hexsha string | size int64 | ext string | lang string | max_stars_repo_path string | max_stars_repo_name string | max_stars_repo_head_hexsha string | max_stars_repo_licenses list | max_stars_count int64 | max_stars_repo_stars_event_min_datetime string | max_stars_repo_stars_event_max_datetime string | max_issues_repo_path string | max_issues_repo_name string | max_issues_repo_head_hexsha string | max_issues_repo_licenses list | max_issues_count int64 | max_issues_repo_issues_event_min_datetime string | max_issues_repo_issues_event_max_datetime string | max_forks_repo_path string | max_forks_repo_name string | max_forks_repo_head_hexsha string | max_forks_repo_licenses list | max_forks_count int64 | max_forks_repo_forks_event_min_datetime string | max_forks_repo_forks_event_max_datetime string | content string | avg_line_length float64 | max_line_length int64 | alphanum_fraction float64 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1e14428075b8f9806ab22244ba8fa6df7b37a9d5 | 512 | js | JavaScript | settings.js | armyputera/webmap_kphbagansiapiapi | 612655445cc150bea2fae10cc82d43cb6d8de4a4 | [
"MIT"
] | null | null | null | settings.js | armyputera/webmap_kphbagansiapiapi | 612655445cc150bea2fae10cc82d43cb6d8de4a4 | [
"MIT"
] | null | null | null | settings.js | armyputera/webmap_kphbagansiapiapi | 612655445cc150bea2fae10cc82d43cb6d8de4a4 | [
"MIT"
] | 1 | 2021-12-05T12:20:45.000Z | 2021-12-05T12:20:45.000Z | // Where to load data from. Choose either a local file in GitHub repo, such as `data/places.csv`,
// or a Google Sheets URL (File > Publish to the Web > CSV )
const dataLocation = 'data/Format_Web_Map_BSA.csv';
// Map's initial center, and zoom level
const mapCenter = [1.5127, 101.1647];
const mapZoom = 10;
// Marker icon height and width
const iconHeight = 30;
const iconWidth = 30;
//Icon for pohon muda and pohon dewasa
const pohonDewasa = 'logo/pohon_dewasa.svg'
const pohonMuda = 'logo/tree-5202.svg'
| 32 | 97 | 0.730469 |
1e147b3e6ba9561762fd9ed752dd74ceb7d79262 | 5,132 | js | JavaScript | sdk/eventhub/event-hubs/rollup.base.config.js | anuchandy/azure-sdk-for-js | 283bb2dcdd1b44b0a5ad6491a5d79e9eebf1b900 | [
"MIT"
] | null | null | null | sdk/eventhub/event-hubs/rollup.base.config.js | anuchandy/azure-sdk-for-js | 283bb2dcdd1b44b0a5ad6491a5d79e9eebf1b900 | [
"MIT"
] | null | null | null | sdk/eventhub/event-hubs/rollup.base.config.js | anuchandy/azure-sdk-for-js | 283bb2dcdd1b44b0a5ad6491a5d79e9eebf1b900 | [
"MIT"
] | null | null | null | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import nodeResolve from "@rollup/plugin-node-resolve";
import multiEntry from "@rollup/plugin-multi-entry";
import cjs from "@rollup/plugin-commonjs";
import json from "@rollup/plugin-json";
import replace from "@rollup/plugin-replace";
import { terser } from "rollup-plugin-terser";
import sourcemaps from "rollup-plugin-sourcemaps";
import shim from "rollup-plugin-shim";
import inject from "@rollup/plugin-inject";
import path from "path";
const pkg = require("./package.json");
const depNames = Object.keys(pkg.dependencies);
const input = "dist-esm/src/index.js";
const production = process.env.NODE_ENV === "production";
export function nodeConfig(test = false) {
const externalNodeBuiltins = ["events", "util", "os"];
const baseConfig = {
input: input,
external: depNames.concat(externalNodeBuiltins),
output: { file: "dist/index.js", format: "cjs", sourcemap: true },
preserveSymlinks: false,
plugins: [
sourcemaps(),
replace({
delimiters: ["", ""],
values: {
// replace dynamic checks with if (true) since this is for node only.
// Allows rollup's dead code elimination to be more aggressive.
"if (isNode)": "if (true)"
}
}),
nodeResolve({ preferBuiltins: true }),
cjs(),
json()
]
};
baseConfig.external.push("crypto");
if (test) {
// entry point is every test file
baseConfig.input = "dist-esm/test/**/*.spec.js";
baseConfig.plugins.unshift(multiEntry({ exports: false }));
// different output file
baseConfig.output.file = "test-dist/index.js";
// mark assert as external
baseConfig.external.push(
"assert",
"fs",
"path",
"os",
"tty",
"child_process",
"@azure/identity"
);
baseConfig.onwarn = (warning) => {
if (
warning.code === "CIRCULAR_DEPENDENCY" &&
warning.importer.indexOf(path.normalize("node_modules/chai/lib") === 0)
) {
// Chai contains circular references, but they are not fatal and can be ignored.
return;
}
console.error(`(!) ${warning.message}`);
};
// Disable tree-shaking of test code. In rollup-plugin-node-resolve@5.0.0, rollup started respecting
// the "sideEffects" field in package.json. Since our package.json sets "sideEffects=false", this also
// applies to test code, which causes all tests to be removed by tree-shaking.
baseConfig.treeshake = false;
} else if (production) {
baseConfig.plugins.push(terser());
}
return baseConfig;
}
export function browserConfig(test = false) {
const baseConfig = {
input: input,
external: ["ms-rest-js"],
output: {
file: "browser/event-hubs.js",
format: "umd",
name: "Azure.Messaging.EventHubs",
sourcemap: true,
globals: { "ms-rest-js": "msRest" }
},
preserveSymlinks: false,
plugins: [
sourcemaps(),
replace(
// ms-rest-js is externalized so users must include it prior to using this bundle.
{
delimiters: ["", ""],
values: {
// replace dynamic checks with if (false) since this is for
// browser only. Rollup's dead code elimination will remove
// any code guarded by if (isNode) { ... }
"if (isNode)": "if (false)"
}
}
),
// dotenv, path, and os don't work in the browser, so replace it with a no-op function
shim({
fs: `export default {}`,
dotenv: `export function config() { }`,
os: `
export function arch() { return "javascript" }
export function type() { return "Browser" }
export function release() { return typeof navigator === 'undefined' ? '' : navigator.appVersion }
`,
path: `export default {}`
}),
nodeResolve({
mainFields: ["module", "browser"],
preferBuiltins: false
}),
cjs({
namedExports: {
events: ["EventEmitter"],
"@opentelemetry/types": ["CanonicalCode", "SpanKind", "TraceFlags"]
}
}),
// rhea and rhea-promise use the Buffer global which requires
// injection to shim properly
inject({
modules: {
Buffer: ["buffer", "Buffer"],
process: "process"
},
exclude: ["./**/package.json"]
}),
json()
]
};
if (test) {
baseConfig.input = "dist-esm/test/**/*.spec.js";
baseConfig.plugins.unshift(multiEntry({ exports: false }));
baseConfig.output.file = "test-browser/index.js";
// Disable tree-shaking of test code. In rollup-plugin-node-resolve@5.0.0, rollup started respecting
// the "sideEffects" field in package.json. Since our package.json sets "sideEffects=false", this also
// applies to test code, which causes all tests to be removed by tree-shaking.
baseConfig.treeshake = false;
} else if (production) {
baseConfig.plugins.push(terser());
}
return baseConfig;
}
| 30.547619 | 107 | 0.606976 |
1e14805a2fafbb44c4bd038e40f24bcefa393a40 | 648 | js | JavaScript | bin/cmd.js | Apfelmann/jutility | 2446785f3badc88064622a5c9b5b5d8bd62be96b | [
"MIT"
] | 1 | 2019-01-18T22:40:51.000Z | 2019-01-18T22:40:51.000Z | bin/cmd.js | Apfelmann/jutility | 2446785f3badc88064622a5c9b5b5d8bd62be96b | [
"MIT"
] | null | null | null | bin/cmd.js | Apfelmann/jutility | 2446785f3badc88064622a5c9b5b5d8bd62be96b | [
"MIT"
] | null | null | null | #!/usr/bin/env node
const CommandFactory = require('../lib/CommandFactory');
module.exports = main = async () => {
if( process.argv.length < 3 ) { throw new Error("At least one argument is expected") }
else {
const cmdtype = process.argv[2];
const args = [];
for( let i = 3; i < process.argv.length; i++ ) {
const a = process.argv[i];
args.push(a);
}
const cmd = CommandFactory.generateCommand(cmdtype, args);
return await cmd.execute();
}
};
main().then((r) => {
console.log(r);
}).catch( e => {
console.error("An error has occured " + e.message);
}); | 28.173913 | 91 | 0.558642 |
1e14b8121e38aecd91b7ed959161737f4231ceb6 | 1,452 | js | JavaScript | extensions/igniter/local/assets/js/local.js | themepress360/Tasti_Updated | 434c2674c83d489770db693356968535b32a769a | [
"MIT"
] | null | null | null | extensions/igniter/local/assets/js/local.js | themepress360/Tasti_Updated | 434c2674c83d489770db693356968535b32a769a | [
"MIT"
] | null | null | null | extensions/igniter/local/assets/js/local.js | themepress360/Tasti_Updated | 434c2674c83d489770db693356968535b32a769a | [
"MIT"
] | 1 | 2021-06-02T18:00:20.000Z | 2021-06-02T18:00:20.000Z | /* ========================================================================
* TastyIgniter: local.js v2.2.0
* https://tastyigniter.com/docs/javascript
* ======================================================================== */
+function ($) {
"use strict"
$(document).on('click', '[data-control="search-local"]', function () {
$(this).closest('form').submit()
})
$(document).render(function () {
var $affixEl = $('.affix-categories'),
offsetTop = $('.navbar-top').height(),
offsetBottom = $('footer.footer').outerHeight(true),
cartWidth = $affixEl.parent().width()
$affixEl.affix({
offset: {top: offsetTop, bottom: offsetBottom}
})
$affixEl.on('affixed.bs.affix', function () {
$affixEl.css('width', cartWidth)
})
})
$(document).on('change', '[data-control="order-type-toggle"] input[type="radio"]', function (event) {
var $input = $(event.currentTarget),
$el = $input.closest('[data-control="order-type-toggle"]')
$el.find('input[type="radio"]').attr('disabled', true)
$el.find('.btn').addClass('disabled')
$.request($el.data('handler'), {
data: {'type': $input.val()}
}).always(function () {
$el.find('input[type="radio"]').attr('disabled', false)
$el.find('.btn').removeClass('disabled')
})
})
}(jQuery)
| 33.767442 | 105 | 0.480028 |
1e15173a524f5bf631168f4bedb4e2f0b3345694 | 595 | js | JavaScript | src/utils/storage.js | zetapush/zetapush-js | 4088bd443f8d9edc90c15d4ffb36b8a5994b906c | [
"MIT"
] | 6 | 2015-05-21T13:24:16.000Z | 2017-02-08T10:18:55.000Z | src/utils/storage.js | zetapush/zetapush-js | 4088bd443f8d9edc90c15d4ffb36b8a5994b906c | [
"MIT"
] | 16 | 2016-09-08T13:41:16.000Z | 2020-06-17T21:47:51.000Z | src/utils/storage.js | zetapush/zetapush-js | 4088bd443f8d9edc90c15d4ffb36b8a5994b906c | [
"MIT"
] | 4 | 2015-10-27T20:19:32.000Z | 2016-09-08T10:34:01.000Z | /**
* Provide fallback for DOMStorage
* @access protected
*/
class MemoryStorage {
constructor() {
this._map = new Map()
}
getItem(key) {
return this._map.get(key)
}
setItem(key, value) {
return this._map.get(key)
}
removeItem(key) {
this._map.delete(key)
}
clear() {
this._map = new Map()
}
key(n) {
return Array.from(this._map.keys())[n]
}
get length() {
return this._map.size
}
}
/**
* @type {Storage}
* @access protected
*/
export const platformStorage = typeof localStorage === 'undefined' ? new MemoryStorage() : localStorage
| 17.5 | 103 | 0.615126 |
1e1547d0ee7fadb37d2c03e8ee59eeb906bec5e8 | 577 | js | JavaScript | fetch/index.js | tdmgit/javascript-for-web-2020-03 | a0031c12cc2d724900ea411a212716b397ca3586 | [
"MIT"
] | null | null | null | fetch/index.js | tdmgit/javascript-for-web-2020-03 | a0031c12cc2d724900ea411a212716b397ca3586 | [
"MIT"
] | null | null | null | fetch/index.js | tdmgit/javascript-for-web-2020-03 | a0031c12cc2d724900ea411a212716b397ca3586 | [
"MIT"
] | null | null | null | const content = document.getElementById("content");
const button = document .createElement("button");
const reload = () => {
fetch("https://catfact.ninja/fact")
.then(res => res.json())
.then(json => {
console.log(json.fact);
let catfact = json.fact;
content.innerHTML = catfact;
button.innerHTML = "Reload";
//button.onclick = reload();
//body.append(button);
})
.catch(error => {
// code Fehlerbehebung
})
}
reload(); | 21.37037 | 51 | 0.4974 |
1e159182f3ffd23ac57661634a708720ffd232d6 | 1,359 | js | JavaScript | Resources/vendor/retrieve.devicetoken.js | Freifunk-Dresden/Freifunker | 3e38e6906ddce424840e64d407379b71c4219f1f | [
"Apache-2.0"
] | 21 | 2015-07-06T13:50:17.000Z | 2018-05-07T23:40:04.000Z | Resources/vendor/retrieve.devicetoken.js | Freifunk-Dresden/Freifunker | 3e38e6906ddce424840e64d407379b71c4219f1f | [
"Apache-2.0"
] | 81 | 2015-07-04T18:56:06.000Z | 2019-12-24T08:14:32.000Z | Resources/vendor/retrieve.devicetoken.js | Freifunk-Dresden/Freifunker | 3e38e6906ddce424840e64d407379b71c4219f1f | [
"Apache-2.0"
] | 47 | 2015-07-06T09:09:25.000Z | 2021-08-12T18:42:46.000Z | module.exports = function() {
var gcm = require('vendor/gcmjs'),
pendingData = gcm.getData();
if (pendingData !== null) {
console.log('GCM: has pending data on START. Data is:');
console.log(JSON.stringify(pendingData));
require('view.green').show(pendingData);
}
gcm.doRegistration({
success : function(ev) {
console.log('GCM success, deviceToken = ' + ev.deviceToken);
},
error : function(ev) {
console.log('GCM error = ' + ev.error);
},
callback : function(data) {
var dataStr = JSON.stringify(data);
console.log('GCM notification while in foreground. Data is:');
console.log(dataStr);
require('view.white').show(dataStr);
},
unregister : function(ev) {
console.log('GCM: unregister, deviceToken =' + ev.deviceToken);
},
data : function(data) {
console.log('GCM: has pending data on RESUME. Data is:');
console.log(JSON.stringify(data));
// 'data' parameter = gcm.data
require('view.green').show(data);
}
});
require('controls/shoutcast.recorder')({
url : 'http://dradio_mp3_dlf_m.akacast.akamaistream.net/7/249/142684/v1/gnl.akacast.akamaistream.net/dradio_mp3_dlf_m'
});
};
| 37.75 | 126 | 0.566593 |
1e15ae76a3ffebac36d6a00a3e40fa3061a8cfd8 | 8,857 | js | JavaScript | site/src/pages/index.js | shubhamahuja1399/mds-docs | b01fd5339f27e39026e6a457859e4532172673a4 | [
"MIT"
] | null | null | null | site/src/pages/index.js | shubhamahuja1399/mds-docs | b01fd5339f27e39026e6a457859e4532172673a4 | [
"MIT"
] | 24 | 2021-10-21T18:17:51.000Z | 2022-01-19T13:25:09.000Z | site/src/pages/index.js | shubhamahuja1399/mds-docs | b01fd5339f27e39026e6a457859e4532172673a4 | [
"MIT"
] | 5 | 2021-11-23T19:05:12.000Z | 2022-01-13T10:38:01.000Z | import React from 'react';
import { navigate } from 'gatsby';
import Meta from '../../../gatsby-theme-mds/src/components/Meta';
import Homepage from '../../../gatsby-theme-mds/src/templates/Homepage';
import Footer from '../../../gatsby-theme-mds/src/components/Footer/Footer';
import { MediumBlogs, useHomeMenu, MdsChangelog, useHomeResources } from '../util';
import { StaticImage } from "gatsby-plugin-image";
import '../css/homepage.css';
import {
Row,
Column,
Heading,
Button,
Card,
Badge,
Text,
Icon,
Link,
Subheading
} from '@innovaccer/design-system';
const Home = () => {
const mediumBlogList = MediumBlogs().slice(0, 3);
const menuSection = useHomeMenu();
const resourceSection = useHomeResources();
const changelog = MdsChangelog();
const releaseDate = new Date(changelog.releaseDate).toString().slice(3, 15);
const getChangelogContent = () => (
changelog.updatesList.slice(0, 2).map((updates) => {
return (
updates.map((item, key) => {
return (
key < 3 &&
(
key === 0 ?
<div className="mt-4">
<Text weight='strong' className="home-text-color">{item}</Text>
</div>
:
<div className="list">
<li className="m-0">
<Text appearance='subtle' size='small' weight='medium'>
{item.substring(0, item.lastIndexOf('('))}
</Text>
</li>
</div>
)
)
})
)
})
)
return (
<Homepage relativePagePath={'/404'} is404={true}>
<Meta titleType='page' pageTitle='Masala Design System' />
<Row className="h-100">
<Column className="page-animation">
<section className="px-12 pt-8">
<Row className="align-items-center">
<Column>
<Text weight='medium'>Welcome to</Text>
<Heading size='xl' className='mt-2 home-text-color'>
Masala Design System
</Heading>
<Heading size='m' className='mt-4 font-weight--normal home-text-color'>
Designers, developers, product managers, and UXer's use
Innovaccer's Masala Design System to build products effortlessly,
fearlessly, and conveniently.
</Heading>
<br />
<Button
appearance='primary'
onClick={() => navigate('/introduction/get-started/developers/')}
>
Get started
</Button>
<br />
</Column>
<Column>
<StaticImage
src="../images/HomeBanner.png"
alt="test"
/>
</Column>
</Row>
</section>
<section className="px-12 py-11 home-menu">
<Row>
{
menuSection.map((menuItem, key) => {
return (
<Column size={3} key={key}>
<Link href={menuItem.link}>
<Card
className='mr-7 p-6 h-100 overflow-visible'
shadow='none'
>
<div className='d-flex'>
<div className='mr-6'>
<span
className='border-radius--rounded p-4 d-inline-flex'
style={{ backgroundColor: `var(--${menuItem.appearance}-lightest)` }}
>
<Icon
name={menuItem.icon}
appearance={menuItem.appearance}
size={24}
/>
</span>
</div>
<div>
<Heading size='s' className='mb-4 home-text-color'>
{menuItem.name}
</Heading>
<Text appearance='subtle' className='font-weight--normal'>
{menuItem.content}
</Text>
</div>
</div>
</Card>
</Link>
</Column>
)
})
}
</Row>
</section>
<section className="px-12 py-11">
<Row>
<Column size={6}>
<Card
className='p-6 mr-6 h-100 overflow-visible'
shadow='none'
>
<div className='d-flex'>
<Heading size='m' className='mb-3 home-text-color'>
Masala Design System v{(changelog.version).trim()}
</Heading>
<div>
<Badge appearance="success" className='ml-4 mt-3'> NEW </Badge>
</div>
</div>
<div className='mb-6'>
<Subheading appearance="subtle">{releaseDate}</Subheading>
<div>
{getChangelogContent()}
</div>
</div>
<Link href={'/introduction/what\'s-new/'}> View all updates</Link>
</Card>
</Column>
<Column size={6}>
<Card
className='p-6 mr-6 h-100 overflow-visible'
shadow='none'
>
<Heading size='m' className="home-text-color mb-5">Blogs by Innovaccer Design</Heading>
{
mediumBlogList.map((blog, key) => {
return (
<div className={`d-flex ${key === 2 ? 'mb-0' : 'mb-5'}`} key={key}>
<div style={{ width: '40px' }}>
<img
src={`https://miro.medium.com/fit/c/28/28/${blog.author.imageId}`}
alt="author_img"
className="border-radius--rounded mr-4"
/>
</div>
<div>
<Link href={`https://medium.com/innovaccer-design/${blog.uniqueSlug}`} target="_blank" >
{blog.title}
</Link>
<br />
<Text appearance='subtle' size='small' weight='medium'>
{'by ' + blog.author.name}
</Text>
</div>
</div>
)
})
}
<div
className="position-absolute sticky-bottom"
>
<Link
href='https://medium.com/innovaccer-tech'
target="_blank"
>
More blogs
</Link>
</div>
</Card>
</Column>
</Row>
</section>
<section className="px-12 py-11 bg-secondary-lightest">
<Heading size='xl' className="home-text-color">Resources</Heading>
<Row className="mt-7">
{resourceSection.map((resource, key) => (
<Column key={key}>
<Link href={resource.link} target="_blank">
<Card
className='mr-6 p-6 h-100 overflow-visible'
shadow='none'
>
<Row>
<Column size={2} className='mr-6'>
<img src={resource.imgSrc.publicURL} width="100%" height="100%" alt={resource.name} />
</Column>
<Column>
<Heading size='m' className="mb-2 home-text-color">{resource.name}</Heading>
<Text appearance='subtle' className='font-weight--normal'>
{resource.description}
</Text>
</Column>
</Row>
</Card>
</Link>
</Column>
))}
</Row>
</section>
<Footer relativePagePath={'/home'} />
</Column>
</Row>
</Homepage>
);
};
export default Home;
| 36.599174 | 116 | 0.393361 |
1e1675876cb93610dd1067e3c132f7a61532ab6c | 255,530 | js | JavaScript | assets/js/editor.blocks.js | time-to-first-byte/ttfb-blocks | 46c1fe18db4f3771266b465734dfacd8aa8ae0d0 | [
"MIT"
] | null | null | null | assets/js/editor.blocks.js | time-to-first-byte/ttfb-blocks | 46c1fe18db4f3771266b465734dfacd8aa8ae0d0 | [
"MIT"
] | null | null | null | assets/js/editor.blocks.js | time-to-first-byte/ttfb-blocks | 46c1fe18db4f3771266b465734dfacd8aa8ae0d0 | [
"MIT"
] | null | null | null | /******/ (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 = 47);
/******/ })
/************************************************************************/
/******/ ([
/* 0 */
/***/ (function(module, exports) {
eval("var core = module.exports = { version: '2.5.5' };\nif (typeof __e == 'number') __e = core; // eslint-disable-line no-undef\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMC5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL25vZGVfbW9kdWxlcy9jb3JlLWpzL2xpYnJhcnkvbW9kdWxlcy9fY29yZS5qcz8xNWUwIl0sInNvdXJjZXNDb250ZW50IjpbInZhciBjb3JlID0gbW9kdWxlLmV4cG9ydHMgPSB7IHZlcnNpb246ICcyLjUuNScgfTtcbmlmICh0eXBlb2YgX19lID09ICdudW1iZXInKSBfX2UgPSBjb3JlOyAvLyBlc2xpbnQtZGlzYWJsZS1saW5lIG5vLXVuZGVmXG5cblxuXG4vLy8vLy8vLy8vLy8vLy8vLy9cbi8vIFdFQlBBQ0sgRk9PVEVSXG4vLyAuL25vZGVfbW9kdWxlcy9jb3JlLWpzL2xpYnJhcnkvbW9kdWxlcy9fY29yZS5qc1xuLy8gbW9kdWxlIGlkID0gMFxuLy8gbW9kdWxlIGNodW5rcyA9IDAiXSwibWFwcGluZ3MiOiJBQUFBO0FBQ0E7Iiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///0\n");
/***/ }),
/* 1 */
/***/ (function(module, exports) {
eval("// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\nvar global = module.exports = typeof window != 'undefined' && window.Math == Math\n ? window : typeof self != 'undefined' && self.Math == Math ? self\n // eslint-disable-next-line no-new-func\n : Function('return this')();\nif (typeof __g == 'number') __g = global; // eslint-disable-line no-undef\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMS5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL25vZGVfbW9kdWxlcy9jb3JlLWpzL2xpYnJhcnkvbW9kdWxlcy9fZ2xvYmFsLmpzP2VjYWIiXSwic291cmNlc0NvbnRlbnQiOlsiLy8gaHR0cHM6Ly9naXRodWIuY29tL3psb2lyb2NrL2NvcmUtanMvaXNzdWVzLzg2I2lzc3VlY29tbWVudC0xMTU3NTkwMjhcbnZhciBnbG9iYWwgPSBtb2R1bGUuZXhwb3J0cyA9IHR5cGVvZiB3aW5kb3cgIT0gJ3VuZGVmaW5lZCcgJiYgd2luZG93Lk1hdGggPT0gTWF0aFxuICA/IHdpbmRvdyA6IHR5cGVvZiBzZWxmICE9ICd1bmRlZmluZWQnICYmIHNlbGYuTWF0aCA9PSBNYXRoID8gc2VsZlxuICAvLyBlc2xpbnQtZGlzYWJsZS1uZXh0LWxpbmUgbm8tbmV3LWZ1bmNcbiAgOiBGdW5jdGlvbigncmV0dXJuIHRoaXMnKSgpO1xuaWYgKHR5cGVvZiBfX2cgPT0gJ251bWJlcicpIF9fZyA9IGdsb2JhbDsgLy8gZXNsaW50LWRpc2FibGUtbGluZSBuby11bmRlZlxuXG5cblxuLy8vLy8vLy8vLy8vLy8vLy8vXG4vLyBXRUJQQUNLIEZPT1RFUlxuLy8gLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX2dsb2JhbC5qc1xuLy8gbW9kdWxlIGlkID0gMVxuLy8gbW9kdWxlIGNodW5rcyA9IDAiXSwibWFwcGluZ3MiOiJBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTsiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///1\n");
/***/ }),
/* 2 */
/***/ (function(module, exports, __webpack_require__) {
eval("var global = __webpack_require__(1);\nvar core = __webpack_require__(0);\nvar ctx = __webpack_require__(30);\nvar hide = __webpack_require__(6);\nvar has = __webpack_require__(5);\nvar PROTOTYPE = 'prototype';\n\nvar $export = function (type, name, source) {\n var IS_FORCED = type & $export.F;\n var IS_GLOBAL = type & $export.G;\n var IS_STATIC = type & $export.S;\n var IS_PROTO = type & $export.P;\n var IS_BIND = type & $export.B;\n var IS_WRAP = type & $export.W;\n var exports = IS_GLOBAL ? core : core[name] || (core[name] = {});\n var expProto = exports[PROTOTYPE];\n var target = IS_GLOBAL ? global : IS_STATIC ? global[name] : (global[name] || {})[PROTOTYPE];\n var key, own, out;\n if (IS_GLOBAL) source = name;\n for (key in source) {\n // contains in native\n own = !IS_FORCED && target && target[key] !== undefined;\n if (own && has(exports, key)) continue;\n // export native or passed\n out = own ? target[key] : source[key];\n // prevent global pollution for namespaces\n exports[key] = IS_GLOBAL && typeof target[key] != 'function' ? source[key]\n // bind timers to global for call from export context\n : IS_BIND && own ? ctx(out, global)\n // wrap global constructors for prevent change them in library\n : IS_WRAP && target[key] == out ? (function (C) {\n var F = function (a, b, c) {\n if (this instanceof C) {\n switch (arguments.length) {\n case 0: return new C();\n case 1: return new C(a);\n case 2: return new C(a, b);\n } return new C(a, b, c);\n } return C.apply(this, arguments);\n };\n F[PROTOTYPE] = C[PROTOTYPE];\n return F;\n // make static versions for prototype methods\n })(out) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;\n // export proto methods to core.%CONSTRUCTOR%.methods.%NAME%\n if (IS_PROTO) {\n (exports.virtual || (exports.virtual = {}))[key] = out;\n // export proto methods to core.%CONSTRUCTOR%.prototype.%NAME%\n if (type & $export.R && expProto && !expProto[key]) hide(expProto, key, out);\n }\n }\n};\n// type bitmap\n$export.F = 1; // forced\n$export.G = 2; // global\n$export.S = 4; // static\n$export.P = 8; // proto\n$export.B = 16; // bind\n$export.W = 32; // wrap\n$export.U = 64; // safe\n$export.R = 128; // real proto method for `library`\nmodule.exports = $export;\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMi5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL25vZGVfbW9kdWxlcy9jb3JlLWpzL2xpYnJhcnkvbW9kdWxlcy9fZXhwb3J0LmpzPzkwY2QiXSwic291cmNlc0NvbnRlbnQiOlsidmFyIGdsb2JhbCA9IHJlcXVpcmUoJy4vX2dsb2JhbCcpO1xudmFyIGNvcmUgPSByZXF1aXJlKCcuL19jb3JlJyk7XG52YXIgY3R4ID0gcmVxdWlyZSgnLi9fY3R4Jyk7XG52YXIgaGlkZSA9IHJlcXVpcmUoJy4vX2hpZGUnKTtcbnZhciBoYXMgPSByZXF1aXJlKCcuL19oYXMnKTtcbnZhciBQUk9UT1RZUEUgPSAncHJvdG90eXBlJztcblxudmFyICRleHBvcnQgPSBmdW5jdGlvbiAodHlwZSwgbmFtZSwgc291cmNlKSB7XG4gIHZhciBJU19GT1JDRUQgPSB0eXBlICYgJGV4cG9ydC5GO1xuICB2YXIgSVNfR0xPQkFMID0gdHlwZSAmICRleHBvcnQuRztcbiAgdmFyIElTX1NUQVRJQyA9IHR5cGUgJiAkZXhwb3J0LlM7XG4gIHZhciBJU19QUk9UTyA9IHR5cGUgJiAkZXhwb3J0LlA7XG4gIHZhciBJU19CSU5EID0gdHlwZSAmICRleHBvcnQuQjtcbiAgdmFyIElTX1dSQVAgPSB0eXBlICYgJGV4cG9ydC5XO1xuICB2YXIgZXhwb3J0cyA9IElTX0dMT0JBTCA/IGNvcmUgOiBjb3JlW25hbWVdIHx8IChjb3JlW25hbWVdID0ge30pO1xuICB2YXIgZXhwUHJvdG8gPSBleHBvcnRzW1BST1RPVFlQRV07XG4gIHZhciB0YXJnZXQgPSBJU19HTE9CQUwgPyBnbG9iYWwgOiBJU19TVEFUSUMgPyBnbG9iYWxbbmFtZV0gOiAoZ2xvYmFsW25hbWVdIHx8IHt9KVtQUk9UT1RZUEVdO1xuICB2YXIga2V5LCBvd24sIG91dDtcbiAgaWYgKElTX0dMT0JBTCkgc291cmNlID0gbmFtZTtcbiAgZm9yIChrZXkgaW4gc291cmNlKSB7XG4gICAgLy8gY29udGFpbnMgaW4gbmF0aXZlXG4gICAgb3duID0gIUlTX0ZPUkNFRCAmJiB0YXJnZXQgJiYgdGFyZ2V0W2tleV0gIT09IHVuZGVmaW5lZDtcbiAgICBpZiAob3duICYmIGhhcyhleHBvcnRzLCBrZXkpKSBjb250aW51ZTtcbiAgICAvLyBleHBvcnQgbmF0aXZlIG9yIHBhc3NlZFxuICAgIG91dCA9IG93biA/IHRhcmdldFtrZXldIDogc291cmNlW2tleV07XG4gICAgLy8gcHJldmVudCBnbG9iYWwgcG9sbHV0aW9uIGZvciBuYW1lc3BhY2VzXG4gICAgZXhwb3J0c1trZXldID0gSVNfR0xPQkFMICYmIHR5cGVvZiB0YXJnZXRba2V5XSAhPSAnZnVuY3Rpb24nID8gc291cmNlW2tleV1cbiAgICAvLyBiaW5kIHRpbWVycyB0byBnbG9iYWwgZm9yIGNhbGwgZnJvbSBleHBvcnQgY29udGV4dFxuICAgIDogSVNfQklORCAmJiBvd24gPyBjdHgob3V0LCBnbG9iYWwpXG4gICAgLy8gd3JhcCBnbG9iYWwgY29uc3RydWN0b3JzIGZvciBwcmV2ZW50IGNoYW5nZSB0aGVtIGluIGxpYnJhcnlcbiAgICA6IElTX1dSQVAgJiYgdGFyZ2V0W2tleV0gPT0gb3V0ID8gKGZ1bmN0aW9uIChDKSB7XG4gICAgICB2YXIgRiA9IGZ1bmN0aW9uIChhLCBiLCBjKSB7XG4gICAgICAgIGlmICh0aGlzIGluc3RhbmNlb2YgQykge1xuICAgICAgICAgIHN3aXRjaCAoYXJndW1lbnRzLmxlbmd0aCkge1xuICAgICAgICAgICAgY2FzZSAwOiByZXR1cm4gbmV3IEMoKTtcbiAgICAgICAgICAgIGNhc2UgMTogcmV0dXJuIG5ldyBDKGEpO1xuICAgICAgICAgICAgY2FzZSAyOiByZXR1cm4gbmV3IEMoYSwgYik7XG4gICAgICAgICAgfSByZXR1cm4gbmV3IEMoYSwgYiwgYyk7XG4gICAgICAgIH0gcmV0dXJuIEMuYXBwbHkodGhpcywgYXJndW1lbnRzKTtcbiAgICAgIH07XG4gICAgICBGW1BST1RPVFlQRV0gPSBDW1BST1RPVFlQRV07XG4gICAgICByZXR1cm4gRjtcbiAgICAvLyBtYWtlIHN0YXRpYyB2ZXJzaW9ucyBmb3IgcHJvdG90eXBlIG1ldGhvZHNcbiAgICB9KShvdXQpIDogSVNfUFJPVE8gJiYgdHlwZW9mIG91dCA9PSAnZnVuY3Rpb24nID8gY3R4KEZ1bmN0aW9uLmNhbGwsIG91dCkgOiBvdXQ7XG4gICAgLy8gZXhwb3J0IHByb3RvIG1ldGhvZHMgdG8gY29yZS4lQ09OU1RSVUNUT1IlLm1ldGhvZHMuJU5BTUUlXG4gICAgaWYgKElTX1BST1RPKSB7XG4gICAgICAoZXhwb3J0cy52aXJ0dWFsIHx8IChleHBvcnRzLnZpcnR1YWwgPSB7fSkpW2tleV0gPSBvdXQ7XG4gICAgICAvLyBleHBvcnQgcHJvdG8gbWV0aG9kcyB0byBjb3JlLiVDT05TVFJVQ1RPUiUucHJvdG90eXBlLiVOQU1FJVxuICAgICAgaWYgKHR5cGUgJiAkZXhwb3J0LlIgJiYgZXhwUHJvdG8gJiYgIWV4cFByb3RvW2tleV0pIGhpZGUoZXhwUHJvdG8sIGtleSwgb3V0KTtcbiAgICB9XG4gIH1cbn07XG4vLyB0eXBlIGJpdG1hcFxuJGV4cG9ydC5GID0gMTsgICAvLyBmb3JjZWRcbiRleHBvcnQuRyA9IDI7ICAgLy8gZ2xvYmFsXG4kZXhwb3J0LlMgPSA0OyAgIC8vIHN0YXRpY1xuJGV4cG9ydC5QID0gODsgICAvLyBwcm90b1xuJGV4cG9ydC5CID0gMTY7ICAvLyBiaW5kXG4kZXhwb3J0LlcgPSAzMjsgIC8vIHdyYXBcbiRleHBvcnQuVSA9IDY0OyAgLy8gc2FmZVxuJGV4cG9ydC5SID0gMTI4OyAvLyByZWFsIHByb3RvIG1ldGhvZCBmb3IgYGxpYnJhcnlgXG5tb2R1bGUuZXhwb3J0cyA9ICRleHBvcnQ7XG5cblxuXG4vLy8vLy8vLy8vLy8vLy8vLy9cbi8vIFdFQlBBQ0sgRk9PVEVSXG4vLyAuL25vZGVfbW9kdWxlcy9jb3JlLWpzL2xpYnJhcnkvbW9kdWxlcy9fZXhwb3J0LmpzXG4vLyBtb2R1bGUgaWQgPSAyXG4vLyBtb2R1bGUgY2h1bmtzID0gMCJdLCJtYXBwaW5ncyI6IkFBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTsiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///2\n");
/***/ }),
/* 3 */
/***/ (function(module, exports, __webpack_require__) {
eval("var anObject = __webpack_require__(11);\nvar IE8_DOM_DEFINE = __webpack_require__(31);\nvar toPrimitive = __webpack_require__(16);\nvar dP = Object.defineProperty;\n\nexports.f = __webpack_require__(4) ? Object.defineProperty : function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPrimitive(P, true);\n anObject(Attributes);\n if (IE8_DOM_DEFINE) try {\n return dP(O, P, Attributes);\n } catch (e) { /* empty */ }\n if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!');\n if ('value' in Attributes) O[P] = Attributes.value;\n return O;\n};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL25vZGVfbW9kdWxlcy9jb3JlLWpzL2xpYnJhcnkvbW9kdWxlcy9fb2JqZWN0LWRwLmpzPzdhZjAiXSwic291cmNlc0NvbnRlbnQiOlsidmFyIGFuT2JqZWN0ID0gcmVxdWlyZSgnLi9fYW4tb2JqZWN0Jyk7XG52YXIgSUU4X0RPTV9ERUZJTkUgPSByZXF1aXJlKCcuL19pZTgtZG9tLWRlZmluZScpO1xudmFyIHRvUHJpbWl0aXZlID0gcmVxdWlyZSgnLi9fdG8tcHJpbWl0aXZlJyk7XG52YXIgZFAgPSBPYmplY3QuZGVmaW5lUHJvcGVydHk7XG5cbmV4cG9ydHMuZiA9IHJlcXVpcmUoJy4vX2Rlc2NyaXB0b3JzJykgPyBPYmplY3QuZGVmaW5lUHJvcGVydHkgOiBmdW5jdGlvbiBkZWZpbmVQcm9wZXJ0eShPLCBQLCBBdHRyaWJ1dGVzKSB7XG4gIGFuT2JqZWN0KE8pO1xuICBQID0gdG9QcmltaXRpdmUoUCwgdHJ1ZSk7XG4gIGFuT2JqZWN0KEF0dHJpYnV0ZXMpO1xuICBpZiAoSUU4X0RPTV9ERUZJTkUpIHRyeSB7XG4gICAgcmV0dXJuIGRQKE8sIFAsIEF0dHJpYnV0ZXMpO1xuICB9IGNhdGNoIChlKSB7IC8qIGVtcHR5ICovIH1cbiAgaWYgKCdnZXQnIGluIEF0dHJpYnV0ZXMgfHwgJ3NldCcgaW4gQXR0cmlidXRlcykgdGhyb3cgVHlwZUVycm9yKCdBY2Nlc3NvcnMgbm90IHN1cHBvcnRlZCEnKTtcbiAgaWYgKCd2YWx1ZScgaW4gQXR0cmlidXRlcykgT1tQXSA9IEF0dHJpYnV0ZXMudmFsdWU7XG4gIHJldHVybiBPO1xufTtcblxuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vbm9kZV9tb2R1bGVzL2NvcmUtanMvbGlicmFyeS9tb2R1bGVzL19vYmplY3QtZHAuanNcbi8vIG1vZHVsZSBpZCA9IDNcbi8vIG1vZHVsZSBjaHVua3MgPSAwIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTsiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///3\n");
/***/ }),
/* 4 */
/***/ (function(module, exports, __webpack_require__) {
eval("// Thank's IE8 for his funny defineProperty\nmodule.exports = !__webpack_require__(8)(function () {\n return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;\n});\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNC5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL25vZGVfbW9kdWxlcy9jb3JlLWpzL2xpYnJhcnkvbW9kdWxlcy9fZGVzY3JpcHRvcnMuanM/Zjg0ZCJdLCJzb3VyY2VzQ29udGVudCI6WyIvLyBUaGFuaydzIElFOCBmb3IgaGlzIGZ1bm55IGRlZmluZVByb3BlcnR5XG5tb2R1bGUuZXhwb3J0cyA9ICFyZXF1aXJlKCcuL19mYWlscycpKGZ1bmN0aW9uICgpIHtcbiAgcmV0dXJuIE9iamVjdC5kZWZpbmVQcm9wZXJ0eSh7fSwgJ2EnLCB7IGdldDogZnVuY3Rpb24gKCkgeyByZXR1cm4gNzsgfSB9KS5hICE9IDc7XG59KTtcblxuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vbm9kZV9tb2R1bGVzL2NvcmUtanMvbGlicmFyeS9tb2R1bGVzL19kZXNjcmlwdG9ycy5qc1xuLy8gbW9kdWxlIGlkID0gNFxuLy8gbW9kdWxlIGNodW5rcyA9IDAiXSwibWFwcGluZ3MiOiJBQUFBO0FBQ0E7QUFDQTtBQUNBOyIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///4\n");
/***/ }),
/* 5 */
/***/ (function(module, exports) {
eval("var hasOwnProperty = {}.hasOwnProperty;\nmodule.exports = function (it, key) {\n return hasOwnProperty.call(it, key);\n};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNS5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL25vZGVfbW9kdWxlcy9jb3JlLWpzL2xpYnJhcnkvbW9kdWxlcy9faGFzLmpzPzBmNjIiXSwic291cmNlc0NvbnRlbnQiOlsidmFyIGhhc093blByb3BlcnR5ID0ge30uaGFzT3duUHJvcGVydHk7XG5tb2R1bGUuZXhwb3J0cyA9IGZ1bmN0aW9uIChpdCwga2V5KSB7XG4gIHJldHVybiBoYXNPd25Qcm9wZXJ0eS5jYWxsKGl0LCBrZXkpO1xufTtcblxuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vbm9kZV9tb2R1bGVzL2NvcmUtanMvbGlicmFyeS9tb2R1bGVzL19oYXMuanNcbi8vIG1vZHVsZSBpZCA9IDVcbi8vIG1vZHVsZSBjaHVua3MgPSAwIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUNBO0FBQ0E7QUFDQTsiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///5\n");
/***/ }),
/* 6 */
/***/ (function(module, exports, __webpack_require__) {
eval("var dP = __webpack_require__(3);\nvar createDesc = __webpack_require__(12);\nmodule.exports = __webpack_require__(4) ? function (object, key, value) {\n return dP.f(object, key, createDesc(1, value));\n} : function (object, key, value) {\n object[key] = value;\n return object;\n};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNi5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL25vZGVfbW9kdWxlcy9jb3JlLWpzL2xpYnJhcnkvbW9kdWxlcy9faGlkZS5qcz84NDljIl0sInNvdXJjZXNDb250ZW50IjpbInZhciBkUCA9IHJlcXVpcmUoJy4vX29iamVjdC1kcCcpO1xudmFyIGNyZWF0ZURlc2MgPSByZXF1aXJlKCcuL19wcm9wZXJ0eS1kZXNjJyk7XG5tb2R1bGUuZXhwb3J0cyA9IHJlcXVpcmUoJy4vX2Rlc2NyaXB0b3JzJykgPyBmdW5jdGlvbiAob2JqZWN0LCBrZXksIHZhbHVlKSB7XG4gIHJldHVybiBkUC5mKG9iamVjdCwga2V5LCBjcmVhdGVEZXNjKDEsIHZhbHVlKSk7XG59IDogZnVuY3Rpb24gKG9iamVjdCwga2V5LCB2YWx1ZSkge1xuICBvYmplY3Rba2V5XSA9IHZhbHVlO1xuICByZXR1cm4gb2JqZWN0O1xufTtcblxuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vbm9kZV9tb2R1bGVzL2NvcmUtanMvbGlicmFyeS9tb2R1bGVzL19oaWRlLmpzXG4vLyBtb2R1bGUgaWQgPSA2XG4vLyBtb2R1bGUgY2h1bmtzID0gMCJdLCJtYXBwaW5ncyI6IkFBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTsiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///6\n");
/***/ }),
/* 7 */
/***/ (function(module, exports) {
eval("module.exports = function (it) {\n return typeof it === 'object' ? it !== null : typeof it === 'function';\n};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL25vZGVfbW9kdWxlcy9jb3JlLWpzL2xpYnJhcnkvbW9kdWxlcy9faXMtb2JqZWN0LmpzPzEyYTgiXSwic291cmNlc0NvbnRlbnQiOlsibW9kdWxlLmV4cG9ydHMgPSBmdW5jdGlvbiAoaXQpIHtcbiAgcmV0dXJuIHR5cGVvZiBpdCA9PT0gJ29iamVjdCcgPyBpdCAhPT0gbnVsbCA6IHR5cGVvZiBpdCA9PT0gJ2Z1bmN0aW9uJztcbn07XG5cblxuXG4vLy8vLy8vLy8vLy8vLy8vLy9cbi8vIFdFQlBBQ0sgRk9PVEVSXG4vLyAuL25vZGVfbW9kdWxlcy9jb3JlLWpzL2xpYnJhcnkvbW9kdWxlcy9faXMtb2JqZWN0LmpzXG4vLyBtb2R1bGUgaWQgPSA3XG4vLyBtb2R1bGUgY2h1bmtzID0gMCJdLCJtYXBwaW5ncyI6IkFBQUE7QUFDQTtBQUNBOyIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///7\n");
/***/ }),
/* 8 */
/***/ (function(module, exports) {
eval("module.exports = function (exec) {\n try {\n return !!exec();\n } catch (e) {\n return true;\n }\n};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiOC5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL25vZGVfbW9kdWxlcy9jb3JlLWpzL2xpYnJhcnkvbW9kdWxlcy9fZmFpbHMuanM/NGJjZCJdLCJzb3VyY2VzQ29udGVudCI6WyJtb2R1bGUuZXhwb3J0cyA9IGZ1bmN0aW9uIChleGVjKSB7XG4gIHRyeSB7XG4gICAgcmV0dXJuICEhZXhlYygpO1xuICB9IGNhdGNoIChlKSB7XG4gICAgcmV0dXJuIHRydWU7XG4gIH1cbn07XG5cblxuXG4vLy8vLy8vLy8vLy8vLy8vLy9cbi8vIFdFQlBBQ0sgRk9PVEVSXG4vLyAuL25vZGVfbW9kdWxlcy9jb3JlLWpzL2xpYnJhcnkvbW9kdWxlcy9fZmFpbHMuanNcbi8vIG1vZHVsZSBpZCA9IDhcbi8vIG1vZHVsZSBjaHVua3MgPSAwIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTsiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///8\n");
/***/ }),
/* 9 */
/***/ (function(module, exports, __webpack_require__) {
eval("// to indexed object, toObject with fallback for non-array-like ES3 strings\nvar IObject = __webpack_require__(34);\nvar defined = __webpack_require__(17);\nmodule.exports = function (it) {\n return IObject(defined(it));\n};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiOS5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL25vZGVfbW9kdWxlcy9jb3JlLWpzL2xpYnJhcnkvbW9kdWxlcy9fdG8taW9iamVjdC5qcz80ZGM0Il0sInNvdXJjZXNDb250ZW50IjpbIi8vIHRvIGluZGV4ZWQgb2JqZWN0LCB0b09iamVjdCB3aXRoIGZhbGxiYWNrIGZvciBub24tYXJyYXktbGlrZSBFUzMgc3RyaW5nc1xudmFyIElPYmplY3QgPSByZXF1aXJlKCcuL19pb2JqZWN0Jyk7XG52YXIgZGVmaW5lZCA9IHJlcXVpcmUoJy4vX2RlZmluZWQnKTtcbm1vZHVsZS5leHBvcnRzID0gZnVuY3Rpb24gKGl0KSB7XG4gIHJldHVybiBJT2JqZWN0KGRlZmluZWQoaXQpKTtcbn07XG5cblxuXG4vLy8vLy8vLy8vLy8vLy8vLy9cbi8vIFdFQlBBQ0sgRk9PVEVSXG4vLyAuL25vZGVfbW9kdWxlcy9jb3JlLWpzL2xpYnJhcnkvbW9kdWxlcy9fdG8taW9iamVjdC5qc1xuLy8gbW9kdWxlIGlkID0gOVxuLy8gbW9kdWxlIGNodW5rcyA9IDAiXSwibWFwcGluZ3MiOiJBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTsiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///9\n");
/***/ }),
/* 10 */
/***/ (function(module, exports, __webpack_require__) {
eval("var store = __webpack_require__(20)('wks');\nvar uid = __webpack_require__(14);\nvar Symbol = __webpack_require__(1).Symbol;\nvar USE_SYMBOL = typeof Symbol == 'function';\n\nvar $exports = module.exports = function (name) {\n return store[name] || (store[name] =\n USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name));\n};\n\n$exports.store = store;\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMTAuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX3drcy5qcz83NTJjIl0sInNvdXJjZXNDb250ZW50IjpbInZhciBzdG9yZSA9IHJlcXVpcmUoJy4vX3NoYXJlZCcpKCd3a3MnKTtcbnZhciB1aWQgPSByZXF1aXJlKCcuL191aWQnKTtcbnZhciBTeW1ib2wgPSByZXF1aXJlKCcuL19nbG9iYWwnKS5TeW1ib2w7XG52YXIgVVNFX1NZTUJPTCA9IHR5cGVvZiBTeW1ib2wgPT0gJ2Z1bmN0aW9uJztcblxudmFyICRleHBvcnRzID0gbW9kdWxlLmV4cG9ydHMgPSBmdW5jdGlvbiAobmFtZSkge1xuICByZXR1cm4gc3RvcmVbbmFtZV0gfHwgKHN0b3JlW25hbWVdID1cbiAgICBVU0VfU1lNQk9MICYmIFN5bWJvbFtuYW1lXSB8fCAoVVNFX1NZTUJPTCA/IFN5bWJvbCA6IHVpZCkoJ1N5bWJvbC4nICsgbmFtZSkpO1xufTtcblxuJGV4cG9ydHMuc3RvcmUgPSBzdG9yZTtcblxuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vbm9kZV9tb2R1bGVzL2NvcmUtanMvbGlicmFyeS9tb2R1bGVzL193a3MuanNcbi8vIG1vZHVsZSBpZCA9IDEwXG4vLyBtb2R1bGUgY2h1bmtzID0gMCJdLCJtYXBwaW5ncyI6IkFBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTsiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///10\n");
/***/ }),
/* 11 */
/***/ (function(module, exports, __webpack_require__) {
eval("var isObject = __webpack_require__(7);\nmodule.exports = function (it) {\n if (!isObject(it)) throw TypeError(it + ' is not an object!');\n return it;\n};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMTEuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX2FuLW9iamVjdC5qcz9lZmIzIl0sInNvdXJjZXNDb250ZW50IjpbInZhciBpc09iamVjdCA9IHJlcXVpcmUoJy4vX2lzLW9iamVjdCcpO1xubW9kdWxlLmV4cG9ydHMgPSBmdW5jdGlvbiAoaXQpIHtcbiAgaWYgKCFpc09iamVjdChpdCkpIHRocm93IFR5cGVFcnJvcihpdCArICcgaXMgbm90IGFuIG9iamVjdCEnKTtcbiAgcmV0dXJuIGl0O1xufTtcblxuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vbm9kZV9tb2R1bGVzL2NvcmUtanMvbGlicmFyeS9tb2R1bGVzL19hbi1vYmplY3QuanNcbi8vIG1vZHVsZSBpZCA9IDExXG4vLyBtb2R1bGUgY2h1bmtzID0gMCJdLCJtYXBwaW5ncyI6IkFBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTsiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///11\n");
/***/ }),
/* 12 */
/***/ (function(module, exports) {
eval("module.exports = function (bitmap, value) {\n return {\n enumerable: !(bitmap & 1),\n configurable: !(bitmap & 2),\n writable: !(bitmap & 4),\n value: value\n };\n};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMTIuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX3Byb3BlcnR5LWRlc2MuanM/NWZjMCJdLCJzb3VyY2VzQ29udGVudCI6WyJtb2R1bGUuZXhwb3J0cyA9IGZ1bmN0aW9uIChiaXRtYXAsIHZhbHVlKSB7XG4gIHJldHVybiB7XG4gICAgZW51bWVyYWJsZTogIShiaXRtYXAgJiAxKSxcbiAgICBjb25maWd1cmFibGU6ICEoYml0bWFwICYgMiksXG4gICAgd3JpdGFibGU6ICEoYml0bWFwICYgNCksXG4gICAgdmFsdWU6IHZhbHVlXG4gIH07XG59O1xuXG5cblxuLy8vLy8vLy8vLy8vLy8vLy8vXG4vLyBXRUJQQUNLIEZPT1RFUlxuLy8gLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX3Byb3BlcnR5LWRlc2MuanNcbi8vIG1vZHVsZSBpZCA9IDEyXG4vLyBtb2R1bGUgY2h1bmtzID0gMCJdLCJtYXBwaW5ncyI6IkFBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTsiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///12\n");
/***/ }),
/* 13 */
/***/ (function(module, exports, __webpack_require__) {
eval("// 19.1.2.14 / 15.2.3.14 Object.keys(O)\nvar $keys = __webpack_require__(33);\nvar enumBugKeys = __webpack_require__(21);\n\nmodule.exports = Object.keys || function keys(O) {\n return $keys(O, enumBugKeys);\n};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMTMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX29iamVjdC1rZXlzLmpzPzk2NGIiXSwic291cmNlc0NvbnRlbnQiOlsiLy8gMTkuMS4yLjE0IC8gMTUuMi4zLjE0IE9iamVjdC5rZXlzKE8pXG52YXIgJGtleXMgPSByZXF1aXJlKCcuL19vYmplY3Qta2V5cy1pbnRlcm5hbCcpO1xudmFyIGVudW1CdWdLZXlzID0gcmVxdWlyZSgnLi9fZW51bS1idWcta2V5cycpO1xuXG5tb2R1bGUuZXhwb3J0cyA9IE9iamVjdC5rZXlzIHx8IGZ1bmN0aW9uIGtleXMoTykge1xuICByZXR1cm4gJGtleXMoTywgZW51bUJ1Z0tleXMpO1xufTtcblxuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vbm9kZV9tb2R1bGVzL2NvcmUtanMvbGlicmFyeS9tb2R1bGVzL19vYmplY3Qta2V5cy5qc1xuLy8gbW9kdWxlIGlkID0gMTNcbi8vIG1vZHVsZSBjaHVua3MgPSAwIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTsiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///13\n");
/***/ }),
/* 14 */
/***/ (function(module, exports) {
eval("var id = 0;\nvar px = Math.random();\nmodule.exports = function (key) {\n return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));\n};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMTQuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX3VpZC5qcz9kYzRhIl0sInNvdXJjZXNDb250ZW50IjpbInZhciBpZCA9IDA7XG52YXIgcHggPSBNYXRoLnJhbmRvbSgpO1xubW9kdWxlLmV4cG9ydHMgPSBmdW5jdGlvbiAoa2V5KSB7XG4gIHJldHVybiAnU3ltYm9sKCcuY29uY2F0KGtleSA9PT0gdW5kZWZpbmVkID8gJycgOiBrZXksICcpXycsICgrK2lkICsgcHgpLnRvU3RyaW5nKDM2KSk7XG59O1xuXG5cblxuLy8vLy8vLy8vLy8vLy8vLy8vXG4vLyBXRUJQQUNLIEZPT1RFUlxuLy8gLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX3VpZC5qc1xuLy8gbW9kdWxlIGlkID0gMTRcbi8vIG1vZHVsZSBjaHVua3MgPSAwIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOyIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///14\n");
/***/ }),
/* 15 */
/***/ (function(module, exports) {
eval("exports.f = {}.propertyIsEnumerable;\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMTUuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX29iamVjdC1waWUuanM/MzY5MiJdLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnRzLmYgPSB7fS5wcm9wZXJ0eUlzRW51bWVyYWJsZTtcblxuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vbm9kZV9tb2R1bGVzL2NvcmUtanMvbGlicmFyeS9tb2R1bGVzL19vYmplY3QtcGllLmpzXG4vLyBtb2R1bGUgaWQgPSAxNVxuLy8gbW9kdWxlIGNodW5rcyA9IDAiXSwibWFwcGluZ3MiOiJBQUFBOyIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///15\n");
/***/ }),
/* 16 */
/***/ (function(module, exports, __webpack_require__) {
eval("// 7.1.1 ToPrimitive(input [, PreferredType])\nvar isObject = __webpack_require__(7);\n// instead of the ES6 spec version, we didn't implement @@toPrimitive case\n// and the second argument - flag - preferred type is a string\nmodule.exports = function (it, S) {\n if (!isObject(it)) return it;\n var fn, val;\n if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;\n if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val;\n if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;\n throw TypeError(\"Can't convert object to primitive value\");\n};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMTYuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX3RvLXByaW1pdGl2ZS5qcz8zMjYzIl0sInNvdXJjZXNDb250ZW50IjpbIi8vIDcuMS4xIFRvUHJpbWl0aXZlKGlucHV0IFssIFByZWZlcnJlZFR5cGVdKVxudmFyIGlzT2JqZWN0ID0gcmVxdWlyZSgnLi9faXMtb2JqZWN0Jyk7XG4vLyBpbnN0ZWFkIG9mIHRoZSBFUzYgc3BlYyB2ZXJzaW9uLCB3ZSBkaWRuJ3QgaW1wbGVtZW50IEBAdG9QcmltaXRpdmUgY2FzZVxuLy8gYW5kIHRoZSBzZWNvbmQgYXJndW1lbnQgLSBmbGFnIC0gcHJlZmVycmVkIHR5cGUgaXMgYSBzdHJpbmdcbm1vZHVsZS5leHBvcnRzID0gZnVuY3Rpb24gKGl0LCBTKSB7XG4gIGlmICghaXNPYmplY3QoaXQpKSByZXR1cm4gaXQ7XG4gIHZhciBmbiwgdmFsO1xuICBpZiAoUyAmJiB0eXBlb2YgKGZuID0gaXQudG9TdHJpbmcpID09ICdmdW5jdGlvbicgJiYgIWlzT2JqZWN0KHZhbCA9IGZuLmNhbGwoaXQpKSkgcmV0dXJuIHZhbDtcbiAgaWYgKHR5cGVvZiAoZm4gPSBpdC52YWx1ZU9mKSA9PSAnZnVuY3Rpb24nICYmICFpc09iamVjdCh2YWwgPSBmbi5jYWxsKGl0KSkpIHJldHVybiB2YWw7XG4gIGlmICghUyAmJiB0eXBlb2YgKGZuID0gaXQudG9TdHJpbmcpID09ICdmdW5jdGlvbicgJiYgIWlzT2JqZWN0KHZhbCA9IGZuLmNhbGwoaXQpKSkgcmV0dXJuIHZhbDtcbiAgdGhyb3cgVHlwZUVycm9yKFwiQ2FuJ3QgY29udmVydCBvYmplY3QgdG8gcHJpbWl0aXZlIHZhbHVlXCIpO1xufTtcblxuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vbm9kZV9tb2R1bGVzL2NvcmUtanMvbGlicmFyeS9tb2R1bGVzL190by1wcmltaXRpdmUuanNcbi8vIG1vZHVsZSBpZCA9IDE2XG4vLyBtb2R1bGUgY2h1bmtzID0gMCJdLCJtYXBwaW5ncyI6IkFBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOyIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///16\n");
/***/ }),
/* 17 */
/***/ (function(module, exports) {
eval("// 7.2.1 RequireObjectCoercible(argument)\nmodule.exports = function (it) {\n if (it == undefined) throw TypeError(\"Can't call method on \" + it);\n return it;\n};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMTcuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX2RlZmluZWQuanM/ZTc2OCJdLCJzb3VyY2VzQ29udGVudCI6WyIvLyA3LjIuMSBSZXF1aXJlT2JqZWN0Q29lcmNpYmxlKGFyZ3VtZW50KVxubW9kdWxlLmV4cG9ydHMgPSBmdW5jdGlvbiAoaXQpIHtcbiAgaWYgKGl0ID09IHVuZGVmaW5lZCkgdGhyb3cgVHlwZUVycm9yKFwiQ2FuJ3QgY2FsbCBtZXRob2Qgb24gIFwiICsgaXQpO1xuICByZXR1cm4gaXQ7XG59O1xuXG5cblxuLy8vLy8vLy8vLy8vLy8vLy8vXG4vLyBXRUJQQUNLIEZPT1RFUlxuLy8gLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX2RlZmluZWQuanNcbi8vIG1vZHVsZSBpZCA9IDE3XG4vLyBtb2R1bGUgY2h1bmtzID0gMCJdLCJtYXBwaW5ncyI6IkFBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTsiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///17\n");
/***/ }),
/* 18 */
/***/ (function(module, exports) {
eval("// 7.1.4 ToInteger\nvar ceil = Math.ceil;\nvar floor = Math.floor;\nmodule.exports = function (it) {\n return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it);\n};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMTguanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX3RvLWludGVnZXIuanM/NTJlMSJdLCJzb3VyY2VzQ29udGVudCI6WyIvLyA3LjEuNCBUb0ludGVnZXJcbnZhciBjZWlsID0gTWF0aC5jZWlsO1xudmFyIGZsb29yID0gTWF0aC5mbG9vcjtcbm1vZHVsZS5leHBvcnRzID0gZnVuY3Rpb24gKGl0KSB7XG4gIHJldHVybiBpc05hTihpdCA9ICtpdCkgPyAwIDogKGl0ID4gMCA/IGZsb29yIDogY2VpbCkoaXQpO1xufTtcblxuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vbm9kZV9tb2R1bGVzL2NvcmUtanMvbGlicmFyeS9tb2R1bGVzL190by1pbnRlZ2VyLmpzXG4vLyBtb2R1bGUgaWQgPSAxOFxuLy8gbW9kdWxlIGNodW5rcyA9IDAiXSwibWFwcGluZ3MiOiJBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTsiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///18\n");
/***/ }),
/* 19 */
/***/ (function(module, exports, __webpack_require__) {
eval("var shared = __webpack_require__(20)('keys');\nvar uid = __webpack_require__(14);\nmodule.exports = function (key) {\n return shared[key] || (shared[key] = uid(key));\n};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMTkuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX3NoYXJlZC1rZXkuanM/NmIxZCJdLCJzb3VyY2VzQ29udGVudCI6WyJ2YXIgc2hhcmVkID0gcmVxdWlyZSgnLi9fc2hhcmVkJykoJ2tleXMnKTtcbnZhciB1aWQgPSByZXF1aXJlKCcuL191aWQnKTtcbm1vZHVsZS5leHBvcnRzID0gZnVuY3Rpb24gKGtleSkge1xuICByZXR1cm4gc2hhcmVkW2tleV0gfHwgKHNoYXJlZFtrZXldID0gdWlkKGtleSkpO1xufTtcblxuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vbm9kZV9tb2R1bGVzL2NvcmUtanMvbGlicmFyeS9tb2R1bGVzL19zaGFyZWQta2V5LmpzXG4vLyBtb2R1bGUgaWQgPSAxOVxuLy8gbW9kdWxlIGNodW5rcyA9IDAiXSwibWFwcGluZ3MiOiJBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7Iiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///19\n");
/***/ }),
/* 20 */
/***/ (function(module, exports, __webpack_require__) {
eval("var global = __webpack_require__(1);\nvar SHARED = '__core-js_shared__';\nvar store = global[SHARED] || (global[SHARED] = {});\nmodule.exports = function (key) {\n return store[key] || (store[key] = {});\n};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMjAuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX3NoYXJlZC5qcz83YmMwIl0sInNvdXJjZXNDb250ZW50IjpbInZhciBnbG9iYWwgPSByZXF1aXJlKCcuL19nbG9iYWwnKTtcbnZhciBTSEFSRUQgPSAnX19jb3JlLWpzX3NoYXJlZF9fJztcbnZhciBzdG9yZSA9IGdsb2JhbFtTSEFSRURdIHx8IChnbG9iYWxbU0hBUkVEXSA9IHt9KTtcbm1vZHVsZS5leHBvcnRzID0gZnVuY3Rpb24gKGtleSkge1xuICByZXR1cm4gc3RvcmVba2V5XSB8fCAoc3RvcmVba2V5XSA9IHt9KTtcbn07XG5cblxuXG4vLy8vLy8vLy8vLy8vLy8vLy9cbi8vIFdFQlBBQ0sgRk9PVEVSXG4vLyAuL25vZGVfbW9kdWxlcy9jb3JlLWpzL2xpYnJhcnkvbW9kdWxlcy9fc2hhcmVkLmpzXG4vLyBtb2R1bGUgaWQgPSAyMFxuLy8gbW9kdWxlIGNodW5rcyA9IDAiXSwibWFwcGluZ3MiOiJBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTsiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///20\n");
/***/ }),
/* 21 */
/***/ (function(module, exports) {
eval("// IE 8- don't enum bug keys\nmodule.exports = (\n 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf'\n).split(',');\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMjEuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX2VudW0tYnVnLWtleXMuanM/YzY3NyJdLCJzb3VyY2VzQ29udGVudCI6WyIvLyBJRSA4LSBkb24ndCBlbnVtIGJ1ZyBrZXlzXG5tb2R1bGUuZXhwb3J0cyA9IChcbiAgJ2NvbnN0cnVjdG9yLGhhc093blByb3BlcnR5LGlzUHJvdG90eXBlT2YscHJvcGVydHlJc0VudW1lcmFibGUsdG9Mb2NhbGVTdHJpbmcsdG9TdHJpbmcsdmFsdWVPZidcbikuc3BsaXQoJywnKTtcblxuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vbm9kZV9tb2R1bGVzL2NvcmUtanMvbGlicmFyeS9tb2R1bGVzL19lbnVtLWJ1Zy1rZXlzLmpzXG4vLyBtb2R1bGUgaWQgPSAyMVxuLy8gbW9kdWxlIGNodW5rcyA9IDAiXSwibWFwcGluZ3MiOiJBQUFBO0FBQ0E7QUFDQTtBQUNBOyIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///21\n");
/***/ }),
/* 22 */
/***/ (function(module, exports) {
eval("exports.f = Object.getOwnPropertySymbols;\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMjIuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX29iamVjdC1nb3BzLmpzP2Q2NDQiXSwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0cy5mID0gT2JqZWN0LmdldE93blByb3BlcnR5U3ltYm9scztcblxuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vbm9kZV9tb2R1bGVzL2NvcmUtanMvbGlicmFyeS9tb2R1bGVzL19vYmplY3QtZ29wcy5qc1xuLy8gbW9kdWxlIGlkID0gMjJcbi8vIG1vZHVsZSBjaHVua3MgPSAwIl0sIm1hcHBpbmdzIjoiQUFBQTsiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///22\n");
/***/ }),
/* 23 */
/***/ (function(module, exports, __webpack_require__) {
eval("// 7.1.13 ToObject(argument)\nvar defined = __webpack_require__(17);\nmodule.exports = function (it) {\n return Object(defined(it));\n};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMjMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX3RvLW9iamVjdC5qcz9iMDFkIl0sInNvdXJjZXNDb250ZW50IjpbIi8vIDcuMS4xMyBUb09iamVjdChhcmd1bWVudClcbnZhciBkZWZpbmVkID0gcmVxdWlyZSgnLi9fZGVmaW5lZCcpO1xubW9kdWxlLmV4cG9ydHMgPSBmdW5jdGlvbiAoaXQpIHtcbiAgcmV0dXJuIE9iamVjdChkZWZpbmVkKGl0KSk7XG59O1xuXG5cblxuLy8vLy8vLy8vLy8vLy8vLy8vXG4vLyBXRUJQQUNLIEZPT1RFUlxuLy8gLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX3RvLW9iamVjdC5qc1xuLy8gbW9kdWxlIGlkID0gMjNcbi8vIG1vZHVsZSBjaHVua3MgPSAwIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOyIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///23\n");
/***/ }),
/* 24 */
/***/ (function(module, exports) {
eval("module.exports = true;\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMjQuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX2xpYnJhcnkuanM/M2I4OCJdLCJzb3VyY2VzQ29udGVudCI6WyJtb2R1bGUuZXhwb3J0cyA9IHRydWU7XG5cblxuXG4vLy8vLy8vLy8vLy8vLy8vLy9cbi8vIFdFQlBBQ0sgRk9PVEVSXG4vLyAuL25vZGVfbW9kdWxlcy9jb3JlLWpzL2xpYnJhcnkvbW9kdWxlcy9fbGlicmFyeS5qc1xuLy8gbW9kdWxlIGlkID0gMjRcbi8vIG1vZHVsZSBjaHVua3MgPSAwIl0sIm1hcHBpbmdzIjoiQUFBQTsiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///24\n");
/***/ }),
/* 25 */
/***/ (function(module, exports) {
eval("module.exports = {};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMjUuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX2l0ZXJhdG9ycy5qcz9mZGI0Il0sInNvdXJjZXNDb250ZW50IjpbIm1vZHVsZS5leHBvcnRzID0ge307XG5cblxuXG4vLy8vLy8vLy8vLy8vLy8vLy9cbi8vIFdFQlBBQ0sgRk9PVEVSXG4vLyAuL25vZGVfbW9kdWxlcy9jb3JlLWpzL2xpYnJhcnkvbW9kdWxlcy9faXRlcmF0b3JzLmpzXG4vLyBtb2R1bGUgaWQgPSAyNVxuLy8gbW9kdWxlIGNodW5rcyA9IDAiXSwibWFwcGluZ3MiOiJBQUFBOyIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///25\n");
/***/ }),
/* 26 */
/***/ (function(module, exports, __webpack_require__) {
eval("// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])\nvar anObject = __webpack_require__(11);\nvar dPs = __webpack_require__(72);\nvar enumBugKeys = __webpack_require__(21);\nvar IE_PROTO = __webpack_require__(19)('IE_PROTO');\nvar Empty = function () { /* empty */ };\nvar PROTOTYPE = 'prototype';\n\n// Create object with fake `null` prototype: use iframe Object with cleared prototype\nvar createDict = function () {\n // Thrash, waste and sodomy: IE GC bug\n var iframe = __webpack_require__(32)('iframe');\n var i = enumBugKeys.length;\n var lt = '<';\n var gt = '>';\n var iframeDocument;\n iframe.style.display = 'none';\n __webpack_require__(73).appendChild(iframe);\n iframe.src = 'javascript:'; // eslint-disable-line no-script-url\n // createDict = iframe.contentWindow.Object;\n // html.removeChild(iframe);\n iframeDocument = iframe.contentWindow.document;\n iframeDocument.open();\n iframeDocument.write(lt + 'script' + gt + 'document.F=Object' + lt + '/script' + gt);\n iframeDocument.close();\n createDict = iframeDocument.F;\n while (i--) delete createDict[PROTOTYPE][enumBugKeys[i]];\n return createDict();\n};\n\nmodule.exports = Object.create || function create(O, Properties) {\n var result;\n if (O !== null) {\n Empty[PROTOTYPE] = anObject(O);\n result = new Empty();\n Empty[PROTOTYPE] = null;\n // add \"__proto__\" for Object.getPrototypeOf polyfill\n result[IE_PROTO] = O;\n } else result = createDict();\n return Properties === undefined ? result : dPs(result, Properties);\n};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMjYuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX29iamVjdC1jcmVhdGUuanM/NjI4NiJdLCJzb3VyY2VzQ29udGVudCI6WyIvLyAxOS4xLjIuMiAvIDE1LjIuMy41IE9iamVjdC5jcmVhdGUoTyBbLCBQcm9wZXJ0aWVzXSlcbnZhciBhbk9iamVjdCA9IHJlcXVpcmUoJy4vX2FuLW9iamVjdCcpO1xudmFyIGRQcyA9IHJlcXVpcmUoJy4vX29iamVjdC1kcHMnKTtcbnZhciBlbnVtQnVnS2V5cyA9IHJlcXVpcmUoJy4vX2VudW0tYnVnLWtleXMnKTtcbnZhciBJRV9QUk9UTyA9IHJlcXVpcmUoJy4vX3NoYXJlZC1rZXknKSgnSUVfUFJPVE8nKTtcbnZhciBFbXB0eSA9IGZ1bmN0aW9uICgpIHsgLyogZW1wdHkgKi8gfTtcbnZhciBQUk9UT1RZUEUgPSAncHJvdG90eXBlJztcblxuLy8gQ3JlYXRlIG9iamVjdCB3aXRoIGZha2UgYG51bGxgIHByb3RvdHlwZTogdXNlIGlmcmFtZSBPYmplY3Qgd2l0aCBjbGVhcmVkIHByb3RvdHlwZVxudmFyIGNyZWF0ZURpY3QgPSBmdW5jdGlvbiAoKSB7XG4gIC8vIFRocmFzaCwgd2FzdGUgYW5kIHNvZG9teTogSUUgR0MgYnVnXG4gIHZhciBpZnJhbWUgPSByZXF1aXJlKCcuL19kb20tY3JlYXRlJykoJ2lmcmFtZScpO1xuICB2YXIgaSA9IGVudW1CdWdLZXlzLmxlbmd0aDtcbiAgdmFyIGx0ID0gJzwnO1xuICB2YXIgZ3QgPSAnPic7XG4gIHZhciBpZnJhbWVEb2N1bWVudDtcbiAgaWZyYW1lLnN0eWxlLmRpc3BsYXkgPSAnbm9uZSc7XG4gIHJlcXVpcmUoJy4vX2h0bWwnKS5hcHBlbmRDaGlsZChpZnJhbWUpO1xuICBpZnJhbWUuc3JjID0gJ2phdmFzY3JpcHQ6JzsgLy8gZXNsaW50LWRpc2FibGUtbGluZSBuby1zY3JpcHQtdXJsXG4gIC8vIGNyZWF0ZURpY3QgPSBpZnJhbWUuY29udGVudFdpbmRvdy5PYmplY3Q7XG4gIC8vIGh0bWwucmVtb3ZlQ2hpbGQoaWZyYW1lKTtcbiAgaWZyYW1lRG9jdW1lbnQgPSBpZnJhbWUuY29udGVudFdpbmRvdy5kb2N1bWVudDtcbiAgaWZyYW1lRG9jdW1lbnQub3BlbigpO1xuICBpZnJhbWVEb2N1bWVudC53cml0ZShsdCArICdzY3JpcHQnICsgZ3QgKyAnZG9jdW1lbnQuRj1PYmplY3QnICsgbHQgKyAnL3NjcmlwdCcgKyBndCk7XG4gIGlmcmFtZURvY3VtZW50LmNsb3NlKCk7XG4gIGNyZWF0ZURpY3QgPSBpZnJhbWVEb2N1bWVudC5GO1xuICB3aGlsZSAoaS0tKSBkZWxldGUgY3JlYXRlRGljdFtQUk9UT1RZUEVdW2VudW1CdWdLZXlzW2ldXTtcbiAgcmV0dXJuIGNyZWF0ZURpY3QoKTtcbn07XG5cbm1vZHVsZS5leHBvcnRzID0gT2JqZWN0LmNyZWF0ZSB8fCBmdW5jdGlvbiBjcmVhdGUoTywgUHJvcGVydGllcykge1xuICB2YXIgcmVzdWx0O1xuICBpZiAoTyAhPT0gbnVsbCkge1xuICAgIEVtcHR5W1BST1RPVFlQRV0gPSBhbk9iamVjdChPKTtcbiAgICByZXN1bHQgPSBuZXcgRW1wdHkoKTtcbiAgICBFbXB0eVtQUk9UT1RZUEVdID0gbnVsbDtcbiAgICAvLyBhZGQgXCJfX3Byb3RvX19cIiBmb3IgT2JqZWN0LmdldFByb3RvdHlwZU9mIHBvbHlmaWxsXG4gICAgcmVzdWx0W0lFX1BST1RPXSA9IE87XG4gIH0gZWxzZSByZXN1bHQgPSBjcmVhdGVEaWN0KCk7XG4gIHJldHVybiBQcm9wZXJ0aWVzID09PSB1bmRlZmluZWQgPyByZXN1bHQgOiBkUHMocmVzdWx0LCBQcm9wZXJ0aWVzKTtcbn07XG5cblxuXG4vLy8vLy8vLy8vLy8vLy8vLy9cbi8vIFdFQlBBQ0sgRk9PVEVSXG4vLyAuL25vZGVfbW9kdWxlcy9jb3JlLWpzL2xpYnJhcnkvbW9kdWxlcy9fb2JqZWN0LWNyZWF0ZS5qc1xuLy8gbW9kdWxlIGlkID0gMjZcbi8vIG1vZHVsZSBjaHVua3MgPSAwIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOyIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///26\n");
/***/ }),
/* 27 */
/***/ (function(module, exports, __webpack_require__) {
eval("var def = __webpack_require__(3).f;\nvar has = __webpack_require__(5);\nvar TAG = __webpack_require__(10)('toStringTag');\n\nmodule.exports = function (it, tag, stat) {\n if (it && !has(it = stat ? it : it.prototype, TAG)) def(it, TAG, { configurable: true, value: tag });\n};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMjcuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX3NldC10by1zdHJpbmctdGFnLmpzPzdiYTkiXSwic291cmNlc0NvbnRlbnQiOlsidmFyIGRlZiA9IHJlcXVpcmUoJy4vX29iamVjdC1kcCcpLmY7XG52YXIgaGFzID0gcmVxdWlyZSgnLi9faGFzJyk7XG52YXIgVEFHID0gcmVxdWlyZSgnLi9fd2tzJykoJ3RvU3RyaW5nVGFnJyk7XG5cbm1vZHVsZS5leHBvcnRzID0gZnVuY3Rpb24gKGl0LCB0YWcsIHN0YXQpIHtcbiAgaWYgKGl0ICYmICFoYXMoaXQgPSBzdGF0ID8gaXQgOiBpdC5wcm90b3R5cGUsIFRBRykpIGRlZihpdCwgVEFHLCB7IGNvbmZpZ3VyYWJsZTogdHJ1ZSwgdmFsdWU6IHRhZyB9KTtcbn07XG5cblxuXG4vLy8vLy8vLy8vLy8vLy8vLy9cbi8vIFdFQlBBQ0sgRk9PVEVSXG4vLyAuL25vZGVfbW9kdWxlcy9jb3JlLWpzL2xpYnJhcnkvbW9kdWxlcy9fc2V0LXRvLXN0cmluZy10YWcuanNcbi8vIG1vZHVsZSBpZCA9IDI3XG4vLyBtb2R1bGUgY2h1bmtzID0gMCJdLCJtYXBwaW5ncyI6IkFBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7Iiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///27\n");
/***/ }),
/* 28 */
/***/ (function(module, exports, __webpack_require__) {
eval("exports.f = __webpack_require__(10);\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMjguanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX3drcy1leHQuanM/MmExZSJdLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnRzLmYgPSByZXF1aXJlKCcuL193a3MnKTtcblxuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vbm9kZV9tb2R1bGVzL2NvcmUtanMvbGlicmFyeS9tb2R1bGVzL193a3MtZXh0LmpzXG4vLyBtb2R1bGUgaWQgPSAyOFxuLy8gbW9kdWxlIGNodW5rcyA9IDAiXSwibWFwcGluZ3MiOiJBQUFBOyIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///28\n");
/***/ }),
/* 29 */
/***/ (function(module, exports, __webpack_require__) {
eval("var global = __webpack_require__(1);\nvar core = __webpack_require__(0);\nvar LIBRARY = __webpack_require__(24);\nvar wksExt = __webpack_require__(28);\nvar defineProperty = __webpack_require__(3).f;\nmodule.exports = function (name) {\n var $Symbol = core.Symbol || (core.Symbol = LIBRARY ? {} : global.Symbol || {});\n if (name.charAt(0) != '_' && !(name in $Symbol)) defineProperty($Symbol, name, { value: wksExt.f(name) });\n};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMjkuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX3drcy1kZWZpbmUuanM/NzJiOSJdLCJzb3VyY2VzQ29udGVudCI6WyJ2YXIgZ2xvYmFsID0gcmVxdWlyZSgnLi9fZ2xvYmFsJyk7XG52YXIgY29yZSA9IHJlcXVpcmUoJy4vX2NvcmUnKTtcbnZhciBMSUJSQVJZID0gcmVxdWlyZSgnLi9fbGlicmFyeScpO1xudmFyIHdrc0V4dCA9IHJlcXVpcmUoJy4vX3drcy1leHQnKTtcbnZhciBkZWZpbmVQcm9wZXJ0eSA9IHJlcXVpcmUoJy4vX29iamVjdC1kcCcpLmY7XG5tb2R1bGUuZXhwb3J0cyA9IGZ1bmN0aW9uIChuYW1lKSB7XG4gIHZhciAkU3ltYm9sID0gY29yZS5TeW1ib2wgfHwgKGNvcmUuU3ltYm9sID0gTElCUkFSWSA/IHt9IDogZ2xvYmFsLlN5bWJvbCB8fCB7fSk7XG4gIGlmIChuYW1lLmNoYXJBdCgwKSAhPSAnXycgJiYgIShuYW1lIGluICRTeW1ib2wpKSBkZWZpbmVQcm9wZXJ0eSgkU3ltYm9sLCBuYW1lLCB7IHZhbHVlOiB3a3NFeHQuZihuYW1lKSB9KTtcbn07XG5cblxuXG4vLy8vLy8vLy8vLy8vLy8vLy9cbi8vIFdFQlBBQ0sgRk9PVEVSXG4vLyAuL25vZGVfbW9kdWxlcy9jb3JlLWpzL2xpYnJhcnkvbW9kdWxlcy9fd2tzLWRlZmluZS5qc1xuLy8gbW9kdWxlIGlkID0gMjlcbi8vIG1vZHVsZSBjaHVua3MgPSAwIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7Iiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///29\n");
/***/ }),
/* 30 */
/***/ (function(module, exports, __webpack_require__) {
eval("// optional / simple context binding\nvar aFunction = __webpack_require__(54);\nmodule.exports = function (fn, that, length) {\n aFunction(fn);\n if (that === undefined) return fn;\n switch (length) {\n case 1: return function (a) {\n return fn.call(that, a);\n };\n case 2: return function (a, b) {\n return fn.call(that, a, b);\n };\n case 3: return function (a, b, c) {\n return fn.call(that, a, b, c);\n };\n }\n return function (/* ...args */) {\n return fn.apply(that, arguments);\n };\n};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMzAuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX2N0eC5qcz9mOTkzIl0sInNvdXJjZXNDb250ZW50IjpbIi8vIG9wdGlvbmFsIC8gc2ltcGxlIGNvbnRleHQgYmluZGluZ1xudmFyIGFGdW5jdGlvbiA9IHJlcXVpcmUoJy4vX2EtZnVuY3Rpb24nKTtcbm1vZHVsZS5leHBvcnRzID0gZnVuY3Rpb24gKGZuLCB0aGF0LCBsZW5ndGgpIHtcbiAgYUZ1bmN0aW9uKGZuKTtcbiAgaWYgKHRoYXQgPT09IHVuZGVmaW5lZCkgcmV0dXJuIGZuO1xuICBzd2l0Y2ggKGxlbmd0aCkge1xuICAgIGNhc2UgMTogcmV0dXJuIGZ1bmN0aW9uIChhKSB7XG4gICAgICByZXR1cm4gZm4uY2FsbCh0aGF0LCBhKTtcbiAgICB9O1xuICAgIGNhc2UgMjogcmV0dXJuIGZ1bmN0aW9uIChhLCBiKSB7XG4gICAgICByZXR1cm4gZm4uY2FsbCh0aGF0LCBhLCBiKTtcbiAgICB9O1xuICAgIGNhc2UgMzogcmV0dXJuIGZ1bmN0aW9uIChhLCBiLCBjKSB7XG4gICAgICByZXR1cm4gZm4uY2FsbCh0aGF0LCBhLCBiLCBjKTtcbiAgICB9O1xuICB9XG4gIHJldHVybiBmdW5jdGlvbiAoLyogLi4uYXJncyAqLykge1xuICAgIHJldHVybiBmbi5hcHBseSh0aGF0LCBhcmd1bWVudHMpO1xuICB9O1xufTtcblxuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vbm9kZV9tb2R1bGVzL2NvcmUtanMvbGlicmFyeS9tb2R1bGVzL19jdHguanNcbi8vIG1vZHVsZSBpZCA9IDMwXG4vLyBtb2R1bGUgY2h1bmtzID0gMCJdLCJtYXBwaW5ncyI6IkFBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTsiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///30\n");
/***/ }),
/* 31 */
/***/ (function(module, exports, __webpack_require__) {
eval("module.exports = !__webpack_require__(4) && !__webpack_require__(8)(function () {\n return Object.defineProperty(__webpack_require__(32)('div'), 'a', { get: function () { return 7; } }).a != 7;\n});\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMzEuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX2llOC1kb20tZGVmaW5lLmpzPzQ5ZjAiXSwic291cmNlc0NvbnRlbnQiOlsibW9kdWxlLmV4cG9ydHMgPSAhcmVxdWlyZSgnLi9fZGVzY3JpcHRvcnMnKSAmJiAhcmVxdWlyZSgnLi9fZmFpbHMnKShmdW5jdGlvbiAoKSB7XG4gIHJldHVybiBPYmplY3QuZGVmaW5lUHJvcGVydHkocmVxdWlyZSgnLi9fZG9tLWNyZWF0ZScpKCdkaXYnKSwgJ2EnLCB7IGdldDogZnVuY3Rpb24gKCkgeyByZXR1cm4gNzsgfSB9KS5hICE9IDc7XG59KTtcblxuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vbm9kZV9tb2R1bGVzL2NvcmUtanMvbGlicmFyeS9tb2R1bGVzL19pZTgtZG9tLWRlZmluZS5qc1xuLy8gbW9kdWxlIGlkID0gMzFcbi8vIG1vZHVsZSBjaHVua3MgPSAwIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUNBO0FBQ0E7Iiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///31\n");
/***/ }),
/* 32 */
/***/ (function(module, exports, __webpack_require__) {
eval("var isObject = __webpack_require__(7);\nvar document = __webpack_require__(1).document;\n// typeof document.createElement is 'object' in old IE\nvar is = isObject(document) && isObject(document.createElement);\nmodule.exports = function (it) {\n return is ? document.createElement(it) : {};\n};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMzIuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX2RvbS1jcmVhdGUuanM/MzhkZCJdLCJzb3VyY2VzQ29udGVudCI6WyJ2YXIgaXNPYmplY3QgPSByZXF1aXJlKCcuL19pcy1vYmplY3QnKTtcbnZhciBkb2N1bWVudCA9IHJlcXVpcmUoJy4vX2dsb2JhbCcpLmRvY3VtZW50O1xuLy8gdHlwZW9mIGRvY3VtZW50LmNyZWF0ZUVsZW1lbnQgaXMgJ29iamVjdCcgaW4gb2xkIElFXG52YXIgaXMgPSBpc09iamVjdChkb2N1bWVudCkgJiYgaXNPYmplY3QoZG9jdW1lbnQuY3JlYXRlRWxlbWVudCk7XG5tb2R1bGUuZXhwb3J0cyA9IGZ1bmN0aW9uIChpdCkge1xuICByZXR1cm4gaXMgPyBkb2N1bWVudC5jcmVhdGVFbGVtZW50KGl0KSA6IHt9O1xufTtcblxuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vbm9kZV9tb2R1bGVzL2NvcmUtanMvbGlicmFyeS9tb2R1bGVzL19kb20tY3JlYXRlLmpzXG4vLyBtb2R1bGUgaWQgPSAzMlxuLy8gbW9kdWxlIGNodW5rcyA9IDAiXSwibWFwcGluZ3MiOiJBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOyIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///32\n");
/***/ }),
/* 33 */
/***/ (function(module, exports, __webpack_require__) {
eval("var has = __webpack_require__(5);\nvar toIObject = __webpack_require__(9);\nvar arrayIndexOf = __webpack_require__(56)(false);\nvar IE_PROTO = __webpack_require__(19)('IE_PROTO');\n\nmodule.exports = function (object, names) {\n var O = toIObject(object);\n var i = 0;\n var result = [];\n var key;\n for (key in O) if (key != IE_PROTO) has(O, key) && result.push(key);\n // Don't enum bug & hidden keys\n while (names.length > i) if (has(O, key = names[i++])) {\n ~arrayIndexOf(result, key) || result.push(key);\n }\n return result;\n};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMzMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX29iamVjdC1rZXlzLWludGVybmFsLmpzPzIxYjgiXSwic291cmNlc0NvbnRlbnQiOlsidmFyIGhhcyA9IHJlcXVpcmUoJy4vX2hhcycpO1xudmFyIHRvSU9iamVjdCA9IHJlcXVpcmUoJy4vX3RvLWlvYmplY3QnKTtcbnZhciBhcnJheUluZGV4T2YgPSByZXF1aXJlKCcuL19hcnJheS1pbmNsdWRlcycpKGZhbHNlKTtcbnZhciBJRV9QUk9UTyA9IHJlcXVpcmUoJy4vX3NoYXJlZC1rZXknKSgnSUVfUFJPVE8nKTtcblxubW9kdWxlLmV4cG9ydHMgPSBmdW5jdGlvbiAob2JqZWN0LCBuYW1lcykge1xuICB2YXIgTyA9IHRvSU9iamVjdChvYmplY3QpO1xuICB2YXIgaSA9IDA7XG4gIHZhciByZXN1bHQgPSBbXTtcbiAgdmFyIGtleTtcbiAgZm9yIChrZXkgaW4gTykgaWYgKGtleSAhPSBJRV9QUk9UTykgaGFzKE8sIGtleSkgJiYgcmVzdWx0LnB1c2goa2V5KTtcbiAgLy8gRG9uJ3QgZW51bSBidWcgJiBoaWRkZW4ga2V5c1xuICB3aGlsZSAobmFtZXMubGVuZ3RoID4gaSkgaWYgKGhhcyhPLCBrZXkgPSBuYW1lc1tpKytdKSkge1xuICAgIH5hcnJheUluZGV4T2YocmVzdWx0LCBrZXkpIHx8IHJlc3VsdC5wdXNoKGtleSk7XG4gIH1cbiAgcmV0dXJuIHJlc3VsdDtcbn07XG5cblxuXG4vLy8vLy8vLy8vLy8vLy8vLy9cbi8vIFdFQlBBQ0sgRk9PVEVSXG4vLyAuL25vZGVfbW9kdWxlcy9jb3JlLWpzL2xpYnJhcnkvbW9kdWxlcy9fb2JqZWN0LWtleXMtaW50ZXJuYWwuanNcbi8vIG1vZHVsZSBpZCA9IDMzXG4vLyBtb2R1bGUgY2h1bmtzID0gMCJdLCJtYXBwaW5ncyI6IkFBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTsiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///33\n");
/***/ }),
/* 34 */
/***/ (function(module, exports, __webpack_require__) {
eval("// fallback for non-array-like ES3 and non-enumerable old V8 strings\nvar cof = __webpack_require__(35);\n// eslint-disable-next-line no-prototype-builtins\nmodule.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) {\n return cof(it) == 'String' ? it.split('') : Object(it);\n};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMzQuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX2lvYmplY3QuanM/MzE0ZSJdLCJzb3VyY2VzQ29udGVudCI6WyIvLyBmYWxsYmFjayBmb3Igbm9uLWFycmF5LWxpa2UgRVMzIGFuZCBub24tZW51bWVyYWJsZSBvbGQgVjggc3RyaW5nc1xudmFyIGNvZiA9IHJlcXVpcmUoJy4vX2NvZicpO1xuLy8gZXNsaW50LWRpc2FibGUtbmV4dC1saW5lIG5vLXByb3RvdHlwZS1idWlsdGluc1xubW9kdWxlLmV4cG9ydHMgPSBPYmplY3QoJ3onKS5wcm9wZXJ0eUlzRW51bWVyYWJsZSgwKSA/IE9iamVjdCA6IGZ1bmN0aW9uIChpdCkge1xuICByZXR1cm4gY29mKGl0KSA9PSAnU3RyaW5nJyA/IGl0LnNwbGl0KCcnKSA6IE9iamVjdChpdCk7XG59O1xuXG5cblxuLy8vLy8vLy8vLy8vLy8vLy8vXG4vLyBXRUJQQUNLIEZPT1RFUlxuLy8gLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX2lvYmplY3QuanNcbi8vIG1vZHVsZSBpZCA9IDM0XG4vLyBtb2R1bGUgY2h1bmtzID0gMCJdLCJtYXBwaW5ncyI6IkFBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOyIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///34\n");
/***/ }),
/* 35 */
/***/ (function(module, exports) {
eval("var toString = {}.toString;\n\nmodule.exports = function (it) {\n return toString.call(it).slice(8, -1);\n};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMzUuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX2NvZi5qcz80N2QzIl0sInNvdXJjZXNDb250ZW50IjpbInZhciB0b1N0cmluZyA9IHt9LnRvU3RyaW5nO1xuXG5tb2R1bGUuZXhwb3J0cyA9IGZ1bmN0aW9uIChpdCkge1xuICByZXR1cm4gdG9TdHJpbmcuY2FsbChpdCkuc2xpY2UoOCwgLTEpO1xufTtcblxuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vbm9kZV9tb2R1bGVzL2NvcmUtanMvbGlicmFyeS9tb2R1bGVzL19jb2YuanNcbi8vIG1vZHVsZSBpZCA9IDM1XG4vLyBtb2R1bGUgY2h1bmtzID0gMCJdLCJtYXBwaW5ncyI6IkFBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTsiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///35\n");
/***/ }),
/* 36 */
/***/ (function(module, exports, __webpack_require__) {
eval("module.exports = { \"default\": __webpack_require__(61), __esModule: true };//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMzYuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvYmFiZWwtcnVudGltZS9jb3JlLWpzL29iamVjdC9nZXQtcHJvdG90eXBlLW9mLmpzPzY3MWUiXSwic291cmNlc0NvbnRlbnQiOlsibW9kdWxlLmV4cG9ydHMgPSB7IFwiZGVmYXVsdFwiOiByZXF1aXJlKFwiY29yZS1qcy9saWJyYXJ5L2ZuL29iamVjdC9nZXQtcHJvdG90eXBlLW9mXCIpLCBfX2VzTW9kdWxlOiB0cnVlIH07XG5cblxuLy8vLy8vLy8vLy8vLy8vLy8vXG4vLyBXRUJQQUNLIEZPT1RFUlxuLy8gLi9ub2RlX21vZHVsZXMvYmFiZWwtcnVudGltZS9jb3JlLWpzL29iamVjdC9nZXQtcHJvdG90eXBlLW9mLmpzXG4vLyBtb2R1bGUgaWQgPSAzNlxuLy8gbW9kdWxlIGNodW5rcyA9IDAiXSwibWFwcGluZ3MiOiJBQUFBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///36\n");
/***/ }),
/* 37 */
/***/ (function(module, exports, __webpack_require__) {
eval("// 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O)\nvar has = __webpack_require__(5);\nvar toObject = __webpack_require__(23);\nvar IE_PROTO = __webpack_require__(19)('IE_PROTO');\nvar ObjectProto = Object.prototype;\n\nmodule.exports = Object.getPrototypeOf || function (O) {\n O = toObject(O);\n if (has(O, IE_PROTO)) return O[IE_PROTO];\n if (typeof O.constructor == 'function' && O instanceof O.constructor) {\n return O.constructor.prototype;\n } return O instanceof Object ? ObjectProto : null;\n};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMzcuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX29iamVjdC1ncG8uanM/M2YzYyJdLCJzb3VyY2VzQ29udGVudCI6WyIvLyAxOS4xLjIuOSAvIDE1LjIuMy4yIE9iamVjdC5nZXRQcm90b3R5cGVPZihPKVxudmFyIGhhcyA9IHJlcXVpcmUoJy4vX2hhcycpO1xudmFyIHRvT2JqZWN0ID0gcmVxdWlyZSgnLi9fdG8tb2JqZWN0Jyk7XG52YXIgSUVfUFJPVE8gPSByZXF1aXJlKCcuL19zaGFyZWQta2V5JykoJ0lFX1BST1RPJyk7XG52YXIgT2JqZWN0UHJvdG8gPSBPYmplY3QucHJvdG90eXBlO1xuXG5tb2R1bGUuZXhwb3J0cyA9IE9iamVjdC5nZXRQcm90b3R5cGVPZiB8fCBmdW5jdGlvbiAoTykge1xuICBPID0gdG9PYmplY3QoTyk7XG4gIGlmIChoYXMoTywgSUVfUFJPVE8pKSByZXR1cm4gT1tJRV9QUk9UT107XG4gIGlmICh0eXBlb2YgTy5jb25zdHJ1Y3RvciA9PSAnZnVuY3Rpb24nICYmIE8gaW5zdGFuY2VvZiBPLmNvbnN0cnVjdG9yKSB7XG4gICAgcmV0dXJuIE8uY29uc3RydWN0b3IucHJvdG90eXBlO1xuICB9IHJldHVybiBPIGluc3RhbmNlb2YgT2JqZWN0ID8gT2JqZWN0UHJvdG8gOiBudWxsO1xufTtcblxuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vbm9kZV9tb2R1bGVzL2NvcmUtanMvbGlicmFyeS9tb2R1bGVzL19vYmplY3QtZ3BvLmpzXG4vLyBtb2R1bGUgaWQgPSAzN1xuLy8gbW9kdWxlIGNodW5rcyA9IDAiXSwibWFwcGluZ3MiOiJBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOyIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///37\n");
/***/ }),
/* 38 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\n\nexports.__esModule = true;\n\nexports.default = function (instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n};//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMzguanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvYmFiZWwtcnVudGltZS9oZWxwZXJzL2NsYXNzQ2FsbENoZWNrLmpzPzY2YjkiXSwic291cmNlc0NvbnRlbnQiOlsiXCJ1c2Ugc3RyaWN0XCI7XG5cbmV4cG9ydHMuX19lc01vZHVsZSA9IHRydWU7XG5cbmV4cG9ydHMuZGVmYXVsdCA9IGZ1bmN0aW9uIChpbnN0YW5jZSwgQ29uc3RydWN0b3IpIHtcbiAgaWYgKCEoaW5zdGFuY2UgaW5zdGFuY2VvZiBDb25zdHJ1Y3RvcikpIHtcbiAgICB0aHJvdyBuZXcgVHlwZUVycm9yKFwiQ2Fubm90IGNhbGwgYSBjbGFzcyBhcyBhIGZ1bmN0aW9uXCIpO1xuICB9XG59O1xuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vbm9kZV9tb2R1bGVzL2JhYmVsLXJ1bnRpbWUvaGVscGVycy9jbGFzc0NhbGxDaGVjay5qc1xuLy8gbW9kdWxlIGlkID0gMzhcbi8vIG1vZHVsZSBjaHVua3MgPSAwIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///38\n");
/***/ }),
/* 39 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\n\nexports.__esModule = true;\n\nvar _defineProperty = __webpack_require__(64);\n\nvar _defineProperty2 = _interopRequireDefault(_defineProperty);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = function () {\n function defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n (0, _defineProperty2.default)(target, descriptor.key, descriptor);\n }\n }\n\n return function (Constructor, protoProps, staticProps) {\n if (protoProps) defineProperties(Constructor.prototype, protoProps);\n if (staticProps) defineProperties(Constructor, staticProps);\n return Constructor;\n };\n}();//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMzkuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvYmFiZWwtcnVudGltZS9oZWxwZXJzL2NyZWF0ZUNsYXNzLmpzP2MzMTAiXSwic291cmNlc0NvbnRlbnQiOlsiXCJ1c2Ugc3RyaWN0XCI7XG5cbmV4cG9ydHMuX19lc01vZHVsZSA9IHRydWU7XG5cbnZhciBfZGVmaW5lUHJvcGVydHkgPSByZXF1aXJlKFwiLi4vY29yZS1qcy9vYmplY3QvZGVmaW5lLXByb3BlcnR5XCIpO1xuXG52YXIgX2RlZmluZVByb3BlcnR5MiA9IF9pbnRlcm9wUmVxdWlyZURlZmF1bHQoX2RlZmluZVByb3BlcnR5KTtcblxuZnVuY3Rpb24gX2ludGVyb3BSZXF1aXJlRGVmYXVsdChvYmopIHsgcmV0dXJuIG9iaiAmJiBvYmouX19lc01vZHVsZSA/IG9iaiA6IHsgZGVmYXVsdDogb2JqIH07IH1cblxuZXhwb3J0cy5kZWZhdWx0ID0gZnVuY3Rpb24gKCkge1xuICBmdW5jdGlvbiBkZWZpbmVQcm9wZXJ0aWVzKHRhcmdldCwgcHJvcHMpIHtcbiAgICBmb3IgKHZhciBpID0gMDsgaSA8IHByb3BzLmxlbmd0aDsgaSsrKSB7XG4gICAgICB2YXIgZGVzY3JpcHRvciA9IHByb3BzW2ldO1xuICAgICAgZGVzY3JpcHRvci5lbnVtZXJhYmxlID0gZGVzY3JpcHRvci5lbnVtZXJhYmxlIHx8IGZhbHNlO1xuICAgICAgZGVzY3JpcHRvci5jb25maWd1cmFibGUgPSB0cnVlO1xuICAgICAgaWYgKFwidmFsdWVcIiBpbiBkZXNjcmlwdG9yKSBkZXNjcmlwdG9yLndyaXRhYmxlID0gdHJ1ZTtcbiAgICAgICgwLCBfZGVmaW5lUHJvcGVydHkyLmRlZmF1bHQpKHRhcmdldCwgZGVzY3JpcHRvci5rZXksIGRlc2NyaXB0b3IpO1xuICAgIH1cbiAgfVxuXG4gIHJldHVybiBmdW5jdGlvbiAoQ29uc3RydWN0b3IsIHByb3RvUHJvcHMsIHN0YXRpY1Byb3BzKSB7XG4gICAgaWYgKHByb3RvUHJvcHMpIGRlZmluZVByb3BlcnRpZXMoQ29uc3RydWN0b3IucHJvdG90eXBlLCBwcm90b1Byb3BzKTtcbiAgICBpZiAoc3RhdGljUHJvcHMpIGRlZmluZVByb3BlcnRpZXMoQ29uc3RydWN0b3IsIHN0YXRpY1Byb3BzKTtcbiAgICByZXR1cm4gQ29uc3RydWN0b3I7XG4gIH07XG59KCk7XG5cblxuLy8vLy8vLy8vLy8vLy8vLy8vXG4vLyBXRUJQQUNLIEZPT1RFUlxuLy8gLi9ub2RlX21vZHVsZXMvYmFiZWwtcnVudGltZS9oZWxwZXJzL2NyZWF0ZUNsYXNzLmpzXG4vLyBtb2R1bGUgaWQgPSAzOVxuLy8gbW9kdWxlIGNodW5rcyA9IDAiXSwibWFwcGluZ3MiOiJBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///39\n");
/***/ }),
/* 40 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\n\nexports.__esModule = true;\n\nvar _typeof2 = __webpack_require__(41);\n\nvar _typeof3 = _interopRequireDefault(_typeof2);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = function (self, call) {\n if (!self) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n\n return call && ((typeof call === \"undefined\" ? \"undefined\" : (0, _typeof3.default)(call)) === \"object\" || typeof call === \"function\") ? call : self;\n};//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNDAuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvYmFiZWwtcnVudGltZS9oZWxwZXJzL3Bvc3NpYmxlQ29uc3RydWN0b3JSZXR1cm4uanM/Y2YwYSJdLCJzb3VyY2VzQ29udGVudCI6WyJcInVzZSBzdHJpY3RcIjtcblxuZXhwb3J0cy5fX2VzTW9kdWxlID0gdHJ1ZTtcblxudmFyIF90eXBlb2YyID0gcmVxdWlyZShcIi4uL2hlbHBlcnMvdHlwZW9mXCIpO1xuXG52YXIgX3R5cGVvZjMgPSBfaW50ZXJvcFJlcXVpcmVEZWZhdWx0KF90eXBlb2YyKTtcblxuZnVuY3Rpb24gX2ludGVyb3BSZXF1aXJlRGVmYXVsdChvYmopIHsgcmV0dXJuIG9iaiAmJiBvYmouX19lc01vZHVsZSA/IG9iaiA6IHsgZGVmYXVsdDogb2JqIH07IH1cblxuZXhwb3J0cy5kZWZhdWx0ID0gZnVuY3Rpb24gKHNlbGYsIGNhbGwpIHtcbiAgaWYgKCFzZWxmKSB7XG4gICAgdGhyb3cgbmV3IFJlZmVyZW5jZUVycm9yKFwidGhpcyBoYXNuJ3QgYmVlbiBpbml0aWFsaXNlZCAtIHN1cGVyKCkgaGFzbid0IGJlZW4gY2FsbGVkXCIpO1xuICB9XG5cbiAgcmV0dXJuIGNhbGwgJiYgKCh0eXBlb2YgY2FsbCA9PT0gXCJ1bmRlZmluZWRcIiA/IFwidW5kZWZpbmVkXCIgOiAoMCwgX3R5cGVvZjMuZGVmYXVsdCkoY2FsbCkpID09PSBcIm9iamVjdFwiIHx8IHR5cGVvZiBjYWxsID09PSBcImZ1bmN0aW9uXCIpID8gY2FsbCA6IHNlbGY7XG59O1xuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vbm9kZV9tb2R1bGVzL2JhYmVsLXJ1bnRpbWUvaGVscGVycy9wb3NzaWJsZUNvbnN0cnVjdG9yUmV0dXJuLmpzXG4vLyBtb2R1bGUgaWQgPSA0MFxuLy8gbW9kdWxlIGNodW5rcyA9IDAiXSwibWFwcGluZ3MiOiJBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///40\n");
/***/ }),
/* 41 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\n\nexports.__esModule = true;\n\nvar _iterator = __webpack_require__(67);\n\nvar _iterator2 = _interopRequireDefault(_iterator);\n\nvar _symbol = __webpack_require__(78);\n\nvar _symbol2 = _interopRequireDefault(_symbol);\n\nvar _typeof = typeof _symbol2.default === \"function\" && typeof _iterator2.default === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof _symbol2.default === \"function\" && obj.constructor === _symbol2.default && obj !== _symbol2.default.prototype ? \"symbol\" : typeof obj; };\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = typeof _symbol2.default === \"function\" && _typeof(_iterator2.default) === \"symbol\" ? function (obj) {\n return typeof obj === \"undefined\" ? \"undefined\" : _typeof(obj);\n} : function (obj) {\n return obj && typeof _symbol2.default === \"function\" && obj.constructor === _symbol2.default && obj !== _symbol2.default.prototype ? \"symbol\" : typeof obj === \"undefined\" ? \"undefined\" : _typeof(obj);\n};//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNDEuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvYmFiZWwtcnVudGltZS9oZWxwZXJzL3R5cGVvZi5qcz9hNDU2Il0sInNvdXJjZXNDb250ZW50IjpbIlwidXNlIHN0cmljdFwiO1xuXG5leHBvcnRzLl9fZXNNb2R1bGUgPSB0cnVlO1xuXG52YXIgX2l0ZXJhdG9yID0gcmVxdWlyZShcIi4uL2NvcmUtanMvc3ltYm9sL2l0ZXJhdG9yXCIpO1xuXG52YXIgX2l0ZXJhdG9yMiA9IF9pbnRlcm9wUmVxdWlyZURlZmF1bHQoX2l0ZXJhdG9yKTtcblxudmFyIF9zeW1ib2wgPSByZXF1aXJlKFwiLi4vY29yZS1qcy9zeW1ib2xcIik7XG5cbnZhciBfc3ltYm9sMiA9IF9pbnRlcm9wUmVxdWlyZURlZmF1bHQoX3N5bWJvbCk7XG5cbnZhciBfdHlwZW9mID0gdHlwZW9mIF9zeW1ib2wyLmRlZmF1bHQgPT09IFwiZnVuY3Rpb25cIiAmJiB0eXBlb2YgX2l0ZXJhdG9yMi5kZWZhdWx0ID09PSBcInN5bWJvbFwiID8gZnVuY3Rpb24gKG9iaikgeyByZXR1cm4gdHlwZW9mIG9iajsgfSA6IGZ1bmN0aW9uIChvYmopIHsgcmV0dXJuIG9iaiAmJiB0eXBlb2YgX3N5bWJvbDIuZGVmYXVsdCA9PT0gXCJmdW5jdGlvblwiICYmIG9iai5jb25zdHJ1Y3RvciA9PT0gX3N5bWJvbDIuZGVmYXVsdCAmJiBvYmogIT09IF9zeW1ib2wyLmRlZmF1bHQucHJvdG90eXBlID8gXCJzeW1ib2xcIiA6IHR5cGVvZiBvYmo7IH07XG5cbmZ1bmN0aW9uIF9pbnRlcm9wUmVxdWlyZURlZmF1bHQob2JqKSB7IHJldHVybiBvYmogJiYgb2JqLl9fZXNNb2R1bGUgPyBvYmogOiB7IGRlZmF1bHQ6IG9iaiB9OyB9XG5cbmV4cG9ydHMuZGVmYXVsdCA9IHR5cGVvZiBfc3ltYm9sMi5kZWZhdWx0ID09PSBcImZ1bmN0aW9uXCIgJiYgX3R5cGVvZihfaXRlcmF0b3IyLmRlZmF1bHQpID09PSBcInN5bWJvbFwiID8gZnVuY3Rpb24gKG9iaikge1xuICByZXR1cm4gdHlwZW9mIG9iaiA9PT0gXCJ1bmRlZmluZWRcIiA/IFwidW5kZWZpbmVkXCIgOiBfdHlwZW9mKG9iaik7XG59IDogZnVuY3Rpb24gKG9iaikge1xuICByZXR1cm4gb2JqICYmIHR5cGVvZiBfc3ltYm9sMi5kZWZhdWx0ID09PSBcImZ1bmN0aW9uXCIgJiYgb2JqLmNvbnN0cnVjdG9yID09PSBfc3ltYm9sMi5kZWZhdWx0ICYmIG9iaiAhPT0gX3N5bWJvbDIuZGVmYXVsdC5wcm90b3R5cGUgPyBcInN5bWJvbFwiIDogdHlwZW9mIG9iaiA9PT0gXCJ1bmRlZmluZWRcIiA/IFwidW5kZWZpbmVkXCIgOiBfdHlwZW9mKG9iaik7XG59O1xuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vbm9kZV9tb2R1bGVzL2JhYmVsLXJ1bnRpbWUvaGVscGVycy90eXBlb2YuanNcbi8vIG1vZHVsZSBpZCA9IDQxXG4vLyBtb2R1bGUgY2h1bmtzID0gMCJdLCJtYXBwaW5ncyI6IkFBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///41\n");
/***/ }),
/* 42 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\nvar LIBRARY = __webpack_require__(24);\nvar $export = __webpack_require__(2);\nvar redefine = __webpack_require__(43);\nvar hide = __webpack_require__(6);\nvar Iterators = __webpack_require__(25);\nvar $iterCreate = __webpack_require__(71);\nvar setToStringTag = __webpack_require__(27);\nvar getPrototypeOf = __webpack_require__(37);\nvar ITERATOR = __webpack_require__(10)('iterator');\nvar BUGGY = !([].keys && 'next' in [].keys()); // Safari has buggy iterators w/o `next`\nvar FF_ITERATOR = '@@iterator';\nvar KEYS = 'keys';\nvar VALUES = 'values';\n\nvar returnThis = function () { return this; };\n\nmodule.exports = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED) {\n $iterCreate(Constructor, NAME, next);\n var getMethod = function (kind) {\n if (!BUGGY && kind in proto) return proto[kind];\n switch (kind) {\n case KEYS: return function keys() { return new Constructor(this, kind); };\n case VALUES: return function values() { return new Constructor(this, kind); };\n } return function entries() { return new Constructor(this, kind); };\n };\n var TAG = NAME + ' Iterator';\n var DEF_VALUES = DEFAULT == VALUES;\n var VALUES_BUG = false;\n var proto = Base.prototype;\n var $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT];\n var $default = $native || getMethod(DEFAULT);\n var $entries = DEFAULT ? !DEF_VALUES ? $default : getMethod('entries') : undefined;\n var $anyNative = NAME == 'Array' ? proto.entries || $native : $native;\n var methods, key, IteratorPrototype;\n // Fix native\n if ($anyNative) {\n IteratorPrototype = getPrototypeOf($anyNative.call(new Base()));\n if (IteratorPrototype !== Object.prototype && IteratorPrototype.next) {\n // Set @@toStringTag to native iterators\n setToStringTag(IteratorPrototype, TAG, true);\n // fix for some old engines\n if (!LIBRARY && typeof IteratorPrototype[ITERATOR] != 'function') hide(IteratorPrototype, ITERATOR, returnThis);\n }\n }\n // fix Array#{values, @@iterator}.name in V8 / FF\n if (DEF_VALUES && $native && $native.name !== VALUES) {\n VALUES_BUG = true;\n $default = function values() { return $native.call(this); };\n }\n // Define iterator\n if ((!LIBRARY || FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])) {\n hide(proto, ITERATOR, $default);\n }\n // Plug for library\n Iterators[NAME] = $default;\n Iterators[TAG] = returnThis;\n if (DEFAULT) {\n methods = {\n values: DEF_VALUES ? $default : getMethod(VALUES),\n keys: IS_SET ? $default : getMethod(KEYS),\n entries: $entries\n };\n if (FORCED) for (key in methods) {\n if (!(key in proto)) redefine(proto, key, methods[key]);\n } else $export($export.P + $export.F * (BUGGY || VALUES_BUG), NAME, methods);\n }\n return methods;\n};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNDIuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX2l0ZXItZGVmaW5lLmpzP2JjODAiXSwic291cmNlc0NvbnRlbnQiOlsiJ3VzZSBzdHJpY3QnO1xudmFyIExJQlJBUlkgPSByZXF1aXJlKCcuL19saWJyYXJ5Jyk7XG52YXIgJGV4cG9ydCA9IHJlcXVpcmUoJy4vX2V4cG9ydCcpO1xudmFyIHJlZGVmaW5lID0gcmVxdWlyZSgnLi9fcmVkZWZpbmUnKTtcbnZhciBoaWRlID0gcmVxdWlyZSgnLi9faGlkZScpO1xudmFyIEl0ZXJhdG9ycyA9IHJlcXVpcmUoJy4vX2l0ZXJhdG9ycycpO1xudmFyICRpdGVyQ3JlYXRlID0gcmVxdWlyZSgnLi9faXRlci1jcmVhdGUnKTtcbnZhciBzZXRUb1N0cmluZ1RhZyA9IHJlcXVpcmUoJy4vX3NldC10by1zdHJpbmctdGFnJyk7XG52YXIgZ2V0UHJvdG90eXBlT2YgPSByZXF1aXJlKCcuL19vYmplY3QtZ3BvJyk7XG52YXIgSVRFUkFUT1IgPSByZXF1aXJlKCcuL193a3MnKSgnaXRlcmF0b3InKTtcbnZhciBCVUdHWSA9ICEoW10ua2V5cyAmJiAnbmV4dCcgaW4gW10ua2V5cygpKTsgLy8gU2FmYXJpIGhhcyBidWdneSBpdGVyYXRvcnMgdy9vIGBuZXh0YFxudmFyIEZGX0lURVJBVE9SID0gJ0BAaXRlcmF0b3InO1xudmFyIEtFWVMgPSAna2V5cyc7XG52YXIgVkFMVUVTID0gJ3ZhbHVlcyc7XG5cbnZhciByZXR1cm5UaGlzID0gZnVuY3Rpb24gKCkgeyByZXR1cm4gdGhpczsgfTtcblxubW9kdWxlLmV4cG9ydHMgPSBmdW5jdGlvbiAoQmFzZSwgTkFNRSwgQ29uc3RydWN0b3IsIG5leHQsIERFRkFVTFQsIElTX1NFVCwgRk9SQ0VEKSB7XG4gICRpdGVyQ3JlYXRlKENvbnN0cnVjdG9yLCBOQU1FLCBuZXh0KTtcbiAgdmFyIGdldE1ldGhvZCA9IGZ1bmN0aW9uIChraW5kKSB7XG4gICAgaWYgKCFCVUdHWSAmJiBraW5kIGluIHByb3RvKSByZXR1cm4gcHJvdG9ba2luZF07XG4gICAgc3dpdGNoIChraW5kKSB7XG4gICAgICBjYXNlIEtFWVM6IHJldHVybiBmdW5jdGlvbiBrZXlzKCkgeyByZXR1cm4gbmV3IENvbnN0cnVjdG9yKHRoaXMsIGtpbmQpOyB9O1xuICAgICAgY2FzZSBWQUxVRVM6IHJldHVybiBmdW5jdGlvbiB2YWx1ZXMoKSB7IHJldHVybiBuZXcgQ29uc3RydWN0b3IodGhpcywga2luZCk7IH07XG4gICAgfSByZXR1cm4gZnVuY3Rpb24gZW50cmllcygpIHsgcmV0dXJuIG5ldyBDb25zdHJ1Y3Rvcih0aGlzLCBraW5kKTsgfTtcbiAgfTtcbiAgdmFyIFRBRyA9IE5BTUUgKyAnIEl0ZXJhdG9yJztcbiAgdmFyIERFRl9WQUxVRVMgPSBERUZBVUxUID09IFZBTFVFUztcbiAgdmFyIFZBTFVFU19CVUcgPSBmYWxzZTtcbiAgdmFyIHByb3RvID0gQmFzZS5wcm90b3R5cGU7XG4gIHZhciAkbmF0aXZlID0gcHJvdG9bSVRFUkFUT1JdIHx8IHByb3RvW0ZGX0lURVJBVE9SXSB8fCBERUZBVUxUICYmIHByb3RvW0RFRkFVTFRdO1xuICB2YXIgJGRlZmF1bHQgPSAkbmF0aXZlIHx8IGdldE1ldGhvZChERUZBVUxUKTtcbiAgdmFyICRlbnRyaWVzID0gREVGQVVMVCA/ICFERUZfVkFMVUVTID8gJGRlZmF1bHQgOiBnZXRNZXRob2QoJ2VudHJpZXMnKSA6IHVuZGVmaW5lZDtcbiAgdmFyICRhbnlOYXRpdmUgPSBOQU1FID09ICdBcnJheScgPyBwcm90by5lbnRyaWVzIHx8ICRuYXRpdmUgOiAkbmF0aXZlO1xuICB2YXIgbWV0aG9kcywga2V5LCBJdGVyYXRvclByb3RvdHlwZTtcbiAgLy8gRml4IG5hdGl2ZVxuICBpZiAoJGFueU5hdGl2ZSkge1xuICAgIEl0ZXJhdG9yUHJvdG90eXBlID0gZ2V0UHJvdG90eXBlT2YoJGFueU5hdGl2ZS5jYWxsKG5ldyBCYXNlKCkpKTtcbiAgICBpZiAoSXRlcmF0b3JQcm90b3R5cGUgIT09IE9iamVjdC5wcm90b3R5cGUgJiYgSXRlcmF0b3JQcm90b3R5cGUubmV4dCkge1xuICAgICAgLy8gU2V0IEBAdG9TdHJpbmdUYWcgdG8gbmF0aXZlIGl0ZXJhdG9yc1xuICAgICAgc2V0VG9TdHJpbmdUYWcoSXRlcmF0b3JQcm90b3R5cGUsIFRBRywgdHJ1ZSk7XG4gICAgICAvLyBmaXggZm9yIHNvbWUgb2xkIGVuZ2luZXNcbiAgICAgIGlmICghTElCUkFSWSAmJiB0eXBlb2YgSXRlcmF0b3JQcm90b3R5cGVbSVRFUkFUT1JdICE9ICdmdW5jdGlvbicpIGhpZGUoSXRlcmF0b3JQcm90b3R5cGUsIElURVJBVE9SLCByZXR1cm5UaGlzKTtcbiAgICB9XG4gIH1cbiAgLy8gZml4IEFycmF5I3t2YWx1ZXMsIEBAaXRlcmF0b3J9Lm5hbWUgaW4gVjggLyBGRlxuICBpZiAoREVGX1ZBTFVFUyAmJiAkbmF0aXZlICYmICRuYXRpdmUubmFtZSAhPT0gVkFMVUVTKSB7XG4gICAgVkFMVUVTX0JVRyA9IHRydWU7XG4gICAgJGRlZmF1bHQgPSBmdW5jdGlvbiB2YWx1ZXMoKSB7IHJldHVybiAkbmF0aXZlLmNhbGwodGhpcyk7IH07XG4gIH1cbiAgLy8gRGVmaW5lIGl0ZXJhdG9yXG4gIGlmICgoIUxJQlJBUlkgfHwgRk9SQ0VEKSAmJiAoQlVHR1kgfHwgVkFMVUVTX0JVRyB8fCAhcHJvdG9bSVRFUkFUT1JdKSkge1xuICAgIGhpZGUocHJvdG8sIElURVJBVE9SLCAkZGVmYXVsdCk7XG4gIH1cbiAgLy8gUGx1ZyBmb3IgbGlicmFyeVxuICBJdGVyYXRvcnNbTkFNRV0gPSAkZGVmYXVsdDtcbiAgSXRlcmF0b3JzW1RBR10gPSByZXR1cm5UaGlzO1xuICBpZiAoREVGQVVMVCkge1xuICAgIG1ldGhvZHMgPSB7XG4gICAgICB2YWx1ZXM6IERFRl9WQUxVRVMgPyAkZGVmYXVsdCA6IGdldE1ldGhvZChWQUxVRVMpLFxuICAgICAga2V5czogSVNfU0VUID8gJGRlZmF1bHQgOiBnZXRNZXRob2QoS0VZUyksXG4gICAgICBlbnRyaWVzOiAkZW50cmllc1xuICAgIH07XG4gICAgaWYgKEZPUkNFRCkgZm9yIChrZXkgaW4gbWV0aG9kcykge1xuICAgICAgaWYgKCEoa2V5IGluIHByb3RvKSkgcmVkZWZpbmUocHJvdG8sIGtleSwgbWV0aG9kc1trZXldKTtcbiAgICB9IGVsc2UgJGV4cG9ydCgkZXhwb3J0LlAgKyAkZXhwb3J0LkYgKiAoQlVHR1kgfHwgVkFMVUVTX0JVRyksIE5BTUUsIG1ldGhvZHMpO1xuICB9XG4gIHJldHVybiBtZXRob2RzO1xufTtcblxuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vbm9kZV9tb2R1bGVzL2NvcmUtanMvbGlicmFyeS9tb2R1bGVzL19pdGVyLWRlZmluZS5qc1xuLy8gbW9kdWxlIGlkID0gNDJcbi8vIG1vZHVsZSBjaHVua3MgPSAwIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7Iiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///42\n");
/***/ }),
/* 43 */
/***/ (function(module, exports, __webpack_require__) {
eval("module.exports = __webpack_require__(6);\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNDMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX3JlZGVmaW5lLmpzP2YzY2QiXSwic291cmNlc0NvbnRlbnQiOlsibW9kdWxlLmV4cG9ydHMgPSByZXF1aXJlKCcuL19oaWRlJyk7XG5cblxuXG4vLy8vLy8vLy8vLy8vLy8vLy9cbi8vIFdFQlBBQ0sgRk9PVEVSXG4vLyAuL25vZGVfbW9kdWxlcy9jb3JlLWpzL2xpYnJhcnkvbW9kdWxlcy9fcmVkZWZpbmUuanNcbi8vIG1vZHVsZSBpZCA9IDQzXG4vLyBtb2R1bGUgY2h1bmtzID0gMCJdLCJtYXBwaW5ncyI6IkFBQUE7Iiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///43\n");
/***/ }),
/* 44 */
/***/ (function(module, exports, __webpack_require__) {
eval("// 19.1.2.7 / 15.2.3.4 Object.getOwnPropertyNames(O)\nvar $keys = __webpack_require__(33);\nvar hiddenKeys = __webpack_require__(21).concat('length', 'prototype');\n\nexports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {\n return $keys(O, hiddenKeys);\n};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNDQuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX29iamVjdC1nb3BuLmpzPzlmNDQiXSwic291cmNlc0NvbnRlbnQiOlsiLy8gMTkuMS4yLjcgLyAxNS4yLjMuNCBPYmplY3QuZ2V0T3duUHJvcGVydHlOYW1lcyhPKVxudmFyICRrZXlzID0gcmVxdWlyZSgnLi9fb2JqZWN0LWtleXMtaW50ZXJuYWwnKTtcbnZhciBoaWRkZW5LZXlzID0gcmVxdWlyZSgnLi9fZW51bS1idWcta2V5cycpLmNvbmNhdCgnbGVuZ3RoJywgJ3Byb3RvdHlwZScpO1xuXG5leHBvcnRzLmYgPSBPYmplY3QuZ2V0T3duUHJvcGVydHlOYW1lcyB8fCBmdW5jdGlvbiBnZXRPd25Qcm9wZXJ0eU5hbWVzKE8pIHtcbiAgcmV0dXJuICRrZXlzKE8sIGhpZGRlbktleXMpO1xufTtcblxuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vbm9kZV9tb2R1bGVzL2NvcmUtanMvbGlicmFyeS9tb2R1bGVzL19vYmplY3QtZ29wbi5qc1xuLy8gbW9kdWxlIGlkID0gNDRcbi8vIG1vZHVsZSBjaHVua3MgPSAwIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTsiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///44\n");
/***/ }),
/* 45 */
/***/ (function(module, exports, __webpack_require__) {
eval("var pIE = __webpack_require__(15);\nvar createDesc = __webpack_require__(12);\nvar toIObject = __webpack_require__(9);\nvar toPrimitive = __webpack_require__(16);\nvar has = __webpack_require__(5);\nvar IE8_DOM_DEFINE = __webpack_require__(31);\nvar gOPD = Object.getOwnPropertyDescriptor;\n\nexports.f = __webpack_require__(4) ? gOPD : function getOwnPropertyDescriptor(O, P) {\n O = toIObject(O);\n P = toPrimitive(P, true);\n if (IE8_DOM_DEFINE) try {\n return gOPD(O, P);\n } catch (e) { /* empty */ }\n if (has(O, P)) return createDesc(!pIE.f.call(O, P), O[P]);\n};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNDUuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX29iamVjdC1nb3BkLmpzPzJjYTYiXSwic291cmNlc0NvbnRlbnQiOlsidmFyIHBJRSA9IHJlcXVpcmUoJy4vX29iamVjdC1waWUnKTtcbnZhciBjcmVhdGVEZXNjID0gcmVxdWlyZSgnLi9fcHJvcGVydHktZGVzYycpO1xudmFyIHRvSU9iamVjdCA9IHJlcXVpcmUoJy4vX3RvLWlvYmplY3QnKTtcbnZhciB0b1ByaW1pdGl2ZSA9IHJlcXVpcmUoJy4vX3RvLXByaW1pdGl2ZScpO1xudmFyIGhhcyA9IHJlcXVpcmUoJy4vX2hhcycpO1xudmFyIElFOF9ET01fREVGSU5FID0gcmVxdWlyZSgnLi9faWU4LWRvbS1kZWZpbmUnKTtcbnZhciBnT1BEID0gT2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcjtcblxuZXhwb3J0cy5mID0gcmVxdWlyZSgnLi9fZGVzY3JpcHRvcnMnKSA/IGdPUEQgOiBmdW5jdGlvbiBnZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3IoTywgUCkge1xuICBPID0gdG9JT2JqZWN0KE8pO1xuICBQID0gdG9QcmltaXRpdmUoUCwgdHJ1ZSk7XG4gIGlmIChJRThfRE9NX0RFRklORSkgdHJ5IHtcbiAgICByZXR1cm4gZ09QRChPLCBQKTtcbiAgfSBjYXRjaCAoZSkgeyAvKiBlbXB0eSAqLyB9XG4gIGlmIChoYXMoTywgUCkpIHJldHVybiBjcmVhdGVEZXNjKCFwSUUuZi5jYWxsKE8sIFApLCBPW1BdKTtcbn07XG5cblxuXG4vLy8vLy8vLy8vLy8vLy8vLy9cbi8vIFdFQlBBQ0sgRk9PVEVSXG4vLyAuL25vZGVfbW9kdWxlcy9jb3JlLWpzL2xpYnJhcnkvbW9kdWxlcy9fb2JqZWN0LWdvcGQuanNcbi8vIG1vZHVsZSBpZCA9IDQ1XG4vLyBtb2R1bGUgY2h1bmtzID0gMCJdLCJtYXBwaW5ncyI6IkFBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7Iiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///45\n");
/***/ }),
/* 46 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\n\nexports.__esModule = true;\n\nvar _setPrototypeOf = __webpack_require__(88);\n\nvar _setPrototypeOf2 = _interopRequireDefault(_setPrototypeOf);\n\nvar _create = __webpack_require__(92);\n\nvar _create2 = _interopRequireDefault(_create);\n\nvar _typeof2 = __webpack_require__(41);\n\nvar _typeof3 = _interopRequireDefault(_typeof2);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = function (subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function, not \" + (typeof superClass === \"undefined\" ? \"undefined\" : (0, _typeof3.default)(superClass)));\n }\n\n subClass.prototype = (0, _create2.default)(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n enumerable: false,\n writable: true,\n configurable: true\n }\n });\n if (superClass) _setPrototypeOf2.default ? (0, _setPrototypeOf2.default)(subClass, superClass) : subClass.__proto__ = superClass;\n};//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNDYuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvYmFiZWwtcnVudGltZS9oZWxwZXJzL2luaGVyaXRzLmpzPzNkZmQiXSwic291cmNlc0NvbnRlbnQiOlsiXCJ1c2Ugc3RyaWN0XCI7XG5cbmV4cG9ydHMuX19lc01vZHVsZSA9IHRydWU7XG5cbnZhciBfc2V0UHJvdG90eXBlT2YgPSByZXF1aXJlKFwiLi4vY29yZS1qcy9vYmplY3Qvc2V0LXByb3RvdHlwZS1vZlwiKTtcblxudmFyIF9zZXRQcm90b3R5cGVPZjIgPSBfaW50ZXJvcFJlcXVpcmVEZWZhdWx0KF9zZXRQcm90b3R5cGVPZik7XG5cbnZhciBfY3JlYXRlID0gcmVxdWlyZShcIi4uL2NvcmUtanMvb2JqZWN0L2NyZWF0ZVwiKTtcblxudmFyIF9jcmVhdGUyID0gX2ludGVyb3BSZXF1aXJlRGVmYXVsdChfY3JlYXRlKTtcblxudmFyIF90eXBlb2YyID0gcmVxdWlyZShcIi4uL2hlbHBlcnMvdHlwZW9mXCIpO1xuXG52YXIgX3R5cGVvZjMgPSBfaW50ZXJvcFJlcXVpcmVEZWZhdWx0KF90eXBlb2YyKTtcblxuZnVuY3Rpb24gX2ludGVyb3BSZXF1aXJlRGVmYXVsdChvYmopIHsgcmV0dXJuIG9iaiAmJiBvYmouX19lc01vZHVsZSA/IG9iaiA6IHsgZGVmYXVsdDogb2JqIH07IH1cblxuZXhwb3J0cy5kZWZhdWx0ID0gZnVuY3Rpb24gKHN1YkNsYXNzLCBzdXBlckNsYXNzKSB7XG4gIGlmICh0eXBlb2Ygc3VwZXJDbGFzcyAhPT0gXCJmdW5jdGlvblwiICYmIHN1cGVyQ2xhc3MgIT09IG51bGwpIHtcbiAgICB0aHJvdyBuZXcgVHlwZUVycm9yKFwiU3VwZXIgZXhwcmVzc2lvbiBtdXN0IGVpdGhlciBiZSBudWxsIG9yIGEgZnVuY3Rpb24sIG5vdCBcIiArICh0eXBlb2Ygc3VwZXJDbGFzcyA9PT0gXCJ1bmRlZmluZWRcIiA/IFwidW5kZWZpbmVkXCIgOiAoMCwgX3R5cGVvZjMuZGVmYXVsdCkoc3VwZXJDbGFzcykpKTtcbiAgfVxuXG4gIHN1YkNsYXNzLnByb3RvdHlwZSA9ICgwLCBfY3JlYXRlMi5kZWZhdWx0KShzdXBlckNsYXNzICYmIHN1cGVyQ2xhc3MucHJvdG90eXBlLCB7XG4gICAgY29uc3RydWN0b3I6IHtcbiAgICAgIHZhbHVlOiBzdWJDbGFzcyxcbiAgICAgIGVudW1lcmFibGU6IGZhbHNlLFxuICAgICAgd3JpdGFibGU6IHRydWUsXG4gICAgICBjb25maWd1cmFibGU6IHRydWVcbiAgICB9XG4gIH0pO1xuICBpZiAoc3VwZXJDbGFzcykgX3NldFByb3RvdHlwZU9mMi5kZWZhdWx0ID8gKDAsIF9zZXRQcm90b3R5cGVPZjIuZGVmYXVsdCkoc3ViQ2xhc3MsIHN1cGVyQ2xhc3MpIDogc3ViQ2xhc3MuX19wcm90b19fID0gc3VwZXJDbGFzcztcbn07XG5cblxuLy8vLy8vLy8vLy8vLy8vLy8vXG4vLyBXRUJQQUNLIEZPT1RFUlxuLy8gLi9ub2RlX21vZHVsZXMvYmFiZWwtcnVudGltZS9oZWxwZXJzL2luaGVyaXRzLmpzXG4vLyBtb2R1bGUgaWQgPSA0NlxuLy8gbW9kdWxlIGNodW5rcyA9IDAiXSwibWFwcGluZ3MiOiJBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///46\n");
/***/ }),
/* 47 */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("Object.defineProperty(__webpack_exports__, \"__esModule\", { value: true });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__i18n_js__ = __webpack_require__(48);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__i18n_js___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0__i18n_js__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__chapter__ = __webpack_require__(49);\n/*\n* Custom Block\n*/\n\n//import './click-to-tweet';\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNDcuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ibG9ja3MvaW5kZXguanM/ODE5MyJdLCJzb3VyY2VzQ29udGVudCI6WyIvKlxuKiBDdXN0b20gQmxvY2tcbiovXG5pbXBvcnQgJy4vaTE4bi5qcyc7XG4vL2ltcG9ydCAnLi9jbGljay10by10d2VldCc7XG5pbXBvcnQgJy4vY2hhcHRlcic7XG5cblxuLy8vLy8vLy8vLy8vLy8vLy8vXG4vLyBXRUJQQUNLIEZPT1RFUlxuLy8gLi9ibG9ja3MvaW5kZXguanNcbi8vIG1vZHVsZSBpZCA9IDQ3XG4vLyBtb2R1bGUgY2h1bmtzID0gMCJdLCJtYXBwaW5ncyI6IkFBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOyIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///47\n");
/***/ }),
/* 48 */
/***/ (function(module, exports) {
eval("wp.i18n.setLocaleData({ '': {} }, 'ttfb-blocks');//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNDguanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ibG9ja3MvaTE4bi5qcz9iNDE0Il0sInNvdXJjZXNDb250ZW50IjpbIndwLmkxOG4uc2V0TG9jYWxlRGF0YSh7ICcnOiB7fSB9LCAndHRmYi1ibG9ja3MnKTtcblxuXG4vLy8vLy8vLy8vLy8vLy8vLy9cbi8vIFdFQlBBQ0sgRk9PVEVSXG4vLyAuL2Jsb2Nrcy9pMThuLmpzXG4vLyBtb2R1bGUgaWQgPSA0OFxuLy8gbW9kdWxlIGNodW5rcyA9IDAiXSwibWFwcGluZ3MiOiJBQUFBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///48\n");
/***/ }),
/* 49 */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends__ = __webpack_require__(50);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_classnames__ = __webpack_require__(59);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_classnames__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__inspector__ = __webpack_require__(60);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__controls__ = __webpack_require__(95);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__icons__ = __webpack_require__(96);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__attributes__ = __webpack_require__(97);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__style_scss__ = __webpack_require__(98);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__style_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_6__style_scss__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__editor_scss__ = __webpack_require__(99);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__editor_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_7__editor_scss__);\n\n/**\n * Block dependencies\n */\n//import classnames from 'classnames';\n\n\n\n\n\n\n\n\n\n/**\n * Internal block libraries\n */\nvar _wp$i18n = wp.i18n,\n __ = _wp$i18n.__,\n sprintf = _wp$i18n.sprintf;\nvar _wp$blocks = wp.blocks,\n registerBlockType = _wp$blocks.registerBlockType,\n RichText = _wp$blocks.RichText,\n InnerBlocks = _wp$blocks.InnerBlocks,\n MediaUpload = _wp$blocks.MediaUpload,\n Editable = _wp$blocks.Editable,\n BlockControls = _wp$blocks.BlockControls;\nvar Button = wp.components.Button;\n\n\nfunction getLayoutClass(blockLayout) {\n var blockLayoutClass = [];\n\n if (blockLayout == 'both') {\n blockLayoutClass.push('md-col-6');\n } else {\n blockLayoutClass.push('col-12');\n }\n\n return blockLayoutClass;\n}\n\nfunction isImageDisplay(blockLayout) {\n var image = true;\n\n if (blockLayout == 'text') {\n image = false;\n }\n\n return image;\n}\n\nfunction isTextDisplay(blockLayout) {\n var text = true;\n\n if (blockLayout == 'image') {\n text = false;\n }\n\n return text;\n}\n\n/**\n * Register block\n */\n/* unused harmony default export */ var _unused_webpack_default_export = (registerBlockType('ttfb-blocks/chapter', {\n title: __('TTFB Chapter'),\n category: 'common',\n icon: __WEBPACK_IMPORTED_MODULE_4__icons__[\"a\" /* default */].chapter,\n keywords: [__('Chapter'), __('Header')],\n attributes: __WEBPACK_IMPORTED_MODULE_5__attributes__[\"a\" /* default */],\n getEditWrapperProps: function getEditWrapperProps(attributes) {\n var blockAlignment = attributes.blockAlignment;\n\n if ('left' === blockAlignment || 'right' === blockAlignment || 'full' === blockAlignment) {\n return { 'data-align': blockAlignment };\n }\n },\n\n\n edit: function edit(props) {\n var _props$attributes = props.attributes,\n blockAlignment = _props$attributes.blockAlignment,\n supTitle = _props$attributes.supTitle,\n mainTitle = _props$attributes.mainTitle,\n blockBackgroundColor = _props$attributes.blockBackgroundColor,\n blockTextColor = _props$attributes.blockTextColor,\n blockHrColor = _props$attributes.blockHrColor,\n blockId = _props$attributes.blockId,\n blockLayout = _props$attributes.blockLayout,\n mainContent = _props$attributes.mainContent,\n mainContentAlignment = _props$attributes.mainContentAlignment,\n blockImgURL = _props$attributes.blockImgURL,\n blockImgID = _props$attributes.blockImgID,\n blockImgAlt = _props$attributes.blockImgAlt,\n attributes = props.attributes,\n isSelected = props.isSelected,\n className = props.className,\n setAttributes = props.setAttributes;\n //const classes = classnames( className, `has-${ blockLayout }-columns` );\n\n var onSelectImage = function onSelectImage(img) {\n setAttributes({\n blockImgID: img.id,\n blockImgURL: img.url,\n blockImgAlt: img.alt\n });\n };\n var onRemoveImage = function onRemoveImage() {\n setAttributes({\n blockImgID: null,\n blockImgURL: null,\n blockImgAlt: null\n });\n };\n\n return [isSelected && wp.element.createElement(__WEBPACK_IMPORTED_MODULE_2__inspector__[\"a\" /* default */], __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends___default()({ setAttributes: setAttributes }, props)), isSelected && wp.element.createElement(__WEBPACK_IMPORTED_MODULE_3__controls__[\"a\" /* default */], __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends___default()({ setAttributes: setAttributes }, props)), wp.element.createElement(\n 'div',\n {\n style: {\n backgroundColor: blockBackgroundColor,\n color: blockTextColor\n },\n className: className,\n id: blockId\n },\n wp.element.createElement(\n 'div',\n {\n className: __WEBPACK_IMPORTED_MODULE_1_classnames___default()('container-chapter', 'ml-auto', 'mr-auto', 'pt3', 'pb0', 'px2')\n },\n wp.element.createElement(\n 'h2',\n {\n style: {\n color: blockTextColor,\n borderBottomColor: blockHrColor\n },\n className: __WEBPACK_IMPORTED_MODULE_1_classnames___default()('line-height-2', 'center', 'p0', 'm0', 'pb2')\n },\n wp.element.createElement(\n 'span',\n {\n className: __WEBPACK_IMPORTED_MODULE_1_classnames___default()('sup-title', 'block', 'mb1', 'weight900')\n },\n wp.element.createElement(RichText, {\n tagName: 'div',\n placeholder: __('Your small title'),\n keepPlaceholderOnFocus: 'true',\n onChange: function onChange(supTitle) {\n return setAttributes({ supTitle: supTitle });\n },\n value: supTitle,\n formattingControls: []\n })\n ),\n wp.element.createElement(\n 'span',\n {\n className: __WEBPACK_IMPORTED_MODULE_1_classnames___default()('main-title', 'weight200', 'xxl-text')\n },\n wp.element.createElement(RichText, {\n tagName: 'div',\n placeholder: __('Your main title'),\n keepPlaceholderOnFocus: 'true',\n onChange: function onChange(mainTitle) {\n return setAttributes({ mainTitle: mainTitle });\n },\n value: mainTitle,\n formattingControls: []\n })\n )\n ),\n wp.element.createElement(\n 'div',\n {\n className: __WEBPACK_IMPORTED_MODULE_1_classnames___default()('md-flex', 'items-stretch', 'py2', 'md-py3', 'mxn2')\n },\n isTextDisplay(blockLayout) == true && wp.element.createElement(\n 'div',\n {\n className: __WEBPACK_IMPORTED_MODULE_1_classnames___default()('px2', 'items-center', 'flex', getLayoutClass(blockLayout))\n },\n wp.element.createElement(\n 'div',\n {\n style: { textAlign: mainContentAlignment },\n className: 'main-content'\n },\n wp.element.createElement(RichText, {\n tagName: 'div',\n multiline: 'p',\n placeholder: __('Your content'),\n keepPlaceholderOnFocus: 'true',\n onChange: function onChange(mainContent) {\n return setAttributes({ mainContent: mainContent });\n },\n value: mainContent,\n formattingControls: ['bold', 'italic', 'strikethrough', 'link']\n })\n )\n ),\n isImageDisplay(blockLayout) == true && wp.element.createElement(\n 'div',\n {\n className: __WEBPACK_IMPORTED_MODULE_1_classnames___default()('flex', 'items-stretch', 'justify-center', 'items-center', 'px2', getLayoutClass(blockLayout))\n },\n !blockImgID ? wp.element.createElement(\n 'div',\n { 'class': 'imageSelector' },\n wp.element.createElement(\n 'div',\n { 'class': 'labelImage' },\n __WEBPACK_IMPORTED_MODULE_4__icons__[\"a\" /* default */].image,\n wp.element.createElement(\n 'span',\n { 'class': 'ml1' },\n __('Image', 'ttfb-blocks')\n )\n ),\n wp.element.createElement(MediaUpload, {\n onSelect: onSelectImage,\n type: 'image',\n value: blockImgID,\n render: function render(_ref) {\n var open = _ref.open;\n return wp.element.createElement(\n Button,\n {\n className: \"button button-large\",\n onClick: open\n },\n __('Add from Media Library', 'ttfb-blocks')\n );\n }\n })\n ) : wp.element.createElement(\n 'div',\n { 'class': 'imageWrapper' },\n wp.element.createElement('img', {\n src: blockImgURL,\n alt: blockImgAlt\n }),\n isSelected ? wp.element.createElement(\n Button,\n {\n className: 'remove-image',\n onClick: onRemoveImage\n },\n __WEBPACK_IMPORTED_MODULE_4__icons__[\"a\" /* default */].remove\n ) : null\n )\n )\n )\n )\n )];\n },\n\n save: function save(props) {\n var _props$attributes2 = props.attributes,\n blockAlignment = _props$attributes2.blockAlignment,\n blockBackgroundColor = _props$attributes2.blockBackgroundColor,\n blockTextColor = _props$attributes2.blockTextColor,\n supTitle = _props$attributes2.supTitle,\n mainTitle = _props$attributes2.mainTitle,\n blockHrColor = _props$attributes2.blockHrColor,\n blockId = _props$attributes2.blockId,\n blockLayout = _props$attributes2.blockLayout,\n mainContent = _props$attributes2.mainContent,\n mainContentAlignment = _props$attributes2.mainContentAlignment,\n blockImgURL = _props$attributes2.blockImgURL,\n blockImgID = _props$attributes2.blockImgID,\n blockImgAlt = _props$attributes2.blockImgAlt,\n nodeName = _props$attributes2.nodeName,\n attributes = props.attributes;\n\n //const Tag = 'h2';\n\n var Tag = nodeName.toLowerCase();\n\n return wp.element.createElement(\n 'div',\n {\n style: {\n backgroundColor: blockBackgroundColor,\n color: blockTextColor\n },\n className: 'align' + blockAlignment,\n id: blockId\n },\n wp.element.createElement(\n 'div',\n {\n className: __WEBPACK_IMPORTED_MODULE_1_classnames___default()('container-chapter', 'ml-auto', 'mr-auto', 'pt3', 'pb0', 'px2')\n },\n wp.element.createElement(\n Tag,\n {\n className: __WEBPACK_IMPORTED_MODULE_1_classnames___default()('line-height-2', 'center', 'p0', 'm0', 'pb2', 'mb3', 'h2'),\n style: {\n color: blockTextColor,\n borderBottomColor: blockHrColor\n }\n },\n wp.element.createElement(\n 'span',\n {\n className: __WEBPACK_IMPORTED_MODULE_1_classnames___default()('sup-title', 'block', 'mb1', 'weight900')\n },\n supTitle\n ),\n wp.element.createElement(\n 'span',\n {\n className: __WEBPACK_IMPORTED_MODULE_1_classnames___default()('main-title', 'title', 'weight200', 'xxl-text')\n },\n mainTitle\n )\n ),\n wp.element.createElement(\n 'div',\n {\n className: __WEBPACK_IMPORTED_MODULE_1_classnames___default()('md-flex', 'items-stretch', 'py2', 'md-py3', 'mxn2')\n },\n isTextDisplay(blockLayout) == true && wp.element.createElement(\n 'div',\n {\n className: __WEBPACK_IMPORTED_MODULE_1_classnames___default()('px2', 'items-center', 'flex', getLayoutClass(blockLayout))\n },\n wp.element.createElement(\n 'div',\n {\n className: 'main-content',\n style: { textAlign: mainContentAlignment }\n },\n mainContent\n )\n ),\n isImageDisplay(blockLayout) == true && wp.element.createElement(\n 'div',\n {\n className: __WEBPACK_IMPORTED_MODULE_1_classnames___default()('flex', 'justify-center', 'items-center', 'px2', getLayoutClass(blockLayout))\n },\n wp.element.createElement('img', {\n src: blockImgURL,\n alt: blockImgAlt\n })\n )\n )\n )\n );\n }\n}));//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNDkuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ibG9ja3MvY2hhcHRlci9pbmRleC5qcz81ZmYxIl0sInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBfZXh0ZW5kcyBmcm9tICdiYWJlbC1ydW50aW1lL2hlbHBlcnMvZXh0ZW5kcyc7XG4vKipcbiAqIEJsb2NrIGRlcGVuZGVuY2llc1xuICovXG4vL2ltcG9ydCBjbGFzc25hbWVzIGZyb20gJ2NsYXNzbmFtZXMnO1xuXG5pbXBvcnQgY2xhc3NuYW1lcyBmcm9tICdjbGFzc25hbWVzJztcbmltcG9ydCBJbnNwZWN0b3IgZnJvbSAnLi9pbnNwZWN0b3InO1xuaW1wb3J0IENvbnRyb2xzIGZyb20gJy4vY29udHJvbHMnO1xuaW1wb3J0IGljb25zIGZyb20gJy4vaWNvbnMnO1xuaW1wb3J0IGF0dHJpYnV0ZXMgZnJvbSAnLi9hdHRyaWJ1dGVzJztcbmltcG9ydCAnLi9zdHlsZS5zY3NzJztcbmltcG9ydCAnLi9lZGl0b3Iuc2Nzcyc7XG5cbi8qKlxuICogSW50ZXJuYWwgYmxvY2sgbGlicmFyaWVzXG4gKi9cbnZhciBfd3AkaTE4biA9IHdwLmkxOG4sXG4gICAgX18gPSBfd3AkaTE4bi5fXyxcbiAgICBzcHJpbnRmID0gX3dwJGkxOG4uc3ByaW50ZjtcbnZhciBfd3AkYmxvY2tzID0gd3AuYmxvY2tzLFxuICAgIHJlZ2lzdGVyQmxvY2tUeXBlID0gX3dwJGJsb2Nrcy5yZWdpc3RlckJsb2NrVHlwZSxcbiAgICBSaWNoVGV4dCA9IF93cCRibG9ja3MuUmljaFRleHQsXG4gICAgSW5uZXJCbG9ja3MgPSBfd3AkYmxvY2tzLklubmVyQmxvY2tzLFxuICAgIE1lZGlhVXBsb2FkID0gX3dwJGJsb2Nrcy5NZWRpYVVwbG9hZCxcbiAgICBFZGl0YWJsZSA9IF93cCRibG9ja3MuRWRpdGFibGUsXG4gICAgQmxvY2tDb250cm9scyA9IF93cCRibG9ja3MuQmxvY2tDb250cm9scztcbnZhciBCdXR0b24gPSB3cC5jb21wb25lbnRzLkJ1dHRvbjtcblxuXG5mdW5jdGlvbiBnZXRMYXlvdXRDbGFzcyhibG9ja0xheW91dCkge1xuICAgIHZhciBibG9ja0xheW91dENsYXNzID0gW107XG5cbiAgICBpZiAoYmxvY2tMYXlvdXQgPT0gJ2JvdGgnKSB7XG4gICAgICAgIGJsb2NrTGF5b3V0Q2xhc3MucHVzaCgnbWQtY29sLTYnKTtcbiAgICB9IGVsc2Uge1xuICAgICAgICBibG9ja0xheW91dENsYXNzLnB1c2goJ2NvbC0xMicpO1xuICAgIH1cblxuICAgIHJldHVybiBibG9ja0xheW91dENsYXNzO1xufVxuXG5mdW5jdGlvbiBpc0ltYWdlRGlzcGxheShibG9ja0xheW91dCkge1xuICAgIHZhciBpbWFnZSA9IHRydWU7XG5cbiAgICBpZiAoYmxvY2tMYXlvdXQgPT0gJ3RleHQnKSB7XG4gICAgICAgIGltYWdlID0gZmFsc2U7XG4gICAgfVxuXG4gICAgcmV0dXJuIGltYWdlO1xufVxuXG5mdW5jdGlvbiBpc1RleHREaXNwbGF5KGJsb2NrTGF5b3V0KSB7XG4gICAgdmFyIHRleHQgPSB0cnVlO1xuXG4gICAgaWYgKGJsb2NrTGF5b3V0ID09ICdpbWFnZScpIHtcbiAgICAgICAgdGV4dCA9IGZhbHNlO1xuICAgIH1cblxuICAgIHJldHVybiB0ZXh0O1xufVxuXG4vKipcbiAqIFJlZ2lzdGVyIGJsb2NrXG4gKi9cbmV4cG9ydCBkZWZhdWx0IHJlZ2lzdGVyQmxvY2tUeXBlKCd0dGZiLWJsb2Nrcy9jaGFwdGVyJywge1xuICAgIHRpdGxlOiBfXygnVFRGQiBDaGFwdGVyJyksXG4gICAgY2F0ZWdvcnk6ICdjb21tb24nLFxuICAgIGljb246IGljb25zLmNoYXB0ZXIsXG4gICAga2V5d29yZHM6IFtfXygnQ2hhcHRlcicpLCBfXygnSGVhZGVyJyldLFxuICAgIGF0dHJpYnV0ZXM6IGF0dHJpYnV0ZXMsXG4gICAgZ2V0RWRpdFdyYXBwZXJQcm9wczogZnVuY3Rpb24gZ2V0RWRpdFdyYXBwZXJQcm9wcyhhdHRyaWJ1dGVzKSB7XG4gICAgICAgIHZhciBibG9ja0FsaWdubWVudCA9IGF0dHJpYnV0ZXMuYmxvY2tBbGlnbm1lbnQ7XG5cbiAgICAgICAgaWYgKCdsZWZ0JyA9PT0gYmxvY2tBbGlnbm1lbnQgfHwgJ3JpZ2h0JyA9PT0gYmxvY2tBbGlnbm1lbnQgfHwgJ2Z1bGwnID09PSBibG9ja0FsaWdubWVudCkge1xuICAgICAgICAgICAgcmV0dXJuIHsgJ2RhdGEtYWxpZ24nOiBibG9ja0FsaWdubWVudCB9O1xuICAgICAgICB9XG4gICAgfSxcblxuXG4gICAgZWRpdDogZnVuY3Rpb24gZWRpdChwcm9wcykge1xuICAgICAgICB2YXIgX3Byb3BzJGF0dHJpYnV0ZXMgPSBwcm9wcy5hdHRyaWJ1dGVzLFxuICAgICAgICAgICAgYmxvY2tBbGlnbm1lbnQgPSBfcHJvcHMkYXR0cmlidXRlcy5ibG9ja0FsaWdubWVudCxcbiAgICAgICAgICAgIHN1cFRpdGxlID0gX3Byb3BzJGF0dHJpYnV0ZXMuc3VwVGl0bGUsXG4gICAgICAgICAgICBtYWluVGl0bGUgPSBfcHJvcHMkYXR0cmlidXRlcy5tYWluVGl0bGUsXG4gICAgICAgICAgICBibG9ja0JhY2tncm91bmRDb2xvciA9IF9wcm9wcyRhdHRyaWJ1dGVzLmJsb2NrQmFja2dyb3VuZENvbG9yLFxuICAgICAgICAgICAgYmxvY2tUZXh0Q29sb3IgPSBfcHJvcHMkYXR0cmlidXRlcy5ibG9ja1RleHRDb2xvcixcbiAgICAgICAgICAgIGJsb2NrSHJDb2xvciA9IF9wcm9wcyRhdHRyaWJ1dGVzLmJsb2NrSHJDb2xvcixcbiAgICAgICAgICAgIGJsb2NrSWQgPSBfcHJvcHMkYXR0cmlidXRlcy5ibG9ja0lkLFxuICAgICAgICAgICAgYmxvY2tMYXlvdXQgPSBfcHJvcHMkYXR0cmlidXRlcy5ibG9ja0xheW91dCxcbiAgICAgICAgICAgIG1haW5Db250ZW50ID0gX3Byb3BzJGF0dHJpYnV0ZXMubWFpbkNvbnRlbnQsXG4gICAgICAgICAgICBtYWluQ29udGVudEFsaWdubWVudCA9IF9wcm9wcyRhdHRyaWJ1dGVzLm1haW5Db250ZW50QWxpZ25tZW50LFxuICAgICAgICAgICAgYmxvY2tJbWdVUkwgPSBfcHJvcHMkYXR0cmlidXRlcy5ibG9ja0ltZ1VSTCxcbiAgICAgICAgICAgIGJsb2NrSW1nSUQgPSBfcHJvcHMkYXR0cmlidXRlcy5ibG9ja0ltZ0lELFxuICAgICAgICAgICAgYmxvY2tJbWdBbHQgPSBfcHJvcHMkYXR0cmlidXRlcy5ibG9ja0ltZ0FsdCxcbiAgICAgICAgICAgIGF0dHJpYnV0ZXMgPSBwcm9wcy5hdHRyaWJ1dGVzLFxuICAgICAgICAgICAgaXNTZWxlY3RlZCA9IHByb3BzLmlzU2VsZWN0ZWQsXG4gICAgICAgICAgICBjbGFzc05hbWUgPSBwcm9wcy5jbGFzc05hbWUsXG4gICAgICAgICAgICBzZXRBdHRyaWJ1dGVzID0gcHJvcHMuc2V0QXR0cmlidXRlcztcbiAgICAgICAgLy9jb25zdCBjbGFzc2VzID0gY2xhc3NuYW1lcyggY2xhc3NOYW1lLCBgaGFzLSR7IGJsb2NrTGF5b3V0IH0tY29sdW1uc2AgKTtcblxuICAgICAgICB2YXIgb25TZWxlY3RJbWFnZSA9IGZ1bmN0aW9uIG9uU2VsZWN0SW1hZ2UoaW1nKSB7XG4gICAgICAgICAgICBzZXRBdHRyaWJ1dGVzKHtcbiAgICAgICAgICAgICAgICBibG9ja0ltZ0lEOiBpbWcuaWQsXG4gICAgICAgICAgICAgICAgYmxvY2tJbWdVUkw6IGltZy51cmwsXG4gICAgICAgICAgICAgICAgYmxvY2tJbWdBbHQ6IGltZy5hbHRcbiAgICAgICAgICAgIH0pO1xuICAgICAgICB9O1xuICAgICAgICB2YXIgb25SZW1vdmVJbWFnZSA9IGZ1bmN0aW9uIG9uUmVtb3ZlSW1hZ2UoKSB7XG4gICAgICAgICAgICBzZXRBdHRyaWJ1dGVzKHtcbiAgICAgICAgICAgICAgICBibG9ja0ltZ0lEOiBudWxsLFxuICAgICAgICAgICAgICAgIGJsb2NrSW1nVVJMOiBudWxsLFxuICAgICAgICAgICAgICAgIGJsb2NrSW1nQWx0OiBudWxsXG4gICAgICAgICAgICB9KTtcbiAgICAgICAgfTtcblxuICAgICAgICByZXR1cm4gW2lzU2VsZWN0ZWQgJiYgd3AuZWxlbWVudC5jcmVhdGVFbGVtZW50KEluc3BlY3RvciwgX2V4dGVuZHMoeyBzZXRBdHRyaWJ1dGVzOiBzZXRBdHRyaWJ1dGVzIH0sIHByb3BzKSksIGlzU2VsZWN0ZWQgJiYgd3AuZWxlbWVudC5jcmVhdGVFbGVtZW50KENvbnRyb2xzLCBfZXh0ZW5kcyh7IHNldEF0dHJpYnV0ZXM6IHNldEF0dHJpYnV0ZXMgfSwgcHJvcHMpKSwgd3AuZWxlbWVudC5jcmVhdGVFbGVtZW50KFxuICAgICAgICAgICAgJ2RpdicsXG4gICAgICAgICAgICB7XG4gICAgICAgICAgICAgICAgc3R5bGU6IHtcbiAgICAgICAgICAgICAgICAgICAgYmFja2dyb3VuZENvbG9yOiBibG9ja0JhY2tncm91bmRDb2xvcixcbiAgICAgICAgICAgICAgICAgICAgY29sb3I6IGJsb2NrVGV4dENvbG9yXG4gICAgICAgICAgICAgICAgfSxcbiAgICAgICAgICAgICAgICBjbGFzc05hbWU6IGNsYXNzTmFtZSxcbiAgICAgICAgICAgICAgICBpZDogYmxvY2tJZFxuICAgICAgICAgICAgfSxcbiAgICAgICAgICAgIHdwLmVsZW1lbnQuY3JlYXRlRWxlbWVudChcbiAgICAgICAgICAgICAgICAnZGl2JyxcbiAgICAgICAgICAgICAgICB7XG4gICAgICAgICAgICAgICAgICAgIGNsYXNzTmFtZTogY2xhc3NuYW1lcygnY29udGFpbmVyLWNoYXB0ZXInLCAnbWwtYXV0bycsICdtci1hdXRvJywgJ3B0MycsICdwYjAnLCAncHgyJylcbiAgICAgICAgICAgICAgICB9LFxuICAgICAgICAgICAgICAgIHdwLmVsZW1lbnQuY3JlYXRlRWxlbWVudChcbiAgICAgICAgICAgICAgICAgICAgJ2gyJyxcbiAgICAgICAgICAgICAgICAgICAge1xuICAgICAgICAgICAgICAgICAgICAgICAgc3R5bGU6IHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBjb2xvcjogYmxvY2tUZXh0Q29sb3IsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgYm9yZGVyQm90dG9tQ29sb3I6IGJsb2NrSHJDb2xvclxuICAgICAgICAgICAgICAgICAgICAgICAgfSxcbiAgICAgICAgICAgICAgICAgICAgICAgIGNsYXNzTmFtZTogY2xhc3NuYW1lcygnbGluZS1oZWlnaHQtMicsICdjZW50ZXInLCAncDAnLCAnbTAnLCAncGIyJylcbiAgICAgICAgICAgICAgICAgICAgfSxcbiAgICAgICAgICAgICAgICAgICAgd3AuZWxlbWVudC5jcmVhdGVFbGVtZW50KFxuICAgICAgICAgICAgICAgICAgICAgICAgJ3NwYW4nLFxuICAgICAgICAgICAgICAgICAgICAgICAge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNsYXNzTmFtZTogY2xhc3NuYW1lcygnc3VwLXRpdGxlJywgJ2Jsb2NrJywgJ21iMScsICd3ZWlnaHQ5MDAnKVxuICAgICAgICAgICAgICAgICAgICAgICAgfSxcbiAgICAgICAgICAgICAgICAgICAgICAgIHdwLmVsZW1lbnQuY3JlYXRlRWxlbWVudChSaWNoVGV4dCwge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHRhZ05hbWU6ICdkaXYnLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHBsYWNlaG9sZGVyOiBfXygnWW91ciBzbWFsbCB0aXRsZScpLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGtlZXBQbGFjZWhvbGRlck9uRm9jdXM6ICd0cnVlJyxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBvbkNoYW5nZTogZnVuY3Rpb24gb25DaGFuZ2Uoc3VwVGl0bGUpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIHNldEF0dHJpYnV0ZXMoeyBzdXBUaXRsZTogc3VwVGl0bGUgfSk7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgfSxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB2YWx1ZTogc3VwVGl0bGUsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgZm9ybWF0dGluZ0NvbnRyb2xzOiBbXVxuICAgICAgICAgICAgICAgICAgICAgICAgfSlcbiAgICAgICAgICAgICAgICAgICAgKSxcbiAgICAgICAgICAgICAgICAgICAgd3AuZWxlbWVudC5jcmVhdGVFbGVtZW50KFxuICAgICAgICAgICAgICAgICAgICAgICAgJ3NwYW4nLFxuICAgICAgICAgICAgICAgICAgICAgICAge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNsYXNzTmFtZTogY2xhc3NuYW1lcygnbWFpbi10aXRsZScsICd3ZWlnaHQyMDAnLCAneHhsLXRleHQnKVxuICAgICAgICAgICAgICAgICAgICAgICAgfSxcbiAgICAgICAgICAgICAgICAgICAgICAgIHdwLmVsZW1lbnQuY3JlYXRlRWxlbWVudChSaWNoVGV4dCwge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHRhZ05hbWU6ICdkaXYnLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHBsYWNlaG9sZGVyOiBfXygnWW91ciBtYWluIHRpdGxlJyksXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAga2VlcFBsYWNlaG9sZGVyT25Gb2N1czogJ3RydWUnLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIG9uQ2hhbmdlOiBmdW5jdGlvbiBvbkNoYW5nZShtYWluVGl0bGUpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIHNldEF0dHJpYnV0ZXMoeyBtYWluVGl0bGU6IG1haW5UaXRsZSB9KTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB9LFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHZhbHVlOiBtYWluVGl0bGUsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgZm9ybWF0dGluZ0NvbnRyb2xzOiBbXVxuICAgICAgICAgICAgICAgICAgICAgICAgfSlcbiAgICAgICAgICAgICAgICAgICAgKVxuICAgICAgICAgICAgICAgICksXG4gICAgICAgICAgICAgICAgd3AuZWxlbWVudC5jcmVhdGVFbGVtZW50KFxuICAgICAgICAgICAgICAgICAgICAnZGl2JyxcbiAgICAgICAgICAgICAgICAgICAge1xuICAgICAgICAgICAgICAgICAgICAgICAgY2xhc3NOYW1lOiBjbGFzc25hbWVzKCdtZC1mbGV4JywgJ2l0ZW1zLXN0cmV0Y2gnLCAncHkyJywgJ21kLXB5MycsICdteG4yJylcbiAgICAgICAgICAgICAgICAgICAgfSxcbiAgICAgICAgICAgICAgICAgICAgaXNUZXh0RGlzcGxheShibG9ja0xheW91dCkgPT0gdHJ1ZSAmJiB3cC5lbGVtZW50LmNyZWF0ZUVsZW1lbnQoXG4gICAgICAgICAgICAgICAgICAgICAgICAnZGl2JyxcbiAgICAgICAgICAgICAgICAgICAgICAgIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBjbGFzc05hbWU6IGNsYXNzbmFtZXMoJ3B4MicsICdpdGVtcy1jZW50ZXInLCAnZmxleCcsIGdldExheW91dENsYXNzKGJsb2NrTGF5b3V0KSlcbiAgICAgICAgICAgICAgICAgICAgICAgIH0sXG4gICAgICAgICAgICAgICAgICAgICAgICB3cC5lbGVtZW50LmNyZWF0ZUVsZW1lbnQoXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgJ2RpdicsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBzdHlsZTogeyB0ZXh0QWxpZ246IG1haW5Db250ZW50QWxpZ25tZW50IH0sXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNsYXNzTmFtZTogJ21haW4tY29udGVudCdcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB9LFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHdwLmVsZW1lbnQuY3JlYXRlRWxlbWVudChSaWNoVGV4dCwge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB0YWdOYW1lOiAnZGl2JyxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgbXVsdGlsaW5lOiAncCcsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHBsYWNlaG9sZGVyOiBfXygnWW91ciBjb250ZW50JyksXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGtlZXBQbGFjZWhvbGRlck9uRm9jdXM6ICd0cnVlJyxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgb25DaGFuZ2U6IGZ1bmN0aW9uIG9uQ2hhbmdlKG1haW5Db250ZW50KSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gc2V0QXR0cmlidXRlcyh7IG1haW5Db250ZW50OiBtYWluQ29udGVudCB9KTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfSxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgdmFsdWU6IG1haW5Db250ZW50LFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBmb3JtYXR0aW5nQ29udHJvbHM6IFsnYm9sZCcsICdpdGFsaWMnLCAnc3RyaWtldGhyb3VnaCcsICdsaW5rJ11cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB9KVxuICAgICAgICAgICAgICAgICAgICAgICAgKVxuICAgICAgICAgICAgICAgICAgICApLFxuICAgICAgICAgICAgICAgICAgICBpc0ltYWdlRGlzcGxheShibG9ja0xheW91dCkgPT0gdHJ1ZSAmJiB3cC5lbGVtZW50LmNyZWF0ZUVsZW1lbnQoXG4gICAgICAgICAgICAgICAgICAgICAgICAnZGl2JyxcbiAgICAgICAgICAgICAgICAgICAgICAgIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBjbGFzc05hbWU6IGNsYXNzbmFtZXMoJ2ZsZXgnLCAnaXRlbXMtc3RyZXRjaCcsICdqdXN0aWZ5LWNlbnRlcicsICdpdGVtcy1jZW50ZXInLCAncHgyJywgZ2V0TGF5b3V0Q2xhc3MoYmxvY2tMYXlvdXQpKVxuICAgICAgICAgICAgICAgICAgICAgICAgfSxcbiAgICAgICAgICAgICAgICAgICAgICAgICFibG9ja0ltZ0lEID8gd3AuZWxlbWVudC5jcmVhdGVFbGVtZW50KFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICdkaXYnLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHsgJ2NsYXNzJzogJ2ltYWdlU2VsZWN0b3InIH0sXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgd3AuZWxlbWVudC5jcmVhdGVFbGVtZW50KFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAnZGl2JyxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgeyAnY2xhc3MnOiAnbGFiZWxJbWFnZScgfSxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaWNvbnMuaW1hZ2UsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHdwLmVsZW1lbnQuY3JlYXRlRWxlbWVudChcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICdzcGFuJyxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHsgJ2NsYXNzJzogJ21sMScgfSxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIF9fKCdJbWFnZScsICd0dGZiLWJsb2NrcycpXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIClcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICApLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHdwLmVsZW1lbnQuY3JlYXRlRWxlbWVudChNZWRpYVVwbG9hZCwge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBvblNlbGVjdDogb25TZWxlY3RJbWFnZSxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgdHlwZTogJ2ltYWdlJyxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgdmFsdWU6IGJsb2NrSW1nSUQsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHJlbmRlcjogZnVuY3Rpb24gcmVuZGVyKF9yZWYpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHZhciBvcGVuID0gX3JlZi5vcGVuO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIHdwLmVsZW1lbnQuY3JlYXRlRWxlbWVudChcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBCdXR0b24sXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBjbGFzc05hbWU6IFwiYnV0dG9uIGJ1dHRvbi1sYXJnZVwiLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBvbkNsaWNrOiBvcGVuXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfSxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBfXygnQWRkIGZyb20gTWVkaWEgTGlicmFyeScsICd0dGZiLWJsb2NrcycpXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICApO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgfSlcbiAgICAgICAgICAgICAgICAgICAgICAgICkgOiB3cC5lbGVtZW50LmNyZWF0ZUVsZW1lbnQoXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgJ2RpdicsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgeyAnY2xhc3MnOiAnaW1hZ2VXcmFwcGVyJyB9LFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHdwLmVsZW1lbnQuY3JlYXRlRWxlbWVudCgnaW1nJywge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBzcmM6IGJsb2NrSW1nVVJMLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBhbHQ6IGJsb2NrSW1nQWx0XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgfSksXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgaXNTZWxlY3RlZCA/IHdwLmVsZW1lbnQuY3JlYXRlRWxlbWVudChcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgQnV0dG9uLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBjbGFzc05hbWU6ICdyZW1vdmUtaW1hZ2UnLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgb25DbGljazogb25SZW1vdmVJbWFnZVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9LFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBpY29ucy5yZW1vdmVcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICApIDogbnVsbFxuICAgICAgICAgICAgICAgICAgICAgICAgKVxuICAgICAgICAgICAgICAgICAgICApXG4gICAgICAgICAgICAgICAgKVxuICAgICAgICAgICAgKVxuICAgICAgICApXTtcbiAgICB9LFxuXG4gICAgc2F2ZTogZnVuY3Rpb24gc2F2ZShwcm9wcykge1xuICAgICAgICB2YXIgX3Byb3BzJGF0dHJpYnV0ZXMyID0gcHJvcHMuYXR0cmlidXRlcyxcbiAgICAgICAgICAgIGJsb2NrQWxpZ25tZW50ID0gX3Byb3BzJGF0dHJpYnV0ZXMyLmJsb2NrQWxpZ25tZW50LFxuICAgICAgICAgICAgYmxvY2tCYWNrZ3JvdW5kQ29sb3IgPSBfcHJvcHMkYXR0cmlidXRlczIuYmxvY2tCYWNrZ3JvdW5kQ29sb3IsXG4gICAgICAgICAgICBibG9ja1RleHRDb2xvciA9IF9wcm9wcyRhdHRyaWJ1dGVzMi5ibG9ja1RleHRDb2xvcixcbiAgICAgICAgICAgIHN1cFRpdGxlID0gX3Byb3BzJGF0dHJpYnV0ZXMyLnN1cFRpdGxlLFxuICAgICAgICAgICAgbWFpblRpdGxlID0gX3Byb3BzJGF0dHJpYnV0ZXMyLm1haW5UaXRsZSxcbiAgICAgICAgICAgIGJsb2NrSHJDb2xvciA9IF9wcm9wcyRhdHRyaWJ1dGVzMi5ibG9ja0hyQ29sb3IsXG4gICAgICAgICAgICBibG9ja0lkID0gX3Byb3BzJGF0dHJpYnV0ZXMyLmJsb2NrSWQsXG4gICAgICAgICAgICBibG9ja0xheW91dCA9IF9wcm9wcyRhdHRyaWJ1dGVzMi5ibG9ja0xheW91dCxcbiAgICAgICAgICAgIG1haW5Db250ZW50ID0gX3Byb3BzJGF0dHJpYnV0ZXMyLm1haW5Db250ZW50LFxuICAgICAgICAgICAgbWFpbkNvbnRlbnRBbGlnbm1lbnQgPSBfcHJvcHMkYXR0cmlidXRlczIubWFpbkNvbnRlbnRBbGlnbm1lbnQsXG4gICAgICAgICAgICBibG9ja0ltZ1VSTCA9IF9wcm9wcyRhdHRyaWJ1dGVzMi5ibG9ja0ltZ1VSTCxcbiAgICAgICAgICAgIGJsb2NrSW1nSUQgPSBfcHJvcHMkYXR0cmlidXRlczIuYmxvY2tJbWdJRCxcbiAgICAgICAgICAgIGJsb2NrSW1nQWx0ID0gX3Byb3BzJGF0dHJpYnV0ZXMyLmJsb2NrSW1nQWx0LFxuICAgICAgICAgICAgbm9kZU5hbWUgPSBfcHJvcHMkYXR0cmlidXRlczIubm9kZU5hbWUsXG4gICAgICAgICAgICBhdHRyaWJ1dGVzID0gcHJvcHMuYXR0cmlidXRlcztcblxuICAgICAgICAvL2NvbnN0IFRhZyA9ICdoMic7XG5cbiAgICAgICAgdmFyIFRhZyA9IG5vZGVOYW1lLnRvTG93ZXJDYXNlKCk7XG5cbiAgICAgICAgcmV0dXJuIHdwLmVsZW1lbnQuY3JlYXRlRWxlbWVudChcbiAgICAgICAgICAgICdkaXYnLFxuICAgICAgICAgICAge1xuICAgICAgICAgICAgICAgIHN0eWxlOiB7XG4gICAgICAgICAgICAgICAgICAgIGJhY2tncm91bmRDb2xvcjogYmxvY2tCYWNrZ3JvdW5kQ29sb3IsXG4gICAgICAgICAgICAgICAgICAgIGNvbG9yOiBibG9ja1RleHRDb2xvclxuICAgICAgICAgICAgICAgIH0sXG4gICAgICAgICAgICAgICAgY2xhc3NOYW1lOiAnYWxpZ24nICsgYmxvY2tBbGlnbm1lbnQsXG4gICAgICAgICAgICAgICAgaWQ6IGJsb2NrSWRcbiAgICAgICAgICAgIH0sXG4gICAgICAgICAgICB3cC5lbGVtZW50LmNyZWF0ZUVsZW1lbnQoXG4gICAgICAgICAgICAgICAgJ2RpdicsXG4gICAgICAgICAgICAgICAge1xuICAgICAgICAgICAgICAgICAgICBjbGFzc05hbWU6IGNsYXNzbmFtZXMoJ2NvbnRhaW5lci1jaGFwdGVyJywgJ21sLWF1dG8nLCAnbXItYXV0bycsICdwdDMnLCAncGIwJywgJ3B4MicpXG4gICAgICAgICAgICAgICAgfSxcbiAgICAgICAgICAgICAgICB3cC5lbGVtZW50LmNyZWF0ZUVsZW1lbnQoXG4gICAgICAgICAgICAgICAgICAgIFRhZyxcbiAgICAgICAgICAgICAgICAgICAge1xuICAgICAgICAgICAgICAgICAgICAgICAgY2xhc3NOYW1lOiBjbGFzc25hbWVzKCdsaW5lLWhlaWdodC0yJywgJ2NlbnRlcicsICdwMCcsICdtMCcsICdwYjInLCAnbWIzJywgJ2gyJyksXG4gICAgICAgICAgICAgICAgICAgICAgICBzdHlsZToge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNvbG9yOiBibG9ja1RleHRDb2xvcixcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBib3JkZXJCb3R0b21Db2xvcjogYmxvY2tIckNvbG9yXG4gICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgIH0sXG4gICAgICAgICAgICAgICAgICAgIHdwLmVsZW1lbnQuY3JlYXRlRWxlbWVudChcbiAgICAgICAgICAgICAgICAgICAgICAgICdzcGFuJyxcbiAgICAgICAgICAgICAgICAgICAgICAgIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBjbGFzc05hbWU6IGNsYXNzbmFtZXMoJ3N1cC10aXRsZScsICdibG9jaycsICdtYjEnLCAnd2VpZ2h0OTAwJylcbiAgICAgICAgICAgICAgICAgICAgICAgIH0sXG4gICAgICAgICAgICAgICAgICAgICAgICBzdXBUaXRsZVxuICAgICAgICAgICAgICAgICAgICApLFxuICAgICAgICAgICAgICAgICAgICB3cC5lbGVtZW50LmNyZWF0ZUVsZW1lbnQoXG4gICAgICAgICAgICAgICAgICAgICAgICAnc3BhbicsXG4gICAgICAgICAgICAgICAgICAgICAgICB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgY2xhc3NOYW1lOiBjbGFzc25hbWVzKCdtYWluLXRpdGxlJywgJ3RpdGxlJywgJ3dlaWdodDIwMCcsICd4eGwtdGV4dCcpXG4gICAgICAgICAgICAgICAgICAgICAgICB9LFxuICAgICAgICAgICAgICAgICAgICAgICAgbWFpblRpdGxlXG4gICAgICAgICAgICAgICAgICAgIClcbiAgICAgICAgICAgICAgICApLFxuICAgICAgICAgICAgICAgIHdwLmVsZW1lbnQuY3JlYXRlRWxlbWVudChcbiAgICAgICAgICAgICAgICAgICAgJ2RpdicsXG4gICAgICAgICAgICAgICAgICAgIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIGNsYXNzTmFtZTogY2xhc3NuYW1lcygnbWQtZmxleCcsICdpdGVtcy1zdHJldGNoJywgJ3B5MicsICdtZC1weTMnLCAnbXhuMicpXG4gICAgICAgICAgICAgICAgICAgIH0sXG4gICAgICAgICAgICAgICAgICAgIGlzVGV4dERpc3BsYXkoYmxvY2tMYXlvdXQpID09IHRydWUgJiYgd3AuZWxlbWVudC5jcmVhdGVFbGVtZW50KFxuICAgICAgICAgICAgICAgICAgICAgICAgJ2RpdicsXG4gICAgICAgICAgICAgICAgICAgICAgICB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgY2xhc3NOYW1lOiBjbGFzc25hbWVzKCdweDInLCAnaXRlbXMtY2VudGVyJywgJ2ZsZXgnLCBnZXRMYXlvdXRDbGFzcyhibG9ja0xheW91dCkpXG4gICAgICAgICAgICAgICAgICAgICAgICB9LFxuICAgICAgICAgICAgICAgICAgICAgICAgd3AuZWxlbWVudC5jcmVhdGVFbGVtZW50KFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICdkaXYnLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgY2xhc3NOYW1lOiAnbWFpbi1jb250ZW50JyxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgc3R5bGU6IHsgdGV4dEFsaWduOiBtYWluQ29udGVudEFsaWdubWVudCB9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgfSxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBtYWluQ29udGVudFxuICAgICAgICAgICAgICAgICAgICAgICAgKVxuICAgICAgICAgICAgICAgICAgICApLFxuICAgICAgICAgICAgICAgICAgICBpc0ltYWdlRGlzcGxheShibG9ja0xheW91dCkgPT0gdHJ1ZSAmJiB3cC5lbGVtZW50LmNyZWF0ZUVsZW1lbnQoXG4gICAgICAgICAgICAgICAgICAgICAgICAnZGl2JyxcbiAgICAgICAgICAgICAgICAgICAgICAgIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBjbGFzc05hbWU6IGNsYXNzbmFtZXMoJ2ZsZXgnLCAnanVzdGlmeS1jZW50ZXInLCAnaXRlbXMtY2VudGVyJywgJ3B4MicsIGdldExheW91dENsYXNzKGJsb2NrTGF5b3V0KSlcbiAgICAgICAgICAgICAgICAgICAgICAgIH0sXG4gICAgICAgICAgICAgICAgICAgICAgICB3cC5lbGVtZW50LmNyZWF0ZUVsZW1lbnQoJ2ltZycsIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBzcmM6IGJsb2NrSW1nVVJMLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGFsdDogYmxvY2tJbWdBbHRcbiAgICAgICAgICAgICAgICAgICAgICAgIH0pXG4gICAgICAgICAgICAgICAgICAgIClcbiAgICAgICAgICAgICAgICApXG4gICAgICAgICAgICApXG4gICAgICAgICk7XG4gICAgfVxufSk7XG5cblxuLy8vLy8vLy8vLy8vLy8vLy8vXG4vLyBXRUJQQUNLIEZPT1RFUlxuLy8gLi9ibG9ja3MvY2hhcHRlci9pbmRleC5qc1xuLy8gbW9kdWxlIGlkID0gNDlcbi8vIG1vZHVsZSBjaHVua3MgPSAwIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///49\n");
/***/ }),
/* 50 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\n\nexports.__esModule = true;\n\nvar _assign = __webpack_require__(51);\n\nvar _assign2 = _interopRequireDefault(_assign);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = _assign2.default || function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n\n return target;\n};//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNTAuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvYmFiZWwtcnVudGltZS9oZWxwZXJzL2V4dGVuZHMuanM/MGRkZiJdLCJzb3VyY2VzQ29udGVudCI6WyJcInVzZSBzdHJpY3RcIjtcblxuZXhwb3J0cy5fX2VzTW9kdWxlID0gdHJ1ZTtcblxudmFyIF9hc3NpZ24gPSByZXF1aXJlKFwiLi4vY29yZS1qcy9vYmplY3QvYXNzaWduXCIpO1xuXG52YXIgX2Fzc2lnbjIgPSBfaW50ZXJvcFJlcXVpcmVEZWZhdWx0KF9hc3NpZ24pO1xuXG5mdW5jdGlvbiBfaW50ZXJvcFJlcXVpcmVEZWZhdWx0KG9iaikgeyByZXR1cm4gb2JqICYmIG9iai5fX2VzTW9kdWxlID8gb2JqIDogeyBkZWZhdWx0OiBvYmogfTsgfVxuXG5leHBvcnRzLmRlZmF1bHQgPSBfYXNzaWduMi5kZWZhdWx0IHx8IGZ1bmN0aW9uICh0YXJnZXQpIHtcbiAgZm9yICh2YXIgaSA9IDE7IGkgPCBhcmd1bWVudHMubGVuZ3RoOyBpKyspIHtcbiAgICB2YXIgc291cmNlID0gYXJndW1lbnRzW2ldO1xuXG4gICAgZm9yICh2YXIga2V5IGluIHNvdXJjZSkge1xuICAgICAgaWYgKE9iamVjdC5wcm90b3R5cGUuaGFzT3duUHJvcGVydHkuY2FsbChzb3VyY2UsIGtleSkpIHtcbiAgICAgICAgdGFyZ2V0W2tleV0gPSBzb3VyY2Vba2V5XTtcbiAgICAgIH1cbiAgICB9XG4gIH1cblxuICByZXR1cm4gdGFyZ2V0O1xufTtcblxuXG4vLy8vLy8vLy8vLy8vLy8vLy9cbi8vIFdFQlBBQ0sgRk9PVEVSXG4vLyAuL25vZGVfbW9kdWxlcy9iYWJlbC1ydW50aW1lL2hlbHBlcnMvZXh0ZW5kcy5qc1xuLy8gbW9kdWxlIGlkID0gNTBcbi8vIG1vZHVsZSBjaHVua3MgPSAwIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///50\n");
/***/ }),
/* 51 */
/***/ (function(module, exports, __webpack_require__) {
eval("module.exports = { \"default\": __webpack_require__(52), __esModule: true };//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNTEuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvYmFiZWwtcnVudGltZS9jb3JlLWpzL29iamVjdC9hc3NpZ24uanM/YzI4MyJdLCJzb3VyY2VzQ29udGVudCI6WyJtb2R1bGUuZXhwb3J0cyA9IHsgXCJkZWZhdWx0XCI6IHJlcXVpcmUoXCJjb3JlLWpzL2xpYnJhcnkvZm4vb2JqZWN0L2Fzc2lnblwiKSwgX19lc01vZHVsZTogdHJ1ZSB9O1xuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vbm9kZV9tb2R1bGVzL2JhYmVsLXJ1bnRpbWUvY29yZS1qcy9vYmplY3QvYXNzaWduLmpzXG4vLyBtb2R1bGUgaWQgPSA1MVxuLy8gbW9kdWxlIGNodW5rcyA9IDAiXSwibWFwcGluZ3MiOiJBQUFBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///51\n");
/***/ }),
/* 52 */
/***/ (function(module, exports, __webpack_require__) {
eval("__webpack_require__(53);\nmodule.exports = __webpack_require__(0).Object.assign;\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNTIuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L2ZuL29iamVjdC9hc3NpZ24uanM/NTc3YiJdLCJzb3VyY2VzQ29udGVudCI6WyJyZXF1aXJlKCcuLi8uLi9tb2R1bGVzL2VzNi5vYmplY3QuYXNzaWduJyk7XG5tb2R1bGUuZXhwb3J0cyA9IHJlcXVpcmUoJy4uLy4uL21vZHVsZXMvX2NvcmUnKS5PYmplY3QuYXNzaWduO1xuXG5cblxuLy8vLy8vLy8vLy8vLy8vLy8vXG4vLyBXRUJQQUNLIEZPT1RFUlxuLy8gLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L2ZuL29iamVjdC9hc3NpZ24uanNcbi8vIG1vZHVsZSBpZCA9IDUyXG4vLyBtb2R1bGUgY2h1bmtzID0gMCJdLCJtYXBwaW5ncyI6IkFBQUE7QUFDQTsiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///52\n");
/***/ }),
/* 53 */
/***/ (function(module, exports, __webpack_require__) {
eval("// 19.1.3.1 Object.assign(target, source)\nvar $export = __webpack_require__(2);\n\n$export($export.S + $export.F, 'Object', { assign: __webpack_require__(55) });\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNTMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvZXM2Lm9iamVjdC5hc3NpZ24uanM/NDc4YyJdLCJzb3VyY2VzQ29udGVudCI6WyIvLyAxOS4xLjMuMSBPYmplY3QuYXNzaWduKHRhcmdldCwgc291cmNlKVxudmFyICRleHBvcnQgPSByZXF1aXJlKCcuL19leHBvcnQnKTtcblxuJGV4cG9ydCgkZXhwb3J0LlMgKyAkZXhwb3J0LkYsICdPYmplY3QnLCB7IGFzc2lnbjogcmVxdWlyZSgnLi9fb2JqZWN0LWFzc2lnbicpIH0pO1xuXG5cblxuLy8vLy8vLy8vLy8vLy8vLy8vXG4vLyBXRUJQQUNLIEZPT1RFUlxuLy8gLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvZXM2Lm9iamVjdC5hc3NpZ24uanNcbi8vIG1vZHVsZSBpZCA9IDUzXG4vLyBtb2R1bGUgY2h1bmtzID0gMCJdLCJtYXBwaW5ncyI6IkFBQUE7QUFDQTtBQUNBO0FBQ0E7Iiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///53\n");
/***/ }),
/* 54 */
/***/ (function(module, exports) {
eval("module.exports = function (it) {\n if (typeof it != 'function') throw TypeError(it + ' is not a function!');\n return it;\n};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNTQuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX2EtZnVuY3Rpb24uanM/OTRlOSJdLCJzb3VyY2VzQ29udGVudCI6WyJtb2R1bGUuZXhwb3J0cyA9IGZ1bmN0aW9uIChpdCkge1xuICBpZiAodHlwZW9mIGl0ICE9ICdmdW5jdGlvbicpIHRocm93IFR5cGVFcnJvcihpdCArICcgaXMgbm90IGEgZnVuY3Rpb24hJyk7XG4gIHJldHVybiBpdDtcbn07XG5cblxuXG4vLy8vLy8vLy8vLy8vLy8vLy9cbi8vIFdFQlBBQ0sgRk9PVEVSXG4vLyAuL25vZGVfbW9kdWxlcy9jb3JlLWpzL2xpYnJhcnkvbW9kdWxlcy9fYS1mdW5jdGlvbi5qc1xuLy8gbW9kdWxlIGlkID0gNTRcbi8vIG1vZHVsZSBjaHVua3MgPSAwIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUNBO0FBQ0E7QUFDQTsiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///54\n");
/***/ }),
/* 55 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\n// 19.1.2.1 Object.assign(target, source, ...)\nvar getKeys = __webpack_require__(13);\nvar gOPS = __webpack_require__(22);\nvar pIE = __webpack_require__(15);\nvar toObject = __webpack_require__(23);\nvar IObject = __webpack_require__(34);\nvar $assign = Object.assign;\n\n// should work with symbols and should have deterministic property order (V8 bug)\nmodule.exports = !$assign || __webpack_require__(8)(function () {\n var A = {};\n var B = {};\n // eslint-disable-next-line no-undef\n var S = Symbol();\n var K = 'abcdefghijklmnopqrst';\n A[S] = 7;\n K.split('').forEach(function (k) { B[k] = k; });\n return $assign({}, A)[S] != 7 || Object.keys($assign({}, B)).join('') != K;\n}) ? function assign(target, source) { // eslint-disable-line no-unused-vars\n var T = toObject(target);\n var aLen = arguments.length;\n var index = 1;\n var getSymbols = gOPS.f;\n var isEnum = pIE.f;\n while (aLen > index) {\n var S = IObject(arguments[index++]);\n var keys = getSymbols ? getKeys(S).concat(getSymbols(S)) : getKeys(S);\n var length = keys.length;\n var j = 0;\n var key;\n while (length > j) if (isEnum.call(S, key = keys[j++])) T[key] = S[key];\n } return T;\n} : $assign;\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNTUuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX29iamVjdC1hc3NpZ24uanM/NGU4ZCJdLCJzb3VyY2VzQ29udGVudCI6WyIndXNlIHN0cmljdCc7XG4vLyAxOS4xLjIuMSBPYmplY3QuYXNzaWduKHRhcmdldCwgc291cmNlLCAuLi4pXG52YXIgZ2V0S2V5cyA9IHJlcXVpcmUoJy4vX29iamVjdC1rZXlzJyk7XG52YXIgZ09QUyA9IHJlcXVpcmUoJy4vX29iamVjdC1nb3BzJyk7XG52YXIgcElFID0gcmVxdWlyZSgnLi9fb2JqZWN0LXBpZScpO1xudmFyIHRvT2JqZWN0ID0gcmVxdWlyZSgnLi9fdG8tb2JqZWN0Jyk7XG52YXIgSU9iamVjdCA9IHJlcXVpcmUoJy4vX2lvYmplY3QnKTtcbnZhciAkYXNzaWduID0gT2JqZWN0LmFzc2lnbjtcblxuLy8gc2hvdWxkIHdvcmsgd2l0aCBzeW1ib2xzIGFuZCBzaG91bGQgaGF2ZSBkZXRlcm1pbmlzdGljIHByb3BlcnR5IG9yZGVyIChWOCBidWcpXG5tb2R1bGUuZXhwb3J0cyA9ICEkYXNzaWduIHx8IHJlcXVpcmUoJy4vX2ZhaWxzJykoZnVuY3Rpb24gKCkge1xuICB2YXIgQSA9IHt9O1xuICB2YXIgQiA9IHt9O1xuICAvLyBlc2xpbnQtZGlzYWJsZS1uZXh0LWxpbmUgbm8tdW5kZWZcbiAgdmFyIFMgPSBTeW1ib2woKTtcbiAgdmFyIEsgPSAnYWJjZGVmZ2hpamtsbW5vcHFyc3QnO1xuICBBW1NdID0gNztcbiAgSy5zcGxpdCgnJykuZm9yRWFjaChmdW5jdGlvbiAoaykgeyBCW2tdID0gazsgfSk7XG4gIHJldHVybiAkYXNzaWduKHt9LCBBKVtTXSAhPSA3IHx8IE9iamVjdC5rZXlzKCRhc3NpZ24oe30sIEIpKS5qb2luKCcnKSAhPSBLO1xufSkgPyBmdW5jdGlvbiBhc3NpZ24odGFyZ2V0LCBzb3VyY2UpIHsgLy8gZXNsaW50LWRpc2FibGUtbGluZSBuby11bnVzZWQtdmFyc1xuICB2YXIgVCA9IHRvT2JqZWN0KHRhcmdldCk7XG4gIHZhciBhTGVuID0gYXJndW1lbnRzLmxlbmd0aDtcbiAgdmFyIGluZGV4ID0gMTtcbiAgdmFyIGdldFN5bWJvbHMgPSBnT1BTLmY7XG4gIHZhciBpc0VudW0gPSBwSUUuZjtcbiAgd2hpbGUgKGFMZW4gPiBpbmRleCkge1xuICAgIHZhciBTID0gSU9iamVjdChhcmd1bWVudHNbaW5kZXgrK10pO1xuICAgIHZhciBrZXlzID0gZ2V0U3ltYm9scyA/IGdldEtleXMoUykuY29uY2F0KGdldFN5bWJvbHMoUykpIDogZ2V0S2V5cyhTKTtcbiAgICB2YXIgbGVuZ3RoID0ga2V5cy5sZW5ndGg7XG4gICAgdmFyIGogPSAwO1xuICAgIHZhciBrZXk7XG4gICAgd2hpbGUgKGxlbmd0aCA+IGopIGlmIChpc0VudW0uY2FsbChTLCBrZXkgPSBrZXlzW2orK10pKSBUW2tleV0gPSBTW2tleV07XG4gIH0gcmV0dXJuIFQ7XG59IDogJGFzc2lnbjtcblxuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vbm9kZV9tb2R1bGVzL2NvcmUtanMvbGlicmFyeS9tb2R1bGVzL19vYmplY3QtYXNzaWduLmpzXG4vLyBtb2R1bGUgaWQgPSA1NVxuLy8gbW9kdWxlIGNodW5rcyA9IDAiXSwibWFwcGluZ3MiOiJBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOyIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///55\n");
/***/ }),
/* 56 */
/***/ (function(module, exports, __webpack_require__) {
eval("// false -> Array#indexOf\n// true -> Array#includes\nvar toIObject = __webpack_require__(9);\nvar toLength = __webpack_require__(57);\nvar toAbsoluteIndex = __webpack_require__(58);\nmodule.exports = function (IS_INCLUDES) {\n return function ($this, el, fromIndex) {\n var O = toIObject($this);\n var length = toLength(O.length);\n var index = toAbsoluteIndex(fromIndex, length);\n var value;\n // Array#includes uses SameValueZero equality algorithm\n // eslint-disable-next-line no-self-compare\n if (IS_INCLUDES && el != el) while (length > index) {\n value = O[index++];\n // eslint-disable-next-line no-self-compare\n if (value != value) return true;\n // Array#indexOf ignores holes, Array#includes - not\n } else for (;length > index; index++) if (IS_INCLUDES || index in O) {\n if (O[index] === el) return IS_INCLUDES || index || 0;\n } return !IS_INCLUDES && -1;\n };\n};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNTYuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX2FycmF5LWluY2x1ZGVzLmpzP2JjNTciXSwic291cmNlc0NvbnRlbnQiOlsiLy8gZmFsc2UgLT4gQXJyYXkjaW5kZXhPZlxuLy8gdHJ1ZSAgLT4gQXJyYXkjaW5jbHVkZXNcbnZhciB0b0lPYmplY3QgPSByZXF1aXJlKCcuL190by1pb2JqZWN0Jyk7XG52YXIgdG9MZW5ndGggPSByZXF1aXJlKCcuL190by1sZW5ndGgnKTtcbnZhciB0b0Fic29sdXRlSW5kZXggPSByZXF1aXJlKCcuL190by1hYnNvbHV0ZS1pbmRleCcpO1xubW9kdWxlLmV4cG9ydHMgPSBmdW5jdGlvbiAoSVNfSU5DTFVERVMpIHtcbiAgcmV0dXJuIGZ1bmN0aW9uICgkdGhpcywgZWwsIGZyb21JbmRleCkge1xuICAgIHZhciBPID0gdG9JT2JqZWN0KCR0aGlzKTtcbiAgICB2YXIgbGVuZ3RoID0gdG9MZW5ndGgoTy5sZW5ndGgpO1xuICAgIHZhciBpbmRleCA9IHRvQWJzb2x1dGVJbmRleChmcm9tSW5kZXgsIGxlbmd0aCk7XG4gICAgdmFyIHZhbHVlO1xuICAgIC8vIEFycmF5I2luY2x1ZGVzIHVzZXMgU2FtZVZhbHVlWmVybyBlcXVhbGl0eSBhbGdvcml0aG1cbiAgICAvLyBlc2xpbnQtZGlzYWJsZS1uZXh0LWxpbmUgbm8tc2VsZi1jb21wYXJlXG4gICAgaWYgKElTX0lOQ0xVREVTICYmIGVsICE9IGVsKSB3aGlsZSAobGVuZ3RoID4gaW5kZXgpIHtcbiAgICAgIHZhbHVlID0gT1tpbmRleCsrXTtcbiAgICAgIC8vIGVzbGludC1kaXNhYmxlLW5leHQtbGluZSBuby1zZWxmLWNvbXBhcmVcbiAgICAgIGlmICh2YWx1ZSAhPSB2YWx1ZSkgcmV0dXJuIHRydWU7XG4gICAgLy8gQXJyYXkjaW5kZXhPZiBpZ25vcmVzIGhvbGVzLCBBcnJheSNpbmNsdWRlcyAtIG5vdFxuICAgIH0gZWxzZSBmb3IgKDtsZW5ndGggPiBpbmRleDsgaW5kZXgrKykgaWYgKElTX0lOQ0xVREVTIHx8IGluZGV4IGluIE8pIHtcbiAgICAgIGlmIChPW2luZGV4XSA9PT0gZWwpIHJldHVybiBJU19JTkNMVURFUyB8fCBpbmRleCB8fCAwO1xuICAgIH0gcmV0dXJuICFJU19JTkNMVURFUyAmJiAtMTtcbiAgfTtcbn07XG5cblxuXG4vLy8vLy8vLy8vLy8vLy8vLy9cbi8vIFdFQlBBQ0sgRk9PVEVSXG4vLyAuL25vZGVfbW9kdWxlcy9jb3JlLWpzL2xpYnJhcnkvbW9kdWxlcy9fYXJyYXktaW5jbHVkZXMuanNcbi8vIG1vZHVsZSBpZCA9IDU2XG4vLyBtb2R1bGUgY2h1bmtzID0gMCJdLCJtYXBwaW5ncyI6IkFBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTsiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///56\n");
/***/ }),
/* 57 */
/***/ (function(module, exports, __webpack_require__) {
eval("// 7.1.15 ToLength\nvar toInteger = __webpack_require__(18);\nvar min = Math.min;\nmodule.exports = function (it) {\n return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991\n};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNTcuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX3RvLWxlbmd0aC5qcz80MTExIl0sInNvdXJjZXNDb250ZW50IjpbIi8vIDcuMS4xNSBUb0xlbmd0aFxudmFyIHRvSW50ZWdlciA9IHJlcXVpcmUoJy4vX3RvLWludGVnZXInKTtcbnZhciBtaW4gPSBNYXRoLm1pbjtcbm1vZHVsZS5leHBvcnRzID0gZnVuY3Rpb24gKGl0KSB7XG4gIHJldHVybiBpdCA+IDAgPyBtaW4odG9JbnRlZ2VyKGl0KSwgMHgxZmZmZmZmZmZmZmZmZikgOiAwOyAvLyBwb3coMiwgNTMpIC0gMSA9PSA5MDA3MTk5MjU0NzQwOTkxXG59O1xuXG5cblxuLy8vLy8vLy8vLy8vLy8vLy8vXG4vLyBXRUJQQUNLIEZPT1RFUlxuLy8gLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX3RvLWxlbmd0aC5qc1xuLy8gbW9kdWxlIGlkID0gNTdcbi8vIG1vZHVsZSBjaHVua3MgPSAwIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7Iiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///57\n");
/***/ }),
/* 58 */
/***/ (function(module, exports, __webpack_require__) {
eval("var toInteger = __webpack_require__(18);\nvar max = Math.max;\nvar min = Math.min;\nmodule.exports = function (index, length) {\n index = toInteger(index);\n return index < 0 ? max(index + length, 0) : min(index, length);\n};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNTguanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX3RvLWFic29sdXRlLWluZGV4LmpzPzdlNDAiXSwic291cmNlc0NvbnRlbnQiOlsidmFyIHRvSW50ZWdlciA9IHJlcXVpcmUoJy4vX3RvLWludGVnZXInKTtcbnZhciBtYXggPSBNYXRoLm1heDtcbnZhciBtaW4gPSBNYXRoLm1pbjtcbm1vZHVsZS5leHBvcnRzID0gZnVuY3Rpb24gKGluZGV4LCBsZW5ndGgpIHtcbiAgaW5kZXggPSB0b0ludGVnZXIoaW5kZXgpO1xuICByZXR1cm4gaW5kZXggPCAwID8gbWF4KGluZGV4ICsgbGVuZ3RoLCAwKSA6IG1pbihpbmRleCwgbGVuZ3RoKTtcbn07XG5cblxuXG4vLy8vLy8vLy8vLy8vLy8vLy9cbi8vIFdFQlBBQ0sgRk9PVEVSXG4vLyAuL25vZGVfbW9kdWxlcy9jb3JlLWpzL2xpYnJhcnkvbW9kdWxlcy9fdG8tYWJzb2x1dGUtaW5kZXguanNcbi8vIG1vZHVsZSBpZCA9IDU4XG4vLyBtb2R1bGUgY2h1bmtzID0gMCJdLCJtYXBwaW5ncyI6IkFBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7Iiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///58\n");
/***/ }),
/* 59 */
/***/ (function(module, exports, __webpack_require__) {
eval("var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!\n Copyright (c) 2016 Jed Watson.\n Licensed under the MIT License (MIT), see\n http://jedwatson.github.io/classnames\n*/\n/* global define */\n\n(function () {\n\t'use strict';\n\n\tvar hasOwn = {}.hasOwnProperty;\n\n\tfunction classNames () {\n\t\tvar classes = [];\n\n\t\tfor (var i = 0; i < arguments.length; i++) {\n\t\t\tvar arg = arguments[i];\n\t\t\tif (!arg) continue;\n\n\t\t\tvar argType = typeof arg;\n\n\t\t\tif (argType === 'string' || argType === 'number') {\n\t\t\t\tclasses.push(arg);\n\t\t\t} else if (Array.isArray(arg)) {\n\t\t\t\tclasses.push(classNames.apply(null, arg));\n\t\t\t} else if (argType === 'object') {\n\t\t\t\tfor (var key in arg) {\n\t\t\t\t\tif (hasOwn.call(arg, key) && arg[key]) {\n\t\t\t\t\t\tclasses.push(key);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn classes.join(' ');\n\t}\n\n\tif (typeof module !== 'undefined' && module.exports) {\n\t\tmodule.exports = classNames;\n\t} else if (true) {\n\t\t// register as 'classnames', consistent with npm package name\n\t\t!(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = (function () {\n\t\t\treturn classNames;\n\t\t}).apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__),\n\t\t\t\t__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n\t} else {\n\t\twindow.classNames = classNames;\n\t}\n}());\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNTkuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY2xhc3NuYW1lcy9pbmRleC5qcz8xZDZlIl0sInNvdXJjZXNDb250ZW50IjpbIi8qIVxuICBDb3B5cmlnaHQgKGMpIDIwMTYgSmVkIFdhdHNvbi5cbiAgTGljZW5zZWQgdW5kZXIgdGhlIE1JVCBMaWNlbnNlIChNSVQpLCBzZWVcbiAgaHR0cDovL2plZHdhdHNvbi5naXRodWIuaW8vY2xhc3NuYW1lc1xuKi9cbi8qIGdsb2JhbCBkZWZpbmUgKi9cblxuKGZ1bmN0aW9uICgpIHtcblx0J3VzZSBzdHJpY3QnO1xuXG5cdHZhciBoYXNPd24gPSB7fS5oYXNPd25Qcm9wZXJ0eTtcblxuXHRmdW5jdGlvbiBjbGFzc05hbWVzICgpIHtcblx0XHR2YXIgY2xhc3NlcyA9IFtdO1xuXG5cdFx0Zm9yICh2YXIgaSA9IDA7IGkgPCBhcmd1bWVudHMubGVuZ3RoOyBpKyspIHtcblx0XHRcdHZhciBhcmcgPSBhcmd1bWVudHNbaV07XG5cdFx0XHRpZiAoIWFyZykgY29udGludWU7XG5cblx0XHRcdHZhciBhcmdUeXBlID0gdHlwZW9mIGFyZztcblxuXHRcdFx0aWYgKGFyZ1R5cGUgPT09ICdzdHJpbmcnIHx8IGFyZ1R5cGUgPT09ICdudW1iZXInKSB7XG5cdFx0XHRcdGNsYXNzZXMucHVzaChhcmcpO1xuXHRcdFx0fSBlbHNlIGlmIChBcnJheS5pc0FycmF5KGFyZykpIHtcblx0XHRcdFx0Y2xhc3Nlcy5wdXNoKGNsYXNzTmFtZXMuYXBwbHkobnVsbCwgYXJnKSk7XG5cdFx0XHR9IGVsc2UgaWYgKGFyZ1R5cGUgPT09ICdvYmplY3QnKSB7XG5cdFx0XHRcdGZvciAodmFyIGtleSBpbiBhcmcpIHtcblx0XHRcdFx0XHRpZiAoaGFzT3duLmNhbGwoYXJnLCBrZXkpICYmIGFyZ1trZXldKSB7XG5cdFx0XHRcdFx0XHRjbGFzc2VzLnB1c2goa2V5KTtcblx0XHRcdFx0XHR9XG5cdFx0XHRcdH1cblx0XHRcdH1cblx0XHR9XG5cblx0XHRyZXR1cm4gY2xhc3Nlcy5qb2luKCcgJyk7XG5cdH1cblxuXHRpZiAodHlwZW9mIG1vZHVsZSAhPT0gJ3VuZGVmaW5lZCcgJiYgbW9kdWxlLmV4cG9ydHMpIHtcblx0XHRtb2R1bGUuZXhwb3J0cyA9IGNsYXNzTmFtZXM7XG5cdH0gZWxzZSBpZiAodHlwZW9mIGRlZmluZSA9PT0gJ2Z1bmN0aW9uJyAmJiB0eXBlb2YgZGVmaW5lLmFtZCA9PT0gJ29iamVjdCcgJiYgZGVmaW5lLmFtZCkge1xuXHRcdC8vIHJlZ2lzdGVyIGFzICdjbGFzc25hbWVzJywgY29uc2lzdGVudCB3aXRoIG5wbSBwYWNrYWdlIG5hbWVcblx0XHRkZWZpbmUoJ2NsYXNzbmFtZXMnLCBbXSwgZnVuY3Rpb24gKCkge1xuXHRcdFx0cmV0dXJuIGNsYXNzTmFtZXM7XG5cdFx0fSk7XG5cdH0gZWxzZSB7XG5cdFx0d2luZG93LmNsYXNzTmFtZXMgPSBjbGFzc05hbWVzO1xuXHR9XG59KCkpO1xuXG5cblxuLy8vLy8vLy8vLy8vLy8vLy8vXG4vLyBXRUJQQUNLIEZPT1RFUlxuLy8gLi9ub2RlX21vZHVsZXMvY2xhc3NuYW1lcy9pbmRleC5qc1xuLy8gbW9kdWxlIGlkID0gNTlcbi8vIG1vZHVsZSBjaHVua3MgPSAwIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTsiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///59\n");
/***/ }),
/* 60 */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_core_js_object_get_prototype_of__ = __webpack_require__(36);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_core_js_object_get_prototype_of___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_babel_runtime_core_js_object_get_prototype_of__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_classCallCheck__ = __webpack_require__(38);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_classCallCheck___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_classCallCheck__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_createClass__ = __webpack_require__(39);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_createClass___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_createClass__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_babel_runtime_helpers_possibleConstructorReturn__ = __webpack_require__(40);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_babel_runtime_helpers_possibleConstructorReturn___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_babel_runtime_helpers_possibleConstructorReturn__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_babel_runtime_helpers_inherits__ = __webpack_require__(46);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_babel_runtime_helpers_inherits___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4_babel_runtime_helpers_inherits__);\n\n\n\n\n\n/**\n * Internal block libraries\n */\nvar _wp$i18n = wp.i18n,\n __ = _wp$i18n.__,\n sprintf = _wp$i18n.sprintf;\nvar Component = wp.element.Component;\nvar _wp$blocks = wp.blocks,\n InspectorControls = _wp$blocks.InspectorControls,\n ColorPalette = _wp$blocks.ColorPalette;\nvar _wp$components = wp.components,\n Button = _wp$components.Button,\n ButtonGroup = _wp$components.ButtonGroup,\n CheckboxControl = _wp$components.CheckboxControl,\n PanelBody = _wp$components.PanelBody,\n PanelRow = _wp$components.PanelRow,\n PanelColor = _wp$components.PanelColor,\n RadioControl = _wp$components.RadioControl,\n RangeControl = _wp$components.RangeControl,\n TextControl = _wp$components.TextControl,\n TextareaControl = _wp$components.TextareaControl,\n ToggleControl = _wp$components.ToggleControl,\n Toolbar = _wp$components.Toolbar,\n SelectControl = _wp$components.SelectControl;\n\n/**\n * Create an Inspector Controls wrapper Component\n */\n\nvar Inspector = function (_Component) {\n __WEBPACK_IMPORTED_MODULE_4_babel_runtime_helpers_inherits___default()(Inspector, _Component);\n\n function Inspector(props) {\n __WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_classCallCheck___default()(this, Inspector);\n\n return __WEBPACK_IMPORTED_MODULE_3_babel_runtime_helpers_possibleConstructorReturn___default()(this, (Inspector.__proto__ || __WEBPACK_IMPORTED_MODULE_0_babel_runtime_core_js_object_get_prototype_of___default()(Inspector)).apply(this, arguments));\n }\n\n __WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_createClass___default()(Inspector, [{\n key: 'render',\n value: function render() {\n var _props = this.props,\n _props$attributes = _props.attributes,\n blockBackgroundColor = _props$attributes.blockBackgroundColor,\n blockTextColor = _props$attributes.blockTextColor,\n blockHrColor = _props$attributes.blockHrColor,\n blockId = _props$attributes.blockId,\n blockLayout = _props$attributes.blockLayout,\n nodeName = _props$attributes.nodeName,\n setAttributes = _props.setAttributes;\n\n\n return wp.element.createElement(\n InspectorControls,\n { key: 'inspector' },\n wp.element.createElement(\n PanelBody,\n {\n title: __('Chapter Block', 'ttfb-blocks'),\n initialOpen: false\n },\n wp.element.createElement(\n PanelRow,\n null,\n wp.element.createElement(\n 'p',\n null,\n __('Chapter block description', 'ttfb-blocks')\n )\n )\n ),\n wp.element.createElement(\n PanelBody,\n null,\n wp.element.createElement(\n 'h3',\n null,\n __('Heading Settings')\n ),\n wp.element.createElement(\n 'p',\n null,\n __('Level')\n ),\n wp.element.createElement(Toolbar, {\n controls: '123456'.split('').map(function (level) {\n return {\n icon: 'heading',\n title: sprintf(__('Heading %s'), level),\n isActive: 'H' + level === nodeName,\n onClick: function onClick() {\n return setAttributes({ nodeName: 'H' + level });\n },\n subscript: level\n };\n })\n }),\n wp.element.createElement(TextControl, {\n label: __('HTML Anchor', 'ttfb-blocks'),\n value: blockId,\n onChange: function onChange(blockId) {\n return setAttributes({ blockId: blockId });\n }\n })\n ),\n wp.element.createElement(\n PanelBody,\n null,\n wp.element.createElement(SelectControl, {\n label: __('Layout', 'ttfb-blocks'),\n value: blockLayout,\n options: [{ value: 'text', label: __('Text only', 'ttfb-blocks') }, { value: 'image', label: __('Image only', 'ttfb-blocks') }, { value: 'both', label: __('Text and Image', 'ttfb-blocks') }],\n onChange: function onChange(blockLayout) {\n return setAttributes({ blockLayout: blockLayout });\n }\n })\n ),\n wp.element.createElement(\n PanelColor,\n {\n title: __('Background color', 'ttfb-blocks'),\n colorValue: blockBackgroundColor\n },\n wp.element.createElement(ColorPalette, {\n value: blockBackgroundColor,\n onChange: function onChange(blockBackgroundColor) {\n return setAttributes({ blockBackgroundColor: blockBackgroundColor });\n }\n })\n ),\n wp.element.createElement(\n PanelColor,\n {\n title: __('Text Color', 'ttfb-blocks'),\n value: this.props.attributes.blockTextColor,\n colorValue: blockTextColor\n },\n wp.element.createElement(ColorPalette, {\n value: blockTextColor,\n onChange: function onChange(blockTextColor) {\n return setAttributes({ blockTextColor: blockTextColor });\n }\n })\n ),\n wp.element.createElement(\n PanelColor,\n {\n title: __('Separator Color', 'ttfb-blocks'),\n value: this.props.attributes.blockHrColor,\n colorValue: blockHrColor\n },\n wp.element.createElement(ColorPalette, {\n value: blockHrColor,\n onChange: function onChange(blockHrColor) {\n return setAttributes({ blockHrColor: blockHrColor });\n }\n })\n )\n );\n }\n }]);\n\n return Inspector;\n}(Component);\n\n/* harmony default export */ __webpack_exports__[\"a\"] = (Inspector);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNjAuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ibG9ja3MvY2hhcHRlci9pbnNwZWN0b3IuanM/OWE3ZCJdLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgX09iamVjdCRnZXRQcm90b3R5cGVPZiBmcm9tICdiYWJlbC1ydW50aW1lL2NvcmUtanMvb2JqZWN0L2dldC1wcm90b3R5cGUtb2YnO1xuaW1wb3J0IF9jbGFzc0NhbGxDaGVjayBmcm9tICdiYWJlbC1ydW50aW1lL2hlbHBlcnMvY2xhc3NDYWxsQ2hlY2snO1xuaW1wb3J0IF9jcmVhdGVDbGFzcyBmcm9tICdiYWJlbC1ydW50aW1lL2hlbHBlcnMvY3JlYXRlQ2xhc3MnO1xuaW1wb3J0IF9wb3NzaWJsZUNvbnN0cnVjdG9yUmV0dXJuIGZyb20gJ2JhYmVsLXJ1bnRpbWUvaGVscGVycy9wb3NzaWJsZUNvbnN0cnVjdG9yUmV0dXJuJztcbmltcG9ydCBfaW5oZXJpdHMgZnJvbSAnYmFiZWwtcnVudGltZS9oZWxwZXJzL2luaGVyaXRzJztcbi8qKlxuICogSW50ZXJuYWwgYmxvY2sgbGlicmFyaWVzXG4gKi9cbnZhciBfd3AkaTE4biA9IHdwLmkxOG4sXG4gICAgX18gPSBfd3AkaTE4bi5fXyxcbiAgICBzcHJpbnRmID0gX3dwJGkxOG4uc3ByaW50ZjtcbnZhciBDb21wb25lbnQgPSB3cC5lbGVtZW50LkNvbXBvbmVudDtcbnZhciBfd3AkYmxvY2tzID0gd3AuYmxvY2tzLFxuICAgIEluc3BlY3RvckNvbnRyb2xzID0gX3dwJGJsb2Nrcy5JbnNwZWN0b3JDb250cm9scyxcbiAgICBDb2xvclBhbGV0dGUgPSBfd3AkYmxvY2tzLkNvbG9yUGFsZXR0ZTtcbnZhciBfd3AkY29tcG9uZW50cyA9IHdwLmNvbXBvbmVudHMsXG4gICAgQnV0dG9uID0gX3dwJGNvbXBvbmVudHMuQnV0dG9uLFxuICAgIEJ1dHRvbkdyb3VwID0gX3dwJGNvbXBvbmVudHMuQnV0dG9uR3JvdXAsXG4gICAgQ2hlY2tib3hDb250cm9sID0gX3dwJGNvbXBvbmVudHMuQ2hlY2tib3hDb250cm9sLFxuICAgIFBhbmVsQm9keSA9IF93cCRjb21wb25lbnRzLlBhbmVsQm9keSxcbiAgICBQYW5lbFJvdyA9IF93cCRjb21wb25lbnRzLlBhbmVsUm93LFxuICAgIFBhbmVsQ29sb3IgPSBfd3AkY29tcG9uZW50cy5QYW5lbENvbG9yLFxuICAgIFJhZGlvQ29udHJvbCA9IF93cCRjb21wb25lbnRzLlJhZGlvQ29udHJvbCxcbiAgICBSYW5nZUNvbnRyb2wgPSBfd3AkY29tcG9uZW50cy5SYW5nZUNvbnRyb2wsXG4gICAgVGV4dENvbnRyb2wgPSBfd3AkY29tcG9uZW50cy5UZXh0Q29udHJvbCxcbiAgICBUZXh0YXJlYUNvbnRyb2wgPSBfd3AkY29tcG9uZW50cy5UZXh0YXJlYUNvbnRyb2wsXG4gICAgVG9nZ2xlQ29udHJvbCA9IF93cCRjb21wb25lbnRzLlRvZ2dsZUNvbnRyb2wsXG4gICAgVG9vbGJhciA9IF93cCRjb21wb25lbnRzLlRvb2xiYXIsXG4gICAgU2VsZWN0Q29udHJvbCA9IF93cCRjb21wb25lbnRzLlNlbGVjdENvbnRyb2w7XG5cbi8qKlxuICogQ3JlYXRlIGFuIEluc3BlY3RvciBDb250cm9scyB3cmFwcGVyIENvbXBvbmVudFxuICovXG5cbnZhciBJbnNwZWN0b3IgPSBmdW5jdGlvbiAoX0NvbXBvbmVudCkge1xuICAgIF9pbmhlcml0cyhJbnNwZWN0b3IsIF9Db21wb25lbnQpO1xuXG4gICAgZnVuY3Rpb24gSW5zcGVjdG9yKHByb3BzKSB7XG4gICAgICAgIF9jbGFzc0NhbGxDaGVjayh0aGlzLCBJbnNwZWN0b3IpO1xuXG4gICAgICAgIHJldHVybiBfcG9zc2libGVDb25zdHJ1Y3RvclJldHVybih0aGlzLCAoSW5zcGVjdG9yLl9fcHJvdG9fXyB8fCBfT2JqZWN0JGdldFByb3RvdHlwZU9mKEluc3BlY3RvcikpLmFwcGx5KHRoaXMsIGFyZ3VtZW50cykpO1xuICAgIH1cblxuICAgIF9jcmVhdGVDbGFzcyhJbnNwZWN0b3IsIFt7XG4gICAgICAgIGtleTogJ3JlbmRlcicsXG4gICAgICAgIHZhbHVlOiBmdW5jdGlvbiByZW5kZXIoKSB7XG4gICAgICAgICAgICB2YXIgX3Byb3BzID0gdGhpcy5wcm9wcyxcbiAgICAgICAgICAgICAgICBfcHJvcHMkYXR0cmlidXRlcyA9IF9wcm9wcy5hdHRyaWJ1dGVzLFxuICAgICAgICAgICAgICAgIGJsb2NrQmFja2dyb3VuZENvbG9yID0gX3Byb3BzJGF0dHJpYnV0ZXMuYmxvY2tCYWNrZ3JvdW5kQ29sb3IsXG4gICAgICAgICAgICAgICAgYmxvY2tUZXh0Q29sb3IgPSBfcHJvcHMkYXR0cmlidXRlcy5ibG9ja1RleHRDb2xvcixcbiAgICAgICAgICAgICAgICBibG9ja0hyQ29sb3IgPSBfcHJvcHMkYXR0cmlidXRlcy5ibG9ja0hyQ29sb3IsXG4gICAgICAgICAgICAgICAgYmxvY2tJZCA9IF9wcm9wcyRhdHRyaWJ1dGVzLmJsb2NrSWQsXG4gICAgICAgICAgICAgICAgYmxvY2tMYXlvdXQgPSBfcHJvcHMkYXR0cmlidXRlcy5ibG9ja0xheW91dCxcbiAgICAgICAgICAgICAgICBub2RlTmFtZSA9IF9wcm9wcyRhdHRyaWJ1dGVzLm5vZGVOYW1lLFxuICAgICAgICAgICAgICAgIHNldEF0dHJpYnV0ZXMgPSBfcHJvcHMuc2V0QXR0cmlidXRlcztcblxuXG4gICAgICAgICAgICByZXR1cm4gd3AuZWxlbWVudC5jcmVhdGVFbGVtZW50KFxuICAgICAgICAgICAgICAgIEluc3BlY3RvckNvbnRyb2xzLFxuICAgICAgICAgICAgICAgIHsga2V5OiAnaW5zcGVjdG9yJyB9LFxuICAgICAgICAgICAgICAgIHdwLmVsZW1lbnQuY3JlYXRlRWxlbWVudChcbiAgICAgICAgICAgICAgICAgICAgUGFuZWxCb2R5LFxuICAgICAgICAgICAgICAgICAgICB7XG4gICAgICAgICAgICAgICAgICAgICAgICB0aXRsZTogX18oJ0NoYXB0ZXIgQmxvY2snLCAndHRmYi1ibG9ja3MnKSxcbiAgICAgICAgICAgICAgICAgICAgICAgIGluaXRpYWxPcGVuOiBmYWxzZVxuICAgICAgICAgICAgICAgICAgICB9LFxuICAgICAgICAgICAgICAgICAgICB3cC5lbGVtZW50LmNyZWF0ZUVsZW1lbnQoXG4gICAgICAgICAgICAgICAgICAgICAgICBQYW5lbFJvdyxcbiAgICAgICAgICAgICAgICAgICAgICAgIG51bGwsXG4gICAgICAgICAgICAgICAgICAgICAgICB3cC5lbGVtZW50LmNyZWF0ZUVsZW1lbnQoXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgJ3AnLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIG51bGwsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgX18oJ0NoYXB0ZXIgYmxvY2sgZGVzY3JpcHRpb24nLCAndHRmYi1ibG9ja3MnKVxuICAgICAgICAgICAgICAgICAgICAgICAgKVxuICAgICAgICAgICAgICAgICAgICApXG4gICAgICAgICAgICAgICAgKSxcbiAgICAgICAgICAgICAgICB3cC5lbGVtZW50LmNyZWF0ZUVsZW1lbnQoXG4gICAgICAgICAgICAgICAgICAgIFBhbmVsQm9keSxcbiAgICAgICAgICAgICAgICAgICAgbnVsbCxcbiAgICAgICAgICAgICAgICAgICAgd3AuZWxlbWVudC5jcmVhdGVFbGVtZW50KFxuICAgICAgICAgICAgICAgICAgICAgICAgJ2gzJyxcbiAgICAgICAgICAgICAgICAgICAgICAgIG51bGwsXG4gICAgICAgICAgICAgICAgICAgICAgICBfXygnSGVhZGluZyBTZXR0aW5ncycpXG4gICAgICAgICAgICAgICAgICAgICksXG4gICAgICAgICAgICAgICAgICAgIHdwLmVsZW1lbnQuY3JlYXRlRWxlbWVudChcbiAgICAgICAgICAgICAgICAgICAgICAgICdwJyxcbiAgICAgICAgICAgICAgICAgICAgICAgIG51bGwsXG4gICAgICAgICAgICAgICAgICAgICAgICBfXygnTGV2ZWwnKVxuICAgICAgICAgICAgICAgICAgICApLFxuICAgICAgICAgICAgICAgICAgICB3cC5lbGVtZW50LmNyZWF0ZUVsZW1lbnQoVG9vbGJhciwge1xuICAgICAgICAgICAgICAgICAgICAgICAgY29udHJvbHM6ICcxMjM0NTYnLnNwbGl0KCcnKS5tYXAoZnVuY3Rpb24gKGxldmVsKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaWNvbjogJ2hlYWRpbmcnLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB0aXRsZTogc3ByaW50ZihfXygnSGVhZGluZyAlcycpLCBsZXZlbCksXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlzQWN0aXZlOiAnSCcgKyBsZXZlbCA9PT0gbm9kZU5hbWUsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIG9uQ2xpY2s6IGZ1bmN0aW9uIG9uQ2xpY2soKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gc2V0QXR0cmlidXRlcyh7IG5vZGVOYW1lOiAnSCcgKyBsZXZlbCB9KTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfSxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgc3Vic2NyaXB0OiBsZXZlbFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIH07XG4gICAgICAgICAgICAgICAgICAgICAgICB9KVxuICAgICAgICAgICAgICAgICAgICB9KSxcbiAgICAgICAgICAgICAgICAgICAgd3AuZWxlbWVudC5jcmVhdGVFbGVtZW50KFRleHRDb250cm9sLCB7XG4gICAgICAgICAgICAgICAgICAgICAgICBsYWJlbDogX18oJ0hUTUwgQW5jaG9yJywgJ3R0ZmItYmxvY2tzJyksXG4gICAgICAgICAgICAgICAgICAgICAgICB2YWx1ZTogYmxvY2tJZCxcbiAgICAgICAgICAgICAgICAgICAgICAgIG9uQ2hhbmdlOiBmdW5jdGlvbiBvbkNoYW5nZShibG9ja0lkKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIHNldEF0dHJpYnV0ZXMoeyBibG9ja0lkOiBibG9ja0lkIH0pO1xuICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICB9KVxuICAgICAgICAgICAgICAgICksXG4gICAgICAgICAgICAgICAgd3AuZWxlbWVudC5jcmVhdGVFbGVtZW50KFxuICAgICAgICAgICAgICAgICAgICBQYW5lbEJvZHksXG4gICAgICAgICAgICAgICAgICAgIG51bGwsXG4gICAgICAgICAgICAgICAgICAgIHdwLmVsZW1lbnQuY3JlYXRlRWxlbWVudChTZWxlY3RDb250cm9sLCB7XG4gICAgICAgICAgICAgICAgICAgICAgICBsYWJlbDogX18oJ0xheW91dCcsICd0dGZiLWJsb2NrcycpLFxuICAgICAgICAgICAgICAgICAgICAgICAgdmFsdWU6IGJsb2NrTGF5b3V0LFxuICAgICAgICAgICAgICAgICAgICAgICAgb3B0aW9uczogW3sgdmFsdWU6ICd0ZXh0JywgbGFiZWw6IF9fKCdUZXh0IG9ubHknLCAndHRmYi1ibG9ja3MnKSB9LCB7IHZhbHVlOiAnaW1hZ2UnLCBsYWJlbDogX18oJ0ltYWdlIG9ubHknLCAndHRmYi1ibG9ja3MnKSB9LCB7IHZhbHVlOiAnYm90aCcsIGxhYmVsOiBfXygnVGV4dCBhbmQgSW1hZ2UnLCAndHRmYi1ibG9ja3MnKSB9XSxcbiAgICAgICAgICAgICAgICAgICAgICAgIG9uQ2hhbmdlOiBmdW5jdGlvbiBvbkNoYW5nZShibG9ja0xheW91dCkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiBzZXRBdHRyaWJ1dGVzKHsgYmxvY2tMYXlvdXQ6IGJsb2NrTGF5b3V0IH0pO1xuICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICB9KVxuICAgICAgICAgICAgICAgICksXG4gICAgICAgICAgICAgICAgd3AuZWxlbWVudC5jcmVhdGVFbGVtZW50KFxuICAgICAgICAgICAgICAgICAgICBQYW5lbENvbG9yLFxuICAgICAgICAgICAgICAgICAgICB7XG4gICAgICAgICAgICAgICAgICAgICAgICB0aXRsZTogX18oJ0JhY2tncm91bmQgY29sb3InLCAndHRmYi1ibG9ja3MnKSxcbiAgICAgICAgICAgICAgICAgICAgICAgIGNvbG9yVmFsdWU6IGJsb2NrQmFja2dyb3VuZENvbG9yXG4gICAgICAgICAgICAgICAgICAgIH0sXG4gICAgICAgICAgICAgICAgICAgIHdwLmVsZW1lbnQuY3JlYXRlRWxlbWVudChDb2xvclBhbGV0dGUsIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIHZhbHVlOiBibG9ja0JhY2tncm91bmRDb2xvcixcbiAgICAgICAgICAgICAgICAgICAgICAgIG9uQ2hhbmdlOiBmdW5jdGlvbiBvbkNoYW5nZShibG9ja0JhY2tncm91bmRDb2xvcikge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiBzZXRBdHRyaWJ1dGVzKHsgYmxvY2tCYWNrZ3JvdW5kQ29sb3I6IGJsb2NrQmFja2dyb3VuZENvbG9yIH0pO1xuICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICB9KVxuICAgICAgICAgICAgICAgICksXG4gICAgICAgICAgICAgICAgd3AuZWxlbWVudC5jcmVhdGVFbGVtZW50KFxuICAgICAgICAgICAgICAgICAgICBQYW5lbENvbG9yLFxuICAgICAgICAgICAgICAgICAgICB7XG4gICAgICAgICAgICAgICAgICAgICAgICB0aXRsZTogX18oJ1RleHQgQ29sb3InLCAndHRmYi1ibG9ja3MnKSxcbiAgICAgICAgICAgICAgICAgICAgICAgIHZhbHVlOiB0aGlzLnByb3BzLmF0dHJpYnV0ZXMuYmxvY2tUZXh0Q29sb3IsXG4gICAgICAgICAgICAgICAgICAgICAgICBjb2xvclZhbHVlOiBibG9ja1RleHRDb2xvclxuICAgICAgICAgICAgICAgICAgICB9LFxuICAgICAgICAgICAgICAgICAgICB3cC5lbGVtZW50LmNyZWF0ZUVsZW1lbnQoQ29sb3JQYWxldHRlLCB7XG4gICAgICAgICAgICAgICAgICAgICAgICB2YWx1ZTogYmxvY2tUZXh0Q29sb3IsXG4gICAgICAgICAgICAgICAgICAgICAgICBvbkNoYW5nZTogZnVuY3Rpb24gb25DaGFuZ2UoYmxvY2tUZXh0Q29sb3IpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gc2V0QXR0cmlidXRlcyh7IGJsb2NrVGV4dENvbG9yOiBibG9ja1RleHRDb2xvciB9KTtcbiAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgfSlcbiAgICAgICAgICAgICAgICApLFxuICAgICAgICAgICAgICAgIHdwLmVsZW1lbnQuY3JlYXRlRWxlbWVudChcbiAgICAgICAgICAgICAgICAgICAgUGFuZWxDb2xvcixcbiAgICAgICAgICAgICAgICAgICAge1xuICAgICAgICAgICAgICAgICAgICAgICAgdGl0bGU6IF9fKCdTZXBhcmF0b3IgQ29sb3InLCAndHRmYi1ibG9ja3MnKSxcbiAgICAgICAgICAgICAgICAgICAgICAgIHZhbHVlOiB0aGlzLnByb3BzLmF0dHJpYnV0ZXMuYmxvY2tIckNvbG9yLFxuICAgICAgICAgICAgICAgICAgICAgICAgY29sb3JWYWx1ZTogYmxvY2tIckNvbG9yXG4gICAgICAgICAgICAgICAgICAgIH0sXG4gICAgICAgICAgICAgICAgICAgIHdwLmVsZW1lbnQuY3JlYXRlRWxlbWVudChDb2xvclBhbGV0dGUsIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIHZhbHVlOiBibG9ja0hyQ29sb3IsXG4gICAgICAgICAgICAgICAgICAgICAgICBvbkNoYW5nZTogZnVuY3Rpb24gb25DaGFuZ2UoYmxvY2tIckNvbG9yKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIHNldEF0dHJpYnV0ZXMoeyBibG9ja0hyQ29sb3I6IGJsb2NrSHJDb2xvciB9KTtcbiAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgfSlcbiAgICAgICAgICAgICAgICApXG4gICAgICAgICAgICApO1xuICAgICAgICB9XG4gICAgfV0pO1xuXG4gICAgcmV0dXJuIEluc3BlY3Rvcjtcbn0oQ29tcG9uZW50KTtcblxuZXhwb3J0IGRlZmF1bHQgSW5zcGVjdG9yO1xuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vYmxvY2tzL2NoYXB0ZXIvaW5zcGVjdG9yLmpzXG4vLyBtb2R1bGUgaWQgPSA2MFxuLy8gbW9kdWxlIGNodW5rcyA9IDAiXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///60\n");
/***/ }),
/* 61 */
/***/ (function(module, exports, __webpack_require__) {
eval("__webpack_require__(62);\nmodule.exports = __webpack_require__(0).Object.getPrototypeOf;\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNjEuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L2ZuL29iamVjdC9nZXQtcHJvdG90eXBlLW9mLmpzPzdkMmUiXSwic291cmNlc0NvbnRlbnQiOlsicmVxdWlyZSgnLi4vLi4vbW9kdWxlcy9lczYub2JqZWN0LmdldC1wcm90b3R5cGUtb2YnKTtcbm1vZHVsZS5leHBvcnRzID0gcmVxdWlyZSgnLi4vLi4vbW9kdWxlcy9fY29yZScpLk9iamVjdC5nZXRQcm90b3R5cGVPZjtcblxuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vbm9kZV9tb2R1bGVzL2NvcmUtanMvbGlicmFyeS9mbi9vYmplY3QvZ2V0LXByb3RvdHlwZS1vZi5qc1xuLy8gbW9kdWxlIGlkID0gNjFcbi8vIG1vZHVsZSBjaHVua3MgPSAwIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUNBOyIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///61\n");
/***/ }),
/* 62 */
/***/ (function(module, exports, __webpack_require__) {
eval("// 19.1.2.9 Object.getPrototypeOf(O)\nvar toObject = __webpack_require__(23);\nvar $getPrototypeOf = __webpack_require__(37);\n\n__webpack_require__(63)('getPrototypeOf', function () {\n return function getPrototypeOf(it) {\n return $getPrototypeOf(toObject(it));\n };\n});\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNjIuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvZXM2Lm9iamVjdC5nZXQtcHJvdG90eXBlLW9mLmpzPzJhMWUiXSwic291cmNlc0NvbnRlbnQiOlsiLy8gMTkuMS4yLjkgT2JqZWN0LmdldFByb3RvdHlwZU9mKE8pXG52YXIgdG9PYmplY3QgPSByZXF1aXJlKCcuL190by1vYmplY3QnKTtcbnZhciAkZ2V0UHJvdG90eXBlT2YgPSByZXF1aXJlKCcuL19vYmplY3QtZ3BvJyk7XG5cbnJlcXVpcmUoJy4vX29iamVjdC1zYXAnKSgnZ2V0UHJvdG90eXBlT2YnLCBmdW5jdGlvbiAoKSB7XG4gIHJldHVybiBmdW5jdGlvbiBnZXRQcm90b3R5cGVPZihpdCkge1xuICAgIHJldHVybiAkZ2V0UHJvdG90eXBlT2YodG9PYmplY3QoaXQpKTtcbiAgfTtcbn0pO1xuXG5cblxuLy8vLy8vLy8vLy8vLy8vLy8vXG4vLyBXRUJQQUNLIEZPT1RFUlxuLy8gLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvZXM2Lm9iamVjdC5nZXQtcHJvdG90eXBlLW9mLmpzXG4vLyBtb2R1bGUgaWQgPSA2MlxuLy8gbW9kdWxlIGNodW5rcyA9IDAiXSwibWFwcGluZ3MiOiJBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTsiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///62\n");
/***/ }),
/* 63 */
/***/ (function(module, exports, __webpack_require__) {
eval("// most Object methods by ES6 should accept primitives\nvar $export = __webpack_require__(2);\nvar core = __webpack_require__(0);\nvar fails = __webpack_require__(8);\nmodule.exports = function (KEY, exec) {\n var fn = (core.Object || {})[KEY] || Object[KEY];\n var exp = {};\n exp[KEY] = exec(fn);\n $export($export.S + $export.F * fails(function () { fn(1); }), 'Object', exp);\n};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNjMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX29iamVjdC1zYXAuanM/YmFhNSJdLCJzb3VyY2VzQ29udGVudCI6WyIvLyBtb3N0IE9iamVjdCBtZXRob2RzIGJ5IEVTNiBzaG91bGQgYWNjZXB0IHByaW1pdGl2ZXNcbnZhciAkZXhwb3J0ID0gcmVxdWlyZSgnLi9fZXhwb3J0Jyk7XG52YXIgY29yZSA9IHJlcXVpcmUoJy4vX2NvcmUnKTtcbnZhciBmYWlscyA9IHJlcXVpcmUoJy4vX2ZhaWxzJyk7XG5tb2R1bGUuZXhwb3J0cyA9IGZ1bmN0aW9uIChLRVksIGV4ZWMpIHtcbiAgdmFyIGZuID0gKGNvcmUuT2JqZWN0IHx8IHt9KVtLRVldIHx8IE9iamVjdFtLRVldO1xuICB2YXIgZXhwID0ge307XG4gIGV4cFtLRVldID0gZXhlYyhmbik7XG4gICRleHBvcnQoJGV4cG9ydC5TICsgJGV4cG9ydC5GICogZmFpbHMoZnVuY3Rpb24gKCkgeyBmbigxKTsgfSksICdPYmplY3QnLCBleHApO1xufTtcblxuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vbm9kZV9tb2R1bGVzL2NvcmUtanMvbGlicmFyeS9tb2R1bGVzL19vYmplY3Qtc2FwLmpzXG4vLyBtb2R1bGUgaWQgPSA2M1xuLy8gbW9kdWxlIGNodW5rcyA9IDAiXSwibWFwcGluZ3MiOiJBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOyIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///63\n");
/***/ }),
/* 64 */
/***/ (function(module, exports, __webpack_require__) {
eval("module.exports = { \"default\": __webpack_require__(65), __esModule: true };//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNjQuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvYmFiZWwtcnVudGltZS9jb3JlLWpzL29iamVjdC9kZWZpbmUtcHJvcGVydHkuanM/MGI4MyJdLCJzb3VyY2VzQ29udGVudCI6WyJtb2R1bGUuZXhwb3J0cyA9IHsgXCJkZWZhdWx0XCI6IHJlcXVpcmUoXCJjb3JlLWpzL2xpYnJhcnkvZm4vb2JqZWN0L2RlZmluZS1wcm9wZXJ0eVwiKSwgX19lc01vZHVsZTogdHJ1ZSB9O1xuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vbm9kZV9tb2R1bGVzL2JhYmVsLXJ1bnRpbWUvY29yZS1qcy9vYmplY3QvZGVmaW5lLXByb3BlcnR5LmpzXG4vLyBtb2R1bGUgaWQgPSA2NFxuLy8gbW9kdWxlIGNodW5rcyA9IDAiXSwibWFwcGluZ3MiOiJBQUFBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///64\n");
/***/ }),
/* 65 */
/***/ (function(module, exports, __webpack_require__) {
eval("__webpack_require__(66);\nvar $Object = __webpack_require__(0).Object;\nmodule.exports = function defineProperty(it, key, desc) {\n return $Object.defineProperty(it, key, desc);\n};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNjUuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L2ZuL29iamVjdC9kZWZpbmUtcHJvcGVydHkuanM/ZjViMCJdLCJzb3VyY2VzQ29udGVudCI6WyJyZXF1aXJlKCcuLi8uLi9tb2R1bGVzL2VzNi5vYmplY3QuZGVmaW5lLXByb3BlcnR5Jyk7XG52YXIgJE9iamVjdCA9IHJlcXVpcmUoJy4uLy4uL21vZHVsZXMvX2NvcmUnKS5PYmplY3Q7XG5tb2R1bGUuZXhwb3J0cyA9IGZ1bmN0aW9uIGRlZmluZVByb3BlcnR5KGl0LCBrZXksIGRlc2MpIHtcbiAgcmV0dXJuICRPYmplY3QuZGVmaW5lUHJvcGVydHkoaXQsIGtleSwgZGVzYyk7XG59O1xuXG5cblxuLy8vLy8vLy8vLy8vLy8vLy8vXG4vLyBXRUJQQUNLIEZPT1RFUlxuLy8gLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L2ZuL29iamVjdC9kZWZpbmUtcHJvcGVydHkuanNcbi8vIG1vZHVsZSBpZCA9IDY1XG4vLyBtb2R1bGUgY2h1bmtzID0gMCJdLCJtYXBwaW5ncyI6IkFBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTsiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///65\n");
/***/ }),
/* 66 */
/***/ (function(module, exports, __webpack_require__) {
eval("var $export = __webpack_require__(2);\n// 19.1.2.4 / 15.2.3.6 Object.defineProperty(O, P, Attributes)\n$export($export.S + $export.F * !__webpack_require__(4), 'Object', { defineProperty: __webpack_require__(3).f });\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNjYuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvZXM2Lm9iamVjdC5kZWZpbmUtcHJvcGVydHkuanM/OTgyOSJdLCJzb3VyY2VzQ29udGVudCI6WyJ2YXIgJGV4cG9ydCA9IHJlcXVpcmUoJy4vX2V4cG9ydCcpO1xuLy8gMTkuMS4yLjQgLyAxNS4yLjMuNiBPYmplY3QuZGVmaW5lUHJvcGVydHkoTywgUCwgQXR0cmlidXRlcylcbiRleHBvcnQoJGV4cG9ydC5TICsgJGV4cG9ydC5GICogIXJlcXVpcmUoJy4vX2Rlc2NyaXB0b3JzJyksICdPYmplY3QnLCB7IGRlZmluZVByb3BlcnR5OiByZXF1aXJlKCcuL19vYmplY3QtZHAnKS5mIH0pO1xuXG5cblxuLy8vLy8vLy8vLy8vLy8vLy8vXG4vLyBXRUJQQUNLIEZPT1RFUlxuLy8gLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvZXM2Lm9iamVjdC5kZWZpbmUtcHJvcGVydHkuanNcbi8vIG1vZHVsZSBpZCA9IDY2XG4vLyBtb2R1bGUgY2h1bmtzID0gMCJdLCJtYXBwaW5ncyI6IkFBQUE7QUFDQTtBQUNBOyIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///66\n");
/***/ }),
/* 67 */
/***/ (function(module, exports, __webpack_require__) {
eval("module.exports = { \"default\": __webpack_require__(68), __esModule: true };//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNjcuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvYmFiZWwtcnVudGltZS9jb3JlLWpzL3N5bWJvbC9pdGVyYXRvci5qcz82NzM4Il0sInNvdXJjZXNDb250ZW50IjpbIm1vZHVsZS5leHBvcnRzID0geyBcImRlZmF1bHRcIjogcmVxdWlyZShcImNvcmUtanMvbGlicmFyeS9mbi9zeW1ib2wvaXRlcmF0b3JcIiksIF9fZXNNb2R1bGU6IHRydWUgfTtcblxuXG4vLy8vLy8vLy8vLy8vLy8vLy9cbi8vIFdFQlBBQ0sgRk9PVEVSXG4vLyAuL25vZGVfbW9kdWxlcy9iYWJlbC1ydW50aW1lL2NvcmUtanMvc3ltYm9sL2l0ZXJhdG9yLmpzXG4vLyBtb2R1bGUgaWQgPSA2N1xuLy8gbW9kdWxlIGNodW5rcyA9IDAiXSwibWFwcGluZ3MiOiJBQUFBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///67\n");
/***/ }),
/* 68 */
/***/ (function(module, exports, __webpack_require__) {
eval("__webpack_require__(69);\n__webpack_require__(74);\nmodule.exports = __webpack_require__(28).f('iterator');\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNjguanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L2ZuL3N5bWJvbC9pdGVyYXRvci5qcz9mZTdlIl0sInNvdXJjZXNDb250ZW50IjpbInJlcXVpcmUoJy4uLy4uL21vZHVsZXMvZXM2LnN0cmluZy5pdGVyYXRvcicpO1xucmVxdWlyZSgnLi4vLi4vbW9kdWxlcy93ZWIuZG9tLml0ZXJhYmxlJyk7XG5tb2R1bGUuZXhwb3J0cyA9IHJlcXVpcmUoJy4uLy4uL21vZHVsZXMvX3drcy1leHQnKS5mKCdpdGVyYXRvcicpO1xuXG5cblxuLy8vLy8vLy8vLy8vLy8vLy8vXG4vLyBXRUJQQUNLIEZPT1RFUlxuLy8gLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L2ZuL3N5bWJvbC9pdGVyYXRvci5qc1xuLy8gbW9kdWxlIGlkID0gNjhcbi8vIG1vZHVsZSBjaHVua3MgPSAwIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUNBO0FBQ0E7Iiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///68\n");
/***/ }),
/* 69 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\nvar $at = __webpack_require__(70)(true);\n\n// 21.1.3.27 String.prototype[@@iterator]()\n__webpack_require__(42)(String, 'String', function (iterated) {\n this._t = String(iterated); // target\n this._i = 0; // next index\n// 21.1.5.2.1 %StringIteratorPrototype%.next()\n}, function () {\n var O = this._t;\n var index = this._i;\n var point;\n if (index >= O.length) return { value: undefined, done: true };\n point = $at(O, index);\n this._i += point.length;\n return { value: point, done: false };\n});\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNjkuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvZXM2LnN0cmluZy5pdGVyYXRvci5qcz9jZDA0Il0sInNvdXJjZXNDb250ZW50IjpbIid1c2Ugc3RyaWN0JztcbnZhciAkYXQgPSByZXF1aXJlKCcuL19zdHJpbmctYXQnKSh0cnVlKTtcblxuLy8gMjEuMS4zLjI3IFN0cmluZy5wcm90b3R5cGVbQEBpdGVyYXRvcl0oKVxucmVxdWlyZSgnLi9faXRlci1kZWZpbmUnKShTdHJpbmcsICdTdHJpbmcnLCBmdW5jdGlvbiAoaXRlcmF0ZWQpIHtcbiAgdGhpcy5fdCA9IFN0cmluZyhpdGVyYXRlZCk7IC8vIHRhcmdldFxuICB0aGlzLl9pID0gMDsgICAgICAgICAgICAgICAgLy8gbmV4dCBpbmRleFxuLy8gMjEuMS41LjIuMSAlU3RyaW5nSXRlcmF0b3JQcm90b3R5cGUlLm5leHQoKVxufSwgZnVuY3Rpb24gKCkge1xuICB2YXIgTyA9IHRoaXMuX3Q7XG4gIHZhciBpbmRleCA9IHRoaXMuX2k7XG4gIHZhciBwb2ludDtcbiAgaWYgKGluZGV4ID49IE8ubGVuZ3RoKSByZXR1cm4geyB2YWx1ZTogdW5kZWZpbmVkLCBkb25lOiB0cnVlIH07XG4gIHBvaW50ID0gJGF0KE8sIGluZGV4KTtcbiAgdGhpcy5faSArPSBwb2ludC5sZW5ndGg7XG4gIHJldHVybiB7IHZhbHVlOiBwb2ludCwgZG9uZTogZmFsc2UgfTtcbn0pO1xuXG5cblxuLy8vLy8vLy8vLy8vLy8vLy8vXG4vLyBXRUJQQUNLIEZPT1RFUlxuLy8gLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvZXM2LnN0cmluZy5pdGVyYXRvci5qc1xuLy8gbW9kdWxlIGlkID0gNjlcbi8vIG1vZHVsZSBjaHVua3MgPSAwIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOyIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///69\n");
/***/ }),
/* 70 */
/***/ (function(module, exports, __webpack_require__) {
eval("var toInteger = __webpack_require__(18);\nvar defined = __webpack_require__(17);\n// true -> String#at\n// false -> String#codePointAt\nmodule.exports = function (TO_STRING) {\n return function (that, pos) {\n var s = String(defined(that));\n var i = toInteger(pos);\n var l = s.length;\n var a, b;\n if (i < 0 || i >= l) return TO_STRING ? '' : undefined;\n a = s.charCodeAt(i);\n return a < 0xd800 || a > 0xdbff || i + 1 === l || (b = s.charCodeAt(i + 1)) < 0xdc00 || b > 0xdfff\n ? TO_STRING ? s.charAt(i) : a\n : TO_STRING ? s.slice(i, i + 2) : (a - 0xd800 << 10) + (b - 0xdc00) + 0x10000;\n };\n};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNzAuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX3N0cmluZy1hdC5qcz84N2FlIl0sInNvdXJjZXNDb250ZW50IjpbInZhciB0b0ludGVnZXIgPSByZXF1aXJlKCcuL190by1pbnRlZ2VyJyk7XG52YXIgZGVmaW5lZCA9IHJlcXVpcmUoJy4vX2RlZmluZWQnKTtcbi8vIHRydWUgIC0+IFN0cmluZyNhdFxuLy8gZmFsc2UgLT4gU3RyaW5nI2NvZGVQb2ludEF0XG5tb2R1bGUuZXhwb3J0cyA9IGZ1bmN0aW9uIChUT19TVFJJTkcpIHtcbiAgcmV0dXJuIGZ1bmN0aW9uICh0aGF0LCBwb3MpIHtcbiAgICB2YXIgcyA9IFN0cmluZyhkZWZpbmVkKHRoYXQpKTtcbiAgICB2YXIgaSA9IHRvSW50ZWdlcihwb3MpO1xuICAgIHZhciBsID0gcy5sZW5ndGg7XG4gICAgdmFyIGEsIGI7XG4gICAgaWYgKGkgPCAwIHx8IGkgPj0gbCkgcmV0dXJuIFRPX1NUUklORyA/ICcnIDogdW5kZWZpbmVkO1xuICAgIGEgPSBzLmNoYXJDb2RlQXQoaSk7XG4gICAgcmV0dXJuIGEgPCAweGQ4MDAgfHwgYSA+IDB4ZGJmZiB8fCBpICsgMSA9PT0gbCB8fCAoYiA9IHMuY2hhckNvZGVBdChpICsgMSkpIDwgMHhkYzAwIHx8IGIgPiAweGRmZmZcbiAgICAgID8gVE9fU1RSSU5HID8gcy5jaGFyQXQoaSkgOiBhXG4gICAgICA6IFRPX1NUUklORyA/IHMuc2xpY2UoaSwgaSArIDIpIDogKGEgLSAweGQ4MDAgPDwgMTApICsgKGIgLSAweGRjMDApICsgMHgxMDAwMDtcbiAgfTtcbn07XG5cblxuXG4vLy8vLy8vLy8vLy8vLy8vLy9cbi8vIFdFQlBBQ0sgRk9PVEVSXG4vLyAuL25vZGVfbW9kdWxlcy9jb3JlLWpzL2xpYnJhcnkvbW9kdWxlcy9fc3RyaW5nLWF0LmpzXG4vLyBtb2R1bGUgaWQgPSA3MFxuLy8gbW9kdWxlIGNodW5rcyA9IDAiXSwibWFwcGluZ3MiOiJBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7Iiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///70\n");
/***/ }),
/* 71 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\nvar create = __webpack_require__(26);\nvar descriptor = __webpack_require__(12);\nvar setToStringTag = __webpack_require__(27);\nvar IteratorPrototype = {};\n\n// 25.1.2.1.1 %IteratorPrototype%[@@iterator]()\n__webpack_require__(6)(IteratorPrototype, __webpack_require__(10)('iterator'), function () { return this; });\n\nmodule.exports = function (Constructor, NAME, next) {\n Constructor.prototype = create(IteratorPrototype, { next: descriptor(1, next) });\n setToStringTag(Constructor, NAME + ' Iterator');\n};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNzEuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX2l0ZXItY3JlYXRlLmpzP2Y3ODUiXSwic291cmNlc0NvbnRlbnQiOlsiJ3VzZSBzdHJpY3QnO1xudmFyIGNyZWF0ZSA9IHJlcXVpcmUoJy4vX29iamVjdC1jcmVhdGUnKTtcbnZhciBkZXNjcmlwdG9yID0gcmVxdWlyZSgnLi9fcHJvcGVydHktZGVzYycpO1xudmFyIHNldFRvU3RyaW5nVGFnID0gcmVxdWlyZSgnLi9fc2V0LXRvLXN0cmluZy10YWcnKTtcbnZhciBJdGVyYXRvclByb3RvdHlwZSA9IHt9O1xuXG4vLyAyNS4xLjIuMS4xICVJdGVyYXRvclByb3RvdHlwZSVbQEBpdGVyYXRvcl0oKVxucmVxdWlyZSgnLi9faGlkZScpKEl0ZXJhdG9yUHJvdG90eXBlLCByZXF1aXJlKCcuL193a3MnKSgnaXRlcmF0b3InKSwgZnVuY3Rpb24gKCkgeyByZXR1cm4gdGhpczsgfSk7XG5cbm1vZHVsZS5leHBvcnRzID0gZnVuY3Rpb24gKENvbnN0cnVjdG9yLCBOQU1FLCBuZXh0KSB7XG4gIENvbnN0cnVjdG9yLnByb3RvdHlwZSA9IGNyZWF0ZShJdGVyYXRvclByb3RvdHlwZSwgeyBuZXh0OiBkZXNjcmlwdG9yKDEsIG5leHQpIH0pO1xuICBzZXRUb1N0cmluZ1RhZyhDb25zdHJ1Y3RvciwgTkFNRSArICcgSXRlcmF0b3InKTtcbn07XG5cblxuXG4vLy8vLy8vLy8vLy8vLy8vLy9cbi8vIFdFQlBBQ0sgRk9PVEVSXG4vLyAuL25vZGVfbW9kdWxlcy9jb3JlLWpzL2xpYnJhcnkvbW9kdWxlcy9faXRlci1jcmVhdGUuanNcbi8vIG1vZHVsZSBpZCA9IDcxXG4vLyBtb2R1bGUgY2h1bmtzID0gMCJdLCJtYXBwaW5ncyI6IkFBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7Iiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///71\n");
/***/ }),
/* 72 */
/***/ (function(module, exports, __webpack_require__) {
eval("var dP = __webpack_require__(3);\nvar anObject = __webpack_require__(11);\nvar getKeys = __webpack_require__(13);\n\nmodule.exports = __webpack_require__(4) ? Object.defineProperties : function defineProperties(O, Properties) {\n anObject(O);\n var keys = getKeys(Properties);\n var length = keys.length;\n var i = 0;\n var P;\n while (length > i) dP.f(O, P = keys[i++], Properties[P]);\n return O;\n};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNzIuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX29iamVjdC1kcHMuanM/YWEyYSJdLCJzb3VyY2VzQ29udGVudCI6WyJ2YXIgZFAgPSByZXF1aXJlKCcuL19vYmplY3QtZHAnKTtcbnZhciBhbk9iamVjdCA9IHJlcXVpcmUoJy4vX2FuLW9iamVjdCcpO1xudmFyIGdldEtleXMgPSByZXF1aXJlKCcuL19vYmplY3Qta2V5cycpO1xuXG5tb2R1bGUuZXhwb3J0cyA9IHJlcXVpcmUoJy4vX2Rlc2NyaXB0b3JzJykgPyBPYmplY3QuZGVmaW5lUHJvcGVydGllcyA6IGZ1bmN0aW9uIGRlZmluZVByb3BlcnRpZXMoTywgUHJvcGVydGllcykge1xuICBhbk9iamVjdChPKTtcbiAgdmFyIGtleXMgPSBnZXRLZXlzKFByb3BlcnRpZXMpO1xuICB2YXIgbGVuZ3RoID0ga2V5cy5sZW5ndGg7XG4gIHZhciBpID0gMDtcbiAgdmFyIFA7XG4gIHdoaWxlIChsZW5ndGggPiBpKSBkUC5mKE8sIFAgPSBrZXlzW2krK10sIFByb3BlcnRpZXNbUF0pO1xuICByZXR1cm4gTztcbn07XG5cblxuXG4vLy8vLy8vLy8vLy8vLy8vLy9cbi8vIFdFQlBBQ0sgRk9PVEVSXG4vLyAuL25vZGVfbW9kdWxlcy9jb3JlLWpzL2xpYnJhcnkvbW9kdWxlcy9fb2JqZWN0LWRwcy5qc1xuLy8gbW9kdWxlIGlkID0gNzJcbi8vIG1vZHVsZSBjaHVua3MgPSAwIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTsiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///72\n");
/***/ }),
/* 73 */
/***/ (function(module, exports, __webpack_require__) {
eval("var document = __webpack_require__(1).document;\nmodule.exports = document && document.documentElement;\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNzMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX2h0bWwuanM/NDRmMiJdLCJzb3VyY2VzQ29udGVudCI6WyJ2YXIgZG9jdW1lbnQgPSByZXF1aXJlKCcuL19nbG9iYWwnKS5kb2N1bWVudDtcbm1vZHVsZS5leHBvcnRzID0gZG9jdW1lbnQgJiYgZG9jdW1lbnQuZG9jdW1lbnRFbGVtZW50O1xuXG5cblxuLy8vLy8vLy8vLy8vLy8vLy8vXG4vLyBXRUJQQUNLIEZPT1RFUlxuLy8gLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX2h0bWwuanNcbi8vIG1vZHVsZSBpZCA9IDczXG4vLyBtb2R1bGUgY2h1bmtzID0gMCJdLCJtYXBwaW5ncyI6IkFBQUE7QUFDQTsiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///73\n");
/***/ }),
/* 74 */
/***/ (function(module, exports, __webpack_require__) {
eval("__webpack_require__(75);\nvar global = __webpack_require__(1);\nvar hide = __webpack_require__(6);\nvar Iterators = __webpack_require__(25);\nvar TO_STRING_TAG = __webpack_require__(10)('toStringTag');\n\nvar DOMIterables = ('CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,' +\n 'DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,' +\n 'MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,' +\n 'SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,' +\n 'TextTrackList,TouchList').split(',');\n\nfor (var i = 0; i < DOMIterables.length; i++) {\n var NAME = DOMIterables[i];\n var Collection = global[NAME];\n var proto = Collection && Collection.prototype;\n if (proto && !proto[TO_STRING_TAG]) hide(proto, TO_STRING_TAG, NAME);\n Iterators[NAME] = Iterators.Array;\n}\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNzQuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvd2ViLmRvbS5pdGVyYWJsZS5qcz9mYWQzIl0sInNvdXJjZXNDb250ZW50IjpbInJlcXVpcmUoJy4vZXM2LmFycmF5Lml0ZXJhdG9yJyk7XG52YXIgZ2xvYmFsID0gcmVxdWlyZSgnLi9fZ2xvYmFsJyk7XG52YXIgaGlkZSA9IHJlcXVpcmUoJy4vX2hpZGUnKTtcbnZhciBJdGVyYXRvcnMgPSByZXF1aXJlKCcuL19pdGVyYXRvcnMnKTtcbnZhciBUT19TVFJJTkdfVEFHID0gcmVxdWlyZSgnLi9fd2tzJykoJ3RvU3RyaW5nVGFnJyk7XG5cbnZhciBET01JdGVyYWJsZXMgPSAoJ0NTU1J1bGVMaXN0LENTU1N0eWxlRGVjbGFyYXRpb24sQ1NTVmFsdWVMaXN0LENsaWVudFJlY3RMaXN0LERPTVJlY3RMaXN0LERPTVN0cmluZ0xpc3QsJyArXG4gICdET01Ub2tlbkxpc3QsRGF0YVRyYW5zZmVySXRlbUxpc3QsRmlsZUxpc3QsSFRNTEFsbENvbGxlY3Rpb24sSFRNTENvbGxlY3Rpb24sSFRNTEZvcm1FbGVtZW50LEhUTUxTZWxlY3RFbGVtZW50LCcgK1xuICAnTWVkaWFMaXN0LE1pbWVUeXBlQXJyYXksTmFtZWROb2RlTWFwLE5vZGVMaXN0LFBhaW50UmVxdWVzdExpc3QsUGx1Z2luLFBsdWdpbkFycmF5LFNWR0xlbmd0aExpc3QsU1ZHTnVtYmVyTGlzdCwnICtcbiAgJ1NWR1BhdGhTZWdMaXN0LFNWR1BvaW50TGlzdCxTVkdTdHJpbmdMaXN0LFNWR1RyYW5zZm9ybUxpc3QsU291cmNlQnVmZmVyTGlzdCxTdHlsZVNoZWV0TGlzdCxUZXh0VHJhY2tDdWVMaXN0LCcgK1xuICAnVGV4dFRyYWNrTGlzdCxUb3VjaExpc3QnKS5zcGxpdCgnLCcpO1xuXG5mb3IgKHZhciBpID0gMDsgaSA8IERPTUl0ZXJhYmxlcy5sZW5ndGg7IGkrKykge1xuICB2YXIgTkFNRSA9IERPTUl0ZXJhYmxlc1tpXTtcbiAgdmFyIENvbGxlY3Rpb24gPSBnbG9iYWxbTkFNRV07XG4gIHZhciBwcm90byA9IENvbGxlY3Rpb24gJiYgQ29sbGVjdGlvbi5wcm90b3R5cGU7XG4gIGlmIChwcm90byAmJiAhcHJvdG9bVE9fU1RSSU5HX1RBR10pIGhpZGUocHJvdG8sIFRPX1NUUklOR19UQUcsIE5BTUUpO1xuICBJdGVyYXRvcnNbTkFNRV0gPSBJdGVyYXRvcnMuQXJyYXk7XG59XG5cblxuXG4vLy8vLy8vLy8vLy8vLy8vLy9cbi8vIFdFQlBBQ0sgRk9PVEVSXG4vLyAuL25vZGVfbW9kdWxlcy9jb3JlLWpzL2xpYnJhcnkvbW9kdWxlcy93ZWIuZG9tLml0ZXJhYmxlLmpzXG4vLyBtb2R1bGUgaWQgPSA3NFxuLy8gbW9kdWxlIGNodW5rcyA9IDAiXSwibWFwcGluZ3MiOiJBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOyIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///74\n");
/***/ }),
/* 75 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\nvar addToUnscopables = __webpack_require__(76);\nvar step = __webpack_require__(77);\nvar Iterators = __webpack_require__(25);\nvar toIObject = __webpack_require__(9);\n\n// 22.1.3.4 Array.prototype.entries()\n// 22.1.3.13 Array.prototype.keys()\n// 22.1.3.29 Array.prototype.values()\n// 22.1.3.30 Array.prototype[@@iterator]()\nmodule.exports = __webpack_require__(42)(Array, 'Array', function (iterated, kind) {\n this._t = toIObject(iterated); // target\n this._i = 0; // next index\n this._k = kind; // kind\n// 22.1.5.2.1 %ArrayIteratorPrototype%.next()\n}, function () {\n var O = this._t;\n var kind = this._k;\n var index = this._i++;\n if (!O || index >= O.length) {\n this._t = undefined;\n return step(1);\n }\n if (kind == 'keys') return step(0, index);\n if (kind == 'values') return step(0, O[index]);\n return step(0, [index, O[index]]);\n}, 'values');\n\n// argumentsList[@@iterator] is %ArrayProto_values% (9.4.4.6, 9.4.4.7)\nIterators.Arguments = Iterators.Array;\n\naddToUnscopables('keys');\naddToUnscopables('values');\naddToUnscopables('entries');\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNzUuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvZXM2LmFycmF5Lml0ZXJhdG9yLmpzP2M0NjkiXSwic291cmNlc0NvbnRlbnQiOlsiJ3VzZSBzdHJpY3QnO1xudmFyIGFkZFRvVW5zY29wYWJsZXMgPSByZXF1aXJlKCcuL19hZGQtdG8tdW5zY29wYWJsZXMnKTtcbnZhciBzdGVwID0gcmVxdWlyZSgnLi9faXRlci1zdGVwJyk7XG52YXIgSXRlcmF0b3JzID0gcmVxdWlyZSgnLi9faXRlcmF0b3JzJyk7XG52YXIgdG9JT2JqZWN0ID0gcmVxdWlyZSgnLi9fdG8taW9iamVjdCcpO1xuXG4vLyAyMi4xLjMuNCBBcnJheS5wcm90b3R5cGUuZW50cmllcygpXG4vLyAyMi4xLjMuMTMgQXJyYXkucHJvdG90eXBlLmtleXMoKVxuLy8gMjIuMS4zLjI5IEFycmF5LnByb3RvdHlwZS52YWx1ZXMoKVxuLy8gMjIuMS4zLjMwIEFycmF5LnByb3RvdHlwZVtAQGl0ZXJhdG9yXSgpXG5tb2R1bGUuZXhwb3J0cyA9IHJlcXVpcmUoJy4vX2l0ZXItZGVmaW5lJykoQXJyYXksICdBcnJheScsIGZ1bmN0aW9uIChpdGVyYXRlZCwga2luZCkge1xuICB0aGlzLl90ID0gdG9JT2JqZWN0KGl0ZXJhdGVkKTsgLy8gdGFyZ2V0XG4gIHRoaXMuX2kgPSAwOyAgICAgICAgICAgICAgICAgICAvLyBuZXh0IGluZGV4XG4gIHRoaXMuX2sgPSBraW5kOyAgICAgICAgICAgICAgICAvLyBraW5kXG4vLyAyMi4xLjUuMi4xICVBcnJheUl0ZXJhdG9yUHJvdG90eXBlJS5uZXh0KClcbn0sIGZ1bmN0aW9uICgpIHtcbiAgdmFyIE8gPSB0aGlzLl90O1xuICB2YXIga2luZCA9IHRoaXMuX2s7XG4gIHZhciBpbmRleCA9IHRoaXMuX2krKztcbiAgaWYgKCFPIHx8IGluZGV4ID49IE8ubGVuZ3RoKSB7XG4gICAgdGhpcy5fdCA9IHVuZGVmaW5lZDtcbiAgICByZXR1cm4gc3RlcCgxKTtcbiAgfVxuICBpZiAoa2luZCA9PSAna2V5cycpIHJldHVybiBzdGVwKDAsIGluZGV4KTtcbiAgaWYgKGtpbmQgPT0gJ3ZhbHVlcycpIHJldHVybiBzdGVwKDAsIE9baW5kZXhdKTtcbiAgcmV0dXJuIHN0ZXAoMCwgW2luZGV4LCBPW2luZGV4XV0pO1xufSwgJ3ZhbHVlcycpO1xuXG4vLyBhcmd1bWVudHNMaXN0W0BAaXRlcmF0b3JdIGlzICVBcnJheVByb3RvX3ZhbHVlcyUgKDkuNC40LjYsIDkuNC40LjcpXG5JdGVyYXRvcnMuQXJndW1lbnRzID0gSXRlcmF0b3JzLkFycmF5O1xuXG5hZGRUb1Vuc2NvcGFibGVzKCdrZXlzJyk7XG5hZGRUb1Vuc2NvcGFibGVzKCd2YWx1ZXMnKTtcbmFkZFRvVW5zY29wYWJsZXMoJ2VudHJpZXMnKTtcblxuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vbm9kZV9tb2R1bGVzL2NvcmUtanMvbGlicmFyeS9tb2R1bGVzL2VzNi5hcnJheS5pdGVyYXRvci5qc1xuLy8gbW9kdWxlIGlkID0gNzVcbi8vIG1vZHVsZSBjaHVua3MgPSAwIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTsiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///75\n");
/***/ }),
/* 76 */
/***/ (function(module, exports) {
eval("module.exports = function () { /* empty */ };\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNzYuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX2FkZC10by11bnNjb3BhYmxlcy5qcz9lMjY3Il0sInNvdXJjZXNDb250ZW50IjpbIm1vZHVsZS5leHBvcnRzID0gZnVuY3Rpb24gKCkgeyAvKiBlbXB0eSAqLyB9O1xuXG5cblxuLy8vLy8vLy8vLy8vLy8vLy8vXG4vLyBXRUJQQUNLIEZPT1RFUlxuLy8gLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX2FkZC10by11bnNjb3BhYmxlcy5qc1xuLy8gbW9kdWxlIGlkID0gNzZcbi8vIG1vZHVsZSBjaHVua3MgPSAwIl0sIm1hcHBpbmdzIjoiQUFBQTsiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///76\n");
/***/ }),
/* 77 */
/***/ (function(module, exports) {
eval("module.exports = function (done, value) {\n return { value: value, done: !!done };\n};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNzcuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX2l0ZXItc3RlcC5qcz8xMDY2Il0sInNvdXJjZXNDb250ZW50IjpbIm1vZHVsZS5leHBvcnRzID0gZnVuY3Rpb24gKGRvbmUsIHZhbHVlKSB7XG4gIHJldHVybiB7IHZhbHVlOiB2YWx1ZSwgZG9uZTogISFkb25lIH07XG59O1xuXG5cblxuLy8vLy8vLy8vLy8vLy8vLy8vXG4vLyBXRUJQQUNLIEZPT1RFUlxuLy8gLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX2l0ZXItc3RlcC5qc1xuLy8gbW9kdWxlIGlkID0gNzdcbi8vIG1vZHVsZSBjaHVua3MgPSAwIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUNBO0FBQ0E7Iiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///77\n");
/***/ }),
/* 78 */
/***/ (function(module, exports, __webpack_require__) {
eval("module.exports = { \"default\": __webpack_require__(79), __esModule: true };//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNzguanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvYmFiZWwtcnVudGltZS9jb3JlLWpzL3N5bWJvbC5qcz9lNTA1Il0sInNvdXJjZXNDb250ZW50IjpbIm1vZHVsZS5leHBvcnRzID0geyBcImRlZmF1bHRcIjogcmVxdWlyZShcImNvcmUtanMvbGlicmFyeS9mbi9zeW1ib2xcIiksIF9fZXNNb2R1bGU6IHRydWUgfTtcblxuXG4vLy8vLy8vLy8vLy8vLy8vLy9cbi8vIFdFQlBBQ0sgRk9PVEVSXG4vLyAuL25vZGVfbW9kdWxlcy9iYWJlbC1ydW50aW1lL2NvcmUtanMvc3ltYm9sLmpzXG4vLyBtb2R1bGUgaWQgPSA3OFxuLy8gbW9kdWxlIGNodW5rcyA9IDAiXSwibWFwcGluZ3MiOiJBQUFBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///78\n");
/***/ }),
/* 79 */
/***/ (function(module, exports, __webpack_require__) {
eval("__webpack_require__(80);\n__webpack_require__(85);\n__webpack_require__(86);\n__webpack_require__(87);\nmodule.exports = __webpack_require__(0).Symbol;\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNzkuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L2ZuL3N5bWJvbC9pbmRleC5qcz8wNzA3Il0sInNvdXJjZXNDb250ZW50IjpbInJlcXVpcmUoJy4uLy4uL21vZHVsZXMvZXM2LnN5bWJvbCcpO1xucmVxdWlyZSgnLi4vLi4vbW9kdWxlcy9lczYub2JqZWN0LnRvLXN0cmluZycpO1xucmVxdWlyZSgnLi4vLi4vbW9kdWxlcy9lczcuc3ltYm9sLmFzeW5jLWl0ZXJhdG9yJyk7XG5yZXF1aXJlKCcuLi8uLi9tb2R1bGVzL2VzNy5zeW1ib2wub2JzZXJ2YWJsZScpO1xubW9kdWxlLmV4cG9ydHMgPSByZXF1aXJlKCcuLi8uLi9tb2R1bGVzL19jb3JlJykuU3ltYm9sO1xuXG5cblxuLy8vLy8vLy8vLy8vLy8vLy8vXG4vLyBXRUJQQUNLIEZPT1RFUlxuLy8gLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L2ZuL3N5bWJvbC9pbmRleC5qc1xuLy8gbW9kdWxlIGlkID0gNzlcbi8vIG1vZHVsZSBjaHVua3MgPSAwIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOyIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///79\n");
/***/ }),
/* 80 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\n// ECMAScript 6 symbols shim\nvar global = __webpack_require__(1);\nvar has = __webpack_require__(5);\nvar DESCRIPTORS = __webpack_require__(4);\nvar $export = __webpack_require__(2);\nvar redefine = __webpack_require__(43);\nvar META = __webpack_require__(81).KEY;\nvar $fails = __webpack_require__(8);\nvar shared = __webpack_require__(20);\nvar setToStringTag = __webpack_require__(27);\nvar uid = __webpack_require__(14);\nvar wks = __webpack_require__(10);\nvar wksExt = __webpack_require__(28);\nvar wksDefine = __webpack_require__(29);\nvar enumKeys = __webpack_require__(82);\nvar isArray = __webpack_require__(83);\nvar anObject = __webpack_require__(11);\nvar isObject = __webpack_require__(7);\nvar toIObject = __webpack_require__(9);\nvar toPrimitive = __webpack_require__(16);\nvar createDesc = __webpack_require__(12);\nvar _create = __webpack_require__(26);\nvar gOPNExt = __webpack_require__(84);\nvar $GOPD = __webpack_require__(45);\nvar $DP = __webpack_require__(3);\nvar $keys = __webpack_require__(13);\nvar gOPD = $GOPD.f;\nvar dP = $DP.f;\nvar gOPN = gOPNExt.f;\nvar $Symbol = global.Symbol;\nvar $JSON = global.JSON;\nvar _stringify = $JSON && $JSON.stringify;\nvar PROTOTYPE = 'prototype';\nvar HIDDEN = wks('_hidden');\nvar TO_PRIMITIVE = wks('toPrimitive');\nvar isEnum = {}.propertyIsEnumerable;\nvar SymbolRegistry = shared('symbol-registry');\nvar AllSymbols = shared('symbols');\nvar OPSymbols = shared('op-symbols');\nvar ObjectProto = Object[PROTOTYPE];\nvar USE_NATIVE = typeof $Symbol == 'function';\nvar QObject = global.QObject;\n// Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173\nvar setter = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild;\n\n// fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687\nvar setSymbolDesc = DESCRIPTORS && $fails(function () {\n return _create(dP({}, 'a', {\n get: function () { return dP(this, 'a', { value: 7 }).a; }\n })).a != 7;\n}) ? function (it, key, D) {\n var protoDesc = gOPD(ObjectProto, key);\n if (protoDesc) delete ObjectProto[key];\n dP(it, key, D);\n if (protoDesc && it !== ObjectProto) dP(ObjectProto, key, protoDesc);\n} : dP;\n\nvar wrap = function (tag) {\n var sym = AllSymbols[tag] = _create($Symbol[PROTOTYPE]);\n sym._k = tag;\n return sym;\n};\n\nvar isSymbol = USE_NATIVE && typeof $Symbol.iterator == 'symbol' ? function (it) {\n return typeof it == 'symbol';\n} : function (it) {\n return it instanceof $Symbol;\n};\n\nvar $defineProperty = function defineProperty(it, key, D) {\n if (it === ObjectProto) $defineProperty(OPSymbols, key, D);\n anObject(it);\n key = toPrimitive(key, true);\n anObject(D);\n if (has(AllSymbols, key)) {\n if (!D.enumerable) {\n if (!has(it, HIDDEN)) dP(it, HIDDEN, createDesc(1, {}));\n it[HIDDEN][key] = true;\n } else {\n if (has(it, HIDDEN) && it[HIDDEN][key]) it[HIDDEN][key] = false;\n D = _create(D, { enumerable: createDesc(0, false) });\n } return setSymbolDesc(it, key, D);\n } return dP(it, key, D);\n};\nvar $defineProperties = function defineProperties(it, P) {\n anObject(it);\n var keys = enumKeys(P = toIObject(P));\n var i = 0;\n var l = keys.length;\n var key;\n while (l > i) $defineProperty(it, key = keys[i++], P[key]);\n return it;\n};\nvar $create = function create(it, P) {\n return P === undefined ? _create(it) : $defineProperties(_create(it), P);\n};\nvar $propertyIsEnumerable = function propertyIsEnumerable(key) {\n var E = isEnum.call(this, key = toPrimitive(key, true));\n if (this === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return false;\n return E || !has(this, key) || !has(AllSymbols, key) || has(this, HIDDEN) && this[HIDDEN][key] ? E : true;\n};\nvar $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(it, key) {\n it = toIObject(it);\n key = toPrimitive(key, true);\n if (it === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return;\n var D = gOPD(it, key);\n if (D && has(AllSymbols, key) && !(has(it, HIDDEN) && it[HIDDEN][key])) D.enumerable = true;\n return D;\n};\nvar $getOwnPropertyNames = function getOwnPropertyNames(it) {\n var names = gOPN(toIObject(it));\n var result = [];\n var i = 0;\n var key;\n while (names.length > i) {\n if (!has(AllSymbols, key = names[i++]) && key != HIDDEN && key != META) result.push(key);\n } return result;\n};\nvar $getOwnPropertySymbols = function getOwnPropertySymbols(it) {\n var IS_OP = it === ObjectProto;\n var names = gOPN(IS_OP ? OPSymbols : toIObject(it));\n var result = [];\n var i = 0;\n var key;\n while (names.length > i) {\n if (has(AllSymbols, key = names[i++]) && (IS_OP ? has(ObjectProto, key) : true)) result.push(AllSymbols[key]);\n } return result;\n};\n\n// 19.4.1.1 Symbol([description])\nif (!USE_NATIVE) {\n $Symbol = function Symbol() {\n if (this instanceof $Symbol) throw TypeError('Symbol is not a constructor!');\n var tag = uid(arguments.length > 0 ? arguments[0] : undefined);\n var $set = function (value) {\n if (this === ObjectProto) $set.call(OPSymbols, value);\n if (has(this, HIDDEN) && has(this[HIDDEN], tag)) this[HIDDEN][tag] = false;\n setSymbolDesc(this, tag, createDesc(1, value));\n };\n if (DESCRIPTORS && setter) setSymbolDesc(ObjectProto, tag, { configurable: true, set: $set });\n return wrap(tag);\n };\n redefine($Symbol[PROTOTYPE], 'toString', function toString() {\n return this._k;\n });\n\n $GOPD.f = $getOwnPropertyDescriptor;\n $DP.f = $defineProperty;\n __webpack_require__(44).f = gOPNExt.f = $getOwnPropertyNames;\n __webpack_require__(15).f = $propertyIsEnumerable;\n __webpack_require__(22).f = $getOwnPropertySymbols;\n\n if (DESCRIPTORS && !__webpack_require__(24)) {\n redefine(ObjectProto, 'propertyIsEnumerable', $propertyIsEnumerable, true);\n }\n\n wksExt.f = function (name) {\n return wrap(wks(name));\n };\n}\n\n$export($export.G + $export.W + $export.F * !USE_NATIVE, { Symbol: $Symbol });\n\nfor (var es6Symbols = (\n // 19.4.2.2, 19.4.2.3, 19.4.2.4, 19.4.2.6, 19.4.2.8, 19.4.2.9, 19.4.2.10, 19.4.2.11, 19.4.2.12, 19.4.2.13, 19.4.2.14\n 'hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables'\n).split(','), j = 0; es6Symbols.length > j;)wks(es6Symbols[j++]);\n\nfor (var wellKnownSymbols = $keys(wks.store), k = 0; wellKnownSymbols.length > k;) wksDefine(wellKnownSymbols[k++]);\n\n$export($export.S + $export.F * !USE_NATIVE, 'Symbol', {\n // 19.4.2.1 Symbol.for(key)\n 'for': function (key) {\n return has(SymbolRegistry, key += '')\n ? SymbolRegistry[key]\n : SymbolRegistry[key] = $Symbol(key);\n },\n // 19.4.2.5 Symbol.keyFor(sym)\n keyFor: function keyFor(sym) {\n if (!isSymbol(sym)) throw TypeError(sym + ' is not a symbol!');\n for (var key in SymbolRegistry) if (SymbolRegistry[key] === sym) return key;\n },\n useSetter: function () { setter = true; },\n useSimple: function () { setter = false; }\n});\n\n$export($export.S + $export.F * !USE_NATIVE, 'Object', {\n // 19.1.2.2 Object.create(O [, Properties])\n create: $create,\n // 19.1.2.4 Object.defineProperty(O, P, Attributes)\n defineProperty: $defineProperty,\n // 19.1.2.3 Object.defineProperties(O, Properties)\n defineProperties: $defineProperties,\n // 19.1.2.6 Object.getOwnPropertyDescriptor(O, P)\n getOwnPropertyDescriptor: $getOwnPropertyDescriptor,\n // 19.1.2.7 Object.getOwnPropertyNames(O)\n getOwnPropertyNames: $getOwnPropertyNames,\n // 19.1.2.8 Object.getOwnPropertySymbols(O)\n getOwnPropertySymbols: $getOwnPropertySymbols\n});\n\n// 24.3.2 JSON.stringify(value [, replacer [, space]])\n$JSON && $export($export.S + $export.F * (!USE_NATIVE || $fails(function () {\n var S = $Symbol();\n // MS Edge converts symbol values to JSON as {}\n // WebKit converts symbol values to JSON as null\n // V8 throws on boxed symbols\n return _stringify([S]) != '[null]' || _stringify({ a: S }) != '{}' || _stringify(Object(S)) != '{}';\n})), 'JSON', {\n stringify: function stringify(it) {\n var args = [it];\n var i = 1;\n var replacer, $replacer;\n while (arguments.length > i) args.push(arguments[i++]);\n $replacer = replacer = args[1];\n if (!isObject(replacer) && it === undefined || isSymbol(it)) return; // IE8 returns string on undefined\n if (!isArray(replacer)) replacer = function (key, value) {\n if (typeof $replacer == 'function') value = $replacer.call(this, key, value);\n if (!isSymbol(value)) return value;\n };\n args[1] = replacer;\n return _stringify.apply($JSON, args);\n }\n});\n\n// 19.4.3.4 Symbol.prototype[@@toPrimitive](hint)\n$Symbol[PROTOTYPE][TO_PRIMITIVE] || __webpack_require__(6)($Symbol[PROTOTYPE], TO_PRIMITIVE, $Symbol[PROTOTYPE].valueOf);\n// 19.4.3.5 Symbol.prototype[@@toStringTag]\nsetToStringTag($Symbol, 'Symbol');\n// 20.2.1.9 Math[@@toStringTag]\nsetToStringTag(Math, 'Math', true);\n// 24.3.3 JSON[@@toStringTag]\nsetToStringTag(global.JSON, 'JSON', true);\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiODAuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvZXM2LnN5bWJvbC5qcz83ZDY3Il0sInNvdXJjZXNDb250ZW50IjpbIid1c2Ugc3RyaWN0Jztcbi8vIEVDTUFTY3JpcHQgNiBzeW1ib2xzIHNoaW1cbnZhciBnbG9iYWwgPSByZXF1aXJlKCcuL19nbG9iYWwnKTtcbnZhciBoYXMgPSByZXF1aXJlKCcuL19oYXMnKTtcbnZhciBERVNDUklQVE9SUyA9IHJlcXVpcmUoJy4vX2Rlc2NyaXB0b3JzJyk7XG52YXIgJGV4cG9ydCA9IHJlcXVpcmUoJy4vX2V4cG9ydCcpO1xudmFyIHJlZGVmaW5lID0gcmVxdWlyZSgnLi9fcmVkZWZpbmUnKTtcbnZhciBNRVRBID0gcmVxdWlyZSgnLi9fbWV0YScpLktFWTtcbnZhciAkZmFpbHMgPSByZXF1aXJlKCcuL19mYWlscycpO1xudmFyIHNoYXJlZCA9IHJlcXVpcmUoJy4vX3NoYXJlZCcpO1xudmFyIHNldFRvU3RyaW5nVGFnID0gcmVxdWlyZSgnLi9fc2V0LXRvLXN0cmluZy10YWcnKTtcbnZhciB1aWQgPSByZXF1aXJlKCcuL191aWQnKTtcbnZhciB3a3MgPSByZXF1aXJlKCcuL193a3MnKTtcbnZhciB3a3NFeHQgPSByZXF1aXJlKCcuL193a3MtZXh0Jyk7XG52YXIgd2tzRGVmaW5lID0gcmVxdWlyZSgnLi9fd2tzLWRlZmluZScpO1xudmFyIGVudW1LZXlzID0gcmVxdWlyZSgnLi9fZW51bS1rZXlzJyk7XG52YXIgaXNBcnJheSA9IHJlcXVpcmUoJy4vX2lzLWFycmF5Jyk7XG52YXIgYW5PYmplY3QgPSByZXF1aXJlKCcuL19hbi1vYmplY3QnKTtcbnZhciBpc09iamVjdCA9IHJlcXVpcmUoJy4vX2lzLW9iamVjdCcpO1xudmFyIHRvSU9iamVjdCA9IHJlcXVpcmUoJy4vX3RvLWlvYmplY3QnKTtcbnZhciB0b1ByaW1pdGl2ZSA9IHJlcXVpcmUoJy4vX3RvLXByaW1pdGl2ZScpO1xudmFyIGNyZWF0ZURlc2MgPSByZXF1aXJlKCcuL19wcm9wZXJ0eS1kZXNjJyk7XG52YXIgX2NyZWF0ZSA9IHJlcXVpcmUoJy4vX29iamVjdC1jcmVhdGUnKTtcbnZhciBnT1BORXh0ID0gcmVxdWlyZSgnLi9fb2JqZWN0LWdvcG4tZXh0Jyk7XG52YXIgJEdPUEQgPSByZXF1aXJlKCcuL19vYmplY3QtZ29wZCcpO1xudmFyICREUCA9IHJlcXVpcmUoJy4vX29iamVjdC1kcCcpO1xudmFyICRrZXlzID0gcmVxdWlyZSgnLi9fb2JqZWN0LWtleXMnKTtcbnZhciBnT1BEID0gJEdPUEQuZjtcbnZhciBkUCA9ICREUC5mO1xudmFyIGdPUE4gPSBnT1BORXh0LmY7XG52YXIgJFN5bWJvbCA9IGdsb2JhbC5TeW1ib2w7XG52YXIgJEpTT04gPSBnbG9iYWwuSlNPTjtcbnZhciBfc3RyaW5naWZ5ID0gJEpTT04gJiYgJEpTT04uc3RyaW5naWZ5O1xudmFyIFBST1RPVFlQRSA9ICdwcm90b3R5cGUnO1xudmFyIEhJRERFTiA9IHdrcygnX2hpZGRlbicpO1xudmFyIFRPX1BSSU1JVElWRSA9IHdrcygndG9QcmltaXRpdmUnKTtcbnZhciBpc0VudW0gPSB7fS5wcm9wZXJ0eUlzRW51bWVyYWJsZTtcbnZhciBTeW1ib2xSZWdpc3RyeSA9IHNoYXJlZCgnc3ltYm9sLXJlZ2lzdHJ5Jyk7XG52YXIgQWxsU3ltYm9scyA9IHNoYXJlZCgnc3ltYm9scycpO1xudmFyIE9QU3ltYm9scyA9IHNoYXJlZCgnb3Atc3ltYm9scycpO1xudmFyIE9iamVjdFByb3RvID0gT2JqZWN0W1BST1RPVFlQRV07XG52YXIgVVNFX05BVElWRSA9IHR5cGVvZiAkU3ltYm9sID09ICdmdW5jdGlvbic7XG52YXIgUU9iamVjdCA9IGdsb2JhbC5RT2JqZWN0O1xuLy8gRG9uJ3QgdXNlIHNldHRlcnMgaW4gUXQgU2NyaXB0LCBodHRwczovL2dpdGh1Yi5jb20vemxvaXJvY2svY29yZS1qcy9pc3N1ZXMvMTczXG52YXIgc2V0dGVyID0gIVFPYmplY3QgfHwgIVFPYmplY3RbUFJPVE9UWVBFXSB8fCAhUU9iamVjdFtQUk9UT1RZUEVdLmZpbmRDaGlsZDtcblxuLy8gZmFsbGJhY2sgZm9yIG9sZCBBbmRyb2lkLCBodHRwczovL2NvZGUuZ29vZ2xlLmNvbS9wL3Y4L2lzc3Vlcy9kZXRhaWw/aWQ9Njg3XG52YXIgc2V0U3ltYm9sRGVzYyA9IERFU0NSSVBUT1JTICYmICRmYWlscyhmdW5jdGlvbiAoKSB7XG4gIHJldHVybiBfY3JlYXRlKGRQKHt9LCAnYScsIHtcbiAgICBnZXQ6IGZ1bmN0aW9uICgpIHsgcmV0dXJuIGRQKHRoaXMsICdhJywgeyB2YWx1ZTogNyB9KS5hOyB9XG4gIH0pKS5hICE9IDc7XG59KSA/IGZ1bmN0aW9uIChpdCwga2V5LCBEKSB7XG4gIHZhciBwcm90b0Rlc2MgPSBnT1BEKE9iamVjdFByb3RvLCBrZXkpO1xuICBpZiAocHJvdG9EZXNjKSBkZWxldGUgT2JqZWN0UHJvdG9ba2V5XTtcbiAgZFAoaXQsIGtleSwgRCk7XG4gIGlmIChwcm90b0Rlc2MgJiYgaXQgIT09IE9iamVjdFByb3RvKSBkUChPYmplY3RQcm90bywga2V5LCBwcm90b0Rlc2MpO1xufSA6IGRQO1xuXG52YXIgd3JhcCA9IGZ1bmN0aW9uICh0YWcpIHtcbiAgdmFyIHN5bSA9IEFsbFN5bWJvbHNbdGFnXSA9IF9jcmVhdGUoJFN5bWJvbFtQUk9UT1RZUEVdKTtcbiAgc3ltLl9rID0gdGFnO1xuICByZXR1cm4gc3ltO1xufTtcblxudmFyIGlzU3ltYm9sID0gVVNFX05BVElWRSAmJiB0eXBlb2YgJFN5bWJvbC5pdGVyYXRvciA9PSAnc3ltYm9sJyA/IGZ1bmN0aW9uIChpdCkge1xuICByZXR1cm4gdHlwZW9mIGl0ID09ICdzeW1ib2wnO1xufSA6IGZ1bmN0aW9uIChpdCkge1xuICByZXR1cm4gaXQgaW5zdGFuY2VvZiAkU3ltYm9sO1xufTtcblxudmFyICRkZWZpbmVQcm9wZXJ0eSA9IGZ1bmN0aW9uIGRlZmluZVByb3BlcnR5KGl0LCBrZXksIEQpIHtcbiAgaWYgKGl0ID09PSBPYmplY3RQcm90bykgJGRlZmluZVByb3BlcnR5KE9QU3ltYm9scywga2V5LCBEKTtcbiAgYW5PYmplY3QoaXQpO1xuICBrZXkgPSB0b1ByaW1pdGl2ZShrZXksIHRydWUpO1xuICBhbk9iamVjdChEKTtcbiAgaWYgKGhhcyhBbGxTeW1ib2xzLCBrZXkpKSB7XG4gICAgaWYgKCFELmVudW1lcmFibGUpIHtcbiAgICAgIGlmICghaGFzKGl0LCBISURERU4pKSBkUChpdCwgSElEREVOLCBjcmVhdGVEZXNjKDEsIHt9KSk7XG4gICAgICBpdFtISURERU5dW2tleV0gPSB0cnVlO1xuICAgIH0gZWxzZSB7XG4gICAgICBpZiAoaGFzKGl0LCBISURERU4pICYmIGl0W0hJRERFTl1ba2V5XSkgaXRbSElEREVOXVtrZXldID0gZmFsc2U7XG4gICAgICBEID0gX2NyZWF0ZShELCB7IGVudW1lcmFibGU6IGNyZWF0ZURlc2MoMCwgZmFsc2UpIH0pO1xuICAgIH0gcmV0dXJuIHNldFN5bWJvbERlc2MoaXQsIGtleSwgRCk7XG4gIH0gcmV0dXJuIGRQKGl0LCBrZXksIEQpO1xufTtcbnZhciAkZGVmaW5lUHJvcGVydGllcyA9IGZ1bmN0aW9uIGRlZmluZVByb3BlcnRpZXMoaXQsIFApIHtcbiAgYW5PYmplY3QoaXQpO1xuICB2YXIga2V5cyA9IGVudW1LZXlzKFAgPSB0b0lPYmplY3QoUCkpO1xuICB2YXIgaSA9IDA7XG4gIHZhciBsID0ga2V5cy5sZW5ndGg7XG4gIHZhciBrZXk7XG4gIHdoaWxlIChsID4gaSkgJGRlZmluZVByb3BlcnR5KGl0LCBrZXkgPSBrZXlzW2krK10sIFBba2V5XSk7XG4gIHJldHVybiBpdDtcbn07XG52YXIgJGNyZWF0ZSA9IGZ1bmN0aW9uIGNyZWF0ZShpdCwgUCkge1xuICByZXR1cm4gUCA9PT0gdW5kZWZpbmVkID8gX2NyZWF0ZShpdCkgOiAkZGVmaW5lUHJvcGVydGllcyhfY3JlYXRlKGl0KSwgUCk7XG59O1xudmFyICRwcm9wZXJ0eUlzRW51bWVyYWJsZSA9IGZ1bmN0aW9uIHByb3BlcnR5SXNFbnVtZXJhYmxlKGtleSkge1xuICB2YXIgRSA9IGlzRW51bS5jYWxsKHRoaXMsIGtleSA9IHRvUHJpbWl0aXZlKGtleSwgdHJ1ZSkpO1xuICBpZiAodGhpcyA9PT0gT2JqZWN0UHJvdG8gJiYgaGFzKEFsbFN5bWJvbHMsIGtleSkgJiYgIWhhcyhPUFN5bWJvbHMsIGtleSkpIHJldHVybiBmYWxzZTtcbiAgcmV0dXJuIEUgfHwgIWhhcyh0aGlzLCBrZXkpIHx8ICFoYXMoQWxsU3ltYm9scywga2V5KSB8fCBoYXModGhpcywgSElEREVOKSAmJiB0aGlzW0hJRERFTl1ba2V5XSA/IEUgOiB0cnVlO1xufTtcbnZhciAkZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yID0gZnVuY3Rpb24gZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKGl0LCBrZXkpIHtcbiAgaXQgPSB0b0lPYmplY3QoaXQpO1xuICBrZXkgPSB0b1ByaW1pdGl2ZShrZXksIHRydWUpO1xuICBpZiAoaXQgPT09IE9iamVjdFByb3RvICYmIGhhcyhBbGxTeW1ib2xzLCBrZXkpICYmICFoYXMoT1BTeW1ib2xzLCBrZXkpKSByZXR1cm47XG4gIHZhciBEID0gZ09QRChpdCwga2V5KTtcbiAgaWYgKEQgJiYgaGFzKEFsbFN5bWJvbHMsIGtleSkgJiYgIShoYXMoaXQsIEhJRERFTikgJiYgaXRbSElEREVOXVtrZXldKSkgRC5lbnVtZXJhYmxlID0gdHJ1ZTtcbiAgcmV0dXJuIEQ7XG59O1xudmFyICRnZXRPd25Qcm9wZXJ0eU5hbWVzID0gZnVuY3Rpb24gZ2V0T3duUHJvcGVydHlOYW1lcyhpdCkge1xuICB2YXIgbmFtZXMgPSBnT1BOKHRvSU9iamVjdChpdCkpO1xuICB2YXIgcmVzdWx0ID0gW107XG4gIHZhciBpID0gMDtcbiAgdmFyIGtleTtcbiAgd2hpbGUgKG5hbWVzLmxlbmd0aCA+IGkpIHtcbiAgICBpZiAoIWhhcyhBbGxTeW1ib2xzLCBrZXkgPSBuYW1lc1tpKytdKSAmJiBrZXkgIT0gSElEREVOICYmIGtleSAhPSBNRVRBKSByZXN1bHQucHVzaChrZXkpO1xuICB9IHJldHVybiByZXN1bHQ7XG59O1xudmFyICRnZXRPd25Qcm9wZXJ0eVN5bWJvbHMgPSBmdW5jdGlvbiBnZXRPd25Qcm9wZXJ0eVN5bWJvbHMoaXQpIHtcbiAgdmFyIElTX09QID0gaXQgPT09IE9iamVjdFByb3RvO1xuICB2YXIgbmFtZXMgPSBnT1BOKElTX09QID8gT1BTeW1ib2xzIDogdG9JT2JqZWN0KGl0KSk7XG4gIHZhciByZXN1bHQgPSBbXTtcbiAgdmFyIGkgPSAwO1xuICB2YXIga2V5O1xuICB3aGlsZSAobmFtZXMubGVuZ3RoID4gaSkge1xuICAgIGlmIChoYXMoQWxsU3ltYm9scywga2V5ID0gbmFtZXNbaSsrXSkgJiYgKElTX09QID8gaGFzKE9iamVjdFByb3RvLCBrZXkpIDogdHJ1ZSkpIHJlc3VsdC5wdXNoKEFsbFN5bWJvbHNba2V5XSk7XG4gIH0gcmV0dXJuIHJlc3VsdDtcbn07XG5cbi8vIDE5LjQuMS4xIFN5bWJvbChbZGVzY3JpcHRpb25dKVxuaWYgKCFVU0VfTkFUSVZFKSB7XG4gICRTeW1ib2wgPSBmdW5jdGlvbiBTeW1ib2woKSB7XG4gICAgaWYgKHRoaXMgaW5zdGFuY2VvZiAkU3ltYm9sKSB0aHJvdyBUeXBlRXJyb3IoJ1N5bWJvbCBpcyBub3QgYSBjb25zdHJ1Y3RvciEnKTtcbiAgICB2YXIgdGFnID0gdWlkKGFyZ3VtZW50cy5sZW5ndGggPiAwID8gYXJndW1lbnRzWzBdIDogdW5kZWZpbmVkKTtcbiAgICB2YXIgJHNldCA9IGZ1bmN0aW9uICh2YWx1ZSkge1xuICAgICAgaWYgKHRoaXMgPT09IE9iamVjdFByb3RvKSAkc2V0LmNhbGwoT1BTeW1ib2xzLCB2YWx1ZSk7XG4gICAgICBpZiAoaGFzKHRoaXMsIEhJRERFTikgJiYgaGFzKHRoaXNbSElEREVOXSwgdGFnKSkgdGhpc1tISURERU5dW3RhZ10gPSBmYWxzZTtcbiAgICAgIHNldFN5bWJvbERlc2ModGhpcywgdGFnLCBjcmVhdGVEZXNjKDEsIHZhbHVlKSk7XG4gICAgfTtcbiAgICBpZiAoREVTQ1JJUFRPUlMgJiYgc2V0dGVyKSBzZXRTeW1ib2xEZXNjKE9iamVjdFByb3RvLCB0YWcsIHsgY29uZmlndXJhYmxlOiB0cnVlLCBzZXQ6ICRzZXQgfSk7XG4gICAgcmV0dXJuIHdyYXAodGFnKTtcbiAgfTtcbiAgcmVkZWZpbmUoJFN5bWJvbFtQUk9UT1RZUEVdLCAndG9TdHJpbmcnLCBmdW5jdGlvbiB0b1N0cmluZygpIHtcbiAgICByZXR1cm4gdGhpcy5faztcbiAgfSk7XG5cbiAgJEdPUEQuZiA9ICRnZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3I7XG4gICREUC5mID0gJGRlZmluZVByb3BlcnR5O1xuICByZXF1aXJlKCcuL19vYmplY3QtZ29wbicpLmYgPSBnT1BORXh0LmYgPSAkZ2V0T3duUHJvcGVydHlOYW1lcztcbiAgcmVxdWlyZSgnLi9fb2JqZWN0LXBpZScpLmYgPSAkcHJvcGVydHlJc0VudW1lcmFibGU7XG4gIHJlcXVpcmUoJy4vX29iamVjdC1nb3BzJykuZiA9ICRnZXRPd25Qcm9wZXJ0eVN5bWJvbHM7XG5cbiAgaWYgKERFU0NSSVBUT1JTICYmICFyZXF1aXJlKCcuL19saWJyYXJ5JykpIHtcbiAgICByZWRlZmluZShPYmplY3RQcm90bywgJ3Byb3BlcnR5SXNFbnVtZXJhYmxlJywgJHByb3BlcnR5SXNFbnVtZXJhYmxlLCB0cnVlKTtcbiAgfVxuXG4gIHdrc0V4dC5mID0gZnVuY3Rpb24gKG5hbWUpIHtcbiAgICByZXR1cm4gd3JhcCh3a3MobmFtZSkpO1xuICB9O1xufVxuXG4kZXhwb3J0KCRleHBvcnQuRyArICRleHBvcnQuVyArICRleHBvcnQuRiAqICFVU0VfTkFUSVZFLCB7IFN5bWJvbDogJFN5bWJvbCB9KTtcblxuZm9yICh2YXIgZXM2U3ltYm9scyA9IChcbiAgLy8gMTkuNC4yLjIsIDE5LjQuMi4zLCAxOS40LjIuNCwgMTkuNC4yLjYsIDE5LjQuMi44LCAxOS40LjIuOSwgMTkuNC4yLjEwLCAxOS40LjIuMTEsIDE5LjQuMi4xMiwgMTkuNC4yLjEzLCAxOS40LjIuMTRcbiAgJ2hhc0luc3RhbmNlLGlzQ29uY2F0U3ByZWFkYWJsZSxpdGVyYXRvcixtYXRjaCxyZXBsYWNlLHNlYXJjaCxzcGVjaWVzLHNwbGl0LHRvUHJpbWl0aXZlLHRvU3RyaW5nVGFnLHVuc2NvcGFibGVzJ1xuKS5zcGxpdCgnLCcpLCBqID0gMDsgZXM2U3ltYm9scy5sZW5ndGggPiBqOyl3a3MoZXM2U3ltYm9sc1tqKytdKTtcblxuZm9yICh2YXIgd2VsbEtub3duU3ltYm9scyA9ICRrZXlzKHdrcy5zdG9yZSksIGsgPSAwOyB3ZWxsS25vd25TeW1ib2xzLmxlbmd0aCA+IGs7KSB3a3NEZWZpbmUod2VsbEtub3duU3ltYm9sc1trKytdKTtcblxuJGV4cG9ydCgkZXhwb3J0LlMgKyAkZXhwb3J0LkYgKiAhVVNFX05BVElWRSwgJ1N5bWJvbCcsIHtcbiAgLy8gMTkuNC4yLjEgU3ltYm9sLmZvcihrZXkpXG4gICdmb3InOiBmdW5jdGlvbiAoa2V5KSB7XG4gICAgcmV0dXJuIGhhcyhTeW1ib2xSZWdpc3RyeSwga2V5ICs9ICcnKVxuICAgICAgPyBTeW1ib2xSZWdpc3RyeVtrZXldXG4gICAgICA6IFN5bWJvbFJlZ2lzdHJ5W2tleV0gPSAkU3ltYm9sKGtleSk7XG4gIH0sXG4gIC8vIDE5LjQuMi41IFN5bWJvbC5rZXlGb3Ioc3ltKVxuICBrZXlGb3I6IGZ1bmN0aW9uIGtleUZvcihzeW0pIHtcbiAgICBpZiAoIWlzU3ltYm9sKHN5bSkpIHRocm93IFR5cGVFcnJvcihzeW0gKyAnIGlzIG5vdCBhIHN5bWJvbCEnKTtcbiAgICBmb3IgKHZhciBrZXkgaW4gU3ltYm9sUmVnaXN0cnkpIGlmIChTeW1ib2xSZWdpc3RyeVtrZXldID09PSBzeW0pIHJldHVybiBrZXk7XG4gIH0sXG4gIHVzZVNldHRlcjogZnVuY3Rpb24gKCkgeyBzZXR0ZXIgPSB0cnVlOyB9LFxuICB1c2VTaW1wbGU6IGZ1bmN0aW9uICgpIHsgc2V0dGVyID0gZmFsc2U7IH1cbn0pO1xuXG4kZXhwb3J0KCRleHBvcnQuUyArICRleHBvcnQuRiAqICFVU0VfTkFUSVZFLCAnT2JqZWN0Jywge1xuICAvLyAxOS4xLjIuMiBPYmplY3QuY3JlYXRlKE8gWywgUHJvcGVydGllc10pXG4gIGNyZWF0ZTogJGNyZWF0ZSxcbiAgLy8gMTkuMS4yLjQgT2JqZWN0LmRlZmluZVByb3BlcnR5KE8sIFAsIEF0dHJpYnV0ZXMpXG4gIGRlZmluZVByb3BlcnR5OiAkZGVmaW5lUHJvcGVydHksXG4gIC8vIDE5LjEuMi4zIE9iamVjdC5kZWZpbmVQcm9wZXJ0aWVzKE8sIFByb3BlcnRpZXMpXG4gIGRlZmluZVByb3BlcnRpZXM6ICRkZWZpbmVQcm9wZXJ0aWVzLFxuICAvLyAxOS4xLjIuNiBPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKE8sIFApXG4gIGdldE93blByb3BlcnR5RGVzY3JpcHRvcjogJGdldE93blByb3BlcnR5RGVzY3JpcHRvcixcbiAgLy8gMTkuMS4yLjcgT2JqZWN0LmdldE93blByb3BlcnR5TmFtZXMoTylcbiAgZ2V0T3duUHJvcGVydHlOYW1lczogJGdldE93blByb3BlcnR5TmFtZXMsXG4gIC8vIDE5LjEuMi44IE9iamVjdC5nZXRPd25Qcm9wZXJ0eVN5bWJvbHMoTylcbiAgZ2V0T3duUHJvcGVydHlTeW1ib2xzOiAkZ2V0T3duUHJvcGVydHlTeW1ib2xzXG59KTtcblxuLy8gMjQuMy4yIEpTT04uc3RyaW5naWZ5KHZhbHVlIFssIHJlcGxhY2VyIFssIHNwYWNlXV0pXG4kSlNPTiAmJiAkZXhwb3J0KCRleHBvcnQuUyArICRleHBvcnQuRiAqICghVVNFX05BVElWRSB8fCAkZmFpbHMoZnVuY3Rpb24gKCkge1xuICB2YXIgUyA9ICRTeW1ib2woKTtcbiAgLy8gTVMgRWRnZSBjb252ZXJ0cyBzeW1ib2wgdmFsdWVzIHRvIEpTT04gYXMge31cbiAgLy8gV2ViS2l0IGNvbnZlcnRzIHN5bWJvbCB2YWx1ZXMgdG8gSlNPTiBhcyBudWxsXG4gIC8vIFY4IHRocm93cyBvbiBib3hlZCBzeW1ib2xzXG4gIHJldHVybiBfc3RyaW5naWZ5KFtTXSkgIT0gJ1tudWxsXScgfHwgX3N0cmluZ2lmeSh7IGE6IFMgfSkgIT0gJ3t9JyB8fCBfc3RyaW5naWZ5KE9iamVjdChTKSkgIT0gJ3t9Jztcbn0pKSwgJ0pTT04nLCB7XG4gIHN0cmluZ2lmeTogZnVuY3Rpb24gc3RyaW5naWZ5KGl0KSB7XG4gICAgdmFyIGFyZ3MgPSBbaXRdO1xuICAgIHZhciBpID0gMTtcbiAgICB2YXIgcmVwbGFjZXIsICRyZXBsYWNlcjtcbiAgICB3aGlsZSAoYXJndW1lbnRzLmxlbmd0aCA+IGkpIGFyZ3MucHVzaChhcmd1bWVudHNbaSsrXSk7XG4gICAgJHJlcGxhY2VyID0gcmVwbGFjZXIgPSBhcmdzWzFdO1xuICAgIGlmICghaXNPYmplY3QocmVwbGFjZXIpICYmIGl0ID09PSB1bmRlZmluZWQgfHwgaXNTeW1ib2woaXQpKSByZXR1cm47IC8vIElFOCByZXR1cm5zIHN0cmluZyBvbiB1bmRlZmluZWRcbiAgICBpZiAoIWlzQXJyYXkocmVwbGFjZXIpKSByZXBsYWNlciA9IGZ1bmN0aW9uIChrZXksIHZhbHVlKSB7XG4gICAgICBpZiAodHlwZW9mICRyZXBsYWNlciA9PSAnZnVuY3Rpb24nKSB2YWx1ZSA9ICRyZXBsYWNlci5jYWxsKHRoaXMsIGtleSwgdmFsdWUpO1xuICAgICAgaWYgKCFpc1N5bWJvbCh2YWx1ZSkpIHJldHVybiB2YWx1ZTtcbiAgICB9O1xuICAgIGFyZ3NbMV0gPSByZXBsYWNlcjtcbiAgICByZXR1cm4gX3N0cmluZ2lmeS5hcHBseSgkSlNPTiwgYXJncyk7XG4gIH1cbn0pO1xuXG4vLyAxOS40LjMuNCBTeW1ib2wucHJvdG90eXBlW0BAdG9QcmltaXRpdmVdKGhpbnQpXG4kU3ltYm9sW1BST1RPVFlQRV1bVE9fUFJJTUlUSVZFXSB8fCByZXF1aXJlKCcuL19oaWRlJykoJFN5bWJvbFtQUk9UT1RZUEVdLCBUT19QUklNSVRJVkUsICRTeW1ib2xbUFJPVE9UWVBFXS52YWx1ZU9mKTtcbi8vIDE5LjQuMy41IFN5bWJvbC5wcm90b3R5cGVbQEB0b1N0cmluZ1RhZ11cbnNldFRvU3RyaW5nVGFnKCRTeW1ib2wsICdTeW1ib2wnKTtcbi8vIDIwLjIuMS45IE1hdGhbQEB0b1N0cmluZ1RhZ11cbnNldFRvU3RyaW5nVGFnKE1hdGgsICdNYXRoJywgdHJ1ZSk7XG4vLyAyNC4zLjMgSlNPTltAQHRvU3RyaW5nVGFnXVxuc2V0VG9TdHJpbmdUYWcoZ2xvYmFsLkpTT04sICdKU09OJywgdHJ1ZSk7XG5cblxuXG4vLy8vLy8vLy8vLy8vLy8vLy9cbi8vIFdFQlBBQ0sgRk9PVEVSXG4vLyAuL25vZGVfbW9kdWxlcy9jb3JlLWpzL2xpYnJhcnkvbW9kdWxlcy9lczYuc3ltYm9sLmpzXG4vLyBtb2R1bGUgaWQgPSA4MFxuLy8gbW9kdWxlIGNodW5rcyA9IDAiXSwibWFwcGluZ3MiOiJBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTsiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///80\n");
/***/ }),
/* 81 */
/***/ (function(module, exports, __webpack_require__) {
eval("var META = __webpack_require__(14)('meta');\nvar isObject = __webpack_require__(7);\nvar has = __webpack_require__(5);\nvar setDesc = __webpack_require__(3).f;\nvar id = 0;\nvar isExtensible = Object.isExtensible || function () {\n return true;\n};\nvar FREEZE = !__webpack_require__(8)(function () {\n return isExtensible(Object.preventExtensions({}));\n});\nvar setMeta = function (it) {\n setDesc(it, META, { value: {\n i: 'O' + ++id, // object ID\n w: {} // weak collections IDs\n } });\n};\nvar fastKey = function (it, create) {\n // return primitive with prefix\n if (!isObject(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it;\n if (!has(it, META)) {\n // can't set metadata to uncaught frozen object\n if (!isExtensible(it)) return 'F';\n // not necessary to add metadata\n if (!create) return 'E';\n // add missing metadata\n setMeta(it);\n // return object ID\n } return it[META].i;\n};\nvar getWeak = function (it, create) {\n if (!has(it, META)) {\n // can't set metadata to uncaught frozen object\n if (!isExtensible(it)) return true;\n // not necessary to add metadata\n if (!create) return false;\n // add missing metadata\n setMeta(it);\n // return hash weak collections IDs\n } return it[META].w;\n};\n// add metadata on freeze-family methods calling\nvar onFreeze = function (it) {\n if (FREEZE && meta.NEED && isExtensible(it) && !has(it, META)) setMeta(it);\n return it;\n};\nvar meta = module.exports = {\n KEY: META,\n NEED: false,\n fastKey: fastKey,\n getWeak: getWeak,\n onFreeze: onFreeze\n};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiODEuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX21ldGEuanM/ZDNhMyJdLCJzb3VyY2VzQ29udGVudCI6WyJ2YXIgTUVUQSA9IHJlcXVpcmUoJy4vX3VpZCcpKCdtZXRhJyk7XG52YXIgaXNPYmplY3QgPSByZXF1aXJlKCcuL19pcy1vYmplY3QnKTtcbnZhciBoYXMgPSByZXF1aXJlKCcuL19oYXMnKTtcbnZhciBzZXREZXNjID0gcmVxdWlyZSgnLi9fb2JqZWN0LWRwJykuZjtcbnZhciBpZCA9IDA7XG52YXIgaXNFeHRlbnNpYmxlID0gT2JqZWN0LmlzRXh0ZW5zaWJsZSB8fCBmdW5jdGlvbiAoKSB7XG4gIHJldHVybiB0cnVlO1xufTtcbnZhciBGUkVFWkUgPSAhcmVxdWlyZSgnLi9fZmFpbHMnKShmdW5jdGlvbiAoKSB7XG4gIHJldHVybiBpc0V4dGVuc2libGUoT2JqZWN0LnByZXZlbnRFeHRlbnNpb25zKHt9KSk7XG59KTtcbnZhciBzZXRNZXRhID0gZnVuY3Rpb24gKGl0KSB7XG4gIHNldERlc2MoaXQsIE1FVEEsIHsgdmFsdWU6IHtcbiAgICBpOiAnTycgKyArK2lkLCAvLyBvYmplY3QgSURcbiAgICB3OiB7fSAgICAgICAgICAvLyB3ZWFrIGNvbGxlY3Rpb25zIElEc1xuICB9IH0pO1xufTtcbnZhciBmYXN0S2V5ID0gZnVuY3Rpb24gKGl0LCBjcmVhdGUpIHtcbiAgLy8gcmV0dXJuIHByaW1pdGl2ZSB3aXRoIHByZWZpeFxuICBpZiAoIWlzT2JqZWN0KGl0KSkgcmV0dXJuIHR5cGVvZiBpdCA9PSAnc3ltYm9sJyA/IGl0IDogKHR5cGVvZiBpdCA9PSAnc3RyaW5nJyA/ICdTJyA6ICdQJykgKyBpdDtcbiAgaWYgKCFoYXMoaXQsIE1FVEEpKSB7XG4gICAgLy8gY2FuJ3Qgc2V0IG1ldGFkYXRhIHRvIHVuY2F1Z2h0IGZyb3plbiBvYmplY3RcbiAgICBpZiAoIWlzRXh0ZW5zaWJsZShpdCkpIHJldHVybiAnRic7XG4gICAgLy8gbm90IG5lY2Vzc2FyeSB0byBhZGQgbWV0YWRhdGFcbiAgICBpZiAoIWNyZWF0ZSkgcmV0dXJuICdFJztcbiAgICAvLyBhZGQgbWlzc2luZyBtZXRhZGF0YVxuICAgIHNldE1ldGEoaXQpO1xuICAvLyByZXR1cm4gb2JqZWN0IElEXG4gIH0gcmV0dXJuIGl0W01FVEFdLmk7XG59O1xudmFyIGdldFdlYWsgPSBmdW5jdGlvbiAoaXQsIGNyZWF0ZSkge1xuICBpZiAoIWhhcyhpdCwgTUVUQSkpIHtcbiAgICAvLyBjYW4ndCBzZXQgbWV0YWRhdGEgdG8gdW5jYXVnaHQgZnJvemVuIG9iamVjdFxuICAgIGlmICghaXNFeHRlbnNpYmxlKGl0KSkgcmV0dXJuIHRydWU7XG4gICAgLy8gbm90IG5lY2Vzc2FyeSB0byBhZGQgbWV0YWRhdGFcbiAgICBpZiAoIWNyZWF0ZSkgcmV0dXJuIGZhbHNlO1xuICAgIC8vIGFkZCBtaXNzaW5nIG1ldGFkYXRhXG4gICAgc2V0TWV0YShpdCk7XG4gIC8vIHJldHVybiBoYXNoIHdlYWsgY29sbGVjdGlvbnMgSURzXG4gIH0gcmV0dXJuIGl0W01FVEFdLnc7XG59O1xuLy8gYWRkIG1ldGFkYXRhIG9uIGZyZWV6ZS1mYW1pbHkgbWV0aG9kcyBjYWxsaW5nXG52YXIgb25GcmVlemUgPSBmdW5jdGlvbiAoaXQpIHtcbiAgaWYgKEZSRUVaRSAmJiBtZXRhLk5FRUQgJiYgaXNFeHRlbnNpYmxlKGl0KSAmJiAhaGFzKGl0LCBNRVRBKSkgc2V0TWV0YShpdCk7XG4gIHJldHVybiBpdDtcbn07XG52YXIgbWV0YSA9IG1vZHVsZS5leHBvcnRzID0ge1xuICBLRVk6IE1FVEEsXG4gIE5FRUQ6IGZhbHNlLFxuICBmYXN0S2V5OiBmYXN0S2V5LFxuICBnZXRXZWFrOiBnZXRXZWFrLFxuICBvbkZyZWV6ZTogb25GcmVlemVcbn07XG5cblxuXG4vLy8vLy8vLy8vLy8vLy8vLy9cbi8vIFdFQlBBQ0sgRk9PVEVSXG4vLyAuL25vZGVfbW9kdWxlcy9jb3JlLWpzL2xpYnJhcnkvbW9kdWxlcy9fbWV0YS5qc1xuLy8gbW9kdWxlIGlkID0gODFcbi8vIG1vZHVsZSBjaHVua3MgPSAwIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOyIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///81\n");
/***/ }),
/* 82 */
/***/ (function(module, exports, __webpack_require__) {
eval("// all enumerable object keys, includes symbols\nvar getKeys = __webpack_require__(13);\nvar gOPS = __webpack_require__(22);\nvar pIE = __webpack_require__(15);\nmodule.exports = function (it) {\n var result = getKeys(it);\n var getSymbols = gOPS.f;\n if (getSymbols) {\n var symbols = getSymbols(it);\n var isEnum = pIE.f;\n var i = 0;\n var key;\n while (symbols.length > i) if (isEnum.call(it, key = symbols[i++])) result.push(key);\n } return result;\n};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiODIuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX2VudW0ta2V5cy5qcz81ZGNlIl0sInNvdXJjZXNDb250ZW50IjpbIi8vIGFsbCBlbnVtZXJhYmxlIG9iamVjdCBrZXlzLCBpbmNsdWRlcyBzeW1ib2xzXG52YXIgZ2V0S2V5cyA9IHJlcXVpcmUoJy4vX29iamVjdC1rZXlzJyk7XG52YXIgZ09QUyA9IHJlcXVpcmUoJy4vX29iamVjdC1nb3BzJyk7XG52YXIgcElFID0gcmVxdWlyZSgnLi9fb2JqZWN0LXBpZScpO1xubW9kdWxlLmV4cG9ydHMgPSBmdW5jdGlvbiAoaXQpIHtcbiAgdmFyIHJlc3VsdCA9IGdldEtleXMoaXQpO1xuICB2YXIgZ2V0U3ltYm9scyA9IGdPUFMuZjtcbiAgaWYgKGdldFN5bWJvbHMpIHtcbiAgICB2YXIgc3ltYm9scyA9IGdldFN5bWJvbHMoaXQpO1xuICAgIHZhciBpc0VudW0gPSBwSUUuZjtcbiAgICB2YXIgaSA9IDA7XG4gICAgdmFyIGtleTtcbiAgICB3aGlsZSAoc3ltYm9scy5sZW5ndGggPiBpKSBpZiAoaXNFbnVtLmNhbGwoaXQsIGtleSA9IHN5bWJvbHNbaSsrXSkpIHJlc3VsdC5wdXNoKGtleSk7XG4gIH0gcmV0dXJuIHJlc3VsdDtcbn07XG5cblxuXG4vLy8vLy8vLy8vLy8vLy8vLy9cbi8vIFdFQlBBQ0sgRk9PVEVSXG4vLyAuL25vZGVfbW9kdWxlcy9jb3JlLWpzL2xpYnJhcnkvbW9kdWxlcy9fZW51bS1rZXlzLmpzXG4vLyBtb2R1bGUgaWQgPSA4MlxuLy8gbW9kdWxlIGNodW5rcyA9IDAiXSwibWFwcGluZ3MiOiJBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTsiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///82\n");
/***/ }),
/* 83 */
/***/ (function(module, exports, __webpack_require__) {
eval("// 7.2.2 IsArray(argument)\nvar cof = __webpack_require__(35);\nmodule.exports = Array.isArray || function isArray(arg) {\n return cof(arg) == 'Array';\n};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiODMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX2lzLWFycmF5LmpzP2VkNDMiXSwic291cmNlc0NvbnRlbnQiOlsiLy8gNy4yLjIgSXNBcnJheShhcmd1bWVudClcbnZhciBjb2YgPSByZXF1aXJlKCcuL19jb2YnKTtcbm1vZHVsZS5leHBvcnRzID0gQXJyYXkuaXNBcnJheSB8fCBmdW5jdGlvbiBpc0FycmF5KGFyZykge1xuICByZXR1cm4gY29mKGFyZykgPT0gJ0FycmF5Jztcbn07XG5cblxuXG4vLy8vLy8vLy8vLy8vLy8vLy9cbi8vIFdFQlBBQ0sgRk9PVEVSXG4vLyAuL25vZGVfbW9kdWxlcy9jb3JlLWpzL2xpYnJhcnkvbW9kdWxlcy9faXMtYXJyYXkuanNcbi8vIG1vZHVsZSBpZCA9IDgzXG4vLyBtb2R1bGUgY2h1bmtzID0gMCJdLCJtYXBwaW5ncyI6IkFBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTsiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///83\n");
/***/ }),
/* 84 */
/***/ (function(module, exports, __webpack_require__) {
eval("// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window\nvar toIObject = __webpack_require__(9);\nvar gOPN = __webpack_require__(44).f;\nvar toString = {}.toString;\n\nvar windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames\n ? Object.getOwnPropertyNames(window) : [];\n\nvar getWindowNames = function (it) {\n try {\n return gOPN(it);\n } catch (e) {\n return windowNames.slice();\n }\n};\n\nmodule.exports.f = function getOwnPropertyNames(it) {\n return windowNames && toString.call(it) == '[object Window]' ? getWindowNames(it) : gOPN(toIObject(it));\n};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiODQuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX29iamVjdC1nb3BuLWV4dC5qcz80NmI3Il0sInNvdXJjZXNDb250ZW50IjpbIi8vIGZhbGxiYWNrIGZvciBJRTExIGJ1Z2d5IE9iamVjdC5nZXRPd25Qcm9wZXJ0eU5hbWVzIHdpdGggaWZyYW1lIGFuZCB3aW5kb3dcbnZhciB0b0lPYmplY3QgPSByZXF1aXJlKCcuL190by1pb2JqZWN0Jyk7XG52YXIgZ09QTiA9IHJlcXVpcmUoJy4vX29iamVjdC1nb3BuJykuZjtcbnZhciB0b1N0cmluZyA9IHt9LnRvU3RyaW5nO1xuXG52YXIgd2luZG93TmFtZXMgPSB0eXBlb2Ygd2luZG93ID09ICdvYmplY3QnICYmIHdpbmRvdyAmJiBPYmplY3QuZ2V0T3duUHJvcGVydHlOYW1lc1xuICA/IE9iamVjdC5nZXRPd25Qcm9wZXJ0eU5hbWVzKHdpbmRvdykgOiBbXTtcblxudmFyIGdldFdpbmRvd05hbWVzID0gZnVuY3Rpb24gKGl0KSB7XG4gIHRyeSB7XG4gICAgcmV0dXJuIGdPUE4oaXQpO1xuICB9IGNhdGNoIChlKSB7XG4gICAgcmV0dXJuIHdpbmRvd05hbWVzLnNsaWNlKCk7XG4gIH1cbn07XG5cbm1vZHVsZS5leHBvcnRzLmYgPSBmdW5jdGlvbiBnZXRPd25Qcm9wZXJ0eU5hbWVzKGl0KSB7XG4gIHJldHVybiB3aW5kb3dOYW1lcyAmJiB0b1N0cmluZy5jYWxsKGl0KSA9PSAnW29iamVjdCBXaW5kb3ddJyA/IGdldFdpbmRvd05hbWVzKGl0KSA6IGdPUE4odG9JT2JqZWN0KGl0KSk7XG59O1xuXG5cblxuLy8vLy8vLy8vLy8vLy8vLy8vXG4vLyBXRUJQQUNLIEZPT1RFUlxuLy8gLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX29iamVjdC1nb3BuLWV4dC5qc1xuLy8gbW9kdWxlIGlkID0gODRcbi8vIG1vZHVsZSBjaHVua3MgPSAwIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTsiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///84\n");
/***/ }),
/* 85 */
/***/ (function(module, exports) {
eval("//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiODUuanMiLCJzb3VyY2VzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///85\n");
/***/ }),
/* 86 */
/***/ (function(module, exports, __webpack_require__) {
eval("__webpack_require__(29)('asyncIterator');\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiODYuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvZXM3LnN5bWJvbC5hc3luYy1pdGVyYXRvci5qcz8zOTg5Il0sInNvdXJjZXNDb250ZW50IjpbInJlcXVpcmUoJy4vX3drcy1kZWZpbmUnKSgnYXN5bmNJdGVyYXRvcicpO1xuXG5cblxuLy8vLy8vLy8vLy8vLy8vLy8vXG4vLyBXRUJQQUNLIEZPT1RFUlxuLy8gLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvZXM3LnN5bWJvbC5hc3luYy1pdGVyYXRvci5qc1xuLy8gbW9kdWxlIGlkID0gODZcbi8vIG1vZHVsZSBjaHVua3MgPSAwIl0sIm1hcHBpbmdzIjoiQUFBQTsiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///86\n");
/***/ }),
/* 87 */
/***/ (function(module, exports, __webpack_require__) {
eval("__webpack_require__(29)('observable');\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiODcuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvZXM3LnN5bWJvbC5vYnNlcnZhYmxlLmpzPzQxNjciXSwic291cmNlc0NvbnRlbnQiOlsicmVxdWlyZSgnLi9fd2tzLWRlZmluZScpKCdvYnNlcnZhYmxlJyk7XG5cblxuXG4vLy8vLy8vLy8vLy8vLy8vLy9cbi8vIFdFQlBBQ0sgRk9PVEVSXG4vLyAuL25vZGVfbW9kdWxlcy9jb3JlLWpzL2xpYnJhcnkvbW9kdWxlcy9lczcuc3ltYm9sLm9ic2VydmFibGUuanNcbi8vIG1vZHVsZSBpZCA9IDg3XG4vLyBtb2R1bGUgY2h1bmtzID0gMCJdLCJtYXBwaW5ncyI6IkFBQUE7Iiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///87\n");
/***/ }),
/* 88 */
/***/ (function(module, exports, __webpack_require__) {
eval("module.exports = { \"default\": __webpack_require__(89), __esModule: true };//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiODguanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvYmFiZWwtcnVudGltZS9jb3JlLWpzL29iamVjdC9zZXQtcHJvdG90eXBlLW9mLmpzPzkyMjAiXSwic291cmNlc0NvbnRlbnQiOlsibW9kdWxlLmV4cG9ydHMgPSB7IFwiZGVmYXVsdFwiOiByZXF1aXJlKFwiY29yZS1qcy9saWJyYXJ5L2ZuL29iamVjdC9zZXQtcHJvdG90eXBlLW9mXCIpLCBfX2VzTW9kdWxlOiB0cnVlIH07XG5cblxuLy8vLy8vLy8vLy8vLy8vLy8vXG4vLyBXRUJQQUNLIEZPT1RFUlxuLy8gLi9ub2RlX21vZHVsZXMvYmFiZWwtcnVudGltZS9jb3JlLWpzL29iamVjdC9zZXQtcHJvdG90eXBlLW9mLmpzXG4vLyBtb2R1bGUgaWQgPSA4OFxuLy8gbW9kdWxlIGNodW5rcyA9IDAiXSwibWFwcGluZ3MiOiJBQUFBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///88\n");
/***/ }),
/* 89 */
/***/ (function(module, exports, __webpack_require__) {
eval("__webpack_require__(90);\nmodule.exports = __webpack_require__(0).Object.setPrototypeOf;\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiODkuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L2ZuL29iamVjdC9zZXQtcHJvdG90eXBlLW9mLmpzPzhiZjAiXSwic291cmNlc0NvbnRlbnQiOlsicmVxdWlyZSgnLi4vLi4vbW9kdWxlcy9lczYub2JqZWN0LnNldC1wcm90b3R5cGUtb2YnKTtcbm1vZHVsZS5leHBvcnRzID0gcmVxdWlyZSgnLi4vLi4vbW9kdWxlcy9fY29yZScpLk9iamVjdC5zZXRQcm90b3R5cGVPZjtcblxuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vbm9kZV9tb2R1bGVzL2NvcmUtanMvbGlicmFyeS9mbi9vYmplY3Qvc2V0LXByb3RvdHlwZS1vZi5qc1xuLy8gbW9kdWxlIGlkID0gODlcbi8vIG1vZHVsZSBjaHVua3MgPSAwIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUNBOyIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///89\n");
/***/ }),
/* 90 */
/***/ (function(module, exports, __webpack_require__) {
eval("// 19.1.3.19 Object.setPrototypeOf(O, proto)\nvar $export = __webpack_require__(2);\n$export($export.S, 'Object', { setPrototypeOf: __webpack_require__(91).set });\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiOTAuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvZXM2Lm9iamVjdC5zZXQtcHJvdG90eXBlLW9mLmpzPzdiMTgiXSwic291cmNlc0NvbnRlbnQiOlsiLy8gMTkuMS4zLjE5IE9iamVjdC5zZXRQcm90b3R5cGVPZihPLCBwcm90bylcbnZhciAkZXhwb3J0ID0gcmVxdWlyZSgnLi9fZXhwb3J0Jyk7XG4kZXhwb3J0KCRleHBvcnQuUywgJ09iamVjdCcsIHsgc2V0UHJvdG90eXBlT2Y6IHJlcXVpcmUoJy4vX3NldC1wcm90bycpLnNldCB9KTtcblxuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vbm9kZV9tb2R1bGVzL2NvcmUtanMvbGlicmFyeS9tb2R1bGVzL2VzNi5vYmplY3Quc2V0LXByb3RvdHlwZS1vZi5qc1xuLy8gbW9kdWxlIGlkID0gOTBcbi8vIG1vZHVsZSBjaHVua3MgPSAwIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUNBO0FBQ0E7Iiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///90\n");
/***/ }),
/* 91 */
/***/ (function(module, exports, __webpack_require__) {
eval("// Works with __proto__ only. Old v8 can't work with null proto objects.\n/* eslint-disable no-proto */\nvar isObject = __webpack_require__(7);\nvar anObject = __webpack_require__(11);\nvar check = function (O, proto) {\n anObject(O);\n if (!isObject(proto) && proto !== null) throw TypeError(proto + \": can't set as prototype!\");\n};\nmodule.exports = {\n set: Object.setPrototypeOf || ('__proto__' in {} ? // eslint-disable-line\n function (test, buggy, set) {\n try {\n set = __webpack_require__(30)(Function.call, __webpack_require__(45).f(Object.prototype, '__proto__').set, 2);\n set(test, []);\n buggy = !(test instanceof Array);\n } catch (e) { buggy = true; }\n return function setPrototypeOf(O, proto) {\n check(O, proto);\n if (buggy) O.__proto__ = proto;\n else set(O, proto);\n return O;\n };\n }({}, false) : undefined),\n check: check\n};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiOTEuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX3NldC1wcm90by5qcz82NWE0Il0sInNvdXJjZXNDb250ZW50IjpbIi8vIFdvcmtzIHdpdGggX19wcm90b19fIG9ubHkuIE9sZCB2OCBjYW4ndCB3b3JrIHdpdGggbnVsbCBwcm90byBvYmplY3RzLlxuLyogZXNsaW50LWRpc2FibGUgbm8tcHJvdG8gKi9cbnZhciBpc09iamVjdCA9IHJlcXVpcmUoJy4vX2lzLW9iamVjdCcpO1xudmFyIGFuT2JqZWN0ID0gcmVxdWlyZSgnLi9fYW4tb2JqZWN0Jyk7XG52YXIgY2hlY2sgPSBmdW5jdGlvbiAoTywgcHJvdG8pIHtcbiAgYW5PYmplY3QoTyk7XG4gIGlmICghaXNPYmplY3QocHJvdG8pICYmIHByb3RvICE9PSBudWxsKSB0aHJvdyBUeXBlRXJyb3IocHJvdG8gKyBcIjogY2FuJ3Qgc2V0IGFzIHByb3RvdHlwZSFcIik7XG59O1xubW9kdWxlLmV4cG9ydHMgPSB7XG4gIHNldDogT2JqZWN0LnNldFByb3RvdHlwZU9mIHx8ICgnX19wcm90b19fJyBpbiB7fSA/IC8vIGVzbGludC1kaXNhYmxlLWxpbmVcbiAgICBmdW5jdGlvbiAodGVzdCwgYnVnZ3ksIHNldCkge1xuICAgICAgdHJ5IHtcbiAgICAgICAgc2V0ID0gcmVxdWlyZSgnLi9fY3R4JykoRnVuY3Rpb24uY2FsbCwgcmVxdWlyZSgnLi9fb2JqZWN0LWdvcGQnKS5mKE9iamVjdC5wcm90b3R5cGUsICdfX3Byb3RvX18nKS5zZXQsIDIpO1xuICAgICAgICBzZXQodGVzdCwgW10pO1xuICAgICAgICBidWdneSA9ICEodGVzdCBpbnN0YW5jZW9mIEFycmF5KTtcbiAgICAgIH0gY2F0Y2ggKGUpIHsgYnVnZ3kgPSB0cnVlOyB9XG4gICAgICByZXR1cm4gZnVuY3Rpb24gc2V0UHJvdG90eXBlT2YoTywgcHJvdG8pIHtcbiAgICAgICAgY2hlY2soTywgcHJvdG8pO1xuICAgICAgICBpZiAoYnVnZ3kpIE8uX19wcm90b19fID0gcHJvdG87XG4gICAgICAgIGVsc2Ugc2V0KE8sIHByb3RvKTtcbiAgICAgICAgcmV0dXJuIE87XG4gICAgICB9O1xuICAgIH0oe30sIGZhbHNlKSA6IHVuZGVmaW5lZCksXG4gIGNoZWNrOiBjaGVja1xufTtcblxuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vbm9kZV9tb2R1bGVzL2NvcmUtanMvbGlicmFyeS9tb2R1bGVzL19zZXQtcHJvdG8uanNcbi8vIG1vZHVsZSBpZCA9IDkxXG4vLyBtb2R1bGUgY2h1bmtzID0gMCJdLCJtYXBwaW5ncyI6IkFBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7Iiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///91\n");
/***/ }),
/* 92 */
/***/ (function(module, exports, __webpack_require__) {
eval("module.exports = { \"default\": __webpack_require__(93), __esModule: true };//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiOTIuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvYmFiZWwtcnVudGltZS9jb3JlLWpzL29iamVjdC9jcmVhdGUuanM/M2FmNCJdLCJzb3VyY2VzQ29udGVudCI6WyJtb2R1bGUuZXhwb3J0cyA9IHsgXCJkZWZhdWx0XCI6IHJlcXVpcmUoXCJjb3JlLWpzL2xpYnJhcnkvZm4vb2JqZWN0L2NyZWF0ZVwiKSwgX19lc01vZHVsZTogdHJ1ZSB9O1xuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vbm9kZV9tb2R1bGVzL2JhYmVsLXJ1bnRpbWUvY29yZS1qcy9vYmplY3QvY3JlYXRlLmpzXG4vLyBtb2R1bGUgaWQgPSA5MlxuLy8gbW9kdWxlIGNodW5rcyA9IDAiXSwibWFwcGluZ3MiOiJBQUFBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///92\n");
/***/ }),
/* 93 */
/***/ (function(module, exports, __webpack_require__) {
eval("__webpack_require__(94);\nvar $Object = __webpack_require__(0).Object;\nmodule.exports = function create(P, D) {\n return $Object.create(P, D);\n};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiOTMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L2ZuL29iamVjdC9jcmVhdGUuanM/YTBjZSJdLCJzb3VyY2VzQ29udGVudCI6WyJyZXF1aXJlKCcuLi8uLi9tb2R1bGVzL2VzNi5vYmplY3QuY3JlYXRlJyk7XG52YXIgJE9iamVjdCA9IHJlcXVpcmUoJy4uLy4uL21vZHVsZXMvX2NvcmUnKS5PYmplY3Q7XG5tb2R1bGUuZXhwb3J0cyA9IGZ1bmN0aW9uIGNyZWF0ZShQLCBEKSB7XG4gIHJldHVybiAkT2JqZWN0LmNyZWF0ZShQLCBEKTtcbn07XG5cblxuXG4vLy8vLy8vLy8vLy8vLy8vLy9cbi8vIFdFQlBBQ0sgRk9PVEVSXG4vLyAuL25vZGVfbW9kdWxlcy9jb3JlLWpzL2xpYnJhcnkvZm4vb2JqZWN0L2NyZWF0ZS5qc1xuLy8gbW9kdWxlIGlkID0gOTNcbi8vIG1vZHVsZSBjaHVua3MgPSAwIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOyIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///93\n");
/***/ }),
/* 94 */
/***/ (function(module, exports, __webpack_require__) {
eval("var $export = __webpack_require__(2);\n// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])\n$export($export.S, 'Object', { create: __webpack_require__(26) });\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiOTQuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvZXM2Lm9iamVjdC5jcmVhdGUuanM/YjA1ZiJdLCJzb3VyY2VzQ29udGVudCI6WyJ2YXIgJGV4cG9ydCA9IHJlcXVpcmUoJy4vX2V4cG9ydCcpO1xuLy8gMTkuMS4yLjIgLyAxNS4yLjMuNSBPYmplY3QuY3JlYXRlKE8gWywgUHJvcGVydGllc10pXG4kZXhwb3J0KCRleHBvcnQuUywgJ09iamVjdCcsIHsgY3JlYXRlOiByZXF1aXJlKCcuL19vYmplY3QtY3JlYXRlJykgfSk7XG5cblxuXG4vLy8vLy8vLy8vLy8vLy8vLy9cbi8vIFdFQlBBQ0sgRk9PVEVSXG4vLyAuL25vZGVfbW9kdWxlcy9jb3JlLWpzL2xpYnJhcnkvbW9kdWxlcy9lczYub2JqZWN0LmNyZWF0ZS5qc1xuLy8gbW9kdWxlIGlkID0gOTRcbi8vIG1vZHVsZSBjaHVua3MgPSAwIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUNBO0FBQ0E7Iiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///94\n");
/***/ }),
/* 95 */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_core_js_object_get_prototype_of__ = __webpack_require__(36);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_core_js_object_get_prototype_of___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_babel_runtime_core_js_object_get_prototype_of__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_classCallCheck__ = __webpack_require__(38);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_classCallCheck___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_classCallCheck__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_createClass__ = __webpack_require__(39);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_createClass___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_createClass__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_babel_runtime_helpers_possibleConstructorReturn__ = __webpack_require__(40);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_babel_runtime_helpers_possibleConstructorReturn___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_babel_runtime_helpers_possibleConstructorReturn__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_babel_runtime_helpers_inherits__ = __webpack_require__(46);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_babel_runtime_helpers_inherits___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4_babel_runtime_helpers_inherits__);\n\n\n\n\n\n/**\n * Internal block libraries\n */\nvar __ = wp.i18n.__;\nvar Component = wp.element.Component;\nvar _wp$blocks = wp.blocks,\n AlignmentToolbar = _wp$blocks.AlignmentToolbar,\n BlockControls = _wp$blocks.BlockControls,\n BlockAlignmentToolbar = _wp$blocks.BlockAlignmentToolbar,\n InspectorControls = _wp$blocks.InspectorControls;\n\n/**\n * Create a Block Controls wrapper Component\n */\n\nvar Inspector = function (_Component) {\n __WEBPACK_IMPORTED_MODULE_4_babel_runtime_helpers_inherits___default()(Inspector, _Component);\n\n function Inspector() {\n __WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_classCallCheck___default()(this, Inspector);\n\n return __WEBPACK_IMPORTED_MODULE_3_babel_runtime_helpers_possibleConstructorReturn___default()(this, (Inspector.__proto__ || __WEBPACK_IMPORTED_MODULE_0_babel_runtime_core_js_object_get_prototype_of___default()(Inspector)).apply(this, arguments));\n }\n\n __WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_createClass___default()(Inspector, [{\n key: \"render\",\n value: function render() {\n var _props = this.props,\n _props$attributes = _props.attributes,\n blockAlignment = _props$attributes.blockAlignment,\n mainContentAlignment = _props$attributes.mainContentAlignment,\n nodeName = _props$attributes.nodeName,\n setAttributes = _props.setAttributes;\n\n return wp.element.createElement(\n BlockControls,\n null,\n wp.element.createElement(BlockAlignmentToolbar, {\n value: blockAlignment,\n onChange: function onChange(blockAlignment) {\n return setAttributes({ blockAlignment: blockAlignment });\n }\n }),\n wp.element.createElement(AlignmentToolbar, {\n value: mainContentAlignment,\n onChange: function onChange(mainContentAlignment) {\n return setAttributes({ mainContentAlignment: mainContentAlignment });\n }\n })\n );\n }\n }]);\n\n return Inspector;\n}(Component);\n\n/* harmony default export */ __webpack_exports__[\"a\"] = (Inspector);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiOTUuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ibG9ja3MvY2hhcHRlci9jb250cm9scy5qcz8yYzlkIl0sInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBfT2JqZWN0JGdldFByb3RvdHlwZU9mIGZyb20gXCJiYWJlbC1ydW50aW1lL2NvcmUtanMvb2JqZWN0L2dldC1wcm90b3R5cGUtb2ZcIjtcbmltcG9ydCBfY2xhc3NDYWxsQ2hlY2sgZnJvbSBcImJhYmVsLXJ1bnRpbWUvaGVscGVycy9jbGFzc0NhbGxDaGVja1wiO1xuaW1wb3J0IF9jcmVhdGVDbGFzcyBmcm9tIFwiYmFiZWwtcnVudGltZS9oZWxwZXJzL2NyZWF0ZUNsYXNzXCI7XG5pbXBvcnQgX3Bvc3NpYmxlQ29uc3RydWN0b3JSZXR1cm4gZnJvbSBcImJhYmVsLXJ1bnRpbWUvaGVscGVycy9wb3NzaWJsZUNvbnN0cnVjdG9yUmV0dXJuXCI7XG5pbXBvcnQgX2luaGVyaXRzIGZyb20gXCJiYWJlbC1ydW50aW1lL2hlbHBlcnMvaW5oZXJpdHNcIjtcbi8qKlxuICogSW50ZXJuYWwgYmxvY2sgbGlicmFyaWVzXG4gKi9cbnZhciBfXyA9IHdwLmkxOG4uX187XG52YXIgQ29tcG9uZW50ID0gd3AuZWxlbWVudC5Db21wb25lbnQ7XG52YXIgX3dwJGJsb2NrcyA9IHdwLmJsb2NrcyxcbiAgICBBbGlnbm1lbnRUb29sYmFyID0gX3dwJGJsb2Nrcy5BbGlnbm1lbnRUb29sYmFyLFxuICAgIEJsb2NrQ29udHJvbHMgPSBfd3AkYmxvY2tzLkJsb2NrQ29udHJvbHMsXG4gICAgQmxvY2tBbGlnbm1lbnRUb29sYmFyID0gX3dwJGJsb2Nrcy5CbG9ja0FsaWdubWVudFRvb2xiYXIsXG4gICAgSW5zcGVjdG9yQ29udHJvbHMgPSBfd3AkYmxvY2tzLkluc3BlY3RvckNvbnRyb2xzO1xuXG4vKipcbiAqIENyZWF0ZSBhIEJsb2NrIENvbnRyb2xzIHdyYXBwZXIgQ29tcG9uZW50XG4gKi9cblxudmFyIEluc3BlY3RvciA9IGZ1bmN0aW9uIChfQ29tcG9uZW50KSB7XG4gICAgX2luaGVyaXRzKEluc3BlY3RvciwgX0NvbXBvbmVudCk7XG5cbiAgICBmdW5jdGlvbiBJbnNwZWN0b3IoKSB7XG4gICAgICAgIF9jbGFzc0NhbGxDaGVjayh0aGlzLCBJbnNwZWN0b3IpO1xuXG4gICAgICAgIHJldHVybiBfcG9zc2libGVDb25zdHJ1Y3RvclJldHVybih0aGlzLCAoSW5zcGVjdG9yLl9fcHJvdG9fXyB8fCBfT2JqZWN0JGdldFByb3RvdHlwZU9mKEluc3BlY3RvcikpLmFwcGx5KHRoaXMsIGFyZ3VtZW50cykpO1xuICAgIH1cblxuICAgIF9jcmVhdGVDbGFzcyhJbnNwZWN0b3IsIFt7XG4gICAgICAgIGtleTogXCJyZW5kZXJcIixcbiAgICAgICAgdmFsdWU6IGZ1bmN0aW9uIHJlbmRlcigpIHtcbiAgICAgICAgICAgIHZhciBfcHJvcHMgPSB0aGlzLnByb3BzLFxuICAgICAgICAgICAgICAgIF9wcm9wcyRhdHRyaWJ1dGVzID0gX3Byb3BzLmF0dHJpYnV0ZXMsXG4gICAgICAgICAgICAgICAgYmxvY2tBbGlnbm1lbnQgPSBfcHJvcHMkYXR0cmlidXRlcy5ibG9ja0FsaWdubWVudCxcbiAgICAgICAgICAgICAgICBtYWluQ29udGVudEFsaWdubWVudCA9IF9wcm9wcyRhdHRyaWJ1dGVzLm1haW5Db250ZW50QWxpZ25tZW50LFxuICAgICAgICAgICAgICAgIG5vZGVOYW1lID0gX3Byb3BzJGF0dHJpYnV0ZXMubm9kZU5hbWUsXG4gICAgICAgICAgICAgICAgc2V0QXR0cmlidXRlcyA9IF9wcm9wcy5zZXRBdHRyaWJ1dGVzO1xuXG4gICAgICAgICAgICByZXR1cm4gd3AuZWxlbWVudC5jcmVhdGVFbGVtZW50KFxuICAgICAgICAgICAgICAgIEJsb2NrQ29udHJvbHMsXG4gICAgICAgICAgICAgICAgbnVsbCxcbiAgICAgICAgICAgICAgICB3cC5lbGVtZW50LmNyZWF0ZUVsZW1lbnQoQmxvY2tBbGlnbm1lbnRUb29sYmFyLCB7XG4gICAgICAgICAgICAgICAgICAgIHZhbHVlOiBibG9ja0FsaWdubWVudCxcbiAgICAgICAgICAgICAgICAgICAgb25DaGFuZ2U6IGZ1bmN0aW9uIG9uQ2hhbmdlKGJsb2NrQWxpZ25tZW50KSB7XG4gICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gc2V0QXR0cmlidXRlcyh7IGJsb2NrQWxpZ25tZW50OiBibG9ja0FsaWdubWVudCB9KTtcbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIH0pLFxuICAgICAgICAgICAgICAgIHdwLmVsZW1lbnQuY3JlYXRlRWxlbWVudChBbGlnbm1lbnRUb29sYmFyLCB7XG4gICAgICAgICAgICAgICAgICAgIHZhbHVlOiBtYWluQ29udGVudEFsaWdubWVudCxcbiAgICAgICAgICAgICAgICAgICAgb25DaGFuZ2U6IGZ1bmN0aW9uIG9uQ2hhbmdlKG1haW5Db250ZW50QWxpZ25tZW50KSB7XG4gICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gc2V0QXR0cmlidXRlcyh7IG1haW5Db250ZW50QWxpZ25tZW50OiBtYWluQ29udGVudEFsaWdubWVudCB9KTtcbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIH0pXG4gICAgICAgICAgICApO1xuICAgICAgICB9XG4gICAgfV0pO1xuXG4gICAgcmV0dXJuIEluc3BlY3Rvcjtcbn0oQ29tcG9uZW50KTtcblxuZXhwb3J0IGRlZmF1bHQgSW5zcGVjdG9yO1xuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vYmxvY2tzL2NoYXB0ZXIvY29udHJvbHMuanNcbi8vIG1vZHVsZSBpZCA9IDk1XG4vLyBtb2R1bGUgY2h1bmtzID0gMCJdLCJtYXBwaW5ncyI6IkFBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///95\n");
/***/ }),
/* 96 */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("var icons = {};\n\nicons.upload = wp.element.createElement(\n 'svg',\n { width: '20px', height: '20px', viewBox: '0 0 100 100', xmlns: 'http://www.w3.org/2000/svg' },\n wp.element.createElement('path', { d: 'm77.945 91.453h-72.371c-3.3711 0-5.5742-2.3633-5.5742-5.2422v-55.719c0-3.457 2.1172-6.0703 5.5742-6.0703h44.453v11.051l-38.98-0.003906v45.008h60.977v-17.133l11.988-0.007812v22.875c0 2.8789-2.7812 5.2422-6.0664 5.2422z'\n }),\n wp.element.createElement('path', { d: 'm16.543 75.48l23.25-22.324 10.441 9.7773 11.234-14.766 5.5039 10.539 0.039063 16.773z'\n }),\n wp.element.createElement('path', { d: 'm28.047 52.992c-3.168 0-5.7422-2.5742-5.7422-5.7461 0-3.1758 2.5742-5.75 5.7422-5.75 3.1797 0 5.7539 2.5742 5.7539 5.75 0 3.1719-2.5742 5.7461-5.7539 5.7461z'\n }),\n wp.element.createElement('path', { d: 'm84.043 30.492v22.02h-12.059l-0.015625-22.02h-15.852l21.941-21.945 21.941 21.945z'\n })\n);\n\nicons.swap = wp.element.createElement(\n 'svg',\n { width: '20px', height: '20px', viewBox: '0 0 100 100', xmlns: 'http://www.w3.org/2000/svg' },\n wp.element.createElement('path', { d: 'm39.66 76.422h36.762v-36.781h-36.762zm4.6211-32.141h27.5v27.5h-27.5z'\n }),\n wp.element.createElement('path', { d: 'm36.801 55.719h-8.582v-27.5h27.5v9.2031h4.6406v-13.844h-36.781v36.762h13.223z'\n }),\n wp.element.createElement('path', { d: 'm90.18 42.781c-3-16.801-16.02-29.922-33-32.961-2.3789-0.42187-4.7812-0.64062-7.1797-0.64062v4.6211c2.1211 0 4.2617 0.17969 6.3594 0.55859 14.781 2.6406 26.18 13.898 29.121 28.398l-5.6602 0.003907 8.0781 14 8.0781-14h-5.7969z'\n }),\n wp.element.createElement('path', { d: 'm14.52 57.219h5.6602l-8.0781-13.98-8.0781 14h5.8008c3 16.801 16.039 29.941 33 32.961 2.375 0.40234 4.7773 0.64062 7.1758 0.64062v-4.6406c-2.1016 0-4.2617-0.19922-6.3594-0.57812-14.781-2.6406-26.18-13.883-29.121-28.402z'\n })\n);\n\nicons.remove = wp.element.createElement(\n 'svg',\n { width: '20px', height: '20px', viewBox: '0 0 100 100', xmlns: 'http://www.w3.org/2000/svg' },\n wp.element.createElement('path', { d: 'm50 2.5c-26.199 0-47.5 21.301-47.5 47.5s21.301 47.5 47.5 47.5 47.5-21.301 47.5-47.5-21.301-47.5-47.5-47.5zm24.898 62.301l-10.199 10.199-14.801-14.801-14.801 14.801-10.199-10.199 14.801-14.801-14.801-14.801 10.199-10.199 14.801 14.801 14.801-14.801 10.199 10.199-14.801 14.801z'\n })\n);\n\nicons.chapter = wp.element.createElement(\n 'svg',\n { className: 'dashicon dashicons-align-full-width', xmlns: 'http://www.w3.org/2000/svg',\n width: '20', height: '20', viewBox: '0 0 20 20' },\n wp.element.createElement('path', { d: 'M17 13V3H3v10h14zM5 17h10v-2H5v2z' })\n);\n\nicons.image = wp.element.createElement(\n 'svg',\n { className: 'dashicon dashicons-format-image', xmlns: 'http://www.w3.org/2000/svg',\n width: '20', height: '20', viewBox: '0 0 20 20' },\n wp.element.createElement('path', { d: 'M2.25 1h15.5c.69 0 1.25.56 1.25 1.25v15.5c0 .69-.56 1.25-1.25 1.25H2.25C1.56 19 1 18.44 1 17.75V2.25C1 1.56 1.56 1 2.25 1zM17 17V3H3v14h14zM10 6c0-1.1-.9-2-2-2s-2 .9-2 2 .9 2 2 2 2-.9 2-2zm3 5s0-6 3-6v10c0 .55-.45 1-1 1H5c-.55 0-1-.45-1-1V8c2 0 3 4 3 4s1-3 3-3 3 2 3 2z'\n })\n);\n\n/* harmony default export */ __webpack_exports__[\"a\"] = (icons);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiOTYuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ibG9ja3MvY2hhcHRlci9pY29ucy5qcz8wMDZkIl0sInNvdXJjZXNDb250ZW50IjpbInZhciBpY29ucyA9IHt9O1xuXG5pY29ucy51cGxvYWQgPSB3cC5lbGVtZW50LmNyZWF0ZUVsZW1lbnQoXG4gICAgJ3N2ZycsXG4gICAgeyB3aWR0aDogJzIwcHgnLCBoZWlnaHQ6ICcyMHB4Jywgdmlld0JveDogJzAgMCAxMDAgMTAwJywgeG1sbnM6ICdodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZycgfSxcbiAgICB3cC5lbGVtZW50LmNyZWF0ZUVsZW1lbnQoJ3BhdGgnLCB7IGQ6ICdtNzcuOTQ1IDkxLjQ1M2gtNzIuMzcxYy0zLjM3MTEgMC01LjU3NDItMi4zNjMzLTUuNTc0Mi01LjI0MjJ2LTU1LjcxOWMwLTMuNDU3IDIuMTE3Mi02LjA3MDMgNS41NzQyLTYuMDcwM2g0NC40NTN2MTEuMDUxbC0zOC45OC0wLjAwMzkwNnY0NS4wMDhoNjAuOTc3di0xNy4xMzNsMTEuOTg4LTAuMDA3ODEydjIyLjg3NWMwIDIuODc4OS0yLjc4MTIgNS4yNDIyLTYuMDY2NCA1LjI0MjJ6J1xuICAgIH0pLFxuICAgIHdwLmVsZW1lbnQuY3JlYXRlRWxlbWVudCgncGF0aCcsIHsgZDogJ20xNi41NDMgNzUuNDhsMjMuMjUtMjIuMzI0IDEwLjQ0MSA5Ljc3NzMgMTEuMjM0LTE0Ljc2NiA1LjUwMzkgMTAuNTM5IDAuMDM5MDYzIDE2Ljc3M3onXG4gICAgfSksXG4gICAgd3AuZWxlbWVudC5jcmVhdGVFbGVtZW50KCdwYXRoJywgeyBkOiAnbTI4LjA0NyA1Mi45OTJjLTMuMTY4IDAtNS43NDIyLTIuNTc0Mi01Ljc0MjItNS43NDYxIDAtMy4xNzU4IDIuNTc0Mi01Ljc1IDUuNzQyMi01Ljc1IDMuMTc5NyAwIDUuNzUzOSAyLjU3NDIgNS43NTM5IDUuNzUgMCAzLjE3MTktMi41NzQyIDUuNzQ2MS01Ljc1MzkgNS43NDYxeidcbiAgICB9KSxcbiAgICB3cC5lbGVtZW50LmNyZWF0ZUVsZW1lbnQoJ3BhdGgnLCB7IGQ6ICdtODQuMDQzIDMwLjQ5MnYyMi4wMmgtMTIuMDU5bC0wLjAxNTYyNS0yMi4wMmgtMTUuODUybDIxLjk0MS0yMS45NDUgMjEuOTQxIDIxLjk0NXonXG4gICAgfSlcbik7XG5cbmljb25zLnN3YXAgPSB3cC5lbGVtZW50LmNyZWF0ZUVsZW1lbnQoXG4gICAgJ3N2ZycsXG4gICAgeyB3aWR0aDogJzIwcHgnLCBoZWlnaHQ6ICcyMHB4Jywgdmlld0JveDogJzAgMCAxMDAgMTAwJywgeG1sbnM6ICdodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZycgfSxcbiAgICB3cC5lbGVtZW50LmNyZWF0ZUVsZW1lbnQoJ3BhdGgnLCB7IGQ6ICdtMzkuNjYgNzYuNDIyaDM2Ljc2MnYtMzYuNzgxaC0zNi43NjJ6bTQuNjIxMS0zMi4xNDFoMjcuNXYyNy41aC0yNy41eidcbiAgICB9KSxcbiAgICB3cC5lbGVtZW50LmNyZWF0ZUVsZW1lbnQoJ3BhdGgnLCB7IGQ6ICdtMzYuODAxIDU1LjcxOWgtOC41ODJ2LTI3LjVoMjcuNXY5LjIwMzFoNC42NDA2di0xMy44NDRoLTM2Ljc4MXYzNi43NjJoMTMuMjIzeidcbiAgICB9KSxcbiAgICB3cC5lbGVtZW50LmNyZWF0ZUVsZW1lbnQoJ3BhdGgnLCB7IGQ6ICdtOTAuMTggNDIuNzgxYy0zLTE2LjgwMS0xNi4wMi0yOS45MjItMzMtMzIuOTYxLTIuMzc4OS0wLjQyMTg3LTQuNzgxMi0wLjY0MDYyLTcuMTc5Ny0wLjY0MDYydjQuNjIxMWMyLjEyMTEgMCA0LjI2MTcgMC4xNzk2OSA2LjM1OTQgMC41NTg1OSAxNC43ODEgMi42NDA2IDI2LjE4IDEzLjg5OCAyOS4xMjEgMjguMzk4bC01LjY2MDIgMC4wMDM5MDcgOC4wNzgxIDE0IDguMDc4MS0xNGgtNS43OTY5eidcbiAgICB9KSxcbiAgICB3cC5lbGVtZW50LmNyZWF0ZUVsZW1lbnQoJ3BhdGgnLCB7IGQ6ICdtMTQuNTIgNTcuMjE5aDUuNjYwMmwtOC4wNzgxLTEzLjk4LTguMDc4MSAxNGg1LjgwMDhjMyAxNi44MDEgMTYuMDM5IDI5Ljk0MSAzMyAzMi45NjEgMi4zNzUgMC40MDIzNCA0Ljc3NzMgMC42NDA2MiA3LjE3NTggMC42NDA2MnYtNC42NDA2Yy0yLjEwMTYgMC00LjI2MTctMC4xOTkyMi02LjM1OTQtMC41NzgxMi0xNC43ODEtMi42NDA2LTI2LjE4LTEzLjg4My0yOS4xMjEtMjguNDAyeidcbiAgICB9KVxuKTtcblxuaWNvbnMucmVtb3ZlID0gd3AuZWxlbWVudC5jcmVhdGVFbGVtZW50KFxuICAgICdzdmcnLFxuICAgIHsgd2lkdGg6ICcyMHB4JywgaGVpZ2h0OiAnMjBweCcsIHZpZXdCb3g6ICcwIDAgMTAwIDEwMCcsIHhtbG5zOiAnaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIH0sXG4gICAgd3AuZWxlbWVudC5jcmVhdGVFbGVtZW50KCdwYXRoJywgeyBkOiAnbTUwIDIuNWMtMjYuMTk5IDAtNDcuNSAyMS4zMDEtNDcuNSA0Ny41czIxLjMwMSA0Ny41IDQ3LjUgNDcuNSA0Ny41LTIxLjMwMSA0Ny41LTQ3LjUtMjEuMzAxLTQ3LjUtNDcuNS00Ny41em0yNC44OTggNjIuMzAxbC0xMC4xOTkgMTAuMTk5LTE0LjgwMS0xNC44MDEtMTQuODAxIDE0LjgwMS0xMC4xOTktMTAuMTk5IDE0LjgwMS0xNC44MDEtMTQuODAxLTE0LjgwMSAxMC4xOTktMTAuMTk5IDE0LjgwMSAxNC44MDEgMTQuODAxLTE0LjgwMSAxMC4xOTkgMTAuMTk5LTE0LjgwMSAxNC44MDF6J1xuICAgIH0pXG4pO1xuXG5pY29ucy5jaGFwdGVyID0gd3AuZWxlbWVudC5jcmVhdGVFbGVtZW50KFxuICAgICdzdmcnLFxuICAgIHsgY2xhc3NOYW1lOiAnZGFzaGljb24gZGFzaGljb25zLWFsaWduLWZ1bGwtd2lkdGgnLCB4bWxuczogJ2h0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnJyxcbiAgICAgICAgd2lkdGg6ICcyMCcsIGhlaWdodDogJzIwJywgdmlld0JveDogJzAgMCAyMCAyMCcgfSxcbiAgICB3cC5lbGVtZW50LmNyZWF0ZUVsZW1lbnQoJ3BhdGgnLCB7IGQ6ICdNMTcgMTNWM0gzdjEwaDE0ek01IDE3aDEwdi0ySDV2MnonIH0pXG4pO1xuXG5pY29ucy5pbWFnZSA9IHdwLmVsZW1lbnQuY3JlYXRlRWxlbWVudChcbiAgICAnc3ZnJyxcbiAgICB7IGNsYXNzTmFtZTogJ2Rhc2hpY29uIGRhc2hpY29ucy1mb3JtYXQtaW1hZ2UnLCB4bWxuczogJ2h0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnJyxcbiAgICAgICAgd2lkdGg6ICcyMCcsIGhlaWdodDogJzIwJywgdmlld0JveDogJzAgMCAyMCAyMCcgfSxcbiAgICB3cC5lbGVtZW50LmNyZWF0ZUVsZW1lbnQoJ3BhdGgnLCB7IGQ6ICdNMi4yNSAxaDE1LjVjLjY5IDAgMS4yNS41NiAxLjI1IDEuMjV2MTUuNWMwIC42OS0uNTYgMS4yNS0xLjI1IDEuMjVIMi4yNUMxLjU2IDE5IDEgMTguNDQgMSAxNy43NVYyLjI1QzEgMS41NiAxLjU2IDEgMi4yNSAxek0xNyAxN1YzSDN2MTRoMTR6TTEwIDZjMC0xLjEtLjktMi0yLTJzLTIgLjktMiAyIC45IDIgMiAyIDItLjkgMi0yem0zIDVzMC02IDMtNnYxMGMwIC41NS0uNDUgMS0xIDFINWMtLjU1IDAtMS0uNDUtMS0xVjhjMiAwIDMgNCAzIDRzMS0zIDMtMyAzIDIgMyAyeidcbiAgICB9KVxuKTtcblxuZXhwb3J0IGRlZmF1bHQgaWNvbnM7XG5cblxuLy8vLy8vLy8vLy8vLy8vLy8vXG4vLyBXRUJQQUNLIEZPT1RFUlxuLy8gLi9ibG9ja3MvY2hhcHRlci9pY29ucy5qc1xuLy8gbW9kdWxlIGlkID0gOTZcbi8vIG1vZHVsZSBjaHVua3MgPSAwIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///96\n");
/***/ }),
/* 97 */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("var attributes = {\n supTitle: {\n type: 'array',\n source: 'children',\n selector: '.sup-title'\n },\n mainTitle: {\n type: 'array',\n source: 'children',\n selector: '.main-title'\n },\n mainContent: {\n type: 'array',\n source: 'children',\n selector: '.main-content'\n },\n mainContentAlignment: {\n type: 'string'\n },\n blockBackgroundColor: {\n type: 'string',\n default: '#eee'\n },\n blockTextColor: {\n type: 'string',\n default: '#212121'\n },\n blockHrColor: {\n type: 'string',\n default: '#212121'\n },\n blockAlignment: {\n type: 'string',\n default: 'full'\n },\n blockId: {\n type: 'string'\n },\n blockLayout: {\n type: 'string',\n default: 'both'\n },\n blockImgURL: {\n type: 'string',\n source: 'attribute',\n attribute: 'src',\n selector: 'img'\n },\n blockImgID: {\n type: 'number'\n },\n blockImgAlt: {\n type: 'string',\n source: 'attribute',\n attribute: 'alt',\n selector: 'img'\n },\n nodeName: {\n type: 'string',\n source: 'property',\n selector: 'h1,h2,h3,h4,h5,h6',\n property: 'nodeName',\n default: 'H2'\n }\n};\n\n/* harmony default export */ __webpack_exports__[\"a\"] = (attributes);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiOTcuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ibG9ja3MvY2hhcHRlci9hdHRyaWJ1dGVzLmpzP2VkNmYiXSwic291cmNlc0NvbnRlbnQiOlsidmFyIGF0dHJpYnV0ZXMgPSB7XG4gICAgc3VwVGl0bGU6IHtcbiAgICAgICAgdHlwZTogJ2FycmF5JyxcbiAgICAgICAgc291cmNlOiAnY2hpbGRyZW4nLFxuICAgICAgICBzZWxlY3RvcjogJy5zdXAtdGl0bGUnXG4gICAgfSxcbiAgICBtYWluVGl0bGU6IHtcbiAgICAgICAgdHlwZTogJ2FycmF5JyxcbiAgICAgICAgc291cmNlOiAnY2hpbGRyZW4nLFxuICAgICAgICBzZWxlY3RvcjogJy5tYWluLXRpdGxlJ1xuICAgIH0sXG4gICAgbWFpbkNvbnRlbnQ6IHtcbiAgICAgICAgdHlwZTogJ2FycmF5JyxcbiAgICAgICAgc291cmNlOiAnY2hpbGRyZW4nLFxuICAgICAgICBzZWxlY3RvcjogJy5tYWluLWNvbnRlbnQnXG4gICAgfSxcbiAgICBtYWluQ29udGVudEFsaWdubWVudDoge1xuICAgICAgICB0eXBlOiAnc3RyaW5nJ1xuICAgIH0sXG4gICAgYmxvY2tCYWNrZ3JvdW5kQ29sb3I6IHtcbiAgICAgICAgdHlwZTogJ3N0cmluZycsXG4gICAgICAgIGRlZmF1bHQ6ICcjZWVlJ1xuICAgIH0sXG4gICAgYmxvY2tUZXh0Q29sb3I6IHtcbiAgICAgICAgdHlwZTogJ3N0cmluZycsXG4gICAgICAgIGRlZmF1bHQ6ICcjMjEyMTIxJ1xuICAgIH0sXG4gICAgYmxvY2tIckNvbG9yOiB7XG4gICAgICAgIHR5cGU6ICdzdHJpbmcnLFxuICAgICAgICBkZWZhdWx0OiAnIzIxMjEyMSdcbiAgICB9LFxuICAgIGJsb2NrQWxpZ25tZW50OiB7XG4gICAgICAgIHR5cGU6ICdzdHJpbmcnLFxuICAgICAgICBkZWZhdWx0OiAnZnVsbCdcbiAgICB9LFxuICAgIGJsb2NrSWQ6IHtcbiAgICAgICAgdHlwZTogJ3N0cmluZydcbiAgICB9LFxuICAgIGJsb2NrTGF5b3V0OiB7XG4gICAgICAgIHR5cGU6ICdzdHJpbmcnLFxuICAgICAgICBkZWZhdWx0OiAnYm90aCdcbiAgICB9LFxuICAgIGJsb2NrSW1nVVJMOiB7XG4gICAgICAgIHR5cGU6ICdzdHJpbmcnLFxuICAgICAgICBzb3VyY2U6ICdhdHRyaWJ1dGUnLFxuICAgICAgICBhdHRyaWJ1dGU6ICdzcmMnLFxuICAgICAgICBzZWxlY3RvcjogJ2ltZydcbiAgICB9LFxuICAgIGJsb2NrSW1nSUQ6IHtcbiAgICAgICAgdHlwZTogJ251bWJlcidcbiAgICB9LFxuICAgIGJsb2NrSW1nQWx0OiB7XG4gICAgICAgIHR5cGU6ICdzdHJpbmcnLFxuICAgICAgICBzb3VyY2U6ICdhdHRyaWJ1dGUnLFxuICAgICAgICBhdHRyaWJ1dGU6ICdhbHQnLFxuICAgICAgICBzZWxlY3RvcjogJ2ltZydcbiAgICB9LFxuICAgIG5vZGVOYW1lOiB7XG4gICAgICAgIHR5cGU6ICdzdHJpbmcnLFxuICAgICAgICBzb3VyY2U6ICdwcm9wZXJ0eScsXG4gICAgICAgIHNlbGVjdG9yOiAnaDEsaDIsaDMsaDQsaDUsaDYnLFxuICAgICAgICBwcm9wZXJ0eTogJ25vZGVOYW1lJyxcbiAgICAgICAgZGVmYXVsdDogJ0gyJ1xuICAgIH1cbn07XG5cbmV4cG9ydCBkZWZhdWx0IGF0dHJpYnV0ZXM7XG5cblxuLy8vLy8vLy8vLy8vLy8vLy8vXG4vLyBXRUJQQUNLIEZPT1RFUlxuLy8gLi9ibG9ja3MvY2hhcHRlci9hdHRyaWJ1dGVzLmpzXG4vLyBtb2R1bGUgaWQgPSA5N1xuLy8gbW9kdWxlIGNodW5rcyA9IDAiXSwibWFwcGluZ3MiOiJBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///97\n");
/***/ }),
/* 98 */
/***/ (function(module, exports) {
eval("// removed by extract-text-webpack-plugin//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiOTguanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ibG9ja3MvY2hhcHRlci9zdHlsZS5zY3NzPzgyMWMiXSwic291cmNlc0NvbnRlbnQiOlsiLy8gcmVtb3ZlZCBieSBleHRyYWN0LXRleHQtd2VicGFjay1wbHVnaW5cblxuXG4vLy8vLy8vLy8vLy8vLy8vLy9cbi8vIFdFQlBBQ0sgRk9PVEVSXG4vLyAuL2Jsb2Nrcy9jaGFwdGVyL3N0eWxlLnNjc3Ncbi8vIG1vZHVsZSBpZCA9IDk4XG4vLyBtb2R1bGUgY2h1bmtzID0gMCJdLCJtYXBwaW5ncyI6IkFBQUEiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///98\n");
/***/ }),
/* 99 */
/***/ (function(module, exports) {
eval("// removed by extract-text-webpack-plugin//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiOTkuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ibG9ja3MvY2hhcHRlci9lZGl0b3Iuc2Nzcz8zODYyIl0sInNvdXJjZXNDb250ZW50IjpbIi8vIHJlbW92ZWQgYnkgZXh0cmFjdC10ZXh0LXdlYnBhY2stcGx1Z2luXG5cblxuLy8vLy8vLy8vLy8vLy8vLy8vXG4vLyBXRUJQQUNLIEZPT1RFUlxuLy8gLi9ibG9ja3MvY2hhcHRlci9lZGl0b3Iuc2Nzc1xuLy8gbW9kdWxlIGlkID0gOTlcbi8vIG1vZHVsZSBjaHVua3MgPSAwIl0sIm1hcHBpbmdzIjoiQUFBQSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///99\n");
/***/ })
/******/ ]); | 373.036496 | 38,834 | 0.850965 |
1e16769b5d5c79f531171e84289c57ea435890d1 | 11,729 | js | JavaScript | apps/settings/js/utils.js | ganesh7/gaia | 32112b10072e82ac8d52be891d09685f8eaa02f8 | [
"Apache-2.0"
] | 1 | 2016-03-04T05:51:46.000Z | 2016-03-04T05:51:46.000Z | apps/settings/js/utils.js | ganesh7/gaia | 32112b10072e82ac8d52be891d09685f8eaa02f8 | [
"Apache-2.0"
] | null | null | null | apps/settings/js/utils.js | ganesh7/gaia | 32112b10072e82ac8d52be891d09685f8eaa02f8 | [
"Apache-2.0"
] | null | null | null | /* -*- Mode: js; js-indent-level: 2; indent-tabs-mode: nil -*- */
/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
'use strict';
/**
* Constants
*/
var DEBUG = false;
/**
* Debug method
*/
function debug(msg, optObject) {
if (DEBUG) {
var output = '[DEBUG # Settings] ' + msg;
if (optObject) {
output += JSON.stringify(optObject);
}
console.log(output);
}
}
/**
* Move settings to foreground
*/
function reopenSettings() {
navigator.mozApps.getSelf().onsuccess = function getSelfCB(evt) {
var app = evt.target.result;
app.launch('settings');
};
}
/**
* Open a link with a web activity
*/
function openLink(url) {
if (url.startsWith('tel:')) { // dial a phone number
new MozActivity({
name: 'dial',
data: { type: 'webtelephony/number', number: url.substr(4) }
});
} else if (!url.startsWith('#')) { // browse a URL
new MozActivity({
name: 'view',
data: { type: 'url', url: url }
});
}
}
/**
* These so-called "dialog boxes" are just standard Settings panels (<section
* role="region" />) with reset/submit buttons: these buttons both return to the
* previous panel when clicked, and each button has its own (optional) callback.
*/
function openDialog(dialogID, onSubmit, onReset) {
if ('#' + dialogID == Settings.currentPanel)
return;
var origin = Settings.currentPanel;
var dialog = document.getElementById(dialogID);
var submit = dialog.querySelector('[type=submit]');
if (submit) {
submit.onclick = function onsubmit() {
if (onSubmit)
(onSubmit.bind(dialog))();
Settings.currentPanel = origin; // hide dialog box
};
}
var reset = dialog.querySelector('[type=reset]');
if (reset) {
reset.onclick = function onreset() {
if (onReset)
(onReset.bind(dialog))();
Settings.currentPanel = origin; // hide dialog box
};
}
Settings.currentPanel = dialogID; // show dialog box
}
/**
* Audio Preview
* First click = play, second click = pause.
*/
function audioPreview(element, type) {
var audio = document.querySelector('#sound-selection audio');
var source = audio.src;
var playing = !audio.paused;
// Both ringer and notification are using notification channel
audio.mozAudioChannelType = 'notification';
var url = '/shared/resources/media/' + type + '/' +
element.querySelector('input').value;
audio.src = url;
if (source === audio.src && playing) {
audio.pause();
audio.src = '';
} else {
audio.play();
}
}
/**
* JSON loader
*/
function loadJSON(href, callback) {
if (!callback)
return;
var xhr = new XMLHttpRequest();
xhr.onerror = function() {
console.error('Failed to fetch file: ' + href, xhr.statusText);
};
xhr.onload = function() {
callback(xhr.response);
};
xhr.open('GET', href, true); // async
xhr.responseType = 'json';
xhr.send();
}
/**
* L10n helper
*/
function localize(element, id, args) {
var mozL10n = navigator.mozL10n;
if (!element || !mozL10n)
return;
if (id) {
element.dataset.l10nId = id;
} else {
element.dataset.l10nId = '';
element.textContent = '';
}
if (args) {
element.dataset.l10nArgs = JSON.stringify(args);
} else {
element.dataset.l10nArgs = '';
}
mozL10n.ready(function l10nReady() {
mozL10n.translate(element);
});
}
/**
* Helper class for formatting file size strings
* required by *_storage.js
*/
var FileSizeFormatter = (function FileSizeFormatter(fixed) {
function getReadableFileSize(size, digits) { // in: size in Bytes
if (size === undefined)
return {};
var units = ['B', 'KB', 'MB', 'GB', 'TB', 'PB', 'EB', 'ZB', 'YB'];
var i = 0;
while (size >= 1024) {
size /= 1024;
++i;
}
var sizeString = size.toFixed(digits || 0);
var sizeDecimal = parseFloat(sizeString);
return {
size: sizeDecimal.toString(),
unit: units[i]
};
}
return { getReadableFileSize: getReadableFileSize };
})();
/**
* Helper class for getting available/used storage
* required by *_storage.js
*/
var DeviceStorageHelper = (function DeviceStorageHelper() {
function getStat(type, callback) {
var deviceStorage = navigator.getDeviceStorage(type);
if (!deviceStorage) {
console.error('Cannot get DeviceStorage for: ' + type);
return;
}
deviceStorage.freeSpace().onsuccess = function(e) {
var freeSpace = e.target.result;
deviceStorage.usedSpace().onsuccess = function(e) {
var usedSpace = e.target.result;
callback(usedSpace, freeSpace, type);
};
};
}
function getFreeSpace(callback) {
var deviceStorage = navigator.getDeviceStorage('sdcard');
if (!deviceStorage) {
console.error('Cannot get free space size in sdcard');
return;
}
deviceStorage.freeSpace().onsuccess = function(e) {
var freeSpace = e.target.result;
callback(freeSpace);
};
}
function showFormatedSize(element, l10nId, size) {
if (size === undefined || isNaN(size)) {
element.textContent = '';
return;
}
// KB - 3 KB (nearest ones), MB, GB - 1.2 MB (nearest tenth)
var fixedDigits = (size < 1024 * 1024) ? 0 : 1;
var sizeInfo = FileSizeFormatter.getReadableFileSize(size, fixedDigits);
var _ = navigator.mozL10n.get;
element.textContent = _(l10nId, {
size: sizeInfo.size,
unit: _('byteUnit-' + sizeInfo.unit)
});
}
return {
getStat: getStat,
getFreeSpace: getFreeSpace,
showFormatedSize: showFormatedSize
};
})();
/**
* This emulates <input type="range"> elements on Gecko until they get
* supported natively. To be removed when bug 344618 lands.
* https://bugzilla.mozilla.org/show_bug.cgi?id=344618
*/
function bug344618_polyfill() {
var range = document.createElement('input');
range.type = 'range';
if (range.type == 'range') {
// In some future version of gaia that will only be used with gecko v23+,
// we can remove the bug344618_polyfill stuff.
console.warn("bug344618 has landed, there's some dead code to remove.");
var sel = 'label:not(.without_bug344618_polyfill) > input[type="range"]';
var ranges = document.querySelectorAll(sel);
for (var i = 0; i < ranges.length; i++) {
var label = ranges[i].parentNode;
label.classList.add('without_bug344618_polyfill');
}
return; // <input type="range"> is already supported, early way out.
}
/**
* The JS polyfill transforms this:
*
* <label>
* <input type="range" value="60" />
* </label>
*
* into this:
*
* <label class="bug344618_polyfill">
* <div>
* <span style="width: 60%"></span>
* <span style="left: 60%"></span>
* </div>
* <input type="range" value="60" />
* </label>
*
* JavaScript-wise, two main differences between this polyfill and the
* standard implementation:
* - the `.type' property equals `text' instead of `range';
* - the value is a string, not a float.
*/
var polyfill = function(input) {
input.dataset.type = 'range';
var slider = document.createElement('div');
var thumb = document.createElement('span');
var fill = document.createElement('span');
var label = input.parentNode;
slider.appendChild(fill);
slider.appendChild(thumb);
label.insertBefore(slider, input);
label.classList.add('bug344618_polyfill');
var min = parseFloat(input.min);
var max = parseFloat(input.max);
// move the throbber to the proper position, according to input.value
var refresh = function refresh() {
var pos = (input.value - min) / (max - min);
pos = Math.max(pos, 0);
pos = Math.min(pos, 1);
fill.style.width = (100 * pos) + '%';
thumb.style.left = (100 * pos) + '%';
};
// move the throbber to the proper position, according to mouse events
var updatePosition = function updatePosition(event) {
var pointer = event.changedTouches && event.changedTouches[0] ?
event.changedTouches[0] :
event;
var rect = slider.getBoundingClientRect();
var pos = (pointer.clientX - rect.left) / rect.width;
pos = Math.max(pos, 0);
pos = Math.min(pos, 1);
fill.style.width = (100 * pos) + '%';
thumb.style.left = (100 * pos) + '%';
input.value = min + pos * (max - min);
};
// send a 'change' event
var notify = function notify() {
var evtObject = document.createEvent('Event');
evtObject.initEvent('change', true, false);
input.dispatchEvent(evtObject);
};
// user interaction support
var isDragging = false;
var onDragStart = function onDragStart(event) {
updatePosition(event);
isDragging = true;
};
var onDragMove = function onDragMove(event) {
if (isDragging) {
updatePosition(event);
// preventDefault prevents vertical scrolling
event.preventDefault();
}
};
var onDragStop = function onDragStop(event) {
if (isDragging) {
updatePosition(event);
notify();
}
isDragging = false;
};
var onClick = function onClick(event) {
updatePosition(event);
notify();
};
slider.addEventListener('mousedown', onClick);
slider.addEventListener('touchstart', onClick);
thumb.addEventListener('mousedown', onDragStart);
thumb.addEventListener('touchstart', onDragStart);
label.addEventListener('mousemove', onDragMove);
label.addEventListener('touchmove', onDragMove);
label.addEventListener('mouseup', onDragStop);
label.addEventListener('touchend', onDragStop);
label.addEventListener('touchcancel', onDragStop);
// expose the 'refresh' method on <input>
// XXX remember to call it after setting input.value manually...
input.refresh = refresh;
};
// apply to all input[type="range"] elements
var selector = 'label:not(.bug344618_polyfill) > input[type="range"]';
var ranges = document.querySelectorAll(selector);
for (var i = 0; i < ranges.length; i++) {
polyfill(ranges[i]);
}
}
/**
* Connectivity accessors
*/
// create a fake mozMobileConnection if required (e.g. desktop browser)
var getMobileConnection = function() {
var navigator = window.navigator;
if (('mozMobileConnection' in navigator) &&
navigator.mozMobileConnection &&
navigator.mozMobileConnection.data)
return navigator.mozMobileConnection;
var initialized = false;
var fakeICCInfo = { shortName: 'Fake Free-Mobile', mcc: '208', mnc: '15' };
var fakeNetwork = { shortName: 'Fake Orange F', mcc: '208', mnc: '1' };
var fakeVoice = {
state: 'notSearching',
roaming: true,
connected: true,
emergencyCallsOnly: false
};
function fakeEventListener(type, callback, bubble) {
if (initialized)
return;
// simulates a connection to a data network;
setTimeout(function fakeCallback() {
initialized = true;
callback();
}, 5000);
}
return {
addEventListener: fakeEventListener,
iccInfo: fakeICCInfo,
get data() {
return initialized ? { network: fakeNetwork } : null;
},
get voice() {
return initialized ? fakeVoice : null;
}
};
};
var getBluetooth = function() {
var navigator = window.navigator;
if ('mozBluetooth' in navigator)
return navigator.mozBluetooth;
return {
enabled: false,
addEventListener: function(type, callback, bubble) {},
onenabled: function(event) {},
onadapteradded: function(event) {},
ondisabled: function(event) {},
getDefaultAdapter: function() {}
};
};
| 26.476298 | 80 | 0.628101 |
1e168deaa03473f450d352e7a05c260ca5c2411c | 4,760 | js | JavaScript | tests/asm-test.js | brettz9/asm.js-lint | 2a5932a394d2c453a402a0e403a01805254bf932 | [
"MIT"
] | 6 | 2015-02-05T13:03:48.000Z | 2017-05-28T00:56:33.000Z | tests/asm-test.js | brettz9/asm.js-lint | 2a5932a394d2c453a402a0e403a01805254bf932 | [
"MIT"
] | 1 | 2017-12-14T04:19:25.000Z | 2017-12-14T04:19:25.000Z | tests/asm-test.js | brettz9/asm.js-lint | 2a5932a394d2c453a402a0e403a01805254bf932 | [
"MIT"
] | 1 | 2019-10-21T14:01:30.000Z | 2019-10-21T14:01:30.000Z | /*globals CodeMirror*/
/*
TODOS:
1. We could allow separate tabs when new pathIDs are obtained via our message listener
*/
(function () {'use strict';
var saveMessage = 'webapp-save',
excludedMessages = [saveMessage];
function $ (sel) {
return document.querySelector(sel);
}
window.addEventListener('DOMContentLoaded', function () {
// Could pass option 'readOnly' if determine from protocol that this is view mode only
function makeMarker () {
var marker = document.createElement('div');
marker.appendChild(document.createTextNode('\u25cf'));
marker.className = 'CodeMirror-breakpoint';
return marker;
}
CodeMirror.commands.autocomplete = function(cm) {
CodeMirror.showHint(cm, CodeMirror.hint.javascript);
};
var pathID,
breakpointsClass = 'CodeMirror-breakpoints',
urlThemePattern = /[?&]theme=(.*?)(?:&|$)/,
cookieThemePattern = /(?:^|;)\s*theme=([^;]*)(?:;|$)/,
cm = CodeMirror.fromTextArea($('#javascript'), {
autofocus: true,
lineNumbers: true,
lineWrapping: true,
matchBrackets: true,
styleActiveLine: true,
styleSelectedText: true,
showTrailingSpace: true,
tabSize: 4,
indentUnit: 4,
// indentWithTabs: true,
autoCloseBrackets: true,
highlightSelectionMatches: {showToken: /\w/},
viewportMargin: Infinity, // Make sure whole doc is rendered so browser text search will work; will badly affect large docs per http://codemirror.net/doc/manual.html#option_viewportMargin
extraKeys: {
'Ctrl-Q': function(cm){ cm.foldCode(cm.getCursor()); },
'Ctrl-Space': 'autocomplete',
Tab: function (cm) {
var spaces = Array(cm.getOption('indentUnit') + 1).join(' ');
cm.replaceSelection(spaces, 'end', '+input');
}
},
foldGutter: {
rangeFinder: new CodeMirror.fold.combine(CodeMirror.fold.brace, CodeMirror.fold.comment)
},
gutters: ['CodeMirror-lint-markers', 'CodeMirror-foldgutter', 'CodeMirror-linenumbers', breakpointsClass],
lint: true
}),
choice = (document.location.search && document.location.search.match(urlThemePattern)) ||
(document.cookie && document.cookie.match(cookieThemePattern))
|| '';
choice = choice && choice[1];
cm.on('gutterClick', function(cm, n, clickedGutterClass) { // , e
if (clickedGutterClass !== breakpointsClass) {
return;
}
var info = cm.lineInfo(n),
gutterMarkers = info.gutterMarkers || {},
hasBreakpointToRemove = gutterMarkers['CodeMirror-breakpoints'];
cm.setGutterMarker(n, breakpointsClass, hasBreakpointToRemove ? null : makeMarker());
});
window.addEventListener('message', function(e) {
if (e.origin !== window.location.origin || // PRIVACY AND SECURITY! (for viewing and saving, respectively)
(!Array.isArray(e.data) || excludedMessages.indexOf(e.data[0]) > -1) // Validate format and avoid our post below
) {
return;
}
var messageType = e.data[0];
switch (messageType) {
case 'webapp-view':
// Populate the contents
pathID = e.data[1];
cm.setValue(e.data[2]);
$('#save').disabled = false;
break;
case 'webapp-save-end':
alert('save complete for pathID ' + e.data[1] + '!');
break;
default:
throw 'Unexpected mode';
}
}, false);
$('#save').addEventListener('click', function () {
if (!pathID) {
alert('No pathID set by Firefox yet! Remember to invoke this file from an executable or command line and in edit mode.');
return;
}
window.postMessage([saveMessage, pathID, cm.getValue()], window.location.origin);
});
function themes () {
var theme = this.options[this.selectedIndex].value,
cookie = 'theme=' + encodeURIComponent(theme);
cm.setOption('theme', theme);
document.cookie = cookie;
// Todo: We might change the site location (or opportunity to copy-paste the link) to provide a chance to bookmark the theme
}
$('#themes').addEventListener('click', themes);
$('#themes').addEventListener('keypress', themes);
if (choice) {
choice = decodeURIComponent(choice);
$('#themes').value = choice;
cm.setOption('theme', choice);
}
});
}());
| 38.387097 | 199 | 0.577311 |
1e16e7135cdba2aab6dc34241c762b169ffc12fa | 1,057 | js | JavaScript | examples/addserver.js | mmgrant73/AmpJS | 80ce6536934d8f3ff777120f5f98e2d57f030922 | [
"MIT"
] | null | null | null | examples/addserver.js | mmgrant73/AmpJS | 80ce6536934d8f3ff777120f5f98e2d57f030922 | [
"MIT"
] | null | null | null | examples/addserver.js | mmgrant73/AmpJS | 80ce6536934d8f3ff777120f5f98e2d57f030922 | [
"MIT"
] | null | null | null | var ampjs = require('../lib/ampjs-min');
class Add extends ampjs.Command {
//Custom command Add that adds two variables a + b and returns the total = a + b
constructor(receiveargs, funcallback) {
var argumentMap = new Map([['a', 'integer'], ['b', 'integer']]);
var respondsMap = new Map([['total', 'integer']]);
super(argumentMap, respondsMap, receiveargs, funcallback);
this.responder = funcallback;
}
}
var OnAdd = function(maparg){
console.log("OnAdd event has been trigger");
var a = maparg.get('a');
var b = maparg.get('b');
var answer = a + b;
const reply = new Map([['total', answer]]);
return reply;
};
const factorycommands = {
'Add': Add,
};
ampjs.factory.factorycommands = factorycommands;
const factorycallbacks = {
'Add': OnAdd,
};
ampjs.factory.factorycallbacks = factorycallbacks;
/////// Start the server ////////
ampjs.callback.setcallback(ampjs.CreateController);
let serverport = 1234;
ampjs.server.listen(serverport, function() {
console.log('The AMP server is running on port ' + serverport);
}); | 27.102564 | 81 | 0.678335 |
1e16e9fbe3840a9aa6491979f7cba61e70b305f9 | 2,389 | js | JavaScript | src/exiftool/filetypes/386.js | redaktor/exiftool.js | b5ee423fc61e1f8ea1a50564f077c5ae9dea0822 | [
"MIT"
] | 1 | 2015-09-21T11:12:22.000Z | 2015-09-21T11:12:22.000Z | src/exiftool/filetypes/386.js | redaktor/exiftool.js | b5ee423fc61e1f8ea1a50564f077c5ae9dea0822 | [
"MIT"
] | null | null | null | src/exiftool/filetypes/386.js | redaktor/exiftool.js | b5ee423fc61e1f8ea1a50564f077c5ae9dea0822 | [
"MIT"
] | null | null | null | exports.info = { FormatID: '1134',
FormatName: 'Microsoft Animated Cursor Format',
FormatVersion: '',
FormatAliases: '',
FormatFamilies: '',
FormatTypes: 'Image (Raster)',
FormatDisclosure: '',
FormatDescription: 'Animated Cursor Format (ANI), also known as Windows NT Animated Cursor, is a chunk-based bitmap format developed by Microsoft, based on the generic Resource Interchange File Format (RIFF) specification developed by Microsoft and IBM. Structurally, an ANI file is composed of a number of chunks, each comprising a four character code chunk identifier, the chunk size, and the chunk data. It comprises a RIFF header with an ANI data type identifier, followed by a series of chunks which contain two or more bitmaps stored in an ANI file. Each bitmap is typically either a Windows cursor or icon data, but may also be raw, uncompressed bitmaps. Additional information stored in the ANI file controls the rate and the sequence in which each frame is displayed. Furthe information regarding this and other RIFF formats can be found at http://oreilly.com/www/centers/gff/formats/micriff/',
BinaryFileFormat: 'Text',
ByteOrders: '',
ReleaseDate: '',
WithdrawnDate: '',
ProvenanceSourceID: '1',
ProvenanceName: 'Digital Preservation Department / The National Archives',
ProvenanceSourceDate: '23 Nov 2011',
ProvenanceDescription: '',
LastUpdatedDate: '23 Nov 2011',
FormatNote: '',
FormatRisk: '',
TechnicalEnvironment: '',
FileFormatIdentifier: { Identifier: 'fmt/386', IdentifierType: 'PUID' },
ExternalSignature:
{ ExternalSignatureID: '1176',
Signature: 'ani',
SignatureType: 'File extension' },
InternalSignature:
{ SignatureID: '571',
SignatureName: 'Microsoft Animated Cursor Format',
SignatureNote: 'Header: RIFF (4 bytes) ACON (variable length byte sequence) anih, then length of subchunck (32) minus 8 followed by HeaderSize is the size of the subchunk data (all the bytes appearing after the Size field) in bytes. Followed by LIST (4 bytes) framicon',
ByteSequence:
{ ByteSequenceID: '704',
PositionType: 'Absolute from BOF',
Offset: '0',
MaxOffset: '',
IndirectOffsetLocation: '',
IndirectOffsetLength: '',
Endianness: '',
ByteSequenceValue: '52494646{4}41434F4E{0-*}616E69682400000024000000[!00]*4C495354{4}6672616D69636F6E' } } } | 62.868421 | 905 | 0.730431 |
1e1729759a50aeb7a90eba30edaf7a773b5015ce | 240,563 | js | JavaScript | sm-core-model/target/apidocs/member-search-index.js | irwansarwaji/shopizer | eebcdb2f3bab04bcb002faf1b903e3d6e26e3623 | [
"Apache-2.0"
] | null | null | null | sm-core-model/target/apidocs/member-search-index.js | irwansarwaji/shopizer | eebcdb2f3bab04bcb002faf1b903e3d6e26e3623 | [
"Apache-2.0"
] | null | null | null | sm-core-model/target/apidocs/member-search-index.js | irwansarwaji/shopizer | eebcdb2f3bab04bcb002faf1b903e3d6e26e3623 | [
"Apache-2.0"
] | null | null | null | memberSearchIndex = [{"p":"com.salesmanager.core.model.customer.connection","c":"AbstractUserConnection","l":"AbstractUserConnection()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.customer.connection","c":"AbstractUserConnectionWithCompositeKey","l":"AbstractUserConnectionWithCompositeKey()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.shoppingcart","c":"ShoppingCartItem","l":"addAttributes(ShoppingCartAttributeItem)","u":"addAttributes(com.salesmanager.core.model.shoppingcart.ShoppingCartAttributeItem)"},{"p":"com.salesmanager.core.model.common","c":"Address","l":"Address()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.user","c":"GroupType","l":"ADMIN"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingOptionPriceType","l":"ALL"},{"p":"com.salesmanager.core.constants","c":"SchemaConstant","l":"ALL_REGIONS"},{"p":"com.salesmanager.core.model.payments","c":"CreditCardType","l":"AMEX"},{"p":"com.salesmanager.core.model.order","c":"OrderChannel","l":"API"},{"p":"com.salesmanager.core.model.common","c":"CriteriaOrderBy","l":"ASC"},{"p":"com.salesmanager.core.model.catalog.product.attribute","c":"AttributeCriteria","l":"AttributeCriteria()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.common.audit","c":"AuditListener","l":"AuditListener()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.common.audit","c":"AuditSection","l":"AuditSection()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.payments","c":"TransactionType","l":"AUTHORIZE"},{"p":"com.salesmanager.core.model.payments","c":"TransactionType","l":"AUTHORIZECAPTURE"},{"p":"com.salesmanager.core.model.catalog.product","c":"RentalStatus","l":"AVAILABLE"},{"p":"com.salesmanager.core.model.payments","c":"BasicPayment","l":"BasicPayment()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingBasisType","l":"BILLING"},{"p":"com.salesmanager.core.model.common","c":"Billing","l":"Billing()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.tax","c":"TaxBasisCalculation","l":"BILLINGADDRESS"},{"p":"com.salesmanager.core.model.order","c":"OrderType","l":"BOOKING"},{"p":"com.salesmanager.core.model.content","c":"ContentType","l":"BOX"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingPackageType","l":"BOX"},{"p":"com.salesmanager.core.model.catalog.product.relationship","c":"ProductRelationshipType","l":"BUNDLED_ITEM"},{"p":"com.salesmanager.core.model.order.orderstatus","c":"OrderStatus","l":"CANCELED"},{"p":"com.salesmanager.core.model.payments","c":"TransactionType","l":"CAPTURE"},{"p":"com.salesmanager.core.model.catalog.marketplace","c":"Catalog","l":"Catalog()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.catalog.marketplace","c":"CatalogDescription","l":"CatalogDescription()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.catalog.marketplace","c":"CatalogDescription","l":"CatalogDescription(String, Language)","u":"%3Cinit%3E(java.lang.String,com.salesmanager.core.model.reference.language.Language)"},{"p":"com.salesmanager.core.model.catalog.category","c":"Category","l":"Category()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.catalog.category","c":"Category","l":"Category(MerchantStore)","u":"%3Cinit%3E(com.salesmanager.core.model.merchant.MerchantStore)"},{"p":"com.salesmanager.core.model.catalog.category","c":"CategoryDescription","l":"CategoryDescription()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.catalog.category","c":"CategoryDescription","l":"CategoryDescription(String, Language)","u":"%3Cinit%3E(java.lang.String,com.salesmanager.core.model.reference.language.Language)"},{"p":"com.salesmanager.core.model.catalog.product.attribute","c":"ProductOptionType","l":"Checkbox"},{"p":"com.salesmanager.core.model.customer.attribute","c":"CustomerOptionType","l":"Checkbox"},{"p":"com.salesmanager.core.utils","c":"CloneUtils","l":"clone(Date)","u":"clone(java.util.Date)"},{"p":"com.salesmanager.core.constants","c":"MeasureUnit","l":"CM"},{"p":"com.salesmanager.core.model.payments","c":"PaymentType","l":"COD"},{"p":"com.salesmanager.core.model.generic","c":"SalesManagerEntity","l":"compareTo(E)"},{"p":"com.salesmanager.core.model.system","c":"MerchantConfigurationType","l":"CONFIG"},{"p":"com.salesmanager.core.model.content","c":"Content","l":"Content()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.content","c":"ContentDescription","l":"ContentDescription()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.content","c":"ContentDescription","l":"ContentDescription(String, Language)","u":"%3Cinit%3E(java.lang.String,com.salesmanager.core.model.reference.language.Language)"},{"p":"com.salesmanager.core.model.content","c":"ContentFile","l":"ContentFile()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.business.exception","c":"ConversionException","l":"ConversionException(String)","u":"%3Cinit%3E(java.lang.String)"},{"p":"com.salesmanager.core.business.exception","c":"ConversionException","l":"ConversionException(String, Throwable)","u":"%3Cinit%3E(java.lang.String,java.lang.Throwable)"},{"p":"com.salesmanager.core.business.exception","c":"ConversionException","l":"ConversionException(Throwable)","u":"%3Cinit%3E(java.lang.Throwable)"},{"p":"com.salesmanager.core.constants","c":"SchemaConstant","l":"COUNTRY_ISO_CODE"},{"p":"com.salesmanager.core.model.reference.country","c":"Country","l":"Country()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.reference.country","c":"Country","l":"Country(String)","u":"%3Cinit%3E(java.lang.String)"},{"p":"com.salesmanager.core.model.reference.country","c":"CountryDescription","l":"CountryDescription()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.reference.country","c":"CountryDescription","l":"CountryDescription(Language, String)","u":"%3Cinit%3E(com.salesmanager.core.model.reference.language.Language,java.lang.String)"},{"p":"com.salesmanager.core.model.system.credentials","c":"Credentials","l":"Credentials()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.order","c":"OrderTotalType","l":"CREDIT"},{"p":"com.salesmanager.core.model.payments","c":"PaymentType","l":"CREDITCARD"},{"p":"com.salesmanager.core.model.order.payment","c":"CreditCard","l":"CreditCard()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.payments","c":"CreditCardPayment","l":"CreditCardPayment()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.common","c":"Criteria","l":"Criteria()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.constants","c":"SchemaConstant","l":"CURRENCY_MAP"},{"p":"com.salesmanager.core.model.reference.currency","c":"Currency","l":"Currency()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.user","c":"GroupType","l":"CUSTOMER"},{"p":"com.salesmanager.core.model.customer","c":"Customer","l":"Customer()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.customer.attribute","c":"CustomerAttribute","l":"CustomerAttribute()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.customer","c":"CustomerCriteria","l":"CustomerCriteria()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.customer","c":"CustomerList","l":"CustomerList()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.system.optin","c":"CustomerOptin","l":"CustomerOptin()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.customer.attribute","c":"CustomerOption","l":"CustomerOption()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.customer.attribute","c":"CustomerOptionDescription","l":"CustomerOptionDescription()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.customer.attribute","c":"CustomerOptionSet","l":"CustomerOptionSet()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.customer.attribute","c":"CustomerOptionValue","l":"CustomerOptionValue()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.customer.attribute","c":"CustomerOptionValueDescription","l":"CustomerOptionValueDescription()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.customer.review","c":"CustomerReview","l":"CustomerReview()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.customer.review","c":"CustomerReviewDescription","l":"CustomerReviewDescription()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.customer.review","c":"CustomerReviewDescription","l":"CustomerReviewDescription(Language, String)","u":"%3Cinit%3E(com.salesmanager.core.model.reference.language.Language,java.lang.String)"},{"p":"com.salesmanager.core.model.system.credentials","c":"DbCredentials","l":"DbCredentials()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.order.orderproduct","c":"OrderProductDownload","l":"DEFAULT_DOWNLOAD_MAX_DAYS"},{"p":"com.salesmanager.core.model.catalog.product.price","c":"ProductPriceDescription","l":"DEFAULT_PRICE_DESCRIPTION"},{"p":"com.salesmanager.core.model.merchant","c":"MerchantStore","l":"DEFAULT_STORE"},{"p":"com.salesmanager.core.model.generic","c":"SalesManagerEntity","l":"DEFAULT_STRING_COLLATOR"},{"p":"com.salesmanager.core.model.tax.taxclass","c":"TaxClass","l":"DEFAULT_TAX_CLASS"},{"p":"com.salesmanager.core.model.catalog.product.availability","c":"ProductAvailability","l":"defaultPrice()"},{"p":"com.salesmanager.core.model.order.orderstatus","c":"OrderStatus","l":"DELIVERED"},{"p":"com.salesmanager.core.model.common","c":"Delivery","l":"Delivery()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.common","c":"CriteriaOrderBy","l":"DESC"},{"p":"com.salesmanager.core.model.common.description","c":"Description","l":"Description()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.common.description","c":"Description","l":"Description(Language, String)","u":"%3Cinit%3E(com.salesmanager.core.model.reference.language.Language,java.lang.String)"},{"p":"com.salesmanager.core.model.catalog.product.file","c":"DigitalProduct","l":"DigitalProduct()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.payments","c":"CreditCardType","l":"DINERS"},{"p":"com.salesmanager.core.model.payments","c":"CreditCardType","l":"DISCOVERY"},{"p":"com.salesmanager.core.model.common","c":"EntityList","l":"EntityList()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.customer.connection","c":"UserConnectionPK","l":"equals(Object)","u":"equals(java.lang.Object)"},{"p":"com.salesmanager.core.model.generic","c":"SalesManagerEntity","l":"equals(Object)","u":"equals(java.lang.Object)"},{"p":"com.salesmanager.core.model.reference.language","c":"Language","l":"equals(Object)","u":"equals(java.lang.Object)"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingQuote","l":"ERROR"},{"p":"com.salesmanager.core.business.exception","c":"ServiceException","l":"EXCEPTION_INVENTORY_MISMATCH"},{"p":"com.salesmanager.core.business.exception","c":"ServiceException","l":"EXCEPTION_PAYMENT_DECLINED"},{"p":"com.salesmanager.core.business.exception","c":"ServiceException","l":"EXCEPTION_TRANSACTION_DECLINED"},{"p":"com.salesmanager.core.business.exception","c":"ServiceException","l":"EXCEPTION_VALIDATION"},{"p":"com.salesmanager.core.model.customer","c":"CustomerGender","l":"F"},{"p":"com.salesmanager.core.model.catalog.product.relationship","c":"ProductRelationshipType","l":"FEATURED_ITEM"},{"p":"com.salesmanager.core.model.order.filehistory","c":"FileHistory","l":"FileHistory()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.catalog.product.price","c":"FinalPrice","l":"FinalPrice()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.payments","c":"PaymentType","l":"FREE"},{"p":"com.salesmanager.core.model.payments","c":"PaymentType","l":"fromString(String)","u":"fromString(java.lang.String)"},{"p":"com.salesmanager.core.model.catalog.product.type","c":"ProductType","l":"GENERAL_TYPE"},{"p":"com.salesmanager.core.model.common","c":"GenericEntityList","l":"GenericEntityList()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.reference.geozone","c":"GeoZone","l":"GeoZone()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.reference.geozone","c":"GeoZoneDescription","l":"GeoZoneDescription()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.customer.connection","c":"AbstractUserConnection","l":"getAccessToken()"},{"p":"com.salesmanager.core.model.customer.connection","c":"RemoteUser","l":"getAccessToken()"},{"p":"com.salesmanager.core.model.order.filehistory","c":"FileHistory","l":"getAccountedDate()"},{"p":"com.salesmanager.core.model.system","c":"MerchantConfiguration","l":"getActive()"},{"p":"com.salesmanager.core.model.catalog.product.price","c":"FinalPrice","l":"getAdditionalPrices()"},{"p":"com.salesmanager.core.model.common","c":"Billing","l":"getAddress()"},{"p":"com.salesmanager.core.model.common","c":"Delivery","l":"getAddress()"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingOrigin","l":"getAddress()"},{"p":"com.salesmanager.core.model.user","c":"User","l":"getAdminEmail()"},{"p":"com.salesmanager.core.model.user","c":"User","l":"getAdminName()"},{"p":"com.salesmanager.core.model.user","c":"User","l":"getAdminPassword()"},{"p":"com.salesmanager.core.model.catalog.product.image","c":"ProductImageDescription","l":"getAltTag()"},{"p":"com.salesmanager.core.model.payments","c":"Payment","l":"getAmount()"},{"p":"com.salesmanager.core.model.payments","c":"Transaction","l":"getAmount()"},{"p":"com.salesmanager.core.model.user","c":"User","l":"getAnswer1()"},{"p":"com.salesmanager.core.model.user","c":"User","l":"getAnswer2()"},{"p":"com.salesmanager.core.model.user","c":"User","l":"getAnswer3()"},{"p":"com.salesmanager.core.model.catalog.product.attribute","c":"ProductAttribute","l":"getAttributeAdditionalWeight()"},{"p":"com.salesmanager.core.model.catalog.product.attribute","c":"AttributeCriteria","l":"getAttributeCode()"},{"p":"com.salesmanager.core.model.catalog.product","c":"ProductCriteria","l":"getAttributeCriteria()"},{"p":"com.salesmanager.core.model.catalog.product.attribute","c":"ProductAttribute","l":"getAttributeDefault()"},{"p":"com.salesmanager.core.model.catalog.product.attribute","c":"ProductAttribute","l":"getAttributeDiscounted()"},{"p":"com.salesmanager.core.model.catalog.product.attribute","c":"ProductAttribute","l":"getAttributeDisplayOnly()"},{"p":"com.salesmanager.core.model.catalog.product.attribute","c":"ProductAttribute","l":"getAttributePrice()"},{"p":"com.salesmanager.core.model.catalog.product.attribute","c":"ProductAttribute","l":"getAttributeRequired()"},{"p":"com.salesmanager.core.model.catalog.product","c":"Product","l":"getAttributes()"},{"p":"com.salesmanager.core.model.customer","c":"Customer","l":"getAttributes()"},{"p":"com.salesmanager.core.model.shoppingcart","c":"ShoppingCartItem","l":"getAttributes()"},{"p":"com.salesmanager.core.model.catalog.product.attribute","c":"ProductAttribute","l":"getAttributeSortOrder()"},{"p":"com.salesmanager.core.model.catalog.product.attribute","c":"AttributeCriteria","l":"getAttributeValue()"},{"p":"com.salesmanager.core.model.catalog.category","c":"Category","l":"getAuditSection()"},{"p":"com.salesmanager.core.model.catalog.marketplace","c":"Catalog","l":"getAuditSection()"},{"p":"com.salesmanager.core.model.catalog.marketplace","c":"MarketPlace","l":"getAuditSection()"},{"p":"com.salesmanager.core.model.catalog.product.manufacturer","c":"Manufacturer","l":"getAuditSection()"},{"p":"com.salesmanager.core.model.catalog.product","c":"Product","l":"getAuditSection()"},{"p":"com.salesmanager.core.model.catalog.product.review","c":"ProductReview","l":"getAuditSection()"},{"p":"com.salesmanager.core.model.catalog.product.type","c":"ProductType","l":"getAuditSection()"},{"p":"com.salesmanager.core.model.common.audit","c":"Auditable","l":"getAuditSection()"},{"p":"com.salesmanager.core.model.common.description","c":"Description","l":"getAuditSection()"},{"p":"com.salesmanager.core.model.content","c":"Content","l":"getAuditSection()"},{"p":"com.salesmanager.core.model.customer","c":"Customer","l":"getAuditSection()"},{"p":"com.salesmanager.core.model.customer.review","c":"CustomerReview","l":"getAuditSection()"},{"p":"com.salesmanager.core.model.merchant","c":"MerchantStore","l":"getAuditSection()"},{"p":"com.salesmanager.core.model.payments","c":"Transaction","l":"getAuditSection()"},{"p":"com.salesmanager.core.model.reference.language","c":"Language","l":"getAuditSection()"},{"p":"com.salesmanager.core.model.shoppingcart","c":"ShoppingCart","l":"getAuditSection()"},{"p":"com.salesmanager.core.model.shoppingcart","c":"ShoppingCartAttributeItem","l":"getAuditSection()"},{"p":"com.salesmanager.core.model.shoppingcart","c":"ShoppingCartItem","l":"getAuditSection()"},{"p":"com.salesmanager.core.model.system","c":"IntegrationModule","l":"getAuditSection()"},{"p":"com.salesmanager.core.model.system","c":"MerchantConfiguration","l":"getAuditSection()"},{"p":"com.salesmanager.core.model.system","c":"SystemConfiguration","l":"getAuditSection()"},{"p":"com.salesmanager.core.model.system","c":"SystemNotification","l":"getAuditSection()"},{"p":"com.salesmanager.core.model.tax.taxrate","c":"TaxRate","l":"getAuditSection()"},{"p":"com.salesmanager.core.model.user","c":"Group","l":"getAuditSection()"},{"p":"com.salesmanager.core.model.user","c":"Permission","l":"getAuditSection()"},{"p":"com.salesmanager.core.model.user","c":"User","l":"getAuditSection()"},{"p":"com.salesmanager.core.model.catalog.product","c":"Product","l":"getAvailabilities()"},{"p":"com.salesmanager.core.model.catalog.product","c":"ProductCriteria","l":"getAvailabilities()"},{"p":"com.salesmanager.core.model.user","c":"PermissionCriteria","l":"getAvailabilities()"},{"p":"com.salesmanager.core.model.catalog.product","c":"ProductCriteria","l":"getAvailable()"},{"p":"com.salesmanager.core.model.user","c":"PermissionCriteria","l":"getAvailable()"},{"p":"com.salesmanager.core.model.customer","c":"Customer","l":"getBilling()"},{"p":"com.salesmanager.core.model.order","c":"Order","l":"getBilling()"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingConfiguration","l":"getBoxHeight()"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingConfiguration","l":"getBoxLength()"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingConfiguration","l":"getBoxWeight()"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingConfiguration","l":"getBoxWidth()"},{"p":"com.salesmanager.core.model.payments","c":"CreditCardPayment","l":"getCardOwner()"},{"p":"com.salesmanager.core.model.order.payment","c":"CreditCard","l":"getCardType()"},{"p":"com.salesmanager.core.model.shipping","c":"Quote","l":"getCartId()"},{"p":"com.salesmanager.core.model.catalog.marketplace","c":"CatalogDescription","l":"getCatalog()"},{"p":"com.salesmanager.core.model.catalog.marketplace","c":"MarketPlace","l":"getCatalogs()"},{"p":"com.salesmanager.core.model.catalog.category","c":"Category","l":"getCategories()"},{"p":"com.salesmanager.core.model.catalog.product","c":"Product","l":"getCategories()"},{"p":"com.salesmanager.core.model.search","c":"IndexProduct","l":"getCategories()"},{"p":"com.salesmanager.core.model.catalog.category","c":"CategoryDescription","l":"getCategory()"},{"p":"com.salesmanager.core.model.catalog.category","c":"CategoryDescription","l":"getCategoryHighlight()"},{"p":"com.salesmanager.core.model.catalog.product","c":"ProductCriteria","l":"getCategoryIds()"},{"p":"com.salesmanager.core.model.catalog.category","c":"Category","l":"getCategoryImage()"},{"p":"com.salesmanager.core.model.order.payment","c":"CreditCard","l":"getCcCvv()"},{"p":"com.salesmanager.core.model.order.payment","c":"CreditCard","l":"getCcExpires()"},{"p":"com.salesmanager.core.model.order.payment","c":"CreditCard","l":"getCcNumber()"},{"p":"com.salesmanager.core.model.order.payment","c":"CreditCard","l":"getCcOwner()"},{"p":"com.salesmanager.core.model.order","c":"Order","l":"getChannel()"},{"p":"com.salesmanager.core.model.common","c":"Address","l":"getCity()"},{"p":"com.salesmanager.core.model.common","c":"Billing","l":"getCity()"},{"p":"com.salesmanager.core.model.common","c":"Delivery","l":"getCity()"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingOrigin","l":"getCity()"},{"p":"com.salesmanager.core.model.catalog.category","c":"Category","l":"getCode()"},{"p":"com.salesmanager.core.model.catalog.marketplace","c":"Catalog","l":"getCode()"},{"p":"com.salesmanager.core.model.catalog.marketplace","c":"MarketPlace","l":"getCode()"},{"p":"com.salesmanager.core.model.catalog.product.attribute","c":"ProductOption","l":"getCode()"},{"p":"com.salesmanager.core.model.catalog.product.attribute","c":"ProductOptionValue","l":"getCode()"},{"p":"com.salesmanager.core.model.catalog.product.manufacturer","c":"Manufacturer","l":"getCode()"},{"p":"com.salesmanager.core.model.catalog.product.price","c":"ProductPrice","l":"getCode()"},{"p":"com.salesmanager.core.model.catalog.product.relationship","c":"ProductRelationship","l":"getCode()"},{"p":"com.salesmanager.core.model.catalog.product.type","c":"ProductType","l":"getCode()"},{"p":"com.salesmanager.core.model.common","c":"Criteria","l":"getCode()"},{"p":"com.salesmanager.core.model.content","c":"Content","l":"getCode()"},{"p":"com.salesmanager.core.model.customer.attribute","c":"CustomerOption","l":"getCode()"},{"p":"com.salesmanager.core.model.customer.attribute","c":"CustomerOptionValue","l":"getCode()"},{"p":"com.salesmanager.core.model.merchant","c":"MerchantStore","l":"getCode()"},{"p":"com.salesmanager.core.model.reference.currency","c":"Currency","l":"getCode()"},{"p":"com.salesmanager.core.model.reference.geozone","c":"GeoZone","l":"getCode()"},{"p":"com.salesmanager.core.model.reference.language","c":"Language","l":"getCode()"},{"p":"com.salesmanager.core.model.reference.zone","c":"Zone","l":"getCode()"},{"p":"com.salesmanager.core.model.system","c":"IntegrationModule","l":"getCode()"},{"p":"com.salesmanager.core.model.system.optin","c":"Optin","l":"getCode()"},{"p":"com.salesmanager.core.model.tax.taxclass","c":"TaxClass","l":"getCode()"},{"p":"com.salesmanager.core.model.tax.taxrate","c":"TaxRate","l":"getCode()"},{"p":"com.salesmanager.core.model.order.orderstatus","c":"OrderStatusHistory","l":"getComments()"},{"p":"com.salesmanager.core.model.common","c":"Billing","l":"getCompany()"},{"p":"com.salesmanager.core.model.common","c":"Delivery","l":"getCompany()"},{"p":"com.salesmanager.core.model.customer","c":"Customer","l":"getCompany()"},{"p":"com.salesmanager.core.model.catalog.product","c":"Product","l":"getCondition()"},{"p":"com.salesmanager.core.model.system","c":"ModuleConfig","l":"getConfig1()"},{"p":"com.salesmanager.core.model.system","c":"ModuleConfig","l":"getConfig2()"},{"p":"com.salesmanager.core.model.system","c":"IntegrationModule","l":"getConfigDetails()"},{"p":"com.salesmanager.core.model.system","c":"IntegrationModule","l":"getConfiguration()"},{"p":"com.salesmanager.core.model.order","c":"Order","l":"getConfirmedAddress()"},{"p":"com.salesmanager.core.model.content","c":"ContentDescription","l":"getContent()"},{"p":"com.salesmanager.core.model.content","c":"Content","l":"getContentPosition()"},{"p":"com.salesmanager.core.model.content","c":"Content","l":"getContentType()"},{"p":"com.salesmanager.core.model.merchant","c":"MerchantStore","l":"getContinueshoppingurl()"},{"p":"com.salesmanager.core.model.search","c":"SearchFacet","l":"getCount()"},{"p":"com.salesmanager.core.model.reference.geozone","c":"GeoZone","l":"getCountries()"},{"p":"com.salesmanager.core.model.common","c":"Address","l":"getCountry()"},{"p":"com.salesmanager.core.model.common","c":"Billing","l":"getCountry()"},{"p":"com.salesmanager.core.model.common","c":"Delivery","l":"getCountry()"},{"p":"com.salesmanager.core.model.customer","c":"CustomerCriteria","l":"getCountry()"},{"p":"com.salesmanager.core.model.merchant","c":"MerchantStore","l":"getCountry()"},{"p":"com.salesmanager.core.model.reference.country","c":"CountryDescription","l":"getCountry()"},{"p":"com.salesmanager.core.model.reference.zone","c":"Zone","l":"getCountry()"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingOrigin","l":"getCountry()"},{"p":"com.salesmanager.core.model.tax.taxrate","c":"TaxRate","l":"getCountry()"},{"p":"com.salesmanager.core.model.payments","c":"CreditCardPayment","l":"getCredidCardValidationNumber()"},{"p":"com.salesmanager.core.model.order","c":"Order","l":"getCreditCard()"},{"p":"com.salesmanager.core.model.payments","c":"CreditCardPayment","l":"getCreditCard()"},{"p":"com.salesmanager.core.model.payments","c":"CreditCardPayment","l":"getCreditCardNumber()"},{"p":"com.salesmanager.core.model.common","c":"Criteria","l":"getCriteriaOrderByField()"},{"p":"com.salesmanager.core.model.merchant","c":"MerchantStore","l":"getCurrency()"},{"p":"com.salesmanager.core.model.order","c":"Order","l":"getCurrency()"},{"p":"com.salesmanager.core.model.payments","c":"Payment","l":"getCurrency()"},{"p":"com.salesmanager.core.model.reference.currency","c":"Currency","l":"getCurrency()"},{"p":"com.salesmanager.core.model.order","c":"Order","l":"getCurrencyValue()"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingQuote","l":"getCurrentShippingModule()"},{"p":"com.salesmanager.core.model.catalog.product.review","c":"ProductReview","l":"getCustomer()"},{"p":"com.salesmanager.core.model.customer.attribute","c":"CustomerAttribute","l":"getCustomer()"},{"p":"com.salesmanager.core.model.customer.review","c":"CustomerReview","l":"getCustomer()"},{"p":"com.salesmanager.core.model.order","c":"Order","l":"getCustomerAgreement()"},{"p":"com.salesmanager.core.model.order","c":"Order","l":"getCustomerEmailAddress()"},{"p":"com.salesmanager.core.model.order","c":"Order","l":"getCustomerId()"},{"p":"com.salesmanager.core.model.order","c":"OrderCriteria","l":"getCustomerId()"},{"p":"com.salesmanager.core.model.shipping","c":"Quote","l":"getCustomerId()"},{"p":"com.salesmanager.core.model.shoppingcart","c":"ShoppingCart","l":"getCustomerId()"},{"p":"com.salesmanager.core.model.order","c":"OrderCriteria","l":"getCustomerName()"},{"p":"com.salesmanager.core.model.order.orderstatus","c":"OrderStatusHistory","l":"getCustomerNotified()"},{"p":"com.salesmanager.core.model.customer.attribute","c":"CustomerAttribute","l":"getCustomerOption()"},{"p":"com.salesmanager.core.model.customer.attribute","c":"CustomerOptionDescription","l":"getCustomerOption()"},{"p":"com.salesmanager.core.model.customer.attribute","c":"CustomerOptionSet","l":"getCustomerOption()"},{"p":"com.salesmanager.core.model.customer.attribute","c":"CustomerOptionDescription","l":"getCustomerOptionComment()"},{"p":"com.salesmanager.core.model.customer.attribute","c":"CustomerOption","l":"getCustomerOptionType()"},{"p":"com.salesmanager.core.model.customer.attribute","c":"CustomerAttribute","l":"getCustomerOptionValue()"},{"p":"com.salesmanager.core.model.customer.attribute","c":"CustomerOptionSet","l":"getCustomerOptionValue()"},{"p":"com.salesmanager.core.model.customer.attribute","c":"CustomerOptionValueDescription","l":"getCustomerOptionValue()"},{"p":"com.salesmanager.core.model.customer.attribute","c":"CustomerOptionValue","l":"getCustomerOptionValueImage()"},{"p":"com.salesmanager.core.model.customer.review","c":"CustomerReviewDescription","l":"getCustomerReview()"},{"p":"com.salesmanager.core.model.customer","c":"Customer","l":"getCustomerReviewAvg()"},{"p":"com.salesmanager.core.model.customer","c":"Customer","l":"getCustomerReviewCount()"},{"p":"com.salesmanager.core.model.customer","c":"CustomerList","l":"getCustomers()"},{"p":"com.salesmanager.core.model.order.filehistory","c":"FileHistory","l":"getDateAdded()"},{"p":"com.salesmanager.core.model.order.orderstatus","c":"OrderStatusHistory","l":"getDateAdded()"},{"p":"com.salesmanager.core.model.catalog.product","c":"Product","l":"getDateAvailable()"},{"p":"com.salesmanager.core.model.merchant","c":"MerchantStore","l":"getDateBusinessSince()"},{"p":"com.salesmanager.core.model.common.audit","c":"AuditSection","l":"getDateCreated()"},{"p":"com.salesmanager.core.model.order.filehistory","c":"FileHistory","l":"getDateDeleted()"},{"p":"com.salesmanager.core.model.catalog.product.manufacturer","c":"ManufacturerDescription","l":"getDateLastClick()"},{"p":"com.salesmanager.core.model.common.audit","c":"AuditSection","l":"getDateModified()"},{"p":"com.salesmanager.core.model.customer","c":"Customer","l":"getDateOfBirth()"},{"p":"com.salesmanager.core.model.order","c":"Order","l":"getDatePurchased()"},{"p":"com.salesmanager.core.model.customer","c":"Customer","l":"getDefaultLanguage()"},{"p":"com.salesmanager.core.model.merchant","c":"MerchantStore","l":"getDefaultLanguage()"},{"p":"com.salesmanager.core.model.user","c":"User","l":"getDefaultLanguage()"},{"p":"com.salesmanager.core.model.order.orderproduct","c":"OrderProductPrice","l":"getDefaultPrice()"},{"p":"com.salesmanager.core.model.system","c":"MerchantConfig","l":"getDefaultSearchConfigPath()"},{"p":"com.salesmanager.core.model.customer","c":"Customer","l":"getDelivery()"},{"p":"com.salesmanager.core.model.order","c":"Order","l":"getDelivery()"},{"p":"com.salesmanager.core.model.shipping","c":"Quote","l":"getDelivery()"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingQuote","l":"getDeliveryAddress()"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingSummary","l":"getDeliveryAddress()"},{"p":"com.salesmanager.core.model.catalog.category","c":"Category","l":"getDepth()"},{"p":"com.salesmanager.core.model.catalog.category","c":"Category","l":"getDescription()"},{"p":"com.salesmanager.core.model.common.description","c":"Description","l":"getDescription()"},{"p":"com.salesmanager.core.model.content","c":"Content","l":"getDescription()"},{"p":"com.salesmanager.core.model.search","c":"IndexProduct","l":"getDescription()"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingOption","l":"getDescription()"},{"p":"com.salesmanager.core.model.system.optin","c":"Optin","l":"getDescription()"},{"p":"com.salesmanager.core.model.catalog.category","c":"Category","l":"getDescriptions()"},{"p":"com.salesmanager.core.model.catalog.marketplace","c":"Catalog","l":"getDescriptions()"},{"p":"com.salesmanager.core.model.catalog.product.attribute","c":"ProductOption","l":"getDescriptions()"},{"p":"com.salesmanager.core.model.catalog.product.attribute","c":"ProductOptionValue","l":"getDescriptions()"},{"p":"com.salesmanager.core.model.catalog.product.image","c":"ProductImage","l":"getDescriptions()"},{"p":"com.salesmanager.core.model.catalog.product.manufacturer","c":"Manufacturer","l":"getDescriptions()"},{"p":"com.salesmanager.core.model.catalog.product.price","c":"ProductPrice","l":"getDescriptions()"},{"p":"com.salesmanager.core.model.catalog.product","c":"Product","l":"getDescriptions()"},{"p":"com.salesmanager.core.model.catalog.product.review","c":"ProductReview","l":"getDescriptions()"},{"p":"com.salesmanager.core.model.content","c":"Content","l":"getDescriptions()"},{"p":"com.salesmanager.core.model.customer.attribute","c":"CustomerOption","l":"getDescriptions()"},{"p":"com.salesmanager.core.model.customer.attribute","c":"CustomerOptionValue","l":"getDescriptions()"},{"p":"com.salesmanager.core.model.customer.review","c":"CustomerReview","l":"getDescriptions()"},{"p":"com.salesmanager.core.model.reference.country","c":"Country","l":"getDescriptions()"},{"p":"com.salesmanager.core.model.reference.geozone","c":"GeoZone","l":"getDescriptions()"},{"p":"com.salesmanager.core.model.reference.zone","c":"Zone","l":"getDescriptions()"},{"p":"com.salesmanager.core.model.tax.taxrate","c":"TaxRate","l":"getDescriptions()"},{"p":"com.salesmanager.core.model.catalog.product.attribute","c":"ProductOption","l":"getDescriptionsList()"},{"p":"com.salesmanager.core.model.catalog.product.attribute","c":"ProductOptionValue","l":"getDescriptionsList()"},{"p":"com.salesmanager.core.model.customer.attribute","c":"CustomerOption","l":"getDescriptionsList()"},{"p":"com.salesmanager.core.model.customer.attribute","c":"CustomerOptionValue","l":"getDescriptionsList()"},{"p":"com.salesmanager.core.model.catalog.product.attribute","c":"ProductOption","l":"getDescriptionsSettoList()"},{"p":"com.salesmanager.core.model.catalog.product.attribute","c":"ProductOptionValue","l":"getDescriptionsSettoList()"},{"p":"com.salesmanager.core.model.customer.attribute","c":"CustomerOption","l":"getDescriptionsSettoList()"},{"p":"com.salesmanager.core.model.customer.attribute","c":"CustomerOptionValue","l":"getDescriptionsSettoList()"},{"p":"com.salesmanager.core.model.payments","c":"Transaction","l":"getDetails()"},{"p":"com.salesmanager.core.model.system","c":"IntegrationModule","l":"getDetails()"},{"p":"com.salesmanager.core.model.catalog.product.price","c":"FinalPrice","l":"getDiscountedPrice()"},{"p":"com.salesmanager.core.model.catalog.product.price","c":"FinalPrice","l":"getDiscountEndDate()"},{"p":"com.salesmanager.core.model.catalog.product.price","c":"FinalPrice","l":"getDiscountPercent()"},{"p":"com.salesmanager.core.model.customer.connection","c":"AbstractUserConnection","l":"getDisplayName()"},{"p":"com.salesmanager.core.model.customer.connection","c":"RemoteUser","l":"getDisplayName()"},{"p":"com.salesmanager.core.model.merchant","c":"MerchantStore","l":"getDomainName()"},{"p":"com.salesmanager.core.model.order.filehistory","c":"FileHistory","l":"getDownloadCount()"},{"p":"com.salesmanager.core.model.order.orderproduct","c":"OrderProductDownload","l":"getDownloadCount()"},{"p":"com.salesmanager.core.model.order.orderproduct","c":"OrderProduct","l":"getDownloads()"},{"p":"com.salesmanager.core.model.customer","c":"CustomerCriteria","l":"getEmail()"},{"p":"com.salesmanager.core.model.system.optin","c":"CustomerOptin","l":"getEmail()"},{"p":"com.salesmanager.core.model.customer","c":"Customer","l":"getEmailAddress()"},{"p":"com.salesmanager.core.model.system.optin","c":"Optin","l":"getEndDate()"},{"p":"com.salesmanager.core.model.system","c":"SystemNotification","l":"getEndDate()"},{"p":"com.salesmanager.core.model.search","c":"SearchResponse","l":"getEntries()"},{"p":"com.salesmanager.core.model.search","c":"SearchResponse","l":"getEntryCount()"},{"p":"com.salesmanager.core.model.system","c":"ModuleConfig","l":"getEnv()"},{"p":"com.salesmanager.core.model.system","c":"IntegrationConfiguration","l":"getEnvironment()"},{"p":"com.salesmanager.core.model.shipping","c":"Quote","l":"getEstimatedNumberOfDays()"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingOption","l":"getEstimatedNumberOfDays()"},{"p":"com.salesmanager.core.business.exception","c":"ServiceException","l":"getExceptionType()"},{"p":"com.salesmanager.core.model.payments","c":"CreditCardPayment","l":"getExpirationMonth()"},{"p":"com.salesmanager.core.model.payments","c":"CreditCardPayment","l":"getExpirationYear()"},{"p":"com.salesmanager.core.model.customer.connection","c":"AbstractUserConnection","l":"getExpireTime()"},{"p":"com.salesmanager.core.model.customer.connection","c":"RemoteUser","l":"getExpireTime()"},{"p":"com.salesmanager.core.model.search","c":"SearchResponse","l":"getFacets()"},{"p":"com.salesmanager.core.model.content","c":"InputContentFile","l":"getFile()"},{"p":"com.salesmanager.core.model.content","c":"OutputContentFile","l":"getFile()"},{"p":"com.salesmanager.core.model.content","c":"StaticContentFile","l":"getFileContentType()"},{"p":"com.salesmanager.core.model.order.filehistory","c":"FileHistory","l":"getFileId()"},{"p":"com.salesmanager.core.model.content","c":"ContentFile","l":"getFileName()"},{"p":"com.salesmanager.core.model.order.filehistory","c":"FileHistory","l":"getFilesize()"},{"p":"com.salesmanager.core.model.catalog.product.price","c":"FinalPrice","l":"getFinalPrice()"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingProduct","l":"getFinalPrice()"},{"p":"com.salesmanager.core.model.shoppingcart","c":"ShoppingCartItem","l":"getFinalPrice()"},{"p":"com.salesmanager.core.model.common","c":"Billing","l":"getFirstName()"},{"p":"com.salesmanager.core.model.common","c":"Delivery","l":"getFirstName()"},{"p":"com.salesmanager.core.model.customer","c":"CustomerCriteria","l":"getFirstName()"},{"p":"com.salesmanager.core.model.system.optin","c":"CustomerOptin","l":"getFirstName()"},{"p":"com.salesmanager.core.model.user","c":"User","l":"getFirstName()"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingQuote","l":"getFreeShippingAmount()"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingConfiguration","l":"getFreeShippingType()"},{"p":"com.salesmanager.core.model.customer","c":"Customer","l":"getGender()"},{"p":"com.salesmanager.core.model.reference.country","c":"Country","l":"getGeoZone()"},{"p":"com.salesmanager.core.model.reference.geozone","c":"GeoZoneDescription","l":"getGeoZone()"},{"p":"com.salesmanager.core.model.user","c":"PermissionCriteria","l":"getGroupIds()"},{"p":"com.salesmanager.core.model.user","c":"Group","l":"getGroupName()"},{"p":"com.salesmanager.core.model.customer","c":"Customer","l":"getGroups()"},{"p":"com.salesmanager.core.model.user","c":"Permission","l":"getGroups()"},{"p":"com.salesmanager.core.model.user","c":"User","l":"getGroups()"},{"p":"com.salesmanager.core.model.user","c":"Group","l":"getGroupType()"},{"p":"com.salesmanager.core.model.shipping","c":"Quote","l":"getHandling()"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingSummary","l":"getHandling()"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingConfiguration","l":"getHandlingFees()"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingQuote","l":"getHandlingFees()"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingConfiguration","l":"getHandlingFeesText()"},{"p":"com.salesmanager.core.model.search","c":"IndexProduct","l":"getHighlight()"},{"p":"com.salesmanager.core.model.search","c":"SearchEntry","l":"getHighlights()"},{"p":"com.salesmanager.core.model.system","c":"ModuleConfig","l":"getHost()"},{"p":"com.salesmanager.core.model.catalog.category","c":"Category","l":"getId()"},{"p":"com.salesmanager.core.model.catalog.marketplace","c":"Catalog","l":"getId()"},{"p":"com.salesmanager.core.model.catalog.marketplace","c":"MarketPlace","l":"getId()"},{"p":"com.salesmanager.core.model.catalog.product.attribute","c":"ProductAttribute","l":"getId()"},{"p":"com.salesmanager.core.model.catalog.product.attribute","c":"ProductOption","l":"getId()"},{"p":"com.salesmanager.core.model.catalog.product.attribute","c":"ProductOptionValue","l":"getId()"},{"p":"com.salesmanager.core.model.catalog.product.availability","c":"ProductAvailability","l":"getId()"},{"p":"com.salesmanager.core.model.catalog.product.file","c":"DigitalProduct","l":"getId()"},{"p":"com.salesmanager.core.model.catalog.product.image","c":"ProductImage","l":"getId()"},{"p":"com.salesmanager.core.model.catalog.product.manufacturer","c":"Manufacturer","l":"getId()"},{"p":"com.salesmanager.core.model.catalog.product.price","c":"ProductPrice","l":"getId()"},{"p":"com.salesmanager.core.model.catalog.product","c":"Product","l":"getId()"},{"p":"com.salesmanager.core.model.catalog.product.relationship","c":"ProductRelationship","l":"getId()"},{"p":"com.salesmanager.core.model.catalog.product.review","c":"ProductReview","l":"getId()"},{"p":"com.salesmanager.core.model.catalog.product.type","c":"ProductType","l":"getId()"},{"p":"com.salesmanager.core.model.common.description","c":"Description","l":"getId()"},{"p":"com.salesmanager.core.model.content","c":"Content","l":"getId()"},{"p":"com.salesmanager.core.model.customer.attribute","c":"CustomerAttribute","l":"getId()"},{"p":"com.salesmanager.core.model.customer.attribute","c":"CustomerOption","l":"getId()"},{"p":"com.salesmanager.core.model.customer.attribute","c":"CustomerOptionSet","l":"getId()"},{"p":"com.salesmanager.core.model.customer.attribute","c":"CustomerOptionValue","l":"getId()"},{"p":"com.salesmanager.core.model.customer.connection","c":"AbstractUserConnection","l":"getId()"},{"p":"com.salesmanager.core.model.customer.connection","c":"AbstractUserConnectionWithCompositeKey","l":"getId()"},{"p":"com.salesmanager.core.model.customer","c":"Customer","l":"getId()"},{"p":"com.salesmanager.core.model.customer.review","c":"CustomerReview","l":"getId()"},{"p":"com.salesmanager.core.model.generic","c":"SalesManagerEntity","l":"getId()"},{"p":"com.salesmanager.core.model.merchant","c":"MerchantStore","l":"getId()"},{"p":"com.salesmanager.core.model.order.attributes","c":"OrderAttribute","l":"getId()"},{"p":"com.salesmanager.core.model.order.filehistory","c":"FileHistory","l":"getId()"},{"p":"com.salesmanager.core.model.order","c":"Order","l":"getId()"},{"p":"com.salesmanager.core.model.order.orderaccount","c":"OrderAccount","l":"getId()"},{"p":"com.salesmanager.core.model.order.orderproduct","c":"OrderProduct","l":"getId()"},{"p":"com.salesmanager.core.model.order.orderproduct","c":"OrderProductAttribute","l":"getId()"},{"p":"com.salesmanager.core.model.order.orderproduct","c":"OrderProductDownload","l":"getId()"},{"p":"com.salesmanager.core.model.order.orderproduct","c":"OrderProductPrice","l":"getId()"},{"p":"com.salesmanager.core.model.order.orderstatus","c":"OrderStatusHistory","l":"getId()"},{"p":"com.salesmanager.core.model.order","c":"OrderTotal","l":"getId()"},{"p":"com.salesmanager.core.model.payments","c":"Transaction","l":"getId()"},{"p":"com.salesmanager.core.model.reference.country","c":"Country","l":"getId()"},{"p":"com.salesmanager.core.model.reference.currency","c":"Currency","l":"getId()"},{"p":"com.salesmanager.core.model.reference.geozone","c":"GeoZone","l":"getId()"},{"p":"com.salesmanager.core.model.reference.language","c":"Language","l":"getId()"},{"p":"com.salesmanager.core.model.reference.zone","c":"Zone","l":"getId()"},{"p":"com.salesmanager.core.model.search","c":"IndexProduct","l":"getId()"},{"p":"com.salesmanager.core.model.shipping","c":"Quote","l":"getId()"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingOrigin","l":"getId()"},{"p":"com.salesmanager.core.model.shoppingcart","c":"ShoppingCart","l":"getId()"},{"p":"com.salesmanager.core.model.shoppingcart","c":"ShoppingCartAttributeItem","l":"getId()"},{"p":"com.salesmanager.core.model.shoppingcart","c":"ShoppingCartItem","l":"getId()"},{"p":"com.salesmanager.core.model.system","c":"IntegrationModule","l":"getId()"},{"p":"com.salesmanager.core.model.system","c":"MerchantConfiguration","l":"getId()"},{"p":"com.salesmanager.core.model.system","c":"MerchantLog","l":"getId()"},{"p":"com.salesmanager.core.model.system.optin","c":"CustomerOptin","l":"getId()"},{"p":"com.salesmanager.core.model.system.optin","c":"Optin","l":"getId()"},{"p":"com.salesmanager.core.model.system","c":"SystemConfiguration","l":"getId()"},{"p":"com.salesmanager.core.model.system","c":"SystemNotification","l":"getId()"},{"p":"com.salesmanager.core.model.tax.taxclass","c":"TaxClass","l":"getId()"},{"p":"com.salesmanager.core.model.tax.taxrate","c":"TaxRate","l":"getId()"},{"p":"com.salesmanager.core.model.user","c":"Group","l":"getId()"},{"p":"com.salesmanager.core.model.user","c":"Permission","l":"getId()"},{"p":"com.salesmanager.core.model.user","c":"User","l":"getId()"},{"p":"com.salesmanager.core.model.catalog.product.attribute","c":"ProductOptionValue","l":"getImage()"},{"p":"com.salesmanager.core.model.catalog.product.image","c":"ProductImage","l":"getImage()"},{"p":"com.salesmanager.core.model.catalog.product.manufacturer","c":"Manufacturer","l":"getImage()"},{"p":"com.salesmanager.core.model.system","c":"IntegrationModule","l":"getImage()"},{"p":"com.salesmanager.core.model.catalog.product","c":"Product","l":"getImages()"},{"p":"com.salesmanager.core.model.catalog.product.image","c":"ProductImage","l":"getImageType()"},{"p":"com.salesmanager.core.model.customer.connection","c":"AbstractUserConnection","l":"getImageUrl()"},{"p":"com.salesmanager.core.model.customer.connection","c":"RemoteUser","l":"getImageUrl()"},{"p":"com.salesmanager.core.model.merchant","c":"MerchantStore","l":"getInBusinessSince()"},{"p":"com.salesmanager.core.model.search","c":"SearchEntry","l":"getIndexProduct()"},{"p":"com.salesmanager.core.model.payments","c":"PaymentMethod","l":"getInformations()"},{"p":"com.salesmanager.core.model.system","c":"IntegrationConfiguration","l":"getIntegrationKeys()"},{"p":"com.salesmanager.core.model.system","c":"IntegrationConfiguration","l":"getIntegrationOptions()"},{"p":"com.salesmanager.core.model.merchant","c":"MerchantStore","l":"getInvoiceTemplate()"},{"p":"com.salesmanager.core.model.order","c":"Order","l":"getIpAddress()"},{"p":"com.salesmanager.core.model.reference.country","c":"Country","l":"getIsoCode()"},{"p":"com.salesmanager.core.model.order","c":"OrderTotalItem","l":"getItemCode()"},{"p":"com.salesmanager.core.model.shipping","c":"PackageDetails","l":"getItemName()"},{"p":"com.salesmanager.core.model.order","c":"OrderTotalItem","l":"getItemPrice()"},{"p":"com.salesmanager.core.model.shoppingcart","c":"ShoppingCartItem","l":"getItemPrice()"},{"p":"com.salesmanager.core.model.system","c":"IntegrationConfiguration","l":"getJsonInfo()"},{"p":"com.salesmanager.core.model.order.attributes","c":"OrderAttribute","l":"getKey()"},{"p":"com.salesmanager.core.model.search","c":"SearchFacet","l":"getKey()"},{"p":"com.salesmanager.core.model.system","c":"MerchantConfiguration","l":"getKey()"},{"p":"com.salesmanager.core.model.system","c":"SystemConfiguration","l":"getKey()"},{"p":"com.salesmanager.core.model.system","c":"SystemNotification","l":"getKey()"},{"p":"com.salesmanager.core.model.search","c":"SearchKeywords","l":"getKeywords()"},{"p":"com.salesmanager.core.model.tax","c":"TaxItem","l":"getLabel()"},{"p":"com.salesmanager.core.model.search","c":"IndexProduct","l":"getLang()"},{"p":"com.salesmanager.core.model.common","c":"Criteria","l":"getLanguage()"},{"p":"com.salesmanager.core.model.common.description","c":"Description","l":"getLanguage()"},{"p":"com.salesmanager.core.model.merchant","c":"MerchantStore","l":"getLanguages()"},{"p":"com.salesmanager.core.model.user","c":"User","l":"getLastAccess()"},{"p":"com.salesmanager.core.model.order","c":"Order","l":"getLastModified()"},{"p":"com.salesmanager.core.model.common","c":"Billing","l":"getLastName()"},{"p":"com.salesmanager.core.model.common","c":"Delivery","l":"getLastName()"},{"p":"com.salesmanager.core.model.customer","c":"CustomerCriteria","l":"getLastName()"},{"p":"com.salesmanager.core.model.system.optin","c":"CustomerOptin","l":"getLastName()"},{"p":"com.salesmanager.core.model.user","c":"User","l":"getLastName()"},{"p":"com.salesmanager.core.model.common","c":"Billing","l":"getLatitude()"},{"p":"com.salesmanager.core.model.common","c":"Delivery","l":"getLatitude()"},{"p":"com.salesmanager.core.model.catalog.category","c":"Category","l":"getLineage()"},{"p":"com.salesmanager.core.model.shoppingcart","c":"ShoppingCart","l":"getLineItems()"},{"p":"com.salesmanager.core.model.common","c":"GenericEntityList","l":"getList()"},{"p":"com.salesmanager.core.model.order","c":"Order","l":"getLocale()"},{"p":"com.salesmanager.core.model.system","c":"MerchantLog","l":"getLog()"},{"p":"com.salesmanager.core.model.user","c":"User","l":"getLoginTime()"},{"p":"com.salesmanager.core.model.common","c":"Billing","l":"getLongitude()"},{"p":"com.salesmanager.core.model.common","c":"Delivery","l":"getLongitude()"},{"p":"com.salesmanager.core.model.catalog.product.manufacturer","c":"ManufacturerDescription","l":"getManufacturer()"},{"p":"com.salesmanager.core.model.catalog.product","c":"Product","l":"getManufacturer()"},{"p":"com.salesmanager.core.model.search","c":"IndexProduct","l":"getManufacturer()"},{"p":"com.salesmanager.core.model.catalog.product","c":"ProductCriteria","l":"getManufacturerId()"},{"p":"com.salesmanager.core.model.common","c":"Criteria","l":"getMaxCount()"},{"p":"com.salesmanager.core.model.order.orderproduct","c":"OrderProductDownload","l":"getMaxdays()"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingConfiguration","l":"getMaxWeight()"},{"p":"com.salesmanager.core.model.order","c":"Order","l":"getMerchant()"},{"p":"com.salesmanager.core.model.system.optin","c":"Optin","l":"getMerchant()"},{"p":"com.salesmanager.core.model.system","c":"MerchantConfiguration","l":"getMerchantConfigurationType()"},{"p":"com.salesmanager.core.model.catalog.category","c":"Category","l":"getMerchantStore()"},{"p":"com.salesmanager.core.model.catalog.product.attribute","c":"ProductOption","l":"getMerchantStore()"},{"p":"com.salesmanager.core.model.catalog.product.attribute","c":"ProductOptionValue","l":"getMerchantStore()"},{"p":"com.salesmanager.core.model.catalog.product.manufacturer","c":"Manufacturer","l":"getMerchantStore()"},{"p":"com.salesmanager.core.model.catalog.product","c":"Product","l":"getMerchantStore()"},{"p":"com.salesmanager.core.model.content","c":"Content","l":"getMerchantStore()"},{"p":"com.salesmanager.core.model.customer.attribute","c":"CustomerOption","l":"getMerchantStore()"},{"p":"com.salesmanager.core.model.customer.attribute","c":"CustomerOptionValue","l":"getMerchantStore()"},{"p":"com.salesmanager.core.model.customer","c":"Customer","l":"getMerchantStore()"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingOrigin","l":"getMerchantStore()"},{"p":"com.salesmanager.core.model.shoppingcart","c":"ShoppingCart","l":"getMerchantStore()"},{"p":"com.salesmanager.core.model.system","c":"MerchantConfiguration","l":"getMerchantStore()"},{"p":"com.salesmanager.core.model.system.optin","c":"CustomerOptin","l":"getMerchantStore()"},{"p":"com.salesmanager.core.model.system","c":"SystemNotification","l":"getMerchantStore()"},{"p":"com.salesmanager.core.model.tax.taxclass","c":"TaxClass","l":"getMerchantStore()"},{"p":"com.salesmanager.core.model.tax.taxrate","c":"TaxRate","l":"getMerchantStore()"},{"p":"com.salesmanager.core.model.user","c":"User","l":"getMerchantStore()"},{"p":"com.salesmanager.core.business.exception","c":"ServiceException","l":"getMessageCode()"},{"p":"com.salesmanager.core.model.catalog.category","c":"CategoryDescription","l":"getMetatagDescription()"},{"p":"com.salesmanager.core.model.catalog.product.description","c":"ProductDescription","l":"getMetatagDescription()"},{"p":"com.salesmanager.core.model.content","c":"ContentDescription","l":"getMetatagDescription()"},{"p":"com.salesmanager.core.model.catalog.category","c":"CategoryDescription","l":"getMetatagKeywords()"},{"p":"com.salesmanager.core.model.catalog.product.description","c":"ProductDescription","l":"getMetatagKeywords()"},{"p":"com.salesmanager.core.model.content","c":"ContentDescription","l":"getMetatagKeywords()"},{"p":"com.salesmanager.core.model.catalog.category","c":"CategoryDescription","l":"getMetatagTitle()"},{"p":"com.salesmanager.core.model.catalog.product.description","c":"ProductDescription","l":"getMetatagTitle()"},{"p":"com.salesmanager.core.model.content","c":"ContentDescription","l":"getMetatagTitle()"},{"p":"com.salesmanager.core.model.content","c":"ContentFile","l":"getMimeType()"},{"p":"com.salesmanager.core.model.common.audit","c":"AuditSection","l":"getModifiedBy()"},{"p":"com.salesmanager.core.model.order","c":"OrderTotal","l":"getModule()"},{"p":"com.salesmanager.core.model.payments","c":"PaymentMethod","l":"getModule()"},{"p":"com.salesmanager.core.model.shipping","c":"Quote","l":"getModule()"},{"p":"com.salesmanager.core.model.system","c":"IntegrationModule","l":"getModule()"},{"p":"com.salesmanager.core.model.system","c":"MerchantLog","l":"getModule()"},{"p":"com.salesmanager.core.model.system","c":"IntegrationConfiguration","l":"getModuleCode()"},{"p":"com.salesmanager.core.model.system","c":"IntegrationModule","l":"getModuleConfigs()"},{"p":"com.salesmanager.core.model.payments","c":"Payment","l":"getModuleName()"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingMetaData","l":"getModules()"},{"p":"com.salesmanager.core.model.common","c":"Criteria","l":"getName()"},{"p":"com.salesmanager.core.model.common.description","c":"Description","l":"getName()"},{"p":"com.salesmanager.core.model.customer","c":"CustomerCriteria","l":"getName()"},{"p":"com.salesmanager.core.model.reference.country","c":"Country","l":"getName()"},{"p":"com.salesmanager.core.model.reference.currency","c":"Currency","l":"getName()"},{"p":"com.salesmanager.core.model.reference.geozone","c":"GeoZone","l":"getName()"},{"p":"com.salesmanager.core.model.reference.zone","c":"Zone","l":"getName()"},{"p":"com.salesmanager.core.model.search","c":"IndexProduct","l":"getName()"},{"p":"com.salesmanager.core.model.search","c":"SearchFacet","l":"getName()"},{"p":"com.salesmanager.core.model.customer","c":"Customer","l":"getNick()"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingOption","l":"getNote()"},{"p":"com.salesmanager.core.model.order.orderproduct","c":"OrderProduct","l":"getOneTimeCharge()"},{"p":"com.salesmanager.core.model.system.optin","c":"CustomerOptin","l":"getOptin()"},{"p":"com.salesmanager.core.model.system.optin","c":"CustomerOptin","l":"getOptinDate()"},{"p":"com.salesmanager.core.model.system.optin","c":"Optin","l":"getOptinType()"},{"p":"com.salesmanager.core.model.shipping","c":"Quote","l":"getOptionCode()"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingOption","l":"getOptionCode()"},{"p":"com.salesmanager.core.model.shipping","c":"Quote","l":"getOptionDeliveryDate()"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingOption","l":"getOptionDeliveryDate()"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingOption","l":"getOptionId()"},{"p":"com.salesmanager.core.model.shipping","c":"Quote","l":"getOptionName()"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingOption","l":"getOptionName()"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingOption","l":"getOptionPrice()"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingOption","l":"getOptionPriceText()"},{"p":"com.salesmanager.core.model.shipping","c":"Quote","l":"getOptionShippingDate()"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingOption","l":"getOptionShippingDate()"},{"p":"com.salesmanager.core.model.catalog.product.manufacturer","c":"Manufacturer","l":"getOrder()"},{"p":"com.salesmanager.core.model.order.attributes","c":"OrderAttribute","l":"getOrder()"},{"p":"com.salesmanager.core.model.order.orderaccount","c":"OrderAccount","l":"getOrder()"},{"p":"com.salesmanager.core.model.order.orderproduct","c":"OrderProduct","l":"getOrder()"},{"p":"com.salesmanager.core.model.order.orderstatus","c":"OrderStatusHistory","l":"getOrder()"},{"p":"com.salesmanager.core.model.order","c":"OrderTotal","l":"getOrder()"},{"p":"com.salesmanager.core.model.payments","c":"Transaction","l":"getOrder()"},{"p":"com.salesmanager.core.model.order.orderaccount","c":"OrderAccountProduct","l":"getOrderAccount()"},{"p":"com.salesmanager.core.model.order.orderaccount","c":"OrderAccount","l":"getOrderAccountBillDay()"},{"p":"com.salesmanager.core.model.order.orderaccount","c":"OrderAccount","l":"getOrderAccountEndDate()"},{"p":"com.salesmanager.core.model.order.orderaccount","c":"OrderAccountProduct","l":"getOrderAccountProductAccountedDate()"},{"p":"com.salesmanager.core.model.order.orderaccount","c":"OrderAccountProduct","l":"getOrderAccountProductEndDate()"},{"p":"com.salesmanager.core.model.order.orderaccount","c":"OrderAccountProduct","l":"getOrderAccountProductEot()"},{"p":"com.salesmanager.core.model.order.orderaccount","c":"OrderAccountProduct","l":"getOrderAccountProductId()"},{"p":"com.salesmanager.core.model.order.orderaccount","c":"OrderAccountProduct","l":"getOrderAccountProductLastStatusDate()"},{"p":"com.salesmanager.core.model.order.orderaccount","c":"OrderAccountProduct","l":"getOrderAccountProductLastTransactionStatus()"},{"p":"com.salesmanager.core.model.order.orderaccount","c":"OrderAccountProduct","l":"getOrderAccountProductPaymentFrequencyType()"},{"p":"com.salesmanager.core.model.order.orderaccount","c":"OrderAccount","l":"getOrderAccountProducts()"},{"p":"com.salesmanager.core.model.order.orderaccount","c":"OrderAccountProduct","l":"getOrderAccountProductStartDate()"},{"p":"com.salesmanager.core.model.order.orderaccount","c":"OrderAccountProduct","l":"getOrderAccountProductStatus()"},{"p":"com.salesmanager.core.model.order.orderaccount","c":"OrderAccount","l":"getOrderAccountStartDate()"},{"p":"com.salesmanager.core.model.order","c":"Order","l":"getOrderAttributes()"},{"p":"com.salesmanager.core.model.order.orderproduct","c":"OrderProduct","l":"getOrderAttributes()"},{"p":"com.salesmanager.core.model.common","c":"Criteria","l":"getOrderBy()"},{"p":"com.salesmanager.core.model.order","c":"Order","l":"getOrderDateFinished()"},{"p":"com.salesmanager.core.model.order","c":"Order","l":"getOrderHistory()"},{"p":"com.salesmanager.core.model.shipping","c":"Quote","l":"getOrderId()"},{"p":"com.salesmanager.core.model.order.orderaccount","c":"OrderAccountProduct","l":"getOrderProduct()"},{"p":"com.salesmanager.core.model.order.orderproduct","c":"OrderProductAttribute","l":"getOrderProduct()"},{"p":"com.salesmanager.core.model.order.orderproduct","c":"OrderProductDownload","l":"getOrderProduct()"},{"p":"com.salesmanager.core.model.order.orderproduct","c":"OrderProductPrice","l":"getOrderProduct()"},{"p":"com.salesmanager.core.model.order.orderproduct","c":"OrderProductDownload","l":"getOrderProductFilename()"},{"p":"com.salesmanager.core.model.order","c":"Order","l":"getOrderProducts()"},{"p":"com.salesmanager.core.model.order","c":"OrderList","l":"getOrders()"},{"p":"com.salesmanager.core.model.order","c":"OrderSummary","l":"getOrderSummaryType()"},{"p":"com.salesmanager.core.model.order","c":"Order","l":"getOrderTotal()"},{"p":"com.salesmanager.core.model.order","c":"OrderTotal","l":"getOrderTotalCode()"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingConfiguration","l":"getOrderTotalFreeShipping()"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingConfiguration","l":"getOrderTotalFreeShippingText()"},{"p":"com.salesmanager.core.model.order","c":"OrderTotal","l":"getOrderTotalType()"},{"p":"com.salesmanager.core.model.order","c":"Order","l":"getOrderType()"},{"p":"com.salesmanager.core.model.order","c":"OrderTotal","l":"getOrderValueType()"},{"p":"com.salesmanager.core.model.catalog.product.price","c":"FinalPrice","l":"getOriginalPrice()"},{"p":"com.salesmanager.core.model.catalog.product","c":"Product","l":"getOwner()"},{"p":"com.salesmanager.core.model.catalog.product","c":"ProductCriteria","l":"getOwnerId()"},{"p":"com.salesmanager.core.model.catalog.category","c":"Category","l":"getParent()"},{"p":"com.salesmanager.core.model.tax.taxrate","c":"TaxRate","l":"getParent()"},{"p":"com.salesmanager.core.model.customer","c":"Customer","l":"getPassword()"},{"p":"com.salesmanager.core.model.security","c":"Secrets","l":"getPassword()"},{"p":"com.salesmanager.core.model.system.credentials","c":"Credentials","l":"getPassword()"},{"p":"com.salesmanager.core.model.payments","c":"PaypalPayment","l":"getPayerId()"},{"p":"com.salesmanager.core.model.payments","c":"Payment","l":"getPaymentMetaData()"},{"p":"com.salesmanager.core.model.order","c":"OrderCriteria","l":"getPaymentMethod()"},{"p":"com.salesmanager.core.model.payments","c":"PaymentMethod","l":"getPaymentMethodCode()"},{"p":"com.salesmanager.core.model.order","c":"Order","l":"getPaymentModuleCode()"},{"p":"com.salesmanager.core.model.payments","c":"PaypalPayment","l":"getPaymentToken()"},{"p":"com.salesmanager.core.model.order","c":"Order","l":"getPaymentType()"},{"p":"com.salesmanager.core.model.payments","c":"Payment","l":"getPaymentType()"},{"p":"com.salesmanager.core.model.payments","c":"PaymentMethod","l":"getPaymentType()"},{"p":"com.salesmanager.core.model.payments","c":"Transaction","l":"getPaymentType()"},{"p":"com.salesmanager.core.model.user","c":"Permission","l":"getPermissionName()"},{"p":"com.salesmanager.core.model.user","c":"PermissionCriteria","l":"getPermissionName()"},{"p":"com.salesmanager.core.model.user","c":"Group","l":"getPermissions()"},{"p":"com.salesmanager.core.model.user","c":"PermissionList","l":"getPermissions()"},{"p":"com.salesmanager.core.model.system","c":"ModuleConfig","l":"getPort()"},{"p":"com.salesmanager.core.model.common","c":"Address","l":"getPostalCode()"},{"p":"com.salesmanager.core.model.common","c":"Billing","l":"getPostalCode()"},{"p":"com.salesmanager.core.model.common","c":"Delivery","l":"getPostalCode()"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingOrigin","l":"getPostalCode()"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingMetaData","l":"getPostProcessors()"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingMetaData","l":"getPreProcessors()"},{"p":"com.salesmanager.core.model.search","c":"IndexProduct","l":"getPrice()"},{"p":"com.salesmanager.core.model.shipping","c":"Quote","l":"getPrice()"},{"p":"com.salesmanager.core.model.catalog.product.availability","c":"ProductAvailability","l":"getPrices()"},{"p":"com.salesmanager.core.model.order.orderproduct","c":"OrderProduct","l":"getPrices()"},{"p":"com.salesmanager.core.model.catalog.product.attribute","c":"ProductAttribute","l":"getProduct()"},{"p":"com.salesmanager.core.model.catalog.product.availability","c":"ProductAvailability","l":"getProduct()"},{"p":"com.salesmanager.core.model.catalog.product.description","c":"ProductDescription","l":"getProduct()"},{"p":"com.salesmanager.core.model.catalog.product.file","c":"DigitalProduct","l":"getProduct()"},{"p":"com.salesmanager.core.model.catalog.product.image","c":"ProductImage","l":"getProduct()"},{"p":"com.salesmanager.core.model.catalog.product.relationship","c":"ProductRelationship","l":"getProduct()"},{"p":"com.salesmanager.core.model.catalog.product.review","c":"ProductReview","l":"getProduct()"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingProduct","l":"getProduct()"},{"p":"com.salesmanager.core.model.shoppingcart","c":"ShoppingCartItem","l":"getProduct()"},{"p":"com.salesmanager.core.model.shoppingcart","c":"ShoppingCartAttributeItem","l":"getProductAttribute()"},{"p":"com.salesmanager.core.model.shoppingcart","c":"ShoppingCartAttributeItem","l":"getProductAttributeId()"},{"p":"com.salesmanager.core.model.catalog.product.attribute","c":"ProductAttribute","l":"getProductAttributeIsFree()"},{"p":"com.salesmanager.core.model.order.orderproduct","c":"OrderProductAttribute","l":"getProductAttributeName()"},{"p":"com.salesmanager.core.model.catalog.product.attribute","c":"ProductAttribute","l":"getProductAttributePrice()"},{"p":"com.salesmanager.core.model.order.orderproduct","c":"OrderProductAttribute","l":"getProductAttributePrice()"},{"p":"com.salesmanager.core.model.order.orderproduct","c":"OrderProductAttribute","l":"getProductAttributeValueName()"},{"p":"com.salesmanager.core.model.catalog.product.attribute","c":"ProductAttribute","l":"getProductAttributeWeight()"},{"p":"com.salesmanager.core.model.order.orderproduct","c":"OrderProductAttribute","l":"getProductAttributeWeight()"},{"p":"com.salesmanager.core.model.catalog.product.price","c":"ProductPrice","l":"getProductAvailability()"},{"p":"com.salesmanager.core.model.catalog.product.availability","c":"ProductAvailability","l":"getProductDateAvailable()"},{"p":"com.salesmanager.core.model.catalog.product","c":"Product","l":"getProductDescription()"},{"p":"com.salesmanager.core.model.catalog.product.description","c":"ProductDescription","l":"getProductExternalDl()"},{"p":"com.salesmanager.core.model.catalog.product.file","c":"DigitalProduct","l":"getProductFileName()"},{"p":"com.salesmanager.core.model.content","c":"Content","l":"getProductGroup()"},{"p":"com.salesmanager.core.model.catalog.product","c":"Product","l":"getProductHeight()"},{"p":"com.salesmanager.core.model.catalog.product.description","c":"ProductDescription","l":"getProductHighlight()"},{"p":"com.salesmanager.core.model.shoppingcart","c":"ShoppingCartItem","l":"getProductId()"},{"p":"com.salesmanager.core.model.catalog.product","c":"ProductCriteria","l":"getProductIds()"},{"p":"com.salesmanager.core.model.catalog.product.image","c":"ProductImage","l":"getProductImage()"},{"p":"com.salesmanager.core.model.catalog.product.image","c":"ProductImageDescription","l":"getProductImage()"},{"p":"com.salesmanager.core.model.catalog.product","c":"Product","l":"getProductImage()"},{"p":"com.salesmanager.core.model.catalog.product.image","c":"ProductImage","l":"getProductImageUrl()"},{"p":"com.salesmanager.core.model.catalog.product.availability","c":"ProductAvailability","l":"getProductIsAlwaysFreeShipping()"},{"p":"com.salesmanager.core.model.catalog.product","c":"Product","l":"getProductIsFree()"},{"p":"com.salesmanager.core.model.catalog.product","c":"Product","l":"getProductLength()"},{"p":"com.salesmanager.core.model.catalog.product","c":"ProductCriteria","l":"getProductName()"},{"p":"com.salesmanager.core.model.order.orderproduct","c":"OrderProduct","l":"getProductName()"},{"p":"com.salesmanager.core.model.catalog.product.attribute","c":"ProductAttribute","l":"getProductOption()"},{"p":"com.salesmanager.core.model.catalog.product.attribute","c":"ProductOptionDescription","l":"getProductOption()"},{"p":"com.salesmanager.core.model.catalog.product.attribute","c":"ProductOptionDescription","l":"getProductOptionComment()"},{"p":"com.salesmanager.core.model.order.orderproduct","c":"OrderProductAttribute","l":"getProductOptionId()"},{"p":"com.salesmanager.core.model.catalog.product.attribute","c":"ProductAttribute","l":"getProductOptionSortOrder()"},{"p":"com.salesmanager.core.model.catalog.product.attribute","c":"ProductOption","l":"getProductOptionSortOrder()"},{"p":"com.salesmanager.core.model.catalog.product.attribute","c":"ProductOption","l":"getProductOptionType()"},{"p":"com.salesmanager.core.model.catalog.product.attribute","c":"ProductAttribute","l":"getProductOptionValue()"},{"p":"com.salesmanager.core.model.catalog.product.attribute","c":"ProductOptionValueDescription","l":"getProductOptionValue()"},{"p":"com.salesmanager.core.model.order.orderproduct","c":"OrderProductAttribute","l":"getProductOptionValueId()"},{"p":"com.salesmanager.core.model.catalog.product.attribute","c":"ProductOptionValue","l":"getProductOptionValueImage()"},{"p":"com.salesmanager.core.model.catalog.product.attribute","c":"ProductOptionValue","l":"getProductOptionValueSortOrder()"},{"p":"com.salesmanager.core.model.catalog.product","c":"Product","l":"getProductOrdered()"},{"p":"com.salesmanager.core.model.catalog.product.price","c":"FinalPrice","l":"getProductPrice()"},{"p":"com.salesmanager.core.model.catalog.product.price","c":"ProductPriceDescription","l":"getProductPrice()"},{"p":"com.salesmanager.core.model.order.orderproduct","c":"OrderProductPrice","l":"getProductPrice()"},{"p":"com.salesmanager.core.model.catalog.product.price","c":"ProductPrice","l":"getProductPriceAmount()"},{"p":"com.salesmanager.core.model.order.orderproduct","c":"OrderProductPrice","l":"getProductPriceCode()"},{"p":"com.salesmanager.core.model.order.orderproduct","c":"OrderProductPrice","l":"getProductPriceName()"},{"p":"com.salesmanager.core.model.order.orderproduct","c":"OrderProductPrice","l":"getProductPriceSpecial()"},{"p":"com.salesmanager.core.model.catalog.product.price","c":"ProductPrice","l":"getProductPriceSpecialAmount()"},{"p":"com.salesmanager.core.model.catalog.product.price","c":"ProductPrice","l":"getProductPriceSpecialEndDate()"},{"p":"com.salesmanager.core.model.order.orderproduct","c":"OrderProductPrice","l":"getProductPriceSpecialEndDate()"},{"p":"com.salesmanager.core.model.catalog.product.price","c":"ProductPrice","l":"getProductPriceSpecialStartDate()"},{"p":"com.salesmanager.core.model.order.orderproduct","c":"OrderProductPrice","l":"getProductPriceSpecialStartDate()"},{"p":"com.salesmanager.core.model.catalog.product.price","c":"ProductPrice","l":"getProductPriceType()"},{"p":"com.salesmanager.core.model.catalog.product.availability","c":"ProductAvailability","l":"getProductQuantity()"},{"p":"com.salesmanager.core.model.order.orderproduct","c":"OrderProduct","l":"getProductQuantity()"},{"p":"com.salesmanager.core.model.catalog.product.availability","c":"ProductAvailability","l":"getProductQuantityOrderMax()"},{"p":"com.salesmanager.core.model.catalog.product.availability","c":"ProductAvailability","l":"getProductQuantityOrderMin()"},{"p":"com.salesmanager.core.model.catalog.product.review","c":"ProductReviewDescription","l":"getProductReview()"},{"p":"com.salesmanager.core.model.catalog.product","c":"Product","l":"getProductReviewAvg()"},{"p":"com.salesmanager.core.model.catalog.product","c":"Product","l":"getProductReviewCount()"},{"p":"com.salesmanager.core.model.catalog.product","c":"ProductList","l":"getProducts()"},{"p":"com.salesmanager.core.model.order","c":"OrderSummary","l":"getProducts()"},{"p":"com.salesmanager.core.model.catalog.product.availability","c":"ProductAvailability","l":"getProductStatus()"},{"p":"com.salesmanager.core.model.catalog.product","c":"Product","l":"getProductVirtual()"},{"p":"com.salesmanager.core.model.catalog.product","c":"Product","l":"getProductWeight()"},{"p":"com.salesmanager.core.model.catalog.product","c":"Product","l":"getProductWidth()"},{"p":"com.salesmanager.core.model.customer.connection","c":"AbstractUserConnection","l":"getProfileUrl()"},{"p":"com.salesmanager.core.model.customer.connection","c":"RemoteUser","l":"getProfileUrl()"},{"p":"com.salesmanager.core.model.customer","c":"Customer","l":"getProvider()"},{"p":"com.salesmanager.core.model.customer.connection","c":"AbstractUserConnection","l":"getProviderId()"},{"p":"com.salesmanager.core.model.customer.connection","c":"AbstractUserConnectionWithCompositeKey","l":"getProviderId()"},{"p":"com.salesmanager.core.model.customer.connection","c":"RemoteUser","l":"getProviderId()"},{"p":"com.salesmanager.core.model.customer.connection","c":"UserConnectionPK","l":"getProviderId()"},{"p":"com.salesmanager.core.model.customer.connection","c":"AbstractUserConnection","l":"getProviderUserId()"},{"p":"com.salesmanager.core.model.customer.connection","c":"AbstractUserConnectionWithCompositeKey","l":"getProviderUserId()"},{"p":"com.salesmanager.core.model.customer.connection","c":"RemoteUser","l":"getProviderUserId()"},{"p":"com.salesmanager.core.model.customer.connection","c":"UserConnectionPK","l":"getProviderUserId()"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingProduct","l":"getQuantity()"},{"p":"com.salesmanager.core.model.shoppingcart","c":"ShoppingCartItem","l":"getQuantity()"},{"p":"com.salesmanager.core.model.user","c":"User","l":"getQuestion1()"},{"p":"com.salesmanager.core.model.user","c":"User","l":"getQuestion2()"},{"p":"com.salesmanager.core.model.user","c":"User","l":"getQuestion3()"},{"p":"com.salesmanager.core.model.shipping","c":"Quote","l":"getQuoteDate()"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingQuote","l":"getQuoteError()"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingQuote","l":"getQuoteInformations()"},{"p":"com.salesmanager.core.model.customer.connection","c":"AbstractUserConnection","l":"getRank()"},{"p":"com.salesmanager.core.model.customer.connection","c":"RemoteUser","l":"getRank()"},{"p":"com.salesmanager.core.model.tax.taxrate","c":"TaxRate","l":"getRateText()"},{"p":"com.salesmanager.core.model.customer.connection","c":"AbstractUserConnection","l":"getRefreshToken()"},{"p":"com.salesmanager.core.model.customer.connection","c":"RemoteUser","l":"getRefreshToken()"},{"p":"com.salesmanager.core.model.catalog.product","c":"Product","l":"getRefSku()"},{"p":"com.salesmanager.core.model.catalog.product.availability","c":"ProductAvailability","l":"getRegion()"},{"p":"com.salesmanager.core.model.system","c":"IntegrationModule","l":"getRegions()"},{"p":"com.salesmanager.core.model.system","c":"IntegrationModule","l":"getRegionsSet()"},{"p":"com.salesmanager.core.model.catalog.product.availability","c":"ProductAvailability","l":"getRegionVariant()"},{"p":"com.salesmanager.core.model.catalog.product.relationship","c":"ProductRelationship","l":"getRelatedProduct()"},{"p":"com.salesmanager.core.model.catalog.product","c":"Product","l":"getRelationships()"},{"p":"com.salesmanager.core.model.catalog.product","c":"Product","l":"getRentalDuration()"},{"p":"com.salesmanager.core.model.catalog.product","c":"Product","l":"getRentalPeriod()"},{"p":"com.salesmanager.core.model.catalog.product","c":"Product","l":"getRentalStatus()"},{"p":"com.salesmanager.core.model.catalog.product.review","c":"ProductReview","l":"getReviewDate()"},{"p":"com.salesmanager.core.model.customer.review","c":"CustomerReview","l":"getReviewDate()"},{"p":"com.salesmanager.core.model.customer.review","c":"CustomerReview","l":"getReviewedCustomer()"},{"p":"com.salesmanager.core.model.catalog.product.review","c":"ProductReview","l":"getReviewRating()"},{"p":"com.salesmanager.core.model.customer.review","c":"CustomerReview","l":"getReviewRating()"},{"p":"com.salesmanager.core.model.catalog.product.review","c":"ProductReview","l":"getReviewRead()"},{"p":"com.salesmanager.core.model.customer.review","c":"CustomerReview","l":"getReviewRead()"},{"p":"com.salesmanager.core.model.customer","c":"Customer","l":"getReviews()"},{"p":"com.salesmanager.core.model.system","c":"ModuleConfig","l":"getScheme()"},{"p":"com.salesmanager.core.model.common","c":"Criteria","l":"getSearch()"},{"p":"com.salesmanager.core.model.customer.connection","c":"AbstractUserConnection","l":"getSecret()"},{"p":"com.salesmanager.core.model.customer.connection","c":"RemoteUser","l":"getSecret()"},{"p":"com.salesmanager.core.model.merchant","c":"MerchantStore","l":"getSeizeunitcode()"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingQuote","l":"getSelectedShippingOption()"},{"p":"com.salesmanager.core.model.catalog.category","c":"CategoryDescription","l":"getSeUrl()"},{"p":"com.salesmanager.core.model.catalog.product.description","c":"ProductDescription","l":"getSeUrl()"},{"p":"com.salesmanager.core.model.content","c":"ContentDescription","l":"getSeUrl()"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingConfiguration","l":"getShipBaseType()"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingConfiguration","l":"getShipDescription()"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingConfiguration","l":"getShipFreeType()"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingConfiguration","l":"getShipOptionPriceType()"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingConfiguration","l":"getShipPackageType()"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingSummary","l":"getShipping()"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingConfiguration","l":"getShippingBasisType()"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingConfiguration","l":"getShippingDescription()"},{"p":"com.salesmanager.core.model.shipping","c":"PackageDetails","l":"getShippingHeight()"},{"p":"com.salesmanager.core.model.shipping","c":"PackageDetails","l":"getShippingLength()"},{"p":"com.salesmanager.core.model.shipping","c":"PackageDetails","l":"getShippingMaxWeight()"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingSummary","l":"getShippingModule()"},{"p":"com.salesmanager.core.model.order","c":"Order","l":"getShippingModuleCode()"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingOption","l":"getShippingModuleCode()"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingQuote","l":"getShippingModuleCode()"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingSummary","l":"getShippingOption()"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingSummary","l":"getShippingOptionCode()"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingConfiguration","l":"getShippingOptionPriceType()"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingQuote","l":"getShippingOptions()"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingConfiguration","l":"getShippingPackageType()"},{"p":"com.salesmanager.core.model.shipping","c":"PackageDetails","l":"getShippingQuantity()"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingOption","l":"getShippingQuoteOptionId()"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingQuote","l":"getShippingReturnCode()"},{"p":"com.salesmanager.core.model.order","c":"OrderSummary","l":"getShippingSummary()"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingConfiguration","l":"getShippingType()"},{"p":"com.salesmanager.core.model.shipping","c":"PackageDetails","l":"getShippingWeight()"},{"p":"com.salesmanager.core.model.shipping","c":"PackageDetails","l":"getShippingWidth()"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingMetaData","l":"getShipToCountry()"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingConfiguration","l":"getShipType()"},{"p":"com.salesmanager.core.model.shoppingcart","c":"ShoppingCartItem","l":"getShoppingCart()"},{"p":"com.salesmanager.core.model.shoppingcart","c":"ShoppingCart","l":"getShoppingCartCode()"},{"p":"com.salesmanager.core.model.shoppingcart","c":"ShoppingCartAttributeItem","l":"getShoppingCartItem()"},{"p":"com.salesmanager.core.model.customer","c":"Customer","l":"getShowBillingStateList()"},{"p":"com.salesmanager.core.model.customer","c":"Customer","l":"getShowCustomerStateList()"},{"p":"com.salesmanager.core.model.customer","c":"Customer","l":"getShowDeliveryStateList()"},{"p":"com.salesmanager.core.model.catalog.product","c":"Product","l":"getSku()"},{"p":"com.salesmanager.core.model.order.orderproduct","c":"OrderProduct","l":"getSku()"},{"p":"com.salesmanager.core.model.catalog.category","c":"Category","l":"getSortOrder()"},{"p":"com.salesmanager.core.model.catalog.product","c":"Product","l":"getSortOrder()"},{"p":"com.salesmanager.core.model.content","c":"Content","l":"getSortOrder()"},{"p":"com.salesmanager.core.model.customer.attribute","c":"CustomerOption","l":"getSortOrder()"},{"p":"com.salesmanager.core.model.customer.attribute","c":"CustomerOptionSet","l":"getSortOrder()"},{"p":"com.salesmanager.core.model.customer.attribute","c":"CustomerOptionValue","l":"getSortOrder()"},{"p":"com.salesmanager.core.model.order","c":"OrderTotal","l":"getSortOrder()"},{"p":"com.salesmanager.core.model.reference.language","c":"Language","l":"getSortOrder()"},{"p":"com.salesmanager.core.model.system.optin","c":"Optin","l":"getStartDate()"},{"p":"com.salesmanager.core.model.system","c":"SystemNotification","l":"getStartDate()"},{"p":"com.salesmanager.core.model.common","c":"Criteria","l":"getStartIndex()"},{"p":"com.salesmanager.core.model.common","c":"Billing","l":"getState()"},{"p":"com.salesmanager.core.model.common","c":"Delivery","l":"getState()"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingOrigin","l":"getState()"},{"p":"com.salesmanager.core.model.common","c":"Address","l":"getStateProvince()"},{"p":"com.salesmanager.core.model.tax.taxrate","c":"TaxRate","l":"getStateProvince()"},{"p":"com.salesmanager.core.model.catalog.product","c":"ProductCriteria","l":"getStatus()"},{"p":"com.salesmanager.core.model.catalog.product.review","c":"ProductReview","l":"getStatus()"},{"p":"com.salesmanager.core.model.customer.review","c":"CustomerReview","l":"getStatus()"},{"p":"com.salesmanager.core.model.order","c":"Order","l":"getStatus()"},{"p":"com.salesmanager.core.model.order.orderstatus","c":"OrderStatusHistory","l":"getStatus()"},{"p":"com.salesmanager.core.model.catalog.marketplace","c":"Catalog","l":"getStore()"},{"p":"com.salesmanager.core.model.catalog.marketplace","c":"MarketPlace","l":"getStore()"},{"p":"com.salesmanager.core.model.catalog.product.relationship","c":"ProductRelationship","l":"getStore()"},{"p":"com.salesmanager.core.model.order.filehistory","c":"FileHistory","l":"getStore()"},{"p":"com.salesmanager.core.model.search","c":"IndexProduct","l":"getStore()"},{"p":"com.salesmanager.core.model.system","c":"MerchantLog","l":"getStore()"},{"p":"com.salesmanager.core.model.merchant","c":"MerchantStore","l":"getStoreaddress()"},{"p":"com.salesmanager.core.model.merchant","c":"MerchantStore","l":"getStorecity()"},{"p":"com.salesmanager.core.model.merchant","c":"MerchantStore","l":"getStoreEmailAddress()"},{"p":"com.salesmanager.core.model.merchant","c":"MerchantStore","l":"getStoreLogo()"},{"p":"com.salesmanager.core.model.merchant","c":"MerchantStore","l":"getStorename()"},{"p":"com.salesmanager.core.model.merchant","c":"MerchantStore","l":"getStorephone()"},{"p":"com.salesmanager.core.model.merchant","c":"MerchantStore","l":"getStorepostalcode()"},{"p":"com.salesmanager.core.model.merchant","c":"MerchantStore","l":"getStorestateprovince()"},{"p":"com.salesmanager.core.model.merchant","c":"MerchantStore","l":"getStoreTemplate()"},{"p":"com.salesmanager.core.model.order","c":"OrderTotalSummary","l":"getSubTotal()"},{"p":"com.salesmanager.core.model.shoppingcart","c":"ShoppingCartItem","l":"getSubTotal()"},{"p":"com.salesmanager.core.model.reference.country","c":"Country","l":"getSupported()"},{"p":"com.salesmanager.core.model.reference.currency","c":"Currency","l":"getSupported()"},{"p":"com.salesmanager.core.model.reference.currency","c":"Currency","l":"getSymbol()"},{"p":"com.salesmanager.core.model.search","c":"IndexProduct","l":"getTags()"},{"p":"com.salesmanager.core.model.tax","c":"TaxConfiguration","l":"getTaxBasisCalculation()"},{"p":"com.salesmanager.core.model.catalog.product","c":"Product","l":"getTaxClass()"},{"p":"com.salesmanager.core.model.tax.taxrate","c":"TaxRate","l":"getTaxClass()"},{"p":"com.salesmanager.core.model.tax.taxrate","c":"TaxRate","l":"getTaxPriority()"},{"p":"com.salesmanager.core.model.tax","c":"TaxItem","l":"getTaxRate()"},{"p":"com.salesmanager.core.model.tax.taxrate","c":"TaxRate","l":"getTaxRate()"},{"p":"com.salesmanager.core.model.tax.taxrate","c":"TaxRateDescription","l":"getTaxRate()"},{"p":"com.salesmanager.core.model.tax.taxclass","c":"TaxClass","l":"getTaxRates()"},{"p":"com.salesmanager.core.model.tax.taxrate","c":"TaxRate","l":"getTaxRates()"},{"p":"com.salesmanager.core.model.order","c":"OrderTotalSummary","l":"getTaxTotal()"},{"p":"com.salesmanager.core.model.common","c":"Billing","l":"getTelephone()"},{"p":"com.salesmanager.core.model.common","c":"Delivery","l":"getTelephone()"},{"p":"com.salesmanager.core.model.order","c":"OrderTotal","l":"getText()"},{"p":"com.salesmanager.core.model.customer.attribute","c":"CustomerAttribute","l":"getTextValue()"},{"p":"com.salesmanager.core.model.common.description","c":"Description","l":"getTitle()"},{"p":"com.salesmanager.core.model.order","c":"OrderTotal","l":"getTitle()"},{"p":"com.salesmanager.core.model.tax.taxclass","c":"TaxClass","l":"getTitle()"},{"p":"com.salesmanager.core.model.order","c":"Order","l":"getTotal()"},{"p":"com.salesmanager.core.model.order","c":"OrderTotalSummary","l":"getTotal()"},{"p":"com.salesmanager.core.model.common","c":"EntityList","l":"getTotalCount()"},{"p":"com.salesmanager.core.model.search","c":"SearchResponse","l":"getTotalCount()"},{"p":"com.salesmanager.core.model.user","c":"PermissionList","l":"getTotalCount()"},{"p":"com.salesmanager.core.model.order","c":"OrderTotalSummary","l":"getTotals()"},{"p":"com.salesmanager.core.model.payments","c":"Transaction","l":"getTransactionDate()"},{"p":"com.salesmanager.core.model.payments","c":"Transaction","l":"getTransactionDetails()"},{"p":"com.salesmanager.core.model.payments","c":"Payment","l":"getTransactionType()"},{"p":"com.salesmanager.core.model.payments","c":"Transaction","l":"getTransactionType()"},{"p":"com.salesmanager.core.model.shipping","c":"PackageDetails","l":"getTreshold()"},{"p":"com.salesmanager.core.model.catalog.product","c":"Product","l":"getType()"},{"p":"com.salesmanager.core.model.system","c":"IntegrationModule","l":"getType()"},{"p":"com.salesmanager.core.model.system","c":"ModuleConfig","l":"getUri()"},{"p":"com.salesmanager.core.model.catalog.product.manufacturer","c":"ManufacturerDescription","l":"getUrl()"},{"p":"com.salesmanager.core.model.catalog.product.manufacturer","c":"ManufacturerDescription","l":"getUrlClicked()"},{"p":"com.salesmanager.core.model.system","c":"MerchantConfig","l":"getUseDefaultSearchConfig()"},{"p":"com.salesmanager.core.model.common","c":"Criteria","l":"getUser()"},{"p":"com.salesmanager.core.model.system","c":"SystemNotification","l":"getUser()"},{"p":"com.salesmanager.core.model.customer.connection","c":"AbstractUserConnection","l":"getUserId()"},{"p":"com.salesmanager.core.model.customer.connection","c":"AbstractUserConnectionWithCompositeKey","l":"getUserId()"},{"p":"com.salesmanager.core.model.customer.connection","c":"RemoteUser","l":"getUserId()"},{"p":"com.salesmanager.core.model.customer.connection","c":"UserConnectionPK","l":"getUserId()"},{"p":"com.salesmanager.core.model.security","c":"Secrets","l":"getUserName()"},{"p":"com.salesmanager.core.model.system.credentials","c":"Credentials","l":"getUserName()"},{"p":"com.salesmanager.core.model.order.attributes","c":"OrderAttribute","l":"getValue()"},{"p":"com.salesmanager.core.model.order.orderstatus","c":"OrderStatus","l":"getValue()"},{"p":"com.salesmanager.core.model.order","c":"OrderTotal","l":"getValue()"},{"p":"com.salesmanager.core.model.system","c":"MerchantConfiguration","l":"getValue()"},{"p":"com.salesmanager.core.model.system.optin","c":"CustomerOptin","l":"getValue()"},{"p":"com.salesmanager.core.model.system","c":"SystemConfiguration","l":"getValue()"},{"p":"com.salesmanager.core.model.system","c":"SystemNotification","l":"getValue()"},{"p":"com.salesmanager.core.model.order","c":"OrderTotalVariation","l":"getVariations()"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingQuote","l":"getWarnings()"},{"p":"com.salesmanager.core.model.merchant","c":"MerchantStore","l":"getWeightunitcode()"},{"p":"com.salesmanager.core.model.common","c":"Address","l":"getZone()"},{"p":"com.salesmanager.core.model.common","c":"Billing","l":"getZone()"},{"p":"com.salesmanager.core.model.common","c":"Delivery","l":"getZone()"},{"p":"com.salesmanager.core.model.merchant","c":"MerchantStore","l":"getZone()"},{"p":"com.salesmanager.core.model.reference.zone","c":"ZoneDescription","l":"getZone()"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingOrigin","l":"getZone()"},{"p":"com.salesmanager.core.model.tax.taxrate","c":"TaxRate","l":"getZone()"},{"p":"com.salesmanager.core.model.reference.country","c":"Country","l":"getZones()"},{"p":"com.salesmanager.core.model.user","c":"Group","l":"Group()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.user","c":"Group","l":"Group(String)","u":"%3Cinit%3E(java.lang.String)"},{"p":"com.salesmanager.core.model.order","c":"OrderTotalType","l":"HANDLING"},{"p":"com.salesmanager.core.model.customer.connection","c":"UserConnectionPK","l":"hashCode()"},{"p":"com.salesmanager.core.model.generic","c":"SalesManagerEntity","l":"hashCode()"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingOptionPriceType","l":"HIGHEST"},{"p":"com.salesmanager.core.model.content","c":"FileContentType","l":"IMAGE"},{"p":"com.salesmanager.core.model.content","c":"ImageContentFile","l":"ImageContentFile()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.constants","c":"MeasureUnit","l":"IN"},{"p":"com.salesmanager.core.model.search","c":"IndexProduct","l":"IndexProduct()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.payments","c":"TransactionType","l":"INIT"},{"p":"com.salesmanager.core.model.content","c":"InputContentFile","l":"InputContentFile()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.system","c":"MerchantConfigurationType","l":"INTEGRATION"},{"p":"com.salesmanager.core.model.system","c":"IntegrationConfiguration","l":"IntegrationConfiguration()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.system","c":"IntegrationModule","l":"IntegrationModule()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingType","l":"INTERNATIONAL"},{"p":"com.salesmanager.core.model.catalog.product.relationship","c":"ProductRelationship","l":"isActive()"},{"p":"com.salesmanager.core.model.customer.attribute","c":"CustomerOption","l":"isActive()"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingOrigin","l":"isActive()"},{"p":"com.salesmanager.core.model.system","c":"IntegrationConfiguration","l":"isActive()"},{"p":"com.salesmanager.core.model.user","c":"User","l":"isActive()"},{"p":"com.salesmanager.core.model.catalog.product.type","c":"ProductType","l":"isAllowAddToCart()"},{"p":"com.salesmanager.core.model.system","c":"MerchantConfig","l":"isAllowPurchaseItems()"},{"p":"com.salesmanager.core.model.customer","c":"Customer","l":"isAnonymous()"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingQuote","l":"isApplyTaxOnShipping()"},{"p":"com.salesmanager.core.model.catalog.product","c":"Product","l":"isAvailable()"},{"p":"com.salesmanager.core.model.search","c":"IndexProduct","l":"isAvailable()"},{"p":"com.salesmanager.core.model.catalog.category","c":"Category","l":"isCategoryStatus()"},{"p":"com.salesmanager.core.model.tax","c":"TaxConfiguration","l":"isCollectTaxIfDifferentCountryOfStoreCountry()"},{"p":"com.salesmanager.core.model.tax","c":"TaxConfiguration","l":"isCollectTaxIfDifferentProvinceOfStoreCountry()"},{"p":"com.salesmanager.core.model.merchant","c":"MerchantStore","l":"isCurrencyFormatNational()"},{"p":"com.salesmanager.core.model.system","c":"IntegrationModule","l":"isCustomModule()"},{"p":"com.salesmanager.core.model.system","c":"MerchantConfig","l":"isDebugMode()"},{"p":"com.salesmanager.core.model.catalog.product.image","c":"ProductImage","l":"isDefaultImage()"},{"p":"com.salesmanager.core.model.catalog.product.price","c":"FinalPrice","l":"isDefaultPrice()"},{"p":"com.salesmanager.core.model.catalog.product.price","c":"ProductPrice","l":"isDefaultPrice()"},{"p":"com.salesmanager.core.model.payments","c":"PaymentMethod","l":"isDefaultSelected()"},{"p":"com.salesmanager.core.model.system","c":"IntegrationConfiguration","l":"isDefaultSelected()"},{"p":"com.salesmanager.core.model.catalog.product.price","c":"FinalPrice","l":"isDiscounted()"},{"p":"com.salesmanager.core.model.system","c":"MerchantConfig","l":"isDisplayAddToCartOnFeaturedItems()"},{"p":"com.salesmanager.core.model.system","c":"MerchantConfig","l":"isDisplayContactUs()"},{"p":"com.salesmanager.core.model.system","c":"MerchantConfig","l":"isDisplayCustomerAgreement()"},{"p":"com.salesmanager.core.model.system","c":"MerchantConfig","l":"isDisplayCustomerSection()"},{"p":"com.salesmanager.core.model.system","c":"MerchantConfig","l":"isDisplaySearchBox()"},{"p":"com.salesmanager.core.model.system","c":"MerchantConfig","l":"isDisplayStoreAddress()"},{"p":"com.salesmanager.core.model.catalog.category","c":"Category","l":"isFeatured()"},{"p":"com.salesmanager.core.model.shipping","c":"Quote","l":"isFreeShipping()"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingQuote","l":"isFreeShipping()"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingSummary","l":"isFreeShipping()"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingConfiguration","l":"isFreeShippingEnabled()"},{"p":"com.salesmanager.core.model.catalog.product.image","c":"ProductImage","l":"isImageCrop()"},{"p":"com.salesmanager.core.model.content","c":"Content","l":"isLinkToMenu()"},{"p":"com.salesmanager.core.model.generic","c":"SalesManagerEntity","l":"isNew()"},{"p":"com.salesmanager.core.model.shoppingcart","c":"ShoppingCart","l":"isObsolete()"},{"p":"com.salesmanager.core.model.shoppingcart","c":"ShoppingCartItem","l":"isObsolete()"},{"p":"com.salesmanager.core.model.tax.taxrate","c":"TaxRate","l":"isPiggyback()"},{"p":"com.salesmanager.core.model.catalog.product","c":"Product","l":"isPreOrder()"},{"p":"com.salesmanager.core.model.order.orderproduct","c":"OrderProductAttribute","l":"isProductAttributeIsFree()"},{"p":"com.salesmanager.core.model.catalog.product.attribute","c":"ProductOptionValue","l":"isProductOptionDisplayOnly()"},{"p":"com.salesmanager.core.model.catalog.product","c":"Product","l":"isProductShipeable()"},{"p":"com.salesmanager.core.model.catalog.product","c":"Product","l":"isProductVirtual()"},{"p":"com.salesmanager.core.model.shoppingcart","c":"ShoppingCartItem","l":"isProductVirtual()"},{"p":"com.salesmanager.core.model.customer.attribute","c":"CustomerOption","l":"isPublicOption()"},{"p":"com.salesmanager.core.model.catalog.product.attribute","c":"ProductOption","l":"isReadOnly()"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingConfiguration","l":"isTaxOnShipping()"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingSummary","l":"isTaxOnShipping()"},{"p":"com.salesmanager.core.model.system","c":"MerchantConfig","l":"isTestMode()"},{"p":"com.salesmanager.core.model.merchant","c":"MerchantStore","l":"isUseCache()"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingMetaData","l":"isUseDistanceModule()"},{"p":"com.salesmanager.core.model.catalog.category","c":"Category","l":"isVisible()"},{"p":"com.salesmanager.core.model.content","c":"Content","l":"isVisible()"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingPackageType","l":"ITEM"},{"p":"com.salesmanager.core.constants","c":"MeasureUnit","l":"KG"},{"p":"com.salesmanager.core.constants","c":"SchemaConstant","l":"LANGUAGE_ISO_CODE"},{"p":"com.salesmanager.core.model.reference.language","c":"Language","l":"Language()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.reference.language","c":"Language","l":"Language(String)","u":"%3Cinit%3E(java.lang.String)"},{"p":"com.salesmanager.core.model.catalog.product.file","c":"ProductImageSize","l":"LARGE"},{"p":"com.salesmanager.core.constants","c":"MeasureUnit","l":"LB"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingOptionPriceType","l":"LEAST"},{"p":"com.salesmanager.core.model.content","c":"ContentPosition","l":"LEFT"},{"p":"com.salesmanager.core.constants","c":"SchemaConstant","l":"LOCALES"},{"p":"com.salesmanager.core.model.content","c":"FileContentType","l":"LOGO"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingDescription","l":"LONG_DESCRIPTION"},{"p":"com.salesmanager.core.model.customer","c":"CustomerGender","l":"M"},{"p":"com.salesmanager.core.model.content","c":"FileContentType","l":"MANUFACTURER"},{"p":"com.salesmanager.core.model.catalog.product.manufacturer","c":"Manufacturer","l":"Manufacturer()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.catalog.product.manufacturer","c":"ManufacturerDescription","l":"ManufacturerDescription()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.catalog.marketplace","c":"MarketPlace","l":"MarketPlace()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.payments","c":"CreditCardType","l":"MASTERCARD"},{"p":"com.salesmanager.core.model.system","c":"MerchantConfig","l":"MerchantConfig()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.system","c":"MerchantConfiguration","l":"MerchantConfiguration()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.system","c":"MerchantLog","l":"MerchantLog(MerchantStore, String)","u":"%3Cinit%3E(com.salesmanager.core.model.merchant.MerchantStore,java.lang.String)"},{"p":"com.salesmanager.core.model.system","c":"MerchantLog","l":"MerchantLog(MerchantStore, String, String)","u":"%3Cinit%3E(com.salesmanager.core.model.merchant.MerchantStore,java.lang.String,java.lang.String)"},{"p":"com.salesmanager.core.model.merchant","c":"MerchantStore","l":"MerchantStore()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.merchant","c":"MerchantStoreCriteria","l":"MerchantStoreCriteria()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.system","c":"ModuleConfig","l":"ModuleConfig()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.payments","c":"PaymentType","l":"MONEYORDER"},{"p":"com.salesmanager.core.model.catalog.product.price","c":"ProductPriceType","l":"MONTHLY"},{"p":"com.salesmanager.core.model.order","c":"OrderValueType","l":"MONTHLY"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingType","l":"NATIONAL"},{"p":"com.salesmanager.core.model.catalog.product","c":"ProductCondition","l":"NEW"},{"p":"com.salesmanager.core.model.system.optin","c":"OptinType","l":"NEWSLETTER"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingQuote","l":"NO_POSTAL_CODE"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingQuote","l":"NO_SHIPPING_MODULE_CONFIGURED"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingQuote","l":"NO_SHIPPING_TO_SELECTED_COUNTRY"},{"p":"com.salesmanager.core.model.catalog.product.price","c":"ProductPriceType","l":"ONE_TIME"},{"p":"com.salesmanager.core.model.order","c":"OrderValueType","l":"ONE_TIME"},{"p":"com.salesmanager.core.model.order","c":"OrderChannel","l":"ONLINE"},{"p":"com.salesmanager.core.model.common.audit","c":"AuditListener","l":"onSave(Object)","u":"onSave(java.lang.Object)"},{"p":"com.salesmanager.core.model.common.audit","c":"AuditListener","l":"onUpdate(Object)","u":"onUpdate(java.lang.Object)"},{"p":"com.salesmanager.core.model.system.optin","c":"Optin","l":"Optin()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.order","c":"OrderType","l":"ORDER"},{"p":"com.salesmanager.core.model.order","c":"Order","l":"Order()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.order.orderaccount","c":"OrderAccount","l":"OrderAccount()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.order.orderaccount","c":"OrderAccountProduct","l":"OrderAccountProduct()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.order.attributes","c":"OrderAttribute","l":"OrderAttribute()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.order","c":"OrderCriteria","l":"OrderCriteria()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.order.orderstatus","c":"OrderStatus","l":"ORDERED"},{"p":"com.salesmanager.core.model.order","c":"OrderList","l":"OrderList()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.order.orderproduct","c":"OrderProduct","l":"OrderProduct()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.order.orderproduct","c":"OrderProductAttribute","l":"OrderProductAttribute()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.order.orderproduct","c":"OrderProductDownload","l":"OrderProductDownload()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.order.orderproduct","c":"OrderProductPrice","l":"OrderProductPrice()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.order.orderstatus","c":"OrderStatusHistory","l":"OrderStatusHistory()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.order","c":"OrderSummary","l":"OrderSummary()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.order","c":"OrderSummaryType","l":"ORDERTOTAL"},{"p":"com.salesmanager.core.model.order","c":"OrderTotal","l":"OrderTotal()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.order","c":"OrderTotalItem","l":"OrderTotalItem()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.order","c":"OrderTotalSummary","l":"OrderTotalSummary()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.order","c":"OrderTotalVariation","l":"OrderTotalVariation()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.content","c":"OutputContentFile","l":"OutputContentFile()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.shipping","c":"PackageDetails","l":"PackageDetails()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.content","c":"ContentType","l":"PAGE"},{"p":"com.salesmanager.core.model.system","c":"Module","l":"PAYMENT"},{"p":"com.salesmanager.core.model.payments","c":"Payment","l":"Payment()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.payments","c":"PaymentMethod","l":"PaymentMethod()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.payments","c":"PaymentType","l":"PAYPAL"},{"p":"com.salesmanager.core.model.payments","c":"PaypalPayment","l":"PaypalPayment()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.user","c":"Permission","l":"Permission()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.user","c":"Permission","l":"Permission(String)","u":"%3Cinit%3E(java.lang.String)"},{"p":"com.salesmanager.core.model.user","c":"PermissionCriteria","l":"PermissionCriteria()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.user","c":"PermissionList","l":"PermissionList()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.order.orderstatus","c":"OrderStatus","l":"PROCESSED"},{"p":"com.salesmanager.core.model.content","c":"FileContentType","l":"PRODUCT"},{"p":"com.salesmanager.core.model.order","c":"OrderTotalType","l":"PRODUCT"},{"p":"com.salesmanager.core.model.content","c":"FileContentType","l":"PRODUCT_DIGITAL"},{"p":"com.salesmanager.core.model.catalog.product","c":"Product","l":"Product()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.catalog.product.attribute","c":"ProductAttribute","l":"ProductAttribute()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.catalog.product.availability","c":"ProductAvailability","l":"ProductAvailability()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.catalog.product","c":"ProductCriteria","l":"ProductCriteria()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.catalog.product.description","c":"ProductDescription","l":"ProductDescription()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.catalog.product.image","c":"ProductImage","l":"ProductImage()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.catalog.product.image","c":"ProductImageDescription","l":"ProductImageDescription()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.system","c":"Environment","l":"PRODUCTION"},{"p":"com.salesmanager.core.model.system","c":"IntegrationConfiguration","l":"PRODUCTION_ENVIRONMENT"},{"p":"com.salesmanager.core.model.content","c":"FileContentType","l":"PRODUCTLG"},{"p":"com.salesmanager.core.model.catalog.product","c":"ProductList","l":"ProductList()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.catalog.product.attribute","c":"ProductOption","l":"ProductOption()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.catalog.product.attribute","c":"ProductOptionDescription","l":"ProductOptionDescription()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.catalog.product.attribute","c":"ProductOptionValue","l":"ProductOptionValue()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.catalog.product.attribute","c":"ProductOptionValueDescription","l":"ProductOptionValueDescription()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.catalog.product.price","c":"ProductPrice","l":"ProductPrice()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.catalog.product.price","c":"ProductPriceDescription","l":"ProductPriceDescription()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.catalog.product.relationship","c":"ProductRelationship","l":"ProductRelationship()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.catalog.product.review","c":"ProductReview","l":"ProductReview()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.catalog.product.review","c":"ProductReviewDescription","l":"ProductReviewDescription()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.catalog.product.review","c":"ProductReviewDescription","l":"ProductReviewDescription(Language, String)","u":"%3Cinit%3E(com.salesmanager.core.model.reference.language.Language,java.lang.String)"},{"p":"com.salesmanager.core.model.catalog.product.type","c":"ProductType","l":"ProductType()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.content","c":"FileContentType","l":"PROPERTY"},{"p":"com.salesmanager.core.model.shipping","c":"Quote","l":"Quote()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.catalog.product.attribute","c":"ProductOptionType","l":"Radio"},{"p":"com.salesmanager.core.model.customer.attribute","c":"CustomerOptionType","l":"Radio"},{"p":"com.salesmanager.core.model.order","c":"RebatesOrderTotalVariation","l":"RebatesOrderTotalVariation()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.order","c":"OrderTotalType","l":"REFUND"},{"p":"com.salesmanager.core.model.payments","c":"TransactionType","l":"REFUND"},{"p":"com.salesmanager.core.model.order.orderstatus","c":"OrderStatus","l":"REFUNDED"},{"p":"com.salesmanager.core.model.catalog.product.relationship","c":"ProductRelationshipType","l":"RELATED_ITEM"},{"p":"com.salesmanager.core.model.shoppingcart","c":"ShoppingCartItem","l":"removeAllAttributes()"},{"p":"com.salesmanager.core.model.shoppingcart","c":"ShoppingCartItem","l":"removeAttributes(ShoppingCartAttributeItem)","u":"removeAttributes(com.salesmanager.core.model.shoppingcart.ShoppingCartAttributeItem)"},{"p":"com.salesmanager.core.model.catalog.product","c":"RentalStatus","l":"RENTED"},{"p":"com.salesmanager.core.model.content","c":"ContentPosition","l":"RIGHT"},{"p":"com.salesmanager.core.constants","c":"SchemaConstant","l":"SALESMANAGER_SCHEMA"},{"p":"com.salesmanager.core.model.generic","c":"SalesManagerEntity","l":"SalesManagerEntity()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.constants","c":"SchemaConstant","l":"SchemaConstant()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.search","c":"SearchEntry","l":"SearchEntry()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.search","c":"SearchFacet","l":"SearchFacet()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.search","c":"SearchKeywords","l":"SearchKeywords()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.search","c":"SearchResponse","l":"SearchResponse()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.security","c":"Secrets","l":"Secrets()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.content","c":"ContentType","l":"SECTION"},{"p":"com.salesmanager.core.model.catalog.product.attribute","c":"ProductOptionType","l":"Select"},{"p":"com.salesmanager.core.model.customer.attribute","c":"CustomerOptionType","l":"Select"},{"p":"com.salesmanager.core.business.exception","c":"ServiceException","l":"ServiceException()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.business.exception","c":"ServiceException","l":"ServiceException(int)","u":"%3Cinit%3E(int)"},{"p":"com.salesmanager.core.business.exception","c":"ServiceException","l":"ServiceException(int, String)","u":"%3Cinit%3E(int,java.lang.String)"},{"p":"com.salesmanager.core.business.exception","c":"ServiceException","l":"ServiceException(int, String, String)","u":"%3Cinit%3E(int,java.lang.String,java.lang.String)"},{"p":"com.salesmanager.core.business.exception","c":"ServiceException","l":"ServiceException(String)","u":"%3Cinit%3E(java.lang.String)"},{"p":"com.salesmanager.core.business.exception","c":"ServiceException","l":"ServiceException(String, Throwable)","u":"%3Cinit%3E(java.lang.String,java.lang.Throwable)"},{"p":"com.salesmanager.core.business.exception","c":"ServiceException","l":"ServiceException(Throwable)","u":"%3Cinit%3E(java.lang.Throwable)"},{"p":"com.salesmanager.core.model.customer.connection","c":"AbstractUserConnection","l":"setAccessToken(String)","u":"setAccessToken(java.lang.String)"},{"p":"com.salesmanager.core.model.customer.connection","c":"RemoteUser","l":"setAccessToken(String)","u":"setAccessToken(java.lang.String)"},{"p":"com.salesmanager.core.model.order.filehistory","c":"FileHistory","l":"setAccountedDate(Date)","u":"setAccountedDate(java.util.Date)"},{"p":"com.salesmanager.core.model.catalog.product.relationship","c":"ProductRelationship","l":"setActive(boolean)"},{"p":"com.salesmanager.core.model.customer.attribute","c":"CustomerOption","l":"setActive(boolean)"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingOrigin","l":"setActive(boolean)"},{"p":"com.salesmanager.core.model.system","c":"IntegrationConfiguration","l":"setActive(boolean)"},{"p":"com.salesmanager.core.model.user","c":"User","l":"setActive(boolean)"},{"p":"com.salesmanager.core.model.system","c":"MerchantConfiguration","l":"setActive(Boolean)","u":"setActive(java.lang.Boolean)"},{"p":"com.salesmanager.core.model.catalog.product.price","c":"FinalPrice","l":"setAdditionalPrices(List<FinalPrice>)","u":"setAdditionalPrices(java.util.List)"},{"p":"com.salesmanager.core.model.common","c":"Billing","l":"setAddress(String)","u":"setAddress(java.lang.String)"},{"p":"com.salesmanager.core.model.common","c":"Delivery","l":"setAddress(String)","u":"setAddress(java.lang.String)"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingOrigin","l":"setAddress(String)","u":"setAddress(java.lang.String)"},{"p":"com.salesmanager.core.model.user","c":"User","l":"setAdminEmail(String)","u":"setAdminEmail(java.lang.String)"},{"p":"com.salesmanager.core.model.user","c":"User","l":"setAdminName(String)","u":"setAdminName(java.lang.String)"},{"p":"com.salesmanager.core.model.user","c":"User","l":"setAdminPassword(String)","u":"setAdminPassword(java.lang.String)"},{"p":"com.salesmanager.core.model.catalog.product.type","c":"ProductType","l":"setAllowAddToCart(boolean)"},{"p":"com.salesmanager.core.model.system","c":"MerchantConfig","l":"setAllowPurchaseItems(boolean)"},{"p":"com.salesmanager.core.model.catalog.product.image","c":"ProductImageDescription","l":"setAltTag(String)","u":"setAltTag(java.lang.String)"},{"p":"com.salesmanager.core.model.payments","c":"Payment","l":"setAmount(BigDecimal)","u":"setAmount(java.math.BigDecimal)"},{"p":"com.salesmanager.core.model.payments","c":"Transaction","l":"setAmount(BigDecimal)","u":"setAmount(java.math.BigDecimal)"},{"p":"com.salesmanager.core.model.customer","c":"Customer","l":"setAnonymous(boolean)"},{"p":"com.salesmanager.core.model.user","c":"User","l":"setAnswer1(String)","u":"setAnswer1(java.lang.String)"},{"p":"com.salesmanager.core.model.user","c":"User","l":"setAnswer2(String)","u":"setAnswer2(java.lang.String)"},{"p":"com.salesmanager.core.model.user","c":"User","l":"setAnswer3(String)","u":"setAnswer3(java.lang.String)"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingQuote","l":"setApplyTaxOnShipping(boolean)"},{"p":"com.salesmanager.core.model.catalog.product.attribute","c":"ProductAttribute","l":"setAttributeAdditionalWeight(String)","u":"setAttributeAdditionalWeight(java.lang.String)"},{"p":"com.salesmanager.core.model.catalog.product.attribute","c":"AttributeCriteria","l":"setAttributeCode(String)","u":"setAttributeCode(java.lang.String)"},{"p":"com.salesmanager.core.model.catalog.product","c":"ProductCriteria","l":"setAttributeCriteria(List<AttributeCriteria>)","u":"setAttributeCriteria(java.util.List)"},{"p":"com.salesmanager.core.model.catalog.product.attribute","c":"ProductAttribute","l":"setAttributeDefault(boolean)"},{"p":"com.salesmanager.core.model.catalog.product.attribute","c":"ProductAttribute","l":"setAttributeDiscounted(boolean)"},{"p":"com.salesmanager.core.model.catalog.product.attribute","c":"ProductAttribute","l":"setAttributeDisplayOnly(boolean)"},{"p":"com.salesmanager.core.model.catalog.product.attribute","c":"ProductAttribute","l":"setAttributePrice(String)","u":"setAttributePrice(java.lang.String)"},{"p":"com.salesmanager.core.model.catalog.product.attribute","c":"ProductAttribute","l":"setAttributeRequired(boolean)"},{"p":"com.salesmanager.core.model.customer","c":"Customer","l":"setAttributes(Set<CustomerAttribute>)","u":"setAttributes(java.util.Set)"},{"p":"com.salesmanager.core.model.catalog.product","c":"Product","l":"setAttributes(Set<ProductAttribute>)","u":"setAttributes(java.util.Set)"},{"p":"com.salesmanager.core.model.shoppingcart","c":"ShoppingCartItem","l":"setAttributes(Set<ShoppingCartAttributeItem>)","u":"setAttributes(java.util.Set)"},{"p":"com.salesmanager.core.model.catalog.product.attribute","c":"ProductAttribute","l":"setAttributeSortOrder(String)","u":"setAttributeSortOrder(java.lang.String)"},{"p":"com.salesmanager.core.model.catalog.product.attribute","c":"AttributeCriteria","l":"setAttributeValue(String)","u":"setAttributeValue(java.lang.String)"},{"p":"com.salesmanager.core.model.catalog.category","c":"Category","l":"setAuditSection(AuditSection)","u":"setAuditSection(com.salesmanager.core.model.common.audit.AuditSection)"},{"p":"com.salesmanager.core.model.catalog.marketplace","c":"Catalog","l":"setAuditSection(AuditSection)","u":"setAuditSection(com.salesmanager.core.model.common.audit.AuditSection)"},{"p":"com.salesmanager.core.model.catalog.marketplace","c":"MarketPlace","l":"setAuditSection(AuditSection)","u":"setAuditSection(com.salesmanager.core.model.common.audit.AuditSection)"},{"p":"com.salesmanager.core.model.catalog.product.manufacturer","c":"Manufacturer","l":"setAuditSection(AuditSection)","u":"setAuditSection(com.salesmanager.core.model.common.audit.AuditSection)"},{"p":"com.salesmanager.core.model.catalog.product","c":"Product","l":"setAuditSection(AuditSection)","u":"setAuditSection(com.salesmanager.core.model.common.audit.AuditSection)"},{"p":"com.salesmanager.core.model.catalog.product.review","c":"ProductReview","l":"setAuditSection(AuditSection)","u":"setAuditSection(com.salesmanager.core.model.common.audit.AuditSection)"},{"p":"com.salesmanager.core.model.catalog.product.type","c":"ProductType","l":"setAuditSection(AuditSection)","u":"setAuditSection(com.salesmanager.core.model.common.audit.AuditSection)"},{"p":"com.salesmanager.core.model.common.audit","c":"Auditable","l":"setAuditSection(AuditSection)","u":"setAuditSection(com.salesmanager.core.model.common.audit.AuditSection)"},{"p":"com.salesmanager.core.model.common.description","c":"Description","l":"setAuditSection(AuditSection)","u":"setAuditSection(com.salesmanager.core.model.common.audit.AuditSection)"},{"p":"com.salesmanager.core.model.content","c":"Content","l":"setAuditSection(AuditSection)","u":"setAuditSection(com.salesmanager.core.model.common.audit.AuditSection)"},{"p":"com.salesmanager.core.model.customer","c":"Customer","l":"setAuditSection(AuditSection)","u":"setAuditSection(com.salesmanager.core.model.common.audit.AuditSection)"},{"p":"com.salesmanager.core.model.customer.review","c":"CustomerReview","l":"setAuditSection(AuditSection)","u":"setAuditSection(com.salesmanager.core.model.common.audit.AuditSection)"},{"p":"com.salesmanager.core.model.merchant","c":"MerchantStore","l":"setAuditSection(AuditSection)","u":"setAuditSection(com.salesmanager.core.model.common.audit.AuditSection)"},{"p":"com.salesmanager.core.model.payments","c":"Transaction","l":"setAuditSection(AuditSection)","u":"setAuditSection(com.salesmanager.core.model.common.audit.AuditSection)"},{"p":"com.salesmanager.core.model.reference.language","c":"Language","l":"setAuditSection(AuditSection)","u":"setAuditSection(com.salesmanager.core.model.common.audit.AuditSection)"},{"p":"com.salesmanager.core.model.shoppingcart","c":"ShoppingCart","l":"setAuditSection(AuditSection)","u":"setAuditSection(com.salesmanager.core.model.common.audit.AuditSection)"},{"p":"com.salesmanager.core.model.shoppingcart","c":"ShoppingCartAttributeItem","l":"setAuditSection(AuditSection)","u":"setAuditSection(com.salesmanager.core.model.common.audit.AuditSection)"},{"p":"com.salesmanager.core.model.shoppingcart","c":"ShoppingCartItem","l":"setAuditSection(AuditSection)","u":"setAuditSection(com.salesmanager.core.model.common.audit.AuditSection)"},{"p":"com.salesmanager.core.model.system","c":"IntegrationModule","l":"setAuditSection(AuditSection)","u":"setAuditSection(com.salesmanager.core.model.common.audit.AuditSection)"},{"p":"com.salesmanager.core.model.system","c":"MerchantConfiguration","l":"setAuditSection(AuditSection)","u":"setAuditSection(com.salesmanager.core.model.common.audit.AuditSection)"},{"p":"com.salesmanager.core.model.system","c":"SystemConfiguration","l":"setAuditSection(AuditSection)","u":"setAuditSection(com.salesmanager.core.model.common.audit.AuditSection)"},{"p":"com.salesmanager.core.model.system","c":"SystemNotification","l":"setAuditSection(AuditSection)","u":"setAuditSection(com.salesmanager.core.model.common.audit.AuditSection)"},{"p":"com.salesmanager.core.model.tax.taxrate","c":"TaxRate","l":"setAuditSection(AuditSection)","u":"setAuditSection(com.salesmanager.core.model.common.audit.AuditSection)"},{"p":"com.salesmanager.core.model.user","c":"Group","l":"setAuditSection(AuditSection)","u":"setAuditSection(com.salesmanager.core.model.common.audit.AuditSection)"},{"p":"com.salesmanager.core.model.user","c":"Permission","l":"setAuditSection(AuditSection)","u":"setAuditSection(com.salesmanager.core.model.common.audit.AuditSection)"},{"p":"com.salesmanager.core.model.user","c":"User","l":"setAuditSection(AuditSection)","u":"setAuditSection(com.salesmanager.core.model.common.audit.AuditSection)"},{"p":"com.salesmanager.core.model.catalog.product","c":"ProductCriteria","l":"setAvailabilities(List<String>)","u":"setAvailabilities(java.util.List)"},{"p":"com.salesmanager.core.model.user","c":"PermissionCriteria","l":"setAvailabilities(List<String>)","u":"setAvailabilities(java.util.List)"},{"p":"com.salesmanager.core.model.catalog.product","c":"Product","l":"setAvailabilities(Set<ProductAvailability>)","u":"setAvailabilities(java.util.Set)"},{"p":"com.salesmanager.core.model.catalog.product","c":"Product","l":"setAvailable(boolean)"},{"p":"com.salesmanager.core.model.search","c":"IndexProduct","l":"setAvailable(boolean)"},{"p":"com.salesmanager.core.model.catalog.product","c":"ProductCriteria","l":"setAvailable(Boolean)","u":"setAvailable(java.lang.Boolean)"},{"p":"com.salesmanager.core.model.user","c":"PermissionCriteria","l":"setAvailable(Boolean)","u":"setAvailable(java.lang.Boolean)"},{"p":"com.salesmanager.core.model.customer","c":"Customer","l":"setBilling(Billing)","u":"setBilling(com.salesmanager.core.model.common.Billing)"},{"p":"com.salesmanager.core.model.order","c":"Order","l":"setBilling(Billing)","u":"setBilling(com.salesmanager.core.model.common.Billing)"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingConfiguration","l":"setBoxHeight(int)"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingConfiguration","l":"setBoxLength(int)"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingConfiguration","l":"setBoxWeight(double)"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingConfiguration","l":"setBoxWidth(int)"},{"p":"com.salesmanager.core.model.payments","c":"CreditCardPayment","l":"setCardOwner(String)","u":"setCardOwner(java.lang.String)"},{"p":"com.salesmanager.core.model.order.payment","c":"CreditCard","l":"setCardType(CreditCardType)","u":"setCardType(com.salesmanager.core.model.payments.CreditCardType)"},{"p":"com.salesmanager.core.model.shipping","c":"Quote","l":"setCartId(Long)","u":"setCartId(java.lang.Long)"},{"p":"com.salesmanager.core.model.catalog.marketplace","c":"CatalogDescription","l":"setCatalog(Catalog)","u":"setCatalog(com.salesmanager.core.model.catalog.marketplace.Catalog)"},{"p":"com.salesmanager.core.model.catalog.marketplace","c":"MarketPlace","l":"setCatalogs(Set<Catalog>)","u":"setCatalogs(java.util.Set)"},{"p":"com.salesmanager.core.model.catalog.category","c":"Category","l":"setCategories(List<Category>)","u":"setCategories(java.util.List)"},{"p":"com.salesmanager.core.model.search","c":"IndexProduct","l":"setCategories(List<String>)","u":"setCategories(java.util.List)"},{"p":"com.salesmanager.core.model.catalog.product","c":"Product","l":"setCategories(Set<Category>)","u":"setCategories(java.util.Set)"},{"p":"com.salesmanager.core.model.catalog.category","c":"CategoryDescription","l":"setCategory(Category)","u":"setCategory(com.salesmanager.core.model.catalog.category.Category)"},{"p":"com.salesmanager.core.model.catalog.category","c":"CategoryDescription","l":"setCategoryHighlight(String)","u":"setCategoryHighlight(java.lang.String)"},{"p":"com.salesmanager.core.model.catalog.product","c":"ProductCriteria","l":"setCategoryIds(List<Long>)","u":"setCategoryIds(java.util.List)"},{"p":"com.salesmanager.core.model.catalog.category","c":"Category","l":"setCategoryImage(String)","u":"setCategoryImage(java.lang.String)"},{"p":"com.salesmanager.core.model.catalog.category","c":"Category","l":"setCategoryStatus(boolean)"},{"p":"com.salesmanager.core.model.order.payment","c":"CreditCard","l":"setCcCvv(String)","u":"setCcCvv(java.lang.String)"},{"p":"com.salesmanager.core.model.order.payment","c":"CreditCard","l":"setCcExpires(String)","u":"setCcExpires(java.lang.String)"},{"p":"com.salesmanager.core.model.order.payment","c":"CreditCard","l":"setCcNumber(String)","u":"setCcNumber(java.lang.String)"},{"p":"com.salesmanager.core.model.order.payment","c":"CreditCard","l":"setCcOwner(String)","u":"setCcOwner(java.lang.String)"},{"p":"com.salesmanager.core.model.order","c":"Order","l":"setChannel(OrderChannel)","u":"setChannel(com.salesmanager.core.model.order.OrderChannel)"},{"p":"com.salesmanager.core.model.common","c":"Address","l":"setCity(String)","u":"setCity(java.lang.String)"},{"p":"com.salesmanager.core.model.common","c":"Billing","l":"setCity(String)","u":"setCity(java.lang.String)"},{"p":"com.salesmanager.core.model.common","c":"Delivery","l":"setCity(String)","u":"setCity(java.lang.String)"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingOrigin","l":"setCity(String)","u":"setCity(java.lang.String)"},{"p":"com.salesmanager.core.model.catalog.category","c":"Category","l":"setCode(String)","u":"setCode(java.lang.String)"},{"p":"com.salesmanager.core.model.catalog.marketplace","c":"Catalog","l":"setCode(String)","u":"setCode(java.lang.String)"},{"p":"com.salesmanager.core.model.catalog.marketplace","c":"MarketPlace","l":"setCode(String)","u":"setCode(java.lang.String)"},{"p":"com.salesmanager.core.model.catalog.product.attribute","c":"ProductOption","l":"setCode(String)","u":"setCode(java.lang.String)"},{"p":"com.salesmanager.core.model.catalog.product.attribute","c":"ProductOptionValue","l":"setCode(String)","u":"setCode(java.lang.String)"},{"p":"com.salesmanager.core.model.catalog.product.manufacturer","c":"Manufacturer","l":"setCode(String)","u":"setCode(java.lang.String)"},{"p":"com.salesmanager.core.model.catalog.product.price","c":"ProductPrice","l":"setCode(String)","u":"setCode(java.lang.String)"},{"p":"com.salesmanager.core.model.catalog.product.relationship","c":"ProductRelationship","l":"setCode(String)","u":"setCode(java.lang.String)"},{"p":"com.salesmanager.core.model.catalog.product.type","c":"ProductType","l":"setCode(String)","u":"setCode(java.lang.String)"},{"p":"com.salesmanager.core.model.common","c":"Criteria","l":"setCode(String)","u":"setCode(java.lang.String)"},{"p":"com.salesmanager.core.model.content","c":"Content","l":"setCode(String)","u":"setCode(java.lang.String)"},{"p":"com.salesmanager.core.model.customer.attribute","c":"CustomerOption","l":"setCode(String)","u":"setCode(java.lang.String)"},{"p":"com.salesmanager.core.model.customer.attribute","c":"CustomerOptionValue","l":"setCode(String)","u":"setCode(java.lang.String)"},{"p":"com.salesmanager.core.model.merchant","c":"MerchantStore","l":"setCode(String)","u":"setCode(java.lang.String)"},{"p":"com.salesmanager.core.model.reference.geozone","c":"GeoZone","l":"setCode(String)","u":"setCode(java.lang.String)"},{"p":"com.salesmanager.core.model.reference.language","c":"Language","l":"setCode(String)","u":"setCode(java.lang.String)"},{"p":"com.salesmanager.core.model.reference.zone","c":"Zone","l":"setCode(String)","u":"setCode(java.lang.String)"},{"p":"com.salesmanager.core.model.system","c":"IntegrationModule","l":"setCode(String)","u":"setCode(java.lang.String)"},{"p":"com.salesmanager.core.model.system.optin","c":"Optin","l":"setCode(String)","u":"setCode(java.lang.String)"},{"p":"com.salesmanager.core.model.tax.taxclass","c":"TaxClass","l":"setCode(String)","u":"setCode(java.lang.String)"},{"p":"com.salesmanager.core.model.tax.taxrate","c":"TaxRate","l":"setCode(String)","u":"setCode(java.lang.String)"},{"p":"com.salesmanager.core.model.tax","c":"TaxConfiguration","l":"setCollectTaxIfDifferentCountryOfStoreCountry(boolean)"},{"p":"com.salesmanager.core.model.tax","c":"TaxConfiguration","l":"setCollectTaxIfDifferentProvinceOfStoreCountry(boolean)"},{"p":"com.salesmanager.core.model.order.orderstatus","c":"OrderStatusHistory","l":"setComments(String)","u":"setComments(java.lang.String)"},{"p":"com.salesmanager.core.model.common","c":"Billing","l":"setCompany(String)","u":"setCompany(java.lang.String)"},{"p":"com.salesmanager.core.model.common","c":"Delivery","l":"setCompany(String)","u":"setCompany(java.lang.String)"},{"p":"com.salesmanager.core.model.customer","c":"Customer","l":"setCompany(String)","u":"setCompany(java.lang.String)"},{"p":"com.salesmanager.core.model.catalog.product","c":"Product","l":"setCondition(ProductCondition)","u":"setCondition(com.salesmanager.core.model.catalog.product.ProductCondition)"},{"p":"com.salesmanager.core.model.system","c":"ModuleConfig","l":"setConfig1(String)","u":"setConfig1(java.lang.String)"},{"p":"com.salesmanager.core.model.system","c":"ModuleConfig","l":"setConfig2(String)","u":"setConfig2(java.lang.String)"},{"p":"com.salesmanager.core.model.system","c":"IntegrationModule","l":"setConfigDetails(String)","u":"setConfigDetails(java.lang.String)"},{"p":"com.salesmanager.core.model.system","c":"IntegrationModule","l":"setConfiguration(String)","u":"setConfiguration(java.lang.String)"},{"p":"com.salesmanager.core.model.order","c":"Order","l":"setConfirmedAddress(Boolean)","u":"setConfirmedAddress(java.lang.Boolean)"},{"p":"com.salesmanager.core.model.content","c":"ContentDescription","l":"setContent(Content)","u":"setContent(com.salesmanager.core.model.content.Content)"},{"p":"com.salesmanager.core.model.content","c":"Content","l":"setContentPosition(ContentPosition)","u":"setContentPosition(com.salesmanager.core.model.content.ContentPosition)"},{"p":"com.salesmanager.core.model.content","c":"Content","l":"setContentType(ContentType)","u":"setContentType(com.salesmanager.core.model.content.ContentType)"},{"p":"com.salesmanager.core.model.merchant","c":"MerchantStore","l":"setContinueshoppingurl(String)","u":"setContinueshoppingurl(java.lang.String)"},{"p":"com.salesmanager.core.model.search","c":"SearchFacet","l":"setCount(long)"},{"p":"com.salesmanager.core.model.reference.geozone","c":"GeoZone","l":"setCountries(List<Country>)","u":"setCountries(java.util.List)"},{"p":"com.salesmanager.core.model.common","c":"Billing","l":"setCountry(Country)","u":"setCountry(com.salesmanager.core.model.reference.country.Country)"},{"p":"com.salesmanager.core.model.common","c":"Delivery","l":"setCountry(Country)","u":"setCountry(com.salesmanager.core.model.reference.country.Country)"},{"p":"com.salesmanager.core.model.merchant","c":"MerchantStore","l":"setCountry(Country)","u":"setCountry(com.salesmanager.core.model.reference.country.Country)"},{"p":"com.salesmanager.core.model.reference.country","c":"CountryDescription","l":"setCountry(Country)","u":"setCountry(com.salesmanager.core.model.reference.country.Country)"},{"p":"com.salesmanager.core.model.reference.zone","c":"Zone","l":"setCountry(Country)","u":"setCountry(com.salesmanager.core.model.reference.country.Country)"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingOrigin","l":"setCountry(Country)","u":"setCountry(com.salesmanager.core.model.reference.country.Country)"},{"p":"com.salesmanager.core.model.tax.taxrate","c":"TaxRate","l":"setCountry(Country)","u":"setCountry(com.salesmanager.core.model.reference.country.Country)"},{"p":"com.salesmanager.core.model.common","c":"Address","l":"setCountry(String)","u":"setCountry(java.lang.String)"},{"p":"com.salesmanager.core.model.customer","c":"CustomerCriteria","l":"setCountry(String)","u":"setCountry(java.lang.String)"},{"p":"com.salesmanager.core.model.payments","c":"CreditCardPayment","l":"setCredidCardValidationNumber(String)","u":"setCredidCardValidationNumber(java.lang.String)"},{"p":"com.salesmanager.core.model.order","c":"Order","l":"setCreditCard(CreditCard)","u":"setCreditCard(com.salesmanager.core.model.order.payment.CreditCard)"},{"p":"com.salesmanager.core.model.payments","c":"CreditCardPayment","l":"setCreditCard(CreditCardType)","u":"setCreditCard(com.salesmanager.core.model.payments.CreditCardType)"},{"p":"com.salesmanager.core.model.payments","c":"CreditCardPayment","l":"setCreditCardNumber(String)","u":"setCreditCardNumber(java.lang.String)"},{"p":"com.salesmanager.core.model.common","c":"Criteria","l":"setCriteriaOrderByField(String)","u":"setCriteriaOrderByField(java.lang.String)"},{"p":"com.salesmanager.core.model.merchant","c":"MerchantStore","l":"setCurrency(Currency)","u":"setCurrency(com.salesmanager.core.model.reference.currency.Currency)"},{"p":"com.salesmanager.core.model.order","c":"Order","l":"setCurrency(Currency)","u":"setCurrency(com.salesmanager.core.model.reference.currency.Currency)"},{"p":"com.salesmanager.core.model.payments","c":"Payment","l":"setCurrency(Currency)","u":"setCurrency(com.salesmanager.core.model.reference.currency.Currency)"},{"p":"com.salesmanager.core.model.reference.currency","c":"Currency","l":"setCurrency(Currency)","u":"setCurrency(java.util.Currency)"},{"p":"com.salesmanager.core.model.merchant","c":"MerchantStore","l":"setCurrencyFormatNational(boolean)"},{"p":"com.salesmanager.core.model.order","c":"Order","l":"setCurrencyValue(BigDecimal)","u":"setCurrencyValue(java.math.BigDecimal)"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingQuote","l":"setCurrentShippingModule(IntegrationModule)","u":"setCurrentShippingModule(com.salesmanager.core.model.system.IntegrationModule)"},{"p":"com.salesmanager.core.model.catalog.product.review","c":"ProductReview","l":"setCustomer(Customer)","u":"setCustomer(com.salesmanager.core.model.customer.Customer)"},{"p":"com.salesmanager.core.model.customer.attribute","c":"CustomerAttribute","l":"setCustomer(Customer)","u":"setCustomer(com.salesmanager.core.model.customer.Customer)"},{"p":"com.salesmanager.core.model.customer.review","c":"CustomerReview","l":"setCustomer(Customer)","u":"setCustomer(com.salesmanager.core.model.customer.Customer)"},{"p":"com.salesmanager.core.model.order","c":"Order","l":"setCustomerAgreement(Boolean)","u":"setCustomerAgreement(java.lang.Boolean)"},{"p":"com.salesmanager.core.model.order","c":"Order","l":"setCustomerEmailAddress(String)","u":"setCustomerEmailAddress(java.lang.String)"},{"p":"com.salesmanager.core.model.order","c":"Order","l":"setCustomerId(Long)","u":"setCustomerId(java.lang.Long)"},{"p":"com.salesmanager.core.model.order","c":"OrderCriteria","l":"setCustomerId(Long)","u":"setCustomerId(java.lang.Long)"},{"p":"com.salesmanager.core.model.shipping","c":"Quote","l":"setCustomerId(Long)","u":"setCustomerId(java.lang.Long)"},{"p":"com.salesmanager.core.model.shoppingcart","c":"ShoppingCart","l":"setCustomerId(Long)","u":"setCustomerId(java.lang.Long)"},{"p":"com.salesmanager.core.model.order","c":"OrderCriteria","l":"setCustomerName(String)","u":"setCustomerName(java.lang.String)"},{"p":"com.salesmanager.core.model.order.orderstatus","c":"OrderStatusHistory","l":"setCustomerNotified(Integer)","u":"setCustomerNotified(java.lang.Integer)"},{"p":"com.salesmanager.core.model.customer.attribute","c":"CustomerAttribute","l":"setCustomerOption(CustomerOption)","u":"setCustomerOption(com.salesmanager.core.model.customer.attribute.CustomerOption)"},{"p":"com.salesmanager.core.model.customer.attribute","c":"CustomerOptionDescription","l":"setCustomerOption(CustomerOption)","u":"setCustomerOption(com.salesmanager.core.model.customer.attribute.CustomerOption)"},{"p":"com.salesmanager.core.model.customer.attribute","c":"CustomerOptionSet","l":"setCustomerOption(CustomerOption)","u":"setCustomerOption(com.salesmanager.core.model.customer.attribute.CustomerOption)"},{"p":"com.salesmanager.core.model.customer.attribute","c":"CustomerOptionDescription","l":"setCustomerOptionComment(String)","u":"setCustomerOptionComment(java.lang.String)"},{"p":"com.salesmanager.core.model.customer.attribute","c":"CustomerOption","l":"setCustomerOptionType(String)","u":"setCustomerOptionType(java.lang.String)"},{"p":"com.salesmanager.core.model.customer.attribute","c":"CustomerAttribute","l":"setCustomerOptionValue(CustomerOptionValue)","u":"setCustomerOptionValue(com.salesmanager.core.model.customer.attribute.CustomerOptionValue)"},{"p":"com.salesmanager.core.model.customer.attribute","c":"CustomerOptionSet","l":"setCustomerOptionValue(CustomerOptionValue)","u":"setCustomerOptionValue(com.salesmanager.core.model.customer.attribute.CustomerOptionValue)"},{"p":"com.salesmanager.core.model.customer.attribute","c":"CustomerOptionValueDescription","l":"setCustomerOptionValue(CustomerOptionValue)","u":"setCustomerOptionValue(com.salesmanager.core.model.customer.attribute.CustomerOptionValue)"},{"p":"com.salesmanager.core.model.customer.attribute","c":"CustomerOptionValue","l":"setCustomerOptionValueImage(String)","u":"setCustomerOptionValueImage(java.lang.String)"},{"p":"com.salesmanager.core.model.customer.review","c":"CustomerReviewDescription","l":"setCustomerReview(CustomerReview)","u":"setCustomerReview(com.salesmanager.core.model.customer.review.CustomerReview)"},{"p":"com.salesmanager.core.model.customer","c":"Customer","l":"setCustomerReviewAvg(BigDecimal)","u":"setCustomerReviewAvg(java.math.BigDecimal)"},{"p":"com.salesmanager.core.model.customer","c":"Customer","l":"setCustomerReviewCount(Integer)","u":"setCustomerReviewCount(java.lang.Integer)"},{"p":"com.salesmanager.core.model.customer","c":"CustomerList","l":"setCustomers(List<Customer>)","u":"setCustomers(java.util.List)"},{"p":"com.salesmanager.core.model.system","c":"IntegrationModule","l":"setCustomModule(boolean)"},{"p":"com.salesmanager.core.model.order.filehistory","c":"FileHistory","l":"setDateAdded(Date)","u":"setDateAdded(java.util.Date)"},{"p":"com.salesmanager.core.model.order.orderstatus","c":"OrderStatusHistory","l":"setDateAdded(Date)","u":"setDateAdded(java.util.Date)"},{"p":"com.salesmanager.core.model.catalog.product","c":"Product","l":"setDateAvailable(Date)","u":"setDateAvailable(java.util.Date)"},{"p":"com.salesmanager.core.model.merchant","c":"MerchantStore","l":"setDateBusinessSince(String)","u":"setDateBusinessSince(java.lang.String)"},{"p":"com.salesmanager.core.model.common.audit","c":"AuditSection","l":"setDateCreated(Date)","u":"setDateCreated(java.util.Date)"},{"p":"com.salesmanager.core.model.order.filehistory","c":"FileHistory","l":"setDateDeleted(Date)","u":"setDateDeleted(java.util.Date)"},{"p":"com.salesmanager.core.model.catalog.product.manufacturer","c":"ManufacturerDescription","l":"setDateLastClick(Date)","u":"setDateLastClick(java.util.Date)"},{"p":"com.salesmanager.core.model.common.audit","c":"AuditSection","l":"setDateModified(Date)","u":"setDateModified(java.util.Date)"},{"p":"com.salesmanager.core.model.customer","c":"Customer","l":"setDateOfBirth(Date)","u":"setDateOfBirth(java.util.Date)"},{"p":"com.salesmanager.core.model.order","c":"Order","l":"setDatePurchased(Date)","u":"setDatePurchased(java.util.Date)"},{"p":"com.salesmanager.core.model.system","c":"MerchantConfig","l":"setDebugMode(boolean)"},{"p":"com.salesmanager.core.model.catalog.product.image","c":"ProductImage","l":"setDefaultImage(boolean)"},{"p":"com.salesmanager.core.model.customer","c":"Customer","l":"setDefaultLanguage(Language)","u":"setDefaultLanguage(com.salesmanager.core.model.reference.language.Language)"},{"p":"com.salesmanager.core.model.merchant","c":"MerchantStore","l":"setDefaultLanguage(Language)","u":"setDefaultLanguage(com.salesmanager.core.model.reference.language.Language)"},{"p":"com.salesmanager.core.model.user","c":"User","l":"setDefaultLanguage(Language)","u":"setDefaultLanguage(com.salesmanager.core.model.reference.language.Language)"},{"p":"com.salesmanager.core.model.catalog.product.price","c":"FinalPrice","l":"setDefaultPrice(boolean)"},{"p":"com.salesmanager.core.model.catalog.product.price","c":"ProductPrice","l":"setDefaultPrice(boolean)"},{"p":"com.salesmanager.core.model.order.orderproduct","c":"OrderProductPrice","l":"setDefaultPrice(Boolean)","u":"setDefaultPrice(java.lang.Boolean)"},{"p":"com.salesmanager.core.model.system","c":"MerchantConfig","l":"setDefaultSearchConfigPath(Map<String, String>)","u":"setDefaultSearchConfigPath(java.util.Map)"},{"p":"com.salesmanager.core.model.payments","c":"PaymentMethod","l":"setDefaultSelected(boolean)"},{"p":"com.salesmanager.core.model.system","c":"IntegrationConfiguration","l":"setDefaultSelected(boolean)"},{"p":"com.salesmanager.core.model.customer","c":"Customer","l":"setDelivery(Delivery)","u":"setDelivery(com.salesmanager.core.model.common.Delivery)"},{"p":"com.salesmanager.core.model.order","c":"Order","l":"setDelivery(Delivery)","u":"setDelivery(com.salesmanager.core.model.common.Delivery)"},{"p":"com.salesmanager.core.model.shipping","c":"Quote","l":"setDelivery(Delivery)","u":"setDelivery(com.salesmanager.core.model.common.Delivery)"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingQuote","l":"setDeliveryAddress(Delivery)","u":"setDeliveryAddress(com.salesmanager.core.model.common.Delivery)"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingSummary","l":"setDeliveryAddress(Delivery)","u":"setDeliveryAddress(com.salesmanager.core.model.common.Delivery)"},{"p":"com.salesmanager.core.model.catalog.category","c":"Category","l":"setDepth(Integer)","u":"setDepth(java.lang.Integer)"},{"p":"com.salesmanager.core.model.common.description","c":"Description","l":"setDescription(String)","u":"setDescription(java.lang.String)"},{"p":"com.salesmanager.core.model.search","c":"IndexProduct","l":"setDescription(String)","u":"setDescription(java.lang.String)"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingOption","l":"setDescription(String)","u":"setDescription(java.lang.String)"},{"p":"com.salesmanager.core.model.system.optin","c":"Optin","l":"setDescription(String)","u":"setDescription(java.lang.String)"},{"p":"com.salesmanager.core.model.catalog.marketplace","c":"Catalog","l":"setDescriptions(List<CatalogDescription>)","u":"setDescriptions(java.util.List)"},{"p":"com.salesmanager.core.model.catalog.category","c":"Category","l":"setDescriptions(List<CategoryDescription>)","u":"setDescriptions(java.util.List)"},{"p":"com.salesmanager.core.model.content","c":"Content","l":"setDescriptions(List<ContentDescription>)","u":"setDescriptions(java.util.List)"},{"p":"com.salesmanager.core.model.reference.geozone","c":"GeoZone","l":"setDescriptions(List<GeoZoneDescription>)","u":"setDescriptions(java.util.List)"},{"p":"com.salesmanager.core.model.catalog.product.image","c":"ProductImage","l":"setDescriptions(List<ProductImageDescription>)","u":"setDescriptions(java.util.List)"},{"p":"com.salesmanager.core.model.tax.taxrate","c":"TaxRate","l":"setDescriptions(List<TaxRateDescription>)","u":"setDescriptions(java.util.List)"},{"p":"com.salesmanager.core.model.reference.country","c":"Country","l":"setDescriptions(Set<CountryDescription>)","u":"setDescriptions(java.util.Set)"},{"p":"com.salesmanager.core.model.customer.attribute","c":"CustomerOption","l":"setDescriptions(Set<CustomerOptionDescription>)","u":"setDescriptions(java.util.Set)"},{"p":"com.salesmanager.core.model.customer.attribute","c":"CustomerOptionValue","l":"setDescriptions(Set<CustomerOptionValueDescription>)","u":"setDescriptions(java.util.Set)"},{"p":"com.salesmanager.core.model.customer.review","c":"CustomerReview","l":"setDescriptions(Set<CustomerReviewDescription>)","u":"setDescriptions(java.util.Set)"},{"p":"com.salesmanager.core.model.catalog.product.manufacturer","c":"Manufacturer","l":"setDescriptions(Set<ManufacturerDescription>)","u":"setDescriptions(java.util.Set)"},{"p":"com.salesmanager.core.model.catalog.product","c":"Product","l":"setDescriptions(Set<ProductDescription>)","u":"setDescriptions(java.util.Set)"},{"p":"com.salesmanager.core.model.catalog.product.attribute","c":"ProductOption","l":"setDescriptions(Set<ProductOptionDescription>)","u":"setDescriptions(java.util.Set)"},{"p":"com.salesmanager.core.model.catalog.product.attribute","c":"ProductOptionValue","l":"setDescriptions(Set<ProductOptionValueDescription>)","u":"setDescriptions(java.util.Set)"},{"p":"com.salesmanager.core.model.catalog.product.price","c":"ProductPrice","l":"setDescriptions(Set<ProductPriceDescription>)","u":"setDescriptions(java.util.Set)"},{"p":"com.salesmanager.core.model.catalog.product.review","c":"ProductReview","l":"setDescriptions(Set<ProductReviewDescription>)","u":"setDescriptions(java.util.Set)"},{"p":"com.salesmanager.core.model.customer.attribute","c":"CustomerOption","l":"setDescriptionsList(List<CustomerOptionDescription>)","u":"setDescriptionsList(java.util.List)"},{"p":"com.salesmanager.core.model.customer.attribute","c":"CustomerOptionValue","l":"setDescriptionsList(List<CustomerOptionValueDescription>)","u":"setDescriptionsList(java.util.List)"},{"p":"com.salesmanager.core.model.catalog.product.attribute","c":"ProductOption","l":"setDescriptionsList(List<ProductOptionDescription>)","u":"setDescriptionsList(java.util.List)"},{"p":"com.salesmanager.core.model.catalog.product.attribute","c":"ProductOptionValue","l":"setDescriptionsList(List<ProductOptionValueDescription>)","u":"setDescriptionsList(java.util.List)"},{"p":"com.salesmanager.core.model.reference.zone","c":"Zone","l":"setDescriptons(List<ZoneDescription>)","u":"setDescriptons(java.util.List)"},{"p":"com.salesmanager.core.model.system","c":"IntegrationModule","l":"setDetails(Map<String, String>)","u":"setDetails(java.util.Map)"},{"p":"com.salesmanager.core.model.payments","c":"Transaction","l":"setDetails(String)","u":"setDetails(java.lang.String)"},{"p":"com.salesmanager.core.model.catalog.product.price","c":"FinalPrice","l":"setDiscounted(boolean)"},{"p":"com.salesmanager.core.model.catalog.product.price","c":"FinalPrice","l":"setDiscountedPrice(BigDecimal)","u":"setDiscountedPrice(java.math.BigDecimal)"},{"p":"com.salesmanager.core.model.catalog.product.price","c":"FinalPrice","l":"setDiscountEndDate(Date)","u":"setDiscountEndDate(java.util.Date)"},{"p":"com.salesmanager.core.model.catalog.product.price","c":"FinalPrice","l":"setDiscountPercent(int)"},{"p":"com.salesmanager.core.model.system","c":"MerchantConfig","l":"setDisplayAddToCartOnFeaturedItems(boolean)"},{"p":"com.salesmanager.core.model.system","c":"MerchantConfig","l":"setDisplayContactUs(boolean)"},{"p":"com.salesmanager.core.model.system","c":"MerchantConfig","l":"setDisplayCustomerAgreement(boolean)"},{"p":"com.salesmanager.core.model.system","c":"MerchantConfig","l":"setDisplayCustomerSection(boolean)"},{"p":"com.salesmanager.core.model.customer.connection","c":"AbstractUserConnection","l":"setDisplayName(String)","u":"setDisplayName(java.lang.String)"},{"p":"com.salesmanager.core.model.customer.connection","c":"RemoteUser","l":"setDisplayName(String)","u":"setDisplayName(java.lang.String)"},{"p":"com.salesmanager.core.model.system","c":"MerchantConfig","l":"setDisplaySearchBox(boolean)"},{"p":"com.salesmanager.core.model.system","c":"MerchantConfig","l":"setDisplayStoreAddress(boolean)"},{"p":"com.salesmanager.core.model.merchant","c":"MerchantStore","l":"setDomainName(String)","u":"setDomainName(java.lang.String)"},{"p":"com.salesmanager.core.model.order.filehistory","c":"FileHistory","l":"setDownloadCount(Integer)","u":"setDownloadCount(java.lang.Integer)"},{"p":"com.salesmanager.core.model.order.orderproduct","c":"OrderProductDownload","l":"setDownloadCount(Integer)","u":"setDownloadCount(java.lang.Integer)"},{"p":"com.salesmanager.core.model.order.orderproduct","c":"OrderProduct","l":"setDownloads(Set<OrderProductDownload>)","u":"setDownloads(java.util.Set)"},{"p":"com.salesmanager.core.model.customer","c":"CustomerCriteria","l":"setEmail(String)","u":"setEmail(java.lang.String)"},{"p":"com.salesmanager.core.model.system.optin","c":"CustomerOptin","l":"setEmail(String)","u":"setEmail(java.lang.String)"},{"p":"com.salesmanager.core.model.customer","c":"Customer","l":"setEmailAddress(String)","u":"setEmailAddress(java.lang.String)"},{"p":"com.salesmanager.core.model.system.optin","c":"Optin","l":"setEndDate(Date)","u":"setEndDate(java.util.Date)"},{"p":"com.salesmanager.core.model.system","c":"SystemNotification","l":"setEndDate(Date)","u":"setEndDate(java.util.Date)"},{"p":"com.salesmanager.core.model.search","c":"SearchResponse","l":"setEntries(List<SearchEntry>)","u":"setEntries(java.util.List)"},{"p":"com.salesmanager.core.model.search","c":"SearchResponse","l":"setEntryCount(long)"},{"p":"com.salesmanager.core.model.system","c":"ModuleConfig","l":"setEnv(String)","u":"setEnv(java.lang.String)"},{"p":"com.salesmanager.core.model.system","c":"IntegrationConfiguration","l":"setEnvironment(String)","u":"setEnvironment(java.lang.String)"},{"p":"com.salesmanager.core.model.shipping","c":"Quote","l":"setEstimatedNumberOfDays(Integer)","u":"setEstimatedNumberOfDays(java.lang.Integer)"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingOption","l":"setEstimatedNumberOfDays(String)","u":"setEstimatedNumberOfDays(java.lang.String)"},{"p":"com.salesmanager.core.business.exception","c":"ServiceException","l":"setExceptionType(int)"},{"p":"com.salesmanager.core.model.payments","c":"CreditCardPayment","l":"setExpirationMonth(String)","u":"setExpirationMonth(java.lang.String)"},{"p":"com.salesmanager.core.model.payments","c":"CreditCardPayment","l":"setExpirationYear(String)","u":"setExpirationYear(java.lang.String)"},{"p":"com.salesmanager.core.model.customer.connection","c":"AbstractUserConnection","l":"setExpireTime(Long)","u":"setExpireTime(java.lang.Long)"},{"p":"com.salesmanager.core.model.customer.connection","c":"RemoteUser","l":"setExpireTime(Long)","u":"setExpireTime(java.lang.Long)"},{"p":"com.salesmanager.core.model.search","c":"SearchResponse","l":"setFacets(Map<String, List<SearchFacet>>)","u":"setFacets(java.util.Map)"},{"p":"com.salesmanager.core.model.catalog.category","c":"Category","l":"setFeatured(boolean)"},{"p":"com.salesmanager.core.model.content","c":"OutputContentFile","l":"setFile(ByteArrayOutputStream)","u":"setFile(java.io.ByteArrayOutputStream)"},{"p":"com.salesmanager.core.model.content","c":"InputContentFile","l":"setFile(InputStream)","u":"setFile(java.io.InputStream)"},{"p":"com.salesmanager.core.model.content","c":"StaticContentFile","l":"setFileContentType(FileContentType)","u":"setFileContentType(com.salesmanager.core.model.content.FileContentType)"},{"p":"com.salesmanager.core.model.order.filehistory","c":"FileHistory","l":"setFileId(Long)","u":"setFileId(java.lang.Long)"},{"p":"com.salesmanager.core.model.content","c":"ContentFile","l":"setFileName(String)","u":"setFileName(java.lang.String)"},{"p":"com.salesmanager.core.model.order.filehistory","c":"FileHistory","l":"setFilesize(Integer)","u":"setFilesize(java.lang.Integer)"},{"p":"com.salesmanager.core.model.catalog.product.price","c":"FinalPrice","l":"setFinalPrice(BigDecimal)","u":"setFinalPrice(java.math.BigDecimal)"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingProduct","l":"setFinalPrice(FinalPrice)","u":"setFinalPrice(com.salesmanager.core.model.catalog.product.price.FinalPrice)"},{"p":"com.salesmanager.core.model.shoppingcart","c":"ShoppingCartItem","l":"setFinalPrice(FinalPrice)","u":"setFinalPrice(com.salesmanager.core.model.catalog.product.price.FinalPrice)"},{"p":"com.salesmanager.core.model.common","c":"Billing","l":"setFirstName(String)","u":"setFirstName(java.lang.String)"},{"p":"com.salesmanager.core.model.common","c":"Delivery","l":"setFirstName(String)","u":"setFirstName(java.lang.String)"},{"p":"com.salesmanager.core.model.customer","c":"CustomerCriteria","l":"setFirstName(String)","u":"setFirstName(java.lang.String)"},{"p":"com.salesmanager.core.model.system.optin","c":"CustomerOptin","l":"setFirstName(String)","u":"setFirstName(java.lang.String)"},{"p":"com.salesmanager.core.model.user","c":"User","l":"setFirstName(String)","u":"setFirstName(java.lang.String)"},{"p":"com.salesmanager.core.model.shipping","c":"Quote","l":"setFreeShipping(boolean)"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingQuote","l":"setFreeShipping(boolean)"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingSummary","l":"setFreeShipping(boolean)"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingQuote","l":"setFreeShippingAmount(BigDecimal)","u":"setFreeShippingAmount(java.math.BigDecimal)"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingConfiguration","l":"setFreeShippingEnabled(boolean)"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingConfiguration","l":"setFreeShippingType(ShippingType)","u":"setFreeShippingType(com.salesmanager.core.model.shipping.ShippingType)"},{"p":"com.salesmanager.core.model.customer","c":"Customer","l":"setGender(CustomerGender)","u":"setGender(com.salesmanager.core.model.customer.CustomerGender)"},{"p":"com.salesmanager.core.model.reference.country","c":"Country","l":"setGeoZone(GeoZone)","u":"setGeoZone(com.salesmanager.core.model.reference.geozone.GeoZone)"},{"p":"com.salesmanager.core.model.reference.geozone","c":"GeoZoneDescription","l":"setGeoZone(GeoZone)","u":"setGeoZone(com.salesmanager.core.model.reference.geozone.GeoZone)"},{"p":"com.salesmanager.core.model.user","c":"PermissionCriteria","l":"setGroupIds(Set<Integer>)","u":"setGroupIds(java.util.Set)"},{"p":"com.salesmanager.core.model.user","c":"Group","l":"setGroupName(String)","u":"setGroupName(java.lang.String)"},{"p":"com.salesmanager.core.model.customer","c":"Customer","l":"setGroups(List<Group>)","u":"setGroups(java.util.List)"},{"p":"com.salesmanager.core.model.user","c":"Permission","l":"setGroups(List<Group>)","u":"setGroups(java.util.List)"},{"p":"com.salesmanager.core.model.user","c":"User","l":"setGroups(List<Group>)","u":"setGroups(java.util.List)"},{"p":"com.salesmanager.core.model.user","c":"Group","l":"setGroupType(GroupType)","u":"setGroupType(com.salesmanager.core.model.user.GroupType)"},{"p":"com.salesmanager.core.model.shipping","c":"Quote","l":"setHandling(BigDecimal)","u":"setHandling(java.math.BigDecimal)"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingSummary","l":"setHandling(BigDecimal)","u":"setHandling(java.math.BigDecimal)"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingConfiguration","l":"setHandlingFees(BigDecimal)","u":"setHandlingFees(java.math.BigDecimal)"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingQuote","l":"setHandlingFees(BigDecimal)","u":"setHandlingFees(java.math.BigDecimal)"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingConfiguration","l":"setHandlingFeesText(String)","u":"setHandlingFeesText(java.lang.String)"},{"p":"com.salesmanager.core.model.search","c":"IndexProduct","l":"setHighlight(String)","u":"setHighlight(java.lang.String)"},{"p":"com.salesmanager.core.model.search","c":"SearchEntry","l":"setHighlights(List<String>)","u":"setHighlights(java.util.List)"},{"p":"com.salesmanager.core.model.system","c":"ModuleConfig","l":"setHost(String)","u":"setHost(java.lang.String)"},{"p":"com.salesmanager.core.model.merchant","c":"MerchantStore","l":"setId(Integer)","u":"setId(java.lang.Integer)"},{"p":"com.salesmanager.core.model.reference.country","c":"Country","l":"setId(Integer)","u":"setId(java.lang.Integer)"},{"p":"com.salesmanager.core.model.reference.language","c":"Language","l":"setId(Integer)","u":"setId(java.lang.Integer)"},{"p":"com.salesmanager.core.model.user","c":"Group","l":"setId(Integer)","u":"setId(java.lang.Integer)"},{"p":"com.salesmanager.core.model.user","c":"Permission","l":"setId(Integer)","u":"setId(java.lang.Integer)"},{"p":"com.salesmanager.core.model.generic","c":"SalesManagerEntity","l":"setId(K)"},{"p":"com.salesmanager.core.model.catalog.category","c":"Category","l":"setId(Long)","u":"setId(java.lang.Long)"},{"p":"com.salesmanager.core.model.catalog.marketplace","c":"Catalog","l":"setId(Long)","u":"setId(java.lang.Long)"},{"p":"com.salesmanager.core.model.catalog.marketplace","c":"MarketPlace","l":"setId(Long)","u":"setId(java.lang.Long)"},{"p":"com.salesmanager.core.model.catalog.product.attribute","c":"ProductAttribute","l":"setId(Long)","u":"setId(java.lang.Long)"},{"p":"com.salesmanager.core.model.catalog.product.attribute","c":"ProductOption","l":"setId(Long)","u":"setId(java.lang.Long)"},{"p":"com.salesmanager.core.model.catalog.product.attribute","c":"ProductOptionValue","l":"setId(Long)","u":"setId(java.lang.Long)"},{"p":"com.salesmanager.core.model.catalog.product.availability","c":"ProductAvailability","l":"setId(Long)","u":"setId(java.lang.Long)"},{"p":"com.salesmanager.core.model.catalog.product.file","c":"DigitalProduct","l":"setId(Long)","u":"setId(java.lang.Long)"},{"p":"com.salesmanager.core.model.catalog.product.image","c":"ProductImage","l":"setId(Long)","u":"setId(java.lang.Long)"},{"p":"com.salesmanager.core.model.catalog.product.manufacturer","c":"Manufacturer","l":"setId(Long)","u":"setId(java.lang.Long)"},{"p":"com.salesmanager.core.model.catalog.product.price","c":"ProductPrice","l":"setId(Long)","u":"setId(java.lang.Long)"},{"p":"com.salesmanager.core.model.catalog.product","c":"Product","l":"setId(Long)","u":"setId(java.lang.Long)"},{"p":"com.salesmanager.core.model.catalog.product.relationship","c":"ProductRelationship","l":"setId(Long)","u":"setId(java.lang.Long)"},{"p":"com.salesmanager.core.model.catalog.product.review","c":"ProductReview","l":"setId(Long)","u":"setId(java.lang.Long)"},{"p":"com.salesmanager.core.model.catalog.product.type","c":"ProductType","l":"setId(Long)","u":"setId(java.lang.Long)"},{"p":"com.salesmanager.core.model.common.description","c":"Description","l":"setId(Long)","u":"setId(java.lang.Long)"},{"p":"com.salesmanager.core.model.content","c":"Content","l":"setId(Long)","u":"setId(java.lang.Long)"},{"p":"com.salesmanager.core.model.customer.attribute","c":"CustomerAttribute","l":"setId(Long)","u":"setId(java.lang.Long)"},{"p":"com.salesmanager.core.model.customer.attribute","c":"CustomerOption","l":"setId(Long)","u":"setId(java.lang.Long)"},{"p":"com.salesmanager.core.model.customer.attribute","c":"CustomerOptionSet","l":"setId(Long)","u":"setId(java.lang.Long)"},{"p":"com.salesmanager.core.model.customer.attribute","c":"CustomerOptionValue","l":"setId(Long)","u":"setId(java.lang.Long)"},{"p":"com.salesmanager.core.model.customer","c":"Customer","l":"setId(Long)","u":"setId(java.lang.Long)"},{"p":"com.salesmanager.core.model.customer.review","c":"CustomerReview","l":"setId(Long)","u":"setId(java.lang.Long)"},{"p":"com.salesmanager.core.model.order.attributes","c":"OrderAttribute","l":"setId(Long)","u":"setId(java.lang.Long)"},{"p":"com.salesmanager.core.model.order.filehistory","c":"FileHistory","l":"setId(Long)","u":"setId(java.lang.Long)"},{"p":"com.salesmanager.core.model.order","c":"Order","l":"setId(Long)","u":"setId(java.lang.Long)"},{"p":"com.salesmanager.core.model.order.orderaccount","c":"OrderAccount","l":"setId(Long)","u":"setId(java.lang.Long)"},{"p":"com.salesmanager.core.model.order.orderproduct","c":"OrderProduct","l":"setId(Long)","u":"setId(java.lang.Long)"},{"p":"com.salesmanager.core.model.order.orderproduct","c":"OrderProductAttribute","l":"setId(Long)","u":"setId(java.lang.Long)"},{"p":"com.salesmanager.core.model.order.orderproduct","c":"OrderProductDownload","l":"setId(Long)","u":"setId(java.lang.Long)"},{"p":"com.salesmanager.core.model.order.orderproduct","c":"OrderProductPrice","l":"setId(Long)","u":"setId(java.lang.Long)"},{"p":"com.salesmanager.core.model.order.orderstatus","c":"OrderStatusHistory","l":"setId(Long)","u":"setId(java.lang.Long)"},{"p":"com.salesmanager.core.model.order","c":"OrderTotal","l":"setId(Long)","u":"setId(java.lang.Long)"},{"p":"com.salesmanager.core.model.payments","c":"Transaction","l":"setId(Long)","u":"setId(java.lang.Long)"},{"p":"com.salesmanager.core.model.reference.currency","c":"Currency","l":"setId(Long)","u":"setId(java.lang.Long)"},{"p":"com.salesmanager.core.model.reference.geozone","c":"GeoZone","l":"setId(Long)","u":"setId(java.lang.Long)"},{"p":"com.salesmanager.core.model.reference.zone","c":"Zone","l":"setId(Long)","u":"setId(java.lang.Long)"},{"p":"com.salesmanager.core.model.shipping","c":"Quote","l":"setId(Long)","u":"setId(java.lang.Long)"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingOrigin","l":"setId(Long)","u":"setId(java.lang.Long)"},{"p":"com.salesmanager.core.model.shoppingcart","c":"ShoppingCart","l":"setId(Long)","u":"setId(java.lang.Long)"},{"p":"com.salesmanager.core.model.shoppingcart","c":"ShoppingCartAttributeItem","l":"setId(Long)","u":"setId(java.lang.Long)"},{"p":"com.salesmanager.core.model.shoppingcart","c":"ShoppingCartItem","l":"setId(Long)","u":"setId(java.lang.Long)"},{"p":"com.salesmanager.core.model.system","c":"IntegrationModule","l":"setId(Long)","u":"setId(java.lang.Long)"},{"p":"com.salesmanager.core.model.system","c":"MerchantConfiguration","l":"setId(Long)","u":"setId(java.lang.Long)"},{"p":"com.salesmanager.core.model.system","c":"MerchantLog","l":"setId(Long)","u":"setId(java.lang.Long)"},{"p":"com.salesmanager.core.model.system.optin","c":"CustomerOptin","l":"setId(Long)","u":"setId(java.lang.Long)"},{"p":"com.salesmanager.core.model.system.optin","c":"Optin","l":"setId(Long)","u":"setId(java.lang.Long)"},{"p":"com.salesmanager.core.model.system","c":"SystemConfiguration","l":"setId(Long)","u":"setId(java.lang.Long)"},{"p":"com.salesmanager.core.model.system","c":"SystemNotification","l":"setId(Long)","u":"setId(java.lang.Long)"},{"p":"com.salesmanager.core.model.tax.taxclass","c":"TaxClass","l":"setId(Long)","u":"setId(java.lang.Long)"},{"p":"com.salesmanager.core.model.tax.taxrate","c":"TaxRate","l":"setId(Long)","u":"setId(java.lang.Long)"},{"p":"com.salesmanager.core.model.user","c":"User","l":"setId(Long)","u":"setId(java.lang.Long)"},{"p":"com.salesmanager.core.model.search","c":"IndexProduct","l":"setId(String)","u":"setId(java.lang.String)"},{"p":"com.salesmanager.core.model.catalog.product.image","c":"ProductImage","l":"setImage(InputStream)","u":"setImage(java.io.InputStream)"},{"p":"com.salesmanager.core.model.catalog.product.attribute","c":"ProductOptionValue","l":"setImage(MultipartFile)","u":"setImage(org.springframework.web.multipart.MultipartFile)"},{"p":"com.salesmanager.core.model.catalog.product.manufacturer","c":"Manufacturer","l":"setImage(String)","u":"setImage(java.lang.String)"},{"p":"com.salesmanager.core.model.system","c":"IntegrationModule","l":"setImage(String)","u":"setImage(java.lang.String)"},{"p":"com.salesmanager.core.model.catalog.product.image","c":"ProductImage","l":"setImageCrop(boolean)"},{"p":"com.salesmanager.core.model.catalog.product","c":"Product","l":"setImages(Set<ProductImage>)","u":"setImages(java.util.Set)"},{"p":"com.salesmanager.core.model.catalog.product.image","c":"ProductImage","l":"setImageType(int)"},{"p":"com.salesmanager.core.model.customer.connection","c":"AbstractUserConnection","l":"setImageUrl(String)","u":"setImageUrl(java.lang.String)"},{"p":"com.salesmanager.core.model.customer.connection","c":"RemoteUser","l":"setImageUrl(String)","u":"setImageUrl(java.lang.String)"},{"p":"com.salesmanager.core.model.merchant","c":"MerchantStore","l":"setInBusinessSince(Date)","u":"setInBusinessSince(java.util.Date)"},{"p":"com.salesmanager.core.model.search","c":"SearchEntry","l":"setIndexProduct(IndexProduct)","u":"setIndexProduct(com.salesmanager.core.model.search.IndexProduct)"},{"p":"com.salesmanager.core.model.payments","c":"PaymentMethod","l":"setInformations(IntegrationConfiguration)","u":"setInformations(com.salesmanager.core.model.system.IntegrationConfiguration)"},{"p":"com.salesmanager.core.model.system","c":"IntegrationConfiguration","l":"setIntegrationKeys(Map<String, String>)","u":"setIntegrationKeys(java.util.Map)"},{"p":"com.salesmanager.core.model.system","c":"IntegrationConfiguration","l":"setIntegrationOptions(Map<String, List<String>>)","u":"setIntegrationOptions(java.util.Map)"},{"p":"com.salesmanager.core.model.merchant","c":"MerchantStore","l":"setInvoiceTemplate(String)","u":"setInvoiceTemplate(java.lang.String)"},{"p":"com.salesmanager.core.model.order","c":"Order","l":"setIpAddress(String)","u":"setIpAddress(java.lang.String)"},{"p":"com.salesmanager.core.model.reference.country","c":"Country","l":"setIsoCode(String)","u":"setIsoCode(java.lang.String)"},{"p":"com.salesmanager.core.model.order","c":"OrderTotalItem","l":"setItemCode(String)","u":"setItemCode(java.lang.String)"},{"p":"com.salesmanager.core.model.shipping","c":"PackageDetails","l":"setItemName(String)","u":"setItemName(java.lang.String)"},{"p":"com.salesmanager.core.model.order","c":"OrderTotalItem","l":"setItemPrice(BigDecimal)","u":"setItemPrice(java.math.BigDecimal)"},{"p":"com.salesmanager.core.model.shoppingcart","c":"ShoppingCartItem","l":"setItemPrice(BigDecimal)","u":"setItemPrice(java.math.BigDecimal)"},{"p":"com.salesmanager.core.model.order.attributes","c":"OrderAttribute","l":"setKey(String)","u":"setKey(java.lang.String)"},{"p":"com.salesmanager.core.model.search","c":"SearchFacet","l":"setKey(String)","u":"setKey(java.lang.String)"},{"p":"com.salesmanager.core.model.system","c":"MerchantConfiguration","l":"setKey(String)","u":"setKey(java.lang.String)"},{"p":"com.salesmanager.core.model.system","c":"SystemConfiguration","l":"setKey(String)","u":"setKey(java.lang.String)"},{"p":"com.salesmanager.core.model.system","c":"SystemNotification","l":"setKey(String)","u":"setKey(java.lang.String)"},{"p":"com.salesmanager.core.model.search","c":"SearchKeywords","l":"setKeywords(List<String>)","u":"setKeywords(java.util.List)"},{"p":"com.salesmanager.core.model.tax","c":"TaxItem","l":"setLabel(String)","u":"setLabel(java.lang.String)"},{"p":"com.salesmanager.core.model.search","c":"IndexProduct","l":"setLang(String)","u":"setLang(java.lang.String)"},{"p":"com.salesmanager.core.model.common.description","c":"Description","l":"setLanguage(Language)","u":"setLanguage(com.salesmanager.core.model.reference.language.Language)"},{"p":"com.salesmanager.core.model.common","c":"Criteria","l":"setLanguage(String)","u":"setLanguage(java.lang.String)"},{"p":"com.salesmanager.core.model.merchant","c":"MerchantStore","l":"setLanguages(List<Language>)","u":"setLanguages(java.util.List)"},{"p":"com.salesmanager.core.model.user","c":"User","l":"setLastAccess(Date)","u":"setLastAccess(java.util.Date)"},{"p":"com.salesmanager.core.model.order","c":"Order","l":"setLastModified(Date)","u":"setLastModified(java.util.Date)"},{"p":"com.salesmanager.core.model.common","c":"Billing","l":"setLastName(String)","u":"setLastName(java.lang.String)"},{"p":"com.salesmanager.core.model.common","c":"Delivery","l":"setLastName(String)","u":"setLastName(java.lang.String)"},{"p":"com.salesmanager.core.model.customer","c":"CustomerCriteria","l":"setLastName(String)","u":"setLastName(java.lang.String)"},{"p":"com.salesmanager.core.model.system.optin","c":"CustomerOptin","l":"setLastName(String)","u":"setLastName(java.lang.String)"},{"p":"com.salesmanager.core.model.user","c":"User","l":"setLastName(String)","u":"setLastName(java.lang.String)"},{"p":"com.salesmanager.core.model.common","c":"Billing","l":"setLatitude(String)","u":"setLatitude(java.lang.String)"},{"p":"com.salesmanager.core.model.common","c":"Delivery","l":"setLatitude(String)","u":"setLatitude(java.lang.String)"},{"p":"com.salesmanager.core.model.catalog.category","c":"Category","l":"setLineage(String)","u":"setLineage(java.lang.String)"},{"p":"com.salesmanager.core.model.shoppingcart","c":"ShoppingCart","l":"setLineItems(Set<ShoppingCartItem>)","u":"setLineItems(java.util.Set)"},{"p":"com.salesmanager.core.model.content","c":"Content","l":"setLinkToMenu(boolean)"},{"p":"com.salesmanager.core.model.common","c":"GenericEntityList","l":"setList(List<T>)","u":"setList(java.util.List)"},{"p":"com.salesmanager.core.model.order","c":"Order","l":"setLocale(Locale)","u":"setLocale(java.util.Locale)"},{"p":"com.salesmanager.core.model.system","c":"MerchantLog","l":"setLog(String)","u":"setLog(java.lang.String)"},{"p":"com.salesmanager.core.model.user","c":"User","l":"setLoginTime(Date)","u":"setLoginTime(java.util.Date)"},{"p":"com.salesmanager.core.model.common","c":"Billing","l":"setLongitude(String)","u":"setLongitude(java.lang.String)"},{"p":"com.salesmanager.core.model.common","c":"Delivery","l":"setLongitude(String)","u":"setLongitude(java.lang.String)"},{"p":"com.salesmanager.core.model.catalog.product.manufacturer","c":"ManufacturerDescription","l":"setManufacturer(Manufacturer)","u":"setManufacturer(com.salesmanager.core.model.catalog.product.manufacturer.Manufacturer)"},{"p":"com.salesmanager.core.model.catalog.product","c":"Product","l":"setManufacturer(Manufacturer)","u":"setManufacturer(com.salesmanager.core.model.catalog.product.manufacturer.Manufacturer)"},{"p":"com.salesmanager.core.model.search","c":"IndexProduct","l":"setManufacturer(String)","u":"setManufacturer(java.lang.String)"},{"p":"com.salesmanager.core.model.catalog.product","c":"ProductCriteria","l":"setManufacturerId(Long)","u":"setManufacturerId(java.lang.Long)"},{"p":"com.salesmanager.core.model.common","c":"Criteria","l":"setMaxCount(int)"},{"p":"com.salesmanager.core.model.order.orderproduct","c":"OrderProductDownload","l":"setMaxdays(Integer)","u":"setMaxdays(java.lang.Integer)"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingConfiguration","l":"setMaxWeight(double)"},{"p":"com.salesmanager.core.model.order","c":"Order","l":"setMerchant(MerchantStore)","u":"setMerchant(com.salesmanager.core.model.merchant.MerchantStore)"},{"p":"com.salesmanager.core.model.system.optin","c":"Optin","l":"setMerchant(MerchantStore)","u":"setMerchant(com.salesmanager.core.model.merchant.MerchantStore)"},{"p":"com.salesmanager.core.model.system","c":"MerchantConfiguration","l":"setMerchantConfigurationType(MerchantConfigurationType)","u":"setMerchantConfigurationType(com.salesmanager.core.model.system.MerchantConfigurationType)"},{"p":"com.salesmanager.core.model.catalog.category","c":"Category","l":"setMerchantStore(MerchantStore)","u":"setMerchantStore(com.salesmanager.core.model.merchant.MerchantStore)"},{"p":"com.salesmanager.core.model.catalog.product.attribute","c":"ProductOption","l":"setMerchantStore(MerchantStore)","u":"setMerchantStore(com.salesmanager.core.model.merchant.MerchantStore)"},{"p":"com.salesmanager.core.model.catalog.product.attribute","c":"ProductOptionValue","l":"setMerchantStore(MerchantStore)","u":"setMerchantStore(com.salesmanager.core.model.merchant.MerchantStore)"},{"p":"com.salesmanager.core.model.catalog.product.manufacturer","c":"Manufacturer","l":"setMerchantStore(MerchantStore)","u":"setMerchantStore(com.salesmanager.core.model.merchant.MerchantStore)"},{"p":"com.salesmanager.core.model.catalog.product","c":"Product","l":"setMerchantStore(MerchantStore)","u":"setMerchantStore(com.salesmanager.core.model.merchant.MerchantStore)"},{"p":"com.salesmanager.core.model.content","c":"Content","l":"setMerchantStore(MerchantStore)","u":"setMerchantStore(com.salesmanager.core.model.merchant.MerchantStore)"},{"p":"com.salesmanager.core.model.customer.attribute","c":"CustomerOption","l":"setMerchantStore(MerchantStore)","u":"setMerchantStore(com.salesmanager.core.model.merchant.MerchantStore)"},{"p":"com.salesmanager.core.model.customer.attribute","c":"CustomerOptionValue","l":"setMerchantStore(MerchantStore)","u":"setMerchantStore(com.salesmanager.core.model.merchant.MerchantStore)"},{"p":"com.salesmanager.core.model.customer","c":"Customer","l":"setMerchantStore(MerchantStore)","u":"setMerchantStore(com.salesmanager.core.model.merchant.MerchantStore)"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingOrigin","l":"setMerchantStore(MerchantStore)","u":"setMerchantStore(com.salesmanager.core.model.merchant.MerchantStore)"},{"p":"com.salesmanager.core.model.shoppingcart","c":"ShoppingCart","l":"setMerchantStore(MerchantStore)","u":"setMerchantStore(com.salesmanager.core.model.merchant.MerchantStore)"},{"p":"com.salesmanager.core.model.system","c":"MerchantConfiguration","l":"setMerchantStore(MerchantStore)","u":"setMerchantStore(com.salesmanager.core.model.merchant.MerchantStore)"},{"p":"com.salesmanager.core.model.system.optin","c":"CustomerOptin","l":"setMerchantStore(MerchantStore)","u":"setMerchantStore(com.salesmanager.core.model.merchant.MerchantStore)"},{"p":"com.salesmanager.core.model.system","c":"SystemNotification","l":"setMerchantStore(MerchantStore)","u":"setMerchantStore(com.salesmanager.core.model.merchant.MerchantStore)"},{"p":"com.salesmanager.core.model.tax.taxclass","c":"TaxClass","l":"setMerchantStore(MerchantStore)","u":"setMerchantStore(com.salesmanager.core.model.merchant.MerchantStore)"},{"p":"com.salesmanager.core.model.tax.taxrate","c":"TaxRate","l":"setMerchantStore(MerchantStore)","u":"setMerchantStore(com.salesmanager.core.model.merchant.MerchantStore)"},{"p":"com.salesmanager.core.model.user","c":"User","l":"setMerchantStore(MerchantStore)","u":"setMerchantStore(com.salesmanager.core.model.merchant.MerchantStore)"},{"p":"com.salesmanager.core.business.exception","c":"ServiceException","l":"setMessageCode(String)","u":"setMessageCode(java.lang.String)"},{"p":"com.salesmanager.core.model.catalog.category","c":"CategoryDescription","l":"setMetatagDescription(String)","u":"setMetatagDescription(java.lang.String)"},{"p":"com.salesmanager.core.model.catalog.product.description","c":"ProductDescription","l":"setMetatagDescription(String)","u":"setMetatagDescription(java.lang.String)"},{"p":"com.salesmanager.core.model.content","c":"ContentDescription","l":"setMetatagDescription(String)","u":"setMetatagDescription(java.lang.String)"},{"p":"com.salesmanager.core.model.catalog.category","c":"CategoryDescription","l":"setMetatagKeywords(String)","u":"setMetatagKeywords(java.lang.String)"},{"p":"com.salesmanager.core.model.catalog.product.description","c":"ProductDescription","l":"setMetatagKeywords(String)","u":"setMetatagKeywords(java.lang.String)"},{"p":"com.salesmanager.core.model.content","c":"ContentDescription","l":"setMetatagKeywords(String)","u":"setMetatagKeywords(java.lang.String)"},{"p":"com.salesmanager.core.model.catalog.category","c":"CategoryDescription","l":"setMetatagTitle(String)","u":"setMetatagTitle(java.lang.String)"},{"p":"com.salesmanager.core.model.catalog.product.description","c":"ProductDescription","l":"setMetatagTitle(String)","u":"setMetatagTitle(java.lang.String)"},{"p":"com.salesmanager.core.model.content","c":"ContentDescription","l":"setMetatagTitle(String)","u":"setMetatagTitle(java.lang.String)"},{"p":"com.salesmanager.core.model.content","c":"ContentFile","l":"setMimeType(String)","u":"setMimeType(java.lang.String)"},{"p":"com.salesmanager.core.model.common.audit","c":"AuditSection","l":"setModifiedBy(String)","u":"setModifiedBy(java.lang.String)"},{"p":"com.salesmanager.core.model.payments","c":"PaymentMethod","l":"setModule(IntegrationModule)","u":"setModule(com.salesmanager.core.model.system.IntegrationModule)"},{"p":"com.salesmanager.core.model.order","c":"OrderTotal","l":"setModule(String)","u":"setModule(java.lang.String)"},{"p":"com.salesmanager.core.model.shipping","c":"Quote","l":"setModule(String)","u":"setModule(java.lang.String)"},{"p":"com.salesmanager.core.model.system","c":"IntegrationModule","l":"setModule(String)","u":"setModule(java.lang.String)"},{"p":"com.salesmanager.core.model.system","c":"MerchantLog","l":"setModule(String)","u":"setModule(java.lang.String)"},{"p":"com.salesmanager.core.model.system","c":"IntegrationConfiguration","l":"setModuleCode(String)","u":"setModuleCode(java.lang.String)"},{"p":"com.salesmanager.core.model.system","c":"IntegrationModule","l":"setModuleConfigs(Map<String, ModuleConfig>)","u":"setModuleConfigs(java.util.Map)"},{"p":"com.salesmanager.core.model.payments","c":"Payment","l":"setModuleName(String)","u":"setModuleName(java.lang.String)"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingMetaData","l":"setModules(List<String>)","u":"setModules(java.util.List)"},{"p":"com.salesmanager.core.model.common","c":"Criteria","l":"setName(String)","u":"setName(java.lang.String)"},{"p":"com.salesmanager.core.model.common.description","c":"Description","l":"setName(String)","u":"setName(java.lang.String)"},{"p":"com.salesmanager.core.model.customer","c":"CustomerCriteria","l":"setName(String)","u":"setName(java.lang.String)"},{"p":"com.salesmanager.core.model.reference.country","c":"Country","l":"setName(String)","u":"setName(java.lang.String)"},{"p":"com.salesmanager.core.model.reference.currency","c":"Currency","l":"setName(String)","u":"setName(java.lang.String)"},{"p":"com.salesmanager.core.model.reference.geozone","c":"GeoZone","l":"setName(String)","u":"setName(java.lang.String)"},{"p":"com.salesmanager.core.model.reference.zone","c":"Zone","l":"setName(String)","u":"setName(java.lang.String)"},{"p":"com.salesmanager.core.model.search","c":"IndexProduct","l":"setName(String)","u":"setName(java.lang.String)"},{"p":"com.salesmanager.core.model.search","c":"SearchFacet","l":"setName(String)","u":"setName(java.lang.String)"},{"p":"com.salesmanager.core.model.customer","c":"Customer","l":"setNick(String)","u":"setNick(java.lang.String)"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingOption","l":"setNote(String)","u":"setNote(java.lang.String)"},{"p":"com.salesmanager.core.model.shoppingcart","c":"ShoppingCart","l":"setObsolete(boolean)"},{"p":"com.salesmanager.core.model.shoppingcart","c":"ShoppingCartItem","l":"setObsolete(boolean)"},{"p":"com.salesmanager.core.model.order.orderproduct","c":"OrderProduct","l":"setOneTimeCharge(BigDecimal)","u":"setOneTimeCharge(java.math.BigDecimal)"},{"p":"com.salesmanager.core.model.system.optin","c":"CustomerOptin","l":"setOptin(Optin)","u":"setOptin(com.salesmanager.core.model.system.optin.Optin)"},{"p":"com.salesmanager.core.model.system.optin","c":"CustomerOptin","l":"setOptinDate(Date)","u":"setOptinDate(java.util.Date)"},{"p":"com.salesmanager.core.model.system.optin","c":"Optin","l":"setOptinType(OptinType)","u":"setOptinType(com.salesmanager.core.model.system.optin.OptinType)"},{"p":"com.salesmanager.core.model.shipping","c":"Quote","l":"setOptionCode(String)","u":"setOptionCode(java.lang.String)"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingOption","l":"setOptionCode(String)","u":"setOptionCode(java.lang.String)"},{"p":"com.salesmanager.core.model.shipping","c":"Quote","l":"setOptionDeliveryDate(Date)","u":"setOptionDeliveryDate(java.util.Date)"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingOption","l":"setOptionDeliveryDate(String)","u":"setOptionDeliveryDate(java.lang.String)"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingOption","l":"setOptionId(String)","u":"setOptionId(java.lang.String)"},{"p":"com.salesmanager.core.model.shipping","c":"Quote","l":"setOptionName(String)","u":"setOptionName(java.lang.String)"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingOption","l":"setOptionName(String)","u":"setOptionName(java.lang.String)"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingOption","l":"setOptionPrice(BigDecimal)","u":"setOptionPrice(java.math.BigDecimal)"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingOption","l":"setOptionPriceText(String)","u":"setOptionPriceText(java.lang.String)"},{"p":"com.salesmanager.core.model.shipping","c":"Quote","l":"setOptionShippingDate(Date)","u":"setOptionShippingDate(java.util.Date)"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingOption","l":"setOptionShippingDate(String)","u":"setOptionShippingDate(java.lang.String)"},{"p":"com.salesmanager.core.model.catalog.product.manufacturer","c":"Manufacturer","l":"setOrder(Integer)","u":"setOrder(java.lang.Integer)"},{"p":"com.salesmanager.core.model.order.attributes","c":"OrderAttribute","l":"setOrder(Order)","u":"setOrder(com.salesmanager.core.model.order.Order)"},{"p":"com.salesmanager.core.model.order.orderaccount","c":"OrderAccount","l":"setOrder(Order)","u":"setOrder(com.salesmanager.core.model.order.Order)"},{"p":"com.salesmanager.core.model.order.orderproduct","c":"OrderProduct","l":"setOrder(Order)","u":"setOrder(com.salesmanager.core.model.order.Order)"},{"p":"com.salesmanager.core.model.order.orderstatus","c":"OrderStatusHistory","l":"setOrder(Order)","u":"setOrder(com.salesmanager.core.model.order.Order)"},{"p":"com.salesmanager.core.model.order","c":"OrderTotal","l":"setOrder(Order)","u":"setOrder(com.salesmanager.core.model.order.Order)"},{"p":"com.salesmanager.core.model.payments","c":"Transaction","l":"setOrder(Order)","u":"setOrder(com.salesmanager.core.model.order.Order)"},{"p":"com.salesmanager.core.model.order.orderaccount","c":"OrderAccountProduct","l":"setOrderAccount(OrderAccount)","u":"setOrderAccount(com.salesmanager.core.model.order.orderaccount.OrderAccount)"},{"p":"com.salesmanager.core.model.order.orderaccount","c":"OrderAccount","l":"setOrderAccountBillDay(Integer)","u":"setOrderAccountBillDay(java.lang.Integer)"},{"p":"com.salesmanager.core.model.order.orderaccount","c":"OrderAccount","l":"setOrderAccountEndDate(Date)","u":"setOrderAccountEndDate(java.util.Date)"},{"p":"com.salesmanager.core.model.order.orderaccount","c":"OrderAccountProduct","l":"setOrderAccountProductAccountedDate(Date)","u":"setOrderAccountProductAccountedDate(java.util.Date)"},{"p":"com.salesmanager.core.model.order.orderaccount","c":"OrderAccountProduct","l":"setOrderAccountProductEndDate(Date)","u":"setOrderAccountProductEndDate(java.util.Date)"},{"p":"com.salesmanager.core.model.order.orderaccount","c":"OrderAccountProduct","l":"setOrderAccountProductEot(Date)","u":"setOrderAccountProductEot(java.util.Date)"},{"p":"com.salesmanager.core.model.order.orderaccount","c":"OrderAccountProduct","l":"setOrderAccountProductId(Long)","u":"setOrderAccountProductId(java.lang.Long)"},{"p":"com.salesmanager.core.model.order.orderaccount","c":"OrderAccountProduct","l":"setOrderAccountProductLastStatusDate(Date)","u":"setOrderAccountProductLastStatusDate(java.util.Date)"},{"p":"com.salesmanager.core.model.order.orderaccount","c":"OrderAccountProduct","l":"setOrderAccountProductLastTransactionStatus(Integer)","u":"setOrderAccountProductLastTransactionStatus(java.lang.Integer)"},{"p":"com.salesmanager.core.model.order.orderaccount","c":"OrderAccountProduct","l":"setOrderAccountProductPaymentFrequencyType(Integer)","u":"setOrderAccountProductPaymentFrequencyType(java.lang.Integer)"},{"p":"com.salesmanager.core.model.order.orderaccount","c":"OrderAccount","l":"setOrderAccountProducts(Set<OrderAccountProduct>)","u":"setOrderAccountProducts(java.util.Set)"},{"p":"com.salesmanager.core.model.order.orderaccount","c":"OrderAccountProduct","l":"setOrderAccountProductStartDate(Date)","u":"setOrderAccountProductStartDate(java.util.Date)"},{"p":"com.salesmanager.core.model.order.orderaccount","c":"OrderAccountProduct","l":"setOrderAccountProductStatus(Integer)","u":"setOrderAccountProductStatus(java.lang.Integer)"},{"p":"com.salesmanager.core.model.order.orderaccount","c":"OrderAccount","l":"setOrderAccountStartDate(Date)","u":"setOrderAccountStartDate(java.util.Date)"},{"p":"com.salesmanager.core.model.order","c":"Order","l":"setOrderAttributes(Set<OrderAttribute>)","u":"setOrderAttributes(java.util.Set)"},{"p":"com.salesmanager.core.model.order.orderproduct","c":"OrderProduct","l":"setOrderAttributes(Set<OrderProductAttribute>)","u":"setOrderAttributes(java.util.Set)"},{"p":"com.salesmanager.core.model.common","c":"Criteria","l":"setOrderBy(CriteriaOrderBy)","u":"setOrderBy(com.salesmanager.core.model.common.CriteriaOrderBy)"},{"p":"com.salesmanager.core.model.order","c":"Order","l":"setOrderDateFinished(Date)","u":"setOrderDateFinished(java.util.Date)"},{"p":"com.salesmanager.core.model.order","c":"Order","l":"setOrderHistory(Set<OrderStatusHistory>)","u":"setOrderHistory(java.util.Set)"},{"p":"com.salesmanager.core.model.shipping","c":"Quote","l":"setOrderId(Long)","u":"setOrderId(java.lang.Long)"},{"p":"com.salesmanager.core.model.order.orderaccount","c":"OrderAccountProduct","l":"setOrderProduct(OrderProduct)","u":"setOrderProduct(com.salesmanager.core.model.order.orderproduct.OrderProduct)"},{"p":"com.salesmanager.core.model.order.orderproduct","c":"OrderProductAttribute","l":"setOrderProduct(OrderProduct)","u":"setOrderProduct(com.salesmanager.core.model.order.orderproduct.OrderProduct)"},{"p":"com.salesmanager.core.model.order.orderproduct","c":"OrderProductDownload","l":"setOrderProduct(OrderProduct)","u":"setOrderProduct(com.salesmanager.core.model.order.orderproduct.OrderProduct)"},{"p":"com.salesmanager.core.model.order.orderproduct","c":"OrderProductPrice","l":"setOrderProduct(OrderProduct)","u":"setOrderProduct(com.salesmanager.core.model.order.orderproduct.OrderProduct)"},{"p":"com.salesmanager.core.model.order.orderproduct","c":"OrderProductDownload","l":"setOrderProductFilename(String)","u":"setOrderProductFilename(java.lang.String)"},{"p":"com.salesmanager.core.model.order","c":"Order","l":"setOrderProducts(Set<OrderProduct>)","u":"setOrderProducts(java.util.Set)"},{"p":"com.salesmanager.core.model.order","c":"OrderList","l":"setOrders(List<Order>)","u":"setOrders(java.util.List)"},{"p":"com.salesmanager.core.model.order","c":"OrderSummary","l":"setOrderSummaryType(OrderSummaryType)","u":"setOrderSummaryType(com.salesmanager.core.model.order.OrderSummaryType)"},{"p":"com.salesmanager.core.model.order","c":"Order","l":"setOrderTotal(Set<OrderTotal>)","u":"setOrderTotal(java.util.Set)"},{"p":"com.salesmanager.core.model.order","c":"OrderTotal","l":"setOrderTotalCode(String)","u":"setOrderTotalCode(java.lang.String)"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingConfiguration","l":"setOrderTotalFreeShipping(BigDecimal)","u":"setOrderTotalFreeShipping(java.math.BigDecimal)"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingConfiguration","l":"setOrderTotalFreeShippingText(String)","u":"setOrderTotalFreeShippingText(java.lang.String)"},{"p":"com.salesmanager.core.model.order","c":"OrderTotal","l":"setOrderTotalType(OrderTotalType)","u":"setOrderTotalType(com.salesmanager.core.model.order.OrderTotalType)"},{"p":"com.salesmanager.core.model.order","c":"Order","l":"setOrderType(OrderType)","u":"setOrderType(com.salesmanager.core.model.order.OrderType)"},{"p":"com.salesmanager.core.model.order","c":"OrderTotal","l":"setOrderValueType(OrderValueType)","u":"setOrderValueType(com.salesmanager.core.model.order.OrderValueType)"},{"p":"com.salesmanager.core.model.catalog.product.price","c":"FinalPrice","l":"setOriginalPrice(BigDecimal)","u":"setOriginalPrice(java.math.BigDecimal)"},{"p":"com.salesmanager.core.model.catalog.product","c":"Product","l":"setOwner(Customer)","u":"setOwner(com.salesmanager.core.model.customer.Customer)"},{"p":"com.salesmanager.core.model.catalog.product","c":"ProductCriteria","l":"setOwnerId(Long)","u":"setOwnerId(java.lang.Long)"},{"p":"com.salesmanager.core.model.catalog.category","c":"Category","l":"setParent(Category)","u":"setParent(com.salesmanager.core.model.catalog.category.Category)"},{"p":"com.salesmanager.core.model.tax.taxrate","c":"TaxRate","l":"setParent(TaxRate)","u":"setParent(com.salesmanager.core.model.tax.taxrate.TaxRate)"},{"p":"com.salesmanager.core.model.customer","c":"Customer","l":"setPassword(String)","u":"setPassword(java.lang.String)"},{"p":"com.salesmanager.core.model.security","c":"Secrets","l":"setPassword(String)","u":"setPassword(java.lang.String)"},{"p":"com.salesmanager.core.model.system.credentials","c":"Credentials","l":"setPassword(String)","u":"setPassword(java.lang.String)"},{"p":"com.salesmanager.core.model.payments","c":"PaypalPayment","l":"setPayerId(String)","u":"setPayerId(java.lang.String)"},{"p":"com.salesmanager.core.model.payments","c":"Payment","l":"setPaymentMetaData(Map<String, String>)","u":"setPaymentMetaData(java.util.Map)"},{"p":"com.salesmanager.core.model.order","c":"OrderCriteria","l":"setPaymentMethod(String)","u":"setPaymentMethod(java.lang.String)"},{"p":"com.salesmanager.core.model.payments","c":"PaymentMethod","l":"setPaymentMethodCode(String)","u":"setPaymentMethodCode(java.lang.String)"},{"p":"com.salesmanager.core.model.order","c":"Order","l":"setPaymentModuleCode(String)","u":"setPaymentModuleCode(java.lang.String)"},{"p":"com.salesmanager.core.model.payments","c":"PaypalPayment","l":"setPaymentToken(String)","u":"setPaymentToken(java.lang.String)"},{"p":"com.salesmanager.core.model.order","c":"Order","l":"setPaymentType(PaymentType)","u":"setPaymentType(com.salesmanager.core.model.payments.PaymentType)"},{"p":"com.salesmanager.core.model.payments","c":"Payment","l":"setPaymentType(PaymentType)","u":"setPaymentType(com.salesmanager.core.model.payments.PaymentType)"},{"p":"com.salesmanager.core.model.payments","c":"PaymentMethod","l":"setPaymentType(PaymentType)","u":"setPaymentType(com.salesmanager.core.model.payments.PaymentType)"},{"p":"com.salesmanager.core.model.payments","c":"Transaction","l":"setPaymentType(PaymentType)","u":"setPaymentType(com.salesmanager.core.model.payments.PaymentType)"},{"p":"com.salesmanager.core.model.user","c":"Permission","l":"setPermissionName(String)","u":"setPermissionName(java.lang.String)"},{"p":"com.salesmanager.core.model.user","c":"PermissionCriteria","l":"setPermissionName(String)","u":"setPermissionName(java.lang.String)"},{"p":"com.salesmanager.core.model.user","c":"PermissionList","l":"setPermissions(List<Permission>)","u":"setPermissions(java.util.List)"},{"p":"com.salesmanager.core.model.user","c":"Group","l":"setPermissions(Set<Permission>)","u":"setPermissions(java.util.Set)"},{"p":"com.salesmanager.core.model.tax.taxrate","c":"TaxRate","l":"setPiggyback(boolean)"},{"p":"com.salesmanager.core.model.system","c":"ModuleConfig","l":"setPort(String)","u":"setPort(java.lang.String)"},{"p":"com.salesmanager.core.model.common","c":"Address","l":"setPostalCode(String)","u":"setPostalCode(java.lang.String)"},{"p":"com.salesmanager.core.model.common","c":"Billing","l":"setPostalCode(String)","u":"setPostalCode(java.lang.String)"},{"p":"com.salesmanager.core.model.common","c":"Delivery","l":"setPostalCode(String)","u":"setPostalCode(java.lang.String)"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingOrigin","l":"setPostalCode(String)","u":"setPostalCode(java.lang.String)"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingMetaData","l":"setPostProcessors(List<String>)","u":"setPostProcessors(java.util.List)"},{"p":"com.salesmanager.core.model.catalog.product","c":"Product","l":"setPreOrder(boolean)"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingMetaData","l":"setPreProcessors(List<String>)","u":"setPreProcessors(java.util.List)"},{"p":"com.salesmanager.core.model.shipping","c":"Quote","l":"setPrice(BigDecimal)","u":"setPrice(java.math.BigDecimal)"},{"p":"com.salesmanager.core.model.search","c":"IndexProduct","l":"setPrice(Double)","u":"setPrice(java.lang.Double)"},{"p":"com.salesmanager.core.model.order.orderproduct","c":"OrderProduct","l":"setPrices(Set<OrderProductPrice>)","u":"setPrices(java.util.Set)"},{"p":"com.salesmanager.core.model.catalog.product.availability","c":"ProductAvailability","l":"setPrices(Set<ProductPrice>)","u":"setPrices(java.util.Set)"},{"p":"com.salesmanager.core.model.catalog.product.attribute","c":"ProductAttribute","l":"setProduct(Product)","u":"setProduct(com.salesmanager.core.model.catalog.product.Product)"},{"p":"com.salesmanager.core.model.catalog.product.availability","c":"ProductAvailability","l":"setProduct(Product)","u":"setProduct(com.salesmanager.core.model.catalog.product.Product)"},{"p":"com.salesmanager.core.model.catalog.product.description","c":"ProductDescription","l":"setProduct(Product)","u":"setProduct(com.salesmanager.core.model.catalog.product.Product)"},{"p":"com.salesmanager.core.model.catalog.product.file","c":"DigitalProduct","l":"setProduct(Product)","u":"setProduct(com.salesmanager.core.model.catalog.product.Product)"},{"p":"com.salesmanager.core.model.catalog.product.image","c":"ProductImage","l":"setProduct(Product)","u":"setProduct(com.salesmanager.core.model.catalog.product.Product)"},{"p":"com.salesmanager.core.model.catalog.product.relationship","c":"ProductRelationship","l":"setProduct(Product)","u":"setProduct(com.salesmanager.core.model.catalog.product.Product)"},{"p":"com.salesmanager.core.model.catalog.product.review","c":"ProductReview","l":"setProduct(Product)","u":"setProduct(com.salesmanager.core.model.catalog.product.Product)"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingProduct","l":"setProduct(Product)","u":"setProduct(com.salesmanager.core.model.catalog.product.Product)"},{"p":"com.salesmanager.core.model.shoppingcart","c":"ShoppingCartItem","l":"setProduct(Product)","u":"setProduct(com.salesmanager.core.model.catalog.product.Product)"},{"p":"com.salesmanager.core.model.shoppingcart","c":"ShoppingCartAttributeItem","l":"setProductAttribute(ProductAttribute)","u":"setProductAttribute(com.salesmanager.core.model.catalog.product.attribute.ProductAttribute)"},{"p":"com.salesmanager.core.model.shoppingcart","c":"ShoppingCartAttributeItem","l":"setProductAttributeId(Long)","u":"setProductAttributeId(java.lang.Long)"},{"p":"com.salesmanager.core.model.catalog.product.attribute","c":"ProductAttribute","l":"setProductAttributeIsFree(boolean)"},{"p":"com.salesmanager.core.model.order.orderproduct","c":"OrderProductAttribute","l":"setProductAttributeIsFree(boolean)"},{"p":"com.salesmanager.core.model.order.orderproduct","c":"OrderProductAttribute","l":"setProductAttributeName(String)","u":"setProductAttributeName(java.lang.String)"},{"p":"com.salesmanager.core.model.catalog.product.attribute","c":"ProductAttribute","l":"setProductAttributePrice(BigDecimal)","u":"setProductAttributePrice(java.math.BigDecimal)"},{"p":"com.salesmanager.core.model.order.orderproduct","c":"OrderProductAttribute","l":"setProductAttributePrice(BigDecimal)","u":"setProductAttributePrice(java.math.BigDecimal)"},{"p":"com.salesmanager.core.model.order.orderproduct","c":"OrderProductAttribute","l":"setProductAttributeValueName(String)","u":"setProductAttributeValueName(java.lang.String)"},{"p":"com.salesmanager.core.model.catalog.product.attribute","c":"ProductAttribute","l":"setProductAttributeWeight(BigDecimal)","u":"setProductAttributeWeight(java.math.BigDecimal)"},{"p":"com.salesmanager.core.model.order.orderproduct","c":"OrderProductAttribute","l":"setProductAttributeWeight(BigDecimal)","u":"setProductAttributeWeight(java.math.BigDecimal)"},{"p":"com.salesmanager.core.model.catalog.product.price","c":"ProductPrice","l":"setProductAvailability(ProductAvailability)","u":"setProductAvailability(com.salesmanager.core.model.catalog.product.availability.ProductAvailability)"},{"p":"com.salesmanager.core.model.catalog.product.availability","c":"ProductAvailability","l":"setProductDateAvailable(Date)","u":"setProductDateAvailable(java.util.Date)"},{"p":"com.salesmanager.core.model.catalog.product.description","c":"ProductDescription","l":"setProductExternalDl(String)","u":"setProductExternalDl(java.lang.String)"},{"p":"com.salesmanager.core.model.catalog.product.file","c":"DigitalProduct","l":"setProductFileName(String)","u":"setProductFileName(java.lang.String)"},{"p":"com.salesmanager.core.model.content","c":"Content","l":"setProductGroup(String)","u":"setProductGroup(java.lang.String)"},{"p":"com.salesmanager.core.model.catalog.product","c":"Product","l":"setProductHeight(BigDecimal)","u":"setProductHeight(java.math.BigDecimal)"},{"p":"com.salesmanager.core.model.catalog.product.description","c":"ProductDescription","l":"setProductHighlight(String)","u":"setProductHighlight(java.lang.String)"},{"p":"com.salesmanager.core.model.shoppingcart","c":"ShoppingCartItem","l":"setProductId(Long)","u":"setProductId(java.lang.Long)"},{"p":"com.salesmanager.core.model.catalog.product","c":"ProductCriteria","l":"setProductIds(List<Long>)","u":"setProductIds(java.util.List)"},{"p":"com.salesmanager.core.model.catalog.product.image","c":"ProductImageDescription","l":"setProductImage(ProductImage)","u":"setProductImage(com.salesmanager.core.model.catalog.product.image.ProductImage)"},{"p":"com.salesmanager.core.model.catalog.product.image","c":"ProductImage","l":"setProductImage(String)","u":"setProductImage(java.lang.String)"},{"p":"com.salesmanager.core.model.catalog.product.image","c":"ProductImage","l":"setProductImageUrl(String)","u":"setProductImageUrl(java.lang.String)"},{"p":"com.salesmanager.core.model.catalog.product.availability","c":"ProductAvailability","l":"setProductIsAlwaysFreeShipping(boolean)"},{"p":"com.salesmanager.core.model.catalog.product","c":"Product","l":"setProductIsFree(boolean)"},{"p":"com.salesmanager.core.model.catalog.product","c":"Product","l":"setProductLength(BigDecimal)","u":"setProductLength(java.math.BigDecimal)"},{"p":"com.salesmanager.core.model.catalog.product","c":"ProductCriteria","l":"setProductName(String)","u":"setProductName(java.lang.String)"},{"p":"com.salesmanager.core.model.order.orderproduct","c":"OrderProduct","l":"setProductName(String)","u":"setProductName(java.lang.String)"},{"p":"com.salesmanager.core.model.catalog.product.attribute","c":"ProductAttribute","l":"setProductOption(ProductOption)","u":"setProductOption(com.salesmanager.core.model.catalog.product.attribute.ProductOption)"},{"p":"com.salesmanager.core.model.catalog.product.attribute","c":"ProductOptionDescription","l":"setProductOption(ProductOption)","u":"setProductOption(com.salesmanager.core.model.catalog.product.attribute.ProductOption)"},{"p":"com.salesmanager.core.model.catalog.product.attribute","c":"ProductOptionDescription","l":"setProductOptionComment(String)","u":"setProductOptionComment(java.lang.String)"},{"p":"com.salesmanager.core.model.catalog.product.attribute","c":"ProductOptionValue","l":"setProductOptionDisplayOnly(boolean)"},{"p":"com.salesmanager.core.model.order.orderproduct","c":"OrderProductAttribute","l":"setProductOptionId(Long)","u":"setProductOptionId(java.lang.Long)"},{"p":"com.salesmanager.core.model.catalog.product.attribute","c":"ProductAttribute","l":"setProductOptionSortOrder(Integer)","u":"setProductOptionSortOrder(java.lang.Integer)"},{"p":"com.salesmanager.core.model.catalog.product.attribute","c":"ProductOption","l":"setProductOptionSortOrder(Integer)","u":"setProductOptionSortOrder(java.lang.Integer)"},{"p":"com.salesmanager.core.model.catalog.product.attribute","c":"ProductOption","l":"setProductOptionType(String)","u":"setProductOptionType(java.lang.String)"},{"p":"com.salesmanager.core.model.catalog.product.attribute","c":"ProductAttribute","l":"setProductOptionValue(ProductOptionValue)","u":"setProductOptionValue(com.salesmanager.core.model.catalog.product.attribute.ProductOptionValue)"},{"p":"com.salesmanager.core.model.catalog.product.attribute","c":"ProductOptionValueDescription","l":"setProductOptionValue(ProductOptionValue)","u":"setProductOptionValue(com.salesmanager.core.model.catalog.product.attribute.ProductOptionValue)"},{"p":"com.salesmanager.core.model.order.orderproduct","c":"OrderProductAttribute","l":"setProductOptionValueId(Long)","u":"setProductOptionValueId(java.lang.Long)"},{"p":"com.salesmanager.core.model.catalog.product.attribute","c":"ProductOptionValue","l":"setProductOptionValueImage(String)","u":"setProductOptionValueImage(java.lang.String)"},{"p":"com.salesmanager.core.model.catalog.product.attribute","c":"ProductOptionValue","l":"setProductOptionValueSortOrder(Integer)","u":"setProductOptionValueSortOrder(java.lang.Integer)"},{"p":"com.salesmanager.core.model.catalog.product","c":"Product","l":"setProductOrdered(Integer)","u":"setProductOrdered(java.lang.Integer)"},{"p":"com.salesmanager.core.model.order.orderproduct","c":"OrderProductPrice","l":"setProductPrice(BigDecimal)","u":"setProductPrice(java.math.BigDecimal)"},{"p":"com.salesmanager.core.model.catalog.product.price","c":"FinalPrice","l":"setProductPrice(ProductPrice)","u":"setProductPrice(com.salesmanager.core.model.catalog.product.price.ProductPrice)"},{"p":"com.salesmanager.core.model.catalog.product.price","c":"ProductPriceDescription","l":"setProductPrice(ProductPrice)","u":"setProductPrice(com.salesmanager.core.model.catalog.product.price.ProductPrice)"},{"p":"com.salesmanager.core.model.catalog.product.price","c":"ProductPrice","l":"setProductPriceAmount(BigDecimal)","u":"setProductPriceAmount(java.math.BigDecimal)"},{"p":"com.salesmanager.core.model.order.orderproduct","c":"OrderProductPrice","l":"setProductPriceCode(String)","u":"setProductPriceCode(java.lang.String)"},{"p":"com.salesmanager.core.model.order.orderproduct","c":"OrderProductPrice","l":"setProductPriceName(String)","u":"setProductPriceName(java.lang.String)"},{"p":"com.salesmanager.core.model.order.orderproduct","c":"OrderProductPrice","l":"setProductPriceSpecial(BigDecimal)","u":"setProductPriceSpecial(java.math.BigDecimal)"},{"p":"com.salesmanager.core.model.catalog.product.price","c":"ProductPrice","l":"setProductPriceSpecialAmount(BigDecimal)","u":"setProductPriceSpecialAmount(java.math.BigDecimal)"},{"p":"com.salesmanager.core.model.catalog.product.price","c":"ProductPrice","l":"setProductPriceSpecialEndDate(Date)","u":"setProductPriceSpecialEndDate(java.util.Date)"},{"p":"com.salesmanager.core.model.order.orderproduct","c":"OrderProductPrice","l":"setProductPriceSpecialEndDate(Date)","u":"setProductPriceSpecialEndDate(java.util.Date)"},{"p":"com.salesmanager.core.model.catalog.product.price","c":"ProductPrice","l":"setProductPriceSpecialStartDate(Date)","u":"setProductPriceSpecialStartDate(java.util.Date)"},{"p":"com.salesmanager.core.model.order.orderproduct","c":"OrderProductPrice","l":"setProductPriceSpecialStartDate(Date)","u":"setProductPriceSpecialStartDate(java.util.Date)"},{"p":"com.salesmanager.core.model.catalog.product.price","c":"ProductPrice","l":"setProductPriceType(ProductPriceType)","u":"setProductPriceType(com.salesmanager.core.model.catalog.product.price.ProductPriceType)"},{"p":"com.salesmanager.core.model.order.orderproduct","c":"OrderProduct","l":"setProductQuantity(int)"},{"p":"com.salesmanager.core.model.catalog.product.availability","c":"ProductAvailability","l":"setProductQuantity(Integer)","u":"setProductQuantity(java.lang.Integer)"},{"p":"com.salesmanager.core.model.catalog.product.availability","c":"ProductAvailability","l":"setProductQuantityOrderMax(Integer)","u":"setProductQuantityOrderMax(java.lang.Integer)"},{"p":"com.salesmanager.core.model.catalog.product.availability","c":"ProductAvailability","l":"setProductQuantityOrderMin(Integer)","u":"setProductQuantityOrderMin(java.lang.Integer)"},{"p":"com.salesmanager.core.model.catalog.product.review","c":"ProductReviewDescription","l":"setProductReview(ProductReview)","u":"setProductReview(com.salesmanager.core.model.catalog.product.review.ProductReview)"},{"p":"com.salesmanager.core.model.catalog.product","c":"Product","l":"setProductReviewAvg(BigDecimal)","u":"setProductReviewAvg(java.math.BigDecimal)"},{"p":"com.salesmanager.core.model.catalog.product","c":"Product","l":"setProductReviewCount(Integer)","u":"setProductReviewCount(java.lang.Integer)"},{"p":"com.salesmanager.core.model.catalog.product","c":"ProductList","l":"setProducts(List<Product>)","u":"setProducts(java.util.List)"},{"p":"com.salesmanager.core.model.order","c":"OrderSummary","l":"setProducts(List<ShoppingCartItem>)","u":"setProducts(java.util.List)"},{"p":"com.salesmanager.core.model.catalog.product","c":"Product","l":"setProductShipeable(boolean)"},{"p":"com.salesmanager.core.model.catalog.product.availability","c":"ProductAvailability","l":"setProductStatus(boolean)"},{"p":"com.salesmanager.core.model.catalog.product","c":"Product","l":"setProductVirtual(boolean)"},{"p":"com.salesmanager.core.model.shoppingcart","c":"ShoppingCartItem","l":"setProductVirtual(boolean)"},{"p":"com.salesmanager.core.model.catalog.product","c":"Product","l":"setProductWeight(BigDecimal)","u":"setProductWeight(java.math.BigDecimal)"},{"p":"com.salesmanager.core.model.catalog.product","c":"Product","l":"setProductWidth(BigDecimal)","u":"setProductWidth(java.math.BigDecimal)"},{"p":"com.salesmanager.core.model.customer.connection","c":"AbstractUserConnection","l":"setProfileUrl(String)","u":"setProfileUrl(java.lang.String)"},{"p":"com.salesmanager.core.model.customer.connection","c":"RemoteUser","l":"setProfileUrl(String)","u":"setProfileUrl(java.lang.String)"},{"p":"com.salesmanager.core.model.customer","c":"Customer","l":"setProvider(String)","u":"setProvider(java.lang.String)"},{"p":"com.salesmanager.core.model.customer.connection","c":"AbstractUserConnection","l":"setProviderId(String)","u":"setProviderId(java.lang.String)"},{"p":"com.salesmanager.core.model.customer.connection","c":"AbstractUserConnectionWithCompositeKey","l":"setProviderId(String)","u":"setProviderId(java.lang.String)"},{"p":"com.salesmanager.core.model.customer.connection","c":"RemoteUser","l":"setProviderId(String)","u":"setProviderId(java.lang.String)"},{"p":"com.salesmanager.core.model.customer.connection","c":"UserConnectionPK","l":"setProviderId(String)","u":"setProviderId(java.lang.String)"},{"p":"com.salesmanager.core.model.customer.connection","c":"AbstractUserConnection","l":"setProviderUserId(String)","u":"setProviderUserId(java.lang.String)"},{"p":"com.salesmanager.core.model.customer.connection","c":"AbstractUserConnectionWithCompositeKey","l":"setProviderUserId(String)","u":"setProviderUserId(java.lang.String)"},{"p":"com.salesmanager.core.model.customer.connection","c":"RemoteUser","l":"setProviderUserId(String)","u":"setProviderUserId(java.lang.String)"},{"p":"com.salesmanager.core.model.customer.connection","c":"UserConnectionPK","l":"setProviderUserId(String)","u":"setProviderUserId(java.lang.String)"},{"p":"com.salesmanager.core.model.customer.attribute","c":"CustomerOption","l":"setPublicOption(boolean)"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingProduct","l":"setQuantity(int)"},{"p":"com.salesmanager.core.model.shoppingcart","c":"ShoppingCartItem","l":"setQuantity(Integer)","u":"setQuantity(java.lang.Integer)"},{"p":"com.salesmanager.core.model.user","c":"User","l":"setQuestion1(String)","u":"setQuestion1(java.lang.String)"},{"p":"com.salesmanager.core.model.user","c":"User","l":"setQuestion2(String)","u":"setQuestion2(java.lang.String)"},{"p":"com.salesmanager.core.model.user","c":"User","l":"setQuestion3(String)","u":"setQuestion3(java.lang.String)"},{"p":"com.salesmanager.core.model.shipping","c":"Quote","l":"setQuoteDate(Date)","u":"setQuoteDate(java.util.Date)"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingQuote","l":"setQuoteError(String)","u":"setQuoteError(java.lang.String)"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingQuote","l":"setQuoteInformations(Map<String, Object>)","u":"setQuoteInformations(java.util.Map)"},{"p":"com.salesmanager.core.model.customer.connection","c":"AbstractUserConnection","l":"setRank(int)"},{"p":"com.salesmanager.core.model.customer.connection","c":"RemoteUser","l":"setRank(int)"},{"p":"com.salesmanager.core.model.tax.taxrate","c":"TaxRate","l":"setRateText(String)","u":"setRateText(java.lang.String)"},{"p":"com.salesmanager.core.model.catalog.product.attribute","c":"ProductOption","l":"setReadOnly(boolean)"},{"p":"com.salesmanager.core.model.customer.connection","c":"AbstractUserConnection","l":"setRefreshToken(String)","u":"setRefreshToken(java.lang.String)"},{"p":"com.salesmanager.core.model.customer.connection","c":"RemoteUser","l":"setRefreshToken(String)","u":"setRefreshToken(java.lang.String)"},{"p":"com.salesmanager.core.model.catalog.product","c":"Product","l":"setRefSku(String)","u":"setRefSku(java.lang.String)"},{"p":"com.salesmanager.core.model.catalog.product.availability","c":"ProductAvailability","l":"setRegion(String)","u":"setRegion(java.lang.String)"},{"p":"com.salesmanager.core.model.system","c":"IntegrationModule","l":"setRegions(String)","u":"setRegions(java.lang.String)"},{"p":"com.salesmanager.core.model.system","c":"IntegrationModule","l":"setRegionsSet(Set<String>)","u":"setRegionsSet(java.util.Set)"},{"p":"com.salesmanager.core.model.catalog.product.availability","c":"ProductAvailability","l":"setRegionVariant(String)","u":"setRegionVariant(java.lang.String)"},{"p":"com.salesmanager.core.model.catalog.product.relationship","c":"ProductRelationship","l":"setRelatedProduct(Product)","u":"setRelatedProduct(com.salesmanager.core.model.catalog.product.Product)"},{"p":"com.salesmanager.core.model.catalog.product","c":"Product","l":"setRelationships(Set<ProductRelationship>)","u":"setRelationships(java.util.Set)"},{"p":"com.salesmanager.core.model.catalog.product","c":"Product","l":"setRentalDuration(Integer)","u":"setRentalDuration(java.lang.Integer)"},{"p":"com.salesmanager.core.model.catalog.product","c":"Product","l":"setRentalPeriod(Integer)","u":"setRentalPeriod(java.lang.Integer)"},{"p":"com.salesmanager.core.model.catalog.product","c":"Product","l":"setRentalStatus(RentalStatus)","u":"setRentalStatus(com.salesmanager.core.model.catalog.product.RentalStatus)"},{"p":"com.salesmanager.core.model.catalog.product.review","c":"ProductReview","l":"setReviewDate(Date)","u":"setReviewDate(java.util.Date)"},{"p":"com.salesmanager.core.model.customer.review","c":"CustomerReview","l":"setReviewDate(Date)","u":"setReviewDate(java.util.Date)"},{"p":"com.salesmanager.core.model.customer.review","c":"CustomerReview","l":"setReviewedCustomer(Customer)","u":"setReviewedCustomer(com.salesmanager.core.model.customer.Customer)"},{"p":"com.salesmanager.core.model.catalog.product.review","c":"ProductReview","l":"setReviewRating(Double)","u":"setReviewRating(java.lang.Double)"},{"p":"com.salesmanager.core.model.customer.review","c":"CustomerReview","l":"setReviewRating(Double)","u":"setReviewRating(java.lang.Double)"},{"p":"com.salesmanager.core.model.catalog.product.review","c":"ProductReview","l":"setReviewRead(Long)","u":"setReviewRead(java.lang.Long)"},{"p":"com.salesmanager.core.model.customer.review","c":"CustomerReview","l":"setReviewRead(Long)","u":"setReviewRead(java.lang.Long)"},{"p":"com.salesmanager.core.model.customer","c":"Customer","l":"setReviews(List<ProductReview>)","u":"setReviews(java.util.List)"},{"p":"com.salesmanager.core.model.system","c":"ModuleConfig","l":"setScheme(String)","u":"setScheme(java.lang.String)"},{"p":"com.salesmanager.core.model.common","c":"Criteria","l":"setSearch(String)","u":"setSearch(java.lang.String)"},{"p":"com.salesmanager.core.model.customer.connection","c":"AbstractUserConnection","l":"setSecret(String)","u":"setSecret(java.lang.String)"},{"p":"com.salesmanager.core.model.customer.connection","c":"RemoteUser","l":"setSecret(String)","u":"setSecret(java.lang.String)"},{"p":"com.salesmanager.core.model.merchant","c":"MerchantStore","l":"setSeizeunitcode(String)","u":"setSeizeunitcode(java.lang.String)"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingQuote","l":"setSelectedShippingOption(ShippingOption)","u":"setSelectedShippingOption(com.salesmanager.core.model.shipping.ShippingOption)"},{"p":"com.salesmanager.core.model.catalog.category","c":"CategoryDescription","l":"setSeUrl(String)","u":"setSeUrl(java.lang.String)"},{"p":"com.salesmanager.core.model.catalog.product.description","c":"ProductDescription","l":"setSeUrl(String)","u":"setSeUrl(java.lang.String)"},{"p":"com.salesmanager.core.model.content","c":"ContentDescription","l":"setSeUrl(String)","u":"setSeUrl(java.lang.String)"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingConfiguration","l":"setShipBaseType(String)","u":"setShipBaseType(java.lang.String)"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingConfiguration","l":"setShipDescription(String)","u":"setShipDescription(java.lang.String)"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingConfiguration","l":"setShipFreeType(String)","u":"setShipFreeType(java.lang.String)"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingConfiguration","l":"setShipOptionPriceType(String)","u":"setShipOptionPriceType(java.lang.String)"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingConfiguration","l":"setShipPackageType(String)","u":"setShipPackageType(java.lang.String)"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingSummary","l":"setShipping(BigDecimal)","u":"setShipping(java.math.BigDecimal)"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingConfiguration","l":"setShippingBasisType(ShippingBasisType)","u":"setShippingBasisType(com.salesmanager.core.model.shipping.ShippingBasisType)"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingConfiguration","l":"setShippingDescription(ShippingDescription)","u":"setShippingDescription(com.salesmanager.core.model.shipping.ShippingDescription)"},{"p":"com.salesmanager.core.model.shipping","c":"PackageDetails","l":"setShippingHeight(double)"},{"p":"com.salesmanager.core.model.shipping","c":"PackageDetails","l":"setShippingLength(double)"},{"p":"com.salesmanager.core.model.shipping","c":"PackageDetails","l":"setShippingMaxWeight(double)"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingSummary","l":"setShippingModule(String)","u":"setShippingModule(java.lang.String)"},{"p":"com.salesmanager.core.model.order","c":"Order","l":"setShippingModuleCode(String)","u":"setShippingModuleCode(java.lang.String)"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingOption","l":"setShippingModuleCode(String)","u":"setShippingModuleCode(java.lang.String)"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingQuote","l":"setShippingModuleCode(String)","u":"setShippingModuleCode(java.lang.String)"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingSummary","l":"setShippingOption(String)","u":"setShippingOption(java.lang.String)"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingSummary","l":"setShippingOptionCode(String)","u":"setShippingOptionCode(java.lang.String)"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingConfiguration","l":"setShippingOptionPriceType(ShippingOptionPriceType)","u":"setShippingOptionPriceType(com.salesmanager.core.model.shipping.ShippingOptionPriceType)"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingQuote","l":"setShippingOptions(List<ShippingOption>)","u":"setShippingOptions(java.util.List)"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingConfiguration","l":"setShippingPackageType(ShippingPackageType)","u":"setShippingPackageType(com.salesmanager.core.model.shipping.ShippingPackageType)"},{"p":"com.salesmanager.core.model.shipping","c":"PackageDetails","l":"setShippingQuantity(int)"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingOption","l":"setShippingQuoteOptionId(Long)","u":"setShippingQuoteOptionId(java.lang.Long)"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingQuote","l":"setShippingReturnCode(String)","u":"setShippingReturnCode(java.lang.String)"},{"p":"com.salesmanager.core.model.order","c":"OrderSummary","l":"setShippingSummary(ShippingSummary)","u":"setShippingSummary(com.salesmanager.core.model.shipping.ShippingSummary)"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingConfiguration","l":"setShippingType(ShippingType)","u":"setShippingType(com.salesmanager.core.model.shipping.ShippingType)"},{"p":"com.salesmanager.core.model.shipping","c":"PackageDetails","l":"setShippingWeight(double)"},{"p":"com.salesmanager.core.model.shipping","c":"PackageDetails","l":"setShippingWidth(double)"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingMetaData","l":"setShipToCountry(List<Country>)","u":"setShipToCountry(java.util.List)"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingConfiguration","l":"setShipType(String)","u":"setShipType(java.lang.String)"},{"p":"com.salesmanager.core.model.shoppingcart","c":"ShoppingCartItem","l":"setShoppingCart(ShoppingCart)","u":"setShoppingCart(com.salesmanager.core.model.shoppingcart.ShoppingCart)"},{"p":"com.salesmanager.core.model.shoppingcart","c":"ShoppingCart","l":"setShoppingCartCode(String)","u":"setShoppingCartCode(java.lang.String)"},{"p":"com.salesmanager.core.model.shoppingcart","c":"ShoppingCartAttributeItem","l":"setShoppingCartItem(ShoppingCartItem)","u":"setShoppingCartItem(com.salesmanager.core.model.shoppingcart.ShoppingCartItem)"},{"p":"com.salesmanager.core.model.customer","c":"Customer","l":"setShowBillingStateList(String)","u":"setShowBillingStateList(java.lang.String)"},{"p":"com.salesmanager.core.model.customer","c":"Customer","l":"setShowCustomerStateList(String)","u":"setShowCustomerStateList(java.lang.String)"},{"p":"com.salesmanager.core.model.customer","c":"Customer","l":"setShowDeliveryStateList(String)","u":"setShowDeliveryStateList(java.lang.String)"},{"p":"com.salesmanager.core.model.catalog.product","c":"Product","l":"setSku(String)","u":"setSku(java.lang.String)"},{"p":"com.salesmanager.core.model.order.orderproduct","c":"OrderProduct","l":"setSku(String)","u":"setSku(java.lang.String)"},{"p":"com.salesmanager.core.model.customer.attribute","c":"CustomerOptionSet","l":"setSortOrder(int)"},{"p":"com.salesmanager.core.model.order","c":"OrderTotal","l":"setSortOrder(int)"},{"p":"com.salesmanager.core.model.catalog.category","c":"Category","l":"setSortOrder(Integer)","u":"setSortOrder(java.lang.Integer)"},{"p":"com.salesmanager.core.model.catalog.product","c":"Product","l":"setSortOrder(Integer)","u":"setSortOrder(java.lang.Integer)"},{"p":"com.salesmanager.core.model.content","c":"Content","l":"setSortOrder(Integer)","u":"setSortOrder(java.lang.Integer)"},{"p":"com.salesmanager.core.model.customer.attribute","c":"CustomerOption","l":"setSortOrder(Integer)","u":"setSortOrder(java.lang.Integer)"},{"p":"com.salesmanager.core.model.customer.attribute","c":"CustomerOptionValue","l":"setSortOrder(Integer)","u":"setSortOrder(java.lang.Integer)"},{"p":"com.salesmanager.core.model.reference.language","c":"Language","l":"setSortOrder(Integer)","u":"setSortOrder(java.lang.Integer)"},{"p":"com.salesmanager.core.model.system.optin","c":"Optin","l":"setStartDate(Date)","u":"setStartDate(java.util.Date)"},{"p":"com.salesmanager.core.model.system","c":"SystemNotification","l":"setStartDate(Date)","u":"setStartDate(java.util.Date)"},{"p":"com.salesmanager.core.model.common","c":"Criteria","l":"setStartIndex(int)"},{"p":"com.salesmanager.core.model.common","c":"Billing","l":"setState(String)","u":"setState(java.lang.String)"},{"p":"com.salesmanager.core.model.common","c":"Delivery","l":"setState(String)","u":"setState(java.lang.String)"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingOrigin","l":"setState(String)","u":"setState(java.lang.String)"},{"p":"com.salesmanager.core.model.common","c":"Address","l":"setStateProvince(String)","u":"setStateProvince(java.lang.String)"},{"p":"com.salesmanager.core.model.tax.taxrate","c":"TaxRate","l":"setStateProvince(String)","u":"setStateProvince(java.lang.String)"},{"p":"com.salesmanager.core.model.catalog.product.review","c":"ProductReview","l":"setStatus(Integer)","u":"setStatus(java.lang.Integer)"},{"p":"com.salesmanager.core.model.customer.review","c":"CustomerReview","l":"setStatus(Integer)","u":"setStatus(java.lang.Integer)"},{"p":"com.salesmanager.core.model.order","c":"Order","l":"setStatus(OrderStatus)","u":"setStatus(com.salesmanager.core.model.order.orderstatus.OrderStatus)"},{"p":"com.salesmanager.core.model.order.orderstatus","c":"OrderStatusHistory","l":"setStatus(OrderStatus)","u":"setStatus(com.salesmanager.core.model.order.orderstatus.OrderStatus)"},{"p":"com.salesmanager.core.model.catalog.product","c":"ProductCriteria","l":"setStatus(String)","u":"setStatus(java.lang.String)"},{"p":"com.salesmanager.core.model.catalog.marketplace","c":"Catalog","l":"setStore(MerchantStore)","u":"setStore(com.salesmanager.core.model.merchant.MerchantStore)"},{"p":"com.salesmanager.core.model.catalog.marketplace","c":"MarketPlace","l":"setStore(MerchantStore)","u":"setStore(com.salesmanager.core.model.merchant.MerchantStore)"},{"p":"com.salesmanager.core.model.catalog.product.relationship","c":"ProductRelationship","l":"setStore(MerchantStore)","u":"setStore(com.salesmanager.core.model.merchant.MerchantStore)"},{"p":"com.salesmanager.core.model.order.filehistory","c":"FileHistory","l":"setStore(MerchantStore)","u":"setStore(com.salesmanager.core.model.merchant.MerchantStore)"},{"p":"com.salesmanager.core.model.system","c":"MerchantLog","l":"setStore(MerchantStore)","u":"setStore(com.salesmanager.core.model.merchant.MerchantStore)"},{"p":"com.salesmanager.core.model.search","c":"IndexProduct","l":"setStore(String)","u":"setStore(java.lang.String)"},{"p":"com.salesmanager.core.model.merchant","c":"MerchantStore","l":"setStoreaddress(String)","u":"setStoreaddress(java.lang.String)"},{"p":"com.salesmanager.core.model.merchant","c":"MerchantStore","l":"setStorecity(String)","u":"setStorecity(java.lang.String)"},{"p":"com.salesmanager.core.model.merchant","c":"MerchantStore","l":"setStoreEmailAddress(String)","u":"setStoreEmailAddress(java.lang.String)"},{"p":"com.salesmanager.core.model.merchant","c":"MerchantStore","l":"setStoreLogo(String)","u":"setStoreLogo(java.lang.String)"},{"p":"com.salesmanager.core.model.merchant","c":"MerchantStore","l":"setStorename(String)","u":"setStorename(java.lang.String)"},{"p":"com.salesmanager.core.model.merchant","c":"MerchantStore","l":"setStorephone(String)","u":"setStorephone(java.lang.String)"},{"p":"com.salesmanager.core.model.merchant","c":"MerchantStore","l":"setStorepostalcode(String)","u":"setStorepostalcode(java.lang.String)"},{"p":"com.salesmanager.core.model.merchant","c":"MerchantStore","l":"setStorestateprovince(String)","u":"setStorestateprovince(java.lang.String)"},{"p":"com.salesmanager.core.model.merchant","c":"MerchantStore","l":"setStoreTemplate(String)","u":"setStoreTemplate(java.lang.String)"},{"p":"com.salesmanager.core.model.order","c":"OrderTotalSummary","l":"setSubTotal(BigDecimal)","u":"setSubTotal(java.math.BigDecimal)"},{"p":"com.salesmanager.core.model.shoppingcart","c":"ShoppingCartItem","l":"setSubTotal(BigDecimal)","u":"setSubTotal(java.math.BigDecimal)"},{"p":"com.salesmanager.core.model.reference.country","c":"Country","l":"setSupported(boolean)"},{"p":"com.salesmanager.core.model.reference.currency","c":"Currency","l":"setSupported(Boolean)","u":"setSupported(java.lang.Boolean)"},{"p":"com.salesmanager.core.model.search","c":"IndexProduct","l":"setTags(List<String>)","u":"setTags(java.util.List)"},{"p":"com.salesmanager.core.model.tax","c":"TaxConfiguration","l":"setTaxBasisCalculation(TaxBasisCalculation)","u":"setTaxBasisCalculation(com.salesmanager.core.model.tax.TaxBasisCalculation)"},{"p":"com.salesmanager.core.model.catalog.product","c":"Product","l":"setTaxClass(TaxClass)","u":"setTaxClass(com.salesmanager.core.model.tax.taxclass.TaxClass)"},{"p":"com.salesmanager.core.model.tax.taxrate","c":"TaxRate","l":"setTaxClass(TaxClass)","u":"setTaxClass(com.salesmanager.core.model.tax.taxclass.TaxClass)"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingConfiguration","l":"setTaxOnShipping(boolean)"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingSummary","l":"setTaxOnShipping(boolean)"},{"p":"com.salesmanager.core.model.tax.taxrate","c":"TaxRate","l":"setTaxPriority(Integer)","u":"setTaxPriority(java.lang.Integer)"},{"p":"com.salesmanager.core.model.tax.taxrate","c":"TaxRate","l":"setTaxRate(BigDecimal)","u":"setTaxRate(java.math.BigDecimal)"},{"p":"com.salesmanager.core.model.tax","c":"TaxItem","l":"setTaxRate(TaxRate)","u":"setTaxRate(com.salesmanager.core.model.tax.taxrate.TaxRate)"},{"p":"com.salesmanager.core.model.tax.taxrate","c":"TaxRateDescription","l":"setTaxRate(TaxRate)","u":"setTaxRate(com.salesmanager.core.model.tax.taxrate.TaxRate)"},{"p":"com.salesmanager.core.model.tax.taxclass","c":"TaxClass","l":"setTaxRates(List<TaxRate>)","u":"setTaxRates(java.util.List)"},{"p":"com.salesmanager.core.model.tax.taxrate","c":"TaxRate","l":"setTaxRates(List<TaxRate>)","u":"setTaxRates(java.util.List)"},{"p":"com.salesmanager.core.model.order","c":"OrderTotalSummary","l":"setTaxTotal(BigDecimal)","u":"setTaxTotal(java.math.BigDecimal)"},{"p":"com.salesmanager.core.model.common","c":"Billing","l":"setTelephone(String)","u":"setTelephone(java.lang.String)"},{"p":"com.salesmanager.core.model.common","c":"Delivery","l":"setTelephone(String)","u":"setTelephone(java.lang.String)"},{"p":"com.salesmanager.core.model.system","c":"MerchantConfig","l":"setTestMode(boolean)"},{"p":"com.salesmanager.core.model.order","c":"OrderTotal","l":"setText(String)","u":"setText(java.lang.String)"},{"p":"com.salesmanager.core.model.customer.attribute","c":"CustomerAttribute","l":"setTextValue(String)","u":"setTextValue(java.lang.String)"},{"p":"com.salesmanager.core.model.common.description","c":"Description","l":"setTitle(String)","u":"setTitle(java.lang.String)"},{"p":"com.salesmanager.core.model.order","c":"OrderTotal","l":"setTitle(String)","u":"setTitle(java.lang.String)"},{"p":"com.salesmanager.core.model.tax.taxclass","c":"TaxClass","l":"setTitle(String)","u":"setTitle(java.lang.String)"},{"p":"com.salesmanager.core.model.order","c":"Order","l":"setTotal(BigDecimal)","u":"setTotal(java.math.BigDecimal)"},{"p":"com.salesmanager.core.model.order","c":"OrderTotalSummary","l":"setTotal(BigDecimal)","u":"setTotal(java.math.BigDecimal)"},{"p":"com.salesmanager.core.model.common","c":"EntityList","l":"setTotalCount(int)"},{"p":"com.salesmanager.core.model.user","c":"PermissionList","l":"setTotalCount(int)"},{"p":"com.salesmanager.core.model.search","c":"SearchResponse","l":"setTotalCount(long)"},{"p":"com.salesmanager.core.model.order","c":"OrderTotalSummary","l":"setTotals(List<OrderTotal>)","u":"setTotals(java.util.List)"},{"p":"com.salesmanager.core.model.payments","c":"Transaction","l":"setTransactionDate(Date)","u":"setTransactionDate(java.util.Date)"},{"p":"com.salesmanager.core.model.payments","c":"Transaction","l":"setTransactionDetails(Map<String, String>)","u":"setTransactionDetails(java.util.Map)"},{"p":"com.salesmanager.core.model.payments","c":"Payment","l":"setTransactionType(TransactionType)","u":"setTransactionType(com.salesmanager.core.model.payments.TransactionType)"},{"p":"com.salesmanager.core.model.payments","c":"Transaction","l":"setTransactionType(TransactionType)","u":"setTransactionType(com.salesmanager.core.model.payments.TransactionType)"},{"p":"com.salesmanager.core.model.shipping","c":"PackageDetails","l":"setTreshold(int)"},{"p":"com.salesmanager.core.model.catalog.product","c":"Product","l":"setType(ProductType)","u":"setType(com.salesmanager.core.model.catalog.product.type.ProductType)"},{"p":"com.salesmanager.core.model.system","c":"IntegrationModule","l":"setType(String)","u":"setType(java.lang.String)"},{"p":"com.salesmanager.core.model.system","c":"ModuleConfig","l":"setUri(String)","u":"setUri(java.lang.String)"},{"p":"com.salesmanager.core.model.catalog.product.manufacturer","c":"ManufacturerDescription","l":"setUrl(String)","u":"setUrl(java.lang.String)"},{"p":"com.salesmanager.core.model.catalog.product.manufacturer","c":"ManufacturerDescription","l":"setUrlClicked(Integer)","u":"setUrlClicked(java.lang.Integer)"},{"p":"com.salesmanager.core.model.merchant","c":"MerchantStore","l":"setUseCache(boolean)"},{"p":"com.salesmanager.core.model.system","c":"MerchantConfig","l":"setUseDefaultSearchConfig(Map<String, Boolean>)","u":"setUseDefaultSearchConfig(java.util.Map)"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingMetaData","l":"setUseDistanceModule(boolean)"},{"p":"com.salesmanager.core.model.common","c":"Criteria","l":"setUser(String)","u":"setUser(java.lang.String)"},{"p":"com.salesmanager.core.model.system","c":"SystemNotification","l":"setUser(User)","u":"setUser(com.salesmanager.core.model.user.User)"},{"p":"com.salesmanager.core.model.customer.connection","c":"AbstractUserConnection","l":"setUserId(String)","u":"setUserId(java.lang.String)"},{"p":"com.salesmanager.core.model.customer.connection","c":"AbstractUserConnectionWithCompositeKey","l":"setUserId(String)","u":"setUserId(java.lang.String)"},{"p":"com.salesmanager.core.model.customer.connection","c":"RemoteUser","l":"setUserId(String)","u":"setUserId(java.lang.String)"},{"p":"com.salesmanager.core.model.customer.connection","c":"UserConnectionPK","l":"setUserId(String)","u":"setUserId(java.lang.String)"},{"p":"com.salesmanager.core.model.security","c":"Secrets","l":"setUserName(String)","u":"setUserName(java.lang.String)"},{"p":"com.salesmanager.core.model.system.credentials","c":"Credentials","l":"setUserName(String)","u":"setUserName(java.lang.String)"},{"p":"com.salesmanager.core.model.order","c":"OrderTotal","l":"setValue(BigDecimal)","u":"setValue(java.math.BigDecimal)"},{"p":"com.salesmanager.core.model.order.attributes","c":"OrderAttribute","l":"setValue(String)","u":"setValue(java.lang.String)"},{"p":"com.salesmanager.core.model.system","c":"MerchantConfiguration","l":"setValue(String)","u":"setValue(java.lang.String)"},{"p":"com.salesmanager.core.model.system.optin","c":"CustomerOptin","l":"setValue(String)","u":"setValue(java.lang.String)"},{"p":"com.salesmanager.core.model.system","c":"SystemConfiguration","l":"setValue(String)","u":"setValue(java.lang.String)"},{"p":"com.salesmanager.core.model.system","c":"SystemNotification","l":"setValue(String)","u":"setValue(java.lang.String)"},{"p":"com.salesmanager.core.model.order","c":"OrderTotalVariation","l":"setVariations(List<OrderTotal>)","u":"setVariations(java.util.List)"},{"p":"com.salesmanager.core.model.catalog.category","c":"Category","l":"setVisible(boolean)"},{"p":"com.salesmanager.core.model.content","c":"Content","l":"setVisible(boolean)"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingQuote","l":"setWarnings(List<String>)","u":"setWarnings(java.util.List)"},{"p":"com.salesmanager.core.model.merchant","c":"MerchantStore","l":"setWeightunitcode(String)","u":"setWeightunitcode(java.lang.String)"},{"p":"com.salesmanager.core.model.common","c":"Address","l":"setZone(String)","u":"setZone(java.lang.String)"},{"p":"com.salesmanager.core.model.common","c":"Billing","l":"setZone(Zone)","u":"setZone(com.salesmanager.core.model.reference.zone.Zone)"},{"p":"com.salesmanager.core.model.common","c":"Delivery","l":"setZone(Zone)","u":"setZone(com.salesmanager.core.model.reference.zone.Zone)"},{"p":"com.salesmanager.core.model.merchant","c":"MerchantStore","l":"setZone(Zone)","u":"setZone(com.salesmanager.core.model.reference.zone.Zone)"},{"p":"com.salesmanager.core.model.reference.zone","c":"ZoneDescription","l":"setZone(Zone)","u":"setZone(com.salesmanager.core.model.reference.zone.Zone)"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingOrigin","l":"setZone(Zone)","u":"setZone(com.salesmanager.core.model.reference.zone.Zone)"},{"p":"com.salesmanager.core.model.tax.taxrate","c":"TaxRate","l":"setZone(Zone)","u":"setZone(com.salesmanager.core.model.reference.zone.Zone)"},{"p":"com.salesmanager.core.model.reference.country","c":"Country","l":"setZones(Set<Zone>)","u":"setZones(java.util.Set)"},{"p":"com.salesmanager.core.model.order","c":"OrderTotalType","l":"SHIPPING"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingBasisType","l":"SHIPPING"},{"p":"com.salesmanager.core.model.system","c":"Module","l":"SHIPPING"},{"p":"com.salesmanager.core.model.tax","c":"TaxBasisCalculation","l":"SHIPPINGADDRESS"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingConfiguration","l":"ShippingConfiguration()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingMetaData","l":"ShippingMetaData()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingOption","l":"ShippingOption()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingOrigin","l":"ShippingOrigin()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingProduct","l":"ShippingProduct(Product)","u":"%3Cinit%3E(com.salesmanager.core.model.catalog.product.Product)"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingQuote","l":"ShippingQuote()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingSummary","l":"ShippingSummary()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.system","c":"MerchantConfigurationType","l":"SHOP"},{"p":"com.salesmanager.core.model.order","c":"OrderSummaryType","l":"SHOPPINGCART"},{"p":"com.salesmanager.core.model.shoppingcart","c":"ShoppingCart","l":"ShoppingCart()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.shoppingcart","c":"ShoppingCartAttributeItem","l":"ShoppingCartAttributeItem()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.shoppingcart","c":"ShoppingCartAttributeItem","l":"ShoppingCartAttributeItem(ShoppingCartItem, ProductAttribute)","u":"%3Cinit%3E(com.salesmanager.core.model.shoppingcart.ShoppingCartItem,com.salesmanager.core.model.catalog.product.attribute.ProductAttribute)"},{"p":"com.salesmanager.core.model.shoppingcart","c":"ShoppingCartItem","l":"ShoppingCartItem()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.shoppingcart","c":"ShoppingCartItem","l":"ShoppingCartItem(Product)","u":"%3Cinit%3E(com.salesmanager.core.model.catalog.product.Product)"},{"p":"com.salesmanager.core.model.shoppingcart","c":"ShoppingCartItem","l":"ShoppingCartItem(ShoppingCart, Product)","u":"%3Cinit%3E(com.salesmanager.core.model.shoppingcart.ShoppingCart,com.salesmanager.core.model.catalog.product.Product)"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingDescription","l":"SHORT_DESCRIPTION"},{"p":"com.salesmanager.core.model.catalog.product.file","c":"ProductImageSize","l":"SMALL"},{"p":"com.salesmanager.core.model.system","c":"MerchantConfigurationType","l":"SOCIAL"},{"p":"com.salesmanager.core.model.content","c":"FileContentType","l":"STATIC_FILE"},{"p":"com.salesmanager.core.model.content","c":"StaticContentFile","l":"StaticContentFile()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.tax","c":"TaxBasisCalculation","l":"STOREADDRESS"},{"p":"com.salesmanager.core.model.payments","c":"PaymentType","l":"STRIPE"},{"p":"com.salesmanager.core.model.order","c":"OrderTotalType","l":"SUBTOTAL"},{"p":"com.salesmanager.core.model.system","c":"SystemConfiguration","l":"SystemConfiguration()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.system","c":"SystemNotification","l":"SystemNotification()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.order","c":"OrderTotalType","l":"TAX"},{"p":"com.salesmanager.core.model.tax.taxclass","c":"TaxClass","l":"TaxClass()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.tax.taxclass","c":"TaxClass","l":"TaxClass(String)","u":"%3Cinit%3E(java.lang.String)"},{"p":"com.salesmanager.core.model.tax","c":"TaxConfiguration","l":"TaxConfiguration()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.tax","c":"TaxItem","l":"TaxItem()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.tax.taxrate","c":"TaxRate","l":"TaxRate()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.tax.taxrate","c":"TaxRateDescription","l":"TaxRateDescription()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.system","c":"Environment","l":"TEST"},{"p":"com.salesmanager.core.model.system","c":"IntegrationConfiguration","l":"TEST_ENVIRONMENT"},{"p":"com.salesmanager.core.model.catalog.product.attribute","c":"ProductOptionType","l":"Text"},{"p":"com.salesmanager.core.model.customer.attribute","c":"CustomerOptionType","l":"Text"},{"p":"com.salesmanager.core.model.payments","c":"Transaction","l":"toJSONString()"},{"p":"com.salesmanager.core.model.search","c":"IndexProduct","l":"toJSONString()"},{"p":"com.salesmanager.core.model.search","c":"SearchKeywords","l":"toJSONString()"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingConfiguration","l":"toJSONString()"},{"p":"com.salesmanager.core.model.system","c":"IntegrationConfiguration","l":"toJSONString()"},{"p":"com.salesmanager.core.model.system","c":"MerchantConfig","l":"toJSONString()"},{"p":"com.salesmanager.core.model.tax","c":"TaxConfiguration","l":"toJSONString()"},{"p":"com.salesmanager.core.model.generic","c":"SalesManagerEntity","l":"toString()"},{"p":"com.salesmanager.core.model.order","c":"OrderTotalType","l":"TOTAL"},{"p":"com.salesmanager.core.model.payments","c":"Transaction","l":"Transaction()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.catalog.product","c":"ProductCondition","l":"USED"},{"p":"com.salesmanager.core.model.user","c":"User","l":"User()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.user","c":"User","l":"User(String, String, String)","u":"%3Cinit%3E(java.lang.String,java.lang.String,java.lang.String)"},{"p":"com.salesmanager.core.model.customer.connection","c":"UserConnection","l":"UserConnection()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.customer.connection","c":"UserConnectionPK","l":"UserConnectionPK()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.constants","c":"MeasureUnit","l":"valueOf(String)","u":"valueOf(java.lang.String)"},{"p":"com.salesmanager.core.model.catalog.product.attribute","c":"ProductOptionType","l":"valueOf(String)","u":"valueOf(java.lang.String)"},{"p":"com.salesmanager.core.model.catalog.product.file","c":"ProductImageSize","l":"valueOf(String)","u":"valueOf(java.lang.String)"},{"p":"com.salesmanager.core.model.catalog.product.price","c":"ProductPriceType","l":"valueOf(String)","u":"valueOf(java.lang.String)"},{"p":"com.salesmanager.core.model.catalog.product","c":"ProductCondition","l":"valueOf(String)","u":"valueOf(java.lang.String)"},{"p":"com.salesmanager.core.model.catalog.product.relationship","c":"ProductRelationshipType","l":"valueOf(String)","u":"valueOf(java.lang.String)"},{"p":"com.salesmanager.core.model.catalog.product","c":"RentalStatus","l":"valueOf(String)","u":"valueOf(java.lang.String)"},{"p":"com.salesmanager.core.model.common","c":"CriteriaOrderBy","l":"valueOf(String)","u":"valueOf(java.lang.String)"},{"p":"com.salesmanager.core.model.content","c":"ContentPosition","l":"valueOf(String)","u":"valueOf(java.lang.String)"},{"p":"com.salesmanager.core.model.content","c":"ContentType","l":"valueOf(String)","u":"valueOf(java.lang.String)"},{"p":"com.salesmanager.core.model.content","c":"FileContentType","l":"valueOf(String)","u":"valueOf(java.lang.String)"},{"p":"com.salesmanager.core.model.customer.attribute","c":"CustomerOptionType","l":"valueOf(String)","u":"valueOf(java.lang.String)"},{"p":"com.salesmanager.core.model.customer","c":"CustomerGender","l":"valueOf(String)","u":"valueOf(java.lang.String)"},{"p":"com.salesmanager.core.model.order","c":"OrderChannel","l":"valueOf(String)","u":"valueOf(java.lang.String)"},{"p":"com.salesmanager.core.model.order.orderstatus","c":"OrderStatus","l":"valueOf(String)","u":"valueOf(java.lang.String)"},{"p":"com.salesmanager.core.model.order","c":"OrderSummaryType","l":"valueOf(String)","u":"valueOf(java.lang.String)"},{"p":"com.salesmanager.core.model.order","c":"OrderTotalType","l":"valueOf(String)","u":"valueOf(java.lang.String)"},{"p":"com.salesmanager.core.model.order","c":"OrderType","l":"valueOf(String)","u":"valueOf(java.lang.String)"},{"p":"com.salesmanager.core.model.order","c":"OrderValueType","l":"valueOf(String)","u":"valueOf(java.lang.String)"},{"p":"com.salesmanager.core.model.payments","c":"CreditCardType","l":"valueOf(String)","u":"valueOf(java.lang.String)"},{"p":"com.salesmanager.core.model.payments","c":"PaymentType","l":"valueOf(String)","u":"valueOf(java.lang.String)"},{"p":"com.salesmanager.core.model.payments","c":"TransactionType","l":"valueOf(String)","u":"valueOf(java.lang.String)"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingBasisType","l":"valueOf(String)","u":"valueOf(java.lang.String)"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingDescription","l":"valueOf(String)","u":"valueOf(java.lang.String)"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingOptionPriceType","l":"valueOf(String)","u":"valueOf(java.lang.String)"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingPackageType","l":"valueOf(String)","u":"valueOf(java.lang.String)"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingType","l":"valueOf(String)","u":"valueOf(java.lang.String)"},{"p":"com.salesmanager.core.model.system","c":"Environment","l":"valueOf(String)","u":"valueOf(java.lang.String)"},{"p":"com.salesmanager.core.model.system","c":"MerchantConfigurationType","l":"valueOf(String)","u":"valueOf(java.lang.String)"},{"p":"com.salesmanager.core.model.system","c":"Module","l":"valueOf(String)","u":"valueOf(java.lang.String)"},{"p":"com.salesmanager.core.model.system.optin","c":"OptinType","l":"valueOf(String)","u":"valueOf(java.lang.String)"},{"p":"com.salesmanager.core.model.tax","c":"TaxBasisCalculation","l":"valueOf(String)","u":"valueOf(java.lang.String)"},{"p":"com.salesmanager.core.model.user","c":"GroupType","l":"valueOf(String)","u":"valueOf(java.lang.String)"},{"p":"com.salesmanager.core.constants","c":"MeasureUnit","l":"values()"},{"p":"com.salesmanager.core.model.catalog.product.attribute","c":"ProductOptionType","l":"values()"},{"p":"com.salesmanager.core.model.catalog.product.file","c":"ProductImageSize","l":"values()"},{"p":"com.salesmanager.core.model.catalog.product.price","c":"ProductPriceType","l":"values()"},{"p":"com.salesmanager.core.model.catalog.product","c":"ProductCondition","l":"values()"},{"p":"com.salesmanager.core.model.catalog.product.relationship","c":"ProductRelationshipType","l":"values()"},{"p":"com.salesmanager.core.model.catalog.product","c":"RentalStatus","l":"values()"},{"p":"com.salesmanager.core.model.common","c":"CriteriaOrderBy","l":"values()"},{"p":"com.salesmanager.core.model.content","c":"ContentPosition","l":"values()"},{"p":"com.salesmanager.core.model.content","c":"ContentType","l":"values()"},{"p":"com.salesmanager.core.model.content","c":"FileContentType","l":"values()"},{"p":"com.salesmanager.core.model.customer.attribute","c":"CustomerOptionType","l":"values()"},{"p":"com.salesmanager.core.model.customer","c":"CustomerGender","l":"values()"},{"p":"com.salesmanager.core.model.order","c":"OrderChannel","l":"values()"},{"p":"com.salesmanager.core.model.order.orderstatus","c":"OrderStatus","l":"values()"},{"p":"com.salesmanager.core.model.order","c":"OrderSummaryType","l":"values()"},{"p":"com.salesmanager.core.model.order","c":"OrderTotalType","l":"values()"},{"p":"com.salesmanager.core.model.order","c":"OrderType","l":"values()"},{"p":"com.salesmanager.core.model.order","c":"OrderValueType","l":"values()"},{"p":"com.salesmanager.core.model.payments","c":"CreditCardType","l":"values()"},{"p":"com.salesmanager.core.model.payments","c":"PaymentType","l":"values()"},{"p":"com.salesmanager.core.model.payments","c":"TransactionType","l":"values()"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingBasisType","l":"values()"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingDescription","l":"values()"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingOptionPriceType","l":"values()"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingPackageType","l":"values()"},{"p":"com.salesmanager.core.model.shipping","c":"ShippingType","l":"values()"},{"p":"com.salesmanager.core.model.system","c":"Environment","l":"values()"},{"p":"com.salesmanager.core.model.system","c":"MerchantConfigurationType","l":"values()"},{"p":"com.salesmanager.core.model.system","c":"Module","l":"values()"},{"p":"com.salesmanager.core.model.system.optin","c":"OptinType","l":"values()"},{"p":"com.salesmanager.core.model.tax","c":"TaxBasisCalculation","l":"values()"},{"p":"com.salesmanager.core.model.user","c":"GroupType","l":"values()"},{"p":"com.salesmanager.core.model.payments","c":"CreditCardType","l":"VISA"},{"p":"com.salesmanager.core.model.payments","c":"PaymentType","l":"WEPAY"},{"p":"com.salesmanager.core.model.reference.zone","c":"Zone","l":"Zone()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.reference.zone","c":"Zone","l":"Zone(Country, String, String)","u":"%3Cinit%3E(com.salesmanager.core.model.reference.country.Country,java.lang.String,java.lang.String)"},{"p":"com.salesmanager.core.model.reference.zone","c":"ZoneDescription","l":"ZoneDescription()","u":"%3Cinit%3E()"},{"p":"com.salesmanager.core.model.reference.zone","c":"ZoneDescription","l":"ZoneDescription(Zone, Language, String)","u":"%3Cinit%3E(com.salesmanager.core.model.reference.zone.Zone,com.salesmanager.core.model.reference.language.Language,java.lang.String)"}];updateSearchResults(); | 240,563 | 240,563 | 0.725473 |
1e17a63501a40fe4b5fedee2e61833c0dc8faf21 | 6,080 | js | JavaScript | public/assets/frontend/js/customs.js | iqbalmalik89/sababoo | c397a3d75d2b045e81772ce9648dc1e53acabc57 | [
"MIT"
] | null | null | null | public/assets/frontend/js/customs.js | iqbalmalik89/sababoo | c397a3d75d2b045e81772ce9648dc1e53acabc57 | [
"MIT"
] | null | null | null | public/assets/frontend/js/customs.js | iqbalmalik89/sababoo | c397a3d75d2b045e81772ce9648dc1e53acabc57 | [
"MIT"
] | null | null | null |
jQuery(function($) {
"use strict";
/**
* introLoader - Preloader
*/
$("#introLoader").introLoader({
animation: {
name: 'gifLoader',
options: {
ease: "easeInOutCirc",
style: 'dark bubble',
delayBefore: 500,
delayAfter: 0,
exitTime: 300
}
}
});
/**
* Sticky Header
*/
$(".container-wrapper").waypoint(function() {
$(".navbar").toggleClass("navbar-sticky-function");
$(".navbar").toggleClass("navbar-default navbar-sticky");
return false;
}, { offset: "-20px" });
/**
* Main Menu Slide Down Effect
*/
// Mouse-enter dropdown
$('#navbar li').on("mouseenter", function() {
$(this).find('ul').first().stop(true, true).delay(350).slideDown(500, 'easeInOutQuad');
});
// Mouse-leave dropdown
$('#navbar li').on("mouseleave", function() {
$(this).find('ul').first().stop(true, true).delay(100).slideUp(150, 'easeInOutQuad');
});
/**
* Effect to Bootstrap Dropdown
*/
$('.bt-dropdown-click').on('show.bs.dropdown', function(e) {
$(this).find('.dropdown-menu').first().stop(true, true).slideDown(500, 'easeInOutQuad');
});
$('.bt-dropdown-click').on('hide.bs.dropdown', function(e) {
$(this).find('.dropdown-menu').first().stop(true, true).slideUp(250, 'easeInOutQuad');
});
/**
* Icon Change on Collapse
*/
$('.collapse.in').prev('.panel-heading').addClass('active');
$('.bootstarp-accordion, .bootstarp-toggle').on('show.bs.collapse', function(a) {
$(a.target).prev('.panel-heading').addClass('active');
})
.on('hide.bs.collapse', function(a) {
$(a.target).prev('.panel-heading').removeClass('active');
});
/**
* Slicknav - a Mobile Menu
*/
var $slicknav_label;
$('#responsive-menu').slicknav({
duration: 500,
easingOpen: 'easeInExpo',
easingClose: 'easeOutExpo',
closedSymbol: '<i class="fa fa-plus"></i>',
openedSymbol: '<i class="fa fa-minus"></i>',
prependTo: '#slicknav-mobile',
allowParentLinks: true,
label:""
});
/**
* Smooth scroll to anchor
*/
$('a.anchor[href*=#]:not([href=#])').on("click",function() {
if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') && location.hostname == this.hostname) {
var target = $(this.hash);
target = target.length ? target : $('[name=' + this.hash.slice(1) +']');
if (target.length) {
$('html,body').animate({
scrollTop: (target.offset().top - 90) // 90 offset for navbar menu
}, 1000);
return false;
}
}
});
/**
* Another Bootstrap Toggle
*/
$('.another-toggle').each(function(){
if( $('h4',this).hasClass('active') ){
$(this).find('.another-toggle-content').show();
}
});
$('.another-toggle h4').click(function(){
if( $(this).hasClass('active') ){
$(this).removeClass('active');
$(this).next('.another-toggle-content').slideUp();
} else {
$(this).addClass('active');
$(this).next('.another-toggle-content').slideDown();
}
});
/**
* Arrow for Menu has sub-menu
*/
/* if ($(window).width() > 992) {
$(".navbar-arrow > ul > li").has("ul").children("a").append("<i class='arrow-indicator fa fa-angle-down'></i>");
} */
if ($(window).width() > 992) {
$(".navbar-arrow ul ul > li").has("ul").children("a").append("<i class='arrow-indicator fa fa-angle-right'></i>");
}
/**
* Back To Top
*/
$(window).scroll(function(){
if($(window).scrollTop() > 500){
$("#back-to-top").fadeIn(200);
} else{
$("#back-to-top").fadeOut(200);
}
});
$('#back-to-top').on("click",function() {
$('html, body').animate({ scrollTop:0 }, '800');
return false;
});
/**
* Bootstrap Tooltip
*/
$(function () {
$('[data-toggle="tooltip"]').tooltip()
})
/**
* Placeholder
*/
$("input, textarea").placeholder();
/**
* Latest Job Ticker
*/
$('.latest-job-ticker').easyTicker({
visible: 1,
interval: 4000
});
/**
* Responsive Grid
*/
$('.grid-category-wrapper').responsivegrid({
gutter : '20px',
itemSelector : '.grid-category-item',
'breakpoints': {
'desktop' : {
'range' : '1200-',
'options' : {
'column' : 20,
}
},
'tablet-landscape' : {
'range' : '1000-1200',
'options' : {
'column' : 20,
}
},
'tablet-portrate' : {
'range' : '767-1000',
'options' : {
'column' : 10,
'itemHeight' : '30%',
}
},
'mobile' : {
'range' : '-767',
'options' : {
'column' : 5,
}
},
}
});
/**
* Counter - Number animation
*/
$(".counter").countimator();
/**
* Price Range Slider
*/
$("#price_range").ionRangeSlider({
type: "double",
grid: true,
min: 0,
max: 1000,
from: 200,
to: 800,
prefix: "$"
});
/**
* Custom File input
*/
$('.file-input').jfilestyle({
buttonText : 'Choose your file'
});
/**
* WYSIHTML5 - A better approach to rich text editing
*/
$('.bootstrap3-wysihtml5').wysihtml5({});
/**
* Tokenfield for Bootstrap
* http://sliptree.github.io/bootstrap-tokenfield/
*/
$('.tokenfield').tokenfield()
// Autocomplete Tagging
var engine = new Bloodhound({
local: [{value: 'red'}, {value: 'blue'}, {value: 'green'} , {value: 'yellow'}, {value: 'violet'}, {value: 'brown'}, {value: 'purple'}, {value: 'black'}, {value: 'white'}],
datumTokenizer: function(d) {
return Bloodhound.tokenizers.whitespace(d.value);
},
queryTokenizer: Bloodhound.tokenizers.whitespace
});
engine.initialize();
$('#autocompleteTagging').tokenfield({
typeahead: [null, { source: engine.ttAdapter() }]
});
/**
* Slick for Carousel
*/
$('.slick-carousel-4-col').slick({
dots: true,
infinite: true,
speed: 500,
slidesToShow: 4,
slidesToScroll: 4,
responsive: [
{
breakpoint: 1199,
settings: {
slidesToShow: 4,
}
},
{
breakpoint: 991,
settings: {
slidesToShow: 3,
}
},
{
breakpoint: 767,
settings: {
slidesToShow: 2,
}
},
{
breakpoint: 480,
settings: {
slidesToShow: 1,
}
}
]
});
})(jQuery);
| 18.258258 | 173 | 0.557237 |
1e17e69f4881a9101df15585e2020416c105a579 | 1,094 | js | JavaScript | service/StoreService.js | gustavobertolino/route-optmizer | 0de60c2ac407328feb9b6aa02a7881ce230760aa | [
"Apache-2.0"
] | null | null | null | service/StoreService.js | gustavobertolino/route-optmizer | 0de60c2ac407328feb9b6aa02a7881ce230760aa | [
"Apache-2.0"
] | 15 | 2020-02-15T13:40:49.000Z | 2020-10-09T22:43:54.000Z | service/StoreService.js | gustavobertolino/route-optmizer | 0de60c2ac407328feb9b6aa02a7881ce230760aa | [
"Apache-2.0"
] | null | null | null | const Store = require('../model/Store.js');
exports.createNewStore = async (storeDto) => {
const newStore = new Store({
name: storeDto.name,
latitude: storeDto.latitude,
longitude: storeDto.longitude
});
await newStore.save()
.then(data => {return {success: true, result: data};})
.catch(error => {return {success: false, result: error};
});
}
exports.findStoreById = async (storeId) => {
try {
var result = await Store.findById(storeId);
return {success: true, result: result};
} catch (error) {
throw new Error(error);
}
}
exports.findAllStores = async () => {
try {
var result = await Store.find();
return {success: true, result: result};
} catch(error) {
return {success: false, result: error};
}
}
exports.updateStore = async (storeId, storeDto) => {
try {
var result = await Store.findByIdAndUpdate(storeId, storeDto, {new: true});
return {success: true, result: result};
} catch(error) {
throw new Error(error);
}
} | 26.682927 | 83 | 0.586837 |
1e17e9c5bb03243528ff2195c27fb298cbef5865 | 3,313 | js | JavaScript | packages/@vue/cli-ui/tests/e2e/specs/g1-projects.js | shangsandalaohu123/vue-cli | a7d14996c1d3d5ebef359d8e8696df6ce13e3829 | [
"MIT"
] | 3 | 2019-12-05T19:09:24.000Z | 2020-12-28T05:56:44.000Z | packages/@vue/cli-ui/tests/e2e/specs/g1-projects.js | webmas0124/vue-cli | 17339d7726c63807aca5d2a91d02e69de5b965fc | [
"MIT"
] | 19 | 2020-10-13T05:24:02.000Z | 2020-10-13T05:24:53.000Z | packages/@vue/cli-ui/tests/e2e/specs/g1-projects.js | webmas0124/vue-cli | 17339d7726c63807aca5d2a91d02e69de5b965fc | [
"MIT"
] | 3 | 2018-07-23T11:10:28.000Z | 2018-10-17T11:30:42.000Z | describe('Vue project manager', () => {
it('Switches between tabs', () => {
cy.visit('/project/select')
cy.get('.project-select-list').should('be.visible')
cy.get('.tab-button').eq(1).click()
cy.get('.folder-explorer').should('be.visible')
cy.get('.tab-button').eq(2).click()
cy.get('.folder-explorer').should('be.visible')
cy.get('.tab-button').eq(0).click()
cy.get('.project-select-list').should('be.visible')
})
it('Creates a new project (manual)', () => {
cy.viewport(1400, 800)
cy.visit('/project/select')
cy.get('.tab-button').eq(1).click()
cy.get('.folder-explorer').should('be.visible')
cy.get('.create-project').click()
cy.get('.change-folder').click()
cy.get('.create').within(() => {
cy.get('.folder-explorer').should('be.visible')
cy.get('.edit-path-button').click()
cy.get('.path-input input').clear().type(Cypress.env('cwd') + '{enter}')
cy.get('.create-project').click()
})
cy.get('.details').within(() => {
cy.get('.app-name input').type('cli-ui-test')
cy.get('.force').click()
cy.get('.next').click()
})
cy.get('.presets').within(() => {
cy.get('[data-testid="__manual__"]').click()
cy.get('.next').click()
})
cy.get('.features').within(() => {
cy.get('[data-testid="pwa"] .bullet').click()
cy.get('[data-testid="router"] .bullet').click()
cy.get('[data-testid="vuex"] .bullet').click()
cy.get('[data-testid="use-config-files"] .bullet').click()
cy.get('.next').click()
})
cy.get('.config').within(() => {
cy.get('.vue-ui-select').eq(1).click()
})
cy.get('.vue-ui-select-button').eq(2).click()
cy.get('.config').within(() => {
cy.get('.vue-ui-switch').click({ multiple: true })
cy.get('.next').click()
})
cy.get('.save-preset-modal').within(() => {
cy.get('.continue').click()
})
cy.get('.loading-screen .vue-ui-loading-indicator').should('be.visible')
cy.get('.project-home', { timeout: 250000 }).should('be.visible')
cy.get('.project-nav .current-project').should('contain', 'cli-ui-test')
})
it('Favorites the project', () => {
cy.visit('/project/select')
cy.get('.project-select-list-item').eq(0).get('[data-testid="favorite-button"]').click()
cy.get('.cta-text.favorite').should('be.visible')
cy.get('.project-select-list-item').eq(0).get('[data-testid="favorite-button"]').click()
cy.get('.cta-text.favorite').should('not.exist')
})
it('Imports a project', () => {
cy.viewport(1400, 800)
cy.visit('/project/select')
cy.get('.project-select-list-item').eq(0).get('[data-testid="delete-button"]').click()
cy.get('.project-select-list-item').should('not.exist')
cy.get('.tab-button').eq(2).click()
cy.get('.import').within(() => {
cy.get('.folder-explorer').should('be.visible')
cy.get('.edit-path-button').click()
cy.get('.path-input input').clear().type(Cypress.env('cwd') + '{enter}')
cy.get('.folder-explorer-item:contains(\'cli-ui-test\')').click()
cy.get('.import-project').should('not.have.class', 'disabled').click()
})
cy.get('.project-home').should('be.visible')
cy.get('.project-nav .current-project').should('contain', 'cli-ui-test')
})
})
| 39.915663 | 92 | 0.57863 |
1e17ed9cef3d44973f03446f74af496c529ceecc | 91 | js | JavaScript | www/js/component/layout/input/input-text/input-text-const.js | webbestmaster/forgot-password | 847a85a43bcccad74f6ac89c5c1accc997696332 | [
"MIT"
] | null | null | null | www/js/component/layout/input/input-text/input-text-const.js | webbestmaster/forgot-password | 847a85a43bcccad74f6ac89c5c1accc997696332 | [
"MIT"
] | null | null | null | www/js/component/layout/input/input-text/input-text-const.js | webbestmaster/forgot-password | 847a85a43bcccad74f6ac89c5c1accc997696332 | [
"MIT"
] | null | null | null | // @flow
export const inputTextTypeMap = {
text: 'text',
password: 'password',
};
| 13 | 33 | 0.604396 |
1e181041becf2ac7df103f24dcca5f4a67dee0b0 | 10,023 | js | JavaScript | dist/seulex/core/LexParser.js | Withod/seu-lex-yacc | 0036bd2bda5ebbac4c889b3b0ee548fbd7f80627 | [
"MIT"
] | 4 | 2020-05-14T06:17:25.000Z | 2022-03-15T06:13:30.000Z | dist/seulex/core/LexParser.js | Withod/seu-lex-yacc | 0036bd2bda5ebbac4c889b3b0ee548fbd7f80627 | [
"MIT"
] | null | null | null | dist/seulex/core/LexParser.js | Withod/seu-lex-yacc | 0036bd2bda5ebbac4c889b3b0ee548fbd7f80627 | [
"MIT"
] | 6 | 2020-05-02T01:11:41.000Z | 2021-07-09T05:30:19.000Z | "use strict";
/**
* Lex源文件(.l)解析器
* by z0gSh1u & Withod
* 2020-05 @ https://github.com/z0gSh1u/seu-lex-yacc
*/
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const fs_1 = __importDefault(require("fs"));
const utils_1 = require("../../utils");
const Regex_1 = require("./Regex");
/**
* .l文件解析器
*/
class LexParser {
constructor(filePath) {
this._filePath = filePath;
this._rawContent = fs_1.default.readFileSync(this._filePath).toString().replace(/\r\n/g, '\n'); // 换行一律LF,没有CR
this._regexAliases = {};
this._actions = {}; // 历史遗留产物
this._regexActionMap = new Map();
this._fillText();
this._fillAttributes();
}
get copyPart() {
return this._copyPart;
}
get cCodePart() {
return this._cCodePart;
}
get actionPart() {
return this._actionPart;
}
get regexAliases() {
return this._regexAliases;
}
get regexActionMap() {
return this._regexActionMap;
}
/**
* @deprecated 历史遗留产物
*/
get actions() {
return this._actions;
}
/**
* 解析出四部分的文本
*/
_fillText() {
this._splitContent = this._rawContent.split('\n');
let copyPartStart = -1, copyPartEnd = -1, twoPercent = [];
// 寻找分界符位置
this._splitContent.forEach((v, i) => {
switch (v.trimRight() // 要求左侧顶格
) {
case '%{':
utils_1.assert(copyPartStart === -1, 'Bad .l structure. Duplicate %{.');
copyPartStart = i;
break;
case '%}':
utils_1.assert(copyPartEnd === -1, 'Bad .l structure. Duplicate %}.');
copyPartEnd = i;
break;
case '%%':
utils_1.assert(twoPercent.length < 2, 'Bad .l structure. Duplicate %%.');
twoPercent.push(i);
break;
}
});
utils_1.assert(copyPartStart !== -1, 'Bad .l structure. {% not found.');
utils_1.assert(copyPartEnd !== -1, 'Bad .l structure. %} not found.');
utils_1.assert(twoPercent.length === 2, 'Bad .l structure. No enough %%.');
// 最末尾的C代码部分
this._cCodePart = this._splitContent.slice(twoPercent[1] + 1).join('\n');
// 开头的直接复制部分
this._copyPart = this._splitContent.slice(copyPartStart + 1, copyPartEnd).join('\n');
// 中间的正则-动作部分
this._actionPart = this._splitContent.slice(twoPercent[0] + 1, twoPercent[1]).join('\n');
// 剩余的是正则别名部分
this._regexAliasPart =
this._splitContent.slice(0, copyPartStart).join('\n') +
this._splitContent.slice(copyPartEnd + 1, twoPercent[0]).join('\n');
}
/**
* 填充解析结果
*/
_fillAttributes() {
// 分析正则别名部分
this._regexAliasPart.split('\n').forEach(v => {
if (v.trim() !== '') {
v = v.trim();
let spaceTest = /\s+/.exec(v);
utils_1.assert(spaceTest, `Invalid regex alias line: ${v}`);
let alias = v.substring(0, spaceTest === null || spaceTest === void 0 ? void 0 : spaceTest.index);
utils_1.assert((spaceTest === null || spaceTest === void 0 ? void 0 : spaceTest.index) < v.length - 1, `Invalid regex alias line: ${v}`);
let regex = v.substring(spaceTest === null || spaceTest === void 0 ? void 0 : spaceTest.index).trimLeft();
utils_1.assert(!(alias in this._regexAliases), `Regex alias re-definition found: ${v}`);
this._regexAliases[alias] = regex;
}
});
// 分析规则与动作部分,并作别名展开
let regexPart = '', // 读取的正则部分
actionPart = '', // 读取的动作部分
regexes = [], // 别名展开后的正则列表
isReadingRegex = true, // 是否正在读取正则
isWaitingOr = false, // 是否正在等待正则间的“或”运算符
isInQuote = false, // 是否在引号内
isSlash = false, // 是否转义
isInBrackets = false, // 是否在方括号内
braceLevel = 0, // 读取动作时处于第几层花括号内
codeOrder = 0;
this._actionPart.split('').forEach(c => {
if (isReadingRegex) {
// 正在读取正则
if (isWaitingOr) {
// 正在等待正则间的或运算符
if (c.trim()) {
// 非空白字符
isWaitingOr = false;
if (c != '|')
isReadingRegex = false;
}
}
else {
if (!isInQuote && !isInBrackets && !c.trim() && regexPart != '') {
// 正则读取完毕
let ptr1 = 0;
isSlash = false;
for (; ptr1 < regexPart.length; ptr1++) {
// 寻找正则别名的开头{
let char = regexPart.charAt(ptr1);
if (!isInQuote && !isSlash && !isInBrackets && char == '{') {
// 开始读取别名
let ptr2 = ptr1 + 1, alias = '';
for (; ptr2 < regexPart.length; ptr2++) {
// 寻找别名的结尾}
char = regexPart.charAt(ptr2);
if (char == '}')
break; // 完成读取别名
alias += char;
}
utils_1.assert(ptr2 < regexPart.length, `Missing right brace at the end of alias: ${alias}`);
if (alias in this._regexAliases) {
regexPart =
regexPart.substring(0, ptr1) +
'(' +
this._regexAliases[alias] +
')' +
regexPart.substring(ptr2 + 1);
ptr1 -= 1;
}
else
ptr1 = ptr2;
}
else if (char == '\\')
isSlash = !isSlash;
else if (!isSlash && !isInBrackets && char == '"')
isInQuote = !isInQuote;
else if (!isSlash && !isInQuote && char == '[')
isInBrackets = true;
else if (!isSlash && isInBrackets && char == ']')
isInBrackets = false;
else
isSlash = false;
}
utils_1.assert(!this._actions.hasOwnProperty(regexPart), `Regex re-definition found: ${regexPart}`);
regexes.push(regexPart);
regexPart = '';
isSlash = false;
isInQuote = false;
isInBrackets = false;
isWaitingOr = true; // 开始等待正则间的或运算符
}
else {
regexPart += c.trim() ? c : regexPart == '' ? '' : ' ';
if (c == '\\')
isSlash = !isSlash;
else if (c == '"' && !isSlash && !isInBrackets)
isInQuote = !isInQuote;
else if (c == '[' && !isSlash && !isInQuote)
isInBrackets = true;
else if (c == ']' && !isSlash && isInBrackets)
isInBrackets = false;
else
isSlash = false;
}
}
}
// 正在读取动作
if (!isReadingRegex) {
actionPart += c.trim() ? c : ' ';
if ((!isInQuote && braceLevel == 0 && c == ';') ||
(!isInQuote && c == '}' && braceLevel == 1)) {
// 动作读取完毕
regexes.forEach(regex => {
// 规范化动作
actionPart = actionPart.trim();
if (actionPart === ';') {
actionPart = ''; // 单独分号表示什么都不做
}
else if (actionPart[0] === '{') {
// 去掉大括号
actionPart = actionPart.substring(1, actionPart.length - 1);
}
this._actions[regex] = actionPart.trim();
this._regexActionMap.set(new Regex_1.Regex(regex), {
code: actionPart.trim(),
order: codeOrder++,
});
});
regexes = [];
isSlash = false;
isInQuote = false;
isInBrackets = false;
braceLevel = 0;
actionPart = '';
isReadingRegex = true; // 开始读取正则
}
else {
if (c == '\\')
isSlash = !isSlash;
else if (!isSlash && (c == "'" || c == '"'))
isInQuote = !isInQuote;
else if (!isInQuote && c == '{')
braceLevel += 1;
else if (!isInQuote && c == '}')
braceLevel = Math.max(0, braceLevel - 1);
else
isSlash = false;
}
}
});
}
}
exports.LexParser = LexParser;
| 42.113445 | 153 | 0.396887 |
1e1820724fee2f6ee99a0e41f6e58d072049e7e0 | 619 | js | JavaScript | icons/SelectionOffIcon.js | cyjake/material | eb0ee2393f200b544900d7360741ef760a6db48c | [
"MIT"
] | 5 | 2018-11-21T09:41:06.000Z | 2020-11-04T13:46:37.000Z | icons/SelectionOffIcon.js | cyjake/material | eb0ee2393f200b544900d7360741ef760a6db48c | [
"MIT"
] | 4 | 2019-03-06T13:41:48.000Z | 2020-04-08T00:53:00.000Z | icons/SelectionOffIcon.js | cyjake/material | eb0ee2393f200b544900d7360741ef760a6db48c | [
"MIT"
] | 5 | 2020-04-07T22:11:38.000Z | 2022-01-10T20:10:06.000Z | import React from 'react'
const DEFAULT_SIZE = 24
export default ({
fill = 'currentColor',
width = DEFAULT_SIZE,
height = DEFAULT_SIZE,
style = {},
...props
}) => (
<svg
viewBox={ `0 0 ${ DEFAULT_SIZE } ${ DEFAULT_SIZE }` }
style={{ fill, width, height, ...style }}
{ ...props }
>
<path d="M0.5,3.77L1.78,2.5L21.5,22.22L20.23,23.5L18.73,22H17V20.27L3.73,7H2V5.27L0.5,3.77M4,2H7V4H5.82L3.83,2H4M22,4V7H20V4H17V2H20C21.1,2 22,2.9 22,4M20,17H22V20L22,20.17L20,18.18V17M2,20V17H4V20H7V22H4C2.9,22 2,21.1 2,20M10,2H14V4H10V2M10,20H14V22H10V20M20,10H22V14H20V10M2,10H4V14H2V10Z" />
</svg>
)
| 30.95 | 298 | 0.675283 |
1e185ce63f93917a62d6f54f78737431a6855cb1 | 1,085 | js | JavaScript | src/Modules/SimplCommerce.Module.Catalog/wwwroot/admin/simple-product-widget/simple-product-widget-service.js | shirajulmamun/SimplCommerce | baa772568fc6155f060403e67a3da76f59fa17b2 | [
"Apache-2.0"
] | 4 | 2017-11-01T15:29:57.000Z | 2019-08-17T04:05:52.000Z | src/Modules/SimplCommerce.Module.Catalog/wwwroot/admin/simple-product-widget/simple-product-widget-service.js | shirajulmamun/SimplCommerce | baa772568fc6155f060403e67a3da76f59fa17b2 | [
"Apache-2.0"
] | 2 | 2019-04-21T14:36:01.000Z | 2019-05-13T14:11:36.000Z | src/Modules/SimplCommerce.Module.Catalog/wwwroot/admin/simple-product-widget/simple-product-widget-service.js | shirajulmamun/SimplCommerce | baa772568fc6155f060403e67a3da76f59fa17b2 | [
"Apache-2.0"
] | 2 | 2019-04-10T16:12:38.000Z | 2019-05-03T06:28:51.000Z | /*global angular*/
(function () {
angular
.module('simplAdmin.catalog')
.factory('simpleProductWidgetService', simpleProductWidgetService);
/* @ngInject */
function simpleProductWidgetService($http, Upload) {
var service = {
getWidgetZones: getWidgetZones,
getSimpleProductWidget: getSimpleProductWidget,
createSimpleProductWidget: createSimpleProductWidget,
editSimpleProductWidget: editSimpleProductWidget
};
return service;
function getWidgetZones() {
return $http.get('api/widget-zones');
}
function getSimpleProductWidget(id) {
return $http.get('api/simple-product-widgets/' + id);
}
function createSimpleProductWidget(widgetInstance) {
return $http.post('api/simple-product-widgets', widgetInstance);
}
function editSimpleProductWidget(widgetInstance) {
return $http.put('api/simple-product-widgets/' + widgetInstance.id, widgetInstance);
}
}
})(); | 31.911765 | 96 | 0.62765 |
1e186a4983bc2473f62ee0b1a95b72cfdf1323d5 | 639 | js | JavaScript | packages/generator-casco/generators/example-ping-pong/templates/start.js | ledgitbe/casco | b6c5d1cb7c663cca5c1eb9314bca7849644378b8 | [
"MIT"
] | 12 | 2019-09-10T12:53:47.000Z | 2021-06-24T15:05:23.000Z | packages/generator-casco/generators/example-ping-pong/templates/start.js | ledgitbe/casco | b6c5d1cb7c663cca5c1eb9314bca7849644378b8 | [
"MIT"
] | 8 | 2020-05-14T12:37:15.000Z | 2022-02-26T15:25:46.000Z | packages/generator-casco/generators/example-ping-pong/templates/start.js | ledgitbe/casco | b6c5d1cb7c663cca5c1eb9314bca7849644378b8 | [
"MIT"
] | null | null | null | #!/usr/bin/node
const path = require('path');
const Datapay = require('datapay')
const QRCode = require('qrcode-terminal');
require('dotenv').config();
if (process.argv.length < 3) {
console.log(`Usage: ./start.js ping`);
console.log(`Address: ${process.env.ADDRESS}`);
QRCode.generate(process.env.ADDRESS, { small: true });
process.exit(0);
}
const func = process.argv[2];
Datapay.send(
{
data: [process.env.ADDRESS, JSON.stringify([func])],
pay: { key: process.env.PRIVATE_KEY }
},
(err, txid) => {
if (err) {
console.log(err)
} else {
console.log(`Transaction sent. ${txid}`);
}
}
);
| 22.034483 | 56 | 0.616588 |
1e19396f8b3d73e22bbe7713e2d6e2589dba09b1 | 5,794 | js | JavaScript | js/getResource.js | thisisrajneel/QuickLearn | 1e9880612653ae25d645d53efe15be5a2a87fad2 | [
"MIT"
] | 1 | 2022-03-14T18:20:29.000Z | 2022-03-14T18:20:29.000Z | js/getResource.js | thisisrajneel/QuickLearn | 1e9880612653ae25d645d53efe15be5a2a87fad2 | [
"MIT"
] | null | null | null | js/getResource.js | thisisrajneel/QuickLearn | 1e9880612653ae25d645d53efe15be5a2a87fad2 | [
"MIT"
] | null | null | null | /* Source Logic */
let selectCategoryBtn = document.querySelectorAll(".select-category-btn");
// Contribution and Resource Box
const resourceBox = document.getElementById("resourceBox");
const contributionGuidline = document.getElementById("contributionGuideline");
// Resource Showcase Section
const beginnerResourceBox = document.getElementById("beginnerResourceBox");
const intermediateResourceBox = document.getElementById(
"intermediateResourceBox"
);
const advancedResourceBox = document.getElementById("advancedResourceBox");
// const domains = ["web","web","web"];
const programming = ["c++", "java", "python"];
const programmingLength = programming.length;
const domains = [
"c++",
"java",
"python",
"frontend",
"backend",
"mern",
"android",
"flutter",
"ios",
"react_native",
"general",
"illustrations",
"motion",
"photo",
"sound",
"ui-ux",
"video",
"ai",
"computer_vision",
"deep_learning",
"machine_learning",
"big_data",
"statistics",
"blockchain",
"ethical_hacking",
"Game_dev",
"robotics",
"CyberSecurity"
];
let bres = "";
let bdata = "";
let ires = "";
let idata = "";
let ares = "";
let adata = "";
// Contribution Btn
contributionBtn.addEventListener("click", (e) => {
resourceBox.style.display = "none";
contributionGuidline.style.display = "block";
contributionBtn.style.backgroundColor = "#6940d3";
contributionBtn.style.color = "white";
for (let j = 0; j < category.length; j++) {
selectBtn[j].style.backgroundColor = "white";
selectBtn[j].style.color = "black";
}
for (let i = 0; i < category.length; i++) {
let x = category[i].querySelector(".select-option");
x.style.display = "none";
}
});
// Select Category Btn
for (let i = 0; i < selectCategoryBtn.length; i++) {
selectCategoryBtn[i].addEventListener("click", async (e) => {
contributionGuidline.style.display = "none";
resourceBox.style.display = "block";
/* getting domain */
beginnerResourceBox.innerHTML = "";
intermediateResourceBox.innerHTML = "";
advancedResourceBox.innerHTML = "";
const value = selectCategoryBtn[i].value;
if (value == "Blockchain" || value=="ethical_hacking" || value=="Game_dev" || value=="robotics" || value =="CyberSecurity") {
console.log("hello");
/* beginner*/
bres = await fetch(`./data/domains/${value}/beginner.json`);
bdata = await bres.json();
/* intermediate */
ires = await fetch(`./data/domains/${value}/intermediate.json`);
idata = await ires.json();
/* advanced */
ares = await fetch(`./data/domains/${value}/advanced.json`);
adata = await ares.json();
}
else {
/* beginner*/
console.log("here");
bres = await fetch(`./data/domains/${value}/${domains[i]}/beginner.json`);
bdata = await bres.json();
/* intermediate */
ires = await fetch(
`./data/domains/${value}/${domains[i]}/intermediate.json`
);
idata = await ires.json();
/* advanced */
ares = await fetch(`./data/domains/${value}/${domains[i]}/advanced.json`);
adata = await ares.json();
}
/* beginner data */
// later we can have loader
setTimeout(() => {
if (bdata != "") {
for (let i = 0; i < bdata.length; i++) {
beginnerResourceBox.innerHTML += `
<div class="col-6 col-md-3">
<div class="card m-3" style="width: 15rem">
<img
src="./assets/images/explore.jpg"
class="card-img-top img-sz mx-auto"
alt="..."
/>
<div class="card-body text-center">
<h5 class="card-title">${bdata[i].title}</h5>
<a href="${bdata[i].link}" class="btn view-more-btn" target="_blank">View More</a>
</div>
</div>
</div>`;
}
} else {
beginnerResourceBox.innerHTML += `<img
src="./assets/images/empty.jpg"
class="card-img-top img-sz mx-auto"
alt="..."
/>`;
}
/* Intermediate Resource Box */
if (idata != "") {
for (let i = 0; i < idata.length; i++) {
intermediateResourceBox.innerHTML += `
<div class="col-6 col-md-3">
<div class="card m-3" style="width: 15rem">
<img
src="./assets/images/explore.jpg"
class="card-img-top img-sz mx-auto"
alt="..."
/>
<div class="card-body text-center">
<h5 class="card-title">${idata[i].title}</h5>
<a href="${idata[i].link}" class="btn view-more-btn" target="_blank">View More</a>
</div>
</div>
</div>`;
}
} else {
intermediateResourceBox.innerHTML += `<img
src="./assets/images/empty.jpg"
class="card-img-top img-sz mx-auto"
alt="..."
/>`;
}
/* Advanced Resource Box */
if (adata != "") {
for (let i = 0; i < adata.length; i++) {
advancedResourceBox.innerHTML += `
<div class="col-6 col-md-3">
<div class="card m-3" style="width: 15rem">
<img
src="./assets/images/explore.jpg"
class="card-img-top img-sz mx-auto"
alt="..."
/>
<div class="card-body text-center">
<h5 class="card-title">${adata[i].title}</h5>
<a href="${adata[i].link}" class="btn view-more-btn" target="_blank">View More</a>
</div>
</div>
</div>`;
}
} else {
advancedResourceBox.innerHTML += `<img
src="./assets/images/empty.jpg"
class="card-img-top img-sz mx-auto"
alt="..."
/>`;
}
}, 300);
});
}
| 31.318919 | 129 | 0.553158 |
1e1996b24873281466e3abcc641c4c266fadc8f2 | 1,186 | js | JavaScript | 26-stripe-follow-along-nav/script.js | GaneshmKumar/javascript30 | c7bd6fac74e10aa0e2718d066e4f813616ecf2ce | [
"MIT"
] | 1 | 2020-12-30T10:31:24.000Z | 2020-12-30T10:31:24.000Z | 26-stripe-follow-along-nav/script.js | GaneshmKumar/javascript30 | c7bd6fac74e10aa0e2718d066e4f813616ecf2ce | [
"MIT"
] | null | null | null | 26-stripe-follow-along-nav/script.js | GaneshmKumar/javascript30 | c7bd6fac74e10aa0e2718d066e4f813616ecf2ce | [
"MIT"
] | null | null | null | const triggers = document.querySelectorAll('.cool > li');
const background = document.querySelector('.dropdownBackground');
const nav = document.querySelector('.top');
const handleEnter = function() {
this.classList.add('trigger-enter');
setTimeout(() => this.classList.contains('trigger-enter') && this.classList.add('trigger-enter-active'), 150);
background.classList.add('open');
const dropdown = this.querySelector('.dropdown');
const dropdownCoors = dropdown.getBoundingClientRect();
const navCoors = nav.getBoundingClientRect();
const coors = {
width: dropdownCoors.width,
height: dropdownCoors.height,
top: dropdownCoors.top - navCoors.top,
left: dropdownCoors.left - navCoors.left
}
background.style.width = `${coors.width}px`;
background.style.height = `${coors.height}px`;
background.style.transform = `translate(${coors.left}px, ${coors.top}px)`;
}
const handleLeave = function() {
this.classList.remove('trigger-enter', 'trigger-enter-active');
background.classList.remove('open');
}
triggers.forEach(trigger => trigger.addEventListener('mouseenter', handleEnter));
triggers.forEach(trigger => trigger.addEventListener('mouseleave', handleLeave)); | 37.0625 | 111 | 0.745363 |
1e19cf5e624ef926dfb7c4a39970c4d9b66e6bd3 | 15,763 | js | JavaScript | public/theme/libs/bower/bootstrap-tagsinput/dist/bootstrap-tagsinput.min.js | Kirito223/dutoan | b07324e1b398a0326309612b9c77f443a461a555 | [
"MIT"
] | null | null | null | public/theme/libs/bower/bootstrap-tagsinput/dist/bootstrap-tagsinput.min.js | Kirito223/dutoan | b07324e1b398a0326309612b9c77f443a461a555 | [
"MIT"
] | 6 | 2021-01-07T02:14:35.000Z | 2021-05-01T08:00:53.000Z | public/theme/libs/bower/bootstrap-tagsinput/dist/bootstrap-tagsinput.min.js | Kirito223/dutoan | b07324e1b398a0326309612b9c77f443a461a555 | [
"MIT"
] | null | null | null | /*
* bootstrap-tagsinput v0.8.0
*
*/
! function(a) {
"use strict";
function b(b, c) {
this.isInit = !0, this.itemsArray = [], this.$element = a(b), this.$element.hide(), this.isSelect = "SELECT" === b.tagName, this.multiple = this.isSelect && b.hasAttribute("multiple"), this.objectItems = c && c.itemValue, this.placeholderText = b.hasAttribute("placeholder") ? this.$element.attr("placeholder") : "", this.inputSize = Math.max(1, this.placeholderText.length), this.$container = a('<div class="bootstrap-tagsinput"></div>'), this.$input = a('<input type="text" placeholder="' + this.placeholderText + '"/>').appendTo(this.$container), this.$element.before(this.$container), this.build(c), this.isInit = !1
}
function c(a, b) {
if ("function" != typeof a[b]) {
var c = a[b];
a[b] = function(a) {
return a[c]
}
}
}
function d(a, b) {
if ("function" != typeof a[b]) {
var c = a[b];
a[b] = function() {
return c
}
}
}
function e(a) {
return a ? i.text(a).html() : ""
}
function f(a) {
var b = 0;
if (document.selection) {
a.focus();
var c = document.selection.createRange();
c.moveStart("character", -a.value.length), b = c.text.length
} else(a.selectionStart || "0" == a.selectionStart) && (b = a.selectionStart);
return b
}
function g(b, c) {
var d = !1;
return a.each(c, function(a, c) {
if ("number" == typeof c && b.which === c) return d = !0, !1;
if (b.which === c.which) {
var e = !c.hasOwnProperty("altKey") || b.altKey === c.altKey,
f = !c.hasOwnProperty("shiftKey") || b.shiftKey === c.shiftKey,
g = !c.hasOwnProperty("ctrlKey") || b.ctrlKey === c.ctrlKey;
if (e && f && g) return d = !0, !1
}
}), d
}
var h = {
tagClass: function(a) {
return "label label-info"
},
focusClass: "focus",
itemValue: function(a) {
return a ? a.toString() : a
},
itemText: function(a) {
return this.itemValue(a)
},
itemTitle: function(a) {
return null
},
freeInput: !0,
addOnBlur: !0,
maxTags: void 0,
maxChars: void 0,
confirmKeys: [13, 44],
delimiter: ",",
delimiterRegex: null,
cancelConfirmKeysOnEmpty: !1,
onTagExists: function(a, b) {
b.hide().fadeIn()
},
trimValue: !1,
allowDuplicates: !1,
triggerChange: !0
};
b.prototype = {
constructor: b,
add: function(b, c, d) {
var f = this;
if (!(f.options.maxTags && f.itemsArray.length >= f.options.maxTags) && (b === !1 || b)) {
if ("string" == typeof b && f.options.trimValue && (b = a.trim(b)), "object" == typeof b && !f.objectItems) throw "Can't add objects when itemValue option is not set";
if (!b.toString().match(/^\s*$/)) {
if (f.isSelect && !f.multiple && f.itemsArray.length > 0 && f.remove(f.itemsArray[0]), "string" == typeof b && "INPUT" === this.$element[0].tagName) {
var g = f.options.delimiterRegex ? f.options.delimiterRegex : f.options.delimiter,
h = b.split(g);
if (h.length > 1) {
for (var i = 0; i < h.length; i++) this.add(h[i], !0);
return void(c || f.pushVal(f.options.triggerChange))
}
}
var j = f.options.itemValue(b),
k = f.options.itemText(b),
l = f.options.tagClass(b),
m = f.options.itemTitle(b),
n = a.grep(f.itemsArray, function(a) {
return f.options.itemValue(a) === j
})[0];
if (!n || f.options.allowDuplicates) {
if (!(f.items().toString().length + b.length + 1 > f.options.maxInputLength)) {
var o = a.Event("beforeItemAdd", {
item: b,
cancel: !1,
options: d
});
if (f.$element.trigger(o), !o.cancel) {
f.itemsArray.push(b);
var p = a('<span class="tag ' + e(l) + (null !== m ? '" title="' + m : "") + '">' + e(k) + '<span data-role="remove"></span></span>');
p.data("item", b), f.findInputWrapper().before(p), p.after(" ");
var q = a('option[value="' + encodeURIComponent(j) + '"]', f.$element).length || a('option[value="' + e(j) + '"]', f.$element).length;
if (f.isSelect && !q) {
var r = a("<option selected>" + e(k) + "</option>");
r.data("item", b), r.attr("value", j), f.$element.append(r)
}
c || f.pushVal(f.options.triggerChange), (f.options.maxTags === f.itemsArray.length || f.items().toString().length === f.options.maxInputLength) && f.$container.addClass("bootstrap-tagsinput-max"), a(".typeahead, .twitter-typeahead", f.$container).length && f.$input.typeahead("val", ""), this.isInit ? f.$element.trigger(a.Event("itemAddedOnInit", {
item: b,
options: d
})) : f.$element.trigger(a.Event("itemAdded", {
item: b,
options: d
}))
}
}
} else if (f.options.onTagExists) {
var s = a(".tag", f.$container).filter(function() {
return a(this).data("item") === n
});
f.options.onTagExists(b, s)
}
}
}
},
remove: function(b, c, d) {
var e = this;
if (e.objectItems && (b = "object" == typeof b ? a.grep(e.itemsArray, function(a) {
return e.options.itemValue(a) == e.options.itemValue(b)
}) : a.grep(e.itemsArray, function(a) {
return e.options.itemValue(a) == b
}), b = b[b.length - 1]), b) {
var f = a.Event("beforeItemRemove", {
item: b,
cancel: !1,
options: d
});
if (e.$element.trigger(f), f.cancel) return;
a(".tag", e.$container).filter(function() {
return a(this).data("item") === b
}).remove(), a("option", e.$element).filter(function() {
return a(this).data("item") === b
}).remove(), -1 !== a.inArray(b, e.itemsArray) && e.itemsArray.splice(a.inArray(b, e.itemsArray), 1)
}
c || e.pushVal(e.options.triggerChange), e.options.maxTags > e.itemsArray.length && e.$container.removeClass("bootstrap-tagsinput-max"), e.$element.trigger(a.Event("itemRemoved", {
item: b,
options: d
}))
},
removeAll: function() {
var b = this;
for (a(".tag", b.$container).remove(), a("option", b.$element).remove(); b.itemsArray.length > 0;) b.itemsArray.pop();
b.pushVal(b.options.triggerChange)
},
refresh: function() {
var b = this;
a(".tag", b.$container).each(function() {
var c = a(this),
d = c.data("item"),
f = b.options.itemValue(d),
g = b.options.itemText(d),
h = b.options.tagClass(d);
if (c.attr("class", null), c.addClass("tag " + e(h)), c.contents().filter(function() {
return 3 == this.nodeType
})[0].nodeValue = e(g), b.isSelect) {
var i = a("option", b.$element).filter(function() {
return a(this).data("item") === d
});
i.attr("value", f)
}
})
},
items: function() {
return this.itemsArray
},
pushVal: function() {
var b = this,
c = a.map(b.items(), function(a) {
return b.options.itemValue(a).toString()
});
b.$element.val(c, !0), b.options.triggerChange && b.$element.trigger("change")
},
build: function(b) {
var e = this;
if (e.options = a.extend({}, h, b), e.objectItems && (e.options.freeInput = !1), c(e.options, "itemValue"), c(e.options, "itemText"), d(e.options, "tagClass"), e.options.typeahead) {
var i = e.options.typeahead || {};
d(i, "source"), e.$input.typeahead(a.extend({}, i, {
source: function(b, c) {
function d(a) {
for (var b = [], d = 0; d < a.length; d++) {
var g = e.options.itemText(a[d]);
f[g] = a[d], b.push(g)
}
c(b)
}
this.map = {};
var f = this.map,
g = i.source(b);
a.isFunction(g.success) ? g.success(d) : a.isFunction(g.then) ? g.then(d) : a.when(g).then(d)
},
updater: function(a) {
return e.add(this.map[a]), this.map[a]
},
matcher: function(a) {
return -1 !== a.toLowerCase().indexOf(this.query.trim().toLowerCase())
},
sorter: function(a) {
return a.sort()
},
highlighter: function(a) {
var b = new RegExp("(" + this.query + ")", "gi");
return a.replace(b, "<strong>$1</strong>")
}
}))
}
if (e.options.typeaheadjs) {
var j = null,
k = {},
l = e.options.typeaheadjs;
a.isArray(l) ? (j = l[0], k = l[1]) : k = l, e.$input.typeahead(j, k).on("typeahead:selected", a.proxy(function(a, b) {
k.valueKey ? e.add(b[k.valueKey]) : e.add(b), e.$input.typeahead("val", "")
}, e))
}
e.$container.on("click", a.proxy(function(a) {
e.$element.attr("disabled") || e.$input.removeAttr("disabled"), e.$input.focus()
}, e)), e.options.addOnBlur && e.options.freeInput && e.$input.on("focusout", a.proxy(function(b) {
0 === a(".typeahead, .twitter-typeahead", e.$container).length && (e.add(e.$input.val()), e.$input.val(""))
}, e)), e.$container.on({
focusin: function() {
e.$container.addClass(e.options.focusClass)
},
focusout: function() {
e.$container.removeClass(e.options.focusClass)
}
}), e.$container.on("keydown", "input", a.proxy(function(b) {
var c = a(b.target),
d = e.findInputWrapper();
if (e.$element.attr("disabled")) return void e.$input.attr("disabled", "disabled");
switch (b.which) {
case 8:
if (0 === f(c[0])) {
var g = d.prev();
g.length && e.remove(g.data("item"))
}
break;
case 46:
if (0 === f(c[0])) {
var h = d.next();
h.length && e.remove(h.data("item"))
}
break;
case 37:
var i = d.prev();
0 === c.val().length && i[0] && (i.before(d), c.focus());
break;
case 39:
var j = d.next();
0 === c.val().length && j[0] && (j.after(d), c.focus())
}
var k = c.val().length;
Math.ceil(k / 5);
c.attr("size", Math.max(this.inputSize, c.val().length))
}, e)), e.$container.on("keypress", "input", a.proxy(function(b) {
var c = a(b.target);
if (e.$element.attr("disabled")) return void e.$input.attr("disabled", "disabled");
var d = c.val(),
f = e.options.maxChars && d.length >= e.options.maxChars;
e.options.freeInput && (g(b, e.options.confirmKeys) || f) && (0 !== d.length && (e.add(f ? d.substr(0, e.options.maxChars) : d), c.val("")), e.options.cancelConfirmKeysOnEmpty === !1 && b.preventDefault());
var h = c.val().length;
Math.ceil(h / 5);
c.attr("size", Math.max(this.inputSize, c.val().length))
}, e)), e.$container.on("click", "[data-role=remove]", a.proxy(function(b) {
e.$element.attr("disabled") || e.remove(a(b.target).closest(".tag").data("item"))
}, e)), e.options.itemValue === h.itemValue && ("INPUT" === e.$element[0].tagName ? e.add(e.$element.val()) : a("option", e.$element).each(function() {
e.add(a(this).attr("value"), !0)
}))
},
destroy: function() {
var a = this;
a.$container.off("keypress", "input"), a.$container.off("click", "[role=remove]"), a.$container.remove(), a.$element.removeData("tagsinput"), a.$element.show()
},
focus: function() {
this.$input.focus()
},
input: function() {
return this.$input
},
findInputWrapper: function() {
for (var b = this.$input[0], c = this.$container[0]; b && b.parentNode !== c;) b = b.parentNode;
return a(b)
}
}, a.fn.tagsinput = function(c, d, e) {
var f = [];
return this.each(function() {
var g = a(this).data("tagsinput");
if (g)
if (c || d) {
if (void 0 !== g[c]) {
if (3 === g[c].length && void 0 !== e) var h = g[c](d, null, e);
else var h = g[c](d);
void 0 !== h && f.push(h)
}
} else f.push(g);
else g = new b(this, c), a(this).data("tagsinput", g), f.push(g), "SELECT" === this.tagName && a("option", a(this)).attr("selected", "selected"), a(this).val(a(this).val())
}), "string" == typeof c ? f.length > 1 ? f : f[0] : f
}, a.fn.tagsinput.Constructor = b;
var i = a("<div />");
a(function() {
a("input[data-role=tagsinput], select[multiple][data-role=tagsinput]").tagsinput()
})
}(window.jQuery);
//# sourceMappingURL=bootstrap-tagsinput.min.js.map | 48.057927 | 628 | 0.420859 |
1e1ab878eb3a4b19c1534e30942d8b2189b4f6d0 | 847 | js | JavaScript | public/backend_admin/vendors/jquery/src/core/ready.min.js | liudianpeng/wisdom | 76a86f02440faa53adcfb6ee8f1037e256a6263b | [
"Apache-2.0"
] | 1 | 2021-03-28T07:35:01.000Z | 2021-03-28T07:35:01.000Z | public/backend_admin/vendors/jquery/src/core/ready.min.js | liudianpeng/wisdom | 76a86f02440faa53adcfb6ee8f1037e256a6263b | [
"Apache-2.0"
] | null | null | null | public/backend_admin/vendors/jquery/src/core/ready.min.js | liudianpeng/wisdom | 76a86f02440faa53adcfb6ee8f1037e256a6263b | [
"Apache-2.0"
] | null | null | null | define(["../core","../var/document","../core/init","../deferred"],function(c,a){var d;c.fn.ready=function(e){c.ready.promise().done(e);return this};c.extend({isReady:false,readyWait:1,holdReady:function(e){if(e){c.readyWait++}else{c.ready(true)}},ready:function(e){if(e===true?--c.readyWait:c.isReady){return}c.isReady=true;if(e!==true&&--c.readyWait>0){return}d.resolveWith(a,[c]);if(c.fn.triggerHandler){c(a).triggerHandler("ready");c(a).off("ready")}}});function b(){a.removeEventListener("DOMContentLoaded",b);window.removeEventListener("load",b);c.ready()}c.ready.promise=function(e){if(!d){d=c.Deferred();if(a.readyState==="complete"||(a.readyState!=="loading"&&!a.documentElement.doScroll)){window.setTimeout(c.ready)}else{a.addEventListener("DOMContentLoaded",b);window.addEventListener("load",b)}}return d.promise(e)};c.ready.promise()}); | 847 | 847 | 0.720189 |
1e1ad61986c4a64fd74dff83f8e22f9dfe9460a2 | 3,338 | js | JavaScript | packages/hardhat/deploy/00_deploy_your_contract.js | eagleDAO/NeptuneHalo | 04ea65e558948b7eec6cb304c68e6b9f5b8005b4 | [
"MIT"
] | null | null | null | packages/hardhat/deploy/00_deploy_your_contract.js | eagleDAO/NeptuneHalo | 04ea65e558948b7eec6cb304c68e6b9f5b8005b4 | [
"MIT"
] | null | null | null | packages/hardhat/deploy/00_deploy_your_contract.js | eagleDAO/NeptuneHalo | 04ea65e558948b7eec6cb304c68e6b9f5b8005b4 | [
"MIT"
] | null | null | null | // deploy/00_deploy_your_contract.js
const { ethers } = require("hardhat");
const localChainId = "31337";
const owner = "0x7cAb1990de608084D5865aa87EBe4947Cf0A6700";
const host = "0xEB796bdb90fFA0f28255275e16936D25d3418603";
const cfa = "0x49e565Ed1bdc17F3d220f72DF0857C26FA83F873";
const ETHx = "0x5D8B4C2554aeB7e86F387B4d6c00Ac33499Ed01f";
// const sleep = (ms) =>
// new Promise((r) =>
// setTimeout(() => {
// console.log(`waited for ${(ms / 1000).toFixed(3)} seconds`);
// r();
// }, ms)
// );
module.exports = async ({ getNamedAccounts, deployments, getChainId }) => {
const { deploy } = deployments;
const { deployer } = await getNamedAccounts();
const chainId = await getChainId();
await deploy("TestContract", {
// Learn more about args here: https://www.npmjs.com/package/hardhat-deploy#deploymentsdeploy
from: deployer,
// args: [ "Hello", ethers.utils.parseEther("1.5") ],
log: true,
waitConfirmations: 5,
});
await deploy("TradeableCashflow", {
// Learn more about args here: https://www.npmjs.com/package/hardhat-deploy#deploymentsdeploy
from: deployer,
args: [owner, "PrizeFlow", "PLS", host, cfa, ETHx],
log: true,
waitConfirmations: 5,
});
// Getting a previously deployed contract
const TestContract = await ethers.getContract("TestContract", deployer);
const TradeableCashflow = await ethers.getContract(
"TradeableCashflow",
deployer
);
// await TestContract.transferOwnership(
// 0x7cab1990de608084d5865aa87ebe4947cf0a6700
// );
/* await YourContract.setPurpose("Hello");
To take ownership of yourContract using the ownable library uncomment next line and add the
// await yourContract.transferOwnership(YOUR_ADDRESS_HERE);
address you want to be the owner.
//const yourContract = await ethers.getContractAt('YourContract', "0xaAC799eC2d00C013f1F11c37E654e59B0429DF6A") //<-- if you want to instantiate a version of a contract at a specific address!
*/
/*
//If you want to send value to an address from the deployer
const deployerWallet = ethers.provider.getSigner()
await deployerWallet.sendTransaction({
to: "0x34aA3F359A9D614239015126635CE7732c18fDF3",
value: ethers.utils.parseEther("0.001")
})
*/
/*
//If you want to send some ETH to a contract on deploy (make your constructor payable!)
const yourContract = await deploy("YourContract", [], {
value: ethers.utils.parseEther("0.05")
});
*/
/*
//If you want to link a library into your contract:
// reference: https://github.com/austintgriffith/scaffold-eth/blob/using-libraries-example/packages/hardhat/scripts/deploy.js#L19
const yourContract = await deploy("YourContract", [], {}, {
LibraryName: **LibraryAddress**
});
*/
// Verify from the command line by running `yarn verify`
// You can also Verify your contracts with Etherscan here...
// You don't want to verify on localhost
// try {
// if (chainId !== localChainId) {
// await run("verify:verify", {
// address: YourContract.address,
// contract: "contracts/YourContract.sol:YourContract",
// contractArguments: [],
// });
// }
// } catch (error) {
// console.error(error);
// }
};
module.exports.tags = ["TestContract"];
module.exports.tags = ["PrizeFlow"];
| 32.72549 | 193 | 0.68544 |
1e1b4be638975699f2651a9258e00c0dd6e7ab64 | 401 | js | JavaScript | lib/constants.js | kurtaking/nextjs-personal-website-template | 2e8b74a7ff067477fad4adda952712d13fbb0643 | [
"MIT"
] | 1 | 2022-02-16T05:19:05.000Z | 2022-02-16T05:19:05.000Z | lib/constants.js | kurtaking/nextjs-personal-website-template | 2e8b74a7ff067477fad4adda952712d13fbb0643 | [
"MIT"
] | 18 | 2022-02-16T04:29:33.000Z | 2022-02-28T04:17:12.000Z | lib/constants.js | kurtaking/nextjs-personal-website-template | 2e8b74a7ff067477fad4adda952712d13fbb0643 | [
"MIT"
] | null | null | null | /**
* Social Links
*/
export const TWITTER_BASE_URL = 'https://twitter.com/'
export const GITHUB_BASE_URL = 'https://github.com/'
export const INSTAGRAM_BASE_URL = 'https://www.instagram.com/'
export const LINKEDIN_BASE_URL = 'https://www.linkedin.com/in/'
export const EASTER_EGG = '/kurtaking/nextjs-personal-website-template'
/**
* NextJS Revalidation
*/
export const TIME_TIL_REVALIDATE = 10
| 28.642857 | 71 | 0.74813 |
1e1bf5bca363ac94ffef6dfe22668a086c4e93bc | 1,264 | js | JavaScript | src/dashboard/rewards/RewardsModernCompat.js | Capeia/capeia | 8ffef214972f7879d33fc3d2117150091ef761fe | [
"MIT"
] | null | null | null | src/dashboard/rewards/RewardsModernCompat.js | Capeia/capeia | 8ffef214972f7879d33fc3d2117150091ef761fe | [
"MIT"
] | null | null | null | src/dashboard/rewards/RewardsModernCompat.js | Capeia/capeia | 8ffef214972f7879d33fc3d2117150091ef761fe | [
"MIT"
] | null | null | null | // @flow
import React from 'react'
import PropTypes from 'prop-types'
import { QueryRenderer, graphql } from 'react-relay'
import RewardsScreen from './RewardsScreen'
import type { RewardsModernCompatQueryResponse } from './__generated__/RewardsModernCompatQuery'
const query = graphql`
query RewardsModernCompatQuery {
auth {
...RewardsScreen_auth
}
}
`
type State = {
mounted: boolean
}
/**
* Compatibility layer for rewards, which run on Relay Modern, to be loaded
* into classic route (deferred).
*
* TODO RELAY Get rid of this, render via route instead
*/
export default class RewardsModernCompat extends React.Component {
static contextTypes = {
relayModernEnv: PropTypes.object
}
state: State = {
mounted: false
}
componentDidMount () {
this.setState({ mounted: true })
}
_renderContainer ({ props }: { props: RewardsModernCompatQueryResponse }) {
if (props) {
return (
<RewardsScreen auth={props.auth} />
)
}
return <div>Loading...</div>
}
render () {
if (this.state.mounted === false) return null
return (
<QueryRenderer
query={query}
environment={this.context.relayModernEnv}
render={this._renderContainer} />
)
}
}
| 21.793103 | 96 | 0.664557 |
1e1bf824b41f2deea308925fdc7a81aa661b68f0 | 747,876 | js | JavaScript | Dataset 2017/4- Games/5- Wowhead.com/1- basketball-keyword/basketball_files/locale_enus.js | Fadwa-estuka/Testbed-Dataset-for-Data-Record-Extraction-and-Alignment | 2a40c15b6987d2b6aac0ed0ed224de32dfa35ec7 | [
"MIT"
] | 1 | 2018-04-28T00:50:52.000Z | 2018-04-28T00:50:52.000Z | Dataset 2017/4- Games/5- Wowhead.com/3- playstation-keyword/playstation_files/locale_enus.js | Fadwa-estuka/Testbed-Dataset-for-Data-Record-Extraction-and-Alignment | 2a40c15b6987d2b6aac0ed0ed224de32dfa35ec7 | [
"MIT"
] | null | null | null | Dataset 2017/4- Games/5- Wowhead.com/3- playstation-keyword/playstation_files/locale_enus.js | Fadwa-estuka/Testbed-Dataset-for-Data-Record-Extraction-and-Alignment | 2a40c15b6987d2b6aac0ed0ed224de32dfa35ec7 | [
"MIT"
] | null | null | null | function mn_setSubmenu(e,a,c){for(var d=0,b;b=e[d];d++){if(b[0]==a){b[3]=c}}}var l_reputation_names=["","Registered account","Daily visit","Posted comment","Your comment was upvoted","Your comment was downvoted","Submitted screenshot","Cast vote","Uploaded data","Report accepted","Report declined","Copper Achievement","Silver Achievement","Gold Achievement","Test 1","Test 2","Guide approved","Moderator Warning","Moderator Suspension"];var l_achievement_qualities=[[""],["Copper"],["Silver"],["Gold"]];var l_guide_categories={7:"Achievements",17:"Artifact Weapons",11:"Battle Pets",1:"Classes",15:"Class Halls",5:"Dungeons & Raids",6:"Economy & Money",13:"Garrisons",4:"New Players",2:"Professions",12:"Reputation",16:"Returning Players",10:"Transmogrification",8:"Vanity Collections",3:"World Events",9:"Miscellaneous"};var l_guide_states=["","Draft","Waiting for Approval","Approved","Rejected","Archived"];var l_guide_states_color=["","#71D5FF","#FFFF00","#1EFF00","#FF4040","#FFD100"];var mn_classes=[[6,"Death Knight","/death-knight",,{className:"c6",tinyIcon:"class_deathknight"}],[12,"Demon Hunter","/demon-hunter",,{className:"c12",tinyIcon:"class_demonhunter"}],[11,"Druid","/druid",,{className:"c11",tinyIcon:"class_druid"}],[3,"Hunter","/hunter",,{className:"c3",tinyIcon:"class_hunter"}],[8,"Mage","/mage",,{className:"c8",tinyIcon:"class_mage"}],[10,"Monk","/monk",,{className:"c10",tinyIcon:"class_monk"}],[2,"Paladin","/paladin",,{className:"c2",tinyIcon:"class_paladin"}],[5,"Priest","/priest",,{className:"c5",tinyIcon:"class_priest"}],[4,"Rogue","/rogue",,{className:"c4",tinyIcon:"class_rogue"}],[7,"Shaman","/shaman",,{className:"c7",tinyIcon:"class_shaman"}],[9,"Warlock","/warlock",,{className:"c9",tinyIcon:"class_warlock"}],[1,"Warrior","/warrior",,{className:"c1",tinyIcon:"class_warrior"}]];var mn_races=[[1001,"Alliance","/alliance-races",,{tinyIcon:"side_alliance",heading:true,column:1}],[11,"Draenei","/draenei",,{tinyIcon:"race_draenei_female"}],[3,"Dwarf","/dwarf",,{tinyIcon:"race_dwarf_female"}],[7,"Gnome","/gnome",,{tinyIcon:"race_gnome_female"}],[1,"Human","/human",,{tinyIcon:"race_human_female"}],[4,"Night Elf","/night-elf",,{tinyIcon:"race_nightelf_female"}],[25,"Pandaren","/alliance-pandaren",,{tinyIcon:"race_pandaren_female"}],[22,"Worgen","/worgen",,{tinyIcon:"race_worgen_female"}],[1002,"Horde","/horde-races",,{tinyIcon:"side_horde",heading:true,column:2}],[10,"Blood Elf","/blood-elf",,{tinyIcon:"race_bloodelf_female"}],[9,"Goblin","/goblin",,{tinyIcon:"race_goblin_female"}],[2,"Orc","/orc",,{tinyIcon:"race_orc_female"}],[26,"Pandaren","/horde-pandaren",,{tinyIcon:"race_pandaren_female"}],[6,"Tauren","/tauren",,{tinyIcon:"race_tauren_female"}],[8,"Troll","/troll",,{tinyIcon:"race_troll_female"}],[5,"Undead","/undead",,{tinyIcon:"race_scourge_female"}],[1000,"Neutral","/neutral-races",,{tinyIcon:"race_pandaren_female",heading:true,column:3}],[24,"Pandaren","/pandaren",,{tinyIcon:"race_pandaren_female"}]];var mn_specialization=[[6,"Death Knight",,[[250,"Blood",,,{tinyIcon:"Spell_Deathknight_BloodPresence"}],[251,"Frost",,,{tinyIcon:"Spell_Deathknight_FrostPresence"}],[252,"Unholy",,,{tinyIcon:"Spell_Deathknight_UnholyPresence"}]],{className:"c6",tinyIcon:"class_deathknight"}],[12,"Demon Hunter",,[[577,"Havoc",,,{tinyIcon:"ability_demonhunter_specdps"}],[581,"Vengeance",,,{tinyIcon:"ability_demonhunter_spectank"}]],{className:"c12",tinyIcon:"class_demonhunter"}],[11,"Druid",,[[102,"Balance",,,{tinyIcon:"talentspec_druid_balance"}],[103,"Feral",,,{tinyIcon:"talentspec_druid_feral_cat"}],[104,"Guardian",,,{tinyIcon:"talentspec_druid_feral_bear"}],[105,"Restoration",,,{tinyIcon:"talentspec_druid_restoration"}]],{className:"c11",tinyIcon:"class_druid"}],[3,"Hunter",,[[253,"Beast Mastery",,,{tinyIcon:"Ability_Hunter_BeastTaming"}],[254,"Marksmanship",,,{tinyIcon:"Ability_Marksmanship"}],[255,"Survival",,,{tinyIcon:"Ability_Hunter_SwiftStrike"}]],{className:"c3",tinyIcon:"class_hunter"}],[8,"Mage",,[[62,"Arcane",,,{tinyIcon:"Spell_Holy_MagicalSentry"}],[63,"Fire",,,{tinyIcon:"Spell_Fire_FireBolt02"}],[64,"Frost",,,{tinyIcon:"Spell_Frost_FrostBolt02"}]],{className:"c8",tinyIcon:"class_mage"}],[10,"Monk",,[[268,"Brewmaster",,,{tinyIcon:"spell_monk_brewmaster_spec"}],[270,"Mistweaver",,,{tinyIcon:"spell_monk_mistweaver_spec"}],[269,"Windwalker",,,{tinyIcon:"spell_monk_windwalker_spec"}]],{className:"c10",tinyIcon:"class_monk"}],[2,"Paladin",,[[65,"Holy",,,{tinyIcon:"Spell_Holy_HolyBolt"}],[66,"Protection",,,{tinyIcon:"Spell_Holy_DevotionAura"}],[70,"Retribution",,,{tinyIcon:"Spell_Holy_AuraOfLight"}]],{className:"c2",tinyIcon:"class_paladin"}],[5,"Priest",,[[256,"Discipline",,,{tinyIcon:"Spell_Holy_WordFortitude"}],[257,"Holy",,,{tinyIcon:"Spell_Holy_GuardianSpirit"}],[258,"Shadow",,,{tinyIcon:"Spell_Shadow_ShadowWordPain"}]],{className:"c5",tinyIcon:"class_priest"}],[4,"Rogue",,[[259,"Assassination",,,{tinyIcon:"Ability_BackStab"}],[260,"Outlaw",,,{tinyIcon:"INV_Sword_30"}],[261,"Subtlety",,,{tinyIcon:"Ability_Stealth"}]],{className:"c4",tinyIcon:"class_rogue"}],[7,"Shaman",,[[262,"Elemental",,,{tinyIcon:"Spell_Nature_Lightning"}],[263,"Enhancement",,,{tinyIcon:"Spell_Nature_LightningShield"}],[264,"Restoration",,,{tinyIcon:"Spell_Nature_MagicImmunity"}]],{className:"c7",tinyIcon:"class_shaman"}],[9,"Warlock",,[[265,"Affliction",,,{tinyIcon:"Spell_Shadow_DeathCoil"}],[266,"Demonology",,,{tinyIcon:"Spell_Shadow_Metamorphosis"}],[267,"Destruction",,,{tinyIcon:"Spell_Shadow_RainOfFire"}]],{className:"c9",tinyIcon:"class_warlock"}],[1,"Warrior",,[[71,"Arms",,,{tinyIcon:"Ability_Rogue_Eviscerate"}],[72,"Fury",,,{tinyIcon:"Ability_Warrior_InnerRage"}],[73,"Protection",,,{tinyIcon:"INV_Shield_06"}]],{className:"c1",tinyIcon:"class_warrior"}]];window.wh_copymenu=function(a){if(JSON){return JSON.parse(JSON.stringify(a))}var c=a instanceof Array?[]:{};for(var b in a){if(!a.hasOwnProperty(b)){continue}if(typeof a[b]=="object"&&a[b]!==null){c[b]=window.wh_copymenu(a[b])}else{c[b]=a[b]}}return c};var mn_items=[["quickLinksHeading","Quick Links",,,{column:2,heading:true}],[-1,"Item Finder","/item-finder",,{noFilterModifications:true}],[-2,"Equipment","/equipment-finder",[[0,"Gear","/gear-finder",[[-1,"Any","/any-gear-finder",[[6,"Death Knight","/any-gear-finder/death-knight",[[250,"Blood","/any-gear-finder/death-knight/blood",,{tinyIcon:"spell_deathknight_bloodpresence",noFilterModifications:true}],[251,"Frost","/any-gear-finder/death-knight/frost",,{tinyIcon:"spell_deathknight_frostpresence",noFilterModifications:true}],[252,"Unholy","/any-gear-finder/death-knight/unholy",,{tinyIcon:"spell_deathknight_unholypresence",noFilterModifications:true}]],{className:"c6",tinyIcon:"class_deathknight",noFilterModifications:true}],[12,"Demon Hunter","/any-gear-finder/demon-hunter",[[577,"Havoc","/any-gear-finder/demon-hunter/havoc",,{tinyIcon:"ability_demonhunter_specdps",noFilterModifications:true}],[581,"Vengeance","/any-gear-finder/demon-hunter/vengeance",,{tinyIcon:"ability_demonhunter_spectank",noFilterModifications:true}]],{className:"c12",tinyIcon:"class_demonhunter",noFilterModifications:true}],[11,"Druid","/any-gear-finder/druid",[[102,"Balance","/any-gear-finder/druid/balance",,{tinyIcon:"spell_nature_starfall",noFilterModifications:true}],[103,"Feral","/any-gear-finder/druid/feral",,{tinyIcon:"ability_druid_catform",noFilterModifications:true}],[104,"Guardian","/any-gear-finder/druid/guardian",,{tinyIcon:"ability_racial_bearform",noFilterModifications:true}],[105,"Restoration","/any-gear-finder/druid/restoration",,{tinyIcon:"spell_nature_healingtouch",noFilterModifications:true}]],{className:"c11",tinyIcon:"class_druid",noFilterModifications:true}],[3,"Hunter","/any-gear-finder/hunter",[[253,"Beast Mastery","/any-gear-finder/hunter/beast-mastery",,{tinyIcon:"ability_hunter_bestialdiscipline",noFilterModifications:true}],[254,"Marksmanship","/any-gear-finder/hunter/marksmanship",,{tinyIcon:"ability_hunter_focusedaim",noFilterModifications:true}],[255,"Survival","/any-gear-finder/hunter/survival",,{tinyIcon:"ability_hunter_camouflage",noFilterModifications:true}]],{className:"c3",tinyIcon:"class_hunter",noFilterModifications:true}],[8,"Mage","/any-gear-finder/mage",[[62,"Arcane","/any-gear-finder/mage/arcane",,{tinyIcon:"spell_holy_magicalsentry",noFilterModifications:true}],[63,"Fire","/any-gear-finder/mage/fire",,{tinyIcon:"spell_fire_firebolt02",noFilterModifications:true}],[64,"Frost","/any-gear-finder/mage/frost",,{tinyIcon:"spell_frost_frostbolt02",noFilterModifications:true}]],{className:"c8",tinyIcon:"class_mage",noFilterModifications:true}],[10,"Monk","/any-gear-finder/monk",[[268,"Brewmaster","/any-gear-finder/monk/brewmaster",,{tinyIcon:"spell_monk_brewmaster_spec",noFilterModifications:true}],[270,"Mistweaver","/any-gear-finder/monk/mistweaver",,{tinyIcon:"spell_monk_mistweaver_spec",noFilterModifications:true}],[269,"Windwalker","/any-gear-finder/monk/windwalker",,{tinyIcon:"spell_monk_windwalker_spec",noFilterModifications:true}]],{className:"c10",tinyIcon:"class_monk",noFilterModifications:true}],[2,"Paladin","/any-gear-finder/paladin",[[65,"Holy","/any-gear-finder/paladin/holy",,{tinyIcon:"spell_holy_holybolt",noFilterModifications:true}],[66,"Protection","/any-gear-finder/paladin/protection",,{tinyIcon:"ability_paladin_shieldofthetemplar",noFilterModifications:true}],[70,"Retribution","/any-gear-finder/paladin/retribution",,{tinyIcon:"spell_holy_auraoflight",noFilterModifications:true}]],{className:"c2",tinyIcon:"class_paladin",noFilterModifications:true}],[5,"Priest","/any-gear-finder/priest",[[256,"Discipline","/any-gear-finder/priest/discipline",,{tinyIcon:"spell_holy_powerwordshield",noFilterModifications:true}],[257,"Holy","/any-gear-finder/priest/holy",,{tinyIcon:"spell_holy_guardianspirit",noFilterModifications:true}],[258,"Shadow","/any-gear-finder/priest/shadow",,{tinyIcon:"spell_shadow_shadowwordpain",noFilterModifications:true}]],{className:"c5",tinyIcon:"class_priest",noFilterModifications:true}],[4,"Rogue","/any-gear-finder/rogue",[[259,"Assassination","/any-gear-finder/rogue/assassination",,{tinyIcon:"ability_rogue_eviscerate",noFilterModifications:true}],[260,"Outlaw","/any-gear-finder/rogue/outlaw",,{tinyIcon:"inv_sword_30",noFilterModifications:true}],[261,"Subtlety","/any-gear-finder/rogue/subtlety",,{tinyIcon:"ability_stealth",noFilterModifications:true}]],{className:"c4",tinyIcon:"class_rogue",noFilterModifications:true}],[7,"Shaman","/any-gear-finder/shaman",[[262,"Elemental","/any-gear-finder/shaman/elemental",,{tinyIcon:"spell_nature_lightning",noFilterModifications:true}],[263,"Enhancement","/any-gear-finder/shaman/enhancement",,{tinyIcon:"spell_shaman_improvedstormstrike",noFilterModifications:true}],[264,"Restoration","/any-gear-finder/shaman/restoration",,{tinyIcon:"spell_nature_magicimmunity",noFilterModifications:true}]],{className:"c7",tinyIcon:"class_shaman",noFilterModifications:true}],[9,"Warlock","/any-gear-finder/warlock",[[265,"Affliction","/any-gear-finder/warlock/affliction",,{tinyIcon:"spell_shadow_deathcoil",noFilterModifications:true}],[266,"Demonology","/any-gear-finder/warlock/demonology",,{tinyIcon:"spell_shadow_metamorphosis",noFilterModifications:true}],[267,"Destruction","/any-gear-finder/warlock/destruction",,{tinyIcon:"spell_shadow_rainoffire",noFilterModifications:true}]],{className:"c9",tinyIcon:"class_warlock",noFilterModifications:true}],[1,"Warrior","/any-gear-finder/warrior",[[71,"Arms","/any-gear-finder/warrior/arms",,{tinyIcon:"ability_warrior_savageblow",noFilterModifications:true}],[72,"Fury","/any-gear-finder/warrior/fury",,{tinyIcon:"ability_warrior_innerrage",noFilterModifications:true}],[73,"Protection","/any-gear-finder/warrior/protection",,{tinyIcon:"ability_warrior_defensivestance",noFilterModifications:true}]],{className:"c1",tinyIcon:"class_warrior",noFilterModifications:true}]],{noFilterModifications:true}],[1,"Head","/head-armor-finder",[[6,"Death Knight","/head-armor-finder/death-knight",[[250,"Blood","/head-armor-finder/death-knight/blood",,{tinyIcon:"spell_deathknight_bloodpresence",noFilterModifications:true}],[251,"Frost","/head-armor-finder/death-knight/frost",,{tinyIcon:"spell_deathknight_frostpresence",noFilterModifications:true}],[252,"Unholy","/head-armor-finder/death-knight/unholy",,{tinyIcon:"spell_deathknight_unholypresence",noFilterModifications:true}]],{className:"c6",tinyIcon:"class_deathknight",noFilterModifications:true}],[12,"Demon Hunter","/head-armor-finder/demon-hunter",[[577,"Havoc","/head-armor-finder/demon-hunter/havoc",,{tinyIcon:"ability_demonhunter_specdps",noFilterModifications:true}],[581,"Vengeance","/head-armor-finder/demon-hunter/vengeance",,{tinyIcon:"ability_demonhunter_spectank",noFilterModifications:true}]],{className:"c12",tinyIcon:"class_demonhunter",noFilterModifications:true}],[11,"Druid","/head-armor-finder/druid",[[102,"Balance","/head-armor-finder/druid/balance",,{tinyIcon:"spell_nature_starfall",noFilterModifications:true}],[103,"Feral","/head-armor-finder/druid/feral",,{tinyIcon:"ability_druid_catform",noFilterModifications:true}],[104,"Guardian","/head-armor-finder/druid/guardian",,{tinyIcon:"ability_racial_bearform",noFilterModifications:true}],[105,"Restoration","/head-armor-finder/druid/restoration",,{tinyIcon:"spell_nature_healingtouch",noFilterModifications:true}]],{className:"c11",tinyIcon:"class_druid",noFilterModifications:true}],[3,"Hunter","/head-armor-finder/hunter",[[253,"Beast Mastery","/head-armor-finder/hunter/beast-mastery",,{tinyIcon:"ability_hunter_bestialdiscipline",noFilterModifications:true}],[254,"Marksmanship","/head-armor-finder/hunter/marksmanship",,{tinyIcon:"ability_hunter_focusedaim",noFilterModifications:true}],[255,"Survival","/head-armor-finder/hunter/survival",,{tinyIcon:"ability_hunter_camouflage",noFilterModifications:true}]],{className:"c3",tinyIcon:"class_hunter",noFilterModifications:true}],[8,"Mage","/head-armor-finder/mage",[[62,"Arcane","/head-armor-finder/mage/arcane",,{tinyIcon:"spell_holy_magicalsentry",noFilterModifications:true}],[63,"Fire","/head-armor-finder/mage/fire",,{tinyIcon:"spell_fire_firebolt02",noFilterModifications:true}],[64,"Frost","/head-armor-finder/mage/frost",,{tinyIcon:"spell_frost_frostbolt02",noFilterModifications:true}]],{className:"c8",tinyIcon:"class_mage",noFilterModifications:true}],[10,"Monk","/head-armor-finder/monk",[[268,"Brewmaster","/head-armor-finder/monk/brewmaster",,{tinyIcon:"spell_monk_brewmaster_spec",noFilterModifications:true}],[270,"Mistweaver","/head-armor-finder/monk/mistweaver",,{tinyIcon:"spell_monk_mistweaver_spec",noFilterModifications:true}],[269,"Windwalker","/head-armor-finder/monk/windwalker",,{tinyIcon:"spell_monk_windwalker_spec",noFilterModifications:true}]],{className:"c10",tinyIcon:"class_monk",noFilterModifications:true}],[2,"Paladin","/head-armor-finder/paladin",[[65,"Holy","/head-armor-finder/paladin/holy",,{tinyIcon:"spell_holy_holybolt",noFilterModifications:true}],[66,"Protection","/head-armor-finder/paladin/protection",,{tinyIcon:"ability_paladin_shieldofthetemplar",noFilterModifications:true}],[70,"Retribution","/head-armor-finder/paladin/retribution",,{tinyIcon:"spell_holy_auraoflight",noFilterModifications:true}]],{className:"c2",tinyIcon:"class_paladin",noFilterModifications:true}],[5,"Priest","/head-armor-finder/priest",[[256,"Discipline","/head-armor-finder/priest/discipline",,{tinyIcon:"spell_holy_powerwordshield",noFilterModifications:true}],[257,"Holy","/head-armor-finder/priest/holy",,{tinyIcon:"spell_holy_guardianspirit",noFilterModifications:true}],[258,"Shadow","/head-armor-finder/priest/shadow",,{tinyIcon:"spell_shadow_shadowwordpain",noFilterModifications:true}]],{className:"c5",tinyIcon:"class_priest",noFilterModifications:true}],[4,"Rogue","/head-armor-finder/rogue",[[259,"Assassination","/head-armor-finder/rogue/assassination",,{tinyIcon:"ability_rogue_eviscerate",noFilterModifications:true}],[260,"Outlaw","/head-armor-finder/rogue/outlaw",,{tinyIcon:"inv_sword_30",noFilterModifications:true}],[261,"Subtlety","/head-armor-finder/rogue/subtlety",,{tinyIcon:"ability_stealth",noFilterModifications:true}]],{className:"c4",tinyIcon:"class_rogue",noFilterModifications:true}],[7,"Shaman","/head-armor-finder/shaman",[[262,"Elemental","/head-armor-finder/shaman/elemental",,{tinyIcon:"spell_nature_lightning",noFilterModifications:true}],[263,"Enhancement","/head-armor-finder/shaman/enhancement",,{tinyIcon:"spell_shaman_improvedstormstrike",noFilterModifications:true}],[264,"Restoration","/head-armor-finder/shaman/restoration",,{tinyIcon:"spell_nature_magicimmunity",noFilterModifications:true}]],{className:"c7",tinyIcon:"class_shaman",noFilterModifications:true}],[9,"Warlock","/head-armor-finder/warlock",[[265,"Affliction","/head-armor-finder/warlock/affliction",,{tinyIcon:"spell_shadow_deathcoil",noFilterModifications:true}],[266,"Demonology","/head-armor-finder/warlock/demonology",,{tinyIcon:"spell_shadow_metamorphosis",noFilterModifications:true}],[267,"Destruction","/head-armor-finder/warlock/destruction",,{tinyIcon:"spell_shadow_rainoffire",noFilterModifications:true}]],{className:"c9",tinyIcon:"class_warlock",noFilterModifications:true}],[1,"Warrior","/head-armor-finder/warrior",[[71,"Arms","/head-armor-finder/warrior/arms",,{tinyIcon:"ability_warrior_savageblow",noFilterModifications:true}],[72,"Fury","/head-armor-finder/warrior/fury",,{tinyIcon:"ability_warrior_innerrage",noFilterModifications:true}],[73,"Protection","/head-armor-finder/warrior/protection",,{tinyIcon:"ability_warrior_defensivestance",noFilterModifications:true}]],{className:"c1",tinyIcon:"class_warrior",noFilterModifications:true}]],{noFilterModifications:true}],[2,"Neck","/neck-gear-finder",[[6,"Death Knight","/neck-gear-finder/death-knight",[[250,"Blood","/neck-gear-finder/death-knight/blood",,{tinyIcon:"spell_deathknight_bloodpresence",noFilterModifications:true}],[251,"Frost","/neck-gear-finder/death-knight/frost",,{tinyIcon:"spell_deathknight_frostpresence",noFilterModifications:true}],[252,"Unholy","/neck-gear-finder/death-knight/unholy",,{tinyIcon:"spell_deathknight_unholypresence",noFilterModifications:true}]],{className:"c6",tinyIcon:"class_deathknight",noFilterModifications:true}],[12,"Demon Hunter","/neck-gear-finder/demon-hunter",[[577,"Havoc","/neck-gear-finder/demon-hunter/havoc",,{tinyIcon:"ability_demonhunter_specdps",noFilterModifications:true}],[581,"Vengeance","/neck-gear-finder/demon-hunter/vengeance",,{tinyIcon:"ability_demonhunter_spectank",noFilterModifications:true}]],{className:"c12",tinyIcon:"class_demonhunter",noFilterModifications:true}],[11,"Druid","/neck-gear-finder/druid",[[102,"Balance","/neck-gear-finder/druid/balance",,{tinyIcon:"spell_nature_starfall",noFilterModifications:true}],[103,"Feral","/neck-gear-finder/druid/feral",,{tinyIcon:"ability_druid_catform",noFilterModifications:true}],[104,"Guardian","/neck-gear-finder/druid/guardian",,{tinyIcon:"ability_racial_bearform",noFilterModifications:true}],[105,"Restoration","/neck-gear-finder/druid/restoration",,{tinyIcon:"spell_nature_healingtouch",noFilterModifications:true}]],{className:"c11",tinyIcon:"class_druid",noFilterModifications:true}],[3,"Hunter","/neck-gear-finder/hunter",[[253,"Beast Mastery","/neck-gear-finder/hunter/beast-mastery",,{tinyIcon:"ability_hunter_bestialdiscipline",noFilterModifications:true}],[254,"Marksmanship","/neck-gear-finder/hunter/marksmanship",,{tinyIcon:"ability_hunter_focusedaim",noFilterModifications:true}],[255,"Survival","/neck-gear-finder/hunter/survival",,{tinyIcon:"ability_hunter_camouflage",noFilterModifications:true}]],{className:"c3",tinyIcon:"class_hunter",noFilterModifications:true}],[8,"Mage","/neck-gear-finder/mage",[[62,"Arcane","/neck-gear-finder/mage/arcane",,{tinyIcon:"spell_holy_magicalsentry",noFilterModifications:true}],[63,"Fire","/neck-gear-finder/mage/fire",,{tinyIcon:"spell_fire_firebolt02",noFilterModifications:true}],[64,"Frost","/neck-gear-finder/mage/frost",,{tinyIcon:"spell_frost_frostbolt02",noFilterModifications:true}]],{className:"c8",tinyIcon:"class_mage",noFilterModifications:true}],[10,"Monk","/neck-gear-finder/monk",[[268,"Brewmaster","/neck-gear-finder/monk/brewmaster",,{tinyIcon:"spell_monk_brewmaster_spec",noFilterModifications:true}],[270,"Mistweaver","/neck-gear-finder/monk/mistweaver",,{tinyIcon:"spell_monk_mistweaver_spec",noFilterModifications:true}],[269,"Windwalker","/neck-gear-finder/monk/windwalker",,{tinyIcon:"spell_monk_windwalker_spec",noFilterModifications:true}]],{className:"c10",tinyIcon:"class_monk",noFilterModifications:true}],[2,"Paladin","/neck-gear-finder/paladin",[[65,"Holy","/neck-gear-finder/paladin/holy",,{tinyIcon:"spell_holy_holybolt",noFilterModifications:true}],[66,"Protection","/neck-gear-finder/paladin/protection",,{tinyIcon:"ability_paladin_shieldofthetemplar",noFilterModifications:true}],[70,"Retribution","/neck-gear-finder/paladin/retribution",,{tinyIcon:"spell_holy_auraoflight",noFilterModifications:true}]],{className:"c2",tinyIcon:"class_paladin",noFilterModifications:true}],[5,"Priest","/neck-gear-finder/priest",[[256,"Discipline","/neck-gear-finder/priest/discipline",,{tinyIcon:"spell_holy_powerwordshield",noFilterModifications:true}],[257,"Holy","/neck-gear-finder/priest/holy",,{tinyIcon:"spell_holy_guardianspirit",noFilterModifications:true}],[258,"Shadow","/neck-gear-finder/priest/shadow",,{tinyIcon:"spell_shadow_shadowwordpain",noFilterModifications:true}]],{className:"c5",tinyIcon:"class_priest",noFilterModifications:true}],[4,"Rogue","/neck-gear-finder/rogue",[[259,"Assassination","/neck-gear-finder/rogue/assassination",,{tinyIcon:"ability_rogue_eviscerate",noFilterModifications:true}],[260,"Outlaw","/neck-gear-finder/rogue/outlaw",,{tinyIcon:"inv_sword_30",noFilterModifications:true}],[261,"Subtlety","/neck-gear-finder/rogue/subtlety",,{tinyIcon:"ability_stealth",noFilterModifications:true}]],{className:"c4",tinyIcon:"class_rogue",noFilterModifications:true}],[7,"Shaman","/neck-gear-finder/shaman",[[262,"Elemental","/neck-gear-finder/shaman/elemental",,{tinyIcon:"spell_nature_lightning",noFilterModifications:true}],[263,"Enhancement","/neck-gear-finder/shaman/enhancement",,{tinyIcon:"spell_shaman_improvedstormstrike",noFilterModifications:true}],[264,"Restoration","/neck-gear-finder/shaman/restoration",,{tinyIcon:"spell_nature_magicimmunity",noFilterModifications:true}]],{className:"c7",tinyIcon:"class_shaman",noFilterModifications:true}],[9,"Warlock","/neck-gear-finder/warlock",[[265,"Affliction","/neck-gear-finder/warlock/affliction",,{tinyIcon:"spell_shadow_deathcoil",noFilterModifications:true}],[266,"Demonology","/neck-gear-finder/warlock/demonology",,{tinyIcon:"spell_shadow_metamorphosis",noFilterModifications:true}],[267,"Destruction","/neck-gear-finder/warlock/destruction",,{tinyIcon:"spell_shadow_rainoffire",noFilterModifications:true}]],{className:"c9",tinyIcon:"class_warlock",noFilterModifications:true}],[1,"Warrior","/neck-gear-finder/warrior",[[71,"Arms","/neck-gear-finder/warrior/arms",,{tinyIcon:"ability_warrior_savageblow",noFilterModifications:true}],[72,"Fury","/neck-gear-finder/warrior/fury",,{tinyIcon:"ability_warrior_innerrage",noFilterModifications:true}],[73,"Protection","/neck-gear-finder/warrior/protection",,{tinyIcon:"ability_warrior_defensivestance",noFilterModifications:true}]],{className:"c1",tinyIcon:"class_warrior",noFilterModifications:true}]],{noFilterModifications:true}],[3,"Shoulder","/shoulder-armor-finder",[[6,"Death Knight","/shoulder-armor-finder/death-knight",[[250,"Blood","/shoulder-armor-finder/death-knight/blood",,{tinyIcon:"spell_deathknight_bloodpresence",noFilterModifications:true}],[251,"Frost","/shoulder-armor-finder/death-knight/frost",,{tinyIcon:"spell_deathknight_frostpresence",noFilterModifications:true}],[252,"Unholy","/shoulder-armor-finder/death-knight/unholy",,{tinyIcon:"spell_deathknight_unholypresence",noFilterModifications:true}]],{className:"c6",tinyIcon:"class_deathknight",noFilterModifications:true}],[12,"Demon Hunter","/shoulder-armor-finder/demon-hunter",[[577,"Havoc","/shoulder-armor-finder/demon-hunter/havoc",,{tinyIcon:"ability_demonhunter_specdps",noFilterModifications:true}],[581,"Vengeance","/shoulder-armor-finder/demon-hunter/vengeance",,{tinyIcon:"ability_demonhunter_spectank",noFilterModifications:true}]],{className:"c12",tinyIcon:"class_demonhunter",noFilterModifications:true}],[11,"Druid","/shoulder-armor-finder/druid",[[102,"Balance","/shoulder-armor-finder/druid/balance",,{tinyIcon:"spell_nature_starfall",noFilterModifications:true}],[103,"Feral","/shoulder-armor-finder/druid/feral",,{tinyIcon:"ability_druid_catform",noFilterModifications:true}],[104,"Guardian","/shoulder-armor-finder/druid/guardian",,{tinyIcon:"ability_racial_bearform",noFilterModifications:true}],[105,"Restoration","/shoulder-armor-finder/druid/restoration",,{tinyIcon:"spell_nature_healingtouch",noFilterModifications:true}]],{className:"c11",tinyIcon:"class_druid",noFilterModifications:true}],[3,"Hunter","/shoulder-armor-finder/hunter",[[253,"Beast Mastery","/shoulder-armor-finder/hunter/beast-mastery",,{tinyIcon:"ability_hunter_bestialdiscipline",noFilterModifications:true}],[254,"Marksmanship","/shoulder-armor-finder/hunter/marksmanship",,{tinyIcon:"ability_hunter_focusedaim",noFilterModifications:true}],[255,"Survival","/shoulder-armor-finder/hunter/survival",,{tinyIcon:"ability_hunter_camouflage",noFilterModifications:true}]],{className:"c3",tinyIcon:"class_hunter",noFilterModifications:true}],[8,"Mage","/shoulder-armor-finder/mage",[[62,"Arcane","/shoulder-armor-finder/mage/arcane",,{tinyIcon:"spell_holy_magicalsentry",noFilterModifications:true}],[63,"Fire","/shoulder-armor-finder/mage/fire",,{tinyIcon:"spell_fire_firebolt02",noFilterModifications:true}],[64,"Frost","/shoulder-armor-finder/mage/frost",,{tinyIcon:"spell_frost_frostbolt02",noFilterModifications:true}]],{className:"c8",tinyIcon:"class_mage",noFilterModifications:true}],[10,"Monk","/shoulder-armor-finder/monk",[[268,"Brewmaster","/shoulder-armor-finder/monk/brewmaster",,{tinyIcon:"spell_monk_brewmaster_spec",noFilterModifications:true}],[270,"Mistweaver","/shoulder-armor-finder/monk/mistweaver",,{tinyIcon:"spell_monk_mistweaver_spec",noFilterModifications:true}],[269,"Windwalker","/shoulder-armor-finder/monk/windwalker",,{tinyIcon:"spell_monk_windwalker_spec",noFilterModifications:true}]],{className:"c10",tinyIcon:"class_monk",noFilterModifications:true}],[2,"Paladin","/shoulder-armor-finder/paladin",[[65,"Holy","/shoulder-armor-finder/paladin/holy",,{tinyIcon:"spell_holy_holybolt",noFilterModifications:true}],[66,"Protection","/shoulder-armor-finder/paladin/protection",,{tinyIcon:"ability_paladin_shieldofthetemplar",noFilterModifications:true}],[70,"Retribution","/shoulder-armor-finder/paladin/retribution",,{tinyIcon:"spell_holy_auraoflight",noFilterModifications:true}]],{className:"c2",tinyIcon:"class_paladin",noFilterModifications:true}],[5,"Priest","/shoulder-armor-finder/priest",[[256,"Discipline","/shoulder-armor-finder/priest/discipline",,{tinyIcon:"spell_holy_powerwordshield",noFilterModifications:true}],[257,"Holy","/shoulder-armor-finder/priest/holy",,{tinyIcon:"spell_holy_guardianspirit",noFilterModifications:true}],[258,"Shadow","/shoulder-armor-finder/priest/shadow",,{tinyIcon:"spell_shadow_shadowwordpain",noFilterModifications:true}]],{className:"c5",tinyIcon:"class_priest",noFilterModifications:true}],[4,"Rogue","/shoulder-armor-finder/rogue",[[259,"Assassination","/shoulder-armor-finder/rogue/assassination",,{tinyIcon:"ability_rogue_eviscerate",noFilterModifications:true}],[260,"Outlaw","/shoulder-armor-finder/rogue/outlaw",,{tinyIcon:"inv_sword_30",noFilterModifications:true}],[261,"Subtlety","/shoulder-armor-finder/rogue/subtlety",,{tinyIcon:"ability_stealth",noFilterModifications:true}]],{className:"c4",tinyIcon:"class_rogue",noFilterModifications:true}],[7,"Shaman","/shoulder-armor-finder/shaman",[[262,"Elemental","/shoulder-armor-finder/shaman/elemental",,{tinyIcon:"spell_nature_lightning",noFilterModifications:true}],[263,"Enhancement","/shoulder-armor-finder/shaman/enhancement",,{tinyIcon:"spell_shaman_improvedstormstrike",noFilterModifications:true}],[264,"Restoration","/shoulder-armor-finder/shaman/restoration",,{tinyIcon:"spell_nature_magicimmunity",noFilterModifications:true}]],{className:"c7",tinyIcon:"class_shaman",noFilterModifications:true}],[9,"Warlock","/shoulder-armor-finder/warlock",[[265,"Affliction","/shoulder-armor-finder/warlock/affliction",,{tinyIcon:"spell_shadow_deathcoil",noFilterModifications:true}],[266,"Demonology","/shoulder-armor-finder/warlock/demonology",,{tinyIcon:"spell_shadow_metamorphosis",noFilterModifications:true}],[267,"Destruction","/shoulder-armor-finder/warlock/destruction",,{tinyIcon:"spell_shadow_rainoffire",noFilterModifications:true}]],{className:"c9",tinyIcon:"class_warlock",noFilterModifications:true}],[1,"Warrior","/shoulder-armor-finder/warrior",[[71,"Arms","/shoulder-armor-finder/warrior/arms",,{tinyIcon:"ability_warrior_savageblow",noFilterModifications:true}],[72,"Fury","/shoulder-armor-finder/warrior/fury",,{tinyIcon:"ability_warrior_innerrage",noFilterModifications:true}],[73,"Protection","/shoulder-armor-finder/warrior/protection",,{tinyIcon:"ability_warrior_defensivestance",noFilterModifications:true}]],{className:"c1",tinyIcon:"class_warrior",noFilterModifications:true}]],{noFilterModifications:true}],[16,"Cloaks","/cloak-finder",[[6,"Death Knight","/cloak-finder/death-knight",[[250,"Blood","/cloak-finder/death-knight/blood",,{tinyIcon:"spell_deathknight_bloodpresence",noFilterModifications:true}],[251,"Frost","/cloak-finder/death-knight/frost",,{tinyIcon:"spell_deathknight_frostpresence",noFilterModifications:true}],[252,"Unholy","/cloak-finder/death-knight/unholy",,{tinyIcon:"spell_deathknight_unholypresence",noFilterModifications:true}]],{className:"c6",tinyIcon:"class_deathknight",noFilterModifications:true}],[12,"Demon Hunter","/cloak-finder/demon-hunter",[[577,"Havoc","/cloak-finder/demon-hunter/havoc",,{tinyIcon:"ability_demonhunter_specdps",noFilterModifications:true}],[581,"Vengeance","/cloak-finder/demon-hunter/vengeance",,{tinyIcon:"ability_demonhunter_spectank",noFilterModifications:true}]],{className:"c12",tinyIcon:"class_demonhunter",noFilterModifications:true}],[11,"Druid","/cloak-finder/druid",[[102,"Balance","/cloak-finder/druid/balance",,{tinyIcon:"spell_nature_starfall",noFilterModifications:true}],[103,"Feral","/cloak-finder/druid/feral",,{tinyIcon:"ability_druid_catform",noFilterModifications:true}],[104,"Guardian","/cloak-finder/druid/guardian",,{tinyIcon:"ability_racial_bearform",noFilterModifications:true}],[105,"Restoration","/cloak-finder/druid/restoration",,{tinyIcon:"spell_nature_healingtouch",noFilterModifications:true}]],{className:"c11",tinyIcon:"class_druid",noFilterModifications:true}],[3,"Hunter","/cloak-finder/hunter",[[253,"Beast Mastery","/cloak-finder/hunter/beast-mastery",,{tinyIcon:"ability_hunter_bestialdiscipline",noFilterModifications:true}],[254,"Marksmanship","/cloak-finder/hunter/marksmanship",,{tinyIcon:"ability_hunter_focusedaim",noFilterModifications:true}],[255,"Survival","/cloak-finder/hunter/survival",,{tinyIcon:"ability_hunter_camouflage",noFilterModifications:true}]],{className:"c3",tinyIcon:"class_hunter",noFilterModifications:true}],[8,"Mage","/cloak-finder/mage",[[62,"Arcane","/cloak-finder/mage/arcane",,{tinyIcon:"spell_holy_magicalsentry",noFilterModifications:true}],[63,"Fire","/cloak-finder/mage/fire",,{tinyIcon:"spell_fire_firebolt02",noFilterModifications:true}],[64,"Frost","/cloak-finder/mage/frost",,{tinyIcon:"spell_frost_frostbolt02",noFilterModifications:true}]],{className:"c8",tinyIcon:"class_mage",noFilterModifications:true}],[10,"Monk","/cloak-finder/monk",[[268,"Brewmaster","/cloak-finder/monk/brewmaster",,{tinyIcon:"spell_monk_brewmaster_spec",noFilterModifications:true}],[270,"Mistweaver","/cloak-finder/monk/mistweaver",,{tinyIcon:"spell_monk_mistweaver_spec",noFilterModifications:true}],[269,"Windwalker","/cloak-finder/monk/windwalker",,{tinyIcon:"spell_monk_windwalker_spec",noFilterModifications:true}]],{className:"c10",tinyIcon:"class_monk",noFilterModifications:true}],[2,"Paladin","/cloak-finder/paladin",[[65,"Holy","/cloak-finder/paladin/holy",,{tinyIcon:"spell_holy_holybolt",noFilterModifications:true}],[66,"Protection","/cloak-finder/paladin/protection",,{tinyIcon:"ability_paladin_shieldofthetemplar",noFilterModifications:true}],[70,"Retribution","/cloak-finder/paladin/retribution",,{tinyIcon:"spell_holy_auraoflight",noFilterModifications:true}]],{className:"c2",tinyIcon:"class_paladin",noFilterModifications:true}],[5,"Priest","/cloak-finder/priest",[[256,"Discipline","/cloak-finder/priest/discipline",,{tinyIcon:"spell_holy_powerwordshield",noFilterModifications:true}],[257,"Holy","/cloak-finder/priest/holy",,{tinyIcon:"spell_holy_guardianspirit",noFilterModifications:true}],[258,"Shadow","/cloak-finder/priest/shadow",,{tinyIcon:"spell_shadow_shadowwordpain",noFilterModifications:true}]],{className:"c5",tinyIcon:"class_priest",noFilterModifications:true}],[4,"Rogue","/cloak-finder/rogue",[[259,"Assassination","/cloak-finder/rogue/assassination",,{tinyIcon:"ability_rogue_eviscerate",noFilterModifications:true}],[260,"Outlaw","/cloak-finder/rogue/outlaw",,{tinyIcon:"inv_sword_30",noFilterModifications:true}],[261,"Subtlety","/cloak-finder/rogue/subtlety",,{tinyIcon:"ability_stealth",noFilterModifications:true}]],{className:"c4",tinyIcon:"class_rogue",noFilterModifications:true}],[7,"Shaman","/cloak-finder/shaman",[[262,"Elemental","/cloak-finder/shaman/elemental",,{tinyIcon:"spell_nature_lightning",noFilterModifications:true}],[263,"Enhancement","/cloak-finder/shaman/enhancement",,{tinyIcon:"spell_shaman_improvedstormstrike",noFilterModifications:true}],[264,"Restoration","/cloak-finder/shaman/restoration",,{tinyIcon:"spell_nature_magicimmunity",noFilterModifications:true}]],{className:"c7",tinyIcon:"class_shaman",noFilterModifications:true}],[9,"Warlock","/cloak-finder/warlock",[[265,"Affliction","/cloak-finder/warlock/affliction",,{tinyIcon:"spell_shadow_deathcoil",noFilterModifications:true}],[266,"Demonology","/cloak-finder/warlock/demonology",,{tinyIcon:"spell_shadow_metamorphosis",noFilterModifications:true}],[267,"Destruction","/cloak-finder/warlock/destruction",,{tinyIcon:"spell_shadow_rainoffire",noFilterModifications:true}]],{className:"c9",tinyIcon:"class_warlock",noFilterModifications:true}],[1,"Warrior","/cloak-finder/warrior",[[71,"Arms","/cloak-finder/warrior/arms",,{tinyIcon:"ability_warrior_savageblow",noFilterModifications:true}],[72,"Fury","/cloak-finder/warrior/fury",,{tinyIcon:"ability_warrior_innerrage",noFilterModifications:true}],[73,"Protection","/cloak-finder/warrior/protection",,{tinyIcon:"ability_warrior_defensivestance",noFilterModifications:true}]],{className:"c1",tinyIcon:"class_warrior",noFilterModifications:true}]],{noFilterModifications:true}],[5,"Chest","/chest-armor-finder",[[6,"Death Knight","/chest-armor-finder/death-knight",[[250,"Blood","/chest-armor-finder/death-knight/blood",,{tinyIcon:"spell_deathknight_bloodpresence",noFilterModifications:true}],[251,"Frost","/chest-armor-finder/death-knight/frost",,{tinyIcon:"spell_deathknight_frostpresence",noFilterModifications:true}],[252,"Unholy","/chest-armor-finder/death-knight/unholy",,{tinyIcon:"spell_deathknight_unholypresence",noFilterModifications:true}]],{className:"c6",tinyIcon:"class_deathknight",noFilterModifications:true}],[12,"Demon Hunter","/chest-armor-finder/demon-hunter",[[577,"Havoc","/chest-armor-finder/demon-hunter/havoc",,{tinyIcon:"ability_demonhunter_specdps",noFilterModifications:true}],[581,"Vengeance","/chest-armor-finder/demon-hunter/vengeance",,{tinyIcon:"ability_demonhunter_spectank",noFilterModifications:true}]],{className:"c12",tinyIcon:"class_demonhunter",noFilterModifications:true}],[11,"Druid","/chest-armor-finder/druid",[[102,"Balance","/chest-armor-finder/druid/balance",,{tinyIcon:"spell_nature_starfall",noFilterModifications:true}],[103,"Feral","/chest-armor-finder/druid/feral",,{tinyIcon:"ability_druid_catform",noFilterModifications:true}],[104,"Guardian","/chest-armor-finder/druid/guardian",,{tinyIcon:"ability_racial_bearform",noFilterModifications:true}],[105,"Restoration","/chest-armor-finder/druid/restoration",,{tinyIcon:"spell_nature_healingtouch",noFilterModifications:true}]],{className:"c11",tinyIcon:"class_druid",noFilterModifications:true}],[3,"Hunter","/chest-armor-finder/hunter",[[253,"Beast Mastery","/chest-armor-finder/hunter/beast-mastery",,{tinyIcon:"ability_hunter_bestialdiscipline",noFilterModifications:true}],[254,"Marksmanship","/chest-armor-finder/hunter/marksmanship",,{tinyIcon:"ability_hunter_focusedaim",noFilterModifications:true}],[255,"Survival","/chest-armor-finder/hunter/survival",,{tinyIcon:"ability_hunter_camouflage",noFilterModifications:true}]],{className:"c3",tinyIcon:"class_hunter",noFilterModifications:true}],[8,"Mage","/chest-armor-finder/mage",[[62,"Arcane","/chest-armor-finder/mage/arcane",,{tinyIcon:"spell_holy_magicalsentry",noFilterModifications:true}],[63,"Fire","/chest-armor-finder/mage/fire",,{tinyIcon:"spell_fire_firebolt02",noFilterModifications:true}],[64,"Frost","/chest-armor-finder/mage/frost",,{tinyIcon:"spell_frost_frostbolt02",noFilterModifications:true}]],{className:"c8",tinyIcon:"class_mage",noFilterModifications:true}],[10,"Monk","/chest-armor-finder/monk",[[268,"Brewmaster","/chest-armor-finder/monk/brewmaster",,{tinyIcon:"spell_monk_brewmaster_spec",noFilterModifications:true}],[270,"Mistweaver","/chest-armor-finder/monk/mistweaver",,{tinyIcon:"spell_monk_mistweaver_spec",noFilterModifications:true}],[269,"Windwalker","/chest-armor-finder/monk/windwalker",,{tinyIcon:"spell_monk_windwalker_spec",noFilterModifications:true}]],{className:"c10",tinyIcon:"class_monk",noFilterModifications:true}],[2,"Paladin","/chest-armor-finder/paladin",[[65,"Holy","/chest-armor-finder/paladin/holy",,{tinyIcon:"spell_holy_holybolt",noFilterModifications:true}],[66,"Protection","/chest-armor-finder/paladin/protection",,{tinyIcon:"ability_paladin_shieldofthetemplar",noFilterModifications:true}],[70,"Retribution","/chest-armor-finder/paladin/retribution",,{tinyIcon:"spell_holy_auraoflight",noFilterModifications:true}]],{className:"c2",tinyIcon:"class_paladin",noFilterModifications:true}],[5,"Priest","/chest-armor-finder/priest",[[256,"Discipline","/chest-armor-finder/priest/discipline",,{tinyIcon:"spell_holy_powerwordshield",noFilterModifications:true}],[257,"Holy","/chest-armor-finder/priest/holy",,{tinyIcon:"spell_holy_guardianspirit",noFilterModifications:true}],[258,"Shadow","/chest-armor-finder/priest/shadow",,{tinyIcon:"spell_shadow_shadowwordpain",noFilterModifications:true}]],{className:"c5",tinyIcon:"class_priest",noFilterModifications:true}],[4,"Rogue","/chest-armor-finder/rogue",[[259,"Assassination","/chest-armor-finder/rogue/assassination",,{tinyIcon:"ability_rogue_eviscerate",noFilterModifications:true}],[260,"Outlaw","/chest-armor-finder/rogue/outlaw",,{tinyIcon:"inv_sword_30",noFilterModifications:true}],[261,"Subtlety","/chest-armor-finder/rogue/subtlety",,{tinyIcon:"ability_stealth",noFilterModifications:true}]],{className:"c4",tinyIcon:"class_rogue",noFilterModifications:true}],[7,"Shaman","/chest-armor-finder/shaman",[[262,"Elemental","/chest-armor-finder/shaman/elemental",,{tinyIcon:"spell_nature_lightning",noFilterModifications:true}],[263,"Enhancement","/chest-armor-finder/shaman/enhancement",,{tinyIcon:"spell_shaman_improvedstormstrike",noFilterModifications:true}],[264,"Restoration","/chest-armor-finder/shaman/restoration",,{tinyIcon:"spell_nature_magicimmunity",noFilterModifications:true}]],{className:"c7",tinyIcon:"class_shaman",noFilterModifications:true}],[9,"Warlock","/chest-armor-finder/warlock",[[265,"Affliction","/chest-armor-finder/warlock/affliction",,{tinyIcon:"spell_shadow_deathcoil",noFilterModifications:true}],[266,"Demonology","/chest-armor-finder/warlock/demonology",,{tinyIcon:"spell_shadow_metamorphosis",noFilterModifications:true}],[267,"Destruction","/chest-armor-finder/warlock/destruction",,{tinyIcon:"spell_shadow_rainoffire",noFilterModifications:true}]],{className:"c9",tinyIcon:"class_warlock",noFilterModifications:true}],[1,"Warrior","/chest-armor-finder/warrior",[[71,"Arms","/chest-armor-finder/warrior/arms",,{tinyIcon:"ability_warrior_savageblow",noFilterModifications:true}],[72,"Fury","/chest-armor-finder/warrior/fury",,{tinyIcon:"ability_warrior_innerrage",noFilterModifications:true}],[73,"Protection","/chest-armor-finder/warrior/protection",,{tinyIcon:"ability_warrior_defensivestance",noFilterModifications:true}]],{className:"c1",tinyIcon:"class_warrior",noFilterModifications:true}]],{noFilterModifications:true}],[9,"Wrist","/bracers-finder",[[6,"Death Knight","/bracers-finder/death-knight",[[250,"Blood","/bracers-finder/death-knight/blood",,{tinyIcon:"spell_deathknight_bloodpresence",noFilterModifications:true}],[251,"Frost","/bracers-finder/death-knight/frost",,{tinyIcon:"spell_deathknight_frostpresence",noFilterModifications:true}],[252,"Unholy","/bracers-finder/death-knight/unholy",,{tinyIcon:"spell_deathknight_unholypresence",noFilterModifications:true}]],{className:"c6",tinyIcon:"class_deathknight",noFilterModifications:true}],[12,"Demon Hunter","/bracers-finder/demon-hunter",[[577,"Havoc","/bracers-finder/demon-hunter/havoc",,{tinyIcon:"ability_demonhunter_specdps",noFilterModifications:true}],[581,"Vengeance","/bracers-finder/demon-hunter/vengeance",,{tinyIcon:"ability_demonhunter_spectank",noFilterModifications:true}]],{className:"c12",tinyIcon:"class_demonhunter",noFilterModifications:true}],[11,"Druid","/bracers-finder/druid",[[102,"Balance","/bracers-finder/druid/balance",,{tinyIcon:"spell_nature_starfall",noFilterModifications:true}],[103,"Feral","/bracers-finder/druid/feral",,{tinyIcon:"ability_druid_catform",noFilterModifications:true}],[104,"Guardian","/bracers-finder/druid/guardian",,{tinyIcon:"ability_racial_bearform",noFilterModifications:true}],[105,"Restoration","/bracers-finder/druid/restoration",,{tinyIcon:"spell_nature_healingtouch",noFilterModifications:true}]],{className:"c11",tinyIcon:"class_druid",noFilterModifications:true}],[3,"Hunter","/bracers-finder/hunter",[[253,"Beast Mastery","/bracers-finder/hunter/beast-mastery",,{tinyIcon:"ability_hunter_bestialdiscipline",noFilterModifications:true}],[254,"Marksmanship","/bracers-finder/hunter/marksmanship",,{tinyIcon:"ability_hunter_focusedaim",noFilterModifications:true}],[255,"Survival","/bracers-finder/hunter/survival",,{tinyIcon:"ability_hunter_camouflage",noFilterModifications:true}]],{className:"c3",tinyIcon:"class_hunter",noFilterModifications:true}],[8,"Mage","/bracers-finder/mage",[[62,"Arcane","/bracers-finder/mage/arcane",,{tinyIcon:"spell_holy_magicalsentry",noFilterModifications:true}],[63,"Fire","/bracers-finder/mage/fire",,{tinyIcon:"spell_fire_firebolt02",noFilterModifications:true}],[64,"Frost","/bracers-finder/mage/frost",,{tinyIcon:"spell_frost_frostbolt02",noFilterModifications:true}]],{className:"c8",tinyIcon:"class_mage",noFilterModifications:true}],[10,"Monk","/bracers-finder/monk",[[268,"Brewmaster","/bracers-finder/monk/brewmaster",,{tinyIcon:"spell_monk_brewmaster_spec",noFilterModifications:true}],[270,"Mistweaver","/bracers-finder/monk/mistweaver",,{tinyIcon:"spell_monk_mistweaver_spec",noFilterModifications:true}],[269,"Windwalker","/bracers-finder/monk/windwalker",,{tinyIcon:"spell_monk_windwalker_spec",noFilterModifications:true}]],{className:"c10",tinyIcon:"class_monk",noFilterModifications:true}],[2,"Paladin","/bracers-finder/paladin",[[65,"Holy","/bracers-finder/paladin/holy",,{tinyIcon:"spell_holy_holybolt",noFilterModifications:true}],[66,"Protection","/bracers-finder/paladin/protection",,{tinyIcon:"ability_paladin_shieldofthetemplar",noFilterModifications:true}],[70,"Retribution","/bracers-finder/paladin/retribution",,{tinyIcon:"spell_holy_auraoflight",noFilterModifications:true}]],{className:"c2",tinyIcon:"class_paladin",noFilterModifications:true}],[5,"Priest","/bracers-finder/priest",[[256,"Discipline","/bracers-finder/priest/discipline",,{tinyIcon:"spell_holy_powerwordshield",noFilterModifications:true}],[257,"Holy","/bracers-finder/priest/holy",,{tinyIcon:"spell_holy_guardianspirit",noFilterModifications:true}],[258,"Shadow","/bracers-finder/priest/shadow",,{tinyIcon:"spell_shadow_shadowwordpain",noFilterModifications:true}]],{className:"c5",tinyIcon:"class_priest",noFilterModifications:true}],[4,"Rogue","/bracers-finder/rogue",[[259,"Assassination","/bracers-finder/rogue/assassination",,{tinyIcon:"ability_rogue_eviscerate",noFilterModifications:true}],[260,"Outlaw","/bracers-finder/rogue/outlaw",,{tinyIcon:"inv_sword_30",noFilterModifications:true}],[261,"Subtlety","/bracers-finder/rogue/subtlety",,{tinyIcon:"ability_stealth",noFilterModifications:true}]],{className:"c4",tinyIcon:"class_rogue",noFilterModifications:true}],[7,"Shaman","/bracers-finder/shaman",[[262,"Elemental","/bracers-finder/shaman/elemental",,{tinyIcon:"spell_nature_lightning",noFilterModifications:true}],[263,"Enhancement","/bracers-finder/shaman/enhancement",,{tinyIcon:"spell_shaman_improvedstormstrike",noFilterModifications:true}],[264,"Restoration","/bracers-finder/shaman/restoration",,{tinyIcon:"spell_nature_magicimmunity",noFilterModifications:true}]],{className:"c7",tinyIcon:"class_shaman",noFilterModifications:true}],[9,"Warlock","/bracers-finder/warlock",[[265,"Affliction","/bracers-finder/warlock/affliction",,{tinyIcon:"spell_shadow_deathcoil",noFilterModifications:true}],[266,"Demonology","/bracers-finder/warlock/demonology",,{tinyIcon:"spell_shadow_metamorphosis",noFilterModifications:true}],[267,"Destruction","/bracers-finder/warlock/destruction",,{tinyIcon:"spell_shadow_rainoffire",noFilterModifications:true}]],{className:"c9",tinyIcon:"class_warlock",noFilterModifications:true}],[1,"Warrior","/bracers-finder/warrior",[[71,"Arms","/bracers-finder/warrior/arms",,{tinyIcon:"ability_warrior_savageblow",noFilterModifications:true}],[72,"Fury","/bracers-finder/warrior/fury",,{tinyIcon:"ability_warrior_innerrage",noFilterModifications:true}],[73,"Protection","/bracers-finder/warrior/protection",,{tinyIcon:"ability_warrior_defensivestance",noFilterModifications:true}]],{className:"c1",tinyIcon:"class_warrior",noFilterModifications:true}]],{noFilterModifications:true}],[10,"Hands","/hand-armor-finder",[[6,"Death Knight","/hand-armor-finder/death-knight",[[250,"Blood","/hand-armor-finder/death-knight/blood",,{tinyIcon:"spell_deathknight_bloodpresence",noFilterModifications:true}],[251,"Frost","/hand-armor-finder/death-knight/frost",,{tinyIcon:"spell_deathknight_frostpresence",noFilterModifications:true}],[252,"Unholy","/hand-armor-finder/death-knight/unholy",,{tinyIcon:"spell_deathknight_unholypresence",noFilterModifications:true}]],{className:"c6",tinyIcon:"class_deathknight",noFilterModifications:true}],[12,"Demon Hunter","/hand-armor-finder/demon-hunter",[[577,"Havoc","/hand-armor-finder/demon-hunter/havoc",,{tinyIcon:"ability_demonhunter_specdps",noFilterModifications:true}],[581,"Vengeance","/hand-armor-finder/demon-hunter/vengeance",,{tinyIcon:"ability_demonhunter_spectank",noFilterModifications:true}]],{className:"c12",tinyIcon:"class_demonhunter",noFilterModifications:true}],[11,"Druid","/hand-armor-finder/druid",[[102,"Balance","/hand-armor-finder/druid/balance",,{tinyIcon:"spell_nature_starfall",noFilterModifications:true}],[103,"Feral","/hand-armor-finder/druid/feral",,{tinyIcon:"ability_druid_catform",noFilterModifications:true}],[104,"Guardian","/hand-armor-finder/druid/guardian",,{tinyIcon:"ability_racial_bearform",noFilterModifications:true}],[105,"Restoration","/hand-armor-finder/druid/restoration",,{tinyIcon:"spell_nature_healingtouch",noFilterModifications:true}]],{className:"c11",tinyIcon:"class_druid",noFilterModifications:true}],[3,"Hunter","/hand-armor-finder/hunter",[[253,"Beast Mastery","/hand-armor-finder/hunter/beast-mastery",,{tinyIcon:"ability_hunter_bestialdiscipline",noFilterModifications:true}],[254,"Marksmanship","/hand-armor-finder/hunter/marksmanship",,{tinyIcon:"ability_hunter_focusedaim",noFilterModifications:true}],[255,"Survival","/hand-armor-finder/hunter/survival",,{tinyIcon:"ability_hunter_camouflage",noFilterModifications:true}]],{className:"c3",tinyIcon:"class_hunter",noFilterModifications:true}],[8,"Mage","/hand-armor-finder/mage",[[62,"Arcane","/hand-armor-finder/mage/arcane",,{tinyIcon:"spell_holy_magicalsentry",noFilterModifications:true}],[63,"Fire","/hand-armor-finder/mage/fire",,{tinyIcon:"spell_fire_firebolt02",noFilterModifications:true}],[64,"Frost","/hand-armor-finder/mage/frost",,{tinyIcon:"spell_frost_frostbolt02",noFilterModifications:true}]],{className:"c8",tinyIcon:"class_mage",noFilterModifications:true}],[10,"Monk","/hand-armor-finder/monk",[[268,"Brewmaster","/hand-armor-finder/monk/brewmaster",,{tinyIcon:"spell_monk_brewmaster_spec",noFilterModifications:true}],[270,"Mistweaver","/hand-armor-finder/monk/mistweaver",,{tinyIcon:"spell_monk_mistweaver_spec",noFilterModifications:true}],[269,"Windwalker","/hand-armor-finder/monk/windwalker",,{tinyIcon:"spell_monk_windwalker_spec",noFilterModifications:true}]],{className:"c10",tinyIcon:"class_monk",noFilterModifications:true}],[2,"Paladin","/hand-armor-finder/paladin",[[65,"Holy","/hand-armor-finder/paladin/holy",,{tinyIcon:"spell_holy_holybolt",noFilterModifications:true}],[66,"Protection","/hand-armor-finder/paladin/protection",,{tinyIcon:"ability_paladin_shieldofthetemplar",noFilterModifications:true}],[70,"Retribution","/hand-armor-finder/paladin/retribution",,{tinyIcon:"spell_holy_auraoflight",noFilterModifications:true}]],{className:"c2",tinyIcon:"class_paladin",noFilterModifications:true}],[5,"Priest","/hand-armor-finder/priest",[[256,"Discipline","/hand-armor-finder/priest/discipline",,{tinyIcon:"spell_holy_powerwordshield",noFilterModifications:true}],[257,"Holy","/hand-armor-finder/priest/holy",,{tinyIcon:"spell_holy_guardianspirit",noFilterModifications:true}],[258,"Shadow","/hand-armor-finder/priest/shadow",,{tinyIcon:"spell_shadow_shadowwordpain",noFilterModifications:true}]],{className:"c5",tinyIcon:"class_priest",noFilterModifications:true}],[4,"Rogue","/hand-armor-finder/rogue",[[259,"Assassination","/hand-armor-finder/rogue/assassination",,{tinyIcon:"ability_rogue_eviscerate",noFilterModifications:true}],[260,"Outlaw","/hand-armor-finder/rogue/outlaw",,{tinyIcon:"inv_sword_30",noFilterModifications:true}],[261,"Subtlety","/hand-armor-finder/rogue/subtlety",,{tinyIcon:"ability_stealth",noFilterModifications:true}]],{className:"c4",tinyIcon:"class_rogue",noFilterModifications:true}],[7,"Shaman","/hand-armor-finder/shaman",[[262,"Elemental","/hand-armor-finder/shaman/elemental",,{tinyIcon:"spell_nature_lightning",noFilterModifications:true}],[263,"Enhancement","/hand-armor-finder/shaman/enhancement",,{tinyIcon:"spell_shaman_improvedstormstrike",noFilterModifications:true}],[264,"Restoration","/hand-armor-finder/shaman/restoration",,{tinyIcon:"spell_nature_magicimmunity",noFilterModifications:true}]],{className:"c7",tinyIcon:"class_shaman",noFilterModifications:true}],[9,"Warlock","/hand-armor-finder/warlock",[[265,"Affliction","/hand-armor-finder/warlock/affliction",,{tinyIcon:"spell_shadow_deathcoil",noFilterModifications:true}],[266,"Demonology","/hand-armor-finder/warlock/demonology",,{tinyIcon:"spell_shadow_metamorphosis",noFilterModifications:true}],[267,"Destruction","/hand-armor-finder/warlock/destruction",,{tinyIcon:"spell_shadow_rainoffire",noFilterModifications:true}]],{className:"c9",tinyIcon:"class_warlock",noFilterModifications:true}],[1,"Warrior","/hand-armor-finder/warrior",[[71,"Arms","/hand-armor-finder/warrior/arms",,{tinyIcon:"ability_warrior_savageblow",noFilterModifications:true}],[72,"Fury","/hand-armor-finder/warrior/fury",,{tinyIcon:"ability_warrior_innerrage",noFilterModifications:true}],[73,"Protection","/hand-armor-finder/warrior/protection",,{tinyIcon:"ability_warrior_defensivestance",noFilterModifications:true}]],{className:"c1",tinyIcon:"class_warrior",noFilterModifications:true}]],{noFilterModifications:true}],[6,"Waist","/belt-finder",[[6,"Death Knight","/belt-finder/death-knight",[[250,"Blood","/belt-finder/death-knight/blood",,{tinyIcon:"spell_deathknight_bloodpresence",noFilterModifications:true}],[251,"Frost","/belt-finder/death-knight/frost",,{tinyIcon:"spell_deathknight_frostpresence",noFilterModifications:true}],[252,"Unholy","/belt-finder/death-knight/unholy",,{tinyIcon:"spell_deathknight_unholypresence",noFilterModifications:true}]],{className:"c6",tinyIcon:"class_deathknight",noFilterModifications:true}],[12,"Demon Hunter","/belt-finder/demon-hunter",[[577,"Havoc","/belt-finder/demon-hunter/havoc",,{tinyIcon:"ability_demonhunter_specdps",noFilterModifications:true}],[581,"Vengeance","/belt-finder/demon-hunter/vengeance",,{tinyIcon:"ability_demonhunter_spectank",noFilterModifications:true}]],{className:"c12",tinyIcon:"class_demonhunter",noFilterModifications:true}],[11,"Druid","/belt-finder/druid",[[102,"Balance","/belt-finder/druid/balance",,{tinyIcon:"spell_nature_starfall",noFilterModifications:true}],[103,"Feral","/belt-finder/druid/feral",,{tinyIcon:"ability_druid_catform",noFilterModifications:true}],[104,"Guardian","/belt-finder/druid/guardian",,{tinyIcon:"ability_racial_bearform",noFilterModifications:true}],[105,"Restoration","/belt-finder/druid/restoration",,{tinyIcon:"spell_nature_healingtouch",noFilterModifications:true}]],{className:"c11",tinyIcon:"class_druid",noFilterModifications:true}],[3,"Hunter","/belt-finder/hunter",[[253,"Beast Mastery","/belt-finder/hunter/beast-mastery",,{tinyIcon:"ability_hunter_bestialdiscipline",noFilterModifications:true}],[254,"Marksmanship","/belt-finder/hunter/marksmanship",,{tinyIcon:"ability_hunter_focusedaim",noFilterModifications:true}],[255,"Survival","/belt-finder/hunter/survival",,{tinyIcon:"ability_hunter_camouflage",noFilterModifications:true}]],{className:"c3",tinyIcon:"class_hunter",noFilterModifications:true}],[8,"Mage","/belt-finder/mage",[[62,"Arcane","/belt-finder/mage/arcane",,{tinyIcon:"spell_holy_magicalsentry",noFilterModifications:true}],[63,"Fire","/belt-finder/mage/fire",,{tinyIcon:"spell_fire_firebolt02",noFilterModifications:true}],[64,"Frost","/belt-finder/mage/frost",,{tinyIcon:"spell_frost_frostbolt02",noFilterModifications:true}]],{className:"c8",tinyIcon:"class_mage",noFilterModifications:true}],[10,"Monk","/belt-finder/monk",[[268,"Brewmaster","/belt-finder/monk/brewmaster",,{tinyIcon:"spell_monk_brewmaster_spec",noFilterModifications:true}],[270,"Mistweaver","/belt-finder/monk/mistweaver",,{tinyIcon:"spell_monk_mistweaver_spec",noFilterModifications:true}],[269,"Windwalker","/belt-finder/monk/windwalker",,{tinyIcon:"spell_monk_windwalker_spec",noFilterModifications:true}]],{className:"c10",tinyIcon:"class_monk",noFilterModifications:true}],[2,"Paladin","/belt-finder/paladin",[[65,"Holy","/belt-finder/paladin/holy",,{tinyIcon:"spell_holy_holybolt",noFilterModifications:true}],[66,"Protection","/belt-finder/paladin/protection",,{tinyIcon:"ability_paladin_shieldofthetemplar",noFilterModifications:true}],[70,"Retribution","/belt-finder/paladin/retribution",,{tinyIcon:"spell_holy_auraoflight",noFilterModifications:true}]],{className:"c2",tinyIcon:"class_paladin",noFilterModifications:true}],[5,"Priest","/belt-finder/priest",[[256,"Discipline","/belt-finder/priest/discipline",,{tinyIcon:"spell_holy_powerwordshield",noFilterModifications:true}],[257,"Holy","/belt-finder/priest/holy",,{tinyIcon:"spell_holy_guardianspirit",noFilterModifications:true}],[258,"Shadow","/belt-finder/priest/shadow",,{tinyIcon:"spell_shadow_shadowwordpain",noFilterModifications:true}]],{className:"c5",tinyIcon:"class_priest",noFilterModifications:true}],[4,"Rogue","/belt-finder/rogue",[[259,"Assassination","/belt-finder/rogue/assassination",,{tinyIcon:"ability_rogue_eviscerate",noFilterModifications:true}],[260,"Outlaw","/belt-finder/rogue/outlaw",,{tinyIcon:"inv_sword_30",noFilterModifications:true}],[261,"Subtlety","/belt-finder/rogue/subtlety",,{tinyIcon:"ability_stealth",noFilterModifications:true}]],{className:"c4",tinyIcon:"class_rogue",noFilterModifications:true}],[7,"Shaman","/belt-finder/shaman",[[262,"Elemental","/belt-finder/shaman/elemental",,{tinyIcon:"spell_nature_lightning",noFilterModifications:true}],[263,"Enhancement","/belt-finder/shaman/enhancement",,{tinyIcon:"spell_shaman_improvedstormstrike",noFilterModifications:true}],[264,"Restoration","/belt-finder/shaman/restoration",,{tinyIcon:"spell_nature_magicimmunity",noFilterModifications:true}]],{className:"c7",tinyIcon:"class_shaman",noFilterModifications:true}],[9,"Warlock","/belt-finder/warlock",[[265,"Affliction","/belt-finder/warlock/affliction",,{tinyIcon:"spell_shadow_deathcoil",noFilterModifications:true}],[266,"Demonology","/belt-finder/warlock/demonology",,{tinyIcon:"spell_shadow_metamorphosis",noFilterModifications:true}],[267,"Destruction","/belt-finder/warlock/destruction",,{tinyIcon:"spell_shadow_rainoffire",noFilterModifications:true}]],{className:"c9",tinyIcon:"class_warlock",noFilterModifications:true}],[1,"Warrior","/belt-finder/warrior",[[71,"Arms","/belt-finder/warrior/arms",,{tinyIcon:"ability_warrior_savageblow",noFilterModifications:true}],[72,"Fury","/belt-finder/warrior/fury",,{tinyIcon:"ability_warrior_innerrage",noFilterModifications:true}],[73,"Protection","/belt-finder/warrior/protection",,{tinyIcon:"ability_warrior_defensivestance",noFilterModifications:true}]],{className:"c1",tinyIcon:"class_warrior",noFilterModifications:true}]],{noFilterModifications:true}],[7,"Legs","/leg-armor-finder",[[6,"Death Knight","/leg-armor-finder/death-knight",[[250,"Blood","/leg-armor-finder/death-knight/blood",,{tinyIcon:"spell_deathknight_bloodpresence",noFilterModifications:true}],[251,"Frost","/leg-armor-finder/death-knight/frost",,{tinyIcon:"spell_deathknight_frostpresence",noFilterModifications:true}],[252,"Unholy","/leg-armor-finder/death-knight/unholy",,{tinyIcon:"spell_deathknight_unholypresence",noFilterModifications:true}]],{className:"c6",tinyIcon:"class_deathknight",noFilterModifications:true}],[12,"Demon Hunter","/leg-armor-finder/demon-hunter",[[577,"Havoc","/leg-armor-finder/demon-hunter/havoc",,{tinyIcon:"ability_demonhunter_specdps",noFilterModifications:true}],[581,"Vengeance","/leg-armor-finder/demon-hunter/vengeance",,{tinyIcon:"ability_demonhunter_spectank",noFilterModifications:true}]],{className:"c12",tinyIcon:"class_demonhunter",noFilterModifications:true}],[11,"Druid","/leg-armor-finder/druid",[[102,"Balance","/leg-armor-finder/druid/balance",,{tinyIcon:"spell_nature_starfall",noFilterModifications:true}],[103,"Feral","/leg-armor-finder/druid/feral",,{tinyIcon:"ability_druid_catform",noFilterModifications:true}],[104,"Guardian","/leg-armor-finder/druid/guardian",,{tinyIcon:"ability_racial_bearform",noFilterModifications:true}],[105,"Restoration","/leg-armor-finder/druid/restoration",,{tinyIcon:"spell_nature_healingtouch",noFilterModifications:true}]],{className:"c11",tinyIcon:"class_druid",noFilterModifications:true}],[3,"Hunter","/leg-armor-finder/hunter",[[253,"Beast Mastery","/leg-armor-finder/hunter/beast-mastery",,{tinyIcon:"ability_hunter_bestialdiscipline",noFilterModifications:true}],[254,"Marksmanship","/leg-armor-finder/hunter/marksmanship",,{tinyIcon:"ability_hunter_focusedaim",noFilterModifications:true}],[255,"Survival","/leg-armor-finder/hunter/survival",,{tinyIcon:"ability_hunter_camouflage",noFilterModifications:true}]],{className:"c3",tinyIcon:"class_hunter",noFilterModifications:true}],[8,"Mage","/leg-armor-finder/mage",[[62,"Arcane","/leg-armor-finder/mage/arcane",,{tinyIcon:"spell_holy_magicalsentry",noFilterModifications:true}],[63,"Fire","/leg-armor-finder/mage/fire",,{tinyIcon:"spell_fire_firebolt02",noFilterModifications:true}],[64,"Frost","/leg-armor-finder/mage/frost",,{tinyIcon:"spell_frost_frostbolt02",noFilterModifications:true}]],{className:"c8",tinyIcon:"class_mage",noFilterModifications:true}],[10,"Monk","/leg-armor-finder/monk",[[268,"Brewmaster","/leg-armor-finder/monk/brewmaster",,{tinyIcon:"spell_monk_brewmaster_spec",noFilterModifications:true}],[270,"Mistweaver","/leg-armor-finder/monk/mistweaver",,{tinyIcon:"spell_monk_mistweaver_spec",noFilterModifications:true}],[269,"Windwalker","/leg-armor-finder/monk/windwalker",,{tinyIcon:"spell_monk_windwalker_spec",noFilterModifications:true}]],{className:"c10",tinyIcon:"class_monk",noFilterModifications:true}],[2,"Paladin","/leg-armor-finder/paladin",[[65,"Holy","/leg-armor-finder/paladin/holy",,{tinyIcon:"spell_holy_holybolt",noFilterModifications:true}],[66,"Protection","/leg-armor-finder/paladin/protection",,{tinyIcon:"ability_paladin_shieldofthetemplar",noFilterModifications:true}],[70,"Retribution","/leg-armor-finder/paladin/retribution",,{tinyIcon:"spell_holy_auraoflight",noFilterModifications:true}]],{className:"c2",tinyIcon:"class_paladin",noFilterModifications:true}],[5,"Priest","/leg-armor-finder/priest",[[256,"Discipline","/leg-armor-finder/priest/discipline",,{tinyIcon:"spell_holy_powerwordshield",noFilterModifications:true}],[257,"Holy","/leg-armor-finder/priest/holy",,{tinyIcon:"spell_holy_guardianspirit",noFilterModifications:true}],[258,"Shadow","/leg-armor-finder/priest/shadow",,{tinyIcon:"spell_shadow_shadowwordpain",noFilterModifications:true}]],{className:"c5",tinyIcon:"class_priest",noFilterModifications:true}],[4,"Rogue","/leg-armor-finder/rogue",[[259,"Assassination","/leg-armor-finder/rogue/assassination",,{tinyIcon:"ability_rogue_eviscerate",noFilterModifications:true}],[260,"Outlaw","/leg-armor-finder/rogue/outlaw",,{tinyIcon:"inv_sword_30",noFilterModifications:true}],[261,"Subtlety","/leg-armor-finder/rogue/subtlety",,{tinyIcon:"ability_stealth",noFilterModifications:true}]],{className:"c4",tinyIcon:"class_rogue",noFilterModifications:true}],[7,"Shaman","/leg-armor-finder/shaman",[[262,"Elemental","/leg-armor-finder/shaman/elemental",,{tinyIcon:"spell_nature_lightning",noFilterModifications:true}],[263,"Enhancement","/leg-armor-finder/shaman/enhancement",,{tinyIcon:"spell_shaman_improvedstormstrike",noFilterModifications:true}],[264,"Restoration","/leg-armor-finder/shaman/restoration",,{tinyIcon:"spell_nature_magicimmunity",noFilterModifications:true}]],{className:"c7",tinyIcon:"class_shaman",noFilterModifications:true}],[9,"Warlock","/leg-armor-finder/warlock",[[265,"Affliction","/leg-armor-finder/warlock/affliction",,{tinyIcon:"spell_shadow_deathcoil",noFilterModifications:true}],[266,"Demonology","/leg-armor-finder/warlock/demonology",,{tinyIcon:"spell_shadow_metamorphosis",noFilterModifications:true}],[267,"Destruction","/leg-armor-finder/warlock/destruction",,{tinyIcon:"spell_shadow_rainoffire",noFilterModifications:true}]],{className:"c9",tinyIcon:"class_warlock",noFilterModifications:true}],[1,"Warrior","/leg-armor-finder/warrior",[[71,"Arms","/leg-armor-finder/warrior/arms",,{tinyIcon:"ability_warrior_savageblow",noFilterModifications:true}],[72,"Fury","/leg-armor-finder/warrior/fury",,{tinyIcon:"ability_warrior_innerrage",noFilterModifications:true}],[73,"Protection","/leg-armor-finder/warrior/protection",,{tinyIcon:"ability_warrior_defensivestance",noFilterModifications:true}]],{className:"c1",tinyIcon:"class_warrior",noFilterModifications:true}]],{noFilterModifications:true}],[8,"Feet","/foot-armor-finder",[[6,"Death Knight","/foot-armor-finder/death-knight",[[250,"Blood","/foot-armor-finder/death-knight/blood",,{tinyIcon:"spell_deathknight_bloodpresence",noFilterModifications:true}],[251,"Frost","/foot-armor-finder/death-knight/frost",,{tinyIcon:"spell_deathknight_frostpresence",noFilterModifications:true}],[252,"Unholy","/foot-armor-finder/death-knight/unholy",,{tinyIcon:"spell_deathknight_unholypresence",noFilterModifications:true}]],{className:"c6",tinyIcon:"class_deathknight",noFilterModifications:true}],[12,"Demon Hunter","/foot-armor-finder/demon-hunter",[[577,"Havoc","/foot-armor-finder/demon-hunter/havoc",,{tinyIcon:"ability_demonhunter_specdps",noFilterModifications:true}],[581,"Vengeance","/foot-armor-finder/demon-hunter/vengeance",,{tinyIcon:"ability_demonhunter_spectank",noFilterModifications:true}]],{className:"c12",tinyIcon:"class_demonhunter",noFilterModifications:true}],[11,"Druid","/foot-armor-finder/druid",[[102,"Balance","/foot-armor-finder/druid/balance",,{tinyIcon:"spell_nature_starfall",noFilterModifications:true}],[103,"Feral","/foot-armor-finder/druid/feral",,{tinyIcon:"ability_druid_catform",noFilterModifications:true}],[104,"Guardian","/foot-armor-finder/druid/guardian",,{tinyIcon:"ability_racial_bearform",noFilterModifications:true}],[105,"Restoration","/foot-armor-finder/druid/restoration",,{tinyIcon:"spell_nature_healingtouch",noFilterModifications:true}]],{className:"c11",tinyIcon:"class_druid",noFilterModifications:true}],[3,"Hunter","/foot-armor-finder/hunter",[[253,"Beast Mastery","/foot-armor-finder/hunter/beast-mastery",,{tinyIcon:"ability_hunter_bestialdiscipline",noFilterModifications:true}],[254,"Marksmanship","/foot-armor-finder/hunter/marksmanship",,{tinyIcon:"ability_hunter_focusedaim",noFilterModifications:true}],[255,"Survival","/foot-armor-finder/hunter/survival",,{tinyIcon:"ability_hunter_camouflage",noFilterModifications:true}]],{className:"c3",tinyIcon:"class_hunter",noFilterModifications:true}],[8,"Mage","/foot-armor-finder/mage",[[62,"Arcane","/foot-armor-finder/mage/arcane",,{tinyIcon:"spell_holy_magicalsentry",noFilterModifications:true}],[63,"Fire","/foot-armor-finder/mage/fire",,{tinyIcon:"spell_fire_firebolt02",noFilterModifications:true}],[64,"Frost","/foot-armor-finder/mage/frost",,{tinyIcon:"spell_frost_frostbolt02",noFilterModifications:true}]],{className:"c8",tinyIcon:"class_mage",noFilterModifications:true}],[10,"Monk","/foot-armor-finder/monk",[[268,"Brewmaster","/foot-armor-finder/monk/brewmaster",,{tinyIcon:"spell_monk_brewmaster_spec",noFilterModifications:true}],[270,"Mistweaver","/foot-armor-finder/monk/mistweaver",,{tinyIcon:"spell_monk_mistweaver_spec",noFilterModifications:true}],[269,"Windwalker","/foot-armor-finder/monk/windwalker",,{tinyIcon:"spell_monk_windwalker_spec",noFilterModifications:true}]],{className:"c10",tinyIcon:"class_monk",noFilterModifications:true}],[2,"Paladin","/foot-armor-finder/paladin",[[65,"Holy","/foot-armor-finder/paladin/holy",,{tinyIcon:"spell_holy_holybolt",noFilterModifications:true}],[66,"Protection","/foot-armor-finder/paladin/protection",,{tinyIcon:"ability_paladin_shieldofthetemplar",noFilterModifications:true}],[70,"Retribution","/foot-armor-finder/paladin/retribution",,{tinyIcon:"spell_holy_auraoflight",noFilterModifications:true}]],{className:"c2",tinyIcon:"class_paladin",noFilterModifications:true}],[5,"Priest","/foot-armor-finder/priest",[[256,"Discipline","/foot-armor-finder/priest/discipline",,{tinyIcon:"spell_holy_powerwordshield",noFilterModifications:true}],[257,"Holy","/foot-armor-finder/priest/holy",,{tinyIcon:"spell_holy_guardianspirit",noFilterModifications:true}],[258,"Shadow","/foot-armor-finder/priest/shadow",,{tinyIcon:"spell_shadow_shadowwordpain",noFilterModifications:true}]],{className:"c5",tinyIcon:"class_priest",noFilterModifications:true}],[4,"Rogue","/foot-armor-finder/rogue",[[259,"Assassination","/foot-armor-finder/rogue/assassination",,{tinyIcon:"ability_rogue_eviscerate",noFilterModifications:true}],[260,"Outlaw","/foot-armor-finder/rogue/outlaw",,{tinyIcon:"inv_sword_30",noFilterModifications:true}],[261,"Subtlety","/foot-armor-finder/rogue/subtlety",,{tinyIcon:"ability_stealth",noFilterModifications:true}]],{className:"c4",tinyIcon:"class_rogue",noFilterModifications:true}],[7,"Shaman","/foot-armor-finder/shaman",[[262,"Elemental","/foot-armor-finder/shaman/elemental",,{tinyIcon:"spell_nature_lightning",noFilterModifications:true}],[263,"Enhancement","/foot-armor-finder/shaman/enhancement",,{tinyIcon:"spell_shaman_improvedstormstrike",noFilterModifications:true}],[264,"Restoration","/foot-armor-finder/shaman/restoration",,{tinyIcon:"spell_nature_magicimmunity",noFilterModifications:true}]],{className:"c7",tinyIcon:"class_shaman",noFilterModifications:true}],[9,"Warlock","/foot-armor-finder/warlock",[[265,"Affliction","/foot-armor-finder/warlock/affliction",,{tinyIcon:"spell_shadow_deathcoil",noFilterModifications:true}],[266,"Demonology","/foot-armor-finder/warlock/demonology",,{tinyIcon:"spell_shadow_metamorphosis",noFilterModifications:true}],[267,"Destruction","/foot-armor-finder/warlock/destruction",,{tinyIcon:"spell_shadow_rainoffire",noFilterModifications:true}]],{className:"c9",tinyIcon:"class_warlock",noFilterModifications:true}],[1,"Warrior","/foot-armor-finder/warrior",[[71,"Arms","/foot-armor-finder/warrior/arms",,{tinyIcon:"ability_warrior_savageblow",noFilterModifications:true}],[72,"Fury","/foot-armor-finder/warrior/fury",,{tinyIcon:"ability_warrior_innerrage",noFilterModifications:true}],[73,"Protection","/foot-armor-finder/warrior/protection",,{tinyIcon:"ability_warrior_defensivestance",noFilterModifications:true}]],{className:"c1",tinyIcon:"class_warrior",noFilterModifications:true}]],{noFilterModifications:true}],[11,"Finger","/ring-finder",[[6,"Death Knight","/ring-finder/death-knight",[[250,"Blood","/ring-finder/death-knight/blood",,{tinyIcon:"spell_deathknight_bloodpresence",noFilterModifications:true}],[251,"Frost","/ring-finder/death-knight/frost",,{tinyIcon:"spell_deathknight_frostpresence",noFilterModifications:true}],[252,"Unholy","/ring-finder/death-knight/unholy",,{tinyIcon:"spell_deathknight_unholypresence",noFilterModifications:true}]],{className:"c6",tinyIcon:"class_deathknight",noFilterModifications:true}],[12,"Demon Hunter","/ring-finder/demon-hunter",[[577,"Havoc","/ring-finder/demon-hunter/havoc",,{tinyIcon:"ability_demonhunter_specdps",noFilterModifications:true}],[581,"Vengeance","/ring-finder/demon-hunter/vengeance",,{tinyIcon:"ability_demonhunter_spectank",noFilterModifications:true}]],{className:"c12",tinyIcon:"class_demonhunter",noFilterModifications:true}],[11,"Druid","/ring-finder/druid",[[102,"Balance","/ring-finder/druid/balance",,{tinyIcon:"spell_nature_starfall",noFilterModifications:true}],[103,"Feral","/ring-finder/druid/feral",,{tinyIcon:"ability_druid_catform",noFilterModifications:true}],[104,"Guardian","/ring-finder/druid/guardian",,{tinyIcon:"ability_racial_bearform",noFilterModifications:true}],[105,"Restoration","/ring-finder/druid/restoration",,{tinyIcon:"spell_nature_healingtouch",noFilterModifications:true}]],{className:"c11",tinyIcon:"class_druid",noFilterModifications:true}],[3,"Hunter","/ring-finder/hunter",[[253,"Beast Mastery","/ring-finder/hunter/beast-mastery",,{tinyIcon:"ability_hunter_bestialdiscipline",noFilterModifications:true}],[254,"Marksmanship","/ring-finder/hunter/marksmanship",,{tinyIcon:"ability_hunter_focusedaim",noFilterModifications:true}],[255,"Survival","/ring-finder/hunter/survival",,{tinyIcon:"ability_hunter_camouflage",noFilterModifications:true}]],{className:"c3",tinyIcon:"class_hunter",noFilterModifications:true}],[8,"Mage","/ring-finder/mage",[[62,"Arcane","/ring-finder/mage/arcane",,{tinyIcon:"spell_holy_magicalsentry",noFilterModifications:true}],[63,"Fire","/ring-finder/mage/fire",,{tinyIcon:"spell_fire_firebolt02",noFilterModifications:true}],[64,"Frost","/ring-finder/mage/frost",,{tinyIcon:"spell_frost_frostbolt02",noFilterModifications:true}]],{className:"c8",tinyIcon:"class_mage",noFilterModifications:true}],[10,"Monk","/ring-finder/monk",[[268,"Brewmaster","/ring-finder/monk/brewmaster",,{tinyIcon:"spell_monk_brewmaster_spec",noFilterModifications:true}],[270,"Mistweaver","/ring-finder/monk/mistweaver",,{tinyIcon:"spell_monk_mistweaver_spec",noFilterModifications:true}],[269,"Windwalker","/ring-finder/monk/windwalker",,{tinyIcon:"spell_monk_windwalker_spec",noFilterModifications:true}]],{className:"c10",tinyIcon:"class_monk",noFilterModifications:true}],[2,"Paladin","/ring-finder/paladin",[[65,"Holy","/ring-finder/paladin/holy",,{tinyIcon:"spell_holy_holybolt",noFilterModifications:true}],[66,"Protection","/ring-finder/paladin/protection",,{tinyIcon:"ability_paladin_shieldofthetemplar",noFilterModifications:true}],[70,"Retribution","/ring-finder/paladin/retribution",,{tinyIcon:"spell_holy_auraoflight",noFilterModifications:true}]],{className:"c2",tinyIcon:"class_paladin",noFilterModifications:true}],[5,"Priest","/ring-finder/priest",[[256,"Discipline","/ring-finder/priest/discipline",,{tinyIcon:"spell_holy_powerwordshield",noFilterModifications:true}],[257,"Holy","/ring-finder/priest/holy",,{tinyIcon:"spell_holy_guardianspirit",noFilterModifications:true}],[258,"Shadow","/ring-finder/priest/shadow",,{tinyIcon:"spell_shadow_shadowwordpain",noFilterModifications:true}]],{className:"c5",tinyIcon:"class_priest",noFilterModifications:true}],[4,"Rogue","/ring-finder/rogue",[[259,"Assassination","/ring-finder/rogue/assassination",,{tinyIcon:"ability_rogue_eviscerate",noFilterModifications:true}],[260,"Outlaw","/ring-finder/rogue/outlaw",,{tinyIcon:"inv_sword_30",noFilterModifications:true}],[261,"Subtlety","/ring-finder/rogue/subtlety",,{tinyIcon:"ability_stealth",noFilterModifications:true}]],{className:"c4",tinyIcon:"class_rogue",noFilterModifications:true}],[7,"Shaman","/ring-finder/shaman",[[262,"Elemental","/ring-finder/shaman/elemental",,{tinyIcon:"spell_nature_lightning",noFilterModifications:true}],[263,"Enhancement","/ring-finder/shaman/enhancement",,{tinyIcon:"spell_shaman_improvedstormstrike",noFilterModifications:true}],[264,"Restoration","/ring-finder/shaman/restoration",,{tinyIcon:"spell_nature_magicimmunity",noFilterModifications:true}]],{className:"c7",tinyIcon:"class_shaman",noFilterModifications:true}],[9,"Warlock","/ring-finder/warlock",[[265,"Affliction","/ring-finder/warlock/affliction",,{tinyIcon:"spell_shadow_deathcoil",noFilterModifications:true}],[266,"Demonology","/ring-finder/warlock/demonology",,{tinyIcon:"spell_shadow_metamorphosis",noFilterModifications:true}],[267,"Destruction","/ring-finder/warlock/destruction",,{tinyIcon:"spell_shadow_rainoffire",noFilterModifications:true}]],{className:"c9",tinyIcon:"class_warlock",noFilterModifications:true}],[1,"Warrior","/ring-finder/warrior",[[71,"Arms","/ring-finder/warrior/arms",,{tinyIcon:"ability_warrior_savageblow",noFilterModifications:true}],[72,"Fury","/ring-finder/warrior/fury",,{tinyIcon:"ability_warrior_innerrage",noFilterModifications:true}],[73,"Protection","/ring-finder/warrior/protection",,{tinyIcon:"ability_warrior_defensivestance",noFilterModifications:true}]],{className:"c1",tinyIcon:"class_warrior",noFilterModifications:true}]],{noFilterModifications:true}],[12,"Trinket","/trinket-finder",[[6,"Death Knight","/trinket-finder/death-knight",[[250,"Blood","/trinket-finder/death-knight/blood",,{tinyIcon:"spell_deathknight_bloodpresence",noFilterModifications:true}],[251,"Frost","/trinket-finder/death-knight/frost",,{tinyIcon:"spell_deathknight_frostpresence",noFilterModifications:true}],[252,"Unholy","/trinket-finder/death-knight/unholy",,{tinyIcon:"spell_deathknight_unholypresence",noFilterModifications:true}]],{className:"c6",tinyIcon:"class_deathknight",noFilterModifications:true}],[12,"Demon Hunter","/trinket-finder/demon-hunter",[[577,"Havoc","/trinket-finder/demon-hunter/havoc",,{tinyIcon:"ability_demonhunter_specdps",noFilterModifications:true}],[581,"Vengeance","/trinket-finder/demon-hunter/vengeance",,{tinyIcon:"ability_demonhunter_spectank",noFilterModifications:true}]],{className:"c12",tinyIcon:"class_demonhunter",noFilterModifications:true}],[11,"Druid","/trinket-finder/druid",[[102,"Balance","/trinket-finder/druid/balance",,{tinyIcon:"spell_nature_starfall",noFilterModifications:true}],[103,"Feral","/trinket-finder/druid/feral",,{tinyIcon:"ability_druid_catform",noFilterModifications:true}],[104,"Guardian","/trinket-finder/druid/guardian",,{tinyIcon:"ability_racial_bearform",noFilterModifications:true}],[105,"Restoration","/trinket-finder/druid/restoration",,{tinyIcon:"spell_nature_healingtouch",noFilterModifications:true}]],{className:"c11",tinyIcon:"class_druid",noFilterModifications:true}],[3,"Hunter","/trinket-finder/hunter",[[253,"Beast Mastery","/trinket-finder/hunter/beast-mastery",,{tinyIcon:"ability_hunter_bestialdiscipline",noFilterModifications:true}],[254,"Marksmanship","/trinket-finder/hunter/marksmanship",,{tinyIcon:"ability_hunter_focusedaim",noFilterModifications:true}],[255,"Survival","/trinket-finder/hunter/survival",,{tinyIcon:"ability_hunter_camouflage",noFilterModifications:true}]],{className:"c3",tinyIcon:"class_hunter",noFilterModifications:true}],[8,"Mage","/trinket-finder/mage",[[62,"Arcane","/trinket-finder/mage/arcane",,{tinyIcon:"spell_holy_magicalsentry",noFilterModifications:true}],[63,"Fire","/trinket-finder/mage/fire",,{tinyIcon:"spell_fire_firebolt02",noFilterModifications:true}],[64,"Frost","/trinket-finder/mage/frost",,{tinyIcon:"spell_frost_frostbolt02",noFilterModifications:true}]],{className:"c8",tinyIcon:"class_mage",noFilterModifications:true}],[10,"Monk","/trinket-finder/monk",[[268,"Brewmaster","/trinket-finder/monk/brewmaster",,{tinyIcon:"spell_monk_brewmaster_spec",noFilterModifications:true}],[270,"Mistweaver","/trinket-finder/monk/mistweaver",,{tinyIcon:"spell_monk_mistweaver_spec",noFilterModifications:true}],[269,"Windwalker","/trinket-finder/monk/windwalker",,{tinyIcon:"spell_monk_windwalker_spec",noFilterModifications:true}]],{className:"c10",tinyIcon:"class_monk",noFilterModifications:true}],[2,"Paladin","/trinket-finder/paladin",[[65,"Holy","/trinket-finder/paladin/holy",,{tinyIcon:"spell_holy_holybolt",noFilterModifications:true}],[66,"Protection","/trinket-finder/paladin/protection",,{tinyIcon:"ability_paladin_shieldofthetemplar",noFilterModifications:true}],[70,"Retribution","/trinket-finder/paladin/retribution",,{tinyIcon:"spell_holy_auraoflight",noFilterModifications:true}]],{className:"c2",tinyIcon:"class_paladin",noFilterModifications:true}],[5,"Priest","/trinket-finder/priest",[[256,"Discipline","/trinket-finder/priest/discipline",,{tinyIcon:"spell_holy_powerwordshield",noFilterModifications:true}],[257,"Holy","/trinket-finder/priest/holy",,{tinyIcon:"spell_holy_guardianspirit",noFilterModifications:true}],[258,"Shadow","/trinket-finder/priest/shadow",,{tinyIcon:"spell_shadow_shadowwordpain",noFilterModifications:true}]],{className:"c5",tinyIcon:"class_priest",noFilterModifications:true}],[4,"Rogue","/trinket-finder/rogue",[[259,"Assassination","/trinket-finder/rogue/assassination",,{tinyIcon:"ability_rogue_eviscerate",noFilterModifications:true}],[260,"Outlaw","/trinket-finder/rogue/outlaw",,{tinyIcon:"inv_sword_30",noFilterModifications:true}],[261,"Subtlety","/trinket-finder/rogue/subtlety",,{tinyIcon:"ability_stealth",noFilterModifications:true}]],{className:"c4",tinyIcon:"class_rogue",noFilterModifications:true}],[7,"Shaman","/trinket-finder/shaman",[[262,"Elemental","/trinket-finder/shaman/elemental",,{tinyIcon:"spell_nature_lightning",noFilterModifications:true}],[263,"Enhancement","/trinket-finder/shaman/enhancement",,{tinyIcon:"spell_shaman_improvedstormstrike",noFilterModifications:true}],[264,"Restoration","/trinket-finder/shaman/restoration",,{tinyIcon:"spell_nature_magicimmunity",noFilterModifications:true}]],{className:"c7",tinyIcon:"class_shaman",noFilterModifications:true}],[9,"Warlock","/trinket-finder/warlock",[[265,"Affliction","/trinket-finder/warlock/affliction",,{tinyIcon:"spell_shadow_deathcoil",noFilterModifications:true}],[266,"Demonology","/trinket-finder/warlock/demonology",,{tinyIcon:"spell_shadow_metamorphosis",noFilterModifications:true}],[267,"Destruction","/trinket-finder/warlock/destruction",,{tinyIcon:"spell_shadow_rainoffire",noFilterModifications:true}]],{className:"c9",tinyIcon:"class_warlock",noFilterModifications:true}],[1,"Warrior","/trinket-finder/warrior",[[71,"Arms","/trinket-finder/warrior/arms",,{tinyIcon:"ability_warrior_savageblow",noFilterModifications:true}],[72,"Fury","/trinket-finder/warrior/fury",,{tinyIcon:"ability_warrior_innerrage",noFilterModifications:true}],[73,"Protection","/trinket-finder/warrior/protection",,{tinyIcon:"ability_warrior_defensivestance",noFilterModifications:true}]],{className:"c1",tinyIcon:"class_warrior",noFilterModifications:true}]],{noFilterModifications:true}],[21,"Main Hand","/main-hand-weapon-finder",[[6,"Death Knight","/main-hand-weapon-finder/death-knight",[[250,"Blood","/main-hand-weapon-finder/death-knight/blood",,{tinyIcon:"spell_deathknight_bloodpresence",noFilterModifications:true}],[251,"Frost","/main-hand-weapon-finder/death-knight/frost",,{tinyIcon:"spell_deathknight_frostpresence",noFilterModifications:true}],[252,"Unholy","/main-hand-weapon-finder/death-knight/unholy",,{tinyIcon:"spell_deathknight_unholypresence",noFilterModifications:true}]],{className:"c6",tinyIcon:"class_deathknight",noFilterModifications:true}],[12,"Demon Hunter","/main-hand-weapon-finder/demon-hunter",[[577,"Havoc","/main-hand-weapon-finder/demon-hunter/havoc",,{tinyIcon:"ability_demonhunter_specdps",noFilterModifications:true}],[581,"Vengeance","/main-hand-weapon-finder/demon-hunter/vengeance",,{tinyIcon:"ability_demonhunter_spectank",noFilterModifications:true}]],{className:"c12",tinyIcon:"class_demonhunter",noFilterModifications:true}],[11,"Druid","/main-hand-weapon-finder/druid",[[102,"Balance","/main-hand-weapon-finder/druid/balance",,{tinyIcon:"spell_nature_starfall",noFilterModifications:true}],[103,"Feral","/main-hand-weapon-finder/druid/feral",,{tinyIcon:"ability_druid_catform",noFilterModifications:true}],[104,"Guardian","/main-hand-weapon-finder/druid/guardian",,{tinyIcon:"ability_racial_bearform",noFilterModifications:true}],[105,"Restoration","/main-hand-weapon-finder/druid/restoration",,{tinyIcon:"spell_nature_healingtouch",noFilterModifications:true}]],{className:"c11",tinyIcon:"class_druid",noFilterModifications:true}],[3,"Hunter","/main-hand-weapon-finder/hunter",[[253,"Beast Mastery","/main-hand-weapon-finder/hunter/beast-mastery",,{tinyIcon:"ability_hunter_bestialdiscipline",noFilterModifications:true}],[254,"Marksmanship","/main-hand-weapon-finder/hunter/marksmanship",,{tinyIcon:"ability_hunter_focusedaim",noFilterModifications:true}],[255,"Survival","/main-hand-weapon-finder/hunter/survival",,{tinyIcon:"ability_hunter_camouflage",noFilterModifications:true}]],{className:"c3",tinyIcon:"class_hunter",noFilterModifications:true}],[8,"Mage","/main-hand-weapon-finder/mage",[[62,"Arcane","/main-hand-weapon-finder/mage/arcane",,{tinyIcon:"spell_holy_magicalsentry",noFilterModifications:true}],[63,"Fire","/main-hand-weapon-finder/mage/fire",,{tinyIcon:"spell_fire_firebolt02",noFilterModifications:true}],[64,"Frost","/main-hand-weapon-finder/mage/frost",,{tinyIcon:"spell_frost_frostbolt02",noFilterModifications:true}]],{className:"c8",tinyIcon:"class_mage",noFilterModifications:true}],[10,"Monk","/main-hand-weapon-finder/monk",[[268,"Brewmaster","/main-hand-weapon-finder/monk/brewmaster",,{tinyIcon:"spell_monk_brewmaster_spec",noFilterModifications:true}],[270,"Mistweaver","/main-hand-weapon-finder/monk/mistweaver",,{tinyIcon:"spell_monk_mistweaver_spec",noFilterModifications:true}],[269,"Windwalker","/main-hand-weapon-finder/monk/windwalker",,{tinyIcon:"spell_monk_windwalker_spec",noFilterModifications:true}]],{className:"c10",tinyIcon:"class_monk",noFilterModifications:true}],[2,"Paladin","/main-hand-weapon-finder/paladin",[[65,"Holy","/main-hand-weapon-finder/paladin/holy",,{tinyIcon:"spell_holy_holybolt",noFilterModifications:true}],[66,"Protection","/main-hand-weapon-finder/paladin/protection",,{tinyIcon:"ability_paladin_shieldofthetemplar",noFilterModifications:true}],[70,"Retribution","/main-hand-weapon-finder/paladin/retribution",,{tinyIcon:"spell_holy_auraoflight",noFilterModifications:true}]],{className:"c2",tinyIcon:"class_paladin",noFilterModifications:true}],[5,"Priest","/main-hand-weapon-finder/priest",[[256,"Discipline","/main-hand-weapon-finder/priest/discipline",,{tinyIcon:"spell_holy_powerwordshield",noFilterModifications:true}],[257,"Holy","/main-hand-weapon-finder/priest/holy",,{tinyIcon:"spell_holy_guardianspirit",noFilterModifications:true}],[258,"Shadow","/main-hand-weapon-finder/priest/shadow",,{tinyIcon:"spell_shadow_shadowwordpain",noFilterModifications:true}]],{className:"c5",tinyIcon:"class_priest",noFilterModifications:true}],[4,"Rogue","/main-hand-weapon-finder/rogue",[[259,"Assassination","/main-hand-weapon-finder/rogue/assassination",,{tinyIcon:"ability_rogue_eviscerate",noFilterModifications:true}],[260,"Outlaw","/main-hand-weapon-finder/rogue/outlaw",,{tinyIcon:"inv_sword_30",noFilterModifications:true}],[261,"Subtlety","/main-hand-weapon-finder/rogue/subtlety",,{tinyIcon:"ability_stealth",noFilterModifications:true}]],{className:"c4",tinyIcon:"class_rogue",noFilterModifications:true}],[7,"Shaman","/main-hand-weapon-finder/shaman",[[262,"Elemental","/main-hand-weapon-finder/shaman/elemental",,{tinyIcon:"spell_nature_lightning",noFilterModifications:true}],[263,"Enhancement","/main-hand-weapon-finder/shaman/enhancement",,{tinyIcon:"spell_shaman_improvedstormstrike",noFilterModifications:true}],[264,"Restoration","/main-hand-weapon-finder/shaman/restoration",,{tinyIcon:"spell_nature_magicimmunity",noFilterModifications:true}]],{className:"c7",tinyIcon:"class_shaman",noFilterModifications:true}],[9,"Warlock","/main-hand-weapon-finder/warlock",[[265,"Affliction","/main-hand-weapon-finder/warlock/affliction",,{tinyIcon:"spell_shadow_deathcoil",noFilterModifications:true}],[266,"Demonology","/main-hand-weapon-finder/warlock/demonology",,{tinyIcon:"spell_shadow_metamorphosis",noFilterModifications:true}],[267,"Destruction","/main-hand-weapon-finder/warlock/destruction",,{tinyIcon:"spell_shadow_rainoffire",noFilterModifications:true}]],{className:"c9",tinyIcon:"class_warlock",noFilterModifications:true}],[1,"Warrior","/main-hand-weapon-finder/warrior",[[71,"Arms","/main-hand-weapon-finder/warrior/arms",,{tinyIcon:"ability_warrior_savageblow",noFilterModifications:true}],[72,"Fury","/main-hand-weapon-finder/warrior/fury",,{tinyIcon:"ability_warrior_innerrage",noFilterModifications:true}],[73,"Protection","/main-hand-weapon-finder/warrior/protection",,{tinyIcon:"ability_warrior_defensivestance",noFilterModifications:true}]],{className:"c1",tinyIcon:"class_warrior",noFilterModifications:true}]],{noFilterModifications:true}],[22,"Off Hand","/off-hand-weapon-finder",[[6,"Death Knight","/off-hand-weapon-finder/death-knight",[[250,"Blood","/off-hand-weapon-finder/death-knight/blood",,{tinyIcon:"spell_deathknight_bloodpresence",noFilterModifications:true}],[251,"Frost","/off-hand-weapon-finder/death-knight/frost",,{tinyIcon:"spell_deathknight_frostpresence",noFilterModifications:true}],[252,"Unholy","/off-hand-weapon-finder/death-knight/unholy",,{tinyIcon:"spell_deathknight_unholypresence",noFilterModifications:true}]],{className:"c6",tinyIcon:"class_deathknight",noFilterModifications:true}],[12,"Demon Hunter","/off-hand-weapon-finder/demon-hunter",[[577,"Havoc","/off-hand-weapon-finder/demon-hunter/havoc",,{tinyIcon:"ability_demonhunter_specdps",noFilterModifications:true}],[581,"Vengeance","/off-hand-weapon-finder/demon-hunter/vengeance",,{tinyIcon:"ability_demonhunter_spectank",noFilterModifications:true}]],{className:"c12",tinyIcon:"class_demonhunter",noFilterModifications:true}],[11,"Druid","/off-hand-weapon-finder/druid",[[102,"Balance","/off-hand-weapon-finder/druid/balance",,{tinyIcon:"spell_nature_starfall",noFilterModifications:true}],[103,"Feral","/off-hand-weapon-finder/druid/feral",,{tinyIcon:"ability_druid_catform",noFilterModifications:true}],[104,"Guardian","/off-hand-weapon-finder/druid/guardian",,{tinyIcon:"ability_racial_bearform",noFilterModifications:true}],[105,"Restoration","/off-hand-weapon-finder/druid/restoration",,{tinyIcon:"spell_nature_healingtouch",noFilterModifications:true}]],{className:"c11",tinyIcon:"class_druid",noFilterModifications:true}],[3,"Hunter","/off-hand-weapon-finder/hunter",[[253,"Beast Mastery","/off-hand-weapon-finder/hunter/beast-mastery",,{tinyIcon:"ability_hunter_bestialdiscipline",noFilterModifications:true}],[254,"Marksmanship","/off-hand-weapon-finder/hunter/marksmanship",,{tinyIcon:"ability_hunter_focusedaim",noFilterModifications:true}],[255,"Survival","/off-hand-weapon-finder/hunter/survival",,{tinyIcon:"ability_hunter_camouflage",noFilterModifications:true}]],{className:"c3",tinyIcon:"class_hunter",noFilterModifications:true}],[8,"Mage","/off-hand-weapon-finder/mage",[[62,"Arcane","/off-hand-weapon-finder/mage/arcane",,{tinyIcon:"spell_holy_magicalsentry",noFilterModifications:true}],[63,"Fire","/off-hand-weapon-finder/mage/fire",,{tinyIcon:"spell_fire_firebolt02",noFilterModifications:true}],[64,"Frost","/off-hand-weapon-finder/mage/frost",,{tinyIcon:"spell_frost_frostbolt02",noFilterModifications:true}]],{className:"c8",tinyIcon:"class_mage",noFilterModifications:true}],[10,"Monk","/off-hand-weapon-finder/monk",[[268,"Brewmaster","/off-hand-weapon-finder/monk/brewmaster",,{tinyIcon:"spell_monk_brewmaster_spec",noFilterModifications:true}],[270,"Mistweaver","/off-hand-weapon-finder/monk/mistweaver",,{tinyIcon:"spell_monk_mistweaver_spec",noFilterModifications:true}],[269,"Windwalker","/off-hand-weapon-finder/monk/windwalker",,{tinyIcon:"spell_monk_windwalker_spec",noFilterModifications:true}]],{className:"c10",tinyIcon:"class_monk",noFilterModifications:true}],[2,"Paladin","/off-hand-weapon-finder/paladin",[[65,"Holy","/off-hand-weapon-finder/paladin/holy",,{tinyIcon:"spell_holy_holybolt",noFilterModifications:true}],[66,"Protection","/off-hand-weapon-finder/paladin/protection",,{tinyIcon:"ability_paladin_shieldofthetemplar",noFilterModifications:true}],[70,"Retribution","/off-hand-weapon-finder/paladin/retribution",,{tinyIcon:"spell_holy_auraoflight",noFilterModifications:true}]],{className:"c2",tinyIcon:"class_paladin",noFilterModifications:true}],[5,"Priest","/off-hand-weapon-finder/priest",[[256,"Discipline","/off-hand-weapon-finder/priest/discipline",,{tinyIcon:"spell_holy_powerwordshield",noFilterModifications:true}],[257,"Holy","/off-hand-weapon-finder/priest/holy",,{tinyIcon:"spell_holy_guardianspirit",noFilterModifications:true}],[258,"Shadow","/off-hand-weapon-finder/priest/shadow",,{tinyIcon:"spell_shadow_shadowwordpain",noFilterModifications:true}]],{className:"c5",tinyIcon:"class_priest",noFilterModifications:true}],[4,"Rogue","/off-hand-weapon-finder/rogue",[[259,"Assassination","/off-hand-weapon-finder/rogue/assassination",,{tinyIcon:"ability_rogue_eviscerate",noFilterModifications:true}],[260,"Outlaw","/off-hand-weapon-finder/rogue/outlaw",,{tinyIcon:"inv_sword_30",noFilterModifications:true}],[261,"Subtlety","/off-hand-weapon-finder/rogue/subtlety",,{tinyIcon:"ability_stealth",noFilterModifications:true}]],{className:"c4",tinyIcon:"class_rogue",noFilterModifications:true}],[7,"Shaman","/off-hand-weapon-finder/shaman",[[262,"Elemental","/off-hand-weapon-finder/shaman/elemental",,{tinyIcon:"spell_nature_lightning",noFilterModifications:true}],[263,"Enhancement","/off-hand-weapon-finder/shaman/enhancement",,{tinyIcon:"spell_shaman_improvedstormstrike",noFilterModifications:true}],[264,"Restoration","/off-hand-weapon-finder/shaman/restoration",,{tinyIcon:"spell_nature_magicimmunity",noFilterModifications:true}]],{className:"c7",tinyIcon:"class_shaman",noFilterModifications:true}],[9,"Warlock","/off-hand-weapon-finder/warlock",[[265,"Affliction","/off-hand-weapon-finder/warlock/affliction",,{tinyIcon:"spell_shadow_deathcoil",noFilterModifications:true}],[266,"Demonology","/off-hand-weapon-finder/warlock/demonology",,{tinyIcon:"spell_shadow_metamorphosis",noFilterModifications:true}],[267,"Destruction","/off-hand-weapon-finder/warlock/destruction",,{tinyIcon:"spell_shadow_rainoffire",noFilterModifications:true}]],{className:"c9",tinyIcon:"class_warlock",noFilterModifications:true}],[1,"Warrior","/off-hand-weapon-finder/warrior",[[71,"Arms","/off-hand-weapon-finder/warrior/arms",,{tinyIcon:"ability_warrior_savageblow",noFilterModifications:true}],[72,"Fury","/off-hand-weapon-finder/warrior/fury",,{tinyIcon:"ability_warrior_innerrage",noFilterModifications:true}],[73,"Protection","/off-hand-weapon-finder/warrior/protection",,{tinyIcon:"ability_warrior_defensivestance",noFilterModifications:true}]],{className:"c1",tinyIcon:"class_warrior",noFilterModifications:true}]],{noFilterModifications:true}]],{noFilterModifications:true}],[1,"Enchants","/enchant-finder",[[-1,"Any","/any-enchant-finder",[[6,"Death Knight","/any-enchant-finder/death-knight",[[250,"Blood","/any-enchant-finder/death-knight/blood",,{tinyIcon:"spell_deathknight_bloodpresence",noFilterModifications:true}],[251,"Frost","/any-enchant-finder/death-knight/frost",,{tinyIcon:"spell_deathknight_frostpresence",noFilterModifications:true}],[252,"Unholy","/any-enchant-finder/death-knight/unholy",,{tinyIcon:"spell_deathknight_unholypresence",noFilterModifications:true}]],{className:"c6",tinyIcon:"class_deathknight",noFilterModifications:true}],[12,"Demon Hunter","/any-enchant-finder/demon-hunter",[[577,"Havoc","/any-enchant-finder/demon-hunter/havoc",,{tinyIcon:"ability_demonhunter_specdps",noFilterModifications:true}],[581,"Vengeance","/any-enchant-finder/demon-hunter/vengeance",,{tinyIcon:"ability_demonhunter_spectank",noFilterModifications:true}]],{className:"c12",tinyIcon:"class_demonhunter",noFilterModifications:true}],[11,"Druid","/any-enchant-finder/druid",[[102,"Balance","/any-enchant-finder/druid/balance",,{tinyIcon:"spell_nature_starfall",noFilterModifications:true}],[103,"Feral","/any-enchant-finder/druid/feral",,{tinyIcon:"ability_druid_catform",noFilterModifications:true}],[104,"Guardian","/any-enchant-finder/druid/guardian",,{tinyIcon:"ability_racial_bearform",noFilterModifications:true}],[105,"Restoration","/any-enchant-finder/druid/restoration",,{tinyIcon:"spell_nature_healingtouch",noFilterModifications:true}]],{className:"c11",tinyIcon:"class_druid",noFilterModifications:true}],[3,"Hunter","/any-enchant-finder/hunter",[[253,"Beast Mastery","/any-enchant-finder/hunter/beast-mastery",,{tinyIcon:"ability_hunter_bestialdiscipline",noFilterModifications:true}],[254,"Marksmanship","/any-enchant-finder/hunter/marksmanship",,{tinyIcon:"ability_hunter_focusedaim",noFilterModifications:true}],[255,"Survival","/any-enchant-finder/hunter/survival",,{tinyIcon:"ability_hunter_camouflage",noFilterModifications:true}]],{className:"c3",tinyIcon:"class_hunter",noFilterModifications:true}],[8,"Mage","/any-enchant-finder/mage",[[62,"Arcane","/any-enchant-finder/mage/arcane",,{tinyIcon:"spell_holy_magicalsentry",noFilterModifications:true}],[63,"Fire","/any-enchant-finder/mage/fire",,{tinyIcon:"spell_fire_firebolt02",noFilterModifications:true}],[64,"Frost","/any-enchant-finder/mage/frost",,{tinyIcon:"spell_frost_frostbolt02",noFilterModifications:true}]],{className:"c8",tinyIcon:"class_mage",noFilterModifications:true}],[10,"Monk","/any-enchant-finder/monk",[[268,"Brewmaster","/any-enchant-finder/monk/brewmaster",,{tinyIcon:"spell_monk_brewmaster_spec",noFilterModifications:true}],[270,"Mistweaver","/any-enchant-finder/monk/mistweaver",,{tinyIcon:"spell_monk_mistweaver_spec",noFilterModifications:true}],[269,"Windwalker","/any-enchant-finder/monk/windwalker",,{tinyIcon:"spell_monk_windwalker_spec",noFilterModifications:true}]],{className:"c10",tinyIcon:"class_monk",noFilterModifications:true}],[2,"Paladin","/any-enchant-finder/paladin",[[65,"Holy","/any-enchant-finder/paladin/holy",,{tinyIcon:"spell_holy_holybolt",noFilterModifications:true}],[66,"Protection","/any-enchant-finder/paladin/protection",,{tinyIcon:"ability_paladin_shieldofthetemplar",noFilterModifications:true}],[70,"Retribution","/any-enchant-finder/paladin/retribution",,{tinyIcon:"spell_holy_auraoflight",noFilterModifications:true}]],{className:"c2",tinyIcon:"class_paladin",noFilterModifications:true}],[5,"Priest","/any-enchant-finder/priest",[[256,"Discipline","/any-enchant-finder/priest/discipline",,{tinyIcon:"spell_holy_powerwordshield",noFilterModifications:true}],[257,"Holy","/any-enchant-finder/priest/holy",,{tinyIcon:"spell_holy_guardianspirit",noFilterModifications:true}],[258,"Shadow","/any-enchant-finder/priest/shadow",,{tinyIcon:"spell_shadow_shadowwordpain",noFilterModifications:true}]],{className:"c5",tinyIcon:"class_priest",noFilterModifications:true}],[4,"Rogue","/any-enchant-finder/rogue",[[259,"Assassination","/any-enchant-finder/rogue/assassination",,{tinyIcon:"ability_rogue_eviscerate",noFilterModifications:true}],[260,"Outlaw","/any-enchant-finder/rogue/outlaw",,{tinyIcon:"inv_sword_30",noFilterModifications:true}],[261,"Subtlety","/any-enchant-finder/rogue/subtlety",,{tinyIcon:"ability_stealth",noFilterModifications:true}]],{className:"c4",tinyIcon:"class_rogue",noFilterModifications:true}],[7,"Shaman","/any-enchant-finder/shaman",[[262,"Elemental","/any-enchant-finder/shaman/elemental",,{tinyIcon:"spell_nature_lightning",noFilterModifications:true}],[263,"Enhancement","/any-enchant-finder/shaman/enhancement",,{tinyIcon:"spell_shaman_improvedstormstrike",noFilterModifications:true}],[264,"Restoration","/any-enchant-finder/shaman/restoration",,{tinyIcon:"spell_nature_magicimmunity",noFilterModifications:true}]],{className:"c7",tinyIcon:"class_shaman",noFilterModifications:true}],[9,"Warlock","/any-enchant-finder/warlock",[[265,"Affliction","/any-enchant-finder/warlock/affliction",,{tinyIcon:"spell_shadow_deathcoil",noFilterModifications:true}],[266,"Demonology","/any-enchant-finder/warlock/demonology",,{tinyIcon:"spell_shadow_metamorphosis",noFilterModifications:true}],[267,"Destruction","/any-enchant-finder/warlock/destruction",,{tinyIcon:"spell_shadow_rainoffire",noFilterModifications:true}]],{className:"c9",tinyIcon:"class_warlock",noFilterModifications:true}],[1,"Warrior","/any-enchant-finder/warrior",[[71,"Arms","/any-enchant-finder/warrior/arms",,{tinyIcon:"ability_warrior_savageblow",noFilterModifications:true}],[72,"Fury","/any-enchant-finder/warrior/fury",,{tinyIcon:"ability_warrior_innerrage",noFilterModifications:true}],[73,"Protection","/any-enchant-finder/warrior/protection",,{tinyIcon:"ability_warrior_defensivestance",noFilterModifications:true}]],{className:"c1",tinyIcon:"class_warrior",noFilterModifications:true}]],{noFilterModifications:true}],[1,"Head","/head-enchant-finder",[[6,"Death Knight","/head-enchant-finder/death-knight",[[250,"Blood","/head-enchant-finder/death-knight/blood",,{tinyIcon:"spell_deathknight_bloodpresence",noFilterModifications:true}],[251,"Frost","/head-enchant-finder/death-knight/frost",,{tinyIcon:"spell_deathknight_frostpresence",noFilterModifications:true}],[252,"Unholy","/head-enchant-finder/death-knight/unholy",,{tinyIcon:"spell_deathknight_unholypresence",noFilterModifications:true}]],{className:"c6",tinyIcon:"class_deathknight",noFilterModifications:true}],[12,"Demon Hunter","/head-enchant-finder/demon-hunter",[[577,"Havoc","/head-enchant-finder/demon-hunter/havoc",,{tinyIcon:"ability_demonhunter_specdps",noFilterModifications:true}],[581,"Vengeance","/head-enchant-finder/demon-hunter/vengeance",,{tinyIcon:"ability_demonhunter_spectank",noFilterModifications:true}]],{className:"c12",tinyIcon:"class_demonhunter",noFilterModifications:true}],[11,"Druid","/head-enchant-finder/druid",[[102,"Balance","/head-enchant-finder/druid/balance",,{tinyIcon:"spell_nature_starfall",noFilterModifications:true}],[103,"Feral","/head-enchant-finder/druid/feral",,{tinyIcon:"ability_druid_catform",noFilterModifications:true}],[104,"Guardian","/head-enchant-finder/druid/guardian",,{tinyIcon:"ability_racial_bearform",noFilterModifications:true}],[105,"Restoration","/head-enchant-finder/druid/restoration",,{tinyIcon:"spell_nature_healingtouch",noFilterModifications:true}]],{className:"c11",tinyIcon:"class_druid",noFilterModifications:true}],[3,"Hunter","/head-enchant-finder/hunter",[[253,"Beast Mastery","/head-enchant-finder/hunter/beast-mastery",,{tinyIcon:"ability_hunter_bestialdiscipline",noFilterModifications:true}],[254,"Marksmanship","/head-enchant-finder/hunter/marksmanship",,{tinyIcon:"ability_hunter_focusedaim",noFilterModifications:true}],[255,"Survival","/head-enchant-finder/hunter/survival",,{tinyIcon:"ability_hunter_camouflage",noFilterModifications:true}]],{className:"c3",tinyIcon:"class_hunter",noFilterModifications:true}],[8,"Mage","/head-enchant-finder/mage",[[62,"Arcane","/head-enchant-finder/mage/arcane",,{tinyIcon:"spell_holy_magicalsentry",noFilterModifications:true}],[63,"Fire","/head-enchant-finder/mage/fire",,{tinyIcon:"spell_fire_firebolt02",noFilterModifications:true}],[64,"Frost","/head-enchant-finder/mage/frost",,{tinyIcon:"spell_frost_frostbolt02",noFilterModifications:true}]],{className:"c8",tinyIcon:"class_mage",noFilterModifications:true}],[10,"Monk","/head-enchant-finder/monk",[[268,"Brewmaster","/head-enchant-finder/monk/brewmaster",,{tinyIcon:"spell_monk_brewmaster_spec",noFilterModifications:true}],[270,"Mistweaver","/head-enchant-finder/monk/mistweaver",,{tinyIcon:"spell_monk_mistweaver_spec",noFilterModifications:true}],[269,"Windwalker","/head-enchant-finder/monk/windwalker",,{tinyIcon:"spell_monk_windwalker_spec",noFilterModifications:true}]],{className:"c10",tinyIcon:"class_monk",noFilterModifications:true}],[2,"Paladin","/head-enchant-finder/paladin",[[65,"Holy","/head-enchant-finder/paladin/holy",,{tinyIcon:"spell_holy_holybolt",noFilterModifications:true}],[66,"Protection","/head-enchant-finder/paladin/protection",,{tinyIcon:"ability_paladin_shieldofthetemplar",noFilterModifications:true}],[70,"Retribution","/head-enchant-finder/paladin/retribution",,{tinyIcon:"spell_holy_auraoflight",noFilterModifications:true}]],{className:"c2",tinyIcon:"class_paladin",noFilterModifications:true}],[5,"Priest","/head-enchant-finder/priest",[[256,"Discipline","/head-enchant-finder/priest/discipline",,{tinyIcon:"spell_holy_powerwordshield",noFilterModifications:true}],[257,"Holy","/head-enchant-finder/priest/holy",,{tinyIcon:"spell_holy_guardianspirit",noFilterModifications:true}],[258,"Shadow","/head-enchant-finder/priest/shadow",,{tinyIcon:"spell_shadow_shadowwordpain",noFilterModifications:true}]],{className:"c5",tinyIcon:"class_priest",noFilterModifications:true}],[4,"Rogue","/head-enchant-finder/rogue",[[259,"Assassination","/head-enchant-finder/rogue/assassination",,{tinyIcon:"ability_rogue_eviscerate",noFilterModifications:true}],[260,"Outlaw","/head-enchant-finder/rogue/outlaw",,{tinyIcon:"inv_sword_30",noFilterModifications:true}],[261,"Subtlety","/head-enchant-finder/rogue/subtlety",,{tinyIcon:"ability_stealth",noFilterModifications:true}]],{className:"c4",tinyIcon:"class_rogue",noFilterModifications:true}],[7,"Shaman","/head-enchant-finder/shaman",[[262,"Elemental","/head-enchant-finder/shaman/elemental",,{tinyIcon:"spell_nature_lightning",noFilterModifications:true}],[263,"Enhancement","/head-enchant-finder/shaman/enhancement",,{tinyIcon:"spell_shaman_improvedstormstrike",noFilterModifications:true}],[264,"Restoration","/head-enchant-finder/shaman/restoration",,{tinyIcon:"spell_nature_magicimmunity",noFilterModifications:true}]],{className:"c7",tinyIcon:"class_shaman",noFilterModifications:true}],[9,"Warlock","/head-enchant-finder/warlock",[[265,"Affliction","/head-enchant-finder/warlock/affliction",,{tinyIcon:"spell_shadow_deathcoil",noFilterModifications:true}],[266,"Demonology","/head-enchant-finder/warlock/demonology",,{tinyIcon:"spell_shadow_metamorphosis",noFilterModifications:true}],[267,"Destruction","/head-enchant-finder/warlock/destruction",,{tinyIcon:"spell_shadow_rainoffire",noFilterModifications:true}]],{className:"c9",tinyIcon:"class_warlock",noFilterModifications:true}],[1,"Warrior","/head-enchant-finder/warrior",[[71,"Arms","/head-enchant-finder/warrior/arms",,{tinyIcon:"ability_warrior_savageblow",noFilterModifications:true}],[72,"Fury","/head-enchant-finder/warrior/fury",,{tinyIcon:"ability_warrior_innerrage",noFilterModifications:true}],[73,"Protection","/head-enchant-finder/warrior/protection",,{tinyIcon:"ability_warrior_defensivestance",noFilterModifications:true}]],{className:"c1",tinyIcon:"class_warrior",noFilterModifications:true}]],{noFilterModifications:true}],[2,"Neck","/neck-enchant-finder",[[6,"Death Knight","/neck-enchant-finder/death-knight",[[250,"Blood","/neck-enchant-finder/death-knight/blood",,{tinyIcon:"spell_deathknight_bloodpresence",noFilterModifications:true}],[251,"Frost","/neck-enchant-finder/death-knight/frost",,{tinyIcon:"spell_deathknight_frostpresence",noFilterModifications:true}],[252,"Unholy","/neck-enchant-finder/death-knight/unholy",,{tinyIcon:"spell_deathknight_unholypresence",noFilterModifications:true}]],{className:"c6",tinyIcon:"class_deathknight",noFilterModifications:true}],[12,"Demon Hunter","/neck-enchant-finder/demon-hunter",[[577,"Havoc","/neck-enchant-finder/demon-hunter/havoc",,{tinyIcon:"ability_demonhunter_specdps",noFilterModifications:true}],[581,"Vengeance","/neck-enchant-finder/demon-hunter/vengeance",,{tinyIcon:"ability_demonhunter_spectank",noFilterModifications:true}]],{className:"c12",tinyIcon:"class_demonhunter",noFilterModifications:true}],[11,"Druid","/neck-enchant-finder/druid",[[102,"Balance","/neck-enchant-finder/druid/balance",,{tinyIcon:"spell_nature_starfall",noFilterModifications:true}],[103,"Feral","/neck-enchant-finder/druid/feral",,{tinyIcon:"ability_druid_catform",noFilterModifications:true}],[104,"Guardian","/neck-enchant-finder/druid/guardian",,{tinyIcon:"ability_racial_bearform",noFilterModifications:true}],[105,"Restoration","/neck-enchant-finder/druid/restoration",,{tinyIcon:"spell_nature_healingtouch",noFilterModifications:true}]],{className:"c11",tinyIcon:"class_druid",noFilterModifications:true}],[3,"Hunter","/neck-enchant-finder/hunter",[[253,"Beast Mastery","/neck-enchant-finder/hunter/beast-mastery",,{tinyIcon:"ability_hunter_bestialdiscipline",noFilterModifications:true}],[254,"Marksmanship","/neck-enchant-finder/hunter/marksmanship",,{tinyIcon:"ability_hunter_focusedaim",noFilterModifications:true}],[255,"Survival","/neck-enchant-finder/hunter/survival",,{tinyIcon:"ability_hunter_camouflage",noFilterModifications:true}]],{className:"c3",tinyIcon:"class_hunter",noFilterModifications:true}],[8,"Mage","/neck-enchant-finder/mage",[[62,"Arcane","/neck-enchant-finder/mage/arcane",,{tinyIcon:"spell_holy_magicalsentry",noFilterModifications:true}],[63,"Fire","/neck-enchant-finder/mage/fire",,{tinyIcon:"spell_fire_firebolt02",noFilterModifications:true}],[64,"Frost","/neck-enchant-finder/mage/frost",,{tinyIcon:"spell_frost_frostbolt02",noFilterModifications:true}]],{className:"c8",tinyIcon:"class_mage",noFilterModifications:true}],[10,"Monk","/neck-enchant-finder/monk",[[268,"Brewmaster","/neck-enchant-finder/monk/brewmaster",,{tinyIcon:"spell_monk_brewmaster_spec",noFilterModifications:true}],[270,"Mistweaver","/neck-enchant-finder/monk/mistweaver",,{tinyIcon:"spell_monk_mistweaver_spec",noFilterModifications:true}],[269,"Windwalker","/neck-enchant-finder/monk/windwalker",,{tinyIcon:"spell_monk_windwalker_spec",noFilterModifications:true}]],{className:"c10",tinyIcon:"class_monk",noFilterModifications:true}],[2,"Paladin","/neck-enchant-finder/paladin",[[65,"Holy","/neck-enchant-finder/paladin/holy",,{tinyIcon:"spell_holy_holybolt",noFilterModifications:true}],[66,"Protection","/neck-enchant-finder/paladin/protection",,{tinyIcon:"ability_paladin_shieldofthetemplar",noFilterModifications:true}],[70,"Retribution","/neck-enchant-finder/paladin/retribution",,{tinyIcon:"spell_holy_auraoflight",noFilterModifications:true}]],{className:"c2",tinyIcon:"class_paladin",noFilterModifications:true}],[5,"Priest","/neck-enchant-finder/priest",[[256,"Discipline","/neck-enchant-finder/priest/discipline",,{tinyIcon:"spell_holy_powerwordshield",noFilterModifications:true}],[257,"Holy","/neck-enchant-finder/priest/holy",,{tinyIcon:"spell_holy_guardianspirit",noFilterModifications:true}],[258,"Shadow","/neck-enchant-finder/priest/shadow",,{tinyIcon:"spell_shadow_shadowwordpain",noFilterModifications:true}]],{className:"c5",tinyIcon:"class_priest",noFilterModifications:true}],[4,"Rogue","/neck-enchant-finder/rogue",[[259,"Assassination","/neck-enchant-finder/rogue/assassination",,{tinyIcon:"ability_rogue_eviscerate",noFilterModifications:true}],[260,"Outlaw","/neck-enchant-finder/rogue/outlaw",,{tinyIcon:"inv_sword_30",noFilterModifications:true}],[261,"Subtlety","/neck-enchant-finder/rogue/subtlety",,{tinyIcon:"ability_stealth",noFilterModifications:true}]],{className:"c4",tinyIcon:"class_rogue",noFilterModifications:true}],[7,"Shaman","/neck-enchant-finder/shaman",[[262,"Elemental","/neck-enchant-finder/shaman/elemental",,{tinyIcon:"spell_nature_lightning",noFilterModifications:true}],[263,"Enhancement","/neck-enchant-finder/shaman/enhancement",,{tinyIcon:"spell_shaman_improvedstormstrike",noFilterModifications:true}],[264,"Restoration","/neck-enchant-finder/shaman/restoration",,{tinyIcon:"spell_nature_magicimmunity",noFilterModifications:true}]],{className:"c7",tinyIcon:"class_shaman",noFilterModifications:true}],[9,"Warlock","/neck-enchant-finder/warlock",[[265,"Affliction","/neck-enchant-finder/warlock/affliction",,{tinyIcon:"spell_shadow_deathcoil",noFilterModifications:true}],[266,"Demonology","/neck-enchant-finder/warlock/demonology",,{tinyIcon:"spell_shadow_metamorphosis",noFilterModifications:true}],[267,"Destruction","/neck-enchant-finder/warlock/destruction",,{tinyIcon:"spell_shadow_rainoffire",noFilterModifications:true}]],{className:"c9",tinyIcon:"class_warlock",noFilterModifications:true}],[1,"Warrior","/neck-enchant-finder/warrior",[[71,"Arms","/neck-enchant-finder/warrior/arms",,{tinyIcon:"ability_warrior_savageblow",noFilterModifications:true}],[72,"Fury","/neck-enchant-finder/warrior/fury",,{tinyIcon:"ability_warrior_innerrage",noFilterModifications:true}],[73,"Protection","/neck-enchant-finder/warrior/protection",,{tinyIcon:"ability_warrior_defensivestance",noFilterModifications:true}]],{className:"c1",tinyIcon:"class_warrior",noFilterModifications:true}]],{noFilterModifications:true}],[3,"Shoulder","/shoulder-enchant-finder",[[6,"Death Knight","/shoulder-enchant-finder/death-knight",[[250,"Blood","/shoulder-enchant-finder/death-knight/blood",,{tinyIcon:"spell_deathknight_bloodpresence",noFilterModifications:true}],[251,"Frost","/shoulder-enchant-finder/death-knight/frost",,{tinyIcon:"spell_deathknight_frostpresence",noFilterModifications:true}],[252,"Unholy","/shoulder-enchant-finder/death-knight/unholy",,{tinyIcon:"spell_deathknight_unholypresence",noFilterModifications:true}]],{className:"c6",tinyIcon:"class_deathknight",noFilterModifications:true}],[12,"Demon Hunter","/shoulder-enchant-finder/demon-hunter",[[577,"Havoc","/shoulder-enchant-finder/demon-hunter/havoc",,{tinyIcon:"ability_demonhunter_specdps",noFilterModifications:true}],[581,"Vengeance","/shoulder-enchant-finder/demon-hunter/vengeance",,{tinyIcon:"ability_demonhunter_spectank",noFilterModifications:true}]],{className:"c12",tinyIcon:"class_demonhunter",noFilterModifications:true}],[11,"Druid","/shoulder-enchant-finder/druid",[[102,"Balance","/shoulder-enchant-finder/druid/balance",,{tinyIcon:"spell_nature_starfall",noFilterModifications:true}],[103,"Feral","/shoulder-enchant-finder/druid/feral",,{tinyIcon:"ability_druid_catform",noFilterModifications:true}],[104,"Guardian","/shoulder-enchant-finder/druid/guardian",,{tinyIcon:"ability_racial_bearform",noFilterModifications:true}],[105,"Restoration","/shoulder-enchant-finder/druid/restoration",,{tinyIcon:"spell_nature_healingtouch",noFilterModifications:true}]],{className:"c11",tinyIcon:"class_druid",noFilterModifications:true}],[3,"Hunter","/shoulder-enchant-finder/hunter",[[253,"Beast Mastery","/shoulder-enchant-finder/hunter/beast-mastery",,{tinyIcon:"ability_hunter_bestialdiscipline",noFilterModifications:true}],[254,"Marksmanship","/shoulder-enchant-finder/hunter/marksmanship",,{tinyIcon:"ability_hunter_focusedaim",noFilterModifications:true}],[255,"Survival","/shoulder-enchant-finder/hunter/survival",,{tinyIcon:"ability_hunter_camouflage",noFilterModifications:true}]],{className:"c3",tinyIcon:"class_hunter",noFilterModifications:true}],[8,"Mage","/shoulder-enchant-finder/mage",[[62,"Arcane","/shoulder-enchant-finder/mage/arcane",,{tinyIcon:"spell_holy_magicalsentry",noFilterModifications:true}],[63,"Fire","/shoulder-enchant-finder/mage/fire",,{tinyIcon:"spell_fire_firebolt02",noFilterModifications:true}],[64,"Frost","/shoulder-enchant-finder/mage/frost",,{tinyIcon:"spell_frost_frostbolt02",noFilterModifications:true}]],{className:"c8",tinyIcon:"class_mage",noFilterModifications:true}],[10,"Monk","/shoulder-enchant-finder/monk",[[268,"Brewmaster","/shoulder-enchant-finder/monk/brewmaster",,{tinyIcon:"spell_monk_brewmaster_spec",noFilterModifications:true}],[270,"Mistweaver","/shoulder-enchant-finder/monk/mistweaver",,{tinyIcon:"spell_monk_mistweaver_spec",noFilterModifications:true}],[269,"Windwalker","/shoulder-enchant-finder/monk/windwalker",,{tinyIcon:"spell_monk_windwalker_spec",noFilterModifications:true}]],{className:"c10",tinyIcon:"class_monk",noFilterModifications:true}],[2,"Paladin","/shoulder-enchant-finder/paladin",[[65,"Holy","/shoulder-enchant-finder/paladin/holy",,{tinyIcon:"spell_holy_holybolt",noFilterModifications:true}],[66,"Protection","/shoulder-enchant-finder/paladin/protection",,{tinyIcon:"ability_paladin_shieldofthetemplar",noFilterModifications:true}],[70,"Retribution","/shoulder-enchant-finder/paladin/retribution",,{tinyIcon:"spell_holy_auraoflight",noFilterModifications:true}]],{className:"c2",tinyIcon:"class_paladin",noFilterModifications:true}],[5,"Priest","/shoulder-enchant-finder/priest",[[256,"Discipline","/shoulder-enchant-finder/priest/discipline",,{tinyIcon:"spell_holy_powerwordshield",noFilterModifications:true}],[257,"Holy","/shoulder-enchant-finder/priest/holy",,{tinyIcon:"spell_holy_guardianspirit",noFilterModifications:true}],[258,"Shadow","/shoulder-enchant-finder/priest/shadow",,{tinyIcon:"spell_shadow_shadowwordpain",noFilterModifications:true}]],{className:"c5",tinyIcon:"class_priest",noFilterModifications:true}],[4,"Rogue","/shoulder-enchant-finder/rogue",[[259,"Assassination","/shoulder-enchant-finder/rogue/assassination",,{tinyIcon:"ability_rogue_eviscerate",noFilterModifications:true}],[260,"Outlaw","/shoulder-enchant-finder/rogue/outlaw",,{tinyIcon:"inv_sword_30",noFilterModifications:true}],[261,"Subtlety","/shoulder-enchant-finder/rogue/subtlety",,{tinyIcon:"ability_stealth",noFilterModifications:true}]],{className:"c4",tinyIcon:"class_rogue",noFilterModifications:true}],[7,"Shaman","/shoulder-enchant-finder/shaman",[[262,"Elemental","/shoulder-enchant-finder/shaman/elemental",,{tinyIcon:"spell_nature_lightning",noFilterModifications:true}],[263,"Enhancement","/shoulder-enchant-finder/shaman/enhancement",,{tinyIcon:"spell_shaman_improvedstormstrike",noFilterModifications:true}],[264,"Restoration","/shoulder-enchant-finder/shaman/restoration",,{tinyIcon:"spell_nature_magicimmunity",noFilterModifications:true}]],{className:"c7",tinyIcon:"class_shaman",noFilterModifications:true}],[9,"Warlock","/shoulder-enchant-finder/warlock",[[265,"Affliction","/shoulder-enchant-finder/warlock/affliction",,{tinyIcon:"spell_shadow_deathcoil",noFilterModifications:true}],[266,"Demonology","/shoulder-enchant-finder/warlock/demonology",,{tinyIcon:"spell_shadow_metamorphosis",noFilterModifications:true}],[267,"Destruction","/shoulder-enchant-finder/warlock/destruction",,{tinyIcon:"spell_shadow_rainoffire",noFilterModifications:true}]],{className:"c9",tinyIcon:"class_warlock",noFilterModifications:true}],[1,"Warrior","/shoulder-enchant-finder/warrior",[[71,"Arms","/shoulder-enchant-finder/warrior/arms",,{tinyIcon:"ability_warrior_savageblow",noFilterModifications:true}],[72,"Fury","/shoulder-enchant-finder/warrior/fury",,{tinyIcon:"ability_warrior_innerrage",noFilterModifications:true}],[73,"Protection","/shoulder-enchant-finder/warrior/protection",,{tinyIcon:"ability_warrior_defensivestance",noFilterModifications:true}]],{className:"c1",tinyIcon:"class_warrior",noFilterModifications:true}]],{noFilterModifications:true}],[16,"Cloaks","/cloak-enchant-finder",[[6,"Death Knight","/cloak-enchant-finder/death-knight",[[250,"Blood","/cloak-enchant-finder/death-knight/blood",,{tinyIcon:"spell_deathknight_bloodpresence",noFilterModifications:true}],[251,"Frost","/cloak-enchant-finder/death-knight/frost",,{tinyIcon:"spell_deathknight_frostpresence",noFilterModifications:true}],[252,"Unholy","/cloak-enchant-finder/death-knight/unholy",,{tinyIcon:"spell_deathknight_unholypresence",noFilterModifications:true}]],{className:"c6",tinyIcon:"class_deathknight",noFilterModifications:true}],[12,"Demon Hunter","/cloak-enchant-finder/demon-hunter",[[577,"Havoc","/cloak-enchant-finder/demon-hunter/havoc",,{tinyIcon:"ability_demonhunter_specdps",noFilterModifications:true}],[581,"Vengeance","/cloak-enchant-finder/demon-hunter/vengeance",,{tinyIcon:"ability_demonhunter_spectank",noFilterModifications:true}]],{className:"c12",tinyIcon:"class_demonhunter",noFilterModifications:true}],[11,"Druid","/cloak-enchant-finder/druid",[[102,"Balance","/cloak-enchant-finder/druid/balance",,{tinyIcon:"spell_nature_starfall",noFilterModifications:true}],[103,"Feral","/cloak-enchant-finder/druid/feral",,{tinyIcon:"ability_druid_catform",noFilterModifications:true}],[104,"Guardian","/cloak-enchant-finder/druid/guardian",,{tinyIcon:"ability_racial_bearform",noFilterModifications:true}],[105,"Restoration","/cloak-enchant-finder/druid/restoration",,{tinyIcon:"spell_nature_healingtouch",noFilterModifications:true}]],{className:"c11",tinyIcon:"class_druid",noFilterModifications:true}],[3,"Hunter","/cloak-enchant-finder/hunter",[[253,"Beast Mastery","/cloak-enchant-finder/hunter/beast-mastery",,{tinyIcon:"ability_hunter_bestialdiscipline",noFilterModifications:true}],[254,"Marksmanship","/cloak-enchant-finder/hunter/marksmanship",,{tinyIcon:"ability_hunter_focusedaim",noFilterModifications:true}],[255,"Survival","/cloak-enchant-finder/hunter/survival",,{tinyIcon:"ability_hunter_camouflage",noFilterModifications:true}]],{className:"c3",tinyIcon:"class_hunter",noFilterModifications:true}],[8,"Mage","/cloak-enchant-finder/mage",[[62,"Arcane","/cloak-enchant-finder/mage/arcane",,{tinyIcon:"spell_holy_magicalsentry",noFilterModifications:true}],[63,"Fire","/cloak-enchant-finder/mage/fire",,{tinyIcon:"spell_fire_firebolt02",noFilterModifications:true}],[64,"Frost","/cloak-enchant-finder/mage/frost",,{tinyIcon:"spell_frost_frostbolt02",noFilterModifications:true}]],{className:"c8",tinyIcon:"class_mage",noFilterModifications:true}],[10,"Monk","/cloak-enchant-finder/monk",[[268,"Brewmaster","/cloak-enchant-finder/monk/brewmaster",,{tinyIcon:"spell_monk_brewmaster_spec",noFilterModifications:true}],[270,"Mistweaver","/cloak-enchant-finder/monk/mistweaver",,{tinyIcon:"spell_monk_mistweaver_spec",noFilterModifications:true}],[269,"Windwalker","/cloak-enchant-finder/monk/windwalker",,{tinyIcon:"spell_monk_windwalker_spec",noFilterModifications:true}]],{className:"c10",tinyIcon:"class_monk",noFilterModifications:true}],[2,"Paladin","/cloak-enchant-finder/paladin",[[65,"Holy","/cloak-enchant-finder/paladin/holy",,{tinyIcon:"spell_holy_holybolt",noFilterModifications:true}],[66,"Protection","/cloak-enchant-finder/paladin/protection",,{tinyIcon:"ability_paladin_shieldofthetemplar",noFilterModifications:true}],[70,"Retribution","/cloak-enchant-finder/paladin/retribution",,{tinyIcon:"spell_holy_auraoflight",noFilterModifications:true}]],{className:"c2",tinyIcon:"class_paladin",noFilterModifications:true}],[5,"Priest","/cloak-enchant-finder/priest",[[256,"Discipline","/cloak-enchant-finder/priest/discipline",,{tinyIcon:"spell_holy_powerwordshield",noFilterModifications:true}],[257,"Holy","/cloak-enchant-finder/priest/holy",,{tinyIcon:"spell_holy_guardianspirit",noFilterModifications:true}],[258,"Shadow","/cloak-enchant-finder/priest/shadow",,{tinyIcon:"spell_shadow_shadowwordpain",noFilterModifications:true}]],{className:"c5",tinyIcon:"class_priest",noFilterModifications:true}],[4,"Rogue","/cloak-enchant-finder/rogue",[[259,"Assassination","/cloak-enchant-finder/rogue/assassination",,{tinyIcon:"ability_rogue_eviscerate",noFilterModifications:true}],[260,"Outlaw","/cloak-enchant-finder/rogue/outlaw",,{tinyIcon:"inv_sword_30",noFilterModifications:true}],[261,"Subtlety","/cloak-enchant-finder/rogue/subtlety",,{tinyIcon:"ability_stealth",noFilterModifications:true}]],{className:"c4",tinyIcon:"class_rogue",noFilterModifications:true}],[7,"Shaman","/cloak-enchant-finder/shaman",[[262,"Elemental","/cloak-enchant-finder/shaman/elemental",,{tinyIcon:"spell_nature_lightning",noFilterModifications:true}],[263,"Enhancement","/cloak-enchant-finder/shaman/enhancement",,{tinyIcon:"spell_shaman_improvedstormstrike",noFilterModifications:true}],[264,"Restoration","/cloak-enchant-finder/shaman/restoration",,{tinyIcon:"spell_nature_magicimmunity",noFilterModifications:true}]],{className:"c7",tinyIcon:"class_shaman",noFilterModifications:true}],[9,"Warlock","/cloak-enchant-finder/warlock",[[265,"Affliction","/cloak-enchant-finder/warlock/affliction",,{tinyIcon:"spell_shadow_deathcoil",noFilterModifications:true}],[266,"Demonology","/cloak-enchant-finder/warlock/demonology",,{tinyIcon:"spell_shadow_metamorphosis",noFilterModifications:true}],[267,"Destruction","/cloak-enchant-finder/warlock/destruction",,{tinyIcon:"spell_shadow_rainoffire",noFilterModifications:true}]],{className:"c9",tinyIcon:"class_warlock",noFilterModifications:true}],[1,"Warrior","/cloak-enchant-finder/warrior",[[71,"Arms","/cloak-enchant-finder/warrior/arms",,{tinyIcon:"ability_warrior_savageblow",noFilterModifications:true}],[72,"Fury","/cloak-enchant-finder/warrior/fury",,{tinyIcon:"ability_warrior_innerrage",noFilterModifications:true}],[73,"Protection","/cloak-enchant-finder/warrior/protection",,{tinyIcon:"ability_warrior_defensivestance",noFilterModifications:true}]],{className:"c1",tinyIcon:"class_warrior",noFilterModifications:true}]],{noFilterModifications:true}],[5,"Chest","/chest-enchant-finder",[[6,"Death Knight","/chest-enchant-finder/death-knight",[[250,"Blood","/chest-enchant-finder/death-knight/blood",,{tinyIcon:"spell_deathknight_bloodpresence",noFilterModifications:true}],[251,"Frost","/chest-enchant-finder/death-knight/frost",,{tinyIcon:"spell_deathknight_frostpresence",noFilterModifications:true}],[252,"Unholy","/chest-enchant-finder/death-knight/unholy",,{tinyIcon:"spell_deathknight_unholypresence",noFilterModifications:true}]],{className:"c6",tinyIcon:"class_deathknight",noFilterModifications:true}],[12,"Demon Hunter","/chest-enchant-finder/demon-hunter",[[577,"Havoc","/chest-enchant-finder/demon-hunter/havoc",,{tinyIcon:"ability_demonhunter_specdps",noFilterModifications:true}],[581,"Vengeance","/chest-enchant-finder/demon-hunter/vengeance",,{tinyIcon:"ability_demonhunter_spectank",noFilterModifications:true}]],{className:"c12",tinyIcon:"class_demonhunter",noFilterModifications:true}],[11,"Druid","/chest-enchant-finder/druid",[[102,"Balance","/chest-enchant-finder/druid/balance",,{tinyIcon:"spell_nature_starfall",noFilterModifications:true}],[103,"Feral","/chest-enchant-finder/druid/feral",,{tinyIcon:"ability_druid_catform",noFilterModifications:true}],[104,"Guardian","/chest-enchant-finder/druid/guardian",,{tinyIcon:"ability_racial_bearform",noFilterModifications:true}],[105,"Restoration","/chest-enchant-finder/druid/restoration",,{tinyIcon:"spell_nature_healingtouch",noFilterModifications:true}]],{className:"c11",tinyIcon:"class_druid",noFilterModifications:true}],[3,"Hunter","/chest-enchant-finder/hunter",[[253,"Beast Mastery","/chest-enchant-finder/hunter/beast-mastery",,{tinyIcon:"ability_hunter_bestialdiscipline",noFilterModifications:true}],[254,"Marksmanship","/chest-enchant-finder/hunter/marksmanship",,{tinyIcon:"ability_hunter_focusedaim",noFilterModifications:true}],[255,"Survival","/chest-enchant-finder/hunter/survival",,{tinyIcon:"ability_hunter_camouflage",noFilterModifications:true}]],{className:"c3",tinyIcon:"class_hunter",noFilterModifications:true}],[8,"Mage","/chest-enchant-finder/mage",[[62,"Arcane","/chest-enchant-finder/mage/arcane",,{tinyIcon:"spell_holy_magicalsentry",noFilterModifications:true}],[63,"Fire","/chest-enchant-finder/mage/fire",,{tinyIcon:"spell_fire_firebolt02",noFilterModifications:true}],[64,"Frost","/chest-enchant-finder/mage/frost",,{tinyIcon:"spell_frost_frostbolt02",noFilterModifications:true}]],{className:"c8",tinyIcon:"class_mage",noFilterModifications:true}],[10,"Monk","/chest-enchant-finder/monk",[[268,"Brewmaster","/chest-enchant-finder/monk/brewmaster",,{tinyIcon:"spell_monk_brewmaster_spec",noFilterModifications:true}],[270,"Mistweaver","/chest-enchant-finder/monk/mistweaver",,{tinyIcon:"spell_monk_mistweaver_spec",noFilterModifications:true}],[269,"Windwalker","/chest-enchant-finder/monk/windwalker",,{tinyIcon:"spell_monk_windwalker_spec",noFilterModifications:true}]],{className:"c10",tinyIcon:"class_monk",noFilterModifications:true}],[2,"Paladin","/chest-enchant-finder/paladin",[[65,"Holy","/chest-enchant-finder/paladin/holy",,{tinyIcon:"spell_holy_holybolt",noFilterModifications:true}],[66,"Protection","/chest-enchant-finder/paladin/protection",,{tinyIcon:"ability_paladin_shieldofthetemplar",noFilterModifications:true}],[70,"Retribution","/chest-enchant-finder/paladin/retribution",,{tinyIcon:"spell_holy_auraoflight",noFilterModifications:true}]],{className:"c2",tinyIcon:"class_paladin",noFilterModifications:true}],[5,"Priest","/chest-enchant-finder/priest",[[256,"Discipline","/chest-enchant-finder/priest/discipline",,{tinyIcon:"spell_holy_powerwordshield",noFilterModifications:true}],[257,"Holy","/chest-enchant-finder/priest/holy",,{tinyIcon:"spell_holy_guardianspirit",noFilterModifications:true}],[258,"Shadow","/chest-enchant-finder/priest/shadow",,{tinyIcon:"spell_shadow_shadowwordpain",noFilterModifications:true}]],{className:"c5",tinyIcon:"class_priest",noFilterModifications:true}],[4,"Rogue","/chest-enchant-finder/rogue",[[259,"Assassination","/chest-enchant-finder/rogue/assassination",,{tinyIcon:"ability_rogue_eviscerate",noFilterModifications:true}],[260,"Outlaw","/chest-enchant-finder/rogue/outlaw",,{tinyIcon:"inv_sword_30",noFilterModifications:true}],[261,"Subtlety","/chest-enchant-finder/rogue/subtlety",,{tinyIcon:"ability_stealth",noFilterModifications:true}]],{className:"c4",tinyIcon:"class_rogue",noFilterModifications:true}],[7,"Shaman","/chest-enchant-finder/shaman",[[262,"Elemental","/chest-enchant-finder/shaman/elemental",,{tinyIcon:"spell_nature_lightning",noFilterModifications:true}],[263,"Enhancement","/chest-enchant-finder/shaman/enhancement",,{tinyIcon:"spell_shaman_improvedstormstrike",noFilterModifications:true}],[264,"Restoration","/chest-enchant-finder/shaman/restoration",,{tinyIcon:"spell_nature_magicimmunity",noFilterModifications:true}]],{className:"c7",tinyIcon:"class_shaman",noFilterModifications:true}],[9,"Warlock","/chest-enchant-finder/warlock",[[265,"Affliction","/chest-enchant-finder/warlock/affliction",,{tinyIcon:"spell_shadow_deathcoil",noFilterModifications:true}],[266,"Demonology","/chest-enchant-finder/warlock/demonology",,{tinyIcon:"spell_shadow_metamorphosis",noFilterModifications:true}],[267,"Destruction","/chest-enchant-finder/warlock/destruction",,{tinyIcon:"spell_shadow_rainoffire",noFilterModifications:true}]],{className:"c9",tinyIcon:"class_warlock",noFilterModifications:true}],[1,"Warrior","/chest-enchant-finder/warrior",[[71,"Arms","/chest-enchant-finder/warrior/arms",,{tinyIcon:"ability_warrior_savageblow",noFilterModifications:true}],[72,"Fury","/chest-enchant-finder/warrior/fury",,{tinyIcon:"ability_warrior_innerrage",noFilterModifications:true}],[73,"Protection","/chest-enchant-finder/warrior/protection",,{tinyIcon:"ability_warrior_defensivestance",noFilterModifications:true}]],{className:"c1",tinyIcon:"class_warrior",noFilterModifications:true}]],{noFilterModifications:true}],[9,"Wrist","/wrist-enchant-finder",[[6,"Death Knight","/wrist-enchant-finder/death-knight",[[250,"Blood","/wrist-enchant-finder/death-knight/blood",,{tinyIcon:"spell_deathknight_bloodpresence",noFilterModifications:true}],[251,"Frost","/wrist-enchant-finder/death-knight/frost",,{tinyIcon:"spell_deathknight_frostpresence",noFilterModifications:true}],[252,"Unholy","/wrist-enchant-finder/death-knight/unholy",,{tinyIcon:"spell_deathknight_unholypresence",noFilterModifications:true}]],{className:"c6",tinyIcon:"class_deathknight",noFilterModifications:true}],[12,"Demon Hunter","/wrist-enchant-finder/demon-hunter",[[577,"Havoc","/wrist-enchant-finder/demon-hunter/havoc",,{tinyIcon:"ability_demonhunter_specdps",noFilterModifications:true}],[581,"Vengeance","/wrist-enchant-finder/demon-hunter/vengeance",,{tinyIcon:"ability_demonhunter_spectank",noFilterModifications:true}]],{className:"c12",tinyIcon:"class_demonhunter",noFilterModifications:true}],[11,"Druid","/wrist-enchant-finder/druid",[[102,"Balance","/wrist-enchant-finder/druid/balance",,{tinyIcon:"spell_nature_starfall",noFilterModifications:true}],[103,"Feral","/wrist-enchant-finder/druid/feral",,{tinyIcon:"ability_druid_catform",noFilterModifications:true}],[104,"Guardian","/wrist-enchant-finder/druid/guardian",,{tinyIcon:"ability_racial_bearform",noFilterModifications:true}],[105,"Restoration","/wrist-enchant-finder/druid/restoration",,{tinyIcon:"spell_nature_healingtouch",noFilterModifications:true}]],{className:"c11",tinyIcon:"class_druid",noFilterModifications:true}],[3,"Hunter","/wrist-enchant-finder/hunter",[[253,"Beast Mastery","/wrist-enchant-finder/hunter/beast-mastery",,{tinyIcon:"ability_hunter_bestialdiscipline",noFilterModifications:true}],[254,"Marksmanship","/wrist-enchant-finder/hunter/marksmanship",,{tinyIcon:"ability_hunter_focusedaim",noFilterModifications:true}],[255,"Survival","/wrist-enchant-finder/hunter/survival",,{tinyIcon:"ability_hunter_camouflage",noFilterModifications:true}]],{className:"c3",tinyIcon:"class_hunter",noFilterModifications:true}],[8,"Mage","/wrist-enchant-finder/mage",[[62,"Arcane","/wrist-enchant-finder/mage/arcane",,{tinyIcon:"spell_holy_magicalsentry",noFilterModifications:true}],[63,"Fire","/wrist-enchant-finder/mage/fire",,{tinyIcon:"spell_fire_firebolt02",noFilterModifications:true}],[64,"Frost","/wrist-enchant-finder/mage/frost",,{tinyIcon:"spell_frost_frostbolt02",noFilterModifications:true}]],{className:"c8",tinyIcon:"class_mage",noFilterModifications:true}],[10,"Monk","/wrist-enchant-finder/monk",[[268,"Brewmaster","/wrist-enchant-finder/monk/brewmaster",,{tinyIcon:"spell_monk_brewmaster_spec",noFilterModifications:true}],[270,"Mistweaver","/wrist-enchant-finder/monk/mistweaver",,{tinyIcon:"spell_monk_mistweaver_spec",noFilterModifications:true}],[269,"Windwalker","/wrist-enchant-finder/monk/windwalker",,{tinyIcon:"spell_monk_windwalker_spec",noFilterModifications:true}]],{className:"c10",tinyIcon:"class_monk",noFilterModifications:true}],[2,"Paladin","/wrist-enchant-finder/paladin",[[65,"Holy","/wrist-enchant-finder/paladin/holy",,{tinyIcon:"spell_holy_holybolt",noFilterModifications:true}],[66,"Protection","/wrist-enchant-finder/paladin/protection",,{tinyIcon:"ability_paladin_shieldofthetemplar",noFilterModifications:true}],[70,"Retribution","/wrist-enchant-finder/paladin/retribution",,{tinyIcon:"spell_holy_auraoflight",noFilterModifications:true}]],{className:"c2",tinyIcon:"class_paladin",noFilterModifications:true}],[5,"Priest","/wrist-enchant-finder/priest",[[256,"Discipline","/wrist-enchant-finder/priest/discipline",,{tinyIcon:"spell_holy_powerwordshield",noFilterModifications:true}],[257,"Holy","/wrist-enchant-finder/priest/holy",,{tinyIcon:"spell_holy_guardianspirit",noFilterModifications:true}],[258,"Shadow","/wrist-enchant-finder/priest/shadow",,{tinyIcon:"spell_shadow_shadowwordpain",noFilterModifications:true}]],{className:"c5",tinyIcon:"class_priest",noFilterModifications:true}],[4,"Rogue","/wrist-enchant-finder/rogue",[[259,"Assassination","/wrist-enchant-finder/rogue/assassination",,{tinyIcon:"ability_rogue_eviscerate",noFilterModifications:true}],[260,"Outlaw","/wrist-enchant-finder/rogue/outlaw",,{tinyIcon:"inv_sword_30",noFilterModifications:true}],[261,"Subtlety","/wrist-enchant-finder/rogue/subtlety",,{tinyIcon:"ability_stealth",noFilterModifications:true}]],{className:"c4",tinyIcon:"class_rogue",noFilterModifications:true}],[7,"Shaman","/wrist-enchant-finder/shaman",[[262,"Elemental","/wrist-enchant-finder/shaman/elemental",,{tinyIcon:"spell_nature_lightning",noFilterModifications:true}],[263,"Enhancement","/wrist-enchant-finder/shaman/enhancement",,{tinyIcon:"spell_shaman_improvedstormstrike",noFilterModifications:true}],[264,"Restoration","/wrist-enchant-finder/shaman/restoration",,{tinyIcon:"spell_nature_magicimmunity",noFilterModifications:true}]],{className:"c7",tinyIcon:"class_shaman",noFilterModifications:true}],[9,"Warlock","/wrist-enchant-finder/warlock",[[265,"Affliction","/wrist-enchant-finder/warlock/affliction",,{tinyIcon:"spell_shadow_deathcoil",noFilterModifications:true}],[266,"Demonology","/wrist-enchant-finder/warlock/demonology",,{tinyIcon:"spell_shadow_metamorphosis",noFilterModifications:true}],[267,"Destruction","/wrist-enchant-finder/warlock/destruction",,{tinyIcon:"spell_shadow_rainoffire",noFilterModifications:true}]],{className:"c9",tinyIcon:"class_warlock",noFilterModifications:true}],[1,"Warrior","/wrist-enchant-finder/warrior",[[71,"Arms","/wrist-enchant-finder/warrior/arms",,{tinyIcon:"ability_warrior_savageblow",noFilterModifications:true}],[72,"Fury","/wrist-enchant-finder/warrior/fury",,{tinyIcon:"ability_warrior_innerrage",noFilterModifications:true}],[73,"Protection","/wrist-enchant-finder/warrior/protection",,{tinyIcon:"ability_warrior_defensivestance",noFilterModifications:true}]],{className:"c1",tinyIcon:"class_warrior",noFilterModifications:true}]],{noFilterModifications:true}],[10,"Hands","/hand-enchant-finder",[[6,"Death Knight","/hand-enchant-finder/death-knight",[[250,"Blood","/hand-enchant-finder/death-knight/blood",,{tinyIcon:"spell_deathknight_bloodpresence",noFilterModifications:true}],[251,"Frost","/hand-enchant-finder/death-knight/frost",,{tinyIcon:"spell_deathknight_frostpresence",noFilterModifications:true}],[252,"Unholy","/hand-enchant-finder/death-knight/unholy",,{tinyIcon:"spell_deathknight_unholypresence",noFilterModifications:true}]],{className:"c6",tinyIcon:"class_deathknight",noFilterModifications:true}],[12,"Demon Hunter","/hand-enchant-finder/demon-hunter",[[577,"Havoc","/hand-enchant-finder/demon-hunter/havoc",,{tinyIcon:"ability_demonhunter_specdps",noFilterModifications:true}],[581,"Vengeance","/hand-enchant-finder/demon-hunter/vengeance",,{tinyIcon:"ability_demonhunter_spectank",noFilterModifications:true}]],{className:"c12",tinyIcon:"class_demonhunter",noFilterModifications:true}],[11,"Druid","/hand-enchant-finder/druid",[[102,"Balance","/hand-enchant-finder/druid/balance",,{tinyIcon:"spell_nature_starfall",noFilterModifications:true}],[103,"Feral","/hand-enchant-finder/druid/feral",,{tinyIcon:"ability_druid_catform",noFilterModifications:true}],[104,"Guardian","/hand-enchant-finder/druid/guardian",,{tinyIcon:"ability_racial_bearform",noFilterModifications:true}],[105,"Restoration","/hand-enchant-finder/druid/restoration",,{tinyIcon:"spell_nature_healingtouch",noFilterModifications:true}]],{className:"c11",tinyIcon:"class_druid",noFilterModifications:true}],[3,"Hunter","/hand-enchant-finder/hunter",[[253,"Beast Mastery","/hand-enchant-finder/hunter/beast-mastery",,{tinyIcon:"ability_hunter_bestialdiscipline",noFilterModifications:true}],[254,"Marksmanship","/hand-enchant-finder/hunter/marksmanship",,{tinyIcon:"ability_hunter_focusedaim",noFilterModifications:true}],[255,"Survival","/hand-enchant-finder/hunter/survival",,{tinyIcon:"ability_hunter_camouflage",noFilterModifications:true}]],{className:"c3",tinyIcon:"class_hunter",noFilterModifications:true}],[8,"Mage","/hand-enchant-finder/mage",[[62,"Arcane","/hand-enchant-finder/mage/arcane",,{tinyIcon:"spell_holy_magicalsentry",noFilterModifications:true}],[63,"Fire","/hand-enchant-finder/mage/fire",,{tinyIcon:"spell_fire_firebolt02",noFilterModifications:true}],[64,"Frost","/hand-enchant-finder/mage/frost",,{tinyIcon:"spell_frost_frostbolt02",noFilterModifications:true}]],{className:"c8",tinyIcon:"class_mage",noFilterModifications:true}],[10,"Monk","/hand-enchant-finder/monk",[[268,"Brewmaster","/hand-enchant-finder/monk/brewmaster",,{tinyIcon:"spell_monk_brewmaster_spec",noFilterModifications:true}],[270,"Mistweaver","/hand-enchant-finder/monk/mistweaver",,{tinyIcon:"spell_monk_mistweaver_spec",noFilterModifications:true}],[269,"Windwalker","/hand-enchant-finder/monk/windwalker",,{tinyIcon:"spell_monk_windwalker_spec",noFilterModifications:true}]],{className:"c10",tinyIcon:"class_monk",noFilterModifications:true}],[2,"Paladin","/hand-enchant-finder/paladin",[[65,"Holy","/hand-enchant-finder/paladin/holy",,{tinyIcon:"spell_holy_holybolt",noFilterModifications:true}],[66,"Protection","/hand-enchant-finder/paladin/protection",,{tinyIcon:"ability_paladin_shieldofthetemplar",noFilterModifications:true}],[70,"Retribution","/hand-enchant-finder/paladin/retribution",,{tinyIcon:"spell_holy_auraoflight",noFilterModifications:true}]],{className:"c2",tinyIcon:"class_paladin",noFilterModifications:true}],[5,"Priest","/hand-enchant-finder/priest",[[256,"Discipline","/hand-enchant-finder/priest/discipline",,{tinyIcon:"spell_holy_powerwordshield",noFilterModifications:true}],[257,"Holy","/hand-enchant-finder/priest/holy",,{tinyIcon:"spell_holy_guardianspirit",noFilterModifications:true}],[258,"Shadow","/hand-enchant-finder/priest/shadow",,{tinyIcon:"spell_shadow_shadowwordpain",noFilterModifications:true}]],{className:"c5",tinyIcon:"class_priest",noFilterModifications:true}],[4,"Rogue","/hand-enchant-finder/rogue",[[259,"Assassination","/hand-enchant-finder/rogue/assassination",,{tinyIcon:"ability_rogue_eviscerate",noFilterModifications:true}],[260,"Outlaw","/hand-enchant-finder/rogue/outlaw",,{tinyIcon:"inv_sword_30",noFilterModifications:true}],[261,"Subtlety","/hand-enchant-finder/rogue/subtlety",,{tinyIcon:"ability_stealth",noFilterModifications:true}]],{className:"c4",tinyIcon:"class_rogue",noFilterModifications:true}],[7,"Shaman","/hand-enchant-finder/shaman",[[262,"Elemental","/hand-enchant-finder/shaman/elemental",,{tinyIcon:"spell_nature_lightning",noFilterModifications:true}],[263,"Enhancement","/hand-enchant-finder/shaman/enhancement",,{tinyIcon:"spell_shaman_improvedstormstrike",noFilterModifications:true}],[264,"Restoration","/hand-enchant-finder/shaman/restoration",,{tinyIcon:"spell_nature_magicimmunity",noFilterModifications:true}]],{className:"c7",tinyIcon:"class_shaman",noFilterModifications:true}],[9,"Warlock","/hand-enchant-finder/warlock",[[265,"Affliction","/hand-enchant-finder/warlock/affliction",,{tinyIcon:"spell_shadow_deathcoil",noFilterModifications:true}],[266,"Demonology","/hand-enchant-finder/warlock/demonology",,{tinyIcon:"spell_shadow_metamorphosis",noFilterModifications:true}],[267,"Destruction","/hand-enchant-finder/warlock/destruction",,{tinyIcon:"spell_shadow_rainoffire",noFilterModifications:true}]],{className:"c9",tinyIcon:"class_warlock",noFilterModifications:true}],[1,"Warrior","/hand-enchant-finder/warrior",[[71,"Arms","/hand-enchant-finder/warrior/arms",,{tinyIcon:"ability_warrior_savageblow",noFilterModifications:true}],[72,"Fury","/hand-enchant-finder/warrior/fury",,{tinyIcon:"ability_warrior_innerrage",noFilterModifications:true}],[73,"Protection","/hand-enchant-finder/warrior/protection",,{tinyIcon:"ability_warrior_defensivestance",noFilterModifications:true}]],{className:"c1",tinyIcon:"class_warrior",noFilterModifications:true}]],{noFilterModifications:true}],[6,"Waist","/waist-enchant-finder",[[6,"Death Knight","/waist-enchant-finder/death-knight",[[250,"Blood","/waist-enchant-finder/death-knight/blood",,{tinyIcon:"spell_deathknight_bloodpresence",noFilterModifications:true}],[251,"Frost","/waist-enchant-finder/death-knight/frost",,{tinyIcon:"spell_deathknight_frostpresence",noFilterModifications:true}],[252,"Unholy","/waist-enchant-finder/death-knight/unholy",,{tinyIcon:"spell_deathknight_unholypresence",noFilterModifications:true}]],{className:"c6",tinyIcon:"class_deathknight",noFilterModifications:true}],[12,"Demon Hunter","/waist-enchant-finder/demon-hunter",[[577,"Havoc","/waist-enchant-finder/demon-hunter/havoc",,{tinyIcon:"ability_demonhunter_specdps",noFilterModifications:true}],[581,"Vengeance","/waist-enchant-finder/demon-hunter/vengeance",,{tinyIcon:"ability_demonhunter_spectank",noFilterModifications:true}]],{className:"c12",tinyIcon:"class_demonhunter",noFilterModifications:true}],[11,"Druid","/waist-enchant-finder/druid",[[102,"Balance","/waist-enchant-finder/druid/balance",,{tinyIcon:"spell_nature_starfall",noFilterModifications:true}],[103,"Feral","/waist-enchant-finder/druid/feral",,{tinyIcon:"ability_druid_catform",noFilterModifications:true}],[104,"Guardian","/waist-enchant-finder/druid/guardian",,{tinyIcon:"ability_racial_bearform",noFilterModifications:true}],[105,"Restoration","/waist-enchant-finder/druid/restoration",,{tinyIcon:"spell_nature_healingtouch",noFilterModifications:true}]],{className:"c11",tinyIcon:"class_druid",noFilterModifications:true}],[3,"Hunter","/waist-enchant-finder/hunter",[[253,"Beast Mastery","/waist-enchant-finder/hunter/beast-mastery",,{tinyIcon:"ability_hunter_bestialdiscipline",noFilterModifications:true}],[254,"Marksmanship","/waist-enchant-finder/hunter/marksmanship",,{tinyIcon:"ability_hunter_focusedaim",noFilterModifications:true}],[255,"Survival","/waist-enchant-finder/hunter/survival",,{tinyIcon:"ability_hunter_camouflage",noFilterModifications:true}]],{className:"c3",tinyIcon:"class_hunter",noFilterModifications:true}],[8,"Mage","/waist-enchant-finder/mage",[[62,"Arcane","/waist-enchant-finder/mage/arcane",,{tinyIcon:"spell_holy_magicalsentry",noFilterModifications:true}],[63,"Fire","/waist-enchant-finder/mage/fire",,{tinyIcon:"spell_fire_firebolt02",noFilterModifications:true}],[64,"Frost","/waist-enchant-finder/mage/frost",,{tinyIcon:"spell_frost_frostbolt02",noFilterModifications:true}]],{className:"c8",tinyIcon:"class_mage",noFilterModifications:true}],[10,"Monk","/waist-enchant-finder/monk",[[268,"Brewmaster","/waist-enchant-finder/monk/brewmaster",,{tinyIcon:"spell_monk_brewmaster_spec",noFilterModifications:true}],[270,"Mistweaver","/waist-enchant-finder/monk/mistweaver",,{tinyIcon:"spell_monk_mistweaver_spec",noFilterModifications:true}],[269,"Windwalker","/waist-enchant-finder/monk/windwalker",,{tinyIcon:"spell_monk_windwalker_spec",noFilterModifications:true}]],{className:"c10",tinyIcon:"class_monk",noFilterModifications:true}],[2,"Paladin","/waist-enchant-finder/paladin",[[65,"Holy","/waist-enchant-finder/paladin/holy",,{tinyIcon:"spell_holy_holybolt",noFilterModifications:true}],[66,"Protection","/waist-enchant-finder/paladin/protection",,{tinyIcon:"ability_paladin_shieldofthetemplar",noFilterModifications:true}],[70,"Retribution","/waist-enchant-finder/paladin/retribution",,{tinyIcon:"spell_holy_auraoflight",noFilterModifications:true}]],{className:"c2",tinyIcon:"class_paladin",noFilterModifications:true}],[5,"Priest","/waist-enchant-finder/priest",[[256,"Discipline","/waist-enchant-finder/priest/discipline",,{tinyIcon:"spell_holy_powerwordshield",noFilterModifications:true}],[257,"Holy","/waist-enchant-finder/priest/holy",,{tinyIcon:"spell_holy_guardianspirit",noFilterModifications:true}],[258,"Shadow","/waist-enchant-finder/priest/shadow",,{tinyIcon:"spell_shadow_shadowwordpain",noFilterModifications:true}]],{className:"c5",tinyIcon:"class_priest",noFilterModifications:true}],[4,"Rogue","/waist-enchant-finder/rogue",[[259,"Assassination","/waist-enchant-finder/rogue/assassination",,{tinyIcon:"ability_rogue_eviscerate",noFilterModifications:true}],[260,"Outlaw","/waist-enchant-finder/rogue/outlaw",,{tinyIcon:"inv_sword_30",noFilterModifications:true}],[261,"Subtlety","/waist-enchant-finder/rogue/subtlety",,{tinyIcon:"ability_stealth",noFilterModifications:true}]],{className:"c4",tinyIcon:"class_rogue",noFilterModifications:true}],[7,"Shaman","/waist-enchant-finder/shaman",[[262,"Elemental","/waist-enchant-finder/shaman/elemental",,{tinyIcon:"spell_nature_lightning",noFilterModifications:true}],[263,"Enhancement","/waist-enchant-finder/shaman/enhancement",,{tinyIcon:"spell_shaman_improvedstormstrike",noFilterModifications:true}],[264,"Restoration","/waist-enchant-finder/shaman/restoration",,{tinyIcon:"spell_nature_magicimmunity",noFilterModifications:true}]],{className:"c7",tinyIcon:"class_shaman",noFilterModifications:true}],[9,"Warlock","/waist-enchant-finder/warlock",[[265,"Affliction","/waist-enchant-finder/warlock/affliction",,{tinyIcon:"spell_shadow_deathcoil",noFilterModifications:true}],[266,"Demonology","/waist-enchant-finder/warlock/demonology",,{tinyIcon:"spell_shadow_metamorphosis",noFilterModifications:true}],[267,"Destruction","/waist-enchant-finder/warlock/destruction",,{tinyIcon:"spell_shadow_rainoffire",noFilterModifications:true}]],{className:"c9",tinyIcon:"class_warlock",noFilterModifications:true}],[1,"Warrior","/waist-enchant-finder/warrior",[[71,"Arms","/waist-enchant-finder/warrior/arms",,{tinyIcon:"ability_warrior_savageblow",noFilterModifications:true}],[72,"Fury","/waist-enchant-finder/warrior/fury",,{tinyIcon:"ability_warrior_innerrage",noFilterModifications:true}],[73,"Protection","/waist-enchant-finder/warrior/protection",,{tinyIcon:"ability_warrior_defensivestance",noFilterModifications:true}]],{className:"c1",tinyIcon:"class_warrior",noFilterModifications:true}]],{noFilterModifications:true}],[7,"Legs","/leg-enchant-finder",[[6,"Death Knight","/leg-enchant-finder/death-knight",[[250,"Blood","/leg-enchant-finder/death-knight/blood",,{tinyIcon:"spell_deathknight_bloodpresence",noFilterModifications:true}],[251,"Frost","/leg-enchant-finder/death-knight/frost",,{tinyIcon:"spell_deathknight_frostpresence",noFilterModifications:true}],[252,"Unholy","/leg-enchant-finder/death-knight/unholy",,{tinyIcon:"spell_deathknight_unholypresence",noFilterModifications:true}]],{className:"c6",tinyIcon:"class_deathknight",noFilterModifications:true}],[12,"Demon Hunter","/leg-enchant-finder/demon-hunter",[[577,"Havoc","/leg-enchant-finder/demon-hunter/havoc",,{tinyIcon:"ability_demonhunter_specdps",noFilterModifications:true}],[581,"Vengeance","/leg-enchant-finder/demon-hunter/vengeance",,{tinyIcon:"ability_demonhunter_spectank",noFilterModifications:true}]],{className:"c12",tinyIcon:"class_demonhunter",noFilterModifications:true}],[11,"Druid","/leg-enchant-finder/druid",[[102,"Balance","/leg-enchant-finder/druid/balance",,{tinyIcon:"spell_nature_starfall",noFilterModifications:true}],[103,"Feral","/leg-enchant-finder/druid/feral",,{tinyIcon:"ability_druid_catform",noFilterModifications:true}],[104,"Guardian","/leg-enchant-finder/druid/guardian",,{tinyIcon:"ability_racial_bearform",noFilterModifications:true}],[105,"Restoration","/leg-enchant-finder/druid/restoration",,{tinyIcon:"spell_nature_healingtouch",noFilterModifications:true}]],{className:"c11",tinyIcon:"class_druid",noFilterModifications:true}],[3,"Hunter","/leg-enchant-finder/hunter",[[253,"Beast Mastery","/leg-enchant-finder/hunter/beast-mastery",,{tinyIcon:"ability_hunter_bestialdiscipline",noFilterModifications:true}],[254,"Marksmanship","/leg-enchant-finder/hunter/marksmanship",,{tinyIcon:"ability_hunter_focusedaim",noFilterModifications:true}],[255,"Survival","/leg-enchant-finder/hunter/survival",,{tinyIcon:"ability_hunter_camouflage",noFilterModifications:true}]],{className:"c3",tinyIcon:"class_hunter",noFilterModifications:true}],[8,"Mage","/leg-enchant-finder/mage",[[62,"Arcane","/leg-enchant-finder/mage/arcane",,{tinyIcon:"spell_holy_magicalsentry",noFilterModifications:true}],[63,"Fire","/leg-enchant-finder/mage/fire",,{tinyIcon:"spell_fire_firebolt02",noFilterModifications:true}],[64,"Frost","/leg-enchant-finder/mage/frost",,{tinyIcon:"spell_frost_frostbolt02",noFilterModifications:true}]],{className:"c8",tinyIcon:"class_mage",noFilterModifications:true}],[10,"Monk","/leg-enchant-finder/monk",[[268,"Brewmaster","/leg-enchant-finder/monk/brewmaster",,{tinyIcon:"spell_monk_brewmaster_spec",noFilterModifications:true}],[270,"Mistweaver","/leg-enchant-finder/monk/mistweaver",,{tinyIcon:"spell_monk_mistweaver_spec",noFilterModifications:true}],[269,"Windwalker","/leg-enchant-finder/monk/windwalker",,{tinyIcon:"spell_monk_windwalker_spec",noFilterModifications:true}]],{className:"c10",tinyIcon:"class_monk",noFilterModifications:true}],[2,"Paladin","/leg-enchant-finder/paladin",[[65,"Holy","/leg-enchant-finder/paladin/holy",,{tinyIcon:"spell_holy_holybolt",noFilterModifications:true}],[66,"Protection","/leg-enchant-finder/paladin/protection",,{tinyIcon:"ability_paladin_shieldofthetemplar",noFilterModifications:true}],[70,"Retribution","/leg-enchant-finder/paladin/retribution",,{tinyIcon:"spell_holy_auraoflight",noFilterModifications:true}]],{className:"c2",tinyIcon:"class_paladin",noFilterModifications:true}],[5,"Priest","/leg-enchant-finder/priest",[[256,"Discipline","/leg-enchant-finder/priest/discipline",,{tinyIcon:"spell_holy_powerwordshield",noFilterModifications:true}],[257,"Holy","/leg-enchant-finder/priest/holy",,{tinyIcon:"spell_holy_guardianspirit",noFilterModifications:true}],[258,"Shadow","/leg-enchant-finder/priest/shadow",,{tinyIcon:"spell_shadow_shadowwordpain",noFilterModifications:true}]],{className:"c5",tinyIcon:"class_priest",noFilterModifications:true}],[4,"Rogue","/leg-enchant-finder/rogue",[[259,"Assassination","/leg-enchant-finder/rogue/assassination",,{tinyIcon:"ability_rogue_eviscerate",noFilterModifications:true}],[260,"Outlaw","/leg-enchant-finder/rogue/outlaw",,{tinyIcon:"inv_sword_30",noFilterModifications:true}],[261,"Subtlety","/leg-enchant-finder/rogue/subtlety",,{tinyIcon:"ability_stealth",noFilterModifications:true}]],{className:"c4",tinyIcon:"class_rogue",noFilterModifications:true}],[7,"Shaman","/leg-enchant-finder/shaman",[[262,"Elemental","/leg-enchant-finder/shaman/elemental",,{tinyIcon:"spell_nature_lightning",noFilterModifications:true}],[263,"Enhancement","/leg-enchant-finder/shaman/enhancement",,{tinyIcon:"spell_shaman_improvedstormstrike",noFilterModifications:true}],[264,"Restoration","/leg-enchant-finder/shaman/restoration",,{tinyIcon:"spell_nature_magicimmunity",noFilterModifications:true}]],{className:"c7",tinyIcon:"class_shaman",noFilterModifications:true}],[9,"Warlock","/leg-enchant-finder/warlock",[[265,"Affliction","/leg-enchant-finder/warlock/affliction",,{tinyIcon:"spell_shadow_deathcoil",noFilterModifications:true}],[266,"Demonology","/leg-enchant-finder/warlock/demonology",,{tinyIcon:"spell_shadow_metamorphosis",noFilterModifications:true}],[267,"Destruction","/leg-enchant-finder/warlock/destruction",,{tinyIcon:"spell_shadow_rainoffire",noFilterModifications:true}]],{className:"c9",tinyIcon:"class_warlock",noFilterModifications:true}],[1,"Warrior","/leg-enchant-finder/warrior",[[71,"Arms","/leg-enchant-finder/warrior/arms",,{tinyIcon:"ability_warrior_savageblow",noFilterModifications:true}],[72,"Fury","/leg-enchant-finder/warrior/fury",,{tinyIcon:"ability_warrior_innerrage",noFilterModifications:true}],[73,"Protection","/leg-enchant-finder/warrior/protection",,{tinyIcon:"ability_warrior_defensivestance",noFilterModifications:true}]],{className:"c1",tinyIcon:"class_warrior",noFilterModifications:true}]],{noFilterModifications:true}],[8,"Feet","/feet-enchant-finder",[[6,"Death Knight","/feet-enchant-finder/death-knight",[[250,"Blood","/feet-enchant-finder/death-knight/blood",,{tinyIcon:"spell_deathknight_bloodpresence",noFilterModifications:true}],[251,"Frost","/feet-enchant-finder/death-knight/frost",,{tinyIcon:"spell_deathknight_frostpresence",noFilterModifications:true}],[252,"Unholy","/feet-enchant-finder/death-knight/unholy",,{tinyIcon:"spell_deathknight_unholypresence",noFilterModifications:true}]],{className:"c6",tinyIcon:"class_deathknight",noFilterModifications:true}],[12,"Demon Hunter","/feet-enchant-finder/demon-hunter",[[577,"Havoc","/feet-enchant-finder/demon-hunter/havoc",,{tinyIcon:"ability_demonhunter_specdps",noFilterModifications:true}],[581,"Vengeance","/feet-enchant-finder/demon-hunter/vengeance",,{tinyIcon:"ability_demonhunter_spectank",noFilterModifications:true}]],{className:"c12",tinyIcon:"class_demonhunter",noFilterModifications:true}],[11,"Druid","/feet-enchant-finder/druid",[[102,"Balance","/feet-enchant-finder/druid/balance",,{tinyIcon:"spell_nature_starfall",noFilterModifications:true}],[103,"Feral","/feet-enchant-finder/druid/feral",,{tinyIcon:"ability_druid_catform",noFilterModifications:true}],[104,"Guardian","/feet-enchant-finder/druid/guardian",,{tinyIcon:"ability_racial_bearform",noFilterModifications:true}],[105,"Restoration","/feet-enchant-finder/druid/restoration",,{tinyIcon:"spell_nature_healingtouch",noFilterModifications:true}]],{className:"c11",tinyIcon:"class_druid",noFilterModifications:true}],[3,"Hunter","/feet-enchant-finder/hunter",[[253,"Beast Mastery","/feet-enchant-finder/hunter/beast-mastery",,{tinyIcon:"ability_hunter_bestialdiscipline",noFilterModifications:true}],[254,"Marksmanship","/feet-enchant-finder/hunter/marksmanship",,{tinyIcon:"ability_hunter_focusedaim",noFilterModifications:true}],[255,"Survival","/feet-enchant-finder/hunter/survival",,{tinyIcon:"ability_hunter_camouflage",noFilterModifications:true}]],{className:"c3",tinyIcon:"class_hunter",noFilterModifications:true}],[8,"Mage","/feet-enchant-finder/mage",[[62,"Arcane","/feet-enchant-finder/mage/arcane",,{tinyIcon:"spell_holy_magicalsentry",noFilterModifications:true}],[63,"Fire","/feet-enchant-finder/mage/fire",,{tinyIcon:"spell_fire_firebolt02",noFilterModifications:true}],[64,"Frost","/feet-enchant-finder/mage/frost",,{tinyIcon:"spell_frost_frostbolt02",noFilterModifications:true}]],{className:"c8",tinyIcon:"class_mage",noFilterModifications:true}],[10,"Monk","/feet-enchant-finder/monk",[[268,"Brewmaster","/feet-enchant-finder/monk/brewmaster",,{tinyIcon:"spell_monk_brewmaster_spec",noFilterModifications:true}],[270,"Mistweaver","/feet-enchant-finder/monk/mistweaver",,{tinyIcon:"spell_monk_mistweaver_spec",noFilterModifications:true}],[269,"Windwalker","/feet-enchant-finder/monk/windwalker",,{tinyIcon:"spell_monk_windwalker_spec",noFilterModifications:true}]],{className:"c10",tinyIcon:"class_monk",noFilterModifications:true}],[2,"Paladin","/feet-enchant-finder/paladin",[[65,"Holy","/feet-enchant-finder/paladin/holy",,{tinyIcon:"spell_holy_holybolt",noFilterModifications:true}],[66,"Protection","/feet-enchant-finder/paladin/protection",,{tinyIcon:"ability_paladin_shieldofthetemplar",noFilterModifications:true}],[70,"Retribution","/feet-enchant-finder/paladin/retribution",,{tinyIcon:"spell_holy_auraoflight",noFilterModifications:true}]],{className:"c2",tinyIcon:"class_paladin",noFilterModifications:true}],[5,"Priest","/feet-enchant-finder/priest",[[256,"Discipline","/feet-enchant-finder/priest/discipline",,{tinyIcon:"spell_holy_powerwordshield",noFilterModifications:true}],[257,"Holy","/feet-enchant-finder/priest/holy",,{tinyIcon:"spell_holy_guardianspirit",noFilterModifications:true}],[258,"Shadow","/feet-enchant-finder/priest/shadow",,{tinyIcon:"spell_shadow_shadowwordpain",noFilterModifications:true}]],{className:"c5",tinyIcon:"class_priest",noFilterModifications:true}],[4,"Rogue","/feet-enchant-finder/rogue",[[259,"Assassination","/feet-enchant-finder/rogue/assassination",,{tinyIcon:"ability_rogue_eviscerate",noFilterModifications:true}],[260,"Outlaw","/feet-enchant-finder/rogue/outlaw",,{tinyIcon:"inv_sword_30",noFilterModifications:true}],[261,"Subtlety","/feet-enchant-finder/rogue/subtlety",,{tinyIcon:"ability_stealth",noFilterModifications:true}]],{className:"c4",tinyIcon:"class_rogue",noFilterModifications:true}],[7,"Shaman","/feet-enchant-finder/shaman",[[262,"Elemental","/feet-enchant-finder/shaman/elemental",,{tinyIcon:"spell_nature_lightning",noFilterModifications:true}],[263,"Enhancement","/feet-enchant-finder/shaman/enhancement",,{tinyIcon:"spell_shaman_improvedstormstrike",noFilterModifications:true}],[264,"Restoration","/feet-enchant-finder/shaman/restoration",,{tinyIcon:"spell_nature_magicimmunity",noFilterModifications:true}]],{className:"c7",tinyIcon:"class_shaman",noFilterModifications:true}],[9,"Warlock","/feet-enchant-finder/warlock",[[265,"Affliction","/feet-enchant-finder/warlock/affliction",,{tinyIcon:"spell_shadow_deathcoil",noFilterModifications:true}],[266,"Demonology","/feet-enchant-finder/warlock/demonology",,{tinyIcon:"spell_shadow_metamorphosis",noFilterModifications:true}],[267,"Destruction","/feet-enchant-finder/warlock/destruction",,{tinyIcon:"spell_shadow_rainoffire",noFilterModifications:true}]],{className:"c9",tinyIcon:"class_warlock",noFilterModifications:true}],[1,"Warrior","/feet-enchant-finder/warrior",[[71,"Arms","/feet-enchant-finder/warrior/arms",,{tinyIcon:"ability_warrior_savageblow",noFilterModifications:true}],[72,"Fury","/feet-enchant-finder/warrior/fury",,{tinyIcon:"ability_warrior_innerrage",noFilterModifications:true}],[73,"Protection","/feet-enchant-finder/warrior/protection",,{tinyIcon:"ability_warrior_defensivestance",noFilterModifications:true}]],{className:"c1",tinyIcon:"class_warrior",noFilterModifications:true}]],{noFilterModifications:true}],[11,"Finger","/finger-enchant-finder",[[6,"Death Knight","/finger-enchant-finder/death-knight",[[250,"Blood","/finger-enchant-finder/death-knight/blood",,{tinyIcon:"spell_deathknight_bloodpresence",noFilterModifications:true}],[251,"Frost","/finger-enchant-finder/death-knight/frost",,{tinyIcon:"spell_deathknight_frostpresence",noFilterModifications:true}],[252,"Unholy","/finger-enchant-finder/death-knight/unholy",,{tinyIcon:"spell_deathknight_unholypresence",noFilterModifications:true}]],{className:"c6",tinyIcon:"class_deathknight",noFilterModifications:true}],[12,"Demon Hunter","/finger-enchant-finder/demon-hunter",[[577,"Havoc","/finger-enchant-finder/demon-hunter/havoc",,{tinyIcon:"ability_demonhunter_specdps",noFilterModifications:true}],[581,"Vengeance","/finger-enchant-finder/demon-hunter/vengeance",,{tinyIcon:"ability_demonhunter_spectank",noFilterModifications:true}]],{className:"c12",tinyIcon:"class_demonhunter",noFilterModifications:true}],[11,"Druid","/finger-enchant-finder/druid",[[102,"Balance","/finger-enchant-finder/druid/balance",,{tinyIcon:"spell_nature_starfall",noFilterModifications:true}],[103,"Feral","/finger-enchant-finder/druid/feral",,{tinyIcon:"ability_druid_catform",noFilterModifications:true}],[104,"Guardian","/finger-enchant-finder/druid/guardian",,{tinyIcon:"ability_racial_bearform",noFilterModifications:true}],[105,"Restoration","/finger-enchant-finder/druid/restoration",,{tinyIcon:"spell_nature_healingtouch",noFilterModifications:true}]],{className:"c11",tinyIcon:"class_druid",noFilterModifications:true}],[3,"Hunter","/finger-enchant-finder/hunter",[[253,"Beast Mastery","/finger-enchant-finder/hunter/beast-mastery",,{tinyIcon:"ability_hunter_bestialdiscipline",noFilterModifications:true}],[254,"Marksmanship","/finger-enchant-finder/hunter/marksmanship",,{tinyIcon:"ability_hunter_focusedaim",noFilterModifications:true}],[255,"Survival","/finger-enchant-finder/hunter/survival",,{tinyIcon:"ability_hunter_camouflage",noFilterModifications:true}]],{className:"c3",tinyIcon:"class_hunter",noFilterModifications:true}],[8,"Mage","/finger-enchant-finder/mage",[[62,"Arcane","/finger-enchant-finder/mage/arcane",,{tinyIcon:"spell_holy_magicalsentry",noFilterModifications:true}],[63,"Fire","/finger-enchant-finder/mage/fire",,{tinyIcon:"spell_fire_firebolt02",noFilterModifications:true}],[64,"Frost","/finger-enchant-finder/mage/frost",,{tinyIcon:"spell_frost_frostbolt02",noFilterModifications:true}]],{className:"c8",tinyIcon:"class_mage",noFilterModifications:true}],[10,"Monk","/finger-enchant-finder/monk",[[268,"Brewmaster","/finger-enchant-finder/monk/brewmaster",,{tinyIcon:"spell_monk_brewmaster_spec",noFilterModifications:true}],[270,"Mistweaver","/finger-enchant-finder/monk/mistweaver",,{tinyIcon:"spell_monk_mistweaver_spec",noFilterModifications:true}],[269,"Windwalker","/finger-enchant-finder/monk/windwalker",,{tinyIcon:"spell_monk_windwalker_spec",noFilterModifications:true}]],{className:"c10",tinyIcon:"class_monk",noFilterModifications:true}],[2,"Paladin","/finger-enchant-finder/paladin",[[65,"Holy","/finger-enchant-finder/paladin/holy",,{tinyIcon:"spell_holy_holybolt",noFilterModifications:true}],[66,"Protection","/finger-enchant-finder/paladin/protection",,{tinyIcon:"ability_paladin_shieldofthetemplar",noFilterModifications:true}],[70,"Retribution","/finger-enchant-finder/paladin/retribution",,{tinyIcon:"spell_holy_auraoflight",noFilterModifications:true}]],{className:"c2",tinyIcon:"class_paladin",noFilterModifications:true}],[5,"Priest","/finger-enchant-finder/priest",[[256,"Discipline","/finger-enchant-finder/priest/discipline",,{tinyIcon:"spell_holy_powerwordshield",noFilterModifications:true}],[257,"Holy","/finger-enchant-finder/priest/holy",,{tinyIcon:"spell_holy_guardianspirit",noFilterModifications:true}],[258,"Shadow","/finger-enchant-finder/priest/shadow",,{tinyIcon:"spell_shadow_shadowwordpain",noFilterModifications:true}]],{className:"c5",tinyIcon:"class_priest",noFilterModifications:true}],[4,"Rogue","/finger-enchant-finder/rogue",[[259,"Assassination","/finger-enchant-finder/rogue/assassination",,{tinyIcon:"ability_rogue_eviscerate",noFilterModifications:true}],[260,"Outlaw","/finger-enchant-finder/rogue/outlaw",,{tinyIcon:"inv_sword_30",noFilterModifications:true}],[261,"Subtlety","/finger-enchant-finder/rogue/subtlety",,{tinyIcon:"ability_stealth",noFilterModifications:true}]],{className:"c4",tinyIcon:"class_rogue",noFilterModifications:true}],[7,"Shaman","/finger-enchant-finder/shaman",[[262,"Elemental","/finger-enchant-finder/shaman/elemental",,{tinyIcon:"spell_nature_lightning",noFilterModifications:true}],[263,"Enhancement","/finger-enchant-finder/shaman/enhancement",,{tinyIcon:"spell_shaman_improvedstormstrike",noFilterModifications:true}],[264,"Restoration","/finger-enchant-finder/shaman/restoration",,{tinyIcon:"spell_nature_magicimmunity",noFilterModifications:true}]],{className:"c7",tinyIcon:"class_shaman",noFilterModifications:true}],[9,"Warlock","/finger-enchant-finder/warlock",[[265,"Affliction","/finger-enchant-finder/warlock/affliction",,{tinyIcon:"spell_shadow_deathcoil",noFilterModifications:true}],[266,"Demonology","/finger-enchant-finder/warlock/demonology",,{tinyIcon:"spell_shadow_metamorphosis",noFilterModifications:true}],[267,"Destruction","/finger-enchant-finder/warlock/destruction",,{tinyIcon:"spell_shadow_rainoffire",noFilterModifications:true}]],{className:"c9",tinyIcon:"class_warlock",noFilterModifications:true}],[1,"Warrior","/finger-enchant-finder/warrior",[[71,"Arms","/finger-enchant-finder/warrior/arms",,{tinyIcon:"ability_warrior_savageblow",noFilterModifications:true}],[72,"Fury","/finger-enchant-finder/warrior/fury",,{tinyIcon:"ability_warrior_innerrage",noFilterModifications:true}],[73,"Protection","/finger-enchant-finder/warrior/protection",,{tinyIcon:"ability_warrior_defensivestance",noFilterModifications:true}]],{className:"c1",tinyIcon:"class_warrior",noFilterModifications:true}]],{noFilterModifications:true}],[12,"Trinket","/trinket-enchant-finder",[[6,"Death Knight","/trinket-enchant-finder/death-knight",[[250,"Blood","/trinket-enchant-finder/death-knight/blood",,{tinyIcon:"spell_deathknight_bloodpresence",noFilterModifications:true}],[251,"Frost","/trinket-enchant-finder/death-knight/frost",,{tinyIcon:"spell_deathknight_frostpresence",noFilterModifications:true}],[252,"Unholy","/trinket-enchant-finder/death-knight/unholy",,{tinyIcon:"spell_deathknight_unholypresence",noFilterModifications:true}]],{className:"c6",tinyIcon:"class_deathknight",noFilterModifications:true}],[12,"Demon Hunter","/trinket-enchant-finder/demon-hunter",[[577,"Havoc","/trinket-enchant-finder/demon-hunter/havoc",,{tinyIcon:"ability_demonhunter_specdps",noFilterModifications:true}],[581,"Vengeance","/trinket-enchant-finder/demon-hunter/vengeance",,{tinyIcon:"ability_demonhunter_spectank",noFilterModifications:true}]],{className:"c12",tinyIcon:"class_demonhunter",noFilterModifications:true}],[11,"Druid","/trinket-enchant-finder/druid",[[102,"Balance","/trinket-enchant-finder/druid/balance",,{tinyIcon:"spell_nature_starfall",noFilterModifications:true}],[103,"Feral","/trinket-enchant-finder/druid/feral",,{tinyIcon:"ability_druid_catform",noFilterModifications:true}],[104,"Guardian","/trinket-enchant-finder/druid/guardian",,{tinyIcon:"ability_racial_bearform",noFilterModifications:true}],[105,"Restoration","/trinket-enchant-finder/druid/restoration",,{tinyIcon:"spell_nature_healingtouch",noFilterModifications:true}]],{className:"c11",tinyIcon:"class_druid",noFilterModifications:true}],[3,"Hunter","/trinket-enchant-finder/hunter",[[253,"Beast Mastery","/trinket-enchant-finder/hunter/beast-mastery",,{tinyIcon:"ability_hunter_bestialdiscipline",noFilterModifications:true}],[254,"Marksmanship","/trinket-enchant-finder/hunter/marksmanship",,{tinyIcon:"ability_hunter_focusedaim",noFilterModifications:true}],[255,"Survival","/trinket-enchant-finder/hunter/survival",,{tinyIcon:"ability_hunter_camouflage",noFilterModifications:true}]],{className:"c3",tinyIcon:"class_hunter",noFilterModifications:true}],[8,"Mage","/trinket-enchant-finder/mage",[[62,"Arcane","/trinket-enchant-finder/mage/arcane",,{tinyIcon:"spell_holy_magicalsentry",noFilterModifications:true}],[63,"Fire","/trinket-enchant-finder/mage/fire",,{tinyIcon:"spell_fire_firebolt02",noFilterModifications:true}],[64,"Frost","/trinket-enchant-finder/mage/frost",,{tinyIcon:"spell_frost_frostbolt02",noFilterModifications:true}]],{className:"c8",tinyIcon:"class_mage",noFilterModifications:true}],[10,"Monk","/trinket-enchant-finder/monk",[[268,"Brewmaster","/trinket-enchant-finder/monk/brewmaster",,{tinyIcon:"spell_monk_brewmaster_spec",noFilterModifications:true}],[270,"Mistweaver","/trinket-enchant-finder/monk/mistweaver",,{tinyIcon:"spell_monk_mistweaver_spec",noFilterModifications:true}],[269,"Windwalker","/trinket-enchant-finder/monk/windwalker",,{tinyIcon:"spell_monk_windwalker_spec",noFilterModifications:true}]],{className:"c10",tinyIcon:"class_monk",noFilterModifications:true}],[2,"Paladin","/trinket-enchant-finder/paladin",[[65,"Holy","/trinket-enchant-finder/paladin/holy",,{tinyIcon:"spell_holy_holybolt",noFilterModifications:true}],[66,"Protection","/trinket-enchant-finder/paladin/protection",,{tinyIcon:"ability_paladin_shieldofthetemplar",noFilterModifications:true}],[70,"Retribution","/trinket-enchant-finder/paladin/retribution",,{tinyIcon:"spell_holy_auraoflight",noFilterModifications:true}]],{className:"c2",tinyIcon:"class_paladin",noFilterModifications:true}],[5,"Priest","/trinket-enchant-finder/priest",[[256,"Discipline","/trinket-enchant-finder/priest/discipline",,{tinyIcon:"spell_holy_powerwordshield",noFilterModifications:true}],[257,"Holy","/trinket-enchant-finder/priest/holy",,{tinyIcon:"spell_holy_guardianspirit",noFilterModifications:true}],[258,"Shadow","/trinket-enchant-finder/priest/shadow",,{tinyIcon:"spell_shadow_shadowwordpain",noFilterModifications:true}]],{className:"c5",tinyIcon:"class_priest",noFilterModifications:true}],[4,"Rogue","/trinket-enchant-finder/rogue",[[259,"Assassination","/trinket-enchant-finder/rogue/assassination",,{tinyIcon:"ability_rogue_eviscerate",noFilterModifications:true}],[260,"Outlaw","/trinket-enchant-finder/rogue/outlaw",,{tinyIcon:"inv_sword_30",noFilterModifications:true}],[261,"Subtlety","/trinket-enchant-finder/rogue/subtlety",,{tinyIcon:"ability_stealth",noFilterModifications:true}]],{className:"c4",tinyIcon:"class_rogue",noFilterModifications:true}],[7,"Shaman","/trinket-enchant-finder/shaman",[[262,"Elemental","/trinket-enchant-finder/shaman/elemental",,{tinyIcon:"spell_nature_lightning",noFilterModifications:true}],[263,"Enhancement","/trinket-enchant-finder/shaman/enhancement",,{tinyIcon:"spell_shaman_improvedstormstrike",noFilterModifications:true}],[264,"Restoration","/trinket-enchant-finder/shaman/restoration",,{tinyIcon:"spell_nature_magicimmunity",noFilterModifications:true}]],{className:"c7",tinyIcon:"class_shaman",noFilterModifications:true}],[9,"Warlock","/trinket-enchant-finder/warlock",[[265,"Affliction","/trinket-enchant-finder/warlock/affliction",,{tinyIcon:"spell_shadow_deathcoil",noFilterModifications:true}],[266,"Demonology","/trinket-enchant-finder/warlock/demonology",,{tinyIcon:"spell_shadow_metamorphosis",noFilterModifications:true}],[267,"Destruction","/trinket-enchant-finder/warlock/destruction",,{tinyIcon:"spell_shadow_rainoffire",noFilterModifications:true}]],{className:"c9",tinyIcon:"class_warlock",noFilterModifications:true}],[1,"Warrior","/trinket-enchant-finder/warrior",[[71,"Arms","/trinket-enchant-finder/warrior/arms",,{tinyIcon:"ability_warrior_savageblow",noFilterModifications:true}],[72,"Fury","/trinket-enchant-finder/warrior/fury",,{tinyIcon:"ability_warrior_innerrage",noFilterModifications:true}],[73,"Protection","/trinket-enchant-finder/warrior/protection",,{tinyIcon:"ability_warrior_defensivestance",noFilterModifications:true}]],{className:"c1",tinyIcon:"class_warrior",noFilterModifications:true}]],{noFilterModifications:true}],[21,"Main Hand","/main-hand-enchant-finder",[[6,"Death Knight","/main-hand-enchant-finder/death-knight",[[250,"Blood","/main-hand-enchant-finder/death-knight/blood",,{tinyIcon:"spell_deathknight_bloodpresence",noFilterModifications:true}],[251,"Frost","/main-hand-enchant-finder/death-knight/frost",,{tinyIcon:"spell_deathknight_frostpresence",noFilterModifications:true}],[252,"Unholy","/main-hand-enchant-finder/death-knight/unholy",,{tinyIcon:"spell_deathknight_unholypresence",noFilterModifications:true}]],{className:"c6",tinyIcon:"class_deathknight",noFilterModifications:true}],[12,"Demon Hunter","/main-hand-enchant-finder/demon-hunter",[[577,"Havoc","/main-hand-enchant-finder/demon-hunter/havoc",,{tinyIcon:"ability_demonhunter_specdps",noFilterModifications:true}],[581,"Vengeance","/main-hand-enchant-finder/demon-hunter/vengeance",,{tinyIcon:"ability_demonhunter_spectank",noFilterModifications:true}]],{className:"c12",tinyIcon:"class_demonhunter",noFilterModifications:true}],[11,"Druid","/main-hand-enchant-finder/druid",[[102,"Balance","/main-hand-enchant-finder/druid/balance",,{tinyIcon:"spell_nature_starfall",noFilterModifications:true}],[103,"Feral","/main-hand-enchant-finder/druid/feral",,{tinyIcon:"ability_druid_catform",noFilterModifications:true}],[104,"Guardian","/main-hand-enchant-finder/druid/guardian",,{tinyIcon:"ability_racial_bearform",noFilterModifications:true}],[105,"Restoration","/main-hand-enchant-finder/druid/restoration",,{tinyIcon:"spell_nature_healingtouch",noFilterModifications:true}]],{className:"c11",tinyIcon:"class_druid",noFilterModifications:true}],[3,"Hunter","/main-hand-enchant-finder/hunter",[[253,"Beast Mastery","/main-hand-enchant-finder/hunter/beast-mastery",,{tinyIcon:"ability_hunter_bestialdiscipline",noFilterModifications:true}],[254,"Marksmanship","/main-hand-enchant-finder/hunter/marksmanship",,{tinyIcon:"ability_hunter_focusedaim",noFilterModifications:true}],[255,"Survival","/main-hand-enchant-finder/hunter/survival",,{tinyIcon:"ability_hunter_camouflage",noFilterModifications:true}]],{className:"c3",tinyIcon:"class_hunter",noFilterModifications:true}],[8,"Mage","/main-hand-enchant-finder/mage",[[62,"Arcane","/main-hand-enchant-finder/mage/arcane",,{tinyIcon:"spell_holy_magicalsentry",noFilterModifications:true}],[63,"Fire","/main-hand-enchant-finder/mage/fire",,{tinyIcon:"spell_fire_firebolt02",noFilterModifications:true}],[64,"Frost","/main-hand-enchant-finder/mage/frost",,{tinyIcon:"spell_frost_frostbolt02",noFilterModifications:true}]],{className:"c8",tinyIcon:"class_mage",noFilterModifications:true}],[10,"Monk","/main-hand-enchant-finder/monk",[[268,"Brewmaster","/main-hand-enchant-finder/monk/brewmaster",,{tinyIcon:"spell_monk_brewmaster_spec",noFilterModifications:true}],[270,"Mistweaver","/main-hand-enchant-finder/monk/mistweaver",,{tinyIcon:"spell_monk_mistweaver_spec",noFilterModifications:true}],[269,"Windwalker","/main-hand-enchant-finder/monk/windwalker",,{tinyIcon:"spell_monk_windwalker_spec",noFilterModifications:true}]],{className:"c10",tinyIcon:"class_monk",noFilterModifications:true}],[2,"Paladin","/main-hand-enchant-finder/paladin",[[65,"Holy","/main-hand-enchant-finder/paladin/holy",,{tinyIcon:"spell_holy_holybolt",noFilterModifications:true}],[66,"Protection","/main-hand-enchant-finder/paladin/protection",,{tinyIcon:"ability_paladin_shieldofthetemplar",noFilterModifications:true}],[70,"Retribution","/main-hand-enchant-finder/paladin/retribution",,{tinyIcon:"spell_holy_auraoflight",noFilterModifications:true}]],{className:"c2",tinyIcon:"class_paladin",noFilterModifications:true}],[5,"Priest","/main-hand-enchant-finder/priest",[[256,"Discipline","/main-hand-enchant-finder/priest/discipline",,{tinyIcon:"spell_holy_powerwordshield",noFilterModifications:true}],[257,"Holy","/main-hand-enchant-finder/priest/holy",,{tinyIcon:"spell_holy_guardianspirit",noFilterModifications:true}],[258,"Shadow","/main-hand-enchant-finder/priest/shadow",,{tinyIcon:"spell_shadow_shadowwordpain",noFilterModifications:true}]],{className:"c5",tinyIcon:"class_priest",noFilterModifications:true}],[4,"Rogue","/main-hand-enchant-finder/rogue",[[259,"Assassination","/main-hand-enchant-finder/rogue/assassination",,{tinyIcon:"ability_rogue_eviscerate",noFilterModifications:true}],[260,"Outlaw","/main-hand-enchant-finder/rogue/outlaw",,{tinyIcon:"inv_sword_30",noFilterModifications:true}],[261,"Subtlety","/main-hand-enchant-finder/rogue/subtlety",,{tinyIcon:"ability_stealth",noFilterModifications:true}]],{className:"c4",tinyIcon:"class_rogue",noFilterModifications:true}],[7,"Shaman","/main-hand-enchant-finder/shaman",[[262,"Elemental","/main-hand-enchant-finder/shaman/elemental",,{tinyIcon:"spell_nature_lightning",noFilterModifications:true}],[263,"Enhancement","/main-hand-enchant-finder/shaman/enhancement",,{tinyIcon:"spell_shaman_improvedstormstrike",noFilterModifications:true}],[264,"Restoration","/main-hand-enchant-finder/shaman/restoration",,{tinyIcon:"spell_nature_magicimmunity",noFilterModifications:true}]],{className:"c7",tinyIcon:"class_shaman",noFilterModifications:true}],[9,"Warlock","/main-hand-enchant-finder/warlock",[[265,"Affliction","/main-hand-enchant-finder/warlock/affliction",,{tinyIcon:"spell_shadow_deathcoil",noFilterModifications:true}],[266,"Demonology","/main-hand-enchant-finder/warlock/demonology",,{tinyIcon:"spell_shadow_metamorphosis",noFilterModifications:true}],[267,"Destruction","/main-hand-enchant-finder/warlock/destruction",,{tinyIcon:"spell_shadow_rainoffire",noFilterModifications:true}]],{className:"c9",tinyIcon:"class_warlock",noFilterModifications:true}],[1,"Warrior","/main-hand-enchant-finder/warrior",[[71,"Arms","/main-hand-enchant-finder/warrior/arms",,{tinyIcon:"ability_warrior_savageblow",noFilterModifications:true}],[72,"Fury","/main-hand-enchant-finder/warrior/fury",,{tinyIcon:"ability_warrior_innerrage",noFilterModifications:true}],[73,"Protection","/main-hand-enchant-finder/warrior/protection",,{tinyIcon:"ability_warrior_defensivestance",noFilterModifications:true}]],{className:"c1",tinyIcon:"class_warrior",noFilterModifications:true}]],{noFilterModifications:true}],[22,"Off Hand","/off-hand-enchant-finder",[[6,"Death Knight","/off-hand-enchant-finder/death-knight",[[250,"Blood","/off-hand-enchant-finder/death-knight/blood",,{tinyIcon:"spell_deathknight_bloodpresence",noFilterModifications:true}],[251,"Frost","/off-hand-enchant-finder/death-knight/frost",,{tinyIcon:"spell_deathknight_frostpresence",noFilterModifications:true}],[252,"Unholy","/off-hand-enchant-finder/death-knight/unholy",,{tinyIcon:"spell_deathknight_unholypresence",noFilterModifications:true}]],{className:"c6",tinyIcon:"class_deathknight",noFilterModifications:true}],[12,"Demon Hunter","/off-hand-enchant-finder/demon-hunter",[[577,"Havoc","/off-hand-enchant-finder/demon-hunter/havoc",,{tinyIcon:"ability_demonhunter_specdps",noFilterModifications:true}],[581,"Vengeance","/off-hand-enchant-finder/demon-hunter/vengeance",,{tinyIcon:"ability_demonhunter_spectank",noFilterModifications:true}]],{className:"c12",tinyIcon:"class_demonhunter",noFilterModifications:true}],[11,"Druid","/off-hand-enchant-finder/druid",[[102,"Balance","/off-hand-enchant-finder/druid/balance",,{tinyIcon:"spell_nature_starfall",noFilterModifications:true}],[103,"Feral","/off-hand-enchant-finder/druid/feral",,{tinyIcon:"ability_druid_catform",noFilterModifications:true}],[104,"Guardian","/off-hand-enchant-finder/druid/guardian",,{tinyIcon:"ability_racial_bearform",noFilterModifications:true}],[105,"Restoration","/off-hand-enchant-finder/druid/restoration",,{tinyIcon:"spell_nature_healingtouch",noFilterModifications:true}]],{className:"c11",tinyIcon:"class_druid",noFilterModifications:true}],[3,"Hunter","/off-hand-enchant-finder/hunter",[[253,"Beast Mastery","/off-hand-enchant-finder/hunter/beast-mastery",,{tinyIcon:"ability_hunter_bestialdiscipline",noFilterModifications:true}],[254,"Marksmanship","/off-hand-enchant-finder/hunter/marksmanship",,{tinyIcon:"ability_hunter_focusedaim",noFilterModifications:true}],[255,"Survival","/off-hand-enchant-finder/hunter/survival",,{tinyIcon:"ability_hunter_camouflage",noFilterModifications:true}]],{className:"c3",tinyIcon:"class_hunter",noFilterModifications:true}],[8,"Mage","/off-hand-enchant-finder/mage",[[62,"Arcane","/off-hand-enchant-finder/mage/arcane",,{tinyIcon:"spell_holy_magicalsentry",noFilterModifications:true}],[63,"Fire","/off-hand-enchant-finder/mage/fire",,{tinyIcon:"spell_fire_firebolt02",noFilterModifications:true}],[64,"Frost","/off-hand-enchant-finder/mage/frost",,{tinyIcon:"spell_frost_frostbolt02",noFilterModifications:true}]],{className:"c8",tinyIcon:"class_mage",noFilterModifications:true}],[10,"Monk","/off-hand-enchant-finder/monk",[[268,"Brewmaster","/off-hand-enchant-finder/monk/brewmaster",,{tinyIcon:"spell_monk_brewmaster_spec",noFilterModifications:true}],[270,"Mistweaver","/off-hand-enchant-finder/monk/mistweaver",,{tinyIcon:"spell_monk_mistweaver_spec",noFilterModifications:true}],[269,"Windwalker","/off-hand-enchant-finder/monk/windwalker",,{tinyIcon:"spell_monk_windwalker_spec",noFilterModifications:true}]],{className:"c10",tinyIcon:"class_monk",noFilterModifications:true}],[2,"Paladin","/off-hand-enchant-finder/paladin",[[65,"Holy","/off-hand-enchant-finder/paladin/holy",,{tinyIcon:"spell_holy_holybolt",noFilterModifications:true}],[66,"Protection","/off-hand-enchant-finder/paladin/protection",,{tinyIcon:"ability_paladin_shieldofthetemplar",noFilterModifications:true}],[70,"Retribution","/off-hand-enchant-finder/paladin/retribution",,{tinyIcon:"spell_holy_auraoflight",noFilterModifications:true}]],{className:"c2",tinyIcon:"class_paladin",noFilterModifications:true}],[5,"Priest","/off-hand-enchant-finder/priest",[[256,"Discipline","/off-hand-enchant-finder/priest/discipline",,{tinyIcon:"spell_holy_powerwordshield",noFilterModifications:true}],[257,"Holy","/off-hand-enchant-finder/priest/holy",,{tinyIcon:"spell_holy_guardianspirit",noFilterModifications:true}],[258,"Shadow","/off-hand-enchant-finder/priest/shadow",,{tinyIcon:"spell_shadow_shadowwordpain",noFilterModifications:true}]],{className:"c5",tinyIcon:"class_priest",noFilterModifications:true}],[4,"Rogue","/off-hand-enchant-finder/rogue",[[259,"Assassination","/off-hand-enchant-finder/rogue/assassination",,{tinyIcon:"ability_rogue_eviscerate",noFilterModifications:true}],[260,"Outlaw","/off-hand-enchant-finder/rogue/outlaw",,{tinyIcon:"inv_sword_30",noFilterModifications:true}],[261,"Subtlety","/off-hand-enchant-finder/rogue/subtlety",,{tinyIcon:"ability_stealth",noFilterModifications:true}]],{className:"c4",tinyIcon:"class_rogue",noFilterModifications:true}],[7,"Shaman","/off-hand-enchant-finder/shaman",[[262,"Elemental","/off-hand-enchant-finder/shaman/elemental",,{tinyIcon:"spell_nature_lightning",noFilterModifications:true}],[263,"Enhancement","/off-hand-enchant-finder/shaman/enhancement",,{tinyIcon:"spell_shaman_improvedstormstrike",noFilterModifications:true}],[264,"Restoration","/off-hand-enchant-finder/shaman/restoration",,{tinyIcon:"spell_nature_magicimmunity",noFilterModifications:true}]],{className:"c7",tinyIcon:"class_shaman",noFilterModifications:true}],[9,"Warlock","/off-hand-enchant-finder/warlock",[[265,"Affliction","/off-hand-enchant-finder/warlock/affliction",,{tinyIcon:"spell_shadow_deathcoil",noFilterModifications:true}],[266,"Demonology","/off-hand-enchant-finder/warlock/demonology",,{tinyIcon:"spell_shadow_metamorphosis",noFilterModifications:true}],[267,"Destruction","/off-hand-enchant-finder/warlock/destruction",,{tinyIcon:"spell_shadow_rainoffire",noFilterModifications:true}]],{className:"c9",tinyIcon:"class_warlock",noFilterModifications:true}],[1,"Warrior","/off-hand-enchant-finder/warrior",[[71,"Arms","/off-hand-enchant-finder/warrior/arms",,{tinyIcon:"ability_warrior_savageblow",noFilterModifications:true}],[72,"Fury","/off-hand-enchant-finder/warrior/fury",,{tinyIcon:"ability_warrior_innerrage",noFilterModifications:true}],[73,"Protection","/off-hand-enchant-finder/warrior/protection",,{tinyIcon:"ability_warrior_defensivestance",noFilterModifications:true}]],{className:"c1",tinyIcon:"class_warrior",noFilterModifications:true}]],{noFilterModifications:true}]],{noFilterModifications:true}],[2,"Gems","/gem-finder",[[6,"Death Knight","/death-knight-gem-finder",[[250,"Blood","/death-knight-gem-finder/blood",,{tinyIcon:"spell_deathknight_bloodpresence",noFilterModifications:true}],[251,"Frost","/death-knight-gem-finder/frost",,{tinyIcon:"spell_deathknight_frostpresence",noFilterModifications:true}],[252,"Unholy","/death-knight-gem-finder/unholy",,{tinyIcon:"spell_deathknight_unholypresence",noFilterModifications:true}]],{className:"c6",tinyIcon:"class_deathknight",noFilterModifications:true}],[12,"Demon Hunter","/demon-hunter-gem-finder",[[577,"Havoc","/demon-hunter-gem-finder/havoc",,{tinyIcon:"ability_demonhunter_specdps",noFilterModifications:true}],[581,"Vengeance","/demon-hunter-gem-finder/vengeance",,{tinyIcon:"ability_demonhunter_spectank",noFilterModifications:true}]],{className:"c12",tinyIcon:"class_demonhunter",noFilterModifications:true}],[11,"Druid","/druid-gem-finder",[[102,"Balance","/druid-gem-finder/balance",,{tinyIcon:"spell_nature_starfall",noFilterModifications:true}],[103,"Feral","/druid-gem-finder/feral",,{tinyIcon:"ability_druid_catform",noFilterModifications:true}],[104,"Guardian","/druid-gem-finder/guardian",,{tinyIcon:"ability_racial_bearform",noFilterModifications:true}],[105,"Restoration","/druid-gem-finder/restoration",,{tinyIcon:"spell_nature_healingtouch",noFilterModifications:true}]],{className:"c11",tinyIcon:"class_druid",noFilterModifications:true}],[3,"Hunter","/hunter-gem-finder",[[253,"Beast Mastery","/hunter-gem-finder/beast-mastery",,{tinyIcon:"ability_hunter_bestialdiscipline",noFilterModifications:true}],[254,"Marksmanship","/hunter-gem-finder/marksmanship",,{tinyIcon:"ability_hunter_focusedaim",noFilterModifications:true}],[255,"Survival","/hunter-gem-finder/survival",,{tinyIcon:"ability_hunter_camouflage",noFilterModifications:true}]],{className:"c3",tinyIcon:"class_hunter",noFilterModifications:true}],[8,"Mage","/mage-gem-finder",[[62,"Arcane","/mage-gem-finder/arcane",,{tinyIcon:"spell_holy_magicalsentry",noFilterModifications:true}],[63,"Fire","/mage-gem-finder/fire",,{tinyIcon:"spell_fire_firebolt02",noFilterModifications:true}],[64,"Frost","/mage-gem-finder/frost",,{tinyIcon:"spell_frost_frostbolt02",noFilterModifications:true}]],{className:"c8",tinyIcon:"class_mage",noFilterModifications:true}],[10,"Monk","/monk-gem-finder",[[268,"Brewmaster","/monk-gem-finder/brewmaster",,{tinyIcon:"spell_monk_brewmaster_spec",noFilterModifications:true}],[270,"Mistweaver","/monk-gem-finder/mistweaver",,{tinyIcon:"spell_monk_mistweaver_spec",noFilterModifications:true}],[269,"Windwalker","/monk-gem-finder/windwalker",,{tinyIcon:"spell_monk_windwalker_spec",noFilterModifications:true}]],{className:"c10",tinyIcon:"class_monk",noFilterModifications:true}],[2,"Paladin","/paladin-gem-finder",[[65,"Holy","/paladin-gem-finder/holy",,{tinyIcon:"spell_holy_holybolt",noFilterModifications:true}],[66,"Protection","/paladin-gem-finder/protection",,{tinyIcon:"ability_paladin_shieldofthetemplar",noFilterModifications:true}],[70,"Retribution","/paladin-gem-finder/retribution",,{tinyIcon:"spell_holy_auraoflight",noFilterModifications:true}]],{className:"c2",tinyIcon:"class_paladin",noFilterModifications:true}],[5,"Priest","/priest-gem-finder",[[256,"Discipline","/priest-gem-finder/discipline",,{tinyIcon:"spell_holy_powerwordshield",noFilterModifications:true}],[257,"Holy","/priest-gem-finder/holy",,{tinyIcon:"spell_holy_guardianspirit",noFilterModifications:true}],[258,"Shadow","/priest-gem-finder/shadow",,{tinyIcon:"spell_shadow_shadowwordpain",noFilterModifications:true}]],{className:"c5",tinyIcon:"class_priest",noFilterModifications:true}],[4,"Rogue","/rogue-gem-finder",[[259,"Assassination","/rogue-gem-finder/assassination",,{tinyIcon:"ability_rogue_eviscerate",noFilterModifications:true}],[260,"Outlaw","/rogue-gem-finder/outlaw",,{tinyIcon:"inv_sword_30",noFilterModifications:true}],[261,"Subtlety","/rogue-gem-finder/subtlety",,{tinyIcon:"ability_stealth",noFilterModifications:true}]],{className:"c4",tinyIcon:"class_rogue",noFilterModifications:true}],[7,"Shaman","/shaman-gem-finder",[[262,"Elemental","/shaman-gem-finder/elemental",,{tinyIcon:"spell_nature_lightning",noFilterModifications:true}],[263,"Enhancement","/shaman-gem-finder/enhancement",,{tinyIcon:"spell_shaman_improvedstormstrike",noFilterModifications:true}],[264,"Restoration","/shaman-gem-finder/restoration",,{tinyIcon:"spell_nature_magicimmunity",noFilterModifications:true}]],{className:"c7",tinyIcon:"class_shaman",noFilterModifications:true}],[9,"Warlock","/warlock-gem-finder",[[265,"Affliction","/warlock-gem-finder/affliction",,{tinyIcon:"spell_shadow_deathcoil",noFilterModifications:true}],[266,"Demonology","/warlock-gem-finder/demonology",,{tinyIcon:"spell_shadow_metamorphosis",noFilterModifications:true}],[267,"Destruction","/warlock-gem-finder/destruction",,{tinyIcon:"spell_shadow_rainoffire",noFilterModifications:true}]],{className:"c9",tinyIcon:"class_warlock",noFilterModifications:true}],[1,"Warrior","/warrior-gem-finder",[[71,"Arms","/warrior-gem-finder/arms",,{tinyIcon:"ability_warrior_savageblow",noFilterModifications:true}],[72,"Fury","/warrior-gem-finder/fury",,{tinyIcon:"ability_warrior_innerrage",noFilterModifications:true}],[73,"Protection","/warrior-gem-finder/protection",,{tinyIcon:"ability_warrior_defensivestance",noFilterModifications:true}]],{className:"c1",tinyIcon:"class_warrior",noFilterModifications:true}]],{noFilterModifications:true}],[16,"Glyphs","/glyph-item-finder",[[6,"Death Knight","/death-knight-glyph-item-finder",,{className:"c6",tinyIcon:"class_deathknight",noFilterModifications:true}],[12,"Demon Hunter","/demon-hunter-glyph-item-finder",,{className:"c12",tinyIcon:"class_demonhunter",noFilterModifications:true}],[11,"Druid","/druid-glyph-item-finder",,{className:"c11",tinyIcon:"class_druid",noFilterModifications:true}],[3,"Hunter","/hunter-glyph-item-finder",,{className:"c3",tinyIcon:"class_hunter",noFilterModifications:true}],[8,"Mage","/mage-glyph-item-finder",,{className:"c8",tinyIcon:"class_mage",noFilterModifications:true}],[10,"Monk","/monk-glyph-item-finder",,{className:"c10",tinyIcon:"class_monk",noFilterModifications:true}],[2,"Paladin","/paladin-glyph-item-finder",,{className:"c2",tinyIcon:"class_paladin",noFilterModifications:true}],[5,"Priest","/priest-glyph-item-finder",,{className:"c5",tinyIcon:"class_priest",noFilterModifications:true}],[4,"Rogue","/rogue-glyph-item-finder",,{className:"c4",tinyIcon:"class_rogue",noFilterModifications:true}],[7,"Shaman","/shaman-glyph-item-finder",,{className:"c7",tinyIcon:"class_shaman",noFilterModifications:true}],[9,"Warlock","/warlock-glyph-item-finder",,{className:"c9",tinyIcon:"class_warlock",noFilterModifications:true}],[1,"Warrior","/warrior-glyph-item-finder",,{className:"c1",tinyIcon:"class_warrior",noFilterModifications:true}]],{noFilterModifications:true}],[4,"Food & Drinks","/food-and-drink-finder",[[6,"Death Knight","/death-knight-food-and-drink-finder",[[250,"Blood","/death-knight-food-and-drink-finder/blood",,{tinyIcon:"spell_deathknight_bloodpresence",noFilterModifications:true}],[251,"Frost","/death-knight-food-and-drink-finder/frost",,{tinyIcon:"spell_deathknight_frostpresence",noFilterModifications:true}],[252,"Unholy","/death-knight-food-and-drink-finder/unholy",,{tinyIcon:"spell_deathknight_unholypresence",noFilterModifications:true}]],{className:"c6",tinyIcon:"class_deathknight",noFilterModifications:true}],[12,"Demon Hunter","/demon-hunter-food-and-drink-finder",[[577,"Havoc","/demon-hunter-food-and-drink-finder/havoc",,{tinyIcon:"ability_demonhunter_specdps",noFilterModifications:true}],[581,"Vengeance","/demon-hunter-food-and-drink-finder/vengeance",,{tinyIcon:"ability_demonhunter_spectank",noFilterModifications:true}]],{className:"c12",tinyIcon:"class_demonhunter",noFilterModifications:true}],[11,"Druid","/druid-food-and-drink-finder",[[102,"Balance","/druid-food-and-drink-finder/balance",,{tinyIcon:"spell_nature_starfall",noFilterModifications:true}],[103,"Feral","/druid-food-and-drink-finder/feral",,{tinyIcon:"ability_druid_catform",noFilterModifications:true}],[104,"Guardian","/druid-food-and-drink-finder/guardian",,{tinyIcon:"ability_racial_bearform",noFilterModifications:true}],[105,"Restoration","/druid-food-and-drink-finder/restoration",,{tinyIcon:"spell_nature_healingtouch",noFilterModifications:true}]],{className:"c11",tinyIcon:"class_druid",noFilterModifications:true}],[3,"Hunter","/hunter-food-and-drink-finder",[[253,"Beast Mastery","/hunter-food-and-drink-finder/beast-mastery",,{tinyIcon:"ability_hunter_bestialdiscipline",noFilterModifications:true}],[254,"Marksmanship","/hunter-food-and-drink-finder/marksmanship",,{tinyIcon:"ability_hunter_focusedaim",noFilterModifications:true}],[255,"Survival","/hunter-food-and-drink-finder/survival",,{tinyIcon:"ability_hunter_camouflage",noFilterModifications:true}]],{className:"c3",tinyIcon:"class_hunter",noFilterModifications:true}],[8,"Mage","/mage-food-and-drink-finder",[[62,"Arcane","/mage-food-and-drink-finder/arcane",,{tinyIcon:"spell_holy_magicalsentry",noFilterModifications:true}],[63,"Fire","/mage-food-and-drink-finder/fire",,{tinyIcon:"spell_fire_firebolt02",noFilterModifications:true}],[64,"Frost","/mage-food-and-drink-finder/frost",,{tinyIcon:"spell_frost_frostbolt02",noFilterModifications:true}]],{className:"c8",tinyIcon:"class_mage",noFilterModifications:true}],[10,"Monk","/monk-food-and-drink-finder",[[268,"Brewmaster","/monk-food-and-drink-finder/brewmaster",,{tinyIcon:"spell_monk_brewmaster_spec",noFilterModifications:true}],[270,"Mistweaver","/monk-food-and-drink-finder/mistweaver",,{tinyIcon:"spell_monk_mistweaver_spec",noFilterModifications:true}],[269,"Windwalker","/monk-food-and-drink-finder/windwalker",,{tinyIcon:"spell_monk_windwalker_spec",noFilterModifications:true}]],{className:"c10",tinyIcon:"class_monk",noFilterModifications:true}],[2,"Paladin","/paladin-food-and-drink-finder",[[65,"Holy","/paladin-food-and-drink-finder/holy",,{tinyIcon:"spell_holy_holybolt",noFilterModifications:true}],[66,"Protection","/paladin-food-and-drink-finder/protection",,{tinyIcon:"ability_paladin_shieldofthetemplar",noFilterModifications:true}],[70,"Retribution","/paladin-food-and-drink-finder/retribution",,{tinyIcon:"spell_holy_auraoflight",noFilterModifications:true}]],{className:"c2",tinyIcon:"class_paladin",noFilterModifications:true}],[5,"Priest","/priest-food-and-drink-finder",[[256,"Discipline","/priest-food-and-drink-finder/discipline",,{tinyIcon:"spell_holy_powerwordshield",noFilterModifications:true}],[257,"Holy","/priest-food-and-drink-finder/holy",,{tinyIcon:"spell_holy_guardianspirit",noFilterModifications:true}],[258,"Shadow","/priest-food-and-drink-finder/shadow",,{tinyIcon:"spell_shadow_shadowwordpain",noFilterModifications:true}]],{className:"c5",tinyIcon:"class_priest",noFilterModifications:true}],[4,"Rogue","/rogue-food-and-drink-finder",[[259,"Assassination","/rogue-food-and-drink-finder/assassination",,{tinyIcon:"ability_rogue_eviscerate",noFilterModifications:true}],[260,"Outlaw","/rogue-food-and-drink-finder/outlaw",,{tinyIcon:"inv_sword_30",noFilterModifications:true}],[261,"Subtlety","/rogue-food-and-drink-finder/subtlety",,{tinyIcon:"ability_stealth",noFilterModifications:true}]],{className:"c4",tinyIcon:"class_rogue",noFilterModifications:true}],[7,"Shaman","/shaman-food-and-drink-finder",[[262,"Elemental","/shaman-food-and-drink-finder/elemental",,{tinyIcon:"spell_nature_lightning",noFilterModifications:true}],[263,"Enhancement","/shaman-food-and-drink-finder/enhancement",,{tinyIcon:"spell_shaman_improvedstormstrike",noFilterModifications:true}],[264,"Restoration","/shaman-food-and-drink-finder/restoration",,{tinyIcon:"spell_nature_magicimmunity",noFilterModifications:true}]],{className:"c7",tinyIcon:"class_shaman",noFilterModifications:true}],[9,"Warlock","/warlock-food-and-drink-finder",[[265,"Affliction","/warlock-food-and-drink-finder/affliction",,{tinyIcon:"spell_shadow_deathcoil",noFilterModifications:true}],[266,"Demonology","/warlock-food-and-drink-finder/demonology",,{tinyIcon:"spell_shadow_metamorphosis",noFilterModifications:true}],[267,"Destruction","/warlock-food-and-drink-finder/destruction",,{tinyIcon:"spell_shadow_rainoffire",noFilterModifications:true}]],{className:"c9",tinyIcon:"class_warlock",noFilterModifications:true}],[1,"Warrior","/warrior-food-and-drink-finder",[[71,"Arms","/warrior-food-and-drink-finder/arms",,{tinyIcon:"ability_warrior_savageblow",noFilterModifications:true}],[72,"Fury","/warrior-food-and-drink-finder/fury",,{tinyIcon:"ability_warrior_innerrage",noFilterModifications:true}],[73,"Protection","/warrior-food-and-drink-finder/protection",,{tinyIcon:"ability_warrior_defensivestance",noFilterModifications:true}]],{className:"c1",tinyIcon:"class_warrior",noFilterModifications:true}]],{noFilterModifications:true}],[5,"Potions","/potion-finder",[[6,"Death Knight","/death-knight-potion-finder",[[250,"Blood","/death-knight-potion-finder/blood",,{tinyIcon:"spell_deathknight_bloodpresence",noFilterModifications:true}],[251,"Frost","/death-knight-potion-finder/frost",,{tinyIcon:"spell_deathknight_frostpresence",noFilterModifications:true}],[252,"Unholy","/death-knight-potion-finder/unholy",,{tinyIcon:"spell_deathknight_unholypresence",noFilterModifications:true}]],{className:"c6",tinyIcon:"class_deathknight",noFilterModifications:true}],[12,"Demon Hunter","/demon-hunter-potion-finder",[[577,"Havoc","/demon-hunter-potion-finder/havoc",,{tinyIcon:"ability_demonhunter_specdps",noFilterModifications:true}],[581,"Vengeance","/demon-hunter-potion-finder/vengeance",,{tinyIcon:"ability_demonhunter_spectank",noFilterModifications:true}]],{className:"c12",tinyIcon:"class_demonhunter",noFilterModifications:true}],[11,"Druid","/druid-potion-finder",[[102,"Balance","/druid-potion-finder/balance",,{tinyIcon:"spell_nature_starfall",noFilterModifications:true}],[103,"Feral","/druid-potion-finder/feral",,{tinyIcon:"ability_druid_catform",noFilterModifications:true}],[104,"Guardian","/druid-potion-finder/guardian",,{tinyIcon:"ability_racial_bearform",noFilterModifications:true}],[105,"Restoration","/druid-potion-finder/restoration",,{tinyIcon:"spell_nature_healingtouch",noFilterModifications:true}]],{className:"c11",tinyIcon:"class_druid",noFilterModifications:true}],[3,"Hunter","/hunter-potion-finder",[[253,"Beast Mastery","/hunter-potion-finder/beast-mastery",,{tinyIcon:"ability_hunter_bestialdiscipline",noFilterModifications:true}],[254,"Marksmanship","/hunter-potion-finder/marksmanship",,{tinyIcon:"ability_hunter_focusedaim",noFilterModifications:true}],[255,"Survival","/hunter-potion-finder/survival",,{tinyIcon:"ability_hunter_camouflage",noFilterModifications:true}]],{className:"c3",tinyIcon:"class_hunter",noFilterModifications:true}],[8,"Mage","/mage-potion-finder",[[62,"Arcane","/mage-potion-finder/arcane",,{tinyIcon:"spell_holy_magicalsentry",noFilterModifications:true}],[63,"Fire","/mage-potion-finder/fire",,{tinyIcon:"spell_fire_firebolt02",noFilterModifications:true}],[64,"Frost","/mage-potion-finder/frost",,{tinyIcon:"spell_frost_frostbolt02",noFilterModifications:true}]],{className:"c8",tinyIcon:"class_mage",noFilterModifications:true}],[10,"Monk","/monk-potion-finder",[[268,"Brewmaster","/monk-potion-finder/brewmaster",,{tinyIcon:"spell_monk_brewmaster_spec",noFilterModifications:true}],[270,"Mistweaver","/monk-potion-finder/mistweaver",,{tinyIcon:"spell_monk_mistweaver_spec",noFilterModifications:true}],[269,"Windwalker","/monk-potion-finder/windwalker",,{tinyIcon:"spell_monk_windwalker_spec",noFilterModifications:true}]],{className:"c10",tinyIcon:"class_monk",noFilterModifications:true}],[2,"Paladin","/paladin-potion-finder",[[65,"Holy","/paladin-potion-finder/holy",,{tinyIcon:"spell_holy_holybolt",noFilterModifications:true}],[66,"Protection","/paladin-potion-finder/protection",,{tinyIcon:"ability_paladin_shieldofthetemplar",noFilterModifications:true}],[70,"Retribution","/paladin-potion-finder/retribution",,{tinyIcon:"spell_holy_auraoflight",noFilterModifications:true}]],{className:"c2",tinyIcon:"class_paladin",noFilterModifications:true}],[5,"Priest","/priest-potion-finder",[[256,"Discipline","/priest-potion-finder/discipline",,{tinyIcon:"spell_holy_powerwordshield",noFilterModifications:true}],[257,"Holy","/priest-potion-finder/holy",,{tinyIcon:"spell_holy_guardianspirit",noFilterModifications:true}],[258,"Shadow","/priest-potion-finder/shadow",,{tinyIcon:"spell_shadow_shadowwordpain",noFilterModifications:true}]],{className:"c5",tinyIcon:"class_priest",noFilterModifications:true}],[4,"Rogue","/rogue-potion-finder",[[259,"Assassination","/rogue-potion-finder/assassination",,{tinyIcon:"ability_rogue_eviscerate",noFilterModifications:true}],[260,"Outlaw","/rogue-potion-finder/outlaw",,{tinyIcon:"inv_sword_30",noFilterModifications:true}],[261,"Subtlety","/rogue-potion-finder/subtlety",,{tinyIcon:"ability_stealth",noFilterModifications:true}]],{className:"c4",tinyIcon:"class_rogue",noFilterModifications:true}],[7,"Shaman","/shaman-potion-finder",[[262,"Elemental","/shaman-potion-finder/elemental",,{tinyIcon:"spell_nature_lightning",noFilterModifications:true}],[263,"Enhancement","/shaman-potion-finder/enhancement",,{tinyIcon:"spell_shaman_improvedstormstrike",noFilterModifications:true}],[264,"Restoration","/shaman-potion-finder/restoration",,{tinyIcon:"spell_nature_magicimmunity",noFilterModifications:true}]],{className:"c7",tinyIcon:"class_shaman",noFilterModifications:true}],[9,"Warlock","/warlock-potion-finder",[[265,"Affliction","/warlock-potion-finder/affliction",,{tinyIcon:"spell_shadow_deathcoil",noFilterModifications:true}],[266,"Demonology","/warlock-potion-finder/demonology",,{tinyIcon:"spell_shadow_metamorphosis",noFilterModifications:true}],[267,"Destruction","/warlock-potion-finder/destruction",,{tinyIcon:"spell_shadow_rainoffire",noFilterModifications:true}]],{className:"c9",tinyIcon:"class_warlock",noFilterModifications:true}],[1,"Warrior","/warrior-potion-finder",[[71,"Arms","/warrior-potion-finder/arms",,{tinyIcon:"ability_warrior_savageblow",noFilterModifications:true}],[72,"Fury","/warrior-potion-finder/fury",,{tinyIcon:"ability_warrior_innerrage",noFilterModifications:true}],[73,"Protection","/warrior-potion-finder/protection",,{tinyIcon:"ability_warrior_defensivestance",noFilterModifications:true}]],{className:"c1",tinyIcon:"class_warrior",noFilterModifications:true}]],{noFilterModifications:true}],[6,"Elixirs","/elixir-finder",[[6,"Death Knight","/death-knight-elixir-finder",[[250,"Blood","/death-knight-elixir-finder/blood",,{tinyIcon:"spell_deathknight_bloodpresence",noFilterModifications:true}],[251,"Frost","/death-knight-elixir-finder/frost",,{tinyIcon:"spell_deathknight_frostpresence",noFilterModifications:true}],[252,"Unholy","/death-knight-elixir-finder/unholy",,{tinyIcon:"spell_deathknight_unholypresence",noFilterModifications:true}]],{className:"c6",tinyIcon:"class_deathknight",noFilterModifications:true}],[12,"Demon Hunter","/demon-hunter-elixir-finder",[[577,"Havoc","/demon-hunter-elixir-finder/havoc",,{tinyIcon:"ability_demonhunter_specdps",noFilterModifications:true}],[581,"Vengeance","/demon-hunter-elixir-finder/vengeance",,{tinyIcon:"ability_demonhunter_spectank",noFilterModifications:true}]],{className:"c12",tinyIcon:"class_demonhunter",noFilterModifications:true}],[11,"Druid","/druid-elixir-finder",[[102,"Balance","/druid-elixir-finder/balance",,{tinyIcon:"spell_nature_starfall",noFilterModifications:true}],[103,"Feral","/druid-elixir-finder/feral",,{tinyIcon:"ability_druid_catform",noFilterModifications:true}],[104,"Guardian","/druid-elixir-finder/guardian",,{tinyIcon:"ability_racial_bearform",noFilterModifications:true}],[105,"Restoration","/druid-elixir-finder/restoration",,{tinyIcon:"spell_nature_healingtouch",noFilterModifications:true}]],{className:"c11",tinyIcon:"class_druid",noFilterModifications:true}],[3,"Hunter","/hunter-elixir-finder",[[253,"Beast Mastery","/hunter-elixir-finder/beast-mastery",,{tinyIcon:"ability_hunter_bestialdiscipline",noFilterModifications:true}],[254,"Marksmanship","/hunter-elixir-finder/marksmanship",,{tinyIcon:"ability_hunter_focusedaim",noFilterModifications:true}],[255,"Survival","/hunter-elixir-finder/survival",,{tinyIcon:"ability_hunter_camouflage",noFilterModifications:true}]],{className:"c3",tinyIcon:"class_hunter",noFilterModifications:true}],[8,"Mage","/mage-elixir-finder",[[62,"Arcane","/mage-elixir-finder/arcane",,{tinyIcon:"spell_holy_magicalsentry",noFilterModifications:true}],[63,"Fire","/mage-elixir-finder/fire",,{tinyIcon:"spell_fire_firebolt02",noFilterModifications:true}],[64,"Frost","/mage-elixir-finder/frost",,{tinyIcon:"spell_frost_frostbolt02",noFilterModifications:true}]],{className:"c8",tinyIcon:"class_mage",noFilterModifications:true}],[10,"Monk","/monk-elixir-finder",[[268,"Brewmaster","/monk-elixir-finder/brewmaster",,{tinyIcon:"spell_monk_brewmaster_spec",noFilterModifications:true}],[270,"Mistweaver","/monk-elixir-finder/mistweaver",,{tinyIcon:"spell_monk_mistweaver_spec",noFilterModifications:true}],[269,"Windwalker","/monk-elixir-finder/windwalker",,{tinyIcon:"spell_monk_windwalker_spec",noFilterModifications:true}]],{className:"c10",tinyIcon:"class_monk",noFilterModifications:true}],[2,"Paladin","/paladin-elixir-finder",[[65,"Holy","/paladin-elixir-finder/holy",,{tinyIcon:"spell_holy_holybolt",noFilterModifications:true}],[66,"Protection","/paladin-elixir-finder/protection",,{tinyIcon:"ability_paladin_shieldofthetemplar",noFilterModifications:true}],[70,"Retribution","/paladin-elixir-finder/retribution",,{tinyIcon:"spell_holy_auraoflight",noFilterModifications:true}]],{className:"c2",tinyIcon:"class_paladin",noFilterModifications:true}],[5,"Priest","/priest-elixir-finder",[[256,"Discipline","/priest-elixir-finder/discipline",,{tinyIcon:"spell_holy_powerwordshield",noFilterModifications:true}],[257,"Holy","/priest-elixir-finder/holy",,{tinyIcon:"spell_holy_guardianspirit",noFilterModifications:true}],[258,"Shadow","/priest-elixir-finder/shadow",,{tinyIcon:"spell_shadow_shadowwordpain",noFilterModifications:true}]],{className:"c5",tinyIcon:"class_priest",noFilterModifications:true}],[4,"Rogue","/rogue-elixir-finder",[[259,"Assassination","/rogue-elixir-finder/assassination",,{tinyIcon:"ability_rogue_eviscerate",noFilterModifications:true}],[260,"Outlaw","/rogue-elixir-finder/outlaw",,{tinyIcon:"inv_sword_30",noFilterModifications:true}],[261,"Subtlety","/rogue-elixir-finder/subtlety",,{tinyIcon:"ability_stealth",noFilterModifications:true}]],{className:"c4",tinyIcon:"class_rogue",noFilterModifications:true}],[7,"Shaman","/shaman-elixir-finder",[[262,"Elemental","/shaman-elixir-finder/elemental",,{tinyIcon:"spell_nature_lightning",noFilterModifications:true}],[263,"Enhancement","/shaman-elixir-finder/enhancement",,{tinyIcon:"spell_shaman_improvedstormstrike",noFilterModifications:true}],[264,"Restoration","/shaman-elixir-finder/restoration",,{tinyIcon:"spell_nature_magicimmunity",noFilterModifications:true}]],{className:"c7",tinyIcon:"class_shaman",noFilterModifications:true}],[9,"Warlock","/warlock-elixir-finder",[[265,"Affliction","/warlock-elixir-finder/affliction",,{tinyIcon:"spell_shadow_deathcoil",noFilterModifications:true}],[266,"Demonology","/warlock-elixir-finder/demonology",,{tinyIcon:"spell_shadow_metamorphosis",noFilterModifications:true}],[267,"Destruction","/warlock-elixir-finder/destruction",,{tinyIcon:"spell_shadow_rainoffire",noFilterModifications:true}]],{className:"c9",tinyIcon:"class_warlock",noFilterModifications:true}],[1,"Warrior","/warrior-elixir-finder",[[71,"Arms","/warrior-elixir-finder/arms",,{tinyIcon:"ability_warrior_savageblow",noFilterModifications:true}],[72,"Fury","/warrior-elixir-finder/fury",,{tinyIcon:"ability_warrior_innerrage",noFilterModifications:true}],[73,"Protection","/warrior-elixir-finder/protection",,{tinyIcon:"ability_warrior_defensivestance",noFilterModifications:true}]],{className:"c1",tinyIcon:"class_warrior",noFilterModifications:true}]],{noFilterModifications:true}],[7,"Flasks","/flask-finder",[[6,"Death Knight","/death-knight-flask-finder",[[250,"Blood","/death-knight-flask-finder/blood",,{tinyIcon:"spell_deathknight_bloodpresence",noFilterModifications:true}],[251,"Frost","/death-knight-flask-finder/frost",,{tinyIcon:"spell_deathknight_frostpresence",noFilterModifications:true}],[252,"Unholy","/death-knight-flask-finder/unholy",,{tinyIcon:"spell_deathknight_unholypresence",noFilterModifications:true}]],{className:"c6",tinyIcon:"class_deathknight",noFilterModifications:true}],[12,"Demon Hunter","/demon-hunter-flask-finder",[[577,"Havoc","/demon-hunter-flask-finder/havoc",,{tinyIcon:"ability_demonhunter_specdps",noFilterModifications:true}],[581,"Vengeance","/demon-hunter-flask-finder/vengeance",,{tinyIcon:"ability_demonhunter_spectank",noFilterModifications:true}]],{className:"c12",tinyIcon:"class_demonhunter",noFilterModifications:true}],[11,"Druid","/druid-flask-finder",[[102,"Balance","/druid-flask-finder/balance",,{tinyIcon:"spell_nature_starfall",noFilterModifications:true}],[103,"Feral","/druid-flask-finder/feral",,{tinyIcon:"ability_druid_catform",noFilterModifications:true}],[104,"Guardian","/druid-flask-finder/guardian",,{tinyIcon:"ability_racial_bearform",noFilterModifications:true}],[105,"Restoration","/druid-flask-finder/restoration",,{tinyIcon:"spell_nature_healingtouch",noFilterModifications:true}]],{className:"c11",tinyIcon:"class_druid",noFilterModifications:true}],[3,"Hunter","/hunter-flask-finder",[[253,"Beast Mastery","/hunter-flask-finder/beast-mastery",,{tinyIcon:"ability_hunter_bestialdiscipline",noFilterModifications:true}],[254,"Marksmanship","/hunter-flask-finder/marksmanship",,{tinyIcon:"ability_hunter_focusedaim",noFilterModifications:true}],[255,"Survival","/hunter-flask-finder/survival",,{tinyIcon:"ability_hunter_camouflage",noFilterModifications:true}]],{className:"c3",tinyIcon:"class_hunter",noFilterModifications:true}],[8,"Mage","/mage-flask-finder",[[62,"Arcane","/mage-flask-finder/arcane",,{tinyIcon:"spell_holy_magicalsentry",noFilterModifications:true}],[63,"Fire","/mage-flask-finder/fire",,{tinyIcon:"spell_fire_firebolt02",noFilterModifications:true}],[64,"Frost","/mage-flask-finder/frost",,{tinyIcon:"spell_frost_frostbolt02",noFilterModifications:true}]],{className:"c8",tinyIcon:"class_mage",noFilterModifications:true}],[10,"Monk","/monk-flask-finder",[[268,"Brewmaster","/monk-flask-finder/brewmaster",,{tinyIcon:"spell_monk_brewmaster_spec",noFilterModifications:true}],[270,"Mistweaver","/monk-flask-finder/mistweaver",,{tinyIcon:"spell_monk_mistweaver_spec",noFilterModifications:true}],[269,"Windwalker","/monk-flask-finder/windwalker",,{tinyIcon:"spell_monk_windwalker_spec",noFilterModifications:true}]],{className:"c10",tinyIcon:"class_monk",noFilterModifications:true}],[2,"Paladin","/paladin-flask-finder",[[65,"Holy","/paladin-flask-finder/holy",,{tinyIcon:"spell_holy_holybolt",noFilterModifications:true}],[66,"Protection","/paladin-flask-finder/protection",,{tinyIcon:"ability_paladin_shieldofthetemplar",noFilterModifications:true}],[70,"Retribution","/paladin-flask-finder/retribution",,{tinyIcon:"spell_holy_auraoflight",noFilterModifications:true}]],{className:"c2",tinyIcon:"class_paladin",noFilterModifications:true}],[5,"Priest","/priest-flask-finder",[[256,"Discipline","/priest-flask-finder/discipline",,{tinyIcon:"spell_holy_powerwordshield",noFilterModifications:true}],[257,"Holy","/priest-flask-finder/holy",,{tinyIcon:"spell_holy_guardianspirit",noFilterModifications:true}],[258,"Shadow","/priest-flask-finder/shadow",,{tinyIcon:"spell_shadow_shadowwordpain",noFilterModifications:true}]],{className:"c5",tinyIcon:"class_priest",noFilterModifications:true}],[4,"Rogue","/rogue-flask-finder",[[259,"Assassination","/rogue-flask-finder/assassination",,{tinyIcon:"ability_rogue_eviscerate",noFilterModifications:true}],[260,"Outlaw","/rogue-flask-finder/outlaw",,{tinyIcon:"inv_sword_30",noFilterModifications:true}],[261,"Subtlety","/rogue-flask-finder/subtlety",,{tinyIcon:"ability_stealth",noFilterModifications:true}]],{className:"c4",tinyIcon:"class_rogue",noFilterModifications:true}],[7,"Shaman","/shaman-flask-finder",[[262,"Elemental","/shaman-flask-finder/elemental",,{tinyIcon:"spell_nature_lightning",noFilterModifications:true}],[263,"Enhancement","/shaman-flask-finder/enhancement",,{tinyIcon:"spell_shaman_improvedstormstrike",noFilterModifications:true}],[264,"Restoration","/shaman-flask-finder/restoration",,{tinyIcon:"spell_nature_magicimmunity",noFilterModifications:true}]],{className:"c7",tinyIcon:"class_shaman",noFilterModifications:true}],[9,"Warlock","/warlock-flask-finder",[[265,"Affliction","/warlock-flask-finder/affliction",,{tinyIcon:"spell_shadow_deathcoil",noFilterModifications:true}],[266,"Demonology","/warlock-flask-finder/demonology",,{tinyIcon:"spell_shadow_metamorphosis",noFilterModifications:true}],[267,"Destruction","/warlock-flask-finder/destruction",,{tinyIcon:"spell_shadow_rainoffire",noFilterModifications:true}]],{className:"c9",tinyIcon:"class_warlock",noFilterModifications:true}],[1,"Warrior","/warrior-flask-finder",[[71,"Arms","/warrior-flask-finder/arms",,{tinyIcon:"ability_warrior_savageblow",noFilterModifications:true}],[72,"Fury","/warrior-flask-finder/fury",,{tinyIcon:"ability_warrior_innerrage",noFilterModifications:true}],[73,"Protection","/warrior-flask-finder/protection",,{tinyIcon:"ability_warrior_defensivestance",noFilterModifications:true}]],{className:"c1",tinyIcon:"class_warrior",noFilterModifications:true}]],{noFilterModifications:true}]],{noFilterModifications:true}],[-3,"Professions","/profession-item-finder",[["professionsHeading","Professions",,,{heading:true,noFilterModifications:true}],[171,"Alchemy","/alchemy-item-finder",[[2,"Find Used Items","/alchemy-used-item-finder",,{noFilterModifications:true}],[3,"Find Recipes","/alchemy-recipe-finder",,{noFilterModifications:true}],[4,"Find Crafted Items","/alchemy-crafted-item-finder",,{noFilterModifications:true}]],{tinyIcon:"trade_alchemy",noFilterModifications:true}],[164,"Blacksmithing","/blacksmithing-item-finder",[[2,"Find Used Items","/blacksmithing-used-item-finder",,{noFilterModifications:true}],[3,"Find Recipes","/blacksmithing-plan-finder",,{noFilterModifications:true}],[4,"Find Crafted Items","/blacksmithing-crafted-item-finder",,{noFilterModifications:true}]],{tinyIcon:"trade_blacksmithing",noFilterModifications:true}],[333,"Enchanting","/enchanting-item-finder",[[1,"Find Gathered Items","/enchanting-gathered-item-finder",,{noFilterModifications:true}],[2,"Find Used Items","/enchanting-used-item-finder",,{noFilterModifications:true}],[3,"Find Recipes","/enchanting-formula-finder",,{noFilterModifications:true}],[4,"Find Crafted Items","/enchanting-crafted-item-finder",,{noFilterModifications:true}]],{tinyIcon:"trade_engraving",noFilterModifications:true}],[202,"Engineering","/engineering-item-finder",[[1,"Find Gathered Items","/engineering-gathered-item-finder",,{noFilterModifications:true}],[2,"Find Used Items","/engineering-used-item-finder",,{noFilterModifications:true}],[3,"Find Recipes","/engineering-schematic-finder",,{noFilterModifications:true}],[4,"Find Crafted Items","/engineering-crafted-item-finder",,{noFilterModifications:true}]],{tinyIcon:"trade_engineering",noFilterModifications:true}],[182,"Herbalism","/herbalism-item-finder",[[1,"Find Gathered Items","/herbalism-gathered-item-finder",,{noFilterModifications:true}]],{tinyIcon:"spell_nature_naturetouchgrow",noFilterModifications:true}],[773,"Inscription","/inscription-item-finder",[[1,"Find Gathered Items","/inscription-gathered-item-finder",,{noFilterModifications:true}],[2,"Find Used Items","/inscription-used-item-finder",,{noFilterModifications:true}],[3,"Find Recipes","/inscription-technique-finder",,{noFilterModifications:true}],[4,"Find Crafted Items","/inscription-crafted-item-finder",,{noFilterModifications:true}]],{tinyIcon:"inv_inscription_tradeskill01",noFilterModifications:true}],[755,"Jewelcrafting","/jewelcrafting-item-finder",[[1,"Find Gathered Items","/jewelcrafting-gathered-item-finder",,{noFilterModifications:true}],[2,"Find Used Items","/jewelcrafting-used-item-finder",,{noFilterModifications:true}],[3,"Find Recipes","/jewelcrafting-design-finder",,{noFilterModifications:true}],[4,"Find Crafted Items","/jewelcrafting-crafted-item-finder",,{noFilterModifications:true}]],{tinyIcon:"inv_misc_gem_01",noFilterModifications:true}],[165,"Leatherworking","/leatherworking-item-finder",[[2,"Find Used Items","/leatherworking-used-item-finder",,{noFilterModifications:true}],[3,"Find Recipes","/leatherworking-pattern-finder",,{noFilterModifications:true}],[4,"Find Crafted Items","/leatherworking-crafted-item-finder",,{noFilterModifications:true}]],{tinyIcon:"inv_misc_armorkit_17",noFilterModifications:true}],[186,"Mining","/mining-item-finder",[[1,"Find Gathered Items","/mining-gathered-item-finder",,{noFilterModifications:true}],[2,"Find Used Items","/mining-used-item-finder",,{noFilterModifications:true}],[3,"Find Recipes","/mining-recipe-finder",,{noFilterModifications:true}],[4,"Find Crafted Items","/mining-crafted-item-finder",,{noFilterModifications:true}]],{tinyIcon:"trade_mining",noFilterModifications:true}],[393,"Skinning","/skinning-item-finder",[[1,"Find Gathered Items","/skinning-gathered-item-finder",,{noFilterModifications:true}]],{tinyIcon:"inv_misc_pelt_wolf_01",noFilterModifications:true}],[197,"Tailoring","/tailoring-item-finder",[[1,"Find Gathered Items","/tailoring-gathered-item-finder",,{noFilterModifications:true}],[2,"Find Used Items","/tailoring-used-item-finder",,{noFilterModifications:true}],[3,"Find Recipes","/tailoring-pattern-finder",,{noFilterModifications:true}],[4,"Find Crafted Items","/tailoring-crafted-item-finder",,{noFilterModifications:true}]],{tinyIcon:"trade_tailoring",noFilterModifications:true}],["secondarySkillsHeading","Secondary Skills",,,{heading:true,noFilterModifications:true}],[794,"Archaeology","/archaeology-item-finder",[[2,"Find Used Items","/archaeology-used-item-finder",,{noFilterModifications:true}],[4,"Find Crafted Items","/archaeology-crafted-item-finder",,{noFilterModifications:true}]],{tinyIcon:"inv_misc_rune_06",noFilterModifications:true}],[185,"Cooking","/cooking-item-finder",[[2,"Find Used Items","/cooking-used-item-finder",,{noFilterModifications:true}],[3,"Find Recipes","/cooking-recipe-finder",,{noFilterModifications:true}],[4,"Find Crafted Items","/cooking-crafted-item-finder",,{noFilterModifications:true}]],{tinyIcon:"inv_misc_food_15",noFilterModifications:true}],[129,"First Aid","/first-aid-item-finder",[[2,"Find Used Items","/first-aid-used-item-finder",,{noFilterModifications:true}],[3,"Find Recipes","/first-aid-guide-finder",,{noFilterModifications:true}],[4,"Find Crafted Items","/first-aid-crafted-item-finder",,{noFilterModifications:true}]],{tinyIcon:"spell_holy_sealofsacrifice",noFilterModifications:true}],[356,"Fishing","/fishing-item-finder",[[1,"Find Gathered Items","/fishing-gathered-item-finder",,{noFilterModifications:true}],[2,"Find Used Items","/fishing-used-item-finder",,{noFilterModifications:true}],[3,"Find Recipes","/fishing-guide-finder",,{noFilterModifications:true}]],{tinyIcon:"trade_fishing",noFilterModifications:true}]],{noFilterModifications:true}],[-4,"Mounts","/mount-items",[[1,"Ground","/ground-mount-items",,{noFilterModifications:true}],[2,"Flying","/flying-mount-items",,{noFilterModifications:true}],[3,"Aquatic","/aquatic-mount-items",,{noFilterModifications:true}]],{noFilterModifications:true}],[-5,"Toy Box","/items?filter=216;1;0#itemsgallery",[[1,"Alliance","/items/side:1?filter=216;1;0#itemsgallery",,{noFilterModifications:true}],[2,"Horde","/items/side:2?filter=216;1;0#itemsgallery",,{noFilterModifications:true}]],{noFilterModifications:true}],["categoriesHeading","Categories",,,{column:1,heading:true}],[2,"Weapons","/weapons",[[1001,"One-Handed","/one-handed-weapons",,{heading:true}],[15,"Daggers","/daggers"],[13,"Fist Weapons","/fist-weapons"],[0,"One-Handed Axes","/one-handed-axes"],[4,"One-Handed Maces","/one-handed-maces"],[7,"One-Handed Swords","/one-handed-swords"],[9,"Warglaives","/warglaives"],[1002,"Two-Handed","/two-handed-weapons",,{heading:true}],[6,"Polearms","/polearms"],[10,"Staves","/staves"],[1,"Two-Handed Axes","/two-handed-axes"],[5,"Two-Handed Maces","/two-handed-maces"],[8,"Two-Handed Swords","/two-handed-swords"],[1003,"Ranged","/ranged-weapons",,{heading:true}],[2,"Bows","/bows"],[18,"Crossbows","/crossbows"],[3,"Guns","/guns"],[19,"Wands","/wands"],[1004,"Other","/other-weapons",,{heading:true}],[20,"Fishing Poles","/fishing-poles"],[14,"Miscellaneous","/miscellaneous-weapons"]]],[4,"Armor","/armor",[["typesHeading","Types","/armor-by-type",,{heading:true}],[1,"Cloth","/cloth-armor",[[5,"Chest","/cloth-chest-armor"],[8,"Feet","/cloth-foot-armor"],[10,"Hands","/cloth-hand-armor"],[1,"Head","/cloth-head-armor"],[7,"Legs","/cloth-leg-armor"],[3,"Shoulder","/cloth-shoulder-armor"],[6,"Waist","/cloth-belts"],[9,"Wrist","/cloth-bracers"]]],[2,"Leather","/leather-armor",[[5,"Chest","/leather-chest-armor"],[8,"Feet","/leather-foot-armor"],[10,"Hands","/leather-hand-armor"],[1,"Head","/leather-head-armor"],[7,"Legs","/leather-leg-armor"],[3,"Shoulder","/leather-shoulder-armor"],[6,"Waist","/leather-belts"],[9,"Wrist","/leather-bracers"]]],[3,"Mail","/mail-armor",[[5,"Chest","/mail-chest-armor"],[8,"Feet","/mail-foot-armor"],[10,"Hands","/mail-hand-armor"],[1,"Head","/mail-head-armor"],[7,"Legs","/mail-leg-armor"],[3,"Shoulder","/mail-shoulder-armor"],[6,"Waist","/mail-belts"],[9,"Wrist","/mail-bracers"]]],[4,"Plate","/plate-armor",[[5,"Chest","/plate-chest-armor"],[8,"Feet","/plate-foot-armor"],[10,"Hands","/plate-hand-armor"],[1,"Head","/plate-head-armor"],[7,"Legs","/plate-leg-armor"],[3,"Shoulder","/plate-shoulder-armor"],[6,"Waist","/plate-belts"],[9,"Wrist","/plate-bracers"]]],["jewelryHeading","Jewelry","/jewelry",,{heading:true}],[-3,"Amulets","/amulets"],[-2,"Rings","/rings"],[-4,"Trinkets","/trinkets",[[1,"Agility DPS","/agility-dps-trinkets"],[2,"Intellect DPS","/intellect-dps-trinkets"],[3,"Strength DPS","/strength-dps-trinkets"],[4,"Healer","/healer-trinkets"],[5,"Tank","/tank-trinkets"],[6,"Unknown","/unknown-role-trinkets"]]],["otherHeading","Other","/other-armor",,{heading:true}],[-6,"Cloaks","/cloaks"],[-5,"Off-hand Frills","/off-hand-frills"],[6,"Shields","/shields"],[-8,"Shirts","/shirts"],[-7,"Tabards","/tabards"],[5,"Cosmetic","/cosmetic-armor"],[0,"Miscellaneous","/miscellaneous-armor"]]],[1,"Containers","/containers",[[0,"Bags","/bags"],[10,"Cooking Bags","/cooking-bags"],[3,"Enchanting Bags","/enchanting-bags"],[4,"Engineering Bags","/engineering-bags"],[5,"Gem Bags","/gem-bags"],[2,"Herb Bags","/herb-bags"],[8,"Inscription Bags","/inscription-bags"],[7,"Leatherworking Bags","/leatherworking-bags"],[6,"Mining Bags","/mining-bags"],[1,"Soul Bags","/soul-bags"],[9,"Tackle Boxes","/tackle-boxes"]]],[0,"Consumables","/consumable-items",[[7,"Bandages","/bandages"],[0,"Consumables","/consumables"],[2,"Elixirs","/elixirs",[[1,"Battle","/battle-elixirs"],[2,"Guardian","/guardian-elixirs"]]],[3,"Flasks","/flasks"],[5,"Food & Drinks","/food-and-drinks"],[6,"Item Enhancements (Permanent)","/permanent-item-enhancements"],[-3,"Item Enhancements (Temporary)","/temporary-item-enhancements"],[1,"Potions","/potions"],[4,"Scrolls","/scrolls"],[8,"Other","/other-consumables"]]],[16,"Glyphs","/glyph-items",[[6,"Death Knight","/death-knight-glyph-items",,{className:"c6",tinyIcon:"class_deathknight"}],[12,"Demon Hunter","/demon-hunter-glyph-items",,{className:"c12",tinyIcon:"class_demonhunter"}],[11,"Druid","/druid-glyph-items",,{className:"c11",tinyIcon:"class_druid"}],[3,"Hunter","/hunter-glyph-items",,{className:"c3",tinyIcon:"class_hunter"}],[8,"Mage","/mage-glyph-items",,{className:"c8",tinyIcon:"class_mage"}],[10,"Monk","/monk-glyph-items",,{className:"c10",tinyIcon:"class_monk"}],[2,"Paladin","/paladin-glyph-items",,{className:"c2",tinyIcon:"class_paladin"}],[5,"Priest","/priest-glyph-items",,{className:"c5",tinyIcon:"class_priest"}],[4,"Rogue","/rogue-glyph-items",,{className:"c4",tinyIcon:"class_rogue"}],[7,"Shaman","/shaman-glyph-items",,{className:"c7",tinyIcon:"class_shaman"}],[9,"Warlock","/warlock-glyph-items",,{className:"c9",tinyIcon:"class_warlock"}],[1,"Warrior","/warrior-glyph-items",,{className:"c1",tinyIcon:"class_warrior"}]]],[7,"Trade Goods","/trade-goods",[[14,"Armor Enchantments","/armor-enchantments"],[5,"Cloth","/cloth"],[3,"Devices","/devices"],[10,"Elemental","/elemental-trade-goods"],[12,"Enchanting","/enchanting-trade-goods"],[2,"Explosives","/explosives"],[9,"Herbs","/herbs"],[4,"Jewelcrafting","/jewelcrafting-trade-goods"],[6,"Leather","/leather"],[13,"Materials","/materials"],[8,"Meat","/meat"],[7,"Metal & Stone","/metal-and-stone"],[1,"Parts","/parts"],[15,"Weapon Enchantments","/weapon-enchantments"],[11,"Other","/other-trade-goods"]]],[9,"Recipes","/recipe-items",[[0,"Books","/spell-books",,{tinyIcon:"inv_misc_book_09"}],[6,"Alchemy","/alchemy-recipe-items",,{tinyIcon:"trade_alchemy"}],[4,"Blacksmithing","/blacksmithing-plan-items",,{tinyIcon:"trade_blacksmithing"}],[5,"Cooking","/cooking-recipe-items",,{tinyIcon:"inv_misc_food_15"}],[8,"Enchanting","/enchanting-formula-items",,{tinyIcon:"trade_engraving"}],[3,"Engineering","/engineering-schematic-items",,{tinyIcon:"trade_engineering"}],[7,"First Aid","/first-aid-guides",,{tinyIcon:"spell_holy_sealofsacrifice"}],[9,"Fishing","/fishing-guides",,{tinyIcon:"trade_fishing"}],[11,"Inscription","/inscription-technique-items",,{tinyIcon:"inv_inscription_tradeskill01"}],[10,"Jewelcrafting","/jewelcrafting-design-items",,{tinyIcon:"inv_misc_gem_01"}],[1,"Leatherworking","/leatherworking-pattern-items",,{tinyIcon:"inv_misc_armorkit_17"}],[12,"Mining","/mining-guides",,{tinyIcon:"trade_mining"}],[2,"Tailoring","/tailoring-pattern-items",,{tinyIcon:"trade_tailoring"}]]],[3,"Gems","/gems",[["colorsHeading","Colors",,,{heading:true}],[6,"Meta","/meta-gems",,{className:"gem1"}],[0,"Red","/red-gems",,{className:"gem2"}],[1,"Blue","/blue-gems",,{className:"gem8"}],[2,"Yellow","/yellow-gems",,{className:"gem4"}],[3,"Purple","/purple-gems",,{className:"gem10"}],[4,"Green","/green-gems",,{className:"gem12"}],[5,"Orange","/orange-gems",,{className:"gem6"}],[8,"Prismatic","/prismatic-gems",,{className:"gem14"}],[9,"Sha-Touched","/sha-touched-gems",,{className:"gem32"}],[10,"Cogwheel","/cogwheels",,{className:"gem64"}],["relicsHeading","Relics",,,{heading:true}],[-12,"Arcane Relic","/arcane-relics"],[-9,"Blood Relic","/blood-relics"],[-11,"Fel Relic","/fel-relics"],[-14,"Fire Relic","/fire-relics"],[-13,"Frost Relic","/frost-relics"],[-18,"Holy Relic","/holy-relics"],[-8,"Iron Relic","/iron-relics"],[-16,"Life Relic","/life-relics"],[-10,"Shadow Relic","/shadow-relics"],[-15,"Water Relic","/water-relics"],[-17,"Storm Relic","/storm-relics"],["otherHeading","Other",,,{heading:true}],[7,"Simple","/simple-gems"]]],[15,"Miscellaneous","/miscellaneous-items",[[-2,"Armor Tokens","/armor-tokens"],[3,"Holiday","/holiday-items"],[0,"Junk","/junk-items"],[1,"Reagents","/reagents"],[5,"Mounts","/mount-items",[[1,"Ground","/ground-mount-items"],[2,"Flying","/flying-mount-items"],[3,"Aquatic","/aquatic-mount-items"]]],[2,"Companions","/companion-items"],[4,"Other","/other-miscellaneous-items"]]],[10,"Currency","/currency-items"],[12,"Quest","/quest-items"],[13,"Keys","/keys"]];var mn_itemSets=[[,"By Class"],[6,"Death Knight","/death-knight-sets",,{className:"c6",tinyIcon:"class_deathknight"}],[12,"Demon Hunter","/demon-hunter-sets",,{className:"c12",tinyIcon:"class_demonhunter"}],[11,"Druid","/druid-sets",,{className:"c11",tinyIcon:"class_druid"}],[3,"Hunter","/hunter-sets",,{className:"c3",tinyIcon:"class_hunter"}],[8,"Mage","/mage-sets",,{className:"c8",tinyIcon:"class_mage"}],[10,"Monk","/monk-sets",,{className:"c10",tinyIcon:"class_monk"}],[2,"Paladin","/paladin-sets",,{className:"c2",tinyIcon:"class_paladin"}],[5,"Priest","/priest-sets",,{className:"c5",tinyIcon:"class_priest"}],[4,"Rogue","/rogue-sets",,{className:"c4",tinyIcon:"class_rogue"}],[7,"Shaman","/shaman-sets",,{className:"c7",tinyIcon:"class_shaman"}],[9,"Warlock","/warlock-sets",,{className:"c9",tinyIcon:"class_warlock"}],[1,"Warrior","/warrior-sets",,{className:"c1",tinyIcon:"class_warrior"}]];var mn_npcs=[[15,"Aberrations","/aberration-npcs"],[12,"Battle Pets","/battle-pet-npcs",[[1,"Humanoid","/humanoid-battle-pet-npcs"],[2,"Dragonkin","/dragonkin-battle-pet-npcs"],[3,"Flying","/flying-battle-pet-npcs"],[4,"Undead","/undead-battle-pet-npcs"],[5,"Critter","/critter-battle-pet-npcs"],[6,"Magic","/magic-battle-pet-npcs"],[7,"Elemental","/elemental-battle-pet-npcs"],[8,"Beast","/beast-battle-pet-npcs"],[9,"Aquatic","/aquatic-battle-pet-npcs"],[10,"Mechanical","/mechanical-battle-pet-npcs"]]],[1,"Beasts","/beast-npcs",[[130,"Basilisk","/basilisk-npcs"],[24,"Bat","/bat-npcs"],[4,"Bear","/bear-npcs"],[53,"Beetle","/beetle-npcs"],[26,"Bird of Prey","/bird-of-prey-npcs"],[5,"Boar","/boar-npcs"],[7,"Carrion Bird","/carrion-bird-npcs"],[2,"Cat","/cat-npcs"],[38,"Chimaera","/chimaera-npcs"],[43,"Clefthoof","/clefthoof-npcs"],[45,"Core Hound","/core-hound-npcs"],[8,"Crab","/crab-npcs"],[125,"Crane","/crane-npcs"],[6,"Crocolisk","/crocolisk-npcs"],[39,"Devilsaur","/devilsaur-npcs"],[138,"Direhorn","/direhorn-npcs"],[52,"Dog","/dog-npcs"],[30,"Dragonhawk","/dragonhawk-npcs"],[50,"Fox","/fox-npcs"],[129,"Goat","/goat-npcs"],[9,"Gorilla","/gorilla-npcs"],[68,"Hydra","/hydra-npcs"],[25,"Hyena","/hyena-npcs"],[154,"Mechanical","/mechanical-beast-npcs"],[51,"Monkey","/monkey-npcs"],[37,"Moth","/moth-npcs"],[34,"Nether Ray","/nether-ray-npcs"],[157,"Oxen","/oxen-npcs"],[127,"Porcupine","/porcupine-npcs"],[128,"Quilen","/quilen-npcs"],[11,"Raptor","/raptor-npcs"],[31,"Ravager","/ravager-npcs"],[150,"Riverbeast","/riverbeast-npcs"],[149,"Rylak","/rylak-npcs"],[156,"Scalehide","/scalehide-npcs"],[20,"Scorpid","/scorpid-npcs"],[35,"Serpent","/serpent-npcs"],[55,"Shale Spider","/shale-spider-npcs"],[41,"Silithid","/silithid-npcs"],[3,"Spider","/spider-npcs"],[46,"Spirit Beast","/spirit-beast-npcs"],[33,"Sporebat","/sporebat-npcs"],[151,"Stag","/stag-npcs"],[12,"Tallstrider","/tallstrider-npcs"],[21,"Turtle","/turtle-npcs"],[32,"Warp Stalker","/warp-stalker-npcs"],[44,"Wasp","/wasp-npcs"],[126,"Water Strider","/water-strider-npcs"],[27,"Wind Serpent","/wind-serpent-npcs"],[1,"Wolf","/wolf-npcs"],[42,"Worm","/worm-npcs"]]],[8,"Critters","/critter-npcs"],[3,"Demons","/demon-npcs"],[2,"Dragonkin","/dragonkin-npcs"],[4,"Elementals","/elemental-npcs"],[5,"Giants","/giant-npcs"],[7,"Humanoids","/humanoid-npcs"],[9,"Mechanicals","/mechanical-npcs"],[6,"Undead","/undead-npcs"],[10,"Uncategorized","/uncategorized-npcs"]];var mn_objects=[[-7,"Archaeology","/archaeology-objects"],[9,"Books","/book-objects"],[-5,"Chests","/chests"],[3,"Containers","/container-objects"],[25,"Fishing Pools","/fishing-pools"],[45,"Garrison Shipments","/garrison-shipment-objects"],[-3,"Herbs","/herb-objects"],[19,"Mailboxes","/mailboxes"],[-4,"Mining Nodes","/mining-nodes"],[-2,"Quests","/quest-objects"],[-6,"Tools","/tool-objects"],[-8,"Treasures","/treasure-objects"]];var mn_quests=[[,"Continents",,,{column:1,heading:true}],[13,"Draenor","/draenor-quests",[[7536,"Aktar's Post","/aktars-post-quests"],[6941,"Ashran","/ashran-quests"],[6881,"Beastwatch","/beastwatch-quests"],[7317,"Bladefist Hold","/bladefist-hold-quests"],[7277,"Bloodmane Pridelands","/bloodmane-pridelands-quests"],[6885,"Cragplume Cauldron","/cragplume-cauldron-quests"],[6720,"Frostfire Ridge","/frostfire-ridge-quests"],[7490,"Garrison","/draenor-garrison-quests"],[6721,"Gorgrond","/gorgrond-quests"],[7070,"Ironfist Harbor","/ironfist-harbor-quests"],[6755,"Nagrand","/draenor-nagrand-quests"],[7299,"Ruins of the First Bastion","/ruins-of-the-first-bastion-quests"],[6719,"Shadowmoon Valley","/draenor-shadowmoon-valley-quests"],[7269,"Spire of Light","/spire-of-light-quests"],[6722,"Spires of Arak","/spires-of-arak-quests"],[7332,"Stormshield","/stormshield-quests"],[6878,"Tailthrasher Basin","/tailthrasher-basin-quests"],[6662,"Talador","/talador-quests"],[6723,"Tanaan Jungle","/tanaan-jungle-quests-6723"],[7663,"Tanaan Jungle","/tanaan-jungle-quests-7663"],[6794,"Teluuna Observatory","/teluuna-observatory-quests"],[6882,"The Forgotten Caves","/forgotten-caves-quests"],[7270,"The Howling Crag","/howling-crag-quests"],[7333,"Warspear","/warspear-quests"]]],[0,"Eastern Kingdoms","/eastern-kingdoms-quests",[[5145,"Abyssal Depths","/abyssal-depths-quests"],[36,"Alterac Mountains","/alterac-mountains-quests"],[45,"Arathi Highlands","/arathi-highlands-quests"],[3,"Badlands","/badlands-quests"],[4,"Blasted Lands","/blasted-lands-quests"],[46,"Burning Steppes","/burning-steppes-quests"],[7881,"Dalaran","/eastern-kingdoms-dalaran-quests"],[41,"Deadwind Pass","/deadwind-pass-quests"],[2257,"Deeprun Tram","/deeprun-tram-quests"],[1,"Dun Morogh","/dun-morogh-quests"],[10,"Duskwood","/duskwood-quests"],[139,"Eastern Plaguelands","/eastern-plaguelands-quests"],[12,"Elwynn Forest","/elwynn-forest-quests"],[3430,"Eversong Woods","/eversong-woods-quests"],[3433,"Ghostlands","/ghostlands-quests"],[4714,"Gilneas","/gilneas-quests"],[4755,"Gilneas City","/gilneas-city-quests"],[267,"Hillsbrad Foothills","/hillsbrad-foothills-quests"],[1537,"Ironforge","/ironforge-quests"],[4080,"Isle of Quel'Danas","/isle-of-queldanas-quests"],[8478,"Karazhan","/karazhan-eastern-kingdoms-quests"],[4815,"Kelp'thar Forest","/kelpthar-forest-quests"],[8357,"Light's Hope Chapel","/lights-hope-chapel-quests"],[38,"Loch Modan","/loch-modan-quests"],[33,"Northern Stranglethorn","/northern-stranglethorn-quests"],[6170,"Northshire","/northshire-quests"],[95,"Redridge Canyons","/redridge-canyons-quests"],[44,"Redridge Mountains","/redridge-mountains-quests"],[4706,"Ruins of Gilneas","/ruins-of-gilneas-quests"],[51,"Searing Gorge","/searing-gorge-quests"],[5144,"Shimmering Expanse","/shimmering-expanse-quests"],[3487,"Silvermoon City","/silvermoon-city-quests"],[130,"Silverpine Forest","/silverpine-forest-quests"],[1519,"Stormwind City","/stormwind-city-quests"],[4411,"Stormwind Harbor","/stormwind-harbor-quests"],[5339,"Stranglethorn Vale","/stranglethorn-vale-quests"],[8,"Swamp of Sorrows","/swamp-of-sorrows-quests"],[5287,"The Cape of Stranglethorn","/cape-of-stranglethorn-quests"],[47,"The Hinterlands","/hinterlands-quests"],[85,"Tirisfal Glades","/tirisfal-glades-quests"],[4922,"Twilight Highlands","/twilight-highlands-quests"],[1497,"Undercity","/undercity-quests"],[28,"Western Plaguelands","/western-plaguelands-quests"],[40,"Westfall","/westfall-quests"],[11,"Wetlands","/wetlands-quests"]]],[1,"Kalimdor","/kalimdor-quests",[[331,"Ashenvale","/ashenvale-quests"],[16,"Azshara","/azshara-quests"],[3524,"Azuremyst Isle","/azuremyst-isle-quests"],[3525,"Bloodmyst Isle","/bloodmyst-isle-quests"],[148,"Darkshore","/darkshore-quests"],[1657,"Darnassus","/darnassus-quests"],[405,"Desolace","/desolace-quests"],[14,"Durotar","/durotar-quests"],[15,"Dustwallow Marsh","/dustwallow-marsh-quests"],[368,"Echo Isles","/echo-isles-quests"],[361,"Felwood","/felwood-quests"],[357,"Feralas","/feralas-quests"],[5733,"Molten Front","/molten-front-quests"],[493,"Moonglade","/moonglade-quests"],[616,"Mount Hyjal","/mount-hyjal-quests"],[215,"Mulgore","/mulgore-quests"],[17,"Northern Barrens","/northern-barrens-quests"],[1637,"Orgrimmar","/orgrimmar-quests"],[989,"Ruins of Uldum","/ruins-of-uldum-quests"],[1377,"Silithus","/silithus-quests"],[4709,"Southern Barrens","/southern-barrens-quests"],[406,"Stonetalon Mountains","/stonetalon-mountains-quests"],[440,"Tanaris","/tanaris-quests"],[141,"Teldrassil","/teldrassil-quests"],[4982,"The Dranosh'ar Blockade","/dranoshar-blockade-quests"],[4707,"The Lost Isles","/kalimdor-lost-isles-quests"],[8093,"The Vortex Pinnacle","/vortex-pinnacle-kalimdor-quests"],[400,"Thousand Needles","/thousand-needles-quests"],[1638,"Thunder Bluff","/thunder-bluff-quests"],[5034,"Uldum","/uldum-quests"],[490,"Un'Goro Crater","/ungoro-crater-quests"],[618,"Winterspring","/winterspring-quests"]]],[14,"Legion","/legion-quests",[[7679,"Acherus: The Ebon Hold","/acherus-the-ebon-hold-quests"],[8000,"Azsuna","/azsuna-quests-8000"],[7334,"Azsuna","/azsuna-quests-7334"],[7642,"Bradensbrook","/bradensbrook-quests"],[7502,"Dalaran","/legion-dalaran-quests"],[7875,"Dreadscar Rift","/dreadscar-rift-quests"],[8373,"Eye of Azshara","/legion-quests/eye-of-azshara"],[7879,"Hall of the Guardian","/hall-of-the-guardian-quests"],[7503,"Highmountain","/highmountain-quests"],[8152,"Hunter Order Hall","/hunter-order-hall-quests"],[8147,"Isle of the Watchers","/isle-of-the-watchers-quests"],[7704,"Malorne's Refuge","/malornes-refuge-quests"],[7842,"Moon Guard Stronghold","/moon-guard-stronghold-quests"],[7834,"Netherlight Temple","/netherlight-temple-quests"],[7638,"Sanctum of Light","/sanctum-of-light-quests"],[7813,"Skyhold","/skyhold-quests"],[7541,"Stormheim","/stormheim-quests"],[7637,"Suramar","/suramar-quests"],[7841,"Tel'anor","/telanor-quests"],[7903,"Temple of Five Dawns","/temple-of-five-dawns-quests"],[7846,"The Dreamgrove","/dreamgrove-quests"],[7578,"The Eye of Azshara","/legion-quests/the-eye-of-azshara"],[8023,"The Fel Hammer","/fel-hammer-quests"],[8011,"The Hall of Shadows","/hall-of-shadows-quests"],[8126,"The Violet Gate","/violet-gate-quests"],[7592,"The Violet Hold","/legion-violet-hold-dalaran-quests"],[7877,"Trueshot Lodge","/trueshot-lodge-quests"],[7558,"Val'sharah","/valsharah-quests"]]],[11,"The Maelstrom","/the-maelstrom-quests",[[5861,"Darkmoon Island","/darkmoon-island-quests"],[5042,"Deepholm","/deepholm-quests"],[4737,"Kezan","/kezan-quests"],[4720,"The Lost Isles","/lost-isles-quests"],[5736,"The Wandering Isle","/wandering-isle-quests"],[5095,"Tol Barad","/tol-barad-quests"],[5389,"Tol Barad Peninsula","/tol-barad-peninsula-quests"]]],[8,"Outland","/outland-quests",[[3522,"Blade's Edge Mountains","/blades-edge-mountains-quests"],[3483,"Hellfire Peninsula","/hellfire-peninsula-quests"],[3518,"Nagrand","/outland-nagrand-quests"],[3523,"Netherstorm","/netherstorm-quests"],[3520,"Shadowmoon Valley","/outland-shadowmoon-valley-quests"],[3703,"Shattrath City","/shattrath-city-quests"],[3679,"Skettis","/skettis-quests"],[3519,"Terokkar Forest","/terokkar-forest-quests"],[3521,"Zangarmarsh","/zangarmarsh-quests"]]],[10,"Northrend","/northrend-quests",[[3537,"Borean Tundra","/borean-tundra-quests"],[4395,"Dalaran","/northrend-dalaran-quests"],[65,"Dragonblight","/dragonblight-quests"],[394,"Grizzly Hills","/grizzly-hills-quests"],[495,"Howling Fjord","/howling-fjord-quests"],[210,"Icecrown","/icecrown-quests"],[3711,"Sholazar Basin","/sholazar-basin-quests"],[67,"The Storm Peaks","/storm-peaks-quests"],[4197,"Wintergrasp","/wintergrasp-quests"],[66,"Zul'Drak","/zuldrak-quests"]]],[12,"Pandaria","/pandaria-quests",[[6426,"Brewmoon Festival","/brewmoon-festival-quests"],[6138,"Dread Wastes","/dread-wastes-quests"],[6507,"Isle of Thunder","/isle-of-thunder-quests"],[5974,"Jade Temple Grounds","/jade-temple-grounds-quests"],[6134,"Krasarang Wilds","/krasarang-wilds-quests"],[5841,"Kun-Lai Summit","/kun-lai-summit-quests"],[6081,"Peak of Serenity","/peak-of-serenity-quests-6081"],[6153,"Peak of Serenity","/peak-of-serenity-quests-6153"],[6173,"Shado-Pan Monastery","/pandaria-shado-pan-monastery-quests"],[5931,"The Arboretum","/arboretum-quests"],[5981,"The Halfhill Market","/halfhill-market-quests"],[5785,"The Jade Forest","/jade-forest-quests"],[6006,"The Veiled Stair","/veiled-stair-quests"],[6040,"Theramore's Fall (H)","/theramores-fall-h-quests"],[6757,"Timeless Isle","/timeless-isle-quests"],[5842,"Townlong Steppes","/townlong-steppes-quests"],[5840,"Vale of Eternal Blossoms","/vale-of-eternal-blossoms-quests"],[5805,"Valley of the Four Winds","/valley-of-the-four-winds-quests"]]],[,"Other",,,{column:2,heading:true}],[6,"Battlegrounds","/battleground-quests",[[2597,"Alterac Valley","/alterac-valley-quests"],[3358,"Arathi Basin","/arathi-basin-quests"],[-25,"Battlegrounds","/battlegrounds-quests"],[3277,"Warsong Gulch","/warsong-gulch-quests"]]],[27,"Campaigns","/campaign-quests",[[-413,"Death Knight Campaign","/death-knight-campaign-quests"],[-416,"Demon Hunter Campaign","/demon-hunter-campaign-quests"],[-417,"Druid Campaign","/druid-campaign-quests"],[-418,"Hunter Campaign","/hunter-campaign-quests"],[-420,"Mage Campaign","/mage-campaign-quests"],[-419,"Monk Campaign","/monk-campaign-quests"],[-422,"Paladin Campaign","/paladin-campaign-quests"],[-421,"Priest Campaign","/priest-campaign-quests"],[-424,"Rogue Campaign","/rogue-campaign-quests"],[-423,"Shaman Campaign","/shaman-campaign-quests"],[-425,"Warlock Campaign","/warlock-campaign-quests"],[-426,"Warrior Campaign","/warrior-campaign-quests"]]],[4,"Classes","/class-quests",[[-372,"Death Knight","/death-knight-quests"],[-407,"Demon Hunter","/demon-hunter-quests"],[-263,"Druid","/druid-quests"],[-261,"Hunter","/hunter-quests"],[-161,"Mage","/mage-quests"],[-395,"Monk","/monk-quests"],[-141,"Paladin","/paladin-quests"],[-262,"Priest","/priest-quests"],[-162,"Rogue","/rogue-quests"],[-82,"Shaman","/shaman-quests"],[-61,"Warlock","/warlock-quests"],[-81,"Warrior","/warrior-quests"]]],[2,"Dungeons","/dungeon-quests",[[4494,"Ahn'kahet: The Old Kingdom","/ahnkahet-the-old-kingdom-quests"],[3790,"Auchenai Crypts","/auchenai-crypts-quests"],[6912,"Auchindoun","/auchindoun-quests"],[4277,"Azjol-Nerub","/azjol-nerub-quests"],[7805,"Black Rook Hold","/black-rook-hold-quests"],[719,"Blackfathom Deeps","/blackfathom-deeps-quests"],[4926,"Blackrock Caverns","/blackrock-caverns-quests"],[1584,"Blackrock Depths","/blackrock-depths-quests"],[1583,"Blackrock Spire","/blackrock-spire-quests"],[6874,"Bloodmaul Slag Mines","/bloodmaul-slag-mines-quests"],[1941,"Caverns of Time","/caverns-of-time-quests"],[8079,"Court of Stars","/court-of-stars-quests"],[7673,"Darkheart Thicket","/darkheart-thicket-quests"],[2557,"Dire Maul","/dire-maul-quests"],[4196,"Drak'Tharon Keep","/draktharon-keep-quests"],[5789,"End Time","/end-time-quests"],[8040,"Eye of Azshara","/eye-of-azshara-dungeon-quests"],[5976,"Gate of the Setting Sun","/gate-of-the-setting-sun-quests"],[721,"Gnomeregan","/gnomeregan-quests"],[4950,"Grim Batol","/grim-batol-quests"],[6984,"Grimrail Depot","/grimrail-depot-quests"],[4416,"Gundrak","/gundrak-quests"],[4272,"Halls of Lightning","/halls-of-lightning-quests"],[4945,"Halls of Origination","/halls-of-origination-quests"],[4820,"Halls of Reflection","/halls-of-reflection-quests"],[4264,"Halls of Stone","/halls-of-stone-quests"],[7672,"Halls of Valor","/halls-of-valor-quests"],[3562,"Hellfire Ramparts","/hellfire-ramparts-quests"],[5844,"Hour of Twilight","/hour-of-twilight-quests"],[6951,"Iron Docks","/iron-docks-quests"],[5396,"Lost City of the Tol'vir","/lost-city-of-the-tolvir-quests"],[4131,"Magisters' Terrace","/magisters-terrace-quests"],[3792,"Mana-Tombs","/mana-tombs-quests"],[2100,"Maraudon","/maraudon-quests"],[7812,"Maw of Souls","/maw-of-souls-quests"],[6182,"Mogu'shan Palace","/mogushan-palace-quests"],[7546,"Neltharion's Lair","/neltharions-lair-quests"],[2367,"Old Hillsbrad Foothills","/old-hillsbrad-foothills-quests"],[4813,"Pit of Saron","/pit-of-saron-quests"],[2437,"Ragefire Chasm","/ragefire-chasm-quests"],[722,"Razorfen Downs","/razorfen-downs-quests"],[491,"Razorfen Kraul","/razorfen-kraul-quests"],[8443,"Return to Karazhan","/return-to-karazhan-quests"],[6052,"Scarlet Halls","/scarlet-halls-quests"],[6109,"Scarlet Monastery","/scarlet-monastery-quests"],[6066,"Scholomance","/scholomance-quests"],[3791,"Sethekk Halls","/sethekk-halls-quests"],[5918,"Shado-Pan Monastery","/dungeon-shado-pan-monastery-quests"],[3789,"Shadow Labyrinth","/shadow-labyrinth-quests"],[209,"Shadowfang Keep","/shadowfang-keep-quests"],[6932,"Shadowmoon Burial Grounds","/shadowmoon-burial-grounds-quests"],[6214,"Siege of Niuzao Temple","/siege-of-niuzao-temple-quests"],[6988,"Skyreach","/skyreach-quests"],[5963,"Stormstout Brewery","/stormstout-brewery-quests"],[2017,"Stratholme","/stratholme-quests"],[1477,"Sunken Temple","/sunken-temple-quests"],[8124,"Sword of Dawn","/sword-of-dawn-quests"],[5956,"Temple of the Jade Serpent","/temple-of-the-jade-serpent-quests"],[3848,"The Arcatraz","/arcatraz-quests"],[7855,"The Arcway","/arcway-quests"],[2366,"The Black Morass","/black-morass-quests"],[3713,"The Blood Furnace","/blood-furnace-quests"],[3847,"The Botanica","/botanica-quests"],[4100,"The Culling of Stratholme","/culling-of-stratholme-quests"],[1581,"The Deadmines","/deadmines-quests"],[7109,"The Everbloom","/everbloom-quests"],[3845,"The Eye","/eye-quests"],[4809,"The Forge of Souls","/forge-of-souls-quests"],[3849,"The Mechanar","/mechanar-quests"],[7811,"The Naglfar","/naglfar-quests"],[4120,"The Nexus","/nexus-quests"],[4228,"The Oculus","/oculus-quests"],[3714,"The Shattered Halls","/shattered-halls-quests"],[3717,"The Slave Pens","/slave-pens-quests"],[3715,"The Steamvault","/steamvault-quests"],[717,"The Stockade","/stockade-quests"],[5088,"The Stonecore","/stonecore-quests"],[3716,"The Underbog","/underbog-quests"],[4415,"The Violet Hold","/dungeon-the-violet-hold-quests"],[5035,"The Vortex Pinnacle","/vortex-pinnacle-quests"],[5004,"Throne of the Tides","/throne-of-the-tides-quests"],[4723,"Trial of the Champion","/trial-of-the-champion-quests"],[1337,"Uldaman","/uldaman-quests"],[7307,"Upper Blackrock Spire","/upper-blackrock-spire-quests"],[206,"Utgarde Keep","/utgarde-keep-quests"],[1196,"Utgarde Pinnacle","/utgarde-pinnacle-quests"],[7787,"Vault of the Wardens","/vault-of-the-wardens-quests"],[7996,"Violet Hold","/dungeon-violet-hold-quests"],[718,"Wailing Caverns","/wailing-caverns-quests"],[5788,"Well of Eternity","/well-of-eternity-quests"],[1176,"Zul'Farrak","/zulfarrak-quests"]]],[26,"Garrisons","/garrison-quests",[[-401,"Garrison Campaign","/garrison-campaign-quests"],[-403,"Garrison Support","/garrison-support-quests"]]],[5,"Professions","/profession-quests",[[-181,"Alchemy","/alchemy-quests"],[-377,"Archaeology","/archaeology-quests"],[-121,"Blacksmithing","/blacksmithing-quests"],[-304,"Cooking","/cooking-quests"],[-410,"Enchanting","/enchanting-quests"],[-201,"Engineering","/engineering-quests"],[-324,"First Aid","/first-aid-quests"],[-101,"Fishing","/fishing-quests"],[-24,"Herbalism","/herbalism-quests"],[-371,"Inscription","/inscription-quests"],[-373,"Jewelcrafting","/jewelcrafting-quests"],[-182,"Leatherworking","/leatherworking-quests"],[-408,"Mining","/mining-quests"],[-411,"Skinning","/skinning-quests"],[-264,"Tailoring","/tailoring-quests"]]],[3,"Raids","/raid-quests",[[3959,"Black Temple","/black-temple-quests"],[6967,"Blackrock Foundry","/blackrock-foundry-quests"],[7545,"Hellfire Citadel","/hellfire-citadel-quests"],[6996,"Highmaul","/highmaul-quests"],[3606,"Hyjal Summit","/hyjal-summit-quests"],[4812,"Icecrown Citadel","/icecrown-citadel-quests"],[3457,"Karazhan","/karazhan-raid-quests"],[3836,"Magtheridon's Lair","/magtheridons-lair-quests"],[2717,"Molten Core","/molten-core-quests"],[3456,"Naxxramas","/naxxramas-quests"],[3429,"Ruins of Ahn'Qiraj","/ruins-of-ahnqiraj-quests"],[6738,"Siege of Orgrimmar","/siege-of-orgrimmar-quests"],[4075,"Sunwell Plateau","/sunwell-plateau-quests"],[3842,"Tempest Keep","/tempest-keep-quests"],[3428,"Temple of Ahn'Qiraj","/temple-of-ahnqiraj-quests"],[8026,"The Emerald Nightmare","/emerald-nightmare-quests"],[4500,"The Eye of Eternity","/eye-of-eternity-quests"],[8025,"The Nighthold","/nighthold-quests"],[4493,"The Obsidian Sanctum","/obsidian-sanctum-quests"],[4987,"The Ruby Sanctum","/ruby-sanctum-quests"],[6622,"Throne of Thunder","/throne-of-thunder-quests"],[8440,"Trial of Valor","/trial-of-valor-quests"],[4722,"Trial of the Crusader","/trial-of-the-crusader-quests"],[4273,"Ulduar","/ulduar-quests"],[3805,"Zul'Aman","/zulaman-quests"],[1977,"Zul'Gurub","/zulgurub-quests"]]],[9,"World Events","/world-event-quests",[[-402,"Assault on the Dark Portal","/assault-on-the-dark-portal-quests"],[-370,"Brewfest","/brewfest-quests"],[-1002,"Children's Week","/childrens-week-quests"],[-364,"Darkmoon Faire","/darkmoon-faire-quests"],[-1007,"Day of the Dead","/day-of-the-dead-quests"],[-1003,"Hallow's End","/hallows-end-quests"],[-1005,"Harvest Festival","/harvest-festival-quests"],[-1004,"Love is in the Air","/love-is-in-the-air-quests"],[-366,"Lunar Festival","/lunar-festival-quests"],[-369,"Midsummer","/midsummer-quests"],[-1006,"New Year's Eve","/new-years-eve-quests"],[-1008,"Pilgrim's Bounty","/pilgrims-bounty-quests"],[-374,"Noblegarden","/noblegarden-quests"],[-1001,"Winter Veil","/winter-veil-quests"]]],[7,"Miscellaneous","/miscellaneous-quests",[[-406,"Artifact","/artifacts-quests"],[-394,"Battle Pets","/battle-pets-quests"],[-399,"Brawler's Guild","/brawlers-guild-quests"],[-1010,"Dungeon Finder","/dungeon-finder-quests"],[-381,"Elemental Bonds","/elemental-bonds-quests"],[-1,"Epic","/epic-quests"],[-379,"Firelands Invasion","/firelands-invasion-quests"],[-429,"The Hunt for Illidan Stormrage","/hunt-for-illidan-stormrage-quests"],[-396,"Landfall","/landfall-quests"],[-344,"Legendary","/legendary-quests"],[-427,"Order Hall","/order-hall-quests"],[-400,"Proving Grounds","/proving-grounds-quests"],[-391,"Pandaren Brewmasters","/pandaren-brewmasters-quests"],[-392,"Scenario","/scenario-quests"],[-380,"The Zandalari","/zandalari-quests"],[-241,"Tournament","/tournament-quests"],[-412,"World Quest","/world-quest-quests"]]],[-2,"Uncategorized","/uncategorized-quests"]];var mn_titles=[[0,"General","/general-titles"],[1,"PvP","/pvp-titles"],[2,"Reputation","/reputation-titles"],[3,"Dungeons & Raids","/dungeon-and-raid-titles"],[4,"Quests","/quest-titles"],[5,"Professions","/profession-titles"],[6,"World Events","/world-event-titles"],[7,"Pet Battles","/pet-battle-titles"],[8,"Scenarios","/scenario-titles"],[9,"Garrisons","/garrison-titles"],[10,"Class Halls","/class-hall-titles"]];var mn_skills=[[10011,"Professions","/professions",,{heading:true,column:1}],[171,"Alchemy","/alchemy",,{tinyIcon:"trade_alchemy"}],[164,"Blacksmithing","/blacksmithing",,{tinyIcon:"trade_blacksmithing"}],[333,"Enchanting","/enchanting",,{tinyIcon:"trade_engraving"}],[202,"Engineering","/engineering",,{tinyIcon:"trade_engineering"}],[182,"Herbalism","/herbalism",,{tinyIcon:"spell_nature_naturetouchgrow"}],[773,"Inscription","/inscription",,{tinyIcon:"inv_inscription_tradeskill01"}],[755,"Jewelcrafting","/jewelcrafting",,{tinyIcon:"inv_misc_gem_01"}],[165,"Leatherworking","/leatherworking",,{tinyIcon:"inv_misc_armorkit_17"}],[186,"Mining","/mining",,{tinyIcon:"trade_mining"}],[393,"Skinning","/skinning",,{tinyIcon:"inv_misc_pelt_wolf_01"}],[197,"Tailoring","/tailoring",,{tinyIcon:"trade_tailoring"}],[10009,"Secondary Skills","/secondary-skills",,{heading:true,column:2}],[794,"Archaeology","/archaeology",,{tinyIcon:"inv_misc_rune_06"}],[185,"Cooking","/cooking",,{tinyIcon:"inv_misc_food_15"}],[129,"First Aid","/first-aid",,{tinyIcon:"spell_holy_sealofsacrifice"}],[356,"Fishing","/fishing",,{tinyIcon:"trade_fishing"}],[762,"Riding","/riding",,{tinyIcon:"spell_nature_swiftness"}]];var g_class2SeoShorthand={6:"death-knight",12:"demon-hunter",11:"druid",3:"hunter",8:"mage",10:"monk",2:"paladin",5:"priest",4:"rogue",7:"shaman",9:"warlock",1:"warrior"};var g_seoShorthand2Class={};(function(){for(var a in g_class2SeoShorthand){g_seoShorthand2Class[g_class2SeoShorthand[a]]=a}})();var g_spec2SeoShorthand={6:{1:"blood",2:"frost",3:"unholy"},12:{1:"havoc",2:"vengeance"},11:{1:"balance",2:"feral",3:"guardian",4:"restoration"},3:{1:"beast-mastery",2:"marksmanship",3:"survival"},8:{1:"arcane",2:"fire",3:"frost"},10:{1:"brewmaster",2:"mistweaver",3:"windwalker"},2:{1:"holy",2:"protection",3:"retribution"},5:{1:"discipline",2:"holy",3:"shadow"},4:{1:"assassination",2:"outlaw",3:"subtlety"},7:{1:"elemental",2:"enhancement",3:"restoration"},9:{1:"affliction",2:"demonology",3:"destruction"},1:{1:"arms",2:"fury",3:"protection"}};var g_seoShorthand2Spec={};(function(){for(var b in g_spec2SeoShorthand){g_seoShorthand2Spec[b]={};for(var a in g_spec2SeoShorthand[b]){g_seoShorthand2Spec[b][g_spec2SeoShorthand[b][a]]=a}}g_seoShorthand2Spec[4]["combat"]="2"})();var mn_talentCalc=wh_copymenu(mn_specialization);(function(){var b=[["w",1],["l",2],["h",3],["r",4],["p",5],["k",6],["s",7],["m",8],["o",9],["n",10],["d",11],["z",12]];var c={};for(var a=0;a<b.length;a++){c[b[a][1]]=b[a][0]}for(var a=0;a<mn_talentCalc.length;a++){mn_talentCalc[a][2]="";for(var d=0;d<mn_talentCalc[a][3].length;d++){mn_talentCalc[a][3][d][0]=d+1;mn_talentCalc[a][3][d][2]="/talent-calc/"+g_class2SeoShorthand[mn_talentCalc[a][0]]+"/"+g_spec2SeoShorthand[mn_talentCalc[a][0]][d+1]}}})();var mn_honorTalentCalc=wh_copymenu(mn_talentCalc);(function(){for(var a=0;a<mn_honorTalentCalc.length;a++){for(var b=0;b<mn_honorTalentCalc[a][3].length;b++){mn_honorTalentCalc[a][3][b][2]=mn_honorTalentCalc[a][3][b][2].replace(/\/talent-calc/,"/honor-calc")}}})();var mn_artifactWeaponCalc=wh_copymenu(mn_talentCalc);(function(){for(var a=0;a<mn_artifactWeaponCalc.length;a++){for(var b=0;b<mn_artifactWeaponCalc[a][3].length;b++){mn_artifactWeaponCalc[a][3][b][2]=mn_artifactWeaponCalc[a][3][b][2].replace(/\/talent-calc/,"/artifact-calc")}}})();mn_artifactWeaponCalc.push([90,"Fishing","/artifact-calc/Ati0JJA"]);var mn_spells=[["classHeader","Class",,,{column:1,heading:true}],[7,"Abilities","/abilities",[[6,"Death Knight","/death-knight-abilities",,{className:"c6",tinyIcon:"class_deathknight"}],[12,"Demon Hunter","/demon-hunter-abilities",,{className:"c12",tinyIcon:"class_demonhunter"}],[11,"Druid","/druid-abilities",,{className:"c11",tinyIcon:"class_druid"}],[3,"Hunter","/hunter-abilities",,{className:"c3",tinyIcon:"class_hunter"}],[8,"Mage","/mage-abilities",,{className:"c8",tinyIcon:"class_mage"}],[10,"Monk","/monk-abilities",,{className:"c10",tinyIcon:"class_monk"}],[2,"Paladin","/paladin-abilities",,{className:"c2",tinyIcon:"class_paladin"}],[5,"Priest","/priest-abilities",,{className:"c5",tinyIcon:"class_priest"}],[4,"Rogue","/rogue-abilities",,{className:"c4",tinyIcon:"class_rogue"}],[7,"Shaman","/shaman-abilities",,{className:"c7",tinyIcon:"class_shaman"}],[9,"Warlock","/warlock-abilities",,{className:"c9",tinyIcon:"class_warlock"}],[1,"Warrior","/warrior-abilities",,{className:"c1",tinyIcon:"class_warrior"}]]],[-17,"Artifact Traits","/artifact-traits",[[6,"Death Knight","/death-knight-artifact-traits",[[250,"Blood","/blood-artifact-traits",,{tinyIcon:"spell_deathknight_bloodpresence"}],[251,"Frost","/frost-death-knight-artifact-traits",,{tinyIcon:"spell_deathknight_frostpresence"}],[252,"Unholy","/unholy-artifact-traits",,{tinyIcon:"spell_deathknight_unholypresence"}]],{className:"c6",tinyIcon:"class_deathknight"}],[12,"Demon Hunter","/demon-hunter-artifact-traits",[[577,"Havoc","/havoc-artifact-traits",,{tinyIcon:"ability_demonhunter_specdps"}],[581,"Vengeance","/vengeance-artifact-traits",,{tinyIcon:"ability_demonhunter_spectank"}]],{className:"c12",tinyIcon:"class_demonhunter"}],[11,"Druid","/druid-artifact-traits",[[102,"Balance","/balance-artifact-traits",,{tinyIcon:"spell_nature_starfall"}],[103,"Feral","/feral-artifact-traits",,{tinyIcon:"ability_druid_catform"}],[104,"Guardian","/guardian-artifact-traits",,{tinyIcon:"ability_racial_bearform"}],[105,"Restoration","/restoration-druid-artifact-traits",,{tinyIcon:"spell_nature_healingtouch"}]],{className:"c11",tinyIcon:"class_druid"}],[3,"Hunter","/hunter-artifact-traits",[[253,"Beast Mastery","/beast-mastery-artifact-traits",,{tinyIcon:"ability_hunter_bestialdiscipline"}],[254,"Marksmanship","/marksmanship-artifact-traits",,{tinyIcon:"ability_hunter_focusedaim"}],[255,"Survival","/survival-artifact-traits",,{tinyIcon:"ability_hunter_camouflage"}]],{className:"c3",tinyIcon:"class_hunter"}],[8,"Mage","/mage-artifact-traits",[[62,"Arcane","/arcane-artifact-traits",,{tinyIcon:"spell_holy_magicalsentry"}],[63,"Fire","/fire-artifact-traits",,{tinyIcon:"spell_fire_firebolt02"}],[64,"Frost","/frost-mage-artifact-traits",,{tinyIcon:"spell_frost_frostbolt02"}]],{className:"c8",tinyIcon:"class_mage"}],[10,"Monk","/monk-artifact-traits",[[268,"Brewmaster","/brewmaster-artifact-traits",,{tinyIcon:"spell_monk_brewmaster_spec"}],[269,"Windwalker","/windwalker-artifact-traits",,{tinyIcon:"spell_monk_windwalker_spec"}],[270,"Mistweaver","/mistweaver-artifact-traits",,{tinyIcon:"spell_monk_mistweaver_spec"}]],{className:"c10",tinyIcon:"class_monk"}],[2,"Paladin","/paladin-artifact-traits",[[65,"Holy","/holy-paladin-artifact-traits",,{tinyIcon:"spell_holy_holybolt"}],[66,"Protection","/protection-paladin-artifact-traits",,{tinyIcon:"ability_paladin_shieldofthetemplar"}],[70,"Retribution","/retribution-artifact-traits",,{tinyIcon:"spell_holy_auraoflight"}]],{className:"c2",tinyIcon:"class_paladin"}],[5,"Priest","/priest-artifact-traits",[[256,"Discipline","/discipline-artifact-traits",,{tinyIcon:"spell_holy_powerwordshield"}],[257,"Holy","/holy-priest-artifact-traits",,{tinyIcon:"spell_holy_guardianspirit"}],[258,"Shadow","/shadow-artifact-traits",,{tinyIcon:"spell_shadow_shadowwordpain"}]],{className:"c5",tinyIcon:"class_priest"}],[4,"Rogue","/rogue-artifact-traits",[[260,"Outlaw","/outlaw-artifact-traits",,{tinyIcon:"inv_sword_30"}],[259,"Assassination","/assassination-artifact-traits",,{tinyIcon:"ability_rogue_eviscerate"}],[261,"Subtlety","/subtlety-artifact-traits",,{tinyIcon:"ability_stealth"}]],{className:"c4",tinyIcon:"class_rogue"}],[7,"Shaman","/shaman-artifact-traits",[[262,"Elemental","/elemental-artifact-traits",,{tinyIcon:"spell_nature_lightning"}],[263,"Enhancement","/enhancement-artifact-traits",,{tinyIcon:"spell_shaman_improvedstormstrike"}],[264,"Restoration","/restoration-shaman-artifact-traits",,{tinyIcon:"spell_nature_magicimmunity"}]],{className:"c7",tinyIcon:"class_shaman"}],[9,"Warlock","/warlock-artifact-traits",[[265,"Affliction","/affliction-artifact-traits",,{tinyIcon:"spell_shadow_deathcoil"}],[266,"Demonology","/demonology-artifact-traits",,{tinyIcon:"spell_shadow_metamorphosis"}],[267,"Destruction","/destruction-artifact-traits",,{tinyIcon:"spell_shadow_rainoffire"}]],{className:"c9",tinyIcon:"class_warlock"}],[1,"Warrior","/warrior-artifact-traits",[[71,"Arms","/arms-artifact-traits",,{tinyIcon:"ability_warrior_savageblow"}],[72,"Fury","/fury-artifact-traits",,{tinyIcon:"ability_warrior_innerrage"}],[73,"Protection","/protection-warrior-artifact-traits",,{tinyIcon:"ability_warrior_defensivestance"}]],{className:"c1",tinyIcon:"class_warrior"}]]],[-13,"Glyphs","/glyph-spells",[[6,"Death Knight","/death-knight-glyph-spells",,{className:"c6",tinyIcon:"class_deathknight"}],[12,"Demon Hunter","/demon-hunter-glyph-spells",,{className:"c12",tinyIcon:"class_demonhunter"}],[11,"Druid","/druid-glyph-spells",,{className:"c11",tinyIcon:"class_druid"}],[3,"Hunter","/hunter-glyph-spells",,{className:"c3",tinyIcon:"class_hunter"}],[8,"Mage","/mage-glyph-spells",,{className:"c8",tinyIcon:"class_mage"}],[10,"Monk","/monk-glyph-spells",,{className:"c10",tinyIcon:"class_monk"}],[2,"Paladin","/paladin-glyph-spells",,{className:"c2",tinyIcon:"class_paladin"}],[5,"Priest","/priest-glyph-spells",,{className:"c5",tinyIcon:"class_priest"}],[4,"Rogue","/rogue-glyph-spells",,{className:"c4",tinyIcon:"class_rogue"}],[7,"Shaman","/shaman-glyph-spells",,{className:"c7",tinyIcon:"class_shaman"}],[9,"Warlock","/warlock-glyph-spells",,{className:"c9",tinyIcon:"class_warlock"}],[1,"Warrior","/warrior-glyph-spells",,{className:"c1",tinyIcon:"class_warrior"}]]],[-16,"Honor Talents","/honor-talents",[[6,"Death Knight","/death-knight-honor-talents",[[250,"Blood","/blood-honor-talents",,{tinyIcon:"spell_deathknight_bloodpresence"}],[251,"Frost","/frost-death-knight-honor-talents",,{tinyIcon:"spell_deathknight_frostpresence"}],[252,"Unholy","/unholy-honor-talents",,{tinyIcon:"spell_deathknight_unholypresence"}]],{className:"c6",tinyIcon:"class_deathknight"}],[12,"Demon Hunter","/demon-hunter-honor-talents",[[577,"Havoc","/havoc-honor-talents",,{tinyIcon:"ability_demonhunter_specdps"}],[581,"Vengeance","/vengeance-honor-talents",,{tinyIcon:"ability_demonhunter_spectank"}]],{className:"c12",tinyIcon:"class_demonhunter"}],[11,"Druid","/druid-honor-talents",[[102,"Balance","/balance-honor-talents",,{tinyIcon:"spell_nature_starfall"}],[103,"Feral","/feral-honor-talents",,{tinyIcon:"ability_druid_catform"}],[104,"Guardian","/guardian-honor-talents",,{tinyIcon:"ability_racial_bearform"}],[105,"Restoration","/restoration-druid-honor-talents",,{tinyIcon:"spell_nature_healingtouch"}]],{className:"c11",tinyIcon:"class_druid"}],[3,"Hunter","/hunter-honor-talents",[[253,"Beast Mastery","/beast-mastery-honor-talents",,{tinyIcon:"ability_hunter_bestialdiscipline"}],[254,"Marksmanship","/marksmanship-honor-talents",,{tinyIcon:"ability_hunter_focusedaim"}],[255,"Survival","/survival-honor-talents",,{tinyIcon:"ability_hunter_camouflage"}]],{className:"c3",tinyIcon:"class_hunter"}],[8,"Mage","/mage-honor-talents",[[62,"Arcane","/arcane-honor-talents",,{tinyIcon:"spell_holy_magicalsentry"}],[63,"Fire","/fire-honor-talents",,{tinyIcon:"spell_fire_firebolt02"}],[64,"Frost","/frost-mage-honor-talents",,{tinyIcon:"spell_frost_frostbolt02"}]],{className:"c8",tinyIcon:"class_mage"}],[10,"Monk","/monk-honor-talents",[[268,"Brewmaster","/brewmaster-honor-talents",,{tinyIcon:"spell_monk_brewmaster_spec"}],[269,"Windwalker","/windwalker-honor-talents",,{tinyIcon:"spell_monk_windwalker_spec"}],[270,"Mistweaver","/mistweaver-honor-talents",,{tinyIcon:"spell_monk_mistweaver_spec"}]],{className:"c10",tinyIcon:"class_monk"}],[2,"Paladin","/paladin-honor-talents",[[65,"Holy","/holy-paladin-honor-talents",,{tinyIcon:"spell_holy_holybolt"}],[66,"Protection","/protection-paladin-honor-talents",,{tinyIcon:"ability_paladin_shieldofthetemplar"}],[70,"Retribution","/retribution-honor-talents",,{tinyIcon:"spell_holy_auraoflight"}]],{className:"c2",tinyIcon:"class_paladin"}],[5,"Priest","/priest-honor-talents",[[256,"Discipline","/discipline-honor-talents",,{tinyIcon:"spell_holy_powerwordshield"}],[257,"Holy","/holy-priest-honor-talents",,{tinyIcon:"spell_holy_guardianspirit"}],[258,"Shadow","/shadow-honor-talents",,{tinyIcon:"spell_shadow_shadowwordpain"}]],{className:"c5",tinyIcon:"class_priest"}],[4,"Rogue","/rogue-honor-talents",[[260,"Outlaw","/outlaw-honor-talents",,{tinyIcon:"inv_sword_30"}],[259,"Assassination","/assassination-honor-talents",,{tinyIcon:"ability_rogue_eviscerate"}],[261,"Subtlety","/subtlety-honor-talents",,{tinyIcon:"ability_stealth"}]],{className:"c4",tinyIcon:"class_rogue"}],[7,"Shaman","/shaman-honor-talents",[[262,"Elemental","/elemental-honor-talents",,{tinyIcon:"spell_nature_lightning"}],[263,"Enhancement","/enhancement-honor-talents",,{tinyIcon:"spell_shaman_improvedstormstrike"}],[264,"Restoration","/restoration-shaman-honor-talents",,{tinyIcon:"spell_nature_magicimmunity"}]],{className:"c7",tinyIcon:"class_shaman"}],[9,"Warlock","/warlock-honor-talents",[[265,"Affliction","/affliction-honor-talents",,{tinyIcon:"spell_shadow_deathcoil"}],[266,"Demonology","/demonology-honor-talents",,{tinyIcon:"spell_shadow_metamorphosis"}],[267,"Destruction","/destruction-honor-talents",,{tinyIcon:"spell_shadow_rainoffire"}]],{className:"c9",tinyIcon:"class_warlock"}],[1,"Warrior","/warrior-honor-talents",[[71,"Arms","/arms-honor-talents",,{tinyIcon:"ability_warrior_savageblow"}],[72,"Fury","/fury-honor-talents",,{tinyIcon:"ability_warrior_innerrage"}],[73,"Protection","/protection-warrior-honor-talents",,{tinyIcon:"ability_warrior_defensivestance"}]],{className:"c1",tinyIcon:"class_warrior"}]]],[-12,"Specialization","/specialization-abilities",[[6,"Death Knight","/death-knight-specialization-abilities",[[250,"Blood","/blood-abilities",,{tinyIcon:"spell_deathknight_bloodpresence"}],[251,"Frost","/frost-death-knight-abilities",,{tinyIcon:"spell_deathknight_frostpresence"}],[252,"Unholy","/unholy-abilities",,{tinyIcon:"spell_deathknight_unholypresence"}]],{className:"c6",tinyIcon:"class_deathknight"}],[12,"Demon Hunter","/demon-hunter-specialization-abilities",[[577,"Havoc","/havoc-abilities",,{tinyIcon:"ability_demonhunter_specdps"}],[581,"Vengeance","/vengeance-abilities",,{tinyIcon:"ability_demonhunter_spectank"}]],{className:"c12",tinyIcon:"class_demonhunter"}],[11,"Druid","/druid-specialization-abilities",[[102,"Balance","/balance-abilities",,{tinyIcon:"spell_nature_starfall"}],[103,"Feral","/feral-abilities",,{tinyIcon:"ability_druid_catform"}],[104,"Guardian","/guardian-abilities",,{tinyIcon:"ability_racial_bearform"}],[105,"Restoration","/restoration-druid-abilities",,{tinyIcon:"spell_nature_healingtouch"}]],{className:"c11",tinyIcon:"class_druid"}],[3,"Hunter","/hunter-specialization-abilities",[[253,"Beast Mastery","/beast-mastery-abilities",,{tinyIcon:"ability_hunter_bestialdiscipline"}],[254,"Marksmanship","/marksmanship-abilities",,{tinyIcon:"ability_hunter_focusedaim"}],[255,"Survival","/survival-abilities",,{tinyIcon:"ability_hunter_camouflage"}]],{className:"c3",tinyIcon:"class_hunter"}],[8,"Mage","/mage-specialization-abilities",[[62,"Arcane","/arcane-abilities",,{tinyIcon:"spell_holy_magicalsentry"}],[63,"Fire","/fire-abilities",,{tinyIcon:"spell_fire_firebolt02"}],[64,"Frost","/frost-mage-abilities",,{tinyIcon:"spell_frost_frostbolt02"}]],{className:"c8",tinyIcon:"class_mage"}],[10,"Monk","/monk-specialization-abilities",[[268,"Brewmaster","/brewmaster-abilities",,{tinyIcon:"spell_monk_brewmaster_spec"}],[269,"Windwalker","/windwalker-abilities",,{tinyIcon:"spell_monk_windwalker_spec"}],[270,"Mistweaver","/mistweaver-abilities",,{tinyIcon:"spell_monk_mistweaver_spec"}]],{className:"c10",tinyIcon:"class_monk"}],[2,"Paladin","/paladin-specialization-abilities",[[65,"Holy","/holy-paladin-abilities",,{tinyIcon:"spell_holy_holybolt"}],[66,"Protection","/protection-paladin-abilities",,{tinyIcon:"ability_paladin_shieldofthetemplar"}],[70,"Retribution","/retribution-abilities",,{tinyIcon:"spell_holy_auraoflight"}]],{className:"c2",tinyIcon:"class_paladin"}],[5,"Priest","/priest-specialization-abilities",[[256,"Discipline","/discipline-abilities",,{tinyIcon:"spell_holy_powerwordshield"}],[257,"Holy","/holy-priest-abilities",,{tinyIcon:"spell_holy_guardianspirit"}],[258,"Shadow","/shadow-abilities",,{tinyIcon:"spell_shadow_shadowwordpain"}]],{className:"c5",tinyIcon:"class_priest"}],[4,"Rogue","/rogue-specialization-abilities",[[260,"Outlaw","/outlaw-abilities",,{tinyIcon:"inv_sword_30"}],[259,"Assassination","/assassination-abilities",,{tinyIcon:"ability_rogue_eviscerate"}],[261,"Subtlety","/subtlety-abilities",,{tinyIcon:"ability_stealth"}]],{className:"c4",tinyIcon:"class_rogue"}],[7,"Shaman","/shaman-specialization-abilities",[[262,"Elemental","/elemental-abilities",,{tinyIcon:"spell_nature_lightning"}],[263,"Enhancement","/enhancement-abilities",,{tinyIcon:"spell_shaman_improvedstormstrike"}],[264,"Restoration","/restoration-shaman-abilities",,{tinyIcon:"spell_nature_magicimmunity"}]],{className:"c7",tinyIcon:"class_shaman"}],[9,"Warlock","/warlock-specialization-abilities",[[265,"Affliction","/affliction-abilities",,{tinyIcon:"spell_shadow_deathcoil"}],[266,"Demonology","/demonology-abilities",,{tinyIcon:"spell_shadow_metamorphosis"}],[267,"Destruction","/destruction-abilities",,{tinyIcon:"spell_shadow_rainoffire"}]],{className:"c9",tinyIcon:"class_warlock"}],[1,"Warrior","/warrior-specialization-abilities",[[71,"Arms","/arms-abilities",,{tinyIcon:"ability_warrior_savageblow"}],[72,"Fury","/fury-abilities",,{tinyIcon:"ability_warrior_innerrage"}],[73,"Protection","/protection-warrior-abilities",,{tinyIcon:"ability_warrior_defensivestance"}]],{className:"c1",tinyIcon:"class_warrior"}]]],[-2,"Talents","/talents",[[6,"Death Knight","/death-knight-talents",[[250,"Blood","/blood-talents",,{tinyIcon:"spell_deathknight_bloodpresence"}],[251,"Frost","/frost-death-knight-talents",,{tinyIcon:"spell_deathknight_frostpresence"}],[252,"Unholy","/unholy-talents",,{tinyIcon:"spell_deathknight_unholypresence"}]],{className:"c6",tinyIcon:"class_deathknight"}],[12,"Demon Hunter","/demon-hunter-talents",[[577,"Havoc","/havoc-talents",,{tinyIcon:"ability_demonhunter_specdps"}],[581,"Vengeance","/vengeance-talents",,{tinyIcon:"ability_demonhunter_spectank"}]],{className:"c12",tinyIcon:"class_demonhunter"}],[11,"Druid","/druid-talents",[[102,"Balance","/balance-talents",,{tinyIcon:"spell_nature_starfall"}],[103,"Feral","/feral-talents",,{tinyIcon:"ability_druid_catform"}],[104,"Guardian","/guardian-talents",,{tinyIcon:"ability_racial_bearform"}],[105,"Restoration","/restoration-druid-talents",,{tinyIcon:"spell_nature_healingtouch"}]],{className:"c11",tinyIcon:"class_druid"}],[3,"Hunter","/hunter-talents",[[253,"Beast Mastery","/beast-mastery-talents",,{tinyIcon:"ability_hunter_bestialdiscipline"}],[254,"Marksmanship","/marksmanship-talents",,{tinyIcon:"ability_hunter_focusedaim"}],[255,"Survival","/survival-talents",,{tinyIcon:"ability_hunter_camouflage"}]],{className:"c3",tinyIcon:"class_hunter"}],[8,"Mage","/mage-talents",[[62,"Arcane","/arcane-talents",,{tinyIcon:"spell_holy_magicalsentry"}],[63,"Fire","/fire-talents",,{tinyIcon:"spell_fire_firebolt02"}],[64,"Frost","/frost-mage-talents",,{tinyIcon:"spell_frost_frostbolt02"}]],{className:"c8",tinyIcon:"class_mage"}],[10,"Monk","/monk-talents",[[268,"Brewmaster","/brewmaster-talents",,{tinyIcon:"spell_monk_brewmaster_spec"}],[269,"Windwalker","/windwalker-talents",,{tinyIcon:"spell_monk_windwalker_spec"}],[270,"Mistweaver","/mistweaver-talents",,{tinyIcon:"spell_monk_mistweaver_spec"}]],{className:"c10",tinyIcon:"class_monk"}],[2,"Paladin","/paladin-talents",[[65,"Holy","/holy-paladin-talents",,{tinyIcon:"spell_holy_holybolt"}],[66,"Protection","/protection-paladin-talents",,{tinyIcon:"ability_paladin_shieldofthetemplar"}],[70,"Retribution","/retribution-talents",,{tinyIcon:"spell_holy_auraoflight"}]],{className:"c2",tinyIcon:"class_paladin"}],[5,"Priest","/priest-talents",[[256,"Discipline","/discipline-talents",,{tinyIcon:"spell_holy_powerwordshield"}],[257,"Holy","/holy-priest-talents",,{tinyIcon:"spell_holy_guardianspirit"}],[258,"Shadow","/shadow-talents",,{tinyIcon:"spell_shadow_shadowwordpain"}]],{className:"c5",tinyIcon:"class_priest"}],[4,"Rogue","/rogue-talents",[[260,"Outlaw","/outlaw-talents",,{tinyIcon:"inv_sword_30"}],[259,"Assassination","/assassination-talents",,{tinyIcon:"ability_rogue_eviscerate"}],[261,"Subtlety","/subtlety-talents",,{tinyIcon:"ability_stealth"}]],{className:"c4",tinyIcon:"class_rogue"}],[7,"Shaman","/shaman-talents",[[262,"Elemental","/elemental-talents",,{tinyIcon:"spell_nature_lightning"}],[263,"Enhancement","/enhancement-talents",,{tinyIcon:"spell_shaman_improvedstormstrike"}],[264,"Restoration","/restoration-shaman-talents",,{tinyIcon:"spell_nature_magicimmunity"}]],{className:"c7",tinyIcon:"class_shaman"}],[9,"Warlock","/warlock-talents",[[265,"Affliction","/affliction-talents",,{tinyIcon:"spell_shadow_deathcoil"}],[266,"Demonology","/demonology-talents",,{tinyIcon:"spell_shadow_metamorphosis"}],[267,"Destruction","/destruction-talents",,{tinyIcon:"spell_shadow_rainoffire"}]],{className:"c9",tinyIcon:"class_warlock"}],[1,"Warrior","/warrior-talents",[[71,"Arms","/arms-talents",,{tinyIcon:"ability_warrior_savageblow"}],[72,"Fury","/fury-talents",,{tinyIcon:"ability_warrior_innerrage"}],[73,"Protection","/protection-warrior-talents",,{tinyIcon:"ability_warrior_defensivestance"}]],{className:"c1",tinyIcon:"class_warrior"}]]],["toolsHeader","Tools",,,{heading:true}],[50,"Talent Calculator","/talent-calc",[[6,"Death Knight",,[[250,"Blood","/talent-calc/death-knight/blood",,{tinyIcon:"spell_deathknight_bloodpresence"}],[251,"Frost","/talent-calc/death-knight/frost",,{tinyIcon:"spell_deathknight_frostpresence"}],[252,"Unholy","/talent-calc/death-knight/unholy",,{tinyIcon:"spell_deathknight_unholypresence"}]],{className:"c6",tinyIcon:"class_deathknight"}],[12,"Demon Hunter",,[[577,"Havoc","/talent-calc/demon-hunter/havoc",,{tinyIcon:"ability_demonhunter_specdps"}],[581,"Vengeance","/talent-calc/demon-hunter/vengeance",,{tinyIcon:"ability_demonhunter_spectank"}]],{className:"c12",tinyIcon:"class_demonhunter"}],[11,"Druid",,[[102,"Balance","/talent-calc/druid/balance",,{tinyIcon:"spell_nature_starfall"}],[103,"Feral","/talent-calc/druid/feral",,{tinyIcon:"ability_druid_catform"}],[104,"Guardian","/talent-calc/druid/guardian",,{tinyIcon:"ability_racial_bearform"}],[105,"Restoration","/talent-calc/druid/restoration",,{tinyIcon:"spell_nature_healingtouch"}]],{className:"c11",tinyIcon:"class_druid"}],[3,"Hunter",,[[253,"Beast Mastery","/talent-calc/hunter/beast-mastery",,{tinyIcon:"ability_hunter_bestialdiscipline"}],[254,"Marksmanship","/talent-calc/hunter/marksmanship",,{tinyIcon:"ability_hunter_focusedaim"}],[255,"Survival","/talent-calc/hunter/survival",,{tinyIcon:"ability_hunter_camouflage"}]],{className:"c3",tinyIcon:"class_hunter"}],[8,"Mage",,[[62,"Arcane","/talent-calc/mage/arcane",,{tinyIcon:"spell_holy_magicalsentry"}],[63,"Fire","/talent-calc/mage/fire",,{tinyIcon:"spell_fire_firebolt02"}],[64,"Frost","/talent-calc/mage/frost",,{tinyIcon:"spell_frost_frostbolt02"}]],{className:"c8",tinyIcon:"class_mage"}],[10,"Monk",,[[268,"Brewmaster","/talent-calc/monk/brewmaster",,{tinyIcon:"spell_monk_brewmaster_spec"}],[269,"Windwalker","/talent-calc/monk/windwalker",,{tinyIcon:"spell_monk_windwalker_spec"}],[270,"Mistweaver","/talent-calc/monk/mistweaver",,{tinyIcon:"spell_monk_mistweaver_spec"}]],{className:"c10",tinyIcon:"class_monk"}],[2,"Paladin",,[[65,"Holy","/talent-calc/paladin/holy",,{tinyIcon:"spell_holy_holybolt"}],[66,"Protection","/talent-calc/paladin/protection",,{tinyIcon:"ability_paladin_shieldofthetemplar"}],[70,"Retribution","/talent-calc/paladin/retribution",,{tinyIcon:"spell_holy_auraoflight"}]],{className:"c2",tinyIcon:"class_paladin"}],[5,"Priest",,[[256,"Discipline","/talent-calc/priest/discipline",,{tinyIcon:"spell_holy_powerwordshield"}],[257,"Holy","/talent-calc/priest/holy",,{tinyIcon:"spell_holy_guardianspirit"}],[258,"Shadow","/talent-calc/priest/shadow",,{tinyIcon:"spell_shadow_shadowwordpain"}]],{className:"c5",tinyIcon:"class_priest"}],[4,"Rogue",,[[260,"Outlaw","/talent-calc/rogue/outlaw",,{tinyIcon:"inv_sword_30"}],[259,"Assassination","/talent-calc/rogue/assassination",,{tinyIcon:"ability_rogue_eviscerate"}],[261,"Subtlety","/talent-calc/rogue/subtlety",,{tinyIcon:"ability_stealth"}]],{className:"c4",tinyIcon:"class_rogue"}],[7,"Shaman",,[[262,"Elemental","/talent-calc/shaman/elemental",,{tinyIcon:"spell_nature_lightning"}],[263,"Enhancement","/talent-calc/shaman/enhancement",,{tinyIcon:"spell_shaman_improvedstormstrike"}],[264,"Restoration","/talent-calc/shaman/restoration",,{tinyIcon:"spell_nature_magicimmunity"}]],{className:"c7",tinyIcon:"class_shaman"}],[9,"Warlock",,[[265,"Affliction","/talent-calc/warlock/affliction",,{tinyIcon:"spell_shadow_deathcoil"}],[266,"Demonology","/talent-calc/warlock/demonology",,{tinyIcon:"spell_shadow_metamorphosis"}],[267,"Destruction","/talent-calc/warlock/destruction",,{tinyIcon:"spell_shadow_rainoffire"}]],{className:"c9",tinyIcon:"class_warlock"}],[1,"Warrior",,[[71,"Arms","/talent-calc/warrior/arms",,{tinyIcon:"ability_warrior_savageblow"}],[72,"Fury","/talent-calc/warrior/fury",,{tinyIcon:"ability_warrior_innerrage"}],[73,"Protection","/talent-calc/warrior/protection",,{tinyIcon:"ability_warrior_defensivestance"}]],{className:"c1",tinyIcon:"class_warrior"}]]],[52,"Honor Talent Calculator","/honor-calc",[[6,"Death Knight",,[[250,"Blood","/honor-calc/death-knight/blood",,{tinyIcon:"spell_deathknight_bloodpresence"}],[251,"Frost","/honor-calc/death-knight/frost",,{tinyIcon:"spell_deathknight_frostpresence"}],[252,"Unholy","/honor-calc/death-knight/unholy",,{tinyIcon:"spell_deathknight_unholypresence"}]],{className:"c6",tinyIcon:"class_deathknight"}],[12,"Demon Hunter",,[[577,"Havoc","/honor-calc/demon-hunter/havoc",,{tinyIcon:"ability_demonhunter_specdps"}],[581,"Vengeance","/honor-calc/demon-hunter/vengeance",,{tinyIcon:"ability_demonhunter_spectank"}]],{className:"c12",tinyIcon:"class_demonhunter"}],[11,"Druid",,[[102,"Balance","/honor-calc/druid/balance",,{tinyIcon:"spell_nature_starfall"}],[103,"Feral","/honor-calc/druid/feral",,{tinyIcon:"ability_druid_catform"}],[104,"Guardian","/honor-calc/druid/guardian",,{tinyIcon:"ability_racial_bearform"}],[105,"Restoration","/honor-calc/druid/restoration",,{tinyIcon:"spell_nature_healingtouch"}]],{className:"c11",tinyIcon:"class_druid"}],[3,"Hunter",,[[253,"Beast Mastery","/honor-calc/hunter/beast-mastery",,{tinyIcon:"ability_hunter_bestialdiscipline"}],[254,"Marksmanship","/honor-calc/hunter/marksmanship",,{tinyIcon:"ability_hunter_focusedaim"}],[255,"Survival","/honor-calc/hunter/survival",,{tinyIcon:"ability_hunter_camouflage"}]],{className:"c3",tinyIcon:"class_hunter"}],[8,"Mage",,[[62,"Arcane","/honor-calc/mage/arcane",,{tinyIcon:"spell_holy_magicalsentry"}],[63,"Fire","/honor-calc/mage/fire",,{tinyIcon:"spell_fire_firebolt02"}],[64,"Frost","/honor-calc/mage/frost",,{tinyIcon:"spell_frost_frostbolt02"}]],{className:"c8",tinyIcon:"class_mage"}],[10,"Monk",,[[268,"Brewmaster","/honor-calc/monk/brewmaster",,{tinyIcon:"spell_monk_brewmaster_spec"}],[269,"Windwalker","/honor-calc/monk/windwalker",,{tinyIcon:"spell_monk_windwalker_spec"}],[270,"Mistweaver","/honor-calc/monk/mistweaver",,{tinyIcon:"spell_monk_mistweaver_spec"}]],{className:"c10",tinyIcon:"class_monk"}],[2,"Paladin",,[[65,"Holy","/honor-calc/paladin/holy",,{tinyIcon:"spell_holy_holybolt"}],[66,"Protection","/honor-calc/paladin/protection",,{tinyIcon:"ability_paladin_shieldofthetemplar"}],[70,"Retribution","/honor-calc/paladin/retribution",,{tinyIcon:"spell_holy_auraoflight"}]],{className:"c2",tinyIcon:"class_paladin"}],[5,"Priest",,[[256,"Discipline","/honor-calc/priest/discipline",,{tinyIcon:"spell_holy_powerwordshield"}],[257,"Holy","/honor-calc/priest/holy",,{tinyIcon:"spell_holy_guardianspirit"}],[258,"Shadow","/honor-calc/priest/shadow",,{tinyIcon:"spell_shadow_shadowwordpain"}]],{className:"c5",tinyIcon:"class_priest"}],[4,"Rogue",,[[260,"Outlaw","/honor-calc/rogue/outlaw",,{tinyIcon:"inv_sword_30"}],[259,"Assassination","/honor-calc/rogue/assassination",,{tinyIcon:"ability_rogue_eviscerate"}],[261,"Subtlety","/honor-calc/rogue/subtlety",,{tinyIcon:"ability_stealth"}]],{className:"c4",tinyIcon:"class_rogue"}],[7,"Shaman",,[[262,"Elemental","/honor-calc/shaman/elemental",,{tinyIcon:"spell_nature_lightning"}],[263,"Enhancement","/honor-calc/shaman/enhancement",,{tinyIcon:"spell_shaman_improvedstormstrike"}],[264,"Restoration","/honor-calc/shaman/restoration",,{tinyIcon:"spell_nature_magicimmunity"}]],{className:"c7",tinyIcon:"class_shaman"}],[9,"Warlock",,[[265,"Affliction","/honor-calc/warlock/affliction",,{tinyIcon:"spell_shadow_deathcoil"}],[266,"Demonology","/honor-calc/warlock/demonology",,{tinyIcon:"spell_shadow_metamorphosis"}],[267,"Destruction","/honor-calc/warlock/destruction",,{tinyIcon:"spell_shadow_rainoffire"}]],{className:"c9",tinyIcon:"class_warlock"}],[1,"Warrior",,[[71,"Arms","/honor-calc/warrior/arms",,{tinyIcon:"ability_warrior_savageblow"}],[72,"Fury","/honor-calc/warrior/fury",,{tinyIcon:"ability_warrior_innerrage"}],[73,"Protection","/honor-calc/warrior/protection",,{tinyIcon:"ability_warrior_defensivestance"}]],{className:"c1",tinyIcon:"class_warrior"}]]],[54,"Artifact Weapon Calculator","/artifact-calc"],[51,"Action Bar Simulator","/action-bars"],["characterHeader","Character",,,{heading:true}],[-10,"Guild Perks","/spells/guild-perks"],[-11,"Proficiencies","/spells/proficiencies",[[2,"Armor","/spells/proficiencies?filter=22;2;0",[[3,"Proficiencies","/spells/proficiencies?filter=22;3;0"],[4,"Specialization","/spells/proficiencies?filter=22;4;0"]]],[5,"Languages","/spells/proficiencies?filter=22;5;0"],[1,"Weapons","/spells/proficiencies?filter=22;1;0"]]],[-4,"Racial Traits","/racial-traits"],["petsHeader","Pets",,,{column:2,heading:true}],[-6,"Companions","/spells/companions"],[-5,"Mounts","/mount-spells",[[1,"Ground Mounts","/ground-mount-spells"],[2,"Flying Mounts","/flying-mount-spells"],[3,"Aquatic Mounts","/aquatic-mount-spells"]]],[-3,"Pet Abilities","/player-pet-abilities",[[6,"Death Knight","/death-knight-pet-abilities",[[782,"Ghoul","/ghoul-abilities",,{tinyIcon:"spell_shadow_animatedead"}]],{className:"c6",tinyIcon:"class_deathknight"}],[3,"Hunter","/hunter-pet-abilities",[[270,"Generic","/generic-hunter-pet-abilities"],[988,"Basilisk","/basilisk-abilities",,{tinyIcon:"inv_pet_ basilisk"}],[653,"Bat","/bat-abilities",,{tinyIcon:"Ability_Hunter_Pet_Bat"}],[210,"Bear","/bear-abilities",,{tinyIcon:"Ability_Hunter_Pet_Bear"}],[818,"Beetle","/beetle-abilities",,{tinyIcon:"inv_misc_ahnqirajtrinket_01"}],[655,"Bird of Prey","/bird-of-prey-abilities",,{tinyIcon:"Ability_Hunter_Pet_Owl"}],[211,"Boar","/boar-abilities",,{tinyIcon:"Ability_Hunter_Pet_Boar"}],[213,"Carrion Bird","/carrion-bird-abilities",,{tinyIcon:"Ability_Hunter_Pet_Vulture"}],[209,"Cat","/cat-abilities",,{tinyIcon:"Ability_Hunter_Pet_Cat"}],[780,"Chimaera","/chimaera-abilities",,{tinyIcon:"Ability_Hunter_Pet_Chimera"}],[786,"Clefthoof","/clefthoof-abilities",,{tinyIcon:"inv_clefthoofdraenormount_blue"}],[787,"Core Hound","/core-hound-abilities",,{tinyIcon:"Ability_Hunter_Pet_CoreHound"}],[214,"Crab","/crab-abilities",,{tinyIcon:"Ability_Hunter_Pet_Crab"}],[984,"Crane","/crane-abilities",,{tinyIcon:"inv_pet_crane"}],[212,"Crocolisk","/crocolisk-abilities",,{tinyIcon:"Ability_Hunter_Pet_Crocolisk"}],[781,"Devilsaur","/devilsaur-abilities",,{tinyIcon:"Ability_Hunter_Pet_Devilsaur"}],[1305,"Direhorn","/direhorn-abilities",,{tinyIcon:"inv_pet_direhorn"}],[811,"Dog","/dog-abilities",,{tinyIcon:"inv_pet_mastiff"}],[763,"Dragonhawk","/dragonhawk-abilities",,{tinyIcon:"Ability_Hunter_Pet_DragonHawk"}],[808,"Fox","/fox-abilities",,{tinyIcon:"ability_hunter_aspectofthefox"}],[987,"Goat","/goat-abilities",,{tinyIcon:"inv_pet_ goat"}],[215,"Gorilla","/gorilla-abilities",,{tinyIcon:"Ability_Hunter_Pet_Gorilla"}],[824,"Hydra","/hydra-abilities",,{tinyIcon:"trade_archaeology_whitehydrafigurine"}],[654,"Hyena","/hyena-abilities",,{tinyIcon:"Ability_Hunter_Pet_Hyena"}],[2189,"Mechanical","/mechanical-abilities",,{tinyIcon:"ability_mount_mechastrider"}],[815,"Monkey","/monkey-abilities",,{tinyIcon:"inv_pet_monkey"}],[775,"Moth","/moth-abilities",,{tinyIcon:"Ability_Hunter_Pet_Moth"}],[764,"Nether Ray","/nether-ray-abilities",,{tinyIcon:"Ability_Hunter_Pet_NetherRay"}],[2279,"Oxen","/oxen-abilities",,{tinyIcon:"ability_mount_yakmount"}],[983,"Porcupine","/porcupine-abilities",,{tinyIcon:"inv_pet_porcupine"}],[986,"Quilen","/quilen-abilities",,{tinyIcon:"achievement_moguraid_01"}],[217,"Raptor","/raptor-abilities",,{tinyIcon:"Ability_Hunter_Pet_Raptor"}],[767,"Ravager","/ravager-abilities",,{tinyIcon:"Ability_Hunter_Pet_Ravager"}],[1819,"Riverbeast","/riverbeast-abilities",,{tinyIcon:"inv_hippo_green"}],[1818,"Rylak","/rylak-abilities",,{tinyIcon:"ability_mount_ironchimera"}],[2280,"Scalehide","/scalehide-abilities",,{tinyIcon:"inv_mushanbeastmount"}],[236,"Scorpid","/scorpid-abilities",,{tinyIcon:"Ability_Hunter_Pet_Scorpid"}],[768,"Serpent","/serpent-abilities",,{tinyIcon:"Spell_Nature_GuardianWard"}],[817,"Shale Spider","/shale-spider-abilities",,{tinyIcon:"inv_pet_ shalespider"}],[783,"Silithid","/silithid-abilities",,{tinyIcon:"Ability_Hunter_Pet_Silithid"}],[203,"Spider","/spider-abilities",,{tinyIcon:"Ability_Hunter_Pet_Spider"}],[788,"Spirit Beast","/spirit-beast-abilities",,{tinyIcon:"Ability_Druid_PrimalPrecision"}],[765,"Sporebat","/sporebat-abilities",,{tinyIcon:"Ability_Hunter_Pet_Sporebat"}],[1993,"Stag","/stag-abilities",,{tinyIcon:"inv_talbukdraenor_white"}],[218,"Tallstrider","/tallstrider-abilities",,{tinyIcon:"Ability_Hunter_Pet_TallStrider"}],[251,"Turtle","/turtle-abilities",,{tinyIcon:"Ability_Hunter_Pet_Turtle"}],[766,"Warp Stalker","/warp-stalker-abilities",,{tinyIcon:"Ability_Hunter_Pet_WarpStalker"}],[785,"Wasp","/wasp-abilities",,{tinyIcon:"Ability_Hunter_Pet_Wasp"}],[985,"Water Strider","/water-strider-abilities",,{tinyIcon:"inv_pet_waterstrider"}],[656,"Wind Serpent","/wind-serpent-abilities",,{tinyIcon:"Ability_Hunter_Pet_WindSerpent"}],[208,"Wolf","/wolf-abilities",,{tinyIcon:"Ability_Hunter_Pet_Wolf"}],[784,"Worm","/worm-abilities",,{tinyIcon:"Ability_Hunter_Pet_Worm"}]],{className:"c3",tinyIcon:"class_hunter"}],[7,"Shaman","/shaman-pet-abilities",[[963,"Earth Elemental","/earth-elemental-abilities",,{tinyIcon:"spell_nature_earthelemental_totem"}],[962,"Fire Elemental","/fire-elemental-abilities",,{tinyIcon:"spell_fire_elemental_totem"}],[1748,"Storm Elemental","/storm-elemental-abilities",,{tinyIcon:"spell_shaman_stormtotem"}]],{className:"c7",tinyIcon:"class_shaman"}],[9,"Warlock","/warlock-pet-abilities",[[761,"Felguard","/felguard-abilities",,{tinyIcon:"spell_shadow_summonfelguard"}],[189,"Felhunter","/felhunter-abilities",,{tinyIcon:"spell_shadow_summonfelhunter"}],[927,"Fel Imp","/fel-imp-abilities",,{tinyIcon:"spell_warlock_summonimpoutland"}],[188,"Imp","/imp-abilities",,{tinyIcon:"spell_shadow_summonimp"}],[930,"Observer","/observer-abilities",,{tinyIcon:"warlock_summon_-beholder"}],[929,"Shivarra","/shivarra-abilities",,{tinyIcon:"warlock_summon_-shivan"}],[205,"Succubus","/succubus-abilities",,{tinyIcon:"spell_shadow_summonsuccubus"}],[928,"Voidlord","/voidlord-abilities",,{tinyIcon:"warlock_summon_-voidlord"}],[204,"Voidwalker","/voidwalker-abilities",,{tinyIcon:"spell_shadow_summonvoidwalker"}],[931,"Wrathguard","/wrathguard-abilities",,{tinyIcon:"spell_warlock_summonwrathguard"}]],{className:"c9",tinyIcon:"class_warlock"}]]],[-7,"Pet Specialization","/hunter-pet-specialization-abilities",[[79,"Cunning","/cunning-pet-abilities",,{tinyIcon:"Ability_Hunter_CombatExperience"}],[74,"Ferocity","/ferocity-pet-abilities",,{tinyIcon:"Ability_Druid_Swipe"}],[81,"Tenacity","/tenacity-pet-abilities",,{tinyIcon:"Ability_Hunter_Pet_Bear"}]]],["skillsHeader","Professions & Skills",,,{heading:true}],[11,"Professions","/profession-spells",[[171,"Alchemy","/alchemy-spells",[[332,"Alchemy of Draenor","/alchemy-spells/alchemy-of-draenor",[[333,"Reagents and Research","/alchemy-spells/alchemy-of-draenor/reagents-and-research"],[334,"Flasks","/alchemy-spells/alchemy-of-draenor/flasks"],[335,"Potions and Elixirs","/alchemy-spells/alchemy-of-draenor/potions-and-elixirs"],[336,"Trinkets and Trinket Upgrades","/alchemy-spells/alchemy-of-draenor/trinkets-and-trinket-upgrades"],[423,"Transmutation","/alchemy-spells/alchemy-of-draenor/transmutation"]]],[337,"Ancient Alchemical Recipes","/alchemy-spells/ancient-alchemical-recipes",[[134,"Potions","/alchemy-spells/ancient-alchemical-recipes/potions"],[135,"Elixirs","/alchemy-spells/ancient-alchemical-recipes/elixirs"],[136,"Flasks","/alchemy-spells/ancient-alchemical-recipes/flasks"],[137,"Transmutation","/alchemy-spells/ancient-alchemical-recipes/transmutation"],[138,"Trinkets","/alchemy-spells/ancient-alchemical-recipes/trinkets"],[139,"Oils","/alchemy-spells/ancient-alchemical-recipes/oils"],[140,"Research","/alchemy-spells/ancient-alchemical-recipes/research"],[141,"Materials","/alchemy-spells/ancient-alchemical-recipes/materials"],[142,"Cauldrons","/alchemy-spells/ancient-alchemical-recipes/cauldrons"],[143,"Special","/alchemy-spells/ancient-alchemical-recipes/special"],[144,"Mounts","/alchemy-spells/ancient-alchemical-recipes/mounts"]]],[433,"Alchemy of the Broken Isles","/alchemy-spells/alchemy-of-the-broken-isles",[[434,"Combat Potions","/alchemy-spells/alchemy-of-the-broken-isles/combat-potions"],[435,"Flasks","/alchemy-spells/alchemy-of-the-broken-isles/flasks"],[436,"Transmutation","/alchemy-spells/alchemy-of-the-broken-isles/transmutation"],[437,"Utility Potions","/alchemy-spells/alchemy-of-the-broken-isles/utility-potions"],[438,"Trinkets","/alchemy-spells/alchemy-of-the-broken-isles/trinkets"],[439,"Cauldrons","/alchemy-spells/alchemy-of-the-broken-isles/cauldrons"]]]],{tinyIcon:"trade_alchemy"}],[164,"Blacksmithing","/blacksmithing-spells",[[389,"Draenor Plans","/blacksmithing-spells/draenor-plans",[[390,"Reagents and Research","/blacksmithing-spells/draenor-plans/reagents-and-research"],[391,"Item Enhancers","/blacksmithing-spells/draenor-plans/item-enhancers"],[392,"Armor","/blacksmithing-spells/draenor-plans/armor"],[393,"Weapons and Shields","/blacksmithing-spells/draenor-plans/weapons-and-shields"],[394,"Other","/blacksmithing-spells/draenor-plans/other"]]],[395,"Antique Plans","/blacksmithing-spells/antique-plans",[[215,"Materials","/blacksmithing-spells/antique-plans/materials"],[216,"Weapon Mods","/blacksmithing-spells/antique-plans/weapon-mods"],[217,"Armor Mods","/blacksmithing-spells/antique-plans/armor-mods"],[218,"Helms","/blacksmithing-spells/antique-plans/helms"],[219,"Shoulders","/blacksmithing-spells/antique-plans/shoulders"],[220,"Chest","/blacksmithing-spells/antique-plans/chest"],[221,"Gauntlets","/blacksmithing-spells/antique-plans/gauntlets"],[222,"Bracers","/blacksmithing-spells/antique-plans/bracers"],[223,"Belts","/blacksmithing-spells/antique-plans/belts"],[224,"Legs","/blacksmithing-spells/antique-plans/legs"],[225,"Boots","/blacksmithing-spells/antique-plans/boots"],[226,"Shields","/blacksmithing-spells/antique-plans/shields"],[227,"Weapons","/blacksmithing-spells/antique-plans/weapons"],[228,"Skeleton Keys","/blacksmithing-spells/antique-plans/skeleton-keys"],[229,"Socket","/blacksmithing-spells/antique-plans/socket"],[297,"Training Projects","/blacksmithing-spells/antique-plans/training-projects"]]],[424,"Training","/blacksmithing-spells/training"],[426,"Legion Plans","/blacksmithing-spells/legion-plans",[[427,"Armor","/blacksmithing-spells/legion-plans/armor"],[428,"Other","/blacksmithing-spells/legion-plans/other"],[429,"Reagents","/blacksmithing-spells/legion-plans/reagents"],[488,"Relics","/blacksmithing-spells/legion-plans/relics"]]]],{tinyIcon:"trade_blacksmithing"}],[333,"Enchanting","/enchanting-spells",[[348,"Draenor Enchanting","/enchanting-spells/draenor-enchanting",[[349,"Cloak","/enchanting-spells/draenor-enchanting/cloak"],[350,"Neck","/enchanting-spells/draenor-enchanting/neck"],[351,"Ring","/enchanting-spells/draenor-enchanting/ring"],[352,"Weapon","/enchanting-spells/draenor-enchanting/weapon"],[354,"Other","/enchanting-spells/draenor-enchanting/other"],[409,"Reagents and Research","/enchanting-spells/draenor-enchanting/reagents-and-research"],[501,"Illusions","/enchanting-spells/draenor-enchanting/illusions"]]],[353,"Enchants of Old","/enchanting-spells/enchants-of-old",[[46,"Disenchant","/enchanting-spells/enchants-of-old/disenchant"],[47,"Boots","/enchanting-spells/enchants-of-old/boots"],[48,"Gloves","/enchanting-spells/enchants-of-old/gloves"],[49,"Chest","/enchanting-spells/enchants-of-old/chest"],[50,"Upgrade","/enchanting-spells/enchants-of-old/upgrade"],[51,"Pandaria","/enchanting-spells/enchants-of-old/pandaria"],[52,"Cloak","/enchanting-spells/enchants-of-old/cloak"],[53,"Ring","/enchanting-spells/enchants-of-old/ring"],[54,"Shields and Off-Hands","/enchanting-spells/enchants-of-old/shields-and-off-hands"],[55,"Bracers","/enchanting-spells/enchants-of-old/bracers"],[56,"2H Weapons","/enchanting-spells/enchants-of-old/2h-weapons"],[57,"Weapons","/enchanting-spells/enchants-of-old/weapons"],[152,"Rods","/enchanting-spells/enchants-of-old/rods"],[153,"Wands","/enchanting-spells/enchants-of-old/wands"],[154,"Oils","/enchanting-spells/enchants-of-old/oils"],[155,"Odds & Ends","/enchanting-spells/enchants-of-old/odds-and-ends"],[156,"Pets","/enchanting-spells/enchants-of-old/pets"],[157,"Materials","/enchanting-spells/enchants-of-old/materials"],[500,"Illusions","/enchanting-spells/enchants-of-old/illusions"]]],[399,"Illusions","/enchanting-spells/illusions"],[404,"Removal","/enchanting-spells/removal"],[443,"Legion Enchanting","/enchanting-spells/legion-enchanting",[[444,"Neck Enchantments","/enchanting-spells/legion-enchanting/neck-enchantments"],[445,"Ring Enchantments","/enchanting-spells/legion-enchanting/ring-enchantments"],[446,"Cloak Enchantments","/enchanting-spells/legion-enchanting/cloak-enchantments"],[447,"Shoulder Enchantments","/enchanting-spells/legion-enchanting/shoulder-enchantments"],[448,"Glove Enchantments","/enchanting-spells/legion-enchanting/glove-enchantments"],[449,"Toys, Pets, and Mounts","/enchanting-spells/legion-enchanting/toys-pets-and-mounts"],[490,"Relics","/enchanting-spells/legion-enchanting/relics"],[506,"Disenchant","/enchanting-spells/legion-enchanting/disenchant"]]]],{tinyIcon:"trade_engraving"}],[202,"Engineering","/engineering-spells",[[419,"Classic Engineering","/engineering-spells/classic-engineering",[[182,"Tinkers","/engineering-spells/classic-engineering/tinkers"],[183,"Parts","/engineering-spells/classic-engineering/parts"],[184,"Explosives","/engineering-spells/classic-engineering/explosives"],[185,"Goggles","/engineering-spells/classic-engineering/goggles"],[186,"Armor, Wearable","/engineering-spells/classic-engineering/armor-wearable"],[187,"Armor, Trinkets","/engineering-spells/classic-engineering/armor-trinkets"],[188,"Devices","/engineering-spells/classic-engineering/devices"],[189,"Guns & Bows","/engineering-spells/classic-engineering/guns-and-bows"],[190,"Scopes","/engineering-spells/classic-engineering/scopes"],[191,"Tools","/engineering-spells/classic-engineering/tools"],[192,"Mounts","/engineering-spells/classic-engineering/mounts"],[193,"Cogwheels","/engineering-spells/classic-engineering/cogwheels"],[194,"Fireworks","/engineering-spells/classic-engineering/fireworks"],[195,"Fishing","/engineering-spells/classic-engineering/fishing"],[196,"Robotics","/engineering-spells/classic-engineering/robotics"],[197,"Travel","/engineering-spells/classic-engineering/travel"],[198,"Belt","/engineering-spells/classic-engineering/belt"],[199,"Gloves","/engineering-spells/classic-engineering/gloves"],[200,"Cloak","/engineering-spells/classic-engineering/cloak"],[201,"Lethal","/engineering-spells/classic-engineering/lethal"],[202,"Consumable","/engineering-spells/classic-engineering/consumable"],[203,"Utility","/engineering-spells/classic-engineering/utility"],[204,"Powered Armor","/engineering-spells/classic-engineering/powered-armor"],[347,"Draenor Engineering","/engineering-spells/classic-engineering/draenor-engineering"]]],[469,"Legion Engineering","/engineering-spells/legion-engineering",[[470,"Goggles","/engineering-spells/legion-engineering/goggles"],[471,"Combat Tools","/engineering-spells/legion-engineering/combat-tools"],[472,"Devices","/engineering-spells/legion-engineering/devices"],[473,"Toys, Pets, and Doohickeys","/engineering-spells/legion-engineering/toys-pets-and-doohickeys"],[474,"Robotics","/engineering-spells/legion-engineering/robotics"],[489,"Relics","/engineering-spells/legion-engineering/relics"]]],[20219,"Gnomish Engineer","/engineering-spells/gnomish-engineer"],[20222,"Goblin Engineer","/engineering-spells/goblin-engineer"]],{tinyIcon:"trade_engineering"}],[182,"Herbalism","/herbalism-spells",[[456,"Legion Herbalism","/herbalism-spells/legion-herbalism"]],{tinyIcon:"spell_nature_naturetouchgrow"}],[773,"Inscription","/inscription-spells",[[403,"Merchant Orders","/inscription-spells/merchant-orders"],[410,"Draenor Inscription","/inscription-spells/draenor-inscription",[[361,"Item Enhancers","/inscription-spells/draenor-inscription/item-enhancers"],[411,"Staves & Wands","/inscription-spells/draenor-inscription/staves-and-wands"],[412,"Card","/inscription-spells/draenor-inscription/card"],[413,"Off-hand","/inscription-spells/draenor-inscription/off-hand"],[414,"Reagents and Research","/inscription-spells/draenor-inscription/reagents-and-research"],[420,"Tools","/inscription-spells/draenor-inscription/tools"],[440,"Mass Milling","/inscription-spells/draenor-inscription/mass-milling"]]],[415,"Ancient Inscriptions","/inscription-spells/ancient-inscriptions",[[91,"Glyph - Death Knight","/inscription-spells/ancient-inscriptions/glyph-death-knight"],[92,"Glyph - Mage","/inscription-spells/ancient-inscriptions/glyph-mage"],[93,"Glyph - Priest","/inscription-spells/ancient-inscriptions/glyph-priest"],[94,"Glyph - Warlock","/inscription-spells/ancient-inscriptions/glyph-warlock"],[95,"Glyph - Druid","/inscription-spells/ancient-inscriptions/glyph-druid"],[96,"Glyph - Monk","/inscription-spells/ancient-inscriptions/glyph-monk"],[97,"Glyph - Rogue","/inscription-spells/ancient-inscriptions/glyph-rogue"],[98,"Glyph - Hunter","/inscription-spells/ancient-inscriptions/glyph-hunter"],[99,"Glyph - Shaman","/inscription-spells/ancient-inscriptions/glyph-shaman"],[100,"Glyph - Paladin","/inscription-spells/ancient-inscriptions/glyph-paladin"],[101,"Glyph - Warrior","/inscription-spells/ancient-inscriptions/glyph-warrior"],[102,"Staves & Wands","/inscription-spells/ancient-inscriptions/staves-and-wands"],[103,"Off-hand","/inscription-spells/ancient-inscriptions/off-hand"],[104,"Ink","/inscription-spells/ancient-inscriptions/ink"],[105,"Clear Mind","/inscription-spells/ancient-inscriptions/clear-mind"],[106,"Card","/inscription-spells/ancient-inscriptions/card"],[107,"Attribute Enhancement","/inscription-spells/ancient-inscriptions/attribute-enhancement"],[108,"Research","/inscription-spells/ancient-inscriptions/research"],[113,"Glyph","/inscription-spells/ancient-inscriptions/glyph"],[114,"Other","/inscription-spells/ancient-inscriptions/other"],[115,"Quest","/inscription-spells/ancient-inscriptions/quest"],[116,"Crafts","/inscription-spells/ancient-inscriptions/crafts"],[117,"Teleportation","/inscription-spells/ancient-inscriptions/teleportation"],[118,"Material","/inscription-spells/ancient-inscriptions/material"],[119,"Shoulder Inscription","/inscription-spells/ancient-inscriptions/shoulder-inscription"],[127,"Self-Only","/inscription-spells/ancient-inscriptions/self-only"],[128,"Bind on Equip","/inscription-spells/ancient-inscriptions/bind-on-equip"],[129,"Bind to Account","/inscription-spells/ancient-inscriptions/bind-to-account"],[130,"Bind on Use","/inscription-spells/ancient-inscriptions/bind-on-use"],[131,"Bind on Pick Up","/inscription-spells/ancient-inscriptions/bind-on-pick-up"],[455,"Glyph - Demon Hunter","/inscription-spells/ancient-inscriptions/glyph-demon-hunter"],[509,"Pets","/inscription-spells/ancient-inscriptions/pets"]]],[450,"Legion Inscription","/inscription-spells/legion-inscription",[[451,"Cards","/inscription-spells/legion-inscription/cards"],[453,"Vantus Runes","/inscription-spells/legion-inscription/vantus-runes"],[454,"Books & Scrolls","/inscription-spells/legion-inscription/books-and-scrolls"],[491,"Relics","/inscription-spells/legion-inscription/relics"],[492,"Mass Milling","/inscription-spells/legion-inscription/mass-milling"]]]],{tinyIcon:"inv_inscription_tradeskill01"}],[755,"Jewelcrafting","/jewelcrafting-spells",[[372,"Antique Designs","/jewelcrafting-spells/antique-designs",[[164,"Blue Gems","/jewelcrafting-spells/antique-designs/blue-gems"],[165,"Fist Weapons","/jewelcrafting-spells/antique-designs/fist-weapons"],[166,"Green Gems","/jewelcrafting-spells/antique-designs/green-gems"],[167,"Crowns","/jewelcrafting-spells/antique-designs/crowns"],[168,"Materials","/jewelcrafting-spells/antique-designs/materials"],[169,"Meta Gems","/jewelcrafting-spells/antique-designs/meta-gems"],[170,"Mounts","/jewelcrafting-spells/antique-designs/mounts"],[171,"Necklaces","/jewelcrafting-spells/antique-designs/necklaces"],[172,"Orange Gems","/jewelcrafting-spells/antique-designs/orange-gems"],[173,"Prismatic Gems","/jewelcrafting-spells/antique-designs/prismatic-gems"],[174,"Purple Gems","/jewelcrafting-spells/antique-designs/purple-gems"],[175,"Red Gems","/jewelcrafting-spells/antique-designs/red-gems"],[176,"Rings","/jewelcrafting-spells/antique-designs/rings"],[177,"Prisms","/jewelcrafting-spells/antique-designs/prisms"],[178,"Statues","/jewelcrafting-spells/antique-designs/statues"],[179,"Pets and Projects","/jewelcrafting-spells/antique-designs/pets-and-projects"],[180,"Trinkets","/jewelcrafting-spells/antique-designs/trinkets"],[181,"Yellow Gems","/jewelcrafting-spells/antique-designs/yellow-gems"],[214,"Research","/jewelcrafting-spells/antique-designs/research"]]],[373,"Draenor Designs","/jewelcrafting-spells/draenor-designs",[[374,"Reagents and Research","/jewelcrafting-spells/draenor-designs/reagents-and-research"],[375,"Jewelry Enhancers","/jewelcrafting-spells/draenor-designs/jewelry-enhancers"],[376,"Jewelry","/jewelcrafting-spells/draenor-designs/jewelry"],[377,"Gems","/jewelcrafting-spells/draenor-designs/gems"],[378,"Other","/jewelcrafting-spells/draenor-designs/other"]]],[464,"Legion Designs","/jewelcrafting-spells/legion-designs",[[465,"Rings","/jewelcrafting-spells/legion-designs/rings"],[466,"Gems","/jewelcrafting-spells/legion-designs/gems"],[467,"Other","/jewelcrafting-spells/legion-designs/other"],[505,"Mass Prospecting","/jewelcrafting-spells/legion-designs/mass-prospecting"],[507,"Necklaces","/jewelcrafting-spells/legion-designs/necklaces"]]]],{tinyIcon:"inv_misc_gem_01"}],[165,"Leatherworking","/leatherworking-spells",[[379,"Antique Patterns","/leatherworking-spells/antique-patterns",[[60,"Leg Armor, Tier 1","/leatherworking-spells/antique-patterns/leg-armor-tier-1"],[61,"Leg Armor, Tier 2","/leatherworking-spells/antique-patterns/leg-armor-tier-2"],[76,"Basic","/leatherworking-spells/antique-patterns/basic"],[247,"Materials","/leatherworking-spells/antique-patterns/materials"],[248,"Embossments","/leatherworking-spells/antique-patterns/embossments"],[249,"Armor Kits","/leatherworking-spells/antique-patterns/armor-kits"],[250,"Bags","/leatherworking-spells/antique-patterns/bags"],[251,"Helms","/leatherworking-spells/antique-patterns/helms"],[252,"Shoulders","/leatherworking-spells/antique-patterns/shoulders"],[253,"Chest","/leatherworking-spells/antique-patterns/chest"],[254,"Bracers","/leatherworking-spells/antique-patterns/bracers"],[255,"Gloves","/leatherworking-spells/antique-patterns/gloves"],[256,"Belts","/leatherworking-spells/antique-patterns/belts"],[257,"Pants","/leatherworking-spells/antique-patterns/pants"],[258,"Boots","/leatherworking-spells/antique-patterns/boots"],[259,"Cloaks","/leatherworking-spells/antique-patterns/cloaks"],[260,"Special","/leatherworking-spells/antique-patterns/special"],[261,"Drums","/leatherworking-spells/antique-patterns/drums"],[296,"Research","/leatherworking-spells/antique-patterns/research"]]],[380,"Draenor Patterns","/leatherworking-spells/draenor-patterns",[[381,"Reagents and Research","/leatherworking-spells/draenor-patterns/reagents-and-research"],[382,"Leather Armor","/leatherworking-spells/draenor-patterns/leather-armor"],[383,"Mail Armor","/leatherworking-spells/draenor-patterns/mail-armor"],[384,"Armor Enhancers","/leatherworking-spells/draenor-patterns/armor-enhancers"],[385,"Cloaks","/leatherworking-spells/draenor-patterns/cloaks"],[386,"Bags","/leatherworking-spells/draenor-patterns/bags"],[388,"Other","/leatherworking-spells/draenor-patterns/other"],[402,"Tents","/leatherworking-spells/draenor-patterns/tents"]]],[460,"Legion Patterns","/leatherworking-spells/legion-patterns",[[461,"Leather Armor","/leatherworking-spells/legion-patterns/leather-armor"],[462,"Mail Armor","/leatherworking-spells/legion-patterns/mail-armor"],[463,"Other","/leatherworking-spells/legion-patterns/other"]]],[468,"Training","/leatherworking-spells/training",[[484,"Material Preparation","/leatherworking-spells/training/material-preparation"],[485,"Tanning","/leatherworking-spells/training/tanning"],[486,"Shaping","/leatherworking-spells/training/shaping"],[487,"Stitching","/leatherworking-spells/training/stitching"]]]],{tinyIcon:"inv_misc_armorkit_17"}],[186,"Mining","/mining-spells",[[264,"Smelting","/mining-spells/smelting"],[265,"Elemental","/mining-spells/elemental"],[425,"Legion Mining","/mining-spells/legion-mining"]],{tinyIcon:"trade_mining"}],[393,"Skinning","/skinning-spells",[[459,"Legion Skinning","/skinning-spells/legion-skinning"]],{tinyIcon:"inv_misc_pelt_wolf_01"}],[197,"Tailoring","/tailoring-spells",[[362,"Antique Patterns","/tailoring-spells/antique-patterns",[[81,"Self-Only Enchantments","/tailoring-spells/antique-patterns/self-only-enchantments"],[84,"Other","/tailoring-spells/antique-patterns/other"],[230,"Materials","/tailoring-spells/antique-patterns/materials"],[231,"Embroidery","/tailoring-spells/antique-patterns/embroidery"],[232,"Spellthreads","/tailoring-spells/antique-patterns/spellthreads"],[233,"Bags","/tailoring-spells/antique-patterns/bags"],[234,"Hats & Hoods","/tailoring-spells/antique-patterns/hats-and-hoods"],[235,"Shoulders","/tailoring-spells/antique-patterns/shoulders"],[236,"Robes & Tunics","/tailoring-spells/antique-patterns/robes-and-tunics"],[237,"Bracers","/tailoring-spells/antique-patterns/bracers"],[238,"Belts","/tailoring-spells/antique-patterns/belts"],[239,"Gloves","/tailoring-spells/antique-patterns/gloves"],[240,"Pants","/tailoring-spells/antique-patterns/pants"],[241,"Boots","/tailoring-spells/antique-patterns/boots"],[242,"Cloaks","/tailoring-spells/antique-patterns/cloaks"],[243,"Shirts","/tailoring-spells/antique-patterns/shirts"],[244,"Mounts","/tailoring-spells/antique-patterns/mounts"],[245,"Nets","/tailoring-spells/antique-patterns/nets"],[246,"Special","/tailoring-spells/antique-patterns/special"]]],[369,"Draenor Patterns","/tailoring-spells/draenor-patterns",[[363,"Armor","/tailoring-spells/draenor-patterns/armor"],[364,"Dyes and Thread","/tailoring-spells/draenor-patterns/dyes-and-thread"],[365,"Bags","/tailoring-spells/draenor-patterns/bags"],[366,"Reagents and Research","/tailoring-spells/draenor-patterns/reagents-and-research"],[367,"Other","/tailoring-spells/draenor-patterns/other"],[368,"Cloaks","/tailoring-spells/draenor-patterns/cloaks"],[400,"Battle Standards","/tailoring-spells/draenor-patterns/battle-standards"],[401,"Other","/tailoring-spells/draenor-patterns/other"]]],[430,"Legion Patterns","/tailoring-spells/legion-patterns",[[431,"Cloaks","/tailoring-spells/legion-patterns/cloaks"],[495,"Cloth Armor","/tailoring-spells/legion-patterns/cloth-armor"],[496,"Reagents","/tailoring-spells/legion-patterns/reagents"],[497,"Other","/tailoring-spells/legion-patterns/other"]]],[432,"Training","/tailoring-spells/training"]],{tinyIcon:"trade_tailoring"}]]],[9,"Secondary Skills","/secondary-skill-spells",[[794,"Archaeology","/archaeology-projects",,{tinyIcon:"inv_misc_rune_06"}],[185,"Cooking","/cooking-recipe-spells",[[58,"Holiday Cooking","/cooking-recipe-spells/holiday-cooking",[[59,"Wintersveil","/cooking-recipe-spells/holiday-cooking/wintersveil"]]],[70,"Unusual Delights","/cooking-recipe-spells/unusual-delights"],[71,"Cooking with Feeling","/cooking-recipe-spells/cooking-with-feeling"],[72,"Old World Recipes","/cooking-recipe-spells/old-world-recipes"],[73,"Outlandish Dishes","/cooking-recipe-spells/outlandish-dishes"],[74,"Recipes of the Cold North","/cooking-recipe-spells/recipes-of-the-cold-north"],[75,"Cataclysm Recipes","/cooking-recipe-spells/cataclysm-recipes"],[90,"Pandaren Cuisine","/cooking-recipe-spells/pandaren-cuisine",[[63,"Everyday Cooking","/cooking-recipe-spells/pandaren-cuisine/everyday-cooking"],[64,"Way of the Grill","/cooking-recipe-spells/pandaren-cuisine/way-of-the-grill"],[65,"Way of the Wok","/cooking-recipe-spells/pandaren-cuisine/way-of-the-wok"],[66,"Way of the Pot","/cooking-recipe-spells/pandaren-cuisine/way-of-the-pot"],[67,"Way of the Steamer","/cooking-recipe-spells/pandaren-cuisine/way-of-the-steamer"],[68,"Way of the Oven","/cooking-recipe-spells/pandaren-cuisine/way-of-the-oven"],[69,"Way of the Brew","/cooking-recipe-spells/pandaren-cuisine/way-of-the-brew"]]],[342,"Food of Draenor","/cooking-recipe-spells/food-of-draenor",[[343,"Meat Dishes","/cooking-recipe-spells/food-of-draenor/meat-dishes"],[344,"Fish Dishes","/cooking-recipe-spells/food-of-draenor/fish-dishes"],[345,"Feasts","/cooking-recipe-spells/food-of-draenor/feasts"],[346,"Delicacies","/cooking-recipe-spells/food-of-draenor/delicacies"]]],[475,"Food of the Broken Isles","/cooking-recipe-spells/food-of-the-broken-isles",[[476,"Snacks","/cooking-recipe-spells/food-of-the-broken-isles/snacks"],[477,"Light Meals","/cooking-recipe-spells/food-of-the-broken-isles/light-meals"],[478,"Large Meals","/cooking-recipe-spells/food-of-the-broken-isles/large-meals"],[479,"Delicacies","/cooking-recipe-spells/food-of-the-broken-isles/delicacies"],[480,"Feasts","/cooking-recipe-spells/food-of-the-broken-isles/feasts"]]]],{tinyIcon:"inv_misc_food_15"}],[129,"First Aid","/first-aid-spells",[[396,"Cures of Draenor","/first-aid-spells/cures-of-draenor"],[397,"Old Remedies","/first-aid-spells/old-remedies",[[150,"Bandages","/first-aid-spells/old-remedies/bandages"],[151,"Antidotes","/first-aid-spells/old-remedies/antidotes"]]],[481,"Cures of the Broken Isles","/first-aid-spells/cures-of-the-broken-isles"]],{tinyIcon:"spell_holy_sealofsacrifice"}],[356,"Fishing","/fishing-skill-ranks",,{tinyIcon:"trade_fishing"}],[762,"Riding","/riding-skill-ranks",,{tinyIcon:"spell_nature_swiftness"}]]],[-15,"Work Orders","/work-orders"],["otherHeader","Other",,,{heading:true}],[-8,"NPC Abilities","/npc-abilities"],[0,"Uncategorized","/uncategorized-spells"]];var mn_zones=[["continentsHeader","Continents",,,{column:1,heading:true}],[1,"Kalimdor","/kalimdor"],[0,"Eastern Kingdoms","/eastern-kingdoms"],[8,"Outland","/outland"],[10,"Northrend","/northrend"],[11,"The Maelstrom","/the-maelstrom"],[12,"Pandaria","/pandaria"],[13,"Draenor","/draenor"],[14,"The Broken Isles","/broken-isles"],["levelsHeader","Levels",,,{column:2,heading:true}],[100,"Levels %1$s–%2$s","/level-1-20-zones",[["azerothHeader","Azeroth",,,{heading:true}],[0,"Alliance","/level-1-20-alliance-zones",[[6456,"Ammen Vale","/ammen-vale",,{prefix:{"0":"%s - ",replacements:{"%s":" 1"}},tinyIcon:"side_alliance"}],[3524,"Azuremyst Isle","/azuremyst-isle",,{prefix:{"0":"%s - ",replacements:{"%s":" 1"}},tinyIcon:"side_alliance"}],[6176,"Coldridge Valley","/coldridge-valley",,{prefix:{"0":"%s - ",replacements:{"%s":" 1"}},tinyIcon:"side_alliance"}],[1,"Dun Morogh","/dun-morogh",,{prefix:{"0":"%s - ",replacements:{"%s":" 1"}},tinyIcon:"side_alliance"}],[12,"Elwynn Forest","/elwynn-forest",,{prefix:{"0":"%s - ",replacements:{"%s":" 1"}},tinyIcon:"side_alliance"}],[4714,"Gilneas","/gilneas",,{prefix:{"0":"%s - ",replacements:{"%s":" 1"}},tinyIcon:"side_alliance"}],[4755,"Gilneas City","/gilneas-city",,{prefix:{"0":"%s - ",replacements:{"%s":" 1"}},tinyIcon:"side_alliance"}],[6457,"New Tinkertown","/new-tinkertown",,{prefix:{"0":"%s - ",replacements:{"%s":" 1"}},tinyIcon:"side_alliance"}],[6170,"Northshire","/northshire",,{prefix:{"0":"%s - ",replacements:{"%s":" 1"}},tinyIcon:"side_alliance"}],[6450,"Shadowglen","/shadowglen",,{prefix:{"0":"%s - ",replacements:{"%s":" 1"}},tinyIcon:"side_alliance"}],[141,"Teldrassil","/teldrassil",,{prefix:{"0":"%s - ",replacements:{"%s":" 1"}},tinyIcon:"side_alliance"}],[3525,"Bloodmyst Isle","/bloodmyst-isle",,{prefix:{"0":"%s - ",replacements:{"%s":" 10"}},tinyIcon:"side_alliance"}],[148,"Darkshore","/darkshore",,{prefix:{"0":"%s - ",replacements:{"%s":" 10"}},tinyIcon:"side_alliance"}],[38,"Loch Modan","/loch-modan",,{prefix:{"0":"%s - ",replacements:{"%s":" 10"}},tinyIcon:"side_alliance"}],[40,"Westfall","/westfall",,{prefix:{"0":"%s - ",replacements:{"%s":" 10"}},tinyIcon:"side_alliance"}],[4706,"Ruins of Gilneas","/ruins-of-gilneas",,{prefix:{"0":"%s - ",replacements:{"%s":" 14"}},tinyIcon:"side_alliance"}],[44,"Redridge Mountains","/redridge-mountains",,{prefix:{"0":"%s - ",replacements:{"%s":" 15"}},tinyIcon:"side_alliance"}],[10,"Duskwood","/duskwood",,{prefix:{"0":"%s - ",replacements:{"%s":" 20"}},tinyIcon:"side_alliance"}],[11,"Wetlands","/wetlands",,{prefix:{"0":"%s - ",replacements:{"%s":" 20"}},tinyIcon:"side_alliance"}]]],[1,"Horde","/level-1-20-horde-zones",[[6452,"Camp Narache","/camp-narache",,{prefix:{"0":"%s - ",replacements:{"%s":" 1"}},tinyIcon:"side_horde"}],[6454,"Deathknell","/deathknell",,{prefix:{"0":"%s - ",replacements:{"%s":" 1"}},tinyIcon:"side_horde"}],[14,"Durotar","/durotar",,{prefix:{"0":"%s - ",replacements:{"%s":" 1"}},tinyIcon:"side_horde"}],[6453,"Echo Isles","/echo-isles",,{prefix:{"0":"%s - ",replacements:{"%s":" 1"}},tinyIcon:"side_horde"}],[3430,"Eversong Woods","/eversong-woods",,{prefix:{"0":"%s - ",replacements:{"%s":" 1"}},tinyIcon:"side_horde"}],[4737,"Kezan","/kezan",,{prefix:{"0":"%s - ",replacements:{"%s":" 1"}},tinyIcon:"side_horde"}],[215,"Mulgore","/mulgore",,{prefix:{"0":"%s - ",replacements:{"%s":" 1"}},tinyIcon:"side_horde"}],[6455,"Sunstrider Isle","/sunstrider-isle",,{prefix:{"0":"%s - ",replacements:{"%s":" 1"}},tinyIcon:"side_horde"}],[4720,"The Lost Isles","/the-lost-isles",,{prefix:{"0":"%s - ",replacements:{"%s":" 1"}},tinyIcon:"side_horde"}],[85,"Tirisfal Glades","/tirisfal-glades",,{prefix:{"0":"%s - ",replacements:{"%s":" 1"}},tinyIcon:"side_horde"}],[6451,"Valley of Trials","/valley-of-trials",,{prefix:{"0":"%s - ",replacements:{"%s":" 1"}},tinyIcon:"side_horde"}],[16,"Azshara","/azshara",,{prefix:{"0":"%s - ",replacements:{"%s":" 10"}},tinyIcon:"side_horde"}],[3433,"Ghostlands","/ghostlands",,{prefix:{"0":"%s - ",replacements:{"%s":" 10"}},tinyIcon:"side_horde"}],[17,"Northern Barrens","/northern-barrens",,{prefix:{"0":"%s - ",replacements:{"%s":" 10"}},tinyIcon:"side_horde"}],[130,"Silverpine Forest","/silverpine-forest",,{prefix:{"0":"%s - ",replacements:{"%s":" 10"}},tinyIcon:"side_horde"}],[267,"Hillsbrad Foothills","/hillsbrad-foothills",,{prefix:{"0":"%s - ",replacements:{"%s":" 20"}},tinyIcon:"side_horde"}]]],[5736,"The Wandering Isle","/the-wandering-isle",,{prefix:{"0":"%s - ",replacements:{"%s":" 1"}}}],[493,"Moonglade","/moonglade",,{prefix:{"0":"%s - ",replacements:{"%s":" 15"}}}],[331,"Ashenvale","/ashenvale",,{prefix:{"0":"%s - ",replacements:{"%s":" 20"}}}],[6419,"Peak of Serenity","/peak-of-serenity",,{prefix:{"0":"%s - ",replacements:{"%s":" 20"}}}],["instancesHeader","Instances",,,{heading:true}],[-1,"Dungeons","/level-1-20-dungeons",[[2437,"Ragefire Chasm","/ragefire-chasm",,{prefix:{"0":"%s - ",replacements:{"%s":" 15"}},tinyIcon:"side_horde"}],[1581,"The Deadmines","/the-deadmines",,{prefix:{"0":"%s - ",replacements:{"%s":" 15"}},tinyIcon:"side_alliance"}],[718,"Wailing Caverns","/wailing-caverns",,{prefix:{"0":"%s - ",replacements:{"%s":" 17"}},tinyIcon:"side_horde"}],[209,"Shadowfang Keep","/shadowfang-keep",,{prefix:{"0":"%s - ",replacements:{"%s":" 18"}},tinyIcon:"side_horde"}]]]],{replacements:{"%1$s":1,"%2$s":20}}],[101,"Levels %1$s–%2$s","/level-21-40-zones",[["azerothHeader","Azeroth",,,{heading:true}],[331,"Ashenvale","/ashenvale",,{prefix:{"0":"%s - ",replacements:{"%s":" 20"}}}],[10,"Duskwood","/duskwood",,{prefix:{"0":"%s - ",replacements:{"%s":" 20"}},tinyIcon:"side_alliance"}],[267,"Hillsbrad Foothills","/hillsbrad-foothills",,{prefix:{"0":"%s - ",replacements:{"%s":" 20"}},tinyIcon:"side_horde"}],[11,"Wetlands","/wetlands",,{prefix:{"0":"%s - ",replacements:{"%s":" 20"}},tinyIcon:"side_alliance"}],[36,"Alterac Mountains","/alterac-mountains",,{prefix:{"0":"%s - ",replacements:{"%s":" 25"}}}],[45,"Arathi Highlands","/arathi-highlands",,{prefix:{"0":"%s - ",replacements:{"%s":" 25"}}}],[33,"Northern Stranglethorn","/northern-stranglethorn",,{prefix:{"0":"%s - ",replacements:{"%s":" 25"}}}],[406,"Stonetalon Mountains","/stonetalon-mountains",,{prefix:{"0":"%s - ",replacements:{"%s":" 25"}}}],[405,"Desolace","/desolace",,{prefix:{"0":"%s - ",replacements:{"%s":" 30"}}}],[4709,"Southern Barrens","/southern-barrens",,{prefix:{"0":"%s - ",replacements:{"%s":" 30"}}}],[5339,"Stranglethorn Vale","/stranglethorn-vale",,{prefix:{"0":"%s - ",replacements:{"%s":" 30"}}}],[5287,"The Cape of Stranglethorn","/the-cape-of-stranglethorn",,{prefix:{"0":"%s - ",replacements:{"%s":" 30"}}}],[47,"The Hinterlands","/the-hinterlands",,{prefix:{"0":"%s - ",replacements:{"%s":" 30"}}}],[15,"Dustwallow Marsh","/dustwallow-marsh",,{prefix:{"0":"%s - ",replacements:{"%s":" 35"}}}],[357,"Feralas","/feralas",,{prefix:{"0":"%s - ",replacements:{"%s":" 35"}}}],[28,"Western Plaguelands","/western-plaguelands",,{prefix:{"0":"%s - ",replacements:{"%s":" 35"}}}],[139,"Eastern Plaguelands","/eastern-plaguelands",,{prefix:{"0":"%s - ",replacements:{"%s":" 40"}}}],[400,"Thousand Needles","/thousand-needles",,{prefix:{"0":"%s - ",replacements:{"%s":" 40"}}}],["instancesHeader","Instances",,,{heading:true}],[-1,"Dungeons","/level-21-40-dungeons",[[209,"Shadowfang Keep","/shadowfang-keep",,{prefix:{"0":"%s - ",replacements:{"%s":" 18"}},tinyIcon:"side_horde"}],[719,"Blackfathom Deeps","/blackfathom-deeps",,{prefix:{"0":"%s - ",replacements:{"%s":" 22"}}}],[717,"The Stockade","/the-stockade",,{prefix:{"0":"%s - ",replacements:{"%s":" 22"}},tinyIcon:"side_alliance"}],[721,"Gnomeregan","/gnomeregan",,{prefix:{"0":"%s - ",replacements:{"%s":" 26"}},tinyIcon:"side_alliance"}],[6052,"Scarlet Halls","/scarlet-halls",,{prefix:{"0":"%s - ",replacements:{"%s":" 28"}}}],[6109,"Scarlet Monastery","/scarlet-monastery",,{prefix:{"0":"%s - ",replacements:{"%s":" 30"}}}],[2100,"Maraudon","/maraudon",,{prefix:{"0":"%s - ",replacements:{"%s":" 32"}}}],[491,"Razorfen Kraul","/razorfen-kraul",,{prefix:{"0":"%s - ",replacements:{"%s":" 32"}},tinyIcon:"side_horde"}],[1337,"Uldaman","/uldaman",,{prefix:{"0":"%s - ",replacements:{"%s":" 37"}}}],[2557,"Dire Maul","/dire-maul",,{prefix:{"0":"%s - ",replacements:{"%s":" 38"}}}],[6066,"Scholomance","/scholomance",,{prefix:{"0":"%s - ",replacements:{"%s":" 40"}}}]]]],{replacements:{"%1$s":21,"%2$s":40}}],[102,"Levels %1$s–%2$s","/level-41-60-zones",[["azerothHeader","Azeroth",,,{heading:true}],[5339,"Stranglethorn Vale","/stranglethorn-vale",,{prefix:{"0":"%s - ",replacements:{"%s":" 30"}}}],[139,"Eastern Plaguelands","/eastern-plaguelands",,{prefix:{"0":"%s - ",replacements:{"%s":" 40"}}}],[400,"Thousand Needles","/thousand-needles",,{prefix:{"0":"%s - ",replacements:{"%s":" 40"}}}],[3,"Badlands","/badlands",,{prefix:{"0":"%s - ",replacements:{"%s":" 44"}}}],[361,"Felwood","/felwood",,{prefix:{"0":"%s - ",replacements:{"%s":" 45"}}}],[440,"Tanaris","/tanaris",,{prefix:{"0":"%s - ",replacements:{"%s":" 45"}}}],[51,"Searing Gorge","/searing-gorge",,{prefix:{"0":"%s - ",replacements:{"%s":" 47"}}}],[46,"Burning Steppes","/burning-steppes",,{prefix:{"0":"%s - ",replacements:{"%s":" 49"}}}],[25,"Blackrock Mountain","/blackrock-mountain",,{prefix:{"0":"%s - ",replacements:{"%s":" 50"}}}],[41,"Deadwind Pass","/deadwind-pass",,{prefix:{"0":"%s - ",replacements:{"%s":" 50"}}}],[490,"Un'Goro Crater","/ungoro-crater",,{prefix:{"0":"%s - ",replacements:{"%s":" 50"}}}],[618,"Winterspring","/winterspring",,{prefix:{"0":"%s - ",replacements:{"%s":" 50"}}}],[8,"Swamp of Sorrows","/swamp-of-sorrows",,{prefix:{"0":"%s - ",replacements:{"%s":" 51"}}}],[4,"Blasted Lands","/blasted-lands",,{prefix:{"0":"%s - ",replacements:{"%s":" 55"}}}],[4298,"Plaguelands: The Scarlet Enclave","/plaguelands-the-scarlet-enclave",,{prefix:{"0":"%s - ",replacements:{"%s":" 55"}}}],[1377,"Silithus","/silithus",,{prefix:{"0":"%s - ",replacements:{"%s":" 55"}}}],["instancesHeader","Instances",,,{heading:true}],[-1,"Dungeons","/level-41-60-dungeons",[[2557,"Dire Maul","/dire-maul",,{prefix:{"0":"%s - ",replacements:{"%s":" 38"}}}],[722,"Razorfen Downs","/razorfen-downs",,{prefix:{"0":"%s - ",replacements:{"%s":" 42"}}}],[1176,"Zul'Farrak","/zulfarrak",,{prefix:{"0":"%s - ",replacements:{"%s":" 46"}}}],[2017,"Stratholme","/stratholme",,{prefix:{"0":"%s - ",replacements:{"%s":" 48"}}}],[1477,"Sunken Temple","/sunken-temple",,{prefix:{"0":"%s - ",replacements:{"%s":" 52"}}}],[1584,"Blackrock Depths","/blackrock-depths",,{prefix:{"0":"%s - ",replacements:{"%s":" 53"}}}],[1583,"Blackrock Spire","/blackrock-spire",,{prefix:{"0":"%s - ",replacements:{"%s":" 57"}}}]]],[-2,"Raids","/level-41-60-raids",[[2717,"Molten Core","/molten-core",,{prefix:{"0":"T%s - ",replacements:{"%s":"1"}}}],[3429,"Ruins of Ahn'Qiraj","/ruins-of-ahnqiraj"],[2677,"Blackwing Lair","/blackwing-lair",,{prefix:{"0":"T%s - ",replacements:{"%s":"2"}}}],[3428,"Temple of Ahn'Qiraj","/temple-of-ahnqiraj",,{prefix:{"0":"T%s - ",replacements:{"%s":"2.5"}}}]]]],{replacements:{"%1$s":41,"%2$s":60}}],[103,"Levels %1$s–%2$s","/level-58-70-zones",[["outlandHeader","Outland",,,{heading:true}],[3483,"Hellfire Peninsula","/hellfire-peninsula",,{prefix:{"0":"%s - ",replacements:{"%s":" 58"}}}],[3521,"Zangarmarsh","/zangarmarsh",,{prefix:{"0":"%s - ",replacements:{"%s":" 60"}}}],[3519,"Terokkar Forest","/terokkar-forest",,{prefix:{"0":"%s - ",replacements:{"%s":" 62"}}}],[3518,"Nagrand","/outland-nagrand",,{prefix:{"0":"%s - ",replacements:{"%s":" 64"}}}],[3522,"Blade's Edge Mountains","/blades-edge-mountains",,{prefix:{"0":"%s - ",replacements:{"%s":" 65"}}}],[3523,"Netherstorm","/netherstorm",,{prefix:{"0":"%s - ",replacements:{"%s":" 66"}}}],[3520,"Shadowmoon Valley","/outland-shadowmoon-valley",,{prefix:{"0":"%s - ",replacements:{"%s":" 67"}}}],["instancesHeader","Instances",,,{heading:true}],[-1,"Dungeons","/level-58-70-dungeons",[[3562,"Hellfire Ramparts","/hellfire-ramparts",,{prefix:{"0":"%s - ",replacements:{"%s":" 57"}}}],[3713,"The Blood Furnace","/the-blood-furnace",,{prefix:{"0":"%s - ",replacements:{"%s":" 58"}}}],[3717,"The Slave Pens","/the-slave-pens",,{prefix:{"0":"%s - ",replacements:{"%s":" 59"}}}],[3716,"The Underbog","/the-underbog",,{prefix:{"0":"%s - ",replacements:{"%s":" 60"}}}],[3792,"Mana-Tombs","/mana-tombs",,{prefix:{"0":"%s - ",replacements:{"%s":" 61"}}}],[3790,"Auchenai Crypts","/auchenai-crypts",,{prefix:{"0":"%s - ",replacements:{"%s":" 62"}}}],[2367,"Old Hillsbrad Foothills","/old-hillsbrad-foothills",,{prefix:{"0":"%s - ",replacements:{"%s":" 63"}}}],[3791,"Sethekk Halls","/sethekk-halls",,{prefix:{"0":"%s - ",replacements:{"%s":" 63"}}}],[4131,"Magisters' Terrace","/magisters-terrace",,{prefix:{"0":"%s - ",replacements:{"%s":" 65"}}}],[3789,"Shadow Labyrinth","/shadow-labyrinth",,{prefix:{"0":"%s - ",replacements:{"%s":" 65"}}}],[3848,"The Arcatraz","/the-arcatraz",,{prefix:{"0":"%s - ",replacements:{"%s":" 65"}}}],[2366,"The Black Morass","/the-black-morass",,{prefix:{"0":"%s - ",replacements:{"%s":" 65"}}}],[3847,"The Botanica","/the-botanica",,{prefix:{"0":"%s - ",replacements:{"%s":" 65"}}}],[3849,"The Mechanar","/the-mechanar",,{prefix:{"0":"%s - ",replacements:{"%s":" 65"}}}],[3714,"The Shattered Halls","/the-shattered-halls",,{prefix:{"0":"%s - ",replacements:{"%s":" 65"}}}],[3715,"The Steamvault","/the-steamvault",,{prefix:{"0":"%s - ",replacements:{"%s":" 65"}}}]]],[-2,"Raids","/level-58-70-raids",[[3457,"Karazhan","/karazhan",,{prefix:{"0":"T%s - ",replacements:{"%s":"4"}}}],[3923,"Gruul's Lair","/gruuls-lair",,{prefix:{"0":"T%s - ",replacements:{"%s":"4"}}}],[3836,"Magtheridon's Lair","/magtheridons-lair",,{prefix:{"0":"T%s - ",replacements:{"%s":"4"}}}],[3607,"Serpentshrine Cavern","/serpentshrine-cavern",,{prefix:{"0":"T%s - ",replacements:{"%s":"5"}}}],[3845,"The Eye","/the-eye",,{prefix:{"0":"T%s - ",replacements:{"%s":"5"}}}],[3606,"Hyjal Summit","/hyjal-summit",,{prefix:{"0":"T%s - ",replacements:{"%s":"6"}}}],[3959,"Black Temple","/black-temple",,{prefix:{"0":"T%s - ",replacements:{"%s":"6"}}}],[4075,"Sunwell Plateau","/sunwell-plateau",,{prefix:{"0":"T%s - ",replacements:{"%s":"6"}}}]]]],{replacements:{"%1$s":58,"%2$s":70}}],[104,"Levels %1$s–%2$s","/level-68-80-zones",[["northrendHeader","Northrend",,,{heading:true}],[3537,"Borean Tundra","/borean-tundra",,{prefix:{"0":"%s - ",replacements:{"%s":" 68"}}}],[495,"Howling Fjord","/howling-fjord",,{prefix:{"0":"%s - ",replacements:{"%s":" 68"}}}],[65,"Dragonblight","/dragonblight",,{prefix:{"0":"%s - ",replacements:{"%s":" 71"}}}],[394,"Grizzly Hills","/grizzly-hills",,{prefix:{"0":"%s - ",replacements:{"%s":" 73"}}}],[66,"Zul'Drak","/zuldrak",,{prefix:{"0":"%s - ",replacements:{"%s":" 73"}}}],[3711,"Sholazar Basin","/sholazar-basin",,{prefix:{"0":"%s - ",replacements:{"%s":" 75"}}}],[4742,"Hrothgar's Landing","/hrothgars-landing",,{prefix:{"0":"%s - ",replacements:{"%s":" 77"}}}],[210,"Icecrown","/icecrown",,{prefix:{"0":"%s - ",replacements:{"%s":" 77"}}}],[67,"The Storm Peaks","/the-storm-peaks",,{prefix:{"0":"%s - ",replacements:{"%s":" 77"}}}],[2817,"Crystalsong Forest","/crystalsong-forest",,{prefix:{"0":"%s - ",replacements:{"%s":" 80"}}}],[4197,"Wintergrasp","/wintergrasp",,{prefix:{"0":"%s - ",replacements:{"%s":" 80"}}}],["instancesHeader","Instances",,,{heading:true}],[-1,"Dungeons","/level-68-80-dungeons",[[206,"Utgarde Keep","/utgarde-keep",,{prefix:{"0":"%s - ",replacements:{"%s":" 69"}}}],[4265,"The Nexus","/the-nexus",,{prefix:{"0":"%s - ",replacements:{"%s":" 71"}}}],[4277,"Azjol-Nerub","/azjol-nerub",,{prefix:{"0":"%s - ",replacements:{"%s":" 72"}}}],[4494,"Ahn'kahet: The Old Kingdom","/ahnkahet-the-old-kingdom",,{prefix:{"0":"%s - ",replacements:{"%s":" 73"}}}],[4196,"Drak'Tharon Keep","/draktharon-keep",,{prefix:{"0":"%s - ",replacements:{"%s":" 74"}}}],[4415,"The Violet Hold","/the-violet-hold",,{prefix:{"0":"%s - ",replacements:{"%s":" 75"}}}],[4416,"Gundrak","/gundrak",,{prefix:{"0":"%s - ",replacements:{"%s":" 76"}}}],[4264,"Halls of Stone","/halls-of-stone",,{prefix:{"0":"%s - ",replacements:{"%s":" 77"}}}],[4723,"Trial of the Champion","/trial-of-the-champion",,{prefix:{"0":"%s - ",replacements:{"%s":" 78"}}}],[4272,"Halls of Lightning","/halls-of-lightning",,{prefix:{"0":"%s - ",replacements:{"%s":" 79"}}}],[4100,"The Culling of Stratholme","/the-culling-of-stratholme",,{prefix:{"0":"%s - ",replacements:{"%s":" 79"}}}],[4228,"The Oculus","/the-oculus",,{prefix:{"0":"%s - ",replacements:{"%s":" 79"}}}],[1196,"Utgarde Pinnacle","/utgarde-pinnacle",,{prefix:{"0":"%s - ",replacements:{"%s":" 79"}}}],[4820,"Halls of Reflection","/halls-of-reflection",,{prefix:{"0":"%s - ",replacements:{"%s":" 80"}}}],[4813,"Pit of Saron","/pit-of-saron",,{prefix:{"0":"%s - ",replacements:{"%s":" 80"}}}],[4809,"The Forge of Souls","/the-forge-of-souls",,{prefix:{"0":"%s - ",replacements:{"%s":" 80"}}}]]],[-2,"Raids","/level-68-80-raids",[[4603,"Vault of Archavon","/vault-of-archavon"],[3456,"Naxxramas","/naxxramas",,{prefix:{"0":"T%s - ",replacements:{"%s":"7"}}}],[4493,"The Obsidian Sanctum","/the-obsidian-sanctum",,{prefix:{"0":"T%s - ",replacements:{"%s":"7"}}}],[4500,"The Eye of Eternity","/the-eye-of-eternity"],[4273,"Ulduar","/ulduar",,{prefix:{"0":"T%s - ",replacements:{"%s":"8"}}}],[2159,"Onyxia's Lair","/onyxias-lair"],[4722,"Trial of the Crusader","/trial-of-the-crusader",,{prefix:{"0":"T%s - ",replacements:{"%s":"9"}}}],[4812,"Icecrown Citadel","/icecrown-citadel",,{prefix:{"0":"T%s - ",replacements:{"%s":"10"}}}],[4987,"The Ruby Sanctum","/the-ruby-sanctum"]]]],{replacements:{"%1$s":68,"%2$s":80}}],[105,"Levels %1$s–%2$s","/level-80-85-zones",[["azerothHeader","Azeroth",,,{heading:true}],[5145,"Abyssal Depths","/abyssal-depths",,{prefix:{"0":"%s - ",replacements:{"%s":" 80"}}}],[4815,"Kelp'thar Forest","/kelpthar-forest",,{prefix:{"0":"%s - ",replacements:{"%s":" 80"}}}],[616,"Mount Hyjal","/mount-hyjal",,{prefix:{"0":"%s - ",replacements:{"%s":" 80"}}}],[5144,"Shimmering Expanse","/shimmering-expanse",,{prefix:{"0":"%s - ",replacements:{"%s":" 80"}}}],[5146,"Vashj'ir","/vashjir",,{prefix:{"0":"%s - ",replacements:{"%s":" 80"}}}],[5042,"Deepholm","/deepholm",,{prefix:{"0":"%s - ",replacements:{"%s":" 82"}}}],[5034,"Uldum","/uldum",,{prefix:{"0":"%s - ",replacements:{"%s":" 83"}}}],[4922,"Twilight Highlands","/twilight-highlands",,{prefix:{"0":"%s - ",replacements:{"%s":" 84"}}}],[5733,"Molten Front","/molten-front",,{prefix:{"0":"%s - ",replacements:{"%s":" 85"}}}],[5095,"Tol Barad","/tol-barad",,{prefix:{"0":"%s - ",replacements:{"%s":" 85"}}}],[5389,"Tol Barad Peninsula","/tol-barad-peninsula",,{prefix:{"0":"%s - ",replacements:{"%s":" 85"}}}],["instancesHeader","Instances",,,{heading:true}],[-1,"Dungeons","/level-80-85-dungeons",[[4926,"Blackrock Caverns","/blackrock-caverns",,{prefix:{"0":"%s - ",replacements:{"%s":" 80"}}}],[5004,"Throne of the Tides","/throne-of-the-tides",,{prefix:{"0":"%s - ",replacements:{"%s":" 80"}}}],[5088,"The Stonecore","/the-stonecore",,{prefix:{"0":"%s - ",replacements:{"%s":" 82"}}}],[5035,"The Vortex Pinnacle","/the-vortex-pinnacle",,{prefix:{"0":"%s - ",replacements:{"%s":" 82"}}}],[4950,"Grim Batol","/grim-batol",,{prefix:{"0":"%s - ",replacements:{"%s":" 84"}}}],[5396,"Lost City of the Tol'vir","/lost-city-of-the-tolvir",,{prefix:{"0":"%s - ",replacements:{"%s":" 84"}}}],[5789,"End Time","/end-time",,{prefix:{"0":"%s - ",replacements:{"%s":" 85"}}}],[4945,"Halls of Origination","/halls-of-origination",,{prefix:{"0":"%s - ",replacements:{"%s":" 85"}}}],[5844,"Hour of Twilight","/hour-of-twilight",,{prefix:{"0":"%s - ",replacements:{"%s":" 85"}}}],[5788,"Well of Eternity","/well-of-eternity",,{prefix:{"0":"%s - ",replacements:{"%s":" 85"}}}],[3805,"Zul'Aman","/zulaman",,{prefix:{"0":"%s - ",replacements:{"%s":" 85"}}}],[1977,"Zul'Gurub","/zulgurub",,{prefix:{"0":"%s - ",replacements:{"%s":" 85"}}}]]],[-2,"Raids","/level-80-85-raids",[[5600,"Baradin Hold","/baradin-hold"],[5638,"Throne of the Four Winds","/throne-of-the-four-winds",,{prefix:{"0":"T%s - ",replacements:{"%s":"11"}}}],[5094,"Blackwing Descent","/blackwing-descent",,{prefix:{"0":"T%s - ",replacements:{"%s":"11"}}}],[5334,"The Bastion of Twilight","/the-bastion-of-twilight",,{prefix:{"0":"T%s - ",replacements:{"%s":"11"}}}],[5723,"Firelands","/firelands",,{prefix:{"0":"T%s - ",replacements:{"%s":"12"}}}],[5892,"Dragon Soul","/dragon-soul",,{prefix:{"0":"T%s - ",replacements:{"%s":"13"}}}]]]],{replacements:{"%1$s":80,"%2$s":85}}],[106,"Levels %1$s–%2$s","/level-85-90-zones",[["pandariaHeader","Pandaria",,,{heading:true}],[6419,"Peak of Serenity","/peak-of-serenity",,{prefix:{"0":"%s - ",replacements:{"%s":" 20"}}}],[5785,"The Jade Forest","/the-jade-forest",,{prefix:{"0":"%s - ",replacements:{"%s":" 85"}}}],[6134,"Krasarang Wilds","/krasarang-wilds",,{prefix:{"0":"%s - ",replacements:{"%s":" 86"}}}],[5841,"Kun-Lai Summit","/kun-lai-summit",,{prefix:{"0":"%s - ",replacements:{"%s":" 86"}}}],[5805,"Valley of the Four Winds","/valley-of-the-four-winds",,{prefix:{"0":"%s - ",replacements:{"%s":" 86"}}}],[6006,"The Veiled Stair","/the-veiled-stair",,{prefix:{"0":"%s - ",replacements:{"%s":" 87"}}}],[5842,"Townlong Steppes","/townlong-steppes",,{prefix:{"0":"%s - ",replacements:{"%s":" 88"}}}],[6138,"Dread Wastes","/dread-wastes",,{prefix:{"0":"%s - ",replacements:{"%s":" 89"}}}],[6661,"Isle of Giants","/isle-of-giants",,{prefix:{"0":"%s - ",replacements:{"%s":" 90"}}}],[6507,"Isle of Thunder","/isle-of-thunder",,{prefix:{"0":"%s - ",replacements:{"%s":" 90"}}}],[6611,"The Situation in Dalaran","/the-situation-in-dalaran",,{prefix:{"0":"%s - ",replacements:{"%s":" 90"}}}],[6757,"Timeless Isle","/timeless-isle",,{prefix:{"0":"%s - ",replacements:{"%s":" 90"}}}],[5840,"Vale of Eternal Blossoms","/vale-of-eternal-blossoms",,{prefix:{"0":"%s - ",replacements:{"%s":" 90"}}}],["instancesHeader","Instances",,,{heading:true}],[-1,"Dungeons","/level-85-90-dungeons",[[5963,"Stormstout Brewery","/stormstout-brewery",,{prefix:{"0":"%s - ",replacements:{"%s":" 85"}}}],[5956,"Temple of the Jade Serpent","/temple-of-the-jade-serpent",,{prefix:{"0":"%s - ",replacements:{"%s":" 85"}}}],[6182,"Mogu'shan Palace","/mogushan-palace",,{prefix:{"0":"%s - ",replacements:{"%s":" 87"}}}],[5918,"Shado-Pan Monastery","/shado-pan-monastery",,{prefix:{"0":"%s - ",replacements:{"%s":" 87"}}}],[6214,"Siege of Niuzao Temple","/siege-of-niuzao-temple",,{prefix:{"0":"%s - ",replacements:{"%s":" 88"}}}],[5976,"Gate of the Setting Sun","/gate-of-the-setting-sun",,{prefix:{"0":"%s - ",replacements:{"%s":" 89"}}}],[6052,"Scarlet Halls","/scarlet-halls",,{prefix:{"0":"%s - ",replacements:{"%s":" 90"}}}],[6109,"Scarlet Monastery","/scarlet-monastery",,{prefix:{"0":"%s - ",replacements:{"%s":" 90"}}}],[6066,"Scholomance","/scholomance",,{prefix:{"0":"%s - ",replacements:{"%s":" 90"}}}]]],[-2,"Raids","/level-85-90-raids",[[6125,"Mogu'shan Vaults","/mogushan-vaults"],[6067,"Terrace of Endless Spring","/terrace-of-endless-spring",,{prefix:{"0":"T%s - ",replacements:{"%s":"14"}}}],[6297,"Heart of Fear","/heart-of-fear",,{prefix:{"0":"T%s - ",replacements:{"%s":"14"}}}],[6622,"Throne of Thunder","/throne-of-thunder",,{prefix:{"0":"T%s - ",replacements:{"%s":"15"}}}],[6738,"Siege of Orgrimmar","/siege-of-orgrimmar",,{prefix:{"0":"T%s - ",replacements:{"%s":"16"}}}]]],[-3,"Scenarios","/level-85-90-scenarios",[[6101,"A Brewing Storm","/zone=6101/a-brewing-storm",,{prefix:{"0":"%s - ",replacements:{"%s":" 90"}}}],[6616,"A Little Patience","/zone=6616/a-little-patience",,{prefix:{"0":"%s - ",replacements:{"%s":" 90"}}}],[6219,"Arena of Annihilation","/zone=6219/arena-of-annihilation",,{prefix:{"0":"%s - ",replacements:{"%s":" 90"}}}],[6328,"Assault on Zan'vess","/zone=6328/assault-on-zanvess",,{prefix:{"0":"%s - ",replacements:{"%s":" 90"}}}],[6567,"Battle on the High Seas","/zone=6567/battle-on-the-high-seas",,{prefix:{"0":"%s - ",replacements:{"%s":" 90"}}}],[6678,"Blood in the Snow","/zone=6678/blood-in-the-snow",,{prefix:{"0":"%s - ",replacements:{"%s":" 90"}}}],[6426,"Brewmoon Festival","/zone=6426/brewmoon-festival",,{prefix:{"0":"%s - ",replacements:{"%s":" 90"}}}],[6771,"Celestial Tournament","/zone=6771/celestial-tournament",,{prefix:{"0":"%s - ",replacements:{"%s":" 90"}}}],[6208,"Crypt of Forgotten Kings","/zone=6208/crypt-of-forgotten-kings",,{prefix:{"0":"%s - ",replacements:{"%s":" 90"}}}],[6565,"Dagger in the Dark","/zone=6565/dagger-in-the-dark",,{prefix:{"0":"%s - ",replacements:{"%s":" 90"}}}],[6733,"Dark Heart of Pandaria","/zone=6733/dark-heart-of-pandaria",,{prefix:{"0":"%s - ",replacements:{"%s":" 90"}}}],[6615,"Domination Point","/zone=6615/domination-point",,{prefix:{"0":"%s - ",replacements:{"%s":" 90"}}}],[6677,"Fall of Shan Bu","/zone=6677/fall-of-shan-bu",,{prefix:{"0":"%s - ",replacements:{"%s":" 90"}}}],[6209,"Greenstone Village","/zone=6209/greenstone-village",,{prefix:{"0":"%s - ",replacements:{"%s":" 90"}}}],[6575,"Lion's Landing","/zone=6575/lions-landing",,{prefix:{"0":"%s - ",replacements:{"%s":" 90"}}}],[6852,"Proving Grounds","/zone=6852/proving-grounds",,{prefix:{"0":"%s - ",replacements:{"%s":" 90"}}}],[6613,"Pursuing the Black Harvest","/zone=6613/pursuing-the-black-harvest",,{prefix:{"0":"%s - ",replacements:{"%s":" 90"}}}],[6666,"Stormsea Landing","/zone=6666/stormsea-landing",,{prefix:{"0":"%s - ",replacements:{"%s":" 90"}}}],[6863,"The Secret Ingredient","/zone=6863/the-secret-ingredient",,{prefix:{"0":"%s - ",replacements:{"%s":" 90"}}}],[6731,"The Secrets of Ragefire","/zone=6731/the-secrets-of-ragefire",,{prefix:{"0":"%s - ",replacements:{"%s":" 90"}}}],[6675,"The Thunder Forge","/zone=6675/the-thunder-forge",,{prefix:{"0":"%s - ",replacements:{"%s":" 90"}}}],[6500,"Theramore's Fall (A)","/zone=6500/theramores-fall-a",,{prefix:{"0":"%s - ",replacements:{"%s":" 90"}},tinyIcon:"side_alliance"}],[6040,"Theramore's Fall (H)","/zone=6040/theramores-fall-h",,{prefix:{"0":"%s - ",replacements:{"%s":" 90"}},tinyIcon:"side_horde"}],[6673,"To the Skies","/zone=6673/to-the-skies",,{prefix:{"0":"%s - ",replacements:{"%s":" 90"}}}],[6716,"Troves of the Thunder King","/zone=6716/troves-of-the-thunder-king",,{prefix:{"0":"%s - ",replacements:{"%s":" 90"}}}],[6309,"Unga Ingoo","/zone=6309/unga-ingoo",,{prefix:{"0":"%s - ",replacements:{"%s":" 90"}}}]]]],{replacements:{"%1$s":85,"%2$s":90}}],[107,"Levels %1$s–%2$s","/level-90-100-zones",[["draenorHeader","Draenor",,,{heading:true}],[6720,"Frostfire Ridge","/frostfire-ridge",,{prefix:{"0":"%s - ",replacements:{"%s":" 90"}}}],[6719,"Shadowmoon Valley","/draenor-shadowmoon-valley",,{prefix:{"0":"%s - ",replacements:{"%s":" 90"}}}],[6721,"Gorgrond","/gorgrond",,{prefix:{"0":"%s - ",replacements:{"%s":" 92"}}}],[6662,"Talador","/talador",,{prefix:{"0":"%s - ",replacements:{"%s":" 94"}}}],[6722,"Spires of Arak","/spires-of-arak",,{prefix:{"0":"%s - ",replacements:{"%s":" 96"}}}],[6755,"Nagrand","/draenor-nagrand",,{prefix:{"0":"%s - ",replacements:{"%s":" 98"}}}],[6941,"Ashran","/ashran",,{prefix:{"0":"%s - ",replacements:{"%s":"100"}}}],[6756,"Faralohn","/zone=6756/faralohn",,{prefix:{"0":"%s - ",replacements:{"%s":"100"}}}],[6723,"Tanaan Jungle","/tanaan-jungle",,{prefix:{"0":"%s - ",replacements:{"%s":"100"}}}],[6864,"Bladespire Citadel","/zone=6864/bladespire-citadel"],[7209,"Bladespire Span","/zone=7209/bladespire-span"],[6875,"Bladespire Throne","/zone=6875/bladespire-throne"],[6976,"Bloodthorn Cave","/zone=6976/bloodthorn-cave"],[6939,"Butcher's Rise","/zone=6939/butchers-rise"],[6885,"Cragplume Cauldron","/zone=6885/cragplume-cauldron"],[7083,"Defense of Karabor","/zone=7083/defense-of-karabor"],[7460,"Den of Secrets","/zone=7460/den-of-secrets"],[7160,"Fissure of Fury","/zone=7160/fissure-of-fury"],[7004,"Frostwall","/frostwall"],[7327,"Frostwall Mine","/zone=7327/frostwall-mine"],[7329,"Frostwall Mine","/zone=7329/frostwall-mine"],[7328,"Frostwall Mine","/zone=7328/frostwall-mine"],[6745,"Grulloc's Grotto","/zone=6745/grullocs-grotto"],[6861,"Grulloc's Lair","/zone=6861/grullocs-lair"],[6868,"Hall of the Great Hunt","/zone=6868/hall-of-the-great-hunt"],[7078,"Lunarfall","/lunarfall"],[7324,"Lunarfall Excavation","/zone=7324/lunarfall-excavation"],[7325,"Lunarfall Excavation","/zone=7325/lunarfall-excavation"],[7326,"Lunarfall Excavation","/zone=7326/lunarfall-excavation"],[7185,"Moira's Reach","/zone=7185/moiras-reach"],[7204,"Sanctum of the Naaru","/zone=7204/sanctum-of-the-naaru"],[6980,"Shattrath City","/zone=6980/shattrath-city"],[7005,"Snowfall Alcove","/zone=7005/snowfall-alcove"],[6849,"Sootstained Mines","/zone=6849/sootstained-mines"],[7622,"The Breached Ossuary","/zone=7622/the-breached-ossuary"],[7124,"The Masters' Cavern","/zone=7124/the-masters-cavern"],[7203,"The Underpale","/zone=7203/the-underpale"],[7089,"Tomb of Lights","/zone=7089/tomb-of-lights"],[6979,"Tomb of Souls","/zone=6979/tomb-of-souls"],[6848,"Turgall's Den","/zone=6848/turgalls-den"],[7267,"Vault of the Titan","/zone=7267/vault-of-the-titan"],["instancesHeader","Instances",,,{heading:true}],[-1,"Dungeons","/level-90-100-dungeons",[[6951,"Iron Docks","/iron-docks",,{prefix:{"0":"%s - ",replacements:{"%s":" 1"}}}],[6874,"Bloodmaul Slag Mines","/bloodmaul-slag-mines",,{prefix:{"0":"%s - ",replacements:{"%s":" 90"}}}],[6912,"Auchindoun","/auchindoun",,{prefix:{"0":"%s - ",replacements:{"%s":" 95"}}}],[6988,"Skyreach","/skyreach",,{prefix:{"0":"%s - ",replacements:{"%s":" 97"}}}],[6984,"Grimrail Depot","/grimrail-depot",,{prefix:{"0":"%s - ",replacements:{"%s":"100"}}}],[6932,"Shadowmoon Burial Grounds","/shadowmoon-burial-grounds",,{prefix:{"0":"%s - ",replacements:{"%s":"100"}}}],[7109,"The Everbloom","/the-everbloom",,{prefix:{"0":"%s - ",replacements:{"%s":"100"}}}],[7307,"Upper Blackrock Spire","/upper-blackrock-spire",,{prefix:{"0":"%s - ",replacements:{"%s":"100"}}}]]],[-2,"Raids","/level-90-100-raids",[[6996,"Highmaul","/highmaul"],[6967,"Blackrock Foundry","/blackrock-foundry",,{prefix:{"0":"T%s - ",replacements:{"%s":"17"}}}],[7545,"Hellfire Citadel","/hellfire-citadel",,{prefix:{"0":"T%s - ",replacements:{"%s":"18"}}}]]],[-3,"Scenarios","/level-90-100-scenarios",[[7519,"Edge of Reality","/zone=7519/edge-of-reality",,{prefix:{"0":"%s - ",replacements:{"%s":" 1"}}}],[6960,"The Battle of Thunder Pass","/zone=6960/the-battle-of-thunder-pass",,{prefix:{"0":"%s - ",replacements:{"%s":" 1"}}}],[6851,"The Purge of Grommar","/zone=6851/the-purge-of-grommar",,{prefix:{"0":"%s - ",replacements:{"%s":" 1"}}}],[7381,"The Trial of Faith","/zone=7381/the-trial-of-faith",,{prefix:{"0":"%s - ",replacements:{"%s":"100"}}}],[7548,"Ashran Mine","/zone=7548/ashran-mine"],[7510,"The Burning Nether","/zone=7510/the-burning-nether"],[7462,"The Coliseum","/zone=7462/the-coliseum"]]]],{replacements:{"%1$s":90,"%2$s":100}}],[108,"Levels %1$s–%2$s","/level-100-110-zones",[["legionHeader","Legion",,,{heading:true}],[7731,"Thunder Totem","/thunder-totem",,{prefix:{"0":"%s - ",replacements:{"%s":" 1"}}}],[7541,"Stormheim","/stormheim",,{prefix:{"0":"%s - ",replacements:{"%s":"100"}}}],[7334,"Azsuna","/azsuna",,{prefix:{"0":"%s - ",replacements:{"%s":"105"}}}],[7503,"Highmountain","/highmountain",,{prefix:{"0":"%s - ",replacements:{"%s":"105"}}}],[7558,"Val'sharah","/valsharah",,{prefix:{"0":"%s - ",replacements:{"%s":"105"}}}],[7637,"Suramar","/suramar",,{prefix:{"0":"%s - ",replacements:{"%s":"110"}}}],[7543,"Broken Shore","/broken-shore"],[7744,"Shield's Rest","/zone=7744/shields-rest"],[8054,"Thal'dranath","/zone=8054/thaldranath"],[7578,"The Eye of Azshara","/eye-of-azshara-zone"],[7656,"The Great Sea","/zone=7656/the-great-sea"],[8445,"The Great Sea","/zone=8445/the-great-sea"],[8053,"The Greater Sea (Don't Use)","/zone=8053/the-greater-sea-dont-use"],[7343,"[UNUSED]","/zone=7343/unused"],["instancesHeader","Instances",,,{heading:true}],[-1,"Dungeons","/level-100-110-dungeons",[[7673,"Darkheart Thicket","/darkheart-thicket",,{prefix:{"0":"%s - ",replacements:{"%s":"100"}}}],[8040,"Eye of Azshara","/eye-of-azshara-dungeon",,{prefix:{"0":"%s - ",replacements:{"%s":"100"}}}],[7672,"Halls of Valor","/halls-of-valor",,{prefix:{"0":"%s - ",replacements:{"%s":"100"}}}],[7546,"Neltharion's Lair","/neltharions-lair",,{prefix:{"0":"%s - ",replacements:{"%s":"100"}}}],[7996,"Violet Hold","/violet-hold",,{prefix:{"0":"%s - ",replacements:{"%s":"105"}}}],[7805,"Black Rook Hold","/black-rook-hold",,{prefix:{"0":"%s - ",replacements:{"%s":"110"}}}],[8079,"Court of Stars","/court-of-stars",,{prefix:{"0":"%s - ",replacements:{"%s":"110"}}}],[7812,"Maw of Souls","/maw-of-souls",,{prefix:{"0":"%s - ",replacements:{"%s":"110"}}}],[8443,"Return to Karazhan","/return-to-karazhan",,{prefix:{"0":"%s - ",replacements:{"%s":"110"}}}],[7855,"The Arcway","/the-arcway",,{prefix:{"0":"%s - ",replacements:{"%s":"110"}}}],[7787,"Vault of the Wardens","/vault-of-the-wardens",,{prefix:{"0":"%s - ",replacements:{"%s":"110"}}}],[7674,"Legion Dungeon","/zone=7674/legion-dungeon"],[8124,"Sword of Dawn","/zone=8124/sword-of-dawn",,{tinyIcon:"side_alliance"}],[8422,"Tempest's Roar","/zone=8422/tempests-roar",,{tinyIcon:"side_horde"}],[7811,"The Naglfar","/zone=7811/the-naglfar"]]],[-2,"Raids","/level-100-110-raids",[[8026,"The Emerald Nightmare","/the-emerald-nightmare",,{prefix:{"0":"%s - ",replacements:{"%s":"110"}}}],[8025,"The Nighthold","/the-nighthold",,{prefix:{"0":"%s - ",replacements:{"%s":"110"}}}],[8440,"Trial of Valor","/trial-of-valor",,{prefix:{"0":"%s - ",replacements:{"%s":"110"}}}],[8005,"Terrace of Endless Spring","/zone=8005/terrace-of-endless-spring"]]],[-3,"Scenarios","/level-100-110-scenarios",[[8275,"Azuremyst Isle","/zone=8275/azuremyst-isle",,{prefix:{"0":"%s - ",replacements:{"%s":" 1"}}}],[8406,"Black Rook Hold","/zone=8406/black-rook-hold",,{prefix:{"0":"%s - ",replacements:{"%s":" 1"}}}],[8439,"Great Dark Beyond","/zone=8439/great-dark-beyond",,{prefix:{"0":"%s - ",replacements:{"%s":" 1"}}}],[8106,"Abyssal Maw","/zone=8106/abyssal-maw",,{prefix:{"0":"%s - ",replacements:{"%s":" 98"}}}],[8239,"Black Temple","/zone=8239/black-temple",,{prefix:{"0":"%s - ",replacements:{"%s":" 98"}}}],[7969,"Karazhan","/zone=7969/karazhan",,{prefix:{"0":"%s - ",replacements:{"%s":" 98"}}}],[8265,"Karazhan","/zone=8265/karazhan",,{prefix:{"0":"%s - ",replacements:{"%s":" 98"}}}],[8205,"Realm of the Mage Hunter","/zone=8205/realm-of-the-mage-hunter",,{prefix:{"0":"%s - ",replacements:{"%s":" 98"}}}],[8250,"Rescue Koltira","/zone=8250/rescue-koltira",,{prefix:{"0":"%s - ",replacements:{"%s":" 98"}}}],[8347,"Sanctum of Light","/zone=8347/sanctum-of-light",,{prefix:{"0":"%s - ",replacements:{"%s":" 98"}}}],[8142,"Shadowgore Citadel","/zone=8142/shadowgore-citadel",,{prefix:{"0":"%s - ",replacements:{"%s":" 98"}}}],[8262,"Temple of the Jade Serpent","/zone=8262/temple-of-the-jade-serpent",,{prefix:{"0":"%s - ",replacements:{"%s":" 98"}}}],[8451,"Temple of the White Tiger Flight Bounds","/zone=8451/temple-of-the-white-tiger-flight-bounds",,{prefix:{"0":"%s - ",replacements:{"%s":" 98"}}}],[8046,"The Maelstrom","/zone=8046/the-maelstrom",,{prefix:{"0":"%s - ",replacements:{"%s":" 98"}}}],[8252,"The Oculus","/zone=8252/the-oculus",,{prefix:{"0":"%s - ",replacements:{"%s":" 98"}}}],[8044,"Tirisfal Glades","/zone=8044/tirisfal-glades",,{prefix:{"0":"%s - ",replacements:{"%s":" 98"}},tinyIcon:"side_horde"}],[8309,"Tol Barad","/zone=8309/tol-barad",,{prefix:{"0":"%s - ",replacements:{"%s":" 98"}}}],[8161,"Ulduar","/zone=8161/ulduar",,{prefix:{"0":"%s - ",replacements:{"%s":" 98"}}}],[7974,"Ursoc's Lair","/zone=7974/ursocs-lair",,{prefix:{"0":"%s - ",replacements:{"%s":" 98"}}}],[7534,"Broken Shore","/zone=7534/broken-shore",,{prefix:{"0":"%s - ",replacements:{"%s":"100"}}}],[8017,"Gloaming Reef","/zone=8017/gloaming-reef",,{prefix:{"0":"%s - ",replacements:{"%s":"100"}}}],[7658,"The Cove of Nashal","/zone=7658/the-cove-of-nashal",,{prefix:{"0":"%s - ",replacements:{"%s":"100"}}}],[8423,"The Arcway","/zone=8423/the-arcway",,{prefix:{"0":"%s - ",replacements:{"%s":"110"}}}],[7967,"Boost Experience [TEMP NAME]","/zone=7967/boost-experience-temp-name"],[8460,"Death Knight Campaign Flight Bounds","/zone=8460/death-knight-campaign-flight-bounds"],[8344,"The Crystal Hall","/zone=8344/the-crystal-hall",,{tinyIcon:"side_alliance"}],[8277,"The Exodar","/zone=8277/the-exodar"],[8469,"The Maelstrom","/zone=8469/the-maelstrom"],[8276,"The Veiled Sea","/zone=8276/the-veiled-sea"]]],[-4,"Artifact Acquisition","/level-100-110-artifact-acquisition-zones",[[7796,"Broken Shore","/zone=7796/broken-shore",,{prefix:{"0":"%s - ",replacements:{"%s":" 98"}}}],[7955,"Deepholm","/zone=7955/deepholm",,{prefix:{"0":"%s - ",replacements:{"%s":" 98"}}}],[7918,"Dreadscar Rift","/zone=7918/dreadscar-rift",,{prefix:{"0":"%s - ",replacements:{"%s":" 98"}}}],[7695,"Icecrown Citadel","/zone=7695/icecrown-citadel",,{prefix:{"0":"%s - ",replacements:{"%s":" 98"}}}],[7737,"Niskara","/zone=7737/niskara",,{prefix:{"0":"%s - ",replacements:{"%s":" 98"}}}],[7960,"Skywall","/zone=7960/skywall",,{prefix:{"0":"%s - ",replacements:{"%s":" 98"}}}],[8094,"The Beyond","/zone=8094/the-beyond",,{prefix:{"0":"%s - ",replacements:{"%s":" 98"}}}],[8000,"Azsuna","/zone=8000/azsuna"],[7830,"Helmouth Shallows","/zone=7830/helmouth-shallows"],[8091,"Nordrassil","/zone=8091/nordrassil"],[7921,"Stormheim","/zone=7921/stormheim"],[7767,"Suramar","/zone=7767/suramar"],[7976,"Tirisfal Glades","/zone=7976/tirisfal-glades",,{tinyIcon:"side_horde"}]]]],{replacements:{"%1$s":100,"%2$s":110}}],["otherHeader","Other",,,{column:1,heading:true}],[9,"Arenas","/arenas",[[8008,"Ashamane's Fall","/ashamanes-fall"],[7816,"Black Rook Hold Arena","/black-rook-hold-arena"],[3702,"Blade's Edge Arena","/blades-edge-arena"],[4378,"Dalaran Arena","/dalaran-arena"],[7822,"Nagrand Arena","/zone=7822/nagrand-arena"],[3698,"Nagrand Arena","/zone=3698/nagrand-arena"],[3968,"Ruins of Lordaeron","/ruins-of-lordaeron"],[4406,"The Ring of Valor","/the-ring-of-valor"],[6732,"The Tiger's Peak","/the-tigers-peak"],[6296,"Tol'viron Arena","/tolviron-arena"]]],[6,"Battlegrounds","/battlegrounds",[[7691,"Small Battleground D","/zone=7691/small-battleground-d",,{prefix:{"0":"%s - ",replacements:{"%s":" 1"}}}],[3358,"Arathi Basin","/arathi-basin",,{prefix:{"0":"%s - ",replacements:{"%s":" 10"}}}],[3277,"Warsong Gulch","/warsong-gulch",,{prefix:{"0":"%s - ",replacements:{"%s":" 10"}}}],[3820,"Eye of the Storm","/eye-of-the-storm",,{prefix:{"0":"%s - ",replacements:{"%s":" 15"}}}],[2597,"Alterac Valley","/alterac-valley",,{prefix:{"0":"%s - ",replacements:{"%s":" 20"}}}],[5449,"The Battle for Gilneas","/the-battle-for-gilneas",,{prefix:{"0":"%s - ",replacements:{"%s":" 25"}}}],[5031,"Twin Peaks","/twin-peaks",,{prefix:{"0":"%s - ",replacements:{"%s":" 30"}}}],[6126,"Silvershard Mines","/silvershard-mines",,{prefix:{"0":"%s - ",replacements:{"%s":" 35"}}}],[6051,"Temple of Kotmogu","/temple-of-kotmogu",,{prefix:{"0":"%s - ",replacements:{"%s":" 40"}}}],[6665,"Deepwind Gorge","/deepwind-gorge",,{prefix:{"0":"%s - ",replacements:{"%s":" 45"}}}],[4384,"Strand of the Ancients","/strand-of-the-ancients",,{prefix:{"0":"%s - ",replacements:{"%s":" 50"}}}],[4710,"Isle of Conquest","/isle-of-conquest",,{prefix:{"0":"%s - ",replacements:{"%s":" 55"}}}],[7107,"Tarren Mill vs Southshore","/tarren-mill-vs-southshore",,{prefix:{"0":"%s - ",replacements:{"%s":" 90"}}}]]],["cities","Cities","/cities",[["allianceHeader","Alliance",,,{heading:true}],[1657,"Darnassus","/darnassus",,{tinyIcon:"side_alliance"}],[1537,"Ironforge","/ironforge",,{tinyIcon:"side_alliance"}],[6142,"Shrine of Seven Stars","/shrine-of-seven-stars",,{tinyIcon:"side_alliance"}],[7332,"Stormshield","/stormshield",,{tinyIcon:"side_alliance"}],[1519,"Stormwind City","/stormwind-city",,{tinyIcon:"side_alliance"}],[3557,"The Exodar","/the-exodar",,{tinyIcon:"side_alliance"}],["hordeHeader","Horde",,,{heading:true}],[1637,"Orgrimmar","/orgrimmar",,{tinyIcon:"side_horde"}],[6141,"Shrine of Two Moons","/shrine-of-two-moons",,{tinyIcon:"side_horde"}],[3487,"Silvermoon City","/silvermoon-city",,{tinyIcon:"side_horde"}],[1638,"Thunder Bluff","/thunder-bluff",,{tinyIcon:"side_horde"}],[1497,"Undercity","/undercity",,{tinyIcon:"side_horde"}],[7333,"Warspear","/warspear",,{tinyIcon:"side_horde"}],["neutralHeader","Neutral",,,{heading:true}],[5861,"Darkmoon Island","/darkmoon-island"],[7885,"Antonidas Memorial","/zone=7885/antonidas-memorial"],[7887,"Circle of Wills","/zone=7887/circle-of-wills"],[4395,"Dalaran","/northrend-dalaran"],[7502,"Dalaran","/broken-isles-dalaran"],[8535,"Dalaran (Deadwind Pass)","/zone=8535/dalaran-deadwind-pass"],[8474,"Dalaran (Northrend)","/zone=8474/dalaran-northrend"],[7886,"Dalaran City","/zone=7886/dalaran-city"],[7892,"Dalaran Floating Rocks","/zone=7892/dalaran-floating-rocks"],[7894,"Dalaran Island","/zone=7894/dalaran-island"],[8392,"Dalaran Sewers","/zone=8392/dalaran-sewers"],[7899,"Magus Commerce Exchange","/zone=7899/magus-commerce-exchange"],[7896,"Runeweaver Square","/zone=7896/runeweaver-square"],[7890,"Sewer Exit Pipe","/zone=7890/sewer-exit-pipe"],[7891,"Sewer Exit Pipe","/zone=7891/sewer-exit-pipe"],[3703,"Shattrath City","/shattrath-city"],[6553,"Shrine of Seven Stars","/zone=6553/shrine-of-seven-stars"],[7893,"Sunreaver's Sanctuary","/zone=7893/sunreavers-sanctuary"],[7898,"The Eventide","/zone=7898/the-eventide"],[7884,"The Silver Enclave","/zone=7884/the-silver-enclave"],[7897,"The Underbelly","/zone=7897/the-underbelly"],[7888,"The Violet Citadel","/zone=7888/the-violet-citadel"],[7889,"The Violet Citadel Spire","/zone=7889/the-violet-citadel-spire"],[7895,"The Violet Hold","/zone=7895/the-violet-hold"],[7902,"The Wandering Isle","/zone=7902/the-wandering-isle"],[7900,"Vargoth's Retreat","/zone=7900/vargoths-retreat"],[7901,"Violet Citadel Balcony","/zone=7901/violet-citadel-balcony"]]],["classHalls","Class Halls","/class-halls",[[7679,"Acherus: The Ebon Hold","/acherus-the-ebon-hold",,{className:"c6",tinyIcon:"class_deathknight"}],[8012,"Chamber of Shadows","/chamber-of-shadows",,{className:"c4",tinyIcon:"class_rogue"}],[7875,"Dreadscar Rift","/dreadscar-rift",,{className:"c9",tinyIcon:"class_warlock"}],[7879,"Hall of the Guardian","/hall-of-the-guardian",,{className:"c8",tinyIcon:"class_mage"}],[7834,"Netherlight Temple","/netherlight-temple",,{className:"c5",tinyIcon:"class_priest"}],[7638,"Sanctum of Light","/sanctum-of-light",,{className:"c2",tinyIcon:"class_paladin"}],[7813,"Skyhold","/skyhold",,{className:"c1",tinyIcon:"class_warrior"}],[7903,"Temple of Five Dawns","/temple-of-five-dawns",,{className:"c10",tinyIcon:"class_monk"}],[7846,"The Dreamgrove","/the-dreamgrove",,{className:"c11",tinyIcon:"class_druid"}],[8023,"The Fel Hammer","/the-fel-hammer",,{className:"c12",tinyIcon:"class_demonhunter"}],[7745,"The Maelstrom","/the-maelstrom",,{className:"c7",tinyIcon:"class_shaman"}],[7877,"Trueshot Lodge","/trueshot-lodge",,{className:"c3",tinyIcon:"class_hunter"}]]],["instances","Instances","/instances",[[-1,"Dungeons","/dungeons"],[-2,"Raids","/raids"],[-3,"Scenarios","/scenarios"],[-4,"Artifact Acquisition","/artifact-acquisition-zones"]]]];(function(){var a=function(f){for(var e=0,d;d=f[e];e++){if(d[3]){a(d[3])}if(d[4]){if(typeof d[4].prefix=="string"){f[e][1]=d[4].prefix+f[e][1]}else{if(typeof d[4].prefix=="object"){var b=d[4].prefix[0];for(var c in d[4].prefix.replacements){if(d[4].prefix.replacements.hasOwnProperty(c)){b=b.replace(c,d[4].prefix.replacements[c])}}f[e][1]=b+f[e][1]}}if(d[4].replacements){for(var c in d[4].replacements){if(d[4].replacements.hasOwnProperty(c)){f[e][1]=f[e][1].replace(c,d[4].replacements[c])}}}}}};a(mn_zones)})();var mn_instances=[];(function(){var d=/^T?[\d\.]{1,3} - /;for(var b in mn_zones){if(mn_zones[b][0]>=100){var c=[mn_zones[b][0],mn_zones[b][1],"/zones="+mn_zones[b][0]+".-9",[],mn_zones[b][1].replace(d,"")];for(var e in mn_zones[b][3]){if(mn_zones[b][3][e][0]<0){c[3].push([,mn_zones[b][3][e][1]]);c[3]=c[3].concat(mn_zones[b][3][e][3])}}mn_instances.push(c)}}})();var mn_factions=[[1834,"Legion","/legion-factions",[[1859,"The Nightfallen","/nightfallen-factions"]]],[1444,"Warlords of Draenor","/warlords-of-draenor-factions",[[1735,"Barracks Bodyguards","/barracks-bodyguards-factions"]]],[1245,"Mists of Pandaria","/mists-of-pandaria-factions",[[1302,"The Anglers","/anglers-factions"],[1272,"The Tillers","/tillers-factions"]]],[1162,"Cataclysm","/cataclysm-factions"],[1097,"Wrath of the Lich King","/wrath-of-the-lich-king-factions",[[1037,"Alliance Vanguard","/alliance-vanguard-factions"],[1052,"Horde Expedition","/horde-expedition-factions"],[1117,"Sholazar Basin","/sholazar-basin-factions"]]],[980,"The Burning Crusade","/burning-crusade-factions",[[936,"Shattrath City","/shattrath-city-factions"]]],[1118,"Classic","/classic-factions",[[469,"Alliance","/alliance-factions"],[891,"Alliance Forces","/alliance-forces-factions"],[67,"Horde","/horde-factions"],[892,"Horde Forces","/horde-forces-factions"],[169,"Steamwheedle Cartel","/steamwheedle-cartel-factions"]]],[1169,"Guild","/guild-factions"],[0,"Other","/other-factions"]];var mn_currencies=[[82,"Archaeology","/archaeology-currencies"],[81,"Cataclysm","/cataclysm-currencies"],[22,"Dungeon and Raid","/dungeon-and-raid-currencies"],[142,"Hidden","/hidden-currencies"],[141,"Legion","/legion-currencies"],[1,"Miscellaneous","/miscellaneous-currencies"],[133,"Mists of Pandaria","/mists-of-pandaria-currencies"],[2,"Player vs. Player","/pvp-currencies"],[137,"Warlords of Draenor","/warlords-of-draenor-currencies"],[21,"Wrath of the Lich King","/wrath-of-the-lich-king-currencies"]];var mn_bluetracker_us=[[9,"Classes",,[[1012662,"Death Knight"],[22813967,"Demon Hunter"],[1012663,"Druid"],[1012664,"Hunter"],[1012760,"Mage"],[7379141,"Monk"],[1012668,"Paladin"],[1012666,"Priest"],[1012667,"Rogue"],[1012669,"Shaman"],[1012670,"Warlock"],[1012759,"Warrior"]]],[1,"Community",,[[1,"Blog"],[984270,"General Discussion"],[1011639,"Guild Recruitment"],[2524269,"Oceanic General Discussion"],[1011641,"Oceanic Guild Recruitment"],[1011638,"Story Forum"],[1011637,"World\u2019s End Tavern: Role-play and Fan Fiction"]]],[2,"Gameplay and Guides",,[[1011646,"Achievements"],[1011645,"Dungeons, Raids and Scenarios"],[1011644,"New Player Help and Guides"],[7388394,"Pet Battles"],[1011647,"Professions"],[1011692,"Quests"],[22813869,"Returning Player Help and Discussion"],[16785814,"Transmogrification"],[1011693,"UI and Macro"]]],[36,"In Development",,[[22814066,"7.2 PTR Bug Report"],[22814067,"7.2 PTR General Discussion"],[22814068,"Class Development"]]],[5,"PvP",,[[1011696,"Arenas"],[1011697,"Battlegrounds"]]],[4,"Support",,[[1011700,"Service Status"]]],[29,"Website and Mobile Feedback",,[[2690193,"Mobile Bug Report"]]]];var mn_bluetracker_eu=[[16,"Classes",,[[874789,"Death Knight"],[19369494,"Demon Hunter"],[874790,"Druid"],[874791,"Hunter"],[874792,"Mage"],[6038099,"Monk"],[874793,"Paladin"],[874794,"Priest"],[874795,"Rogue"],[874796,"Shaman"],[874929,"Warlock"],[874930,"Warrior"]]],[14,"Community",,[[2,"Blog"],[872818,"General"],[874787,"Life of the WoW Community"],[874708,"Looking for Players \u2013 PvE"],[4087193,"Looking for Players \u2013 PvP"],[874702,"Role-Playing"],[874703,"Story"]]],[12,"Gameplay",,[[19369582,"Dungeons & Raids"],[874706,"Interface and Macros"],[874698,"New/Returning Player Questions & Guides"],[6088588,"Pet Battles"],[874699,"Professions"],[19369476,"Quests & Achievements"],[19369571,"Transmogrification"]]],[35,"Legion Testing",,[[19369587,"7.2 PTR General Discussion"],[19369588,"Class Development"]]],[37,"PvP",,[[19369579,"Arenas"],[19369580,"Battlegrounds"]]]];var mn_bluetracker=[["us","US Forums","/bluetracker=us",,{heading:true,column:1}]].concat(mn_bluetracker_us).concat([["eu","EU Forums","/bluetracker=eu",,{heading:true,column:2}]]).concat(mn_bluetracker_eu);var mn_pets=[[2,"Cunning","/cunning-hunter-pets",,{tinyIcon:"Ability_Hunter_CombatExperience"}],[0,"Ferocity","/ferocity-hunter-pets",,{tinyIcon:"Ability_Druid_Swipe"}],[1,"Tenacity","/tenacity-hunter-pets",,{tinyIcon:"Ability_Hunter_Pet_Bear"}]];var mn_achievements=[[1,"Character Achievements","/character-achievements",[[92,"General","/general-achievements"],[96,"Quests","/quest-achievements",[[14861,"Eastern Kingdoms","/eastern-kingdoms-quest-achievements"],[15081,"Kalimdor","/kalimdor-quest-achievements"],[14862,"Outland","/outland-quest-achievements"],[14863,"Northrend","/northrend-quest-achievements"],[15070,"Cataclysm","/cataclysm-quest-achievements"],[15110,"Pandaria","/pandaria-quest-achievements"],[15220,"Draenor","/draenor-quest-achievements"],[15252,"Legion","/legion-quest-achievements"]]],[97,"Exploration","/exploration-achievements",[[14777,"Eastern Kingdoms","/eastern-kingdoms-exploration-achievements"],[14778,"Kalimdor","/kalimdor-exploration-achievements"],[14779,"Outland","/outland-exploration-achievements"],[14780,"Northrend","/northrend-exploration-achievements"],[15069,"Cataclysm","/cataclysm-exploration-achievements"],[15113,"Pandaria","/pandaria-exploration-achievements"],[15235,"Draenor","/draenor-exploration-achievements"],[15257,"Legion","/legion-exploration-achievements"]]],[95,"Player vs. Player","/pvp-achievements",[[15266,"Honor","/honor-achievements"],[14804,"Warsong Gulch","/warsong-gulch-achievements"],[14802,"Arathi Basin","/arathi-basin-achievements"],[14803,"Eye of the Storm","/eye-of-the-storm-achievements"],[14801,"Alterac Valley","/alterac-valley-achievements"],[15003,"Isle of Conquest","/isle-of-conquest-achievements"],[14881,"Strand of the Ancients","/strand-of-the-ancients-achievements"],[15073,"Battle for Gilneas","/battle-for-gilneas-achievements"],[15074,"Twin Peaks","/twin-peaks-achievements"],[15162,"Silvershard Mines","/silvershard-mines-achievements"],[15163,"Temple of Kotmogu","/temple-of-kotmogu-achievements"],[15218,"Deepwind Gorge","/deepwind-gorge-achievements"],[14901,"Wintergrasp","/wintergrasp-achievements"],[15075,"Tol Barad","/tol-barad-achievements"],[15241,"Ashran","/ashran-achievements"],[15265,"The Timeless Isle","/the-timeless-isle-pvp-achievements"],[15092,"Rated Battleground","/rated-battleground-achievements"],[165,"Arena","/arena-achievements"],[15283,"Legion","/legion-achievements"]]],[168,"Dungeons & Raids","/dungeon-and-raid-achievements",[[14808,"Classic","/classic-dungeon-and-raid-achievements"],[14805,"The Burning Crusade","/the-burning-crusade-dungeon-and-raid-achievements"],[14806,"Lich King Dungeon","/lich-king-dungeon-achievements"],[14922,"Lich King Raid","/lich-king-raid-achievements"],[15067,"Cataclysm Dungeon","/cataclysm-dungeon-achievements"],[15068,"Cataclysm Raid","/cataclysm-raid-achievements"],[15106,"Pandaria Dungeon","/pandaria-dungeon-achievements"],[15107,"Pandaria Raid","/pandaria-raid-achievements"],[15228,"Draenor Dungeon","/draenor-dungeon-achievements"],[15231,"Draenor Raid","/draenor-raid-achievements"],[15254,"Legion Dungeon","/legion-dungeon-achievements"],[15255,"Legion Raid","/legion-raid-achievements"]]],[169,"Professions","/profession-achievements",[[170,"Cooking","/cooking-achievements"],[171,"Fishing","/fishing-achievements"],[172,"First Aid","/first-aid-achievements"],[15071,"Archaeology","/archaeology-achievements"]]],[201,"Reputation","/reputation-achievements",[[14864,"Classic","/classic-reputation-achievements"],[14865,"The Burning Crusade","/the-burning-crusade-reputation-achievements"],[14866,"Wrath of the Lich King","/wrath-of-the-lich-king-reputation-achievements"],[15072,"Cataclysm","/cataclysm-reputation-achievements"],[15114,"Pandaria","/pandaria-reputation-achievements"],[15232,"Draenor","/draenor-reputation-achievements"],[15258,"Legion","/legion-reputation-achievements"]]],[155,"World Events","/world-event-achievements",[[160,"Lunar Festival","/lunar-festival-achievements"],[187,"Love is in the Air","/love-is-in-the-air-achievements"],[159,"Noblegarden","/noblegarden-achievements"],[163,"Children's Week","/childrens-week-achievements"],[161,"Midsummer","/midsummer-achievements"],[162,"Brewfest","/brewfest-achievements"],[158,"Hallow's End","/hallows-end-achievements"],[14981,"Pilgrim's Bounty","/pilgrims-bounty-achievements"],[156,"Winter Veil","/winter-veil-achievements"],[14941,"Argent Tournament","/argent-tournament-achievements"],[15101,"Darkmoon Faire","/darkmoon-faire-achievements"],[15282,"Brawler's Guild","/brawlers-guild-achievements"]]],[15117,"Pet Battles","/pet-battle-achievements",[[15118,"Collect","/battle-pet-collecting-achievements"],[15119,"Battle","/battle-pet-battling-achievements"],[15120,"Level","/battle-pet-leveling-achievements"]]],[15246,"Collections","/collection-achievements",[[15247,"Toy Box","/toy-box-achievements"],[15248,"Mounts","/mount-achievements"],[15259,"Appearances","/appearance-achievements"]]],[15275,"Class Hall","/class-hall-achievements",[[15256,"Artifacts","/class-hall-artifact-achievements"],[15276,"Missions","/class-hall-mission-achievements"]]],[15237,"Draenor Garrison","/garrison-achievements",[[15238,"Buildings","/garrison-building-achievements"],[15239,"Followers","/garrison-follower-achievements"],[15249,"Invasions","/garrison-invasion-achievements"],[15240,"Missions","/garrison-mission-achievements"],[15242,"Monuments","/garrison-monument-achievements"],[15250,"Shipyard","/garrison-shipyard-achievements"]]],[15165,"Scenarios","/scenario-achievements",[[15229,"Mists of Pandaria","/mists-of-pandaria-scenario-achievements"],[15222,"Proving Grounds","/proving-ground-achievements"]]],[15234,"Legacy","/legacy-achievements",[[15277,"Dungeons","/legacy-dungeon-achievements"],[15278,"Raids","/legacy-raid-achievements"],[15279,"Player vs. Player","/legacy-pvp-achievements"],[15280,"Currencies","/legacy-currencies-achievements"]]],[81,"Feats of Strength","/feats-of-strength",[[15269,"Mounts","/mount-feats-of-strength"],[15272,"Dungeons","/dungeon-feats-of-strength"],[15271,"Raids","/raid-feats-of-strength"],[15270,"Player vs. Player","/pvp-feats-of-strength"],[15273,"Reputation","/reputation-feats-of-strength"],[15274,"Events","/event-feats-of-strength"],[15268,"Promotions","/promotion-feats-of-strength"]]]]],[2,"Character Statistics","/character-statistics",[[141,"Combat","/combat-statistics"],[128,"Kills","/kills-statistics",[[135,"Creatures","/creature-kills-statistics"],[136,"Honorable Kills","/honorable-kills-statistics"],[137,"Killing Blows","/killing-blows-statistics"]]],[122,"Deaths","/deaths-statistics",[[123,"Arenas","/arena-deaths-statistics"],[124,"Battlegrounds","/battleground-deaths-statistics"],[125,"Dungeons","/dungeon-deaths-statistics"],[126,"World","/world-deaths-statistics"],[127,"Resurrection","/resurrection-deaths-statistics"]]],[133,"Quests","/quests-statistics"],[14807,"Dungeons & Raids","/dungeon-and-raid-statistics",[[14821,"Classic","/classic-dungeon-and-raid-statistics"],[14822,"The Burning Crusade","/the-burning-crusade-dungeon-and-raid-statistics"],[14823,"Wrath of the Lich King","/wrath-of-the-lich-king-dungeon-and-raid-statistics"],[15096,"Cataclysm","/cataclysm-dungeon-and-raid-statistics"],[15164,"Mists of Pandaria","/mists-of-pandaria-dungeon-and-raid-statistics"],[15233,"Warlords of Draenor","/warlords-of-draenor-dungeon-and-raid-statistics"],[15264,"Legion","/legion-dungeon-and-raid-statistics"]]],[132,"Skills","/skill-statistics",[[178,"Secondary Skills","/secondary-skill-statistics"],[173,"Professions","/profession-statistics"]]],[134,"Travel","/travel-statistics"],[131,"Social","/social-statistics"],[21,"Player vs. Player","/pvp-statistics",[[152,"Rated Arenas","/rated-arena-statistics"],[153,"Battlegrounds","/battleground-statistics"],[154,"World","/world-pvp-statistics"]]],[15219,"Pet Battles","/pet-battle-statistics"],[15227,"Proving Grounds","/proving-ground-statistics"],[15281,"Class Hall","/class-hall-statistics"],[15253,"Garrison","/garrison-statistics"],[15176,"Legacy","/legacy-statistics"]]],[3,"Guild Achievements","/guild-achievements",[[15088,"General","/general-guild-achievements"],[15077,"Quests","/quest-guild-achievements"],[15078,"Player vs. Player","/pvp-guild-achievements",[[15090,"Battlegrounds","/battleground-guild-achievements"],[15091,"Arena","/arena-guild-achievements"]]],[15079,"Dungeons & Raids","/dungeon-and-raid-guild-achievements",[[15082,"Classic","/classic-dungeon-and-raid-guild-achievements"],[15084,"The Burning Crusade","/the-burning-crusade-dungeon-and-raid-guild-achievements"],[15085,"Lich King Dungeon","/lich-king-dungeon-guild-achievements"],[15086,"Lich King Raid","/lich-king-raid-guild-achievements"],[15083,"Cataclysm Dungeon","/cataclysm-dungeon-guild-achievements"],[15087,"Cataclysm Raid","/cataclysm-raid-guild-achievements"],[15153,"Pandaria Dungeon","/pandaria-dungeon-guild-achievements"],[15154,"Pandaria Raid","/pandaria-raid-guild-achievements"],[15243,"Draenor Dungeon","/draenor-dungeon-guild-achievements"],[15244,"Draenor Raid","/draenor-raid-guild-achievements"],[15262,"Legion Dungeon","/legion-dungeon-guild-achievements"],[15263,"Legion Raid","/legion-raid-guild-achievements"]]],[15080,"Professions","/profession-guild-achievements"],[15089,"Reputation","/reputation-guild-achievements"],[15093,"Guild Feats of Strength","/guild-feats-of-strength"]]]];mn_achievements.push([50,"Draenor Pathfinder","/flying"]);var mn_battlepetabilities=[[,"Type"],[8,"Aquatic","/aquatic-battle-pet-abilities"],[7,"Beast","/beast-battle-pet-abilities"],[4,"Critter","/critter-battle-pet-abilities"],[1,"Dragonkin","/dragonkin-battle-pet-abilities"],[6,"Elemental","/elemental-battle-pet-abilities"],[2,"Flying","/flying-battle-pet-abilities"],[0,"Humanoid","/humanoid-battle-pet-abilities"],[5,"Magic","/magic-battle-pet-abilities"],[9,"Mechanical","/mechanical-battle-pet-abilities"],[3,"Undead","/undead-battle-pet-abilities"],[,"Other"],[-1,"Passive","/battle-pet-abilities?filter=7;1;0"]];var mn_battlepetspecies=[[9,"Aquatic","/aquatic-battle-pets"],[8,"Beast","/beast-battle-pets"],[5,"Critter","/critter-battle-pets"],[2,"Dragonkin","/dragonkin-battle-pets"],[7,"Elemental","/elemental-battle-pets"],[3,"Flying","/flying-battle-pets"],[1,"Humanoid","/humanoid-battle-pets"],[6,"Magic","/magic-battle-pets"],[10,"Mechanical","/mechanical-battle-pets"],[4,"Undead","/undead-battle-pets"]];var mn_battlepets=[[1,"Abilities","/battle-pet-abilities",mn_battlepetabilities],[2,"Pet Species","/battle-pets",mn_battlepetspecies],[4,"Battle Pet Team Calculator","/pet-team"]];var mn_events_holidays=[[372,"Brewfest"],[201,"Children's Week"],[409,"Day of the Dead"],[636,"Diablo 20th Anniversary"],[141,"Feast of Winter Veil"],[62,"Fireworks Spectacular"],[324,"Hallow's End"],[321,"Harvest Festival"],[335,"Love is in the Air"],[327,"Lunar Festival"],[341,"Midsummer Fire Festival"],[181,"Noblegarden"],[404,"Pilgrim's Bounty"],[398,"Pirates' Day"],[514,"WoW's 10th Anniversary"],[566,"WoW's 11th Anniversary"],[589,"WoW's 12th Anniversary"]];var mn_events_recurring=[[561,"Arena Skirmish Bonus Event"],[563,"Battleground Bonus Event"],[587,"Cataclysm Timewalking Dungeon Event"],[479,"Darkmoon Faire"],[591,"Legion Dungeon Event"],[562,"Northrend Timewalking Dungeon Event"],[559,"Outland Timewalking Dungeon Event"],[565,"Pet Battle Bonus Event"],[301,"Stranglethorn Fishing Extravaganza"],[592,"World Quest Bonus Event"]];var mn_events_pvp=[[420,"Call to Arms: Isle of Conquest"]];var mn_events_urls={"event=636":"diablo-20th-anniversary","event=62":"fireworks-spectacular","event=592":"world-quest-bonus-event","event=591":"legion-dungeon-event","event=589":"wows-12th-anniversary","event=587":"cataclysm-timewalking-dungeon-event","event=566":"wows-11th-anniversary","event=565":"pet-battle-bonus-event","event=563":"battleground-bonus-event","event=562":"northrend-timewalking-dungeon-event","event=561":"arena-skirmish-bonus-event","event=559":"outland-timewalking-dungeon-event","event=515":"call-to-arms-deepwind-gorge","event=514":"wows-10th-anniversary","event=489":"call-to-arms-temple-of-kotmogu","event=488":"call-to-arms-silvershard-mines","event=479":"darkmoon-faire","event=436":"call-to-arms-twin-peaks","event=435":"call-to-arms-the-battle-for-gilneas","event=420":"call-to-arms-isle-of-conquest","event=409":"day-of-the-dead","event=404":"pilgrims-bounty","event=400":"call-to-arms-strand-of-the-ancients","event=398":"pirates-day","event=372":"brewfest","event=353":"call-to-arms-eye-of-the-storm","event=341":"midsummer-fire-festival","event=335":"love-is-in-the-air","event=327":"lunar-festival","event=324":"hallows-end","event=321":"harvest-festival","event=301":"stranglethorn-fishing-extravaganza","event=285":"call-to-arms-arathi-basin","event=284":"call-to-arms-warsong-gulch","event=283":"call-to-arms-alterac-valley","event=201":"childrens-week","event=181":"noblegarden","event=141":"feast-of-winter-veil"};var mn_events=[[1,"Holidays","/holidays",mn_events_holidays],[2,"Recurring","/recurring-events",mn_events_recurring],[3,"Player vs. Player","/pvp-events",mn_events_pvp]];(function(){var c=false;while(!c){var e=false;for(var d=0;d<mn_events.length;d++){if(!mn_events[d][3]||!mn_events[d][3].length){mn_events.splice(d,1);e=true}}if(!e){c=true}}for(var b=0;b<mn_events.length;b++){if(!mn_events[b][3]){continue}for(var a=0;a<mn_events[b][3].length;a++){if(mn_events[b][3][a].length==2){mn_events[b][3][a].push("/event="+mn_events[b][3][a][0]);mn_events[b][3][a][4]={rel:"np"}}}}})();var mn_transmog_classes=[[6,"Death Knight","/guide=2354/all-transmog-sets-for-death-knights",null,{className:"c6",tinyIcon:"class_deathknight"}],[12,"Demon Hunter","/guides/all-transmog-sets-for-demon-hunters",null,{className:"c12",tinyIcon:"class_demonhunter"}],[11,"Druid","/guide=2343/all-transmog-sets-for-druids",null,{className:"c11",tinyIcon:"class_druid"}],[3,"Hunter","/guide=2359/all-transmog-sets-for-hunters",null,{className:"c3",tinyIcon:"class_hunter"}],[8,"Mage","/guide=2346/all-transmog-sets-for-mages",null,{className:"c8",tinyIcon:"class_mage"}],[10,"Monk","/guide=2342/all-transmog-sets-for-monks",null,{className:"c10",tinyIcon:"class_monk"}],[2,"Paladin","/guide=2357/all-transmog-sets-for-paladins",null,{className:"c2",tinyIcon:"class_paladin"}],[5,"Priest","/guide=2347/all-transmog-sets-for-priests",null,{className:"c5",tinyIcon:"class_priest"}],[4,"Rogue","/guide=2325/all-transmog-sets-for-rogues",null,{className:"c4",tinyIcon:"class_rogue"}],[7,"Shaman","/guide=2360/all-transmog-sets-for-shaman",null,{className:"c7",tinyIcon:"class_shaman"}],[9,"Warlock","/guide=2348/all-transmog-sets-for-warlocks",null,{className:"c9",tinyIcon:"class_warlock"}],[1,"Warrior","/guide=2353/all-transmog-sets-for-warriors",null,{className:"c1",tinyIcon:"class_warrior"}]];var mn_transmogsets=[[6,"Death Knight","/death-knight-transmog-sets",[[44,"Classic World Set","/death-knight-classic-world-transmog-sets"],[4,"Dungeon Set","/death-knight-dungeon-transmog-sets",[[77,"Class Hall Set","/death-knight-class-hall-transmog-sets"],[1,"Dungeon Set 1","/death-knight-tier-1-dungeon-transmog-sets"],[2,"Dungeon Set 2","/death-knight-tier-2-dungeon-transmog-sets"],[14,"Dungeon Set 3","/death-knight-tier-3-dungeon-transmog-sets"],[50,"Cataclysm Dungeon Set","/death-knight-cataclysm-dungeon-transmog-sets"],[52,"Challenge Mode Dungeon Set","/death-knight-challenge-mode-dungeon-transmog-sets"],[45,"Classic Dungeon Set","/death-knight-classic-dungeon-transmog-sets"],[49,"Hour of Twilight Dungeon Set","/death-knight-hour-of-twilight-dungeon-transmog-sets"],[76,"Legion Dungeon Set","/death-knight-legion-dungeon-transmog-sets"],[51,"Mists Dungeon Set","/death-knight-mists-dungeon-transmog-sets"],[46,"Troll Dungeon Set","/death-knight-troll-dungeon-transmog-sets"],[67,"Warlords Dungeon Set","/death-knight-warlords-dungeon-transmog-sets"],[47,"WotLK Dungeon Set 1","/death-knight-tier-1-wotlk-dungeon-transmog-sets"],[48,"WotLK Dungeon Set 2","/death-knight-tier-2-wotlk-dungeon-transmog-sets"]]],[8,"Event Set","/death-knight-event-transmog-sets",[[74,"Demon Invasion Event Set","/death-knight-demon-invasion-transmog-sets"],[60,"Scourge Invasion Event Set","/death-knight-scourge-invasion-transmog-sets"]]],[69,"Garrison Set","/death-knight-garrison-transmog-sets"],[5,"PvP Set","/death-knight-pvp-transmog-sets",[[17,"Arena Season 1 Set","/death-knight-arena-season-1-transmog-sets"],[19,"Arena Season 2 Set","/death-knight-arena-season-2-transmog-sets"],[20,"Arena Season 3 Set","/death-knight-arena-season-3-transmog-sets"],[22,"Arena Season 4 Set","/death-knight-arena-season-4-transmog-sets"],[24,"Arena Season 5 Set","/death-knight-arena-season-5-transmog-sets"],[26,"Arena Season 6 Set","/death-knight-arena-season-6-transmog-sets"],[28,"Arena Season 7 Set","/death-knight-arena-season-7-transmog-sets"],[30,"Arena Season 8 Set","/death-knight-arena-season-8-transmog-sets"],[33,"Arena Season 9 Set","/death-knight-arena-season-9-transmog-sets"],[34,"Arena Season 10 Set","/death-knight-arena-season-10-transmog-sets"],[37,"Arena Season 11 Set","/death-knight-arena-season-11-transmog-sets"],[40,"Arena Season 12 Set","/death-knight-arena-season-12-transmog-sets"],[42,"Arena Season 13 Set","/death-knight-arena-season-13-transmog-sets"],[62,"Arena Season 14 Set","/death-knight-arena-season-14-transmog-sets"],[63,"Arena Season 15 Set","/death-knight-arena-season-15-transmog-sets"],[66,"Arena Season 16 Set","/death-knight-arena-season-16-transmog-sets"],[72,"Warlords Season 2","/death-knight-warlords-season-2-transmog-sets"],[73,"Warlords Season 3","/death-knight-warlords-season-3-transmog-sets"],[80,"Legion Honor Set","/death-knight-legion-honor-transmog-sets"],[79,"Legion Season 1","/death-knight-legion-season-1-transmog-sets"],[6,"Level 60 PvP Rare Set","/death-knight-level-60-rare-pvp-transmog-sets"],[8,"Level 60 PvP Epic Set","/death-knight-level-60-epic-pvp-transmog-sets"],[16,"Level 70 PvP Rare Set","/death-knight-tier-1-level-70-rare-pvp-transmog-sets"],[21,"Level 70 PvP Rare Set 2","/death-knight-tier-2-level-70-rare-pvp-transmog-sets"],[36,"Level 85 PvP Epic Set","/death-knight-level-85-epic-pvp-transmog-sets"],[32,"Level 85 PvP Rare Set","/death-knight-level-85-rare-pvp-transmog-sets"],[41,"Level 90 PvP Rare Set","/death-knight-level-90-rare-pvp-transmog-sets"]]],[6,"Raid Set","/death-knight-raid-transmog-sets",[[57,"Classic Resistance Set","/death-knight-classic-resistance-transmog-sets"],[3,"Tier 1 Raid Set","/death-knight-tier-1-raid-transmog-sets"],[4,"Tier 2 Raid Set","/death-knight-tier-2-raid-transmog-sets"],[5,"Tier 3 Raid Set","/death-knight-tier-3-raid-transmog-sets"],[12,"Tier 4 Raid Set","/death-knight-tier-4-raid-transmog-sets"],[13,"Tier 5 Raid Set","/death-knight-tier-5-raid-transmog-sets"],[18,"Tier 6 Raid Set","/death-knight-tier-6-raid-transmog-sets"],[23,"Tier 7 Raid Set","/death-knight-tier-7-raid-transmog-sets"],[25,"Tier 8 Raid Set","/death-knight-tier-8-raid-transmog-sets"],[27,"Tier 9 Raid Set","/death-knight-tier-9-raid-transmog-sets"],[29,"Tier 10 Raid Set","/death-knight-tier-10-raid-transmog-sets"],[31,"Tier 11 Raid Set","/death-knight-tier-11-raid-transmog-sets"],[35,"Tier 12 Raid Set","/death-knight-tier-12-raid-transmog-sets"],[38,"Tier 13 Raid Set","/death-knight-tier-13-raid-transmog-sets"],[39,"Tier 14 Raid Set","/death-knight-tier-14-raid-transmog-sets"],[43,"Tier 15 Raid Set","/death-knight-tier-15-raid-transmog-sets"],[64,"Tier 16 Raid Set","/death-knight-tier-16-raid-transmog-sets"],[65,"Tier 17 Raid Set","/death-knight-tier-17-raid-transmog-sets"],[71,"Tier 18 Raid Set","/death-knight-tier-18-raid-transmog-sets"],[78,"Tier 19 Raid Set","/death-knight-tier-19-raid-transmog-sets"],[9,"Ruins of Ahn'Qiraj Set","/death-knight-ruins-of-ahnqiraj-transmog-sets"],[10,"Temple of Ahn'Qiraj Raid Set","/death-knight-temple-of-ahnqiraj-transmog-sets"],[11,"Zul'Gurub Set","/death-knight-zul-gurub-transmog-sets"],[58,"Sunwell Plateau Raid Set","/death-knight-sunwell-plateau-transmog-sets"],[59,"Mogu'shan Vaults Raid Set","/death-knight-mogushan-vaults-transmog-sets"],[70,"Warlords LFR Set","/death-knight-warlords-lfr-transmog-sets"],[61,"WotLK Raid Set 1","/death-knight-wotlk-raid-transmog-sets"]]],[7,"Questing Set","/death-knight-questing-transmog-sets",[[53,"Azeroth Questing Set","/death-knight-azeroth-questing-transmog-sets"],[54,"WotLK Questing Set","/death-knight-wotlk-questing-transmog-sets"],[55,"Cataclysm Questing Set","/death-knight-cataclysm-questing-transmog-sets"],[56,"Mists Questing Set","/death-knight-mists-questing-transmog-sets"],[68,"Warlords Questing Set","/death-knight-warlords-questing-transmog-sets"],[75,"Legion Questing Set","/death-knight-legion-questing-transmog-sets"]]]],{className:"c6",tinyIcon:"class_deathknight"}],[12,"Demon Hunter","/demon-hunter-transmog-sets",[[44,"Classic World Set","/demon-hunter-classic-world-transmog-sets"],[4,"Dungeon Set","/demon-hunter-dungeon-transmog-sets",[[77,"Class Hall Set","/demon-hunter-class-hall-transmog-sets"],[1,"Dungeon Set 1","/demon-hunter-tier-1-dungeon-transmog-sets"],[2,"Dungeon Set 2","/demon-hunter-tier-2-dungeon-transmog-sets"],[14,"Dungeon Set 3","/demon-hunter-tier-3-dungeon-transmog-sets"],[50,"Cataclysm Dungeon Set","/demon-hunter-cataclysm-dungeon-transmog-sets"],[52,"Challenge Mode Dungeon Set","/demon-hunter-challenge-mode-dungeon-transmog-sets"],[45,"Classic Dungeon Set","/demon-hunter-classic-dungeon-transmog-sets"],[49,"Hour of Twilight Dungeon Set","/demon-hunter-hour-of-twilight-dungeon-transmog-sets"],[76,"Legion Dungeon Set","/demon-hunter-legion-dungeon-transmog-sets"],[51,"Mists Dungeon Set","/demon-hunter-mists-dungeon-transmog-sets"],[46,"Troll Dungeon Set","/demon-hunter-troll-dungeon-transmog-sets"],[67,"Warlords Dungeon Set","/demon-hunter-warlords-dungeon-transmog-sets"],[47,"WotLK Dungeon Set 1","/demon-hunter-tier-1-wotlk-dungeon-transmog-sets"],[48,"WotLK Dungeon Set 2","/demon-hunter-tier-2-wotlk-dungeon-transmog-sets"]]],[8,"Event Set","/demon-hunter-event-transmog-sets",[[74,"Demon Invasion Event Set","/demon-hunter-demon-invasion-transmog-sets"],[60,"Scourge Invasion Event Set","/demon-hunter-scourge-invasion-transmog-sets"]]],[69,"Garrison Set","/demon-hunter-garrison-transmog-sets"],[5,"PvP Set","/demon-hunter-pvp-transmog-sets",[[17,"Arena Season 1 Set","/demon-hunter-arena-season-1-transmog-sets"],[19,"Arena Season 2 Set","/demon-hunter-arena-season-2-transmog-sets"],[20,"Arena Season 3 Set","/demon-hunter-arena-season-3-transmog-sets"],[22,"Arena Season 4 Set","/demon-hunter-arena-season-4-transmog-sets"],[24,"Arena Season 5 Set","/demon-hunter-arena-season-5-transmog-sets"],[26,"Arena Season 6 Set","/demon-hunter-arena-season-6-transmog-sets"],[28,"Arena Season 7 Set","/demon-hunter-arena-season-7-transmog-sets"],[30,"Arena Season 8 Set","/demon-hunter-arena-season-8-transmog-sets"],[33,"Arena Season 9 Set","/demon-hunter-arena-season-9-transmog-sets"],[34,"Arena Season 10 Set","/demon-hunter-arena-season-10-transmog-sets"],[37,"Arena Season 11 Set","/demon-hunter-arena-season-11-transmog-sets"],[40,"Arena Season 12 Set","/demon-hunter-arena-season-12-transmog-sets"],[42,"Arena Season 13 Set","/demon-hunter-arena-season-13-transmog-sets"],[62,"Arena Season 14 Set","/demon-hunter-arena-season-14-transmog-sets"],[63,"Arena Season 15 Set","/demon-hunter-arena-season-15-transmog-sets"],[66,"Arena Season 16 Set","/demon-hunter-arena-season-16-transmog-sets"],[72,"Warlords Season 2","/demon-hunter-warlords-season-2-transmog-sets"],[73,"Warlords Season 3","/demon-hunter-warlords-season-3-transmog-sets"],[80,"Legion Honor Set","/demon-hunter-legion-honor-transmog-sets"],[79,"Legion Season 1","/demon-hunter-legion-season-1-transmog-sets"],[6,"Level 60 PvP Rare Set","/demon-hunter-level-60-rare-pvp-transmog-sets"],[8,"Level 60 PvP Epic Set","/demon-hunter-level-60-epic-pvp-transmog-sets"],[16,"Level 70 PvP Rare Set","/demon-hunter-tier-1-level-70-rare-pvp-transmog-sets"],[21,"Level 70 PvP Rare Set 2","/demon-hunter-tier-2-level-70-rare-pvp-transmog-sets"],[36,"Level 85 PvP Epic Set","/demon-hunter-level-85-epic-pvp-transmog-sets"],[32,"Level 85 PvP Rare Set","/demon-hunter-level-85-rare-pvp-transmog-sets"],[41,"Level 90 PvP Rare Set","/demon-hunter-level-90-rare-pvp-transmog-sets"]]],[6,"Raid Set","/demon-hunter-raid-transmog-sets",[[57,"Classic Resistance Set","/demon-hunter-classic-resistance-transmog-sets"],[3,"Tier 1 Raid Set","/demon-hunter-tier-1-raid-transmog-sets"],[4,"Tier 2 Raid Set","/demon-hunter-tier-2-raid-transmog-sets"],[5,"Tier 3 Raid Set","/demon-hunter-tier-3-raid-transmog-sets"],[12,"Tier 4 Raid Set","/demon-hunter-tier-4-raid-transmog-sets"],[13,"Tier 5 Raid Set","/demon-hunter-tier-5-raid-transmog-sets"],[18,"Tier 6 Raid Set","/demon-hunter-tier-6-raid-transmog-sets"],[23,"Tier 7 Raid Set","/demon-hunter-tier-7-raid-transmog-sets"],[25,"Tier 8 Raid Set","/demon-hunter-tier-8-raid-transmog-sets"],[27,"Tier 9 Raid Set","/demon-hunter-tier-9-raid-transmog-sets"],[29,"Tier 10 Raid Set","/demon-hunter-tier-10-raid-transmog-sets"],[31,"Tier 11 Raid Set","/demon-hunter-tier-11-raid-transmog-sets"],[35,"Tier 12 Raid Set","/demon-hunter-tier-12-raid-transmog-sets"],[38,"Tier 13 Raid Set","/demon-hunter-tier-13-raid-transmog-sets"],[39,"Tier 14 Raid Set","/demon-hunter-tier-14-raid-transmog-sets"],[43,"Tier 15 Raid Set","/demon-hunter-tier-15-raid-transmog-sets"],[64,"Tier 16 Raid Set","/demon-hunter-tier-16-raid-transmog-sets"],[65,"Tier 17 Raid Set","/demon-hunter-tier-17-raid-transmog-sets"],[71,"Tier 18 Raid Set","/demon-hunter-tier-18-raid-transmog-sets"],[78,"Tier 19 Raid Set","/demon-hunter-tier-19-raid-transmog-sets"],[9,"Ruins of Ahn'Qiraj Set","/demon-hunter-ruins-of-ahnqiraj-transmog-sets"],[10,"Temple of Ahn'Qiraj Raid Set","/demon-hunter-temple-of-ahnqiraj-transmog-sets"],[11,"Zul'Gurub Set","/demon-hunter-zul-gurub-transmog-sets"],[58,"Sunwell Plateau Raid Set","/demon-hunter-sunwell-plateau-transmog-sets"],[59,"Mogu'shan Vaults Raid Set","/demon-hunter-mogushan-vaults-transmog-sets"],[70,"Warlords LFR Set","/demon-hunter-warlords-lfr-transmog-sets"],[61,"WotLK Raid Set 1","/demon-hunter-wotlk-raid-transmog-sets"]]],[7,"Questing Set","/demon-hunter-questing-transmog-sets",[[53,"Azeroth Questing Set","/demon-hunter-azeroth-questing-transmog-sets"],[54,"WotLK Questing Set","/demon-hunter-wotlk-questing-transmog-sets"],[55,"Cataclysm Questing Set","/demon-hunter-cataclysm-questing-transmog-sets"],[56,"Mists Questing Set","/demon-hunter-mists-questing-transmog-sets"],[68,"Warlords Questing Set","/demon-hunter-warlords-questing-transmog-sets"],[75,"Legion Questing Set","/demon-hunter-legion-questing-transmog-sets"]]]],{className:"c12",tinyIcon:"class_demonhunter"}],[11,"Druid","/druid-transmog-sets",[[44,"Classic World Set","/druid-classic-world-transmog-sets"],[4,"Dungeon Set","/druid-dungeon-transmog-sets",[[77,"Class Hall Set","/druid-class-hall-transmog-sets"],[1,"Dungeon Set 1","/druid-tier-1-dungeon-transmog-sets"],[2,"Dungeon Set 2","/druid-tier-2-dungeon-transmog-sets"],[14,"Dungeon Set 3","/druid-tier-3-dungeon-transmog-sets"],[50,"Cataclysm Dungeon Set","/druid-cataclysm-dungeon-transmog-sets"],[52,"Challenge Mode Dungeon Set","/druid-challenge-mode-dungeon-transmog-sets"],[45,"Classic Dungeon Set","/druid-classic-dungeon-transmog-sets"],[49,"Hour of Twilight Dungeon Set","/druid-hour-of-twilight-dungeon-transmog-sets"],[76,"Legion Dungeon Set","/druid-legion-dungeon-transmog-sets"],[51,"Mists Dungeon Set","/druid-mists-dungeon-transmog-sets"],[46,"Troll Dungeon Set","/druid-troll-dungeon-transmog-sets"],[67,"Warlords Dungeon Set","/druid-warlords-dungeon-transmog-sets"],[47,"WotLK Dungeon Set 1","/druid-tier-1-wotlk-dungeon-transmog-sets"],[48,"WotLK Dungeon Set 2","/druid-tier-2-wotlk-dungeon-transmog-sets"]]],[8,"Event Set","/druid-event-transmog-sets",[[74,"Demon Invasion Event Set","/druid-demon-invasion-transmog-sets"],[60,"Scourge Invasion Event Set","/druid-scourge-invasion-transmog-sets"]]],[69,"Garrison Set","/druid-garrison-transmog-sets"],[5,"PvP Set","/druid-pvp-transmog-sets",[[17,"Arena Season 1 Set","/druid-arena-season-1-transmog-sets"],[19,"Arena Season 2 Set","/druid-arena-season-2-transmog-sets"],[20,"Arena Season 3 Set","/druid-arena-season-3-transmog-sets"],[22,"Arena Season 4 Set","/druid-arena-season-4-transmog-sets"],[24,"Arena Season 5 Set","/druid-arena-season-5-transmog-sets"],[26,"Arena Season 6 Set","/druid-arena-season-6-transmog-sets"],[28,"Arena Season 7 Set","/druid-arena-season-7-transmog-sets"],[30,"Arena Season 8 Set","/druid-arena-season-8-transmog-sets"],[33,"Arena Season 9 Set","/druid-arena-season-9-transmog-sets"],[34,"Arena Season 10 Set","/druid-arena-season-10-transmog-sets"],[37,"Arena Season 11 Set","/druid-arena-season-11-transmog-sets"],[40,"Arena Season 12 Set","/druid-arena-season-12-transmog-sets"],[42,"Arena Season 13 Set","/druid-arena-season-13-transmog-sets"],[62,"Arena Season 14 Set","/druid-arena-season-14-transmog-sets"],[63,"Arena Season 15 Set","/druid-arena-season-15-transmog-sets"],[66,"Arena Season 16 Set","/druid-arena-season-16-transmog-sets"],[72,"Warlords Season 2","/druid-warlords-season-2-transmog-sets"],[73,"Warlords Season 3","/druid-warlords-season-3-transmog-sets"],[80,"Legion Honor Set","/druid-legion-honor-transmog-sets"],[79,"Legion Season 1","/druid-legion-season-1-transmog-sets"],[6,"Level 60 PvP Rare Set","/druid-level-60-rare-pvp-transmog-sets"],[8,"Level 60 PvP Epic Set","/druid-level-60-epic-pvp-transmog-sets"],[16,"Level 70 PvP Rare Set","/druid-tier-1-level-70-rare-pvp-transmog-sets"],[21,"Level 70 PvP Rare Set 2","/druid-tier-2-level-70-rare-pvp-transmog-sets"],[36,"Level 85 PvP Epic Set","/druid-level-85-epic-pvp-transmog-sets"],[32,"Level 85 PvP Rare Set","/druid-level-85-rare-pvp-transmog-sets"],[41,"Level 90 PvP Rare Set","/druid-level-90-rare-pvp-transmog-sets"]]],[6,"Raid Set","/druid-raid-transmog-sets",[[57,"Classic Resistance Set","/druid-classic-resistance-transmog-sets"],[3,"Tier 1 Raid Set","/druid-tier-1-raid-transmog-sets"],[4,"Tier 2 Raid Set","/druid-tier-2-raid-transmog-sets"],[5,"Tier 3 Raid Set","/druid-tier-3-raid-transmog-sets"],[12,"Tier 4 Raid Set","/druid-tier-4-raid-transmog-sets"],[13,"Tier 5 Raid Set","/druid-tier-5-raid-transmog-sets"],[18,"Tier 6 Raid Set","/druid-tier-6-raid-transmog-sets"],[23,"Tier 7 Raid Set","/druid-tier-7-raid-transmog-sets"],[25,"Tier 8 Raid Set","/druid-tier-8-raid-transmog-sets"],[27,"Tier 9 Raid Set","/druid-tier-9-raid-transmog-sets"],[29,"Tier 10 Raid Set","/druid-tier-10-raid-transmog-sets"],[31,"Tier 11 Raid Set","/druid-tier-11-raid-transmog-sets"],[35,"Tier 12 Raid Set","/druid-tier-12-raid-transmog-sets"],[38,"Tier 13 Raid Set","/druid-tier-13-raid-transmog-sets"],[39,"Tier 14 Raid Set","/druid-tier-14-raid-transmog-sets"],[43,"Tier 15 Raid Set","/druid-tier-15-raid-transmog-sets"],[64,"Tier 16 Raid Set","/druid-tier-16-raid-transmog-sets"],[65,"Tier 17 Raid Set","/druid-tier-17-raid-transmog-sets"],[71,"Tier 18 Raid Set","/druid-tier-18-raid-transmog-sets"],[78,"Tier 19 Raid Set","/druid-tier-19-raid-transmog-sets"],[9,"Ruins of Ahn'Qiraj Set","/druid-ruins-of-ahnqiraj-transmog-sets"],[10,"Temple of Ahn'Qiraj Raid Set","/druid-temple-of-ahnqiraj-transmog-sets"],[11,"Zul'Gurub Set","/druid-zul-gurub-transmog-sets"],[58,"Sunwell Plateau Raid Set","/druid-sunwell-plateau-transmog-sets"],[59,"Mogu'shan Vaults Raid Set","/druid-mogushan-vaults-transmog-sets"],[70,"Warlords LFR Set","/druid-warlords-lfr-transmog-sets"],[61,"WotLK Raid Set 1","/druid-wotlk-raid-transmog-sets"]]],[7,"Questing Set","/druid-questing-transmog-sets",[[53,"Azeroth Questing Set","/druid-azeroth-questing-transmog-sets"],[54,"WotLK Questing Set","/druid-wotlk-questing-transmog-sets"],[55,"Cataclysm Questing Set","/druid-cataclysm-questing-transmog-sets"],[56,"Mists Questing Set","/druid-mists-questing-transmog-sets"],[68,"Warlords Questing Set","/druid-warlords-questing-transmog-sets"],[75,"Legion Questing Set","/druid-legion-questing-transmog-sets"]]]],{className:"c11",tinyIcon:"class_druid"}],[3,"Hunter","/hunter-transmog-sets",[[44,"Classic World Set","/hunter-classic-world-transmog-sets"],[4,"Dungeon Set","/hunter-dungeon-transmog-sets",[[77,"Class Hall Set","/hunter-class-hall-transmog-sets"],[1,"Dungeon Set 1","/hunter-tier-1-dungeon-transmog-sets"],[2,"Dungeon Set 2","/hunter-tier-2-dungeon-transmog-sets"],[14,"Dungeon Set 3","/hunter-tier-3-dungeon-transmog-sets"],[50,"Cataclysm Dungeon Set","/hunter-cataclysm-dungeon-transmog-sets"],[52,"Challenge Mode Dungeon Set","/hunter-challenge-mode-dungeon-transmog-sets"],[45,"Classic Dungeon Set","/hunter-classic-dungeon-transmog-sets"],[49,"Hour of Twilight Dungeon Set","/hunter-hour-of-twilight-dungeon-transmog-sets"],[76,"Legion Dungeon Set","/hunter-legion-dungeon-transmog-sets"],[51,"Mists Dungeon Set","/hunter-mists-dungeon-transmog-sets"],[46,"Troll Dungeon Set","/hunter-troll-dungeon-transmog-sets"],[67,"Warlords Dungeon Set","/hunter-warlords-dungeon-transmog-sets"],[47,"WotLK Dungeon Set 1","/hunter-tier-1-wotlk-dungeon-transmog-sets"],[48,"WotLK Dungeon Set 2","/hunter-tier-2-wotlk-dungeon-transmog-sets"]]],[8,"Event Set","/hunter-event-transmog-sets",[[74,"Demon Invasion Event Set","/hunter-demon-invasion-transmog-sets"],[60,"Scourge Invasion Event Set","/hunter-scourge-invasion-transmog-sets"]]],[69,"Garrison Set","/hunter-garrison-transmog-sets"],[5,"PvP Set","/hunter-pvp-transmog-sets",[[17,"Arena Season 1 Set","/hunter-arena-season-1-transmog-sets"],[19,"Arena Season 2 Set","/hunter-arena-season-2-transmog-sets"],[20,"Arena Season 3 Set","/hunter-arena-season-3-transmog-sets"],[22,"Arena Season 4 Set","/hunter-arena-season-4-transmog-sets"],[24,"Arena Season 5 Set","/hunter-arena-season-5-transmog-sets"],[26,"Arena Season 6 Set","/hunter-arena-season-6-transmog-sets"],[28,"Arena Season 7 Set","/hunter-arena-season-7-transmog-sets"],[30,"Arena Season 8 Set","/hunter-arena-season-8-transmog-sets"],[33,"Arena Season 9 Set","/hunter-arena-season-9-transmog-sets"],[34,"Arena Season 10 Set","/hunter-arena-season-10-transmog-sets"],[37,"Arena Season 11 Set","/hunter-arena-season-11-transmog-sets"],[40,"Arena Season 12 Set","/hunter-arena-season-12-transmog-sets"],[42,"Arena Season 13 Set","/hunter-arena-season-13-transmog-sets"],[62,"Arena Season 14 Set","/hunter-arena-season-14-transmog-sets"],[63,"Arena Season 15 Set","/hunter-arena-season-15-transmog-sets"],[66,"Arena Season 16 Set","/hunter-arena-season-16-transmog-sets"],[72,"Warlords Season 2","/hunter-warlords-season-2-transmog-sets"],[73,"Warlords Season 3","/hunter-warlords-season-3-transmog-sets"],[80,"Legion Honor Set","/hunter-legion-honor-transmog-sets"],[79,"Legion Season 1","/hunter-legion-season-1-transmog-sets"],[6,"Level 60 PvP Rare Set","/hunter-level-60-rare-pvp-transmog-sets"],[8,"Level 60 PvP Epic Set","/hunter-level-60-epic-pvp-transmog-sets"],[16,"Level 70 PvP Rare Set","/hunter-tier-1-level-70-rare-pvp-transmog-sets"],[21,"Level 70 PvP Rare Set 2","/hunter-tier-2-level-70-rare-pvp-transmog-sets"],[36,"Level 85 PvP Epic Set","/hunter-level-85-epic-pvp-transmog-sets"],[32,"Level 85 PvP Rare Set","/hunter-level-85-rare-pvp-transmog-sets"],[41,"Level 90 PvP Rare Set","/hunter-level-90-rare-pvp-transmog-sets"]]],[6,"Raid Set","/hunter-raid-transmog-sets",[[57,"Classic Resistance Set","/hunter-classic-resistance-transmog-sets"],[3,"Tier 1 Raid Set","/hunter-tier-1-raid-transmog-sets"],[4,"Tier 2 Raid Set","/hunter-tier-2-raid-transmog-sets"],[5,"Tier 3 Raid Set","/hunter-tier-3-raid-transmog-sets"],[12,"Tier 4 Raid Set","/hunter-tier-4-raid-transmog-sets"],[13,"Tier 5 Raid Set","/hunter-tier-5-raid-transmog-sets"],[18,"Tier 6 Raid Set","/hunter-tier-6-raid-transmog-sets"],[23,"Tier 7 Raid Set","/hunter-tier-7-raid-transmog-sets"],[25,"Tier 8 Raid Set","/hunter-tier-8-raid-transmog-sets"],[27,"Tier 9 Raid Set","/hunter-tier-9-raid-transmog-sets"],[29,"Tier 10 Raid Set","/hunter-tier-10-raid-transmog-sets"],[31,"Tier 11 Raid Set","/hunter-tier-11-raid-transmog-sets"],[35,"Tier 12 Raid Set","/hunter-tier-12-raid-transmog-sets"],[38,"Tier 13 Raid Set","/hunter-tier-13-raid-transmog-sets"],[39,"Tier 14 Raid Set","/hunter-tier-14-raid-transmog-sets"],[43,"Tier 15 Raid Set","/hunter-tier-15-raid-transmog-sets"],[64,"Tier 16 Raid Set","/hunter-tier-16-raid-transmog-sets"],[65,"Tier 17 Raid Set","/hunter-tier-17-raid-transmog-sets"],[71,"Tier 18 Raid Set","/hunter-tier-18-raid-transmog-sets"],[78,"Tier 19 Raid Set","/hunter-tier-19-raid-transmog-sets"],[9,"Ruins of Ahn'Qiraj Set","/hunter-ruins-of-ahnqiraj-transmog-sets"],[10,"Temple of Ahn'Qiraj Raid Set","/hunter-temple-of-ahnqiraj-transmog-sets"],[11,"Zul'Gurub Set","/hunter-zul-gurub-transmog-sets"],[58,"Sunwell Plateau Raid Set","/hunter-sunwell-plateau-transmog-sets"],[59,"Mogu'shan Vaults Raid Set","/hunter-mogushan-vaults-transmog-sets"],[70,"Warlords LFR Set","/hunter-warlords-lfr-transmog-sets"],[61,"WotLK Raid Set 1","/hunter-wotlk-raid-transmog-sets"]]],[7,"Questing Set","/hunter-questing-transmog-sets",[[53,"Azeroth Questing Set","/hunter-azeroth-questing-transmog-sets"],[54,"WotLK Questing Set","/hunter-wotlk-questing-transmog-sets"],[55,"Cataclysm Questing Set","/hunter-cataclysm-questing-transmog-sets"],[56,"Mists Questing Set","/hunter-mists-questing-transmog-sets"],[68,"Warlords Questing Set","/hunter-warlords-questing-transmog-sets"],[75,"Legion Questing Set","/hunter-legion-questing-transmog-sets"]]]],{className:"c3",tinyIcon:"class_hunter"}],[8,"Mage","/mage-transmog-sets",[[44,"Classic World Set","/mage-classic-world-transmog-sets"],[4,"Dungeon Set","/mage-dungeon-transmog-sets",[[77,"Class Hall Set","/mage-class-hall-transmog-sets"],[1,"Dungeon Set 1","/mage-tier-1-dungeon-transmog-sets"],[2,"Dungeon Set 2","/mage-tier-2-dungeon-transmog-sets"],[14,"Dungeon Set 3","/mage-tier-3-dungeon-transmog-sets"],[50,"Cataclysm Dungeon Set","/mage-cataclysm-dungeon-transmog-sets"],[52,"Challenge Mode Dungeon Set","/mage-challenge-mode-dungeon-transmog-sets"],[45,"Classic Dungeon Set","/mage-classic-dungeon-transmog-sets"],[49,"Hour of Twilight Dungeon Set","/mage-hour-of-twilight-dungeon-transmog-sets"],[76,"Legion Dungeon Set","/mage-legion-dungeon-transmog-sets"],[51,"Mists Dungeon Set","/mage-mists-dungeon-transmog-sets"],[46,"Troll Dungeon Set","/mage-troll-dungeon-transmog-sets"],[67,"Warlords Dungeon Set","/mage-warlords-dungeon-transmog-sets"],[47,"WotLK Dungeon Set 1","/mage-tier-1-wotlk-dungeon-transmog-sets"],[48,"WotLK Dungeon Set 2","/mage-tier-2-wotlk-dungeon-transmog-sets"]]],[8,"Event Set","/mage-event-transmog-sets",[[74,"Demon Invasion Event Set","/mage-demon-invasion-transmog-sets"],[60,"Scourge Invasion Event Set","/mage-scourge-invasion-transmog-sets"]]],[69,"Garrison Set","/mage-garrison-transmog-sets"],[5,"PvP Set","/mage-pvp-transmog-sets",[[17,"Arena Season 1 Set","/mage-arena-season-1-transmog-sets"],[19,"Arena Season 2 Set","/mage-arena-season-2-transmog-sets"],[20,"Arena Season 3 Set","/mage-arena-season-3-transmog-sets"],[22,"Arena Season 4 Set","/mage-arena-season-4-transmog-sets"],[24,"Arena Season 5 Set","/mage-arena-season-5-transmog-sets"],[26,"Arena Season 6 Set","/mage-arena-season-6-transmog-sets"],[28,"Arena Season 7 Set","/mage-arena-season-7-transmog-sets"],[30,"Arena Season 8 Set","/mage-arena-season-8-transmog-sets"],[33,"Arena Season 9 Set","/mage-arena-season-9-transmog-sets"],[34,"Arena Season 10 Set","/mage-arena-season-10-transmog-sets"],[37,"Arena Season 11 Set","/mage-arena-season-11-transmog-sets"],[40,"Arena Season 12 Set","/mage-arena-season-12-transmog-sets"],[42,"Arena Season 13 Set","/mage-arena-season-13-transmog-sets"],[62,"Arena Season 14 Set","/mage-arena-season-14-transmog-sets"],[63,"Arena Season 15 Set","/mage-arena-season-15-transmog-sets"],[66,"Arena Season 16 Set","/mage-arena-season-16-transmog-sets"],[72,"Warlords Season 2","/mage-warlords-season-2-transmog-sets"],[73,"Warlords Season 3","/mage-warlords-season-3-transmog-sets"],[80,"Legion Honor Set","/mage-legion-honor-transmog-sets"],[79,"Legion Season 1","/mage-legion-season-1-transmog-sets"],[6,"Level 60 PvP Rare Set","/mage-level-60-rare-pvp-transmog-sets"],[8,"Level 60 PvP Epic Set","/mage-level-60-epic-pvp-transmog-sets"],[16,"Level 70 PvP Rare Set","/mage-tier-1-level-70-rare-pvp-transmog-sets"],[21,"Level 70 PvP Rare Set 2","/mage-tier-2-level-70-rare-pvp-transmog-sets"],[36,"Level 85 PvP Epic Set","/mage-level-85-epic-pvp-transmog-sets"],[32,"Level 85 PvP Rare Set","/mage-level-85-rare-pvp-transmog-sets"],[41,"Level 90 PvP Rare Set","/mage-level-90-rare-pvp-transmog-sets"]]],[6,"Raid Set","/mage-raid-transmog-sets",[[57,"Classic Resistance Set","/mage-classic-resistance-transmog-sets"],[3,"Tier 1 Raid Set","/mage-tier-1-raid-transmog-sets"],[4,"Tier 2 Raid Set","/mage-tier-2-raid-transmog-sets"],[5,"Tier 3 Raid Set","/mage-tier-3-raid-transmog-sets"],[12,"Tier 4 Raid Set","/mage-tier-4-raid-transmog-sets"],[13,"Tier 5 Raid Set","/mage-tier-5-raid-transmog-sets"],[18,"Tier 6 Raid Set","/mage-tier-6-raid-transmog-sets"],[23,"Tier 7 Raid Set","/mage-tier-7-raid-transmog-sets"],[25,"Tier 8 Raid Set","/mage-tier-8-raid-transmog-sets"],[27,"Tier 9 Raid Set","/mage-tier-9-raid-transmog-sets"],[29,"Tier 10 Raid Set","/mage-tier-10-raid-transmog-sets"],[31,"Tier 11 Raid Set","/mage-tier-11-raid-transmog-sets"],[35,"Tier 12 Raid Set","/mage-tier-12-raid-transmog-sets"],[38,"Tier 13 Raid Set","/mage-tier-13-raid-transmog-sets"],[39,"Tier 14 Raid Set","/mage-tier-14-raid-transmog-sets"],[43,"Tier 15 Raid Set","/mage-tier-15-raid-transmog-sets"],[64,"Tier 16 Raid Set","/mage-tier-16-raid-transmog-sets"],[65,"Tier 17 Raid Set","/mage-tier-17-raid-transmog-sets"],[71,"Tier 18 Raid Set","/mage-tier-18-raid-transmog-sets"],[78,"Tier 19 Raid Set","/mage-tier-19-raid-transmog-sets"],[9,"Ruins of Ahn'Qiraj Set","/mage-ruins-of-ahnqiraj-transmog-sets"],[10,"Temple of Ahn'Qiraj Raid Set","/mage-temple-of-ahnqiraj-transmog-sets"],[11,"Zul'Gurub Set","/mage-zul-gurub-transmog-sets"],[58,"Sunwell Plateau Raid Set","/mage-sunwell-plateau-transmog-sets"],[59,"Mogu'shan Vaults Raid Set","/mage-mogushan-vaults-transmog-sets"],[70,"Warlords LFR Set","/mage-warlords-lfr-transmog-sets"],[61,"WotLK Raid Set 1","/mage-wotlk-raid-transmog-sets"]]],[7,"Questing Set","/mage-questing-transmog-sets",[[53,"Azeroth Questing Set","/mage-azeroth-questing-transmog-sets"],[54,"WotLK Questing Set","/mage-wotlk-questing-transmog-sets"],[55,"Cataclysm Questing Set","/mage-cataclysm-questing-transmog-sets"],[56,"Mists Questing Set","/mage-mists-questing-transmog-sets"],[68,"Warlords Questing Set","/mage-warlords-questing-transmog-sets"],[75,"Legion Questing Set","/mage-legion-questing-transmog-sets"]]]],{className:"c8",tinyIcon:"class_mage"}],[10,"Monk","/monk-transmog-sets",[[44,"Classic World Set","/monk-classic-world-transmog-sets"],[4,"Dungeon Set","/monk-dungeon-transmog-sets",[[77,"Class Hall Set","/monk-class-hall-transmog-sets"],[1,"Dungeon Set 1","/monk-tier-1-dungeon-transmog-sets"],[2,"Dungeon Set 2","/monk-tier-2-dungeon-transmog-sets"],[14,"Dungeon Set 3","/monk-tier-3-dungeon-transmog-sets"],[50,"Cataclysm Dungeon Set","/monk-cataclysm-dungeon-transmog-sets"],[52,"Challenge Mode Dungeon Set","/monk-challenge-mode-dungeon-transmog-sets"],[45,"Classic Dungeon Set","/monk-classic-dungeon-transmog-sets"],[49,"Hour of Twilight Dungeon Set","/monk-hour-of-twilight-dungeon-transmog-sets"],[76,"Legion Dungeon Set","/monk-legion-dungeon-transmog-sets"],[51,"Mists Dungeon Set","/monk-mists-dungeon-transmog-sets"],[46,"Troll Dungeon Set","/monk-troll-dungeon-transmog-sets"],[67,"Warlords Dungeon Set","/monk-warlords-dungeon-transmog-sets"],[47,"WotLK Dungeon Set 1","/monk-tier-1-wotlk-dungeon-transmog-sets"],[48,"WotLK Dungeon Set 2","/monk-tier-2-wotlk-dungeon-transmog-sets"]]],[8,"Event Set","/monk-event-transmog-sets",[[74,"Demon Invasion Event Set","/monk-demon-invasion-transmog-sets"],[60,"Scourge Invasion Event Set","/monk-scourge-invasion-transmog-sets"]]],[69,"Garrison Set","/monk-garrison-transmog-sets"],[5,"PvP Set","/monk-pvp-transmog-sets",[[17,"Arena Season 1 Set","/monk-arena-season-1-transmog-sets"],[19,"Arena Season 2 Set","/monk-arena-season-2-transmog-sets"],[20,"Arena Season 3 Set","/monk-arena-season-3-transmog-sets"],[22,"Arena Season 4 Set","/monk-arena-season-4-transmog-sets"],[24,"Arena Season 5 Set","/monk-arena-season-5-transmog-sets"],[26,"Arena Season 6 Set","/monk-arena-season-6-transmog-sets"],[28,"Arena Season 7 Set","/monk-arena-season-7-transmog-sets"],[30,"Arena Season 8 Set","/monk-arena-season-8-transmog-sets"],[33,"Arena Season 9 Set","/monk-arena-season-9-transmog-sets"],[34,"Arena Season 10 Set","/monk-arena-season-10-transmog-sets"],[37,"Arena Season 11 Set","/monk-arena-season-11-transmog-sets"],[40,"Arena Season 12 Set","/monk-arena-season-12-transmog-sets"],[42,"Arena Season 13 Set","/monk-arena-season-13-transmog-sets"],[62,"Arena Season 14 Set","/monk-arena-season-14-transmog-sets"],[63,"Arena Season 15 Set","/monk-arena-season-15-transmog-sets"],[66,"Arena Season 16 Set","/monk-arena-season-16-transmog-sets"],[72,"Warlords Season 2","/monk-warlords-season-2-transmog-sets"],[73,"Warlords Season 3","/monk-warlords-season-3-transmog-sets"],[80,"Legion Honor Set","/monk-legion-honor-transmog-sets"],[79,"Legion Season 1","/monk-legion-season-1-transmog-sets"],[6,"Level 60 PvP Rare Set","/monk-level-60-rare-pvp-transmog-sets"],[8,"Level 60 PvP Epic Set","/monk-level-60-epic-pvp-transmog-sets"],[16,"Level 70 PvP Rare Set","/monk-tier-1-level-70-rare-pvp-transmog-sets"],[21,"Level 70 PvP Rare Set 2","/monk-tier-2-level-70-rare-pvp-transmog-sets"],[36,"Level 85 PvP Epic Set","/monk-level-85-epic-pvp-transmog-sets"],[32,"Level 85 PvP Rare Set","/monk-level-85-rare-pvp-transmog-sets"],[41,"Level 90 PvP Rare Set","/monk-level-90-rare-pvp-transmog-sets"]]],[6,"Raid Set","/monk-raid-transmog-sets",[[57,"Classic Resistance Set","/monk-classic-resistance-transmog-sets"],[3,"Tier 1 Raid Set","/monk-tier-1-raid-transmog-sets"],[4,"Tier 2 Raid Set","/monk-tier-2-raid-transmog-sets"],[5,"Tier 3 Raid Set","/monk-tier-3-raid-transmog-sets"],[12,"Tier 4 Raid Set","/monk-tier-4-raid-transmog-sets"],[13,"Tier 5 Raid Set","/monk-tier-5-raid-transmog-sets"],[18,"Tier 6 Raid Set","/monk-tier-6-raid-transmog-sets"],[23,"Tier 7 Raid Set","/monk-tier-7-raid-transmog-sets"],[25,"Tier 8 Raid Set","/monk-tier-8-raid-transmog-sets"],[27,"Tier 9 Raid Set","/monk-tier-9-raid-transmog-sets"],[29,"Tier 10 Raid Set","/monk-tier-10-raid-transmog-sets"],[31,"Tier 11 Raid Set","/monk-tier-11-raid-transmog-sets"],[35,"Tier 12 Raid Set","/monk-tier-12-raid-transmog-sets"],[38,"Tier 13 Raid Set","/monk-tier-13-raid-transmog-sets"],[39,"Tier 14 Raid Set","/monk-tier-14-raid-transmog-sets"],[43,"Tier 15 Raid Set","/monk-tier-15-raid-transmog-sets"],[64,"Tier 16 Raid Set","/monk-tier-16-raid-transmog-sets"],[65,"Tier 17 Raid Set","/monk-tier-17-raid-transmog-sets"],[71,"Tier 18 Raid Set","/monk-tier-18-raid-transmog-sets"],[78,"Tier 19 Raid Set","/monk-tier-19-raid-transmog-sets"],[9,"Ruins of Ahn'Qiraj Set","/monk-ruins-of-ahnqiraj-transmog-sets"],[10,"Temple of Ahn'Qiraj Raid Set","/monk-temple-of-ahnqiraj-transmog-sets"],[11,"Zul'Gurub Set","/monk-zul-gurub-transmog-sets"],[58,"Sunwell Plateau Raid Set","/monk-sunwell-plateau-transmog-sets"],[59,"Mogu'shan Vaults Raid Set","/monk-mogushan-vaults-transmog-sets"],[70,"Warlords LFR Set","/monk-warlords-lfr-transmog-sets"],[61,"WotLK Raid Set 1","/monk-wotlk-raid-transmog-sets"]]],[7,"Questing Set","/monk-questing-transmog-sets",[[53,"Azeroth Questing Set","/monk-azeroth-questing-transmog-sets"],[54,"WotLK Questing Set","/monk-wotlk-questing-transmog-sets"],[55,"Cataclysm Questing Set","/monk-cataclysm-questing-transmog-sets"],[56,"Mists Questing Set","/monk-mists-questing-transmog-sets"],[68,"Warlords Questing Set","/monk-warlords-questing-transmog-sets"],[75,"Legion Questing Set","/monk-legion-questing-transmog-sets"]]]],{className:"c10",tinyIcon:"class_monk"}],[2,"Paladin","/paladin-transmog-sets",[[44,"Classic World Set","/paladin-classic-world-transmog-sets"],[4,"Dungeon Set","/paladin-dungeon-transmog-sets",[[77,"Class Hall Set","/paladin-class-hall-transmog-sets"],[1,"Dungeon Set 1","/paladin-tier-1-dungeon-transmog-sets"],[2,"Dungeon Set 2","/paladin-tier-2-dungeon-transmog-sets"],[14,"Dungeon Set 3","/paladin-tier-3-dungeon-transmog-sets"],[50,"Cataclysm Dungeon Set","/paladin-cataclysm-dungeon-transmog-sets"],[52,"Challenge Mode Dungeon Set","/paladin-challenge-mode-dungeon-transmog-sets"],[45,"Classic Dungeon Set","/paladin-classic-dungeon-transmog-sets"],[49,"Hour of Twilight Dungeon Set","/paladin-hour-of-twilight-dungeon-transmog-sets"],[76,"Legion Dungeon Set","/paladin-legion-dungeon-transmog-sets"],[51,"Mists Dungeon Set","/paladin-mists-dungeon-transmog-sets"],[46,"Troll Dungeon Set","/paladin-troll-dungeon-transmog-sets"],[67,"Warlords Dungeon Set","/paladin-warlords-dungeon-transmog-sets"],[47,"WotLK Dungeon Set 1","/paladin-tier-1-wotlk-dungeon-transmog-sets"],[48,"WotLK Dungeon Set 2","/paladin-tier-2-wotlk-dungeon-transmog-sets"]]],[8,"Event Set","/paladin-event-transmog-sets",[[74,"Demon Invasion Event Set","/paladin-demon-invasion-transmog-sets"],[60,"Scourge Invasion Event Set","/paladin-scourge-invasion-transmog-sets"]]],[69,"Garrison Set","/paladin-garrison-transmog-sets"],[5,"PvP Set","/paladin-pvp-transmog-sets",[[17,"Arena Season 1 Set","/paladin-arena-season-1-transmog-sets"],[19,"Arena Season 2 Set","/paladin-arena-season-2-transmog-sets"],[20,"Arena Season 3 Set","/paladin-arena-season-3-transmog-sets"],[22,"Arena Season 4 Set","/paladin-arena-season-4-transmog-sets"],[24,"Arena Season 5 Set","/paladin-arena-season-5-transmog-sets"],[26,"Arena Season 6 Set","/paladin-arena-season-6-transmog-sets"],[28,"Arena Season 7 Set","/paladin-arena-season-7-transmog-sets"],[30,"Arena Season 8 Set","/paladin-arena-season-8-transmog-sets"],[33,"Arena Season 9 Set","/paladin-arena-season-9-transmog-sets"],[34,"Arena Season 10 Set","/paladin-arena-season-10-transmog-sets"],[37,"Arena Season 11 Set","/paladin-arena-season-11-transmog-sets"],[40,"Arena Season 12 Set","/paladin-arena-season-12-transmog-sets"],[42,"Arena Season 13 Set","/paladin-arena-season-13-transmog-sets"],[62,"Arena Season 14 Set","/paladin-arena-season-14-transmog-sets"],[63,"Arena Season 15 Set","/paladin-arena-season-15-transmog-sets"],[66,"Arena Season 16 Set","/paladin-arena-season-16-transmog-sets"],[72,"Warlords Season 2","/paladin-warlords-season-2-transmog-sets"],[73,"Warlords Season 3","/paladin-warlords-season-3-transmog-sets"],[80,"Legion Honor Set","/paladin-legion-honor-transmog-sets"],[79,"Legion Season 1","/paladin-legion-season-1-transmog-sets"],[6,"Level 60 PvP Rare Set","/paladin-level-60-rare-pvp-transmog-sets"],[8,"Level 60 PvP Epic Set","/paladin-level-60-epic-pvp-transmog-sets"],[16,"Level 70 PvP Rare Set","/paladin-tier-1-level-70-rare-pvp-transmog-sets"],[21,"Level 70 PvP Rare Set 2","/paladin-tier-2-level-70-rare-pvp-transmog-sets"],[36,"Level 85 PvP Epic Set","/paladin-level-85-epic-pvp-transmog-sets"],[32,"Level 85 PvP Rare Set","/paladin-level-85-rare-pvp-transmog-sets"],[41,"Level 90 PvP Rare Set","/paladin-level-90-rare-pvp-transmog-sets"]]],[6,"Raid Set","/paladin-raid-transmog-sets",[[57,"Classic Resistance Set","/paladin-classic-resistance-transmog-sets"],[3,"Tier 1 Raid Set","/paladin-tier-1-raid-transmog-sets"],[4,"Tier 2 Raid Set","/paladin-tier-2-raid-transmog-sets"],[5,"Tier 3 Raid Set","/paladin-tier-3-raid-transmog-sets"],[12,"Tier 4 Raid Set","/paladin-tier-4-raid-transmog-sets"],[13,"Tier 5 Raid Set","/paladin-tier-5-raid-transmog-sets"],[18,"Tier 6 Raid Set","/paladin-tier-6-raid-transmog-sets"],[23,"Tier 7 Raid Set","/paladin-tier-7-raid-transmog-sets"],[25,"Tier 8 Raid Set","/paladin-tier-8-raid-transmog-sets"],[27,"Tier 9 Raid Set","/paladin-tier-9-raid-transmog-sets"],[29,"Tier 10 Raid Set","/paladin-tier-10-raid-transmog-sets"],[31,"Tier 11 Raid Set","/paladin-tier-11-raid-transmog-sets"],[35,"Tier 12 Raid Set","/paladin-tier-12-raid-transmog-sets"],[38,"Tier 13 Raid Set","/paladin-tier-13-raid-transmog-sets"],[39,"Tier 14 Raid Set","/paladin-tier-14-raid-transmog-sets"],[43,"Tier 15 Raid Set","/paladin-tier-15-raid-transmog-sets"],[64,"Tier 16 Raid Set","/paladin-tier-16-raid-transmog-sets"],[65,"Tier 17 Raid Set","/paladin-tier-17-raid-transmog-sets"],[71,"Tier 18 Raid Set","/paladin-tier-18-raid-transmog-sets"],[78,"Tier 19 Raid Set","/paladin-tier-19-raid-transmog-sets"],[9,"Ruins of Ahn'Qiraj Set","/paladin-ruins-of-ahnqiraj-transmog-sets"],[10,"Temple of Ahn'Qiraj Raid Set","/paladin-temple-of-ahnqiraj-transmog-sets"],[11,"Zul'Gurub Set","/paladin-zul-gurub-transmog-sets"],[58,"Sunwell Plateau Raid Set","/paladin-sunwell-plateau-transmog-sets"],[59,"Mogu'shan Vaults Raid Set","/paladin-mogushan-vaults-transmog-sets"],[70,"Warlords LFR Set","/paladin-warlords-lfr-transmog-sets"],[61,"WotLK Raid Set 1","/paladin-wotlk-raid-transmog-sets"]]],[7,"Questing Set","/paladin-questing-transmog-sets",[[53,"Azeroth Questing Set","/paladin-azeroth-questing-transmog-sets"],[54,"WotLK Questing Set","/paladin-wotlk-questing-transmog-sets"],[55,"Cataclysm Questing Set","/paladin-cataclysm-questing-transmog-sets"],[56,"Mists Questing Set","/paladin-mists-questing-transmog-sets"],[68,"Warlords Questing Set","/paladin-warlords-questing-transmog-sets"],[75,"Legion Questing Set","/paladin-legion-questing-transmog-sets"]]]],{className:"c2",tinyIcon:"class_paladin"}],[5,"Priest","/priest-transmog-sets",[[44,"Classic World Set","/priest-classic-world-transmog-sets"],[4,"Dungeon Set","/priest-dungeon-transmog-sets",[[77,"Class Hall Set","/priest-class-hall-transmog-sets"],[1,"Dungeon Set 1","/priest-tier-1-dungeon-transmog-sets"],[2,"Dungeon Set 2","/priest-tier-2-dungeon-transmog-sets"],[14,"Dungeon Set 3","/priest-tier-3-dungeon-transmog-sets"],[50,"Cataclysm Dungeon Set","/priest-cataclysm-dungeon-transmog-sets"],[52,"Challenge Mode Dungeon Set","/priest-challenge-mode-dungeon-transmog-sets"],[45,"Classic Dungeon Set","/priest-classic-dungeon-transmog-sets"],[49,"Hour of Twilight Dungeon Set","/priest-hour-of-twilight-dungeon-transmog-sets"],[76,"Legion Dungeon Set","/priest-legion-dungeon-transmog-sets"],[51,"Mists Dungeon Set","/priest-mists-dungeon-transmog-sets"],[46,"Troll Dungeon Set","/priest-troll-dungeon-transmog-sets"],[67,"Warlords Dungeon Set","/priest-warlords-dungeon-transmog-sets"],[47,"WotLK Dungeon Set 1","/priest-tier-1-wotlk-dungeon-transmog-sets"],[48,"WotLK Dungeon Set 2","/priest-tier-2-wotlk-dungeon-transmog-sets"]]],[8,"Event Set","/priest-event-transmog-sets",[[74,"Demon Invasion Event Set","/priest-demon-invasion-transmog-sets"],[60,"Scourge Invasion Event Set","/priest-scourge-invasion-transmog-sets"]]],[69,"Garrison Set","/priest-garrison-transmog-sets"],[5,"PvP Set","/priest-pvp-transmog-sets",[[17,"Arena Season 1 Set","/priest-arena-season-1-transmog-sets"],[19,"Arena Season 2 Set","/priest-arena-season-2-transmog-sets"],[20,"Arena Season 3 Set","/priest-arena-season-3-transmog-sets"],[22,"Arena Season 4 Set","/priest-arena-season-4-transmog-sets"],[24,"Arena Season 5 Set","/priest-arena-season-5-transmog-sets"],[26,"Arena Season 6 Set","/priest-arena-season-6-transmog-sets"],[28,"Arena Season 7 Set","/priest-arena-season-7-transmog-sets"],[30,"Arena Season 8 Set","/priest-arena-season-8-transmog-sets"],[33,"Arena Season 9 Set","/priest-arena-season-9-transmog-sets"],[34,"Arena Season 10 Set","/priest-arena-season-10-transmog-sets"],[37,"Arena Season 11 Set","/priest-arena-season-11-transmog-sets"],[40,"Arena Season 12 Set","/priest-arena-season-12-transmog-sets"],[42,"Arena Season 13 Set","/priest-arena-season-13-transmog-sets"],[62,"Arena Season 14 Set","/priest-arena-season-14-transmog-sets"],[63,"Arena Season 15 Set","/priest-arena-season-15-transmog-sets"],[66,"Arena Season 16 Set","/priest-arena-season-16-transmog-sets"],[72,"Warlords Season 2","/priest-warlords-season-2-transmog-sets"],[73,"Warlords Season 3","/priest-warlords-season-3-transmog-sets"],[80,"Legion Honor Set","/priest-legion-honor-transmog-sets"],[79,"Legion Season 1","/priest-legion-season-1-transmog-sets"],[6,"Level 60 PvP Rare Set","/priest-level-60-rare-pvp-transmog-sets"],[8,"Level 60 PvP Epic Set","/priest-level-60-epic-pvp-transmog-sets"],[16,"Level 70 PvP Rare Set","/priest-tier-1-level-70-rare-pvp-transmog-sets"],[21,"Level 70 PvP Rare Set 2","/priest-tier-2-level-70-rare-pvp-transmog-sets"],[36,"Level 85 PvP Epic Set","/priest-level-85-epic-pvp-transmog-sets"],[32,"Level 85 PvP Rare Set","/priest-level-85-rare-pvp-transmog-sets"],[41,"Level 90 PvP Rare Set","/priest-level-90-rare-pvp-transmog-sets"]]],[6,"Raid Set","/priest-raid-transmog-sets",[[57,"Classic Resistance Set","/priest-classic-resistance-transmog-sets"],[3,"Tier 1 Raid Set","/priest-tier-1-raid-transmog-sets"],[4,"Tier 2 Raid Set","/priest-tier-2-raid-transmog-sets"],[5,"Tier 3 Raid Set","/priest-tier-3-raid-transmog-sets"],[12,"Tier 4 Raid Set","/priest-tier-4-raid-transmog-sets"],[13,"Tier 5 Raid Set","/priest-tier-5-raid-transmog-sets"],[18,"Tier 6 Raid Set","/priest-tier-6-raid-transmog-sets"],[23,"Tier 7 Raid Set","/priest-tier-7-raid-transmog-sets"],[25,"Tier 8 Raid Set","/priest-tier-8-raid-transmog-sets"],[27,"Tier 9 Raid Set","/priest-tier-9-raid-transmog-sets"],[29,"Tier 10 Raid Set","/priest-tier-10-raid-transmog-sets"],[31,"Tier 11 Raid Set","/priest-tier-11-raid-transmog-sets"],[35,"Tier 12 Raid Set","/priest-tier-12-raid-transmog-sets"],[38,"Tier 13 Raid Set","/priest-tier-13-raid-transmog-sets"],[39,"Tier 14 Raid Set","/priest-tier-14-raid-transmog-sets"],[43,"Tier 15 Raid Set","/priest-tier-15-raid-transmog-sets"],[64,"Tier 16 Raid Set","/priest-tier-16-raid-transmog-sets"],[65,"Tier 17 Raid Set","/priest-tier-17-raid-transmog-sets"],[71,"Tier 18 Raid Set","/priest-tier-18-raid-transmog-sets"],[78,"Tier 19 Raid Set","/priest-tier-19-raid-transmog-sets"],[9,"Ruins of Ahn'Qiraj Set","/priest-ruins-of-ahnqiraj-transmog-sets"],[10,"Temple of Ahn'Qiraj Raid Set","/priest-temple-of-ahnqiraj-transmog-sets"],[11,"Zul'Gurub Set","/priest-zul-gurub-transmog-sets"],[58,"Sunwell Plateau Raid Set","/priest-sunwell-plateau-transmog-sets"],[59,"Mogu'shan Vaults Raid Set","/priest-mogushan-vaults-transmog-sets"],[70,"Warlords LFR Set","/priest-warlords-lfr-transmog-sets"],[61,"WotLK Raid Set 1","/priest-wotlk-raid-transmog-sets"]]],[7,"Questing Set","/priest-questing-transmog-sets",[[53,"Azeroth Questing Set","/priest-azeroth-questing-transmog-sets"],[54,"WotLK Questing Set","/priest-wotlk-questing-transmog-sets"],[55,"Cataclysm Questing Set","/priest-cataclysm-questing-transmog-sets"],[56,"Mists Questing Set","/priest-mists-questing-transmog-sets"],[68,"Warlords Questing Set","/priest-warlords-questing-transmog-sets"],[75,"Legion Questing Set","/priest-legion-questing-transmog-sets"]]]],{className:"c5",tinyIcon:"class_priest"}],[4,"Rogue","/rogue-transmog-sets",[[44,"Classic World Set","/rogue-classic-world-transmog-sets"],[4,"Dungeon Set","/rogue-dungeon-transmog-sets",[[77,"Class Hall Set","/rogue-class-hall-transmog-sets"],[1,"Dungeon Set 1","/rogue-tier-1-dungeon-transmog-sets"],[2,"Dungeon Set 2","/rogue-tier-2-dungeon-transmog-sets"],[14,"Dungeon Set 3","/rogue-tier-3-dungeon-transmog-sets"],[50,"Cataclysm Dungeon Set","/rogue-cataclysm-dungeon-transmog-sets"],[52,"Challenge Mode Dungeon Set","/rogue-challenge-mode-dungeon-transmog-sets"],[45,"Classic Dungeon Set","/rogue-classic-dungeon-transmog-sets"],[49,"Hour of Twilight Dungeon Set","/rogue-hour-of-twilight-dungeon-transmog-sets"],[76,"Legion Dungeon Set","/rogue-legion-dungeon-transmog-sets"],[51,"Mists Dungeon Set","/rogue-mists-dungeon-transmog-sets"],[46,"Troll Dungeon Set","/rogue-troll-dungeon-transmog-sets"],[67,"Warlords Dungeon Set","/rogue-warlords-dungeon-transmog-sets"],[47,"WotLK Dungeon Set 1","/rogue-tier-1-wotlk-dungeon-transmog-sets"],[48,"WotLK Dungeon Set 2","/rogue-tier-2-wotlk-dungeon-transmog-sets"]]],[8,"Event Set","/rogue-event-transmog-sets",[[74,"Demon Invasion Event Set","/rogue-demon-invasion-transmog-sets"],[60,"Scourge Invasion Event Set","/rogue-scourge-invasion-transmog-sets"]]],[69,"Garrison Set","/rogue-garrison-transmog-sets"],[5,"PvP Set","/rogue-pvp-transmog-sets",[[17,"Arena Season 1 Set","/rogue-arena-season-1-transmog-sets"],[19,"Arena Season 2 Set","/rogue-arena-season-2-transmog-sets"],[20,"Arena Season 3 Set","/rogue-arena-season-3-transmog-sets"],[22,"Arena Season 4 Set","/rogue-arena-season-4-transmog-sets"],[24,"Arena Season 5 Set","/rogue-arena-season-5-transmog-sets"],[26,"Arena Season 6 Set","/rogue-arena-season-6-transmog-sets"],[28,"Arena Season 7 Set","/rogue-arena-season-7-transmog-sets"],[30,"Arena Season 8 Set","/rogue-arena-season-8-transmog-sets"],[33,"Arena Season 9 Set","/rogue-arena-season-9-transmog-sets"],[34,"Arena Season 10 Set","/rogue-arena-season-10-transmog-sets"],[37,"Arena Season 11 Set","/rogue-arena-season-11-transmog-sets"],[40,"Arena Season 12 Set","/rogue-arena-season-12-transmog-sets"],[42,"Arena Season 13 Set","/rogue-arena-season-13-transmog-sets"],[62,"Arena Season 14 Set","/rogue-arena-season-14-transmog-sets"],[63,"Arena Season 15 Set","/rogue-arena-season-15-transmog-sets"],[66,"Arena Season 16 Set","/rogue-arena-season-16-transmog-sets"],[72,"Warlords Season 2","/rogue-warlords-season-2-transmog-sets"],[73,"Warlords Season 3","/rogue-warlords-season-3-transmog-sets"],[80,"Legion Honor Set","/rogue-legion-honor-transmog-sets"],[79,"Legion Season 1","/rogue-legion-season-1-transmog-sets"],[6,"Level 60 PvP Rare Set","/rogue-level-60-rare-pvp-transmog-sets"],[8,"Level 60 PvP Epic Set","/rogue-level-60-epic-pvp-transmog-sets"],[16,"Level 70 PvP Rare Set","/rogue-tier-1-level-70-rare-pvp-transmog-sets"],[21,"Level 70 PvP Rare Set 2","/rogue-tier-2-level-70-rare-pvp-transmog-sets"],[36,"Level 85 PvP Epic Set","/rogue-level-85-epic-pvp-transmog-sets"],[32,"Level 85 PvP Rare Set","/rogue-level-85-rare-pvp-transmog-sets"],[41,"Level 90 PvP Rare Set","/rogue-level-90-rare-pvp-transmog-sets"]]],[6,"Raid Set","/rogue-raid-transmog-sets",[[57,"Classic Resistance Set","/rogue-classic-resistance-transmog-sets"],[3,"Tier 1 Raid Set","/rogue-tier-1-raid-transmog-sets"],[4,"Tier 2 Raid Set","/rogue-tier-2-raid-transmog-sets"],[5,"Tier 3 Raid Set","/rogue-tier-3-raid-transmog-sets"],[12,"Tier 4 Raid Set","/rogue-tier-4-raid-transmog-sets"],[13,"Tier 5 Raid Set","/rogue-tier-5-raid-transmog-sets"],[18,"Tier 6 Raid Set","/rogue-tier-6-raid-transmog-sets"],[23,"Tier 7 Raid Set","/rogue-tier-7-raid-transmog-sets"],[25,"Tier 8 Raid Set","/rogue-tier-8-raid-transmog-sets"],[27,"Tier 9 Raid Set","/rogue-tier-9-raid-transmog-sets"],[29,"Tier 10 Raid Set","/rogue-tier-10-raid-transmog-sets"],[31,"Tier 11 Raid Set","/rogue-tier-11-raid-transmog-sets"],[35,"Tier 12 Raid Set","/rogue-tier-12-raid-transmog-sets"],[38,"Tier 13 Raid Set","/rogue-tier-13-raid-transmog-sets"],[39,"Tier 14 Raid Set","/rogue-tier-14-raid-transmog-sets"],[43,"Tier 15 Raid Set","/rogue-tier-15-raid-transmog-sets"],[64,"Tier 16 Raid Set","/rogue-tier-16-raid-transmog-sets"],[65,"Tier 17 Raid Set","/rogue-tier-17-raid-transmog-sets"],[71,"Tier 18 Raid Set","/rogue-tier-18-raid-transmog-sets"],[78,"Tier 19 Raid Set","/rogue-tier-19-raid-transmog-sets"],[9,"Ruins of Ahn'Qiraj Set","/rogue-ruins-of-ahnqiraj-transmog-sets"],[10,"Temple of Ahn'Qiraj Raid Set","/rogue-temple-of-ahnqiraj-transmog-sets"],[11,"Zul'Gurub Set","/rogue-zul-gurub-transmog-sets"],[58,"Sunwell Plateau Raid Set","/rogue-sunwell-plateau-transmog-sets"],[59,"Mogu'shan Vaults Raid Set","/rogue-mogushan-vaults-transmog-sets"],[70,"Warlords LFR Set","/rogue-warlords-lfr-transmog-sets"],[61,"WotLK Raid Set 1","/rogue-wotlk-raid-transmog-sets"]]],[7,"Questing Set","/rogue-questing-transmog-sets",[[53,"Azeroth Questing Set","/rogue-azeroth-questing-transmog-sets"],[54,"WotLK Questing Set","/rogue-wotlk-questing-transmog-sets"],[55,"Cataclysm Questing Set","/rogue-cataclysm-questing-transmog-sets"],[56,"Mists Questing Set","/rogue-mists-questing-transmog-sets"],[68,"Warlords Questing Set","/rogue-warlords-questing-transmog-sets"],[75,"Legion Questing Set","/rogue-legion-questing-transmog-sets"]]]],{className:"c4",tinyIcon:"class_rogue"}],[7,"Shaman","/shaman-transmog-sets",[[44,"Classic World Set","/shaman-classic-world-transmog-sets"],[4,"Dungeon Set","/shaman-dungeon-transmog-sets",[[77,"Class Hall Set","/shaman-class-hall-transmog-sets"],[1,"Dungeon Set 1","/shaman-tier-1-dungeon-transmog-sets"],[2,"Dungeon Set 2","/shaman-tier-2-dungeon-transmog-sets"],[14,"Dungeon Set 3","/shaman-tier-3-dungeon-transmog-sets"],[50,"Cataclysm Dungeon Set","/shaman-cataclysm-dungeon-transmog-sets"],[52,"Challenge Mode Dungeon Set","/shaman-challenge-mode-dungeon-transmog-sets"],[45,"Classic Dungeon Set","/shaman-classic-dungeon-transmog-sets"],[49,"Hour of Twilight Dungeon Set","/shaman-hour-of-twilight-dungeon-transmog-sets"],[76,"Legion Dungeon Set","/shaman-legion-dungeon-transmog-sets"],[51,"Mists Dungeon Set","/shaman-mists-dungeon-transmog-sets"],[46,"Troll Dungeon Set","/shaman-troll-dungeon-transmog-sets"],[67,"Warlords Dungeon Set","/shaman-warlords-dungeon-transmog-sets"],[47,"WotLK Dungeon Set 1","/shaman-tier-1-wotlk-dungeon-transmog-sets"],[48,"WotLK Dungeon Set 2","/shaman-tier-2-wotlk-dungeon-transmog-sets"]]],[8,"Event Set","/shaman-event-transmog-sets",[[74,"Demon Invasion Event Set","/shaman-demon-invasion-transmog-sets"],[60,"Scourge Invasion Event Set","/shaman-scourge-invasion-transmog-sets"]]],[69,"Garrison Set","/shaman-garrison-transmog-sets"],[5,"PvP Set","/shaman-pvp-transmog-sets",[[17,"Arena Season 1 Set","/shaman-arena-season-1-transmog-sets"],[19,"Arena Season 2 Set","/shaman-arena-season-2-transmog-sets"],[20,"Arena Season 3 Set","/shaman-arena-season-3-transmog-sets"],[22,"Arena Season 4 Set","/shaman-arena-season-4-transmog-sets"],[24,"Arena Season 5 Set","/shaman-arena-season-5-transmog-sets"],[26,"Arena Season 6 Set","/shaman-arena-season-6-transmog-sets"],[28,"Arena Season 7 Set","/shaman-arena-season-7-transmog-sets"],[30,"Arena Season 8 Set","/shaman-arena-season-8-transmog-sets"],[33,"Arena Season 9 Set","/shaman-arena-season-9-transmog-sets"],[34,"Arena Season 10 Set","/shaman-arena-season-10-transmog-sets"],[37,"Arena Season 11 Set","/shaman-arena-season-11-transmog-sets"],[40,"Arena Season 12 Set","/shaman-arena-season-12-transmog-sets"],[42,"Arena Season 13 Set","/shaman-arena-season-13-transmog-sets"],[62,"Arena Season 14 Set","/shaman-arena-season-14-transmog-sets"],[63,"Arena Season 15 Set","/shaman-arena-season-15-transmog-sets"],[66,"Arena Season 16 Set","/shaman-arena-season-16-transmog-sets"],[72,"Warlords Season 2","/shaman-warlords-season-2-transmog-sets"],[73,"Warlords Season 3","/shaman-warlords-season-3-transmog-sets"],[80,"Legion Honor Set","/shaman-legion-honor-transmog-sets"],[79,"Legion Season 1","/shaman-legion-season-1-transmog-sets"],[6,"Level 60 PvP Rare Set","/shaman-level-60-rare-pvp-transmog-sets"],[8,"Level 60 PvP Epic Set","/shaman-level-60-epic-pvp-transmog-sets"],[16,"Level 70 PvP Rare Set","/shaman-tier-1-level-70-rare-pvp-transmog-sets"],[21,"Level 70 PvP Rare Set 2","/shaman-tier-2-level-70-rare-pvp-transmog-sets"],[36,"Level 85 PvP Epic Set","/shaman-level-85-epic-pvp-transmog-sets"],[32,"Level 85 PvP Rare Set","/shaman-level-85-rare-pvp-transmog-sets"],[41,"Level 90 PvP Rare Set","/shaman-level-90-rare-pvp-transmog-sets"]]],[6,"Raid Set","/shaman-raid-transmog-sets",[[57,"Classic Resistance Set","/shaman-classic-resistance-transmog-sets"],[3,"Tier 1 Raid Set","/shaman-tier-1-raid-transmog-sets"],[4,"Tier 2 Raid Set","/shaman-tier-2-raid-transmog-sets"],[5,"Tier 3 Raid Set","/shaman-tier-3-raid-transmog-sets"],[12,"Tier 4 Raid Set","/shaman-tier-4-raid-transmog-sets"],[13,"Tier 5 Raid Set","/shaman-tier-5-raid-transmog-sets"],[18,"Tier 6 Raid Set","/shaman-tier-6-raid-transmog-sets"],[23,"Tier 7 Raid Set","/shaman-tier-7-raid-transmog-sets"],[25,"Tier 8 Raid Set","/shaman-tier-8-raid-transmog-sets"],[27,"Tier 9 Raid Set","/shaman-tier-9-raid-transmog-sets"],[29,"Tier 10 Raid Set","/shaman-tier-10-raid-transmog-sets"],[31,"Tier 11 Raid Set","/shaman-tier-11-raid-transmog-sets"],[35,"Tier 12 Raid Set","/shaman-tier-12-raid-transmog-sets"],[38,"Tier 13 Raid Set","/shaman-tier-13-raid-transmog-sets"],[39,"Tier 14 Raid Set","/shaman-tier-14-raid-transmog-sets"],[43,"Tier 15 Raid Set","/shaman-tier-15-raid-transmog-sets"],[64,"Tier 16 Raid Set","/shaman-tier-16-raid-transmog-sets"],[65,"Tier 17 Raid Set","/shaman-tier-17-raid-transmog-sets"],[71,"Tier 18 Raid Set","/shaman-tier-18-raid-transmog-sets"],[78,"Tier 19 Raid Set","/shaman-tier-19-raid-transmog-sets"],[9,"Ruins of Ahn'Qiraj Set","/shaman-ruins-of-ahnqiraj-transmog-sets"],[10,"Temple of Ahn'Qiraj Raid Set","/shaman-temple-of-ahnqiraj-transmog-sets"],[11,"Zul'Gurub Set","/shaman-zul-gurub-transmog-sets"],[58,"Sunwell Plateau Raid Set","/shaman-sunwell-plateau-transmog-sets"],[59,"Mogu'shan Vaults Raid Set","/shaman-mogushan-vaults-transmog-sets"],[70,"Warlords LFR Set","/shaman-warlords-lfr-transmog-sets"],[61,"WotLK Raid Set 1","/shaman-wotlk-raid-transmog-sets"]]],[7,"Questing Set","/shaman-questing-transmog-sets",[[53,"Azeroth Questing Set","/shaman-azeroth-questing-transmog-sets"],[54,"WotLK Questing Set","/shaman-wotlk-questing-transmog-sets"],[55,"Cataclysm Questing Set","/shaman-cataclysm-questing-transmog-sets"],[56,"Mists Questing Set","/shaman-mists-questing-transmog-sets"],[68,"Warlords Questing Set","/shaman-warlords-questing-transmog-sets"],[75,"Legion Questing Set","/shaman-legion-questing-transmog-sets"]]]],{className:"c7",tinyIcon:"class_shaman"}],[9,"Warlock","/warlock-transmog-sets",[[44,"Classic World Set","/warlock-classic-world-transmog-sets"],[4,"Dungeon Set","/warlock-dungeon-transmog-sets",[[77,"Class Hall Set","/warlock-class-hall-transmog-sets"],[1,"Dungeon Set 1","/warlock-tier-1-dungeon-transmog-sets"],[2,"Dungeon Set 2","/warlock-tier-2-dungeon-transmog-sets"],[14,"Dungeon Set 3","/warlock-tier-3-dungeon-transmog-sets"],[50,"Cataclysm Dungeon Set","/warlock-cataclysm-dungeon-transmog-sets"],[52,"Challenge Mode Dungeon Set","/warlock-challenge-mode-dungeon-transmog-sets"],[45,"Classic Dungeon Set","/warlock-classic-dungeon-transmog-sets"],[49,"Hour of Twilight Dungeon Set","/warlock-hour-of-twilight-dungeon-transmog-sets"],[76,"Legion Dungeon Set","/warlock-legion-dungeon-transmog-sets"],[51,"Mists Dungeon Set","/warlock-mists-dungeon-transmog-sets"],[46,"Troll Dungeon Set","/warlock-troll-dungeon-transmog-sets"],[67,"Warlords Dungeon Set","/warlock-warlords-dungeon-transmog-sets"],[47,"WotLK Dungeon Set 1","/warlock-tier-1-wotlk-dungeon-transmog-sets"],[48,"WotLK Dungeon Set 2","/warlock-tier-2-wotlk-dungeon-transmog-sets"]]],[8,"Event Set","/warlock-event-transmog-sets",[[74,"Demon Invasion Event Set","/warlock-demon-invasion-transmog-sets"],[60,"Scourge Invasion Event Set","/warlock-scourge-invasion-transmog-sets"]]],[69,"Garrison Set","/warlock-garrison-transmog-sets"],[5,"PvP Set","/warlock-pvp-transmog-sets",[[17,"Arena Season 1 Set","/warlock-arena-season-1-transmog-sets"],[19,"Arena Season 2 Set","/warlock-arena-season-2-transmog-sets"],[20,"Arena Season 3 Set","/warlock-arena-season-3-transmog-sets"],[22,"Arena Season 4 Set","/warlock-arena-season-4-transmog-sets"],[24,"Arena Season 5 Set","/warlock-arena-season-5-transmog-sets"],[26,"Arena Season 6 Set","/warlock-arena-season-6-transmog-sets"],[28,"Arena Season 7 Set","/warlock-arena-season-7-transmog-sets"],[30,"Arena Season 8 Set","/warlock-arena-season-8-transmog-sets"],[33,"Arena Season 9 Set","/warlock-arena-season-9-transmog-sets"],[34,"Arena Season 10 Set","/warlock-arena-season-10-transmog-sets"],[37,"Arena Season 11 Set","/warlock-arena-season-11-transmog-sets"],[40,"Arena Season 12 Set","/warlock-arena-season-12-transmog-sets"],[42,"Arena Season 13 Set","/warlock-arena-season-13-transmog-sets"],[62,"Arena Season 14 Set","/warlock-arena-season-14-transmog-sets"],[63,"Arena Season 15 Set","/warlock-arena-season-15-transmog-sets"],[66,"Arena Season 16 Set","/warlock-arena-season-16-transmog-sets"],[72,"Warlords Season 2","/warlock-warlords-season-2-transmog-sets"],[73,"Warlords Season 3","/warlock-warlords-season-3-transmog-sets"],[80,"Legion Honor Set","/warlock-legion-honor-transmog-sets"],[79,"Legion Season 1","/warlock-legion-season-1-transmog-sets"],[6,"Level 60 PvP Rare Set","/warlock-level-60-rare-pvp-transmog-sets"],[8,"Level 60 PvP Epic Set","/warlock-level-60-epic-pvp-transmog-sets"],[16,"Level 70 PvP Rare Set","/warlock-tier-1-level-70-rare-pvp-transmog-sets"],[21,"Level 70 PvP Rare Set 2","/warlock-tier-2-level-70-rare-pvp-transmog-sets"],[36,"Level 85 PvP Epic Set","/warlock-level-85-epic-pvp-transmog-sets"],[32,"Level 85 PvP Rare Set","/warlock-level-85-rare-pvp-transmog-sets"],[41,"Level 90 PvP Rare Set","/warlock-level-90-rare-pvp-transmog-sets"]]],[6,"Raid Set","/warlock-raid-transmog-sets",[[57,"Classic Resistance Set","/warlock-classic-resistance-transmog-sets"],[3,"Tier 1 Raid Set","/warlock-tier-1-raid-transmog-sets"],[4,"Tier 2 Raid Set","/warlock-tier-2-raid-transmog-sets"],[5,"Tier 3 Raid Set","/warlock-tier-3-raid-transmog-sets"],[12,"Tier 4 Raid Set","/warlock-tier-4-raid-transmog-sets"],[13,"Tier 5 Raid Set","/warlock-tier-5-raid-transmog-sets"],[18,"Tier 6 Raid Set","/warlock-tier-6-raid-transmog-sets"],[23,"Tier 7 Raid Set","/warlock-tier-7-raid-transmog-sets"],[25,"Tier 8 Raid Set","/warlock-tier-8-raid-transmog-sets"],[27,"Tier 9 Raid Set","/warlock-tier-9-raid-transmog-sets"],[29,"Tier 10 Raid Set","/warlock-tier-10-raid-transmog-sets"],[31,"Tier 11 Raid Set","/warlock-tier-11-raid-transmog-sets"],[35,"Tier 12 Raid Set","/warlock-tier-12-raid-transmog-sets"],[38,"Tier 13 Raid Set","/warlock-tier-13-raid-transmog-sets"],[39,"Tier 14 Raid Set","/warlock-tier-14-raid-transmog-sets"],[43,"Tier 15 Raid Set","/warlock-tier-15-raid-transmog-sets"],[64,"Tier 16 Raid Set","/warlock-tier-16-raid-transmog-sets"],[65,"Tier 17 Raid Set","/warlock-tier-17-raid-transmog-sets"],[71,"Tier 18 Raid Set","/warlock-tier-18-raid-transmog-sets"],[78,"Tier 19 Raid Set","/warlock-tier-19-raid-transmog-sets"],[9,"Ruins of Ahn'Qiraj Set","/warlock-ruins-of-ahnqiraj-transmog-sets"],[10,"Temple of Ahn'Qiraj Raid Set","/warlock-temple-of-ahnqiraj-transmog-sets"],[11,"Zul'Gurub Set","/warlock-zul-gurub-transmog-sets"],[58,"Sunwell Plateau Raid Set","/warlock-sunwell-plateau-transmog-sets"],[59,"Mogu'shan Vaults Raid Set","/warlock-mogushan-vaults-transmog-sets"],[70,"Warlords LFR Set","/warlock-warlords-lfr-transmog-sets"],[61,"WotLK Raid Set 1","/warlock-wotlk-raid-transmog-sets"]]],[7,"Questing Set","/warlock-questing-transmog-sets",[[53,"Azeroth Questing Set","/warlock-azeroth-questing-transmog-sets"],[54,"WotLK Questing Set","/warlock-wotlk-questing-transmog-sets"],[55,"Cataclysm Questing Set","/warlock-cataclysm-questing-transmog-sets"],[56,"Mists Questing Set","/warlock-mists-questing-transmog-sets"],[68,"Warlords Questing Set","/warlock-warlords-questing-transmog-sets"],[75,"Legion Questing Set","/warlock-legion-questing-transmog-sets"]]]],{className:"c9",tinyIcon:"class_warlock"}],[1,"Warrior","/warrior-transmog-sets",[[44,"Classic World Set","/warrior-classic-world-transmog-sets"],[4,"Dungeon Set","/warrior-dungeon-transmog-sets",[[77,"Class Hall Set","/warrior-class-hall-transmog-sets"],[1,"Dungeon Set 1","/warrior-tier-1-dungeon-transmog-sets"],[2,"Dungeon Set 2","/warrior-tier-2-dungeon-transmog-sets"],[14,"Dungeon Set 3","/warrior-tier-3-dungeon-transmog-sets"],[50,"Cataclysm Dungeon Set","/warrior-cataclysm-dungeon-transmog-sets"],[52,"Challenge Mode Dungeon Set","/warrior-challenge-mode-dungeon-transmog-sets"],[45,"Classic Dungeon Set","/warrior-classic-dungeon-transmog-sets"],[49,"Hour of Twilight Dungeon Set","/warrior-hour-of-twilight-dungeon-transmog-sets"],[76,"Legion Dungeon Set","/warrior-legion-dungeon-transmog-sets"],[51,"Mists Dungeon Set","/warrior-mists-dungeon-transmog-sets"],[46,"Troll Dungeon Set","/warrior-troll-dungeon-transmog-sets"],[67,"Warlords Dungeon Set","/warrior-warlords-dungeon-transmog-sets"],[47,"WotLK Dungeon Set 1","/warrior-tier-1-wotlk-dungeon-transmog-sets"],[48,"WotLK Dungeon Set 2","/warrior-tier-2-wotlk-dungeon-transmog-sets"]]],[8,"Event Set","/warrior-event-transmog-sets",[[74,"Demon Invasion Event Set","/warrior-demon-invasion-transmog-sets"],[60,"Scourge Invasion Event Set","/warrior-scourge-invasion-transmog-sets"]]],[69,"Garrison Set","/warrior-garrison-transmog-sets"],[5,"PvP Set","/warrior-pvp-transmog-sets",[[17,"Arena Season 1 Set","/warrior-arena-season-1-transmog-sets"],[19,"Arena Season 2 Set","/warrior-arena-season-2-transmog-sets"],[20,"Arena Season 3 Set","/warrior-arena-season-3-transmog-sets"],[22,"Arena Season 4 Set","/warrior-arena-season-4-transmog-sets"],[24,"Arena Season 5 Set","/warrior-arena-season-5-transmog-sets"],[26,"Arena Season 6 Set","/warrior-arena-season-6-transmog-sets"],[28,"Arena Season 7 Set","/warrior-arena-season-7-transmog-sets"],[30,"Arena Season 8 Set","/warrior-arena-season-8-transmog-sets"],[33,"Arena Season 9 Set","/warrior-arena-season-9-transmog-sets"],[34,"Arena Season 10 Set","/warrior-arena-season-10-transmog-sets"],[37,"Arena Season 11 Set","/warrior-arena-season-11-transmog-sets"],[40,"Arena Season 12 Set","/warrior-arena-season-12-transmog-sets"],[42,"Arena Season 13 Set","/warrior-arena-season-13-transmog-sets"],[62,"Arena Season 14 Set","/warrior-arena-season-14-transmog-sets"],[63,"Arena Season 15 Set","/warrior-arena-season-15-transmog-sets"],[66,"Arena Season 16 Set","/warrior-arena-season-16-transmog-sets"],[72,"Warlords Season 2","/warrior-warlords-season-2-transmog-sets"],[73,"Warlords Season 3","/warrior-warlords-season-3-transmog-sets"],[80,"Legion Honor Set","/warrior-legion-honor-transmog-sets"],[79,"Legion Season 1","/warrior-legion-season-1-transmog-sets"],[6,"Level 60 PvP Rare Set","/warrior-level-60-rare-pvp-transmog-sets"],[8,"Level 60 PvP Epic Set","/warrior-level-60-epic-pvp-transmog-sets"],[16,"Level 70 PvP Rare Set","/warrior-tier-1-level-70-rare-pvp-transmog-sets"],[21,"Level 70 PvP Rare Set 2","/warrior-tier-2-level-70-rare-pvp-transmog-sets"],[36,"Level 85 PvP Epic Set","/warrior-level-85-epic-pvp-transmog-sets"],[32,"Level 85 PvP Rare Set","/warrior-level-85-rare-pvp-transmog-sets"],[41,"Level 90 PvP Rare Set","/warrior-level-90-rare-pvp-transmog-sets"]]],[6,"Raid Set","/warrior-raid-transmog-sets",[[57,"Classic Resistance Set","/warrior-classic-resistance-transmog-sets"],[3,"Tier 1 Raid Set","/warrior-tier-1-raid-transmog-sets"],[4,"Tier 2 Raid Set","/warrior-tier-2-raid-transmog-sets"],[5,"Tier 3 Raid Set","/warrior-tier-3-raid-transmog-sets"],[12,"Tier 4 Raid Set","/warrior-tier-4-raid-transmog-sets"],[13,"Tier 5 Raid Set","/warrior-tier-5-raid-transmog-sets"],[18,"Tier 6 Raid Set","/warrior-tier-6-raid-transmog-sets"],[23,"Tier 7 Raid Set","/warrior-tier-7-raid-transmog-sets"],[25,"Tier 8 Raid Set","/warrior-tier-8-raid-transmog-sets"],[27,"Tier 9 Raid Set","/warrior-tier-9-raid-transmog-sets"],[29,"Tier 10 Raid Set","/warrior-tier-10-raid-transmog-sets"],[31,"Tier 11 Raid Set","/warrior-tier-11-raid-transmog-sets"],[35,"Tier 12 Raid Set","/warrior-tier-12-raid-transmog-sets"],[38,"Tier 13 Raid Set","/warrior-tier-13-raid-transmog-sets"],[39,"Tier 14 Raid Set","/warrior-tier-14-raid-transmog-sets"],[43,"Tier 15 Raid Set","/warrior-tier-15-raid-transmog-sets"],[64,"Tier 16 Raid Set","/warrior-tier-16-raid-transmog-sets"],[65,"Tier 17 Raid Set","/warrior-tier-17-raid-transmog-sets"],[71,"Tier 18 Raid Set","/warrior-tier-18-raid-transmog-sets"],[78,"Tier 19 Raid Set","/warrior-tier-19-raid-transmog-sets"],[9,"Ruins of Ahn'Qiraj Set","/warrior-ruins-of-ahnqiraj-transmog-sets"],[10,"Temple of Ahn'Qiraj Raid Set","/warrior-temple-of-ahnqiraj-transmog-sets"],[11,"Zul'Gurub Set","/warrior-zul-gurub-transmog-sets"],[58,"Sunwell Plateau Raid Set","/warrior-sunwell-plateau-transmog-sets"],[59,"Mogu'shan Vaults Raid Set","/warrior-mogushan-vaults-transmog-sets"],[70,"Warlords LFR Set","/warrior-warlords-lfr-transmog-sets"],[61,"WotLK Raid Set 1","/warrior-wotlk-raid-transmog-sets"]]],[7,"Questing Set","/warrior-questing-transmog-sets",[[53,"Azeroth Questing Set","/warrior-azeroth-questing-transmog-sets"],[54,"WotLK Questing Set","/warrior-wotlk-questing-transmog-sets"],[55,"Cataclysm Questing Set","/warrior-cataclysm-questing-transmog-sets"],[56,"Mists Questing Set","/warrior-mists-questing-transmog-sets"],[68,"Warlords Questing Set","/warrior-warlords-questing-transmog-sets"],[75,"Legion Questing Set","/warrior-legion-questing-transmog-sets"]]]],{className:"c1",tinyIcon:"class_warrior"}]];mn_transmogsets=mn_transmogsets.concat([[,"More"],[1020,"$1 Hub".replace("$1","Transmog"),"/transmog"],[1021,"Class Guides",,mn_transmog_classes]]);mn_transmogset_guides=[[185,"Transmogrification Guide: PvE and PvP Tier Armor","/guide=185"],[299,"Transmogrification Guide: Look-Alike Tier","/guide=299"],[300,"Transmogrification Guide: BoE Armor","/guide=300"],[687,"Transmogrification Guide: All Cloak Styles","/guide=687"],[1652,"Transmogrification Guide: Troll Gear","/guide=1652"],[1720,"Transmogrification Guide: Dungeon Sets","/guide=1720"],[1842,"Transmogrification Guide: Quest Armor","/guide=1842"]];var mn_sounds=[[1000,"My Playlist","/sound&playlist",null,{fontIcon:"music"}],[,"Types"]];mn_sounds=mn_sounds.concat([[19,"Armor","/armor-sounds"],[16,"Death","/death-sounds"],[25,"Doodads","/doodad-sounds"],[52,"Emitters","/emitter-sounds"],[29,"Emotes","/emote-sounds"],[12,"Errors","/error-sounds"],[20,"Footstep Splash","/footstep-splash-sounds"],[3,"Footsteps","/footstep-sounds"],[24,"Misc Ambience","/misc-ambient-sounds"],[10,"NPC Combat","/npc-combat-sounds"],[17,"NPC Greetings","/npc-greeting-sounds"],[27,"NPC Loops","/npc-loop-sounds"],[31,"Narration","/narration-sounds"],[30,"Narration Music","/narration-music"],[13,"Nature","/nature-sounds"],[14,"Objects","/object-sounds"],[9,"Pick Up/Put Down","/pick-up-put-down-sounds"],[26,"Spell Fizzle","/spell-fizzle-sounds"],[1,"Spells","/spell-sounds"],[23,"Tradeskills","/tradeskill-sounds"],[2,"User Interface","/user-interface-sounds"],[53,"Vehicles","/vehicle-sounds"],[22,"Water","/water-sounds"],[21,"Water (Character)","/water-character-sounds"],[4,"Weapons Impacts","/weapon-impact-sounds"],[6,"Weapons Misses","/weapon-miss-sounds"],[50,"Zone Ambience","/ambient-zone-sounds"],[28,"Zone Music","/zone-music"]]);var mn_buildings=[["plots","Plots",,,{heading:true}],[14,"Large Plots","/large-plot-buildings"],[13,"Medium Plots","/medium-plot-buildings"],[12,"Small Plots","/small-plot-buildings"],["other","Other",,,{heading:true}],[29,"Herb Garden","/herb-garden-buildings"],[31,"Fishing Hut","/fishing-hut-buildings"],[28,"Mine","/mine-buildings"],[42,"Pet Menagerie","/pet-menagerie-buildings"],[56,"Shipyard","/shipyard-buildings"]];var g_threat_categories={0:"Environments",1:"Races",2:"Abilities"};var mn_garrison_threats=[[0,"Environments","/environmental-threats"],[1,"Races","/racial-threats"],[2,"Abilities","/ability-threats"]];var g_threat_categories_by_follower_type={};(function(){for(var a in g_threat_categories){g_threat_categories_by_follower_type["1x"+a]="Follower "+g_threat_categories[a];g_threat_categories_by_follower_type["2x"+a]="Ship "+g_threat_categories[a]}})();var mn_garrisons=[[10,"Garrisons Hub","/garrisons"],[11,"Garrisons Guides","/guides/garrisons"],[12,"Garrison Calculator","/garrison-calc"],[,"Garrison Database"],[3,"Abilities","/mission-abilities",[[1,"Followers","/follower-mission-abilities",[[0,"Abilities","/follower-abilities"],[1,"Traits","/follower-traits"]]],[2,"Ships","/ship-mission-abilities",[[3,"Buffs","/ship-buffs"],[1,"Crew","/ship-crews"],[0,"Equipment","/ship-equipment"],[2,"Types","/ship-types"]]],[4,"Champions","/champion-mission-abilities",[[0,"Abilities","/champion-abilities"],[1,"Traits","/champion-traits"]]]]],[1,"Buildings","/buildings",mn_buildings],[2,"Followers","/followers",[[1,"Alliance","/alliance-followers"],[2,"Horde","/horde-followers"]]],[6,"Jukebox","/guides/garrisons/jukebox"],[4,"Missions","/missions",[[1,"Followers","/follower-missions",[[18,"Alchemy","/alchemy-follower-missions"],[19,"Blacksmithing","/blacksmithing-follower-missions"],[3,"Combat","/combat-follower-missions"],[20,"Enchanting","/enchanting-follower-missions"],[21,"Engineering","/engineering-follower-missions"],[16,"Exploration","/exploration-follower-missions"],[22,"Inscription","/inscription-follower-missions"],[23,"Jewelcrafting","/jewelcrafting-follower-missions"],[24,"Leatherworking","/leatherworking-follower-missions"],[6,"Logistics","/logistics-follower-missions"],[13,"Patrol","/patrol-follower-missions"],[10,"Provision","/provision-follower-missions"],[25,"Tailoring","/tailoring-follower-missions"],[12,"Training","/training-follower-missions"],[35,"Treasure","/treasure-follower-missions"]]],[2,"Ships","/ship-missions",[[47,"Ship-Bonus","/bonus-ship-missions"],[37,"Ship-Combat","/combat-ship-missions"],[48,"Ship-Legendary","/legendary-ship-missions"],[38,"Ship-Oil (Unused)","/oil-unused-ship-missions"],[41,"Ship-SiegeA","/siegea-ship-missions"],[42,"Ship-SiegeH","/siegeh-ship-missions"],[49,"Ship-SiegeIHA","/siegeiha-ship-missions"],[50,"Ship-SiegeIHH","/siegeihh-ship-missions"],[39,"Ship-Training","/training-ship-missions"],[40,"Ship-Treasure","/treasure-ship-missions"]]]]],[7,"Ships","/ships",[[1,"Alliance","/alliance-ships"],[2,"Horde","/horde-ships"]]],[8,"Threats","/threats",mn_garrison_threats],[5,"Work Orders","/work-orders"]];var mn_lists=[[101,"Lookup Battle.Net Profile"],[102,"Create Custom List"],[100,"Profiler FAQ","/help=profiler"]];mn_icons=[[3,"Achievements","/icons?filter=3;1;0"],[4,"Battle Pets","/icons?filter=4;1;0"],[5,"Battle Pet Abilities","/icons?filter=5;1;0"],[11,"Classes","/icons?filter=11;1;0"],[6,"Currencies","/icons?filter=6;1;0"],[8,"Garrison Buildings","/icons?filter=8;1;0"],[1,"Items","/icons?filter=1;1;0"],[9,"Hunter Pets","/icons?filter=9;1;0"],[7,"Mission Abilities","/icons?filter=7;1;0"],[2,"Spells","/icons?filter=2;1;0"],[10,"Threats","/icons?filter=10;1;0"],[13,"Unused","/icons?filter=13;3;0"]];var mn_itemtools=[[24,"Dressing Room","/dressing-room"],[3,"Item Comparison","/compare"],[18,"Item Finder","/items/finder"],[25,"Item Recommendations","/upgrade"],[23,"Bag Scanner","/bagscanner"]];var mn_charactertools=[[0,"Talent Calculator","/talent-calc",mn_talentCalc],[100,"Honor Talent Calculator","/honor-calc",mn_honorTalentCalc],[102,"Artifact Weapon Calculator","/artifact-calc",mn_artifactWeaponCalc],[24,"Dressing Room","/dressing-room"],[28,"Wardrobe","/wardrobe"],[26,"Pathfinder","/flying"],[22,"Character Planner","/planner",[[1,"Lookup Battle.Net Profile","/planner"],[2,"Character Planner FAQ","/help=character-planner"]]],[5,"Profiler","/list",mn_lists],[27,"Action Bar Simulator","/action-bars"],[11,"Battle Pet Team Calculator","/pet-team"]];var mn_classHalls=[[28,"Champions","/champions-and-troops",[[1,"Alliance","/alliance-champions-and-troops"],[2,"Horde","/horde-champions-and-troops"]]],[22,"Abilities","/champion-mission-abilities",[[0,"Abilities","/champion-abilities"],[1,"Traits","/champion-traits"]]],[23,"Missions","/champion-missions",[[70,"7.0 Class Hall - Campaign Missions","/7-0-class-hall-campaign-champion-missions"],[71,"7.0 Class Hall - Generic Missions","/7-0-class-hall-generic-champion-missions"],[74,"7.0 Class Hall - Quest Missions","/7-0-class-hall-quest-champion-missions"],[73,"7.0 Class Hall - Special Reward Missions","/7-0-class-hall-special-reward-champion-missions"],[72,"7.0 Class Hall - Treasure Missions","/7-0-class-hall-treasure-champion-missions"],[75,"7.0 Class Hall - Treasure Missions - Dungeon","/7-0-class-hall-treasure-dungeon-champion-missions"],[76,"7.0 Class Hall - Treasure Missions - Raid","/7-0-class-hall-treasure-raid-champion-missions"],[15,"Defense","/defense-champion-missions"],[16,"Exploration","/exploration-champion-missions"],[4,"Generic","/generic-champion-missions"],[54,"Generic (7.0)","/generic-7-0-champion-missions"],[52,"Invasion","/invasion-champion-missions"],[13,"Patrol","/patrol-champion-missions"],[10,"Provision","/provision-champion-missions"],[11,"Recruitment","/recruitment-champion-missions"],[46,"Scouting","/scouting-champion-missions"],[51,"Zone Support - Alliance","/zone-support-alliance-champion-missions"],[57,"Zone Support - Horde","/zone-support-horde-champion-missions"]]],[30,"Order Advancements","/order-advancements",[[6,"Death Knight","/death-knight-order-advancements",,{className:"c6",tinyIcon:"class_deathknight"}],[12,"Demon Hunter","/demon-hunter-order-advancements",,{className:"c12",tinyIcon:"class_demonhunter"}],[11,"Druid","/druid-order-advancements",,{className:"c11",tinyIcon:"class_druid"}],[3,"Hunter","/hunter-order-advancements",,{className:"c3",tinyIcon:"class_hunter"}],[8,"Mage","/mage-order-advancements",,{className:"c8",tinyIcon:"class_mage"}],[10,"Monk","/monk-order-advancements",,{className:"c10",tinyIcon:"class_monk"}],[2,"Paladin","/paladin-order-advancements",,{className:"c2",tinyIcon:"class_paladin"}],[5,"Priest","/priest-order-advancements",,{className:"c5",tinyIcon:"class_priest"}],[4,"Rogue","/rogue-order-advancements",,{className:"c4",tinyIcon:"class_rogue"}],[7,"Shaman","/shaman-order-advancements",,{className:"c7",tinyIcon:"class_shaman"}],[9,"Warlock","/warlock-order-advancements",,{className:"c9",tinyIcon:"class_warlock"}],[1,"Warrior","/warrior-order-advancements",,{className:"c1",tinyIcon:"class_warrior"}]]],[7,"Zones","/zones=classhalls"]];(function(){for(var a=0;a<mn_zones.length;a++){if(mn_zones[a][0]=="classHalls"){mn_setSubmenu(mn_classHalls,7,mn_zones[a][3]);break}}})();var mn_outfits=[[,"Create Outfit"],[-1,"Dressing Room","/dressing-room",,{noFilterModifications:true}],[,"Classes"],[6,"Death Knight","/death-knight-outfits",,{className:"c6",tinyIcon:"class_deathknight"}],[12,"Demon Hunter","/demon-hunter-outfits",,{className:"c12",tinyIcon:"class_demonhunter"}],[11,"Druid","/druid-outfits",,{className:"c11",tinyIcon:"class_druid"}],[3,"Hunter","/hunter-outfits",,{className:"c3",tinyIcon:"class_hunter"}],[8,"Mage","/mage-outfits",,{className:"c8",tinyIcon:"class_mage"}],[10,"Monk","/monk-outfits",,{className:"c10",tinyIcon:"class_monk"}],[2,"Paladin","/paladin-outfits",,{className:"c2",tinyIcon:"class_paladin"}],[5,"Priest","/priest-outfits",,{className:"c5",tinyIcon:"class_priest"}],[4,"Rogue","/rogue-outfits",,{className:"c4",tinyIcon:"class_rogue"}],[7,"Shaman","/shaman-outfits",,{className:"c7",tinyIcon:"class_shaman"}],[9,"Warlock","/warlock-outfits",,{className:"c9",tinyIcon:"class_warlock"}],[1,"Warrior","/warrior-outfits",,{className:"c1",tinyIcon:"class_warrior"}]];var mn_resources=[[16,"Arcane Charges","/arcane-charges",,{tinyIcon:"spell_arcane_arcane01"}],[8,"Astral Power","/astral-power",,{tinyIcon:"ability_druid_eclipseorange"}],[12,"Chi","/chi",,{tinyIcon:"ability_monk_healthsphere"}],[4,"Combo Points","/combo-points",,{tinyIcon:"inv_mace_2h_pvp410_c_01"}],[3,"Energy","/energy",,{tinyIcon:"spell_shadow_shadowworddominate"}],[2,"Focus","/focus",,{tinyIcon:"ability_hunter_focusfire"}],[17,"Fury","/fury",,{tinyIcon:"ability_demonhunter_eyebeam"}],[9,"Holy Power","/holy-power",,{tinyIcon:"achievement_bg_winsoa"}],[13,"Insanity","/insanity",,{tinyIcon:"spell_priest_shadoworbs"}],[11,"Maelstrom","/maelstrom",,{tinyIcon:"spell_fire_masterofelements"}],[0,"Mana","/mana",,{tinyIcon:"inv_elemental_mote_mana"}],[18,"Pain","/pain",,{tinyIcon:"ability_demonhunter_demonspikes"}],[1,"Rage","/rage",,{tinyIcon:"spell_misc_emotionangry"}],[5,"Runes","/runes",,{tinyIcon:"spell_deathknight_frozenruneweapon"}],[6,"Runic Power","/runic-power",,{tinyIcon:"inv_sword_62"}],[7,"Soul Shards","/soul-shards",,{tinyIcon:"inv_misc_gem_amethyst_02"}]];var mn_database=[[,"Items",,,{column:1,menuType:"padded"}],[23,"Item Tools",null,mn_itemtools],[0,"Items","/items",mn_items],[2,"Item Sets","/item-sets",mn_itemSets],[32,"Outfits","/outfits",mn_outfits],[16,"Transmog Sets","/transmog-sets",mn_transmogsets],[,"Character",,,{column:2}],[24,"Character Tools",null,mn_charactertools],[9,"Achievements","/achievements",mn_achievements],[28,"Character Achievements","/achievements=1",mn_achievements[0][3],{hide:true,zulHide:true}],[17,"Battle Pets","/battle-pets",mn_battlepets],[29,"Pet Species","/battle-pets",mn_battlepetspecies,{hide:true,zulHide:true}],[12,"Classes","/classes",mn_classes],[8,"Hunter Pets","/hunter-pets",mn_pets],[14,"Professions & Skills","/skills",mn_skills],[13,"Races","/races",mn_races],[22,"Resources","/resources",mn_resources],[1,"Spells","/spells",mn_spells],[10,"Titles","/titles",mn_titles],[,"World",,,{column:3}],[30,"Class Halls",,mn_classHalls],[15,"Currencies","/currencies",mn_currencies],[7,"Factions","/factions",mn_factions],[21,"Garrisons","/garrisons",mn_garrisons],[26,"Holidays","/holidays",mn_events_holidays,{hide:true,zulHide:true}],[20,"Instances","/zones=instances",mn_instances],[25,"Maps","/maps"],[40,"Mythic+ Affixes","/affixes"],[4,"NPCs","/npcs",mn_npcs],[5,"Objects","/objects",mn_objects],[3,"Quests","/quests",mn_quests],[27,"Recurring Events","/recurring-events",mn_events_recurring,{hide:true,zulHide:true}],[11,"World Events","/events",mn_events,{menuMapHide:true}],[6,"Zones","/zones",mn_zones],[,"Other",,,{column:1}],[31,"Icons","/icons",mn_icons],[19,"Sounds","/sounds",mn_sounds]];var mn_guides_specs=wh_copymenu(mn_specialization);var mn_guides=[[7,"Achievements","/achievement-guides"],[17,"Artifact Weapons","/artifact-weapon-guides"],[11,"Battle Pets","/battle-pet-guides"],[1,"Classes","/class-guides",[[6,"Death Knight","/death-knight-guides",[[250,"Blood","/blood-guides",,{tinyIcon:"spell_deathknight_bloodpresence"}],[251,"Frost","/frost-death-knight-guides",,{tinyIcon:"spell_deathknight_frostpresence"}],[252,"Unholy","/unholy-guides",,{tinyIcon:"spell_deathknight_unholypresence"}]],{className:"c6",tinyIcon:"class_deathknight"}],[12,"Demon Hunter","/demon-hunter-guides",[[577,"Havoc","/havoc-guides",,{tinyIcon:"ability_demonhunter_specdps"}],[581,"Vengeance","/vengeance-guides",,{tinyIcon:"ability_demonhunter_spectank"}]],{className:"c12",tinyIcon:"class_demonhunter"}],[11,"Druid","/druid-guides",[[102,"Balance","/balance-guides",,{tinyIcon:"spell_nature_starfall"}],[103,"Feral","/feral-guides",,{tinyIcon:"ability_druid_catform"}],[104,"Guardian","/guardian-guides",,{tinyIcon:"ability_racial_bearform"}],[105,"Restoration","/restoration-druid-guides",,{tinyIcon:"spell_nature_healingtouch"}]],{className:"c11",tinyIcon:"class_druid"}],[3,"Hunter","/hunter-guides",[[253,"Beast Mastery","/beast-mastery-guides",,{tinyIcon:"ability_hunter_bestialdiscipline"}],[254,"Marksmanship","/marksmanship-guides",,{tinyIcon:"ability_hunter_focusedaim"}],[255,"Survival","/survival-guides",,{tinyIcon:"ability_hunter_camouflage"}]],{className:"c3",tinyIcon:"class_hunter"}],[8,"Mage","/mage-guides",[[62,"Arcane","/arcane-guides",,{tinyIcon:"spell_holy_magicalsentry"}],[63,"Fire","/fire-guides",,{tinyIcon:"spell_fire_firebolt02"}],[64,"Frost","/frost-mage-guides",,{tinyIcon:"spell_frost_frostbolt02"}]],{className:"c8",tinyIcon:"class_mage"}],[10,"Monk","/monk-guides",[[268,"Brewmaster","/brewmaster-guides",,{tinyIcon:"spell_monk_brewmaster_spec"}],[270,"Mistweaver","/mistweaver-guides",,{tinyIcon:"spell_monk_mistweaver_spec"}],[269,"Windwalker","/windwalker-guides",,{tinyIcon:"spell_monk_windwalker_spec"}]],{className:"c10",tinyIcon:"class_monk"}],[2,"Paladin","/paladin-guides",[[65,"Holy","/holy-paladin-guides",,{tinyIcon:"spell_holy_holybolt"}],[66,"Protection","/protection-paladin-guides",,{tinyIcon:"ability_paladin_shieldofthetemplar"}],[70,"Retribution","/retribution-guides",,{tinyIcon:"spell_holy_auraoflight"}]],{className:"c2",tinyIcon:"class_paladin"}],[5,"Priest","/priest-guides",[[256,"Discipline","/discipline-guides",,{tinyIcon:"spell_holy_powerwordshield"}],[257,"Holy","/holy-priest-guides",,{tinyIcon:"spell_holy_guardianspirit"}],[258,"Shadow","/shadow-guides",,{tinyIcon:"spell_shadow_shadowwordpain"}]],{className:"c5",tinyIcon:"class_priest"}],[4,"Rogue","/rogue-guides",[[259,"Assassination","/assassination-guides",,{tinyIcon:"ability_rogue_eviscerate"}],[260,"Outlaw","/outlaw-guides",,{tinyIcon:"inv_sword_30"}],[261,"Subtlety","/subtlety-guides",,{tinyIcon:"ability_stealth"}]],{className:"c4",tinyIcon:"class_rogue"}],[7,"Shaman","/shaman-guides",[[262,"Elemental","/elemental-guides",,{tinyIcon:"spell_nature_lightning"}],[263,"Enhancement","/enhancement-guides",,{tinyIcon:"spell_shaman_improvedstormstrike"}],[264,"Restoration","/restoration-shaman-guides",,{tinyIcon:"spell_nature_magicimmunity"}]],{className:"c7",tinyIcon:"class_shaman"}],[9,"Warlock","/warlock-guides",[[265,"Affliction","/affliction-guides",,{tinyIcon:"spell_shadow_deathcoil"}],[266,"Demonology","/demonology-guides",,{tinyIcon:"spell_shadow_metamorphosis"}],[267,"Destruction","/destruction-guides",,{tinyIcon:"spell_shadow_rainoffire"}]],{className:"c9",tinyIcon:"class_warlock"}],[1,"Warrior","/warrior-guides",[[71,"Arms","/arms-guides",,{tinyIcon:"ability_warrior_savageblow"}],[72,"Fury","/fury-guides",,{tinyIcon:"ability_warrior_innerrage"}],[73,"Protection","/protection-warrior-guides",,{tinyIcon:"ability_warrior_defensivestance"}]],{className:"c1",tinyIcon:"class_warrior"}]]],[15,"Class Halls","/class-hall-guides"],[5,"Dungeons & Raids","/dungeon-and-raid-guides"],[6,"Economy & Money","/economy-and-money-guides"],[13,"Garrisons","/garrison-guides"],[4,"New Players","/new-player-guides"],[2,"Professions","/profession-guides"],[12,"Reputation","/reputation-guides"],[16,"Returning Players","/returning-player-guides"],[10,"Transmogrification","/transmogrification-guides"],[8,"Vanity Collections","/vanity-collection-guides"],[3,"World Events","/world-event-guides"],[9,"Miscellaneous","/miscellaneous-guides"]];(function(){var g={7:"achievements",17:"artifact-weapons",11:"battle-pets",1:"classes",15:"class-halls",5:"dungeons-and-raids",6:"economy-and-money",13:"garrisons",4:"new-players",2:"professions",12:"reputation",16:"returning-players",10:"transmogrification",8:"vanity-collections",3:"world-events",9:"miscellaneous"};var d={62:"mage/arcane",63:"mage/fire",64:"mage/frost",65:"paladin/holy",66:"paladin/protection",70:"paladin/retribution",71:"warrior/arms",72:"warrior/fury",73:"warrior/protection",102:"druid/balance",103:"druid/feral",104:"druid/guardian",105:"druid/restoration",250:"death-knight/blood",251:"death-knight/frost",252:"death-knight/unholy",253:"hunter/beast-mastery",254:"hunter/marksmanship",255:"hunter/survival",256:"priest/discipline",257:"priest/holy",258:"priest/shadow",259:"rogue/assassination",260:"rogue/outlaw",261:"rogue/subtlety",262:"shaman/elemental",263:"shaman/enhancement",264:"shaman/restoration",265:"warlock/affliction",266:"warlock/demonology",267:"warlock/destruction",268:"monk/brewmaster",269:"monk/windwalker",270:"monk/mistweaver",577:"demon-hunter/havoc",581:"demon-hunter/vengeance"};var p=[[0,"talent","Talents"],[2,"rotation","Rotation"],[4,"gear","Gear"],[5,"enhancements","Enhancements"],[6,"macro","Macros"]];var a=["frost","holy","restoration","protection"];for(var r=0,f;f=mn_guides_specs[r];r++){if(f[3]){var n=f[0];var u=g_class2SeoShorthand[n];f[0]+=100;f[2]="/classes#"+u.replace("-","");var v=[];var e=0;for(var q=0,t;t=f[3][q];q++){var s=t[0];var l=q+1;var m=g_spec2SeoShorthand[n][l];if(s&&d.hasOwnProperty(s)){e++;v.push([t[0],"$1 Guide".replace("$1",t[1]),"/"+m+"-"+u+"-guide",,{column:n==11?Math.ceil(e/2):e,heading:true,menuType:"padded",rel:"np",tinyIcon:t[4].tinyIcon}]);for(var h=0;h<p.length;h++){if(n==12&&p[h][1]=="macros"){continue}v.push([p[h][0],p[h][2],"/"+m+"-"+(a.indexOf(m)>-1?u+"-":"")+p[h][1]+"-guide",,{rel:"np"}])}v.push([0,"Artifact Calc".charAt(0)=="["&&"Artifact Calculator".charAt(0)!="["?"Artifact Calculator":"Artifact Calc","/artifact-calc/"+u+"/"+m])}}f[3]=v;if(!f[4]){f[4]={}}f[4].headerNavIcon="class_"+u.replace("-","")}}var c=function(j,i){return j[1].localeCompare(i[1])};for(var o=0,b;b=mn_guides[o];o++){if(b[0]==1&&b[3]&&b[3].length){mn_guides[o][3]=[[,"Wowhead Guides",,,{column:1}]].concat(mn_guides_specs).concat([[,"User Guides","/class-guides",,{column:2,heading:true,rel:"np"}]]).concat(b[3])}}mn_guides.sort(c)})();mn_guides=[[999,"Recent","/guides",null,{column:2,hide:true}],[50,"Create New Guide","/guide=new",,{column:2,fontIcon:"plus",menuType:"padded"}],[,"Categories",,,{column:1}]].concat(mn_guides);var mn_tools_latest=[[14,"Latest Achievements","/latest-achievements"],[0,"Latest Additions","/latest-additions"],[2,"Latest Comments","/latest-comments"],[3,"Latest Screenshots","/latest-screenshots"],[11,"Latest Videos","/latest-videos"]];mn_tools_latest.push([9,"New Items in Patch",,[[,"Mists of Pandaria"],[50001,"5.0","/items/group-by:level?filter=82:82;2:4;50004:50005"],[,"Cataclysm"],[40000,"4.0","/items/group-by:level?filter=82:82;2:4;40001:40006"],[,"Wrath of the Lich King"],[30300,"3.3","/items/group-by:level?filter=82:82;2:4;30300:30305"],[30200,"3.2","/items/group-by:level?filter=82:82;2:4;30200:30202"],[30100,"3.1","/items/group-by:level?filter=82:82;2:4;30100:30103"]]]);mn_tools_latest.push([12,"Most Comments",,[[1,"Yesterday","/most-comments"],[7,"Past 7 Days","/most-comments=7"],[30,"Past 30 Days","/most-comments=30"]]],[5,"Unrated Comments","/unrated-comments"],[13,"Missing Screenshots","/missing-screenshots"]);var mn_tools=[[,"Character",,,{column:1,menuType:"padded"}]].concat(mn_charactertools).concat([[,"Items",,,{column:2}]]).concat(mn_itemtools).concat([[,"World"],[30,"World Quests","/world-quests",[[1,"North America","/world-quests/na"],[2,"Europe","/world-quests/eu"]]],[21,"Garrison Calculator","/garrison-calc"],[1,"Maps","/maps"],[,"Other",,,{column:3}],[16,"Wowhead Client","/client",,{icon:g_staticUrl+"/images/logos/favicon.png"}],[27,"Overwolf App","/overwolf",,{icon:g_staticUrl+"/images/icons/overwolf-16.png"}],[9,"Blue Tracker","/bluetracker",mn_bluetracker,{className:"blizzard-blue"}],[19,"Blue Tweets","/bluetweets",,{className:"blizzard-blue"}],[31,"Discord Webhook","/news-webhook"],[29,"Goodies for Your Site",,[[17,"News Feed","/newsfeed"],[16,"Search Box","/searchbox"],[10,"Tooltips","/tooltips"]]],[8,"Latest",,mn_tools_latest],[18,"Random Page","/random",,{fontIcon:"random"}]]);var mn_wow_forums=[[,"Community"],[0,"WoW General",,,{fontIcon:"comment"}],[19,"Lore & Roleplaying",,,{icon:g_staticUrl+"/images/forums/icons/lore.png"}],[17,"Guild Recruitment",,,{icon:g_staticUrl+"/images/forums/icons/recruitment.png"}],[33,"Front Page News",,,{icon:g_staticUrl+"/images/forums/icons/comment-bubble.png"}],[,"Support"],[16,"WoW Help",,,{icon:g_staticUrl+"/images/forums/icons/wowhelp.png"}],[12,"UI & Macros",,,{icon:g_staticUrl+"/images/forums/icons/ui.png"}],[1,"Wowhead Feedback",,,{icon:g_staticUrl+"/images/forums/icons/feedback.png"}],[,"Gameplay"],[-2,"Classes","",[[18,"Death Knight",,,{className:"c6",tinyIcon:"class_deathknight"}],[29,"Demon Hunter",,,{className:"c12",tinyIcon:"class_demonhunter"}],[3,"Druid",,,{className:"c11",tinyIcon:"class_druid"}],[4,"Hunter",,,{className:"c3",tinyIcon:"class_hunter"}],[6,"Mage",,,{className:"c8",tinyIcon:"class_mage"}],[28,"Monk",,,{className:"c10",tinyIcon:"class_monk"}],[7,"Paladin",,,{className:"c2",tinyIcon:"class_paladin"}],[8,"Priest",,,{className:"c5",tinyIcon:"class_priest"}],[5,"Rogue",,,{className:"c4",tinyIcon:"class_rogue"}],[9,"Shaman",,,{className:"c7",tinyIcon:"class_shaman"}],[10,"Warlock",,,{className:"c9",tinyIcon:"class_warlock"}],[11,"Warrior",,,{className:"c1",tinyIcon:"class_warrior"}]],{icon:g_staticUrl+"/images/forums/icons/classes.png"}],[14,"Dungeons & Raids",,,{icon:g_staticUrl+"/images/forums/icons/raids.png"}],[15,"PvP",,,{icon:g_staticUrl+"/images/forums/icons/pvp.png"}],[13,"Professions",,,{icon:g_staticUrl+"/images/forums/icons/professions.png"}],[30,"Transmogrification",,,{tinyIcon:"inv_chest_cloth_12"}],[31,"Battle Pets",,,{tinyIcon:"petjournalportrait"}]];var mn_other_forums=[[,"Other"],[2,"Off-Topic",,,{icon:g_staticUrl+"/images/forums/icons/offtopic.png"}],[25,"Forum Games",,,{icon:g_staticUrl+"/images/forums/icons/games.png"}],[,"Private"],[99,"Global Announcements",null,null,{requiredAccess:1726,icon:g_staticUrl+"/images/forums/icons/global.png"}],[1337,"Wowhead Dev",null,null,{requiredAccess:50,icon:g_staticUrl+"/images/forums/icons/dev.png"}],[101,"Wowhead Staff",null,null,{requiredAccess:1726,icon:g_staticUrl+"/images/forums/icons/staff.png"}],[100,"Test",null,null,{requiredAccess:50,icon:g_staticUrl+"/images/forums/icons/test.png"}],[32,"Hearthhead (Closed)",null,null,{requiredAccess:50,icon:g_staticUrl+"/images/icons/hearthstone-sm.png"}]];var mn_forums=[].concat(mn_wow_forums).concat(mn_other_forums);var mn_reputation=[[0,"Show All Privileges","/privileges"],[,"Privileges"],[1,"Post comments","/privilege=1"],[2,"Post external links","/privilege=2"],[4,"No CAPTCHAs","/privilege=4"],[5,"Comment votes worth more","/privilege=5"],[9,"More votes per day","/privilege=9"],[10,"Upvote comments","/privilege=10"],[11,"Downvote comments","/privilege=11"],[12,"Post comment replies","/privilege=12"],[13,"Border: Uncommon","/privilege=13"],[14,"Border: Rare","/privilege=14"],[15,"Border: Epic","/privilege=15"],[16,"Border: Legendary","/privilege=16"],[17,"Wowhead Premium","/privilege=17"]];var mn_community=[[3,"Forums","/forums",mn_forums,{column:1,menuType:"padded"}],[10,"Site Reputation","/reputation",mn_reputation],[8,"Site Achievements","/website-achievements"],[1,"Contests","/contests"],[,"Latest",,,{column:2}],[8,"Latest News Comments","/latest-blog-comments"],[13,"Latest Replies","/latest-replies"],[14,"Latest Topics","/latest-topics"],[15,"Unanswered Topics","/unanswered-topics"],[11,"Top Users","/top-users"],[,"Social",,,{column:1}],[4,"Wowhead's Discord","https://discord.gg/wowhead",null,{fontIcon:"comment"}],[5,"Twitter Page","http://twitter.com/Wowhead",null,{fontIcon:"twitter"}],[6,"Facebook Page","http://facebook.com/Wowhead",null,{fontIcon:"facebook"}]];var mn_network_sites=[[99,"ZAM","http://www.zam.com/",[[99,"Aion","http://aion.zam.com"],[99,"Dark Age of Camelot","http://camelot.allakhazam.com"],[99,"EverQuest","http://everquest.allakhazam.com"],[99,"EverQuest II","http://eq2.allakhazam.com"],[99,"Final Fantasy XI","http://ffxi.allakhazam.com"],[99,"Final Fantasy XIV","http://ffxiv.zam.com"],[99,"FreeRealms","http://fr.zam.com"],[99,"League of Legends","http://lolking.net"],[99,"Lord of the Rings Online","http://lotro.allakhazam.com"],[99,"Rift","http://rift.zam.com"],[99,"Star Wars: The Old Republic","http://tor.zam.com"],[99,"Star Wars Galaxies","http://swg.allakhazam.com"],[99,"World of Warcraft","http://wow.allakhazam.com"]]],[99,"MMOUI","http://www.mmoui.com/",[[99,"EverQuest","http://www.eqinterface.com"],[99,"EverQuest II","http://www.eq2interface.com"],[99,"Lord of the Rings Online","http://www.lotrointerface.com"],[99,"RiftUI","http://www.riftui.com"],[99,"Vanguard: Saga of Heroes","http://www.vginterface.com"],[99,"Warhammer Online","http://war.mmoui.com"],[99,"World of Warcraft","http://www.wowinterface.com"]]],[99,"Dragon Nest Armory","http://dnarmory.com"],[99,"LolKing","http://lolking.net"],[99,"SC2Ranks","http://www.sc2ranks.com"],[99,"TankSpot","http://www.tankspot.com"],[99,"Torchlight Armory","http://www.torchlightarmory.com"],[99,"Torhead","http://www.torhead.com"],[99,"VindictusDB","http://www.vindictusdb.com"]];var mn_more=[[,"All About Wowhead"],[0,"About Us & Contact","/aboutus"],[14,"Advertise","/advertise"],[3,"FAQ","/faq"],[13,"Help",,[[6,"Battle Pet Team Calculator","/help=battle-pet-team-calculator"],[0,"Commenting and You","/help=commenting-and-you"],[5,"Item Comparison","/help=item-comparison"],[7,"Mission Calculator","/help=mission-calculator"],[1,"Model Viewer","/help=modelviewer"],[2,"Screenshots: Tips & Tricks","/help=screenshots-tips-tricks"],[3,"Stat Weighting","/help=stat-weighting"],[4,"Talent Calculator","/help=talent-calculator"]]],[12,"Job Opportunities","/jobs"],[4,"Premium","/premium",,{zulName:"premium"}],[8,"Search Plugins","/searchplugins"],[15,"Site Logos and Art","/logos"],[19,"Volunteering at Wowhead","/volunteers"],[7,"What's New","/whats-new"],[2,"Wowhead Client","/client"],[,"Goodies for Your Site"],[17,"News Feed","/newsfeed"],[16,"Search Box","/searchbox"],[10,"Tooltips","/tooltips"],[,"Even More"],[5,"Network Sites",,mn_network_sites]];var mn_patches=[[1,"Patch Guides","",[[,"Legion"],["7.0.3","7.0.3: Legion: Launch Guide","/guide=7.0.3-launch"],["7.0.3","7.0.3: Legion: Demon Hunters","/guide=7.0.3-demon-hunters"],["7.0.3","7.0.3: Legion: Pre-Patch","/guide=7.0.3-pre-patch"],[,"Warlords of Draenor"],["6.2","6.2: Fury of Hellfire","/guide=6.2"],["6.1","6.1: Warlords of Draenor","/guide=6.1"],["6.0.2","6.0.2: Warlords of Draenor","/guide=6.0.2"],[,"Mists of Pandaria"],["5.4","5.4: Siege of Orgrimmar","/guide=5.4"],["5.3","5.3: Escalation","/guide=5.3"],["5.2","5.2: The Thunder King","/guide=5.2"],["5.1","5.1: Landfall","/guide=5.1"],["5.0","5.0: Mists of Pandaria","/guide=5.0"],["5.0.4","5.0.4: Theramore's Fall","/guide=5.0.4"],[,"Cataclysm"],["4.3","4.3: Hour of Twilight","/guide=4.3"],["4.2","4.2: Rage of the Firelands","/guide=4.2"],["4.1","4.1: Rise of the Zandalari","/guide=4.1"],["4.0.1","4.0.1: Cataclysm","/guide=4.0.1"],[,"Wrath of the Lich King"],["3.3","3.3.0: Fall of the Lich King","/guide=3.3"]]],[2,"Patch Notes","",[[,"Legion"],[29,"7.0.3","/patchnotes=7.0.3"],[,"Warlords of Draenor"],[31,"6.2.0","/patchnotes=6.2.0"],[30,"6.1.0","/patchnotes=6.1.0"],[29,"6.0.2","/patchnotes=6.0.2"],[,"Mists of Pandaria"],[28,"5.4.0","/patchnotes=5.4.0"],[27,"5.3.0","/patchnotes=5.3.0"],[26,"5.2.0","/patchnotes=5.2.0"],[25,"5.1.0","/patchnotes=5.1.0"],[24,"5.0.4","/patchnotes=5.0.4"],[,"Cataclysm"],[23,"4.3.0","/patchnotes=4.3.0"],[22,"4.2.0","/patchnotes=4.2.0"],[21,"4.1.0","/patchnotes=4.1.0"],[20,"4.0.6","/patchnotes=4.0.6"],[19,"4.0.3a","/patchnotes=4.0.3a"],[18,"4.0.3","/patchnotes=4.0.3"],[17,"4.0.1","/patchnotes=4.0.1"],[,"Wrath of the Lich King"],[15,"3.3.5","/patchnotes=3.3.5"],[14,"3.3.3","/patchnotes=3.3.3"],[13,"3.3.2","/patchnotes=3.3.2"],[12,"3.3.0","/patchnotes=3.3.0"],[0,"3.2.2","/patchnotes=3.2.2"],[1,"3.2.0","/patchnotes=3.2.0"],[2,"3.1.3","/patchnotes=3.1.3"],[3,"3.1.2","/patchnotes=3.1.2"],[4,"3.1.0","/patchnotes=3.1.0"],[5,"3.0.9","/patchnotes=3.0.9"],[6,"3.0.8","/patchnotes=3.0.8"],[7,"3.0.3","/patchnotes=3.0.3"],[8,"3.0.2","/patchnotes=3.0.2"],[,"The Burning Crusade"],[9,"2.4.3","/patchnotes=2.4.3"],[10,"2.4.2","/patchnotes=2.4.2"],[11,"2.4.0","/patchnotes=2.4.0"]]]];var mn_highmaul=[[0,"$1 Hub".replace("$1","Highmaul"),"/highmaul"],[10,"Raid Overview","/guide=2788"],[11,"Zone Page","/zone=6996"],[,"Role Guides"],[20,"Melee DPS","/guide=2793/quick-tips-for-melee-dps-in-highmaul-lfr"],[21,"Ranged DPS","/guide=2816/quick-tips-for-ranged-dps-in-highmaul-lfr"],[22,"Tanks","/guide=2815/quick-tips-for-tanks-in-highmaul-lfr"],[23,"Healers","/guide=2792/quick-tips-for-healing-highmaul-lfr"],[,"Boss Guides"],[1,"Kargath Bladefist","/guide=2784"],[2,"The Butcher","/guide=2783"],[3,"Brackenspore","/guide=2781"],[4,"Tectus","/guide=2782"],[5,"Twin Ogron","/guide=2780"],[6,"Ko'ragh","/guide=2791"],[7,"Imperator Mar'gok","/guide=2798"]];var mn_blackrockfoundry=[[0,"$1 Hub".replace("$1","Blackrock Foundry"),"/blackrock-foundry"],[20,"Raid Overview","/guides/raiding/blackrock-foundry/raid-overview"],[21,"Loot Overview","/news=245616/blackrock-foundry-raid-loot-overview-3d-models-tier-17-bonuses-and-more"],[22,"Zone Page","/zone=6967/blackrock-foundry"],[,"Boss Guides"],[,"Wing $1".replace(/\$1/,"1")+": Slagworks"],[1,"Gruul","/guides/raiding/blackrock-foundry/gruul-strategy-guide"],[2,"Oregorger","/guides/raiding/blackrock-foundry/oregorger-strategy-guide"],[3,"Blast Furnace","/guides/raiding/blackrock-foundry/blast-furnace-strategy-guide"],[,"Wing $1".replace(/\$1/,"2")+": Black Forge"],[4,"Hans'gar & Franzok","/guides/raiding/blackrock-foundry/hansgar-and-franzok-strategy-guide"],[5,"Flamebender Ka'graz","/guides/raiding/blackrock-foundry/flamebender-kagraz-strategy-guide"],[6,"Kromog","/guides/raiding/blackrock-foundry/kromog-strategy-guide"],[,"Wing $1".replace(/\$1/,"3")+": Iron Assembly"],[7,"Beastlord Darmac","/guides/raiding/blackrock-foundry/beastlord-darmac-strategy-guide"],[8,"Operator Thogar","/guides/raiding/blackrock-foundry/operator-thogar-strategy-guide"],[9,"Iron Maidens","/guides/raiding/blackrock-foundry/iron-maidens-strategy-guide"],[,"Wing $1".replace(/\$1/,"4")],[10,"Blackhand","/guides/raiding/blackrock-foundry/blackhand-strategy-guide"]];var mn_hellfirecitadel=[[0,"$1 Hub".replace("$1","Hellfire Citadel"),"/hellfire-citadel"],[20,"Raid Overview","/guides/raiding/hellfire-citadel/raid-overview"],[23,"Mythic Guides","/hellfire-citadel#method",,{icon:g_staticUrl+"/images/icons/method.png"}],[21,"Loot Overview","/guides/raiding/hellfire-citadel/loot-overview"],[22,"Zone Page","/zone=7545/hellfire-citadel",,{rel:"np"}],[,"Boss Guides"],[,"Wing $1".replace(/\$1/,"1")+": Hellbreach"],[1,"Hellfire Assault","/guides/raiding/hellfire-citadel/hellfire-assault-strategy-guide"],[2,"Iron Reaver","/guides/raiding/hellfire-citadel/iron-reaver-strategy-guide"],[3,"Kormrok","/guides/raiding/hellfire-citadel/kormrok-strategy-guide"],[,"Wing $1".replace(/\$1/,"2")+": Halls of Blood"],[4,"Hellfire High Council","/guides/raiding/hellfire-citadel/hellfire-high-council-strategy-guide"],[5,"Kilrogg Deadeye","/guides/raiding/hellfire-citadel/kilrogg-deadeye-strategy-guide"],[6,"Gorefiend","/guides/raiding/hellfire-citadel/gorefiend-strategy-guide"],[,"Wing $1".replace(/\$1/,"3")+": Bastion of Shadows"],[7,"Shadow-Lord Iskar","/guides/raiding/hellfire-citadel/shadow-lord-iskar-strategy-guide"],[8,"Soulbound Construct","/guides/raiding/hellfire-citadel/socrethar-strategy-guide"],[9,"Tyrant Velhari","/guides/raiding/hellfire-citadel/tyrant-velhari-strategy-guide"],[,"Wing $1".replace(/\$1/,"4")+": Destructor's Rise"],[10,"Fel Lord Zakuun","/guides/raiding/hellfire-citadel/fel-lord-zakuun-strategy-guide"],[11,"Xhul'horac","/guides/raiding/hellfire-citadel/xhulhorac-strategy-guide"],[12,"Mannoroth","/guides/raiding/hellfire-citadel/mannoroth-strategy-guide"],[,"Wing $1".replace(/\$1/,"5")+": The Black Gate"],[13,"Archimonde","/guides/raiding/hellfire-citadel/archimonde-strategy-guide"]];var mn_emeraldnightmare=[[,"Overview",,,{menuType:"padded"}],[0,"$1 Hub".replace("$1","The Emerald Nightmare"),"/news=255999/legion-survival-guide-emerald-nightmare-mythic-dungeons-world-bosses-legion-seas"],[20,"Raid Overview and Rewards","/guides/emerald-nightmare-raid-overview-and-rewards"],[21,"Loot Overview","/guides/emerald-nightmare-gear-and-relic-loot-guide"],[21,"Raid Prep and Consumables","/guides/legion-raid-prep-and-consumables"],[22,"Zone Page","/zone=8026/the-emerald-nightmare",,{rel:"np"}],[,"Boss Guides"],[,"Wing $1".replace(/\$1/,"1")+": Darkbough"],[1,"Nythendra","/guides/nythendra-raid-strategy"],[2,"Elerethe Renferal","/guides/elerethe-renferal-strategy"],[3,"Il'gynoth","/guides/ilgynoth-raid-strategy"],[,"Wing $1".replace(/\$1/,"2")+": Tormented Guardians"],[4,"Ursoc","/guides/ursoc-raid-strategy"],[5,"Dragons of Nightmare","/guides/dragons-of-nightmare-raid-strategy"],[6,"Cenarius","/guides/cenarius-strategy"],[,"Wing $1".replace(/\$1/,"3")+": Rift of Aln"],[7,"Xavius","/guides/xavius-strategy"]];var mn_trialofvalor=[[0,"$1 Guide".replace("$1","Overview"),"/news=256933/patch-7-1-new-raid-trial-of-valor"],[1,"$1 Guide".replace("$1","Odyn"),"/odyn-trial-of-valor-raid-strategy-guide"],[2,"$1 Guide".replace("$1","Guarm"),"/guarm-trial-of-valor-raid-strategy-guide"],[3,"$1 Guide".replace("$1","Helya"),"/helya-trial-of-valor-raid-strategy-guide"]];var mn_nighthold=[[,"Overview"],[0,"Raid Overview and Rewards","/the-nighthold-raid-guides-and-rewards"],[1,"Loot Overview","/nighthold-raid-loot-guide"],[2,"Tier %s Armor".replace("%s",19),"/tier-19-armor-sets"],[3,"Raid Prep and Consumables","/legion-raid-prep-and-consumables-guide"],[4,"Zone Page","/the-nighthold"],[,"Wing $1".replace(/\$1/,"1")+": Arcing Aqueducts"],[5,"Skorpyron","/skorpyron-nighthold-raid-strategy-guide"],[6,"Chronomatic Anomaly","/chronomatic-anomaly-nighthold-raid-strategy-guide"],[7,"Trilliax","/trilliax-nighthold-raid-strategy-guide"],[,"Wing $1".replace(/\$1/,"2")+": Royal Athenaeum"],[8,"Spellblade Aluriel","/spellblade-aluriel-nighthold-raid-strategy-guide"],[9,"Star Augur Etraeus","/star-augur-etraeus-nighthold-raid-strategy-guide"],[10,"High Botanist Tel'arn","/high-botanist-telarn-nighthold-raid-strategy-guide"],[,"Wing $1".replace(/\$1/,"3")+": Nightspire"],[11,"Krosus","/krosus-nighthold-raid-strategy-guide"],[12,"Tichondrius","/tichondrius-nighthold-raid-strategy-guide"],[13,"Elisande","/elisande-nighthold-raid-strategy-guide"],[,"Wing $1".replace(/\$1/,"4")+": Betrayer's Rise"],[14,"Gul'dan","/guldan-nighthold-raid-strategy-guide"]];var mn_raids=[[,"The Nighthold",,,{menuType:"padded"}]].concat(mn_nighthold.slice(1)).concat([[,"Other Raids"],[7004,"The Emerald Nightmare","/news=255999/legion-survival-guide-emerald-nightmare-mythic-dungeons-world-bosses-legion-seas",mn_emeraldnightmare,{className:"q10"}],[7008,"Trial of Valor","/news=256933/patch-7-1-new-raid-trial-of-valor",mn_trialofvalor,{className:"q6"}]]);var mn_news=[[7,"News","/news",,{menuType:"padded"}]].concat(mn_patches).concat([[,"Blizzard"],[9,"Blue Tracker","/bluetracker",mn_bluetracker,{className:"blizzard-blue"}],[10,"Blue Tweets","/bluetweets",,{className:"blizzard-blue"}],[,"Social"],[3,"Forums","/forums",mn_forums],[8,"Latest News Comments","/latest-blog-comments"],[11,"Discord Webhook","/news-webhook"],[5,"Wowhead's Discord","https://discord.gg/wowhead",null,{fontIcon:"comment"}],[6,"Twitter Page","http://twitter.com/Wowhead",null,{fontIcon:"twitter"}],[4,"Facebook Page","http://facebook.com/Wowhead",null,{fontIcon:"facebook"}]]);var mn_legion=[[0,"$1 Hub".replace("$1","Database"),"/database"],[1,"Demon Hunters","/demon-hunter",null,{className:"c12"}],[7,"Legion Dungeon Journal","/legion-dungeon-journal"],[,"New %s".replace("%s","Items"),"/items"],[2,"Artifacts","/items/quality:6?filter=166;7;0"],[3,"Legendaries","/items/quality:5?filter=166;7;0"],[4,"Relics","/items/gems/type:-8:-9:-10:-11:-12:-13:-14:-15:-16:-17:-18?filter=166;7;0"],[,"New %s".replace("%s","Spells"),"/spells"],[5,"Artifact Traits","/spells=-17"],[6,"Honor Talents","/spells=-16"],[,"Tools"],[101,"Talent Calculator","/talent-calc",mn_talentCalc],[100,"Honor Talent Calculator","/honor-calc",mn_honorTalentCalc],[102,"Artifact Weapon Calculator","/artifact-calc",mn_artifactWeaponCalc],[24,"Dressing Room","/dressing-room"]];var mn_transmog=[[,"Overview",,,{menuType:"padded"}],[20,"$1 Hub".replace("$1","Transmog"),"/transmog",,{menuType:"padded"}],[22,"Legion Transmog FAQ","/guides/transmogrification/legion/frequently-asked-questions",,{rel:"np"}],[23,"Transmog Guides","/guides/transmogrification"],[,"Tools"],[25,"Wardrobe Completion","/wardrobe"],[26,"Dressing Room","/dressing-room"],[27,"Item Models","/items#itemsgallery"],[,"Armor Sets"],[24,"Outfits","/outfits",mn_outfits],[21,"Transmog Sets","/transmog-sets",mn_transmogsets],[,"New Transmog Slots"],[28,"Weapon Illusions","/guides/transmogrification/weapons/illusions",,{rel:"np"}],[29,"Collecting Shirts","/guides/vanity-collections/a-guide-to-all-shirts",,{rel:"np"}],[30,"Collecting Tabards","/guides/vanity-collections/guide-to-collecting-tabards",,{rel:"np"}]];var mn_artifacts=[[,"Guides",,,{menuType:"padded"}],[0,"$1 Guide".replace("$1","Artifact"),"/guides/legion/artifact-weapons",,{rel:"np"}],[1,"Artifact Basics","/guides/artifact-weapon-basics",,{rel:"np"}],[2,"Artifact Power","/guides/acquiring-and-spending-artifact-power-and-knowledge",,{rel:"np"}],[3,"Artifact Quests","https://www.youtube.com/playlist?list=PLar4nrXN3ddp3UabktJ2r8ndvpwVl3OZA"],[4,"Unlocking Third Relic","/guides/class-hall-campaign-for-the-third-artifact-relic",,{rel:"np"}],[,"Tools"],[10,"Artifact Weapon Calculator","/artifact-calc",mn_artifactWeaponCalc],[11,"Trait Recommendations","/guides/classes/name:gear",,{rel:"np"}],[,"Appearances"],[20,"Unlocking Appearances","/guides/unlocking-artifact-appearances",,{rel:"np"}],[21,"Hidden Appearances","/guides/artifact-weapons/hidden-potential",,{rel:"np"}],[22,"Dressing Room","/dressing-room"],[23,"All Appearances","/guides/legion/artifact-weapons#appearances",,{rel:"np"}],[24,"Appearances Playlist","https://www.youtube.com/playlist?list=PLar4nrXN3ddr8iYUYBRPstYm9qIUj_w68"]];var mn_classhalls=[[,"Guides",,,{menuType:"padded"}],[0,"Class Hall Overview","/guides/class-halls-overview",,{rel:"np"}],[1,"Class Hall Missions","/guides/legion-class-hall-mission-guide",,{rel:"np"}],[1,"Order Resources","/guides/acquiring-and-spending-order-resources",,{rel:"np"}],[1,"Order Advancement","/guides/order-advancement",,{rel:"np"}],[1,"Class Hall Campaign","/guides/class-hall-campaign-for-the-third-artifact-relic",,{rel:"np"}],[,"Database"],[1,"Champions","/champions"],[1,"Champion Abilities","/champion-mission-abilities"],[1,"Missions","/champion-missions"],[1,"Order Advancements","/order-advancements"],[1,"Class Halls","/zones/class-halls"],[1,"Campaign Quests","/quests/campaigns"]];var mn_mythicplus=[[,"Overview",,,{menuType:"padded"}],[0,"$1 Guide".replace("$1","Mythic+"),"/guides/mythic-keystones-and-dungeons"],[,"%s Guides".replace("%s","Dungeons")],[1,"Black Rook Hold","/guides/black-rook-hold-dungeon-strategy-guide"],[2,"Court of Stars","/guides/court-of-stars-dungeon-strategy-guide"],[3,"Darkheart Thicket","/guides/darkheart-thicket-dungeon-strategy"],[4,"Eye of Azshara","/guides/eye-of-azshara-dungeon-strategy-guide"],[5,"Halls of Valor","/guides/halls-of-valor-dungeon-strategy-guide"],[6,"Maw of Souls","/guides/maw-of-souls-dungeon-strategy-guide"],[7,"Neltharion's Lair","/guides/neltharions-lair-dungeon-strategy-guide"],[8,"The Arcway","/guides/the-arcway-dungeon-strategy-guide"],[9,"Vault of the Wardens","/guides/vault-of-the-wardens-dungeon-strategy-guide"]];var mn_patch71=[[,"Overview",,,{menuType:"padded"}],[71001,"Survival Guide","/news=257057/patch-7-1-survival-guide-return-to-karazhan-suramar-campaign-raiding-with-leashes"],[71002,"Patch Notes","/news=257148/patch-notes-world-of-warcraft-patch-7-1-return-to-karazhan"],[,"Guides"],[71011,"Trial of Valor","/news=256933/patch-7-1-new-raid-trial-of-valor",mn_trialofvalor],[71003,"Karazhan Strategy","/guides/return-to-karazhan-dungeon-strategy"],[71004,"Karazhan Loot","/guides/return-to-karazhan-loot"],[71005,"%s Campaign".replace("%s","Suramar"),"/guides/insurrection-suramar-quest-campaign"],[71006,"Profession Updates","/guides/professions-in-patch-7-1"],[71007,("Raiding with Leashes IV: Wrath of the Lick King".split(": ".trim()))[0],"/achievement=11320/raiding-with-leashes-iv-wrath-of-the-lick-king"],[71008,"Falcosaurs","/news=256931/patch-7-1-preview-falcosaur-mounts-and-pets"],[71009,"UI Improvements","/news=256046/patch-7-1-preview-ui-improvements-and-action-cam-returns"],[71010,"PvP Rewards","/guides/legion-season-1-prestige-rewards"]];var mn_patch715=[[,"Overview",,,{menuType:"padded"}],[71501,"Survival Guide","/patch-7-1-5-survival-guide"],[71502,"Patch Notes","/news=259071/official-patch-notes-for-world-of-warcraft-7-1-5"],[71503,"Class Changes","/news=258472/7-1-5-ptr-compilation-of-all-class-changes-from-all-builds"],[71504,"Legendary Changes","/news=258044/7-1-5-ptr-all-the-new-and-changed-legendaries"],[71508,"Secondary Stats","/secondary-stat-changes-in-patch-7-1-5"],[,"Guides"],[71505,"Brawler's Guild","/brawlers-guild-guide"],[71506,"Micro-Holidays","/micro-holiday-overview"],[71507,"%s Timewalking".replace("%s","Mists"),"/mists-of-pandaria-timewalking-guide"],[71509,"%s Updates".replace("%s","Profession"),"/news=257729/7-1-5-ptr-profession-recipes-and-blacksmithing-quests"],[71510,"Artifact Knowledge Catch Up","/artifact-knowledge-guide"],[71511,"The Nighthold","/the-nighthold-raid-guides-and-rewards"],[,"Other Patches"],[710,"Patch %s".replace("%s","7.1"),"/news=257057/patch-7-1-survival-guide-return-to-karazhan-suramar-campaign-raiding-with-leashes",mn_patch71]];mn_legion=[[7001,"General",null,[[0,"Suramar","/guides/suramar"],[1,"Starting Quests","/guides/starting-legion-questing"],[2,"Professions","/news=255437/legion-launch-survival-guide-and-j-nx-giveaway#professions"],[3,"Reputation","/news=255437/legion-launch-survival-guide-and-j-nx-giveaway#reputation"],[2,"Gearing Up","/news=255437/legion-launch-survival-guide-and-j-nx-giveaway#gearing-up-in-legion"],[1,"Dungeons","/news=255437/legion-launch-survival-guide-and-j-nx-giveaway#dungeons"],[3,"World Quests","/guides/legion/world-quests"],[4,"Legendary Armor","/guide=4149/a-guide-to-legion-legendaries"]],{menuType:"padded"}],[7002,"Artifacts","/guides/artifact-weapons",mn_artifacts,{rel:"np"}],[7003,"Class Halls","/guides/class-halls",mn_classhalls,{rel:"np"}],[7004,"Emerald Nightmare","/news=255999/legion-survival-guide-emerald-nightmare-mythic-dungeons-world-bosses-legion-seas",mn_emeraldnightmare],[7008,"Trial of Valor","/news=256933/patch-7-1-new-raid-trial-of-valor",mn_trialofvalor],[7010,"The Nighthold","/the-nighthold-raid-guides-and-rewards",mn_nighthold],[7007,"Patch %s".replace("%s","7.1"),"/news=257057/patch-7-1-survival-guide-return-to-karazhan-suramar-campaign-raiding-with-leashes",mn_patch71],[7009,"Patch %s".replace("%s","7.1.5"),,mn_patch715.slice(0,mn_patch715.length-2)],[7005,"Mythic+","/guides/mythic-keystones-and-dungeons",mn_mythicplus,{rel:"np"}],[7006,"Transmogrification","/transmog",mn_transmog]];mn_guides=mn_guides.concat([[,"Legion Content",,,{column:2}]]).concat(mn_legion).concat([[,"$1 Raids".replace("$1","Warlords of Draenor")],[601,"Highmaul","/highmaul",mn_highmaul],[602,"Blackrock Foundry","/blackrock-foundry",mn_blackrockfoundry],[603,"Hellfire Citadel","/hellfire-citadel",mn_hellfirecitadel]]).concat([[,"Patches"]]).concat(mn_patches);var mn_planner=[[1,"Character Planner","/planner"],[2,"Character Planner FAQ","/help=character-planner"],[3,"Profiler","/list",mn_lists]];var mn_bluetrackers=[["us","US Forums","/bluetracker=us",,{heading:true,menuType:"padded"}]].concat(mn_bluetracker_us).concat([["eu","EU Forums","/bluetracker=eu",,{heading:true}]]).concat(mn_bluetracker_eu).concat([[,"Twitter"],[19,"Blue Tweets","/bluetweets",,{className:"blizzard-blue"}]]);var mn_path=[[5,"News","/",mn_news,{fontIcon:"newspaper-o",zulNoHref:true}],[0,"Database","/database",mn_database,{fontIcon:"database",zulNoHref:true}],[1,"Tools",,mn_tools,{fontIcon:"calculator"}],[21,"Blue Trackers","/bluetracker",mn_bluetrackers,{fontIcon:"comment",zulNoHref:true}],[6,"Guides","/guides",mn_guides,{fontIcon:"book",zulNoHref:true}],[16,"Transmog","/transmog",mn_transmog,{fontIcon:"user-secret",zulNoHref:true}],[3,"Community","/forums",mn_community,{fontIcon:"comments",zulNoHref:true}],[2,"More",,mn_more,{breadcrumbOnly:true,fontIcon:"ellipsis-h",onDatabaseHub:true}]];var mn_featuredContent=[[0,"Class Guides","/classes",mn_guides_specs,{zulNoHref:true,expandInHeaderNav:true}],[6,"Raids","/the-nighthold-raid-guides-and-rewards",mn_raids,{className:"header-nav-nighthold",zulNoHref:true}],[2,"Mythic+","/guides/mythic-keystones-and-dungeons",mn_mythicplus,{className:"header-nav-mythic-plus",rel:"np",zulNoHref:true}],[3,"Artifacts","/guides/artifact-weapons",mn_artifacts,{className:"header-nav-artifact-weapons",rel:"np",zulNoHref:true}],[8,"Patch %s".replace("%s","7.1.5"),,mn_patch715,{className:"header-nav-patch-715",rel:"np",zulNoHref:true}]];var mn_database_highlights=[[0,"Items","/items",mn_items],[17,"Battle Pets","/battle-pets",mn_battlepets],[22,"Calculators",,[[101,"Talent Calculator","/talent-calc",mn_talentCalc],[100,"Honor Talent Calculator","/honor-calc",mn_honorTalentCalc],[102,"Artifact Weapon Calculator","/artifact-calc",mn_artifactWeaponCalc]]],[15,"Legion","/database",mn_legion,{className:"r3"}],[11,"Transmogrification","/transmog",mn_transmog]];var mn_footer_help=[[7,"FAQ","/faq"],[6,"Battle Pet Team Calculator","/help=battle-pet-team-calculator"],[0,"Commenting and You","/help=commenting-and-you"],[5,"Item Comparison","/help=item-comparison"],[1,"Model Viewer","/help=modelviewer"],[2,"Screenshots: Tips & Tricks","/help=screenshots-tips-tricks"],[3,"Stat Weighting","/help=stat-weighting"],[4,"Talent Calculator","/help=talent-calculator"]];var mn_footer_tools=[[2,"Wowhead Client","/client",,{icon:g_staticUrl+"/images/logos/favicon.png"}],[8,"Search Plugins","/searchplugins"],[,"Goodies for Your Site"],[17,"News Feed","/newsfeed"],[16,"Search Box","/searchbox"],[10,"Tooltips","/tooltips"]];var mn_footer_about=[[0,"About Wowhead","/aboutus"],[15,"Site Logos and Art","/logos"],[90,"Feedback",function(){ContactTool.show()},,{fontIcon:"envelope"}],[0,"Privacy Policy","http://www.zam.com/privacy.html"],[0,"Terms of Use","http://www.zam.com/terms.html"],[,"Work With Us"],[0,"Volunteer","/volunteers"],[0,"Jobs","/jobs"]];var mn_footer_platform=[[0,"Mobile",function(){Platform.set("mobile")},,{fontIcon:"mobile"}],[0,"Tablet",function(){Platform.set("tablet")},,{fontIcon:"tablet"}],[0,"Desktop",function(){Platform.set("pointer")},,{fontIcon:"desktop"}],[0,"Automatically Detect",function(){Platform.set("auto")}]];try{delete window.wh_copymenu}catch(err){}var g_wow_builds={"5595":"1153526400|11200|1.12.0","5875":"1159228800|11201|1.12.1","5876":"1160697600|11202|1.12.2","6180":"1165276800|20001|2.0.1","6299":"1168300800|20003|2.0.3","6314":"1168560000|20004|2.0.4","6320":"1168732800|20005|2.0.5","6337":"1169510400|20006|2.0.6","6383":"1171324800|20007|2.0.7","6403":"1171584000|20008|2.0.8","6448":"1173139200|20010|2.0.10","6546":"1175558400|20012|2.0.12","6692":"1179792000|20100|2.1.0","6739":"1181001600|20101|2.1.1","6803":"1182211200|20102|2.1.2","6898":"1184025600|20103|2.1.3","7286":"1190678400|20200|2.2.0","7318":"1191283200|20202|2.2.2","7359":"1191888000|20203|2.2.3","7561":"1194912000|20300|2.3.0","7741":"1199750400|20302|2.3.2","7799":"1200960000|20303|2.3.3","8089":"1206403200|20400|2.4.0","8124":"1207008000|20401|2.4.1","8391":"1210636800|20402|2.4.2","8606":"1216080000|20403|2.4.3","9061":"1223942400|30002|3.0.2","9183":"1225756800|30003|3.0.3","9506":"1232409600|30008|3.0.8","9551":"1234224000|30009|3.0.9","9767":"1239667200|30100|3.1.0","9835":"1240272000|30101|3.1.1","9901":"1242691200|30102|3.1.2","9947":"1243900800|30103|3.1.3","10314":"1249344000|30200|3.2.0","10505":"1253581200|30202|3.2.2","11159":"1260248400|30300|3.3.0","11403":"1265086800|30302|3.3.2","11723":"1269306000|30303|3.3.3","12484":"1277168400|30305|3.3.5","13205":"1286820000|40001|4.0.1","13329":"1289844000|40003|4.0.3","13623":"1297101600|40006|4.0.6","14007":"1303754400|40100|4.1.0","14480":"1309197600|40200|4.2.0","14545":"1314640800|40202|4.2.2","15050":"1322503200|40300|4.3.0","15211":"1327946400|40302|4.3.2","15354":"1330365600|40303|4.3.3","15595":"1334512800|40304|4.3.4","16016":"1346097600|50004|5.0.4","16135":"1347300000|50005|5.0.5","16357":"1353956400|50100|5.1.0","16826":"1362423600|50200|5.2.0","17128":"1369076400|50300|5.3.0","17399":"1378753200|50400|5.4.0","17538":"1382990400|50401|5.4.1","17688":"1386615600|50402|5.4.2","18019":"1392145200|50407|5.4.7","18414":"1400526000|50408|5.4.8","19041":"1413226800|60002|6.0.2","19342":"1414486800|60003|6.0.3","19702":"1424718000|60100|6.1.0","19865":"1427140800|60102|6.1.2","20182":"1434999600|60200|6.2.0","20444":"1441134000|60202|6.2.2","20726":"1447718400|60203|6.2.3","22248":"1468886400|70003|7.0.3","22900":"1477353600|70100|7.1.0","23360":"1484006400|70105|7.1.5"};var g_contact_reasons={1:"General feedback",2:"Bug report",3:"Typo/mistranslation",4:"Advertise with us",5:"Partnership opportunities",6:"Press inquiry",7:"Other",8:"Article misinformation",9:"Bad Advertisement",15:"Advertising",16:"Inaccurate",17:"Out of date",18:"Spam",19:"Vulgar/inappropriate",20:"Other",30:"Advertising",31:"Inaccurate",32:"Out of date",33:"Spam",34:"Sticky request",35:"Vulgar/inappropriate",36:"Other",37:"Avatar",45:"Inaccurate",46:"Out of date",47:"Vulgar/inappropriate",48:"Other"};var g_difficulty_names={1:"Normal",2:"Heroic",3:"10 Player (Legacy)",4:"25 Player (Legacy)",5:"10 Player Heroic (Legacy)",6:"25 Player Heroic (Legacy)",7:"Raid Finder (Legacy)",8:"Challenge Mode",9:"40 Player",11:"Scenario",12:"Heroic Scenario",14:"Normal",15:"Heroic",16:"Mythic",17:"Raid Finder",18:"Event",19:"Event",20:"Event Scenario",23:"Mythic Dungeon",24:"Timewalking"};var g_difficulty_shortnames={1:"Normal",2:"Heroic",3:"Normal",4:"Normal",5:"Heroic",6:"Heroic",7:"LFR",8:"Challenge",9:"40 Player",11:"Scenario",12:"Heroic Scenario",14:"Normal",15:"Heroic",16:"Mythic",17:"LFR",18:"Event",19:"Event",20:"Event Scenario",23:"Mythic",24:"Timewalking"};var g_expansions_short={0:"Classic",1:"TBC",2:"Wrath",3:"Cataclysm",4:"Mists",5:"Warlords",6:"Legion"};var g_chr_classes={1:"Warrior",2:"Paladin",3:"Hunter",4:"Rogue",5:"Priest",6:"Death Knight",7:"Shaman",8:"Mage",9:"Warlock",10:"Monk",11:"Druid",12:"Demon Hunter"};var g_chr_races={1:"Human",2:"Orc",3:"Dwarf",4:"Night Elf",5:"Undead",6:"Tauren",7:"Gnome",8:"Troll",9:"Goblin",10:"Blood Elf",11:"Draenei",22:"Worgen",24:"Pandaren",25:"Pandaren",26:"Pandaren"};var g_garrison_races={1:{2:"Human",3:"Blood Elf",4:"Draenei",5:"Dwarf",6:"Gnome",7:"Goblin",8:"Night Elf",9:"Orc",10:"Pandaren",11:"Tauren",12:"Troll",13:"Undead",14:"Worgen",15:"Ogre",28:"Mechanical",29:"Saberon",30:"Ogron",31:"Botani",33:"Gnoll",34:"Jinyu",35:"Hozen",36:"Outcast Arakkoa",41:"Apexis Guardian",42:"High Arakkoa"},2:{44:"Horde Battleship",45:"Horde Destroyer",46:"Transport",47:"Horde Submarine",48:"Alliance Carrier",49:"Alliance Destroyer",50:"Alliance Submarine",51:"Horde Carrier",52:"Alliance Battleship"},4:{2:"Human",3:"Blood Elf",4:"Draenei",5:"Dwarf",6:"Gnome",7:"Goblin",8:"Night Elf",9:"Orc",10:"Pandaren",11:"Tauren",12:"Troll",13:"Undead",14:"Worgen",15:"Ogre",28:"Mechanical",29:"Saberon",30:"Ogron",31:"Botani",33:"Gnoll",34:"Jinyu",35:"Hozen",36:"Outcast Arakkoa",41:"Apexis Guardian",42:"High Arakkoa"}};var g_chr_specs={"62":"Arcane","63":"Fire","64":"Frost","65":"Holy","66":"Protection","70":"Retribution","71":"Arms","72":"Fury","73":"Protection","74":"Ferocity","79":"Cunning","81":"Tenacity","102":"Balance","103":"Feral","104":"Guardian","105":"Restoration","250":"Blood","251":"Frost","252":"Unholy","253":"Beast Mastery","254":"Marksmanship","255":"Survival","256":"Discipline","257":"Holy","258":"Shadow","259":"Assassination","260":"Outlaw","261":"Subtlety","262":"Elemental","263":"Enhancement","264":"Restoration","265":"Affliction","266":"Demonology","267":"Destruction","268":"Brewmaster","269":"Windwalker","270":"Mistweaver","535":"Ferocity","536":"Cunning","537":"Tenacity","577":"Havoc","581":"Vengeance"};var g_file_specs={"62":"spell_holy_magicalsentry","63":"spell_fire_firebolt02","64":"spell_frost_frostbolt02","65":"spell_holy_holybolt","66":"ability_paladin_shieldofthetemplar","70":"spell_holy_auraoflight","71":"ability_warrior_savageblow","72":"ability_warrior_innerrage","73":"ability_warrior_defensivestance","74":"ability_druid_kingofthejungle","79":"ability_eyeoftheowl","81":"ability_druid_demoralizingroar","102":"spell_nature_starfall","103":"ability_druid_catform","104":"ability_racial_bearform","105":"spell_nature_healingtouch","250":"spell_deathknight_bloodpresence","251":"spell_deathknight_frostpresence","252":"spell_deathknight_unholypresence","253":"ability_hunter_bestialdiscipline","254":"ability_hunter_focusedaim","255":"ability_hunter_camouflage","256":"spell_holy_powerwordshield","257":"spell_holy_guardianspirit","258":"spell_shadow_shadowwordpain","259":"ability_rogue_deadlybrew","260":"inv_sword_30","261":"ability_stealth","262":"spell_nature_lightning","263":"spell_shaman_improvedstormstrike","264":"spell_nature_magicimmunity","265":"spell_shadow_deathcoil","266":"spell_shadow_metamorphosis","267":"spell_shadow_rainoffire","268":"spell_monk_brewmaster_spec","269":"spell_monk_windwalker_spec","270":"spell_monk_mistweaver_spec","535":"ability_druid_kingofthejungle","536":"ability_eyeoftheowl","537":"ability_druid_demoralizingroar","577":"ability_demonhunter_specdps","581":"ability_demonhunter_spectank"};var g_garrison_plots={"12":"Small Plots","13":"Medium Plots","14":"Large Plots","28":"Mine","29":"Farm","31":"Fishing Hut","42":"Pet Menagerie","56":"Shipyard"};var g_mission_ability_categories={"1":"Slayer","4":"Racial Preference","5":"Profession","6":"Environment Preference","7":"Increased Rewards","8":"Mission Duration","9":"Other","11":"Mission Success","12":"Threat Counter"};var g_mission_ability_types={1:{0:"Ability",1:"Trait"},2:{0:"Equipment",1:"Crew",2:"Type",3:"Buff"},4:{0:"Ability",1:"Trait"}};var g_garrison_mission_types={"3":"Combat","4":"Generic","5":"Salvage","6":"Logistics","7":"Wildlife","8":"Trading","9":"Construction","10":"Provision","11":"Recruitment","12":"Training","13":"Patrol","14":"Research","15":"Defense","16":"Exploration","17":"Siege","18":"Alchemy","19":"Blacksmithing","20":"Enchanting","21":"Engineering","22":"Inscription","23":"Jewelcrafting","24":"Leatherworking","25":"Tailoring","35":"Treasure","36":"Pet Battle","37":"Ship-Combat","38":"Ship-Oil (Unused)","39":"Ship-Training","40":"Ship-Treasure","41":"Ship-SiegeA","42":"Ship-SiegeH","46":"Scouting","47":"Ship-Bonus","48":"Ship-Legendary","49":"Ship-SiegeIHA","50":"Ship-SiegeIHH","51":"Zone Support - Alliance","52":"Invasion","53":"Artifact - Monk Mission","54":"Generic (7.0)","55":"7.0 Tutorial","57":"Zone Support - Horde","58":"Artifact - Shaman Mission","59":"Artifact - Druid Mission","60":"Artifact - Mage Mission","61":"Artifact - Hunter Mission","63":"Artifact - Paladin Mission","64":"Artifact - Warlock Mission","65":"Artifact - Demon Hunter Mission","66":"Artifact - Rogue Mission","67":"Artifact - Priest Mission","68":"Artifact - Death Knight Mission","69":"Artifact - Warrior Mission","70":"7.0 Class Hall - Campaign Missions","71":"7.0 Class Hall - Generic Missions","72":"7.0 Class Hall - Treasure Missions","73":"7.0 Class Hall - Special Reward Missions","74":"7.0 Class Hall - Quest Missions","75":"7.0 Class Hall - Treasure Missions - Dungeon","76":"7.0 Class Hall - Treasure Missions - Raid"};var g_garrison_building_short_names={8:"Armory",9:"Armory",10:"Armory",162:"Gearworks",163:"Gearworks",164:"Gearworks",61:"Mines",62:"Mines",63:"Mines",34:"Inn/Tavern",35:"Inn/Tavern",36:"Inn/Tavern",37:"Mage Tower",38:"Mage Tower",39:"Mage Tower"};var g_item_glyphs={1:"Major",2:"Minor"};var g_item_qualities={0:"Poor",1:"Common",2:"Uncommon",3:"Rare",4:"Epic",5:"Legendary",6:"Artifact",7:"Heirloom",8:"WoW Token"};var g_item_slots={1:"Head",2:"Neck",3:"Shoulder",4:"Shirt",5:"Chest",6:"Waist",7:"Legs",8:"Feet",9:"Wrist",10:"Hands",11:"Finger",12:"Trinket",13:"One-Hand",14:"Shield",15:"Ranged",16:"Back",17:"Two-Hand",18:"Bag",19:"Tabard",21:"Main Hand",22:"Off Hand",23:"Held In Off-hand",24:"Projectile",25:"Thrown",28:"Relic"};var g_character_slots={1:"Head",2:"Neck",3:"Shoulder",4:"Shirt",5:"Chest",6:"Waist",7:"Legs",8:"Feet",9:"Wrist",10:"Hands",11:"Finger 1",12:"Finger 2",13:"Trinket 1",14:"Trinket 2",15:"Back",16:"Main Hand",17:"Off Hand",19:"Tabard"};var g_item_classes={0:"Consumable",1:"Container",2:"Weapon",3:"Gem",4:"Armor",5:"Reagent",6:"Projectile",7:"Trade Good",9:"Recipe",10:"Currency",12:"Quest",13:"Key",15:"Miscellaneous",16:"Glyph"};var g_item_subclasses={0:{0:"Consumable",1:"Potion",2:"Elixir",3:"Flask",4:"Scroll",5:"Food & Drink",6:"Perm. Enhancement","-3":"Temp. Enhancement",7:"Bandage",8:"Other Consumables"},1:{0:"Bag",1:"Soul Bag",2:"Herb Bag",3:"Enchanting Bag",4:"Engineering Bag",5:"Gem Bag",6:"Mining Bag",7:"Leatherworking Bag",8:"Inscription Bag",9:"Tackle Box",10:"Cooking Bag"},2:{0:"One-Handed Axe",1:"Two-Handed Axe",2:"Bow",3:"Gun",4:"One-Handed Mace",5:"Two-Handed Mace",6:"Polearm",7:"One-Handed Sword",8:"Two-Handed Sword",9:"Warglaives",10:"Staff",13:"Fist Weapon",14:"Misc. (Weapons)",15:"Dagger",16:"Thrown",18:"Crossbow",19:"Wand",20:"Fishing Pole"},3:{0:"Red Gem",1:"Blue Gem",2:"Yellow Gem",3:"Purple Gem",4:"Green Gem",5:"Orange Gem",6:"Meta Gem",7:"Simple Gem",8:"Prismatic Gem",9:"Sha-Touched Gem",10:"Cogwheel Gem","-18":"Holy Relic","-17":"Storm Relic","-16":"Life Relic","-15":"Water Relic","-14":"Fire Relic","-13":"Frost Relic","-12":"Arcane Relic","-11":"Fel Relic","-10":"Shadow Relic","-9":"Blood Relic","-8":"Iron Relic"},4:{"-8":"Shirt","-7":"Tabard","-6":"Cloak","-5":"Off-hand Frill","-4":"Trinket","-3":"Amulet","-2":"Ring",0:"Misc. (Armor)",1:"Cloth Armor",2:"Leather Armor",3:"Mail Armor",4:"Plate Armor",5:"Cosmetic",6:"Shield",7:"Libram",8:"Idol",9:"Totem",10:"Sigil",11:"Relic"},6:{2:"Arrow",3:"Bullet"},7:{1:"Part",2:"Explosive",3:"Device",4:"Jewelcrafting",5:"Cloth",6:"Leather",7:"Metal & Stone",8:"Meat",9:"Herb",10:"Elemental",12:"Enchanting",13:"Material",14:"Armor Enchantment",15:"Weapon Enchantment",11:"Other (Trade Goods)"},9:{0:"Book",1:"Leatherworking Pattern",2:"Tailoring Pattern",3:"Engineering Schematic",4:"Blacksmithing Plans",5:"Cooking Recipe",6:"Alchemy Recipe",7:"First Aid Book",8:"Enchanting Formula",9:"Fishing Book",10:"Jewelcrafting Design",11:"Inscription Technique",12:"Mining Guide"},15:{"-7":"Flying Mount","-2":"Armor Token",0:"Junk",1:"Reagent",2:"Companion",3:"Holiday",4:"Other (Miscellaneous)",5:"Mount"},16:{6:"Death Knight Glyph",12:"Demon Hunter",11:"Druid Glyph",3:"Hunter Glyph",8:"Mage Glyph",10:"Monk Glyph",2:"Paladin Glyph",5:"Priest Glyph",4:"Rogue Glyph",7:"Shaman Glyph",9:"Warlock Glyph",1:"Warrior Glyph"}};var g_item_subsubclasses={0:{2:{1:"Battle Elixir",2:"Guardian Elixir"}}};var g_itemset_types={0:"Other",1:"Cloth",2:"Leather",3:"Mail",4:"Plate",5:"Dagger",6:"Ring",7:"Fist Weapon",8:"One-Handed Axe",9:"One-Handed Mace",10:"One-Handed Sword",11:"Trinket",12:"Amulet",13:"Cosmetic"};var g_npc_classifications={0:"Normal",1:"Elite",2:"Rare Elite",3:"Boss",4:"Rare"};var g_npc_types={15:"Aberration",12:"Battle Pet",1:"Beast",8:"Critter",3:"Demon",4:"Elemental",2:"Dragonkin",5:"Giant",7:"Humanoid",9:"Mechanical",6:"Undead",10:"Uncategorized"};var g_mount_types={1:"Ground",2:"Flying",3:"Aquatic"};var g_battlepetability_types={1:"Humanoid",8:"Beast",3:"Flying",4:"Undead",2:"Dragonkin",5:"Critter",7:"Elemental",9:"Aquatic",6:"Magic",10:"Mechanical",11:"Trainer"};var g_pet_families={"1":"Wolf","2":"Cat","3":"Spider","4":"Bear","5":"Boar","6":"Crocolisk","7":"Carrion Bird","8":"Crab","9":"Gorilla","11":"Raptor","12":"Tallstrider","20":"Scorpid","21":"Turtle","24":"Bat","25":"Hyena","26":"Bird of Prey","27":"Wind Serpent","30":"Dragonhawk","31":"Ravager","32":"Warp Stalker","33":"Sporebat","34":"Nether Ray","35":"Serpent","37":"Moth","38":"Chimaera","39":"Devilsaur","41":"Silithid","42":"Worm","43":"Clefthoof","44":"Wasp","45":"Core Hound","46":"Spirit Beast","50":"Fox","51":"Monkey","52":"Dog","53":"Beetle","55":"Shale Spider","68":"Hydra","125":"Crane","126":"Water Strider","127":"Porcupine","128":"Quilen","129":"Goat","130":"Basilisk","138":"Direhorn","149":"Rylak","150":"Riverbeast","151":"Stag","154":"Mechanical","156":"Scalehide","157":"Oxen"};var g_pet_breed_abbrev={3:"B/B",4:"P/P",5:"S/S",6:"H/H",7:"H/P",8:"P/S",9:"H/S",10:"P/B",11:"S/B",12:"H/B"};var g_pet_types={0:"Ferocity",1:"Tenacity",2:"Cunning"};var g_pet_foods={1:"Meat",2:"Fish",4:"Cheese",8:"Bread",16:"Fungus",32:"Fruit",64:"Raw Meat",128:"Raw Fish"};var g_object_types={9:"Book",3:"Container","-5":"Chest",25:"Fishing Pool",45:"Garrison Shipment","-3":"Herb",19:"Mailbox","-4":"Mining Node","-2":"Quest","-6":"Tool","-7":"Archaeology","-8":"Treasure"};var g_reputation_standings={0:"Hated",1:"Hostile",2:"Unfriendly",3:"Neutral",4:"Friendly",5:"Honored",6:"Revered",7:"Exalted"};var g_friendship_reactions={"16-1":"Acquaintance","17-1":"Acquaintance","18-1":"Acquaintance","19-1":"Acquaintance","2-1":"Acquaintance","20-1":"Acquaintance","21-1":"Acquaintance","22-1":"Acquaintance","23-1":"Acquaintance","24-1":"Acquaintance","25-0":"Apprentice","25-1":"Apprentice","-63-5":"Best Friend","16-5":"Best Friend","17-5":"Best Friend","18-5":"Best Friend","19-5":"Best Friend","2-5":"Best Friend","20-5":"Best Friend","21-5":"Best Friend","22-5":"Best Friend","23-5":"Best Friend","24-5":"Best Friend","26-5":"Best Friend","-89-0":"Bodyguard","-90-0":"Bodyguard","-91-0":"Bodyguard","-92-0":"Bodyguard","-93-0":"Bodyguard","-94-0":"Bodyguard","-96-0":"Bodyguard","-63-2":"Buddy","16-2":"Buddy","17-2":"Buddy","18-2":"Buddy","19-2":"Buddy","2-2":"Buddy","20-2":"Buddy","21-2":"Buddy","22-2":"Buddy","23-2":"Buddy","24-2":"Buddy","26-2":"Buddy","-74-2":"Empowered","25-5":"Expert","-61-3":"First Responder","-63-3":"Friend","16-3":"Friend","17-3":"Friend","18-3":"Friend","19-3":"Friend","2-3":"Friend","20-3":"Friend","21-3":"Friend","22-3":"Friend","23-3":"Friend","24-3":"Friend","26-3":"Friend","-63-4":"Good Friend","16-4":"Good Friend","17-4":"Good Friend","18-4":"Good Friend","19-4":"Good Friend","2-4":"Good Friend","20-4":"Good Friend","21-4":"Good Friend","22-4":"Good Friend","23-4":"Good Friend","24-4":"Good Friend","26-4":"Good Friend","-61-0":"Intern","25-2":"Journeyman","25-3":"Journeyman","25-4":"Journeyman","-61-1":"Junior Resident","-84-9":"Max Rank","-85-9":"Max Rank","28-7":"Max Rank","43-7":"Max Rank","72-0":"Not Supplied","-63-1":"Pal","26-1":"Pal","-89-2":"Personal Wingman","-90-2":"Personal Wingman","-91-2":"Personal Wingman","-92-2":"Personal Wingman","-93-2":"Personal Wingman","-94-2":"Personal Wingman","-96-2":"Personal Wingman","-84-0":"Rank 1","-85-0":"Rank 1","28-0":"Rank 1","43-0":"Rank 1","-84-1":"Rank 2","-85-1":"Rank 2","28-1":"Rank 2","43-1":"Rank 2","-84-2":"Rank 3","-85-2":"Rank 3","28-2":"Rank 3","43-2":"Rank 3","-84-3":"Rank 4","-85-3":"Rank 4","28-3":"Rank 4","43-3":"Rank 4","-84-4":"Rank 5","-85-4":"Rank 5","28-4":"Rank 5","43-4":"Rank 5","-84-5":"Rank 6","-85-5":"Rank 6","28-5":"Rank 6","43-5":"Rank 6","-84-6":"Rank 7","-85-6":"Rank 7","28-6":"Rank 7","43-6":"Rank 7","-84-7":"Rank 8","-85-7":"Rank 8","-84-8":"Rank 9","-85-8":"Rank 9","-71-2":"Sated","-73-2":"Sated","-75-2":"Sated","-61-2":"Senior Resident","-71-1":"Stable","-73-1":"Stable","-74-1":"Stable","-75-1":"Stable","-72-0":"State 0 - Follower","-72-1":"State 1 - Chapter 1","-72-2":"State 2 - Chapter 2","-72-3":"State 3 - Chapter 3","-63-0":"Stranger","16-0":"Stranger","17-0":"Stranger","18-0":"Stranger","19-0":"Stranger","2-0":"Stranger","20-0":"Stranger","21-0":"Stranger","22-0":"Stranger","23-0":"Stranger","24-0":"Stranger","26-0":"Stranger","72-1":"Supplied","-89-1":"Trusted Bodyguard","-90-1":"Trusted Bodyguard","-91-1":"Trusted Bodyguard","-92-1":"Trusted Bodyguard","-93-1":"Trusted Bodyguard","-94-1":"Trusted Bodyguard","-96-1":"Trusted Bodyguard","-71-0":"Withering","-73-0":"Withering","-74-0":"Withering","-75-0":"Withering"};var g_quest_categories={"-99":"Cataclysm","-2":"Uncategorized",0:"Eastern Kingdoms",1:"Kalimdor",2:"Dungeons",3:"Raids",4:"Classes",5:"Professions",6:"Battlegrounds",7:"Miscellaneous",8:"Outland",9:"World Events",10:"Northrend",12:"Pandaria",13:"Draenor",14:"Legion",26:"Garrison"};var g_quest_sorts={"-1001":"Winter Veil","-1002":"Children's Week","-1003":"Hallow's End","-1004":"Love is in the Air","-1005":"Harvest Festival","-1006":"New Year's Eve","-1007":"Day of the Dead","-1008":"Pilgrim's Bounty","-1010":"Dungeon Finder","5145":"Abyssal Depths","7679":"Acherus: The Ebon Hold","4494":"Ahn'kahet: The Old Kingdom","7536":"Aktar's Post","-181":"Alchemy","36":"Alterac Mountains","2597":"Alterac Valley","3358":"Arathi Basin","45":"Arathi Highlands","-377":"Archaeology","-406":"Artifact","331":"Ashenvale","6941":"Ashran","7444":"Ashran","-402":"Assault on the Dark Portal","3790":"Auchenai Crypts","6912":"Auchindoun","4277":"Azjol-Nerub","16":"Azshara","7334":"Azsuna","8000":"Azsuna","3524":"Azuremyst Isle","3":"Badlands","-394":"Battle Pets","-25":"Battlegrounds","6881":"Beastwatch","7805":"Black Rook Hold","8406":"Black Rook Hold","3959":"Black Temple","719":"Blackfathom Deeps","4926":"Blackrock Caverns","1584":"Blackrock Depths","6967":"Blackrock Foundry","1583":"Blackrock Spire","-121":"Blacksmithing","3522":"Blade's Edge Mountains","7317":"Bladefist Hold","4":"Blasted Lands","7277":"Bloodmane Pridelands","6874":"Bloodmaul Slag Mines","3525":"Bloodmyst Isle","3537":"Borean Tundra","7642":"Bradensbrook","-399":"Brawler's Guild","-370":"Brewfest","6426":"Brewmoon Festival","46":"Burning Steppes","1941":"Caverns of Time","-304":"Cooking","8079":"Court of Stars","6885":"Cragplume Cauldron","4395":"Dalaran","7502":"Dalaran","7881":"Dalaran","7673":"Darkheart Thicket","-364":"Darkmoon Faire","5861":"Darkmoon Island","148":"Darkshore","1657":"Darnassus","41":"Deadwind Pass","-372":"Death Knight","-413":"Death Knight Campaign","5042":"Deepholm","2257":"Deeprun Tram","-407":"Demon Hunter","-416":"Demon Hunter Campaign","151":"Designer Island","405":"Desolace","4019":"Development Land","2557":"Dire Maul","65":"Dragonblight","4196":"Drak'Tharon Keep","6138":"Dread Wastes","7875":"Dreadscar Rift","7918":"Dreadscar Rift","-263":"Druid","-417":"Druid Campaign","1":"Dun Morogh","14":"Durotar","10":"Duskwood","15":"Dustwallow Marsh","139":"Eastern Plaguelands","368":"Echo Isles","-381":"Elemental Bonds","12":"Elwynn Forest","7979":"Emerald Dreamway","-410":"Enchanting","5789":"End Time","-201":"Engineering","-1":"Epic","3430":"Eversong Woods","8040":"Eye of Azshara","8373":"Eye of Azshara","361":"Felwood","357":"Feralas","-379":"Firelands Invasion","-324":"First Aid","-101":"Fishing","6720":"Frostfire Ridge","7490":"Garrison","-401":"Garrison Campaign","-403":"Garrison Support","5976":"Gate of the Setting Sun","3433":"Ghostlands","4714":"Gilneas","4755":"Gilneas City","721":"Gnomeregan","6721":"Gorgrond","6210":"Greenstone Village","4950":"Grim Batol","6984":"Grimrail Depot","394":"Grizzly Hills","4416":"Gundrak","7879":"Hall of the Guardian","4272":"Halls of Lightning","4945":"Halls of Origination","4820":"Halls of Reflection","4264":"Halls of Stone","7672":"Halls of Valor","7588":"Helheim","7545":"Hellfire Citadel","3483":"Hellfire Peninsula","3562":"Hellfire Ramparts","-24":"Herbalism","6996":"Highmaul","7503":"Highmountain","267":"Hillsbrad Foothills","5844":"Hour of Twilight","495":"Howling Fjord","-261":"Hunter","-418":"Hunter Campaign","8152":"Hunter Order Hall","3606":"Hyjal Summit","210":"Icecrown","4812":"Icecrown Citadel","-371":"Inscription","6951":"Iron Docks","7070":"Ironfist Harbor","1537":"Ironforge","4080":"Isle of Quel'Danas","6507":"Isle of Thunder","8147":"Isle of the Watchers","5974":"Jade Temple Grounds","-373":"Jewelcrafting","3457":"Karazhan","7969":"Karazhan","8478":"Karazhan","4815":"Kelp'thar Forest","4737":"Kezan","6134":"Krasarang Wilds","5841":"Kun-Lai Summit","-396":"Landfall","-182":"Leatherworking","-344":"Legendary","8357":"Light's Hope Chapel","38":"Loch Modan","-404":"Logging","5396":"Lost City of the Tol'vir","-376":"Love is in the Air","-366":"Lunar Festival","-161":"Mage","-420":"Mage Campaign","4131":"Magisters' Terrace","3836":"Magtheridon's Lair","7704":"Malorne's Refuge","3792":"Mana-Tombs","2100":"Maraudon","7812":"Maw of Souls","-369":"Midsummer","-408":"Mining","6182":"Mogu'shan Palace","2717":"Molten Core","5733":"Molten Front","-395":"Monk","-419":"Monk Campaign","7842":"Moon Guard Stronghold","493":"Moonglade","616":"Mount Hyjal","215":"Mulgore","3518":"Nagrand","6755":"Nagrand","3456":"Naxxramas","7546":"Neltharion's Lair","7834":"Netherlight Temple","3523":"Netherstorm","7737":"Niskara","-374":"Noblegarden","17":"Northern Barrens","33":"Northern Stranglethorn","6170":"Northshire","2367":"Old Hillsbrad Foothills","-427":"Order Hall","1637":"Orgrimmar","-141":"Paladin","-422":"Paladin Campaign","-391":"Pandaren Brewmasters","-397":"Pandaren Campaign","6081":"Peak of Serenity","6153":"Peak of Serenity","-405":"Pickpocketing","-430":"Pirates' Day","4813":"Pit of Saron","-262":"Priest","-421":"Priest Campaign","22":"Programmer Isle","-400":"Proving Grounds","2437":"Ragefire Chasm","722":"Razorfen Downs","491":"Razorfen Kraul","95":"Redridge Canyons","44":"Redridge Mountains","8443":"Return to Karazhan","-398":"Riding","-162":"Rogue","-424":"Rogue Campaign","3429":"Ruins of Ahn'Qiraj","4706":"Ruins of Gilneas","989":"Ruins of Uldum","7299":"Ruins of the First Bastion","7638":"Sanctum of Light","6052":"Scarlet Halls","6109":"Scarlet Monastery","-392":"Scenario","6066":"Scholomance","51":"Searing Gorge","-22":"Seasonal","3791":"Sethekk Halls","5918":"Shado-Pan Monastery","6173":"Shado-Pan Monastery","3789":"Shadow Labyrinth","209":"Shadowfang Keep","6932":"Shadowmoon Burial Grounds","3520":"Shadowmoon Valley","6719":"Shadowmoon Valley","-82":"Shaman","-423":"Shaman Campaign","3703":"Shattrath City","5144":"Shimmering Expanse","3711":"Sholazar Basin","6214":"Siege of Niuzao Temple","6738":"Siege of Orgrimmar","1377":"Silithus","3487":"Silvermoon City","130":"Silverpine Forest","3679":"Skettis","-411":"Skinning","7813":"Skyhold","6988":"Skyreach","4709":"Southern Barrens","7269":"Spire of Light","6722":"Spires of Arak","406":"Stonetalon Mountains","7541":"Stormheim","7332":"Stormshield","7100":"Stormshield Stronghold","5963":"Stormstout Brewery","1519":"Stormwind City","4411":"Stormwind Harbor","5339":"Stranglethorn Vale","2017":"Stratholme","1477":"Sunken Temple","4075":"Sunwell Plateau","7637":"Suramar","8":"Swamp of Sorrows","8124":"Sword of Dawn","-264":"Tailoring","6878":"Tailthrasher Basin","6662":"Talador","6723":"Tanaan Jungle","7025":"Tanaan Jungle","7663":"Tanaan Jungle","440":"Tanaris","7841":"Tel'anor","141":"Teldrassil","6794":"Teluuna Observatory","3842":"Tempest Keep","3428":"Temple of Ahn'Qiraj","7903":"Temple of Five Dawns","5956":"Temple of the Jade Serpent","3519":"Terokkar Forest","5931":"The Arboretum","3848":"The Arcatraz","7855":"The Arcway","6960":"The Battle of Thunder Pass","2366":"The Black Morass","3713":"The Blood Furnace","3847":"The Botanica","5287":"The Cape of Stranglethorn","7462":"The Coliseum","4100":"The Culling of Stratholme","1581":"The Deadmines","4982":"The Dranosh'ar Blockade","7846":"The Dreamgrove","8026":"The Emerald Nightmare","7109":"The Everbloom","8277":"The Exodar","3845":"The Eye","7578":"The Eye of Azshara","4500":"The Eye of Eternity","8023":"The Fel Hammer","4809":"The Forge of Souls","6882":"The Forgotten Caves","5981":"The Halfhill Market","8011":"The Hall of Shadows","47":"The Hinterlands","7270":"The Howling Crag","-429":"The Hunt for Illidan Stormrage","5785":"The Jade Forest","4707":"The Lost Isles","4720":"The Lost Isles","8046":"The Maelstrom","3849":"The Mechanar","7811":"The Naglfar","4120":"The Nexus","8025":"The Nighthold","4493":"The Obsidian Sanctum","4228":"The Oculus","4987":"The Ruby Sanctum","3714":"The Shattered Halls","3717":"The Slave Pens","3715":"The Steamvault","717":"The Stockade","5088":"The Stonecore","67":"The Storm Peaks","6590":"The Thunder Forges","3716":"The Underbog","6006":"The Veiled Stair","8126":"The Violet Gate","4415":"The Violet Hold","7592":"The Violet Hold","5035":"The Vortex Pinnacle","8093":"The Vortex Pinnacle","5736":"The Wandering Isle","7902":"The Wandering Isle","-380":"The Zandalari","6040":"Theramore's Fall (H)","400":"Thousand Needles","6622":"Throne of Thunder","5004":"Throne of the Tides","1638":"Thunder Bluff","6757":"Timeless Isle","85":"Tirisfal Glades","5095":"Tol Barad","5389":"Tol Barad Peninsula","-241":"Tournament","5842":"Townlong Steppes","8440":"Trial of Valor","4723":"Trial of the Champion","4722":"Trial of the Crusader","7877":"Trueshot Lodge","4922":"Twilight Highlands","1337":"Uldaman","4273":"Ulduar","8161":"Ulduar","5034":"Uldum","490":"Un'Goro Crater","1497":"Undercity","6310":"Unga Ingoo","7307":"Upper Blackrock Spire","206":"Utgarde Keep","1196":"Utgarde Pinnacle","7558":"Val'sharah","5840":"Vale of Eternal Blossoms","5805":"Valley of the Four Winds","7787":"Vault of the Wardens","7814":"Vault of the Wardens","7996":"Violet Hold","718":"Wailing Caverns","-61":"Warlock","-425":"Warlock Campaign","-81":"Warrior","-426":"Warrior Campaign","3277":"Warsong Gulch","7333":"Warspear","7099":"Warspear Outpost","-409":"Weekend Event","5788":"Well of Eternity","28":"Western Plaguelands","40":"Westfall","11":"Wetlands","4197":"Wintergrasp","618":"Winterspring","-412":"World Quest","3521":"Zangarmarsh","3805":"Zul'Aman","66":"Zul'Drak","1176":"Zul'Farrak","1977":"Zul'Gurub"};var g_quest_types={"1":"Group","21":"Class","41":"PvP","62":"Raid","81":"Dungeon","82":"World Event","83":"Legendary","84":"Escort","85":"Heroic","88":"Raid (10)","89":"Raid (25)","98":"Scenario","102":"Account","104":"Side Quest","107":"Artifact","109":"World Quest","110":"Epic World Quest","111":"Elite World Quest","112":"Epic Elite World Quest","113":"PvP World Quest","114":"First Aid World Quest","115":"Battle Pet World Quest","116":"Blacksmithing World Quest","117":"Leatherworking World Quest","118":"Alchemy World Quest","119":"Herbalism World Quest","120":"Mining World Quest","121":"Tailoring World Quest","122":"Engineering World Quest","123":"Enchanting World Quest","124":"Skinning World Quest","125":"Jewelcrafting World Quest","126":"Inscription World Quest","128":"Emissary Quest","129":"Archaeology World Quest","130":"Fishing World Quest","131":"Cooking World Quest","135":"Rare World Quest","136":"Rare Elite World Quest","137":"Dungeon World Quest","140":"Rated Reward"};var g_quest_indicators={1:"Category",2:"Starts",3:"Ends",4:"Objectives"};var g_sides={1:"Alliance",2:"Horde",3:"Both"};var g_roles={0:"Tank",1:"Healing",2:"DPS"};var g_sources={1:"Crafted",2:"Drop",3:"PvP",4:"Quest",5:"Vendor",6:"Trainer",7:"Discovery",8:"Redemption",9:"Talent",10:"Starter",11:"Event",12:"Achievement",14:"Black Market",15:"Disenchanted",16:"Fished",17:"Gathered",18:"Milled",19:"Mined",20:"Prospected",21:"Pickpocketed",22:"Salvaged",23:"Skinned",24:"In-Game Store",25:"Mission",26:"Inn/Tavern"};var g_battlepet_sources={"-1":"Unknown","0":"Drop","1":"Quest","2":"Vendor","3":"Profession","4":"Pet Battle","5":"Achievement","6":"World Event","7":"Promotion","8":"Trading Card Game","9":"Pet Store"};var g_sources_pvp={1:"Arena",2:"Battleground",4:"World"};var g_spell_resistances={0:"Physical",1:"Holy",2:"Fire",3:"Nature",4:"Frost",5:"Shadow",6:"Arcane"};var g_spell_categories={"-17":"Artifact Traits","-16":"Honor Talents","-15":"Work Orders","-14":"Perks","-13":"Glyphs","-12":"Specializations","-11":"Proficiencies","-10":"Guild Perks","-8":"NPC Abilities","-7":"Pet Specialization","-6":"Companions","-5":"Mounts","-4":"Racial Traits","-3":"Pet Abilities","-2":"Talents","7":"Abilities","9":"Secondary Skills","11":"Professions"};var g_spell_categories_singular={"-17":"Artifact Trait","-16":"Honor Talent","-15":"Work Order","-14":"Perk","-13":"Glyph","-12":"Specialization","-11":"Proficiency","-10":"Guild Perk","-8":"NPC Ability","-7":"Pet Specialization","-6":"Companion","-5":"Mount","-4":"Racial Trait","-3":"Pet Ability","-2":"Talent","7":"Ability","9":"Secondary Skill","11":"Profession"};var g_spell_types={"-11":{1:"Weapons",2:"Armor",4:"Languages"}};var g_spell_skills={"43":"Swords","44":"Axes","45":"Bows","46":"Guns","54":"Maces","55":"Two-Handed Swords","95":"Defense","98":"Common","101":"Racial - Dwarf","109":"Orcish","111":"Dwarven","113":"Darnassian","115":"Taurahe","118":"Dual Wield","124":"Racial - Tauren","125":"Racial - Orc","126":"Racial - Night Elf","129":"First Aid","136":"Staves","137":"Thalassian","138":"Draconic","139":"Demon Tongue","140":"Titan","141":"Old Tongue","142":"Survival","148":"Horse Riding","149":"Wolf Riding","150":"Tiger Riding","152":"Ram Riding","155":"Swimming","160":"Two-Handed Maces","162":"Unarmed","164":"Blacksmithing","165":"Leatherworking","171":"Alchemy","172":"Two-Handed Axes","173":"Daggers","182":"Herbalism","183":"GENERIC (DND)","185":"Cooking","186":"Mining","188":"Pet - Imp","189":"Pet - Felhunter","197":"Tailoring","202":"Engineering","203":"Pet - Spider","204":"Pet - Voidwalker","205":"Pet - Succubus","206":"Pet - Infernal","207":"Pet - Doomguard","208":"Pet - Wolf","209":"Pet - Cat","210":"Pet - Bear","211":"Pet - Boar","212":"Pet - Crocolisk","213":"Pet - Carrion Bird","214":"Pet - Crab","215":"Pet - Gorilla","217":"Pet - Raptor","218":"Pet - Tallstrider","220":"Racial - Undead","226":"Crossbows","228":"Wands","229":"Polearms","236":"Pet - Scorpid","251":"Pet - Turtle","270":"Pet - Generic Hunter","293":"Plate Mail","313":"Gnomish","315":"Troll","333":"Enchanting","356":"Fishing","393":"Skinning","413":"Mail","414":"Leather","415":"Cloth","433":"Shield","473":"Fist Weapons","533":"Raptor Riding","553":"Mechanostrider Piloting","554":"Undead Horsemanship","653":"Pet - Bat","654":"Pet - Hyena","655":"Pet - Bird of Prey","656":"Pet - Wind Serpent","673":"Forsaken","713":"Kodo Riding","733":"Racial - Troll","753":"Racial - Gnome","754":"Racial - Human","755":"Jewelcrafting","756":"Racial - Blood Elf","758":"Pet - Event - Remote Control","759":"Draenei","760":"Racial - Draenei","761":"Pet - Felguard","762":"Riding","763":"Pet - Dragonhawk","764":"Pet - Nether Ray","765":"Pet - Sporebat","766":"Pet - Warp Stalker","767":"Pet - Ravager","768":"Pet - Serpent","769":"Internal","773":"Inscription","775":"Pet - Moth","777":"Mounts","778":"Companions","780":"Pet - Exotic Chimaera","781":"Pet - Exotic Devilsaur","782":"Pet - Ghoul","783":"Pet - Exotic Silithid","784":"Pet - Exotic Worm","785":"Pet - Wasp","786":"Pet - Exotic Clefthoof","787":"Pet - Exotic Core Hound","788":"Pet - Exotic Spirit Beast","789":"Racial - Worgen","790":"Racial - Goblin","791":"Gilnean","792":"Goblin","794":"Archaeology","795":"Hunter","796":"Death Knight","798":"Druid","800":"Paladin","804":"Priest","805":"Pet - Water Elemental","808":"Pet - Fox","810":"All - Glyphs","811":"Pet - Dog","815":"Pet - Monkey","817":"Pet - Shale Spider","818":"Beetle","821":"All - Guild Perks","824":"Pet - Hydra","829":"Monk","840":"Warrior","849":"Warlock","899":"Racial - Pandaren","904":"Mage","905":"Pandaren Neutral","921":"Rogue","924":"Shaman","927":"Fel Imp","928":"Voidlord","929":"Shivarra","930":"Observer","931":"Wrathguard","934":"All - Specializations","960":"Runeforging","962":"Pet - Primal Fire Elemental","963":"Pet - Primal Earth Elemental","975":"Way of the Grill","976":"Way of the Wok","977":"Way of the Pot","978":"Way of the Steamer","979":"Way of the Oven","980":"Way of the Brew","981":"Apprentice Cooking","982":"Journeyman Cookbook","983":"Porcupine","984":"Crane","985":"Water Strider","986":"Pet - Exotic Quilen","987":"Pet - Goat","988":"Basilisk","999":"NO PLAYERS","1305":"Direhorn","1748":"Pet - Primal Storm Elemental","1777":"Pet - Water Elemental Minor Talent Version","1818":"Pet - Exotic Rylak","1819":"Pet - Riverbeast","1830":"Unused","1848":"Demon Hunter","1945":"Logging","1981":"Pet - Terrorguard","1982":"Pet - Abyssal","1993":"Pet - Stag","2000":"Trading Post","2152":"Warglaives","2189":"Pet - Mechanical","2216":"Pet - Abomination","2279":"Pet - Oxen","2280":"Pet - Scalehide"};var g_skill_specializations={20219:"Gnomish Engineer",20222:"Goblin Engineer",125589:"Way of the Brew",124694:"Way of the Grill",125588:"Way of the Oven",125586:"Way of the Pot",125587:"Way of the Steamer",125584:"Way of the Wok"};var g_skill_categories={"-17":"Artifact Traits","-16":"Honor Talents","-15":"Work Orders","-14":"Perks","-13":"Glyphs","-12":"Specialization","-11":"Proficiencies","-10":"Guild Perks","-8":"NPC Abilities","-7":"Pet Specialization","-6":"Companions","-5":"Mounts","-4":"Racial Traits","-3":"Pet Abilities","-2":"Talents","0":"Uncategorized","6":"Weapon Skills","7":"Abilities","8":"Armor Proficiencies","9":"Secondary Skills","10":"Languages","11":"Professions","12":"Miscellaneous","27":"Unknown"};var g_zones={"1":"Dun Morogh","3":"Badlands","4":"Blasted Lands","5":"- QA and DVD GLOBAL -","8":"Swamp of Sorrows","10":"Duskwood","11":"Wetlands","12":"Elwynn Forest","14":"Durotar","15":"Dustwallow Marsh","16":"Azshara","17":"Northern Barrens","25":"Blackrock Mountain","28":"Western Plaguelands","33":"Northern Stranglethorn","34":"Echo Ridge Mine","36":"Alterac Mountains","38":"Loch Modan","40":"Westfall","41":"Deadwind Pass","44":"Redridge Mountains","45":"Arathi Highlands","46":"Burning Steppes","47":"The Hinterlands","51":"Searing Gorge","54":"Jasperlode Mine","57":"Fargodeep Mine","65":"Dragonblight","66":"Zul'Drak","67":"The Storm Peaks","85":"Tirisfal Glades","111":"Jangolode Mine","113":"Gold Coast Quarry","130":"Silverpine Forest","134":"Gol'Bolar Quarry","135":"Frostmane Hold","136":"The Grizzled Den","139":"Eastern Plaguelands","141":"Teldrassil","148":"Darkshore","155":"Night Web's Hollow","206":"Utgarde Keep","209":"Shadowfang Keep","210":"Icecrown","215":"Mulgore","257":"Shadowthread Cave","258":"Fel Rock","262":"Ban'ethil Barrow Den","267":"Hillsbrad Foothills","331":"Ashenvale","357":"Feralas","360":"The Venture Co. Mine","361":"Felwood","365":"Burning Blade Coven","371":"Dustwind Cave","394":"Grizzly Hills","400":"Thousand Needles","405":"Desolace","406":"Stonetalon Mountains","440":"Tanaris","457":"The Veiled Sea","490":"Un'Goro Crater","491":"Razorfen Kraul","493":"Moonglade","495":"Howling Fjord","540":"The Slithering Scar","616":"Mount Hyjal","618":"Winterspring","717":"The Stockade","718":"Wailing Caverns","719":"Blackfathom Deeps","721":"Gnomeregan","722":"Razorfen Downs","800":"Coldridge Pass","817":"Skull Rock","818":"Palemane Rock","876":"GM Island","981":"The Gaping Chasm","982":"The Noxious Lair","1176":"Zul'Farrak","1196":"Utgarde Pinnacle","1337":"Uldaman","1377":"Silithus","1477":"Sunken Temple","1497":"Undercity","1517":"Uldaman","1519":"Stormwind City","1537":"Ironforge","1581":"The Deadmines","1583":"Blackrock Spire","1584":"Blackrock Depths","1637":"Orgrimmar","1638":"Thunder Bluff","1657":"Darnassus","1977":"Zul'Gurub","2017":"Stratholme","2100":"Maraudon","2159":"Onyxia's Lair","2257":"Deeprun Tram","2300":"Caverns of Time","2366":"The Black Morass","2367":"Old Hillsbrad Foothills","2437":"Ragefire Chasm","2557":"Dire Maul","2597":"Alterac Valley","2677":"Blackwing Lair","2717":"Molten Core","2817":"Crystalsong Forest","3277":"Warsong Gulch","3358":"Arathi Basin","3428":"Temple of Ahn'Qiraj","3429":"Ruins of Ahn'Qiraj","3430":"Eversong Woods","3433":"Ghostlands","3446":"Twilight's Run","3456":"Naxxramas","3457":"Karazhan","3483":"Hellfire Peninsula","3487":"Silvermoon City","3510":"Amani Catacombs","3518":"Nagrand","3519":"Terokkar Forest","3520":"Shadowmoon Valley","3521":"Zangarmarsh","3522":"Blade's Edge Mountains","3523":"Netherstorm","3524":"Azuremyst Isle","3525":"Bloodmyst Isle","3537":"Borean Tundra","3557":"The Exodar","3562":"Hellfire Ramparts","3569":"Tides' Hollow","3572":"Stillpine Hold","3606":"Hyjal Summit","3607":"Serpentshrine Cavern","3698":"Nagrand Arena","3702":"Blade's Edge Arena","3703":"Shattrath City","3711":"Sholazar Basin","3713":"The Blood Furnace","3714":"The Shattered Halls","3715":"The Steamvault","3716":"The Underbog","3717":"The Slave Pens","3789":"Shadow Labyrinth","3790":"Auchenai Crypts","3791":"Sethekk Halls","3792":"Mana-Tombs","3805":"Zul'Aman","3820":"Eye of the Storm","3836":"Magtheridon's Lair","3845":"The Eye","3847":"The Botanica","3848":"The Arcatraz","3849":"The Mechanar","3923":"Gruul's Lair","3959":"Black Temple","3968":"Ruins of Lordaeron","4075":"Sunwell Plateau","4080":"Isle of Quel'Danas","4100":"The Culling of Stratholme","4131":"Magisters' Terrace","4196":"Drak'Tharon Keep","4197":"Wintergrasp","4228":"The Oculus","4264":"Halls of Stone","4265":"The Nexus","4272":"Halls of Lightning","4273":"Ulduar","4277":"Azjol-Nerub","4298":"Plaguelands: The Scarlet Enclave","4378":"Dalaran Arena","4384":"Strand of the Ancients","4395":"Dalaran","4406":"The Ring of Valor","4415":"The Violet Hold","4416":"Gundrak","4493":"The Obsidian Sanctum","4494":"Ahn'kahet: The Old Kingdom","4500":"The Eye of Eternity","4603":"Vault of Archavon","4706":"Ruins of Gilneas","4709":"Southern Barrens","4710":"Isle of Conquest","4714":"Gilneas","4720":"The Lost Isles","4722":"Trial of the Crusader","4723":"Trial of the Champion","4732":"Emberstone Mine","4737":"Kezan","4742":"Hrothgar's Landing","4755":"Gilneas City","4766":"Kaja'mine","4778":"Kaja'mite Cavern","4809":"The Forge of Souls","4812":"Icecrown Citadel","4813":"Pit of Saron","4815":"Kelp'thar Forest","4817":"Greymane Manor","4820":"Halls of Reflection","4821":"Bilgewater Harbor","4911":"Volcanoth's Lair","4913":"Spitescale Cavern","4922":"Twilight Highlands","4924":"Gallywix Labor Mine","4926":"Blackrock Caverns","4945":"Halls of Origination","4950":"Grim Batol","4987":"The Ruby Sanctum","5004":"Throne of the Tides","5031":"Twin Peaks","5034":"Uldum","5035":"The Vortex Pinnacle","5042":"Deepholm","5088":"The Stonecore","5094":"Blackwing Descent","5095":"Tol Barad","5144":"Shimmering Expanse","5145":"Abyssal Depths","5146":"Vashj'ir","5287":"The Cape of Stranglethorn","5334":"The Bastion of Twilight","5339":"Stranglethorn Vale","5389":"Tol Barad Peninsula","5396":"Lost City of the Tol'vir","5416":"The Maelstrom","5449":"The Battle for Gilneas","5495":"Gnomeregan","5511":"Scarlet Monastery Entrance","5600":"Baradin Hold","5638":"Throne of the Four Winds","5695":"Ahn'Qiraj: The Fallen Kingdom","5723":"Firelands","5733":"Molten Front","5736":"The Wandering Isle","5785":"The Jade Forest","5788":"Well of Eternity","5789":"End Time","5805":"Valley of the Four Winds","5840":"Vale of Eternal Blossoms","5841":"Kun-Lai Summit","5842":"Townlong Steppes","5844":"Hour of Twilight","5861":"Darkmoon Island","5892":"Dragon Soul","5918":"Shado-Pan Monastery","5955":"Greenstone Quarry","5956":"Temple of the Jade Serpent","5963":"Stormstout Brewery","5976":"Gate of the Setting Sun","6006":"The Veiled Stair","6040":"Theramore's Fall (H)","6051":"Temple of Kotmogu","6052":"Scarlet Halls","6066":"Scholomance","6067":"Terrace of Endless Spring","6074":"Guo-Lai Halls","6084":"The Deeper","6088":"Knucklethump Hole","6099":"Pranksters' Hollow","6101":"A Brewing Storm","6109":"Scarlet Monastery","6125":"Mogu'shan Vaults","6126":"Silvershard Mines","6134":"Krasarang Wilds","6137":"Frostmane Hovel","6138":"Dread Wastes","6141":"Shrine of Two Moons","6142":"Shrine of Seven Stars","6170":"Northshire","6176":"Coldridge Valley","6182":"Mogu'shan Palace","6201":"Tomb of Conquerors","6208":"Crypt of Forgotten Kings","6209":"Greenstone Village","6214":"Siege of Niuzao Temple","6219":"Arena of Annihilation","6296":"Tol'viron Arena","6297":"Heart of Fear","6298":"Brawl'gar Arena","6309":"Unga Ingoo","6311":"Niuzao Catacombs","6328":"Assault on Zan'vess","6376":"The Ancient Passage","6389":"Howlingwind Cavern","6419":"Peak of Serenity","6426":"Brewmoon Festival","6450":"Shadowglen","6451":"Valley of Trials","6452":"Camp Narache","6453":"Echo Isles","6454":"Deathknell","6455":"Sunstrider Isle","6456":"Ammen Vale","6457":"New Tinkertown","6466":"Cavern of Endless Echoes","6500":"Theramore's Fall (A)","6507":"Isle of Thunder","6510":"The Deadmines","6511":"Wailing Caverns","6512":"The Widow's Wail","6513":"Oona Kagu","6514":"Maraudon","6553":"Shrine of Seven Stars","6565":"Dagger in the Dark","6567":"Battle on the High Seas","6575":"Lion's Landing","6589":"Lightning Vein Mine","6592":"The Swollen Vault","6609":"Ruins of Ogudei","6611":"The Situation in Dalaran","6613":"Pursuing the Black Harvest","6615":"Domination Point","6616":"A Little Patience","6619":"Ruins of Korune","6622":"Throne of Thunder","6661":"Isle of Giants","6662":"Talador","6665":"Deepwind Gorge","6666":"Stormsea Landing","6673":"To the Skies","6675":"The Thunder Forge","6677":"Fall of Shan Bu","6678":"Blood in the Snow","6681":"Lightning Vein Mine","6716":"Troves of the Thunder King","6719":"Shadowmoon Valley","6720":"Frostfire Ridge","6721":"Gorgrond","6722":"Spires of Arak","6723":"Tanaan Jungle","6731":"The Secrets of Ragefire","6732":"The Tiger's Peak","6733":"Dark Heart of Pandaria","6738":"Siege of Orgrimmar","6745":"Grulloc's Grotto","6755":"Nagrand","6756":"Faralohn","6757":"Timeless Isle","6771":"Celestial Tournament","6780":"Cavern of Lost Spirits","6848":"Turgall's Den","6849":"Sootstained Mines","6851":"The Purge of Grommar","6852":"Proving Grounds","6861":"Grulloc's Lair","6863":"The Secret Ingredient","6864":"Bladespire Citadel","6868":"Hall of the Great Hunt","6874":"Bloodmaul Slag Mines","6875":"Bladespire Throne","6885":"Cragplume Cauldron","6912":"Auchindoun","6932":"Shadowmoon Burial Grounds","6939":"Butcher's Rise","6941":"Ashran","6951":"Iron Docks","6960":"The Battle of Thunder Pass","6967":"Blackrock Foundry","6976":"Bloodthorn Cave","6979":"Tomb of Souls","6980":"Shattrath City","6984":"Grimrail Depot","6988":"Skyreach","6996":"Highmaul","7004":"Frostwall","7005":"Snowfall Alcove","7025":"Tanaan Jungle","7042":"Umbral Halls","7078":"Lunarfall","7083":"Defense of Karabor","7089":"Tomb of Lights","7107":"Tarren Mill vs Southshore","7109":"The Everbloom","7124":"The Masters' Cavern","7160":"Fissure of Fury","7185":"Moira's Reach","7203":"The Underpale","7204":"Sanctum of the Naaru","7209":"Bladespire Span","7267":"Vault of the Titan","7307":"Upper Blackrock Spire","7324":"Lunarfall Excavation","7325":"Lunarfall Excavation","7326":"Lunarfall Excavation","7327":"Frostwall Mine","7328":"Frostwall Mine","7329":"Frostwall Mine","7332":"Stormshield","7333":"Warspear","7334":"Azsuna","7343":"[UNUSED]","7381":"The Trial of Faith","7460":"Den of Secrets","7462":"The Coliseum","7502":"Dalaran","7503":"Highmountain","7510":"The Burning Nether","7519":"Edge of Reality","7534":"Broken Shore","7541":"Stormheim","7543":"Broken Shore","7545":"Hellfire Citadel","7546":"Neltharion's Lair","7548":"Ashran Mine","7558":"Val'sharah","7576":"Twisting Nether","7578":"The Eye of Azshara","7588":"Helheim","7622":"The Breached Ossuary","7634":"Feralas (copy)","7637":"Suramar","7638":"Sanctum of Light","7656":"The Great Sea","7658":"The Cove of Nashal","7672":"Halls of Valor","7673":"Darkheart Thicket","7674":"Legion Dungeon","7679":"Acherus: The Ebon Hold","7690":"The Skyfire","7691":"Small Battleground D","7695":"Icecrown Citadel","7705":"Mardum, the Shattered Abyss","7731":"Thunder Totem","7737":"Niskara","7744":"Shield's Rest","7745":"The Maelstrom","7767":"Suramar","7771":"Tanaan Invasion","7777":"The Violet Hold","7787":"Vault of the Wardens","7796":"Broken Shore","7805":"Black Rook Hold","7811":"The Naglfar","7812":"Maw of Souls","7813":"Skyhold","7814":"Vault of the Wardens","7816":"Black Rook Hold Arena","7822":"Nagrand Arena","7827":"Southshore vs. Tarren Mill","7830":"Helmouth Shallows","7834":"Netherlight Temple","7838":"Azshara","7846":"The Dreamgrove","7855":"The Arcway","7856":"Tanaan Jungle Flight Bounds","7875":"Dreadscar Rift","7877":"Trueshot Lodge","7879":"Hall of the Guardian","7884":"The Silver Enclave","7885":"Antonidas Memorial","7886":"Dalaran City","7887":"Circle of Wills","7888":"The Violet Citadel","7889":"The Violet Citadel Spire","7890":"Sewer Exit Pipe","7891":"Sewer Exit Pipe","7892":"Dalaran Floating Rocks","7893":"Sunreaver's Sanctuary","7894":"Dalaran Island","7895":"The Violet Hold","7896":"Runeweaver Square","7897":"The Underbelly","7898":"The Eventide","7899":"Magus Commerce Exchange","7900":"Vargoth's Retreat","7901":"Violet Citadel Balcony","7902":"The Wandering Isle","7903":"Temple of Five Dawns","7918":"Dreadscar Rift","7921":"Stormheim","7945":"Mardum, the Shattered Abyss","7952":"Kun-Lai Summit","7955":"Deepholm","7960":"Skywall","7967":"Boost Experience [TEMP NAME]","7969":"Karazhan","7974":"Ursoc's Lair","7976":"Tirisfal Glades","7979":"Emerald Dreamway","7996":"Violet Hold","8000":"Azsuna","8005":"Terrace of Endless Spring","8006":"[TEMP] Tech Test - Seamless World Transition A (JT)","8007":"[TEMP] Tech Test - Seamless World Transition B (JT)","8008":"Ashamane's Fall","8012":"Chamber of Shadows","8013":"[PH]Mardum Treasures","8017":"Gloaming Reef","8022":"Mardum, the Shattered Abyss","8023":"The Fel Hammer","8025":"The Nighthold","8026":"The Emerald Nightmare","8040":"Eye of Azshara","8044":"Tirisfal Glades","8046":"The Maelstrom","8053":"The Greater Sea (Don't Use)","8054":"Thal'dranath","8057":"[TEMP] Dummy Area - Dev Test (JT)","8058":"Dev Area - A","8059":"Dev Area - B","8060":"Dev Area - C","8061":"Dev Area - D","8062":"Dev Area - E","8063":"Dev Area - F","8064":"Dev Area - G","8079":"Court of Stars","8091":"Nordrassil","8093":"The Vortex Pinnacle","8094":"The Beyond","8098":"Test Dungeon","8105":"Niskara","8106":"Abyssal Maw","8124":"Sword of Dawn","8125":"Firelands","8142":"Shadowgore Citadel","8161":"Ulduar","8180":"Malorne's Nightmare","8205":"Realm of the Mage Hunter","8239":"Black Temple","8250":"Rescue Koltira","8252":"The Oculus","8262":"Temple of the Jade Serpent","8265":"Karazhan","8275":"Azuremyst Isle","8276":"The Veiled Sea","8277":"The Exodar","8285":"Scarlet Monastery","8309":"Tol Barad","8330":"[TEMP] Placeholder Area - Level Design Land - Wind Test","8344":"The Crystal Hall","8347":"Sanctum of Light","8392":"Dalaran Sewers","8406":"Black Rook Hold","8422":"Tempest's Roar","8423":"The Arcway","8439":"Great Dark Beyond","8440":"Trial of Valor","8443":"Return to Karazhan","8445":"The Great Sea","8451":"Temple of the White Tiger Flight Bounds","8457":"Escape from the Vault","8460":"Death Knight Campaign Flight Bounds","8469":"The Maelstrom","8473":"Dungeon Blockout","8474":"Dalaran (Northrend)","8482":"Blade's Edge Arena","8485":"Ashran","8535":"Dalaran (Deadwind Pass)"};var g_zone_categories={0:"Eastern Kingdoms",1:"Kalimdor",8:"Outland",10:"Northrend",12:"Pandaria",13:"Draenor",14:"Legion",11:"The Maelstrom",2:"Dungeons",3:"Raids",7:"Scenarios",6:"Battlegrounds",9:"Arenas"};var g_zone_instancetypes={1:"Transit",2:"Dungeon",3:"Raid",4:"Battleground",5:"Dungeon",6:"Arena",7:"Raid",8:"Raid",9:"Scenario",10:"Artifact Acquisition",11:"Class Hall"};var g_zone_territories={0:"Alliance",1:"Horde",2:"Contested",3:"Sanctuary",4:"PvP",5:"World PvP"};var g_zone_phases={616:["Original","Phase 2"],4714:["Original","Phase 2","Phase 3"],4720:["Original","Town in a Box","Volcano Eruption"],4922:["Original","Dragonmaw"],5034:["Original","Oasis"]};var g_faction_categories={"469":"Alliance","891":"Alliance Forces","1037":"Alliance Vanguard","1735":"Barracks Bodyguards","1162":"Cataclysm","1118":"Classic","1169":"Guild","67":"Horde","1052":"Horde Expedition","892":"Horde Forces","1834":"Legion","1245":"Mists of Pandaria","936":"Shattrath City","1117":"Sholazar Basin","169":"Steamwheedle Cartel","1302":"The Anglers","980":"The Burning Crusade","1859":"The Nightfallen","1272":"The Tillers","1444":"Warlords of Draenor","1097":"Wrath of the Lich King","0":"Other"};var g_achievement_categories={"1":"Statistics","21":"Player vs. Player","81":"Feats of Strength","92":"General","95":"Player vs. Player","96":"Quests","97":"Exploration","122":"Deaths","123":"Arenas","124":"Battlegrounds","125":"Dungeons","126":"World","127":"Resurrection","128":"Kills","130":"Character","131":"Social","132":"Skills","133":"Quests","134":"Travel","135":"Creatures","136":"Honorable Kills","137":"Killing Blows","140":"Wealth","141":"Combat","145":"Consumables","147":"Reputation","152":"Rated Arenas","153":"Battlegrounds","154":"World","155":"World Events","156":"Winter Veil","158":"Hallow's End","159":"Noblegarden","160":"Lunar Festival","161":"Midsummer","162":"Brewfest","163":"Children's Week","165":"Arena","168":"Dungeons & Raids","169":"Professions","170":"Cooking","171":"Fishing","172":"First Aid","173":"Professions","178":"Secondary Skills","187":"Love is in the Air","191":"Gear","201":"Reputation","14777":"Eastern Kingdoms","14778":"Kalimdor","14779":"Outland","14780":"Northrend","14801":"Alterac Valley","14802":"Arathi Basin","14803":"Eye of the Storm","14804":"Warsong Gulch","14805":"The Burning Crusade","14806":"Lich King Dungeon","14807":"Dungeons & Raids","14808":"Classic","14821":"Classic","14822":"The Burning Crusade","14823":"Wrath of the Lich King","14861":"Eastern Kingdoms","14862":"Outland","14863":"Northrend","14864":"Classic","14865":"The Burning Crusade","14866":"Wrath of the Lich King","14881":"Strand of the Ancients","14901":"Wintergrasp","14922":"Lich King Raid","14941":"Argent Tournament","14981":"Pilgrim's Bounty","15003":"Isle of Conquest","15067":"Cataclysm Dungeon","15068":"Cataclysm Raid","15069":"Cataclysm","15070":"Cataclysm","15071":"Archaeology","15072":"Cataclysm","15073":"Battle for Gilneas","15074":"Twin Peaks","15075":"Tol Barad","15076":"Guild","15077":"Quests","15078":"Player vs. Player","15079":"Dungeons & Raids","15080":"Professions","15081":"Kalimdor","15082":"Classic","15083":"Cataclysm Dungeon","15084":"The Burning Crusade","15085":"Lich King Dungeon","15086":"Lich King Raid","15087":"Cataclysm Raid","15088":"General","15089":"Reputation","15090":"Battlegrounds","15091":"Arena","15092":"Rated Battleground","15093":"Guild Feats of Strength","15096":"Cataclysm","15101":"Darkmoon Faire","15106":"Pandaria Dungeon","15107":"Pandaria Raid","15110":"Pandaria","15113":"Pandaria","15114":"Pandaria","15117":"Pet Battles","15118":"Collect","15119":"Battle","15120":"Level","15153":"Pandaria Dungeon","15154":"Pandaria Raid","15162":"Silvershard Mines","15163":"Temple of Kotmogu","15164":"Mists of Pandaria","15165":"Scenarios","15176":"Legacy","15218":"Deepwind Gorge","15219":"Pet Battles","15220":"Draenor","15222":"Proving Grounds","15227":"Proving Grounds","15228":"Draenor Dungeon","15229":"Mists of Pandaria","15231":"Draenor Raid","15232":"Draenor","15233":"Warlords of Draenor","15234":"Legacy","15235":"Draenor","15237":"Draenor Garrison","15238":"Buildings","15239":"Followers","15240":"Missions","15241":"Ashran","15242":"Monuments","15243":"Draenor Dungeon","15244":"Draenor Raid","15246":"Collections","15247":"Toy Box","15248":"Mounts","15249":"Invasions","15250":"Shipyard","15252":"Legion","15253":"Garrison","15254":"Legion Dungeon","15255":"Legion Raid","15256":"Artifacts","15257":"Legion","15258":"Legion","15259":"Appearances","15262":"Legion Dungeon","15263":"Legion Raid","15264":"Legion","15265":"The Timeless Isle","15266":"Honor","15268":"Promotions","15269":"Mounts","15270":"Player vs. Player","15271":"Raids","15272":"Dungeons","15273":"Reputation","15274":"Events","15275":"Class Hall","15276":"Missions","15277":"Dungeons","15278":"Raids","15279":"Player vs. Player","15280":"Currencies","15281":"Class Hall","15282":"Brawler's Guild","15283":"Legion"};var g_achievement_types={1:"Character Achievements",2:"Character Statistics",3:"Guild Achievements"};var g_title_categories={0:"General",1:"PvP",2:"Reputation",3:"Dungeons & Raids",4:"Quests",5:"Professions",6:"World Events",7:"Pet Battles",8:"Scenarios",9:"Garrisons",10:"Class Halls"};var g_holiday_categories={1:"Holidays",2:"Recurring",3:"Player vs. Player",0:"Uncategorized"};var g_currencies={"61":["Dalaran Jewelcrafter's Token","inv_misc_gem_variety_01"],"81":["Epicurean's Award","inv_misc_ribbon_01"],"241":["Champion's Seal","ability_paladin_artofwar"],"361":["Illustrious Jewelcrafter's Token","inv_misc_token_argentdawn3"],"384":["Dwarf Archaeology Fragment","trade_archaeology_dwarf_artifactfragment"],"385":["Troll Archaeology Fragment","trade_archaeology_troll_artifactfragment"],"391":["Tol Barad Commendation","achievement_zone_tolbarad"],"393":["Fossil Archaeology Fragment","trade_archaeology_fossil_fern"],"394":["Night Elf Archaeology Fragment","trade_archaeology_highborne_artifactfragment"],"397":["Orc Archaeology Fragment","trade_archaeology_orc_artifactfragment"],"398":["Draenei Archaeology Fragment","trade_archaeology_draenei_artifactfragment"],"399":["Vrykul Archaeology Fragment","trade_archaeology_vrykul_artifactfragment"],"400":["Nerubian Archaeology Fragment","trade_archaeology_nerubian_artifactfragment"],"401":["Tol'vir Archaeology Fragment","trade_archaeology_titan_fragment"],"402":["Ironpaw Token","inv_relics_idolofferocity"],"416":["Mark of the World Tree","inv_misc_markoftheworldtree"],"515":["Darkmoon Prize Ticket","inv_misc_ticket_darkmoon_01"],"614":["Mote of Darkness","spell_shadow_sealofkings"],"615":["Essence of Corrupted Deathwing","inv_elemental_primal_shadow"],"676":["Pandaren Archaeology Fragment","trade_archaeology_vrykul_artifactfragment"],"677":["Mogu Archaeology Fragment","trade_archaeology_vrykul_artifactfragment"],"697":["Elder Charm of Good Fortune","inv_misc_coin_17"],"738":["Lesser Charm of Good Fortune","inv_misc_coin_18"],"752":["Mogu Rune of Fate","archaeology_5_0_mogucoin"],"754":["Mantid Archaeology Fragment","inv_misc_archaeology_mantidstatue_01"],"776":["Warforged Seal","inv_arcane_orb"],"777":["Timeless Coin","timelesscoin"],"789":["Bloody Coin","timelesscoin-bloody"],"821":["Draenor Clans Archaeology Fragment","achievement_character_orc_male_brn"],"823":["Apexis Crystal","inv_apexis_draenor"],"824":["Garrison Resources","inv_garrison_resource"],"828":["Ogre Archaeology Fragment","spell_nature_rockbiter"],"829":["Arakkoa Archaeology Fragment","achievement_dungeon_arakkoaspires"],"910":["Secret of Draenor Alchemy","trade_alchemy"],"944":["Artifact Fragment","inv_ashran_artifact"],"980":["Dingy Iron Coins","inv_misc_coin_09"],"994":["Seal of Tempered Fate","ability_animusorbs"],"999":["Secret of Draenor Tailoring","trade_tailoring"],"1008":["Secret of Draenor Jewelcrafting","inv_misc_gem_01"],"1017":["Secret of Draenor Leatherworking","trade_leatherworking"],"1020":["Secret of Draenor Blacksmithing","trade_blacksmithing"],"1101":["Oil","garrison_oil"],"1129":["Seal of Inevitable Fate","achievement_battleground_templeofkotmogu_02_green"],"1149":["Sightless Eye","achievement_reputation_kirintor_offensive"],"1154":["Shadowy Coins","archaeology_5_0_mogucoin"],"1155":["Ancient Mana","inv_misc_ancient_mana"],"1166":["Timewarped Badge","pvecurrency-justice"],"1171":["Artifact Knowledge","inv_scroll_11"],"1172":["Highborne Archaeology Fragment","trade_archaeology_highborne_artifactfragment"],"1173":["Highmountain Tauren Archaeology Fragment","trade_archaeology_highborne_artifactfragment"],"1174":["Demonic Archaeology Fragment","trade_archaeology_highborne_artifactfragment"],"1191":["Valor","pvecurrency-valor"],"1220":["Order Resources","inv_orderhall_orderresources"],"1226":["Nethershard","inv_datacrystal01"],"1268":["Timeworn Artifact","inv_ashran_artifact"],"1273":["Seal of Broken Fate","inv_misc_elvencoins"],"1275":["Curious Coin","inv_misc_elvencoins"],"1299":["Brawler's Gold","inv_misc_coin_17"],"1314":["Lingering Soul Fragment","spell_warlock_demonsoul"],"1324":["Horde Qiraji Commendation","inv_misc_tournaments_banner_orc"],"1325":["Alliance Qiraji Commendation","inv_misc_tournaments_banner_human"]};var g_currency_categories={"1":"Miscellaneous","2":"Player vs. Player","3":"Unused","4":"Classic","21":"Wrath of the Lich King","22":"Dungeon and Raid","23":"Burning Crusade","41":"Test","81":"Cataclysm","82":"Archaeology","89":"Meta","133":"Mists of Pandaria","137":"Warlords of Draenor","141":"Legion","142":"Hidden"};var g_item_namedescriptions={"3564":[,"65280"],"3765":["100 Slot bag","16777215"],"13254":["Akaari's Will","15125632"],"13247":["Al'burq","15125632"],"12934":["Alchemy Material","6732799"],"13248":["Alra'ed","15125632"],"13223":["Ancient Mana","6732799"],"13249":["Anguish","15125632"],"13219":["Artifact Power","15125632"],"13225":["Baleful","65280"],"13228":["Champion Equipment","16764928"],"13181":["Cooking Ingredient","6732799"],"3759":["Crafting Material","6732799"],"13021":["Crafting Material","8956671"],"13184":["Crafting Reagent","6732799"],"3859":["Elite","65280"],"13222":["Empowered","65280"],"13149":["Engineering Material","6732799"],"13251":["Fate","15125632"],"8869":["Flexible","65280"],"13190":["Follower Equipment","7460351"],"13252":["Fortune","15125632"],"13243":["Frostreaper","15125632"],"13209":["Garrison Blueprint","6732799"],"13191":["Garrison Resource","6732799"],"13253":["Gorefang","15125632"],"13242":["Helya's Wrath","15125632"],"2015":["Heroic","65280"],"3845":["Heroic Elite","65280"],"6360":["Heroic Thunderforged","65280"],"10066":["Heroic Thunderforged","16711680"],"11179":["Heroic Warforged","65280"],"13244":["Icebringer","15125632"],"13226":["Legion Season 1","65280"],"13227":["Legion Season 1 Elite","65280"],"13287":["Legion Season 2","65280"],"13288":["Legion Season 2 Elite","65280"],"13246":["Muramas","15125632"],"13145":["Mythic","65280"],"13273":["Mythic 10","65280"],"13289":["Mythic 11","65280"],"13290":["Mythic 12","65280"],"13265":["Mythic 2","65280"],"13274":["Mythic 2 Jackpot","65280"],"13266":["Mythic 3","65280"],"13275":["Mythic 3 Jackpot","65280"],"13267":["Mythic 4","65280"],"13276":["Mythic 4 Jackpot","65280"],"13268":["Mythic 5","65280"],"13277":["Mythic 5 Jackpot","65280"],"13269":["Mythic 6","65280"],"13278":["Mythic 6 Jackpot","65280"],"13270":["Mythic 7","65280"],"13279":["Mythic 7 Jackpot","65280"],"13271":["Mythic 8","65280"],"13280":["Mythic 8 Jackpot","65280"],"13272":["Mythic 9","65280"],"13281":["Mythic 9 Jackpot","65280"],"13188":["Mythic Warforged","65280"],"13224":["Naval Equipment","65280"],"13193":["Normal","65280"],"2":["Now with extra description","16777215"],"13264":["Obliteratable","8956671"],"13256":["Obliterum: 0/10","65280"],"13257":["Obliterum: 1/10","65280"],"13286":["Obliterum: 10/10","65280"],"13258":["Obliterum: 2/10","65280"],"13259":["Obliterum: 3/10","65280"],"13260":["Obliterum: 4/10","65280"],"13261":["Obliterum: 5/10","65280"],"13262":["Obliterum: 6/10","65280"],"13263":["Obliterum: 7/10","65280"],"13282":["Obliterum: 8/10","65280"],"13285":["Obliterum: 9/10","65280"],"13241":["Odyn's Fury","15125632"],"13215":["Pickpocketing","52479"],"12790":["Pristine","65280"],"13195":["Pristine","6732799"],"13197":["Racial PvP Token","8956671"],"1641":["Raid Finder","65280"],"4918":["Rank 1","65535"],"4949":["Rank 2","65535"],"4953":["Rank 3","65535"],"4957":["Rank 4","65535"],"4961":["Rank 5","65535"],"4970":["Rank 6","65535"],"4965":["Rank 7","65535"],"4969":["Rank 8","65535"],"6798":["Rank 9","65535"],"6842":["Rank ??","65535"],"5213":["Scenario Item","16777215"],"8027":["Season 1","65280"],"20":["Season 10","65280"],"226":["Season 10 Elite","65280"],"2023":["Season 10 Elite","16777215"],"1013":["Season 11","65280"],"1208":["Season 11 Elite","65280"],"2255":["Season 12","65280"],"2667":["Season 12 Elite","65280"],"3933":["Season 13","65280"],"3934":["Season 13 Elite","65280"],"9059":["Season 14","65280"],"9459":["Season 14 Elite","65280"],"10126":["Season 15","65280"],"10520":["Season 15 Elite","65280"],"1591":["Season 19","65280"],"7906":["Season 2","65280"],"7775":["Season 3","65280"],"7636":["Season 4","65280"],"7463":["Season 5","65280"],"7261":["Season 6","65280"],"7434":["Season 6 Elite","65280"],"7052":["Season 7","65280"],"7225":["Season 7 Elite","65280"],"6843":["Season 8","65280"],"6894":["Season 8 Elite","65280"],"653":["Season 9","65280"],"525":["Season 9 Elite","65280"],"13250":["Sorrow","15125632"],"13187":["Stage 1 of 6","65280"],"13230":["Stage 1 of 9","65280"],"13185":["Stage 2 of 6","65280"],"13231":["Stage 2 of 9","65280"],"13186":["Stage 3 of 6","65280"],"13232":["Stage 3 of 9","65280"],"13208":["Stage 4 of 6","65280"],"13233":["Stage 4 of 9","65280"],"13217":["Stage 5 of 6","65280"],"13234":["Stage 5 of 9","65280"],"13218":["Stage 6 of 6","65280"],"13235":["Stage 6 of 9","65280"],"13236":["Stage 7 of 9","65280"],"13237":["Stage 8 of 9","65280"],"13238":["Stage 9 of 9","65280"],"1593":["This Color Hurts My Eyes","16711680"],"5616":["Thunderforged","65280"],"13201":["Tier 0","65280"],"13204":["Tier 1 - Corrupted","65280"],"13203":["Tier 1 - Fire","65280"],"13202":["Tier 1 - Holy","65280"],"13207":["Tier 2 - Corrupted","65280"],"13206":["Tier 2 - Fire","65280"],"13205":["Tier 2 - Holy","65280"],"11080":["Timeless","65280"],"13210":["Timewalker","15125632"],"13216":["Timewarped","65280"],"13220":["Timewarped Warforged","65280"],"13239":["Titanforged","65280"],"13194":["Trading Post Module","52479"],"13192":["Trading Post Part","52479"],"12743":["Trophy","6732799"],"13245":["Verus","15125632"],"13284":["Veteran","65280"],"11428":["Warforged","65280"],"13196":["Warlords Season 1","65280"],"13198":["Warlords Season 1 Elite","65280"],"13211":["Warlords Season 2","65280"],"13212":["Warlords Season 2 Elite","65280"],"13213":["Warlords Season 3","65280"],"13214":["Warlords Season 3 Elite","65280"],"13178":["Warlords Tournament","65280"],"13111":["of Power","0"],"13172":["of the Adaptable","0"],"13166":["of the Augur","0"],"13157":["of the Aurora","0"],"13176":["of the Decimator","0"],"13158":["of the Deft","0"],"13163":["of the Diviner","0"],"13154":["of the Fanatic","0"],"13156":["of the Feverflare","0"],"13150":["of the Fireflash","0"],"13155":["of the Guileful","0"],"13161":["of the Harmonious","0"],"13168":["of the Herald","0"],"13170":["of the Impatient","0"],"13162":["of the Merciless","0"],"13164":["of the Noble","0"],"13151":["of the Peerless","0"],"13174":["of the Pious","0"],"13152":["of the Quickblade","0"],"13173":["of the Relentless","0"],"13153":["of the Savage","0"],"13171":["of the Savant","0"],"13167":["of the Stalwart","0"],"13169":["of the Stormbreaker","0"],"13165":["of the Strategist","0"],"13175":["of the Unbreakable","0"],"13160":["of the Windshaper","0"],"13159":["of the Zealot","0"]};var g_project_branches={"1":"Dwarf","2":"Draenei","3":"Fossil","4":"Night Elf","5":"Nerubian","6":"Orc","7":"Tol'vir","8":"Troll","27":"Vrykul","29":"Mantid","229":"Pandaren","231":"Mogu","315":"Arakkoa","350":"Draenor Clans","382":"Ogre","404":"Highborne","406":"Highmountain Tauren","408":"Demonic"};var g_project_rarity={0:"Common",1:"Rare"};var g_user_roles={1:"Tester",2:"Administrator",3:"Editor",4:"Moderator",5:"Bureaucrat",6:"Developer",7:"VIP",8:"Blogger",9:"Premium",10:"Localizer",11:"Sales agent",12:"Screenshot manager",13:"Video manager",14:"API partner",15:"Pending"};var g_list_categories={0:"Other",1:"Best in Slot",2:"New in Patch",3:"World Event",4:"Player vs. Player",5:"Dungeons & Raids",6:"Vanity Items, Pets & Mounts",7:"New Players & Leveling",8:"Classes",9:"Professions",10:"Factions"};var g_list_tabs={1:"NPCs",2:"Objects",3:"Items",5:"Quests",6:"Spells",8:"Factions",10:"Achievements",11:"Titles",17:"Currencies",18:"Projects",20:"Followers",21:"Ships","-1":"Equipment Set","-2":"Mounts","-3":"Battle Pets","-4":"Talents","-5":"Toys","-6":"Heirlooms"};var g_gem_colors={1:"Meta",2:"Red",4:"Yellow",6:"Orange",8:"Blue",10:"Purple",12:"Green",14:"Prismatic",16:"Sha-Touched",32:"Cogwheel"};var g_socket_names={1:"Meta Socket",2:"Red Socket",3:"Yellow Socket",4:"Blue Socket",5:"Sha-Touched",6:"Cogwheel Socket",7:"Prismatic Socket"};var g_gem_types={1:"Meta",2:"Red",3:"Yellow",4:"Blue",5:"Sha-Touched",6:"Cogwheel",7:"Prismatic",8:"Iron",9:"Blood",10:"Shadow",11:"Fel",12:"Arcane",13:"Frost",14:"Fire",15:"Water",16:"Life",17:"Storm",18:"Holy"};var g_garrison_plot_categories={3:"Small",4:"Medium",5:"Large"};var LANGfiMakeOptGroups=function(k,b){var n=Array();var c;if(typeof b=="string"){var f=Array();for(var h in k){if(!k.hasOwnProperty(h)){continue}c=false;for(var m=0;(f.length>m)&&!c;m++){c|=f[m]==k[h][1][1]}if(!c){f.push(k[h][1][1])}}f.sort(function(q,i){if(q==i){return 0}if(q==null){return -1}if(i==null){return 1}var s=parseFloat(q);var r=parseFloat(i);if(!isNaN(s)&&!isNaN(r)&&s!=r){return r>s?-1:1}if(typeof q=="string"&&typeof i=="string"){return q.localeCompare(i)}return i>q?-1:1});var d=b;if(d==""){d="%s"}b=Array();for(var l in f){b.push([f[l],d.replace(/%[ds]/,f[l])])}}var g,j,p;c=false;for(var h in k){if(!k.hasOwnProperty(h)){continue}p=false;for(var l in b){if(!b.hasOwnProperty(l)){continue}g=(typeof b[l]=="object")?b[l][0]:l;if(k[h][1][1]==g){p=true;break}}if(p){continue}if(!c){b[-987654]="Other";c=true}k[h][1][1]=-987654}var e=[];if(Object.prototype.toString.call(b)==="[object Object]"){for(var o in b){if(b.hasOwnProperty(o)){e.push([o,b[o]])}}e.sort(function(q,i){if(typeof q[1]=="string"&&typeof i[1]=="string"){return q[1].localeCompare(i[1])}return i[1]>q[1]?-1:1})}else{e=b}for(var l in e){if(!e.hasOwnProperty(l)){continue}c=false;g=(typeof e[l]=="object")?e[l][0]:l;j=(typeof e[l]=="object")?e[l][1]:e[l];for(var h in k){if(k.hasOwnProperty(h)&&k[h][1][1]==g){if(!c){n.push([null,j,g]);c=true}n.push([k[h][0],k[h][1][0]])}}}return n};var LANG={alltime_stc:"All Time",lastmonth_stc:"Last Month",lastweek_stc:"Last Week",selectbonus:"Select version",artifactappearances:"Artifact Appearances",linkremoved:"link removed",linkremoved_tip:"Newly registered users cannot<br />post links.",and:" and ",or:"or",comma:", ",ellipsis:"…",dash:" – ",hyphen:" - ",colon:": ",parens_open:"(",parens_close:")",ampersand:"&",wordspace:" ",qty:" ($1)",error:"Error",date:"Date",date_colon:"Date: ",date_on:"on ",date_ago:"$1 ago",date_at:" at ",date_to:" to ",date_simple:"$3/$2/$1",unknowndate_stc:"Unknown date",date_months:["January","February","March","April","May","June","July","August","September","October","November","December"],date_days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],amount:"Amount",abilities:"Abilities",activity:"Activity",add:"Add",addtofavorites:"Add to Favorites",advertisement:"Advertisement",alpha:"Alpha",animation:"Animation",anotherrandompage_tip:"Another random page!",armor:"Armor",artifactweapon:"Artifact Weapon",attack:"Attack",autoresizetextbox:"Auto-Resize Text Box",available:"Available",avg:"Avg",audio:"Audio",back_verb:"Back",backpack:"Backpack",backtolist:"Back to List",bank:"Bank",battlepet:"Battle Pet",battlepet_lc:"battle pet",battlepets:"Battle Pets",battlepets_lc:"battle pets",beta:"Beta",blindfolds:"Blindfolds",breed:"Breed",breed_colon:"Breed:",expansion:"Expansion",text:"Text",author:"Author",subregion:"Subregion",blueposts:"Blue posts",branch:"Branch",cancel:"Cancel",category:"Category",chooseaclass_colon:"Choose a class: ",chosen:"Chosen",classes:"Classes",classs:"Class",clicktologin:"Click to log in",close:"Close",community:"Community",companion:"Companion",compare:"Compare",comparison:"Comparison",complete:"Complete",completed:"Completed",completion:"Completion",contactus:"Contact us",cost:"Cost",count:"Count",counters:"Counters",currency:"Currency",current:"Current",dailyquestreset:"Daily Quest Reset",daily:"Daily",dailychance:"Daily Chance",weekly:"Weekly",damage:"Damage",description:"Description","delete":"Delete",diet:"Diet",disabled:"Disabled",done:"Done",dps:"DPS",durability:"Durability",earned:"Earned",edit:"Edit",enchant:"Enchant",entitycount:"$1 $2",exhausting:"Exhausting",exp:"Exp.",facebook:"Facebook",facetype:"Face Type",faction:"Faction",favorite:"Favorite",favorites:"Favorites",features:"Features",format:"Format",fragments:"Fragments",gains:"Gains",gender:"Gender",gems:"Gems",gearscore:"Gear",gearscore_real:"Gear score",glyphtype:"Glyph type",goal:"Goal",golden:"Golden",googleplus:"Google+",guides_format:"%s Guides",guildbank:"Guild Bank",guildlevel:"Guild Level",group:"Group",hairstyle:"Hair Style",haircolor:"Hair Color",healing:"Healing",health:"Health",help:"Help",heroic:"Heroic",heroiclevel:"Heroic level",hidesidebar:"Hide Sidebar",hornstyle:"Horn Style",hub_format:"$1 Hub",icon:"Icon",inactive:"Inactive",incomplete:"Incomplete",inprogress:"In Progress",instancetype:"Instance type",itemlevel:"Item Level",itemlevelshort:"ILvl",keystone:"Keystone",lastpost:"Last post",lastbluepost:"Last blue post",latest:"Latest",level:"Level",lifetimerating:"Lifetime Rating",location:"Location",loot:"Loot",losses:"Losses",macro:"Macro",mechanics:"Mechanics",members:"Members",model:"Model",money:"Money",more:"More",multiselect_tip:"Hold Ctrl or Shift while clicking to select multiple.",mybagscans:"My Bag Scans",name:"Name",next:"Next ",no:"No",none:"None",normal:"Normal",notes:"Notes",ok:"OK",original:"Original",other:"Other",overallprogress:"Overall Progress",overview:"Overview",players:"Players",plot:"Plot",popularity:"Popularity",power:"Power",premium:"Premium",premiumsettings:"Premium Settings",previous:" Previous","private":"Private","public":"Public",quality:"Quality",race:"Race",races:"Races",rankno:"Rank $1",rarity:"Rarity",rating:"Rating",react:"React",ready:"Ready",realppmmodifiers:"Real PPM modifiers",realm:"Realm",reagents:"Reagents",recentratings:"Recent Ratings",reddit:"Reddit",region:"Region",rejected:"Rejected",related:"Related",removefromfavorites:"Remove from Favorites",rep:"Rep.",req:"Req. ",requires:"Requires",requirements:"Requirements",reputation:"Reputation",reward:"Reward",rewards:"Rewards",upgrades:"Upgrades",versions:"Versions",bonuses:"Bonuses",challengemodescaling_tip:"Stats may vary for non-healers based on adjusting for the hit and expertise caps",petfamily:"Pet family",pieces:"Pieces",points:"Points",posted:"Posted",posts:"Posts",premiumupgrade:"Premium Upgrade",preview:"Preview",prize:"Prize",earnedwsatime_format:"You have earned this achievement $1 ago.",earnedwsatime2_format:"$1 earned this achievement $2 ago.",earnedwsatime3_format:"You have earned this achievement on $1.",earnedwsatime4_format:"$1 earned this achievement on $2.",earnedwsafirsttime_format:"You first earned this achievement $1 ago.",earnedwsafirsttime2_format:"$1 first earned this achievement $2 ago.",earnedwsafirsttime3_format:"You first earned this achievement on $1.",earnedwsafirsttime4_format:"$1 first earned this achievement on $2.",power:"Power",purge:"Purge",quality_colon:"Quality: ",recent:"Recent",reddit:"Reddit",reforge:"Reforge",reforged:"Reforged",refreshcharacterlist:"Refresh Character List",relatedguides:"Related Guides",relevance:"Relevance",replies:"Replies",report:"Report",report_tooltip:"This post needs moderator attention.",replyreportwarning_tip:"Are you sure you want to report this reply as inappropriate to the moderators?",school:"School",score:"Score",set:"Set",settings:"Settings",share:"Share",shareon:"Share on $1",showsidebar:"Show Sidebar",side:"Side",signature:"Signature",signout:"Log Out",sockets:"Sockets",source:"Source",skill:"Skill",skillpoints:"Skill Points",skin:"Skin",skincolor:"Skin Color",slot:"Slot",slots:"Slots",smartloot:"Smart loot",speed:"Speed",stack:"Stack",standard:"Standard",standing:"Standing",stock:"Stock",staff:"Staff",statistic:"Statistic",style:"Style",subject:"Subject",submit:"Submit",subscribe:"Subscribe",talent:"Talent",talents:"Talents",tattoos:"Tattoos",territory:"Territory",tier:"Tier",tip_colon:"Tip: ",top:"Top",topics:"Topics",total:"Total",tp:"TP",travel:"Travel",trending:"Trending",troop:"Troop",twitter:"Twitter",type:"Type",type_plural:"Types",unused:"Unused",up:"Up",usedby_format:"Used by $1 $2",vignettes:"Vignettes",wild:"Wild",accuracy:"Accuracy",cooldown:"Cooldown",duration:"Duration",cooldownturns_format:"$1 turns",durationturns_format:"$1 turns",accuracy_format:"$1%",itemupgrade_format:"Upgrade Level $1",heirloomupgrade_format:"Heirloom Upgrade Level $1",itemupgradeshort_format:"Upgrade $1/$2",heirloomupgradeshort_format:"Heirloom Upgrade: $1/$2",untameable:"Untameable",unavailable:"Unavailable",uncollectible:"Uncollectible",unreleasedspell:"Unreleased Spell",unknown:"Unknown",user:"User",tweet:"Tweet",views:"Views",voidstorage:"Void Storage",userpage:"User Page",wins:"Wins",when:"When",today:"today",yes:"Yes",yields:"Yields",allday:"All Day",yesterday:"yesterday",noon:"noon",midnight:"midnight",am:"AM",pm:"PM",toy:"Toy",wing:"Wing",male:"Male",female:"Female",ads_report:"Report Ad",ads_reportresponse:"Thank you for the feedback, we will look in to it!",zul_login:"Log In",zul_logintitle:"Log In to your ZAM / Wowhead Account",zul_loginwith:"Log In with: ",zul_forgot:'Forgot: <a href="/account=forgotusername" target="_top">Username</a> | <a href="/account=forgotpassword" target="_top">Password</a>',zul_createone:'Don\'t have an account? <a href="/account=signup">Create one now!</a>',zul_register:"Register",zul_premium:"Get Premium",zul_email:"Email",zul_password:"Password",zul_remember:"Remember Me",zul_feedback:"Feedback",zul_language:"Language",zul_upgrade:"Upgrade Available",zul_pinnedprofiles:"Pinned Profiles",zul_closesearch:"Close Search",zul_nav:"Navigation",zul_viewingdata:"Viewing $1 Data",zul_viewdata:"View $1 Data",zul_data:"$1 Data",zul_changedataview:"Change Data View",zul_live:"Live",zul_ptr:"PTR",zul_beta:"Beta",zul_zamsites:"ZAM Sites",zul_dialog_error_email:"Please enter your email address.",zul_dialog_error_password:"Please enter your password.",zul_searchdb:"Search the database...",favorites_login:"Log in to save your favorites to a custom menu!",favorites_duplicate:"This %s is already favorited!",platform_change:"Change View",platform_layoutchoicelserror:"Your browser does not support or does not allow local storage, and cannot save your layout choice!",hs_constructed:"Constructed",hs_basic:"Basic",hs_arena:"Arena",source_bossdrop:"Boss Drop",source_zonedrop:"Zone Drop",source_quests:"Quests",source_vendors:"Vendors",h3_spells:"Spells",h3_minions:"Minions",h3_weapons:"Weapons",infobox_noneyet:"None yet – $1!",infobox_submitone:"Submit one",infobox_suggestone:"Suggest one",infobox_showall:"Show all ($1)",desc_length_zero:"You have not entered any text. The description will be automatically generated for you.",desc_length_short:"Your description is too short! $1 to go...",desc_length_slightlyshort:"Your description looks okay, but it could be a bit longer. If it would help describe the page try adding $1.",desc_length_optimal:"Your description is a good length. Good job! You can safely add up to $1 if needed.",desc_length_slightlylong:"Your description is getting a bit too long! But it's still acceptable.",desc_length_long:"Oh no! Your description is $1 too long! It will most likely be truncated.",lvitem_tabs:"Use the tabs to change between image and text results!",lvclass_hero:"Hero class",lvcomment_add:"Add your comment",sort:"Sort",newestfirst_stc:"Newest first",oldestfirst_stc:"Oldest first",highestrated_stc:"Highest rated",lvcomment_patchfilter:"Filter by patch: ",lvcomment_by:"By ",lvcomment_patch:" (Patch $1)",lvcomment_show:"Show comment",lvcomment_hide:"Hide comment",lvcomment_rating:"Rating: ",lvcomment_lastedit:"Last edited by ",lvcomment_deletedby:"Deleted by",lvcomment_nedits:"edited $1 times",lvcomment_edit:"Edit",lvcomment_delete:"Delete",lvcomment_undelete:"Undelete",lvcomment_detach:"Detach",lvcomment_reply:"Reply",lvcomment_report:"Report",lvcomment_reported:"Reported!",lvcomment_uptodate:"Up to Date",lvcomment_uptodateresponse:"Comment marked as current",lvcomment_outofdate:"Out of Date",lvcomment_outofdateresponse:"Comment has been marked as out of date.",lvcomment_outofdateresponsequeued:"Comment added to out of date queue.",lvcomment_outofdate_tip:"Are you sure you want to mark this comment as out of date? If so, enter a reason below. Abuse is subject to moderation! ",lvcomment_deleted:" (Deleted)",lvcomment_purged:" (Purged)",lvdrop_outof:"out of $1",lvitem_dd:" ($1$2)",lvitem_normal:"N",lvitem_heroic:"H",lvitem_mythic:"M",lvitem_timewalking:"TW",lvitem_raid10:"10",lvitem_raid25:"25",lvitem_lfr:"LFR",lvitem_flex:"Flex",lvitem_heroicitem:"Heroic",lvitem_raidfinderitem:"Raid Finder",lvitem_flexibleitem:"Flexible",lvitem_thunderforgeditem:"Thunderforged",lvitem_warforgeditem:"Warforged",lvitem_epicitem:"Epic",lvitem_eliteitem:"Elite",lvitem_vendorin:"Vendor in ",lvitem_reqlevel:"Req. ",lvnpc_alliance:"A",lvnpc_horde:"H",lv_orderadvancement_researchcost:"Research Cost",lv_orderadvancement_changecost:"Change Cost",mv_controls:"Drag to rotate. Drag with right-click to pan.",mv_dressingroom:"Open in Dressing Room",npc_breedtip:'A pet\'s stat points are modified<br />according to breed.<br /><br /><span class="q1">Breed #$1</span><br />Health $2, Power $3, Speed $4',npc_unknownbreedtip:"The available breeds for this pet are unknown.<br />All breed options will be displayed.",npc_unknownqualitytip:"The available qualities for this pet are unknown.<br />All quality options will be displayed.",npc_unknown:"Unknown",npc_oneyesnilno:'"1" means Yes, "nil" means No',premium_title:"Premium User",lvquest_daily:"Daily $1",lvquest_weekly:"Weekly $1",lvquest_pickone:"Pick one: ",lvquest_alsoget:"Also get: ",lvquest_removed:"Removed",lvquest_autoaccept:"Auto Accept",lvquest_hostile:"(Hostile)",lvzone_xman:"$1-player",lvzone_xvx:"$1v$2",lvpet_exotic:"Exotic",lvspecies_sidelevel:"L",lvspecies_companion:"Companion",lvspecies_untameable:"Untameable",lvspecies_elite:"Elite",lvspecies_levelcombo:"Level $1 $2",lvspecieselite_levelcombo:"Level $1 $2 Elite",lvspecies_breedtip:'A pet\'s stat points are modified<br />according to breed.<br /><br /><span class="q1">Breed #$1</span><br />Health $2, Power $3, Speed $4',lvspecies_totalunique:"$1 total pets collected, $2 unique pets collected",lvmissionability_innonly:"Only from Inn/Tavern",lvpage_of:" of ",lvpage_first:" First",lvpage_previous:" Previous",lvpage_next:"Next ",lvpage_last:"Last ",lv_search:"Fill in the form above to begin searching.",lvsearchresults:"Search within results...",lvsearchdisplayedresults:"Search within displayed results...",lvscreenshot_submit:"Submit a screenshot",lvscreenshot_from:"From ",lvscreenshot_hires:"View",lvscreenshot_hires2:" higher resolution version ($1x$2)",lvvideo_suggest:"Suggest a video",lvvideo_from:"From ",lvnodata:"There is no data to display.",lvnodata2:"No matches found.",lvnodata_co1:"No comments have been posted yet.",lvnodata_co2:"Be the first to <a>add a comment</a> to this page!",lvnodata_co3:'Please <a href="/account=signin">log in</a> to add your comment, or <a href="/account=signup">register</a> if you don\'t already have an account.',lvnodata_ss1:"No screenshots have been submitted yet.",lvnodata_ss2:"Be the first to <a>submit a screenshot</a> for this page!",lvnodata_ss3:'You are not logged in. Please <a href="/account=signin">log in</a> to submit a screenshot or <a href="/account=signup">register</a> if you don\'t already have an account.',lvnodata_vi1:"No videos have been submitted yet.",lvnodata_vi2:"Be the first to <a>suggest a video</a> for this page!",lvnodata_vi3:'Please <a href="/account=signin">log in</a> to submit a video or <a href="/account=signup">register</a> if you don\'t already have an account.',lvnote_selectall:"Select all",lvnote_deselectall:"Deselect all",lvnote_sort:"Sort by: ",lvnote_screenshottooltips:"Show screenshots on tooltips",lvnote_tryfiltering:"Try filtering your results",lvnote_trynarrowing:"Try narrowing your search",lvnote_upgradesfor:'Finding upgrades for <a href="/item=$1" class="q$2"><b>$3</b></a>.',lvnote_witherrors:"Some filters in your search were invalid and have been ignored.",lvnote_entitiesfound:"$1 $2 found ($3 displayed)",lvnote_itemsfound:"$1 items found ($2 displayed)",lvnote_itemsetsfound:"$1 item sets found ($2 displayed)",lvnote_transmogsetsfound:"$1 transmog sets found ($2 displayed)",lvnote_npcsfound:"$1 NPCs found ($2 displayed)",lvnote_objectsfound:"$1 objects found ($2 displayed)",lvnote_questsfound:"$1 quests found ($2 displayed)",lvnote_questsind:'Quests categorized under <a href="/quests=$1.$2" target="_blank">$3</a>.',lvnote_spellsfound:"$1 spells found ($2 displayed)",lvnote_skillsfound:"$1 skills found ($2 displayed)",lvnote_abilitiesfound:"$1 abilities found ($2 displayed)",lvnote_talentsfound:"$1 talents found ($2 displayed)",lvnote_professionfound:"$1 professions found ($2 displayed)",lvnote_mountsfound:"$1 mounts found ($2 displayed)",lvnote_zonesfound:"$1 zones found ($2 displayed)",lvnote_companionsfound:"$1 companions found ($2 displayed)",lvnote_factionsfound:"$1 factions found ($2 displayed)",lvnote_petsfound:"$1 pets found ($2 displayed)",lvnote_battlepetabilitiesfound:"$1 battle pet abilities found ($2 displayed)",lvnote_petspeciesfound:"$1 pet species found ($2 displayed)",lvnote_achievementsfound:"$1 achievements found ($2 displayed)",lvnote_achievementsind:'Achievements categorized under <a href="/achievements=$1.$2" target="_blank">$3</a>.',lvnote_currenciesfound:"$1 currencies found ($2 displayed)",lvnote_listsfound:"$1 lists found ($2 displayed)",lvnote_soundsfound:"$1 sounds found ($2 displayed)",lvnote_outfitsfound:"$1 outfits found ($2 displayed)",lvnote_createafilter:'<small><a href="$1">Create a filter</a></small>',lvnote_filterresults:'<a href="$1">Filter these results</a>',lvnote_questgivers:'View <a href="/zone=$1">quest givers</a> in <b>$2</b> <b>|</b> Filter <a href="/items?filter=126;$3;0">quest rewards</a>',lvnote_pettalents:'<small><a href="$1">View pets</a> able to learn these talents</small>',lvnote_zonequests:'Browse <a href="/quests=$1.$2">quests</a> in the <b>$3</b> category <b>|</b> Filter <a href="/items?filter=126;$4;0">quest rewards</a>',lvnote_crafteditems:'Filter <a href="/items?filter=86;$1;0">crafted items</a>',lvnote_viewmoreslot:'View <a href="/items$1">more results</a> for this slot',lvnote_viewmorelevel:'View <a href="/items$1">more results</a> for this item level',lvnote_viewmoresource:'View <a href="/items$1">more results</a> for this source',lvnote_itemdisenchanting:"This item has been disenchanted $1 times.",lvnote_itemdropsinnormalonly:"This item only drops in Normal mode.",lvnote_itemdropsinheroiconly:"This item only drops in Heroic mode.",lvnote_itemdropsinnormalheroic:"This item drops in both Normal and Heroic modes.",lvnote_itemdropsinnormal10only:"This item only drops in Normal 10 mode.",lvnote_itemdropsinnormal25only:"This item only drops in Normal 25 mode.",lvnote_itemdropsinheroic10only:"This item only drops in Heroic 10 mode.",lvnote_itemdropsinheroic25only:"This item only drops in Heroic 25 mode.",lvnote_itemdropsinraidfinderonly:"This item only drops in Raid Finder mode.",lvnote_itemdropsinflexibleonly:"This item only drops in Flexible mode.",lvnote_itemdropsinmythiconly:"This item only drops in Mythic mode.",lvnote_itemdropsintimewalkingonly:"This item only drops in Timewalking mode.",lvnote_itemmilling:"This herb has been milled $1 times.",lvnote_itemopening:"This item has been opened $1 times.",lvnote_itemprospecting:"This mineral ore has been prospected $1 times.",lvnote_npcdrops:"This NPC has been looted $1 times.",lvnote_npcdropsnormal:"This NPC has been looted $1 times in Normal mode.",lvnote_npcdropsheroic:"This NPC has been looted $1 times in Heroic mode.",lvnote_npcdropsnormalX:"This NPC has been looted $1 times in Normal $2 mode.",lvnote_npcdropsheroicX:"This NPC has been looted $1 times in Heroic $2 mode.",lvnote_npcobject:'<a href="/object=$1">$2</a> has been opened $3 times.',lvnote_npcobjectnormal:'<a href="/object=$1">$2</a> has been opened $3 times in Normal mode.',lvnote_npcobjectheroic:'<a href="/object=$1">$2</a> has been opened $3 times in Heroic mode.',lvnote_npcobjectnormalX:'<a href="/object=$1">$2</a> has been opened $3 times in Normal $4 mode.',lvnote_npcobjectheroicX:'<a href="/object=$1">$2</a> has been opened $3 times in Heroic $4 mode.',lvnote_npcobjectsource:'Showing drops from <a href="/object=$1">$2</a>',lvnote_npcherbgathering:"This NPC has been skinned with Herbalism $1 times.",lvnote_npcsalvaging:"This NPC has been salvaged with Engineering $1 times.",lvnote_npcmining:"This NPC has been skinned with Mining $1 times.",lvnote_npcpickpocketing:"This NPC has been pickpocketed $1 times.",lvnote_npcskinning:"This NPC has been skinned $1 times.",lvnote_objectherbgathering:"This herb has been gathered $1 times.",lvnote_objectmining:"This mineral vein has been mined $1 times.",lvnote_objectopening:"This object has been opened $1 times.",lvnote_objectopeningnormal:"This object has been opened $1 times in Normal mode.",lvnote_objectopeningheroic:"This object has been opened $1 times in Heroic mode.",lvnote_objectopeningnormalX:"This object has been opened $1 times in Normal $2 mode.",lvnote_objectopeningheroicX:"This object has been opened $1 times in Heroic $2 mode.",lvnote_zonefishing:"Waters in this zone have been fished $1 times.",lvnote_achieveevent:'View <a href="/event=$1">event page</a> for <b>$2</b>',lvnote_usercomments:"This user has posted a total of $1 comments.",lvnote_userscreenshots:"This user has submitted a total of $1 screenshots.",lvnote_uservideos:"This user has submitted a total of $1 videos.",lvnote_usertopics:"This user has posted a total of $1 topics.",lvnote_userreplies:"This user has posted a total of $1 replies.",lvcomparison_all:"All",lvcomparison_identical:"Identical",lvcomparison_similar:"Similar",lvcomparison_extra:"Unique to Current List",lvcomparison_missing:"Unique to Other List",lvcomparison_this:"This List",lvcomparison_other:"Other List",lvcompletion:{all:"All",identical:"Complete",similar:"In Progress",extra:"Excluded",duplicate:"Duplicate",missing:"Incomplete","this":"Current",other:"Goal"},lvcompletion_battlepet:{all:"All",identical:"Max Level",similar:"Low Level",extra:"Excluded",duplicate:"Duplicate",missing:"Missing","this":"Current",other:"Goal"},lvcompletion_collection:{all:"All",identical:"Collected",similar:"In Progress",extra:"Excluded",duplicate:"Duplicate",missing:"Missing","this":"Current",other:"Goal"},lvmycollection:"My Collection",poll_optionnum:"Option #$1: ",poll_pollresults:"Poll results: ",poll_returntovoting:"Return to voting",poll_question:"Question: ",poll_addoption:"Add option",poll_allowmultiple:"Allow users to vote for multiple options.",poll_vote:"Vote",poll_viewresults:"View results",button_compare:"Compare",button_delete:"Delete",button_deselect:"Deselect",button_edit:"Edit",button_equip:"Equip",button_exclude:"Exclude",button_garrisoncalc:"Garrison Calculator",button_include:"Include",button_makepriv:"Make private",button_makepub:"Make public",button_new:"New",button_newavatar:"Upload a new one",button_playaudio:"Play Audio",button_quickexclude:"Manage exclusions",button_remove:"Remove",button_resync:"Resync",button_selectall:"Select all",button_upgrades:"Find upgrades",button_viewin3d:"View in 3D",button_scaleilvl:"Scale ILvl",button_markup:"Markup",button_link:"Link",dialog_cantdisplay:"Note: Some of the items you selected were ignored. Select them individually to display them in 3D.",dialog_compare:"Item Comparison",dialog_image:"Image",dialog_imagedetails:"Image Details",dialog_imagename:"Name: ",dialog_imageselector:"Image Selection",dialog_losechanges:"You are viewing an Armory character. Any changes you make will be lost unless you save this character as a custom profile.",dialog_nosaveandview:"View without saving",dialog_saveandview:"Save and view now",dialog_saveforlater:"Save for later",dialog_selecteditem:"<b>$1</b> item has been selected.",dialog_selecteditems:"<b>$1</b> items have been selected.",dialog_seeallusingicon:"See all $1, $2, or $3 using this icon.",dialog_mouseovertoload:"Mouseover to load...",dialog_taptoload:"Tap to load...",dialog_ssviewerkeys:"You can use your arrow keys to change images or ESC to close!",dialog_adbetween:"Advertisement between $1 and $2 of $3",dialog_adbetweenimages:"Advertisement between images $1 and $2 of $3",message_agreetoterms:"Please agree to our Terms of Service.",message_ajaxnotsupported:"Please upgrade to a modern browser (such as Firefox) that supports 'Ajax' requests.",message_browsernoaudio:"We're sorry, but your web browser cannot play the required audio format: $1",message_cantdeletecomment:"This comment has been automatically purged due to a negative rating. It cannot be deleted.",message_cantdetachcomment:"This comment has already been detached.",message_codenotentered:"You did not enter the CAPTCHA.",message_cantpostlcomment_tip:"You cannot comment this guide, only English comments are allowed.",message_commentasvideo_tip:"You should suggest this as a video instead!\n\nPress Cancel to view our video suggestion tab.\nPress OK to continue submitting this as a comment.",message_commentdetached:"This comment is now detached.",message_commenttooshort:"Your message must not be empty.",message_descriptiontooshort:"Your description must be at least 10 characters long.\n\nPlease elaborate a little.",message_emailnotvalid:"That email address is not valid.",message_entercurrpass:"Please enter your current password.",message_enteremailorpass:"You must enter your new email address or password!",message_enteremail:"Please enter your email address.",message_enternewemail:"Please enter your new email address.",message_enternewpass:"Please enter your new password.",message_enterpassword:"Please enter your password.",message_enterusername:"Please enter your username.",message_enteruseroremail:"Please enter your username or email.",message_forumposttooshort:"Your post is empty!",message_invalidfilter:"Invalid filter.",message_invalidname:"Image name is invalid. Must be alphanumeric, 20 characters max, and start with a letter.",message_newemaildifferent:"Your new email address must be different than your previous one.",message_newpassdifferent:"Your new password must be different than your previous one.",message_noscreenshot:"Please select the screenshot to upload.",message_novideo:"Please enter valid video information.",message_nothingtoviewin3d:"No items were selected that can be viewed in 3D.",message_passwordmin:"Your password must be at least 6 characters long.",message_passwordsdonotmatch:"Passwords do not match.",message_poweredbyprofiler:"Data powered by the Wowhead Profiler",message_savebeforeexit:"You will lose any unsaved changes you have made.",message_sizelimit:"File size limit exceeded (> %d MB).",message_startedpost:"You have started to write a message.",message_sharetheurlbelow:"Share the URL below:",message_usernamemin:"Your username must be at least 4 characters long.",message_usernamenotvalid:"Your username can only contain letters and numbers.",message_weightscalesaveerror:"Error: Your custom weight scale could not be saved. Wowhead accounts have a limit of five custom scales. Each scale must have at least one stat weight.",message_saveok:"Saved",topusers:"Top Users",achievements:"Achievements",comments:"Comments",posts:"Posts",screenshots:"Screenshots",reports:"Reports",votes:"Votes",uploads:"Uploads",username:"Username",created:"Created",confirm_addtosaved:"Add to your saved comparison?",confirm_commenttoolong:"Your comment is longer than $1 characters and will be truncated after:\n\n$2\n\nDo you want to proceed anyway?",confirm_deletecomment:"Are you sure that you want to delete this comment?",votetodelete_tip:"Are you sure you want to vote to delete this comment?\n\nComments should be deleted only if:\n- They are out of date\n- They contain blatant insults or advertisement",votetodelete2_tip:"Are you sure you want to vote to delete this comment?\n\nComments should be deleted only if:\n- They are out of date\n- They contain blatant insults or advertisement\n\nIf you want to delete this comment please state why:",votetodelete3_tip:"[Enter reason here]",youmustprovideareason_stc:"You must provide a reason.",votetoundelete_tip:"Are you sure you want to vote to undelete this comment?",votedtodelete_tip:"Thanks; the comment will be deleted when and if other high rep users agree with your decision.",votedtoundelete_tip:"Thanks; the comment will be undeleted when and if other high rep users agree with your decision.",confirm_descriptiontoolong:"Your description is longer than $1 characters and will be truncated after:\n\n$2\n\nDo you want to proceed anyway?",confirm_detachcomment:"Are you sure that you want to make this comment a standalone one?",confirm_forumposttoolong:"Your post is longer than $1 characters and will be truncated after:\n\n$2\n\nDo you want to proceed anyway?",confirm_report2:"Are you sure that you want to report this post as $1?",confirm_report3:"Are you sure that you want to report this user's avatar as vulgar/inappropriate?",confirm_report4:"Are you sure that you want to report this image as vulgar/inappropriate?",confirm_report:"Are you sure that you want to report this comment as $1?",confirm_signaturetoolong:"Your signature is longer than $1 characters and will be truncated after:\n\n$2\n\nDo you want to proceed anyway?",confirm_signaturetoomanylines:"Your signature contains more than $1 lines and will be truncated.\n\nDo you want to proceed anyway?",confirm_deleteweightscale:"Are you sure you wish to delete this custom weight scale?",confirm_deleteweightscale_format:'Are you sure you wish to delete the "$1" custom weight scale?',prompt_colfilter1:"You may set a filter for the $1 column:\n\n",prompt_colfilter2:'e.g. "sword"',prompt_colfilter3:'e.g. ">100", "32-34" or "!<=10"',prompt_customrating:"Please enter a rating value between -$1 and $2:",prompt_details:"Please provide details below:",prompt_gotopage:"Please enter the page number you wish to go to ($1 - $2):",prompt_ingamelink:"Copy/paste the following to your in-game chat window:",prompt_linkurl:"Please enter the URL of your link:",prompt_ratinglevel:"Please enter the level used in the calculation ($1 - $2):",prompt_signaturemarkup:"Copy/paste the following to your Wowhead signature:",prompt_signaturedirect:"Copy/paste the following to directly link to this image:",prompt_nameweightscale:"Please provide a name for this weight scale.",prompt_tcbuild:"Copy and paste the following URL to link to this build:",genericerror:"An error has occurred; refresh the page and try again. If the error persists email feedback@wowhead.com",malformedlink:"The given link was malformed. We will reset to default values.",achievementunlocked_format:"$1 Achievement Unlocked!",newprivilege:"New Privilege!",tooltip_taplink:"Tap Link",tooltip_visitpage:"Visit Page",tooltip_activeholiday:"Event is currently in progress",tooltip_achievementcomplete:"Achievement earned by $1 on $2/$3/$4",tooltip_achievementnotfound:"Achievement not found :(",tooltip_achievementpoints:"Achievement points",tooltip_allianceonly:"Alliance only",tooltip_armorbonus:"Has $1 bonus armor.",tooltip_avgmoneycontained:"Average money contained",tooltip_avgmoneydropped:"Average money dropped",tooltip_bagscanner:"Bag Scanner",tooltip_banned_rating:"You have been banned from rating comments.",tooltip_too_many_votes:"You have reached the daily voting cap. Come back tomorrow!",norepforvoting_format:"You need at least <b>$1</b> reputation to rate comments.",tooltip_difficulty:"Difficulty",tooltip_buyoutprice:"Average buyout price (AH)",tooltip_captcha:"Click to generate a new one",tooltip_changelevel2:"Drag to change level",tooltip_changelevel:"Click to change level",tooltip_changeitemlevel2:"Drag to change item level",tooltip_changeitemlevel:"Click to change item level",tooltip_changeplayers2:"Drag to change the number of players",tooltip_changeplayers:"Click to change the number of players",tooltip_chooseaspec:"Choose a spec",tooltip_itembonuses:"Item Versions",tooltip_colfilter1:"Filter: $1",tooltip_colfilter2:"Inverted filter: $1",tooltip_combatrating:"$1 @ L$2",tooltip_consumedonuse:"Consumed when used",tooltip_customrating:"Custom rating",tooltip_downrate:"Poor/redundant",tooltip_emptyrelicslot:"%s Artifact Relic Slot",tooltip_extended_achievements_name:"Check this option to search in the<br />description as well.",tooltip_extended_guides_name:"Check this option to search in the<br />description as well.",tooltip_extended_missions_name:"Check this option to search in the<br />description as well.",tooltip_extended_mission_abilities_name:"Check this option to search in the<br />description as well.",tooltip_extended_npcs_name:"Check this option to search in the<br /><tag> as well.",tooltip_extended_outfits_name:"Check this option to search in the<br />description as well.",tooltip_extended_quests_name:"Check this option to search in the<br />objectives and description as well.",tooltip_extended_resources_name:"Check this option to search in the<br />description as well.",tooltip_extended_spells_name:"Check this option to search in the<br />description and buff as well.",tooltip_extended_threats_name:"Check this option to search in the<br />description as well.",tooltip_extendedlistsearch:"Check this option to search in the<br />description as well.",tooltip_flight:"Flight",tooltip_golden:"Golden",tooltip_gotopage:"Click to go to a specific page",tooltip_ground:"Ground",tooltip_heroclass:"Players who have a character of at least level<br />55 on the account they play are able to create<br />a new level-55 hero class character.",tooltip_heroicmodeavailable:"Heroic mode available",tooltip_challengemodeavailable:"Challenge mode available",tooltip_mythicmodeavailable:"Mythic mode available",tooltip_hordeonly:"Horde only",tooltip_autores:"When you release your spirit after death,<br />you will resurrect automatically without having<br />to go back to your corpse.",tooltip_itemnotfound:"Item not found :(",tooltip_knowledgeformat:"(Knowledge %d)",tooltip_loading:"Loading…",tooltip_lvheader1:"Click to sort",tooltip_lvheader2:"Right-click to filter",tooltip_lvheader3:"Shift-click to filter",tooltip_mission:"Mission: ",tooltip_noresponse:"No response from server :(",tooltip_normal:"Normal",tooltip_notconsumedonuse:"Not consumed when used",tooltip_npcnotfound:"NPC not found :(",tooltip_objectnotfound:"Object not found :(",tooltip_partyloot:"When this item drops, each<br />member of the group can loot one.",tooltip_pending:"Pending",tooltip_pointsperboss1:"$1 $3 boss @ L$2",tooltip_pointsperboss2:"$1 $3 bosses @ L$2",tooltip_ppbheroic:"heroic",tooltip_ppbraid:"raid",tooltip_ppb10man:"$1 (10-player)",tooltip_ppb25man:"$1 (25-player)",tooltip_questnotfound:"Quest not found :(",tooltip_raidcurrency:"Awarded for completing the encounter at the<br />intended level. Higher level players receive less.",tooltip_reforged:"Reforged ($1 $2 → $1 $3)",tooltip_refundable:"May be returned for a refund at a vendor<br />if within two hours after the purchase.",tooltip_relicrankincrease:"+%d Rank",tooltip_relicranksincrease:"+%d Ranks",tooltip_relicminortrait:"Minor Trait",tooltip_repgain:"Reputation gain",tooltip_reqenchanting:"Required Enchanting skill",tooltip_reqinscription:"Required Inscription skill",tooltip_reqjewelcrafting:"Required Jewelcrafting skill",tooltip_reqlevel:"Required level",tooltip_reqlevel_format:"Requires Level %s",tooltip_reqlockpicking:"Required Lockpicking skill",tooltip_smartloot:"Only available to players who have<br />the profession and don't already<br />have the recipe.",tooltip_deprecated:"Cannot be used or equipped",tooltip_noequipcooldown:"The item will be ready immediately when equipped,<br />without the normal 30-second cooldown.",tooltip_realduration:"The item's duration is real time, not play time.<br />It will keep ticking while logged off.",tooltip_progressiveloot:"This item has a dynamic drop rate<br />that increases with quest progression.",tooltip_cannotrollneed:"You cannot roll Need on this item.",tooltip_cannottransmogrify:"You cannot transmogrify this item.",tooltip_showingtooltipfor:"Showing tooltip for",tooltip_spellnotfound:"Spell not found :(",tooltip_statweighting:'<b class="q1">Stat Weighting</b><br />\nFind the best items for your class/spec.',tooltip_sticky:"Sticky",tooltip_totaldatauploads:"Total size of all their data uploads",tooltip_totalratings:"Sum of all the comment ratings received",tooltip_trainingpoints:"Training points",tooltip_travel:"Travel: ",tooltip_uprate:"Insightful/funny",tooltip_zonelink:"Clicking on this link will<br />take you to the zone page.",tooltip_unusedabilities:"Include abilities not used by any followers",reputationhistory:"Reputation History",reputationaction:"Reputation Action",outofdate_stc:"Out of date",tab_pettrainer:"Trainer",tab_petspecies:"Battle Pets",tab_trainedpets:"Pets",tab_summons:"Summons",tab_otherranks:"Other ranks",tab_feedback:"Feedback",tab_abilities:"Abilities",tab_achievements:"Achievements",tab_addyourcomment:"Add your comment",tab_affixes:"Mythic+ Affixes",tab_artifacttraits:"Artifact Traits",tab_giveyourfeedback:"Give your feedback",tab_article:"Article",tab_articles:"Articles",tab_avatars:"Avatars",tab_bagscans:"Bag Scans",tab_battlepetabilities:"Battle pet abilities",tab_battlepets:"Battle pets",tab_bosses:"Bosses",tab_buildings:"Buildings",tab_calendar:"Calendar",tab_canbeplacedin:"Can be placed in",tab_cancontain:"Can contain",tab_classes:"Classes",tab_comments:"Comments",tab_replies:"Replies",tab_champions:"Champions",tab_changelog:"Changelog",tab_companions:"Companions",tab_containedin:"Contained in",tab_contains:"Contains",tab_controlledabilities:"Controlled abilities",tab_crafteditems:"Crafted items",tab_createdby:"Created by",tab_creates:"Creates",tab_criteriaof:"Criteria of",tab_currencyfor:"Currency for",tab_currencies:"Currencies",tab_disenchantedfrom:"Disenchanted from",tab_disenchanting:"Disenchanting",tab_droppedby:"Dropped by",tab_drops:"Drops",tab_dungeons:"Dungeons",tab_eligibleitems:"Eligible items",tab_emotes:"Emotes",tab_encounter:"Dungeon Journal",tab_ends:"Ends",tab_factions:"Factions",tab_fishedin:"Fished in",tab_fishing:"Fishing",tab_flexible:"Flexible",tab_followers:"Followers",tab_fragmentof:"Fragment of",tab_gallery:"Gallery",tab_missionabilities:"Mission abilities",tab_gatheredfrom:"Gathered from",tab_gatheredfromnpc:"Gathered from NPC",tab_guildperks:"Guild perks",tab_glyphs:"Glyphs",tab_guides:"Guides",tab_armorspecializations:"Armor specializations",tab_engineering:"Engineering",tab_englishcomments:"English comments",tab_herbalism:"Herbalism",tab_heroicdrops:"Heroic drops",tab_heroicXdrops:"Heroic $1 drops",tab_heroic:"Heroic",tab_heroicX:"Heroic $1",tab_holidays:"World Events",tab_icons:"Icons",tab_info:"Info",tab_items:"Items",tab_itemsets:"Item sets",tab_transmogsets:"Transmog sets",tab_languages:"Languages",tab_latestcomments:"Latest Comments",tab_latestreplies:"Latest Replies",tab_latestscreenshots:"Latest Screenshots",tab_latestvideos:"Latest Videos",tab_latesttopics:"Latest Topics",tab_lists:"Lists",tab_mentionedby:"Mentioned by",tab_members:"Members",tab_milledfrom:"Milled from",tab_milling:"Milling",tab_minedfrom:"Mined from",tab_minedfromnpc:"Mined from NPC",tab_mining:"Mining",tab_missions:"Missions",tab_modifiedby:"Modified by",tab_modifies:"Modifies",tab_improves:"Improves",tab_improvedby:"Improved by",tab_mounts:"Mounts",tab_mythic:"Mythic",tab_timewalking:"Timewalking",tab_normaldrops:"Normal drops",tab_normalXdrops:"Normal $1 drops",tab_normal:"Normal",tab_normalX:"Normal $1",tab_noteworthy:"Noteworthy",tab_npcs:"NPCs",tab_npcabilities:"NPC abilities",tab_objectiveof:"Objective of",tab_objects:"Objects",tab_outfits:"Outfits",tab_pets:"Hunter Pets",tab_perks:"Perks",tab_honortalents:"Honor Talents",tab_pickpocketedfrom:"Pickpocketed from",tab_pickpocketing:"Pickpocketing",tab_proficiencies:"Proficiencies",tab_professions:"Professions",tab_profiles:"Profiles",tab_projects:"Projects",tab_prospectedfrom:"Prospected from",tab_prospecting:"Prospecting",tab_providedfor:"Provided for",tab_questrewards:"Quest rewards",tab_quests:"Quests",tab_raids:"Raids",tab_reagentfor:"Reagent for",tab_reputation:"Reputation",tab_races:"Races",tab_racialtraits:"Racial traits",tab_raidfinder:"Raid Finder",tab_recipes:"Recipes",tab_recipeitems:"Recipe items",tab_replies:"Replies",tab_resources:"Resources",tab_commentreplies:"Comment Replies",tab_requiredby:"Required by",tab_rewardfrom:"Reward from",tab_samemechanic:"Same mechanic",tab_samemodelas:"Same model as",tab_salvagedfrom:"Salvaged from",tab_scenarios:"Scenarios",tab_artifactacquisition:"Artifact Acquisition",tab_screenshots:"Screenshots",tab_videos:"Videos",tab_seealso:"See also",tab_sells:"Sells",tab_sellscurrencies:"Sells currencies",tab_sharedcooldown:"Shared cooldown",tab_ships:"Ships",tab_skills:"Skills",tab_skinnedfrom:"Skinned from",tab_skinning:"Skinning",tab_soldby:"Sold by",tab_specialization:"Specialization",tab_spells:"Spells",tab_starts:"Starts",tab_startsquest:"Starts quest",tab_submitascreenshot:"Submit a screenshot",tab_submityourdata:"Submit your data",tab_suggestavideo:"Suggest a video",tab_summonedby:"Summoned by",tab_talents:"Talents",tab_tameable:"Tameable",tab_taughtby:"Taught by",tab_teaches:"Teaches",tab_threats:"Threats",tab_orderadvancements:"Order Advancements","tab_order-advancements":"Order Advancements",tab_titles:"Titles",tab_toolfor:"Tool for",tab_topics:"Topics",tab_trainers:"Trainers",tab_transmogwith:"Transmogrified with",tab_triggeredby:"Triggered by",tab_uncategorizedspells:"Uncategorized spells",tab_unlocks:"Unlocks",tab_upgrades:"Upgrades",tab_usedby:"Used by",tab_world:"World",tab_zones:"Zones",tut_done:"Okay, I got it",tut_next:"Next ",numberofupvotesreceived_tip:"Number of upvotes received",deletethisreply_stc:"Delete this reply",editthisreply_stc:"Edit this reply",save:"Save",reportthisreply_stc:"Report this reply to the moderators",deletereplyconfirmation_tip:"Are you sure you want to permanently delete this reply?",upvote_tip:"This comment is helpful (click again to undo)",upvoted_tip:"You have upvoted this comment; click again to undo",downvote_tip:"This comment is not helpful (click again to undo)",downvoted_tip:"You have downvoted this comment; click again to undo",commentdeleted_tip:"This comment has been deleted; it is now visible only to you and to moderators.",addreply:"Add reply",replylength1_format:"Enter at least $1 characters",replylength2_format:"$1 to go…",replylength3_format:"$1 characters remaining",replylength4_format:"1 character remaining",votelogin_tip:'You must have a registered account to vote on comments. Please <a href="/account=signin">log in</a> or <a href="/account=signup">register</a>.',voteself_tip:"You can't vote on your own comment.",votedeleted_tip:"Deleted comments cannot be voted on.",upvotenorep_tip:'You need at least <b>$1</b> <a href="/reputation">reputation</a> to upvote comments.',downvotenorep_tip:'You need at least <b>$1</b> <a href="/reputation">reputation</a> to downvote comments.',outfitLANG:{upvote_tip:"This outfit is interesting (click again to undo)",upvoted_tip:"You have upvoted this outfit; click again to undo",downvote_tip:"This outfit is not interesting (click again to undo)",downvoted_tip:"You have downvoted this outfit; click again to undo",votelogin_tip:'You must have a registered account to vote on outfits. Please <a href="/account=signin">log in</a> or <a href="/account=signup">register</a>.',voteself_tip:"You can't vote on your own outfit.",votedeleted_tip:"Deleted outfits cannot be voted on.",upvotenorep_tip:'You need at least <b>$1</b> <a href="/reputation">reputation</a> to upvote outfits.',downvotenorep_tip:'You need at least <b>$1</b> <a href="/reputation">reputation</a> to downvote outfits.'},stickycomment_tip:"This comment has been made sticky by a moderator.",addreply_stc:"Add reply",show1morereply_stc:"Show 1 more reply",showmorereplies_format:"Show $1 more replies",addshow1morereply_stc:"Add / Show 1 more reply",addshowmorereplies_format:"Add / Show $1 more replies",voteneeds_format:" (needs $1 more vote(s))",voteoutof_format:" (out of $1 vote(s))",mapper_tipzoom:"Tip: Click map to zoom",mapper_tippin:"Tip: Click map to add/remove pins",mapper_clickicon:"Click an icon to show on the map.",mapper_hidepins:"Hide pins",mapper_showpins:"Show pins",mapper_floor:"Change floor...",mapper_phase:"Change phase...",mapper_relevantlocs:"Relevant Locations",mapper_entiretyinzone:"The entirety of this quest happens in $$",mapper_happensin:"Part of this quest happens in $$.",mapper_objectives:{ox:"This quest has objectives in $$.",sx:"This quest starts in $$.",ex:"This quest ends in $$.",sex:"This quest starts and ends in $$.",osx:"This quest has objectives and starts in $$.",oex:"This quest has objectives and ends in $$.",osx_ey:"This quest has objectives and starts in $$ and ends in $$.",oex_sy:"This quest has objectives and ends in $$ and starts in $$.",sx_ey:"This quest starts in $$ and ends in $$.",ox_sy:"This quest starts in $$ and has objectives in $$.",ox_ey:"This quest has objectives in $$ and ends in $$.",ox_sey:"This quest starts and ends in $$ and has objectives in $$.",ox_sy_ez:"This quest starts in $$, has objectives in $$ and ends in $$."},mapper_startsquest:"Starts the quest",mapper_endsquest:"Ends the quest",mapper_requiredquest:"Objective of the quest",mapper_sourcestart:"Source of the quest's start:",mapper_sourceend:"Source of the quest's end:",mapper_sourcereq:"Source of a quest objective: ",mapper_clicktoview:"Click to view this $1",showonmap:"Show on map...",som_nothing:"Nothing",som_questgivers:"Quest givers",som_viewnpc:"Click to view this NPC",som_viewobj:"Click to view this object",som_view:"Click to view...",som_startsquest:"Starts the following quest:",som_startsquestpl:"Starts the following quests:",som_legend:"Legend: ",som_legend_alliance:"Alliance",som_legend_horde:"Horde",som_legend_neutral:"Neutral",som:{all:"All",alliance:"Alliance",horde:"Horde",quest:"Quest Givers",daily:"Quest Givers (Daily)",alliancequests:"Quest Givers",hordequests:"Quest Givers",repair:"Repairers",rare:"Rare NPCs",auctioneer:"Auctioneers",banker:"Bankers",battlemaster:"Battlemasters",innkeeper:"Innkeepers",guildmaster:"Guild masters",stablemaster:"Stable Masters",flightmaster:"Flight Masters",trainer:"Trainers",vendor:"Vendors",book:"Books",herb:"Herbs",forge:"Forges",anvil:"Anvils",vein:"Mining Nodes",spirithealer:"Spirit Healers",boss:"Bosses",vignettes:"Vignettes",treasure:"Treasures",mailbox:"Mailboxes"},markup_b:"Bold",markup_i:"Italic",markup_u:"Underline",markup_s:"Strikethrough",markup_small:"Small text",markup_url:"Link",markup_quote:"Quote box",markup_code:"Code box",markup_ul:"Unordered list (bullets)",markup_ol:"Ordered list (numbers)",markup_li:"List item",markup_img:"Image",markup_del:"Deleted",markup_ins:"Inserted",markup_pre:"Preformatted",markup_sub:"Subscript",markup_sup:"Superscript",markup_spoiler:"Spoiler box",markup_spoiler_reveal:"Reveal Spoiler",markup_spoiler_hide:"Hide Spoiler",cantdeletelowratedcomment_tip:"Try downrating this comment instead. Comments with negative rating will automatically be deleted.",markup_said:"said: ",markup_spoil:"Spoiler:",markup_toc:"Table of Contents",markup_links:"Links",markup_prompt:"Please enter the ID of the $1.",markup_helpdoc:'You can also add database links and have the name and info entered automatically.<br />For more information, please see our <a href="/help=wowhead-markup">markup help document</a>.',markup_help1:"You type:",markup_help2:"You see:",ct_dialog_captcha:"Please enter the code above: ",ct_dialog_contactwowhead:"Contact Wowhead",ct_dialog_description:"Description",ct_dialog_desc_caption:"Please be as specific as possible.",ct_dialog_email:"Email address: ",ct_dialog_email_caption:"Only if you want to be contacted.",ct_dialog_optional:"Optional",ct_dialog_reason:"Reason: ",ct_dialog_relatedurl:"Related URL: ",ct_dialog_currenturl:"Current URL: ",ct_dialog_report:"Report",ct_dialog_reportcomment:"Report Comment by $1",ct_dialog_reportpost:"Report Post by $1",ct_dialog_reportscreen:"Report Screenshot from $1",ct_dialog_reportvideo:"Report Video from $1",ct_dialog_reporttopic:"Report Topic by $1",ct_dialog_thanks:"Your message has been received. Thanks for contacting us!",ct_dialog_thanks_user:"Your message has been received, $1. Thanks for contacting us!",ct_dialog_noemailwarning:"<b>Important:</b> If you don't enter an email address, we won't be able to follow up on your feedback. We never sell or give away your email address.",ct_dialog_error_captcha:"The CAPTCHA you entered is invalid. Please try again.",ct_dialog_error_desc:"Please provide a thorough description, but not too long.",ct_dialog_error_email:"Please enter a valid email address.",ct_dialog_error_emaillen:"Please enter an email address with less than 100 characters.",ct_dialog_error_reason:"Please choose a reason for contacting us.",ct_dialog_error_relatedurl:"Please provide a related URL with less than 250 characters.",ct_dialog_error_invalidurl:"Please enter a valid URL.",voteerror_tip:"An error has occurred during your vote.",cn_fieldrequired:"$1 is required.",cn_fieldinvalid:"$1 must be valid.",cn_entrylogin:'Please <a href="/account=signin">log in</a> to enter the contest, or <a href="/account=signup">register</a> if you don\'t already have an account.',cn_entryerror:"Error: $1. Please try again.",cn_entrywhen:"You entered the contest on <b>$1</b>.",cn_entrywhen2:"You have already entered the contest.",cn_entrysuccess:"You have just entered the contest. Best of luck!",cn_entryended:"This contest has ended.",cn_entryupcoming:"This contest has not yet begun. Stay tuned to enter!",cn_entryregion:"You are not eligible to enter this contest in your region.",cn_mustbe18:"You must be 18 years old or older to enter the contest.",cn_winnerslist:"Winners List",cn_updated:"Updated ",userachcount_tip:"Number of Website Achievements earned by this user.",ct_resp_error1:"The CAPTCHA you entered is invalid. Please try again.",ct_resp_error2:"Please provide a thorough description, but not too long.",ct_resp_error3:"Please choose a reason for contacting us.",ct_resp_error7:"You've already reported this.",compose_mode:"Mode: ",compose_edit:"Edit",compose_preview:"Preview",compose_livepreview:"Live Preview",compose_formattinghelp:"Formatting Help",compose_save:"Save",compose_cancel:"Cancel",compose_limit:"Up to $1 characters.",compose_limit2:"Up to $1 characters and/or $2 lines.",compose_remaining:"$1 characters remaining.",user_nodescription:"This user hasn't composed a public description yet.",user_nodescription2:"You haven't composed one yet.",user_composeone:"Compose one now!",user_editdescription:"Edit",myaccount_passmatch:"Passwords match",myaccount_passdontmatch:"Passwords do not match",myaccount_purged:"Purged",myaccount_purgefailed:"Purge failed :(",myaccount_purgesuccess:"Announcement data has been successfully purged!",myaccount_removeconfirm:"Are you sure you want to remove this $1 account from your Wowhead account?",types:{1:["NPC","NPC","NPCs","NPCs"],2:["Object","object","Objects","objects"],3:["Item","item","Items","items"],4:["Item Set","item set","Item Sets","item sets"],5:["Quest","quest","Quests","quests"],6:["Spell","spell","Spells","spells"],7:["Zone","zone","Zones","zones"],8:["Faction","faction","Factions","factions"],9:["Hunter Pet","hunter pet","Hunter Pets","hunter pets"],10:["Achievement","achievement","Achievements","achievements"],11:["Title","title","Titles","titles"],12:["World Event","world event","World Events","world events"],13:["Class","class","Classes","classes"],14:["Race","race","Races","races"],15:["Skill","skill","Skills","skills"],17:["Currency","currency","Currencies","currencies"],19:["Sound","sound","Sounds","sounds"],20:["Building","building","Buildings","buildings"],21:["Follower","follower","Followers","followers"],22:["Mission Ability","mission ability","Mission Abilities","mission abilities"],23:["Mission","mission","Missions","missions"],25:["Ship","ship","Ships","ships"],26:["Threat","threat","Threats","threats"],27:["Resource","resource","Resources","resources"],28:["Champion","champion","Champions","champions"],29:["Icon","icon","Icons","icons"],30:["Order Advancement","order advancement","Order Advancements","order advancements"],31:["Follower","follower","Followers","followers"],32:["Follower","follower","Followers","followers"],33:["Ship","ship","Ships","ships"],34:["Ship","ship","Ships","ships"],35:["Champion","champion","Champions","champions"],36:["Champion","champion","Champions","champions"],40:["Mythic+ Affix","Mythic+ affix","Mythic+ Affixes","Mythic+ affixes"],100:["Guide","guide","Guides","guides"],101:["Transmog Set","transmog set","Transmog Sets","transmog sets"],110:["Outfit","outfit","Outfits","outfits"],150:["Gallery","gallery","Galleries","galleries"],200:["Battle Pet Ability","battle pet ability","Battle Pet Abilities","battle pet abilities"]},timeunitssg:["year","month","week","day","hour","minute","second"],timeunitspl:["years","months","weeks","days","hours","minutes","seconds"],timeunitsab:["yr","month","wk","day","hr","min","sec"],presets:{pve:"PvE",pvp:"PvP",ilvlformat:"Item Level %s",afflic:"Affliction",arcane:"Arcane",arms:"Arms",assas:"Assassination",balance:"Balance",beast:"Beast Mastery",blood:"Blood",brew:"Brewmaster",brew1H:"Brewmaster 1H",brew2H:"Brewmaster 2H",combat:"Outlaw",demo:"Demonology",destro:"Destruction",disc:"Discipline",elem:"Elemental",enhance:"Enhancement",feral:"Feral",guardian:"Guardian",fire:"Fire",frost:"Frost",frost1H:"Frost 1H",frost2H:"Frost 2H",fury:"Fury",fury1H:"Fury 1H",fury2H:"Fury 2H",generic:"Generic",havoc:"Havoc",holy:"Holy",marks:"Marksmanship",mist:"Mistweaver",outlaw:"Outlaw",prot:"Protection",resto:"Restoration",retrib:"Retribution",shadow:"Shadow",subtle:"Subtlety",surv:"Survival",unholy:"Unholy",vengeance:"Vengeance",wind:"Windwalker",wind1H:"Windwalker 1H",wind2H:"Windwalker 2H"},traits:{agi:["Agility","Agility","Agi"],arcres:["Arcane resistance","Arcane Resist","ArcR"],arcsplpwr:["Arcane spell power","Arcane Power","ArcP"],armor:["Armor","Armor","Armor"],armorbonus:["Bonus armor","Bonus Armor","BonusAr"],armorpenrtng:["Armor penetration rating","Armor Pen","Pen"],atkpwr:["Attack power","AP","AP"],block:["Block value","Block Value","BkVal"],blockrtng:["Block rating","Block","Block"],critstrkrtng:["Critical strike rating","Crit","Crit"],defrtng:["Defense rating","Defense","Def"],dmg:["Weapon damage","Damage","Dmg"],dmgmax1:["Maximum damage","Max Damage","Max"],dmgmin1:["Minimum damage","Min Damage","Min"],dodgertng:["Dodge rating","Dodge","Dodge"],dps:["Damage per second","DPS","DPS"],exprtng:["Expertise rating","Expertise","Exp"],firres:["Fire resistance","Fire Resist","FirR"],firsplpwr:["Fire spell power","Fire Power","FireP"],frores:["Frost resistance","Frost Resist","FroR"],frosplpwr:["Frost spell power","Frost Power","FroP"],hastertng:["Haste rating","Haste","Haste"],health:["Health","Health","Hlth"],healthrgn:["Health regeneration","HP5","HP5"],hitrtng:["Hit rating","Hit","Hit"],holres:["Holy resistance","Holy Resist","HolR"],holsplpwr:["Holy spell power","Holy Power","HolP"],"int":["Intellect","Intellect","Int"],level:["Level","Level","Lvl"],mana:["Mana","Mana","Mana"],manargn:["Mana regeneration","MP5","MP5"],mastrtng:["Mastery rating","Mastery","Mast"],amplify:["Amplify rating","Amplify","Amp"],multistrike:["Multistrike rating","Multistrike","Mult"],readiness:["Readiness rating","Readiness","Readi"],lifesteal:["Leech rating","Leech","Leech"],avoidance:["Avoidance rating","Avoidance","Avoid"],sturdiness:["Indestructible rating","Indestructible","Indest"],cleave:["Cleave rating","Cleave","Cleav"],versatility:["Versatility rating","Versatility","Versa"],mleatkpwr:["Melee attack power","Melee AP","AP"],mlecritstrkrtng:["Melee critical strike rating","Melee Crit","Crit"],mledmgmax:["Melee maximum damage","Melee Max Damage","Max"],mledmgmin:["Melee minimum damage","Melee Min Damage","Min"],mledps:["Melee DPS","Melee DPS","DPS"],mlehastertng:["Melee haste rating","Melee Haste","Haste"],mlehitrtng:["Melee hit rating","Melee Hit","Hit"],mlespeed:["Melee speed","Melee Speed","Speed"],natres:["Nature resistance","Nature Resist","NatR"],natsplpwr:["Nature spell power","Nature Power","NatP"],nsockets:["Number of sockets","Sockets","Sockt"],parryrtng:["Parry rating","Parry","Parry"],reqarenartng:["Required personal and team arena rating","Req Rating","Rating"],reqlevel:["Required level","Req Level","Level"],resirtng:["PvP Resilience rating","PvP Resilience","Resil"],rgdatkpwr:["Ranged attack power","Ranged AP","RAP"],rgdcritstrkrtng:["Ranged critical strike rating","Ranged Crit","Crit"],rgddmgmax:["Ranged maximum damage","Ranged Max Damage","Max"],rgddmgmin:["Ranged minimum damage","Ranged Min Damage","Min"],rgddps:["Ranged DPS","Ranged DPS","DPS"],rgdhastertng:["Ranged haste rating","Ranged Haste","Haste"],rgdhitrtng:["Ranged hit rating","Ranged Hit","Hit"],rgdspeed:["Ranged speed","Ranged Speed","Speed"],sepgeneral:"General",sepbasestats:"Base stats",septertiary:"Tertiary stats",sepdefensivestats:"Defensive stats",sepindividualstats:"Individual stats",sepmisc:"Other",sepequipitems:"Equippable Items",sepprofsandeconomy:"Professions and Economy",sepoffensivestats:"Offensive stats",sepresistances:"Resistances",sepweaponstats:"Weapon stats",shares:["Shadow resistance","Shadow Resist","ShaR"],shasplpwr:["Shadow spell power","Shadow Power","ShaP"],speed:["Speed","Speed","Speed"],speedbonus:["Speed","Speed","Mov. Speed"],spi:["Spirit","Spirit","Spi"],splcritstrkrtng:["Spell critical strike rating","Spell Crit","Crit"],spldmg:["Damage done by spells","Spell Damage","Dmg"],splheal:["Healing done by spells","Healing","Heal"],splpwr:["Spell power","Spell Power","SP"],splhastertng:["Spell haste rating","Spell Haste","Haste"],splhitrtng:["Spell hit rating","Spell Hit","Hit"],splpen:["Spell penetration","Spell Pen","Pen"],sta:["Stamina","Stamina","Sta"],str:["Strength","Strength","Str"],pvppower:["PvP Power","PvPPower","PvPPower"]},fiadditionalfilters:"Additional Filters",fishow:"Create a filter",fihide:"Hide filter options",fiany:"Any",finone:"None",firemove:"remove",ficlear:"clear",ficustom:"Custom",fishowdetails:"Customize",fihidedetails:"",fisavescale:"Save",fideletescale:"Delete",message_fillsomecriteria:"Please fill in some criteria.",tooltip_jconlygems:"If checked, jewelcrafter-only gems<br />\nwill also be used to determine the best<br />\npossible gems for an item's weighted score.",tooltip_reforgeitems:"If checked, eligible items will display the highest<br />possible weighted score by reforging a low value stat<br />into a high value stat which is not already present.",tooltip_genericrating:'<span class="q2">Equip: Increases your $1 by <!--rtg$2-->$3 <small>(<!--rtg%$2-->0 @ L<!--lvl-->0)</small>.</span><br />',fidropdowns:{yn:[[1,"Yes"],[2,"No"]],num:[[1,">"],[2,">="],[3,"="],[4,"<="],[5,"<"]],side:[[1,"Yes"],[2,"Alliance"],[3,"Horde"],[4,"Both"],[5,"No"]],faction:LANGfiMakeOptGroups([[1740,["Aeda Brightdawn","1735"]],[1037,["Alliance Vanguard","0"]],[1515,["Arakkoa Outcasts","0"]],[1862,["Arcane Thirst (Oculeth)","1859"]],[1861,["Arcane Thirst (Silgryn) DEPRECATED","1859"]],[1860,["Arcane Thirst (Thalyssra)","1859"]],[1919,["Arcane Thirst (Valtrois)","1859"]],[1106,["Argent Crusade","0"]],[529,["Argent Dawn","0"]],[1012,["Ashtongue Deathsworn","0"]],[1204,["Avengers of Hyjal","0"]],[1177,["Baradin's Wardens","0"]],[1735,["Barracks Bodyguards","0"]],[1133,["Bilgewater Cartel","67"]],[2011,["Bizmo's Brawlpub","891"]],[1419,["Bizmo's Brawlpub (Season 1)","891"]],[1691,["Bizmo's Brawlpub (Season 2)","891"]],[87,["Bloodsail Buccaneers","0"]],[21,["Booty Bay","169"]],[2010,["Brawl'gar Arena","892"]],[1374,["Brawl'gar Arena (Season 1)","892"]],[1690,["Brawl'gar Arena (Season 2)","892"]],[910,["Brood of Nozdormu","0"]],[609,["Cenarion Circle","0"]],[942,["Cenarion Expedition","0"]],[1277,["Chee Chee","1272"]],[1975,["Conjurer Margoss","0"]],[1731,["Council of Exarchs","0"]],[1900,["Court of Farondis","0"]],[909,["Darkmoon Faire","0"]],[1440,["Darkspear Rebellion","0"]],[530,["Darkspear Trolls","67"]],[69,["Darnassus","469"]],[1738,["Defender Illona","1735"]],[1733,["Delvar Ironfist","1735"]],[1375,["Dominance Offensive","0"]],[1172,["Dragonmaw Clan","0"]],[1883,["Dreamweavers","0"]],[1275,["Ella","1272"]],[1492,["Emperor Shaohao","0"]],[577,["Everlook","169"]],[930,["Exodar","469"]],[1068,["Explorers' League","1037"]],[1283,["Farmer Fung","1272"]],[1282,["Fish Fellreed","1272"]],[1228,["Forest Hozen","0"]],[1104,["Frenzyheart Tribe","1117"]],[729,["Frostwolf Clan","892"]],[1445,["Frostwolf Orcs","0"]],[369,["Gadgetzan","169"]],[92,["Gelkis Clan Centaur","0"]],[1815,["Gilnean Survivors","0"]],[1134,["Gilneas","469"]],[1281,["Gina Mudclaw","1272"]],[54,["Gnomeregan","469"]],[1269,["Golden Lotus","0"]],[1158,["Guardians of Hyjal","0"]],[1168,["Guild","0"]],[1847,["Hand of the Prophet","0"]],[1279,["Haohan Mudclaw","1272"]],[1178,["Hellscream's Reach","0"]],[1828,["Highmountain Tribe","0"]],[946,["Honor Hold","0"]],[1052,["Horde Expedition","0"]],[1352,["Huojin Pandaren","67"]],[749,["Hydraxian Waterlords","0"]],[1947,["Illidari","0"]],[47,["Ironforge","469"]],[1888,["Jandvik Vrykul","0"]],[1273,["Jogu the Drunk","1272"]],[989,["Keepers of Time","0"]],[1090,["Kirin Tor","0"]],[1387,["Kirin Tor Offensive","0"]],[1098,["Knights of the Ebon Blade","0"]],[978,["Kurenai","0"]],[1708,["Laughing Skull Orcs","0"]],[1741,["Leorajh","1735"]],[1011,["Lower City","936"]],[93,["Magram Clan Centaur","0"]],[1989,["Moon Guard","0"]],[1899,["Moonguard","0"]],[1358,["Nat Pagle","1302"]],[1015,["Netherwing","0"]],[1357,["Nomi","0"]],[1038,["Ogri'la","0"]],[1276,["Old Hillpaw","1272"]],[1376,["Operation: Shieldwall","0"]],[1849,["Order of the Awakened","0"]],[1271,["Order of the Cloud Serpent","0"]],[76,["Orgrimmar","67"]],[1242,["Pearlfin Jinyu","0"]],[1173,["Ramkahen","0"]],[470,["Ratchet","169"]],[349,["Ravenholdt","0"]],[1710,["Sha'tari Defense","0"]],[1031,["Sha'tari Skyguard","936"]],[1270,["Shado-Pan","0"]],[1435,["Shado-Pan Assault","0"]],[1520,["Shadowmoon Exiles","0"]],[1216,["Shang Xi's Academy","0"]],[1077,["Shattered Sun Offensive","936"]],[809,["Shen'dralar","0"]],[1278,["Sho","1272"]],[911,["Silvermoon City","67"]],[890,["Silverwing Sentinels","891"]],[970,["Sporeggar","0"]],[1732,["Steamwheedle Draenor Expedition","0"]],[1711,["Steamwheedle Preservation Society","0"]],[730,["Stormpike Guard","891"]],[72,["Stormwind","469"]],[1388,["Sunreaver Onslaught","0"]],[70,["Syndicate","0"]],[2018,["Talon's Vengeance","0"]],[1737,["Talonpriest Ishaal","1735"]],[932,["The Aldor","936"]],[1302,["The Anglers","0"]],[1156,["The Ashen Verdict","0"]],[1341,["The August Celestials","0"]],[1359,["The Black Prince","0"]],[1351,["The Brewmasters","0"]],[933,["The Consortium","0"]],[510,["The Defilers","892"]],[1135,["The Earthen Ring","0"]],[1984,["The First Responders","0"]],[1126,["The Frostborn","1037"]],[1067,["The Hand of Vengeance","1052"]],[1073,["The Kalu'ak","0"]],[1337,["The Klaxxi","0"]],[509,["The League of Arathor","891"]],[1345,["The Lorewalkers","0"]],[941,["The Mag'har","0"]],[1859,["The Nightfallen","0"]],[1105,["The Oracles","1117"]],[1850,["The Saberstalkers","0"]],[990,["The Scale of the Sands","0"]],[934,["The Scryers","936"]],[935,["The Sha'tar","936"]],[1094,["The Silver Covenant","1037"]],[1119,["The Sons of Hodir","0"]],[1124,["The Sunreavers","1052"]],[1064,["The Taunka","1052"]],[1272,["The Tillers","0"]],[967,["The Violet Eye","0"]],[1894,["The Wardens","0"]],[1091,["The Wyrmrest Accord","0"]],[1171,["Therazane","0"]],[59,["Thorium Brotherhood","0"]],[947,["Thrallmar","0"]],[81,["Thunder Bluff","67"]],[576,["Timbermaw Hold","0"]],[1280,["Tina Mudclaw","1272"]],[1736,["Tormmok","1735"]],[922,["Tranquillien","0"]],[1353,["Tushui Pandaren","469"]],[68,["Undercity","67"]],[1948,["Valarjar","0"]],[1050,["Valiance Expedition","1037"]],[1739,["Vivianne","1735"]],[1848,["Vol'jin's Headhunters","0"]],[1681,["Vol'jin's Spear","0"]],[1085,["Warsong Offensive","1052"]],[889,["Warsong Outriders","892"]],[1174,["Wildhammer Clan","0"]],[589,["Wintersaber Trainers","0"]],[1682,["Wrynn's Vanguard","0"]],[270,["Zandalar Tribe","0"]]],g_faction_categories),zone:LANGfiMakeOptGroups([[5,["- QA and DVD GLOBAL -","-1"]],[6101,["A Brewing Storm","12"]],[6616,["A Little Patience","12"]],[5145,["Abyssal Depths","0"]],[8106,["Abyssal Maw","7"]],[7679,["Acherus: The Ebon Hold","14"]],[5695,["Ahn'Qiraj: The Fallen Kingdom","1"]],[4494,["Ahn'kahet: The Old Kingdom","2"]],[36,["Alterac Mountains","0"]],[2597,["Alterac Valley","6"]],[3510,["Amani Catacombs","8"]],[6456,["Ammen Vale","1"]],[7885,["Antonidas Memorial","0"]],[3358,["Arathi Basin","6"]],[45,["Arathi Highlands","0"]],[6219,["Arena of Annihilation","12"]],[8008,["Ashamane's Fall","9"]],[331,["Ashenvale","1"]],[6941,["Ashran","13"]],[8485,["Ashran","7"]],[7548,["Ashran Mine","7"]],[6328,["Assault on Zan'vess","12"]],[3790,["Auchenai Crypts","2"]],[6912,["Auchindoun","2"]],[4277,["Azjol-Nerub","2"]],[16,["Azshara","1"]],[7838,["Azshara","-1"]],[7334,["Azsuna","14"]],[8000,["Azsuna","14"]],[3524,["Azuremyst Isle","1"]],[8275,["Azuremyst Isle","7"]],[3,["Badlands","0"]],[262,["Ban'ethil Barrow Den","1"]],[5600,["Baradin Hold","3"]],[6567,["Battle on the High Seas","12"]],[4821,["Bilgewater Harbor","1"]],[7805,["Black Rook Hold","2"]],[8406,["Black Rook Hold","7"]],[7816,["Black Rook Hold Arena","9"]],[3959,["Black Temple","3"]],[8239,["Black Temple","7"]],[719,["Blackfathom Deeps","2"]],[4926,["Blackrock Caverns","2"]],[1584,["Blackrock Depths","2"]],[6967,["Blackrock Foundry","3"]],[25,["Blackrock Mountain","0"]],[1583,["Blackrock Spire","2"]],[5094,["Blackwing Descent","3"]],[2677,["Blackwing Lair","3"]],[3702,["Blade's Edge Arena","9"]],[8482,["Blade's Edge Arena","9"]],[3522,["Blade's Edge Mountains","8"]],[6864,["Bladespire Citadel","13"]],[7209,["Bladespire Span","13"]],[6875,["Bladespire Throne","13"]],[4,["Blasted Lands","0"]],[6678,["Blood in the Snow","12"]],[6874,["Bloodmaul Slag Mines","2"]],[3525,["Bloodmyst Isle","1"]],[6976,["Bloodthorn Cave","13"]],[7967,["Boost Experience [TEMP NAME]","7"]],[3537,["Borean Tundra","10"]],[6298,["Brawl'gar Arena","-1"]],[6426,["Brewmoon Festival","12"]],[7534,["Broken Shore","7"]],[7543,["Broken Shore","14"]],[7796,["Broken Shore","7"]],[365,["Burning Blade Coven","1"]],[46,["Burning Steppes","0"]],[6939,["Butcher's Rise","13"]],[6452,["Camp Narache","1"]],[6466,["Cavern of Endless Echoes","12"]],[6780,["Cavern of Lost Spirits","12"]],[2300,["Caverns of Time","1"]],[6771,["Celestial Tournament","12"]],[8012,["Chamber of Shadows","14"]],[7887,["Circle of Wills","0"]],[800,["Coldridge Pass","0"]],[6176,["Coldridge Valley","0"]],[8079,["Court of Stars","2"]],[6885,["Cragplume Cauldron","13"]],[6208,["Crypt of Forgotten Kings","12"]],[2817,["Crystalsong Forest","10"]],[6565,["Dagger in the Dark","12"]],[4395,["Dalaran","10"]],[7502,["Dalaran","14"]],[8535,["Dalaran (Deadwind Pass)","0"]],[8474,["Dalaran (Northrend)","10"]],[4378,["Dalaran Arena","9"]],[7886,["Dalaran City","0"]],[7892,["Dalaran Floating Rocks","0"]],[7894,["Dalaran Island","0"]],[8392,["Dalaran Sewers","14"]],[6733,["Dark Heart of Pandaria","12"]],[7673,["Darkheart Thicket","2"]],[5861,["Darkmoon Island","11"]],[148,["Darkshore","1"]],[1657,["Darnassus","1"]],[41,["Deadwind Pass","0"]],[8460,["Death Knight Campaign Flight Bounds","7"]],[6454,["Deathknell","0"]],[5042,["Deepholm","11"]],[7955,["Deepholm","7"]],[2257,["Deeprun Tram","0"]],[6665,["Deepwind Gorge","6"]],[7083,["Defense of Karabor","13"]],[7460,["Den of Secrets","13"]],[405,["Desolace","1"]],[8058,["Dev Area - A","-1"]],[8059,["Dev Area - B","-1"]],[8060,["Dev Area - C","-1"]],[8061,["Dev Area - D","-1"]],[8062,["Dev Area - E","-1"]],[8063,["Dev Area - F","-1"]],[8064,["Dev Area - G","-1"]],[2557,["Dire Maul","2"]],[6615,["Domination Point","12"]],[5892,["Dragon Soul","3"]],[65,["Dragonblight","10"]],[4196,["Drak'Tharon Keep","2"]],[6138,["Dread Wastes","12"]],[7875,["Dreadscar Rift","14"]],[7918,["Dreadscar Rift","7"]],[1,["Dun Morogh","0"]],[8473,["Dungeon Blockout","2"]],[14,["Durotar","1"]],[10,["Duskwood","0"]],[15,["Dustwallow Marsh","1"]],[371,["Dustwind Cave","1"]],[139,["Eastern Plaguelands","0"]],[6453,["Echo Isles","1"]],[34,["Echo Ridge Mine","0"]],[7519,["Edge of Reality","7"]],[12,["Elwynn Forest","0"]],[4732,["Emberstone Mine","-1"]],[7979,["Emerald Dreamway","-1"]],[5789,["End Time","2"]],[8457,["Escape from the Vault","-1"]],[3430,["Eversong Woods","0"]],[8040,["Eye of Azshara","2"]],[3820,["Eye of the Storm","6"]],[6677,["Fall of Shan Bu","12"]],[6756,["Faralohn","13"]],[57,["Fargodeep Mine","0"]],[258,["Fel Rock","1"]],[361,["Felwood","1"]],[357,["Feralas","1"]],[7634,["Feralas (copy)","1"]],[5723,["Firelands","3"]],[8125,["Firelands","-1"]],[7160,["Fissure of Fury","13"]],[6720,["Frostfire Ridge","13"]],[135,["Frostmane Hold","0"]],[6137,["Frostmane Hovel","0"]],[7004,["Frostwall","13"]],[7327,["Frostwall Mine","13"]],[7328,["Frostwall Mine","13"]],[7329,["Frostwall Mine","13"]],[876,["GM Island","1"]],[4924,["Gallywix Labor Mine","11"]],[5976,["Gate of the Setting Sun","2"]],[3433,["Ghostlands","0"]],[4714,["Gilneas","0"]],[4755,["Gilneas City","0"]],[8017,["Gloaming Reef","7"]],[721,["Gnomeregan","2"]],[5495,["Gnomeregan","0"]],[134,["Gol'Bolar Quarry","0"]],[113,["Gold Coast Quarry","0"]],[6721,["Gorgrond","13"]],[8439,["Great Dark Beyond","7"]],[5955,["Greenstone Quarry","12"]],[6209,["Greenstone Village","12"]],[4817,["Greymane Manor","-1"]],[4950,["Grim Batol","2"]],[6984,["Grimrail Depot","2"]],[394,["Grizzly Hills","10"]],[6745,["Grulloc's Grotto","13"]],[6861,["Grulloc's Lair","13"]],[3923,["Gruul's Lair","3"]],[4416,["Gundrak","2"]],[6074,["Guo-Lai Halls","12"]],[6868,["Hall of the Great Hunt","13"]],[7879,["Hall of the Guardian","14"]],[4272,["Halls of Lightning","2"]],[4945,["Halls of Origination","2"]],[4820,["Halls of Reflection","2"]],[4264,["Halls of Stone","2"]],[7672,["Halls of Valor","2"]],[6297,["Heart of Fear","3"]],[7588,["Helheim","-1"]],[7545,["Hellfire Citadel","3"]],[3483,["Hellfire Peninsula","8"]],[3562,["Hellfire Ramparts","2"]],[7830,["Helmouth Shallows","14"]],[6996,["Highmaul","3"]],[7503,["Highmountain","14"]],[267,["Hillsbrad Foothills","0"]],[5844,["Hour of Twilight","2"]],[495,["Howling Fjord","10"]],[6389,["Howlingwind Cavern","12"]],[4742,["Hrothgar's Landing","10"]],[3606,["Hyjal Summit","3"]],[210,["Icecrown","10"]],[4812,["Icecrown Citadel","3"]],[7695,["Icecrown Citadel","7"]],[6951,["Iron Docks","2"]],[1537,["Ironforge","0"]],[4710,["Isle of Conquest","6"]],[6661,["Isle of Giants","12"]],[4080,["Isle of Quel'Danas","0"]],[6507,["Isle of Thunder","12"]],[111,["Jangolode Mine","0"]],[54,["Jasperlode Mine","0"]],[4766,["Kaja'mine","11"]],[4778,["Kaja'mite Cavern","11"]],[3457,["Karazhan","3"]],[7969,["Karazhan","7"]],[8265,["Karazhan","7"]],[4815,["Kelp'thar Forest","0"]],[4737,["Kezan","11"]],[6088,["Knucklethump Hole","12"]],[6134,["Krasarang Wilds","12"]],[5841,["Kun-Lai Summit","12"]],[7952,["Kun-Lai Summit","12"]],[7674,["Legion Dungeon","2"]],[6589,["Lightning Vein Mine","-1"]],[6681,["Lightning Vein Mine","7"]],[6575,["Lion's Landing","12"]],[38,["Loch Modan","0"]],[5396,["Lost City of the Tol'vir","2"]],[7078,["Lunarfall","13"]],[7324,["Lunarfall Excavation","13"]],[7325,["Lunarfall Excavation","13"]],[7326,["Lunarfall Excavation","13"]],[4131,["Magisters' Terrace","2"]],[3836,["Magtheridon's Lair","3"]],[7899,["Magus Commerce Exchange","0"]],[8180,["Malorne's Nightmare","-1"]],[3792,["Mana-Tombs","2"]],[2100,["Maraudon","2"]],[6514,["Maraudon","1"]],[7705,["Mardum, the Shattered Abyss","-1"]],[7945,["Mardum, the Shattered Abyss","-1"]],[8022,["Mardum, the Shattered Abyss","-1"]],[7812,["Maw of Souls","2"]],[6182,["Mogu'shan Palace","2"]],[6125,["Mogu'shan Vaults","3"]],[7185,["Moira's Reach","13"]],[2717,["Molten Core","3"]],[5733,["Molten Front","1"]],[493,["Moonglade","1"]],[616,["Mount Hyjal","1"]],[215,["Mulgore","1"]],[3518,["Nagrand","8"]],[6755,["Nagrand","13"]],[3698,["Nagrand Arena","9"]],[7822,["Nagrand Arena","9"]],[3456,["Naxxramas","3"]],[7546,["Neltharion's Lair","2"]],[7834,["Netherlight Temple","14"]],[3523,["Netherstorm","8"]],[6457,["New Tinkertown","0"]],[155,["Night Web's Hollow","0"]],[7737,["Niskara","7"]],[8105,["Niskara","-1"]],[6311,["Niuzao Catacombs","12"]],[8091,["Nordrassil","1"]],[17,["Northern Barrens","1"]],[33,["Northern Stranglethorn","0"]],[6170,["Northshire","0"]],[2367,["Old Hillsbrad Foothills","2"]],[2159,["Onyxia's Lair","3"]],[6513,["Oona Kagu","12"]],[1637,["Orgrimmar","1"]],[818,["Palemane Rock","1"]],[6419,["Peak of Serenity","12"]],[4813,["Pit of Saron","2"]],[4298,["Plaguelands: The Scarlet Enclave","0"]],[6099,["Pranksters' Hollow","12"]],[6852,["Proving Grounds","12"]],[6613,["Pursuing the Black Harvest","12"]],[2437,["Ragefire Chasm","2"]],[722,["Razorfen Downs","2"]],[491,["Razorfen Kraul","2"]],[8205,["Realm of the Mage Hunter","7"]],[44,["Redridge Mountains","0"]],[8250,["Rescue Koltira","7"]],[8443,["Return to Karazhan","2"]],[3429,["Ruins of Ahn'Qiraj","3"]],[4706,["Ruins of Gilneas","0"]],[6619,["Ruins of Korune","12"]],[3968,["Ruins of Lordaeron","9"]],[6609,["Ruins of Ogudei","12"]],[7896,["Runeweaver Square","0"]],[7638,["Sanctum of Light","14"]],[8347,["Sanctum of Light","7"]],[7204,["Sanctum of the Naaru","13"]],[6052,["Scarlet Halls","2"]],[6109,["Scarlet Monastery","2"]],[8285,["Scarlet Monastery","-1"]],[5511,["Scarlet Monastery Entrance","0"]],[6066,["Scholomance","2"]],[51,["Searing Gorge","0"]],[3607,["Serpentshrine Cavern","3"]],[3791,["Sethekk Halls","2"]],[7890,["Sewer Exit Pipe","0"]],[7891,["Sewer Exit Pipe","0"]],[5918,["Shado-Pan Monastery","2"]],[3789,["Shadow Labyrinth","2"]],[209,["Shadowfang Keep","2"]],[6450,["Shadowglen","1"]],[8142,["Shadowgore Citadel","7"]],[6932,["Shadowmoon Burial Grounds","2"]],[3520,["Shadowmoon Valley","8"]],[6719,["Shadowmoon Valley","13"]],[257,["Shadowthread Cave","1"]],[3703,["Shattrath City","8"]],[6980,["Shattrath City","13"]],[7744,["Shield's Rest","14"]],[5144,["Shimmering Expanse","0"]],[3711,["Sholazar Basin","10"]],[6142,["Shrine of Seven Stars","12"]],[6553,["Shrine of Seven Stars","12"]],[6141,["Shrine of Two Moons","12"]],[6214,["Siege of Niuzao Temple","2"]],[6738,["Siege of Orgrimmar","3"]],[1377,["Silithus","1"]],[3487,["Silvermoon City","0"]],[130,["Silverpine Forest","0"]],[6126,["Silvershard Mines","6"]],[817,["Skull Rock","1"]],[7813,["Skyhold","14"]],[6988,["Skyreach","2"]],[7960,["Skywall","7"]],[7691,["Small Battleground D","6"]],[7005,["Snowfall Alcove","13"]],[6849,["Sootstained Mines","13"]],[4709,["Southern Barrens","1"]],[7827,["Southshore vs. Tarren Mill","6"]],[6722,["Spires of Arak","13"]],[4913,["Spitescale Cavern","1"]],[3572,["Stillpine Hold","8"]],[406,["Stonetalon Mountains","1"]],[7541,["Stormheim","14"]],[7921,["Stormheim","14"]],[6666,["Stormsea Landing","12"]],[7332,["Stormshield","13"]],[5963,["Stormstout Brewery","2"]],[1519,["Stormwind City","0"]],[4384,["Strand of the Ancients","6"]],[5339,["Stranglethorn Vale","0"]],[2017,["Stratholme","2"]],[1477,["Sunken Temple","2"]],[7893,["Sunreaver's Sanctuary","0"]],[6455,["Sunstrider Isle","0"]],[4075,["Sunwell Plateau","3"]],[7637,["Suramar","14"]],[7767,["Suramar","14"]],[8,["Swamp of Sorrows","0"]],[8124,["Sword of Dawn","2"]],[6662,["Talador","13"]],[7771,["Tanaan Invasion","-1"]],[6723,["Tanaan Jungle","13"]],[7025,["Tanaan Jungle","-1"]],[7856,["Tanaan Jungle Flight Bounds","-1"]],[440,["Tanaris","1"]],[7107,["Tarren Mill vs Southshore","6"]],[141,["Teldrassil","1"]],[8422,["Tempest's Roar","2"]],[3428,["Temple of Ahn'Qiraj","3"]],[7903,["Temple of Five Dawns","14"]],[6051,["Temple of Kotmogu","6"]],[5956,["Temple of the Jade Serpent","2"]],[8262,["Temple of the Jade Serpent","7"]],[8451,["Temple of the White Tiger Flight Bounds","7"]],[3519,["Terokkar Forest","8"]],[6067,["Terrace of Endless Spring","3"]],[8005,["Terrace of Endless Spring","3"]],[8098,["Test Dungeon","-1"]],[8054,["Thal'dranath","14"]],[6376,["The Ancient Passage","12"]],[3848,["The Arcatraz","2"]],[7855,["The Arcway","2"]],[8423,["The Arcway","7"]],[5334,["The Bastion of Twilight","3"]],[5449,["The Battle for Gilneas","6"]],[6960,["The Battle of Thunder Pass","7"]],[8094,["The Beyond","7"]],[2366,["The Black Morass","2"]],[3713,["The Blood Furnace","2"]],[3847,["The Botanica","2"]],[7622,["The Breached Ossuary","13"]],[7510,["The Burning Nether","7"]],[5287,["The Cape of Stranglethorn","0"]],[7462,["The Coliseum","7"]],[7658,["The Cove of Nashal","7"]],[8344,["The Crystal Hall","7"]],[4100,["The Culling of Stratholme","2"]],[1581,["The Deadmines","2"]],[6510,["The Deadmines","0"]],[6084,["The Deeper","12"]],[7846,["The Dreamgrove","14"]],[8026,["The Emerald Nightmare","3"]],[7898,["The Eventide","0"]],[7109,["The Everbloom","2"]],[3557,["The Exodar","1"]],[8277,["The Exodar","7"]],[3845,["The Eye","3"]],[7578,["The Eye of Azshara","14"]],[4500,["The Eye of Eternity","3"]],[8023,["The Fel Hammer","14"]],[4809,["The Forge of Souls","2"]],[981,["The Gaping Chasm","1"]],[7656,["The Great Sea","14"]],[8445,["The Great Sea","14"]],[8053,["The Greater Sea (Don't Use)","14"]],[136,["The Grizzled Den","0"]],[47,["The Hinterlands","0"]],[5785,["The Jade Forest","12"]],[4720,["The Lost Isles","11"]],[5416,["The Maelstrom","11"]],[7745,["The Maelstrom","14"]],[8046,["The Maelstrom","7"]],[8469,["The Maelstrom","7"]],[7124,["The Masters' Cavern","13"]],[3849,["The Mechanar","2"]],[7811,["The Naglfar","2"]],[4265,["The Nexus","2"]],[8025,["The Nighthold","3"]],[982,["The Noxious Lair","1"]],[4493,["The Obsidian Sanctum","3"]],[4228,["The Oculus","2"]],[8252,["The Oculus","7"]],[6851,["The Purge of Grommar","7"]],[4406,["The Ring of Valor","9"]],[4987,["The Ruby Sanctum","3"]],[6863,["The Secret Ingredient","12"]],[6731,["The Secrets of Ragefire","12"]],[3714,["The Shattered Halls","2"]],[7884,["The Silver Enclave","0"]],[6611,["The Situation in Dalaran","12"]],[7690,["The Skyfire","-1"]],[3717,["The Slave Pens","2"]],[540,["The Slithering Scar","1"]],[3715,["The Steamvault","2"]],[717,["The Stockade","2"]],[5088,["The Stonecore","2"]],[67,["The Storm Peaks","10"]],[6592,["The Swollen Vault","-1"]],[6675,["The Thunder Forge","12"]],[6732,["The Tiger's Peak","9"]],[7381,["The Trial of Faith","7"]],[7897,["The Underbelly","0"]],[3716,["The Underbog","2"]],[7203,["The Underpale","13"]],[457,["The Veiled Sea","1"]],[8276,["The Veiled Sea","7"]],[6006,["The Veiled Stair","12"]],[360,["The Venture Co. Mine","1"]],[7888,["The Violet Citadel","0"]],[7889,["The Violet Citadel Spire","0"]],[4415,["The Violet Hold","2"]],[7777,["The Violet Hold","7"]],[7895,["The Violet Hold","0"]],[5035,["The Vortex Pinnacle","2"]],[8093,["The Vortex Pinnacle","1"]],[5736,["The Wandering Isle","11"]],[7902,["The Wandering Isle","-1"]],[6512,["The Widow's Wail","12"]],[6500,["Theramore's Fall (A)","12"]],[6040,["Theramore's Fall (H)","12"]],[400,["Thousand Needles","1"]],[6622,["Throne of Thunder","3"]],[5638,["Throne of the Four Winds","3"]],[5004,["Throne of the Tides","2"]],[1638,["Thunder Bluff","1"]],[7731,["Thunder Totem","14"]],[3569,["Tides' Hollow","8"]],[6757,["Timeless Isle","12"]],[85,["Tirisfal Glades","0"]],[7976,["Tirisfal Glades","0"]],[8044,["Tirisfal Glades","7"]],[6673,["To the Skies","12"]],[5095,["Tol Barad","11"]],[8309,["Tol Barad","7"]],[5389,["Tol Barad Peninsula","11"]],[6296,["Tol'viron Arena","9"]],[6201,["Tomb of Conquerors","12"]],[7089,["Tomb of Lights","13"]],[6979,["Tomb of Souls","13"]],[5842,["Townlong Steppes","12"]],[8440,["Trial of Valor","3"]],[4723,["Trial of the Champion","2"]],[4722,["Trial of the Crusader","3"]],[6716,["Troves of the Thunder King","12"]],[7877,["Trueshot Lodge","14"]],[6848,["Turgall's Den","13"]],[4922,["Twilight Highlands","0"]],[3446,["Twilight's Run","1"]],[5031,["Twin Peaks","6"]],[7576,["Twisting Nether","-1"]],[1337,["Uldaman","2"]],[1517,["Uldaman","0"]],[4273,["Ulduar","3"]],[8161,["Ulduar","7"]],[5034,["Uldum","1"]],[7042,["Umbral Halls","-1"]],[490,["Un'Goro Crater","1"]],[1497,["Undercity","0"]],[6309,["Unga Ingoo","12"]],[7307,["Upper Blackrock Spire","2"]],[7974,["Ursoc's Lair","7"]],[206,["Utgarde Keep","2"]],[1196,["Utgarde Pinnacle","2"]],[7558,["Val'sharah","14"]],[5840,["Vale of Eternal Blossoms","12"]],[6451,["Valley of Trials","1"]],[5805,["Valley of the Four Winds","12"]],[7900,["Vargoth's Retreat","0"]],[5146,["Vashj'ir","0"]],[4603,["Vault of Archavon","3"]],[7267,["Vault of the Titan","13"]],[7787,["Vault of the Wardens","2"]],[7814,["Vault of the Wardens","-1"]],[7901,["Violet Citadel Balcony","0"]],[7996,["Violet Hold","2"]],[4911,["Volcanoth's Lair","11"]],[718,["Wailing Caverns","2"]],[6511,["Wailing Caverns","1"]],[3277,["Warsong Gulch","6"]],[7333,["Warspear","13"]],[5788,["Well of Eternity","2"]],[28,["Western Plaguelands","0"]],[40,["Westfall","0"]],[11,["Wetlands","0"]],[4197,["Wintergrasp","10"]],[618,["Winterspring","1"]],[3521,["Zangarmarsh","8"]],[3805,["Zul'Aman","2"]],[66,["Zul'Drak","10"]],[1176,["Zul'Farrak","2"]],[1977,["Zul'Gurub","2"]],[8013,["[PH]Mardum Treasures","-1"]],[8057,["[TEMP] Dummy Area - Dev Test (JT)","-1"]],[8330,["[TEMP] Placeholder Area - Level Design Land - Wind Test","-1"]],[8006,["[TEMP] Tech Test - Seamless World Transition A (JT)","-1"]],[8007,["[TEMP] Tech Test - Seamless World Transition B (JT)","-1"]],[7343,["[UNUSED]","14"]]],g_zone_categories),resistance:[[6,"Arcane"],[2,"Fire"],[3,"Nature"],[4,"Frost"],[5,"Shadow"],[1,"Holy"],[0,"Physical"]],gem:[[7,"Yes"],[1,"Meta"],[2,"Red"],[3,"Yellow"],[4,"Blue"],[5,"Sha-Touched"],[6,"Cogwheel"],[9,"Prismatic"],[8,"No"]],relic:[[12,"Arcane"],[9,"Blood"],[11,"Fel"],[14,"Fire"],[13,"Frost"],[18,"Holy"],[8,"Iron"],[16,"Life"],[10,"Shadow"],[15,"Water"],[17,"Storm"]],relicmask:[[1024,"Arcane"],[128,"Blood"],[512,"Fel"],[4096,"Fire"],[2048,"Frost"],[65536,"Holy"],[64,"Iron"],[16384,"Life"],[256,"Shadow"],[8192,"Water"],[32768,"Storm"]],profession:[[11,"Yes"],[1,"Alchemy"],[16,"Archaeology"],[2,"Blacksmithing"],[3,"Cooking"],[4,"Enchanting"],[5,"Engineering"],[6,"First Aid"],[13,"Fishing"],[14,"Herbalism"],[15,"Inscription"],[7,"Jewelcrafting"],[8,"Leatherworking"],[9,"Mining"],[10,"Tailoring"],[12,"No"]],professionskill:[[171,"Alchemy"],[794,"Archaeology"],[164,"Blacksmithing"],[185,"Cooking"],[333,"Enchanting"],[202,"Engineering"],[129,"First Aid"],[356,"Fishing"],[182,"Herbalism"],[773,"Inscription"],[755,"Jewelcrafting"],[165,"Leatherworking"],[186,"Mining"],[197,"Tailoring"]],expansion:[[7,"Legion"],[6,"Warlords of Draenor"],[5,"Mists of Pandaria"],[4,"Cataclysm"],[3,"Wrath of the Lich King"],[2,"The Burning Crusade"],[1,"None"]],expansionhistory:[[3,"Legion"],[2,"Warlords of Draenor"],[1,"Mists of Pandaria and before"]],totemcategory:[[3,"Air Totem"],[14,"Arclight Spanner"],[162,"Blacksmith Hammer"],[168,"Bladed Pickaxe"],[141,"Drums"],[2,"Earth Totem"],[4,"Fire Totem"],[169,"Flint and Tinder"],[161,"Gnomish Army Knife"],[15,"Gyromatic Micro-Adjustor"],[167,"Hammer Pick"],[81,"Hollow Quill"],[21,"Master Totem"],[165,"Mining Pick"],[12,"Philosopher's Stone"],[6,"Runed Copper Rod"],[7,"Runed Copper Rod"],[8,"Runed Copper Rod"],[9,"Runed Copper Rod"],[10,"Runed Copper Rod"],[41,"Runed Copper Rod"],[62,"Runed Copper Rod"],[63,"Runed Copper Rod"],[101,"Runed Copper Rod"],[189,"Runed Copper Rod"],[190,"Runed Copper Rod"],[166,"Skinning Knife"],[121,"Virtuoso Inking Set"],[5,"Water Totem"]],dungeon:LANGfiMakeOptGroups([[4494,["Ahn'kahet: The Old Kingdom","2"]],[3790,["Auchenai Crypts","1"]],[6912,["Auchindoun","5"]],[4277,["Azjol-Nerub","2"]],[7805,["Black Rook Hold","6"]],[719,["Blackfathom Deeps","0"]],[4926,["Blackrock Caverns","3"]],[1584,["Blackrock Depths","0"]],[1583,["Blackrock Spire","0"]],[6874,["Bloodmaul Slag Mines","5"]],[8079,["Court of Stars","6"]],[7673,["Darkheart Thicket","6"]],[2557,["Dire Maul","0"]],[4196,["Drak'Tharon Keep","2"]],[8473,["Dungeon Blockout","0"]],[5789,["End Time","3"]],[8040,["Eye of Azshara","6"]],[5976,["Gate of the Setting Sun","4"]],[721,["Gnomeregan","0"]],[4950,["Grim Batol","3"]],[6984,["Grimrail Depot","5"]],[4416,["Gundrak","2"]],[4272,["Halls of Lightning","2"]],[4945,["Halls of Origination","3"]],[4820,["Halls of Reflection","2"]],[4264,["Halls of Stone","2"]],[7672,["Halls of Valor","6"]],[3562,["Hellfire Ramparts","1"]],[5844,["Hour of Twilight","3"]],[6951,["Iron Docks","5"]],[7674,["Legion Dungeon","6"]],[5396,["Lost City of the Tol'vir","3"]],[4131,["Magisters' Terrace","1"]],[3792,["Mana-Tombs","1"]],[2100,["Maraudon","0"]],[7812,["Maw of Souls","6"]],[6182,["Mogu'shan Palace","4"]],[7546,["Neltharion's Lair","6"]],[2367,["Old Hillsbrad Foothills","1"]],[4813,["Pit of Saron","2"]],[2437,["Ragefire Chasm","0"]],[722,["Razorfen Downs","0"]],[491,["Razorfen Kraul","0"]],[8443,["Return to Karazhan","6"]],[6052,["Scarlet Halls","4"]],[6109,["Scarlet Monastery","4"]],[6066,["Scholomance","4"]],[3791,["Sethekk Halls","1"]],[5918,["Shado-Pan Monastery","4"]],[3789,["Shadow Labyrinth","1"]],[209,["Shadowfang Keep","0"]],[6932,["Shadowmoon Burial Grounds","5"]],[6214,["Siege of Niuzao Temple","4"]],[6988,["Skyreach","5"]],[5963,["Stormstout Brewery","4"]],[2017,["Stratholme","0"]],[1477,["Sunken Temple","0"]],[8124,["Sword of Dawn","6"]],[8422,["Tempest's Roar","6"]],[5956,["Temple of the Jade Serpent","4"]],[3848,["The Arcatraz","1"]],[7855,["The Arcway","6"]],[2366,["The Black Morass","1"]],[3713,["The Blood Furnace","1"]],[3847,["The Botanica","1"]],[4100,["The Culling of Stratholme","2"]],[1581,["The Deadmines","0"]],[7109,["The Everbloom","5"]],[4809,["The Forge of Souls","2"]],[3849,["The Mechanar","1"]],[7811,["The Naglfar","6"]],[4265,["The Nexus","2"]],[4228,["The Oculus","2"]],[3714,["The Shattered Halls","1"]],[3717,["The Slave Pens","1"]],[3715,["The Steamvault","1"]],[717,["The Stockade","0"]],[5088,["The Stonecore","3"]],[3716,["The Underbog","1"]],[4415,["The Violet Hold","2"]],[5035,["The Vortex Pinnacle","3"]],[5004,["Throne of the Tides","3"]],[4723,["Trial of the Champion","2"]],[1337,["Uldaman","0"]],[7307,["Upper Blackrock Spire","5"]],[206,["Utgarde Keep","2"]],[1196,["Utgarde Pinnacle","2"]],[7787,["Vault of the Wardens","6"]],[7996,["Violet Hold","6"]],[718,["Wailing Caverns","0"]],[5788,["Well of Eternity","3"]],[3805,["Zul'Aman","3"]],[1176,["Zul'Farrak","0"]],[1977,["Zul'Gurub","3"]]],[[6,"Legion"],[5,"Warlords of Draenor"],[4,"Mists of Pandaria"],[3,"Cataclysm"],[2,"Wrath of the Lich King"],[1,"The Burning Crusade"],[0,"Vanilla"]]),heroicdungeon:LANGfiMakeOptGroups([[4494,["Ahn'kahet: The Old Kingdom","2"]],[3790,["Auchenai Crypts","1"]],[6912,["Auchindoun","5"]],[4277,["Azjol-Nerub","2"]],[7805,["Black Rook Hold","6"]],[4926,["Blackrock Caverns","3"]],[6874,["Bloodmaul Slag Mines","5"]],[8079,["Court of Stars","6"]],[7673,["Darkheart Thicket","6"]],[4196,["Drak'Tharon Keep","2"]],[5789,["End Time","3"]],[8040,["Eye of Azshara","6"]],[5976,["Gate of the Setting Sun","4"]],[4950,["Grim Batol","3"]],[6984,["Grimrail Depot","5"]],[4416,["Gundrak","2"]],[4272,["Halls of Lightning","2"]],[4945,["Halls of Origination","3"]],[4820,["Halls of Reflection","2"]],[4264,["Halls of Stone","2"]],[7672,["Halls of Valor","6"]],[3562,["Hellfire Ramparts","1"]],[5844,["Hour of Twilight","3"]],[6951,["Iron Docks","5"]],[5396,["Lost City of the Tol'vir","3"]],[4131,["Magisters' Terrace","1"]],[3792,["Mana-Tombs","1"]],[7812,["Maw of Souls","6"]],[6182,["Mogu'shan Palace","4"]],[7546,["Neltharion's Lair","6"]],[2367,["Old Hillsbrad Foothills","1"]],[4813,["Pit of Saron","2"]],[8443,["Return to Karazhan","6"]],[6052,["Scarlet Halls","4"]],[6109,["Scarlet Monastery","4"]],[6066,["Scholomance","4"]],[3791,["Sethekk Halls","1"]],[5918,["Shado-Pan Monastery","4"]],[3789,["Shadow Labyrinth","1"]],[209,["Shadowfang Keep","0"]],[6932,["Shadowmoon Burial Grounds","5"]],[6214,["Siege of Niuzao Temple","4"]],[6988,["Skyreach","5"]],[5963,["Stormstout Brewery","4"]],[5956,["Temple of the Jade Serpent","4"]],[3848,["The Arcatraz","1"]],[7855,["The Arcway","6"]],[2366,["The Black Morass","1"]],[3713,["The Blood Furnace","1"]],[3847,["The Botanica","1"]],[4100,["The Culling of Stratholme","2"]],[1581,["The Deadmines","0"]],[7109,["The Everbloom","5"]],[4809,["The Forge of Souls","2"]],[3849,["The Mechanar","1"]],[4265,["The Nexus","2"]],[4228,["The Oculus","2"]],[3714,["The Shattered Halls","1"]],[3717,["The Slave Pens","1"]],[3715,["The Steamvault","1"]],[5088,["The Stonecore","3"]],[3716,["The Underbog","1"]],[4415,["The Violet Hold","2"]],[5035,["The Vortex Pinnacle","3"]],[5004,["Throne of the Tides","3"]],[4723,["Trial of the Champion","2"]],[7307,["Upper Blackrock Spire","5"]],[206,["Utgarde Keep","2"]],[1196,["Utgarde Pinnacle","2"]],[7787,["Vault of the Wardens","6"]],[7996,["Violet Hold","6"]],[5788,["Well of Eternity","3"]],[3805,["Zul'Aman","3"]],[1977,["Zul'Gurub","3"]]],[[6,"Legion"],[5,"Warlords of Draenor"],[4,"Mists of Pandaria"],[3,"Cataclysm"],[2,"Wrath of the Lich King"],[1,"The Burning Crusade"],[0,"Vanilla"]]),timewalkingdungeon:LANGfiMakeOptGroups([[4494,["Ahn'kahet: The Old Kingdom","2"]],[5789,["End Time","3"]],[4950,["Grim Batol","3"]],[4416,["Gundrak","2"]],[4272,["Halls of Lightning","2"]],[5396,["Lost City of the Tol'vir","3"]],[4131,["Magisters' Terrace","1"]],[3792,["Mana-Tombs","1"]],[4813,["Pit of Saron","2"]],[3848,["The Arcatraz","1"]],[2366,["The Black Morass","1"]],[4265,["The Nexus","2"]],[3714,["The Shattered Halls","1"]],[3717,["The Slave Pens","1"]],[5088,["The Stonecore","3"]],[5035,["The Vortex Pinnacle","3"]],[5004,["Throne of the Tides","3"]],[1196,["Utgarde Pinnacle","2"]]],[[3,"Cataclysm"],[2,"Wrath of the Lich King"],[1,"The Burning Crusade"]]),heroicraid:LANGfiMakeOptGroups([[5094,["Blackwing Descent","3"]],[5892,["Dragon Soul","3"]],[5723,["Firelands","3"]],[6297,["Heart of Fear","4"]],[4812,["Icecrown Citadel","2"]],[6125,["Mogu'shan Vaults","4"]],[6738,["Siege of Orgrimmar","4"]],[6067,["Terrace of Endless Spring","4"]],[5334,["The Bastion of Twilight","3"]],[4987,["The Ruby Sanctum","2"]],[6622,["Throne of Thunder","4"]],[5638,["Throne of the Four Winds","3"]],[4722,["Trial of the Crusader","2"]]],[[4,"Mists of Pandaria"],[3,"Cataclysm"],[2,"Wrath of the Lich King"],[1,"The Burning Crusade"],[0,"Vanilla"]]),multimoderaid:LANGfiMakeOptGroups([[5600,["Baradin Hold","3"]],[5094,["Blackwing Descent","3"]],[5892,["Dragon Soul","3"]],[5723,["Firelands","3"]],[6297,["Heart of Fear","4"]],[4812,["Icecrown Citadel","2"]],[6125,["Mogu'shan Vaults","4"]],[3456,["Naxxramas","2"]],[2159,["Onyxia's Lair","2"]],[6738,["Siege of Orgrimmar","4"]],[6067,["Terrace of Endless Spring","4"]],[5334,["The Bastion of Twilight","3"]],[4500,["The Eye of Eternity","2"]],[4493,["The Obsidian Sanctum","2"]],[4987,["The Ruby Sanctum","2"]],[6622,["Throne of Thunder","4"]],[5638,["Throne of the Four Winds","3"]],[4722,["Trial of the Crusader","2"]],[4273,["Ulduar","2"]],[4603,["Vault of Archavon","2"]]],[[4,"Mists of Pandaria"],[3,"Cataclysm"],[2,"Wrath of the Lich King"],[1,"The Burning Crusade"],[0,"Vanilla"]]),raidfinder:[[6967,"Blackrock Foundry"],[5892,"Dragon Soul"],[6297,"Heart of Fear"],[7545,"Hellfire Citadel"],[6996,"Highmaul"],[6125,"Mogu'shan Vaults"],[6738,"Siege of Orgrimmar"],[6067,"Terrace of Endless Spring"],[6622,"Throne of Thunder"]],flexible:[[6738,"Siege of Orgrimmar"]],wodraid:LANGfiMakeOptGroups([[6967,["Blackrock Foundry","5"]],[7545,["Hellfire Citadel","5"]],[6996,["Highmaul","5"]],[6738,["Siege of Orgrimmar","4"]],[8026,["The Emerald Nightmare","6"]],[8025,["The Nighthold","6"]],[8440,["Trial of Valor","6"]]],[[6,"Legion"],[5,"Warlords of Draenor"],[4,"Mists of Pandaria"]]),spec:LANGfiMakeOptGroups([[62,["Arcane","8"]],[63,["Fire","8"]],[64,["Frost","8"]],[65,["Holy","2"]],[66,["Protection","2"]],[70,["Retribution","2"]],[71,["Arms","1"]],[72,["Fury","1"]],[73,["Protection","1"]],[102,["Balance","11"]],[103,["Feral","11"]],[104,["Guardian","11"]],[105,["Restoration","11"]],[250,["Blood","6"]],[251,["Frost","6"]],[252,["Unholy","6"]],[253,["Beast Mastery","3"]],[254,["Marksmanship","3"]],[255,["Survival","3"]],[256,["Discipline","5"]],[257,["Holy","5"]],[258,["Shadow","5"]],[259,["Assassination","4"]],[260,["Outlaw","4"]],[261,["Subtlety","4"]],[262,["Elemental","7"]],[263,["Enhancement","7"]],[264,["Restoration","7"]],[265,["Affliction","9"]],[266,["Demonology","9"]],[267,["Destruction","9"]],[268,["Brewmaster","10"]],[269,["Windwalker","10"]],[270,["Mistweaver","10"]],[577,["Havoc","12"]],[581,["Vengeance","12"]]],g_chr_classes),event:LANGfiMakeOptGroups([[560,["Apexis Bonus Event","0"]],[561,["Arena Skirmish Bonus Event","2"]],[563,["Battleground Bonus Event","2"]],[372,["Brewfest","1"]],[638,["Call of the Scarab","0"]],[420,["Call to Arms: Isle of Conquest","3"]],[587,["Cataclysm Timewalking Dungeon Event","2"]],[201,["Children's Week","1"]],[479,["Darkmoon Faire","2"]],[409,["Day of the Dead","1"]],[636,["Diablo 20th Anniversary","1"]],[564,["Draenor Dungeon Event","0"]],[141,["Feast of Winter Veil","1"]],[62,["Fireworks Spectacular","1"]],[648,["Glowcap Festival","0"]],[324,["Hallow's End","1"]],[321,["Harvest Festival","1"]],[634,["Hatching of the Hippogryphs","0"]],[646,["Kirin Tor Tavern Crawl","0"]],[591,["Legion Dungeon Event","2"]],[335,["Love is in the Air","1"]],[327,["Lunar Festival","1"]],[647,["March of the Tadpoles","0"]],[341,["Midsummer Fire Festival","1"]],[181,["Noblegarden","1"]],[562,["Northrend Timewalking Dungeon Event","2"]],[559,["Outland Timewalking Dungeon Event","2"]],[565,["Pet Battle Bonus Event","2"]],[404,["Pilgrim's Bounty","1"]],[398,["Pirates' Day","1"]],[645,["Spring Balloon Festival","0"]],[301,["Stranglethorn Fishing Extravaganza","2"]],[642,["Thousand Boat Bash","0"]],[643,["Timewalking Dungeon Event","0"]],[652,["Timewalking Dungeon Event","0"]],[654,["Timewalking Dungeon Event","0"]],[656,["Timewalking Dungeon Event","0"]],[644,["Un'Goro Madness","0"]],[635,["Volunteer Guard Day","0"]],[514,["WoW's 10th Anniversary","1"]],[566,["WoW's 11th Anniversary","1"]],[589,["WoW's 12th Anniversary","1"]],[592,["World Quest Bonus Event","2"]]],g_holiday_categories),pvp:[[1,"Yes"],[3,"Arena"],[4,"Battleground"],[5,"World"],[2,"No"]],currency:LANGfiMakeOptGroups([[1325,["Alliance Qiraji Commendation","142"]],[1155,["Ancient Mana","141"]],[823,["Apexis Crystal","137"]],[829,["Arakkoa Archaeology Fragment","82"]],[944,["Artifact Fragment","137"]],[1171,["Artifact Knowledge","142"]],[789,["Bloody Coin","133"]],[1299,["Brawler's Gold","141"]],[241,["Champion's Seal","21"]],[1275,["Curious Coin","141"]],[61,["Dalaran Jewelcrafter's Token","21"]],[515,["Darkmoon Prize Ticket","1"]],[1174,["Demonic Archaeology Fragment","82"]],[980,["Dingy Iron Coins","137"]],[398,["Draenei Archaeology Fragment","82"]],[821,["Draenor Clans Archaeology Fragment","82"]],[384,["Dwarf Archaeology Fragment","82"]],[697,["Elder Charm of Good Fortune","133"]],[81,["Epicurean's Award","1"]],[615,["Essence of Corrupted Deathwing","81"]],[393,["Fossil Archaeology Fragment","82"]],[824,["Garrison Resources","137"]],[1172,["Highborne Archaeology Fragment","82"]],[1173,["Highmountain Tauren Archaeology Fragment","82"]],[1324,["Horde Qiraji Commendation","142"]],[361,["Illustrious Jewelcrafter's Token","81"]],[402,["Ironpaw Token","1"]],[738,["Lesser Charm of Good Fortune","133"]],[1314,["Lingering Soul Fragment","141"]],[754,["Mantid Archaeology Fragment","82"]],[416,["Mark of the World Tree","81"]],[677,["Mogu Archaeology Fragment","82"]],[752,["Mogu Rune of Fate","133"]],[614,["Mote of Darkness","81"]],[400,["Nerubian Archaeology Fragment","82"]],[1226,["Nethershard","141"]],[394,["Night Elf Archaeology Fragment","82"]],[828,["Ogre Archaeology Fragment","82"]],[1101,["Oil","137"]],[397,["Orc Archaeology Fragment","82"]],[1220,["Order Resources","141"]],[676,["Pandaren Archaeology Fragment","82"]],[1273,["Seal of Broken Fate","141"]],[1129,["Seal of Inevitable Fate","137"]],[994,["Seal of Tempered Fate","137"]],[910,["Secret of Draenor Alchemy","137"]],[1020,["Secret of Draenor Blacksmithing","137"]],[1008,["Secret of Draenor Jewelcrafting","137"]],[1017,["Secret of Draenor Leatherworking","137"]],[999,["Secret of Draenor Tailoring","137"]],[1154,["Shadowy Coins","141"]],[1149,["Sightless Eye","141"]],[777,["Timeless Coin","133"]],[1166,["Timewarped Badge","22"]],[1268,["Timeworn Artifact","141"]],[391,["Tol Barad Commendation","2"]],[401,["Tol'vir Archaeology Fragment","82"]],[385,["Troll Archaeology Fragment","82"]],[1191,["Valor","22"]],[399,["Vrykul Archaeology Fragment","82"]],[776,["Warforged Seal","133"]]],[[82,"Archaeology"],[23,"Burning Crusade"],[81,"Cataclysm"],[4,"Classic"],[22,"Dungeon and Raid"],[142,"Hidden"],[141,"Legion"],[89,"Meta"],[1,"Miscellaneous"],[133,"Mists of Pandaria"],[2,"Player vs. Player"],[41,"Test"],[3,"Unused"],[137,"Warlords of Draenor"],[21,"Wrath of the Lich King"]]),itemcurrency:LANGfiMakeOptGroups([[34853,["Belt of the Forgotten Conqueror","70"]],[34854,["Belt of the Forgotten Protector","70"]],[34855,["Belt of the Forgotten Vanquisher","70"]],[34856,["Boots of the Forgotten Conqueror","70"]],[34857,["Boots of the Forgotten Protector","70"]],[34858,["Boots of the Forgotten Vanquisher","70"]],[34848,["Bracers of the Forgotten Conqueror","70"]],[34851,["Bracers of the Forgotten Protector","70"]],[34852,["Bracers of the Forgotten Vanquisher","70"]],[40625,["Breastplate of the Lost Conqueror","80"]],[40626,["Breastplate of the Lost Protector","80"]],[40627,["Breastplate of the Lost Vanquisher","80"]],[45632,["Breastplate of the Wayward Conqueror","80"]],[45633,["Breastplate of the Wayward Protector","80"]],[45634,["Breastplate of the Wayward Vanquisher","80"]],[78184,["Chest of the Corrupted Conqueror","397"]],[78847,["Chest of the Corrupted Conqueror","410"]],[78863,["Chest of the Corrupted Conqueror","384"]],[78179,["Chest of the Corrupted Protector","397"]],[78848,["Chest of the Corrupted Protector","410"]],[78864,["Chest of the Corrupted Protector","384"]],[78174,["Chest of the Corrupted Vanquisher","397"]],[78849,["Chest of the Corrupted Vanquisher","410"]],[78862,["Chest of the Corrupted Vanquisher","384"]],[67423,["Chest of the Forlorn Conqueror","85"]],[67424,["Chest of the Forlorn Protector","85"]],[67425,["Chest of the Forlorn Vanquisher","85"]],[29754,["Chestguard of the Fallen Champion","70"]],[29753,["Chestguard of the Fallen Defender","70"]],[29755,["Chestguard of the Fallen Hero","70"]],[31089,["Chestguard of the Forgotten Conqueror","70"]],[31091,["Chestguard of the Forgotten Protector","70"]],[31090,["Chestguard of the Forgotten Vanquisher","70"]],[40610,["Chestguard of the Lost Conqueror","80"]],[40611,["Chestguard of the Lost Protector","80"]],[40612,["Chestguard of the Lost Vanquisher","80"]],[30236,["Chestguard of the Vanquished Champion","70"]],[30237,["Chestguard of the Vanquished Defender","70"]],[30238,["Chestguard of the Vanquished Hero","70"]],[45635,["Chestguard of the Wayward Conqueror","80"]],[45636,["Chestguard of the Wayward Protector","80"]],[45637,["Chestguard of the Wayward Vanquisher","80"]],[52027,["Conqueror's Mark of Sanctification","80"]],[52030,["Conqueror's Mark of Sanctification","80"]],[78182,["Crown of the Corrupted Conqueror","397"]],[78850,["Crown of the Corrupted Conqueror","410"]],[78869,["Crown of the Corrupted Conqueror","384"]],[78177,["Crown of the Corrupted Protector","397"]],[78851,["Crown of the Corrupted Protector","410"]],[78870,["Crown of the Corrupted Protector","384"]],[78172,["Crown of the Corrupted Vanquisher","397"]],[78852,["Crown of the Corrupted Vanquisher","410"]],[78868,["Crown of the Corrupted Vanquisher","384"]],[65001,["Crown of the Forlorn Conqueror","85"]],[65000,["Crown of the Forlorn Protector","85"]],[65002,["Crown of the Forlorn Vanquisher","85"]],[40631,["Crown of the Lost Conqueror","80"]],[40632,["Crown of the Lost Protector","80"]],[40633,["Crown of the Lost Vanquisher","80"]],[45638,["Crown of the Wayward Conqueror","80"]],[45639,["Crown of the Wayward Protector","80"]],[45640,["Crown of the Wayward Vanquisher","80"]],[71998,["Essence of Destruction","85"]],[66998,["Essence of the Forlorn","85"]],[78183,["Gauntlets of the Corrupted Conqueror","397"]],[78853,["Gauntlets of the Corrupted Conqueror","410"]],[78866,["Gauntlets of the Corrupted Conqueror","384"]],[78178,["Gauntlets of the Corrupted Protector","397"]],[78854,["Gauntlets of the Corrupted Protector","410"]],[78867,["Gauntlets of the Corrupted Protector","384"]],[78173,["Gauntlets of the Corrupted Vanquisher","397"]],[78855,["Gauntlets of the Corrupted Vanquisher","410"]],[78865,["Gauntlets of the Corrupted Vanquisher","384"]],[67429,["Gauntlets of the Forlorn Conqueror","85"]],[67430,["Gauntlets of the Forlorn Protector","85"]],[67431,["Gauntlets of the Forlorn Vanquisher","85"]],[40628,["Gauntlets of the Lost Conqueror","80"]],[40629,["Gauntlets of the Lost Protector","80"]],[40630,["Gauntlets of the Lost Vanquisher","80"]],[45641,["Gauntlets of the Wayward Conqueror","80"]],[45642,["Gauntlets of the Wayward Protector","80"]],[45643,["Gauntlets of the Wayward Vanquisher","80"]],[29757,["Gloves of the Fallen Champion","70"]],[29758,["Gloves of the Fallen Defender","70"]],[29756,["Gloves of the Fallen Hero","70"]],[31092,["Gloves of the Forgotten Conqueror","70"]],[31094,["Gloves of the Forgotten Protector","70"]],[31093,["Gloves of the Forgotten Vanquisher","70"]],[40613,["Gloves of the Lost Conqueror","80"]],[40614,["Gloves of the Lost Protector","80"]],[40615,["Gloves of the Lost Vanquisher","80"]],[30239,["Gloves of the Vanquished Champion","70"]],[30240,["Gloves of the Vanquished Defender","70"]],[30241,["Gloves of the Vanquished Hero","70"]],[45644,["Gloves of the Wayward Conqueror","80"]],[45645,["Gloves of the Wayward Protector","80"]],[45646,["Gloves of the Wayward Vanquisher","80"]],[29760,["Helm of the Fallen Champion","70"]],[29761,["Helm of the Fallen Defender","70"]],[29759,["Helm of the Fallen Hero","70"]],[31097,["Helm of the Forgotten Conqueror","70"]],[31095,["Helm of the Forgotten Protector","70"]],[31096,["Helm of the Forgotten Vanquisher","70"]],[63683,["Helm of the Forlorn Conqueror","85"]],[63684,["Helm of the Forlorn Protector","85"]],[63682,["Helm of the Forlorn Vanquisher","85"]],[40616,["Helm of the Lost Conqueror","80"]],[40617,["Helm of the Lost Protector","80"]],[40618,["Helm of the Lost Vanquisher","80"]],[30242,["Helm of the Vanquished Champion","70"]],[30243,["Helm of the Vanquished Defender","70"]],[30244,["Helm of the Vanquished Hero","70"]],[45647,["Helm of the Wayward Conqueror","80"]],[45648,["Helm of the Wayward Protector","80"]],[45649,["Helm of the Wayward Vanquisher","80"]],[78181,["Leggings of the Corrupted Conqueror","397"]],[78856,["Leggings of the Corrupted Conqueror","410"]],[78872,["Leggings of the Corrupted Conqueror","384"]],[78176,["Leggings of the Corrupted Protector","397"]],[78857,["Leggings of the Corrupted Protector","410"]],[78873,["Leggings of the Corrupted Protector","384"]],[78171,["Leggings of the Corrupted Vanquisher","397"]],[78858,["Leggings of the Corrupted Vanquisher","410"]],[78871,["Leggings of the Corrupted Vanquisher","384"]],[29766,["Leggings of the Fallen Champion","70"]],[29767,["Leggings of the Fallen Defender","70"]],[29765,["Leggings of the Fallen Hero","70"]],[31098,["Leggings of the Forgotten Conqueror","70"]],[31100,["Leggings of the Forgotten Protector","70"]],[31099,["Leggings of the Forgotten Vanquisher","70"]],[67428,["Leggings of the Forlorn Conqueror","85"]],[67427,["Leggings of the Forlorn Protector","85"]],[67426,["Leggings of the Forlorn Vanquisher","85"]],[40619,["Leggings of the Lost Conqueror","80"]],[40620,["Leggings of the Lost Protector","80"]],[40621,["Leggings of the Lost Vanquisher","80"]],[30245,["Leggings of the Vanquished Champion","70"]],[30246,["Leggings of the Vanquished Defender","70"]],[30247,["Leggings of the Vanquished Hero","70"]],[45650,["Leggings of the Wayward Conqueror","80"]],[45651,["Leggings of the Wayward Protector","80"]],[45652,["Leggings of the Wayward Vanquisher","80"]],[40634,["Legplates of the Lost Conqueror","80"]],[40635,["Legplates of the Lost Protector","80"]],[40636,["Legplates of the Lost Vanquisher","80"]],[45653,["Legplates of the Wayward Conqueror","80"]],[45654,["Legplates of the Wayward Protector","80"]],[45655,["Legplates of the Wayward Vanquisher","80"]],[64315,["Mantle of the Forlorn Conqueror","85"]],[64316,["Mantle of the Forlorn Protector","85"]],[64314,["Mantle of the Forlorn Vanquisher","85"]],[40637,["Mantle of the Lost Conqueror","80"]],[40638,["Mantle of the Lost Protector","80"]],[40639,["Mantle of the Lost Vanquisher","80"]],[45656,["Mantle of the Wayward Conqueror","80"]],[45657,["Mantle of the Wayward Protector","80"]],[45658,["Mantle of the Wayward Vanquisher","80"]],[29763,["Pauldrons of the Fallen Champion","70"]],[29764,["Pauldrons of the Fallen Defender","70"]],[29762,["Pauldrons of the Fallen Hero","70"]],[31101,["Pauldrons of the Forgotten Conqueror","70"]],[31103,["Pauldrons of the Forgotten Protector","70"]],[31102,["Pauldrons of the Forgotten Vanquisher","70"]],[30248,["Pauldrons of the Vanquished Champion","70"]],[30249,["Pauldrons of the Vanquished Defender","70"]],[30250,["Pauldrons of the Vanquished Hero","70"]],[52026,["Protector's Mark of Sanctification","80"]],[52029,["Protector's Mark of Sanctification","80"]],[47557,["Regalia of the Grand Conqueror","80"]],[47558,["Regalia of the Grand Protector","80"]],[47559,["Regalia of the Grand Vanquisher","80"]],[78180,["Shoulders of the Corrupted Conqueror","397"]],[78859,["Shoulders of the Corrupted Conqueror","410"]],[78875,["Shoulders of the Corrupted Conqueror","384"]],[78175,["Shoulders of the Corrupted Protector","397"]],[78860,["Shoulders of the Corrupted Protector","410"]],[78876,["Shoulders of the Corrupted Protector","384"]],[78170,["Shoulders of the Corrupted Vanquisher","397"]],[78861,["Shoulders of the Corrupted Vanquisher","410"]],[78874,["Shoulders of the Corrupted Vanquisher","384"]],[65088,["Shoulders of the Forlorn Conqueror","85"]],[65087,["Shoulders of the Forlorn Protector","85"]],[65089,["Shoulders of the Forlorn Vanquisher","85"]],[40622,["Spaulders of the Lost Conqueror","80"]],[40623,["Spaulders of the Lost Protector","80"]],[40624,["Spaulders of the Lost Vanquisher","80"]],[45659,["Spaulders of the Wayward Conqueror","80"]],[45660,["Spaulders of the Wayward Protector","80"]],[45661,["Spaulders of the Wayward Vanquisher","80"]],[76061,["Spirit of Harmony","90"]],[47242,["Trophy of the Crusade","80"]],[52025,["Vanquisher's Mark of Sanctification","80"]],[52028,["Vanquisher's Mark of Sanctification","80"]]],"Item Level %s"),queststart:[[3,"Item"],[1,"NPC"],[2,"Object"]],questend:[[1,"NPC"],[2,"Object"]],spellsource:[[1,"Any"],[11,"Achievement"],[12,"Black Market"],[3,"Crafted"],[9,"Discovery"],[4,"Drop"],[6,"Quest"],[10,"Talent"],[8,"Trainer"],[7,"Vendor"],[2,"None"]],itemsource:[[1,"Any"],[11,"Achievement"],[12,"Black Market"],[3,"Crafted"],[4,"Drop"],[10,"Event"],[13,"In-Game Store"],[14,"Mission"],[5,"PvP"],[6,"Quest"],[8,"Redemption"],[9,"Starter"],[7,"Vendor"],[2,"None"]],glyphtype:[[1,"Major"],[2,"Minor"]],classs:[[6,"Death Knight"],[12,"Demon Hunter"],[11,"Druid"],[3,"Hunter"],[8,"Mage"],[10,"Monk"],[2,"Paladin"],[5,"Priest"],[4,"Rogue"],[7,"Shaman"],[9,"Warlock"],[1,"Warrior"]],race:[[12,"Any"],[10,"Blood Elf"],[11,"Draenei"],[3,"Dwarf"],[7,"Gnome"],[9,"Goblin"],[1,"Human"],[4,"Night Elf"],[2,"Orc"],[24,"Pandaren"],[25,"Pandaren"],[26,"Pandaren"],[6,"Tauren"],[8,"Troll"],[5,"Undead"],[22,"Worgen"],[13,"None"]],disenchanting:[[34057,"Abyss Crystal"],[22445,"Arcane Dust"],[109693,"Draenic Dust"],[11176,"Dream Dust"],[34052,"Dream Shard"],[49640,"Essence or Dust"],[74247,"Ethereal Shard"],[11082,"Greater Astral Essence"],[52719,"Greater Celestial Essence"],[34055,"Greater Cosmic Essence"],[16203,"Greater Eternal Essence"],[10939,"Greater Magic Essence"],[11135,"Greater Mystic Essence"],[11175,"Greater Nether Essence"],[22446,"Greater Planar Essence"],[52721,"Heavenly Shard"],[52555,"Hypnotic Dust"],[16204,"Illusion Dust"],[34054,"Infinite Dust"],[14344,"Large Brilliant Shard"],[11084,"Large Glimmering Shard"],[11139,"Large Glowing Shard"],[22449,"Large Prismatic Shard"],[11178,"Large Radiant Shard"],[10998,"Lesser Astral Essence"],[52718,"Lesser Celestial Essence"],[34056,"Lesser Cosmic Essence"],[16202,"Lesser Eternal Essence"],[10938,"Lesser Magic Essence"],[11134,"Lesser Mystic Essence"],[11174,"Lesser Nether Essence"],[22447,"Lesser Planar Essence"],[111245,"Luminous Shard"],[52722,"Maelstrom Crystal"],[74250,"Mysterious Essence"],[20725,"Nexus Crystal"],[74248,"Sha Crystal"],[14343,"Small Brilliant Shard"],[34053,"Small Dream Shard"],[74252,"Small Ethereal Shard"],[10978,"Small Glimmering Shard"],[11138,"Small Glowing Shard"],[52720,"Small Heavenly Shard"],[22448,"Small Prismatic Shard"],[11177,"Small Radiant Shard"],[11083,"Soul Dust"],[74249,"Spirit Dust"],[10940,"Strange Dust"],[113588,"Temporal Crystal"],[11137,"Vision Dust"],[22450,"Void Crystal"]],proficiencytype:[[2,"Armor"],[3,"Armor Proficiencies"],[4,"Armor Specializations"],[5,"Languages"],[1,"Weapons"]],pvpseason:[[20,"Season 10"],[226,"Season 10 Elite"],[525,"Season 9 Elite"],[653,"Season 9"],[1013,"Season 11"],[1208,"Season 11 Elite"],[1591,"Season 19"],[2255,"Season 12"],[2667,"Season 12 Elite"],[3933,"Season 13"],[3934,"Season 13 Elite"],[6843,"Season 8"],[6894,"Season 8 Elite"],[7052,"Season 7"],[7225,"Season 7 Elite"],[7261,"Season 6"],[7434,"Season 6 Elite"],[7463,"Season 5"],[7636,"Season 4"],[7775,"Season 3"],[7906,"Season 2"],[8027,"Season 1"],[9059,"Season 14"],[9459,"Season 14 Elite"],[10126,"Season 15"],[10520,"Season 15 Elite"],[13196,"Warlords Season 1"],[13198,"Warlords Season 1 Elite"],[13211,"Warlords Season 2"],[13212,"Warlords Season 2 Elite"],[13213,"Warlords Season 3"],[13214,"Warlords Season 3 Elite"],[13226,"Legion Season 1"],[13227,"Legion Season 1 Elite"],[13287,"Legion Season 2"],[13288,"Legion Season 2 Elite"]],strongvs:[[9,"Aquatic"],[8,"Beast"],[5,"Critter"],[2,"Dragonkin"],[7,"Elemental"],[3,"Flying"],[1,"Humanoid"],[6,"Magic"],[10,"Mechanical"],[4,"Undead"]],weakvs:[[9,"Aquatic"],[8,"Beast"],[5,"Critter"],[2,"Dragonkin"],[7,"Elemental"],[3,"Flying"],[1,"Humanoid"],[6,"Magic"],[10,"Mechanical"],[4,"Undead"]],source:[[1,"Drop"],[2,"Quest"],[3,"Vendor"],[4,"Profession"],[5,"Pet Battle"],[6,"Achievement"],[7,"World Event"],[8,"Promotion"],[9,"Trading Card Game"],[10,"Pet Store"]],specializetype:[[1,"Mastery"],[2,"Talents"]],achievementtype:[[1,"Yes"],[3,"Character"],[4,"Guild"],[2,"No"]],pettype:[[9,"Aquatic"],[8,"Beast"],[5,"Critter"],[2,"Dragonkin"],[7,"Elemental"],[3,"Flying"],[1,"Humanoid"],[6,"Magic"],[10,"Mechanical"],[4,"Undead"]],abilityfamily:[[9,"Aquatic"],[8,"Beast"],[5,"Critter"],[2,"Dragonkin"],[7,"Elemental"],[3,"Flying"],[1,"Humanoid"],[6,"Magic"],[10,"Mechanical"],[4,"Undead"]],bonusduringstate:[[1,"Bleeding"],[2,"Blinded"],[3,"Burning"],[4,"Chilled"],[5,"Low health"],[6,"Poisoned"],[7,"Stunned"],[8,"Webbed"]],bonusduringweather:[[1,"Arcane winds"],[2,"Blizzard"],[3,"Darkness"],[4,"Moonlight"],[5,"Rain"],[6,"Sunny"]],teamabilities:[[1,"Any"],[2,"Damage"],[3,"Damage over time"],[4,"Healing"]],deathknightspec:[[1,"Blood"],[2,"Frost"],[3,"Unholy"]],demonhunterspec:[[1,"Havoc"],[2,"Vengeance"]],druidspec:[[1,"Balance"],[2,"Feral"],[3,"Guardian"],[4,"Restoration"]],hunterspec:[[1,"Beast Mastery"],[2,"Marksmanship"],[3,"Survival"]],magespec:[[1,"Arcane"],[2,"Fire"],[3,"Frost"]],monkspec:[[1,"Brewmaster"],[2,"Windwalker"],[3,"Mistweaver"]],paladinspec:[[1,"Holy"],[2,"Protection"],[3,"Retribution"]],priestspec:[[1,"Discipline"],[2,"Holy"],[3,"Shadow"]],roguespec:[[1,"Outlaw"],[2,"Assassination"],[3,"Subtlety"]],shamanspec:[[1,"Elemental"],[2,"Enhancement"],[3,"Restoration"]],warlockspec:[[1,"Affliction"],[2,"Demonology"],[3,"Destruction"]],warriorspec:[[1,"Arms"],[2,"Fury"],[3,"Protection"]],effectauranames:[[69,"Absorb Damage"],[97,"Absorb Damage - Mana Shield"],[148,"Add Combo Points for 20 Seconds"],[147,"Add Creature Immunity (?)"],[108,"Add Modifier - %"],[107,"Add Modifier - Flat"],[116,"Allow % of Health Regeneration to Continue in Combat"],[134,"Allow % of Mana Regeneration to Continue in Combat"],[275,"Allow Affected Spells to be Used in Any Stance"],[286,"Allow Dot to Crit"],[146,"Allow Exotic Pets Taming"],[330,"Allows Cast while Moving"],[377,"Allows Movement while Casting"],[263,"Allows Spells"],[100,"Always Show Debuffs (Obsolete)"],[312,"Animation Replacement"],[395,"Area Trigger"],[215,"Arena Preparation"],[404,"Attack Power equals Spell Power %"],[218,"Aura Unknown - %"],[294,"Aura of Despair"],[121,"Beast Lore"],[1,"Bind Sight"],[194,"Bypass Damage Reduction Effects"],[267,"Cancel Aura if Damage Absorbed Reaches X% of Caster Health"],[92,"Cannot Flee"],[201,"Cannot dodge, block or parry"],[56,"Change Model"],[233,"Change Model of Every Humanoid Seen"],[6,"Charm"],[247,"Clone"],[244,"Comprehend Language"],[5,"Confuse"],[274,"Consume No Ammo"],[236,"Control Vehicle"],[463,"Converts one stat into another %"],[249,"Create Death Rune"],[86,"Create Item on Death"],[253,"Critical Block Chance %"],[15,"Damage shield"],[193,"Decrease Attack Speed %"],[149,"Decrease Pushback Time by %"],[33,"Decrease Run Speed %"],[67,"Disarm"],[278,"Disarm Ranged Weapon"],[4,"Dummy"],[37,"Effect Immunity"],[243,"Faction Override"],[76,"Far Sight"],[7,"Fear"],[66,"Feign Death"],[202,"Finishing Move Cannot be Dodged"],[75,"Force Language"],[139,"Force Reputation"],[95,"Ghost"],[117,"Give % Chance to Resist Mechanic"],[84,"Health Regen"],[46,"Ignore All Gear"],[345,"Ignore Armor %"],[221,"Ignored"],[39,"Immunity"],[40,"Immunity - Damage Only"],[41,"Immunity - Debuffs Only"],[77,"Immunity - Mechanic"],[130,"Incerase Mounted Speed % - Stacks"],[196,"Increase All Cooldowns"],[192,"Increase Attack Speed %"],[34,"Increase Max Health - Flat"],[250,"Increase Max Health - Stacks"],[35,"Increase Max Power - Flat"],[145,"Increase Pet Talent Points"],[59,"Increase Physical Damage & Spell Damage"],[31,"Increase Run Speed %"],[129,"Increase Run Speed % - Stacks"],[58,"Increase Swim Speed %"],[464,"Increases Attack Power with Bonus Armor %"],[111,"Intercept % of all Melee & Ranged Attacks"],[94,"Interrupt Power Decay"],[18,"Invisibility"],[19,"Invisibility Detection"],[106,"Levitate / Hover"],[407,"Loss of Control"],[96,"Magnet"],[170,"Make a Certain Object Visible"],[165,"Marked by a Guard"],[293,"Mechanic Abilities"],[177,"Mind Control (AoE only?)"],[87,"Mod % Damage Taken"],[91,"Mod Aggro Range"],[152,"Mod Aggro Range of Mobs Against You"],[271,"Mod All Damage Done % by Caster"],[168,"Mod All Damage Done Against Creature - %"],[283,"Mod All Healing Done % by Caster"],[281,"Mod All Honor Gain %"],[157,"Mod All Pet Damage Taken"],[156,"Mod All Reputation Gained by %"],[50,"Mod Amount Healed by Critical Heals %"],[229,"Mod AoE Damage Taken %"],[280,"Mod Armor Penetration %"],[285,"Mod Attack Power for every 'School' Resistance Point"],[9,"Mod Attack Speed"],[342,"Mod Attack Speed %"],[179,"Mod Attacker Crit Chance %"],[187,"Mod Attacker Melee Crit Chance - %"],[184,"Mod Attacker Melee Hit Chance - %"],[127,"Mod Attacker Ranged Attack Power"],[188,"Mod Attacker Ranged Crit Chance - %"],[185,"Mod Attacker Ranged Hit Chance - %"],[186,"Mod Attacker Spell Hit Chance - %"],[344,"Mod Auto Attack Damage %"],[282,"Mod Base Health %"],[142,"Mod Base Resistance - %"],[83,"Mod Base Resistance Flat"],[51,"Mod Block %"],[158,"Mod Block Value"],[150,"Mod Block Value - %"],[216,"Mod Casting Speed - %"],[248,"Mod Chance for Attacks to be Dodged by %"],[197,"Mod Chance to be Critically Hit %"],[220,"Mod Combat Rating by % of Stat"],[290,"Mod Crit Chance % - All"],[308,"Mod Critical Strike %"],[349,"Mod Currency Gain"],[13,"Mod Damage Done"],[79,"Mod Damage Done %"],[276,"Mod Damage Done % by Mechanic"],[14,"Mod Damage Taken"],[178,"Mod Debuff Resistance - %"],[245,"Mod Debuffs Duration %"],[246,"Mod Debuffs Duration %"],[235,"Mod Dispel Resistance %"],[49,"Mod Dodge %"],[251,"Mod Enemy Dodge %"],[291,"Mod Experience Gained % (Quests too)"],[200,"Mod Experience Gained % (mob kills only)"],[240,"Mod Expertise"],[210,"Mod Flight Speed %"],[208,"Mod Flight Speed %"],[207,"Mod Flight Speed %"],[206,"Mod Flight Speed % - Stacks"],[301,"Mod Healing Absorb %"],[354,"Mod Healing Based on Target Health %"],[135,"Mod Healing Power"],[136,"Mod Healing Power - %"],[238,"Mod Healing Power by % of Attack Power"],[175,"Mod Healing Power by % of Stat"],[118,"Mod Healing Taken - %"],[115,"Mod Healing Taken - Flat"],[88,"Mod Health Regen %"],[133,"Mod Increase Maximum Health - %"],[132,"Mod Increase Maximum Power - %"],[443,"Mod Leech %"],[73,"Mod Mana Cost %"],[72,"Mod Mana Cost %"],[419,"Mod Mana Pool %"],[219,"Mod Mana Regeneration by % of Stat"],[318,"Mod Mastery %"],[230,"Mod Max Health"],[255,"Mod Mechanic Damage %"],[232,"Mod Mechanic Duration %"],[234,"Mod Mechanic Duration % - Does not Stack"],[52,"Mod Melee & Ranged Crit %"],[54,"Mod Melee & Ranged Hit Chance %"],[99,"Mod Melee Attack Power"],[166,"Mod Melee Attack Power - %"],[102,"Mod Melee Attack Power vs Creature"],[319,"Mod Melee Attack Speed"],[138,"Mod Melee Attack Speed - %"],[203,"Mod Melee Crit Damage Taken by %"],[163,"Mod Melee Critical Damage %"],[125,"Mod Melee Damage Taken"],[126,"Mod Melee Damage Taken - %"],[252,"Mod Melee, Ranged & Spell Haste by %"],[305,"Mod Minimum Speed %"],[32,"Mod Mounted Speed %"],[209,"Mod Mounted Speed %"],[211,"Mod Mounted Speed % (ground + flying)"],[172,"Mod Mounted Speed % - Doesn't Stack with Anything"],[171,"Mod Mounted Speed % - Stacks"],[440,"Mod Multistrike %"],[441,"Mod Multistrike Damage %"],[122,"Mod Off-Hand Damage Done %"],[47,"Mod Parry %"],[89,"Mod Periodic Damage %"],[259,"Mod Periodic Healing Taken %"],[310,"Mod Pet AOE Damage Avoidance"],[382,"Mod Pet Damage %"],[429,"Mod Pet Damage %"],[110,"Mod Power Regen %"],[213,"Mod Rage % Generated From Damage Dealt"],[124,"Mod Ranged Attack Power"],[167,"Mod Ranged Attack Power - %"],[212,"Mod Ranged Attack Power by % of Stat"],[131,"Mod Ranged Attack Power vs Creature"],[140,"Mod Ranged Attack Speed - %"],[141,"Mod Ranged Attack Speed - % - Ammo Only"],[204,"Mod Ranged Crit Damage Taken by %"],[114,"Mod Ranged Damage Taken - %"],[113,"Mod Ranged Damage Taken - Flat"],[189,"Mod Rating"],[190,"Mod Reputation Gained %"],[143,"Mod Resistace - Flat - Does not Stack"],[22,"Mod Resistance"],[101,"Mod Resistance %"],[182,"Mod Resistance by % of Stat"],[405,"Mod Secondary Stat %"],[61,"Mod Size %"],[239,"Mod Size % - Doesn't stack"],[98,"Mod Skill"],[30,"Mod Skill - Temporary"],[373,"Mod Speed % and Unable to Control Character"],[71,"Mod Spell Crit %"],[57,"Mod Spell Crit %"],[205,"Mod Spell Crit Damage Taken by %"],[356,"Mod Spell Damage Done %"],[65,"Mod Spell Haste %"],[55,"Mod Spell Hit Chance %"],[199,"Mod Spell Hit Chance %"],[242,"Mod Spell Power & Healing Power by % of Intellect"],[180,"Mod Spell Power Against Creature"],[237,"Mod Spell Power by % of Attack Power"],[174,"Mod Spell Power by % of Stat"],[29,"Mod Stat"],[80,"Mod Stat %"],[137,"Mod Stat - %"],[154,"Mod Stealth Effectiveness"],[257,"Mod Target Resist by Spell Class"],[10,"Mod Threat"],[183,"Mod Threat % of Critical Hits"],[103,"Mod Threat Flat - Temporary"],[20,"Mod Total Health Regen %"],[21,"Mod Total Power Regen %"],[471,"Mod Versatility %"],[411,"Modifies Charges"],[418,"Modifies Max Power - Flat"],[78,"Mounted"],[256,"No Reagent Cost"],[292,"Open Stable"],[112,"Override Class Script"],[366,"Override Spell Power By AP %"],[332,"Overrides Actionbar Spell"],[333,"Overrides Actionbar Spell"],[25,"Pacify"],[60,"Pacify & Silence"],[3,"Periodic Damage"],[226,"Periodic Dummy"],[8,"Periodic Heal"],[64,"Periodically Drain Power"],[53,"Periodically Leech Health"],[62,"Periodically Transfer Health"],[227,"Periodically Trigger Spell with Value"],[24,"Periodically give power"],[23,"Periodically trigger spell"],[261,"Phase"],[2,"Possess"],[162,"Power Burn"],[85,"Power Regen"],[109,"Proc Spell on Target"],[43,"Proc Trigger Damage"],[42,"Proc Trigger Spell"],[144,"Reduce Falling Damage by %"],[123,"Reduce Target Resistances - Flat"],[28,"Reflect All Spells"],[74,"Reflect Spells"],[161,"Regen Health - Works in Combat"],[254,"Remove Shield"],[26,"Root"],[191,"Run Speed Limit %"],[260,"Screen Effect"],[36,"Shapeshift"],[27,"Silence"],[105,"Slow Fall"],[279,"Spawn Effect"],[176,"Spirit of Redemption"],[81,"Split Damage %"],[68,"Stalked"],[38,"State Immunity"],[16,"Stealth"],[17,"Stealth Detection"],[228,"Stealth Detection (Always)"],[12,"Stun"],[128,"Take Control of Pet"],[214,"Tamed Pet Passive"],[11,"Taunt"],[44,"Track Creatures"],[151,"Track Hidden"],[45,"Track Resources"],[396,"Trigger Spell by Power Level"],[361,"Triggers AoE"],[93,"Unattackable"],[155,"Underwater Breathing"],[82,"Underwater Breathing"],[120,"Untrackable"],[104,"Water Walking"],[159,"Worth No Honor"]],bagscan:[],effecttype:[[139,"Abandon Quest"],[79,"Abort All Pending Attacks"],[86,"Activate Object"],[146,"Activate Rune"],[162,"Activate Talent Specialization"],[80,"Add Combo Points"],[19,"Add Extra Attacks"],[156,"Add Socket to Item"],[168,"Allow Control Pet"],[117,"AoE Resurrect With % Health"],[35,"Apply Area Aura"],[65,"Apply Area Aura"],[6,"Apply Aura"],[128,"Apply Aura (2)"],[129,"Apply Aura (3)"],[119,"Apply Aura - Pet"],[143,"Apply Aura - Pet Owner"],[243,"Apply Enchant Appearance"],[144,"Area Knockback"],[49,"Base Detect Stealthed"],[48,"Base Stealth"],[11,"Bind"],[82,"Bind Sight - Car Camera"],[29,"Blink"],[135,"Call Pet"],[23,"Can Block"],[20,"Can Dodge"],[21,"Can Evade"],[22,"Can Parry"],[25,"Can Use Weapon"],[164,"Cancel Aura"],[203,"Casts Additional Spell"],[161,"Change Talent Specialization Count"],[96,"Charge"],[149,"Charge to Object"],[16,"Complete Quest"],[179,"Create Area Trigger"],[81,"Create House (Test; Obsolete)"],[24,"Create Item"],[216,"Create Shipment"],[157,"Create Tradeskill Item"],[66,"Create or Recharge Item"],[58,"Deal Weapon Damage"],[110,"Destroy All Totems"],[169,"Destroy Item"],[99,"Disenchant"],[102,"Dismiss Pet"],[38,"Dispel"],[108,"Dispel Mechanic"],[69,"Distract"],[70,"Distract Move"],[9,"Drain Health"],[8,"Drain Power"],[105,"Drop Battle Standard"],[104,"Drop Trap"],[40,"Dual Wield"],[155,"Dual Wield 2H Weapons"],[83,"Duel"],[3,"Dummy"],[153,"Dummy, Pet"],[111,"Durability Damage"],[115,"Durability Damage %"],[92,"Enchant Held Item (OBSOLETE)"],[53,"Enchant Item"],[54,"Enchant Item - Temporary"],[7,"Environment Damage"],[147,"Fail Quest"],[72,"Far Sight"],[101,"Feed Pet"],[73,"Forget Talents"],[137,"Give % of Total Power"],[240,"Give Artifact Power"],[242,"Give Artifact Power (Without Scaling)"],[166,"Give Currency"],[231,"Give Follower XP"],[45,"Give Honor"],[30,"Give Power"],[103,"Give Reputation"],[184,"Give Reputation"],[238,"Give Skill Points"],[236,"Give XP"],[10,"Heal"],[75,"Heal Mechanic"],[136,"Heal for % of Total Health"],[67,"Heal to Full"],[100,"Inebriate"],[1,"Instakill"],[68,"Interrupt Cast"],[138,"Jump (2)"],[42,"Jump Behind Target"],[41,"Jump to Target"],[134,"Kill Credit"],[90,"Kill Credit"],[98,"Knock Back"],[26,"Knows Defense Skill"],[37,"Knows Spell Defense (Obsolete)"],[210,"Learn Building"],[39,"Learn Language"],[118,"Learn Skill"],[44,"Learn Skill Step"],[36,"Learn Spell"],[57,"Learn Spell - Pet"],[172,"Mass Resurrection"],[158,"Milling"],[121,"Normalized Weapon Damage"],[220,"Obtain Follower"],[59,"Open Item & Fast Loot"],[33,"Open Object"],[27,"Persistent Area Aura"],[71,"Pickpocket"],[132,"Play Music"],[131,"Play Sound"],[12,"Portal"],[62,"Power Burn"],[60,"Proficiency"],[127,"Prospect"],[124,"Pull"],[187,"Randomize Archaeology Digsites"],[159,"Rename Pet"],[88,"Repair Building"],[109,"Resurrect Dead Pet"],[113,"Resurrect With Flat Health/Mana"],[18,"Resurrect with % Health/Mana"],[233,"Retrain Follower"],[2,"School Damage"],[77,"Script Effect"],[94,"Self Resurrect"],[61,"Send Script Event"],[78,"Server Side Script"],[229,"Set Follower Quality"],[208,"Set Reputation"],[89,"Siege Building Action"],[87,"Siege Damage"],[95,"Skin Mob"],[116,"Skin Player Corpse (PvP)"],[46,"Spawn Effect"],[126,"Spell Steal"],[84,"Stuck"],[28,"Summon"],[152,"Summon - Refer-A-Friend Program"],[188,"Summon Multiple Hunter Pets"],[50,"Summon Object"],[171,"Summon Object"],[76,"Summon Object - Temporary"],[56,"Summon Pet"],[85,"Summon Player"],[145,"Suspend Gravity"],[123,"Take Flight Path"],[55,"Tame Creature"],[114,"Taunt"],[154,"Teach Flight Path"],[244,"Teach Follower Ability"],[5,"Teleport"],[43,"Teleport Target to Caster"],[120,"Teleport to Closest Graveyard"],[63,"Threat"],[47,"Trade Skill"],[130,"Transfer Threat Done %"],[34,"Transform Item"],[32,"Trigger Missile"],[64,"Trigger Spell"],[140,"Trigger Spell from Target with Caster as Target"],[142,"Trigger Spell with Value"],[133,"Unlearn Spell"],[173,"Unlock Guild Bank Slot"],[170,"Update Player Auras"],[167,"Update Player Phase"],[204,"Upgrade Battle Pet"],[230,"Upgrade Follower/Player Item Level"],[74,"Use Glyph"],[151,"Validate Summon"],[31,"Weapon Damage - %"],[17,"Weapon Damage - No School"]],damagetype:[[1,"None"],[2,"Magic"],[3,"Melee"],[4,"Ranged"]],resourcetype:[[1,"Burning Embers"],[2,"Chi"],[3,"Demonic Fury"],[4,"Energy"],[5,"Focus"],[6,"Health"],[7,"Holy Power"],[8,"Mana"],[9,"Rage"],[10,"Runes"],[11,"Runic Power"],[12,"Shadow Orbs"],[13,"Soul Shard"]],conditionalspawn:[[1,"Any"],[3,"Season"],[4,"Time"],[5,"Weather"],[2,"None"]],breed:(function(d){var b=[];for(var c in d){b.push([c,"#"+c+" "+d[c]])}return b})(g_pet_breed_abbrev),build:(function(b){for(var a in b){b[a][1]=b[a][0]+" ("+parseInt(b[a][1]/10000)+"."+(parseInt((b[a][1]/100))%100)+"."+(b[a][1]%100)+")"}return b})([[5462,"11101"],[6180,"20001"],[6299,"20003"],[6546,"20012"],[6592,"20100"],[6624,"20100"],[6655,"20100"],[6678,"20100"],[6692,"20100"],[6729,"20101"],[6739,"20101"],[6757,"20102"],[6803,"20102"],[6898,"20103"],[6983,"20200"],[7091,"20200"],[7125,"20200"],[7175,"20200"],[7214,"20200"],[7272,"20200"],[7286,"20200"],[7304,"20202"],[7318,"20202"],[7359,"20203"],[7382,"20300"],[7485,"20300"],[7501,"20300"],[7521,"20300"],[7561,"20300"],[7741,"20302"],[7897,"20400"],[7923,"20400"],[7958,"20400"],[7994,"20400"],[8016,"20400"],[8031,"20400"],[8089,"20400"],[8125,"20402"],[8268,"20402"],[8278,"20402"],[8301,"20402"],[8391,"20402"],[8600,"20403"],[8601,"20403"],[8634,"30001"],[8681,"30001"],[8714,"30001"],[8770,"30001"],[8788,"30001"],[8820,"30001"],[8885,"30002"],[8905,"30002"],[8926,"30002"],[8962,"30002"],[8970,"30002"],[8982,"30002"],[9014,"30002"],[9038,"30002"],[9056,"30002"],[9061,"30002"],[9095,"30003"],[9138,"30003"],[9155,"30003"],[9183,"30003"],[9355,"30008"],[9464,"30008"],[9551,"30009"],[9614,"30100"],[9626,"30100"],[9637,"30100"],[9658,"30100"],[9684,"30100"],[9704,"30100"],[9722,"30100"],[9733,"30100"],[9767,"30100"],[9806,"30101"],[9835,"30101"],[9901,"30102"],[9947,"30103"],[10026,"30200"],[10048,"30200"],[10072,"30200"],[10083,"30200"],[10128,"30200"],[10147,"30200"],[10192,"30200"],[10314,"30200"],[10468,"30202"],[10482,"30202"],[10505,"30202"],[10522,"30300"],[10554,"30300"],[10571,"30300"],[10596,"30300"],[10623,"30300"],[10676,"30300"],[10772,"30300"],[10805,"30300"],[10835,"30300"],[10894,"30300"],[10952,"30300"],[10958,"30300"],[11159,"30300"],[11403,"30302"],[11573,"30303"],[11623,"30303"],[11685,"30303"],[11723,"30303"],[11993,"30305"],[12045,"30305"],[12124,"30305"],[12213,"30305"],[12340,"30305"],[12920,"40001"],[12941,"40001"],[12984,"40001"],[13033,"40001"],[13082,"40001"],[13131,"40001"],[13154,"40001"],[13156,"40001"],[13164,"40001"],[13205,"40001"],[13277,"40003"],[13286,"40003"],[13287,"40003"],[13329,"40003"],[13596,"40006"],[13623,"40006"],[13682,"40100"],[13698,"40100"],[13726,"40100"],[13750,"40100"],[13793,"40100"],[13812,"40100"],[13850,"40100"],[13875,"40100"],[13914,"40100"],[14002,"40200"],[14007,"40100"],[14040,"40200"],[14107,"40200"],[14133,"40200"],[14179,"40200"],[14199,"40200"],[14241,"40200"],[14265,"40200"],[14288,"40200"],[14299,"40200"],[14313,"40200"],[14316,"40200"],[14333,"40200"],[14480,"40200"],[14545,"40202"],[14732,"40300"],[14791,"40300"],[14809,"40300"],[14849,"40300"],[14890,"40300"],[14899,"40300"],[14911,"40300"],[14942,"40300"],[14966,"40300"],[14976,"40300"],[14980,"40300"],[14995,"40300"],[15005,"40300"],[15050,"40300"],[15211,"40302"],[15464,"50001"],[15508,"50001"],[15544,"50001"],[15589,"50001"],[15595,"40304"],[15640,"50001"],[15650,"50001"],[15657,"50001"],[15662,"50001"],[15668,"50001"],[15677,"50001"],[15689,"50001"],[15699,"50001"],[15726,"50001"],[15739,"50001"],[15752,"50001"],[15762,"50001"],[15781,"50001"],[15799,"50001"],[15851,"50003"],[15882,"50003"],[15890,"50004"],[15913,"50004"],[15929,"50004"],[15952,"50004"],[15961,"50004"],[15972,"50004"],[15983,"50004"],[16004,"50004"],[16010,"50004"],[16016,"50004"],[16030,"50005"],[16048,"50005"],[16057,"50005"],[16135,"50005"],[16139,"50100"],[16155,"50100"],[16173,"50100"],[16208,"50100"],[16231,"50100"],[16257,"50100"],[16281,"50100"],[16297,"50100"],[16309,"50100"],[16357,"50100"],[16408,"50200"],[16446,"50200"],[16467,"50200"],[16486,"50200"],[16503,"50200"],[16539,"50200"],[16547,"50200"],[16562,"50200"],[16577,"50200"],[16591,"50200"],[16597,"50200"],[16614,"50200"],[16618,"50200"],[16621,"50200"],[16631,"50200"],[16634,"50200"],[16648,"50200"],[16650,"50200"],[16669,"50200"],[16685,"50200"],[16701,"50200"],[16709,"50200"],[16716,"50200"],[16733,"50200"],[16758,"50300"],[16767,"50300"],[16781,"50300"],[16790,"50300"],[16825,"50300"],[16837,"50300"],[16853,"50300"],[16876,"50300"],[16888,"50300"],[16965,"50300"],[16977,"50300"],[16981,"50300"],[16983,"50300"],[16992,"50300"],[17056,"50400"],[17093,"50400"],[17124,"50400"],[17153,"50400"],[17161,"50400"],[17169,"50400"],[17191,"50400"],[17205,"50400"],[17227,"50400"],[17247,"50400"],[17252,"50400"],[17260,"50400"],[17271,"50400"],[17299,"50400"],[17314,"50400"],[17321,"50400"],[17325,"50400"],[17337,"50400"],[17345,"50400"],[17359,"50400"],[17371,"50400"],[17399,"50400"],[17481,"50401"],[17538,"50401"],[17585,"50402"],[17636,"50402"],[17645,"50402"],[17658,"50402"],[17688,"50402"],[17807,"50407"],[18019,"50407"],[18125,"60001"],[18156,"60001"],[18164,"60001"],[18179,"60001"],[18297,"60001"],[18322,"60001"],[18379,"60001"],[18443,"60001"],[18471,"60001"],[18500,"60001"],[18505,"60001"],[18522,"60001"],[18537,"60001"],[18546,"60001"],[18556,"60001"],[18566,"60001"],[18594,"60001"],[18612,"60001"],[18663,"60001"],[18689,"60001"],[18702,"60001"],[18711,"60001"],[18716,"60001"],[18738,"60001"],[18764,"60002"],[18816,"60002"],[18833,"60002"],[18837,"60002"],[18848,"60002"],[18850,"60002"],[18888,"60002"],[18898,"60002"],[18909,"60002"],[18922,"60002"],[18927,"60002"],[18935,"60002"],[18950,"60002"],[18988,"60002"],[18996,"60002"],[19000,"60002"],[19033,"60002"],[19034,"60002"],[19057,"60003"],[19103,"60003"],[19116,"60003"],[19243,"60003"],[19342,"60003"],[19445,"60100"],[19480,"60100"],[19508,"60100"],[19533,"60100"],[19551,"60100"],[19567,"60100"],[19579,"60100"],[19592,"60100"],[19611,"60100"],[19622,"60100"],[19634,"60100"],[19678,"60100"],[19702,"60100"],[19711,"60102"],[19728,"60102"],[19750,"60102"],[19793,"60102"],[19802,"60102"],[19831,"60102"],[19865,"60102"],[19890,"60200"],[19906,"60200"],[19934,"60200"],[19953,"60200"],[19973,"60200"],[19988,"60200"],[20008,"60200"],[20033,"60200"],[20057,"60200"],[20061,"60200"],[20076,"60200"],[20104,"60200"],[20111,"60200"],[20141,"60200"],[20157,"60200"],[20173,"60200"],[20182,"60200"],[20201,"60200"],[20216,"60200"],[20253,"60200"],[20271,"60201"],[20328,"60201"],[20363,"60201"],[20395,"60202"],[20426,"60202"],[20438,"60202"],[20444,"60202"],[20490,"60202"],[20601,"60203"],[20655,"60203"],[20716,"60203"],[20726,"60203"],[20740,"70001"],[20756,"70001"],[20773,"70001"],[20779,"70001"],[20796,"70001"],[20810,"70001"],[20914,"70001"],[20979,"70001"],[20994,"70001"],[21071,"70001"],[21108,"70003"],[21134,"70003"],[21154,"70003"],[21232,"70003"],[21249,"70003"],[21267,"70003"],[21287,"70003"],[21384,"70003"],[21414,"70003"],[21491,"70003"],[21570,"70003"],[21655,"70003"],[21691,"70003"],[21737,"70003"],[21796,"70003"],[21846,"70003"],[21874,"70003"],[21953,"70003"],[21996,"70003"],[22018,"70003"],[22053,"70003"],[22077,"70003"],[22210,"70003"],[22217,"70003"],[22231,"70003"],[22248,"70003"],[22260,"70003"],[22266,"70003"],[22267,"70003"],[22271,"70003"],[22277,"70003"],[22280,"70003"],[22289,"70003"],[22290,"70003"],[22293,"70003"],[22306,"70003"],[22324,"70003"],[22345,"70003"],[22371,"70003"],[22396,"70003"],[22410,"70003"],[22423,"70003"],[22445,"70003"],[22451,"70003"],[22472,"70003"],[22484,"70003"],[22498,"70003"],[22522,"70003"],[22566,"70003"],[22594,"70003"],[22624,"70003"],[22685,"70100"],[22731,"70100"],[22747,"70100"],[22810,"70100"],[22844,"70100"],[22852,"70100"],[22864,"70100"],[22882,"70100"],[22900,"70100"],[22908,"70100"],[22950,"70100"],[22989,"70100"],[22995,"70100"],[22996,"70100"],[23038,"70105"],[23109,"70105"],[23138,"70105"],[23171,"70105"],[23178,"70105"],[23194,"70105"],[23222,"70100"],[23360,"70105"]]),missionMechanics:LANGfiMakeOptGroups([[19,["Aberration","1x1"]],[60,["Alchemy","1x0"]],[14,["Arakkoa","1x1"]],[15,["Beast","1x1"]],[61,["Blacksmithing","1x0"]],[17,["Breaker","1x1"]],[89,["Cliffs","4x0"]],[16,["Demon","1x1"]],[22,["Desert","1x0"]],[62,["Enchanting","1x0"]],[63,["Engineering","1x0"]],[26,["Forest","4x0"]],[18,["Fury","1x1"]],[67,["Inscription","1x0"]],[64,["Jewelcrafting","1x0"]],[25,["Jungle","1x0"]],[65,["Leatherworking","1x0"]],[21,["Mountains","4x0"]],[12,["Ogre","1x1"]],[11,["Orc","1x1"]],[29,["Plains","4x0"]],[20,["Primal","1x1"]],[23,["Snow","1x0"]],[28,["Swamp","1x0"]],[66,["Tailoring","1x0"]],[27,["Town","4x0"]],[13,["Undead","1x1"]],[24,["Underground","1x0"]]],g_threat_categories_by_follower_type),missionThreats:LANGfiMakeOptGroups([[122,["Ambush","4x2"]],[76,["Battleship","2x2"]],[109,["Boss","4x2"]],[113,["Boss","4x2"]],[114,["Boss","4x2"]],[74,["Carrier","2x2"]],[80,["Chaotic Whirlpools","2x2"]],[88,["Cursed Crew","2x2"]],[6,["Danger Zones","1x2"]],[9,["Deadly Minions","1x2"]],[79,["Dense Fog","2x2"]],[75,["Destroyer","2x2"]],[82,["Evasive","2x2"]],[85,["Expert Captain","2x2"]],[84,["First Strike","2x2"]],[3,["Group Damage","1x2"]],[110,["Hazard","4x2"]],[77,["Icy Water","2x2"]],[87,["Land Objective","2x2"]],[4,["Magic Debuff","1x2"]],[2,["Massive Strike","1x2"]],[83,["Minelayer","2x2"]],[7,["Minion Swarms","1x2"]],[115,["Minions","4x2"]],[8,["Powerful Spell","1x2"]],[121,["Spell","4x2"]],[78,["Stormy Weather","2x2"]],[73,["Submarine","2x2"]],[81,["Swift","2x2"]],[10,["Timed Battle","1x2"]],[1,["Wild Aggression","4x2"]]],g_threat_categories_by_follower_type),counteredMechanics:LANGfiMakeOptGroups([[19,["Aberration","1x1"]],[60,["Alchemy","1x0"]],[122,["Ambush","4x2"]],[14,["Arakkoa","1x1"]],[76,["Battleship","2x2"]],[15,["Beast","1x1"]],[61,["Blacksmithing","1x0"]],[109,["Boss","4x2"]],[113,["Boss","4x2"]],[114,["Boss","4x2"]],[17,["Breaker","1x1"]],[74,["Carrier","2x2"]],[80,["Chaotic Whirlpools","2x2"]],[89,["Cliffs","4x0"]],[88,["Cursed Crew","2x2"]],[6,["Danger Zones","1x2"]],[9,["Deadly Minions","1x2"]],[16,["Demon","1x1"]],[79,["Dense Fog","2x2"]],[22,["Desert","1x0"]],[75,["Destroyer","2x2"]],[62,["Enchanting","1x0"]],[63,["Engineering","1x0"]],[82,["Evasive","2x2"]],[85,["Expert Captain","2x2"]],[84,["First Strike","2x2"]],[26,["Forest","4x0"]],[18,["Fury","1x1"]],[3,["Group Damage","1x2"]],[110,["Hazard","4x2"]],[77,["Icy Water","2x2"]],[67,["Inscription","1x0"]],[64,["Jewelcrafting","1x0"]],[25,["Jungle","1x0"]],[87,["Land Objective","2x2"]],[65,["Leatherworking","1x0"]],[4,["Magic Debuff","1x2"]],[2,["Massive Strike","1x2"]],[83,["Minelayer","2x2"]],[7,["Minion Swarms","1x2"]],[115,["Minions","4x2"]],[21,["Mountains","4x0"]],[12,["Ogre","1x1"]],[11,["Orc","1x1"]],[29,["Plains","4x0"]],[8,["Powerful Spell","1x2"]],[20,["Primal","1x1"]],[23,["Snow","1x0"]],[121,["Spell","4x2"]],[78,["Stormy Weather","2x2"]],[73,["Submarine","2x2"]],[28,["Swamp","1x0"]],[81,["Swift","2x2"]],[66,["Tailoring","1x0"]],[10,["Timed Battle","1x2"]],[27,["Town","4x0"]],[13,["Undead","1x1"]],[24,["Underground","1x0"]],[1,["Wild Aggression","4x2"]]],g_threat_categories_by_follower_type),counteredFollowerMechanics:LANGfiMakeOptGroups([[19,["Aberration","1x1"]],[60,["Alchemy","1x0"]],[14,["Arakkoa","1x1"]],[15,["Beast","1x1"]],[61,["Blacksmithing","1x0"]],[17,["Breaker","1x1"]],[6,["Danger Zones","1x2"]],[9,["Deadly Minions","1x2"]],[16,["Demon","1x1"]],[22,["Desert","1x0"]],[62,["Enchanting","1x0"]],[63,["Engineering","1x0"]],[26,["Forest","1x0"]],[18,["Fury","1x1"]],[3,["Group Damage","1x2"]],[67,["Inscription","1x0"]],[64,["Jewelcrafting","1x0"]],[25,["Jungle","1x0"]],[65,["Leatherworking","1x0"]],[4,["Magic Debuff","1x2"]],[2,["Massive Strike","1x2"]],[7,["Minion Swarms","1x2"]],[21,["Mountains","1x0"]],[12,["Ogre","1x1"]],[11,["Orc","1x1"]],[29,["Plains","1x0"]],[8,["Powerful Spell","1x2"]],[20,["Primal","1x1"]],[23,["Snow","1x0"]],[28,["Swamp","1x0"]],[66,["Tailoring","1x0"]],[10,["Timed Battle","1x2"]],[27,["Town","1x0"]],[13,["Undead","1x1"]],[24,["Underground","1x0"]],[1,["Wild Aggression","1x2"]]],g_threat_categories_by_follower_type),counteredShipMechanics:LANGfiMakeOptGroups([[76,["Battleship","2x2"]],[74,["Carrier","2x2"]],[80,["Chaotic Whirlpools","2x2"]],[88,["Cursed Crew","2x2"]],[79,["Dense Fog","2x2"]],[75,["Destroyer","2x2"]],[82,["Evasive","2x2"]],[85,["Expert Captain","2x2"]],[84,["First Strike","2x2"]],[77,["Icy Water","2x2"]],[87,["Land Objective","2x2"]],[83,["Minelayer","2x2"]],[78,["Stormy Weather","2x2"]],[73,["Submarine","2x2"]],[81,["Swift","2x2"]]],g_threat_categories_by_follower_type),counteredChampionMechanics:LANGfiMakeOptGroups([[122,["Ambush","4x2"]],[109,["Boss","4x2"]],[113,["Boss","4x2"]],[114,["Boss","4x2"]],[89,["Cliffs","4x0"]],[26,["Forest","4x0"]],[110,["Hazard","4x2"]],[115,["Minions","4x2"]],[21,["Mountains","4x0"]],[29,["Plains","4x0"]],[121,["Spell","4x2"]],[27,["Town","4x0"]],[1,["Wild Aggression","4x2"]]],g_threat_categories_by_follower_type),missionAbilityCategories:[[6,"Environment Preference"],[7,"Increased Rewards"],[8,"Mission Duration"],[11,"Mission Success"],[9,"Other"],[5,"Profession"],[4,"Racial Preference"],[1,"Slayer"],[12,"Threat Counter"]],followerRaces:(function(d){var b=[];for(var c in d){b.push([c,d[c]])}b.sort(function(a,e){return a[1].localeCompare(e[1])});return b})(g_garrison_races[1]),shipRaces:(function(d){var b=[];for(var c in d){b.push([c,d[c]])}b.sort(function(a,e){return a[1].localeCompare(e[1])});return b})(g_garrison_races[2]),championRaces:(function(d){var b=[];for(var c in d){b.push([c,d[c]])}b.sort(function(a,e){return a[1].localeCompare(e[1])});return b})(g_garrison_races[4]),followerClasses:LANGfiMakeOptGroups([[32,["Affliction Warlock","9"]],[14,["Arcane Mage","8"]],[35,["Arms Warrior","1"]],[26,["Assassination Rogue","4"]],[5,["Balance Druid","11"]],[10,["Beast Master Hunter","3"]],[2,["Blood Death Knight","6"]],[17,["Brewmaster Monk","10"]],[27,["Combat Rogue","4"]],[33,["Demonology Warlock","9"]],[34,["Destruction Warlock","9"]],[23,["Discipline Priest","5"]],[29,["Elemental Shaman","7"]],[30,["Enhancement Shaman","7"]],[7,["Feral Druid","11"]],[15,["Fire Mage","8"]],[3,["Frost Death Knight","6"]],[16,["Frost Mage","8"]],[37,["Fury Warrior","1"]],[8,["Guardian Druid","11"]],[20,["Holy Paladin","2"]],[24,["Holy Priest","5"]],[12,["Marksmanship Hunter","3"]],[18,["Mistweaver Monk","10"]],[21,["Protection Paladin","2"]],[38,["Protection Warrior","1"]],[9,["Restoration Druid","11"]],[31,["Restoration Shaman","7"]],[22,["Retribution Paladin","2"]],[25,["Shadow Priest","5"]],[28,["Subtlety Rogue","4"]],[13,["Survival Hunter","3"]],[4,["Unholy Death Knight","6"]],[19,["Windwalker Monk","10"]]],g_chr_classes),shipClasses:LANGfiMakeOptGroups([[77,["Abomination","0"]],[91,["Acolytes","0"]],[133,["Affliction Warlock","0"]],[96,["Ancient of War","0"]],[118,["Arcane Mage","0"]],[72,["Arcanists","0"]],[136,["Arms Warrior","0"]],[139,["Ascendants","0"]],[127,["Assassination Rogue","0"]],[111,["Balance Druid","0"]],[56,["Battleship","2"]],[61,["Battleship","1"]],[115,["Beast Mastery Hunter","0"]],[103,["Black Harvest Servants","0"]],[108,["Blood Death Knight","0"]],[86,["Bowmen","0"]],[143,["Brawler","0"]],[68,["Brewmaster Monk","0"]],[93,["Brigands","0"]],[94,["Buccaneers","0"]],[55,["Carrier","1"]],[60,["Carrier","2"]],[105,["Celestial","0"]],[78,["Demon Hunter C Troop","0"]],[102,["Demonic Horde","0"]],[134,["Demonology Warlock","0"]],[54,["Destroyer","1"]],[59,["Destroyer","2"]],[135,["Destruction Warlock","0"]],[142,["Dinner Guest","0"]],[124,["Discipline Priest","0"]],[98,["Earthcallers","0"]],[130,["Elemental Shaman","0"]],[73,["Elementals","0"]],[97,["Elementals","0"]],[131,["Enhancement Shaman","0"]],[104,["Felguard","0"]],[112,["Feral Druid","0"]],[119,["Fire Mage","0"]],[81,["Forest Friends","0"]],[109,["Frost Death Knight","0"]],[120,["Frost Mage","0"]],[137,["Fury Warrior","0"]],[82,["Grove Wardens","0"]],[113,["Guardian Druid","0"]],[63,["Havoc Demon Hunter","0"]],[121,["Holy Paladin","0"]],[125,["Holy Priest","0"]],[84,["Hunter C Troop","0"]],[80,["Illidari Warriors","0"]],[83,["Keepers of the Grove","0"]],[74,["Mage C Troop","0"]],[116,["Marksmanship Hunter","0"]],[69,["Mistweaver Monk","0"]],[140,["Outcast","0"]],[128,["Outlaw Rogue","0"]],[89,["Paladin C Troop","0"]],[90,["Priest C Troop","0"]],[122,["Protection Paladin","0"]],[138,["Protection Warrior","0"]],[114,["Restoration Druid","0"]],[132,["Restoration Shaman","0"]],[123,["Retribution Paladin","0"]],[75,["Risen Horde","0"]],[95,["Rogue C Troop","0"]],[126,["Shadow Priest","0"]],[100,["Shieldmaidens","0"]],[88,["Silver Hand Officers","0"]],[87,["Silver Hand Recruits","0"]],[76,["Soldiers of the Ebon Blade","0"]],[65,["Student of The Crane","0"]],[67,["Student of The Ox","0"]],[66,["Student of The Tiger","0"]],[57,["Submarine","1"]],[62,["Submarine","2"]],[129,["Subtlety Rogue","0"]],[117,["Survival Hunter","0"]],[79,["The Broken","0"]],[141,["Tower Steward","0"]],[53,["Transport","1"]],[58,["Transport","2"]],[110,["Unholy Death Knight","0"]],[99,["Valarjar","0"]],[64,["Vengeance Demon Hunter","0"]],[101,["Warrior C Troop","0"]],[70,["Windwalker Monk","0"]],[85,["Woodsmen","0"]],[92,["Zealots","0"]]],g_sides),championClasses:[[77,"Abomination"],[91,"Acolytes"],[32,"Affliction Warlock"],[133,"Affliction Warlock"],[96,"Ancient of War"],[14,"Arcane Mage"],[118,"Arcane Mage"],[72,"Arcanists"],[35,"Arms Warrior"],[136,"Arms Warrior"],[139,"Ascendants"],[26,"Assassination Rogue"],[127,"Assassination Rogue"],[5,"Balance Druid"],[111,"Balance Druid"],[56,"Battleship"],[61,"Battleship"],[10,"Beast Master Hunter"],[115,"Beast Mastery Hunter"],[103,"Black Harvest Servants"],[2,"Blood Death Knight"],[108,"Blood Death Knight"],[86,"Bowmen"],[143,"Brawler"],[17,"Brewmaster Monk"],[68,"Brewmaster Monk"],[93,"Brigands"],[94,"Buccaneers"],[55,"Carrier"],[60,"Carrier"],[105,"Celestial"],[27,"Combat Rogue"],[78,"Demon Hunter C Troop"],[102,"Demonic Horde"],[33,"Demonology Warlock"],[134,"Demonology Warlock"],[54,"Destroyer"],[59,"Destroyer"],[34,"Destruction Warlock"],[135,"Destruction Warlock"],[142,"Dinner Guest"],[23,"Discipline Priest"],[124,"Discipline Priest"],[98,"Earthcallers"],[29,"Elemental Shaman"],[130,"Elemental Shaman"],[73,"Elementals"],[97,"Elementals"],[30,"Enhancement Shaman"],[131,"Enhancement Shaman"],[104,"Felguard"],[7,"Feral Druid"],[112,"Feral Druid"],[15,"Fire Mage"],[119,"Fire Mage"],[81,"Forest Friends"],[3,"Frost Death Knight"],[109,"Frost Death Knight"],[16,"Frost Mage"],[120,"Frost Mage"],[37,"Fury Warrior"],[137,"Fury Warrior"],[82,"Grove Wardens"],[8,"Guardian Druid"],[113,"Guardian Druid"],[63,"Havoc Demon Hunter"],[20,"Holy Paladin"],[121,"Holy Paladin"],[24,"Holy Priest"],[125,"Holy Priest"],[84,"Hunter C Troop"],[80,"Illidari Warriors"],[83,"Keepers of the Grove"],[74,"Mage C Troop"],[12,"Marksmanship Hunter"],[116,"Marksmanship Hunter"],[18,"Mistweaver Monk"],[69,"Mistweaver Monk"],[140,"Outcast"],[128,"Outlaw Rogue"],[89,"Paladin C Troop"],[90,"Priest C Troop"],[21,"Protection Paladin"],[122,"Protection Paladin"],[38,"Protection Warrior"],[138,"Protection Warrior"],[9,"Restoration Druid"],[114,"Restoration Druid"],[31,"Restoration Shaman"],[132,"Restoration Shaman"],[22,"Retribution Paladin"],[123,"Retribution Paladin"],[75,"Risen Horde"],[95,"Rogue C Troop"],[25,"Shadow Priest"],[126,"Shadow Priest"],[100,"Shieldmaidens"],[88,"Silver Hand Officers"],[87,"Silver Hand Recruits"],[76,"Soldiers of the Ebon Blade"],[65,"Student of The Crane"],[67,"Student of The Ox"],[66,"Student of The Tiger"],[57,"Submarine"],[62,"Submarine"],[28,"Subtlety Rogue"],[129,"Subtlety Rogue"],[13,"Survival Hunter"],[117,"Survival Hunter"],[79,"The Broken"],[141,"Tower Steward"],[53,"Transport"],[58,"Transport"],[4,"Unholy Death Knight"],[110,"Unholy Death Knight"],[99,"Valarjar"],[64,"Vengeance Demon Hunter"],[101,"Warrior C Troop"],[19,"Windwalker Monk"],[70,"Windwalker Monk"],[85,"Woodsmen"],[92,"Zealots"]],shipCrews:LANGfiMakeOptGroups([[327,["Arakkoa Crew","0"]],[289,["Blood Elf Crew","2"]],[284,["Draenic Crew","1"]],[283,["Dwarven Crew","1"]],[287,["Gnomish Crew","1"]],[286,["Goblin Crew","2"]],[292,["Human Crew","1"]],[315,["Murloc Crew","0"]],[288,["Night Elf Crew","1"]],[282,["Orc Crew","2"]],[294,["Pandaren Crew","0"]],[285,["Tauren Crew","2"]],[290,["Troll Crew","2"]],[293,["Undead Crew","2"]],[291,["Worgen Crew","1"]]],g_sides),draenorSeas:[[1,"Barrier Sea"],[2,"Evanescent Sea"],[3,"The South Sea"],[4,"Zangar Sea"]],championType:[[1,"Champion"],[2,"Troop"]],mogsetdungeon:null,mogsetpvp:null,mogsetraid:null,mogsetquesting:null,mogsetevent:null,flags:[[1,"0x00000001"],[2,"0x00000002"],[3,"0x00000004"],[4,"0x00000008"],[5,"0x00000010"],[6,"0x00000020"],[7,"0x00000040"],[8,"0x00000080"],[9,"0x00000100"],[10,"0x00000200"],[11,"0x00000400"],[12,"0x00000800"],[13,"0x00001000"],[14,"0x00002000"],[15,"0x00004000"],[16,"0x00008000"],[17,"0x00010000"],[18,"0x00020000"],[19,"0x00040000"],[20,"0x00080000"],[21,"0x00100000"],[22,"0x00200000"],[23,"0x00400000"],[24,"0x00800000"],[25,"0x01000000"],[26,"0x02000000"],[27,"0x04000000"],[28,"0x08000000"],[29,"0x10000000"],[30,"0x20000000"],[31,"0x40000000"],[32,"0x80000000"]]},filters_items:{addedinexpansion:"Added in expansion",addedinpatch:"Added in patch",addedinbuild:"Added in build",availabletoplayers:"Available to players",avgbuyout:"Average buyout price",avgmoney:"Average money contained",sepbagscanner:"Bag Scanner",bagscanany:"Found in any bag from...",bagscanpersonal:"Found in personal bags from...",bagscanguild:"Found in guild bank tabs from...",bindonequip:"Binds when equipped",bindonpickup:"Binds when picked up",bindonuse:"Binds when used",bindtoaccount:"Binds to Battle.net account",canbeequipped:"Can be worn/equipped",canbeupgraded:"Can be upgraded",transmogrifiable:"Transmogrifiable",changedinwotlk:"Changed in Wrath of the Lich King",changedinbuild:"Changed in build",classspecific:"Class-specific",conjureditem:"Conjured item",convertsappearance:"Converts appearance upon faction change",cooldown:"Cooldown (seconds)",soldonblackmarket:"Sold on the Black Market",soldiningamestore:"Sold in the In-Game Store",craftedprof:"Crafted by a profession",containedinsalvagecrate:"Contained in Salvage Crate",craftingreagent:"Crafting Reagent",damagetype:"Damage type",deprecated:"Deprecated",disenchantable:"Disenchantable",disenchantsinto:"Disenchants into...",dropsin:"Drops in... (Zone)",dropsinheroic:"Drops in Heroic mode... (Dungeon)",dropsinheroic10:"Drops in Legacy Heroic 10 mode... (Raid)",dropsinheroic25:"Drops in Legacy Heroic 25 mode... (Raid)",dropsinnormal:"Drops in Normal mode... (Dungeon)",dropsinnormalraid:"Drops in Normal mode... (Raid)",dropsinheroicraid:"Drops in Heroic mode... (Raid)",dropsinnormal10:"Drops in Legacy Normal 10 mode... (Raid)",dropsinnormal25:"Drops in Legacy Normal 25 mode... (Raid)",dropsinraidfinder:"Drops in Raid Finder mode... (Raid)",dropsinflexible:"Drops in Flexible mode... (Raid)",dropsinmythic:"Drops in Mythic mode... (Raid)",dropsinmythicdungeon:"Drops in Mythic mode... (Dungeon)",dropsintimewalking:"Drops in Timewalking mode... (Dungeon)",dura:"Durability",effecttext:"Effect text",fitsgemslot:"Fits a gem slot",fitsrelicslot:"Fits a relic slot",flavortext:"Flavor text",frompvpseason:"PvP Season...",glyphtype:"Glyph type",grantsartifactpower:"Grants artifact power",hascomments:"Has comments",hasflavortext:"Has a flavor text",hasgemsockets:"Has gem sockets",hasrelicsockets:"Has relic sockets",hasscreenshots:"Has screenshots",hassockets:"Has sockets",hasvideos:"Has videos",heroicitem:"Heroic item",icon:"Icon",id:"ID",locked:"Locked",lootspecialization:"Requires Loot Specialization...",eligiblebonusroll:"Eligible for bonus roll",millable:"Millable",notavailable:"Not available to players",objectivequest:"Objective of a quest",openable:"Openable",otdisenchanting:"Obtained through disenchanting",otfishing:"Obtained through fishing",otherbgathering:"Obtained through herb gathering",otitemopening:"Obtained through item opening",otlooting:"Obtained through looting",otmilling:"Obtained through milling",otmining:"Obtained through mining",otobjectopening:"Obtained through object opening",otpickpocketing:"Obtained through pick pocketing",otprospecting:"Obtained through prospecting",otpvp:"Obtained through PvP",otredemption:"Obtained through redemption",otsalvaging:"Obtained through salvaging",otskinning:"Obtained through skinning",partofset:"Part of an item set",partoftransmog:"Part of a transmog set",partoftransmognum:"Part of transmog set #...",partyloot:"Party loot",prospectable:"Prospectable",purchasablewithcopper:"Buy price (coppers)",purchasablewithitem:"Purchasable with an item...",purchasablewithcurrency:"Purchasable with a currency...",questitem:"Quest item",racespecific:"Race-specific",randomenchants:"Random enchantments (of the...)",randomlyenchanted:"Randomly enchanted",readable:"Readable",reagentforability:"Reagent for ability/profession",refundable:"Refundable",relatedevent:"Related world event",repaircost:"Repair cost (coppers)",reqskillrank:"Required skill level",requiresevent:"Requires a world event",requiresprof:"Requires a profession",requiresprofspec:"Requires a profession specialization",requiresrepwith:"Requires reputation with...",rewardedbyachievement:"Rewarded by an achievement",rewardedbyfactionquest:"Rewarded by a quest",rewardedbyquestin:"Rewarded by a quest in...",sellprice:"Sale price (coppers)",sepcommunity:"Community",sepgeneral:"General",sepsource:"Source",sourcetype:"Source type",smartloot:"Smart loot",soldbynpc:"Sold by NPC #...",stacksupto:"Stacks up to",soldbyvendor:"Sold by a vendor",startsquest:"Starts a quest",teachesspell:"Teaches a spell",thunderforged:"Thunderforged",warforged:"Warforged",timewarped:"Timewarped",tool:"Tool",toy:"Toy",unique:"Unique",uniqueequipped:"Unique-Equipped",unused:"Unused",usableinarenas:"Usable in arenas",usablewhenshapeshifted:"Usable when shapeshifted",sepstaffonly:"Staff only",flags:"Flags",flags2:"Flags (2)",flags3:"Flags (3)"},filters_item_sets:{sepgeneral:"General",addedinexpansion:"Added in expansion",addedinpatch:"Added in patch",availabletoplayers:"Available to players",id:"ID",pieces:"Number of pieces",bonustext:"Bonus effect text",heroic:"Heroic",relatedevent:"Related world event",sepcommunity:"Community",hascomments:"Has comments",hasscreenshots:"Has screenshots",hasvideos:"Has videos"},filters_npcs:{sepgeneral:"General",addedinexpansion:"Added in expansion",addedinpatch:"Added in patch",addedinbuild:"Added in build",canrepair:"Can repair",faction:"Faction",relatedevent:"Related world event",foundin:"Found in...",health:"Health",mana:"Mana",instanceboss:"Instance boss",startsquest:"Starts a quest",endsquest:"Ends a quest",usemodel:"Uses model #...",useskin:"Uses skin...",id:"ID",seploot:"Loot and Rewards",averagemoneydropped:"Average money dropped",gatherable:"Gatherable (herbalism)",salvageable:"Salvageable (engineering)",lootable:"Lootable",minable:"Minable (mining)",pickpocketable:"Pick pocketable",skinnable:"Skinnable",increasesrepwith:"Increases reputation with...",decreasesrepwith:"Decreases reputation with...",seputility:"Utility",auctioneer:"Auctioneer",banker:"Banker",battlemaster:"Battlemaster",flightmaster:"Flight master",guildmaster:"Guild master",innkeeper:"Innkeeper",talentunlearner:"Class trainer",tabardvendor:"Tabard vendor",stablemaster:"Stable master",trainer:"Trainer",vendor:"Vendor",itemupgrade:"Item upgrade",transmogrifier:"Transmogrifier",voidstorage:"Void storage",sepcommunity:"Community",hascomments:"Has comments",hasscreenshots:"Has screenshots",hasvideos:"Has videos",sepstaffonly:"Staff only",haslocation:"Has location"},filters_objects:{sepgeneral:"General",addedinexpansion:"Added in expansion",addedinpatch:"Added in patch",addedinbuild:"Added in build",foundin:"Found in...",requiredskilllevel:"Required skill level (herbs/veins/footlockers)",relatedevent:"Related world event",startsquest:"Starts a quest",endsquest:"Ends a quest",id:"ID",seploot:"Loot",averagemoneycontained:"Average money contained",openable:"Openable",sepcommunity:"Community",hascomments:"Has comments",hasscreenshots:"Has screenshots",hasvideos:"Has videos"},filters_quests:{sepgeneral:"General",addedinexpansion:"Added in expansion",addedinpatch:"Added in patch",addedinbuild:"Added in build",relatedevent:"Related world event",daily:"Daily",weekly:"Weekly",repeatable:"Repeatable",objectiveearnrepwith:"Objective: Earn reputation with...",countsforloremaster_stc:"Loremaster quest",sharable:"Sharable",startsfrom:"Starts from...",endsat:"Ends at...",suggestedplayers:"Suggested players",timer:"Timer (seconds)",availabletoplayers:"Available to players",id:"ID",classspecific:"Class-specific",racespecific:"Race-specific",setspvpflag:"Keeps you PvP flagged",sepgainsrewards:"Gains/rewards",experiencegained:"Experience gained",artifactexperiencegained:"Artifact Power gained",itemchoices:"Item choices",itemrewards:"Item rewards",followerrewarded:"Follower rewarded",moneyrewarded:"Money rewarded",spellrewarded:"Spell rewarded",titlerewarded:"Title rewarded",increasesrepwith:"Increases reputation with...",decreasesrepwith:"Decreases reputation with...",currencyrewarded:"Currency rewarded...",dynamicrewards:"Dynamic rewards",increasesskillin:"Increases skill in...",sepseries:"Series",firstquestseries:"First quest of a series",lastquestseries:"Last quest of a series",partseries:"Part of a series",sepcommunity:"Community",hascomments:"Has comments",hasscreenshots:"Has screenshots",hasvideos:"Has videos",lacksstartend:"Lacks start or end",sepstaffonly:"Staff only",flags:"Flags"},filters_spells:{sepgeneral:"General",addedinexpansion:"Added in expansion",addedinpatch:"Added in patch",addedinbuild:"Added in build",changedinbuild:"Changed in build",prcntbasemanarequired:"% of base mana required",casttime:"Cast time",channeled:"Channeled",firstrank:"First rank",lastrank:"Last rank",rankno:"Rank #...",proficiencytype:"Proficiency type",specializationtype:"Specialization type",rewardsskillups:"Rewards skill points",manaenergyragecost:"Resource cost",requiresnearbyobject:"Requires a nearby object",hasreagents:"Has reagents",researchproject:"Research project",scaling:"Scales with level",requiresprofspec:"Requires a profession specialization",requiresfaction:"Requires faction",resourcetype:"Resource type",source:"Source",trainingcost:"Training cost",usableinbrawlersguild:"Usable only in Brawler's Guild",usablewhenshapeshifted:"Usable when shapeshifted",id:"ID",icon:"Icon",appliesaura:"Effect Aura type",effecttype:"Effect type",scalingap:"Scales with attack power",scalingsp:"Scales with spell power",sepcombat:"Combat",sepattributes:"Attributes",combatcastable:"Castable in combat",chancetocrit:"Chance to critically hit",chancetomiss:"Chance to miss",persiststhroughdeath:"Persists through death",requiresmetamorphosis:"Requires Metamorphosis",requiressymbiosis:"Requires Symbiosis",requiresstealth:"Requires Stealth",spellstealable:"Spellstealable",damagetype:"Damage type",usablewhenstunned:"Usable when stunned",usableinbgs:"Usable only in battlegrounds",usableinarenas:"Usable in arenas",disregardimmunity:"Disregards immunity",disregardschoolimmunity:"Disregards school immunity",reqrangedweapon:"Requires a ranged weapon",onnextswingplayers:"On next swing (players)",passivespell:"Passive spell",hiddenaura:"Aura is hidden",onnextswingnpcs:"On next swing (npcs)",daytimeonly:"Can only be used during daytime",nighttimeonly:"Can only be used during nighttime",indoorsonly:"Can only be used indoors",outdoorsonly:"Can only be used outdoors",damagedependsonlevel:"Spell damage depends on caster level",stopsautoattack:"Stops auto-attack",cannotavoid:"Cannot be dodged, parried or blocked",usabledead:"Can be used while dead",usablemounted:"Can be used while mounted",usablesitting:"Can be used while sitting",delayedrecoverystarttime:"Starts cooldown after aura fades",uncancellableaura:"Aura cannot be cancelled",usesallpower:"Uses all power",channeled:"Channeled",cannotreflect:"Cannot be reflected",usablestealthed:"Does not break stealth",harmful:"All spell effects are harmful",targetnotincombat:"The target cannot be in combat",nothreat:"Generates no threat",pickpocket:"Pickpocket spell",dispelauraonimmunity:"Remove auras on immunity",reqfishingpole:"Requires fishing pole",requntappedtarget:"Requires untapped target",targetownitem:"Target must be own item",doesntreqshapeshift:"Does not require shapeshift",foodbuff:"Food/Drink buff",targetonlyplayer:"Can only target the player",reqmainhand:"Requires main hand weapon",doesntengagetarget:"Does not engage target",reqwand:"Requires a wand",reqoffhand:"Requires an off-hand weapon",nolog:"Does not appear in log",auratickswhileloggedout:"Continues while logged out",onetargetaura:"The aura can only affect one target",startstickingatapplication:"Starts ticking at aura application",usableconfused:"Usable while confused",usablefeared:"Usable while feared",onlyarena:"Only usable in arena",notinraid:"Cannot be used in a raid",paladinaura:"Paladin aura",totemspell:"Totem",masteryspell:"Mastery spell",bandagespell:"Bandage spell",sepcommunity:"Community",hascomments:"Has comments",hasscreenshots:"Has screenshots",hasvideos:"Has videos",sepstaffonly:"Staff only",flags1:"Flags (1)",flags2:"Flags (2)",flags3:"Flags (3)",flags4:"Flags (4)",flags5:"Flags (5)",flags6:"Flags (6)",flags7:"Flags (7)",flags8:"Flags (8)",flags9:"Flags (9)",flags10:"Flags (10)",flags11:"Flags (11)",flags12:"Flags (12)",flags13:"Flags (13)"},filters_pet_abilities:{sepgeneral:"General",id:"ID",changedinbuild:"Changed in build",strongvs:"Strong vs.",weakvs:"Weak vs.",passive:"Passive",pettype:"Pet type",abilityfamily:"Ability family",changesweather:"Changes weather",uniquetoonepet:"Unique",sepabilities:"Abilities",bonusduringstate_stc:"Bonus during state",bonusduringweather_stc:"Bonus during weather",cooldown:"Cooldown",damagedealt:"Damage dealt",damageability:"Damage ability",damageovertime:"Damage over time",healing:"Healing",healingability:"Healing ability",highmisschance:"High miss chance",moderatemisschance:"Moderate miss chance",multiplerounds:"Multiple rounds",teamabilities:"Team abilities",sepbuffs:"Buffs",accuracy:"Accuracy",criticalstrike:"Critical strike",damagereduction:"Damage reduction",damagereductionpercentage:"Damage reduction percentage",healing:"Healing",health:"Health",healthpercentage:"Health percentage",speed:"Speed",team:"Team",sepdebuffs:"Debuffs",damagetaken:"Damage taken",damagetakenpercentage:"Damage taken percentage",sepcombatorder:"Combat order",alwaysfirst:"Always first",strongerwhenfirst:"Stronger when first",strongerwhenlast:"Stronger when last",sepcommunity:"Community",hascomments:"Has comments",hasscreenshots:"Has screenshots",hasvideos:"Has videos"},filters_pet_species:{sepgeneral:"General",id:"ID",hasability:"Has ability #...",strongvs:"Strong vs.",weakvs:"Weak vs.",elite:"Elite",untameable:"Untameable",companion:"Companion",location:"Location",addedinpatch:"Added in patch",addedinexpansion:"Added in expansion",addedinbuild:"Added in build",source:"Source",unique:"Unique",cageable:"Cageable",conditionalspawn:"Conditional spawn",breed:"Breed"},filters_titles:{sepgeneral:"General",accountwide:"Account wide",availabletoplayers:"Available to players",faction:"Faction",expansion:"Added in expansion"},filters_achievements:{sepgeneral:"General",accountwideprogress:"Account-wide progress",addedinexpansion:"Added in expansion",addedinpatch:"Added in patch",addedinbuild:"Added in build",changedinbuild:"Changed in build",givesreward:"Gives a reward",rewardtext:"Reward text",location:"Location...",points:"Points",relatedevent:"Related world event",id:"ID",icon:"Icon",sepseries:"Series",firstseries:"First of a series",lastseries:"Last of a series",partseries:"Part of a series",sepcommunity:"Community",hascomments:"Has comments",hasscreenshots:"Has screenshots",hasvideos:"Has videos",sepstaffonly:"Staff Only",flags:"Flags"},filists:{sepgeneral:"General",updatedinpatch:"Updated in patch",armory:"Armory character",septalent:"Talents",deathknightspec:"Death Knight specialization",demonhunterspec:"Demon Hunter specialization",druidspec:"Druid specialization",hunterspec:"Hunter specialization",magespec:"Mage specialization",monkspec:"Monk specialization",paladinspec:"Paladin specialization",priestspec:"Priest specialization",roguespec:"Rogue specialization",shamanspec:"Shaman specialization",warlockspec:"Warlock specialization",warriorspec:"Warrior specialization",sepprofession:"Professions",alchemy:"Alchemy skill",blacksmithing:"Blacksmithing skill",enchanting:"Enchanting skill",engineering:"Engineering skill",herbalism:"Herbalism skill",inscription:"Inscription skill",jewelcrafting:"Jewelcrafting skill",leatherworking:"Leatherworking skill",mining:"Mining skill",skinning:"Skinning skill",tailoring:"Tailoring skill",sepsecondaryskill:"Secondary Skills",archaeology:"Archaeology skill",cooking:"Cooking skill",firstaid:"First Aid skill",fishing:"Fishing skill",sepcommunity:"Community",rating:"Average rating",hascomments:"Has comments"},filters_transmog_sets:{sepgeneral:"General",recolor:"Recolor",addedinexpansion:"Added in expansion",sepstyle:"Style",mogsetclassic:"Classic World Set",mogsetdungeon:"Dungeon Set",mogsetevent:"Event Set",mogsetgarrison:"Garrison Set",mogsetpvp:"PvP Set",mogsetraid:"Raid Set",mogsetquesting:"Questing Set"},filters_outfits:{sepgeneral:"General",creationdate:"Creation date",hasitemid:"Includes item ID",sepcommunity:"Community",comments:"Comments",rating:"Rating"},filters_followers:{sepgeneral:"General",changedinbuild:"Changed in build",race:"Race","class":"Specialization",sepabilities:"Abilities",hasability:"Has ability #...",counters:"Counters",maycounter:"May counter",sepsource:"Source",inn:"Recruited at the inn",rewardedbyfactionquest:"Rewarded by a quest",rewardedbyachievement:"Rewarded by an achievement",soldbyvendor:"Sold by a vendor",sepstaffonly:"Staff Only",flags:"Flags"},filters_champions:{sepgeneral:"General",changedinbuild:"Changed in build",race:"Race","class":"Specialization",combatally:"Combat Ally",type:"Type",sepstaffonly:"Staff Only",flags:"Flags"},filters_mission_abilities:{sepgeneral:"General",assignedtobuilding:"Benefits when assigned",obtainedrandomly:"Can be obtained randomly",category:"Category",changedinbuild:"Changed in build",permanent:"Permanent",exclusive:"Exclusive",counters:"Counters",countersraces:"Racial preference",countersenvironments:"Environment preference",countersabilities:"Counters abilities",sepbuffs:"Buffs",experience:"Experience gained",resources:"Garrison resources",duration:"Mission duration",party:"Success with party members",travel:"Travel time",treasure:"Treasure",success:"Success chance"},filters_missions:{sepgeneral:"General",addedinpatch:"Added in patch",changedinbuild:"Changed in build",cost:"Cost",duration:"Duration (minutes)",available:"Available (hours)",encounters:"Encounters",followers:"Followers",mechanic:"Mechanic",sea:"Sea",threat:"Threat",sepattributes:"Attributes",exhausting:"Exhausting",rare:"Rare",sepgainsrewards:"Gains/rewards",experiencegained:"Experience gained",currencyrewarded:"Currency rewarded...",itemrewards:"Item rewards",legendaryitems:"Legendary items",followerupgrades:"Follower upgrades",geartokens:"Gear tokens",moneyrewarded:"Money rewarded",vanityitems:"Vanity items"},filters_ships:{sepgeneral:"General",changedinbuild:"Changed in build",race:"Race","class":"Specialization",sepabilities:"Abilities",hasability:"Has ability #...",counters:"Counters",crew:"Crew",maycounter:"May counter",sepsource:"Source",inn:"Recruited at the inn",rewardedbyfactionquest:"Rewarded by a quest",rewardedbyachievement:"Rewarded by an achievement",soldbyvendor:"Sold by a vendor",sepstaffonly:"Staff Only",flags:"Flags"},filters_icons:{sepgeneral:"General",addedinexpansion:"Added in expansion",addedinpatch:"Added in patch",addedinbuild:"Added in build",sepuses:"Uses",used:"Times Used",items:"Used by $1".replace("$1","Items"),spells:"Used by $1".replace("$1","Spells"),achievements:"Used by $1".replace("$1","Achievements"),battlepets:"Used by $1".replace("$1","Battle Pets"),battlepetabilities:"Used by $1".replace("$1","Battle Pet Abilities"),currencies:"Used by $1".replace("$1","Currencies"),missionabilities:"Used by $1".replace("$1","Mission Abilities"),garrisonbuildings:"Used by $1".replace("$1","Garrison Buildings"),hunterpets:"Used by $1".replace("$1","Hunter Pets"),threats:"Used by $1".replace("$1","Threats"),classes:"Used by $1".replace("$1","Classes")},fonavtopic:"$1 topic",fonavtopics:"$1 topics",fonavpost:"$1 post",fonavposts:"$1 posts",foboards:{0:"WoW General",16:"WoW Help",20:"Theorycrafting",14:"Dungeons & Raids",15:"PvP",18:"Death Knight",29:"Demon Hunter",3:"Druid",4:"Hunter",6:"Mage",28:"Monk",7:"Paladin",8:"Priest",5:"Rogue",9:"Shaman",10:"Warlock",11:"Warrior",13:"Professions",12:"UI & Macros",19:"Lore & Roleplaying",17:"Guild Recruitment",2:"Off-Topic",1:"Wowhead Feedback",22:"WoW Official Magazine",23:"StarCraft II",24:"Diablo III",25:"Forum Games",27:"Computer Hardware",32:"Hearthhead (Closed)"},lvboard_by:"By ",lvboard_pages:"Pages: ",lvtopic_whuser:"Wowhead User",lvtopic_joined:"Joined ",lvtopic_posts:"Posts: ",lvtopic_role:"Role: ",lvtopic_roles:"Roles: ",lvtopic_edit:"Edit",lvtopic_delete:"Delete",lvtopic_quote:"Quote",lvtopic_reply:"Reply",lvtopic_by:"By ",lvtopic_lastedit:"Last edited by ",message_postdeleted:"The post is now deleted.",message_allow5min:"Please allow up to 5 minutes for this to be reflected on the site.",message_topicsubject:"Please enter a subject for your topic.",message_subjectlimit:"Subjects cannot have more than 100 characters.",message_topicrenamed:"The topic has been renamed.",message_topiclocked:"The topic is now locked.",message_topicunlocked:"The topic is no longer locked.",message_topicdeleted:"The topic is now deleted.",message_topicundeleted:"The topic is no longer deleted.",confirm_deletepost:"Are you sure you want to delete this post?",prompt_renametopic:"You may set a new subject for this topic:",ib_readmoretip:"Read more about your spec with our guide: ",ib_seemoretip:"See more upgrades here.",ib_selectolditem:"Select old item",ib_selectnewitem:"Select new item",ib_newitem:"New Item",ib_olditem:"Old Item",ib_statpriotip:"Stat priorities at your item level: ",ib_itemsetwarningtip:"Set bonuses may affect the result.",ib_selectweightstip:"Select your item weights using the Class and Specialization menus above!",ib_trinketprocstip:"Trinket procs are not taken into account for tank and healer specs.",su_menu_equip:"Equip...",su_menu_replace:"Replace...",su_menu_unequip:"Unequip",su_menu_remove:"Remove",su_menu_addgem:"Add Gem...",su_menu_repgem:"Replace Gem...",su_menu_addenchant:"Add Enchant...",su_menu_repenchant:"Replace Enchant...",su_menu_addtinker:"Add Tinker...",su_menu_reptinker:"Replace Tinker...",su_menu_addsubitem:"Add Random Property...",su_menu_repsubitem:"Replace Random Property...",su_menu_additembonus:"Add Item Variation...",su_menu_clearitembonus:"Remove Item Variations",su_menu_upgrade:"Upgrade...",su_menu_reforge:"Reforge...",su_menu_extrasock:"Extra Socket",su_menu_display:"Display on Character",su_menu_clearenh:"Clear Enhancements",su_menu_links:"Links",su_menu_compare:"Compare",su_menu_upgrades:"Find Upgrades",su_menu_challengemode:"Challenge Mode",su_menu_pvpmode:"PvP Mode",pd_sheathed:"Sheathed",pd_hd:"HD",pd_sd:"SD",pd_fullscreen:"Double-click model to view fullscreen",pd_mount:"Choose Mount",dr_removegear:"Remove Current Gear",dr_dialog_appearancesettings:"Appearance Settings",dr_importprofiletip:"Importing a character will load their features and armor appearance.",dr_equip:"Equip $1",dr_equipped:"Equipped",dr_nolvdata:"Click the slot icons above to equip gear!",dr_menu_reforgeappearance:"Reforge Appearance",dr_savedoutfit:"Saved outfit to: $1",dr_needsmoreclothes:"Your character needs more clothes!",dr_saveasnewoutfit:"Save as New Outfit",dr_removemountfirst:"Remove your mount to save your outfit.",su_note_color:"Color: ",su_note_source:"Source: ",su_note_view:"View: ",su_note_type:"Type: ",su_note_name:"Name: ",su_note_sort:"Sort by: ",ddaysago:"$1 days ago",su_note_all:"All",su_note_bc:"BC",su_note_cata:"Cata",su_note_items:"Items",su_note_match:"Match",su_note_profs:"Professions",su_note_wotlk:"WotLK",su_note_mop:"MoP",su_note_wod:"WoD",su_note_usable:"Usable",su_note_stats:"Stats",su_note_other:"Other",su_notice:'First time? – Don\'t be shy! Just check out our <a href="/help=item-comparison" target="_blank">Help page</a>! <small class="q0"><a href="javascript:;">close</a></small>',su_itemtip:"Tip: Shift or right-click items for more options.",su_additems:"To begin, add some items.",su_autosaving:"Autosaving",su_viewsaved:"View saved comparison",su_savecompare:"Save",su_linkcompare:"Link to this comparison",su_clear:"Clear",su_help:"Help",su_addscale:"Weight scale",su_additem:"Item",su_addset:"Item set",su_toggle:"Click to toggle display",su_preset:"Preset: ",su_name:"Name: ",su_level:"Level: ",su_addweight:"Add another weight",su_applyweight:"Add",su_resetweight:"Reset",su_export:"Export",su_viewin3d:"View in 3D",su_split:"Split",su_customscale:"Custom scale #$1",su_comparing:"Comparing ",su_comparewith:" with ",su_note_name:"Name: ",su_searching3:'Searching for items named "$1"...',su_searching4:'Searching for item sets named "$1"...',su_specifyitem3:"Please enter an item name to search for.",su_specifyitem4:"Please enter an item set name to search for.",su_added3:'Added item <a href="/item=$1" class="q$2" target="_blank">[$3]</a> to comparison.',su_added4:'Added item set <a href="/itemset=$1" class="q$2" target="_blank">[$3]</a> to comparison.',su_noresults:'No results found for "$1"!',su_incobviousbuffs:"Includes obvious self-buffs",li_addlogin:"Log In to Save Lists",li_newlist:"New List",li_none:"None",li_errnotabs:"Error: This list has no tabs.",li_helpnotabs:'This list doesn\'t have any tabs yet! Click the <b>"New tab"</b> button above to add one!<div class="pad2"></div>Or you may choose from the list below:',li_category:"Category",li_update:"Update",li_fetch:'Position: <span>$1</span><br>$2: <span class="status-text">$3</span>',li_status:"Status",li_itemstats:"Item<br>\nStats",li_raidbuffed:"Raid<br>\nBuffed",li_type_bnet:"Battle.net Profile",li_type_custom:"Custom",li_type_convert:"Convert to $1",li_emptytab:"This tab is empty!",li_addentities_format:"Start adding $1",li_status0:"None",li_status1:"Queued",li_status2:"Syncing",li_status3:"Ready",li_status4:"Error","li_code-1":"Initializing","li_code-2":"Success","li_code-3":"Empty",li_code101:"Character checkout failure",li_code102:"Battle.net unreachable",li_code103:"Battle.net access denied",li_code104:"Character does not exist",li_code201:"Database error",li_code202:"Database error",li_code203:"Database error",li_code204:"Database error",li_code205:"Database error",li_code206:"Database error",li_code207:"Database error",li_code208:"Database error",li_code209:"Database error",li_code210:"Database error",li_code211:"Database error",li_adddesc:"Add description",li_addtoexistingtab:"Add to an existing tab",li_addtolist:"Add to list",li_addtoanotherlist:"Add to another list",li_armorycharactercomparison:"Armory Character Comparison",li_bnetsyncsettings:"Settings sync from Battle.net",li_changepetstats:"Change pet stats...",li_changequantity:"Change quantity...",li_changestanding:"Change standing...",li_character:"Character",li_characterplanner:"Character Planner",li_choosealist:"Choose a list",li_chooseatab:"Choose a tab",li_clicktocustomizesettings:"Click to customize settings",li_clicktochoosecat:"Click to choose category",li_clicktohide:"Click to hide",li_clicktopin:"Click to pin",li_clicktorefresh:"Click to Refresh",li_clicktounpin:"Click to unpin",li_clicktoresync:"Click to resync from Battle.net",li_clicktoshow:"Click to show",li_clicktosyncbnet:"Click to sync from Battle.net",li_createnewlist:"Create New List",li_createnewtab:"Create a new tab",li_custom:"Custom",li_customlists:"Custom Lists",li_customsettingsenabled:"Custom settings enabled",li_deletelistconfirm:"Are you sure you want to delete this list?",li_deleteprofileconfirm:"Are you sure you want to delete this profile?",li_deletetab:"Delete tab",li_deletetabconfirm:"Are you sure you wish to delete this tab?",li_entercontest:"Enter contest",li_enterfactionstanding:"Enter the total faction standing",li_enterquantity:"Enter the quantity",li_excl_caption:"Use the presets below to easily exclude entire categories.",li_excl_reqoppositefaction:"Requires opposite faction",li_excl_notavailus:"Not available on US servers",li_excl_notavailplayers:"Not available to players",li_excl_frompromotion:"Obtained from a promotion",li_excl_fromigstore:"Obtained from the In-Game Store",li_excl_viatcgcard:"Obtained via TCG loot redemption",li_excl_reqotherprof:"Requires another profession",li_excl_collectorreward:"Reward from a Collector edition",li_excl_temporary:"Temporary/Limited Charges",li_existingtab:"Existing tab",li_filloutdetails:"Please fill out the region, realm, and character name to continue.",li_filters:"Filters",li_genuinebnetprofile:"Genuine Battle.net Profile",li_hide:"Hide",li_linenumber:"$1 in line",li_invalidslot:"Invalid Slot",li_logintosave:"Log in to keep your temporary profiles from being deleted",li_logs:"Logs",li_lookupbnetprofile:"Lookup Battle.Net Profile",li_menu_addtransmog:"Add transmog...",li_menu_reptransmog:"Replace transmog...",li_menu_switchslot:"Switch slot",li_menu_modify:"Modify",li_myprofiles:"My Profiles",li_mode:"Mode",li_movetotab:"Move to tab",li_newtab:"New tab",li_noeditinmirrormode:"List cannot be in mirror mode to edit data.",li_notaddedtolistyet:"You have not added this to any list yet",li_owncustomlist:"Your Own Custom List",li_ownerhasntaddedyet:"The owner of this list has not added anything yet.",li_pin:"Pin",li_planner:"Planner",li_reload:"Reload",li_renametab:"Rename tab",li_reqcustommode:"List must be in custom mode to change settings.",li_savedtotab:"Saved to $1 tab",li_setstanding:"Set standing...",li_show:"Show",li_starrating:"Rating: $1 / $2",li_transmog:"Transmog",li_uncategorized:"Uncategorized",li_unpin:"Unpin",li_updatelistmode:"Choose profile mode",li_vendorsin:"Vendors in",li_viewonbnet:"View on Battle.net",li_verify:"Verify",li_verified:"Verified",li_verification:"Verification",li_verifytip:"Verify your ownership of this character.",li_logintoverify:"Log in to Wowhead first to verify ownership of this profile.",li_loginwow:"Log in to World of Warcraft.",li_removearmor:"Remove the armor from: ",li_logoutwow:"Log out of World of Warcraft.",li_updatetip:"Update your character profile.",maps_zones:"Zones",maps_majorzones:"Major Zones",maps_other:"Other",maps_ek:"Eastern Kingdoms",maps_kalimdor:"Kalimdor",maps_outland:"Outland",maps_northrend:"Northrend",maps_pandaria:"Pandaria",maps_warlords:"Draenor",maps_legion:"Legion",maps_instances:"Instances",maps_dungeons:"Dungeons",maps_raids:"Raids",maps_microdungeons:"Subzones",maps_more:"More",maps_battlegrounds:"Battlegrounds",maps_scenarios:"Scenarios",maps_miscellaneous:"Miscellaneous",maps_azeroth:"Azeroth",maps_cosmicmap:"Cosmic Map",maps_elsewhere:"Elsewhere in Azeroth",maps_maelstrom:"The Maelstrom",guide_add:"Add %s",ab_getstarted:"Select a race, class, and specialization above to get started",ab_choosearace:"Choose a Race",ab_chooseaclass:"Choose a class",ab_chooseaspec:"Choose a Specialization",ab_instructions:"Drag spells or macros to the action bar slots.<br>Click a slot to choose its hotkey.",ab_assignhotkey:"Press hotkey",ab_removehotkey:"Esc to remove hotkey",ab_cancelhotkey:"Click again to cancel",ab_togglemacros:"Macros",ab_choosemacroicon:"Choose Macro Icon",ab_macronameph:"Name me!",ab_unnamedmacro:"Unnamed Macro",tooltip_setfocus:'<b>Set focus</b><br /><span class="q1">Compare all other columns to this one.</span>',tooltip_removefocus:"Remove focus",tooltip_gains:"Bonuses you gain above the minimum<br />shared stats between all columns.",instancereqlevel_tip:"Level required to enter the instance",lfgreqlevel_tip:"Level required to queue for the instance<br />through the Dungeon Finder tool.",lfgreqitemlevel_tip:"Average item level required to queue for the<br />instance through the Dungeon Finder tool.",lfgreqheroicitemlevel_tip:"Average item level required to queue for the<br />instance in heroic mode through the Dungeon<br />Finder tool.",message_deleteitem:"Delete $1?",message_deletegroup:"Delete this group?",achievements_label:"Achievements:",classguide_intro:"Intro",classguide_items:"Important Items",classguide_confirmremoval:"Remove %s?",classguide_addtag:"Add Tag",classguide_moveup:"Move Up",classguide_movedown:"Move Down",classguide_moveleft:"Move Left",classguide_moveright:"Move Right",classguide_remove:"Remove",classguide_statpriorities:"Stat Priorities",classguide_stats:"Stats",classguide_stat:"Stat",classguide_attributes:"Attributes",classguide_enhancements:"Enhancements",classguide_offensive:"Offensive",classguide_defensive:"Defensive",classguide_secondary:"Secondary",classguide_tertiary:"Tertiary",classguide_setweight:"Set Weight",classguide_enterweight:"Enter a weight for %s:",classguide_gems:"Gems",classguide_gem:"Gem",classguide_enchants:"Enchants",classguide_enchant:"Enchant",classguide_legacy:"Legacy",classguide_consumables:"Consumables",classguide_consumable:"Consumable",classguide_food:"Food or Drink",classguide_flask:"Flask",classguide_potion:"Potion",classguide_rune:"Rune",tc_title:"Talent Calculator",tc_specclasstalents:"%1$s %2$s Talents",tc_legionprep:"Be prepared for Legion!",tc_legioncalc:"Legion Talent Calculator",tc_honorcalc:"Honor Talent Calculator",tc_artifactcalc:"Artifact Weapon Calculator",tc_newtalentsq:"What do you think of the new talents?",tc_letusknow:"Let us know in the comments below!",tc_talents:"%s Talents",tc_rank:"Rank $1/$2",tc_tier:"Requires $1 points in $2 Talents",tc_prereq:"Requires $1 point in $2",tc_prereqpl:"Requires $1 points in $2",tc_learn:"Click to learn",tc_unlearn:"Right-click to unlearn",tc_nextrank:"Next rank: ",tc_inccap:"Click to raise the level cap to 85",tc_deccap:"Click to decrease the level cap to 80",tc_addbon:"Click to add 4 bonus points from<br />the Beast Mastery talent",tc_rembon:"Click to remove the bonus<br />points from Beast Mastery",tc_masterytiptitle:"Mastery bonuses",tc_masterytipdesc:"The talent tree you're specialized in grants 3 bonuses that scale with the number of points spent in that tree. These bonuses stop increasing once 51 points have been spent in that tree.",tc_masterytiptrain:"You may learn Mastery from your trainer at level 80.",tc_ingamepreview:"Use in-game!",tc_level:"Level %s",tc_selectaspec:"Select one specialization. Available at level <b>10</b>.",tc_specializationability:"Specialization ability",tc_selectspec:"Select a specialization",tc_passive:"Passive",tc_spec:"Spec",tc_perks:"Perks",tc_show:"Show",tc_viewintc:"View in Talent Calculator",tc_specialization:"Specialization",tc_point:"point",tc_points:"Points",tc_none:"None",tc_printh:"Level $1 $2",tc_link:"Link to this build",tc_reset:"Reset",tc_resetall:"Reset all",tc_resettree:"Reset tree",tc_resetglyphs:"Reset glyphs",tc_lock:"Lock",tc_unlock:"Unlock",tc_reset:"reset",tc_ptsleft:"Points left: ",tc_ptsspent:"Points spent: ",tc_reqlevel:"Required level: ",tc_levelcap:"Level cap: ",tc_bonuspts:"Bonus points: ",tc_mastery:"Mastery: ",tc_help:"Help",tc_import:"Import",tc_summary:"Summary",tc_restore:"Restore",tc_link:"Link",tc_print:"Print",tc_glyphs:"Glyphs",tc_empty:"Empty",tc_locked:"Locked",tc_glyph1:"Major Glyph",tc_glyph2:"Minor Glyph",tc_lockgly:"Unlocked at level $1",tc_addgly:"Click to inscribe your spellbook",tc_remgly:"Right-click to remove",tc_nonegly:"None",tc_glyphnote:"Some glyphs were filtered out due to the specified level restriction.",tc_viewtalents:"View talent trees",tc_viewsummary:"View summaries",tc_createnewguide:"Create New Guide",tc_createpvpguide:"Create PvP Guide",tc_createmainguide:"Create Guide with Main Talents",tc_guideannouncement:'Step 2: Next, enter your other talent selections on this calculator. Then click "Create New Guide" to fill out the rest of your talent guide.',htc_honortalents:"%s Honor Talents",cg_link:"Class Guides and Resources",cg_spec_format:"$1 $2 Guide",bptc_allbattlepets:"All Battle Pets",bptc_chooseapet:"Choose a pet for this slot",bptc_clicktochoosepet:"Click to choose pet",bptc_petinfixedteam:"This pet is part of a fixed team and cannot be changed",bptc_clicktoremovepet:"Click to remove pet",bptc_clicktoremovepetteam:"Click to remove pet team",bptc_clicktochangequality:"Click to change quality",bptc_nootherqualities:"No other qualities available",bptc_clicktochangebreed:"Click to change breed",bptc_nootherbreeds:"No other breeds available",bptc_petlist:"Pet List",bptc_battleneterror:"Error fetching $1 on $2 $3",bptc_s_vulnerable:"Vulnerable:",bptc_s_resilient:"Resilient:",bptc_s_weak:"Weak:",bptc_s_strong:"Strong:",bptc_s_healing:"Healing:",bptc_s_buffs:"Buffs:",bptc_s_states:"States:",bptc_s_weather:"Weather:",bptc_s_vulnerable_def:"Pets take more damage from these families of attacks",bptc_s_resilient_def:"Pets take less damage from these families of attacks",bptc_s_weak_def:"Attacks deal less damage against these families of pets",bptc_s_strong_def:"Attacks deal more damage against these families of pets",bptc_s_healing_def:"These abilities heal pets",bptc_s_buffs_def:"These abilities can apply buffs or auras on pets",bptc_s_states_def:"These abilities can apply states on pets which other abilities can exploit",bptc_s_weather_def:"These abilities can change the weather which affects all pets",bptc_s_vulnerable_tt:"$1 is vulnerable to $2 attacks",bptc_s_resilient_tt:"$1 is resilient against $2 attacks",bptc_s_weak_tt:"This ability by $1 is weak against $2 pets",bptc_s_weak_ttvs:"This ability by $1 is weak against $2 $3",bptc_s_strong_tt:"This ability by $1 is strong against $2 pets",bptc_s_strong_ttvs:"This ability by $1 is strong against $2 $3",bptc_s_healing_tt:"This ability by $1 heals pets",bptc_s_buffs_tt:"This ability by $1 applies a buff",bptc_s_states_tt:"This ability by $1 uses $4",bptc_s_weather_tt:"This ability by $1 uses $4",pl_loadcharacter:"Load Character",pl_jumpto:"Jump To: ",pl_upgradesbysource:"Upgrades by Source",pl_withupgrades:"$1 with upgrades",pl_bneterror:"Error fetching $1 on $2-$3 from Battle.net",pl_norealmlist:"Realm list unavailable from Battle.net",pl_sortby:"Sort by: ",pl_lowlevel:"Low Level",pl_highlevel:"High Level",pl_loginprofiler:'You must <a href="https://www.wowhead.com/account=signin&next=$1">log in</a> to save characters in <a href="/list">the Profiler</a>.',pl_addacharacter:"Add a character",pl_recommendedguides:"Recommended Guides",pl_suggestedcontent:"Suggested Content",pl_viewequipprofiler:"View equipment in the Profiler",pl_emptyslot:"Your $1 slot is empty! Find an upgrade below.",pl_emptyglyphslot:"You have $1 empty glyph slot(s)! Here are some glyphs you can use.",pl_unspenttalent:"You have $1 unspent talent point(s)! Here is your current talent build.",pl_inappropriatearmor:'Your <span class="q$2">[$1]</span> is not the appropriate armor type. Find an upgrade here.',pl_lowlevelitem:'Your <span class="q$2">[$1]</span> has a low level. Find an upgrade here.',pl_missinggem:'Your <span class="q$2">[$1]</span> is missing a gem. Find one here.',pl_missingblacksmithsocket:'Your <span class="q$2">[$1]</span> is missing a Blacksmith\'s gem socket. Find one here.',pl_missingenchanterenchant:'Your <span class="q$2">[$1]</span> is missing an Enchanter\'s enchant. Find one here.',pl_missingleatherworkerenchant:'Your <span class="q$2">[$1]</span> is missing a Leatherworker\'s enchant. Find one here.',pl_missingscribeenchant:'Your <span class="q$2">[$1]</span> is missing a Scribe\'s enchant. Find one here.',pl_missingenchant:'Your <span class="q$2">[$1]</span> is missing an enchant. Find one here.',pl_missingengineertinker:'Your <span class="q$2">[$1]</span> is missing an Engineer\'s tinker. Find one here.',pl_missingextrasocket:'Your <span class="q$2">[$1]</span> is missing an additional gem socket. Find one here.',pl_missingjewelcraftergems:"You are missing $1 Jewelcrafter's gem(s). Find some here.",pl_guidesforrecentactivity:"Guides for Recent Activity",pl_guidesforyourclass:"Guides for Your Class",pl_otherrelevantguides:"Other Relevant Guides",pl_browseallguides:"Browse our full selection of guides",pl_browseguidesformat:"Browse more $1 guides",pl_achievementsalmostcomplete:"Achievements Almost Complete",pl_percentcompleteformat:"$1% complete on this character",pl_viewachievementsprofiler:"View achievements in the Profiler",pl_followingprogress:"Following progress across Wowhead",pl_clicktofollowprogress:"Click to follow progress across Wowhead",pl_currentitem:"Current item: ",pl_applyfilter:"Apply filter",pl_importantmissions:"Important Missions",pl_missonsnofollowers:'This character has no follower data for us to load from the Profiler.<br>If this is your character, <a href="/help=profiler#profiler-tracking-toys-followers-and-heirlooms">update your followers with the Wowhead Client</a> to see which of your followers work best on important missions!',pl_gearaudit:"Gear Audit",pl_draenorflying90:"This character needs to reach level 90 before they will earn the ability to fly in Draenor.",pl_pathfinder:"Pathfinder",pl_jumptoguide:"Jump to Guide",pl_viewquestsprofiler:"View quests in the Profiler",pl_nomissionnames:"In this category, some missions with different names have the same threats, and some missions with the same names have different threats.<br><br>Since the names don't mean anything, you'll need to match the threats here to the threats on your mission in-game.",pl_clicktoviewrewards:"Click to view all rewards",pl_learnmore:"Learn More",pl_obtainedformat:"$1 $2 out of $3 obtained ($4%).",pl_betterthan:"Better than $1% of profiles.",pl_rarest:"Rarest $1",pl_viewcollectionsprofiler:"View collections in the Profiler",pl_legendaries:"Legendaries",pl_legendaryitems:"Legendary Items",pl_learnstatsandgear:"Learn more about your best stats and gear",pl_missingsaberseye:"No Saber's Eye gem equipped! Find one here.",wr_yourwardrobe:"Wardrobe",wr_includingquestsfrom:"Including quests from: ",wr_includingwardrobefrom:"Including wardrobe from: ",wr_for:"For $1",wr_startnew:"Start a New Wardrobe Search",wr_addanothercharacter:"Add Another Character's Wardrobe",wr_transmogdb:'Be sure to check out <a href="/transmog-sets">our Transmog Sets database</a>!',missioncalc_chooseafollower:"Choose a follower for this slot",missioncalc_clicktochange:"Click to change",missioncalc_successchance:"Success Chance",missioncalc_leavecheck:"Are you sure you want to leave this page?",missioncalc_clientprofilertip:"Use the Wowhead Client to pick from <i>your own </i> followers in this calculator!",missioncalc_autofilltip:"Automatically fill the slots with your best followers.",missioncalc_autofill:"Auto Fill",missioncalc_selectprofilefirsttip:"Select your followers first!",missioncalc_myfollowers:"My Followers",missioncalc_optionmaxlevel:"Force max level",missioncalc_suggestions:"Suggestions",missioncalc_fastest:"Fastest",missioncalc_priofastesttip:"Prioritize faster missions",garrisoncalc_garrisonmap:"Garrison Map",garrisoncalc_buildinglist:"Building List",garrisoncalc_buildingdetails:"Building Details",garrisoncalc_abilityoverrides:{54:"Offers daily quest for potions and boosts Work Orders when assigned to the Alchemy Lab.",56:"Offers weapon illusions and boosts Work Orders when assigned to the Enchanter's Study.",53:"Allows you to choose which Draenor herb to grow and boosts Work Orders when assigned to the Herb Garden.",59:"Offers daily quest for gold and boosts Work Orders when assigned to the Gem Boutique.",61:"Can craft battle standards and boosts work orders when assigned to the Tailoring Emporium."},garrisoncalc_craftedwithout:"Crafted Without $1",garrisoncalc_workorders:"Work orders: ",garrisoncalc_costs:"Costs",lc_yourcharacters:"Your Characters",lc_loadacharacter:"Load a Character",lc_load:"Load",lc_character:"Character",lc_noprofiles:'You have no Battle.net characters saved in <a href="/list">the Profiler</a>.',wa_title:"WeakAuras Export",wa_explanation:'Import this string into the <a href="http://www.wowace.com/addons/weakauras-2/" target="_blank">WeakAuras addon</a> for a visual alert in-game.',wa_copy:"Copy",wa_copied:"Copied",wa_nocopysupport:"Your browser does not support automated copying! Press <b>Ctrl + C</b> <small>(on a Mac, <b>Cmd + C</b>)</small> to copy the text.",wa_customize:"Customize",wa_extra:"Extra",wa_uniquespellcustomizations:"Unique customizations for this spell",wa_spellavailable:"$1 Available",wa_spelloncooldown:"$1 On Cooldown",wa_spellprogress:"$1 Progress",wa_buffing:"$1 Buffing $2",wa_debuffing:"$1 Debuffing $2",wa_unitmissingbuff:"$2 Missing $1",wa_unitmissingdebuff:"$2 Missing $1",wa_player:"Player",wa_pet:"Pet",wa_target:"Target",wa_display:"Display",wa_icon:"Icon",wa_icon_small:"Small Icon",wa_icon_medium:"Medium Icon",wa_icon_large:"Large Icon",wa_progressbar:"Progress Bar",wa_progressbar_small:"Small Progress Bar",wa_progressbar_medium:"Medium Progress Bar",wa_progressbar_large:"Large Progress Bar",wa_small:"Small",wa_medium:"Medium",wa_large:"Large",wa_trigger:"Trigger",wa_abilityisusable:"Ability is Usable",wa_offcooldown:"Off Cooldown",wa_oncooldown:"On Cooldown",wa_playerhasbuff:"Player Has Buff",wa_playerhasdebuff:"Player Has Debuff",wa_pethasbuff:"Pet Has Buff",wa_pethasdebuff:"Pet Has Debuff",wa_targethasbuff:"Target Has Buff",wa_targethasdebuff:"Target Has Debuff",wa_playermissingbuff:"Player Missing Buff",wa_playermissingdebuff:"Player Missing Debuff",wa_petmissingbuff:"Pet Missing Buff",wa_petmissingdebuff:"Pet Missing Debuff",wa_targetmissingbuff:"Target Missing Buff",wa_targetmissingdebuff:"Target Missing Debuff",wa_playerhastotem:"Player Has Totem",wa_playermissingtotem:"Player Missing Totem",wa_playerhealthlow:"Player Health is Low",wa_pethealthlow:"Pet Health is Low",wa_targethealthlow:"Target Health is Low",wa_groupmemberhasbuff:"Group Member Has Buff",wa_groupmemberhasdebuff:"Group Member Has Debuff",wa_pethealthlow:"Pet Health Low",wa_petisdead:"Pet is Dead",wa_hasbuff:"Has Buff",wa_hasdebuff:"Has Debuff",wa_missingbuff:"Missing Buff",wa_missingdebuff:"Missing Debuff",wa_healthlow:"Health Low",wa_nopet:"No Pet",wa_dismisspet:"Dismiss Pet",wa_petcheck:"Pet Check",wa_poisoncheck:"Poison Check",wa_banditsguile:"Bandit's Guile",wa_resourcesavailable:"Resources Available",wa_lowresources:"Low Resources",wa_combopointsavailable:"Combo Points Available",wa_targetneedsrez:"Target Needs Resurrection",wa_targetisfriendly:"Target is Friendly",wa_targetisenraged:"Target is Enraged",wa_canbeused:"$1 Can Be Used",wa_playeriscasting:"Player Is Casting",wa_targetiscasting:"Target is Casting",wa_iscasting:"Is Casting",wa_iscasting_format:"$2 is casting $1",wa_targetinterruptible:"Target Interruptible",wa_missingconjureditem:"Missing Conjured Item",wa_alwaysvisible:"Always Visible",wa_combat:"Combat",wa_incombat:"In Combat",wa_outofcombat:"Out of Combat",wa_any:"Any",wa_color:"Color",wa_demonhunter:"Demon Hunter",wa_link:"Link",wa_stagger:"Stagger",ac_choose:"Choose an artifact: ",ac_chooserelic:"Choose a $1 relic",ac_changerelic:"Click to choose a new $1 relic",ac_other:"Other Artifacts",ac_max:"Max",ac_clicktolearn:"Click to learn next rank",ac_plusrank:"(+$1 Rank)",ac_perktab:"Spend Power",ac_appearancetab:"Appearances",ac_knowledgelevel:"Knowledge Level",ac_artifactpower:"Artifact Power",ac_totalranks:"Total Ranks Purchased: ",ac_noneequipped:"Found no artifact equipped on $1 from $2-$3.",alert_invalidurl:"Invalid URL.",alert_chooseclass:"Please choose a class first.",alert_choosefamily:"Please choose a pet family first.",alert_buildempty:"Your build is empty.",prompt_importwh:"Please paste the URL of a build made with Wowhead's talent calculator:",prompt_importblizz:"Please paste the URL of a build made with Blizzard's talent calculator:",prompt_ingamepreview:"Copy the following in-game to preview this talent build. This is a preview only; no talent points will be spent. Only untalented characters can preview a talent build.",wsamore_format:"...and <b>$1</b> more. Click here to view them all.",viewdetails:"View Details",stackof_format:"Stack of $1: $2%",personal_loot_abbrev:"PL",personal_loot_tt:"Personal loot",charactersremaining_format:"$1 characters remaining.",reputationtip:"Reputation points",showingvaluesforspecies:"Showing values for species:",added:"Added",build:"Build",calculators:"Calculators",patch:"Patch",battlepet_types:{1:"Humanoid",2:"Dragonkin",3:"Flying",4:"Undead",5:"Critter",6:"Magic",7:"Elemental",8:"Beast",9:"Aquatic",10:"Mechanical"},battlepet_states:{77:"Bleeding",82:"Blinded",34:"Burning",52:"Chilled",21:"Poisoned",36:"Rooted",22:"Stunned",64:"Webbed",54:"Arcane winds",58:"Blizzard",56:"Darkness",55:"Moonlight",60:"Rain",61:"Sunny",53:"Scorched Earth",57:"Sandstorm",59:"Mudslide",62:"Lightning storm"},sound_activities:{greeting:"Greeting",farewell:"Farewell",angry:"Angry",exertion:"Attack",exertioncritical:"Critical strike",injury:"Injury",injurycritical:"Critical injury",death:"Death",stun:"Stunned",stand:"Stand",footstep:"Footstep",aggro:"Aggro",wingflap:"Wing flap",wingglide:"Glide",alert:"Alert",fidget:"Fidget",customattack:"Custom",loop:"Loop",jumpstart:"Jump",jumpend:"Jump landing",petattack:"Pet attack",petorder:"Pet order",petdismiss:"Pet dismissal",birth:"Created",spellcast:"Spell",submerge:"Submerge",submerged:"Submerged",transform:"Transform",transformanimated:"Transform",animation:"Animation",ready:"Ready",precast:"Precast",cast:"Cast",impact:"Impact",state:"State",statedone:"Done",channel:"Channeled",casterimpact:"Caster impact",targetimpact:"Target impact",castertargeting:"Caster targeting",missiletargeting:"Missile targeting",instantarea:"Instant area",persistentarea:"Persistent area",casterstate:"Caster state",targetstate:"Target state"},itemslanding:{gear:"Items which you equip in slots on your character sheet",enchants:"Permanent improvements to the stats on weapons and armor",gems:"Items with stat bonuses which you place into gem sockets on weapons and armor",glyphs:"Items which teach you different ways to use the spells for your class",food:"Items which you use out-of-combat to restore your health and mana, and some also give a temporary stat buff for an hour",potions:"Items which you use during combat to give a powerful temporary stat buff for less than a minute",elixirs:"Items which provide a temporary stat buff for an hour",flasks:"Items which provide a temporary stat buff and persist through death"}};var g_itemset_notes={};var g_transmog_styles=null;var g_transmog_notes_to_styles=null;(function(){var f={4:"mogsetdungeon",5:"mogsetpvp",6:"mogsetraid",7:"mogsetquesting",8:"mogsetevent"};for(var e=0,d;d=mn_transmogsets[e];e++){if(!d[0]||(d[4]&&d[4].heading)||!d[3]){break}if(!g_transmog_styles){g_transmog_styles={};g_transmog_notes_to_styles={};for(var c=0,h;h=d[3][c];c++){g_transmog_styles[h[0]]=h[1];if(h[3]){for(var b=0,a;a=h[3][b];b++){g_transmog_notes_to_styles[a[0]]=h[0]}}else{g_transmog_notes_to_styles[h[0]]=h[0]}}}for(var c=0,h;h=d[3][c];c++){if(h[3]){if(f[h[0]]&&!LANG.fidropdowns[f[h[0]]]){var g=[];for(var b=0,a;a=h[3][b];b++){g.push([a[0],a[1]])}LANG.fidropdowns[f[h[0]]]=g}for(var b=0,a;a=h[3][b];b++){g_itemset_notes[a[0]]=a[1]}}else{g_itemset_notes[h[0]]=h[1]}}}})();g_itemset_notes[7]="Level 60 PvP Rare Set (Old)";g_itemset_notes[15]="Arathi Basin Set"; | 747,876 | 747,876 | 0.734793 |
1e1c3dca6985c56ff1221f9e2866dfb580795d54 | 4,284 | js | JavaScript | js/influencers.js | HenryKleinschmidt/hyper.re | 4b9d81509b6790952475bc2f4e28113eba150286 | [
"Unlicense"
] | null | null | null | js/influencers.js | HenryKleinschmidt/hyper.re | 4b9d81509b6790952475bc2f4e28113eba150286 | [
"Unlicense"
] | null | null | null | js/influencers.js | HenryKleinschmidt/hyper.re | 4b9d81509b6790952475bc2f4e28113eba150286 | [
"Unlicense"
] | null | null | null | class Influencer {
constructor(options) {
this._limit = options.limit;
this._parseQuery = options.parseQuery;
}
addItem() {}
getSuggestions() {}
_addSearchPrefix(items, query) {
const searchPrefix = this._getSearchPrefix(query);
return items.map(s => (searchPrefix ? searchPrefix + s : s));
}
_getSearchPrefix(query) {
const { isSearch, key, split } = this._parseQuery(query);
return isSearch ? `${key}${split} ` : false;
}
}
class DefaultInfluencer extends Influencer {
constructor({ defaultSuggestions }) {
super(...arguments);
this._defaultSuggestions = defaultSuggestions;
}
getSuggestions(query) {
return new Promise(resolve => {
const suggestions = this._defaultSuggestions[query];
resolve(suggestions ? suggestions.slice(0, this._limit) : []);
});
}
}
class CommandsInfluencer extends Influencer {
constructor({ commands, queryParser }) {
super(...arguments);
this._commands = commands;
}
getSuggestions(rawQuery) {
const { query } = this._parseQuery(rawQuery);
if (!query) return Promise.resolve([]);
return new Promise(resolve => {
const suggestions = [];
const commands = this._commands;
commands.forEach(command => {
if(this._getDomain(command.url).startsWith(rawQuery)){
suggestions.push(command.url);
}
});
resolve(suggestions);
});
}
_getHostName(url) {
let match = url.match(/:\/\/(www[0-9]?\.)?(.[^/:]+)/i);
if (match != null && match.length > 2 && typeof match[2] === 'string' && match[2].length > 0) {
return match[2];
}
else {
return null;
}
}
_getDomain(url){
let hostName = this._getHostName(url);
let domain = hostName;
if (hostName != null) {
let parts = hostName.split('.').reverse();
if (parts != null && parts.length > 1) {
domain = parts[1] + '.' + parts[0];
if (hostName.toLowerCase().indexOf('.co.uk') != -1 && parts.length > 2) {
domain = parts[2] + '.' + domain;
}
}
}
return domain;
}
}
class DuckDuckGoInfluencer extends Influencer {
constructor({ queryParser }) {
super(...arguments);
}
getSuggestions(rawQuery) {
const { query } = this._parseQuery(rawQuery);
if (!query) return Promise.resolve([]);
return new Promise(resolve => {
const endpoint = 'https://duckduckgo.com/ac/';
const callback = 'autocompleteCallback';
window[callback] = res => {
const suggestions = res
.map(i => i.phrase)
.filter(s => !$.ieq(s, query))
.slice(0, this._limit);
resolve(this._addSearchPrefix(suggestions, rawQuery));
};
$.jsonp(`${endpoint}?callback=${callback}&q=${query}`);
});
}
}
class HistoryInfluencer extends Influencer {
constructor() {
super(...arguments);
this._storeName = 'history';
}
addItem(query) {
if (query.length < 2) return;
let exists;
const history = this._getHistory().map(([item, count]) => {
const match = $.ieq(item, query);
if (match) exists = true;
return [item, match ? count + 1 : count];
});
if (!exists) history.push([query, 1]);
const sorted = history
.sort((current, next) => current[1] - next[1])
.reverse();
this._setHistory(sorted);
}
getSuggestions(query) {
return new Promise(resolve => {
const suggestions = this._getHistory()
.map(([item]) => item)
.filter(item => query && !$.ieq(item, query) && $.iin(item, query))
.slice(0, this._limit);
resolve(suggestions);
});
}
_fetch() {
return JSON.parse(localStorage.getItem(this._storeName)) || [];
}
_getHistory() {
this._history = this._history || this._fetch();
return this._history;
}
_save(history) {
localStorage.setItem(this._storeName, JSON.stringify(history));
}
_setHistory(history) {
this._history = history;
this._save(history);
}
} | 25.5 | 100 | 0.556956 |
1e1d2d2629536f4868d313d36972d45bcf8bdedb | 4,044 | js | JavaScript | node/node_modules/pdfkit/js/mixins/annotations.js | kukulkan-project/kukulkan-staruml-plugin | 828fd959dc9f07bdd27cf99e6ec2cc25a706c2ea | [
"MIT"
] | null | null | null | node/node_modules/pdfkit/js/mixins/annotations.js | kukulkan-project/kukulkan-staruml-plugin | 828fd959dc9f07bdd27cf99e6ec2cc25a706c2ea | [
"MIT"
] | null | null | null | node/node_modules/pdfkit/js/mixins/annotations.js | kukulkan-project/kukulkan-staruml-plugin | 828fd959dc9f07bdd27cf99e6ec2cc25a706c2ea | [
"MIT"
] | null | null | null | // Generated by CoffeeScript 1.7.1
(function() {
module.exports = {
annotate: function(x, y, w, h, options) {
var key, ref, val;
options.Type = 'Annot';
options.Rect = this._convertRect(x, y, w, h);
options.Border = [0, 0, 0];
if (options.Subtype !== 'Link') {
if (options.C == null) {
options.C = this._normalizeColor(options.color || [0, 0, 0]);
}
}
delete options.color;
if (typeof options.Dest === 'string') {
options.Dest = new String(options.Dest);
}
for (key in options) {
val = options[key];
options[key[0].toUpperCase() + key.slice(1)] = val;
}
ref = this.ref(options);
this.page.annotations.push(ref);
ref.end();
return this;
},
note: function(x, y, w, h, contents, options) {
if (options == null) {
options = {};
}
options.Subtype = 'Text';
options.Contents = new String(contents);
options.Name = 'Comment';
if (options.color == null) {
options.color = [243, 223, 92];
}
return this.annotate(x, y, w, h, options);
},
link: function(x, y, w, h, url, options) {
if (options == null) {
options = {};
}
options.Subtype = 'Link';
options.A = this.ref({
S: 'URI',
URI: new String(url)
});
options.A.end();
return this.annotate(x, y, w, h, options);
},
_markup: function(x, y, w, h, options) {
var x1, x2, y1, y2, _ref;
if (options == null) {
options = {};
}
_ref = this._convertRect(x, y, w, h), x1 = _ref[0], y1 = _ref[1], x2 = _ref[2], y2 = _ref[3];
options.QuadPoints = [x1, y2, x2, y2, x1, y1, x2, y1];
options.Contents = new String;
return this.annotate(x, y, w, h, options);
},
highlight: function(x, y, w, h, options) {
if (options == null) {
options = {};
}
options.Subtype = 'Highlight';
if (options.color == null) {
options.color = [241, 238, 148];
}
return this._markup(x, y, w, h, options);
},
underline: function(x, y, w, h, options) {
if (options == null) {
options = {};
}
options.Subtype = 'Underline';
return this._markup(x, y, w, h, options);
},
strike: function(x, y, w, h, options) {
if (options == null) {
options = {};
}
options.Subtype = 'StrikeOut';
return this._markup(x, y, w, h, options);
},
lineAnnotation: function(x1, y1, x2, y2, options) {
if (options == null) {
options = {};
}
options.Subtype = 'Line';
options.Contents = new String;
options.L = [x1, this.page.height - y1, x2, this.page.height - y2];
return this.annotate(x1, y1, x2, y2, options);
},
rectAnnotation: function(x, y, w, h, options) {
if (options == null) {
options = {};
}
options.Subtype = 'Square';
options.Contents = new String;
return this.annotate(x, y, w, h, options);
},
ellipseAnnotation: function(x, y, w, h, options) {
if (options == null) {
options = {};
}
options.Subtype = 'Circle';
options.Contents = new String;
return this.annotate(x, y, w, h, options);
},
textAnnotation: function(x, y, w, h, text, options) {
if (options == null) {
options = {};
}
options.Subtype = 'FreeText';
options.Contents = new String(text);
options.DA = new String;
return this.annotate(x, y, w, h, options);
},
_convertRect: function(x1, y1, w, h) {
var m0, m1, m2, m3, m4, m5, x2, y2, _ref;
y2 = y1;
y1 += h;
x2 = x1 + w;
_ref = this._ctm, m0 = _ref[0], m1 = _ref[1], m2 = _ref[2], m3 = _ref[3], m4 = _ref[4], m5 = _ref[5];
x1 = m0 * x1 + m2 * y1 + m4;
y1 = m1 * x1 + m3 * y1 + m5;
x2 = m0 * x2 + m2 * y2 + m4;
y2 = m1 * x2 + m3 * y2 + m5;
return [x1, y1, x2, y2];
}
};
}).call(this);
| 30.179104 | 107 | 0.505935 |
1e1d778b3ede4518e4ae9bfbeac525416ecd2818 | 1,870 | js | JavaScript | assets/plugin/sweetalert/src/utils/utils.js | wangling97/tokokue | 366bc41dd62f90e60637ffe7d7b9d5908b0939ce | [
"MIT"
] | 1 | 2021-01-28T05:01:50.000Z | 2021-01-28T05:01:50.000Z | assets/plugins/sweetalert2/src/utils/utils.js | cloner3000/Sistem-Informasi-Penjaminan-Mutu-Internal-Unila | 37c8948d48fe1e73b930ca570c1a3ce9b683c0ee | [
"MIT"
] | null | null | null | assets/plugins/sweetalert2/src/utils/utils.js | cloner3000/Sistem-Informasi-Penjaminan-Mutu-Internal-Unila | 37c8948d48fe1e73b930ca570c1a3ce9b683c0ee | [
"MIT"
] | 9 | 2017-12-27T04:39:25.000Z | 2019-10-25T03:15:47.000Z | export const consolePrefix = 'SweetAlert2:'
/**
* Filter the unique values into a new array
* @param arr
*/
export const uniqueArray = (arr) => {
const result = []
for (let i = 0; i < arr.length; i++) {
if (result.indexOf(arr[i]) === -1) {
result.push(arr[i])
}
}
return result
}
/**
* Convert NodeList to Array
* @param nodeList
*/
export const toArray = (nodeList) => Array.prototype.slice.call(nodeList)
/**
* Converts `inputOptions` into an array of `[value, label]`s
* @param inputOptions
*/
export const formatInputOptions = (inputOptions) => {
const result = []
if (typeof Map !== 'undefined' && inputOptions instanceof Map) {
inputOptions.forEach((value, key) => {
result.push([key, value])
})
} else {
Object.keys(inputOptions).forEach(key => {
result.push([key, inputOptions[key]])
})
}
return result
}
/**
* Standardise console warnings
* @param message
*/
export const warn = (message) => {
console.warn(`${consolePrefix} ${message}`)
}
/**
* Standardise console errors
* @param message
*/
export const error = (message) => {
console.error(`${consolePrefix} ${message}`)
}
/**
* Private global state for `warnOnce`
* @type {Array}
* @private
*/
const previousWarnOnceMessages = []
/**
* Show a console warning, but only if it hasn't already been shown
* @param message
*/
export const warnOnce = (message) => {
if (!previousWarnOnceMessages.includes(message)) {
previousWarnOnceMessages.push(message)
warn(message)
}
}
/**
* If `arg` is a function, call it (with no arguments or context) and return the result.
* Otherwise, just pass the value through
* @param arg
*/
export const callIfFunction = (arg) => typeof arg === 'function' ? arg() : arg
export const isThenable = (arg) => arg && typeof arg === 'object' && typeof arg.then === 'function'
| 22.53012 | 99 | 0.641176 |
1e1d9fd55dd4f406090af164e95406df665f710c | 106 | js | JavaScript | lang/JavaScript/file-modification-time-2.js | ethansaxenian/RosettaDecode | 8ea1a42a5f792280b50193ad47545d14ee371fb7 | [
"MIT"
] | 5 | 2021-01-29T20:08:05.000Z | 2022-03-22T06:16:05.000Z | lang/JavaScript/file-modification-time-2.js | ethansaxenian/RosettaDecode | 8ea1a42a5f792280b50193ad47545d14ee371fb7 | [
"MIT"
] | null | null | null | lang/JavaScript/file-modification-time-2.js | ethansaxenian/RosettaDecode | 8ea1a42a5f792280b50193ad47545d14ee371fb7 | [
"MIT"
] | 1 | 2021-04-13T04:19:31.000Z | 2021-04-13T04:19:31.000Z | var file = document.getElementById("fileInput").files.item(0);
var last_modified = file.lastModifiedDate;
| 35.333333 | 62 | 0.792453 |
1e1e1c3c74430f37bf381c2625c091a6481f9417 | 2,726 | js | JavaScript | src/_tests_/BuildData.test.js | stephkchiu/Auxpack | 916ac5291b6cd4827d8c74f504692aca649c83c4 | [
"MIT"
] | 95 | 2020-01-10T19:21:27.000Z | 2021-08-18T02:09:11.000Z | src/_tests_/BuildData.test.js | stephkchiu/Auxpack | 916ac5291b6cd4827d8c74f504692aca649c83c4 | [
"MIT"
] | 8 | 2020-03-15T10:12:04.000Z | 2022-02-26T20:56:38.000Z | src/_tests_/BuildData.test.js | stephkchiu/Auxpack | 916ac5291b6cd4827d8c74f504692aca649c83c4 | [
"MIT"
] | 5 | 2019-11-30T03:05:39.000Z | 2020-01-08T04:10:29.000Z | import { Tab, Tabs } from '@material-ui/core';
import BuildData from '../client/content/containers/BuildData.jsx';
import ChangesTable from '../client/content/components/ChangesTable.jsx';
import AssetsTable from '../client/content/components/AssetsTable.jsx';
import ErrorsTable from '../client/content/components/Errors.jsx';
import Modules from '../client/content/components/Modules.jsx';
describe('BuildData Unit Tests', () => {
let wrapper; let
shallow;
const props = {
build: [{
timeStamp: 1575426090404,
time: 1439,
hash: '546142ce1b49a6ba7d6f',
errors: [],
size: 1172113,
assets: [{ name: 'bundle.js', chunks: ['main'], size: 1172113 }],
chunks: [{ size: 1118609, files: ['bundle.js'], modules: [{ name: './client/App.jsx', size: 6375, id: './client/App.jsx' }] }],
treeStats: {
cjs: [{ name: './test2.js', size: 49, reasonTypes: [{ name: './test.js', type: 'cjs require' }] }, { name: './test2.js', size: 49, reasonTypes: [{ name: './test.js', type: 'cjs require' }] }],
esm: [{ name: './client/App.jsx', size: 6375, reasonTypes: [{ name: './client/index.js', type: 'harmony side effect evaluation' }] }],
both: [{ name: './node_modules/react/index.js', size: 190, reasonTypes: [{ name: './client/App.jsx', type: 'harmony side effect evaluation' }] }],
},
}],
activeBuild: 0,
};
beforeEach(() => {
shallow = createShallow();
wrapper = shallow(<BuildData {...props} />);
});
it('BuildData should render', () => {
expect(wrapper);
});
it('BuildData snapshot testing', () => {
expect(toJson(wrapper)).toMatchSnapshot();
});
// Need to mock props/ Parse function
it('BuildData should render a "div"', () => {
expect(wrapper.find('div').length).toEqual(1);
});
it('BuildData should render 1 Tabs component', () => {
const div = wrapper.find('div');
expect(div.find(Tabs).length).toEqual(1);
});
it('BuildData tabs component should contain 4 Tab components, with theses texts: Changes, Assets, Errors, Modules', () => {
const div = wrapper.find('div');
const TabsComponent = div.find(Tabs);
expect(TabsComponent.find(Tab).length).toEqual(4);
});
it('BuildData should have a ChangesTable component', () => {
expect(wrapper.find(ChangesTable).length).toEqual(1);
});
it('BuildData should have a AssetsTable component', () => {
expect(wrapper.find(AssetsTable).length).toEqual(1);
});
it('BuildData should have a ErrorsTable component', () => {
expect(wrapper.find(ErrorsTable).length).toEqual(1);
});
it('BuildData should have a Modules component', () => {
expect(wrapper.find(Modules).length).toEqual(1);
});
});
| 35.868421 | 200 | 0.626926 |
1e1e2c36c0ad466b9659fe649545628a972211b7 | 1,688 | js | JavaScript | QuickAndroid/Styles/utils.js | JohnPoison/quickandroid | 0748db59e8e834da3a85469451bfd5375aff6c56 | [
"Apache-2.0"
] | 234 | 2015-01-05T08:34:20.000Z | 2022-03-04T03:20:47.000Z | QuickAndroid/Styles/utils.js | JohnPoison/quickandroid | 0748db59e8e834da3a85469451bfd5375aff6c56 | [
"Apache-2.0"
] | 25 | 2015-01-18T15:58:20.000Z | 2017-06-12T08:20:24.000Z | QuickAndroid/Styles/utils.js | JohnPoison/quickandroid | 0748db59e8e834da3a85469451bfd5375aff6c56 | [
"Apache-2.0"
] | 56 | 2015-06-04T15:34:40.000Z | 2022-03-04T03:20:53.000Z | .pragma library
/// Merge the contents of two or more objects together into the first object.
function merge() {
if (arguments.length === 0)
return;
if (arguments.length === 1)
return arguments[0];
var target = arguments[0];
var reserved = ["objectName","extend","merge"];
for (var i = 1; i< arguments.length; i++) {
var object = arguments[i];
for (var prop in object) {
if (prop.match(/Changed$/))
continue;
if (reserved.indexOf(prop) >= 0)
continue;
if (prop.indexOf(".") >= 0) {
var token = prop.split(".");
var newProp = token.splice(0,1)[0];
var remainingProp = token.join(".");
var newObject = {};
if (!target.hasOwnProperty(newProp)) {
console.warn("Style.merge() - can not merge property: \"" + prop + "\"");
continue;
}
newObject[remainingProp] = object[prop];
merge(target[newProp],newObject);
} else if (String(object[prop]).indexOf("QQmlComponent") === 0) {
target[prop] = object[prop];
} else if (typeof object[prop] === "object" &&
String(object[prop]).indexOf("QSize") !== 0) {
merge(target[prop],object[prop]);
} else {
try {
target[prop] = object[prop];
} catch (e) {
console.warn("Style.merge() - can not merge property: \"" + prop + "\"");
}
}
}
}
return target;
}
| 28.133333 | 93 | 0.461493 |
1e1e44d09606a8e50a6cb2d96e4bb8439131999a | 779 | js | JavaScript | lib/express-seo-noslash.js | john-doherty/express-seo-noslash | c521daf2459c4fc19a8c5ae9faeea24c39b4bfe3 | [
"MIT"
] | 2 | 2020-07-30T04:59:55.000Z | 2020-08-08T10:54:32.000Z | lib/express-seo-noslash.js | orca-scan/express-seo-noslash | c521daf2459c4fc19a8c5ae9faeea24c39b4bfe3 | [
"MIT"
] | null | null | null | lib/express-seo-noslash.js | orca-scan/express-seo-noslash | c521daf2459c4fc19a8c5ae9faeea24c39b4bfe3 | [
"MIT"
] | null | null | null | 'use strict';
var url = require('url');
/**
* Intercepts requests ad 301 redirects to remove trailing slashes
* @returns {function} express middleware
*/
module.exports = function (req, res, next) {
var method = req.method.toLowerCase();
var requestedUrl = url.parse(req.url);
// we're only interested in get/head requests
if (method === 'get' || method === 'head') {
var pathname = requestedUrl.pathname;
var search = requestedUrl.search || '';
if (pathname !== '/' && pathname.endsWith('/')) {
// redirect to path without /
res.redirect(301, pathname.slice(0, -1) + search);
}
else {
next(); // nothing to do
}
}
else {
next(); // nothing to do
}
} | 25.129032 | 66 | 0.558408 |
1e1ec45665da5099b8f2c580c91f3a220ef54f1c | 283 | js | JavaScript | public/script/controllers/main.js | indrasaswita/Jakartabrosur2018 | eb46813fe1a1cf3e96c8cf503f10468dfa5a5358 | [
"MIT"
] | null | null | null | public/script/controllers/main.js | indrasaswita/Jakartabrosur2018 | eb46813fe1a1cf3e96c8cf503f10468dfa5a5358 | [
"MIT"
] | 4 | 2018-09-23T09:40:45.000Z | 2021-03-08T21:59:03.000Z | public/script/controllers/main.js | indrasaswita/Jakartabrosur2018 | eb46813fe1a1cf3e96c8cf503f10468dfa5a5358 | [
"MIT"
] | null | null | null | module.exports = function(app){
$(function () {
//BOOTSTRAP TOOOOLTIP!!!
try{
$('[data-toggle="tooltip"]').tooltip();
}catch(e){
console.log("tooltip disabled - runtime error");
}
})
/*$(window).ready(function(){
$('[data-toggle="tooltip"]').tooltip();
});*/
} | 17.6875 | 51 | 0.575972 |
1e1ec87cbf4015b60c79fa65c73337de99b8a165 | 6,476 | js | JavaScript | samples.sciter/@sys/fs/folder-view.js | AlecHaring/sciter-js-sdk | 6cedc57ff09404ad17e1899abc06f843a4677b69 | [
"BSD-3-Clause"
] | 1,688 | 2020-10-10T06:08:27.000Z | 2022-03-31T09:57:58.000Z | samples.sciter/@sys/fs/folder-view.js | AlecHaring/sciter-js-sdk | 6cedc57ff09404ad17e1899abc06f843a4677b69 | [
"BSD-3-Clause"
] | 156 | 2020-10-16T05:50:01.000Z | 2022-03-31T13:26:18.000Z | samples.sciter/@sys/fs/folder-view.js | AlecHaring/sciter-js-sdk | 6cedc57ff09404ad17e1899abc06f843a4677b69 | [
"BSD-3-Clause"
] | 111 | 2020-10-12T00:37:54.000Z | 2022-03-30T07:56:33.000Z |
import * as sys from "@sys";
import * as env from "@env";
export class FolderView extends Element
{
path = "";
filter = null; // file filter
currentNode = null; // like "foo.txt" or ".."
elcontent = null; // dom element
elpath = null; // dom element
constructor(props) {
super();
this.path = props?.path || (env.path("USER_DOCUMENTS") + "/");
}
componentDidMount() {
var pathAttr = this.attributes["path"];
var filterAttr = this.attributes["filter"];
if(filterAttr !== undefined)
this.filter = filterAttr.split(";");
if( pathAttr !== this.path )
this.navigateTo(this.path || (env.path("USER_DOCUMENTS") + "/"));
}
activateCurrent() {
var [type,name,path] = this.current;
if( type == "folder" )
{
if(name == "..") {
var [parent,child] = sys.fs.splitpath(this.path);
[parent,child] = sys.fs.splitpath(parent);
path = parent + "/";
this.navigateTo(path,child);
}
else {
this.navigateTo(path, "..");
}
this.post(new Event("folder-change",{data:path, bubbles:true}));
} else {
this.post(new Event("file-activate",{data:path, bubbles:true}));
}
return true;
}
navigateTo(path, currentNode = "..")
{
if(sys.fs.match(path,"file://*"))
path = URL.toPath(path);
if(!path.endsWith("/"))
path += "/";
try
{
let list = sys.fs.$readdir(path); // note: to speed up things I use sync version of readdir
let files = [];
let folders = [];
let filter = this.filter;
for (const entry of list) {
if(sys.fs.match(entry.name,".*") || sys.fs.match(entry.name,"~*"))
continue; // these are "hidden" files
if( entry.type == 2)
folders.push(entry.name);
else if(filter) {
for(let f of filter)
if(sys.fs.match(entry.name,f)) {
files.push(entry.name);
break;
}
}
else
files.push(entry.name);
}
folders.sort();
files.sort();
this.componentUpdate({
path: path,
files: files,
folders: folders,
currentNode: currentNode
});
} catch(e) {
console.error(e.toString());
}
}
fullPath(localName) { return this.path + localName; }
get current() {
var option = this.contentPane.$("option:current");
if(option)
return [option.classList.contains("folder") ? "folder" : "file",
option.innerText,
option.attributes["filename"]];
return null;
}
get parentPath() {
var [parent,child] = sys.fs.splitpath(this.path);
[parent,child] = sys.fs.splitpath(parent);
return [parent + "/", child];
}
["on dblclick at select.content>option"]() {
this.activateCurrent();
}
["on change"]() {
var option = this.contentPane.$("option:current");
if(option)
this.currentNode = option.text;
else
this.currentNode = null;
}
["on keyup at select.content"](evt,content) {
switch(evt.code) {
case "KeyESCAPE" :
this.navigateTo(this.parentPath[0]);
return true;
case "KeyRETURN" :
this.activateCurrent();
return true;
}
}
["on keydown at select.content"](evt) {
switch(evt.code) {
case "KeyUP" : //not handled by select.content - on very first item
{
var path = this.pathPane;
path.$("option:first-child").click();
path.focus();
return true;
}
}
}
["on ^keydown at select.path"](evt) {
switch(evt.code) {
case "KeyDOWN" : //not handled by select.content - on very first item
{
var content = this.contentPane;
content.$("option:first-child").click();
content.focus();
return true;
}
}
}
["on keyup at select.path"](evt,path) {
switch(evt.code) {
case "KeyESCAPE" :
this.navigateTo(this.parentPath[0]);
return true;
case "KeyRETURN" : {
var current = path.$("option:current");
if( !current || current.elementIndex == 0 ) {
var [path,local] = this.parentPath;
this.navigateTo(path,local);
} else {
var path = current.attributes["filename"];
var next = current.nextElementSibling;
var local = next ? next.innerText : null;
this.navigateTo(path,local);
}
this.post(()=>this.contentPane.focus());
return true;
}
}
}
["on mouseup at select.path>option"](evt,option) {
if( option.elementIndex == 0 ) {
var [path,local] = this.parentPath;
this.navigateTo(path,local);
} else {
var path = option.attributes["filename"];
var next = option.nextElementSibling;
var local = next ? next.innerText : null;
this.navigateTo(path,local);
}
this.post(()=>this.contentPane.focus());
return true;
}
get contentPane() {
if(!this.elcontent)
this.elcontent = this.$("select.content");
return this.elcontent;
}
get pathPane() {
if(!this.elpath)
this.elpath = this.$("select.path");
return this.elpath;
}
render()
{
var path = this.path;
var currentName = this.currentNode;
var pathparts = path.split("/"); pathparts.pop();
function partialpath(i) { return pathparts.slice(0,i+1).join("/"); }
var folders = this.folders.map(name => <option.folder key={name+"/d"} filename={path + name} state-current={currentName == name}>{name}</option>);
var files = this.files.map(name => <option.file key={name+"/f"} filename={path + name} state-current={currentName == name}>{name}</option>);
var pathoptions = pathparts.map( (name,index) => <option.folder filename={partialpath(index)}>{name}</option>);
var first = ( this.path && this.path != "/" ) ? <option.up filename={this.parentPath} state-current={currentName == ".."}></option> : [];
return <folder path={path} styleset="folder-view.css#folder-view">
<select|list.path>{first}{pathoptions}</select>
<select|list.content #test>{folders}{files}</select>
</folder>;
}
}
globalThis.FolderView = FolderView; | 28.403509 | 151 | 0.54509 |
1e1f50fc6f5660ecd5f15bee4a0588e264051b84 | 732 | js | JavaScript | aula_04/script.js | GabrielBorges-code/Imersao_Dev | 9cd5162d04c70f68bb74d66a27110e88bbe14ecb | [
"MIT"
] | 1 | 2021-04-09T13:03:03.000Z | 2021-04-09T13:03:03.000Z | aula_04/script.js | GabrielBorges-code/Imersao_Dev | 9cd5162d04c70f68bb74d66a27110e88bbe14ecb | [
"MIT"
] | null | null | null | aula_04/script.js | GabrielBorges-code/Imersao_Dev | 9cd5162d04c70f68bb74d66a27110e88bbe14ecb | [
"MIT"
] | null | null | null | var listaFilmes = ['https://m.media-amazon.com/images/M/MV5BZjhkMDM4MWItZTVjOC00ZDRhLThmYTAtM2I5NzBmNmNlMzI1XkEyXkFqcGdeQXVyNDYyMDk5MTU@._V1_UY268_CR0,0,182,268_AL_.jpg', 'https://m.media-amazon.com/images/M/MV5BNjdlY2Q4MzAtOGJkYy00MjI2LTk3YTAtY2JjZWIyMmNhNWQ3XkEyXkFqcGdeQXVyMjgzNjQyMjI@._V1_UY268_CR3,0,182,268_AL_.jpg', 'https://m.media-amazon.com/images/M/MV5BNGVjNWI4ZGUtNzE0MS00YTJmLWE0ZDctN2ZiYTk2YmI3NTYyXkEyXkFqcGdeQXVyMTkxNjUyNQ@@._V1_UX182_CR0,0,182,268_AL_.jpg', 'https://m.media-amazon.com/images/M/MV5BYmI1ODU5ZjMtNWUyNC00YzllLThjNzktODE1M2E4OTVmY2E5XkEyXkFqcGdeQXVyMTExNzQzMDE0._V1_UY268_CR3,0,182,268_AL_.jpg'];
for (var i = 0; i < listaFilmes.length; i++){
document.write("<img src=" + listaFilmes[i] + ">");
} | 146.4 | 627 | 0.825137 |
1e1f60b9f9e94994c1890463403856962189e325 | 3,662 | js | JavaScript | Request.js | amanganiello90/alm-migrate-excel | d5bb75ac9b5b36dbd2198b52649522f3a4c568a2 | [
"MIT"
] | 1 | 2019-03-31T07:45:31.000Z | 2019-03-31T07:45:31.000Z | Request.js | amanganiello90/alm-migrate-excel | d5bb75ac9b5b36dbd2198b52649522f3a4c568a2 | [
"MIT"
] | null | null | null | Request.js | amanganiello90/alm-migrate-excel | d5bb75ac9b5b36dbd2198b52649522f3a4c568a2 | [
"MIT"
] | null | null | null | module.exports = {
FolderRequestTest: function (folder1, parentId) {
return "<Entity Type='test-folder'><Fields> <Field Name='name'> <Value>" + folder1 + "</Value> </Field> <Field Name='parent-id'> <Value>" + parentId + "</Value> </Field></Fields><RelatedEntities/></Entity>";
},
TestRequest: function (testName, parentId, descriptionTest, automatedScenario, changeStatus, comment, designer, estimated, execution, issue, path, status, template, type, userStories) {
return "<Entity Type='test'><Fields> <Field Name='owner'><Value>" + designer + "</Value> </Field><Field Name='bpta-change-detected'><Value>" + changeStatus + "</Value> </Field> <Field Name='parent-id'><Value>" + parentId + "</Value> </Field><Field Name='user-02'><Value>" + issue + "</Value></Field><Field Name='user-01'> <Value>" + automatedScenario + "</Value></Field><Field Name='user-03'> <Value>" + userStories + " </Value> </Field><Field Name='dev-comments'> <Value>" + comment + " </Value> </Field><Field Name='description'><Value>"+descriptionTest+"</Value> </Field> <Field Name='estimate-devtime'> <Value>" + estimated + "</Value> </Field> <Field Name='exec-status'> <Value>" + execution + "</Value> </Field><Field Name='storage-path'> <Value>" + path + "</Value> </Field> <Field Name='status'> <Value>" + status + "</Value> </Field><Field Name='template'> <Value>" + template + "</Value> </Field> <Field Name='name'> <Value>" + testName + "</Value> </Field><Field Name='subtype-id'> <Value>" + type + "</Value> </Field> </Fields> <RelatedEntities/></Entity>";
},
StepRequest: function (stepName, parentId, descriptionStep, businessRule, configurationPoint, expected) {
return "<Entity Type='design-step'><Fields><Field Name='user-02'><Value></Value> </Field> <Field Name='user-01'><Value>" + businessRule + "</Value> </Field><Field Name='description'> <Value>" + descriptionStep + "</Value> </Field> <Field Name='expected'> <Value>" + expected + "</Value> </Field> <Field Name='name'> <Value>" + stepName + "</Value></Field><Field Name='parent-id'> <Value>" + parentId + "</Value> </Field></Fields> <RelatedEntities/></Entity>";
},
FolderRequestLab: function (folder1, parentId) {
if (parentId == '0') {
return "<Entity Type='test-set-folder'><Fields> <Field Name='name'> <Value>" + folder1 + "</Value> </Field> <Field Name='parent-id'> <Value></Value> </Field></Fields><RelatedEntities/></Entity>";
}
else
return "<Entity Type='test-set-folder'><Fields> <Field Name='name'> <Value>" + folder1 + "</Value> </Field> <Field Name='parent-id'> <Value>" + parentId + "</Value> </Field></Fields><RelatedEntities/></Entity>";
},
TestLabRequest: function (testLabName, parentId, status) {
return "<Entity Type='test-set'><Fields> <Field Name='name'> <Value>" + testLabName + "</Value> </Field> <Field Name='parent-id'> <Value>" + parentId + "</Value> </Field> <Field Name='subtype-id'> <Value>hp.qc.test-set.default</Value> </Field><Field Name='status'><Value>" + status + "</Value> </Field> </Fields> <RelatedEntities/></Entity>";
},
TestInstanceRequest: function (CycleId, testInstanceId, testOrder, owner, tester) {
return "<Entity Type='test-instance'> <Fields> <Field Name='test-order'> <Value>" + testOrder + "</Value></Field> <Field Name='cycle-id'> <Value>" + CycleId + "</Value></Field> <Field Name='test-id'><Value>" + testInstanceId + "</Value> </Field><Field Name='subtype-id'><Value>hp.qc.test-instance.MANUAL</Value> </Field> <Field Name='owner'> <Value>" + owner + "</Value> </Field><Field Name='actual-tester'><Value>" + tester + "</Value> </Field> </Fields> <RelatedEntities/></Entity>";
}
}; | 122.066667 | 1,094 | 0.648007 |
1e203b3f73f9c9c69496b119d00413bb01436344 | 751 | js | JavaScript | src/cli/migrate/__testfixtures__/onchange-prop.input.js | evemontalvao/circuit-ui | 72038b455a7135e9397ccaf3b656e4183b43bddd | [
"Apache-2.0"
] | 1 | 2020-10-26T12:24:26.000Z | 2020-10-26T12:24:26.000Z | src/cli/migrate/__testfixtures__/onchange-prop.input.js | evemontalvao/circuit-ui | 72038b455a7135e9397ccaf3b656e4183b43bddd | [
"Apache-2.0"
] | null | null | null | src/cli/migrate/__testfixtures__/onchange-prop.input.js | evemontalvao/circuit-ui | 72038b455a7135e9397ccaf3b656e4183b43bddd | [
"Apache-2.0"
] | null | null | null | import React from 'react';
import styled from '@emotion/styled';
import { RadioButton, Switch, Toggle } from '@sumup/circuit-ui';
const BaseRadioButton = () => <RadioButton onToggle={console.log} checked />;
const RedRadioButton = styled(RadioButton)`
color: red;
`;
const StyledRadioButton = () => (
<RedRadioButton onToggle={console.log} checked />
);
const BaseSwitch = () => <Switch onToggle={console.log} checked />;
const RedSwitch = styled(Switch)`
color: red;
`;
const StyledSwitch = () => <RedSwitch onToggle={console.log} checked />;
const BaseToggle = () => <Toggle onToggle={console.log} checked />;
const RedToggle = styled(Toggle)`
color: red;
`;
const StyledToggle = () => <RedToggle onToggle={console.log} checked />;
| 25.033333 | 77 | 0.691079 |
1e208ab2ef199244a019222d3cafd242af739423 | 17,638 | js | JavaScript | assets/hergo/funciones.js | wilmix/hergo | ecfb15fadbbd73f8d616f6d56e70e01ec748756a | [
"MIT"
] | null | null | null | assets/hergo/funciones.js | wilmix/hergo | ecfb15fadbbd73f8d616f6d56e70e01ec748756a | [
"MIT"
] | 5 | 2020-07-30T13:28:43.000Z | 2020-08-19T15:32:48.000Z | assets/hergo/funciones.js | wilmix/hergo | ecfb15fadbbd73f8d616f6d56e70e01ec748756a | [
"MIT"
] | null | null | null | var glob_tipoCambio = 0;
var glob_art = [];
var glob_alm_usu
var fechaHoySystem
var PermisosUser
const isAdminGlobal = $('#isAdmin').val()
const isNacionalGlobal = $('#nacional').val()
glob_tipoCambio = parseFloat($("#mostrarTipoCambio").text())
permisos()
$(document).ready(function ()
{
glob_tipoCambio = parseFloat($("#mostrarTipoCambio").text())
fechaHoySystem = moment().endOf('day')
fechaHoySystem = moment(fechaHoySystem).format("YYYY-MM-DD");
setTipoCambio(fechaHoySystem);
mantenerMenu();
})
function permisos() {
$.getJSON({
type: "POST",
async:false,
url: base_url('index.php/Importaciones/pedidos/permisos'),
}).done(function (res) {
PermisosUser = res
//console.table(res);
});
}
function setTipoCambio(fechaActual) {
$.ajax({
type: "POST",
//async:false,
url: base_url('index.php/Facturas/tipoCambio'),
dataType: "json",
data: {fechaActual:fechaActual},
}).done(function (res) {
if (!res) {
swal("Atencion!", "No se tiene tipo de cambio para la fecha")
}
glob_alm_usu = res.idAlmacenUsuario
console.log(glob_alm_usu);
//$('#mostrarTipoCambio').text(res.tipoCambio);
//glob_tipoCambio = res.tipoCambio;
console.log(glob_tipoCambio);
}).fail(function (jqxhr, textStatus, error) {
var err = textStatus + ", " + error;
console.log("Request Failed: " + err);
});
}
function base_url(complemento) {
complemento = (complemento) ? complemento : '';
let baseurl = $('#baseurl').val();
return baseurl + complemento;
}
function agregarcargando() {
$("#cargando").css("display", "block")
}
function quitarcargando() {
$("#cargando").css("display", "none")
}
/******************AJAX************************/
/**********************************************/
function retornarajax(url, datos, callback) {
let retornar = new Object();
$("#cargando").css("display", "block")
return $.ajax({
type: "POST",
url: url,
dataType: "json",
data: datos,
// processData: false, //UP
// contentType: false //UP
}).done(function (data) {
let retornar = new Object();
datos_retornados = "retorno";
retornar.estado = "ok";
retornar.respuesta = data;
$("#cargando").css("display", "none")
if (callback)
callback(retornar);
}).fail(function (jqxhr, textStatus, error) {
quitarcargando()
let retornar = new Object();
let err = textStatus + ", " + error;
console.log("Request Failed: " + err);
if (jqxhr.status === 0) {
errorajax = "No existe conexion, veirique su red";
} else if (jqxhr.status == 404) {
errorajax = "No se encontro la pagina [404]";
} else if (jqxhr.status == 500) {
errorajax = "Error interno del servidor [500]";
} else if (textStatus === 'parsererror') {
errorajax = "Requested JSON parse failed, error de sintaxis en retorno json ";
} else if (textStatus === 'timeout') {
errorajax = "Error de tiempo de espera";
} else if (textStatus === 'abort') {
errorajax = "Solicitud de ajax abortada";
} else {
errorajax = "error desconocido " + jqxhr.responseText;
}
retornar.estado = "error";
retornar.respuesta = errorajax;
if (callback)
callback(retornar);
});
}
function validarresultado_ajax(resultado) {
if (resultado.estado == "ok") {
return true;
} else {
$(".mensaje_error").html(resultado.respuesta);
$("#modal_error").modal("show");
//setTimeout(function(){$("#modal_error").modal("hide");},5000)
return false;
}
}
/**********************************************************/
/**********************************************************/
function resetForm(id) {
$(id)[0].reset();
$(id).bootstrapValidator('resetForm', true);
}
$(document).on("click", ".sidebar-toggle", function () {
setTimeout(function () {
$('table').bootstrapTable('resetWidth');
}, 500);
})
/* $(window).resize(function () {
setTimeout(function () {
$('table').bootstrapTable('resetWidth');
}, 500);
}); */
function formato_fecha(value, row, index) {
var fecha = ""
//console.log(value)
if ((value == "0000-00-00") || (value == "0000-00-00 00:00:00") || (value == "") || (value == null))
fecha = "-"
else if (value == 'PENDIENTE') {
fecha = value
}
else
fecha = moment(value, "YYYY/MM/DD").format("DD/MM/YYYY")
return [fecha]
}
function formato_fecha_corta(value, row, index) {
var fecha = ""
//console.log(value)
if ((value == "0000-00-00 00:00:00") || (value == "") || (value == null))
fecha = "sin fecha de registro"
else
fecha = moment(value, "YYYY/MM/DD HH:mm:ss").format("DD/MM/YYYY HH:mm:ss")
return fecha
}
function formato_fecha_corta_sub(value, row, index) {
let fecha = ""
if (value == '') {
fecha = ''
} else {
if ((value == "0000-00-00 00:00:00") || (value == "") || (value == null))
fecha = "sin fecha de registro"
else
fecha = moment(value, "YYYY/MM/DD HH:mm:ss").format("DD/MM/YYYY")
}
return fecha
}
function asignarselect(text1, select) {
text1 = text1.trim()
$("option", select).filter(function () {
var aux = $(this).text()
aux = aux.trim()
return aux.toUpperCase() == text1.toUpperCase();
}).prop('selected', true);
}
function formato_moneda(value, row, index) {
num = Math.round(value * 100) / 100
num = num.toFixed(2);
return (formatNumber.new(num));
}
/*******************formato de numeros***************/
var formatNumber = {
separador: ",", // separador para los miles
sepDecimal: '.', // separador para los decimales
formatear: function (num) {
num += '';
var splitStr = num.split('.');
var splitLeft = splitStr[0];
var splitRight = splitStr.length > 1 ? this.sepDecimal + splitStr[1] : '';
var regx = /(\d+)(\d{3})/;
while (regx.test(splitLeft)) {
splitLeft = splitLeft.replace(regx, '$1' + this.separador + '$2');
}
return this.simbol + splitLeft + splitRight;
},
new: function (num, simbol) {
this.simbol = simbol || '';
return this.formatear(num);
}
}
function redondeo(numero, decimales) {
var flotante = parseFloat(numero);
var resultado = Math.round(flotante * Math.pow(10, decimales)) / Math.pow(10, decimales);
return resultado;
}
function mensajeregistrostabla(res, idtabla) //agrega o quita mensaje de registros encontrados
{
if (Object.keys(res).length <= 0) $("tbody td", "table" + idtabla).html("No se encontraron registros")
else $("tbody", "table" + idtabla).show()
}
function codigoControl(res, datos) {
var autor = res.detalle.autorizacion;
var nFactura = res.nfac;
var idNIT = datos.nit;
var fecha = datos.fecha;
var monto = datos.monto;
var llave = res.detalle.llaveDosificacion;
var nitCasa = res.detalle.nit;
var gestion = fecha.substring(0, 4);
var mes = fecha.substring(5, 7);
var dia = fecha.substring(8, 11);
fecha = gestion + mes + dia;
console.log(autor,
nFactura,
idNIT,
fecha,
monto,
llave);
codigo = generateControlCode(
autor,
nFactura,
idNIT,
fecha,
monto,
llave
);
$('#codigoControl').html(codigo)
var gestion = fecha.substring(0, 4);
var mes = fecha.substring(4, 6);
var dia = fecha.substring(6, 8);
var codigoqr = (nitCasa + "|" + nFactura + "|" + autor + "|" + dia + "/" + mes + "/" + gestion + "|" + monto + "|" + monto + "|" + codigo + "|" + idNIT + "|0|0|0|0");
// $("#textqr").val(codigoqr);
$("#micapa").html(codigoqr);
// $("#qr").html(codigoqr);
$("#qrcodeimg").html("");
new QRCode(document.getElementById("qrcodeimg"), {
text: codigoqr,
width: 128,
height: 128,
});
}
function generarQr(idContenedor, codigo) {
new QRCode(document.getElementById(idContenedor), {
text: codigo,
width: 128,
height: 128,
});
console.log("Codigo generado", codigo);
}
function mensajeAnular(idObservacion, funcionAnular, postAlert) {
swal({
title: 'Anular movimiento',
text: 'Cual es el motivo de anulacion?',
input: 'text',
type: 'info',
showCancelButton: true,
confirmButtonText: 'Aceptar',
cancelButtonText: 'Cancelar',
}).then(function (texto) {
var txt = $(idObservacion).val();
txt += " ANULADO: " + texto
$(idObservacion).val(txt);
console.log(txt)
funcionAnular();
swal({
type: 'success',
title: 'Anulado!',
allowOutsideClick: false,
html: 'Movimiento anulado: ' + texto
}).then(function () {
postAlert();
})
})
}
function mensajeRecuperar(idObservacion, funcionAnular, postAlert) {
swal({
title: 'Recuperar movimiento',
text: 'Cual es el motivo de la recuperacion?',
input: 'text',
type: 'info',
showCancelButton: true,
confirmButtonText: 'Aceptar',
cancelButtonText: 'Cancelar',
}).then(function (texto) {
var txt = $(idObservacion).val();
txt += " RECUPERADO: " + texto
$(idObservacion).val(txt);
console.log(txt)
funcionAnular();
swal({
type: 'success',
title: 'Recuperado!',
allowOutsideClick: false,
html: 'Movimiento recuperado: ' + texto
}).then(function () {
postAlert();
})
})
}
/*****************************************************************/
/*****************************************************************/
/*****************************************************************/
Array.prototype.regIndexOf = function (rx) {
for (var i in this) {
if (this[i].toString().match(rx)) {
return i;
}
}
return -1;
};
/**
* Fuzzy Search in a Collection
*
* @param search Regex that represents what is going to be searched
* @return {Array} ArrayObject with an object of what we are looking for
*/
Array.prototype.fuzzy = function (search) {
var _return = [];
/**
* Runs deep the object, to his last nodes and returns an array with all the values.
*
* @param object Object that is going to be analized
* @return {Array} with all the values of the object at the same level
*/
var recursive = function (object) {
return _.map(object, function (obj, key) {
if (typeof obj !== 'object') {
return obj.toString();
} else {
return recursive(obj);
}
});
};
// Search inside the flatten array which was returned by recursive
_.each(recursive(this), function (obj, key) {
if (obj.regIndexOf(search) > -1) {
_return.push(this[key]);
}
}, this);
return _return;
};
function mantenerMenu() {
let pathname = window.location.pathname;
let dir = pathname.split("/")
let menu = dir[dir.length - 1];
$("#masterMenu").find("." + menu).addClass("active").closest(".treeview").addClass("active");
}
function numberDecimal(value, row, index) {
num = Math.round(value * 100) / 100
num = num.toFixed(2);
return (formatNumber.new(num));
}
function itemImage(url) {
url = base_url("assets/img_ingresos/" + url)
let img = `<img class="img-responsive center-block" src=" ${url} ">`
let controls = `<a class="left carousel-control" href="#carousel-img" role="button" data-slide="prev">
<span class="glyphicon glyphicon-chevron-left"></span>
</a>
<a class="right carousel-control" href="#carousel-img" role="button" data-slide="next">
<span class="glyphicon glyphicon-chevron-right"></span>
</a>`
$("#imgControls").html(controls);
$("#itemImage").html(img);
$( "#itemImage" ).addClass( "item" )
$( "#itemDetalle" ).addClass( "item" )
$( "#itemDetalle" ).addClass( "active" )
}
function cleanItemImage() {
$( "#itemDetalle" ).addClass( "item" )
$( "#itemDetalle" ).addClass( "active" )
$("#imgControls").empty();
$( "#itemImage" ).removeClass( "item" )
$( "#itemImage" ).removeClass( "active" )
$("#itemImage").html('');
}
function dataPicker() {
let start = moment().subtract(0, 'year').startOf('year')
let end = moment().subtract(0, 'year').endOf('year')
$(function() {
function cb(start, end) {
$('#reportrange span').html(start.format('D MMMM, YYYY') + ' - ' + end.format('D MMMM, YYYY'));
ini = start.format('YYYY-MM-DD')
fin = end .format('YYYY-MM-DD')
}
$('#reportrange').daterangepicker({
startDate: start,
endDate: end,
ranges: {
'Hoy': [moment(), moment()],
'Ayer': [moment().subtract(1, 'days'), moment().subtract(1, 'days')],
'Ultimos 7 dias': [moment().subtract(6, 'days'), moment()],
'Mes actual': [moment().startOf('month'), moment().endOf('month')],
'Mes Anterior': [moment().subtract(1, 'month').startOf('month'), moment().subtract(1, 'month').endOf('month')],
'Gestion Actual': [moment().subtract(0, 'year').startOf('year'), moment().subtract(0, 'year').endOf('year')],
'Hace 1 Año': [moment().subtract(1, 'year').startOf('year'), moment().subtract(1, 'year').endOf('year')],
'Hace 2 Años': [moment().subtract(2, 'year').startOf('year'), moment().subtract(2, 'year').endOf('year')],
'Hace 3 Años': [moment().subtract(3, 'year').startOf('year'), moment().subtract(3, 'year').endOf('year')],
},
locale: {
format: 'DD/MM/YYYY',
applyLabel: 'Aplicar',
cancelLabel: 'Cancelar',
customRangeLabel: 'Personalizado',
},
}, cb);
cb(start, end);
})
}
function getRow(tbl, th) {
let current_row = $(th).parents('tr')
if (current_row.hasClass('child')) {
current_row = current_row.prev()
}
let row = tbl.row(current_row).data()
return row
}
function checkAuth(n) {
let check = PermisosUser.filter((item) => item.id_sub == n)
return check=='' ? false : true;
}
$(document).on("click","#botonmodalcliente",function(){
$("#carnet").prop('disabled', false);
resetForm('#form_clientes')
$(".modal-title").html("Agregar Cliente")
$("#bguardar").html("Guardar")
})
$(document).on("click",".botoncerrarmodal",function(){
resetForm('#form_clientes')
})
function validarCliente(tipo) {
$('#form_clientes').bootstrapValidator({
feedbackIcons: {
valid: 'glyphicon glyphicon-ok',
invalid: 'glyphicon glyphicon-remove',
validating: 'glyphicon glyphicon-refresh'
},
fields: {
carnet: {
validators: {
notEmpty: {
message: 'Campo obligatorio'
},
notEmpty: {
message: 'Campo obligatorio'
},
integer: {
message: 'Debe ser dato númerico'
}
}
},
nombre_cliente: {
validators: {
stringLength: {
min: 1,
message: 'Ingrese nombre válido'
},
notEmpty: {
message: 'Campo obligatorio'
}
}
},
direccion: {
validators: {
stringLength: {
min: 1,
message: 'Ingrese dirección válida'
},
}
},
email: {
validators: {
emailAddress: {
message: 'Ingrese un email válido'
}
}
},
diasCredito: {
validators: {
between: {
min: 0,
max: 1000,
message: 'Igrese número de días de Crédito para el cliente'
}
}
},
phone: {
validators: {
between: {
min: 1,
max: 999999999999999,
message: 'Igrese número de telefono valido'
}
}
},
}
})
.on('success.form.bv', function(e) {
e.preventDefault();
var formData = new FormData($('#form_clientes')[0]);
$.getJSON({
url: base_url("index.php/Clientes/store"),
type: 'POST',
data: formData,
cache: false,
contentType: false,
processData: false,
success: function (returndata) {
//console.log(returndata);return;
if (returndata.status==true) {
/* if(typeof retornarTablaClientes === 'function') {
retornarTablaClientes()
} */
if (tipo =='cliente') {
retornarTablaClientes()
console.log('desde cliente');
} else {
console.log('desde otro lado');
validarClienteCorrecto(returndata.id,returndata.cliente.nombreCliente,returndata.cliente.documento)
}
$('#modalcliente').modal('hide');
resetForm('#form_clientes')
//retornarTablaClientes()
swal(
'Cliente Registrado',
'',
'success'
)
} else if (returndata.status==false){
swal({
title: 'Atencion',
html: "El NIT <b>" + returndata.cliente.documento + "</b> ya se encuentra registrado a nombre de <b>" + returndata.cliente.nombreCliente + "</b> en fecha <b>" + formato_fecha_corta(returndata.cliente.fecha) + "</b> registrado por <b>" + returndata.cliente.autor + "</b>.",
type: 'warning',
})
}
},
error : function (returndata) {
console.log(returndata.status);
swal(
'Error',
'Error en bases de datos status:'+returndata.status,
'error'
)
},
})
});
}
function validarClienteCorrecto(id,nombreCliente,documento) {
let nombre = `${nombreCliente} - ${documento}`
$("#clientecorrecto").html('<i class="fa fa-check" style="color:#07bf52" aria-hidden="true"></i>');
$("#cliente_egreso").val(nombre);
$("#idCliente").val(id);
glob_guardar_cliente = true;
}
$("#input-1").fileinput({
language: "es",
showUpload: false,
previewFileType: "image",
maxFileSize: 1024,
}); | 28.914754 | 287 | 0.573364 |
1e20a7fc295a284853a5e4a140af14c1ca0228eb | 611 | js | JavaScript | src/Parameters.js | sneha-belkhale/AI4Animation-js | 7bc83e61c7ff8c6620c2534a6f7cc97ab3331b06 | [
"MIT"
] | 230 | 2019-04-11T17:21:58.000Z | 2022-03-21T01:49:06.000Z | src/Parameters.js | sneha-belkhale/AI4Animation-js | 7bc83e61c7ff8c6620c2534a6f7cc97ab3331b06 | [
"MIT"
] | 4 | 2019-04-19T09:13:07.000Z | 2020-04-08T18:04:06.000Z | src/Parameters.js | sneha-belkhale/AI4Animation-js | 7bc83e61c7ff8c6620c2534a6f7cc97ab3331b06 | [
"MIT"
] | 20 | 2019-04-22T17:35:34.000Z | 2022-01-05T11:01:32.000Z | import * as nj from 'numjs';
export default class Parameters {
static async Load(name, rows, cols) {
const mat = nj.zeros([rows, cols]);
// eslint-disable-next-line
const response = await fetch(require(`./NN_Wolf_MANN${name}`));
const buffer = await response.arrayBuffer();
const data = new DataView(buffer);
for (let x = 0; x < rows; x += 1) {
for (let y = 0; y < cols; y += 1) {
mat.set(x, y, data.getFloat32(4 * (x * cols + y), true));
}
}
return mat;
}
static initMatrix(rows, cols) {
const mat = nj.zeros([rows, cols]);
return mat;
}
}
| 26.565217 | 67 | 0.577741 |
1e20cca393d8217de7bf33505b6667b37abfb9bf | 7,783 | js | JavaScript | VR_with_balls/node_modules/three/src/extras/core/Curve.js | PonomarovP/threejs_experiments | 3714fe751a9437ddeb60354a6186576176e70cb4 | [
"MIT"
] | 1,956 | 2015-01-29T03:16:17.000Z | 2022-03-30T07:47:47.000Z | VR_with_balls/node_modules/three/src/extras/core/Curve.js | PonomarovP/threejs_experiments | 3714fe751a9437ddeb60354a6186576176e70cb4 | [
"MIT"
] | 160 | 2015-02-03T17:28:09.000Z | 2018-08-06T19:34:54.000Z | VR_with_balls/node_modules/three/src/extras/core/Curve.js | PonomarovP/threejs_experiments | 3714fe751a9437ddeb60354a6186576176e70cb4 | [
"MIT"
] | 574 | 2015-01-29T07:48:30.000Z | 2022-03-09T17:00:01.000Z | import { _Math } from '../../math/Math';
import { Vector3 } from '../../math/Vector3';
import { Matrix4 } from '../../math/Matrix4';
/**
* @author zz85 / http://www.lab4games.net/zz85/blog
* Extensible curve object
*
* Some common of Curve methods
* .getPoint(t), getTangent(t)
* .getPointAt(u), getTangentAt(u)
* .getPoints(), .getSpacedPoints()
* .getLength()
* .updateArcLengths()
*
* This following classes subclasses THREE.Curve:
*
* -- 2d classes --
* THREE.LineCurve
* THREE.QuadraticBezierCurve
* THREE.CubicBezierCurve
* THREE.SplineCurve
* THREE.ArcCurve
* THREE.EllipseCurve
*
* -- 3d classes --
* THREE.LineCurve3
* THREE.QuadraticBezierCurve3
* THREE.CubicBezierCurve3
* THREE.CatmullRomCurve3
*
* A series of curves can be represented as a THREE.CurvePath
*
**/
/**************************************************************
* Abstract Curve base class
**************************************************************/
function Curve() {}
Curve.prototype = {
constructor: Curve,
// Virtual base class method to overwrite and implement in subclasses
// - t [0 .. 1]
getPoint: function ( t ) {
console.warn( "THREE.Curve: Warning, getPoint() not implemented!" );
return null;
},
// Get point at relative position in curve according to arc length
// - u [0 .. 1]
getPointAt: function ( u ) {
var t = this.getUtoTmapping( u );
return this.getPoint( t );
},
// Get sequence of points using getPoint( t )
getPoints: function ( divisions ) {
if ( isNaN( divisions ) ) divisions = 5;
var points = [];
for ( var d = 0; d <= divisions; d ++ ) {
points.push( this.getPoint( d / divisions ) );
}
return points;
},
// Get sequence of points using getPointAt( u )
getSpacedPoints: function ( divisions ) {
if ( isNaN( divisions ) ) divisions = 5;
var points = [];
for ( var d = 0; d <= divisions; d ++ ) {
points.push( this.getPointAt( d / divisions ) );
}
return points;
},
// Get total curve arc length
getLength: function () {
var lengths = this.getLengths();
return lengths[ lengths.length - 1 ];
},
// Get list of cumulative segment lengths
getLengths: function ( divisions ) {
if ( isNaN( divisions ) ) divisions = ( this.__arcLengthDivisions ) ? ( this.__arcLengthDivisions ) : 200;
if ( this.cacheArcLengths
&& ( this.cacheArcLengths.length === divisions + 1 )
&& ! this.needsUpdate ) {
//console.log( "cached", this.cacheArcLengths );
return this.cacheArcLengths;
}
this.needsUpdate = false;
var cache = [];
var current, last = this.getPoint( 0 );
var p, sum = 0;
cache.push( 0 );
for ( p = 1; p <= divisions; p ++ ) {
current = this.getPoint ( p / divisions );
sum += current.distanceTo( last );
cache.push( sum );
last = current;
}
this.cacheArcLengths = cache;
return cache; // { sums: cache, sum:sum }; Sum is in the last element.
},
updateArcLengths: function() {
this.needsUpdate = true;
this.getLengths();
},
// Given u ( 0 .. 1 ), get a t to find p. This gives you points which are equidistant
getUtoTmapping: function ( u, distance ) {
var arcLengths = this.getLengths();
var i = 0, il = arcLengths.length;
var targetArcLength; // The targeted u distance value to get
if ( distance ) {
targetArcLength = distance;
} else {
targetArcLength = u * arcLengths[ il - 1 ];
}
//var time = Date.now();
// binary search for the index with largest value smaller than target u distance
var low = 0, high = il - 1, comparison;
while ( low <= high ) {
i = Math.floor( low + ( high - low ) / 2 ); // less likely to overflow, though probably not issue here, JS doesn't really have integers, all numbers are floats
comparison = arcLengths[ i ] - targetArcLength;
if ( comparison < 0 ) {
low = i + 1;
} else if ( comparison > 0 ) {
high = i - 1;
} else {
high = i;
break;
// DONE
}
}
i = high;
//console.log('b' , i, low, high, Date.now()- time);
if ( arcLengths[ i ] === targetArcLength ) {
var t = i / ( il - 1 );
return t;
}
// we could get finer grain at lengths, or use simple interpolation between two points
var lengthBefore = arcLengths[ i ];
var lengthAfter = arcLengths[ i + 1 ];
var segmentLength = lengthAfter - lengthBefore;
// determine where we are between the 'before' and 'after' points
var segmentFraction = ( targetArcLength - lengthBefore ) / segmentLength;
// add that fractional amount to t
var t = ( i + segmentFraction ) / ( il - 1 );
return t;
},
// Returns a unit vector tangent at t
// In case any sub curve does not implement its tangent derivation,
// 2 points a small delta apart will be used to find its gradient
// which seems to give a reasonable approximation
getTangent: function( t ) {
var delta = 0.0001;
var t1 = t - delta;
var t2 = t + delta;
// Capping in case of danger
if ( t1 < 0 ) t1 = 0;
if ( t2 > 1 ) t2 = 1;
var pt1 = this.getPoint( t1 );
var pt2 = this.getPoint( t2 );
var vec = pt2.clone().sub( pt1 );
return vec.normalize();
},
getTangentAt: function ( u ) {
var t = this.getUtoTmapping( u );
return this.getTangent( t );
},
computeFrenetFrames: function ( segments, closed ) {
// see http://www.cs.indiana.edu/pub/techreports/TR425.pdf
var normal = new Vector3();
var tangents = [];
var normals = [];
var binormals = [];
var vec = new Vector3();
var mat = new Matrix4();
var i, u, theta;
// compute the tangent vectors for each segment on the curve
for ( i = 0; i <= segments; i ++ ) {
u = i / segments;
tangents[ i ] = this.getTangentAt( u );
tangents[ i ].normalize();
}
// select an initial normal vector perpendicular to the first tangent vector,
// and in the direction of the minimum tangent xyz component
normals[ 0 ] = new Vector3();
binormals[ 0 ] = new Vector3();
var min = Number.MAX_VALUE;
var tx = Math.abs( tangents[ 0 ].x );
var ty = Math.abs( tangents[ 0 ].y );
var tz = Math.abs( tangents[ 0 ].z );
if ( tx <= min ) {
min = tx;
normal.set( 1, 0, 0 );
}
if ( ty <= min ) {
min = ty;
normal.set( 0, 1, 0 );
}
if ( tz <= min ) {
normal.set( 0, 0, 1 );
}
vec.crossVectors( tangents[ 0 ], normal ).normalize();
normals[ 0 ].crossVectors( tangents[ 0 ], vec );
binormals[ 0 ].crossVectors( tangents[ 0 ], normals[ 0 ] );
// compute the slowly-varying normal and binormal vectors for each segment on the curve
for ( i = 1; i <= segments; i ++ ) {
normals[ i ] = normals[ i - 1 ].clone();
binormals[ i ] = binormals[ i - 1 ].clone();
vec.crossVectors( tangents[ i - 1 ], tangents[ i ] );
if ( vec.length() > Number.EPSILON ) {
vec.normalize();
theta = Math.acos( _Math.clamp( tangents[ i - 1 ].dot( tangents[ i ] ), - 1, 1 ) ); // clamp for floating pt errors
normals[ i ].applyMatrix4( mat.makeRotationAxis( vec, theta ) );
}
binormals[ i ].crossVectors( tangents[ i ], normals[ i ] );
}
// if the curve is closed, postprocess the vectors so the first and last normal vectors are the same
if ( closed === true ) {
theta = Math.acos( _Math.clamp( normals[ 0 ].dot( normals[ segments ] ), - 1, 1 ) );
theta /= segments;
if ( tangents[ 0 ].dot( vec.crossVectors( normals[ 0 ], normals[ segments ] ) ) > 0 ) {
theta = - theta;
}
for ( i = 1; i <= segments; i ++ ) {
// twist a little...
normals[ i ].applyMatrix4( mat.makeRotationAxis( tangents[ i ], theta * i ) );
binormals[ i ].crossVectors( tangents[ i ], normals[ i ] );
}
}
return {
tangents: tangents,
normals: normals,
binormals: binormals
};
}
};
export { Curve };
| 20.059278 | 162 | 0.603366 |
1e21016044c0440b4ea702beb541bedcc6572202 | 1,124 | js | JavaScript | server/handlers/renderers/sub-resources.js | madnight/gitter | 599aa0d3fd638d43eef0f9c0d8758481f592e1f3 | [
"MIT"
] | null | null | null | server/handlers/renderers/sub-resources.js | madnight/gitter | 599aa0d3fd638d43eef0f9c0d8758481f592e1f3 | [
"MIT"
] | null | null | null | server/handlers/renderers/sub-resources.js | madnight/gitter | 599aa0d3fd638d43eef0f9c0d8758481f592e1f3 | [
"MIT"
] | null | null | null | 'use strict';
var cdn = require("gitter-web-cdn");
function cdnSubResources(resources, jsRoot) {
var resourceList = ['vendor'];
if (resources) {
resourceList = resourceList.concat(resources);
}
return resourceList.map(function(f) {
return cdn(jsRoot + '/' + f + '.js');
})
.concat(cdn('fonts/sourcesans/SourceSansPro-Regular.otf.woff'));
}
var SUBRESOURCE_MAPPINGS = {
'router-app': ['router-app', 'router-chat'],
'mobile-nli-chat': ['mobile-nli-chat', 'router-nli-chat'],
'mobile-userhome': ['mobile-userhome'],
'userhome': ['userhome'],
'router-chat': ['router-chat'],
'router-nli-chat': ['router-nli-chat'],
'mobile-chat': ['mobile-chat'],
'router-mobile-app': ['mobile-app']
};
var CACHED_SUBRESOURCES = Object.keys(SUBRESOURCE_MAPPINGS).reduce(function(memo, key) {
memo[key] = cdnSubResources(SUBRESOURCE_MAPPINGS[key], 'js');
return memo;
}, {});
function getSubResources(entryPoint, jsRoot) {
if (!jsRoot) {
return CACHED_SUBRESOURCES[entryPoint];
}
return cdnSubResources(SUBRESOURCE_MAPPINGS[entryPoint], jsRoot);
}
module.exports = getSubResources;
| 26.761905 | 88 | 0.678826 |
1e22102dd0719cb6949f30fdac867e3c077cfb6e | 1,562 | js | JavaScript | src/assets/js/pages/admin/plan/info.page.js | HiroyukiNIshimura/lycaon-ce | e8a8c796c88aca62e0bc6e494e17fb9672e4b26c | [
"MIT"
] | null | null | null | src/assets/js/pages/admin/plan/info.page.js | HiroyukiNIshimura/lycaon-ce | e8a8c796c88aca62e0bc6e494e17fb9672e4b26c | [
"MIT"
] | null | null | null | src/assets/js/pages/admin/plan/info.page.js | HiroyukiNIshimura/lycaon-ce | e8a8c796c88aca62e0bc6e494e17fb9672e4b26c | [
"MIT"
] | null | null | null | parasails.registerPage('admin-plan-info', {
// ╦╔╗╔╦╔╦╗╦╔═╗╦ ╔═╗╔╦╗╔═╗╔╦╗╔═╗
// ║║║║║ ║ ║╠═╣║ ╚═╗ ║ ╠═╣ ║ ║╣
// ╩╝╚╝╩ ╩ ╩╩ ╩╩═╝ ╚═╝ ╩ ╩ ╩ ╩ ╚═╝
data: {
formatter: formatter,
floatFormatter: floatFormatter,
},
// ╦ ╦╔═╗╔═╗╔═╗╦ ╦╔═╗╦ ╔═╗
// ║ ║╠╣ ║╣ ║ ╚╦╝║ ║ ║╣
// ╩═╝╩╚ ╚═╝╚═╝ ╩ ╚═╝╩═╝╚═╝
beforeMount: function () {},
mounted: async function () {
//…
},
// ╦╔╗╔╔╦╗╔═╗╦═╗╔═╗╔═╗╔╦╗╦╔═╗╔╗╔╔═╗
// ║║║║ ║ ║╣ ╠╦╝╠═╣║ ║ ║║ ║║║║╚═╗
// ╩╝╚╝ ╩ ╚═╝╩╚═╩ ╩╚═╝ ╩ ╩╚═╝╝╚╝╚═╝
methods: {},
computed: {
changeLink: function () {
return `/${this.organization.handleId}/admin/plan/change`;
},
unsubscribedLink: function () {
return `/${this.organization.handleId}/admin/plan/unsubscribed`;
},
storageUsed: function () {
if (!this.planlimitation.maxQuota) {
return this.floatFormatter.format(0);
}
return this.floatFormatter.format(
((this.thread + this.vote + this.wiki) / this.planlimitation.maxQuota) * 100
);
},
storageUsedStyle: function () {
return `width: ${this.storageUsed}%`;
},
planStyle: function () {
if (this.organization.plan === 'pine') {
return 'card-header-info';
}
if (this.organization.plan === 'prime') {
return 'card-header-warning';
}
if (this.organization.plan === 'bamboo') {
return 'card-header-success';
}
if (this.organization.plan === 'plum') {
return 'card-header-primary';
}
return '';
},
},
});
| 27.403509 | 84 | 0.453265 |
1e226d29f2829efc7c577f51cfe229c663b9c7fd | 5,844 | js | JavaScript | vendor/kartik-v/yii2-grid/src/assets/js/kv-grid-expand.min.js | galusmarcin87/nol | 1d89e84d649bd200667f2b0aecb89cb8703e1092 | [
"BSD-3-Clause"
] | 15 | 2016-07-28T02:37:06.000Z | 2021-11-26T03:26:55.000Z | vendor/kartik-v/yii2-grid/src/assets/js/kv-grid-expand.min.js | galusmarcin87/nol | 1d89e84d649bd200667f2b0aecb89cb8703e1092 | [
"BSD-3-Clause"
] | 3 | 2021-05-11T04:21:34.000Z | 2022-02-10T21:24:29.000Z | vendor/kartik-v/yii2-grid/src/assets/js/kv-grid-expand.min.js | galusmarcin87/nol | 1d89e84d649bd200667f2b0aecb89cb8703e1092 | [
"BSD-3-Clause"
] | 7 | 2017-02-05T07:32:07.000Z | 2018-09-27T02:49:39.000Z | /*!
* @package yii2-grid
* @author Kartik Visweswaran <kartikv2@gmail.com>
* @copyright Copyright © Kartik Visweswaran, Krajee.com, 2014 - 2020
* @version 3.3.5
*
* jQuery methods library for yii2-grid expand row column
*
* Author: Kartik Visweswaran
* Copyright: 2014 - 2020, Kartik Visweswaran, Krajee.com
* For more JQuery plugins visit http://plugins.krajee.com
* For more Yii related demos visit http://demos.krajee.com
*/
var kvExpandRow;!function(e){"use strict";kvExpandRow=function(n,t){var a=".kvExpandRowColumn",l="kvRowNum_"+t,o=n.gridId,i=n.hiddenFromExport,d=n.detailUrl,r=n.onDetailLoaded,s=n.expandIcon,c=n.collapseIcon,v=n.expandTitle,p=n.collapseTitle,f=n.expandAllTitle,u=n.collapseAllTitle,h=n.expandOneOnly,x=n.enableRowClick,g=n.rowClickExcludedTags,k=n.enableCache,w=n.extraData,$=n.msgDetailLoading,m=i?n.rowCssClass+" skip-export":n.rowCssClass,C=n.animationDuration,y=e("#"+o),A="."+t,I=y.find(".kv-expand-header-cell.kv-batch-toggle"+A),b=I.find(".kv-expand-header-icon"),R=void 0===n.collapseAll?!1:n.collapseAll,T=void 0===n.expandAll?!1:n.expandAll,E=y.find("td.kv-expand-icon-cell"+A+" .kv-expand-row:not(.kv-state-disabled)"),K=E.length,N="kv-expand-detail-loading",D=function(){var n=y.find("td.kv-expand-icon-cell"+A+":first"),t=n&&n.length?n.closest("tr"):"",a=0;return t&&t.length?(t.find("> td").each(function(){"none"!==e(this).css("display")&&a++}),a):0},j=D(),L=function(e){return e.hasClass("kv-state-collapsed")&&!e.hasClass("kv-state-disabled")},O=function(e){return e.hasClass("kv-state-expanded")&&!e.hasClass("kv-state-disabled")},P=function(e,n){e.length&&e.removeClass(n).addClass(n)},S=function(e){e.removeClass("kv-state-collapsed").addClass("kv-state-expanded")},U=function(e){e.removeClass("kv-state-expanded").addClass("kv-state-collapsed")},F=function(e){P(e,N)},Q=function(e){if(e.length){var n=isNaN(C)?1e3:C+200;setTimeout(function(){e.removeClass(N)},n)}},_=function(){var e=y.data(l);return e=e?parseInt(e):0,isNaN(e)?0:e},q=function(e){y.data(l,e)},z=function(){var e=_();y.data(l,e+1)},B=function(e,n,t,l){var o=l?n:n.split(" ").join(a+" ")+a;e.length&&e.off(o).on(o,t)},G=function(e){var n=this;n.$element=e,n.init()};return G.prototype={constructor:G,init:function(){var e,n=this;n.$row=n.$element.closest("tr"),n.$icon=n.$element.find(">.kv-expand-icon"),n.$detail=n.$element.find(".kv-expanded-row"+A+":first"),n.$cell=n.$icon.closest(".kv-expand-icon-cell"),n.$container=n.$cell.find(".kv-expand-detail:first"),n.vKey=n.$detail.data("key"),n.vInd=n.$detail.data("index"),0===n.$detail.length&&(n.vKey=n.$row.data("key"),e=n.$row.next('tr.kv-expand-detail-row[data-key="'+n.vKey+'"]'),n.$detail=e.find(".kv-expanded-row"))},run:function(){var n=this,t=n.$row,a=n.$cell,l=n.$icon;if(L(l)||O(l)){if(T)return O(l)&&n.load(function(){n.expand(!0),z(),_()>=K&&(Q(I),b.focus())}),void(_()>=K&&(Q(I),b.focus()));if(R)return L(l)&&(n.collapse(),z(),_()>=K&&(Q(I),b.focus())),void(_()>=K&&(Q(I),b.focus()));L(l)&&(d?n.load(function(){n.expand(!1)}):n.expand(!1)),B(a,"click",function(e){n.toggle(),e.stopPropagation()}),B(t,"click",function(t){var a=t.target,l=e(a).length&&e(a).hasClass("kv-disable-click")||-1!==e.inArray(a.nodeName,g);x&&!l&&n.toggle()})}},load:function(n){var t=this,a=t.$cell,l=t.$detail,o=t.vKey,i=t.vInd,s=e.extend({expandRowKey:o,expandRowInd:i},w),c=k?0===l.html().length:!0;return d.length>0&&c?void e.ajax({type:"POST",data:s,url:d,beforeSend:function(){F(a),y.trigger("kvexprow:beforeLoad",[i,o,w]),l.html($)},success:function(e){l.html(e),Q(a),"function"==typeof r&&r(),n(),y.trigger("kvexprow:loaded",[i,o,w])},error:function(){l.html('<div class="alert alert-danger">Error fetching data. Please try again later.</div>'),y.trigger("kvexprow:error",[i,o,w]),Q(a)}}):(Q(a),void("function"==typeof n&&n()))},expand:function(n){var t=this,a=t.$row,l=t.$icon,o=t.$cell,i=t.$detail,r=t.vKey,s=t.vInd,v=d.length>0;if(!L(l)){v||F(o),y.find('tr[data-index="'+s+'"]').remove(),i.hide(),a.after(i);var f='<tr class="kv-expand-detail-row '+m+'" data-key="'+r+'" data-index="'+s+'">';i.wrap('<td colspan="'+j+'">').parent().wrap(f),l.html(c),o.attr("title",p),n?i.slideDown(C,function(){U(l),i.show()}):(i.show(),U(l));var u=a.prevAll(),h=a.index()+1;u.push(a),e.each(u,function(n,t){var a=e(t).find("td[rowspan]");e.each(a,function(n,a){var l=parseInt(e(a).attr("rowspan"));e(t).index()+l>h&&e(a).attr("rowspan",l+1)})}),v||Q(o)}},collapse:function(n){var t=this,a=t.$row,l=t.$icon,o=t.$cell,i=t.$detail,d=t.$container;O(l)||(n||F(o),d.html(""),l.html(s),o.attr("title",v),i.slideUp(C,function(){i.unwrap().unwrap(),i.appendTo(d),S(l);var n=a.prevAll();n.push(a);var t=a.index()+1;e.each(n,function(n,a){var l=e(a).find("td[rowspan]");e.each(l,function(n,l){var o=parseInt(e(l).attr("rowspan"));e(a).index()+o>t&&e(l).attr("rowspan",o-1)})})}),n||Q(o))},toggle:function(){var n,t=this,a=t.$icon,l=t.$cell,o=!1,i=t.vKey,d=t.vInd;if(!l.hasClass(N))return O(a)?(n=h&&!R,n&&(E.each(function(){var n=new G(e(this));n.collapse(!0)}),o=!0),t.load(function(){t.expand(!0)}),void(n&&!o||(y.trigger("kvexprow:toggle",[d,i,w,!0]),a.focus()))):void(L(a)&&(t.collapse(),y.trigger("kvexprow:toggle",[d,i,w,!1]),a.focus()))}},E.each(function(){}),y.data(l)||q(0),0===w.length&&(w={}),0===E.length?void P(I,"kv-state-disabled"):(E.each(function(){var n=e(this),t=new G(n),a=n.find(">.kv-expand-icon");L(a)&&(t.collapse(!1),t.expand(!1)),t.run()}),void(I.length&&B(I,"click",function(){if(!I.hasClass(N)&&0!==E.length){var a=O(b),l=L(b),o=e.extend(!0,{},n,{expandAll:l,collapseAll:a});F(I),l?(q(E.find(".kv-state-collapsed").length),S(b),b.html(c),I.attr("title",u),y.trigger("kvexprow:toggleAll",[w,!1])):a&&(q(E.find(".kv-state-expanded").length),U(b),b.html(s),I.attr("title",f),y.trigger("kvexprow:toggleAll",[w,!0])),kvExpandRow(o,t)}})))}}(window.jQuery); | 417.428571 | 5,391 | 0.655202 |
1e232cfe4ebb345f9a01fff89e46c89dbbab7405 | 2,752 | js | JavaScript | rreport/libraries/widgets/mathjax/jax/element/mml/optable/MiscMathSymbolsB.js | yufree/democode | f09a89437bfeb4b56d245a568bedb39e48dbe7b9 | [
"MIT"
] | 5 | 2016-11-08T11:11:39.000Z | 2022-03-15T13:36:31.000Z | rreport/libraries/widgets/mathjax/jax/element/mml/optable/MiscMathSymbolsB.js | yufree/democode | f09a89437bfeb4b56d245a568bedb39e48dbe7b9 | [
"MIT"
] | 2 | 2016-09-30T20:16:26.000Z | 2016-10-23T14:52:34.000Z | rreport/libraries/widgets/mathjax/jax/element/mml/optable/MiscMathSymbolsB.js | yufree/democode | f09a89437bfeb4b56d245a568bedb39e48dbe7b9 | [
"MIT"
] | 13 | 2016-09-30T15:44:19.000Z | 2022-03-15T13:36:30.000Z | /*
* /MathJax/jax/element/mml/optable/MiscMathSymbolsB.js
*
* Copyright (c) 2012 Design Science, Inc.
*
* Part of the MathJax library.
* See http://www.mathjax.org for details.
*
* Licensed under the Apache License, Version 2.0;
* you may not use this file except in compliance with the License.
*
* http://www.apache.org/licenses/LICENSE-2.0
*/
(function(a){var c=a.mo.OPTYPES;var b=a.TEXCLASS;MathJax.Hub.Insert(a.mo.prototype,{OPTABLE:{prefix:{"\u2980":[0,0,b.ORD,{fence:true,stretchy:true}],"\u2983":c.OPEN,"\u2985":c.OPEN,"\u2987":c.OPEN,"\u2989":c.OPEN,"\u298B":c.OPEN,"\u298D":c.OPEN,"\u298F":c.OPEN,"\u2991":c.OPEN,"\u2993":c.OPEN,"\u2995":c.OPEN,"\u2997":c.OPEN,"\u29FC":c.OPEN},postfix:{"\u2980":[0,0,b.ORD,{fence:true,stretchy:true}],"\u2984":c.CLOSE,"\u2986":c.CLOSE,"\u2988":c.CLOSE,"\u298A":c.CLOSE,"\u298C":c.CLOSE,"\u298E":c.CLOSE,"\u2990":c.CLOSE,"\u2992":c.CLOSE,"\u2994":c.CLOSE,"\u2996":c.CLOSE,"\u2998":c.CLOSE,"\u29FD":c.CLOSE},infix:{"\u2981":c.BIN3,"\u2982":c.BIN3,"\u2999":c.BIN3,"\u299A":c.BIN3,"\u299B":c.BIN3,"\u299C":c.BIN3,"\u299D":c.BIN3,"\u299E":c.BIN3,"\u299F":c.BIN3,"\u29A0":c.BIN3,"\u29A1":c.BIN3,"\u29A2":c.BIN3,"\u29A3":c.BIN3,"\u29A4":c.BIN3,"\u29A5":c.BIN3,"\u29A6":c.BIN3,"\u29A7":c.BIN3,"\u29A8":c.BIN3,"\u29A9":c.BIN3,"\u29AA":c.BIN3,"\u29AB":c.BIN3,"\u29AC":c.BIN3,"\u29AD":c.BIN3,"\u29AE":c.BIN3,"\u29AF":c.BIN3,"\u29B0":c.BIN3,"\u29B1":c.BIN3,"\u29B2":c.BIN3,"\u29B3":c.BIN3,"\u29B4":c.BIN3,"\u29B5":c.BIN3,"\u29B6":c.BIN4,"\u29B7":c.BIN4,"\u29B8":c.BIN4,"\u29B9":c.BIN4,"\u29BA":c.BIN4,"\u29BB":c.BIN4,"\u29BC":c.BIN4,"\u29BD":c.BIN4,"\u29BE":c.BIN4,"\u29BF":c.BIN4,"\u29C0":c.REL,"\u29C1":c.REL,"\u29C2":c.BIN3,"\u29C3":c.BIN3,"\u29C4":c.BIN4,"\u29C5":c.BIN4,"\u29C6":c.BIN4,"\u29C7":c.BIN4,"\u29C8":c.BIN4,"\u29C9":c.BIN3,"\u29CA":c.BIN3,"\u29CB":c.BIN3,"\u29CC":c.BIN3,"\u29CD":c.BIN3,"\u29CE":c.REL,"\u29CF":c.REL,"\u29CF\u0338":c.REL,"\u29D0":c.REL,"\u29D0\u0338":c.REL,"\u29D1":c.REL,"\u29D2":c.REL,"\u29D3":c.REL,"\u29D4":c.REL,"\u29D5":c.REL,"\u29D6":c.BIN4,"\u29D7":c.BIN4,"\u29D8":c.BIN3,"\u29D9":c.BIN3,"\u29DB":c.BIN3,"\u29DC":c.BIN3,"\u29DD":c.BIN3,"\u29DE":c.REL,"\u29DF":c.BIN3,"\u29E0":c.BIN3,"\u29E1":c.REL,"\u29E2":c.BIN4,"\u29E3":c.REL,"\u29E4":c.REL,"\u29E5":c.REL,"\u29E6":c.REL,"\u29E7":c.BIN3,"\u29E8":c.BIN3,"\u29E9":c.BIN3,"\u29EA":c.BIN3,"\u29EB":c.BIN3,"\u29EC":c.BIN3,"\u29ED":c.BIN3,"\u29EE":c.BIN3,"\u29EF":c.BIN3,"\u29F0":c.BIN3,"\u29F1":c.BIN3,"\u29F2":c.BIN3,"\u29F3":c.BIN3,"\u29F4":c.REL,"\u29F5":c.BIN4,"\u29F6":c.BIN4,"\u29F7":c.BIN4,"\u29F8":c.BIN3,"\u29F9":c.BIN3,"\u29FA":c.BIN3,"\u29FB":c.BIN3,"\u29FE":c.BIN4,"\u29FF":c.BIN4}}});MathJax.Ajax.loadComplete(a.optableDir+"/MiscMathSymbolsB.js")})(MathJax.ElementJax.mml);
| 161.882353 | 2,362 | 0.639172 |
1e23b970f560a29ac521a7e989a2eab9fd9836ba | 4,320 | js | JavaScript | public/dashboard/tmp/app/directives/graphiteSegment.js | mabotech/maboss | cad6466979aa4df97a672512414b587074bbeba4 | [
"MIT"
] | null | null | null | public/dashboard/tmp/app/directives/graphiteSegment.js | mabotech/maboss | cad6466979aa4df97a672512414b587074bbeba4 | [
"MIT"
] | null | null | null | public/dashboard/tmp/app/directives/graphiteSegment.js | mabotech/maboss | cad6466979aa4df97a672512414b587074bbeba4 | [
"MIT"
] | 1 | 2019-11-29T10:42:29.000Z | 2019-11-29T10:42:29.000Z | define([
'angular',
'app',
'lodash',
'jquery'
], function (angular, app, _, $) {
'use strict';
angular.module('grafana.directives').directive('graphiteSegment', [
'$compile',
'$sce',
function ($compile, $sce) {
var inputTemplate = '<input type="text" data-provide="typeahead" ' + ' class="grafana-target-text-input input-medium"' + ' spellcheck="false" style="display:none"></input>';
var buttonTemplate = '<a class="grafana-target-segment" tabindex="1" focus-me="segment.focus" ng-bind-html="segment.html"></a>';
return {
link: function ($scope, elem) {
var $input = $(inputTemplate);
var $button = $(buttonTemplate);
var segment = $scope.segment;
var options = null;
var cancelBlur = null;
$input.appendTo(elem);
$button.appendTo(elem);
$scope.updateVariableValue = function (value) {
if (value === '' || segment.value === value) {
return;
}
$scope.$apply(function () {
var selected = _.findWhere($scope.altSegments, { value: value });
if (selected) {
segment.value = selected.value;
segment.html = selected.html;
segment.expandable = selected.expandable;
} else {
segment.value = value;
segment.html = $sce.trustAsHtml(value);
segment.expandable = true;
}
$scope.segmentValueChanged(segment, $scope.$index);
});
};
$scope.switchToLink = function (now) {
if (now === true || cancelBlur) {
clearTimeout(cancelBlur);
cancelBlur = null;
$input.hide();
$button.show();
$scope.updateVariableValue($input.val());
} else {
// need to have long delay because the blur
// happens long before the click event on the typeahead options
cancelBlur = setTimeout($scope.switchToLink, 350);
}
};
$scope.source = function (query, callback) {
if (options) {
return options;
}
$scope.$apply(function () {
$scope.getAltSegments($scope.$index).then(function () {
options = _.map($scope.altSegments, function (alt) {
return alt.value;
});
// add custom values
if (segment.value !== 'select metric' && _.indexOf(options, segment.value) === -1) {
options.unshift(segment.value);
}
callback(options);
});
});
};
$scope.updater = function (value) {
if (value === segment.value) {
clearTimeout(cancelBlur);
$input.focus();
return value;
}
$input.val(value);
$scope.switchToLink(true);
return value;
};
$input.attr('data-provide', 'typeahead');
$input.typeahead({
source: $scope.source,
minLength: 0,
items: 10000,
updater: $scope.updater
});
var typeahead = $input.data('typeahead');
typeahead.lookup = function () {
this.query = this.$element.val() || '';
var items = this.source(this.query, $.proxy(this.process, this));
return items ? this.process(items) : items;
};
$button.keydown(function (evt) {
// trigger typeahead on down arrow or enter key
if (evt.keyCode === 40 || evt.keyCode === 13) {
$button.click();
}
});
$button.click(function () {
options = null;
$input.css('width', $button.width() + 16 + 'px');
$button.hide();
$input.show();
$input.focus();
var typeahead = $input.data('typeahead');
if (typeahead) {
$input.val('');
typeahead.lookup();
}
});
$input.blur($scope.switchToLink);
$compile(elem.contents())($scope);
}
};
}
]);
}); | 36.610169 | 179 | 0.479861 |
1e24153277186b7630c3768c30838669c0a9aa82 | 29,469 | js | JavaScript | Legacy-Code/Masters/plotters/Plotters-Candles-Volumes/Volumes.js | rico4dev/Superalgos | 91f17d0edf84b3750b47e802832bbce66b0d7892 | [
"Apache-2.0"
] | null | null | null | Legacy-Code/Masters/plotters/Plotters-Candles-Volumes/Volumes.js | rico4dev/Superalgos | 91f17d0edf84b3750b47e802832bbce66b0d7892 | [
"Apache-2.0"
] | null | null | null | Legacy-Code/Masters/plotters/Plotters-Candles-Volumes/Volumes.js | rico4dev/Superalgos | 91f17d0edf84b3750b47e802832bbce66b0d7892 | [
"Apache-2.0"
] | null | null | null | function newMastersPlottersCandlesVolumesVolumes() {
const MODULE_NAME = "Volumes Plotter";
const ERROR_LOG = true;
const INTENSIVE_LOG = false;
const logger = newWebDebugLog();
logger.fileName = MODULE_NAME;
let thisObject = {
/* Events declared outside the plotter. */
onDailyFileLoaded: onDailyFileLoaded,
// Main functions and properties.
initialize: initialize,
finalize: finalize,
container: undefined,
fitFunction: undefined,
getContainer: getContainer,
setTimeFrame: setTimeFrame,
setDatetime: setDatetime,
setCoordinateSystem: setCoordinateSystem,
recalculateScale: recalculateScale,
draw: draw
};
/* this is part of the module template */
thisObject.container = newContainer()
thisObject.container.initialize(MODULE_NAME)
let coordinateSystem
let timeFrame; // This will hold the current Time Frame the user is at.
let datetime; // This will hold the current Datetime the user is at.
let marketFile; // This is the current Market File being plotted.
let fileCursor; // This is the current File Cursor being used to retrieve Daily Files.
let marketFiles; // This object will provide the different Market Files at different Time Frames.
let dailyFiles; // This object will provide the different File Cursors at different Time Frames.
let scaleFile; // This file is used to calculate the scale.
/* these are module specific variables: */
let volumes = []; // Here we keep the volumes to be ploted every time the Draw() function is called by the AAWebPlatform.
let onMouseOverEventSuscriptionId
let zoomChangedEventSubscriptionId
let offsetChangedEventSubscriptionId
let dragFinishedEventSubscriptionId
let dimmensionsChangedEventSubscriptionId
let marketFilesUpdatedEventSubscriptionId
let dailyFilesUpdatedEventSubscriptionId
let scaleChangedEventSubscriptionId
let userPositionDate
return thisObject;
function finalize() {
try {
/* Stop listening to the necesary events. */
thisObject.container.eventHandler.stopListening(onMouseOverEventSuscriptionId)
canvas.chartingSpace.viewport.eventHandler.stopListening(zoomChangedEventSubscriptionId);
canvas.chartingSpace.viewport.eventHandler.stopListening(offsetChangedEventSubscriptionId);
canvas.eventHandler.stopListening(dragFinishedEventSubscriptionId);
thisObject.container.eventHandler.stopListening(dimmensionsChangedEventSubscriptionId)
marketFiles.eventHandler.stopListening(marketFilesUpdatedEventSubscriptionId);
dailyFiles.eventHandler.stopListening(dailyFilesUpdatedEventSubscriptionId);
/* Destroyd References */
marketFiles = undefined;
dailyFiles = undefined;
datetime = undefined;
timeFrame = undefined;
marketFile = undefined;
fileCursor = undefined;
thisObject.fitFunction = undefined
finalizeCoordinateSystem()
coordinateSystem = undefined
} catch (err) {
if (ERROR_LOG === true) { logger.write("[ERROR] finalize -> err = " + err.stack); }
}
}
function initialize(pStorage, pDatetime, pTimeFrame, pCoordinateSystem, callBackFunction) {
try {
/* Store the information received. */
marketFiles = pStorage.marketFiles[0];
dailyFiles = pStorage.dailyFiles[0];
datetime = pDatetime;
timeFrame = pTimeFrame;
coordinateSystem = pCoordinateSystem
initializeCoordinateSystem()
/* We need a Market File in order to calculate the Y scale, since this scale depends on actual data. */
scaleFile = marketFiles.getFile(ONE_DAY_IN_MILISECONDS); // This file is the one processed faster.
/* Now we set the right files according to current Period. */
marketFile = marketFiles.getFile(pTimeFrame);
fileCursor = dailyFiles.getFileCursor(pTimeFrame);
/* Listen to the necesary events. */
zoomChangedEventSubscriptionId = canvas.chartingSpace.viewport.eventHandler.listenToEvent("Zoom Changed", onViewportZoomChanged);
offsetChangedEventSubscriptionId = canvas.chartingSpace.viewport.eventHandler.listenToEvent("Position Changed", onViewportPositionChanged);
dragFinishedEventSubscriptionId = canvas.eventHandler.listenToEvent("Drag Finished", onDragFinished);
marketFilesUpdatedEventSubscriptionId = marketFiles.eventHandler.listenToEvent("Files Updated", onMarketFilesUpdated);
dailyFilesUpdatedEventSubscriptionId = dailyFiles.eventHandler.listenToEvent("Files Updated", onDailyFilesUpdated);
onMouseOverEventSuscriptionId = thisObject.container.eventHandler.listenToEvent('onMouseOver', onMouseOver)
/* Get ready for plotting. */
recalculate();
dimmensionsChangedEventSubscriptionId = thisObject.container.eventHandler.listenToEvent('Dimmensions Changed', function () {
recalculate();
})
callBackFunction();
} catch (err) {
if (ERROR_LOG === true) { logger.write("[ERROR] initialize -> err = " + err.stack); }
}
}
function initializeCoordinateSystem() {
scaleChangedEventSubscriptionId = coordinateSystem.eventHandler.listenToEvent('Scale Changed', onScaleChanged)
}
function finalizeCoordinateSystem() {
coordinateSystem.eventHandler.stopListening(scaleChangedEventSubscriptionId)
}
function onScaleChanged() {
recalculate();
}
function onMouseOver(event) {
let userPosition = getDateFromPointAtBrowserCanvas(event, thisObject.container, coordinateSystem)
userPositionDate = userPosition.valueOf()
}
function recalculateScale() {
recalculate();
}
function getContainer(point) {
try {
let container;
/* First we check if this point is inside this space. */
if (thisObject.container.frame.isThisPointHere(point) === true) {
return thisObject.container;
} else {
/* This point does not belong to this space. */
return undefined;
}
} catch (err) {
if (ERROR_LOG === true) { logger.write("[ERROR] getContainer -> err = " + err.stack); }
}
}
function onMarketFilesUpdated() {
try {
let newMarketFile = marketFiles.getFile(timeFrame);
if (newMarketFile !== undefined) {
marketFile = newMarketFile;
recalculate();
}
} catch (err) {
if (ERROR_LOG === true) { logger.write("[ERROR] onMarketFilesUpdated -> err = " + err.stack); }
}
}
function onDailyFilesUpdated() {
try {
let newFileCursor = dailyFiles.getFileCursor(timeFrame);
if (newFileCursor !== undefined) {
fileCursor = newFileCursor;
recalculate();
}
} catch (err) {
if (ERROR_LOG === true) { logger.write("[ERROR] onDailyFilesUpdated -> err = " + err.stack); }
}
}
function setTimeFrame(pTimeFrame) {
try {
if (timeFrame !== pTimeFrame) {
timeFrame = pTimeFrame;
if (timeFrame >= _1_HOUR_IN_MILISECONDS) {
let newMarketFile = marketFiles.getFile(pTimeFrame);
if (newMarketFile !== undefined) {
marketFile = newMarketFile;
recalculate();
}
} else {
let newFileCursor = dailyFiles.getFileCursor(pTimeFrame);
if (newFileCursor !== undefined) {
fileCursor = newFileCursor;
recalculate();
}
}
}
} catch (err) {
if (ERROR_LOG === true) { logger.write("[ERROR] setTimeFrame -> err = " + err.stack); }
}
}
function setDatetime(pDatetime) {
datetime = pDatetime;
}
function setCoordinateSystem(pCoordinateSystem) {
finalizeCoordinateSystem()
coordinateSystem = pCoordinateSystem
initializeCoordinateSystem()
}
function onDailyFileLoaded(event) {
if (event.currentValue === event.totalValue) {
/* This happens only when all of the files in the cursor have been loaded. */
recalculate();
}
}
function draw() {
try {
if (INTENSIVE_LOG === true) { logger.write("[INFO] draw -> Entering function."); }
thisObject.container.frame.draw();
plotChart();
} catch (err) {
if (ERROR_LOG === true) { logger.write("[ERROR] draw -> err = " + err.stack); }
}
}
function recalculate() {
if (timeFrame >= _1_HOUR_IN_MILISECONDS) {
recalculateUsingMarketFiles();
} else {
recalculateUsingDailyFiles();
}
thisObject.container.eventHandler.raiseEvent("Volumes Changed", volumes);
}
function recalculateUsingDailyFiles() {
try {
if (fileCursor === undefined) { return; } // We need to wait
if (fileCursor.files.size === 0) { return; } // We need to wait until there are files in the cursor
let leftDate = getDateFromPointAtBrowserCanvas(canvas.chartingSpace.viewport.visibleArea.topLeft, thisObject.container, coordinateSystem);
let rightDate = getDateFromPointAtBrowserCanvas(canvas.chartingSpace.viewport.visibleArea.topRight, thisObject.container, coordinateSystem);
let dateDiff = rightDate.valueOf() - leftDate.valueOf();
let farLeftDate = new Date(leftDate.valueOf() - dateDiff * 1.5);
let farRightDate = new Date(rightDate.valueOf() + dateDiff * 1.5);
let currentDate = new Date(farLeftDate.valueOf());
volumes = [];
while (currentDate.valueOf() <= farRightDate.valueOf() + ONE_DAY_IN_MILISECONDS) {
let stringDate = currentDate.getFullYear() + '-' + pad(currentDate.getMonth() + 1, 2) + '-' + pad(currentDate.getDate(), 2);
let dailyFile = fileCursor.files.get(stringDate);
if (dailyFile !== undefined) {
for (let i = 0; i < dailyFile.length; i++) {
let volume = {
amountBuy: 0,
amountSell: 0,
begin: undefined,
end: undefined
};
volume.amountBuy = dailyFile[i][0];
volume.amountSell = dailyFile[i][1];
volume.begin = dailyFile[i][2];
volume.end = dailyFile[i][3];
if (
(volume.begin >= farLeftDate.valueOf() && volume.end <= farRightDate.valueOf()) &&
(volume.begin >= coordinateSystem.min.x && volume.end <= coordinateSystem.max.x)
) {
volumes.push(volume);
if (datetime.valueOf() >= volume.begin && datetime.valueOf() <= volume.end) {
thisObject.container.eventHandler.raiseEvent("Current Record Changed", thisObject.currentCandle);
}
}
}
}
currentDate = new Date(currentDate.valueOf() + ONE_DAY_IN_MILISECONDS);
}
/* Lests check if all the visible screen is going to be covered by volumes. */
let lowerEnd = leftDate.valueOf();
let upperEnd = rightDate.valueOf();
if (volumes.length > 0) {
if (volumes[0].begin > lowerEnd || volumes[volumes.length - 1].end < upperEnd) {
setTimeout(recalculate, 2000);
//console.log("File missing while calculating volumes, scheduling a recalculation in 2 seconds.");
}
}
//console.log("Olivia > recalculateUsingDailyFiles > total volumes generated : " + volumes.length);
} catch (err) {
if (ERROR_LOG === true) { logger.write("[ERROR] recalculateUsingDailyFiles -> err = " + err.stack); }
}
}
function recalculateUsingMarketFiles() {
try {
if (marketFile === undefined) { return; } // Initialization not complete yet.
let leftDate = getDateFromPointAtBrowserCanvas(canvas.chartingSpace.viewport.visibleArea.topLeft, thisObject.container, coordinateSystem);
let rightDate = getDateFromPointAtBrowserCanvas(canvas.chartingSpace.viewport.visibleArea.topRight, thisObject.container, coordinateSystem);
let dateDiff = rightDate.valueOf() - leftDate.valueOf();
leftDate = new Date(leftDate.valueOf() - dateDiff * 1.5);
rightDate = new Date(rightDate.valueOf() + dateDiff * 1.5);
volumes = [];
for (let i = 0; i < marketFile.length; i++) {
let volume = {
amountBuy: 0,
amountSell: 0,
begin: undefined,
end: undefined
};
volume.amountBuy = marketFile[i][0];
volume.amountSell = marketFile[i][1];
volume.begin = marketFile[i][2];
volume.end = marketFile[i][3];
if (
(volume.begin >= leftDate.valueOf() && volume.end <= rightDate.valueOf()) &&
(volume.begin >= coordinateSystem.min.x && volume.end <= coordinateSystem.max.x)
) {
volumes.push(volume);
if (datetime.valueOf() >= volume.begin && datetime.valueOf() <= volume.end) {
thisObject.container.eventHandler.raiseEvent("Current Record Changed", thisObject.currentCandle);
}
}
}
//console.log("Olivia > recalculateUsingMarketFiles > total volumes generated : " + volumes.length);
} catch (err) {
if (ERROR_LOG === true) { logger.write("[ERROR] recalculateUsingMarketFiles -> err = " + err.stack); }
}
}
function plotChart() {
try {
let lowResolution = false
if (canvas.chartingSpace.viewport.zoomTargetLevel < ZOOM_OUT_THRESHOLD_FOR_PLOTTING_IN_LOW_RESOLUTION) {
if (volumes.length > 100) {
lowResolution = true
}
}
if (volumes.length > 0) {
/* Now we calculate and plot the volumes */
let visibleHeight = canvas.chartingSpace.viewport.visibleArea.bottomRight.y - canvas.chartingSpace.viewport.visibleArea.topLeft.y;
let frameCorner1 = {
x: 0,
y: 0
};
let frameCorner2 = {
x: thisObject.container.frame.width,
y: thisObject.container.frame.height
};
/* Now the transformations. */
frameCorner1 = transformThisPoint(frameCorner1, thisObject.container.frame.container);
frameCorner2 = transformThisPoint(frameCorner2, thisObject.container.frame.container);
let frameHeightInViewPort = frameCorner2.y - frameCorner1.y;
if (volumes.length > 0) {
for (let i = 0; i < volumes.length; i++) {
volume = volumes[i];
let volumePointA1;
let volumePointA2;
let volumePointA3;
let volumePointA4;
function calculateBuys(plot, height) {
volumePointA1 = {
x: volume.begin + timeFrame / 7 * 2,
y: 0
};
volumePointA2 = {
x: volume.begin + timeFrame / 7 * 2,
y: volume.amountBuy
};
volumePointA3 = {
x: volume.begin + timeFrame / 7 * 5,
y: volume.amountBuy
};
volumePointA4 = {
x: volume.begin + timeFrame / 7 * 5,
y: 0
};
volumePointA1 = plot.transformThisPoint(volumePointA1);
volumePointA2 = plot.transformThisPoint(volumePointA2);
volumePointA3 = plot.transformThisPoint(volumePointA3);
volumePointA4 = plot.transformThisPoint(volumePointA4);
volumePointA1 = transformThisPoint(volumePointA1, thisObject.container);
volumePointA2 = transformThisPoint(volumePointA2, thisObject.container);
volumePointA3 = transformThisPoint(volumePointA3, thisObject.container);
volumePointA4 = transformThisPoint(volumePointA4, thisObject.container);
let baseIncrement = (volumePointA3.x - volumePointA1.x) * WIDHTER_VOLUME_BAR_BASE_FACTOR;
volumePointA1.x = volumePointA1.x - baseIncrement;
volumePointA4.x = volumePointA4.x + baseIncrement;
if (volumePointA4.x < canvas.chartingSpace.viewport.visibleArea.bottomLeft.x || volumePointA1.x > canvas.chartingSpace.viewport.visibleArea.bottomRight.x) {
return false;
}
return true;
}
if (calculateBuys(coordinateSystem, thisObject.container.frame.height) === false) { continue; } // We try to see if it fits in the visible area.
let diffA = volumePointA1.y - canvas.chartingSpace.viewport.visibleArea.bottomLeft.y
if (diffA > 0) {
volumePointA1.y = volumePointA1.y - diffA
volumePointA2.y = volumePointA2.y - diffA
volumePointA3.y = volumePointA3.y - diffA
volumePointA4.y = volumePointA4.y - diffA
}
let volumePointB1;
let volumePointB2;
let volumePointB3;
let volumePointB4;
function calculateSells(plot, height) {
volumePointB1 = {
x: volume.begin + timeFrame / 7 * 2,
y: height
};
volumePointB2 = {
x: volume.begin + timeFrame / 7 * 2,
y: height - volume.amountSell
};
volumePointB3 = {
x: volume.begin + timeFrame / 7 * 5,
y: height - volume.amountSell
};
volumePointB4 = {
x: volume.begin + timeFrame / 7 * 5,
y: height
};
volumePointB1 = plot.transformThisPoint2(volumePointB1);
volumePointB2 = plot.transformThisPoint2(volumePointB2);
volumePointB3 = plot.transformThisPoint2(volumePointB3);
volumePointB4 = plot.transformThisPoint2(volumePointB4);
volumePointB1 = transformThisPoint(volumePointB1, thisObject.container);
volumePointB2 = transformThisPoint(volumePointB2, thisObject.container);
volumePointB3 = transformThisPoint(volumePointB3, thisObject.container);
volumePointB4 = transformThisPoint(volumePointB4, thisObject.container);
}
calculateSells(coordinateSystem, thisObject.container.frame.height); // We try to see if it fits in the visible area.
let diffB = volumePointB1.y - canvas.chartingSpace.viewport.visibleArea.topLeft.y
if (diffB < 0) {
volumePointB1.y = volumePointB1.y - diffB
volumePointB2.y = volumePointB2.y - diffB
volumePointB3.y = volumePointB3.y - diffB
volumePointB4.y = volumePointB4.y - diffB
}
/* We put a wider base */
let baseIncrement = (volumePointB3.x - volumePointB1.x) * WIDHTER_VOLUME_BAR_BASE_FACTOR;
volumePointB1.x = volumePointB1.x - baseIncrement;
volumePointB4.x = volumePointB4.x + baseIncrement;
/* We put a less wider top */
let baseDencrement = (volumePointA3.x - volumePointA2.x) * LESS_WIDHTER_VOLUME_BAR_TOP_FACTOR;
volumePointA2.x = volumePointA2.x + baseDencrement;
volumePointA3.x = volumePointA3.x - baseDencrement;
volumePointB2.x = volumePointB2.x + baseDencrement;
volumePointB3.x = volumePointB3.x - baseDencrement;
/* Everything must fit within the visible area */
volumePointA1 = canvas.chartingSpace.viewport.fitIntoVisibleArea(volumePointA1);
volumePointA2 = canvas.chartingSpace.viewport.fitIntoVisibleArea(volumePointA2);
volumePointA3 = canvas.chartingSpace.viewport.fitIntoVisibleArea(volumePointA3);
volumePointA4 = canvas.chartingSpace.viewport.fitIntoVisibleArea(volumePointA4);
volumePointB1 = canvas.chartingSpace.viewport.fitIntoVisibleArea(volumePointB1);
volumePointB2 = canvas.chartingSpace.viewport.fitIntoVisibleArea(volumePointB2);
volumePointB3 = canvas.chartingSpace.viewport.fitIntoVisibleArea(volumePointB3);
volumePointB4 = canvas.chartingSpace.viewport.fitIntoVisibleArea(volumePointB4);
volumePointA1 = thisObject.fitFunction(volumePointA1);
volumePointA2 = thisObject.fitFunction(volumePointA2);
volumePointA3 = thisObject.fitFunction(volumePointA3);
volumePointA4 = thisObject.fitFunction(volumePointA4);
volumePointB1 = thisObject.fitFunction(volumePointB1);
volumePointB2 = thisObject.fitFunction(volumePointB2);
volumePointB3 = thisObject.fitFunction(volumePointB3);
volumePointB4 = thisObject.fitFunction(volumePointB4);
/* Everything must fit within the Frame. We know that that is equivalent to say that each bar con not be higher than the base of the opposite . */
if (volumePointA2.y < volumePointB1.y) {
volumePointA2.y = volumePointB1.y;
volumePointA3.y = volumePointB1.y;
}
if (volumePointB2.y > volumePointA1.y) {
volumePointB2.y = volumePointA1.y;
volumePointB3.y = volumePointA1.y;
}
/* Now the drawing of the volume bars*/
browserCanvasContext.beginPath();
browserCanvasContext.moveTo(volumePointA1.x, volumePointA1.y);
browserCanvasContext.lineTo(volumePointA2.x, volumePointA2.y);
browserCanvasContext.lineTo(volumePointA3.x, volumePointA3.y);
browserCanvasContext.lineTo(volumePointA4.x, volumePointA4.y);
browserCanvasContext.closePath();
if (lowResolution === false) {
browserCanvasContext.fillStyle = 'rgba(' + UI_COLOR.GREEN + ', 0.40)';
if (userPositionDate >= volume.begin && userPositionDate <= volume.end) {
browserCanvasContext.fillStyle = 'rgba(' + UI_COLOR.TITANIUM_YELLOW + ', 0.40)'; // Current bar accroding to time
}
}
browserCanvasContext.fill();
browserCanvasContext.strokeStyle = 'rgba(' + UI_COLOR.PATINATED_TURQUOISE + ', 0.40)';
browserCanvasContext.lineWidth = 1;
browserCanvasContext.setLineDash([0, 0])
browserCanvasContext.stroke();
browserCanvasContext.beginPath();
browserCanvasContext.moveTo(volumePointB1.x, volumePointB1.y);
browserCanvasContext.lineTo(volumePointB2.x, volumePointB2.y);
browserCanvasContext.lineTo(volumePointB3.x, volumePointB3.y);
browserCanvasContext.lineTo(volumePointB4.x, volumePointB4.y);
browserCanvasContext.closePath();
if (lowResolution === false) {
browserCanvasContext.fillStyle = 'rgba(' + UI_COLOR.RUSTED_RED + ', 0.40)';
if (userPositionDate >= volume.begin && userPositionDate <= volume.end) {
browserCanvasContext.fillStyle = 'rgba(' + UI_COLOR.TITANIUM_YELLOW + ', 0.40)'; // Current volume accroding to time
}
browserCanvasContext.fill();
}
browserCanvasContext.strokeStyle = 'rgba(' + UI_COLOR.RED + ', 0.40)';
browserCanvasContext.lineWidth = 1;
browserCanvasContext.setLineDash([0, 0])
browserCanvasContext.stroke();
if (userPositionDate >= volume.begin && userPositionDate <= volume.end) {
let buyInfo = {
baseWidth: volumePointA4.x - volumePointA1.x,
topWidth: volumePointA3.x - volumePointA2.x,
height: volumePointA2.y - volumePointA1.y
};
let sellInfo = {
baseWidth: volumePointB4.x - volumePointB1.x,
topWidth: volumePointB3.x - volumePointB2.x,
height: volumePointB2.y - volumePointB1.y
};
let currentVolume = {
buyInfo: buyInfo,
sellInfo: sellInfo,
period: timeFrame,
innerVolumeBar: volume
};
thisObject.container.eventHandler.raiseEvent("Current Record Changed", currentVolume);
}
/* Contributing to Auto-Scale*/
coordinateSystem.reportYValue(volume.amountBuy * 5)
coordinateSystem.reportYValue(volume.amountSell * 5)
coordinateSystem.reportYValue(0)
}
}
}
} catch (err) {
if (ERROR_LOG === true) { logger.write("[ERROR] plotChart -> err = " + err.stack); }
}
}
function onViewportZoomChanged(event) {
recalculate()
}
function onViewportPositionChanged(event) {
try {
if (event !== undefined) {
if (event.recalculate === true) {
recalculate();
return
}
}
if (Math.random() * 100 > 95) {
recalculate();
};
} catch (err) {
if (ERROR_LOG === true) { logger.write("[ERROR] onViewportPositionChanged -> err = " + err.stack); }
}
}
function onDragFinished() {
recalculate();
}
}
| 38.928666 | 184 | 0.533883 |
1e242c1635bfbbc0b2d59c84c20f1f035ca4d24e | 472 | js | JavaScript | cmds/Other/bug.js | Guiding-Lanterns/Guiding-Lanterns | 5fc3bac28efe4708d87f0c2d44ee63362f756454 | [
"Apache-2.0"
] | 2 | 2019-06-22T10:52:36.000Z | 2019-09-26T16:17:06.000Z | cmds/Other/bug.js | GreepTheSheep/CoronaLanterns | 5fc3bac28efe4708d87f0c2d44ee63362f756454 | [
"Apache-2.0"
] | 9 | 2019-10-18T19:54:22.000Z | 2021-01-27T22:39:17.000Z | cmds/Other/bug.js | Guiding-Lanterns/Guiding-Lanterns | 5fc3bac28efe4708d87f0c2d44ee63362f756454 | [
"Apache-2.0"
] | 3 | 2019-09-26T16:14:55.000Z | 2020-01-10T12:56:42.000Z | const Discord = require("discord.js");
module.exports = function(message, client, prefix, lang, logchannel) {
if (message.content.startsWith(prefix + 'bug')) {
message.reply(lang.bug_text + '\n> https://github.com/Guiding-Lanterns/Guiding-Lanterns/issues/new').then(
message.channel.send(lang.bug_discord + '\n> https://discord.gg/Nzherng')
.catch(err=>{
message.reply(lang.error);
console.log(err)
}))
}
} | 36.307692 | 114 | 0.627119 |
1e2459103f4642bd305aa6bddc92b551b3a37b4a | 1,402 | js | JavaScript | server/models/users.js | richard4s/kliine-api | ce52d88ee63a0d37a68b97c7136fae12cc5bd8bb | [
"MIT"
] | null | null | null | server/models/users.js | richard4s/kliine-api | ce52d88ee63a0d37a68b97c7136fae12cc5bd8bb | [
"MIT"
] | null | null | null | server/models/users.js | richard4s/kliine-api | ce52d88ee63a0d37a68b97c7136fae12cc5bd8bb | [
"MIT"
] | null | null | null | 'use strict';
module.exports = (sequelize, DataTypes) => {
const Users = sequelize.define('Users', {
firstName: {
allowNull: false,
type: DataTypes.STRING
},
lastName: {
allowNull: false,
type: DataTypes.STRING
},
phone: {
allowNull: false,
type: DataTypes.STRING
},
email: {
allowNull: false,
unique: true,
type: DataTypes.STRING
},
address: {
allowNull: false,
type: DataTypes.STRING
},
emailVerified: {
allowNull: false,
type: DataTypes.BOOLEAN,
},
resetToken: {
allowNull: true,
type: DataTypes.STRING
},
password: {
allowNull: false,
type: DataTypes.STRING
},
status: {
allowNull: true,
type: DataTypes.INTEGER,
onDelete: 'CASCADE',
references: {
model: 'Status',
key: 'id',
as: 'statusID',
},
},
isAdmin: {
allowNull: false,
type: DataTypes.BOOLEAN
}
});
Users.associate = function(models) {
// associations can be defined here
// Users.hasMany(models.Statuses, {
// foreignKey: 'status',
// key: 'id',
// onDelete: 'CASCADE',
// });
Users.hasMany(models.Status)
// Users.belongsTo(models.Status, {
// foreignKey: 'id',
// as: 'userStatusId',
// });
};
return Users;
}; | 19.746479 | 44 | 0.531384 |
1e25202e287f33fcaefb26710b1f2acd7170071f | 461 | js | JavaScript | packages/saboteur-shared/src/game.js | kombucha/saboteur | a6a37a7a4cf23ce729d43c5f516ec1d19f152252 | [
"MIT"
] | 3 | 2018-07-30T23:41:53.000Z | 2020-05-01T14:33:02.000Z | packages/saboteur-shared/src/game.js | kombucha/saboteur | a6a37a7a4cf23ce729d43c5f516ec1d19f152252 | [
"MIT"
] | 1 | 2017-10-10T06:29:17.000Z | 2017-10-10T06:29:17.000Z | packages/saboteur-shared/src/game.js | kombucha/saboteur | a6a37a7a4cf23ce729d43c5f516ec1d19f152252 | [
"MIT"
] | 2 | 2017-09-20T09:44:58.000Z | 2022-01-21T17:28:45.000Z | const MIN_PLAYERS_COUNT = 2;
const MAX_PLAYERS_COUNT = 10;
const ROLES = {
BUILDER: "BUILDER",
SABOTEUR: "SABOTEUR"
};
const STATUSES = {
WAITING_FOR_PLAYERS: "WAITING_FOR_PLAYERS",
PLAYING: "PLAYING",
ROUND_END: "ROUND_END",
COMPLETED: "COMPLETED"
};
const DESTINATION_TYPES = {
DISCARD: "DISCARD",
SLOT: "SLOT",
PLAYER: "PLAYER"
};
module.exports = {
DESTINATION_TYPES,
MIN_PLAYERS_COUNT,
MAX_PLAYERS_COUNT,
ROLES,
STATUSES
};
| 15.896552 | 45 | 0.696312 |
1e25907ab302b1fbff0351da26c19bfdd365fccc | 675 | js | JavaScript | src/components/elements/widgets/product/ProductTop/ProductDetailRight.js | SUNNYKIMM/tmax_Front | edd779e4ba90a29394671f4ebac1a0dc08091564 | [
"MIT"
] | null | null | null | src/components/elements/widgets/product/ProductTop/ProductDetailRight.js | SUNNYKIMM/tmax_Front | edd779e4ba90a29394671f4ebac1a0dc08091564 | [
"MIT"
] | null | null | null | src/components/elements/widgets/product/ProductTop/ProductDetailRight.js | SUNNYKIMM/tmax_Front | edd779e4ba90a29394671f4ebac1a0dc08091564 | [
"MIT"
] | null | null | null | import ProductDetailRightTop from "./ProductDetailRightTop";
import ProductDetailRightMiddle from "./ProductDetailRightMiddle";
import ProductDetailRightBottom from "./ProductDetailRightBottom";
export default function ProductDetailRight({ productData }) {
return(
<div className="col-lg-6 col-md-6">
<div className="product-details-content ml-70">
<ProductDetailRightTop
data = {productData}
/>
<ProductDetailRightMiddle/>
<ProductDetailRightBottom/>
</div>
</div>
);
} | 39.705882 | 67 | 0.555556 |
1e261917c8befef2163d29ce3664d2959c908534 | 89,173 | js | JavaScript | src/physics/arcade/World.js | wiserim/phaser | d2e2e86ef1017a082f09de09042df40700b737c9 | [
"MIT"
] | 1 | 2020-12-02T06:41:59.000Z | 2020-12-02T06:41:59.000Z | src/physics/arcade/World.js | liuxiaolong-ai/phaser | 827851d02c28c15730bd68c301ae18c40375bd55 | [
"MIT"
] | null | null | null | src/physics/arcade/World.js | liuxiaolong-ai/phaser | 827851d02c28c15730bd68c301ae18c40375bd55 | [
"MIT"
] | 1 | 2020-12-15T19:29:05.000Z | 2020-12-15T19:29:05.000Z | /**
* @author Richard Davey <rich@photonstorm.com>
* @copyright 2020 Photon Storm Ltd.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
var AngleBetweenPoints = require('../../math/angle/BetweenPoints');
var Body = require('./Body');
var Clamp = require('../../math/Clamp');
var Class = require('../../utils/Class');
var Collider = require('./Collider');
var CONST = require('./const');
var DistanceBetween = require('../../math/distance/DistanceBetween');
var EventEmitter = require('eventemitter3');
var Events = require('./events');
var FuzzyEqual = require('../../math/fuzzy/Equal');
var FuzzyGreaterThan = require('../../math/fuzzy/GreaterThan');
var FuzzyLessThan = require('../../math/fuzzy/LessThan');
var GetOverlapX = require('./GetOverlapX');
var GetOverlapY = require('./GetOverlapY');
var GetTilesWithinWorldXY = require('../../tilemaps/components/GetTilesWithinWorldXY');
var GetValue = require('../../utils/object/GetValue');
var MATH_CONST = require('../../math/const');
var ProcessQueue = require('../../structs/ProcessQueue');
var ProcessTileCallbacks = require('./tilemap/ProcessTileCallbacks');
var Rectangle = require('../../geom/rectangle/Rectangle');
var RTree = require('../../structs/RTree');
var SeparateTile = require('./tilemap/SeparateTile');
var SeparateX = require('./SeparateX');
var SeparateY = require('./SeparateY');
var Set = require('../../structs/Set');
var StaticBody = require('./StaticBody');
var TileIntersectsBody = require('./tilemap/TileIntersectsBody');
var TransformMatrix = require('../../gameobjects/components/TransformMatrix');
var Vector2 = require('../../math/Vector2');
var Wrap = require('../../math/Wrap');
/**
* @classdesc
* The Arcade Physics World.
*
* The World is responsible for creating, managing, colliding and updating all of the bodies within it.
*
* An instance of the World belongs to a Phaser.Scene and is accessed via the property `physics.world`.
*
* @class World
* @extends Phaser.Events.EventEmitter
* @memberof Phaser.Physics.Arcade
* @constructor
* @since 3.0.0
*
* @param {Phaser.Scene} scene - The Scene to which this World instance belongs.
* @param {Phaser.Types.Physics.Arcade.ArcadeWorldConfig} config - An Arcade Physics Configuration object.
*/
var World = new Class({
Extends: EventEmitter,
initialize:
function World (scene, config)
{
EventEmitter.call(this);
/**
* The Scene this simulation belongs to.
*
* @name Phaser.Physics.Arcade.World#scene
* @type {Phaser.Scene}
* @since 3.0.0
*/
this.scene = scene;
/**
* Dynamic Bodies in this simulation.
*
* @name Phaser.Physics.Arcade.World#bodies
* @type {Phaser.Structs.Set.<Phaser.Physics.Arcade.Body>}
* @since 3.0.0
*/
this.bodies = new Set();
/**
* Static Bodies in this simulation.
*
* @name Phaser.Physics.Arcade.World#staticBodies
* @type {Phaser.Structs.Set.<Phaser.Physics.Arcade.StaticBody>}
* @since 3.0.0
*/
this.staticBodies = new Set();
/**
* Static Bodies marked for deletion.
*
* @name Phaser.Physics.Arcade.World#pendingDestroy
* @type {Phaser.Structs.Set.<(Phaser.Physics.Arcade.Body|Phaser.Physics.Arcade.StaticBody)>}
* @since 3.1.0
*/
this.pendingDestroy = new Set();
/**
* This simulation's collision processors.
*
* @name Phaser.Physics.Arcade.World#colliders
* @type {Phaser.Structs.ProcessQueue.<Phaser.Physics.Arcade.Collider>}
* @since 3.0.0
*/
this.colliders = new ProcessQueue();
/**
* Acceleration of Bodies due to gravity, in pixels per second.
*
* @name Phaser.Physics.Arcade.World#gravity
* @type {Phaser.Math.Vector2}
* @since 3.0.0
*/
this.gravity = new Vector2(GetValue(config, 'gravity.x', 0), GetValue(config, 'gravity.y', 0));
/**
* A boundary constraining Bodies.
*
* @name Phaser.Physics.Arcade.World#bounds
* @type {Phaser.Geom.Rectangle}
* @since 3.0.0
*/
this.bounds = new Rectangle(
GetValue(config, 'x', 0),
GetValue(config, 'y', 0),
GetValue(config, 'width', scene.sys.scale.width),
GetValue(config, 'height', scene.sys.scale.height)
);
/**
* The boundary edges that Bodies can collide with.
*
* @name Phaser.Physics.Arcade.World#checkCollision
* @type {Phaser.Types.Physics.Arcade.CheckCollisionObject}
* @since 3.0.0
*/
this.checkCollision = {
up: GetValue(config, 'checkCollision.up', true),
down: GetValue(config, 'checkCollision.down', true),
left: GetValue(config, 'checkCollision.left', true),
right: GetValue(config, 'checkCollision.right', true)
};
/**
* The number of physics steps to be taken per second.
*
* This property is read-only. Use the `setFPS` method to modify it at run-time.
*
* @name Phaser.Physics.Arcade.World#fps
* @readonly
* @type {number}
* @default 60
* @since 3.10.0
*/
this.fps = GetValue(config, 'fps', 60);
/**
* Should Physics use a fixed update time-step (true) or sync to the render fps (false)?.
* False value of this property disables fps and timeScale properties.
*
* @name Phaser.Physics.Arcade.World#fixedStep
* @type {boolean}
* @default true
* @since 3.23.0
*/
this.fixedStep = GetValue(config, 'fixedStep', true);
/**
* The amount of elapsed ms since the last frame.
*
* @name Phaser.Physics.Arcade.World#_elapsed
* @private
* @type {number}
* @since 3.10.0
*/
this._elapsed = 0;
/**
* Internal frame time value.
*
* @name Phaser.Physics.Arcade.World#_frameTime
* @private
* @type {number}
* @since 3.10.0
*/
this._frameTime = 1 / this.fps;
/**
* Internal frame time ms value.
*
* @name Phaser.Physics.Arcade.World#_frameTimeMS
* @private
* @type {number}
* @since 3.10.0
*/
this._frameTimeMS = 1000 * this._frameTime;
/**
* The number of steps that took place in the last frame.
*
* @name Phaser.Physics.Arcade.World#stepsLastFrame
* @readonly
* @type {number}
* @since 3.10.0
*/
this.stepsLastFrame = 0;
/**
* Scaling factor applied to the frame rate.
*
* - 1.0 = normal speed
* - 2.0 = half speed
* - 0.5 = double speed
*
* @name Phaser.Physics.Arcade.World#timeScale
* @type {number}
* @default 1
* @since 3.10.0
*/
this.timeScale = GetValue(config, 'timeScale', 1);
/**
* The maximum absolute difference of a Body's per-step velocity and its overlap with another Body that will result in separation on *each axis*.
* Larger values favor separation.
* Smaller values favor no separation.
*
* @name Phaser.Physics.Arcade.World#OVERLAP_BIAS
* @type {number}
* @default 4
* @since 3.0.0
*/
this.OVERLAP_BIAS = GetValue(config, 'overlapBias', 4);
/**
* The maximum absolute value of a Body's overlap with a tile that will result in separation on *each axis*.
* Larger values favor separation.
* Smaller values favor no separation.
* The optimum value may be similar to the tile size.
*
* @name Phaser.Physics.Arcade.World#TILE_BIAS
* @type {number}
* @default 16
* @since 3.0.0
*/
this.TILE_BIAS = GetValue(config, 'tileBias', 16);
/**
* Always separate overlapping Bodies horizontally before vertically.
* False (the default) means Bodies are first separated on the axis of greater gravity, or the vertical axis if neither is greater.
*
* @name Phaser.Physics.Arcade.World#forceX
* @type {boolean}
* @default false
* @since 3.0.0
*/
this.forceX = GetValue(config, 'forceX', false);
/**
* Whether the simulation advances with the game loop.
*
* @name Phaser.Physics.Arcade.World#isPaused
* @type {boolean}
* @default false
* @since 3.0.0
*/
this.isPaused = GetValue(config, 'isPaused', false);
/**
* Temporary total of colliding Bodies.
*
* @name Phaser.Physics.Arcade.World#_total
* @type {number}
* @private
* @default 0
* @since 3.0.0
*/
this._total = 0;
/**
* Enables the debug display.
*
* @name Phaser.Physics.Arcade.World#drawDebug
* @type {boolean}
* @default false
* @since 3.0.0
*/
this.drawDebug = GetValue(config, 'debug', false);
/**
* The graphics object drawing the debug display.
*
* @name Phaser.Physics.Arcade.World#debugGraphic
* @type {Phaser.GameObjects.Graphics}
* @since 3.0.0
*/
this.debugGraphic;
/**
* Default debug display settings for new Bodies.
*
* @name Phaser.Physics.Arcade.World#defaults
* @type {Phaser.Types.Physics.Arcade.ArcadeWorldDefaults}
* @since 3.0.0
*/
this.defaults = {
debugShowBody: GetValue(config, 'debugShowBody', true),
debugShowStaticBody: GetValue(config, 'debugShowStaticBody', true),
debugShowVelocity: GetValue(config, 'debugShowVelocity', true),
bodyDebugColor: GetValue(config, 'debugBodyColor', 0xff00ff),
staticBodyDebugColor: GetValue(config, 'debugStaticBodyColor', 0x0000ff),
velocityDebugColor: GetValue(config, 'debugVelocityColor', 0x00ff00)
};
/**
* The maximum number of items per node on the RTree.
*
* This is ignored if `useTree` is `false`. If you have a large number of bodies in
* your world then you may find search performance improves by increasing this value,
* to allow more items per node and less node division.
*
* @name Phaser.Physics.Arcade.World#maxEntries
* @type {number}
* @default 16
* @since 3.0.0
*/
this.maxEntries = GetValue(config, 'maxEntries', 16);
/**
* Should this Arcade Physics World use an RTree for Dynamic bodies?
*
* An RTree is a fast way of spatially sorting of all the bodies in the world.
* However, at certain limits, the cost of clearing and inserting the bodies into the
* tree every frame becomes more expensive than the search speed gains it provides.
*
* If you have a large number of dynamic bodies in your world then it may be best to
* disable the use of the RTree by setting this property to `false` in the physics config.
*
* The number it can cope with depends on browser and device, but a conservative estimate
* of around 5,000 bodies should be considered the max before disabling it.
*
* This only applies to dynamic bodies. Static bodies are always kept in an RTree,
* because they don't have to be cleared every frame, so you benefit from the
* massive search speeds all the time.
*
* @name Phaser.Physics.Arcade.World#useTree
* @type {boolean}
* @default true
* @since 3.10.0
*/
this.useTree = GetValue(config, 'useTree', true);
/**
* The spatial index of Dynamic Bodies.
*
* @name Phaser.Physics.Arcade.World#tree
* @type {Phaser.Structs.RTree}
* @since 3.0.0
*/
this.tree = new RTree(this.maxEntries);
/**
* The spatial index of Static Bodies.
*
* @name Phaser.Physics.Arcade.World#staticTree
* @type {Phaser.Structs.RTree}
* @since 3.0.0
*/
this.staticTree = new RTree(this.maxEntries);
/**
* Recycled input for tree searches.
*
* @name Phaser.Physics.Arcade.World#treeMinMax
* @type {Phaser.Types.Physics.Arcade.ArcadeWorldTreeMinMax}
* @since 3.0.0
*/
this.treeMinMax = { minX: 0, minY: 0, maxX: 0, maxY: 0 };
/**
* A temporary Transform Matrix used by bodies for calculations without them needing their own local copy.
*
* @name Phaser.Physics.Arcade.World#_tempMatrix
* @type {Phaser.GameObjects.Components.TransformMatrix}
* @private
* @since 3.12.0
*/
this._tempMatrix = new TransformMatrix();
/**
* A temporary Transform Matrix used by bodies for calculations without them needing their own local copy.
*
* @name Phaser.Physics.Arcade.World#_tempMatrix2
* @type {Phaser.GameObjects.Components.TransformMatrix}
* @private
* @since 3.12.0
*/
this._tempMatrix2 = new TransformMatrix();
if (this.drawDebug)
{
this.createDebugGraphic();
}
},
/**
* Adds an Arcade Physics Body to a Game Object, an array of Game Objects, or the children of a Group.
*
* The difference between this and the `enableBody` method is that you can pass arrays or Groups
* to this method.
*
* You can specify if the bodies are to be Dynamic or Static. A dynamic body can move via velocity and
* acceleration. A static body remains fixed in place and as such is able to use an optimized search
* tree, making it ideal for static elements such as level objects. You can still collide and overlap
* with static bodies.
*
* Normally, rather than calling this method directly, you'd use the helper methods available in the
* Arcade Physics Factory, such as:
*
* ```javascript
* this.physics.add.image(x, y, textureKey);
* this.physics.add.sprite(x, y, textureKey);
* ```
*
* Calling factory methods encapsulates the creation of a Game Object and the creation of its
* body at the same time. If you are creating custom classes then you can pass them to this
* method to have their bodies created.
*
* @method Phaser.Physics.Arcade.World#enable
* @since 3.0.0
*
* @param {(Phaser.GameObjects.GameObject|Phaser.GameObjects.GameObject[]|Phaser.GameObjects.Group|Phaser.GameObjects.Group[])} object - The object, or objects, on which to create the bodies.
* @param {number} [bodyType] - The type of Body to create. Either `DYNAMIC_BODY` or `STATIC_BODY`.
*/
enable: function (object, bodyType)
{
if (bodyType === undefined) { bodyType = CONST.DYNAMIC_BODY; }
if (!Array.isArray(object))
{
object = [ object ];
}
for (var i = 0; i < object.length; i++)
{
var entry = object[i];
if (entry.isParent)
{
var children = entry.getChildren();
for (var c = 0; c < children.length; c++)
{
var child = children[c];
if (child.isParent)
{
// Handle Groups nested inside of Groups
this.enable(child, bodyType);
}
else
{
this.enableBody(child, bodyType);
}
}
}
else
{
this.enableBody(entry, bodyType);
}
}
},
/**
* Creates an Arcade Physics Body on a single Game Object.
*
* If the Game Object already has a body, this method will simply add it back into the simulation.
*
* You can specify if the body is Dynamic or Static. A dynamic body can move via velocity and
* acceleration. A static body remains fixed in place and as such is able to use an optimized search
* tree, making it ideal for static elements such as level objects. You can still collide and overlap
* with static bodies.
*
* Normally, rather than calling this method directly, you'd use the helper methods available in the
* Arcade Physics Factory, such as:
*
* ```javascript
* this.physics.add.image(x, y, textureKey);
* this.physics.add.sprite(x, y, textureKey);
* ```
*
* Calling factory methods encapsulates the creation of a Game Object and the creation of its
* body at the same time. If you are creating custom classes then you can pass them to this
* method to have their bodies created.
*
* @method Phaser.Physics.Arcade.World#enableBody
* @since 3.0.0
*
* @param {Phaser.GameObjects.GameObject} object - The Game Object on which to create the body.
* @param {number} [bodyType] - The type of Body to create. Either `DYNAMIC_BODY` or `STATIC_BODY`.
*
* @return {Phaser.GameObjects.GameObject} The Game Object on which the body was created.
*/
enableBody: function (object, bodyType)
{
if (bodyType === undefined) { bodyType = CONST.DYNAMIC_BODY; }
if (!object.body)
{
if (bodyType === CONST.DYNAMIC_BODY)
{
object.body = new Body(this, object);
}
else if (bodyType === CONST.STATIC_BODY)
{
object.body = new StaticBody(this, object);
}
}
this.add(object.body);
return object;
},
/**
* Adds an existing Arcade Physics Body or StaticBody to the simulation.
*
* The body is enabled and added to the local search trees.
*
* @method Phaser.Physics.Arcade.World#add
* @since 3.10.0
*
* @param {(Phaser.Physics.Arcade.Body|Phaser.Physics.Arcade.StaticBody)} body - The Body to be added to the simulation.
*
* @return {(Phaser.Physics.Arcade.Body|Phaser.Physics.Arcade.StaticBody)} The Body that was added to the simulation.
*/
add: function (body)
{
if (body.physicsType === CONST.DYNAMIC_BODY)
{
this.bodies.set(body);
}
else if (body.physicsType === CONST.STATIC_BODY)
{
this.staticBodies.set(body);
this.staticTree.insert(body);
}
body.enable = true;
return body;
},
/**
* Disables the Arcade Physics Body of a Game Object, an array of Game Objects, or the children of a Group.
*
* The difference between this and the `disableBody` method is that you can pass arrays or Groups
* to this method.
*
* The body itself is not deleted, it just has its `enable` property set to false, which
* means you can re-enable it again at any point by passing it to enable `World.enable` or `World.add`.
*
* @method Phaser.Physics.Arcade.World#disable
* @since 3.0.0
*
* @param {(Phaser.GameObjects.GameObject|Phaser.GameObjects.GameObject[]|Phaser.GameObjects.Group|Phaser.GameObjects.Group[])} object - The object, or objects, on which to disable the bodies.
*/
disable: function (object)
{
if (!Array.isArray(object))
{
object = [ object ];
}
for (var i = 0; i < object.length; i++)
{
var entry = object[i];
if (entry.isParent)
{
var children = entry.getChildren();
for (var c = 0; c < children.length; c++)
{
var child = children[c];
if (child.isParent)
{
// Handle Groups nested inside of Groups
this.disable(child);
}
else
{
this.disableBody(child.body);
}
}
}
else
{
this.disableBody(entry.body);
}
}
},
/**
* Disables an existing Arcade Physics Body or StaticBody and removes it from the simulation.
*
* The body is disabled and removed from the local search trees.
*
* The body itself is not deleted, it just has its `enable` property set to false, which
* means you can re-enable it again at any point by passing it to enable `World.enable` or `World.add`.
*
* @method Phaser.Physics.Arcade.World#disableBody
* @since 3.0.0
*
* @param {(Phaser.Physics.Arcade.Body|Phaser.Physics.Arcade.StaticBody)} body - The Body to be disabled.
*/
disableBody: function (body)
{
this.remove(body);
body.enable = false;
},
/**
* Removes an existing Arcade Physics Body or StaticBody from the simulation.
*
* The body is disabled and removed from the local search trees.
*
* The body itself is not deleted, it just has its `enabled` property set to false, which
* means you can re-enable it again at any point by passing it to enable `enable` or `add`.
*
* @method Phaser.Physics.Arcade.World#remove
* @since 3.0.0
*
* @param {(Phaser.Physics.Arcade.Body|Phaser.Physics.Arcade.StaticBody)} body - The body to be removed from the simulation.
*/
remove: function (body)
{
if (body.physicsType === CONST.DYNAMIC_BODY)
{
this.tree.remove(body);
this.bodies.delete(body);
}
else if (body.physicsType === CONST.STATIC_BODY)
{
this.staticBodies.delete(body);
this.staticTree.remove(body);
}
},
/**
* Creates a Graphics Game Object that the world will use to render the debug display to.
*
* This is called automatically when the World is instantiated if the `debug` config property
* was set to `true`. However, you can call it at any point should you need to display the
* debug Graphic from a fixed point.
*
* You can control which objects are drawn to the Graphics object, and the colors they use,
* by setting the debug properties in the physics config.
*
* You should not typically use this in a production game. Use it to aid during debugging.
*
* @method Phaser.Physics.Arcade.World#createDebugGraphic
* @since 3.0.0
*
* @return {Phaser.GameObjects.Graphics} The Graphics object that was created for use by the World.
*/
createDebugGraphic: function ()
{
var graphic = this.scene.sys.add.graphics({ x: 0, y: 0 });
graphic.setDepth(Number.MAX_VALUE);
this.debugGraphic = graphic;
this.drawDebug = true;
return graphic;
},
/**
* Sets the position, size and properties of the World boundary.
*
* The World boundary is an invisible rectangle that defines the edges of the World.
* If a Body is set to collide with the world bounds then it will automatically stop
* when it reaches any of the edges. You can optionally set which edges of the boundary
* should be checked against.
*
* @method Phaser.Physics.Arcade.World#setBounds
* @since 3.0.0
*
* @param {number} x - The top-left x coordinate of the boundary.
* @param {number} y - The top-left y coordinate of the boundary.
* @param {number} width - The width of the boundary.
* @param {number} height - The height of the boundary.
* @param {boolean} [checkLeft] - Should bodies check against the left edge of the boundary?
* @param {boolean} [checkRight] - Should bodies check against the right edge of the boundary?
* @param {boolean} [checkUp] - Should bodies check against the top edge of the boundary?
* @param {boolean} [checkDown] - Should bodies check against the bottom edge of the boundary?
*
* @return {Phaser.Physics.Arcade.World} This World object.
*/
setBounds: function (x, y, width, height, checkLeft, checkRight, checkUp, checkDown)
{
this.bounds.setTo(x, y, width, height);
if (checkLeft !== undefined)
{
this.setBoundsCollision(checkLeft, checkRight, checkUp, checkDown);
}
return this;
},
/**
* Enables or disables collisions on each edge of the World boundary.
*
* @method Phaser.Physics.Arcade.World#setBoundsCollision
* @since 3.0.0
*
* @param {boolean} [left=true] - Should bodies check against the left edge of the boundary?
* @param {boolean} [right=true] - Should bodies check against the right edge of the boundary?
* @param {boolean} [up=true] - Should bodies check against the top edge of the boundary?
* @param {boolean} [down=true] - Should bodies check against the bottom edge of the boundary?
*
* @return {Phaser.Physics.Arcade.World} This World object.
*/
setBoundsCollision: function (left, right, up, down)
{
if (left === undefined) { left = true; }
if (right === undefined) { right = true; }
if (up === undefined) { up = true; }
if (down === undefined) { down = true; }
this.checkCollision.left = left;
this.checkCollision.right = right;
this.checkCollision.up = up;
this.checkCollision.down = down;
return this;
},
/**
* Pauses the simulation.
*
* A paused simulation does not update any existing bodies, or run any Colliders.
*
* However, you can still enable and disable bodies within it, or manually run collide or overlap
* checks.
*
* @method Phaser.Physics.Arcade.World#pause
* @fires Phaser.Physics.Arcade.Events#PAUSE
* @since 3.0.0
*
* @return {Phaser.Physics.Arcade.World} This World object.
*/
pause: function ()
{
this.isPaused = true;
this.emit(Events.PAUSE);
return this;
},
/**
* Resumes the simulation, if paused.
*
* @method Phaser.Physics.Arcade.World#resume
* @fires Phaser.Physics.Arcade.Events#RESUME
* @since 3.0.0
*
* @return {Phaser.Physics.Arcade.World} This World object.
*/
resume: function ()
{
this.isPaused = false;
this.emit(Events.RESUME);
return this;
},
/**
* Creates a new Collider object and adds it to the simulation.
*
* A Collider is a way to automatically perform collision checks between two objects,
* calling the collide and process callbacks if they occur.
*
* Colliders are run as part of the World update, after all of the Bodies have updated.
*
* By creating a Collider you don't need then call `World.collide` in your `update` loop,
* as it will be handled for you automatically.
*
* @method Phaser.Physics.Arcade.World#addCollider
* @since 3.0.0
* @see Phaser.Physics.Arcade.World#collide
*
* @param {Phaser.Types.Physics.Arcade.ArcadeColliderType} object1 - The first object to check for collision.
* @param {Phaser.Types.Physics.Arcade.ArcadeColliderType} object2 - The second object to check for collision.
* @param {ArcadePhysicsCallback} [collideCallback] - The callback to invoke when the two objects collide.
* @param {ArcadePhysicsCallback} [processCallback] - The callback to invoke when the two objects collide. Must return a boolean.
* @param {*} [callbackContext] - The scope in which to call the callbacks.
*
* @return {Phaser.Physics.Arcade.Collider} The Collider that was created.
*/
addCollider: function (object1, object2, collideCallback, processCallback, callbackContext)
{
if (collideCallback === undefined) { collideCallback = null; }
if (processCallback === undefined) { processCallback = null; }
if (callbackContext === undefined) { callbackContext = collideCallback; }
var collider = new Collider(this, false, object1, object2, collideCallback, processCallback, callbackContext);
this.colliders.add(collider);
return collider;
},
/**
* Creates a new Overlap Collider object and adds it to the simulation.
*
* A Collider is a way to automatically perform overlap checks between two objects,
* calling the collide and process callbacks if they occur.
*
* Colliders are run as part of the World update, after all of the Bodies have updated.
*
* By creating a Collider you don't need then call `World.overlap` in your `update` loop,
* as it will be handled for you automatically.
*
* @method Phaser.Physics.Arcade.World#addOverlap
* @since 3.0.0
*
* @param {Phaser.Types.Physics.Arcade.ArcadeColliderType} object1 - The first object to check for overlap.
* @param {Phaser.Types.Physics.Arcade.ArcadeColliderType} object2 - The second object to check for overlap.
* @param {ArcadePhysicsCallback} [collideCallback] - The callback to invoke when the two objects overlap.
* @param {ArcadePhysicsCallback} [processCallback] - The callback to invoke when the two objects overlap. Must return a boolean.
* @param {*} [callbackContext] - The scope in which to call the callbacks.
*
* @return {Phaser.Physics.Arcade.Collider} The Collider that was created.
*/
addOverlap: function (object1, object2, collideCallback, processCallback, callbackContext)
{
if (collideCallback === undefined) { collideCallback = null; }
if (processCallback === undefined) { processCallback = null; }
if (callbackContext === undefined) { callbackContext = collideCallback; }
var collider = new Collider(this, true, object1, object2, collideCallback, processCallback, callbackContext);
this.colliders.add(collider);
return collider;
},
/**
* Removes a Collider from the simulation so it is no longer processed.
*
* This method does not destroy the Collider. If you wish to add it back at a later stage you can call
* `World.colliders.add(Collider)`.
*
* If you no longer need the Collider you can call the `Collider.destroy` method instead, which will
* automatically clear all of its references and then remove it from the World. If you call destroy on
* a Collider you _don't_ need to pass it to this method too.
*
* @method Phaser.Physics.Arcade.World#removeCollider
* @since 3.0.0
*
* @param {Phaser.Physics.Arcade.Collider} collider - The Collider to remove from the simulation.
*
* @return {Phaser.Physics.Arcade.World} This World object.
*/
removeCollider: function (collider)
{
this.colliders.remove(collider);
return this;
},
/**
* Sets the frame rate to run the simulation at.
*
* The frame rate value is used to simulate a fixed update time step. This fixed
* time step allows for a straightforward implementation of a deterministic game state.
*
* This frame rate is independent of the frequency at which the game is rendering. The
* higher you set the fps, the more physics simulation steps will occur per game step.
* Conversely, the lower you set it, the less will take place.
*
* You can optionally advance the simulation directly yourself by calling the `step` method.
*
* @method Phaser.Physics.Arcade.World#setFPS
* @since 3.10.0
*
* @param {number} framerate - The frame rate to advance the simulation at.
*
* @return {this} This World object.
*/
setFPS: function (framerate)
{
this.fps = framerate;
this._frameTime = 1 / this.fps;
this._frameTimeMS = 1000 * this._frameTime;
return this;
},
/**
* Advances the simulation based on the elapsed time and fps rate.
*
* This is called automatically by your Scene and does not need to be invoked directly.
*
* @method Phaser.Physics.Arcade.World#update
* @fires Phaser.Physics.Arcade.Events#WORLD_STEP
* @since 3.0.0
*
* @param {number} time - The current timestamp as generated by the Request Animation Frame or SetTimeout.
* @param {number} delta - The delta time, in ms, elapsed since the last frame.
*/
update: function (time, delta)
{
if (this.isPaused || this.bodies.size === 0)
{
return;
}
var i;
var fixedDelta = this._frameTime;
var msPerFrame = this._frameTimeMS * this.timeScale;
this._elapsed += delta;
// Update all active bodies
var body;
var bodies = this.bodies.entries;
// Will a step happen this frame?
var willStep = (this._elapsed >= msPerFrame);
if (!this.fixedStep)
{
fixedDelta = delta * 0.001;
willStep = true;
this._elapsed = 0;
}
for (i = 0; i < bodies.length; i++)
{
body = bodies[i];
if (body.enable)
{
body.preUpdate(willStep, fixedDelta);
}
}
// We know that a step will happen this frame, so let's bundle it all together to save branching and iteration costs
if (willStep)
{
this._elapsed -= msPerFrame;
this.stepsLastFrame = 1;
// Optionally populate our dynamic collision tree
if (this.useTree)
{
this.tree.clear();
this.tree.load(bodies);
}
// Process any colliders
var colliders = this.colliders.update();
for (i = 0; i < colliders.length; i++)
{
var collider = colliders[i];
if (collider.active)
{
collider.update();
}
}
this.emit(Events.WORLD_STEP, fixedDelta);
}
// Process any additional steps this frame
while (this._elapsed >= msPerFrame)
{
this._elapsed -= msPerFrame;
this.step(fixedDelta);
}
},
/**
* Advances the simulation by a time increment.
*
* @method Phaser.Physics.Arcade.World#step
* @fires Phaser.Physics.Arcade.Events#WORLD_STEP
* @since 3.10.0
*
* @param {number} delta - The delta time amount, in seconds, by which to advance the simulation.
*/
step: function (delta)
{
// Update all active bodies
var i;
var body;
var bodies = this.bodies.entries;
var len = bodies.length;
for (i = 0; i < len; i++)
{
body = bodies[i];
if (body.enable)
{
body.update(delta);
}
}
// Optionally populate our dynamic collision tree
if (this.useTree)
{
this.tree.clear();
this.tree.load(bodies);
}
// Process any colliders
var colliders = this.colliders.update();
for (i = 0; i < colliders.length; i++)
{
var collider = colliders[i];
if (collider.active)
{
collider.update();
}
}
this.emit(Events.WORLD_STEP, delta);
this.stepsLastFrame++;
},
/**
* Updates bodies, draws the debug display, and handles pending queue operations.
*
* @method Phaser.Physics.Arcade.World#postUpdate
* @since 3.0.0
*/
postUpdate: function ()
{
var i;
var body;
var bodies = this.bodies.entries;
var len = bodies.length;
var dynamic = this.bodies;
var staticBodies = this.staticBodies;
// We don't need to postUpdate if there wasn't a step this frame
if (this.stepsLastFrame)
{
this.stepsLastFrame = 0;
for (i = 0; i < len; i++)
{
body = bodies[i];
if (body.enable)
{
body.postUpdate();
}
}
}
if (this.drawDebug)
{
var graphics = this.debugGraphic;
graphics.clear();
for (i = 0; i < len; i++)
{
body = bodies[i];
if (body.willDrawDebug())
{
body.drawDebug(graphics);
}
}
bodies = staticBodies.entries;
len = bodies.length;
for (i = 0; i < len; i++)
{
body = bodies[i];
if (body.willDrawDebug())
{
body.drawDebug(graphics);
}
}
}
var pending = this.pendingDestroy;
if (pending.size > 0)
{
var dynamicTree = this.tree;
var staticTree = this.staticTree;
bodies = pending.entries;
len = bodies.length;
for (i = 0; i < len; i++)
{
body = bodies[i];
if (body.physicsType === CONST.DYNAMIC_BODY)
{
dynamicTree.remove(body);
dynamic.delete(body);
}
else if (body.physicsType === CONST.STATIC_BODY)
{
staticTree.remove(body);
staticBodies.delete(body);
}
body.world = undefined;
body.gameObject = undefined;
}
pending.clear();
}
},
/**
* Calculates a Body's velocity and updates its position.
*
* @method Phaser.Physics.Arcade.World#updateMotion
* @since 3.0.0
*
* @param {Phaser.Physics.Arcade.Body} body - The Body to be updated.
* @param {number} delta - The delta value to be used in the motion calculations, in seconds.
*/
updateMotion: function (body, delta)
{
if (body.allowRotation)
{
this.computeAngularVelocity(body, delta);
}
this.computeVelocity(body, delta);
},
/**
* Calculates a Body's angular velocity.
*
* @method Phaser.Physics.Arcade.World#computeAngularVelocity
* @since 3.10.0
*
* @param {Phaser.Physics.Arcade.Body} body - The Body to compute the velocity for.
* @param {number} delta - The delta value to be used in the calculation, in seconds.
*/
computeAngularVelocity: function (body, delta)
{
var velocity = body.angularVelocity;
var acceleration = body.angularAcceleration;
var drag = body.angularDrag;
var max = body.maxAngular;
if (acceleration)
{
velocity += acceleration * delta;
}
else if (body.allowDrag && drag)
{
drag *= delta;
if (FuzzyGreaterThan(velocity - drag, 0, 0.1))
{
velocity -= drag;
}
else if (FuzzyLessThan(velocity + drag, 0, 0.1))
{
velocity += drag;
}
else
{
velocity = 0;
}
}
velocity = Clamp(velocity, -max, max);
var velocityDelta = velocity - body.angularVelocity;
body.angularVelocity += velocityDelta;
body.rotation += (body.angularVelocity * delta);
},
/**
* Calculates a Body's per-axis velocity.
*
* @method Phaser.Physics.Arcade.World#computeVelocity
* @since 3.0.0
*
* @param {Phaser.Physics.Arcade.Body} body - The Body to compute the velocity for.
* @param {number} delta - The delta value to be used in the calculation, in seconds.
*/
computeVelocity: function (body, delta)
{
var velocityX = body.velocity.x;
var accelerationX = body.acceleration.x;
var dragX = body.drag.x;
var maxX = body.maxVelocity.x;
var velocityY = body.velocity.y;
var accelerationY = body.acceleration.y;
var dragY = body.drag.y;
var maxY = body.maxVelocity.y;
var speed = body.speed;
var maxSpeed = body.maxSpeed;
var allowDrag = body.allowDrag;
var useDamping = body.useDamping;
if (body.allowGravity)
{
velocityX += (this.gravity.x + body.gravity.x) * delta;
velocityY += (this.gravity.y + body.gravity.y) * delta;
}
if (accelerationX)
{
velocityX += accelerationX * delta;
}
else if (allowDrag && dragX)
{
if (useDamping)
{
// Damping based deceleration
dragX = Math.pow(dragX, delta);
velocityX *= dragX;
speed = Math.sqrt(velocityX * velocityX + velocityY * velocityY);
if (FuzzyEqual(speed, 0, 0.001))
{
velocityX = 0;
}
}
else
{
// Linear deceleration
dragX *= delta;
if (FuzzyGreaterThan(velocityX - dragX, 0, 0.01))
{
velocityX -= dragX;
}
else if (FuzzyLessThan(velocityX + dragX, 0, 0.01))
{
velocityX += dragX;
}
else
{
velocityX = 0;
}
}
}
if (accelerationY)
{
velocityY += accelerationY * delta;
}
else if (allowDrag && dragY)
{
if (useDamping)
{
// Damping based deceleration
dragY = Math.pow(dragY, delta);
velocityY *= dragY;
speed = Math.sqrt(velocityX * velocityX + velocityY * velocityY);
if (FuzzyEqual(speed, 0, 0.001))
{
velocityY = 0;
}
}
else
{
// Linear deceleration
dragY *= delta;
if (FuzzyGreaterThan(velocityY - dragY, 0, 0.01))
{
velocityY -= dragY;
}
else if (FuzzyLessThan(velocityY + dragY, 0, 0.01))
{
velocityY += dragY;
}
else
{
velocityY = 0;
}
}
}
velocityX = Clamp(velocityX, -maxX, maxX);
velocityY = Clamp(velocityY, -maxY, maxY);
body.velocity.set(velocityX, velocityY);
if (maxSpeed > -1 && speed > maxSpeed)
{
body.velocity.normalize().scale(maxSpeed);
speed = maxSpeed;
}
body.speed = speed;
},
/**
* Separates two Bodies.
*
* @method Phaser.Physics.Arcade.World#separate
* @fires Phaser.Physics.Arcade.Events#COLLIDE
* @fires Phaser.Physics.Arcade.Events#OVERLAP
* @since 3.0.0
*
* @param {Phaser.Physics.Arcade.Body} body1 - The first Body to be separated.
* @param {Phaser.Physics.Arcade.Body} body2 - The second Body to be separated.
* @param {ArcadePhysicsCallback} [processCallback] - The process callback.
* @param {*} [callbackContext] - The context in which to invoke the callback.
* @param {boolean} [overlapOnly] - If this a collide or overlap check?
* @param {boolean} [intersects] - Assert that the bodies intersect and should not be tested before separation.
*
* @return {boolean} True if separation occurred, otherwise false.
*/
separate: function (body1, body2, processCallback, callbackContext, overlapOnly, intersects)
{
if (
!intersects &&
!body1.enable ||
!body2.enable ||
body1.checkCollision.none ||
body2.checkCollision.none ||
!this.intersects(body1, body2))
{
return false;
}
// They overlap. Is there a custom process callback? If it returns true then we can carry on, otherwise we should abort.
if (processCallback && processCallback.call(callbackContext, body1.gameObject, body2.gameObject) === false)
{
return false;
}
// Circle vs. Circle quick bail out
if (body1.isCircle && body2.isCircle)
{
return this.separateCircle(body1, body2, overlapOnly);
}
// We define the behavior of bodies in a collision circle and rectangle
// If a collision occurs in the corner points of the rectangle, the body behave like circles
// Either body1 or body2 is a circle
if (body1.isCircle !== body2.isCircle)
{
var bodyRect = (body1.isCircle) ? body2 : body1;
var bodyCircle = (body1.isCircle) ? body1 : body2;
var rect = {
x: bodyRect.x,
y: bodyRect.y,
right: bodyRect.right,
bottom: bodyRect.bottom
};
var circle = bodyCircle.center;
if (circle.y < rect.y || circle.y > rect.bottom)
{
if (circle.x < rect.x || circle.x > rect.right)
{
return this.separateCircle(body1, body2, overlapOnly);
}
}
}
var resultX = false;
var resultY = false;
// Do we separate on x first or y first or both?
if (overlapOnly)
{
// No separation but we need to calculate overlapX, overlapY, etc.
resultX = SeparateX(body1, body2, overlapOnly, this.OVERLAP_BIAS);
resultY = SeparateY(body1, body2, overlapOnly, this.OVERLAP_BIAS);
}
else if (this.forceX || Math.abs(this.gravity.y + body1.gravity.y) < Math.abs(this.gravity.x + body1.gravity.x))
{
resultX = SeparateX(body1, body2, overlapOnly, this.OVERLAP_BIAS);
// Are they still intersecting? Let's do the other axis then
if (this.intersects(body1, body2))
{
resultY = SeparateY(body1, body2, overlapOnly, this.OVERLAP_BIAS);
}
}
else
{
resultY = SeparateY(body1, body2, overlapOnly, this.OVERLAP_BIAS);
// Are they still intersecting? Let's do the other axis then
if (this.intersects(body1, body2))
{
resultX = SeparateX(body1, body2, overlapOnly, this.OVERLAP_BIAS);
}
}
var result = (resultX || resultY);
if (result)
{
if (overlapOnly)
{
if (body1.onOverlap || body2.onOverlap)
{
this.emit(Events.OVERLAP, body1.gameObject, body2.gameObject, body1, body2);
}
}
else if (body1.onCollide || body2.onCollide)
{
this.emit(Events.COLLIDE, body1.gameObject, body2.gameObject, body1, body2);
}
}
return result;
},
/**
* Separates two Bodies, when both are circular.
*
* @method Phaser.Physics.Arcade.World#separateCircle
* @fires Phaser.Physics.Arcade.Events#COLLIDE
* @fires Phaser.Physics.Arcade.Events#OVERLAP
* @since 3.0.0
*
* @param {Phaser.Physics.Arcade.Body} body1 - The first Body to be separated.
* @param {Phaser.Physics.Arcade.Body} body2 - The second Body to be separated.
* @param {boolean} [overlapOnly] - If this a collide or overlap check?
* @param {number} [bias] - A small value added to the calculations.
*
* @return {boolean} True if separation occurred, otherwise false.
*/
separateCircle: function (body1, body2, overlapOnly, bias)
{
// Set the bounding box overlap values into the bodies themselves (hence we don't use the return values here)
GetOverlapX(body1, body2, false, bias);
GetOverlapY(body1, body2, false, bias);
var overlap = 0;
if (body1.isCircle !== body2.isCircle)
{
var rect = {
x: (body2.isCircle) ? body1.position.x : body2.position.x,
y: (body2.isCircle) ? body1.position.y : body2.position.y,
right: (body2.isCircle) ? body1.right : body2.right,
bottom: (body2.isCircle) ? body1.bottom : body2.bottom
};
var circle = {
x: (body1.isCircle) ? body1.center.x : body2.center.x,
y: (body1.isCircle) ? body1.center.y : body2.center.y,
radius: (body1.isCircle) ? body1.halfWidth : body2.halfWidth
};
if (circle.y < rect.y)
{
if (circle.x < rect.x)
{
overlap = DistanceBetween(circle.x, circle.y, rect.x, rect.y) - circle.radius;
}
else if (circle.x > rect.right)
{
overlap = DistanceBetween(circle.x, circle.y, rect.right, rect.y) - circle.radius;
}
}
else if (circle.y > rect.bottom)
{
if (circle.x < rect.x)
{
overlap = DistanceBetween(circle.x, circle.y, rect.x, rect.bottom) - circle.radius;
}
else if (circle.x > rect.right)
{
overlap = DistanceBetween(circle.x, circle.y, rect.right, rect.bottom) - circle.radius;
}
}
overlap *= -1;
}
else
{
overlap = (body1.halfWidth + body2.halfWidth) - DistanceBetween(body1.center.x, body1.center.y, body2.center.x, body2.center.y);
}
body1.overlapR = overlap;
body2.overlapR = overlap;
// Can't separate two immovable bodies, or a body with its own custom separation logic
if (overlapOnly || overlap === 0 || (body1.immovable && body2.immovable) || body1.customSeparateX || body2.customSeparateX)
{
if (overlap !== 0 && (body1.onOverlap || body2.onOverlap))
{
this.emit(Events.OVERLAP, body1.gameObject, body2.gameObject, body1, body2);
}
// return true if there was some overlap, otherwise false
return (overlap !== 0);
}
var dx = body1.center.x - body2.center.x;
var dy = body1.center.y - body2.center.y;
var d = Math.sqrt(Math.pow(dx, 2) + Math.pow(dy, 2));
var nx = ((body2.center.x - body1.center.x) / d) || 0;
var ny = ((body2.center.y - body1.center.y) / d) || 0;
var p = 2 * (body1.velocity.x * nx + body1.velocity.y * ny - body2.velocity.x * nx - body2.velocity.y * ny) / (body1.mass + body2.mass);
if (body1.immovable || body2.immovable)
{
p *= 2;
}
if (!body1.immovable)
{
body1.velocity.x = (body1.velocity.x - p / body1.mass * nx);
body1.velocity.y = (body1.velocity.y - p / body1.mass * ny);
}
if (!body2.immovable)
{
body2.velocity.x = (body2.velocity.x + p / body2.mass * nx);
body2.velocity.y = (body2.velocity.y + p / body2.mass * ny);
}
if (!body1.immovable && !body2.immovable)
{
overlap /= 2;
}
// TODO this is inadequate for circle-rectangle separation
var angle = AngleBetweenPoints(body1.center, body2.center);
var overlapX = (overlap + MATH_CONST.EPSILON) * Math.cos(angle);
var overlapY = (overlap + MATH_CONST.EPSILON) * Math.sin(angle);
if (!body1.immovable)
{
body1.x -= overlapX;
body1.y -= overlapY;
body1.updateCenter();
}
if (!body2.immovable)
{
body2.x += overlapX;
body2.y += overlapY;
body2.updateCenter();
}
body1.velocity.x *= body1.bounce.x;
body1.velocity.y *= body1.bounce.y;
body2.velocity.x *= body2.bounce.x;
body2.velocity.y *= body2.bounce.y;
if (body1.onCollide || body2.onCollide)
{
this.emit(Events.COLLIDE, body1.gameObject, body2.gameObject, body1, body2);
}
return true;
},
/**
* Checks to see if two Bodies intersect at all.
*
* @method Phaser.Physics.Arcade.World#intersects
* @since 3.0.0
*
* @param {Phaser.Physics.Arcade.Body} body1 - The first body to check.
* @param {Phaser.Physics.Arcade.Body} body2 - The second body to check.
*
* @return {boolean} True if the two bodies intersect, otherwise false.
*/
intersects: function (body1, body2)
{
if (body1 === body2)
{
return false;
}
if (!body1.isCircle && !body2.isCircle)
{
// Rect vs. Rect
return !(
body1.right <= body2.position.x ||
body1.bottom <= body2.position.y ||
body1.position.x >= body2.right ||
body1.position.y >= body2.bottom
);
}
else if (body1.isCircle)
{
if (body2.isCircle)
{
// Circle vs. Circle
return DistanceBetween(body1.center.x, body1.center.y, body2.center.x, body2.center.y) <= (body1.halfWidth + body2.halfWidth);
}
else
{
// Circle vs. Rect
return this.circleBodyIntersects(body1, body2);
}
}
else
{
// Rect vs. Circle
return this.circleBodyIntersects(body2, body1);
}
},
/**
* Tests if a circular Body intersects with another Body.
*
* @method Phaser.Physics.Arcade.World#circleBodyIntersects
* @since 3.0.0
*
* @param {Phaser.Physics.Arcade.Body} circle - The circular body to test.
* @param {Phaser.Physics.Arcade.Body} body - The rectangular body to test.
*
* @return {boolean} True if the two bodies intersect, otherwise false.
*/
circleBodyIntersects: function (circle, body)
{
var x = Clamp(circle.center.x, body.left, body.right);
var y = Clamp(circle.center.y, body.top, body.bottom);
var dx = (circle.center.x - x) * (circle.center.x - x);
var dy = (circle.center.y - y) * (circle.center.y - y);
return (dx + dy) <= (circle.halfWidth * circle.halfWidth);
},
/**
* Tests if Game Objects overlap.
*
* See details in {@link Phaser.Physics.Arcade.World#collide}.
*
* @method Phaser.Physics.Arcade.World#overlap
* @since 3.0.0
*
* @param {Phaser.Types.Physics.Arcade.ArcadeColliderType} object1 - The first object or array of objects to check.
* @param {Phaser.Types.Physics.Arcade.ArcadeColliderType} [object2] - The second object or array of objects to check, or `undefined`.
* @param {ArcadePhysicsCallback} [overlapCallback] - An optional callback function that is called if the objects overlap.
* @param {ArcadePhysicsCallback} [processCallback] - An optional callback function that lets you perform additional checks against the two objects if they overlap. If this is set then `overlapCallback` will only be called if this callback returns `true`.
* @param {*} [callbackContext] - The context in which to run the callbacks.
*
* @return {boolean} True if at least one Game Object overlaps another.
*
* @see Phaser.Physics.Arcade.World#collide
*/
overlap: function (object1, object2, overlapCallback, processCallback, callbackContext)
{
if (overlapCallback === undefined) { overlapCallback = null; }
if (processCallback === undefined) { processCallback = null; }
if (callbackContext === undefined) { callbackContext = overlapCallback; }
return this.collideObjects(object1, object2, overlapCallback, processCallback, callbackContext, true);
},
/**
* Performs a collision check and separation between the two physics enabled objects given, which can be single
* Game Objects, arrays of Game Objects, Physics Groups, arrays of Physics Groups or normal Groups.
*
* If you don't require separation then use {@link Phaser.Physics.Arcade.World#overlap} instead.
*
* If two Groups or arrays are passed, each member of one will be tested against each member of the other.
*
* If **only** one Group is passed (as `object1`), each member of the Group will be collided against the other members.
*
* If **only** one Array is passed, the array is iterated and every element in it is tested against the others.
*
* Two callbacks can be provided; they receive the colliding game objects as arguments.
* If an overlap is detected, the `processCallback` is called first. It can cancel the collision by returning false.
* Next the objects are separated and `collideCallback` is invoked.
*
* Arcade Physics uses the Projection Method of collision resolution and separation. While it's fast and suitable
* for 'arcade' style games it lacks stability when multiple objects are in close proximity or resting upon each other.
* The separation that stops two objects penetrating may create a new penetration against a different object. If you
* require a high level of stability please consider using an alternative physics system, such as Matter.js.
*
* @method Phaser.Physics.Arcade.World#collide
* @since 3.0.0
*
* @param {Phaser.Types.Physics.Arcade.ArcadeColliderType} object1 - The first object or array of objects to check.
* @param {Phaser.Types.Physics.Arcade.ArcadeColliderType} [object2] - The second object or array of objects to check, or `undefined`.
* @param {ArcadePhysicsCallback} [collideCallback] - An optional callback function that is called if the objects collide.
* @param {ArcadePhysicsCallback} [processCallback] - An optional callback function that lets you perform additional checks against the two objects if they collide. If this is set then `collideCallback` will only be called if this callback returns `true`.
* @param {any} [callbackContext] - The context in which to run the callbacks.
*
* @return {boolean} `true` if any overlapping Game Objects were separated, otherwise `false`.
*/
collide: function (object1, object2, collideCallback, processCallback, callbackContext)
{
if (collideCallback === undefined) { collideCallback = null; }
if (processCallback === undefined) { processCallback = null; }
if (callbackContext === undefined) { callbackContext = collideCallback; }
return this.collideObjects(object1, object2, collideCallback, processCallback, callbackContext, false);
},
/**
* Internal helper function. Please use Phaser.Physics.Arcade.World#collide instead.
*
* @method Phaser.Physics.Arcade.World#collideObjects
* @private
* @since 3.0.0
*
* @param {Phaser.Types.Physics.Arcade.ArcadeColliderType} object1 - The first object to check for collision.
* @param {Phaser.Types.Physics.Arcade.ArcadeColliderType} [object2] - The second object to check for collision.
* @param {ArcadePhysicsCallback} collideCallback - The callback to invoke when the two objects collide.
* @param {ArcadePhysicsCallback} processCallback - The callback to invoke when the two objects collide. Must return a boolean.
* @param {any} callbackContext - The scope in which to call the callbacks.
* @param {boolean} overlapOnly - Whether this is a collision or overlap check.
*
* @return {boolean} True if any objects overlap (with `overlapOnly`); or true if any overlapping objects were separated.
*/
collideObjects: function (object1, object2, collideCallback, processCallback, callbackContext, overlapOnly)
{
var i;
var j;
if (object1.isParent && object1.physicsType === undefined)
{
object1 = object1.children.entries;
}
if (object2 && object2.isParent && object2.physicsType === undefined)
{
object2 = object2.children.entries;
}
var object1isArray = Array.isArray(object1);
var object2isArray = Array.isArray(object2);
this._total = 0;
if (!object1isArray && !object2isArray)
{
// Neither of them are arrays - do this first as it's the most common use-case
this.collideHandler(object1, object2, collideCallback, processCallback, callbackContext, overlapOnly);
}
else if (!object1isArray && object2isArray)
{
// Object 2 is an Array
for (i = 0; i < object2.length; i++)
{
this.collideHandler(object1, object2[i], collideCallback, processCallback, callbackContext, overlapOnly);
}
}
else if (object1isArray && !object2isArray)
{
// Object 1 is an Array
if (!object2)
{
// Special case for array vs. self
for (i = 0; i < object1.length; i++)
{
var child = object1[i];
for (j = i + 1; j < object1.length; j++)
{
if (i === j)
{
continue;
}
this.collideHandler(child, object1[j], collideCallback, processCallback, callbackContext, overlapOnly);
}
}
}
else
{
for (i = 0; i < object1.length; i++)
{
this.collideHandler(object1[i], object2, collideCallback, processCallback, callbackContext, overlapOnly);
}
}
}
else
{
// They're both arrays
for (i = 0; i < object1.length; i++)
{
for (j = 0; j < object2.length; j++)
{
this.collideHandler(object1[i], object2[j], collideCallback, processCallback, callbackContext, overlapOnly);
}
}
}
return (this._total > 0);
},
/**
* Internal helper function. Please use Phaser.Physics.Arcade.World#collide and Phaser.Physics.Arcade.World#overlap instead.
*
* @method Phaser.Physics.Arcade.World#collideHandler
* @private
* @since 3.0.0
*
* @param {Phaser.Types.Physics.Arcade.ArcadeColliderType} object1 - The first object or array of objects to check.
* @param {Phaser.Types.Physics.Arcade.ArcadeColliderType} object2 - The second object or array of objects to check, or `undefined`.
* @param {ArcadePhysicsCallback} collideCallback - An optional callback function that is called if the objects collide.
* @param {ArcadePhysicsCallback} processCallback - An optional callback function that lets you perform additional checks against the two objects if they collide. If this is set then `collideCallback` will only be called if this callback returns `true`.
* @param {any} callbackContext - The context in which to run the callbacks.
* @param {boolean} overlapOnly - Whether this is a collision or overlap check.
*
* @return {boolean} True if any objects overlap (with `overlapOnly`); or true if any overlapping objects were separated.
*/
collideHandler: function (object1, object2, collideCallback, processCallback, callbackContext, overlapOnly)
{
// Collide Group with Self
// Only collide valid objects
if (object2 === undefined && object1.isParent)
{
return this.collideGroupVsGroup(object1, object1, collideCallback, processCallback, callbackContext, overlapOnly);
}
// If neither of the objects are set then bail out
if (!object1 || !object2)
{
return false;
}
// A Body
if (object1.body)
{
if (object2.body)
{
return this.collideSpriteVsSprite(object1, object2, collideCallback, processCallback, callbackContext, overlapOnly);
}
else if (object2.isParent)
{
return this.collideSpriteVsGroup(object1, object2, collideCallback, processCallback, callbackContext, overlapOnly);
}
else if (object2.isTilemap)
{
return this.collideSpriteVsTilemapLayer(object1, object2, collideCallback, processCallback, callbackContext, overlapOnly);
}
}
// GROUPS
else if (object1.isParent)
{
if (object2.body)
{
return this.collideSpriteVsGroup(object2, object1, collideCallback, processCallback, callbackContext, overlapOnly);
}
else if (object2.isParent)
{
return this.collideGroupVsGroup(object1, object2, collideCallback, processCallback, callbackContext, overlapOnly);
}
else if (object2.isTilemap)
{
return this.collideGroupVsTilemapLayer(object1, object2, collideCallback, processCallback, callbackContext, overlapOnly);
}
}
// TILEMAP LAYERS
else if (object1.isTilemap)
{
if (object2.body)
{
return this.collideSpriteVsTilemapLayer(object2, object1, collideCallback, processCallback, callbackContext, overlapOnly);
}
else if (object2.isParent)
{
return this.collideGroupVsTilemapLayer(object2, object1, collideCallback, processCallback, callbackContext, overlapOnly);
}
}
},
/**
* Internal handler for Sprite vs. Sprite collisions.
* Please use Phaser.Physics.Arcade.World#collide instead.
*
* @method Phaser.Physics.Arcade.World#collideSpriteVsSprite
* @private
* @since 3.0.0
*
* @param {Phaser.GameObjects.GameObject} sprite1 - The first object to check for collision.
* @param {Phaser.GameObjects.GameObject} sprite2 - The second object to check for collision.
* @param {ArcadePhysicsCallback} [collideCallback] - An optional callback function that is called if the objects collide.
* @param {ArcadePhysicsCallback} [processCallback] - An optional callback function that lets you perform additional checks against the two objects if they collide. If this is set then `collideCallback` will only be called if this callback returns `true`.
* @param {any} [callbackContext] - The context in which to run the callbacks.
* @param {boolean} overlapOnly - Whether this is a collision or overlap check.
*
* @return {boolean} True if any objects overlap (with `overlapOnly`); or true if any overlapping objects were separated.
*/
collideSpriteVsSprite: function (sprite1, sprite2, collideCallback, processCallback, callbackContext, overlapOnly)
{
if (!sprite1.body || !sprite2.body)
{
return false;
}
if (this.separate(sprite1.body, sprite2.body, processCallback, callbackContext, overlapOnly))
{
if (collideCallback)
{
collideCallback.call(callbackContext, sprite1, sprite2);
}
this._total++;
}
return true;
},
/**
* Internal handler for Sprite vs. Group collisions.
* Please use Phaser.Physics.Arcade.World#collide instead.
*
* @method Phaser.Physics.Arcade.World#collideSpriteVsGroup
* @private
* @since 3.0.0
*
* @param {Phaser.GameObjects.GameObject} sprite - The first object to check for collision.
* @param {Phaser.GameObjects.Group} group - The second object to check for collision.
* @param {ArcadePhysicsCallback} collideCallback - The callback to invoke when the two objects collide.
* @param {ArcadePhysicsCallback} processCallback - The callback to invoke when the two objects collide. Must return a boolean.
* @param {any} callbackContext - The scope in which to call the callbacks.
* @param {boolean} overlapOnly - Whether this is a collision or overlap check.
*
* @return {boolean} `true` if the Sprite collided with the given Group, otherwise `false`.
*/
collideSpriteVsGroup: function (sprite, group, collideCallback, processCallback, callbackContext, overlapOnly)
{
var bodyA = sprite.body;
if (group.length === 0 || !bodyA || !bodyA.enable || bodyA.checkCollision.none)
{
return;
}
// Does sprite collide with anything?
var i;
var len;
var bodyB;
if (this.useTree || group.physicsType === CONST.STATIC_BODY)
{
var minMax = this.treeMinMax;
minMax.minX = bodyA.left;
minMax.minY = bodyA.top;
minMax.maxX = bodyA.right;
minMax.maxY = bodyA.bottom;
var results = (group.physicsType === CONST.DYNAMIC_BODY) ? this.tree.search(minMax) : this.staticTree.search(minMax);
len = results.length;
for (i = 0; i < len; i++)
{
bodyB = results[i];
if (bodyA === bodyB || !bodyB.enable || bodyB.checkCollision.none || !group.contains(bodyB.gameObject))
{
// Skip if comparing against itself, or if bodyB isn't collidable, or if bodyB isn't actually part of the Group
continue;
}
if (this.separate(bodyA, bodyB, processCallback, callbackContext, overlapOnly, true))
{
if (collideCallback)
{
collideCallback.call(callbackContext, bodyA.gameObject, bodyB.gameObject);
}
this._total++;
}
}
}
else
{
var children = group.getChildren();
var skipIndex = group.children.entries.indexOf(sprite);
len = children.length;
for (i = 0; i < len; i++)
{
bodyB = children[i].body;
if (!bodyB || i === skipIndex || !bodyB.enable)
{
continue;
}
if (this.separate(bodyA, bodyB, processCallback, callbackContext, overlapOnly))
{
if (collideCallback)
{
collideCallback.call(callbackContext, bodyA.gameObject, bodyB.gameObject);
}
this._total++;
}
}
}
},
/**
* Internal handler for Group vs. Tilemap collisions.
* Please use Phaser.Physics.Arcade.World#collide instead.
*
* @method Phaser.Physics.Arcade.World#collideGroupVsTilemapLayer
* @private
* @since 3.0.0
*
* @param {Phaser.GameObjects.Group} group - The first object to check for collision.
* @param {Phaser.Tilemaps.TilemapLayer} tilemapLayer - The second object to check for collision.
* @param {ArcadePhysicsCallback} collideCallback - An optional callback function that is called if the objects collide.
* @param {ArcadePhysicsCallback} processCallback - An optional callback function that lets you perform additional checks against the two objects if they collide. If this is set then `collideCallback` will only be called if this callback returns `true`.
* @param {any} callbackContext - The context in which to run the callbacks.
* @param {boolean} overlapOnly - Whether this is a collision or overlap check.
*
* @return {boolean} True if any objects overlap (with `overlapOnly`); or true if any overlapping objects were separated.
*/
collideGroupVsTilemapLayer: function (group, tilemapLayer, collideCallback, processCallback, callbackContext, overlapOnly)
{
var children = group.getChildren();
if (children.length === 0)
{
return false;
}
var didCollide = false;
for (var i = 0; i < children.length; i++)
{
if (children[i].body)
{
if (this.collideSpriteVsTilemapLayer(children[i], tilemapLayer, collideCallback, processCallback, callbackContext, overlapOnly))
{
didCollide = true;
}
}
}
return didCollide;
},
/**
* This advanced method is specifically for testing for collision between a single Sprite and an array of Tile objects.
*
* You should generally use the `collide` method instead, with a Sprite vs. a Tilemap Layer, as that will perform
* tile filtering and culling for you, as well as handle the interesting face collision automatically.
*
* This method is offered for those who would like to check for collision with specific Tiles in a layer, without
* having to set any collision attributes on the tiles in question. This allows you to perform quick dynamic collisions
* on small sets of Tiles. As such, no culling or checks are made to the array of Tiles given to this method,
* you should filter them before passing them to this method.
*
* Important: Use of this method skips the `interesting faces` system that Tilemap Layers use. This means if you have
* say a row or column of tiles, and you jump into, or walk over them, it's possible to get stuck on the edges of the
* tiles as the interesting face calculations are skipped. However, for quick-fire small collision set tests on
* dynamic maps, this method can prove very useful.
*
* @method Phaser.Physics.Arcade.World#collideTiles
* @fires Phaser.Physics.Arcade.Events#TILE_COLLIDE
* @since 3.17.0
*
* @param {Phaser.GameObjects.GameObject} sprite - The first object to check for collision.
* @param {Phaser.Tilemaps.Tile[]} tiles - An array of Tiles to check for collision against.
* @param {ArcadePhysicsCallback} [collideCallback] - An optional callback function that is called if the objects collide.
* @param {ArcadePhysicsCallback} [processCallback] - An optional callback function that lets you perform additional checks against the two objects if they collide. If this is set then `collideCallback` will only be called if this callback returns `true`.
* @param {any} [callbackContext] - The context in which to run the callbacks.
*
* @return {boolean} True if any objects overlap (with `overlapOnly`); or true if any overlapping objects were separated.
*/
collideTiles: function (sprite, tiles, collideCallback, processCallback, callbackContext)
{
if (!sprite.body.enable || tiles.length === 0)
{
return false;
}
else
{
return this.collideSpriteVsTilesHandler(sprite, tiles, collideCallback, processCallback, callbackContext, false, false);
}
},
/**
* This advanced method is specifically for testing for overlaps between a single Sprite and an array of Tile objects.
*
* You should generally use the `overlap` method instead, with a Sprite vs. a Tilemap Layer, as that will perform
* tile filtering and culling for you, as well as handle the interesting face collision automatically.
*
* This method is offered for those who would like to check for overlaps with specific Tiles in a layer, without
* having to set any collision attributes on the tiles in question. This allows you to perform quick dynamic overlap
* tests on small sets of Tiles. As such, no culling or checks are made to the array of Tiles given to this method,
* you should filter them before passing them to this method.
*
* @method Phaser.Physics.Arcade.World#overlapTiles
* @fires Phaser.Physics.Arcade.Events#TILE_OVERLAP
* @since 3.17.0
*
* @param {Phaser.GameObjects.GameObject} sprite - The first object to check for collision.
* @param {Phaser.Tilemaps.Tile[]} tiles - An array of Tiles to check for collision against.
* @param {ArcadePhysicsCallback} [collideCallback] - An optional callback function that is called if the objects overlap.
* @param {ArcadePhysicsCallback} [processCallback] - An optional callback function that lets you perform additional checks against the two objects if they collide. If this is set then `collideCallback` will only be called if this callback returns `true`.
* @param {any} [callbackContext] - The context in which to run the callbacks.
*
* @return {boolean} True if any objects overlap (with `overlapOnly`); or true if any overlapping objects were separated.
*/
overlapTiles: function (sprite, tiles, collideCallback, processCallback, callbackContext)
{
if (!sprite.body.enable || tiles.length === 0)
{
return false;
}
else
{
return this.collideSpriteVsTilesHandler(sprite, tiles, collideCallback, processCallback, callbackContext, true, false);
}
},
/**
* Internal handler for Sprite vs. Tilemap collisions.
* Please use Phaser.Physics.Arcade.World#collide instead.
*
* @method Phaser.Physics.Arcade.World#collideSpriteVsTilemapLayer
* @fires Phaser.Physics.Arcade.Events#TILE_COLLIDE
* @fires Phaser.Physics.Arcade.Events#TILE_OVERLAP
* @since 3.0.0
*
* @param {Phaser.GameObjects.GameObject} sprite - The first object to check for collision.
* @param {Phaser.Tilemaps.TilemapLayer} tilemapLayer - The second object to check for collision.
* @param {ArcadePhysicsCallback} [collideCallback] - An optional callback function that is called if the objects collide.
* @param {ArcadePhysicsCallback} [processCallback] - An optional callback function that lets you perform additional checks against the two objects if they collide. If this is set then `collideCallback` will only be called if this callback returns `true`.
* @param {any} [callbackContext] - The context in which to run the callbacks.
* @param {boolean} [overlapOnly] - Whether this is a collision or overlap check.
*
* @return {boolean} True if any objects overlap (with `overlapOnly`); or true if any overlapping objects were separated.
*/
collideSpriteVsTilemapLayer: function (sprite, tilemapLayer, collideCallback, processCallback, callbackContext, overlapOnly)
{
var body = sprite.body;
if (!body.enable || body.checkCollision.none)
{
return false;
}
var x = body.position.x;
var y = body.position.y;
var w = body.width;
var h = body.height;
var layerData = tilemapLayer.layer;
if (layerData.tileWidth > layerData.baseTileWidth)
{
// The x origin of a tile is the left side, so x and width need to be adjusted.
var xDiff = (layerData.tileWidth - layerData.baseTileWidth) * tilemapLayer.scaleX;
x -= xDiff;
w += xDiff;
}
if (layerData.tileHeight > layerData.baseTileHeight)
{
// The y origin of a tile is the bottom side, so just the height needs to be adjusted.
var yDiff = (layerData.tileHeight - layerData.baseTileHeight) * tilemapLayer.scaleY;
h += yDiff;
}
var mapData = GetTilesWithinWorldXY(x, y, w, h, null, tilemapLayer.scene.cameras.main, tilemapLayer.layer);
if (mapData.length === 0)
{
return false;
}
else
{
return this.collideSpriteVsTilesHandler(sprite, mapData, collideCallback, processCallback, callbackContext, overlapOnly, true);
}
},
/**
* Internal handler for Sprite vs. Tilemap collisions.
* Please use Phaser.Physics.Arcade.World#collide instead.
*
* @method Phaser.Physics.Arcade.World#collideSpriteVsTilesHandler
* @fires Phaser.Physics.Arcade.Events#TILE_COLLIDE
* @fires Phaser.Physics.Arcade.Events#TILE_OVERLAP
* @private
* @since 3.17.0
*
* @param {Phaser.GameObjects.GameObject} sprite - The first object to check for collision.
* @param {Phaser.Tilemaps.TilemapLayer} tilemapLayer - The second object to check for collision.
* @param {ArcadePhysicsCallback} [collideCallback] - An optional callback function that is called if the objects collide.
* @param {ArcadePhysicsCallback} [processCallback] - An optional callback function that lets you perform additional checks against the two objects if they collide. If this is set then `collideCallback` will only be called if this callback returns `true`.
* @param {any} [callbackContext] - The context in which to run the callbacks.
* @param {boolean} [overlapOnly] - Whether this is a collision or overlap check.
* @param {boolean} [isLayer] - Is this check coming from a TilemapLayer or an array of tiles?
*
* @return {boolean} True if any objects overlap (with `overlapOnly`); or true if any overlapping objects were separated.
*/
collideSpriteVsTilesHandler: function (sprite, tiles, collideCallback, processCallback, callbackContext, overlapOnly, isLayer)
{
var body = sprite.body;
var tile;
var tileWorldRect = { left: 0, right: 0, top: 0, bottom: 0 };
var tilemapLayer;
var collision = false;
for (var i = 0; i < tiles.length; i++)
{
tile = tiles[i];
tilemapLayer = tile.tilemapLayer;
var point = tilemapLayer.tileToWorldXY(tile.x, tile.y);
tileWorldRect.left = point.x;
tileWorldRect.top = point.y;
// If the maps base tile size differs from the layer tile size, only the top of the rect
// needs to be adjusted since its origin is (0, 1).
if (tile.baseHeight !== tile.height)
{
tileWorldRect.top -= (tile.height - tile.baseHeight) * tilemapLayer.scaleY;
}
tileWorldRect.right = tileWorldRect.left + tile.width * tilemapLayer.scaleX;
tileWorldRect.bottom = tileWorldRect.top + tile.height * tilemapLayer.scaleY;
if (TileIntersectsBody(tileWorldRect, body)
&& (!processCallback || processCallback.call(callbackContext, sprite, tile))
&& ProcessTileCallbacks(tile, sprite)
&& (overlapOnly || SeparateTile(i, body, tile, tileWorldRect, tilemapLayer, this.TILE_BIAS, isLayer)))
{
this._total++;
collision = true;
if (collideCallback)
{
collideCallback.call(callbackContext, sprite, tile);
}
if (overlapOnly && body.onOverlap)
{
this.emit(Events.TILE_OVERLAP, sprite, tile, body);
}
else if (body.onCollide)
{
this.emit(Events.TILE_COLLIDE, sprite, tile, body);
}
}
}
return collision;
},
/**
* Internal helper for Group vs. Group collisions.
* Please use Phaser.Physics.Arcade.World#collide instead.
*
* @method Phaser.Physics.Arcade.World#collideGroupVsGroup
* @private
* @since 3.0.0
*
* @param {Phaser.GameObjects.Group} group1 - The first object to check for collision.
* @param {Phaser.GameObjects.Group} group2 - The second object to check for collision.
* @param {ArcadePhysicsCallback} [collideCallback] - An optional callback function that is called if the objects collide.
* @param {ArcadePhysicsCallback} [processCallback] - An optional callback function that lets you perform additional checks against the two objects if they collide. If this is set then `collideCallback` will only be called if this callback returns `true`.
* @param {any} [callbackContext] - The context in which to run the callbacks.
* @param {boolean} overlapOnly - Whether this is a collision or overlap check.
*
* @return {boolean} True if any objects overlap (with `overlapOnly`); or true if any overlapping objects were separated.
*/
collideGroupVsGroup: function (group1, group2, collideCallback, processCallback, callbackContext, overlapOnly)
{
if (group1.length === 0 || group2.length === 0)
{
return;
}
var children = group1.getChildren();
for (var i = 0; i < children.length; i++)
{
this.collideSpriteVsGroup(children[i], group2, collideCallback, processCallback, callbackContext, overlapOnly);
}
},
/**
* Wrap an object's coordinates (or several objects' coordinates) within {@link Phaser.Physics.Arcade.World#bounds}.
*
* If the object is outside any boundary edge (left, top, right, bottom), it will be moved to the same offset from the opposite edge (the interior).
*
* @method Phaser.Physics.Arcade.World#wrap
* @since 3.3.0
*
* @param {any} object - A Game Object, a Group, an object with `x` and `y` coordinates, or an array of such objects.
* @param {number} [padding=0] - An amount added to each boundary edge during the operation.
*/
wrap: function (object, padding)
{
if (object.body)
{
this.wrapObject(object, padding);
}
else if (object.getChildren)
{
this.wrapArray(object.getChildren(), padding);
}
else if (Array.isArray(object))
{
this.wrapArray(object, padding);
}
else
{
this.wrapObject(object, padding);
}
},
/**
* Wrap each object's coordinates within {@link Phaser.Physics.Arcade.World#bounds}.
*
* @method Phaser.Physics.Arcade.World#wrapArray
* @since 3.3.0
*
* @param {Array.<*>} objects - An array of objects to be wrapped.
* @param {number} [padding=0] - An amount added to the boundary.
*/
wrapArray: function (objects, padding)
{
for (var i = 0; i < objects.length; i++)
{
this.wrapObject(objects[i], padding);
}
},
/**
* Wrap an object's coordinates within {@link Phaser.Physics.Arcade.World#bounds}.
*
* @method Phaser.Physics.Arcade.World#wrapObject
* @since 3.3.0
*
* @param {*} object - A Game Object, a Physics Body, or any object with `x` and `y` coordinates
* @param {number} [padding=0] - An amount added to the boundary.
*/
wrapObject: function (object, padding)
{
if (padding === undefined) { padding = 0; }
object.x = Wrap(object.x, this.bounds.left - padding, this.bounds.right + padding);
object.y = Wrap(object.y, this.bounds.top - padding, this.bounds.bottom + padding);
},
/**
* Shuts down the simulation, clearing physics data and removing listeners.
*
* @method Phaser.Physics.Arcade.World#shutdown
* @since 3.0.0
*/
shutdown: function ()
{
this.tree.clear();
this.staticTree.clear();
this.bodies.clear();
this.staticBodies.clear();
this.colliders.destroy();
this.removeAllListeners();
},
/**
* Shuts down the simulation and disconnects it from the current scene.
*
* @method Phaser.Physics.Arcade.World#destroy
* @since 3.0.0
*/
destroy: function ()
{
this.shutdown();
this.scene = null;
}
});
module.exports = World;
| 36.681613 | 259 | 0.587655 |
1e26889b25679eb9bfe9255d885040f6ca682ad2 | 56 | js | JavaScript | controllers/post.js | innomann/NODE-BOOK-L9 | 73143e71169f914f2ba3114715d584feff8e0d1b | [
"MIT"
] | null | null | null | controllers/post.js | innomann/NODE-BOOK-L9 | 73143e71169f914f2ba3114715d584feff8e0d1b | [
"MIT"
] | null | null | null | controllers/post.js | innomann/NODE-BOOK-L9 | 73143e71169f914f2ba3114715d584feff8e0d1b | [
"MIT"
] | null | null | null | module.exports = (req,res) => {
res.render('post')
} | 18.666667 | 31 | 0.571429 |
1e26e28cdf46d9a03ca25d1c8f3c9624c3705301 | 469 | js | JavaScript | bin/itunes_current_track.js | fletchan/dotfiles | 24b680b23dce67a425bd835c49b17000b2f49001 | [
"MIT"
] | 1 | 2017-04-25T08:12:39.000Z | 2017-04-25T08:12:39.000Z | bin/itunes_current_track.js | fletchan/dotfiles | 24b680b23dce67a425bd835c49b17000b2f49001 | [
"MIT"
] | null | null | null | bin/itunes_current_track.js | fletchan/dotfiles | 24b680b23dce67a425bd835c49b17000b2f49001 | [
"MIT"
] | null | null | null | let output = '';
if (Application('iTunes').running()) {
const track = Application('iTunes').currentTrack;
const artist = track.artist();
const title = track.name();
output = (`${title} - ${artist}`).substr(0, 50);
} /*else if (Application('Spotify').running()) {
const track = Application('Spotify').currentTrack;
const artist = track.artist();
const title = track.name();
output = (`♫ ${title} - ${artist}`).substr(0, 50);
}*/
output;
| 31.266667 | 54 | 0.607676 |
1e271b3136c2842c9aa4052aa6d7ed28dbef8d6e | 262 | js | JavaScript | test/stubs/render/rss-item-description-basic--input.js | nik-garmash/works-for-me | 6deef030bc161ad467370c4da6a12a8d0aa09160 | [
"MIT"
] | 144 | 2017-06-07T06:53:34.000Z | 2019-06-27T12:30:18.000Z | test/stubs/render/rss-item-description-basic--input.js | mykolaharmash/works-for-me | 6deef030bc161ad467370c4da6a12a8d0aa09160 | [
"MIT"
] | 4 | 2017-07-12T07:45:48.000Z | 2017-07-30T15:25:04.000Z | test/stubs/render/rss-item-description-basic--input.js | mykolaharmash/works-for-me | 6deef030bc161ad467370c4da6a12a8d0aa09160 | [
"MIT"
] | 10 | 2017-06-07T09:05:45.000Z | 2018-11-20T23:57:45.000Z | const {
RSS_ITEM_DESCRIPTION_CONTEXT,
COMMIT_MESSAGE_CONTEXT
} = require('../../../lib/constants')
module.exports = {
type: RSS_ITEM_DESCRIPTION_CONTEXT,
content: [
{
type: COMMIT_MESSAGE_CONTEXT,
content: `John Doe's setup`
}
]
}
| 17.466667 | 37 | 0.656489 |
1e272ba9832cc5d166fe07fa450b48923976b3a1 | 447 | js | JavaScript | src/actions/API/Post/getUserPosts.js | ahmedgaafer/blog-front-end | 41bd7f0d0d22dfdb4ea1ae26f9f4569f0cde2293 | [
"MIT"
] | null | null | null | src/actions/API/Post/getUserPosts.js | ahmedgaafer/blog-front-end | 41bd7f0d0d22dfdb4ea1ae26f9f4569f0cde2293 | [
"MIT"
] | 2 | 2021-05-06T22:20:58.000Z | 2021-05-29T08:38:48.000Z | src/actions/API/Post/getUserPosts.js | ahmedgaafer/blog-front-end | 41bd7f0d0d22dfdb4ea1ae26f9f4569f0cde2293 | [
"MIT"
] | null | null | null | import CONFIG from "../Config";
import { setUserPosts } from "../../index";
const URL = CONFIG.URL;
export default function getUserPosts(skip, userID) {
return async function (dispatch) {
await fetch(`${URL}post/user/${userID}?skip=${skip}`, {
method: "GET",
headers: {
"Content-Type": "application/json",
},
})
.then((res) => res.json())
.then((res) => {
dispatch(setUserPosts({ posts: res, userID }));
});
};
}
| 22.35 | 57 | 0.599553 |
1e27fbea96032ed02d28243496943fc2de78bff1 | 1,175 | js | JavaScript | packages/frontend/src/plugins/vuetify.js | sujal23ks/BCF | 9f2d3a961c18358f69358ed64d4a94bd07174916 | [
"Apache-2.0"
] | 195 | 2020-11-06T03:26:56.000Z | 2022-03-31T22:53:20.000Z | packages/frontend/src/plugins/vuetify.js | sujal23ks/BCF | 9f2d3a961c18358f69358ed64d4a94bd07174916 | [
"Apache-2.0"
] | 440 | 2020-11-03T18:42:34.000Z | 2022-03-31T13:56:57.000Z | packages/frontend/src/plugins/vuetify.js | sujal23ks/BCF | 9f2d3a961c18358f69358ed64d4a94bd07174916 | [
"Apache-2.0"
] | 59 | 2020-12-08T13:15:20.000Z | 2022-03-23T09:28:35.000Z | import '@mdi/font/css/materialdesignicons.css'
import Vue from 'vue'
import Vuetify from 'vuetify/lib'
Vue.use(Vuetify)
let darkMediaQuery = window.matchMedia('(prefers-color-scheme: dark)')
let hasDarkMode = localStorage.getItem('darkModeEnabled')
if (!hasDarkMode && darkMediaQuery) {
localStorage.setItem('darkModeEnabled', 'dark')
}
export default new Vuetify({
icons: {
iconfont: 'mdi'
},
theme: {
options: { customProperties: true },
dark: localStorage.getItem('darkModeEnabled') === 'dark',
themes: {
light: {
primary: '#047EFB', //blue
secondary: '#7BBCFF', //light blue
accent: '#FCF25E', //yellow
error: '#FF5555', //red
warning: '#FF9100', //orange
info: '#313BCF', //dark blue
success: '#4caf50',
background: '#eeeeee',
text: '#FFFFFF'
},
dark: {
primary: '#047EFB', //blue
secondary: '#7BBCFF', //light blue
accent: '#FCF25E', //yellow
error: '#FF5555', //red
warning: '#FF9100', //orange
info: '#313BCF', //dark blue
success: '#4caf50',
background: '#3a3b3c'
}
}
}
})
| 26.111111 | 70 | 0.577021 |
1e28b3c2cf87df5eb03f585c764b14523eef166c | 1,912 | js | JavaScript | src/ui/assets/PackageKitPage.js | TheNexusCity/editaverse | db008a1f6527bc2a805e15a9566e0ef1a8a61511 | [
"MIT"
] | null | null | null | src/ui/assets/PackageKitPage.js | TheNexusCity/editaverse | db008a1f6527bc2a805e15a9566e0ef1a8a61511 | [
"MIT"
] | 6 | 2022-02-23T13:30:17.000Z | 2022-02-23T14:36:01.000Z | src/ui/assets/PackageKitPage.js | TheNexusCity/editaverse | db008a1f6527bc2a805e15a9566e0ef1a8a61511 | [
"MIT"
] | null | null | null | import React, { useCallback, useState } from "react";
import styled from "styled-components";
import NavBar from "../navigation/NavBar";
import FileInput from "../inputs/FileInput";
import ProgressBar from "../inputs/ProgressBar";
import KitPackager from "../../editor/kits/KitPackager";
const Container = styled.div`
display: flex;
margin: auto;
max-width: 800px;
justify-content: center;
flex-direction: column;
h1 {
font-size: 3em;
margin-bottom: 20px;
}
span {
padding-bottom: 12px;
}
> div {
text-align: center;
margin-bottom: 12px;
}
`;
export default function PackageKitPage() {
const [isGenerating, setIsGenerating] = useState(false);
const [message, setMessage] = useState(null);
const onUpload = useCallback(async files => {
setIsGenerating(true);
const kitPackager = new KitPackager();
try {
const file = files[0];
const fileUrl = URL.createObjectURL(file);
const kitName = file.name.replace(".glb", "");
const zipBlob = await kitPackager.package(kitName, fileUrl, setMessage);
const el = document.createElement("a");
const fileName = kitName + ".zip";
el.download = fileName;
el.href = URL.createObjectURL(zipBlob);
document.body.appendChild(el);
el.click();
document.body.removeChild(el);
setMessage(`Downloading ${fileName}`);
} catch (error) {
console.error(error);
setMessage(error.message);
} finally {
setIsGenerating(false);
}
}, []);
return (
<>
<NavBar />
<main>
<Container>
<h1>Kit Packager</h1>
{message && <div>{message}</div>}
{isGenerating ? (
<ProgressBar />
) : (
<FileInput label="Upload Kit (.glb)" accept=".glb,model/gltf-binary" onChange={onUpload} />
)}
</Container>
</main>
</>
);
}
| 24.202532 | 103 | 0.606695 |
1e29526931133024a1cb59da9b74cc86d7fe7202 | 3,004 | js | JavaScript | packages/core/__tests__/registration/schema/create-schema.test.js | gleb-smagliy/unity | 2c61052b1bf4e4b66232d2c9fedc8ecbc95e364b | [
"Apache-2.0"
] | null | null | null | packages/core/__tests__/registration/schema/create-schema.test.js | gleb-smagliy/unity | 2c61052b1bf4e4b66232d2c9fedc8ecbc95e364b | [
"Apache-2.0"
] | null | null | null | packages/core/__tests__/registration/schema/create-schema.test.js | gleb-smagliy/unity | 2c61052b1bf4e4b66232d2c9fedc8ecbc95e364b | [
"Apache-2.0"
] | null | null | null | import { createSchema } from "../../../src/registration/schema/create-schema";
import { createRegistrationHandler, createSchemaBuilders, executeRegistration } from './utils';
const HANDLER_RESULT_PAYLOAD = { version: '213' };
const HANDLER_ERROR_MESSAGE = 'something went wrong';
describe('schema, created by schema creator', () =>
{
it('should return successful result if service is valid and command returned success', async () =>
{
const schemaBuilders = createSchemaBuilders([
['testBuilder', 'TestBuilder', 'input TestBuilder { endpoint: String }']
]);
const registrationHandler = createRegistrationHandler({ success: true, payload: HANDLER_RESULT_PAYLOAD });
const schema = createSchema({ schemaBuilders, registrationHandler });
const service = {
id: 'test_service',
endpoint: 'localhost',
schemaBuilder: { testBuilder: { } }
};
const result = await executeRegistration(schema, service);
expect(result.errors).toEqual(undefined);
expect(result.data.register.success).toEqual(true);
expect(result.data.register.payload).toEqual(HANDLER_RESULT_PAYLOAD);
});
it('should return GraphQL error if specified builder is not registered', async () =>
{
const schemaBuilders = createSchemaBuilders([
['testBuilder', 'TestBuilder', 'input TestBuilder { endpoint: String }']
]);
const registrationHandler = createRegistrationHandler({ success: true, payload: HANDLER_RESULT_PAYLOAD });
const schema = createSchema({ schemaBuilders, registrationHandler });
const service = {
id: 'test_service',
endpoint: 'localhost',
schemaBuilder: { testBuilderNotExists: { } }
};
const { errors } = await executeRegistration(schema, service);
expect(errors).toHaveLength(1);
});
it('should return failure result if command returns failure', async () =>
{
const schemaBuilders = createSchemaBuilders([
['testBuilder', 'TestBuilder', 'input TestBuilder { endpoint: String }']
]);
const registrationHandler = createRegistrationHandler({ success: false, error: HANDLER_ERROR_MESSAGE });
const schema = createSchema({ schemaBuilders, registrationHandler });
const service = {
id: 'test_service',
endpoint: 'localhost',
schemaBuilder: { testBuilder: { } }
};
const result = await executeRegistration(schema, service);
expect(result.errors).toEqual(undefined);
expect(result.data.register.success).toEqual(false);
expect(result.data.register.error.message).toEqual(HANDLER_ERROR_MESSAGE);
});
it('should throw schema validation error if two schema builders with the same name specified', async () =>
{
const schemaBuilders = createSchemaBuilders([
['testBuilder', 'TestBuilder', 'input TestBuilder { endpoint: String }'],
['testBuilder', 'TestBuilder', 'input TestBuilder { endpoint: String }']
]);
expect(() => createSchema({ schemaBuilders, registrationHandler })).toThrow();
});
}); | 38.025316 | 110 | 0.696072 |
1e29b8741d7818c972692feb6510cca98198d506 | 665 | js | JavaScript | helpers/errorHandlers.js | chocoban/pc-frontend | 3f94f1a586830c4aab892a734aa18be707317300 | [
"MIT"
] | null | null | null | helpers/errorHandlers.js | chocoban/pc-frontend | 3f94f1a586830c4aab892a734aa18be707317300 | [
"MIT"
] | 7 | 2019-11-16T13:50:49.000Z | 2021-12-09T01:18:55.000Z | helpers/errorHandlers.js | chocoban/pc-frontend | 3f94f1a586830c4aab892a734aa18be707317300 | [
"MIT"
] | null | null | null | export default (error) => {
let errorMessage;
let validationErrors;
if (error.response) {
switch (error.response.status) {
case 500:
errorMessage = 'Server error, try again';
break;
case 422:
validationErrors = error.response.data.errors
.map(error => error.msg || error.message)
.join(', ');
errorMessage = `${validationErrors}`;
break;
default:
errorMessage = error.response.data.error || error.response.data.message;
}
} else {
// if server is down, client won't get a response
errorMessage = 'Possible network error, please reload the page';
}
return errorMessage;
};
| 27.708333 | 78 | 0.631579 |
1e29e92a0a8a9a1086004bd2f4566767426e8e17 | 2,525 | js | JavaScript | app/utils/routes.js | Innovahora/Reactjs | 42d0e4464cef76f59717b2e16450221d68dacf32 | [
"MIT"
] | null | null | null | app/utils/routes.js | Innovahora/Reactjs | 42d0e4464cef76f59717b2e16450221d68dacf32 | [
"MIT"
] | null | null | null | app/utils/routes.js | Innovahora/Reactjs | 42d0e4464cef76f59717b2e16450221d68dacf32 | [
"MIT"
] | null | null | null | import api from './api';
import { TYPE_FETCHING } from './constants';
export const apiLoginUser = data =>
api(`api/users/login`, TYPE_FETCHING.post, data);
export const apiAddUser = data =>
api(`api/users/store`, TYPE_FETCHING.post, data);
export const apiGetUser = data => api(`api/users/${data.id}`);
export const apiGetProfiles = data =>
api(`api/profiles`, TYPE_FETCHING.post, data);
export const apiGetUsers = data => api(`api/users`, TYPE_FETCHING.post, data);
export const apiGetAreas = data => api(`api/areas`, TYPE_FETCHING.post, data);
export const apiAddArea = data =>
api(`api/areas/store`, TYPE_FETCHING.post, data);
export const apiAddProfile = data =>
api(`api/profiles/store`, TYPE_FETCHING.post, data);
export const apiDeleteProfile = data =>
api(`api/profiles/delete/${data.id}`, TYPE_FETCHING.post, data);
export const apiGetCentersCost = data =>
api(`api/centers-cost`, TYPE_FETCHING.post, data);
export const apiAddCentersCost = data =>
api(`api/centers-cost/store`, TYPE_FETCHING.post, data);
export const apiDeleteCentersCost = data =>
api(`api/centers-cost/delete/${data.id}`, TYPE_FETCHING.post, data);
export const apiGetModules = data =>
api(`api/modules`, TYPE_FETCHING.post, data);
export const apiGetDocumentTypes = data =>
api(`api/document-types`, TYPE_FETCHING.post, data);
export const apiAddDocumentType = data =>
api(`api/document-types/store`, TYPE_FETCHING.post, data);
export const apiDeleteDocumentType = data =>
api(`api/document-types/delete/${data.id}`, TYPE_FETCHING.post, data);
export const apiGetDocumentBarcodes = data =>
api(`api/document-barcodes`, TYPE_FETCHING.post, data);
export const apiAddDocumentBarcode = data =>
api(`api/document-barcodes/store`, TYPE_FETCHING.post, data);
export const apiDeleteDocumentBarcode = data =>
api(`api/document-barcodes/destroy/${data.id}`, TYPE_FETCHING.post, data);
export const apiAddDocument = data =>
api(`api/documents/store`, TYPE_FETCHING.post, data, false, true);
export const apiUpdateSettings = data =>
api(`api/user-settings/store`, TYPE_FETCHING.post, data);
export const apiGetDocumentBarcode = data =>
api(`api/document-barcodes/edit/${data.id}`, TYPE_FETCHING.post, data);
export const apiGetDocuments = data =>
api(`api/documents`, TYPE_FETCHING.post, data);
export const apiAddFieldsDocumentType = data =>
api(`api/document-type-fields/store`, TYPE_FETCHING.post, data);
export const apiGetFieldsDocumentType = data =>
api(`api/documents/create`, TYPE_FETCHING.post, data);
| 49.509804 | 78 | 0.742574 |
1e2a2f2770c2fa366089fd0b743f36e93c67bca2 | 1,879 | js | JavaScript | src/styles/global.js | aryclenio/TruckPad-Front-End-Challenge | fb945c24a2ee9c4b47ae5e0c60ba55d4339c6e52 | [
"MIT"
] | 3 | 2020-07-06T13:40:06.000Z | 2021-09-01T22:46:29.000Z | src/styles/global.js | aryclenio/TruckPad-Front-End-Challenge | fb945c24a2ee9c4b47ae5e0c60ba55d4339c6e52 | [
"MIT"
] | null | null | null | src/styles/global.js | aryclenio/TruckPad-Front-End-Challenge | fb945c24a2ee9c4b47ae5e0c60ba55d4339c6e52 | [
"MIT"
] | null | null | null | import { createGlobalStyle } from 'styled-components';
import { darken } from 'polished';
import 'react-toastify/dist/ReactToastify.css';
import 'antd/dist/antd.css';
export default createGlobalStyle`
html {
height: 100%;
}
* {
margin: 0;
padding: 0;
outline: 0;
box-sizing: border-box;
}
body {
background: #FFF; /* fallback for old browsers */
-webkit-font-smoothing: antialiased;
height: 100%;
}
body, input, button {
font: 14px 'Open Sans', sans-serif;
}
#root {
max-width: 100%;
margin: 0 auto;
padding: 0 0 50px;
background: #fff;
height: 100%;
}
button {
cursor: pointer;
}
.ant-btn {
border: 0;
background-color: #face48 !important;
color: #474660 !important;
font-weight: bold;
&:hover {
background-color: ${darken(0.09, '#face48')} !important;
color: #474660 !important;
}
}
.ant-input {
&:hover, &:focus {
border-color:#face48;
box-shadow: 0 0 0 2px rgba(250, 206, 72, 0.4);
}
}
.error {
color: red;
}
.ant-form-item-label > label.ant-form-item-required {
color: #474660;
font-weight: bold;
&:before {
display: none;
}
&:after {
display: inline-block;
margin-right: 4px;
color: #face48;
font-size: 14px;
font-family: SimSun, sans-serif;
line-height: 1;
content: '*';
}
}
.driver-switch {
.ant-form-item-control-input-content {
display: flex;
align-items: center;
button {
margin-right: 10px;
}
.ant-switch-checked {
background: #face48;
}
}
}
.ant-checkbox-checked .ant-checkbox-inner {
background-color: #face48;
border-color: #face48;
}
.ant-layout-header {
padding: 0px 44px;
@media (max-width: 768px) {
padding: 0 2px;
}
}
`; | 19.371134 | 62 | 0.566259 |
1e2ad2f5796fc7b20f4f5b6d5fc3b0056fdfaa6f | 181 | js | JavaScript | src/configs/typescript.js | d-hussar/eslint-plugin | 546bb3b748427812021f08df9fa0e237b75e66cc | [
"MIT"
] | null | null | null | src/configs/typescript.js | d-hussar/eslint-plugin | 546bb3b748427812021f08df9fa0e237b75e66cc | [
"MIT"
] | null | null | null | src/configs/typescript.js | d-hussar/eslint-plugin | 546bb3b748427812021f08df9fa0e237b75e66cc | [
"MIT"
] | null | null | null | module.exports = {
plugins: [
'@d-hussar',
'@typescript-eslint',
],
extends: [
'plugin:@d-hussar/javascript',
'plugin:@typescript-eslint/recommended',
],
};
| 16.454545 | 44 | 0.585635 |
1e2bc7d8f2deb8b681142c5cc57cfb78968af12e | 4,620 | js | JavaScript | example2/streamInformationObject.js | triangle42/Oakstreaming | 9253b701cf42b95380ffe857a8fcef38c75614b5 | [
"MIT"
] | 9 | 2016-06-16T15:40:39.000Z | 2022-03-05T17:21:13.000Z | example2/streamInformationObject.js | triangle42/Oakstreaming | 9253b701cf42b95380ffe857a8fcef38c75614b5 | [
"MIT"
] | null | null | null | example2/streamInformationObject.js | triangle42/Oakstreaming | 9253b701cf42b95380ffe857a8fcef38c75614b5 | [
"MIT"
] | 4 | 2016-05-10T06:00:46.000Z | 2016-09-12T01:29:18.000Z | var streamInformationObject = {"magnetURI":"magnet:?xt=urn:btih:1b5169e27e943cd615b1e10ba98e9e4a0b2086b8&dn=example.mp4&tr=wss%3A%2F%2Ftracker.btorrent.xyz","videoFileSize":788493,"XHRPath":"/example.mp4","torrentFile":{"type":"Buffer","data":[100,56,58,97,110,110,111,117,110,99,101,50,54,58,119,115,115,58,47,47,116,114,97,99,107,101,114,46,98,116,111,114,114,101,110,116,46,120,121,122,49,51,58,97,110,110,111,117,110,99,101,45,108,105,115,116,108,108,50,54,58,119,115,115,58,47,47,116,114,97,99,107,101,114,46,98,116,111,114,114,101,110,116,46,120,121,122,101,101,49,48,58,99,114,101,97,116,101,100,32,98,121,49,53,58,87,101,98,84,111,114,114,101,110,116,47,48,48,57,49,49,51,58,99,114,101,97,116,105,111,110,32,100,97,116,101,105,49,52,54,54,48,57,48,50,56,57,101,52,58,105,110,102,111,100,54,58,108,101,110,103,116,104,105,55,56,56,52,57,51,101,52,58,110,97,109,101,49,49,58,101,120,97,109,112,108,101,46,109,112,52,49,50,58,112,105,101,99,101,32,108,101,110,103,116,104,105,49,54,51,56,52,101,54,58,112,105,101,99,101,115,57,56,48,58,172,6,217,29,136,74,225,99,212,253,6,43,224,184,101,118,218,247,204,189,222,139,104,61,76,9,224,84,22,127,163,192,227,123,239,134,255,46,252,85,130,113,30,252,194,194,157,150,177,196,205,27,242,196,43,241,222,28,200,126,17,55,1,224,228,119,214,44,185,16,218,253,69,83,24,194,249,187,54,180,162,138,46,195,105,172,90,52,38,99,79,178,238,54,117,116,108,194,60,210,166,73,69,128,129,215,97,77,47,185,71,70,24,250,182,111,213,103,154,16,134,203,108,130,13,133,7,20,26,165,68,205,90,46,211,101,218,195,102,57,60,36,200,91,31,52,155,200,167,34,105,105,225,245,156,76,30,176,155,2,12,99,136,159,98,198,192,69,234,141,220,179,143,192,230,21,199,199,201,43,209,75,77,240,191,37,231,69,97,16,212,219,227,49,250,29,221,57,184,213,172,31,94,146,36,44,69,155,77,47,224,146,251,66,87,198,169,28,121,212,77,240,96,85,87,131,151,54,26,74,193,180,43,128,85,219,17,236,109,76,142,249,102,197,20,238,106,122,15,224,100,65,187,11,35,51,49,149,159,93,27,203,179,196,218,243,128,64,173,24,87,180,28,19,149,86,67,54,242,104,21,70,88,156,151,26,241,173,139,242,189,171,237,190,112,82,16,82,216,224,69,105,62,231,107,80,88,143,141,106,233,40,44,44,68,111,73,241,222,109,124,184,110,39,127,155,73,205,180,225,142,100,226,123,114,206,7,245,142,13,123,221,35,158,152,154,24,2,67,12,222,62,186,155,19,100,135,142,6,37,91,190,115,27,133,104,179,102,19,156,143,137,196,91,201,57,31,117,239,139,85,89,106,16,184,203,36,237,179,179,123,183,11,111,211,79,200,172,192,159,157,182,53,135,219,0,237,101,75,86,54,146,244,176,81,134,96,28,206,255,231,159,76,48,196,202,164,144,111,75,189,76,130,233,215,176,154,229,176,159,248,141,11,186,182,255,136,187,21,254,36,223,98,181,118,240,40,31,177,249,198,95,70,23,84,140,236,151,48,142,63,77,20,251,158,255,173,185,77,240,63,211,156,239,103,131,4,219,170,138,173,134,207,160,152,168,254,21,80,73,57,19,241,97,135,144,76,117,21,9,3,114,74,108,172,46,34,116,26,223,49,188,69,128,191,109,114,111,240,116,122,177,106,240,3,141,123,227,208,231,160,240,27,66,199,156,166,124,69,200,251,106,78,121,30,200,251,164,146,41,165,219,252,98,168,149,59,182,164,41,90,195,187,149,231,14,182,4,23,135,12,207,44,75,115,68,17,230,183,78,145,195,2,8,177,84,170,113,155,148,53,173,231,175,66,124,242,158,230,211,155,113,37,107,153,7,2,235,108,176,11,58,26,95,35,153,102,14,160,120,55,49,224,194,160,45,69,126,79,106,70,162,18,74,180,128,70,244,6,12,241,225,31,175,98,45,154,67,157,219,122,3,23,21,27,137,79,183,118,66,4,170,213,243,92,57,33,66,96,82,220,227,231,106,52,162,61,69,227,93,185,150,98,107,219,120,69,91,185,173,5,192,67,202,61,221,155,138,50,22,194,4,2,38,197,120,173,175,184,29,145,16,32,163,226,61,48,131,107,162,43,105,221,247,201,48,58,85,184,148,246,175,172,190,215,136,26,50,205,38,199,19,133,142,195,74,226,50,108,129,28,25,217,180,144,151,3,14,157,37,4,147,98,125,21,123,242,192,65,153,9,217,158,178,113,98,127,184,103,164,249,231,52,36,133,33,198,227,110,16,12,68,217,252,164,235,94,124,173,249,5,50,3,167,5,173,87,235,112,32,230,45,168,249,85,34,12,87,224,3,68,54,237,173,223,169,246,152,237,180,54,244,214,149,141,211,208,159,112,196,88,221,21,65,230,32,36,56,106,188,22,157,129,120,187,80,129,58,180,193,49,126,76,238,234,62,109,29,147,10,233,125,46,225,180,23,44,131,209,35,117,18,223,190,21,65,103,48,118,238,178,60,97,114,150,201,114,184,243,71,38,83,119,221,88,65,124,173,186,200,19,167,216,61,122,112,232,0,122,35,43,105,193,102,183,94,102,189,62,121,178,214,89,17,246,162,115,10,54,92,234,49,87,84,176,252,213,96,28,175,97,84,142,101,19,168,24,225,40,114,117,173,214,107,61,79,217,54,118,60,101,56,58,117,114,108,45,108,105,115,116,108,101,101]},"XHRPort":8082}; | 4,620 | 4,620 | 0.723377 |
1e2bdb391b3f566a8d62b3b9a0cc94a95debbc4a | 6,221 | js | JavaScript | public/static/js/int.js | xssilent/avi | 94c9d2022e740a18d429ddaf36854a41d937e3e2 | [
"Apache-2.0"
] | null | null | null | public/static/js/int.js | xssilent/avi | 94c9d2022e740a18d429ddaf36854a41d937e3e2 | [
"Apache-2.0"
] | null | null | null | public/static/js/int.js | xssilent/avi | 94c9d2022e740a18d429ddaf36854a41d937e3e2 | [
"Apache-2.0"
] | null | null | null | $(function() {
$('#footer .nav ul li:last').css('background','none');
$('#goTop').show();
$('#goTop').scrollFollow({offset:380});
$('#goTop').click(function(){
$('html,body').animate({scrollTop: '0px'}, 600);
return false;
});
goTop();
$('.reg input,.login input').focus(function(){
$(this).addClass('hover');
})
$('.reg input,.login input').blur(function(){
$(this).removeClass('hover');
})
$('.subNav li:last').css('background','none')
$('.orderList table tbody tr:odd').css('background','#f9f3df')
//initNavList();
$('#online').scrollFollow({offset:200});
ao=setInterval('AutoScroll(".scroll")',5000);
setInterval('AutoScrollB(".gouMain .itemA .list")',4000);
setInterval('AutoScrollB(".indexLeft .itemB .hot")',3000);
$('.scroll li').hover(function(){
$(this).find('strong').addClass('hover');
},function(){
$(this).find('strong').removeClass('hover');
});
$('#cate a.prev').click(function(){
clearInterval(ao);
prev(".scroll");
return false;
});
$('#cate a.next').click(function(){
clearInterval(ao);
next(".scroll");
return false;
});
$('.gouList .itemB ul li:last').css('background','none');
$('.yuMain .itemC .cate li a.a1').click(function(){
$('.yuMain .itemC').css('background','url(images/yu_bg9.jpg)');
$('.yuMain .itemC #listB').hide();
$('.yuMain .itemC #listA').show();
$('.yuMain .itemC #listC').hide();
$('.yuMain .itemC #listD').hide();
return false;
});
$('.yuMain .itemC .cate li a.a2').click(function(){
$('.yuMain .itemC').css('background','url(images/yu_bg10.jpg)');
$('.yuMain .itemC #listA').hide();
$('.yuMain .itemC #listB').show();
$('.yuMain .itemC #listC').hide();
$('.yuMain .itemC #listD').hide();
return false;
});
$('.yuMain .itemC .cate li a.a3').click(function(){
$('.yuMain .itemC').css('background','url(images/yu_bg11.jpg)');
$('.yuMain .itemC #listA').hide();
$('.yuMain .itemC #listB').hide();
$('.yuMain .itemC #listC').show();
$('.yuMain .itemC #listD').hide();
return false;
});
$('.yuMain .itemC .cate li a.a4').click(function(){
$('.yuMain .itemC').css('background','url(images/yu_bg12.jpg)');
$('.yuMain .itemC #listA').hide();
$('.yuMain .itemC #listB').hide();
$('.yuMain .itemC #listC').hide();
$('.yuMain .itemC #listD').show();
return false;
});
$('.indexLeft .re h3').click(function(){
if($(this).parent().find('div').is(":visible")==false){
$(".indexLeft .re .item").each(function(i){
if($(this).find('div').is(":visible")==true){
$(this).find('div').slideUp(300);
$(this).find('h3').removeClass('on');
}
});
$(this).parent().find('div').slideDown(300);
$(this).parent().find('h3').addClass('on');
}
})
$('.indexLeft .itemC .s1 strong').click(function(){
$('.indexLeft .itemC .s1').animate({left: '0px'}, 300);
$('.indexLeft .itemC .s2').animate({left: '467px'}, 300);
$('.indexLeft .itemC .s3').animate({left: '532px'}, 300);
$('.indexLeft .itemC .s4').animate({left: '597px'}, 300);
$('.indexLeft .itemC .s5').animate({left: '662px'}, 300);
});
$('.indexLeft .itemC .s2 strong').click(function(){
$('.indexLeft .itemC .s1').animate({left: '0px'}, 300);
$('.indexLeft .itemC .s2').animate({left: '65px'}, 300);
$('.indexLeft .itemC .s3').animate({left: '532px'}, 300);
$('.indexLeft .itemC .s4').animate({left: '597px'}, 300);
$('.indexLeft .itemC .s5').animate({left: '662px'}, 300);
});
$('.indexLeft .itemC .s3 strong').click(function(){
$('.indexLeft .itemC .s1').animate({left: '0px'}, 300);
$('.indexLeft .itemC .s2').animate({left: '65px'}, 300);
$('.indexLeft .itemC .s3').animate({left: '130px'}, 300);
$('.indexLeft .itemC .s4').animate({left: '597px'}, 300);
$('.indexLeft .itemC .s5').animate({left: '662px'}, 300);
});
$('.indexLeft .itemC .s4 strong').click(function(){
$('.indexLeft .itemC .s1').animate({left: '0px'}, 300);
$('.indexLeft .itemC .s2').animate({left: '65px'}, 300);
$('.indexLeft .itemC .s3').animate({left: '130px'}, 300);
$('.indexLeft .itemC .s4').animate({left: '195px'}, 300);
$('.indexLeft .itemC .s5').animate({left: '662px'}, 300);
});
$('.indexLeft .itemC .s5 strong').click(function(){
$('.indexLeft .itemC .s1').animate({left: '0px'}, 300);
$('.indexLeft .itemC .s2').animate({left: '65px'}, 300);
$('.indexLeft .itemC .s3').animate({left: '130px'}, 300);
$('.indexLeft .itemC .s4').animate({left: '195px'}, 300);
$('.indexLeft .itemC .s5').animate({left: '260px'}, 300);
});
})
$(window).resize(function(){
goTop();
})
function goTop(){
if($('body').width()>980){
$('#goTop').css("left",980+($('body').width()-980)/2+"px");
}else{
$('#goTop').css("left",$('body').width()-36+"px");
$('#goTop').hide();
}
}
function AutoScroll(obj){
$(obj).find("ul:first").animate({
marginLeft:"-226px"
},600,function(){
$(this).css({marginLeft:"0px"}).find("li:first").appendTo(this);
});
}
function prev(obj){
$(obj).find("ul:first").animate({
marginLeft:"-226px"
},600,function(){
$(this).css({marginLeft:"0px"}).find("li:first").appendTo(this);
});
}
function next(obj){
$(obj).find("ul:first").animate({
marginLeft:"226px"
},500,function(){
$(this).css({marginLeft:"0px"}).prepend($(this).find("li:last"));
});
}
function AutoScrollB(obj){
$(obj).find("ul:first").animate({
marginTop:"-17px"
},500,function(){
$(this).css({marginTop:"0px"}).find("li:first").appendTo(this);
});
}
function initNavList()
{
var item=$("#nav ul li");
item.each(function(){
this.lightTag="div";
var that=$(this);
var div=$(document.createElement("div"));
div.html(that.html());
that.append(div).hover(toggleLight,toggleLight);
})
}
function toggleLight(){
if (!this.cover) {
this.cover = $(this.lightTag, this).css({opacity:0});
this.speed1=this.speed1||400;
this.speed2=this.speed2||200;
if($.browser.msie && $.browser.version=="6.0")
{
this.speed1=this.speed2=1;
}
}
if (this.onLight) {
this.cover.stop(true).fadeTo(this.speed1, 0);
this.onLight = false;
}
else {
this.cover.stop(true).fadeTo(this.speed2, 1);
this.onLight = true;
}
}
| 32.233161 | 68 | 0.57981 |
1e2bf595293c9ed491b58cb19b29522815d0c194 | 628,712 | js | JavaScript | lang/src/Kernel-Tests.js | MilkTool/amber-unofficial | e756476b01ed1e0e6fe8fe1be58d0374353c325d | [
"MIT"
] | null | null | null | lang/src/Kernel-Tests.js | MilkTool/amber-unofficial | e756476b01ed1e0e6fe8fe1be58d0374353c325d | [
"MIT"
] | null | null | null | lang/src/Kernel-Tests.js | MilkTool/amber-unofficial | e756476b01ed1e0e6fe8fe1be58d0374353c325d | [
"MIT"
] | null | null | null | define(["amber/boot", "require", "amber/core/Kernel-Objects", "amber/core/SUnit"], function($boot,requirejs){"use strict";
var $core=$boot.api,nil=$boot.nilAsValue,$nil=$boot.nilAsReceiver,$recv=$boot.asReceiver,$globals=$boot.globals;
var $pkg = $core.addPackage("Kernel-Tests");
$pkg.innerEval = function (expr) { return eval(expr); };
$pkg.transport = {"type":"amd","amdNamespace":"amber/core"};
$core.addClass("AnnouncementSubscriptionTest", $globals.TestCase, [], "Kernel-Tests");
$core.addMethod(
$core.method({
selector: "testAddExtensionMethod",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testAddExtensionMethod\x0a\x09| method dirty |\x0a\x09dirty := self class package isDirty.\x0a\x09self class package beClean.\x0a\x09method := self class compile: 'doNothing' protocol: '**not-a-package'.\x0a\x09self deny: self class package isDirty.\x0a\x09\x0a\x09self class removeCompiledMethod: method.\x0a\x09dirty ifTrue: [ self class package beDirty ]",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["isDirty", "package", "class", "beClean", "compile:protocol:", "deny:", "removeCompiledMethod:", "ifTrue:", "beDirty"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
var method,dirty;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $2,$1,$4,$3,$5,$8,$7,$6,$9,$10;
$2=$self._class();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["class"]=1;
//>>excludeEnd("ctx");
$1=$recv($2)._package();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["package"]=1;
//>>excludeEnd("ctx");
dirty=$recv($1)._isDirty();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["isDirty"]=1;
//>>excludeEnd("ctx");
$4=$self._class();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["class"]=2;
//>>excludeEnd("ctx");
$3=$recv($4)._package();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["package"]=2;
//>>excludeEnd("ctx");
$recv($3)._beClean();
$5=$self._class();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["class"]=3;
//>>excludeEnd("ctx");
method=$recv($5)._compile_protocol_("doNothing","**not-a-package");
$8=$self._class();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["class"]=4;
//>>excludeEnd("ctx");
$7=$recv($8)._package();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["package"]=3;
//>>excludeEnd("ctx");
$6=$recv($7)._isDirty();
$self._deny_($6);
$9=$self._class();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["class"]=5;
//>>excludeEnd("ctx");
$recv($9)._removeCompiledMethod_(method);
$10=dirty;
if($core.assert($10)){
$recv($recv($self._class())._package())._beDirty();
}
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testAddExtensionMethod",{method:method,dirty:dirty})});
//>>excludeEnd("ctx");
}; }),
$globals.AnnouncementSubscriptionTest);
$core.addMethod(
$core.method({
selector: "testHandlesAnnouncement",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testHandlesAnnouncement\x0a\x09| subscription announcementClass1 announcementClass2 classBuilder |\x0a\x09\x0a\x09classBuilder := ClassBuilder new.\x0a\x09announcementClass1 := classBuilder basicAddSubclassOf: SystemAnnouncement named: 'TestAnnouncement1' instanceVariableNames: #() package: 'Kernel-Tests'.\x0a\x09\x0a\x09subscription := AnnouncementSubscription new announcementClass: SystemAnnouncement.\x0a\x09\x22Test whether the same class triggers the announcement\x22\x0a\x09self assert: (subscription handlesAnnouncement: SystemAnnouncement new) equals: true.\x0a\x09\x22Test whether a subclass triggers the announcement\x22\x0a\x09self assert: (subscription handlesAnnouncement: announcementClass1 new) equals: true.\x0a\x09\x22Test whether an unrelated class does not trigger the announcement\x22\x0a\x09self assert: (subscription handlesAnnouncement: Object new) equals: false.\x0a\x09\x0a\x09classBuilder basicRemoveClass: announcementClass1.",
referencedClasses: ["ClassBuilder", "SystemAnnouncement", "AnnouncementSubscription", "Object"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["new", "basicAddSubclassOf:named:instanceVariableNames:package:", "announcementClass:", "assert:equals:", "handlesAnnouncement:", "basicRemoveClass:"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
var subscription,announcementClass1,announcementClass2,classBuilder;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $1,$3,$4,$2,$6,$7,$5;
classBuilder=$recv($globals.ClassBuilder)._new();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["new"]=1;
//>>excludeEnd("ctx");
announcementClass1=$recv(classBuilder)._basicAddSubclassOf_named_instanceVariableNames_package_($globals.SystemAnnouncement,"TestAnnouncement1",[],"Kernel-Tests");
$1=$recv($globals.AnnouncementSubscription)._new();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["new"]=2;
//>>excludeEnd("ctx");
subscription=$recv($1)._announcementClass_($globals.SystemAnnouncement);
$3=subscription;
$4=$recv($globals.SystemAnnouncement)._new();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["new"]=3;
//>>excludeEnd("ctx");
$2=$recv($3)._handlesAnnouncement_($4);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["handlesAnnouncement:"]=1;
//>>excludeEnd("ctx");
$self._assert_equals_($2,true);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=1;
//>>excludeEnd("ctx");
$6=subscription;
$7=$recv(announcementClass1)._new();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["new"]=4;
//>>excludeEnd("ctx");
$5=$recv($6)._handlesAnnouncement_($7);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["handlesAnnouncement:"]=2;
//>>excludeEnd("ctx");
$self._assert_equals_($5,true);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=2;
//>>excludeEnd("ctx");
$self._assert_equals_($recv(subscription)._handlesAnnouncement_($recv($globals.Object)._new()),false);
$recv(classBuilder)._basicRemoveClass_(announcementClass1);
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testHandlesAnnouncement",{subscription:subscription,announcementClass1:announcementClass1,announcementClass2:announcementClass2,classBuilder:classBuilder})});
//>>excludeEnd("ctx");
}; }),
$globals.AnnouncementSubscriptionTest);
$core.addClass("AnnouncerTest", $globals.TestCase, [], "Kernel-Tests");
$core.addMethod(
$core.method({
selector: "testOnDo",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testOnDo\x0a\x09| counter announcer |\x0a\x09\x0a\x09counter := 0.\x0a\x09announcer := Announcer new.\x0a\x09announcer on: SystemAnnouncement do: [ counter := counter + 1 ].\x0a\x0a\x09announcer announce: (SystemAnnouncement new).\x0a\x09self assert: counter equals: 1.\x0a\x0a\x09announcer announce: (SystemAnnouncement new).\x0a\x09self assert: counter equals: 2.",
referencedClasses: ["Announcer", "SystemAnnouncement"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["new", "on:do:", "+", "announce:", "assert:equals:"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
var counter,announcer;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $1,$2;
counter=(0);
announcer=$recv($globals.Announcer)._new();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["new"]=1;
//>>excludeEnd("ctx");
$recv(announcer)._on_do_($globals.SystemAnnouncement,(function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
counter=$recv(counter).__plus((1));
return counter;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({},$ctx1,1)});
//>>excludeEnd("ctx");
}));
$1=announcer;
$2=$recv($globals.SystemAnnouncement)._new();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["new"]=2;
//>>excludeEnd("ctx");
$recv($1)._announce_($2);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["announce:"]=1;
//>>excludeEnd("ctx");
$self._assert_equals_(counter,(1));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=1;
//>>excludeEnd("ctx");
$recv(announcer)._announce_($recv($globals.SystemAnnouncement)._new());
$self._assert_equals_(counter,(2));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testOnDo",{counter:counter,announcer:announcer})});
//>>excludeEnd("ctx");
}; }),
$globals.AnnouncerTest);
$core.addMethod(
$core.method({
selector: "testOnDoFor",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testOnDoFor\x0a\x09| counter announcer |\x0a\x09\x0a\x09counter := 0.\x0a\x09announcer := Announcer new.\x0a\x09announcer on: SystemAnnouncement do: [ counter := counter + 1 ] for: self.\x0a\x0a\x09announcer announce: (SystemAnnouncement new).\x0a\x09self assert: counter equals: 1.\x0a\x0a\x09announcer announce: (SystemAnnouncement new).\x0a\x09self assert: counter equals: 2.\x0a\x09\x0a\x09announcer unsubscribe: self.\x0a\x09\x0a\x09announcer announce: (SystemAnnouncement new).\x0a\x09self assert: counter equals: 2.",
referencedClasses: ["Announcer", "SystemAnnouncement"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["new", "on:do:for:", "+", "announce:", "assert:equals:", "unsubscribe:"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
var counter,announcer;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $1,$2,$3,$4;
counter=(0);
announcer=$recv($globals.Announcer)._new();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["new"]=1;
//>>excludeEnd("ctx");
$recv(announcer)._on_do_for_($globals.SystemAnnouncement,(function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
counter=$recv(counter).__plus((1));
return counter;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({},$ctx1,1)});
//>>excludeEnd("ctx");
}),self);
$1=announcer;
$2=$recv($globals.SystemAnnouncement)._new();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["new"]=2;
//>>excludeEnd("ctx");
$recv($1)._announce_($2);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["announce:"]=1;
//>>excludeEnd("ctx");
$self._assert_equals_(counter,(1));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=1;
//>>excludeEnd("ctx");
$3=announcer;
$4=$recv($globals.SystemAnnouncement)._new();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["new"]=3;
//>>excludeEnd("ctx");
$recv($3)._announce_($4);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["announce:"]=2;
//>>excludeEnd("ctx");
$self._assert_equals_(counter,(2));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=2;
//>>excludeEnd("ctx");
$recv(announcer)._unsubscribe_(self);
$recv(announcer)._announce_($recv($globals.SystemAnnouncement)._new());
$self._assert_equals_(counter,(2));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testOnDoFor",{counter:counter,announcer:announcer})});
//>>excludeEnd("ctx");
}; }),
$globals.AnnouncerTest);
$core.addMethod(
$core.method({
selector: "testOnDoOnce",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testOnDoOnce\x0a\x09| counter announcer |\x0a\x09\x0a\x09counter := 0.\x0a\x09announcer := Announcer new.\x0a\x09announcer on: SystemAnnouncement doOnce: [ counter := counter + 1 ].\x0a\x0a\x09announcer announce: (SystemAnnouncement new).\x0a\x09self assert: counter equals: 1.\x0a\x0a\x09announcer announce: (SystemAnnouncement new).\x0a\x09self assert: counter equals: 1.",
referencedClasses: ["Announcer", "SystemAnnouncement"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["new", "on:doOnce:", "+", "announce:", "assert:equals:"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
var counter,announcer;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $1,$2;
counter=(0);
announcer=$recv($globals.Announcer)._new();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["new"]=1;
//>>excludeEnd("ctx");
$recv(announcer)._on_doOnce_($globals.SystemAnnouncement,(function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
counter=$recv(counter).__plus((1));
return counter;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({},$ctx1,1)});
//>>excludeEnd("ctx");
}));
$1=announcer;
$2=$recv($globals.SystemAnnouncement)._new();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["new"]=2;
//>>excludeEnd("ctx");
$recv($1)._announce_($2);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["announce:"]=1;
//>>excludeEnd("ctx");
$self._assert_equals_(counter,(1));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=1;
//>>excludeEnd("ctx");
$recv(announcer)._announce_($recv($globals.SystemAnnouncement)._new());
$self._assert_equals_(counter,(1));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testOnDoOnce",{counter:counter,announcer:announcer})});
//>>excludeEnd("ctx");
}; }),
$globals.AnnouncerTest);
$core.addClass("BlockClosureTest", $globals.TestCase, [], "Kernel-Tests");
$core.addMethod(
$core.method({
selector: "localReturnOnDoCatch",
protocol: "fixture",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "localReturnOnDoCatch\x0a [ ^ 2 ] on: Error do: [].\x0a ^ 3",
referencedClasses: ["Error"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["on:do:"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $early={};
try {
$recv((function(){
throw $early=[(2)];
}))._on_do_($globals.Error,(function(){
}));
return (3);
}
catch(e) {if(e===$early)return e[0]; throw e}
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"localReturnOnDoCatch",{})});
//>>excludeEnd("ctx");
}; }),
$globals.BlockClosureTest);
$core.addMethod(
$core.method({
selector: "localReturnOnDoMiss",
protocol: "fixture",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "localReturnOnDoMiss\x0a [ ^ 2 ] on: Class do: [].\x0a ^ 3",
referencedClasses: ["Class"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["on:do:"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $early={};
try {
$recv((function(){
throw $early=[(2)];
}))._on_do_($globals.Class,(function(){
}));
return (3);
}
catch(e) {if(e===$early)return e[0]; throw e}
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"localReturnOnDoMiss",{})});
//>>excludeEnd("ctx");
}; }),
$globals.BlockClosureTest);
$core.addMethod(
$core.method({
selector: "testCanClearInterval",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testCanClearInterval\x0a\x09self shouldnt: [ ([ Error new signal ] valueWithInterval: 0) clearInterval ] raise: Error",
referencedClasses: ["Error"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["shouldnt:raise:", "clearInterval", "valueWithInterval:", "signal", "new"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
$self._shouldnt_raise_((function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return $recv($recv((function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx3) {
//>>excludeEnd("ctx");
return $recv($recv($globals.Error)._new())._signal();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx3) {$ctx3.fillBlock({},$ctx2,2)});
//>>excludeEnd("ctx");
}))._valueWithInterval_((0)))._clearInterval();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({},$ctx1,1)});
//>>excludeEnd("ctx");
}),$globals.Error);
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testCanClearInterval",{})});
//>>excludeEnd("ctx");
}; }),
$globals.BlockClosureTest);
$core.addMethod(
$core.method({
selector: "testCanClearTimeout",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testCanClearTimeout\x0a\x09self shouldnt: [ ([ Error new signal ] valueWithTimeout: 0) clearTimeout ] raise: Error",
referencedClasses: ["Error"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["shouldnt:raise:", "clearTimeout", "valueWithTimeout:", "signal", "new"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
$self._shouldnt_raise_((function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return $recv($recv((function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx3) {
//>>excludeEnd("ctx");
return $recv($recv($globals.Error)._new())._signal();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx3) {$ctx3.fillBlock({},$ctx2,2)});
//>>excludeEnd("ctx");
}))._valueWithTimeout_((0)))._clearTimeout();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({},$ctx1,1)});
//>>excludeEnd("ctx");
}),$globals.Error);
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testCanClearTimeout",{})});
//>>excludeEnd("ctx");
}; }),
$globals.BlockClosureTest);
$core.addMethod(
$core.method({
selector: "testCompiledSource",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testCompiledSource\x0a\x09self assert: ([ 1+1 ] compiledSource includesSubString: 'function')",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:", "includesSubString:", "compiledSource", "+"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
$self._assert_($recv($recv((function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return (1).__plus((1));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({},$ctx1,1)});
//>>excludeEnd("ctx");
}))._compiledSource())._includesSubString_("function"));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testCompiledSource",{})});
//>>excludeEnd("ctx");
}; }),
$globals.BlockClosureTest);
$core.addMethod(
$core.method({
selector: "testCurrySelf",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testCurrySelf\x0a\x09| curriedMethod array |\x0a\x09curriedMethod := [ :selfarg :x | selfarg at: x ] currySelf asCompiledMethod: 'foo:'.\x0a\x09curriedMethod protocol: '**test helper'.\x0a\x09array := #(3 1 4).\x0a\x09Array addCompiledMethod: curriedMethod.\x0a\x09[ self assert: (array foo: 2) equals: 1 ]\x0a\x09ensure: [ Array removeCompiledMethod: curriedMethod ]",
referencedClasses: ["Array"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["asCompiledMethod:", "currySelf", "at:", "protocol:", "addCompiledMethod:", "ensure:", "assert:equals:", "foo:", "removeCompiledMethod:"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
var curriedMethod,array;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
curriedMethod=$recv($recv((function(selfarg,x){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return $recv(selfarg)._at_(x);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({selfarg:selfarg,x:x},$ctx1,1)});
//>>excludeEnd("ctx");
}))._currySelf())._asCompiledMethod_("foo:");
$recv(curriedMethod)._protocol_("**test helper");
array=[(3), (1), (4)];
$recv($globals.Array)._addCompiledMethod_(curriedMethod);
$recv((function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return $self._assert_equals_($recv(array)._foo_((2)),(1));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({},$ctx1,2)});
//>>excludeEnd("ctx");
}))._ensure_((function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return $recv($globals.Array)._removeCompiledMethod_(curriedMethod);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({},$ctx1,3)});
//>>excludeEnd("ctx");
}));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testCurrySelf",{curriedMethod:curriedMethod,array:array})});
//>>excludeEnd("ctx");
}; }),
$globals.BlockClosureTest);
$core.addMethod(
$core.method({
selector: "testEnsure",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testEnsure\x0a\x09self assert: ([ 3 ] ensure: [ 4 ]) equals: 3",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:equals:", "ensure:"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
$self._assert_equals_($recv((function(){
return (3);
}))._ensure_((function(){
return (4);
})),(3));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testEnsure",{})});
//>>excludeEnd("ctx");
}; }),
$globals.BlockClosureTest);
$core.addMethod(
$core.method({
selector: "testEnsureRaises",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testEnsureRaises\x0a\x09self should: [ [Error new signal ] ensure: [ true ]] raise: Error",
referencedClasses: ["Error"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["should:raise:", "ensure:", "signal", "new"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
$self._should_raise_((function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return $recv((function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx3) {
//>>excludeEnd("ctx");
return $recv($recv($globals.Error)._new())._signal();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx3) {$ctx3.fillBlock({},$ctx2,2)});
//>>excludeEnd("ctx");
}))._ensure_((function(){
return true;
}));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({},$ctx1,1)});
//>>excludeEnd("ctx");
}),$globals.Error);
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testEnsureRaises",{})});
//>>excludeEnd("ctx");
}; }),
$globals.BlockClosureTest);
$core.addMethod(
$core.method({
selector: "testExceptionSemantics",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testExceptionSemantics\x0a\x09\x22See https://lolg.it/amber/amber/issues/314\x22\x0a\x09self timeout: 100.\x0a\x09\x0a\x09(self async: [\x0a\x09\x09[\x0a\x09\x09\x09self assert: true.\x0a\x09\x09\x09Error signal.\x0a\x09\x09\x09\x22The following should *not* be run\x22\x0a\x09\x09\x09self deny: true.\x0a\x09\x09\x09self finished.\x0a\x09\x09] on: Error do: [ :ex | self finished ]\x0a\x09]) valueWithTimeout: 0",
referencedClasses: ["Error"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["timeout:", "valueWithTimeout:", "async:", "on:do:", "assert:", "signal", "deny:", "finished"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
$self._timeout_((100));
$recv($self._async_((function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return $recv((function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx3) {
//>>excludeEnd("ctx");
$self._assert_(true);
$recv($globals.Error)._signal();
$self._deny_(true);
return $self._finished();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx3.sendIdx["finished"]=1;
//>>excludeEnd("ctx");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx3) {$ctx3.fillBlock({},$ctx2,2)});
//>>excludeEnd("ctx");
}))._on_do_($globals.Error,(function(ex){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx3) {
//>>excludeEnd("ctx");
return $self._finished();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx3) {$ctx3.fillBlock({ex:ex},$ctx2,3)});
//>>excludeEnd("ctx");
}));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({},$ctx1,1)});
//>>excludeEnd("ctx");
})))._valueWithTimeout_((0));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testExceptionSemantics",{})});
//>>excludeEnd("ctx");
}; }),
$globals.BlockClosureTest);
$core.addMethod(
$core.method({
selector: "testLocalReturnOnDoCatch",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testLocalReturnOnDoCatch\x0a\x09self assert: self localReturnOnDoCatch equals: 2",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:equals:", "localReturnOnDoCatch"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
$self._assert_equals_($self._localReturnOnDoCatch(),(2));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testLocalReturnOnDoCatch",{})});
//>>excludeEnd("ctx");
}; }),
$globals.BlockClosureTest);
$core.addMethod(
$core.method({
selector: "testLocalReturnOnDoMiss",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testLocalReturnOnDoMiss\x0a\x09self assert: self localReturnOnDoMiss equals: 2",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:equals:", "localReturnOnDoMiss"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
$self._assert_equals_($self._localReturnOnDoMiss(),(2));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testLocalReturnOnDoMiss",{})});
//>>excludeEnd("ctx");
}; }),
$globals.BlockClosureTest);
$core.addMethod(
$core.method({
selector: "testNewWithValues",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testNewWithValues\x0a<inlineJS: '\x0a\x09function TestConstructor(arg1, arg2, arg3) {}\x0a\x09TestConstructor.prototype.name = \x22theTestPrototype\x22;\x0a\x0a\x09var wrappedConstructor = $recv(TestConstructor);\x0a\x09var result = wrappedConstructor._newWithValues_([1, 2, 3]);\x0a\x09$self._assert_(result instanceof TestConstructor);\x0a\x09$self._assert_equals_(result.name, \x22theTestPrototype\x22);\x0a\x0a\x09/* newWithValues: cannot help if the argument list is wrong, and should warn that a mistake was made. */\x0a\x09$self._should_raise_(function () {wrappedConstructor._newWithValues_(\x22single argument\x22);}, $globals.Error);\x0a'>",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [["inlineJS:", ["\x0a\x09function TestConstructor(arg1, arg2, arg3) {}\x0a\x09TestConstructor.prototype.name = \x22theTestPrototype\x22;\x0a\x0a\x09var wrappedConstructor = $recv(TestConstructor);\x0a\x09var result = wrappedConstructor._newWithValues_([1, 2, 3]);\x0a\x09$self._assert_(result instanceof TestConstructor);\x0a\x09$self._assert_equals_(result.name, \x22theTestPrototype\x22);\x0a\x0a\x09/* newWithValues: cannot help if the argument list is wrong, and should warn that a mistake was made. */\x0a\x09$self._should_raise_(function () {wrappedConstructor._newWithValues_(\x22single argument\x22);}, $globals.Error);"]]],
messageSends: []
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
function TestConstructor(arg1, arg2, arg3) {}
TestConstructor.prototype.name = "theTestPrototype";
var wrappedConstructor = $recv(TestConstructor);
var result = wrappedConstructor._newWithValues_([1, 2, 3]);
$self._assert_(result instanceof TestConstructor);
$self._assert_equals_(result.name, "theTestPrototype");
/* newWithValues: cannot help if the argument list is wrong, and should warn that a mistake was made. */
$self._should_raise_(function () {wrappedConstructor._newWithValues_("single argument");}, $globals.Error);;
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testNewWithValues",{})});
//>>excludeEnd("ctx");
}; }),
$globals.BlockClosureTest);
$core.addMethod(
$core.method({
selector: "testNumArgs",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testNumArgs\x0a\x09self assert: [] numArgs equals: 0.\x0a\x09self assert: [ :a :b | ] numArgs equals: 2",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:equals:", "numArgs"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $1;
$1=$recv((function(){
}))._numArgs();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["numArgs"]=1;
//>>excludeEnd("ctx");
$self._assert_equals_($1,(0));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=1;
//>>excludeEnd("ctx");
$self._assert_equals_($recv((function(a,b){
}))._numArgs(),(2));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testNumArgs",{})});
//>>excludeEnd("ctx");
}; }),
$globals.BlockClosureTest);
$core.addMethod(
$core.method({
selector: "testOnDo",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testOnDo\x0a\x09self assert: ([ Error new signal ] on: Error do: [ :ex | true ])",
referencedClasses: ["Error"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:", "on:do:", "signal", "new"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
$self._assert_($recv((function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return $recv($recv($globals.Error)._new())._signal();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({},$ctx1,1)});
//>>excludeEnd("ctx");
}))._on_do_($globals.Error,(function(ex){
return true;
})));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testOnDo",{})});
//>>excludeEnd("ctx");
}; }),
$globals.BlockClosureTest);
$core.addMethod(
$core.method({
selector: "testValue",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testValue\x0a\x09self assert: ([ 1+1 ] value) equals: 2.\x0a\x09self assert: ([ :x | x +1 ] value: 2) equals: 3.\x0a\x09self assert: ([ :x :y | x*y ] value: 2 value: 4) equals: 8.\x0a\x0a\x09\x22Arguments are optional in Amber. This isn't ANSI compliant.\x22\x0a\x0a\x09self assert: ([ :a :b :c | 1 ] value) equals: 1",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:equals:", "value", "+", "value:", "value:value:", "*"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $1;
$1=$recv((function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return (1).__plus((1));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx2.sendIdx["+"]=1;
//>>excludeEnd("ctx");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({},$ctx1,1)});
//>>excludeEnd("ctx");
}))._value();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["value"]=1;
//>>excludeEnd("ctx");
$self._assert_equals_($1,(2));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=1;
//>>excludeEnd("ctx");
$self._assert_equals_($recv((function(x){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return $recv(x).__plus((1));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({x:x},$ctx1,2)});
//>>excludeEnd("ctx");
}))._value_((2)),(3));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=2;
//>>excludeEnd("ctx");
$self._assert_equals_($recv((function(x,y){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return $recv(x).__star(y);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({x:x,y:y},$ctx1,3)});
//>>excludeEnd("ctx");
}))._value_value_((2),(4)),(8));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=3;
//>>excludeEnd("ctx");
$self._assert_equals_($recv((function(a,b,c){
return (1);
}))._value(),(1));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testValue",{})});
//>>excludeEnd("ctx");
}; }),
$globals.BlockClosureTest);
$core.addMethod(
$core.method({
selector: "testValueWithPossibleArguments",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testValueWithPossibleArguments\x0a\x09self assert: ([ 1 ] valueWithPossibleArguments: #(3 4)) equals: 1.\x0a\x09self assert: ([ :a | a + 4 ] valueWithPossibleArguments: #(3 4)) equals: 7.\x0a\x09self assert: ([ :a :b | a + b ] valueWithPossibleArguments: #(3 4 5)) equals: 7.",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:equals:", "valueWithPossibleArguments:", "+"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $1,$2;
$1=$recv((function(){
return (1);
}))._valueWithPossibleArguments_([(3), (4)]);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["valueWithPossibleArguments:"]=1;
//>>excludeEnd("ctx");
$self._assert_equals_($1,(1));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=1;
//>>excludeEnd("ctx");
$2=$recv((function(a){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return $recv(a).__plus((4));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx2.sendIdx["+"]=1;
//>>excludeEnd("ctx");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({a:a},$ctx1,2)});
//>>excludeEnd("ctx");
}))._valueWithPossibleArguments_([(3), (4)]);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["valueWithPossibleArguments:"]=2;
//>>excludeEnd("ctx");
$self._assert_equals_($2,(7));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=2;
//>>excludeEnd("ctx");
$self._assert_equals_($recv((function(a,b){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return $recv(a).__plus(b);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({a:a,b:b},$ctx1,3)});
//>>excludeEnd("ctx");
}))._valueWithPossibleArguments_([(3), (4), (5)]),(7));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testValueWithPossibleArguments",{})});
//>>excludeEnd("ctx");
}; }),
$globals.BlockClosureTest);
$core.addMethod(
$core.method({
selector: "testWhileFalse",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testWhileFalse\x0a\x09| i |\x0a\x09i := 0.\x0a\x09[ i > 5 ] whileFalse: [ i := i + 1 ].\x0a\x09self assert: i equals: 6.\x0a\x0a\x09i := 0.\x0a\x09[ i := i + 1. i > 5 ] whileFalse.\x0a\x09self assert: i equals: 6",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["whileFalse:", ">", "+", "assert:equals:", "whileFalse"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
var i;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
i=(0);
$recv((function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return $recv(i).__gt((5));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx2.sendIdx[">"]=1;
//>>excludeEnd("ctx");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({},$ctx1,1)});
//>>excludeEnd("ctx");
}))._whileFalse_((function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
i=$recv(i).__plus((1));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx2.sendIdx["+"]=1;
//>>excludeEnd("ctx");
return i;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({},$ctx1,2)});
//>>excludeEnd("ctx");
}));
$self._assert_equals_(i,(6));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=1;
//>>excludeEnd("ctx");
i=(0);
$recv((function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
i=$recv(i).__plus((1));
return $recv(i).__gt((5));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({},$ctx1,3)});
//>>excludeEnd("ctx");
}))._whileFalse();
$self._assert_equals_(i,(6));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testWhileFalse",{i:i})});
//>>excludeEnd("ctx");
}; }),
$globals.BlockClosureTest);
$core.addMethod(
$core.method({
selector: "testWhileTrue",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testWhileTrue\x0a\x09| i |\x0a\x09i := 0.\x0a\x09[ i < 5 ] whileTrue: [ i := i + 1 ].\x0a\x09self assert: i equals: 5.\x0a\x0a\x09i := 0.\x0a\x09[ i := i + 1. i < 5 ] whileTrue.\x0a\x09self assert: i equals: 5",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["whileTrue:", "<", "+", "assert:equals:", "whileTrue"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
var i;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
i=(0);
$recv((function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return $recv(i).__lt((5));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx2.sendIdx["<"]=1;
//>>excludeEnd("ctx");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({},$ctx1,1)});
//>>excludeEnd("ctx");
}))._whileTrue_((function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
i=$recv(i).__plus((1));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx2.sendIdx["+"]=1;
//>>excludeEnd("ctx");
return i;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({},$ctx1,2)});
//>>excludeEnd("ctx");
}));
$self._assert_equals_(i,(5));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=1;
//>>excludeEnd("ctx");
i=(0);
$recv((function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
i=$recv(i).__plus((1));
return $recv(i).__lt((5));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({},$ctx1,3)});
//>>excludeEnd("ctx");
}))._whileTrue();
$self._assert_equals_(i,(5));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testWhileTrue",{i:i})});
//>>excludeEnd("ctx");
}; }),
$globals.BlockClosureTest);
$core.addClass("BooleanTest", $globals.TestCase, [], "Kernel-Tests");
$core.addMethod(
$core.method({
selector: "testEquality",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testEquality\x0a\x09\x22We're on top of JS...just be sure to check the basics!\x22\x0a\x0a\x09self deny: 0 = false.\x0a\x09self deny: false = 0.\x0a\x09self deny: '' = false.\x0a\x09self deny: false = ''.\x0a\x0a\x09self assert: (true = true).\x0a\x09self deny: false = true.\x0a\x09self deny: true = false.\x0a\x09self assert: (false = false).\x0a\x0a\x09\x22JS may do some type coercing after sending a message\x22\x0a\x09self assert: (true yourself = true).\x0a\x09self assert: (true yourself = true yourself)",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["deny:", "=", "assert:", "yourself"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $1,$2,$3,$4,$5,$6,$7,$8,$10,$9,$12,$11;
$1=(0).__eq(false);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["="]=1;
//>>excludeEnd("ctx");
$self._deny_($1);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["deny:"]=1;
//>>excludeEnd("ctx");
$2=false.__eq((0));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["="]=2;
//>>excludeEnd("ctx");
$self._deny_($2);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["deny:"]=2;
//>>excludeEnd("ctx");
$3="".__eq(false);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["="]=3;
//>>excludeEnd("ctx");
$self._deny_($3);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["deny:"]=3;
//>>excludeEnd("ctx");
$4=false.__eq("");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["="]=4;
//>>excludeEnd("ctx");
$self._deny_($4);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["deny:"]=4;
//>>excludeEnd("ctx");
$5=true.__eq(true);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["="]=5;
//>>excludeEnd("ctx");
$self._assert_($5);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:"]=1;
//>>excludeEnd("ctx");
$6=false.__eq(true);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["="]=6;
//>>excludeEnd("ctx");
$self._deny_($6);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["deny:"]=5;
//>>excludeEnd("ctx");
$7=true.__eq(false);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["="]=7;
//>>excludeEnd("ctx");
$self._deny_($7);
$8=false.__eq(false);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["="]=8;
//>>excludeEnd("ctx");
$self._assert_($8);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:"]=2;
//>>excludeEnd("ctx");
$10=true._yourself();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["yourself"]=1;
//>>excludeEnd("ctx");
$9=$recv($10).__eq(true);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["="]=9;
//>>excludeEnd("ctx");
$self._assert_($9);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:"]=3;
//>>excludeEnd("ctx");
$12=true._yourself();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["yourself"]=2;
//>>excludeEnd("ctx");
$11=$recv($12).__eq(true._yourself());
$self._assert_($11);
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testEquality",{})});
//>>excludeEnd("ctx");
}; }),
$globals.BooleanTest);
$core.addMethod(
$core.method({
selector: "testIdentity",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testIdentity\x0a\x09\x22We're on top of JS...just be sure to check the basics!\x22\x0a\x0a\x09self deny: 0 == false.\x0a\x09self deny: false == 0.\x0a\x09self deny: '' == false.\x0a\x09self deny: false == ''.\x0a\x0a\x09self assert: true == true.\x0a\x09self deny: false == true.\x0a\x09self deny: true == false.\x0a\x09self assert: false == false.\x0a\x0a\x09\x22JS may do some type coercing after sending a message\x22\x0a\x09self assert: true yourself == true.\x0a\x09self assert: true yourself == true yourself",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["deny:", "==", "assert:", "yourself"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $1,$2,$3,$4,$5,$6,$7,$8,$10,$9,$12,$11;
$1=(0).__eq_eq(false);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["=="]=1;
//>>excludeEnd("ctx");
$self._deny_($1);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["deny:"]=1;
//>>excludeEnd("ctx");
$2=false.__eq_eq((0));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["=="]=2;
//>>excludeEnd("ctx");
$self._deny_($2);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["deny:"]=2;
//>>excludeEnd("ctx");
$3="".__eq_eq(false);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["=="]=3;
//>>excludeEnd("ctx");
$self._deny_($3);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["deny:"]=3;
//>>excludeEnd("ctx");
$4=false.__eq_eq("");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["=="]=4;
//>>excludeEnd("ctx");
$self._deny_($4);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["deny:"]=4;
//>>excludeEnd("ctx");
$5=true.__eq_eq(true);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["=="]=5;
//>>excludeEnd("ctx");
$self._assert_($5);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:"]=1;
//>>excludeEnd("ctx");
$6=false.__eq_eq(true);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["=="]=6;
//>>excludeEnd("ctx");
$self._deny_($6);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["deny:"]=5;
//>>excludeEnd("ctx");
$7=true.__eq_eq(false);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["=="]=7;
//>>excludeEnd("ctx");
$self._deny_($7);
$8=false.__eq_eq(false);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["=="]=8;
//>>excludeEnd("ctx");
$self._assert_($8);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:"]=2;
//>>excludeEnd("ctx");
$10=true._yourself();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["yourself"]=1;
//>>excludeEnd("ctx");
$9=$recv($10).__eq_eq(true);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["=="]=9;
//>>excludeEnd("ctx");
$self._assert_($9);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:"]=3;
//>>excludeEnd("ctx");
$12=true._yourself();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["yourself"]=2;
//>>excludeEnd("ctx");
$11=$recv($12).__eq_eq(true._yourself());
$self._assert_($11);
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testIdentity",{})});
//>>excludeEnd("ctx");
}; }),
$globals.BooleanTest);
$core.addMethod(
$core.method({
selector: "testIfTrueIfFalse",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testIfTrueIfFalse\x0a\x0a\x09self assert: (true ifTrue: [ 'alternative block' ]) equals: 'alternative block'.\x0a\x09self assert: (true ifFalse: [ 'alternative block' ]) equals: nil.\x0a\x0a\x09self assert: (false ifTrue: [ 'alternative block' ]) equals: nil.\x0a\x09self assert: (false ifFalse: [ 'alternative block' ]) equals: 'alternative block'.\x0a\x0a\x09self assert: (false ifTrue: [ 'alternative block' ] ifFalse: [ 'alternative block2' ]) equals: 'alternative block2'.\x0a\x09self assert: (false ifFalse: [ 'alternative block' ] ifTrue: [ 'alternative block2' ]) equals: 'alternative block'.\x0a\x0a\x09self assert: (true ifTrue: [ 'alternative block' ] ifFalse: [ 'alternative block2' ]) equals: 'alternative block'.\x0a\x09self assert: (true ifFalse: [ 'alternative block' ] ifTrue: [ 'alternative block2' ]) equals: 'alternative block2'.",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:equals:", "ifTrue:", "ifFalse:", "ifTrue:ifFalse:", "ifFalse:ifTrue:"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $1,$2,$3,$4,$5,$6,$7,$8;
if($core.assert(true)){
$1="alternative block";
}
$self._assert_equals_($1,"alternative block");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=1;
//>>excludeEnd("ctx");
if(!$core.assert(true)){
$2="alternative block";
}
$self._assert_equals_($2,nil);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=2;
//>>excludeEnd("ctx");
if($core.assert(false)){
$3="alternative block";
}
$self._assert_equals_($3,nil);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=3;
//>>excludeEnd("ctx");
if(!$core.assert(false)){
$4="alternative block";
}
$self._assert_equals_($4,"alternative block");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=4;
//>>excludeEnd("ctx");
if($core.assert(false)){
$5="alternative block";
} else {
$5="alternative block2";
}
$self._assert_equals_($5,"alternative block2");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=5;
//>>excludeEnd("ctx");
if($core.assert(false)){
$6="alternative block2";
} else {
$6="alternative block";
}
$self._assert_equals_($6,"alternative block");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=6;
//>>excludeEnd("ctx");
if($core.assert(true)){
$7="alternative block";
} else {
$7="alternative block2";
}
$self._assert_equals_($7,"alternative block");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=7;
//>>excludeEnd("ctx");
if($core.assert(true)){
$8="alternative block2";
} else {
$8="alternative block";
}
$self._assert_equals_($8,"alternative block2");
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testIfTrueIfFalse",{})});
//>>excludeEnd("ctx");
}; }),
$globals.BooleanTest);
$core.addMethod(
$core.method({
selector: "testIfTrueIfFalseWithBoxing",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testIfTrueIfFalseWithBoxing\x0a\x0a\x09self assert: (true yourself ifTrue: [ 'alternative block' ]) equals: 'alternative block'.\x0a\x09self assert: (true yourself ifFalse: [ 'alternative block' ]) equals: nil.\x0a\x0a\x09self assert: (false yourself ifTrue: [ 'alternative block' ]) equals: nil.\x0a\x09self assert: (false yourself ifFalse: [ 'alternative block' ]) equals: 'alternative block'.\x0a\x0a\x09self assert: (false yourself ifTrue: [ 'alternative block' ] ifFalse: [ 'alternative block2' ]) equals: 'alternative block2'.\x0a\x09self assert: (false yourself ifFalse: [ 'alternative block' ] ifTrue: [ 'alternative block2' ]) equals: 'alternative block'.\x0a\x0a\x09self assert: (true yourself ifTrue: [ 'alternative block' ] ifFalse: [ 'alternative block2' ]) equals: 'alternative block'.\x0a\x09self assert: (true yourself ifFalse: [ 'alternative block' ] ifTrue: [ 'alternative block2' ]) equals: 'alternative block2'.",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:equals:", "ifTrue:", "yourself", "ifFalse:", "ifTrue:ifFalse:", "ifFalse:ifTrue:"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $2,$1,$4,$3,$6,$5,$8,$7,$10,$9,$12,$11,$14,$13,$16,$15;
$2=true._yourself();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["yourself"]=1;
//>>excludeEnd("ctx");
if($core.assert($2)){
$1="alternative block";
}
$self._assert_equals_($1,"alternative block");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=1;
//>>excludeEnd("ctx");
$4=true._yourself();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["yourself"]=2;
//>>excludeEnd("ctx");
if(!$core.assert($4)){
$3="alternative block";
}
$self._assert_equals_($3,nil);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=2;
//>>excludeEnd("ctx");
$6=false._yourself();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["yourself"]=3;
//>>excludeEnd("ctx");
if($core.assert($6)){
$5="alternative block";
}
$self._assert_equals_($5,nil);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=3;
//>>excludeEnd("ctx");
$8=false._yourself();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["yourself"]=4;
//>>excludeEnd("ctx");
if(!$core.assert($8)){
$7="alternative block";
}
$self._assert_equals_($7,"alternative block");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=4;
//>>excludeEnd("ctx");
$10=false._yourself();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["yourself"]=5;
//>>excludeEnd("ctx");
if($core.assert($10)){
$9="alternative block";
} else {
$9="alternative block2";
}
$self._assert_equals_($9,"alternative block2");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=5;
//>>excludeEnd("ctx");
$12=false._yourself();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["yourself"]=6;
//>>excludeEnd("ctx");
if($core.assert($12)){
$11="alternative block2";
} else {
$11="alternative block";
}
$self._assert_equals_($11,"alternative block");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=6;
//>>excludeEnd("ctx");
$14=true._yourself();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["yourself"]=7;
//>>excludeEnd("ctx");
if($core.assert($14)){
$13="alternative block";
} else {
$13="alternative block2";
}
$self._assert_equals_($13,"alternative block");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=7;
//>>excludeEnd("ctx");
$16=true._yourself();
if($core.assert($16)){
$15="alternative block2";
} else {
$15="alternative block";
}
$self._assert_equals_($15,"alternative block2");
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testIfTrueIfFalseWithBoxing",{})});
//>>excludeEnd("ctx");
}; }),
$globals.BooleanTest);
$core.addMethod(
$core.method({
selector: "testLogic",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testLogic\x0a\x09\x22Trivial logic table\x22\x0a\x09self assert: (true & true);\x0a\x09\x09deny: (true & false);\x0a\x09\x09deny: (false & true);\x0a\x09\x09deny: (false & false).\x0a\x09self assert: (true | true);\x0a\x09\x09assert: (true | false);\x0a\x09\x09assert: (false | true);\x0a\x09\x09deny: (false | false).\x0a\x09\x22Checking that expressions work fine too\x22\x0a\x09self assert: (true & (1 > 0));\x0a\x09\x09deny: ((1 > 0) & false);\x0a\x09\x09deny: ((1 > 0) & (1 > 2)).\x0a\x09self assert: (false | (1 > 0));\x0a\x09\x09assert: ((1 > 0) | false);\x0a\x09\x09assert: ((1 > 0) | (1 > 2))",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:", "&", "deny:", "|", ">"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $1,$2,$3,$4,$5,$6,$7,$8,$10,$9,$12,$11,$14,$15,$13,$17,$16,$19,$18,$21,$20;
$1=true.__and(true);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["&"]=1;
//>>excludeEnd("ctx");
$self._assert_($1);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:"]=1;
//>>excludeEnd("ctx");
$2=true.__and(false);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["&"]=2;
//>>excludeEnd("ctx");
$self._deny_($2);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["deny:"]=1;
//>>excludeEnd("ctx");
$3=false.__and(true);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["&"]=3;
//>>excludeEnd("ctx");
$self._deny_($3);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["deny:"]=2;
//>>excludeEnd("ctx");
$4=false.__and(false);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["&"]=4;
//>>excludeEnd("ctx");
$self._deny_($4);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["deny:"]=3;
//>>excludeEnd("ctx");
$5=true.__or(true);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["|"]=1;
//>>excludeEnd("ctx");
$self._assert_($5);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:"]=2;
//>>excludeEnd("ctx");
$6=true.__or(false);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["|"]=2;
//>>excludeEnd("ctx");
$self._assert_($6);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:"]=3;
//>>excludeEnd("ctx");
$7=false.__or(true);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["|"]=3;
//>>excludeEnd("ctx");
$self._assert_($7);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:"]=4;
//>>excludeEnd("ctx");
$8=false.__or(false);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["|"]=4;
//>>excludeEnd("ctx");
$self._deny_($8);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["deny:"]=4;
//>>excludeEnd("ctx");
$10=(1).__gt((0));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx[">"]=1;
//>>excludeEnd("ctx");
$9=true.__and($10);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["&"]=5;
//>>excludeEnd("ctx");
$self._assert_($9);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:"]=5;
//>>excludeEnd("ctx");
$12=(1).__gt((0));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx[">"]=2;
//>>excludeEnd("ctx");
$11=$recv($12).__and(false);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["&"]=6;
//>>excludeEnd("ctx");
$self._deny_($11);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["deny:"]=5;
//>>excludeEnd("ctx");
$14=(1).__gt((0));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx[">"]=3;
//>>excludeEnd("ctx");
$15=(1).__gt((2));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx[">"]=4;
//>>excludeEnd("ctx");
$13=$recv($14).__and($15);
$self._deny_($13);
$17=(1).__gt((0));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx[">"]=5;
//>>excludeEnd("ctx");
$16=false.__or($17);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["|"]=5;
//>>excludeEnd("ctx");
$self._assert_($16);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:"]=6;
//>>excludeEnd("ctx");
$19=(1).__gt((0));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx[">"]=6;
//>>excludeEnd("ctx");
$18=$recv($19).__or(false);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["|"]=6;
//>>excludeEnd("ctx");
$self._assert_($18);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:"]=7;
//>>excludeEnd("ctx");
$21=(1).__gt((0));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx[">"]=7;
//>>excludeEnd("ctx");
$20=$recv($21).__or((1).__gt((2)));
$self._assert_($20);
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testLogic",{})});
//>>excludeEnd("ctx");
}; }),
$globals.BooleanTest);
$core.addMethod(
$core.method({
selector: "testLogicKeywords",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testLogicKeywords\x0a\x09\x22Trivial logic table\x22\x0a\x09self\x0a\x09\x09assert: (true and: [ true ]);\x0a\x09\x09deny: (true and: [ false ]);\x0a\x09\x09deny: (false and: [ true ]);\x0a\x09\x09deny: (false and: [ false ]).\x0a\x09self\x0a\x09\x09assert: (true or: [ true ]);\x0a\x09\x09assert: (true or: [ false ]);\x0a\x09\x09assert: (false or: [ true ]);\x0a\x09\x09deny: (false or: [ false ]).\x0a\x09\x09\x0a\x09\x22Checking that expressions work fine too\x22\x0a\x09self\x0a\x09\x09assert: (true and: [ 1 > 0 ]);\x0a\x09\x09deny: ((1 > 0) and: [ false ]);\x0a\x09\x09deny: ((1 > 0) and: [ 1 > 2 ]).\x0a\x09self\x0a\x09\x09assert: (false or: [ 1 > 0 ]);\x0a\x09\x09assert: ((1 > 0) or: [ false ]);\x0a\x09\x09assert: ((1 > 0) or: [ 1 > 2 ])",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:", "and:", "deny:", "or:", ">"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $1,$2,$3,$4,$5,$6,$7,$8,$9,$11,$10,$13,$12,$14,$16,$15,$18,$17;
$1=true._and_((function(){
return true;
}));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["and:"]=1;
//>>excludeEnd("ctx");
$self._assert_($1);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:"]=1;
//>>excludeEnd("ctx");
$2=true._and_((function(){
return false;
}));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["and:"]=2;
//>>excludeEnd("ctx");
$self._deny_($2);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["deny:"]=1;
//>>excludeEnd("ctx");
$3=false._and_((function(){
return true;
}));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["and:"]=3;
//>>excludeEnd("ctx");
$self._deny_($3);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["deny:"]=2;
//>>excludeEnd("ctx");
$4=false._and_((function(){
return false;
}));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["and:"]=4;
//>>excludeEnd("ctx");
$self._deny_($4);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["deny:"]=3;
//>>excludeEnd("ctx");
$5=true._or_((function(){
return true;
}));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["or:"]=1;
//>>excludeEnd("ctx");
$self._assert_($5);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:"]=2;
//>>excludeEnd("ctx");
$6=true._or_((function(){
return false;
}));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["or:"]=2;
//>>excludeEnd("ctx");
$self._assert_($6);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:"]=3;
//>>excludeEnd("ctx");
$7=false._or_((function(){
return true;
}));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["or:"]=3;
//>>excludeEnd("ctx");
$self._assert_($7);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:"]=4;
//>>excludeEnd("ctx");
$8=false._or_((function(){
return false;
}));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["or:"]=4;
//>>excludeEnd("ctx");
$self._deny_($8);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["deny:"]=4;
//>>excludeEnd("ctx");
$9=true._and_((function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return (1).__gt((0));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx2.sendIdx[">"]=1;
//>>excludeEnd("ctx");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({},$ctx1,9)});
//>>excludeEnd("ctx");
}));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["and:"]=5;
//>>excludeEnd("ctx");
$self._assert_($9);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:"]=5;
//>>excludeEnd("ctx");
$11=(1).__gt((0));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx[">"]=2;
//>>excludeEnd("ctx");
$10=$recv($11)._and_((function(){
return false;
}));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["and:"]=6;
//>>excludeEnd("ctx");
$self._deny_($10);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["deny:"]=5;
//>>excludeEnd("ctx");
$13=(1).__gt((0));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx[">"]=3;
//>>excludeEnd("ctx");
$12=$recv($13)._and_((function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return (1).__gt((2));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx2.sendIdx[">"]=4;
//>>excludeEnd("ctx");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({},$ctx1,11)});
//>>excludeEnd("ctx");
}));
$self._deny_($12);
$14=false._or_((function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return (1).__gt((0));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx2.sendIdx[">"]=5;
//>>excludeEnd("ctx");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({},$ctx1,12)});
//>>excludeEnd("ctx");
}));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["or:"]=5;
//>>excludeEnd("ctx");
$self._assert_($14);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:"]=6;
//>>excludeEnd("ctx");
$16=(1).__gt((0));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx[">"]=6;
//>>excludeEnd("ctx");
$15=$recv($16)._or_((function(){
return false;
}));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["or:"]=6;
//>>excludeEnd("ctx");
$self._assert_($15);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:"]=7;
//>>excludeEnd("ctx");
$18=(1).__gt((0));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx[">"]=7;
//>>excludeEnd("ctx");
$17=$recv($18)._or_((function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return (1).__gt((2));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({},$ctx1,14)});
//>>excludeEnd("ctx");
}));
$self._assert_($17);
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testLogicKeywords",{})});
//>>excludeEnd("ctx");
}; }),
$globals.BooleanTest);
$core.addMethod(
$core.method({
selector: "testNonBooleanError",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testNonBooleanError\x0a\x09self should: [ '' ifTrue: [] ifFalse: [] ] raise: NonBooleanReceiver",
referencedClasses: ["NonBooleanReceiver"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["should:raise:", "ifTrue:ifFalse:"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
$self._should_raise_((function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
if($core.assert("")){
return nil;
} else {
return nil;
}
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({},$ctx1,1)});
//>>excludeEnd("ctx");
}),$globals.NonBooleanReceiver);
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testNonBooleanError",{})});
//>>excludeEnd("ctx");
}; }),
$globals.BooleanTest);
$core.addClass("ClassBuilderTest", $globals.TestCase, ["builder", "theClass"], "Kernel-Tests");
$core.addMethod(
$core.method({
selector: "setUp",
protocol: "running",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "setUp\x0a\x09builder := ClassBuilder new",
referencedClasses: ["ClassBuilder"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["new"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
$self.builder=$recv($globals.ClassBuilder)._new();
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"setUp",{})});
//>>excludeEnd("ctx");
}; }),
$globals.ClassBuilderTest);
$core.addMethod(
$core.method({
selector: "tearDown",
protocol: "running",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "tearDown\x0a\x09self tearDownTheClass.\x0a\x09theClass ifNotNil: [\x0a\x09\x09self deny: (theClass package classes includes: theClass).\x0a\x09\x09self assert: (Smalltalk globals at: theClass name) equals: nil ]",
referencedClasses: ["Smalltalk"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["tearDownTheClass", "ifNotNil:", "deny:", "includes:", "classes", "package", "assert:equals:", "at:", "globals", "name"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $1,$receiver;
$self._tearDownTheClass();
$1=$self.theClass;
if(($receiver = $1) == null || $receiver.a$nil){
$1;
} else {
$self._deny_($recv($recv($recv($self.theClass)._package())._classes())._includes_($self.theClass));
$self._assert_equals_($recv($recv($globals.Smalltalk)._globals())._at_($recv($self.theClass)._name()),nil);
}
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"tearDown",{})});
//>>excludeEnd("ctx");
}; }),
$globals.ClassBuilderTest);
$core.addMethod(
$core.method({
selector: "testAddTrait",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testAddTrait\x0a\x09theClass := builder addTraitNamed: 'ObjectMock2' package: 'Kernel-Tests'.\x0a\x09self assert: theClass name equals: 'ObjectMock2'.\x0a\x09self assert: (theClass package classes occurrencesOf: theClass) equals: 1.\x0a\x09self assert: theClass package equals: ObjectMock package",
referencedClasses: ["ObjectMock"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["addTraitNamed:package:", "assert:equals:", "name", "occurrencesOf:", "classes", "package"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $3,$2,$1,$4;
$self.theClass=$recv($self.builder)._addTraitNamed_package_("ObjectMock2","Kernel-Tests");
$self._assert_equals_($recv($self.theClass)._name(),"ObjectMock2");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=1;
//>>excludeEnd("ctx");
$3=$recv($self.theClass)._package();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["package"]=1;
//>>excludeEnd("ctx");
$2=$recv($3)._classes();
$1=$recv($2)._occurrencesOf_($self.theClass);
$self._assert_equals_($1,(1));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=2;
//>>excludeEnd("ctx");
$4=$recv($self.theClass)._package();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["package"]=2;
//>>excludeEnd("ctx");
$self._assert_equals_($4,$recv($globals.ObjectMock)._package());
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testAddTrait",{})});
//>>excludeEnd("ctx");
}; }),
$globals.ClassBuilderTest);
$core.addMethod(
$core.method({
selector: "testClassCopy",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testClassCopy\x0a\x09theClass := builder copyClass: ObjectMock named: 'ObjectMock2'.\x0a\x09self assert: theClass name equals: 'ObjectMock2'.\x0a\x09self assert: theClass isClassCopyOf: ObjectMock",
referencedClasses: ["ObjectMock"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["copyClass:named:", "assert:equals:", "name", "assert:isClassCopyOf:"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
$self.theClass=$recv($self.builder)._copyClass_named_($globals.ObjectMock,"ObjectMock2");
$self._assert_equals_($recv($self.theClass)._name(),"ObjectMock2");
$self._assert_isClassCopyOf_($self.theClass,$globals.ObjectMock);
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testClassCopy",{})});
//>>excludeEnd("ctx");
}; }),
$globals.ClassBuilderTest);
$core.addMethod(
$core.method({
selector: "testClassMigration",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testClassMigration\x0a\x09| instance oldClass |\x0a\x09\x0a\x09oldClass := builder copyClass: ObjectMock named: 'ObjectMock2'.\x0a\x09instance := (Smalltalk globals at: 'ObjectMock2') new.\x0a\x09\x0a\x09\x22Change the superclass of ObjectMock2\x22\x0a\x09theClass := ObjectMock subclass: #ObjectMock2\x0a\x09\x09instanceVariableNames: ''\x0a\x09\x09package: 'Kernel-Tests'.\x0a\x09\x0a\x09self deny: oldClass == ObjectMock2.\x0a\x09\x0a\x09self assert: ObjectMock2 superclass == ObjectMock.\x0a\x09self assert: ObjectMock2 instanceVariableNames isEmpty.\x0a\x09self assert: ObjectMock2 selectors equals: oldClass selectors.\x0a\x09self assert: ObjectMock2 comment equals: oldClass comment.\x0a\x09self assert: ObjectMock2 package name equals: 'Kernel-Tests'.\x0a\x09self assert: (ObjectMock2 package classes includes: ObjectMock2).\x0a\x09\x0a\x09self deny: instance class == ObjectMock2.\x0a\x09\x0a\x09self assert: (Smalltalk globals at: instance class name) isNil",
referencedClasses: ["ObjectMock", "Smalltalk", "ObjectMock2"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["copyClass:named:", "new", "at:", "globals", "subclass:instanceVariableNames:package:", "deny:", "==", "assert:", "superclass", "isEmpty", "instanceVariableNames", "assert:equals:", "selectors", "comment", "name", "package", "includes:", "classes", "class", "isNil"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
var instance,oldClass;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $2,$1,$3,$4,$5,$6,$8,$7,$10,$9;
oldClass=$recv($self.builder)._copyClass_named_($globals.ObjectMock,"ObjectMock2");
$2=$recv($globals.Smalltalk)._globals();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["globals"]=1;
//>>excludeEnd("ctx");
$1=$recv($2)._at_("ObjectMock2");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["at:"]=1;
//>>excludeEnd("ctx");
instance=$recv($1)._new();
$self.theClass=$recv($globals.ObjectMock)._subclass_instanceVariableNames_package_("ObjectMock2","","Kernel-Tests");
$3=$recv(oldClass).__eq_eq($globals.ObjectMock2);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["=="]=1;
//>>excludeEnd("ctx");
$self._deny_($3);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["deny:"]=1;
//>>excludeEnd("ctx");
$4=$recv($recv($globals.ObjectMock2)._superclass()).__eq_eq($globals.ObjectMock);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["=="]=2;
//>>excludeEnd("ctx");
$self._assert_($4);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:"]=1;
//>>excludeEnd("ctx");
$self._assert_($recv($recv($globals.ObjectMock2)._instanceVariableNames())._isEmpty());
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:"]=2;
//>>excludeEnd("ctx");
$5=$recv($globals.ObjectMock2)._selectors();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["selectors"]=1;
//>>excludeEnd("ctx");
$self._assert_equals_($5,$recv(oldClass)._selectors());
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=1;
//>>excludeEnd("ctx");
$6=$recv($globals.ObjectMock2)._comment();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["comment"]=1;
//>>excludeEnd("ctx");
$self._assert_equals_($6,$recv(oldClass)._comment());
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=2;
//>>excludeEnd("ctx");
$8=$recv($globals.ObjectMock2)._package();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["package"]=1;
//>>excludeEnd("ctx");
$7=$recv($8)._name();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["name"]=1;
//>>excludeEnd("ctx");
$self._assert_equals_($7,"Kernel-Tests");
$self._assert_($recv($recv($recv($globals.ObjectMock2)._package())._classes())._includes_($globals.ObjectMock2));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:"]=3;
//>>excludeEnd("ctx");
$10=$recv(instance)._class();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["class"]=1;
//>>excludeEnd("ctx");
$9=$recv($10).__eq_eq($globals.ObjectMock2);
$self._deny_($9);
$self._assert_($recv($recv($recv($globals.Smalltalk)._globals())._at_($recv($recv(instance)._class())._name()))._isNil());
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testClassMigration",{instance:instance,oldClass:oldClass})});
//>>excludeEnd("ctx");
}; }),
$globals.ClassBuilderTest);
$core.addMethod(
$core.method({
selector: "testClassMigrationWithClassInstanceVariables",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testClassMigrationWithClassInstanceVariables\x0a\x09\x0a\x09builder copyClass: ObjectMock named: 'ObjectMock2'.\x0a\x09ObjectMock2 class instanceVariableNames: ' foo bar '.\x0a\x09\x0a\x09\x22Change the superclass of ObjectMock2\x22\x0a\x09theClass := ObjectMock subclass: #ObjectMock2\x0a\x09\x09instanceVariableNames: ''\x0a\x09\x09package: 'Kernel-Tests'.\x0a\x09\x0a\x09self assert: ObjectMock2 class instanceVariableNames equals: #('foo' 'bar')",
referencedClasses: ["ObjectMock", "ObjectMock2"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["copyClass:named:", "instanceVariableNames:", "class", "subclass:instanceVariableNames:package:", "assert:equals:", "instanceVariableNames"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $1;
$recv($self.builder)._copyClass_named_($globals.ObjectMock,"ObjectMock2");
$1=$recv($globals.ObjectMock2)._class();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["class"]=1;
//>>excludeEnd("ctx");
$recv($1)._instanceVariableNames_(" foo bar ");
$self.theClass=$recv($globals.ObjectMock)._subclass_instanceVariableNames_package_("ObjectMock2","","Kernel-Tests");
$self._assert_equals_($recv($recv($globals.ObjectMock2)._class())._instanceVariableNames(),["foo", "bar"]);
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testClassMigrationWithClassInstanceVariables",{})});
//>>excludeEnd("ctx");
}; }),
$globals.ClassBuilderTest);
$core.addMethod(
$core.method({
selector: "testClassMigrationWithSubclasses",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testClassMigrationWithSubclasses\x0a\x09\x0a\x09builder copyClass: ObjectMock named: 'ObjectMock2'.\x0a\x09ObjectMock2 subclass: 'ObjectMock3' instanceVariableNames: '' package: 'Kernel-Tests'.\x0a\x09ObjectMock3 subclass: 'ObjectMock4' instanceVariableNames: '' package: 'Kernel-Tests'.\x0a\x09\x0a\x09\x22Change the superclass of ObjectMock2\x22\x0a\x09theClass := ObjectMock subclass: #ObjectMock2\x0a\x09\x09instanceVariableNames: ''\x0a\x09\x09package: 'Kernel-Tests'.\x0a\x09\x0a\x09self assert: ObjectMock subclasses equals: {ObjectMock2}.\x0a\x09self assert: ObjectMock2 subclasses equals: {ObjectMock3}.\x0a\x09self assert: ObjectMock3 subclasses equals: {ObjectMock4}",
referencedClasses: ["ObjectMock", "ObjectMock2", "ObjectMock3", "ObjectMock4"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["copyClass:named:", "subclass:instanceVariableNames:package:", "assert:equals:", "subclasses"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $1,$2;
$recv($self.builder)._copyClass_named_($globals.ObjectMock,"ObjectMock2");
$recv($globals.ObjectMock2)._subclass_instanceVariableNames_package_("ObjectMock3","","Kernel-Tests");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["subclass:instanceVariableNames:package:"]=1;
//>>excludeEnd("ctx");
$recv($globals.ObjectMock3)._subclass_instanceVariableNames_package_("ObjectMock4","","Kernel-Tests");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["subclass:instanceVariableNames:package:"]=2;
//>>excludeEnd("ctx");
$self.theClass=$recv($globals.ObjectMock)._subclass_instanceVariableNames_package_("ObjectMock2","","Kernel-Tests");
$1=$recv($globals.ObjectMock)._subclasses();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["subclasses"]=1;
//>>excludeEnd("ctx");
$self._assert_equals_($1,[$globals.ObjectMock2]);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=1;
//>>excludeEnd("ctx");
$2=$recv($globals.ObjectMock2)._subclasses();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["subclasses"]=2;
//>>excludeEnd("ctx");
$self._assert_equals_($2,[$globals.ObjectMock3]);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=2;
//>>excludeEnd("ctx");
$self._assert_equals_($recv($globals.ObjectMock3)._subclasses(),[$globals.ObjectMock4]);
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testClassMigrationWithSubclasses",{})});
//>>excludeEnd("ctx");
}; }),
$globals.ClassBuilderTest);
$core.addMethod(
$core.method({
selector: "testSubclass",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testSubclass\x0a\x09theClass := builder addSubclassOf: ObjectMock named: 'ObjectMock2' instanceVariableNames: #(foo bar) package: 'Kernel-Tests'.\x0a\x09self assert: theClass superclass equals: ObjectMock.\x0a\x09self assert: theClass instanceVariableNames equals: #(foo bar).\x0a\x09self assert: theClass name equals: 'ObjectMock2'.\x0a\x09self assert: (theClass package classes occurrencesOf: theClass) equals: 1.\x0a\x09self assert: theClass package equals: ObjectMock package.\x0a\x09self assert: theClass methodDictionary keys size equals: 0",
referencedClasses: ["ObjectMock"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["addSubclassOf:named:instanceVariableNames:package:", "assert:equals:", "superclass", "instanceVariableNames", "name", "occurrencesOf:", "classes", "package", "size", "keys", "methodDictionary"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $3,$2,$1,$4;
$self.theClass=$recv($self.builder)._addSubclassOf_named_instanceVariableNames_package_($globals.ObjectMock,"ObjectMock2",["foo", "bar"],"Kernel-Tests");
$self._assert_equals_($recv($self.theClass)._superclass(),$globals.ObjectMock);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=1;
//>>excludeEnd("ctx");
$self._assert_equals_($recv($self.theClass)._instanceVariableNames(),["foo", "bar"]);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=2;
//>>excludeEnd("ctx");
$self._assert_equals_($recv($self.theClass)._name(),"ObjectMock2");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=3;
//>>excludeEnd("ctx");
$3=$recv($self.theClass)._package();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["package"]=1;
//>>excludeEnd("ctx");
$2=$recv($3)._classes();
$1=$recv($2)._occurrencesOf_($self.theClass);
$self._assert_equals_($1,(1));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=4;
//>>excludeEnd("ctx");
$4=$recv($self.theClass)._package();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["package"]=2;
//>>excludeEnd("ctx");
$self._assert_equals_($4,$recv($globals.ObjectMock)._package());
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=5;
//>>excludeEnd("ctx");
$self._assert_equals_($recv($recv($recv($self.theClass)._methodDictionary())._keys())._size(),(0));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testSubclass",{})});
//>>excludeEnd("ctx");
}; }),
$globals.ClassBuilderTest);
$core.addMethod(
$core.method({
selector: "theClass",
protocol: "accessing",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "theClass\x0a\x09^ theClass",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: []
}, function ($methodClass){ return function (){
var self=this,$self=this;
return $self.theClass;
}; }),
$globals.ClassBuilderTest);
$core.addClass("ClassTest", $globals.TestCase, ["builder", "theClass"], "Kernel-Tests");
$core.addMethod(
$core.method({
selector: "augmentMethodInstantiationOf:withAttachments:",
protocol: "running",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: ["aMethod", "aHashedCollection"],
source: "augmentMethodInstantiationOf: aMethod withAttachments: aHashedCollection\x0a\x09| plain |\x0a\x09plain := aMethod instantiateFn.\x0a\x09aMethod instantiateFn: [ :arg |\x0a\x09\x09(plain value: arg)\x0a\x09\x09\x09basicAt: 'a$atx' put: aHashedCollection;\x0a\x09\x09\x09yourself ]",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["instantiateFn", "instantiateFn:", "basicAt:put:", "value:", "yourself"]
}, function ($methodClass){ return function (aMethod,aHashedCollection){
var self=this,$self=this;
var plain;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $1;
plain=$recv(aMethod)._instantiateFn();
$recv(aMethod)._instantiateFn_((function(arg){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
$1=$recv(plain)._value_(arg);
$recv($1)._basicAt_put_("a$atx",aHashedCollection);
return $recv($1)._yourself();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({arg:arg},$ctx1,1)});
//>>excludeEnd("ctx");
}));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"augmentMethodInstantiationOf:withAttachments:",{aMethod:aMethod,aHashedCollection:aHashedCollection,plain:plain})});
//>>excludeEnd("ctx");
}; }),
$globals.ClassTest);
$core.addMethod(
$core.method({
selector: "jsConstructor",
protocol: "running",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "jsConstructor\x0a\x09<inlineJS: '\x0a\x09\x09function Foo(){}\x0a\x09\x09Foo.prototype.valueOf = function () {return 4;};\x0a\x09\x09return Foo;\x0a\x09'>",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [["inlineJS:", ["\x0a\x09\x09function Foo(){}\x0a\x09\x09Foo.prototype.valueOf = function () {return 4;};\x0a\x09\x09return Foo;\x0a\x09"]]],
messageSends: []
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
function Foo(){}
Foo.prototype.valueOf = function () {return 4;};
return Foo;
;
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"jsConstructor",{})});
//>>excludeEnd("ctx");
}; }),
$globals.ClassTest);
$core.addMethod(
$core.method({
selector: "jsConstructorWithAction",
protocol: "running",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "jsConstructorWithAction\x0a\x09<inlineJS: '\x0a\x09\x09function Foo(aFoo){this.foo = aFoo;}\x0a\x09\x09return Foo;\x0a\x09'>",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [["inlineJS:", ["\x0a\x09\x09function Foo(aFoo){this.foo = aFoo;}\x0a\x09\x09return Foo;\x0a\x09"]]],
messageSends: []
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
function Foo(aFoo){this.foo = aFoo;}
return Foo;
;
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"jsConstructorWithAction",{})});
//>>excludeEnd("ctx");
}; }),
$globals.ClassTest);
$core.addMethod(
$core.method({
selector: "setUp",
protocol: "running",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "setUp\x0a\x09builder := ClassBuilder new",
referencedClasses: ["ClassBuilder"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["new"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
$self.builder=$recv($globals.ClassBuilder)._new();
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"setUp",{})});
//>>excludeEnd("ctx");
}; }),
$globals.ClassTest);
$core.addMethod(
$core.method({
selector: "testAllSubclasses",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testAllSubclasses\x0a\x09| subclasses index |\x0a\x0a\x09subclasses := Object subclasses.\x0a\x09index := 1.\x0a\x09[ index > subclasses size ]\x0a\x09\x09whileFalse: [ subclasses addAll: (subclasses at: index) subclasses.\x0a\x09\x09\x09index := index + 1 ].\x0a\x0a\x09self assert: Object allSubclasses equals: subclasses",
referencedClasses: ["Object"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["subclasses", "whileFalse:", ">", "size", "addAll:", "at:", "+", "assert:equals:", "allSubclasses"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
var subclasses,index;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
subclasses=$recv($globals.Object)._subclasses();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["subclasses"]=1;
//>>excludeEnd("ctx");
index=(1);
$recv((function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return $recv(index).__gt($recv(subclasses)._size());
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({},$ctx1,1)});
//>>excludeEnd("ctx");
}))._whileFalse_((function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
$recv(subclasses)._addAll_($recv($recv(subclasses)._at_(index))._subclasses());
index=$recv(index).__plus((1));
return index;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({},$ctx1,2)});
//>>excludeEnd("ctx");
}));
$self._assert_equals_($recv($globals.Object)._allSubclasses(),subclasses);
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testAllSubclasses",{subclasses:subclasses,index:index})});
//>>excludeEnd("ctx");
}; }),
$globals.ClassTest);
$core.addMethod(
$core.method({
selector: "testAlternateConstructorViaSelector",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testAlternateConstructorViaSelector\x0a\x09| instance block |\x0a\x09block := ObjectMock alternateConstructorViaSelector: #foo:.\x0a\x0a\x09instance := block newValue: 4.\x0a\x09self assert: instance class == ObjectMock.\x0a\x09self assert: instance foo equals: 4.\x0a\x09self shouldnt: [ instance foo: 9 ] raise: Error.\x0a\x09self assert: instance foo equals: 9",
referencedClasses: ["ObjectMock", "Error"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["alternateConstructorViaSelector:", "newValue:", "assert:", "==", "class", "assert:equals:", "foo", "shouldnt:raise:", "foo:"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
var instance,block;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $1;
block=$recv($globals.ObjectMock)._alternateConstructorViaSelector_("foo:");
instance=$recv(block)._newValue_((4));
$self._assert_($recv($recv(instance)._class()).__eq_eq($globals.ObjectMock));
$1=$recv(instance)._foo();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["foo"]=1;
//>>excludeEnd("ctx");
$self._assert_equals_($1,(4));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=1;
//>>excludeEnd("ctx");
$self._shouldnt_raise_((function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return $recv(instance)._foo_((9));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({},$ctx1,1)});
//>>excludeEnd("ctx");
}),$globals.Error);
$self._assert_equals_($recv(instance)._foo(),(9));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testAlternateConstructorViaSelector",{instance:instance,block:block})});
//>>excludeEnd("ctx");
}; }),
$globals.ClassTest);
$core.addMethod(
$core.method({
selector: "testApplySuperConstructor",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testApplySuperConstructor\x0a\x09| instance constructor |\x0a\x09theClass := builder copyClass: ObjectMock named: 'ObjectMock2'.\x0a\x09constructor := self jsConstructorWithAction.\x0a\x09theClass beJavaScriptSubclassOf: constructor.\x0a\x09Compiler new\x0a\x09\x09install: 'bar: anObject\x0a\x09\x09\x09ObjectMock2\x0a\x09\x09\x09\x09applySuperConstructorOn: self\x0a\x09\x09\x09\x09withArguments: {anObject}'\x0a\x09\x09forClass: theClass\x0a\x09\x09protocol: 'tests'.\x0a\x09\x22testing specific to late-coupled detached root class\x22\x0a\x09instance := (theClass alternateConstructorViaSelector: #bar:) newValue: 7.\x0a\x09self assert: instance class == theClass.\x0a\x09self assert: instance isJavaScriptInstanceOf: constructor.\x0a\x09self assert: instance foo equals: 7",
referencedClasses: ["ObjectMock", "Compiler"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["copyClass:named:", "jsConstructorWithAction", "beJavaScriptSubclassOf:", "install:forClass:protocol:", "new", "newValue:", "alternateConstructorViaSelector:", "assert:", "==", "class", "assert:isJavaScriptInstanceOf:", "assert:equals:", "foo"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
var instance,constructor;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
$self.theClass=$recv($self.builder)._copyClass_named_($globals.ObjectMock,"ObjectMock2");
constructor=$self._jsConstructorWithAction();
$recv($self.theClass)._beJavaScriptSubclassOf_(constructor);
$recv($recv($globals.Compiler)._new())._install_forClass_protocol_("bar: anObject\x0a\x09\x09\x09ObjectMock2\x0a\x09\x09\x09\x09applySuperConstructorOn: self\x0a\x09\x09\x09\x09withArguments: {anObject}",$self.theClass,"tests");
instance=$recv($recv($self.theClass)._alternateConstructorViaSelector_("bar:"))._newValue_((7));
$self._assert_($recv($recv(instance)._class()).__eq_eq($self.theClass));
$self._assert_isJavaScriptInstanceOf_(instance,constructor);
$self._assert_equals_($recv(instance)._foo(),(7));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testApplySuperConstructor",{instance:instance,constructor:constructor})});
//>>excludeEnd("ctx");
}; }),
$globals.ClassTest);
$core.addMethod(
$core.method({
selector: "testBeJavaScriptSubclassOf",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testBeJavaScriptSubclassOf\x0a\x09| instance constructor |\x0a\x09theClass := builder copyClass: ObjectMock named: 'ObjectMock2'.\x0a\x09constructor := self jsConstructor.\x0a\x09theClass beJavaScriptSubclassOf: constructor.\x0a\x09self assert: theClass name equals: 'ObjectMock2'.\x0a\x09self assert: theClass isClassCopyOf: ObjectMock.\x0a\x09\x22testing specific to late-coupled detached root class\x22\x0a\x09instance := theClass new.\x0a\x09self assert: instance class == theClass.\x0a\x09self assert: instance isJavaScriptInstanceOf: constructor.\x0a\x09self assert: instance value equals: 4.\x0a\x09self shouldnt: [ instance foo: 9 ] raise: Error.\x0a\x09self assert: instance foo equals: 9",
referencedClasses: ["ObjectMock", "Error"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["copyClass:named:", "jsConstructor", "beJavaScriptSubclassOf:", "assert:equals:", "name", "assert:isClassCopyOf:", "new", "assert:", "==", "class", "assert:isJavaScriptInstanceOf:", "value", "shouldnt:raise:", "foo:", "foo"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
var instance,constructor;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
$self.theClass=$recv($self.builder)._copyClass_named_($globals.ObjectMock,"ObjectMock2");
constructor=$self._jsConstructor();
$recv($self.theClass)._beJavaScriptSubclassOf_(constructor);
$self._assert_equals_($recv($self.theClass)._name(),"ObjectMock2");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=1;
//>>excludeEnd("ctx");
$self._assert_isClassCopyOf_($self.theClass,$globals.ObjectMock);
instance=$recv($self.theClass)._new();
$self._assert_($recv($recv(instance)._class()).__eq_eq($self.theClass));
$self._assert_isJavaScriptInstanceOf_(instance,constructor);
$self._assert_equals_($recv(instance)._value(),(4));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=2;
//>>excludeEnd("ctx");
$self._shouldnt_raise_((function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return $recv(instance)._foo_((9));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({},$ctx1,1)});
//>>excludeEnd("ctx");
}),$globals.Error);
$self._assert_equals_($recv(instance)._foo(),(9));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testBeJavaScriptSubclassOf",{instance:instance,constructor:constructor})});
//>>excludeEnd("ctx");
}; }),
$globals.ClassTest);
$core.addMethod(
$core.method({
selector: "testMetaclassSubclasses",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testMetaclassSubclasses\x0a\x09| subclasses |\x0a\x0a\x09subclasses := (Object class instanceClass subclasses \x0a\x09\x09select: [ :each | each isMetaclass not ])\x0a\x09\x09collect: [ :each | each theMetaClass ].\x0a\x0a\x09self assert: Object class subclasses equals: subclasses",
referencedClasses: ["Object"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["collect:", "select:", "subclasses", "instanceClass", "class", "not", "isMetaclass", "theMetaClass", "assert:equals:"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
var subclasses;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $4,$3,$2,$1;
$4=$recv($globals.Object)._class();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["class"]=1;
//>>excludeEnd("ctx");
$3=$recv($4)._instanceClass();
$2=$recv($3)._subclasses();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["subclasses"]=1;
//>>excludeEnd("ctx");
$1=$recv($2)._select_((function(each){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return $recv($recv(each)._isMetaclass())._not();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({each:each},$ctx1,1)});
//>>excludeEnd("ctx");
}));
subclasses=$recv($1)._collect_((function(each){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return $recv(each)._theMetaClass();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({each:each},$ctx1,2)});
//>>excludeEnd("ctx");
}));
$self._assert_equals_($recv($recv($globals.Object)._class())._subclasses(),subclasses);
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testMetaclassSubclasses",{subclasses:subclasses})});
//>>excludeEnd("ctx");
}; }),
$globals.ClassTest);
$core.addMethod(
$core.method({
selector: "testMethodAttachmentsAreAdded",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testMethodAttachmentsAreAdded\x0a\x09| instance theMethod anObject |\x0a\x09theClass := builder copyClass: ObjectMock named: 'ObjectMock2'.\x0a\x09anObject := #{#foo -> 'oof'}.\x0a\x09theMethod := Compiler new\x0a\x09\x09compile: 'bar' forClass: ObjectMock2 protocol: '**test'.\x0a\x09self\x0a\x09\x09augmentMethodInstantiationOf: theMethod\x0a\x09\x09withAttachments: #{#a -> 42. #b -> anObject}.\x0a\x09ObjectMock2 addCompiledMethod: theMethod.\x0a\x09self assert: (ObjectMock2 new basicAt: #a) equals: 42.\x0a\x09self assert: (ObjectMock2 new basicAt: #b) equals: anObject",
referencedClasses: ["ObjectMock", "Compiler", "ObjectMock2"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["copyClass:named:", "compile:forClass:protocol:", "new", "augmentMethodInstantiationOf:withAttachments:", "addCompiledMethod:", "assert:equals:", "basicAt:"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
var instance,theMethod,anObject;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $1,$3,$2;
$self.theClass=$recv($self.builder)._copyClass_named_($globals.ObjectMock,"ObjectMock2");
anObject=$globals.HashedCollection._newFromPairs_(["foo","oof"]);
$1=$recv($globals.Compiler)._new();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["new"]=1;
//>>excludeEnd("ctx");
theMethod=$recv($1)._compile_forClass_protocol_("bar",$globals.ObjectMock2,"**test");
$self._augmentMethodInstantiationOf_withAttachments_(theMethod,$globals.HashedCollection._newFromPairs_(["a",(42),"b",anObject]));
$recv($globals.ObjectMock2)._addCompiledMethod_(theMethod);
$3=$recv($globals.ObjectMock2)._new();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["new"]=2;
//>>excludeEnd("ctx");
$2=$recv($3)._basicAt_("a");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["basicAt:"]=1;
//>>excludeEnd("ctx");
$self._assert_equals_($2,(42));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=1;
//>>excludeEnd("ctx");
$self._assert_equals_($recv($recv($globals.ObjectMock2)._new())._basicAt_("b"),anObject);
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testMethodAttachmentsAreAdded",{instance:instance,theMethod:theMethod,anObject:anObject})});
//>>excludeEnd("ctx");
}; }),
$globals.ClassTest);
$core.addMethod(
$core.method({
selector: "testMethodAttachmentsAreRemoved",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testMethodAttachmentsAreRemoved\x0a\x09| instance theMethod anObject |\x0a\x09theClass := builder copyClass: ObjectMock named: 'ObjectMock2'.\x0a\x09anObject := #{#foo -> 'oof'}.\x0a\x09theMethod := Compiler new\x0a\x09\x09compile: 'bar' forClass: ObjectMock2 protocol: '**test'.\x0a\x09self\x0a\x09\x09augmentMethodInstantiationOf: theMethod\x0a\x09\x09withAttachments: #{#a -> 42. #b -> anObject}.\x0a\x09ObjectMock2 addCompiledMethod: theMethod.\x0a\x09theMethod := Compiler new\x0a\x09\x09compile: 'bar' forClass: ObjectMock2 protocol: '**test'.\x0a\x09ObjectMock2 addCompiledMethod: theMethod.\x0a\x09self assert: (ObjectMock2 new basicAt: #a) equals: nil.\x0a\x09self assert: (ObjectMock2 new basicAt: #b) equals: nil",
referencedClasses: ["ObjectMock", "Compiler", "ObjectMock2"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["copyClass:named:", "compile:forClass:protocol:", "new", "augmentMethodInstantiationOf:withAttachments:", "addCompiledMethod:", "assert:equals:", "basicAt:"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
var instance,theMethod,anObject;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $1,$2,$4,$3;
$self.theClass=$recv($self.builder)._copyClass_named_($globals.ObjectMock,"ObjectMock2");
anObject=$globals.HashedCollection._newFromPairs_(["foo","oof"]);
$1=$recv($globals.Compiler)._new();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["new"]=1;
//>>excludeEnd("ctx");
theMethod=$recv($1)._compile_forClass_protocol_("bar",$globals.ObjectMock2,"**test");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["compile:forClass:protocol:"]=1;
//>>excludeEnd("ctx");
$self._augmentMethodInstantiationOf_withAttachments_(theMethod,$globals.HashedCollection._newFromPairs_(["a",(42),"b",anObject]));
$recv($globals.ObjectMock2)._addCompiledMethod_(theMethod);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["addCompiledMethod:"]=1;
//>>excludeEnd("ctx");
$2=$recv($globals.Compiler)._new();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["new"]=2;
//>>excludeEnd("ctx");
theMethod=$recv($2)._compile_forClass_protocol_("bar",$globals.ObjectMock2,"**test");
$recv($globals.ObjectMock2)._addCompiledMethod_(theMethod);
$4=$recv($globals.ObjectMock2)._new();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["new"]=3;
//>>excludeEnd("ctx");
$3=$recv($4)._basicAt_("a");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["basicAt:"]=1;
//>>excludeEnd("ctx");
$self._assert_equals_($3,nil);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=1;
//>>excludeEnd("ctx");
$self._assert_equals_($recv($recv($globals.ObjectMock2)._new())._basicAt_("b"),nil);
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testMethodAttachmentsAreRemoved",{instance:instance,theMethod:theMethod,anObject:anObject})});
//>>excludeEnd("ctx");
}; }),
$globals.ClassTest);
$core.addMethod(
$core.method({
selector: "testMethodAttachmentsAreReplaced",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testMethodAttachmentsAreReplaced\x0a\x09| instance theMethod anObject |\x0a\x09theClass := builder copyClass: ObjectMock named: 'ObjectMock2'.\x0a\x09anObject := #{#foo -> 'oof'}.\x0a\x09theMethod := Compiler new\x0a\x09\x09compile: 'bar' forClass: ObjectMock2 protocol: '**test'.\x0a\x09self\x0a\x09\x09augmentMethodInstantiationOf: theMethod\x0a\x09\x09withAttachments: #{#a -> 42. #b -> anObject}.\x0a\x09ObjectMock2 addCompiledMethod: theMethod.\x0a\x09theMethod := Compiler new\x0a\x09\x09compile: 'bar' forClass: ObjectMock2 protocol: '**test'.\x0a\x09self\x0a\x09\x09augmentMethodInstantiationOf: theMethod\x0a\x09\x09withAttachments: #{#a -> 6. #c -> [^9]}.\x0a\x09ObjectMock2 addCompiledMethod: theMethod.\x0a\x09self assert: (ObjectMock2 new basicAt: #a) equals: 6.\x0a\x09self assert: (ObjectMock2 new basicAt: #b) equals: nil.\x0a\x09self assert: (ObjectMock2 new basicPerform: #c) equals: 9",
referencedClasses: ["ObjectMock", "Compiler", "ObjectMock2"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["copyClass:named:", "compile:forClass:protocol:", "new", "augmentMethodInstantiationOf:withAttachments:", "addCompiledMethod:", "assert:equals:", "basicAt:", "basicPerform:"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
var instance,theMethod,anObject;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $1,$2,$4,$3,$6,$5;
var $early={};
try {
$self.theClass=$recv($self.builder)._copyClass_named_($globals.ObjectMock,"ObjectMock2");
anObject=$globals.HashedCollection._newFromPairs_(["foo","oof"]);
$1=$recv($globals.Compiler)._new();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["new"]=1;
//>>excludeEnd("ctx");
theMethod=$recv($1)._compile_forClass_protocol_("bar",$globals.ObjectMock2,"**test");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["compile:forClass:protocol:"]=1;
//>>excludeEnd("ctx");
$self._augmentMethodInstantiationOf_withAttachments_(theMethod,$globals.HashedCollection._newFromPairs_(["a",(42),"b",anObject]));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["augmentMethodInstantiationOf:withAttachments:"]=1;
//>>excludeEnd("ctx");
$recv($globals.ObjectMock2)._addCompiledMethod_(theMethod);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["addCompiledMethod:"]=1;
//>>excludeEnd("ctx");
$2=$recv($globals.Compiler)._new();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["new"]=2;
//>>excludeEnd("ctx");
theMethod=$recv($2)._compile_forClass_protocol_("bar",$globals.ObjectMock2,"**test");
$self._augmentMethodInstantiationOf_withAttachments_(theMethod,$globals.HashedCollection._newFromPairs_(["a",(6),"c",(function(){
throw $early=[(9)];
})]));
$recv($globals.ObjectMock2)._addCompiledMethod_(theMethod);
$4=$recv($globals.ObjectMock2)._new();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["new"]=3;
//>>excludeEnd("ctx");
$3=$recv($4)._basicAt_("a");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["basicAt:"]=1;
//>>excludeEnd("ctx");
$self._assert_equals_($3,(6));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=1;
//>>excludeEnd("ctx");
$6=$recv($globals.ObjectMock2)._new();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["new"]=4;
//>>excludeEnd("ctx");
$5=$recv($6)._basicAt_("b");
$self._assert_equals_($5,nil);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=2;
//>>excludeEnd("ctx");
$self._assert_equals_($recv($recv($globals.ObjectMock2)._new())._basicPerform_("c"),(9));
return self;
}
catch(e) {if(e===$early)return e[0]; throw e}
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testMethodAttachmentsAreReplaced",{instance:instance,theMethod:theMethod,anObject:anObject})});
//>>excludeEnd("ctx");
}; }),
$globals.ClassTest);
$core.addMethod(
$core.method({
selector: "testSetJavaScriptConstructor",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testSetJavaScriptConstructor\x0a\x09| instance |\x0a\x09theClass := builder copyClass: ObjectMock named: 'ObjectMock2'.\x0a\x09theClass javaScriptConstructor: self jsConstructor.\x0a\x09self assert: theClass name equals: 'ObjectMock2'.\x0a\x09self assert: theClass isClassCopyOf: ObjectMock.\x0a\x09\x22testing specific to late-coupled detached root class\x22\x0a\x09instance := theClass new.\x0a\x09self assert: instance class == theClass.\x0a\x09self assert: instance value equals: 4.\x0a\x09self shouldnt: [ instance foo: 9 ] raise: Error.\x0a\x09self assert: instance foo equals: 9",
referencedClasses: ["ObjectMock", "Error"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["copyClass:named:", "javaScriptConstructor:", "jsConstructor", "assert:equals:", "name", "assert:isClassCopyOf:", "new", "assert:", "==", "class", "value", "shouldnt:raise:", "foo:", "foo"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
var instance;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
$self.theClass=$recv($self.builder)._copyClass_named_($globals.ObjectMock,"ObjectMock2");
$recv($self.theClass)._javaScriptConstructor_($self._jsConstructor());
$self._assert_equals_($recv($self.theClass)._name(),"ObjectMock2");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=1;
//>>excludeEnd("ctx");
$self._assert_isClassCopyOf_($self.theClass,$globals.ObjectMock);
instance=$recv($self.theClass)._new();
$self._assert_($recv($recv(instance)._class()).__eq_eq($self.theClass));
$self._assert_equals_($recv(instance)._value(),(4));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=2;
//>>excludeEnd("ctx");
$self._shouldnt_raise_((function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return $recv(instance)._foo_((9));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({},$ctx1,1)});
//>>excludeEnd("ctx");
}),$globals.Error);
$self._assert_equals_($recv(instance)._foo(),(9));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testSetJavaScriptConstructor",{instance:instance})});
//>>excludeEnd("ctx");
}; }),
$globals.ClassTest);
$core.addMethod(
$core.method({
selector: "testTrickySetJavaScriptConstructor",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testTrickySetJavaScriptConstructor\x0a\x09| instance |\x0a\x09theClass := builder copyClass: ObjectMock named: 'ObjectMock2'.\x0a\x09theClass javaScriptConstructor: self trickyJsConstructor.\x0a\x09self assert: theClass name equals: 'ObjectMock2'.\x0a\x09self assert: theClass isClassCopyOf: ObjectMock.\x0a\x09\x22testing specific to late-coupled detached root class\x22\x0a\x09instance := theClass new.\x0a\x09self assert: instance class == theClass.\x0a\x09self assert: instance value equals: 4.\x0a\x09self shouldnt: [ instance foo: 9 ] raise: Error.\x0a\x09self assert: instance foo equals: 9",
referencedClasses: ["ObjectMock", "Error"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["copyClass:named:", "javaScriptConstructor:", "trickyJsConstructor", "assert:equals:", "name", "assert:isClassCopyOf:", "new", "assert:", "==", "class", "value", "shouldnt:raise:", "foo:", "foo"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
var instance;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
$self.theClass=$recv($self.builder)._copyClass_named_($globals.ObjectMock,"ObjectMock2");
$recv($self.theClass)._javaScriptConstructor_($self._trickyJsConstructor());
$self._assert_equals_($recv($self.theClass)._name(),"ObjectMock2");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=1;
//>>excludeEnd("ctx");
$self._assert_isClassCopyOf_($self.theClass,$globals.ObjectMock);
instance=$recv($self.theClass)._new();
$self._assert_($recv($recv(instance)._class()).__eq_eq($self.theClass));
$self._assert_equals_($recv(instance)._value(),(4));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=2;
//>>excludeEnd("ctx");
$self._shouldnt_raise_((function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return $recv(instance)._foo_((9));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({},$ctx1,1)});
//>>excludeEnd("ctx");
}),$globals.Error);
$self._assert_equals_($recv(instance)._foo(),(9));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testTrickySetJavaScriptConstructor",{instance:instance})});
//>>excludeEnd("ctx");
}; }),
$globals.ClassTest);
$core.addMethod(
$core.method({
selector: "theClass",
protocol: "accessing",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "theClass\x0a\x09^ theClass",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: []
}, function ($methodClass){ return function (){
var self=this,$self=this;
return $self.theClass;
}; }),
$globals.ClassTest);
$core.addMethod(
$core.method({
selector: "trickyJsConstructor",
protocol: "running",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "trickyJsConstructor\x0a\x09<inlineJS: '\x0a\x09\x09function Foo(){}\x0a\x09\x09Foo.prototype.valueOf = function () {return 4;};\x0a\x09\x09Foo.prototype._foo = function () {return \x22bar\x22;};\x0a\x09\x09return Foo;\x0a\x09'>",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [["inlineJS:", ["\x0a\x09\x09function Foo(){}\x0a\x09\x09Foo.prototype.valueOf = function () {return 4;};\x0a\x09\x09Foo.prototype._foo = function () {return \x22bar\x22;};\x0a\x09\x09return Foo;\x0a\x09"]]],
messageSends: []
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
function Foo(){}
Foo.prototype.valueOf = function () {return 4;};
Foo.prototype._foo = function () {return "bar";};
return Foo;
;
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"trickyJsConstructor",{})});
//>>excludeEnd("ctx");
}; }),
$globals.ClassTest);
$core.addClass("CollectionTest", $globals.TestCase, ["sampleBlock"], "Kernel-Tests");
$core.addMethod(
$core.method({
selector: "assertSameContents:as:",
protocol: "convenience",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: ["aCollection", "anotherCollection"],
source: "assertSameContents: aCollection as: anotherCollection\x0a\x09self assert: (aCollection size = anotherCollection size).\x0a\x09aCollection do: [ :each |\x0a\x09\x09self assert: ((aCollection occurrencesOf: each) = (anotherCollection occurrencesOf: each)) ]",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:", "=", "size", "do:", "occurrencesOf:"]
}, function ($methodClass){ return function (aCollection,anotherCollection){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $2,$1,$4,$3;
$2=$recv(aCollection)._size();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["size"]=1;
//>>excludeEnd("ctx");
$1=$recv($2).__eq($recv(anotherCollection)._size());
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["="]=1;
//>>excludeEnd("ctx");
$self._assert_($1);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:"]=1;
//>>excludeEnd("ctx");
$recv(aCollection)._do_((function(each){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
$4=$recv(aCollection)._occurrencesOf_(each);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx2.sendIdx["occurrencesOf:"]=1;
//>>excludeEnd("ctx");
$3=$recv($4).__eq($recv(anotherCollection)._occurrencesOf_(each));
return $self._assert_($3);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({each:each},$ctx1,1)});
//>>excludeEnd("ctx");
}));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"assertSameContents:as:",{aCollection:aCollection,anotherCollection:anotherCollection})});
//>>excludeEnd("ctx");
}; }),
$globals.CollectionTest);
$core.addMethod(
$core.method({
selector: "collection",
protocol: "fixture",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "collection\x0a\x09\x22Answers pre-filled collection of type tested.\x22\x0a\x0a\x09self subclassResponsibility",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["subclassResponsibility"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
$self._subclassResponsibility();
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"collection",{})});
//>>excludeEnd("ctx");
}; }),
$globals.CollectionTest);
$core.addMethod(
$core.method({
selector: "collectionClass",
protocol: "fixture",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "collectionClass\x0a\x09\x22Answers class of collection type tested\x22\x0a\x0a\x09^ self class collectionClass",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["collectionClass", "class"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
return $recv($self._class())._collectionClass();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"collectionClass",{})});
//>>excludeEnd("ctx");
}; }),
$globals.CollectionTest);
$core.addMethod(
$core.method({
selector: "collectionOfPrintStrings",
protocol: "fixture",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "collectionOfPrintStrings\x0a\x09\x22Answers self collection but with values\x0a\x09changed to their printStrings\x22\x0a\x0a\x09self subclassResponsibility",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["subclassResponsibility"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
$self._subclassResponsibility();
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"collectionOfPrintStrings",{})});
//>>excludeEnd("ctx");
}; }),
$globals.CollectionTest);
$core.addMethod(
$core.method({
selector: "collectionSize",
protocol: "fixture",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "collectionSize\x0a\x09\x22Answers size of self collection.\x22\x0a\x0a\x09self subclassResponsibility",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["subclassResponsibility"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
$self._subclassResponsibility();
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"collectionSize",{})});
//>>excludeEnd("ctx");
}; }),
$globals.CollectionTest);
$core.addMethod(
$core.method({
selector: "collectionWithDuplicates",
protocol: "fixture",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "collectionWithDuplicates\x0a\x09\x22Answers pre-filled collection of type tested,\x0a\x09with exactly six distinct elements,\x0a\x09some of them appearing multiple times, if possible.\x22\x0a\x0a\x09self subclassResponsibility",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["subclassResponsibility"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
$self._subclassResponsibility();
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"collectionWithDuplicates",{})});
//>>excludeEnd("ctx");
}; }),
$globals.CollectionTest);
$core.addMethod(
$core.method({
selector: "collectionWithNewValue",
protocol: "fixture",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "collectionWithNewValue\x0a\x09\x22Answers a collection which shows how\x0a\x09self collection would look after adding\x0a\x09self sampleNewValue\x22\x0a\x09\x0a\x09self subclassResponsibility",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["subclassResponsibility"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
$self._subclassResponsibility();
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"collectionWithNewValue",{})});
//>>excludeEnd("ctx");
}; }),
$globals.CollectionTest);
$core.addMethod(
$core.method({
selector: "initialize",
protocol: "initialization",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "initialize\x0a\x09super initialize.\x0a\x0a\x09sampleBlock := []",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["initialize"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
(
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.supercall = true,
//>>excludeEnd("ctx");
($methodClass.superclass||$boot.nilAsClass).fn.prototype._initialize.call($self));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.supercall = false;
//>>excludeEnd("ctx");;
$self.sampleBlock=(function(){
});
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"initialize",{})});
//>>excludeEnd("ctx");
}; }),
$globals.CollectionTest);
$core.addMethod(
$core.method({
selector: "sampleNewValue",
protocol: "fixture",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "sampleNewValue\x0a\x09\x22Answers a value that is not yet there\x0a\x09and can be put into a tested collection\x22\x0a\x09\x0a\x09^ 'N'",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: []
}, function ($methodClass){ return function (){
var self=this,$self=this;
return "N";
}; }),
$globals.CollectionTest);
$core.addMethod(
$core.method({
selector: "sampleNewValueAsCollection",
protocol: "fixture",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "sampleNewValueAsCollection\x0a\x09\x22Answers self sampleNewValue\x0a\x09wrapped in single element collection\x0a\x09of tested type\x22\x0a\x09\x0a\x09^ self collectionClass with: self sampleNewValue",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["with:", "collectionClass", "sampleNewValue"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
return $recv($self._collectionClass())._with_($self._sampleNewValue());
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"sampleNewValueAsCollection",{})});
//>>excludeEnd("ctx");
}; }),
$globals.CollectionTest);
$core.addMethod(
$core.method({
selector: "testAddAll",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testAddAll\x0a\x09self assert: (self collection addAll: self collectionClass new; yourself) equals: self collection.\x0a\x09self assert: (self collectionClass new addAll: self collection; yourself) equals: self collection.\x0a\x09self assert: (self collectionClass new addAll: self collectionClass new; yourself) equals: self collectionClass new.\x0a\x09self assert: (self collection addAll: self sampleNewValueAsCollection; yourself) equals: self collectionWithNewValue.\x0a\x09self assertSameContents: (self sampleNewValueAsCollection addAll: self collection; yourself) as: self collectionWithNewValue",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:equals:", "addAll:", "collection", "new", "collectionClass", "yourself", "sampleNewValueAsCollection", "collectionWithNewValue", "assertSameContents:as:"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $2,$4,$3,$5,$1,$6,$9,$8,$10,$11,$7,$12,$15,$14,$17,$16,$18,$13,$20,$21,$22,$19,$23,$25,$24;
$2=$self._collection();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collection"]=1;
//>>excludeEnd("ctx");
$4=$self._collectionClass();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collectionClass"]=1;
//>>excludeEnd("ctx");
$3=$recv($4)._new();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["new"]=1;
//>>excludeEnd("ctx");
$recv($2)._addAll_($3);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["addAll:"]=1;
//>>excludeEnd("ctx");
$5=$recv($2)._yourself();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["yourself"]=1;
//>>excludeEnd("ctx");
$1=$5;
$6=$self._collection();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collection"]=2;
//>>excludeEnd("ctx");
$self._assert_equals_($1,$6);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=1;
//>>excludeEnd("ctx");
$9=$self._collectionClass();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collectionClass"]=2;
//>>excludeEnd("ctx");
$8=$recv($9)._new();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["new"]=2;
//>>excludeEnd("ctx");
$10=$self._collection();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collection"]=3;
//>>excludeEnd("ctx");
$recv($8)._addAll_($10);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["addAll:"]=2;
//>>excludeEnd("ctx");
$11=$recv($8)._yourself();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["yourself"]=2;
//>>excludeEnd("ctx");
$7=$11;
$12=$self._collection();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collection"]=4;
//>>excludeEnd("ctx");
$self._assert_equals_($7,$12);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=2;
//>>excludeEnd("ctx");
$15=$self._collectionClass();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collectionClass"]=3;
//>>excludeEnd("ctx");
$14=$recv($15)._new();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["new"]=3;
//>>excludeEnd("ctx");
$17=$self._collectionClass();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collectionClass"]=4;
//>>excludeEnd("ctx");
$16=$recv($17)._new();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["new"]=4;
//>>excludeEnd("ctx");
$recv($14)._addAll_($16);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["addAll:"]=3;
//>>excludeEnd("ctx");
$18=$recv($14)._yourself();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["yourself"]=3;
//>>excludeEnd("ctx");
$13=$18;
$self._assert_equals_($13,$recv($self._collectionClass())._new());
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=3;
//>>excludeEnd("ctx");
$20=$self._collection();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collection"]=5;
//>>excludeEnd("ctx");
$21=$self._sampleNewValueAsCollection();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["sampleNewValueAsCollection"]=1;
//>>excludeEnd("ctx");
$recv($20)._addAll_($21);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["addAll:"]=4;
//>>excludeEnd("ctx");
$22=$recv($20)._yourself();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["yourself"]=4;
//>>excludeEnd("ctx");
$19=$22;
$23=$self._collectionWithNewValue();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collectionWithNewValue"]=1;
//>>excludeEnd("ctx");
$self._assert_equals_($19,$23);
$25=$self._sampleNewValueAsCollection();
$recv($25)._addAll_($self._collection());
$24=$recv($25)._yourself();
$self._assertSameContents_as_($24,$self._collectionWithNewValue());
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testAddAll",{})});
//>>excludeEnd("ctx");
}; }),
$globals.CollectionTest);
$core.addMethod(
$core.method({
selector: "testAllSatisfy",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testAllSatisfy\x0a\x09| collection anyOne |\x0a\x09collection := self collection.\x0a\x09anyOne := collection anyOne.\x0a\x09self assert: (collection allSatisfy: [ :each | collection includes: each ]).\x0a\x09self deny: (collection allSatisfy: [ :each | each ~= anyOne ])",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["collection", "anyOne", "assert:", "allSatisfy:", "includes:", "deny:", "~="]
}, function ($methodClass){ return function (){
var self=this,$self=this;
var collection,anyOne;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $1;
collection=$self._collection();
anyOne=$recv(collection)._anyOne();
$1=$recv(collection)._allSatisfy_((function(each){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return $recv(collection)._includes_(each);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({each:each},$ctx1,1)});
//>>excludeEnd("ctx");
}));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["allSatisfy:"]=1;
//>>excludeEnd("ctx");
$self._assert_($1);
$self._deny_($recv(collection)._allSatisfy_((function(each){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return $recv(each).__tild_eq(anyOne);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({each:each},$ctx1,2)});
//>>excludeEnd("ctx");
})));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testAllSatisfy",{collection:collection,anyOne:anyOne})});
//>>excludeEnd("ctx");
}; }),
$globals.CollectionTest);
$core.addMethod(
$core.method({
selector: "testAnyOne",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testAnyOne\x0a\x09self should: [ self collectionClass new anyOne ] raise: Error.\x0a\x09self assert: (self collection includes: self collection anyOne)",
referencedClasses: ["Error"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["should:raise:", "anyOne", "new", "collectionClass", "assert:", "includes:", "collection"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $2,$1;
$self._should_raise_((function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return $recv($recv($self._collectionClass())._new())._anyOne();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx2.sendIdx["anyOne"]=1;
//>>excludeEnd("ctx");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({},$ctx1,1)});
//>>excludeEnd("ctx");
}),$globals.Error);
$2=$self._collection();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collection"]=1;
//>>excludeEnd("ctx");
$1=$recv($2)._includes_($recv($self._collection())._anyOne());
$self._assert_($1);
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testAnyOne",{})});
//>>excludeEnd("ctx");
}; }),
$globals.CollectionTest);
$core.addMethod(
$core.method({
selector: "testAnySatisfy",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testAnySatisfy\x0a\x09| anyOne |\x0a\x09anyOne := self collection anyOne.\x0a\x09self assert: (self collection anySatisfy: [ :each | each = anyOne ]).\x0a\x09self deny: (self collection anySatisfy: [ :each | each = Object new ])",
referencedClasses: ["Object"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["anyOne", "collection", "assert:", "anySatisfy:", "=", "deny:", "new"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
var anyOne;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $1,$3,$2;
$1=$self._collection();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collection"]=1;
//>>excludeEnd("ctx");
anyOne=$recv($1)._anyOne();
$3=$self._collection();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collection"]=2;
//>>excludeEnd("ctx");
$2=$recv($3)._anySatisfy_((function(each){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return $recv(each).__eq(anyOne);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx2.sendIdx["="]=1;
//>>excludeEnd("ctx");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({each:each},$ctx1,1)});
//>>excludeEnd("ctx");
}));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["anySatisfy:"]=1;
//>>excludeEnd("ctx");
$self._assert_($2);
$self._deny_($recv($self._collection())._anySatisfy_((function(each){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return $recv(each).__eq($recv($globals.Object)._new());
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({each:each},$ctx1,2)});
//>>excludeEnd("ctx");
})));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testAnySatisfy",{anyOne:anyOne})});
//>>excludeEnd("ctx");
}; }),
$globals.CollectionTest);
$core.addMethod(
$core.method({
selector: "testAsArray",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testAsArray\x0a\x09self\x0a\x09\x09assertSameContents: self collection\x0a\x09\x09as: self collection asArray",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assertSameContents:as:", "collection", "asArray"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $1;
$1=$self._collection();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collection"]=1;
//>>excludeEnd("ctx");
$self._assertSameContents_as_($1,$recv($self._collection())._asArray());
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testAsArray",{})});
//>>excludeEnd("ctx");
}; }),
$globals.CollectionTest);
$core.addMethod(
$core.method({
selector: "testAsOrderedCollection",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testAsOrderedCollection\x0a\x09self\x0a\x09\x09assertSameContents: self collection\x0a\x09\x09as: self collection asOrderedCollection",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assertSameContents:as:", "collection", "asOrderedCollection"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $1;
$1=$self._collection();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collection"]=1;
//>>excludeEnd("ctx");
$self._assertSameContents_as_($1,$recv($self._collection())._asOrderedCollection());
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testAsOrderedCollection",{})});
//>>excludeEnd("ctx");
}; }),
$globals.CollectionTest);
$core.addMethod(
$core.method({
selector: "testAsSet",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testAsSet\x0a\x09| c set |\x0a\x09c := self collectionWithDuplicates.\x0a\x09set := c asSet.\x0a\x09self assert: set size equals: 6.\x0a\x09c do: [ :each |\x0a\x09\x09self assert: (set includes: each) ]",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["collectionWithDuplicates", "asSet", "assert:equals:", "size", "do:", "assert:", "includes:"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
var c,set;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
c=$self._collectionWithDuplicates();
set=$recv(c)._asSet();
$self._assert_equals_($recv(set)._size(),(6));
$recv(c)._do_((function(each){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return $self._assert_($recv(set)._includes_(each));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({each:each},$ctx1,1)});
//>>excludeEnd("ctx");
}));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testAsSet",{c:c,set:set})});
//>>excludeEnd("ctx");
}; }),
$globals.CollectionTest);
$core.addMethod(
$core.method({
selector: "testCollect",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testCollect\x0a\x09self assert: (self collection collect: [ :each | each ]) equals: self collection.\x0a\x09self assert: (self collectionWithNewValue collect: [ :each | each ]) equals: self collectionWithNewValue.\x0a\x09self assert: (self collectionClass new collect: [ :each | each printString ]) equals: self collectionClass new.\x0a\x09self assert: ((self collection collect: [ self sampleNewValue ]) detect: [ true ]) equals: self sampleNewValue.\x0a\x09self assert: (self collection collect: [ :each | each printString ]) equals: self collectionOfPrintStrings",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:equals:", "collect:", "collection", "collectionWithNewValue", "new", "collectionClass", "printString", "detect:", "sampleNewValue", "collectionOfPrintStrings"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $2,$1,$3,$5,$4,$8,$7,$6,$11,$10,$9;
$2=$self._collection();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collection"]=1;
//>>excludeEnd("ctx");
$1=$recv($2)._collect_((function(each){
return each;
}));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collect:"]=1;
//>>excludeEnd("ctx");
$3=$self._collection();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collection"]=2;
//>>excludeEnd("ctx");
$self._assert_equals_($1,$3);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=1;
//>>excludeEnd("ctx");
$5=$self._collectionWithNewValue();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collectionWithNewValue"]=1;
//>>excludeEnd("ctx");
$4=$recv($5)._collect_((function(each){
return each;
}));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collect:"]=2;
//>>excludeEnd("ctx");
$self._assert_equals_($4,$self._collectionWithNewValue());
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=2;
//>>excludeEnd("ctx");
$8=$self._collectionClass();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collectionClass"]=1;
//>>excludeEnd("ctx");
$7=$recv($8)._new();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["new"]=1;
//>>excludeEnd("ctx");
$6=$recv($7)._collect_((function(each){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return $recv(each)._printString();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx2.sendIdx["printString"]=1;
//>>excludeEnd("ctx");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({each:each},$ctx1,3)});
//>>excludeEnd("ctx");
}));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collect:"]=3;
//>>excludeEnd("ctx");
$self._assert_equals_($6,$recv($self._collectionClass())._new());
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=3;
//>>excludeEnd("ctx");
$11=$self._collection();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collection"]=3;
//>>excludeEnd("ctx");
$10=$recv($11)._collect_((function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return $self._sampleNewValue();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx2.sendIdx["sampleNewValue"]=1;
//>>excludeEnd("ctx");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({},$ctx1,4)});
//>>excludeEnd("ctx");
}));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collect:"]=4;
//>>excludeEnd("ctx");
$9=$recv($10)._detect_((function(){
return true;
}));
$self._assert_equals_($9,$self._sampleNewValue());
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=4;
//>>excludeEnd("ctx");
$self._assert_equals_($recv($self._collection())._collect_((function(each){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return $recv(each)._printString();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({each:each},$ctx1,6)});
//>>excludeEnd("ctx");
})),$self._collectionOfPrintStrings());
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testCollect",{})});
//>>excludeEnd("ctx");
}; }),
$globals.CollectionTest);
$core.addMethod(
$core.method({
selector: "testComma",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testComma\x0a\x09self assert: self collection, self collectionClass new equals: self collection.\x0a\x09self assert: self collectionClass new, self collection equals: self collection.\x0a\x09self assert: self collectionClass new, self collectionClass new equals: self collectionClass new.\x0a\x09self assert: self collection, self sampleNewValueAsCollection equals: self collectionWithNewValue.\x0a\x09self assertSameContents: self sampleNewValueAsCollection, self collection as: self collectionWithNewValue",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:equals:", ",", "collection", "new", "collectionClass", "sampleNewValueAsCollection", "collectionWithNewValue", "assertSameContents:as:"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $2,$4,$3,$1,$5,$8,$7,$9,$6,$10,$13,$12,$15,$14,$11,$17,$18,$16,$19;
$2=$self._collection();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collection"]=1;
//>>excludeEnd("ctx");
$4=$self._collectionClass();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collectionClass"]=1;
//>>excludeEnd("ctx");
$3=$recv($4)._new();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["new"]=1;
//>>excludeEnd("ctx");
$1=$recv($2).__comma($3);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx[","]=1;
//>>excludeEnd("ctx");
$5=$self._collection();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collection"]=2;
//>>excludeEnd("ctx");
$self._assert_equals_($1,$5);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=1;
//>>excludeEnd("ctx");
$8=$self._collectionClass();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collectionClass"]=2;
//>>excludeEnd("ctx");
$7=$recv($8)._new();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["new"]=2;
//>>excludeEnd("ctx");
$9=$self._collection();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collection"]=3;
//>>excludeEnd("ctx");
$6=$recv($7).__comma($9);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx[","]=2;
//>>excludeEnd("ctx");
$10=$self._collection();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collection"]=4;
//>>excludeEnd("ctx");
$self._assert_equals_($6,$10);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=2;
//>>excludeEnd("ctx");
$13=$self._collectionClass();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collectionClass"]=3;
//>>excludeEnd("ctx");
$12=$recv($13)._new();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["new"]=3;
//>>excludeEnd("ctx");
$15=$self._collectionClass();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collectionClass"]=4;
//>>excludeEnd("ctx");
$14=$recv($15)._new();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["new"]=4;
//>>excludeEnd("ctx");
$11=$recv($12).__comma($14);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx[","]=3;
//>>excludeEnd("ctx");
$self._assert_equals_($11,$recv($self._collectionClass())._new());
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=3;
//>>excludeEnd("ctx");
$17=$self._collection();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collection"]=5;
//>>excludeEnd("ctx");
$18=$self._sampleNewValueAsCollection();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["sampleNewValueAsCollection"]=1;
//>>excludeEnd("ctx");
$16=$recv($17).__comma($18);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx[","]=4;
//>>excludeEnd("ctx");
$19=$self._collectionWithNewValue();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collectionWithNewValue"]=1;
//>>excludeEnd("ctx");
$self._assert_equals_($16,$19);
$self._assertSameContents_as_($recv($self._sampleNewValueAsCollection()).__comma($self._collection()),$self._collectionWithNewValue());
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testComma",{})});
//>>excludeEnd("ctx");
}; }),
$globals.CollectionTest);
$core.addMethod(
$core.method({
selector: "testCopy",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testCopy\x0a\x09self assert: self collectionClass new copy equals: self collectionClass new.\x0a\x09self assert: self collection copy equals: self collection.\x0a\x09self assert: self collectionWithNewValue copy equals: self collectionWithNewValue.\x0a\x09\x0a\x09self deny: self collectionClass new copy = self collection.\x0a\x09self deny: self collection copy = self collectionClass new.\x0a\x09self deny: self collection copy = self collectionWithNewValue",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:equals:", "copy", "new", "collectionClass", "collection", "collectionWithNewValue", "deny:", "="]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $3,$2,$1,$5,$4,$7,$6,$8,$10,$9,$11,$15,$14,$13,$16,$12,$19,$18,$17;
$3=$self._collectionClass();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collectionClass"]=1;
//>>excludeEnd("ctx");
$2=$recv($3)._new();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["new"]=1;
//>>excludeEnd("ctx");
$1=$recv($2)._copy();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["copy"]=1;
//>>excludeEnd("ctx");
$5=$self._collectionClass();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collectionClass"]=2;
//>>excludeEnd("ctx");
$4=$recv($5)._new();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["new"]=2;
//>>excludeEnd("ctx");
$self._assert_equals_($1,$4);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=1;
//>>excludeEnd("ctx");
$7=$self._collection();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collection"]=1;
//>>excludeEnd("ctx");
$6=$recv($7)._copy();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["copy"]=2;
//>>excludeEnd("ctx");
$8=$self._collection();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collection"]=2;
//>>excludeEnd("ctx");
$self._assert_equals_($6,$8);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=2;
//>>excludeEnd("ctx");
$10=$self._collectionWithNewValue();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collectionWithNewValue"]=1;
//>>excludeEnd("ctx");
$9=$recv($10)._copy();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["copy"]=3;
//>>excludeEnd("ctx");
$11=$self._collectionWithNewValue();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collectionWithNewValue"]=2;
//>>excludeEnd("ctx");
$self._assert_equals_($9,$11);
$15=$self._collectionClass();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collectionClass"]=3;
//>>excludeEnd("ctx");
$14=$recv($15)._new();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["new"]=3;
//>>excludeEnd("ctx");
$13=$recv($14)._copy();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["copy"]=4;
//>>excludeEnd("ctx");
$16=$self._collection();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collection"]=3;
//>>excludeEnd("ctx");
$12=$recv($13).__eq($16);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["="]=1;
//>>excludeEnd("ctx");
$self._deny_($12);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["deny:"]=1;
//>>excludeEnd("ctx");
$19=$self._collection();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collection"]=4;
//>>excludeEnd("ctx");
$18=$recv($19)._copy();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["copy"]=5;
//>>excludeEnd("ctx");
$17=$recv($18).__eq($recv($self._collectionClass())._new());
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["="]=2;
//>>excludeEnd("ctx");
$self._deny_($17);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["deny:"]=2;
//>>excludeEnd("ctx");
$self._deny_($recv($recv($self._collection())._copy()).__eq($self._collectionWithNewValue()));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testCopy",{})});
//>>excludeEnd("ctx");
}; }),
$globals.CollectionTest);
$core.addMethod(
$core.method({
selector: "testCopySeparates",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testCopySeparates\x0a\x09| original copy |\x0a\x09original := self collection.\x0a\x09copy := original copy.\x0a\x09copy addAll: self sampleNewValueAsCollection.\x0a\x09self assert: original = self collection",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["collection", "copy", "addAll:", "sampleNewValueAsCollection", "assert:", "="]
}, function ($methodClass){ return function (){
var self=this,$self=this;
var original,copy;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
original=$self._collection();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collection"]=1;
//>>excludeEnd("ctx");
copy=$recv(original)._copy();
$recv(copy)._addAll_($self._sampleNewValueAsCollection());
$self._assert_($recv(original).__eq($self._collection()));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testCopySeparates",{original:original,copy:copy})});
//>>excludeEnd("ctx");
}; }),
$globals.CollectionTest);
$core.addMethod(
$core.method({
selector: "testDetect",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testDetect\x0a\x09self\x0a\x09\x09shouldnt: [ self collection detect: [ true ] ]\x0a\x09\x09raise: Error.\x0a\x09self\x0a\x09\x09should: [ self collection detect: [ false ] ]\x0a\x09\x09raise: Error.\x0a\x09self assert: (self sampleNewValueAsCollection detect: [ true ]) equals: self sampleNewValue.\x0a\x09self assert: (self collectionWithNewValue detect: [ :each | each = self sampleNewValue ]) equals: self sampleNewValue.\x0a\x09self\x0a\x09\x09should: [ self collection detect: [ :each | each = self sampleNewValue ] ]\x0a\x09\x09raise: Error",
referencedClasses: ["Error"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["shouldnt:raise:", "detect:", "collection", "should:raise:", "assert:equals:", "sampleNewValueAsCollection", "sampleNewValue", "collectionWithNewValue", "="]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $1,$2,$3,$4,$6,$5,$7;
$self._shouldnt_raise_((function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
$1=$self._collection();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx2.sendIdx["collection"]=1;
//>>excludeEnd("ctx");
return $recv($1)._detect_((function(){
return true;
}));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx2.sendIdx["detect:"]=1;
//>>excludeEnd("ctx");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({},$ctx1,1)});
//>>excludeEnd("ctx");
}),$globals.Error);
$self._should_raise_((function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
$2=$self._collection();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx2.sendIdx["collection"]=2;
//>>excludeEnd("ctx");
return $recv($2)._detect_((function(){
return false;
}));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx2.sendIdx["detect:"]=2;
//>>excludeEnd("ctx");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({},$ctx1,3)});
//>>excludeEnd("ctx");
}),$globals.Error);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["should:raise:"]=1;
//>>excludeEnd("ctx");
$3=$recv($self._sampleNewValueAsCollection())._detect_((function(){
return true;
}));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["detect:"]=3;
//>>excludeEnd("ctx");
$4=$self._sampleNewValue();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["sampleNewValue"]=1;
//>>excludeEnd("ctx");
$self._assert_equals_($3,$4);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=1;
//>>excludeEnd("ctx");
$5=$recv($self._collectionWithNewValue())._detect_((function(each){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
$6=$self._sampleNewValue();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx2.sendIdx["sampleNewValue"]=2;
//>>excludeEnd("ctx");
return $recv(each).__eq($6);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx2.sendIdx["="]=1;
//>>excludeEnd("ctx");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({each:each},$ctx1,6)});
//>>excludeEnd("ctx");
}));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["detect:"]=4;
//>>excludeEnd("ctx");
$7=$self._sampleNewValue();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["sampleNewValue"]=3;
//>>excludeEnd("ctx");
$self._assert_equals_($5,$7);
$self._should_raise_((function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return $recv($self._collection())._detect_((function(each){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx3) {
//>>excludeEnd("ctx");
return $recv(each).__eq($self._sampleNewValue());
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx3) {$ctx3.fillBlock({each:each},$ctx2,8)});
//>>excludeEnd("ctx");
}));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({},$ctx1,7)});
//>>excludeEnd("ctx");
}),$globals.Error);
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testDetect",{})});
//>>excludeEnd("ctx");
}; }),
$globals.CollectionTest);
$core.addMethod(
$core.method({
selector: "testDetectIfNone",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testDetectIfNone\x0a\x09| sentinel |\x0a\x09sentinel := Object new.\x0a\x09self assert: (self collection detect: [ true ] ifNone: [ sentinel ]) ~= sentinel.\x0a\x09self assert: (self collection detect: [ false ] ifNone: [ sentinel ]) equals: sentinel.\x0a\x09self assert: (self sampleNewValueAsCollection detect: [ true ] ifNone: [ sentinel ]) equals: self sampleNewValue.\x0a\x09self assert: (self collectionWithNewValue detect: [ :each | each = self sampleNewValue ] ifNone: [ sentinel ]) equals: self sampleNewValue.\x0a\x09self assert: (self collection detect: [ :each | each = self sampleNewValue ] ifNone: [ sentinel ]) equals: sentinel",
referencedClasses: ["Object"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["new", "assert:", "~=", "detect:ifNone:", "collection", "assert:equals:", "sampleNewValueAsCollection", "sampleNewValue", "collectionWithNewValue", "="]
}, function ($methodClass){ return function (){
var self=this,$self=this;
var sentinel;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $3,$2,$1,$5,$4,$6,$7,$9,$8,$10;
sentinel=$recv($globals.Object)._new();
$3=$self._collection();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collection"]=1;
//>>excludeEnd("ctx");
$2=$recv($3)._detect_ifNone_((function(){
return true;
}),(function(){
return sentinel;
}));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["detect:ifNone:"]=1;
//>>excludeEnd("ctx");
$1=$recv($2).__tild_eq(sentinel);
$self._assert_($1);
$5=$self._collection();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collection"]=2;
//>>excludeEnd("ctx");
$4=$recv($5)._detect_ifNone_((function(){
return false;
}),(function(){
return sentinel;
}));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["detect:ifNone:"]=2;
//>>excludeEnd("ctx");
$self._assert_equals_($4,sentinel);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=1;
//>>excludeEnd("ctx");
$6=$recv($self._sampleNewValueAsCollection())._detect_ifNone_((function(){
return true;
}),(function(){
return sentinel;
}));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["detect:ifNone:"]=3;
//>>excludeEnd("ctx");
$7=$self._sampleNewValue();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["sampleNewValue"]=1;
//>>excludeEnd("ctx");
$self._assert_equals_($6,$7);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=2;
//>>excludeEnd("ctx");
$8=$recv($self._collectionWithNewValue())._detect_ifNone_((function(each){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
$9=$self._sampleNewValue();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx2.sendIdx["sampleNewValue"]=2;
//>>excludeEnd("ctx");
return $recv(each).__eq($9);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx2.sendIdx["="]=1;
//>>excludeEnd("ctx");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({each:each},$ctx1,7)});
//>>excludeEnd("ctx");
}),(function(){
return sentinel;
}));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["detect:ifNone:"]=4;
//>>excludeEnd("ctx");
$10=$self._sampleNewValue();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["sampleNewValue"]=3;
//>>excludeEnd("ctx");
$self._assert_equals_($8,$10);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=3;
//>>excludeEnd("ctx");
$self._assert_equals_($recv($self._collection())._detect_ifNone_((function(each){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return $recv(each).__eq($self._sampleNewValue());
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({each:each},$ctx1,9)});
//>>excludeEnd("ctx");
}),(function(){
return sentinel;
})),sentinel);
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testDetectIfNone",{sentinel:sentinel})});
//>>excludeEnd("ctx");
}; }),
$globals.CollectionTest);
$core.addMethod(
$core.method({
selector: "testDo",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testDo\x0a\x09| newCollection |\x0a\x09newCollection := OrderedCollection new.\x0a\x09self collection do: [ :each |\x0a\x09\x09newCollection add: each ].\x0a\x09self\x0a\x09\x09assertSameContents: self collection\x0a\x09\x09as: newCollection.\x0a\x09newCollection := OrderedCollection new.\x0a\x09self collectionWithDuplicates do: [ :each |\x0a\x09\x09newCollection add: each ].\x0a\x09self\x0a\x09\x09assertSameContents: self collectionWithDuplicates\x0a\x09\x09as: newCollection",
referencedClasses: ["OrderedCollection"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["new", "do:", "collection", "add:", "assertSameContents:as:", "collectionWithDuplicates"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
var newCollection;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $1,$2;
newCollection=$recv($globals.OrderedCollection)._new();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["new"]=1;
//>>excludeEnd("ctx");
$1=$self._collection();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collection"]=1;
//>>excludeEnd("ctx");
$recv($1)._do_((function(each){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return $recv(newCollection)._add_(each);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx2.sendIdx["add:"]=1;
//>>excludeEnd("ctx");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({each:each},$ctx1,1)});
//>>excludeEnd("ctx");
}));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["do:"]=1;
//>>excludeEnd("ctx");
$self._assertSameContents_as_($self._collection(),newCollection);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assertSameContents:as:"]=1;
//>>excludeEnd("ctx");
newCollection=$recv($globals.OrderedCollection)._new();
$2=$self._collectionWithDuplicates();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collectionWithDuplicates"]=1;
//>>excludeEnd("ctx");
$recv($2)._do_((function(each){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return $recv(newCollection)._add_(each);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({each:each},$ctx1,2)});
//>>excludeEnd("ctx");
}));
$self._assertSameContents_as_($self._collectionWithDuplicates(),newCollection);
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testDo",{newCollection:newCollection})});
//>>excludeEnd("ctx");
}; }),
$globals.CollectionTest);
$core.addMethod(
$core.method({
selector: "testEquality",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testEquality\x0a\x09self assert: self collectionClass new equals: self collectionClass new.\x0a\x09self assert: self collection equals: self collection.\x0a\x09self assert: self collectionWithNewValue equals: self collectionWithNewValue.\x0a\x09\x0a\x09self deny: self collectionClass new = self collection.\x0a\x09self deny: self collection = self collectionClass new.\x0a\x09self deny: self collection = self collectionWithNewValue",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:equals:", "new", "collectionClass", "collection", "collectionWithNewValue", "deny:", "="]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $2,$1,$4,$3,$5,$6,$7,$8,$11,$10,$12,$9,$14,$13;
$2=$self._collectionClass();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collectionClass"]=1;
//>>excludeEnd("ctx");
$1=$recv($2)._new();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["new"]=1;
//>>excludeEnd("ctx");
$4=$self._collectionClass();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collectionClass"]=2;
//>>excludeEnd("ctx");
$3=$recv($4)._new();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["new"]=2;
//>>excludeEnd("ctx");
$self._assert_equals_($1,$3);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=1;
//>>excludeEnd("ctx");
$5=$self._collection();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collection"]=1;
//>>excludeEnd("ctx");
$6=$self._collection();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collection"]=2;
//>>excludeEnd("ctx");
$self._assert_equals_($5,$6);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=2;
//>>excludeEnd("ctx");
$7=$self._collectionWithNewValue();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collectionWithNewValue"]=1;
//>>excludeEnd("ctx");
$8=$self._collectionWithNewValue();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collectionWithNewValue"]=2;
//>>excludeEnd("ctx");
$self._assert_equals_($7,$8);
$11=$self._collectionClass();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collectionClass"]=3;
//>>excludeEnd("ctx");
$10=$recv($11)._new();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["new"]=3;
//>>excludeEnd("ctx");
$12=$self._collection();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collection"]=3;
//>>excludeEnd("ctx");
$9=$recv($10).__eq($12);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["="]=1;
//>>excludeEnd("ctx");
$self._deny_($9);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["deny:"]=1;
//>>excludeEnd("ctx");
$14=$self._collection();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collection"]=4;
//>>excludeEnd("ctx");
$13=$recv($14).__eq($recv($self._collectionClass())._new());
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["="]=2;
//>>excludeEnd("ctx");
$self._deny_($13);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["deny:"]=2;
//>>excludeEnd("ctx");
$self._deny_($recv($self._collection()).__eq($self._collectionWithNewValue()));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testEquality",{})});
//>>excludeEnd("ctx");
}; }),
$globals.CollectionTest);
$core.addMethod(
$core.method({
selector: "testIfEmptyFamily",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testIfEmptyFamily\x0a\x09self assert: (self collectionClass new ifEmpty: [ 42 ]) equals: 42.\x0a\x09self assert: (self collection ifEmpty: [ 42 ]) equals: self collection.\x0a\x0a\x09self assert: (self collectionClass new ifNotEmpty: [ 42 ]) equals: self collectionClass new.\x0a\x09self assert: (self collection ifNotEmpty: [ 42 ]) equals: 42.\x0a\x09self assert: (self collection ifNotEmpty: [ :col | col ]) equals: self collection.\x0a\x09\x0a\x09self assert: (self collectionClass new ifEmpty: [ 42 ] ifNotEmpty: [ 999 ]) equals: 42.\x0a\x09self assert: (self collection ifEmpty: [ 42 ] ifNotEmpty: [ 999 ]) equals: 999.\x0a\x09self assert: (self collection ifEmpty: [ 42 ] ifNotEmpty: [ :col | col ]) equals: self collection.\x0a\x0a\x09self assert: (self collectionClass new ifNotEmpty: [ 42 ] ifEmpty: [ 999 ]) equals: 999.\x0a\x09self assert: (self collection ifNotEmpty: [ 42 ] ifEmpty: [ 999 ]) equals: 42.\x0a\x09self assert: (self collection ifNotEmpty: [ :col | col ] ifEmpty: [ 999 ]) equals: self collection.",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:equals:", "ifEmpty:", "new", "collectionClass", "collection", "ifNotEmpty:", "ifEmpty:ifNotEmpty:", "ifNotEmpty:ifEmpty:"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $3,$2,$1,$5,$4,$6,$9,$8,$7,$11,$10,$13,$12,$15,$14,$16,$19,$18,$17,$21,$20,$23,$22,$24,$25,$27,$26,$29,$28;
$3=$self._collectionClass();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collectionClass"]=1;
//>>excludeEnd("ctx");
$2=$recv($3)._new();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["new"]=1;
//>>excludeEnd("ctx");
$1=$recv($2)._ifEmpty_((function(){
return (42);
}));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["ifEmpty:"]=1;
//>>excludeEnd("ctx");
$self._assert_equals_($1,(42));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=1;
//>>excludeEnd("ctx");
$5=$self._collection();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collection"]=1;
//>>excludeEnd("ctx");
$4=$recv($5)._ifEmpty_((function(){
return (42);
}));
$6=$self._collection();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collection"]=2;
//>>excludeEnd("ctx");
$self._assert_equals_($4,$6);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=2;
//>>excludeEnd("ctx");
$9=$self._collectionClass();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collectionClass"]=2;
//>>excludeEnd("ctx");
$8=$recv($9)._new();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["new"]=2;
//>>excludeEnd("ctx");
$7=$recv($8)._ifNotEmpty_((function(){
return (42);
}));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["ifNotEmpty:"]=1;
//>>excludeEnd("ctx");
$11=$self._collectionClass();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collectionClass"]=3;
//>>excludeEnd("ctx");
$10=$recv($11)._new();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["new"]=3;
//>>excludeEnd("ctx");
$self._assert_equals_($7,$10);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=3;
//>>excludeEnd("ctx");
$13=$self._collection();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collection"]=3;
//>>excludeEnd("ctx");
$12=$recv($13)._ifNotEmpty_((function(){
return (42);
}));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["ifNotEmpty:"]=2;
//>>excludeEnd("ctx");
$self._assert_equals_($12,(42));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=4;
//>>excludeEnd("ctx");
$15=$self._collection();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collection"]=4;
//>>excludeEnd("ctx");
$14=$recv($15)._ifNotEmpty_((function(col){
return col;
}));
$16=$self._collection();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collection"]=5;
//>>excludeEnd("ctx");
$self._assert_equals_($14,$16);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=5;
//>>excludeEnd("ctx");
$19=$self._collectionClass();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collectionClass"]=4;
//>>excludeEnd("ctx");
$18=$recv($19)._new();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["new"]=4;
//>>excludeEnd("ctx");
$17=$recv($18)._ifEmpty_ifNotEmpty_((function(){
return (42);
}),(function(){
return (999);
}));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["ifEmpty:ifNotEmpty:"]=1;
//>>excludeEnd("ctx");
$self._assert_equals_($17,(42));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=6;
//>>excludeEnd("ctx");
$21=$self._collection();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collection"]=6;
//>>excludeEnd("ctx");
$20=$recv($21)._ifEmpty_ifNotEmpty_((function(){
return (42);
}),(function(){
return (999);
}));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["ifEmpty:ifNotEmpty:"]=2;
//>>excludeEnd("ctx");
$self._assert_equals_($20,(999));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=7;
//>>excludeEnd("ctx");
$23=$self._collection();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collection"]=7;
//>>excludeEnd("ctx");
$22=$recv($23)._ifEmpty_ifNotEmpty_((function(){
return (42);
}),(function(col){
return col;
}));
$24=$self._collection();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collection"]=8;
//>>excludeEnd("ctx");
$self._assert_equals_($22,$24);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=8;
//>>excludeEnd("ctx");
$25=$recv($recv($self._collectionClass())._new())._ifNotEmpty_ifEmpty_((function(){
return (42);
}),(function(){
return (999);
}));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["ifNotEmpty:ifEmpty:"]=1;
//>>excludeEnd("ctx");
$self._assert_equals_($25,(999));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=9;
//>>excludeEnd("ctx");
$27=$self._collection();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collection"]=9;
//>>excludeEnd("ctx");
$26=$recv($27)._ifNotEmpty_ifEmpty_((function(){
return (42);
}),(function(){
return (999);
}));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["ifNotEmpty:ifEmpty:"]=2;
//>>excludeEnd("ctx");
$self._assert_equals_($26,(42));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=10;
//>>excludeEnd("ctx");
$29=$self._collection();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collection"]=10;
//>>excludeEnd("ctx");
$28=$recv($29)._ifNotEmpty_ifEmpty_((function(col){
return col;
}),(function(){
return (999);
}));
$self._assert_equals_($28,$self._collection());
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testIfEmptyFamily",{})});
//>>excludeEnd("ctx");
}; }),
$globals.CollectionTest);
$core.addMethod(
$core.method({
selector: "testIsEmpty",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testIsEmpty\x0a\x09self assert: self collectionClass new isEmpty.\x0a\x09self deny: self collection isEmpty",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:", "isEmpty", "new", "collectionClass", "deny:", "collection"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $1;
$1=$recv($recv($self._collectionClass())._new())._isEmpty();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["isEmpty"]=1;
//>>excludeEnd("ctx");
$self._assert_($1);
$self._deny_($recv($self._collection())._isEmpty());
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testIsEmpty",{})});
//>>excludeEnd("ctx");
}; }),
$globals.CollectionTest);
$core.addMethod(
$core.method({
selector: "testNoneSatisfy",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testNoneSatisfy\x0a\x09| anyOne |\x0a\x09anyOne := self collection anyOne.\x0a\x09self deny: (self collection noneSatisfy: [ :each | each = anyOne ]).\x0a\x09self assert: (self collection noneSatisfy: [ :each | each = Object new ])",
referencedClasses: ["Object"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["anyOne", "collection", "deny:", "noneSatisfy:", "=", "assert:", "new"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
var anyOne;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $1,$3,$2;
$1=$self._collection();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collection"]=1;
//>>excludeEnd("ctx");
anyOne=$recv($1)._anyOne();
$3=$self._collection();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collection"]=2;
//>>excludeEnd("ctx");
$2=$recv($3)._noneSatisfy_((function(each){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return $recv(each).__eq(anyOne);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx2.sendIdx["="]=1;
//>>excludeEnd("ctx");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({each:each},$ctx1,1)});
//>>excludeEnd("ctx");
}));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["noneSatisfy:"]=1;
//>>excludeEnd("ctx");
$self._deny_($2);
$self._assert_($recv($self._collection())._noneSatisfy_((function(each){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return $recv(each).__eq($recv($globals.Object)._new());
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({each:each},$ctx1,2)});
//>>excludeEnd("ctx");
})));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testNoneSatisfy",{anyOne:anyOne})});
//>>excludeEnd("ctx");
}; }),
$globals.CollectionTest);
$core.addMethod(
$core.method({
selector: "testRegression1224",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testRegression1224\x0a\x09self assert: (self collectionClass new\x0a\x09\x09remove: self sampleNewValue ifAbsent: [];\x0a\x09\x09yourself) size equals: 0",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:equals:", "size", "remove:ifAbsent:", "new", "collectionClass", "sampleNewValue", "yourself"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $3,$2,$1;
$3=$recv($self._collectionClass())._new();
$recv($3)._remove_ifAbsent_($self._sampleNewValue(),(function(){
}));
$2=$recv($3)._yourself();
$1=$recv($2)._size();
$self._assert_equals_($1,(0));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testRegression1224",{})});
//>>excludeEnd("ctx");
}; }),
$globals.CollectionTest);
$core.addMethod(
$core.method({
selector: "testRemoveAll",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testRemoveAll\x0a\x09self assert: (self collection removeAll; yourself) equals: self collectionClass new",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:equals:", "removeAll", "collection", "yourself", "new", "collectionClass"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $2,$1;
$2=$self._collection();
$recv($2)._removeAll();
$1=$recv($2)._yourself();
$self._assert_equals_($1,$recv($self._collectionClass())._new());
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testRemoveAll",{})});
//>>excludeEnd("ctx");
}; }),
$globals.CollectionTest);
$core.addMethod(
$core.method({
selector: "testSelect",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testSelect\x0a\x09self assert: (self collection select: [ false ]) equals: self collectionClass new.\x0a\x09self assert: (self collection select: [ true ]) equals: self collection.\x0a\x09self assert: (self collectionWithNewValue select: [ :each | each = self sampleNewValue ]) equals: self sampleNewValueAsCollection.\x0a\x09self assert: (self collectionWithNewValue select: [ :each | each ~= self sampleNewValue ]) equals: self collection.\x0a\x09self assert: (self collection select: [ :each | each = self sampleNewValue ]) equals: self collectionClass new.\x0a\x09self assert: (self collectionWithNewValue select: [ :each | each ~= self sampleNewValue ]) equals: self collection",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:equals:", "select:", "collection", "new", "collectionClass", "collectionWithNewValue", "=", "sampleNewValue", "sampleNewValueAsCollection", "~="]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $2,$1,$4,$3,$6,$5,$7,$9,$10,$8,$12,$13,$11,$14,$16,$17,$15;
$2=$self._collection();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collection"]=1;
//>>excludeEnd("ctx");
$1=$recv($2)._select_((function(){
return false;
}));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["select:"]=1;
//>>excludeEnd("ctx");
$4=$self._collectionClass();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collectionClass"]=1;
//>>excludeEnd("ctx");
$3=$recv($4)._new();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["new"]=1;
//>>excludeEnd("ctx");
$self._assert_equals_($1,$3);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=1;
//>>excludeEnd("ctx");
$6=$self._collection();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collection"]=2;
//>>excludeEnd("ctx");
$5=$recv($6)._select_((function(){
return true;
}));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["select:"]=2;
//>>excludeEnd("ctx");
$7=$self._collection();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collection"]=3;
//>>excludeEnd("ctx");
$self._assert_equals_($5,$7);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=2;
//>>excludeEnd("ctx");
$9=$self._collectionWithNewValue();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collectionWithNewValue"]=1;
//>>excludeEnd("ctx");
$8=$recv($9)._select_((function(each){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
$10=$self._sampleNewValue();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx2.sendIdx["sampleNewValue"]=1;
//>>excludeEnd("ctx");
return $recv(each).__eq($10);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx2.sendIdx["="]=1;
//>>excludeEnd("ctx");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({each:each},$ctx1,3)});
//>>excludeEnd("ctx");
}));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["select:"]=3;
//>>excludeEnd("ctx");
$self._assert_equals_($8,$self._sampleNewValueAsCollection());
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=3;
//>>excludeEnd("ctx");
$12=$self._collectionWithNewValue();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collectionWithNewValue"]=2;
//>>excludeEnd("ctx");
$11=$recv($12)._select_((function(each){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
$13=$self._sampleNewValue();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx2.sendIdx["sampleNewValue"]=2;
//>>excludeEnd("ctx");
return $recv(each).__tild_eq($13);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx2.sendIdx["~="]=1;
//>>excludeEnd("ctx");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({each:each},$ctx1,4)});
//>>excludeEnd("ctx");
}));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["select:"]=4;
//>>excludeEnd("ctx");
$14=$self._collection();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collection"]=4;
//>>excludeEnd("ctx");
$self._assert_equals_($11,$14);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=4;
//>>excludeEnd("ctx");
$16=$self._collection();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collection"]=5;
//>>excludeEnd("ctx");
$15=$recv($16)._select_((function(each){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
$17=$self._sampleNewValue();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx2.sendIdx["sampleNewValue"]=3;
//>>excludeEnd("ctx");
return $recv(each).__eq($17);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({each:each},$ctx1,5)});
//>>excludeEnd("ctx");
}));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["select:"]=5;
//>>excludeEnd("ctx");
$self._assert_equals_($15,$recv($self._collectionClass())._new());
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=5;
//>>excludeEnd("ctx");
$self._assert_equals_($recv($self._collectionWithNewValue())._select_((function(each){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return $recv(each).__tild_eq($self._sampleNewValue());
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({each:each},$ctx1,6)});
//>>excludeEnd("ctx");
})),$self._collection());
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testSelect",{})});
//>>excludeEnd("ctx");
}; }),
$globals.CollectionTest);
$core.addMethod(
$core.method({
selector: "testSelectThenCollect",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testSelectThenCollect\x0a\x09self assert: (self collection select: [ false ] thenCollect: #isString) equals: self collectionClass new.\x0a\x09self assert: (self collection select: [ true ] thenCollect: [:x|x]) equals: self collection.\x0a\x09self assert: (self collection select: [ :each | each = self sampleNewValue ] thenCollect: [:x|x]) equals: self collectionClass new.\x0a\x09self assert: (self collectionWithNewValue select: [ :each | each ~= self sampleNewValue ] thenCollect: #printString) equals: self collectionOfPrintStrings",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:equals:", "select:thenCollect:", "collection", "new", "collectionClass", "=", "sampleNewValue", "collectionWithNewValue", "~=", "collectionOfPrintStrings"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $2,$1,$4,$3,$6,$5,$7,$9,$8;
$2=$self._collection();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collection"]=1;
//>>excludeEnd("ctx");
$1=$recv($2)._select_thenCollect_((function(){
return false;
}),"isString");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["select:thenCollect:"]=1;
//>>excludeEnd("ctx");
$4=$self._collectionClass();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collectionClass"]=1;
//>>excludeEnd("ctx");
$3=$recv($4)._new();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["new"]=1;
//>>excludeEnd("ctx");
$self._assert_equals_($1,$3);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=1;
//>>excludeEnd("ctx");
$6=$self._collection();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collection"]=2;
//>>excludeEnd("ctx");
$5=$recv($6)._select_thenCollect_((function(){
return true;
}),(function(x){
return x;
}));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["select:thenCollect:"]=2;
//>>excludeEnd("ctx");
$7=$self._collection();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collection"]=3;
//>>excludeEnd("ctx");
$self._assert_equals_($5,$7);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=2;
//>>excludeEnd("ctx");
$8=$recv($self._collection())._select_thenCollect_((function(each){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
$9=$self._sampleNewValue();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx2.sendIdx["sampleNewValue"]=1;
//>>excludeEnd("ctx");
return $recv(each).__eq($9);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({each:each},$ctx1,4)});
//>>excludeEnd("ctx");
}),(function(x){
return x;
}));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["select:thenCollect:"]=3;
//>>excludeEnd("ctx");
$self._assert_equals_($8,$recv($self._collectionClass())._new());
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=3;
//>>excludeEnd("ctx");
$self._assert_equals_($recv($self._collectionWithNewValue())._select_thenCollect_((function(each){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return $recv(each).__tild_eq($self._sampleNewValue());
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({each:each},$ctx1,6)});
//>>excludeEnd("ctx");
}),"printString"),$self._collectionOfPrintStrings());
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testSelectThenCollect",{})});
//>>excludeEnd("ctx");
}; }),
$globals.CollectionTest);
$core.addMethod(
$core.method({
selector: "testSingle",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testSingle\x0a\x09self should: [ self collectionClass new single ] raise: Error.\x0a\x09self should: [ self collection single ] raise: Error.\x0a\x09self assert: self sampleNewValueAsCollection single equals: self sampleNewValue",
referencedClasses: ["Error"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["should:raise:", "single", "new", "collectionClass", "collection", "assert:equals:", "sampleNewValueAsCollection", "sampleNewValue"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
$self._should_raise_((function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return $recv($recv($self._collectionClass())._new())._single();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx2.sendIdx["single"]=1;
//>>excludeEnd("ctx");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({},$ctx1,1)});
//>>excludeEnd("ctx");
}),$globals.Error);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["should:raise:"]=1;
//>>excludeEnd("ctx");
$self._should_raise_((function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return $recv($self._collection())._single();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx2.sendIdx["single"]=2;
//>>excludeEnd("ctx");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({},$ctx1,2)});
//>>excludeEnd("ctx");
}),$globals.Error);
$self._assert_equals_($recv($self._sampleNewValueAsCollection())._single(),$self._sampleNewValue());
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testSingle",{})});
//>>excludeEnd("ctx");
}; }),
$globals.CollectionTest);
$core.addMethod(
$core.method({
selector: "testSize",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testSize\x0a\x09self assert: self collectionClass new size equals: 0.\x0a\x09self assert: self sampleNewValueAsCollection size equals: 1.\x0a\x09self assert: self collection size equals: self collectionSize",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:equals:", "size", "new", "collectionClass", "sampleNewValueAsCollection", "collection", "collectionSize"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $1,$2;
$1=$recv($recv($self._collectionClass())._new())._size();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["size"]=1;
//>>excludeEnd("ctx");
$self._assert_equals_($1,(0));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=1;
//>>excludeEnd("ctx");
$2=$recv($self._sampleNewValueAsCollection())._size();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["size"]=2;
//>>excludeEnd("ctx");
$self._assert_equals_($2,(1));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=2;
//>>excludeEnd("ctx");
$self._assert_equals_($recv($self._collection())._size(),$self._collectionSize());
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testSize",{})});
//>>excludeEnd("ctx");
}; }),
$globals.CollectionTest);
$core.addMethod(
$core.method({
selector: "collectionClass",
protocol: "fixture",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "collectionClass\x0a\x09\x22Answers class of collection type tested,\x0a\x09or nil if test is abstract\x22\x0a\x0a\x09^ nil",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: []
}, function ($methodClass){ return function (){
var self=this,$self=this;
return nil;
}; }),
$globals.CollectionTest.a$cls);
$core.addMethod(
$core.method({
selector: "isAbstract",
protocol: "testing",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "isAbstract\x0a\x09^ self collectionClass isNil",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["isNil", "collectionClass"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
return $recv($self._collectionClass())._isNil();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"isAbstract",{})});
//>>excludeEnd("ctx");
}; }),
$globals.CollectionTest.a$cls);
$core.addClass("AssociativeCollectionTest", $globals.CollectionTest, [], "Kernel-Tests");
$core.addMethod(
$core.method({
selector: "collectionKeys",
protocol: "fixture",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "collectionKeys\x0a\x09self subclassResponsibility",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["subclassResponsibility"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
$self._subclassResponsibility();
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"collectionKeys",{})});
//>>excludeEnd("ctx");
}; }),
$globals.AssociativeCollectionTest);
$core.addMethod(
$core.method({
selector: "collectionValues",
protocol: "fixture",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "collectionValues\x0a\x09self subclassResponsibility",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["subclassResponsibility"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
$self._subclassResponsibility();
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"collectionValues",{})});
//>>excludeEnd("ctx");
}; }),
$globals.AssociativeCollectionTest);
$core.addMethod(
$core.method({
selector: "nonIndexesDo:",
protocol: "fixture",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: ["aBlock"],
source: "nonIndexesDo: aBlock\x0a\x09aBlock value: 5.\x0a\x09aBlock value: [].\x0a\x09aBlock value: Object new.\x0a\x09aBlock value: 'z'",
referencedClasses: ["Object"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["value:", "new"]
}, function ($methodClass){ return function (aBlock){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
$recv(aBlock)._value_((5));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["value:"]=1;
//>>excludeEnd("ctx");
$recv(aBlock)._value_((function(){
}));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["value:"]=2;
//>>excludeEnd("ctx");
$recv(aBlock)._value_($recv($globals.Object)._new());
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["value:"]=3;
//>>excludeEnd("ctx");
$recv(aBlock)._value_("z");
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"nonIndexesDo:",{aBlock:aBlock})});
//>>excludeEnd("ctx");
}; }),
$globals.AssociativeCollectionTest);
$core.addMethod(
$core.method({
selector: "sampleNewIndex",
protocol: "fixture",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "sampleNewIndex\x0a\x09^ 'new'",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: []
}, function ($methodClass){ return function (){
var self=this,$self=this;
return "new";
}; }),
$globals.AssociativeCollectionTest);
$core.addMethod(
$core.method({
selector: "samplesDo:",
protocol: "fixture",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: ["aBlock"],
source: "samplesDo: aBlock\x0a\x09aBlock value: 'a' value: 2",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["value:value:"]
}, function ($methodClass){ return function (aBlock){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
$recv(aBlock)._value_value_("a",(2));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"samplesDo:",{aBlock:aBlock})});
//>>excludeEnd("ctx");
}; }),
$globals.AssociativeCollectionTest);
$core.addMethod(
$core.method({
selector: "testAddAll",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testAddAll\x0a\x09super testAddAll.\x0a\x09self assert: (self collection addAll: self collection; yourself) equals: self collection.\x0a\x09self assert: (self collection addAll: self collectionWithNewValue; yourself) equals: self collectionWithNewValue.\x0a\x09self assert: (self collectionWithNewValue addAll: self collection; yourself) equals: self collectionWithNewValue",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["testAddAll", "assert:equals:", "addAll:", "collection", "yourself", "collectionWithNewValue"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $2,$3,$4,$1,$5,$7,$8,$9,$6,$10,$12,$11;
(
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.supercall = true,
//>>excludeEnd("ctx");
($methodClass.superclass||$boot.nilAsClass).fn.prototype._testAddAll.call($self));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.supercall = false;
//>>excludeEnd("ctx");;
$2=$self._collection();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collection"]=1;
//>>excludeEnd("ctx");
$3=$self._collection();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collection"]=2;
//>>excludeEnd("ctx");
$recv($2)._addAll_($3);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["addAll:"]=1;
//>>excludeEnd("ctx");
$4=$recv($2)._yourself();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["yourself"]=1;
//>>excludeEnd("ctx");
$1=$4;
$5=$self._collection();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collection"]=3;
//>>excludeEnd("ctx");
$self._assert_equals_($1,$5);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=1;
//>>excludeEnd("ctx");
$7=$self._collection();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collection"]=4;
//>>excludeEnd("ctx");
$8=$self._collectionWithNewValue();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collectionWithNewValue"]=1;
//>>excludeEnd("ctx");
$recv($7)._addAll_($8);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["addAll:"]=2;
//>>excludeEnd("ctx");
$9=$recv($7)._yourself();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["yourself"]=2;
//>>excludeEnd("ctx");
$6=$9;
$10=$self._collectionWithNewValue();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collectionWithNewValue"]=2;
//>>excludeEnd("ctx");
$self._assert_equals_($6,$10);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=2;
//>>excludeEnd("ctx");
$12=$self._collectionWithNewValue();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collectionWithNewValue"]=3;
//>>excludeEnd("ctx");
$recv($12)._addAll_($self._collection());
$11=$recv($12)._yourself();
$self._assert_equals_($11,$self._collectionWithNewValue());
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testAddAll",{})});
//>>excludeEnd("ctx");
}; }),
$globals.AssociativeCollectionTest);
$core.addMethod(
$core.method({
selector: "testAsDictionary",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testAsDictionary\x0aself assert: ( self collectionClass new asDictionary isMemberOf: Dictionary ).",
referencedClasses: ["Dictionary"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:", "isMemberOf:", "asDictionary", "new", "collectionClass"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
$self._assert_($recv($recv($recv($self._collectionClass())._new())._asDictionary())._isMemberOf_($globals.Dictionary));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testAsDictionary",{})});
//>>excludeEnd("ctx");
}; }),
$globals.AssociativeCollectionTest);
$core.addMethod(
$core.method({
selector: "testAsHashedCollection",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testAsHashedCollection\x0aself assert: ( self collectionClass new asHashedCollection isMemberOf: HashedCollection ).",
referencedClasses: ["HashedCollection"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:", "isMemberOf:", "asHashedCollection", "new", "collectionClass"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
$self._assert_($recv($recv($recv($self._collectionClass())._new())._asHashedCollection())._isMemberOf_($globals.HashedCollection));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testAsHashedCollection",{})});
//>>excludeEnd("ctx");
}; }),
$globals.AssociativeCollectionTest);
$core.addMethod(
$core.method({
selector: "testComma",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testComma\x0a\x09super testComma.\x0a\x09self assert: self collection, self collection equals: self collection.\x0a\x09self assert: self collection, self collectionWithNewValue equals: self collectionWithNewValue.\x0a\x09self assert: self collectionWithNewValue, self collection equals: self collectionWithNewValue",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["testComma", "assert:equals:", ",", "collection", "collectionWithNewValue"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $2,$3,$1,$4,$6,$7,$5,$8,$10,$9;
(
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.supercall = true,
//>>excludeEnd("ctx");
($methodClass.superclass||$boot.nilAsClass).fn.prototype._testComma.call($self));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.supercall = false;
//>>excludeEnd("ctx");;
$2=$self._collection();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collection"]=1;
//>>excludeEnd("ctx");
$3=$self._collection();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collection"]=2;
//>>excludeEnd("ctx");
$1=$recv($2).__comma($3);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx[","]=1;
//>>excludeEnd("ctx");
$4=$self._collection();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collection"]=3;
//>>excludeEnd("ctx");
$self._assert_equals_($1,$4);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=1;
//>>excludeEnd("ctx");
$6=$self._collection();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collection"]=4;
//>>excludeEnd("ctx");
$7=$self._collectionWithNewValue();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collectionWithNewValue"]=1;
//>>excludeEnd("ctx");
$5=$recv($6).__comma($7);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx[","]=2;
//>>excludeEnd("ctx");
$8=$self._collectionWithNewValue();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collectionWithNewValue"]=2;
//>>excludeEnd("ctx");
$self._assert_equals_($5,$8);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=2;
//>>excludeEnd("ctx");
$10=$self._collectionWithNewValue();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collectionWithNewValue"]=3;
//>>excludeEnd("ctx");
$9=$recv($10).__comma($self._collection());
$self._assert_equals_($9,$self._collectionWithNewValue());
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testComma",{})});
//>>excludeEnd("ctx");
}; }),
$globals.AssociativeCollectionTest);
$core.addMethod(
$core.method({
selector: "testFrom",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testFrom\x0a\x22Accept a collection of associations.\x22\x0a| associations |\x0aassociations := { 'a' -> 1. 'b' -> 2 }.\x0aself assertSameContents: ( self class collectionClass from: associations ) as: #{ 'a' -> 1. 'b' -> 2 }.",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["->", "assertSameContents:as:", "from:", "collectionClass", "class"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
var associations;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $1;
$1="a".__minus_gt((1));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["->"]=1;
//>>excludeEnd("ctx");
associations=[$1,"b".__minus_gt((2))];
$self._assertSameContents_as_($recv($recv($self._class())._collectionClass())._from_(associations),$globals.HashedCollection._newFromPairs_(["a",(1),"b",(2)]));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testFrom",{associations:associations})});
//>>excludeEnd("ctx");
}; }),
$globals.AssociativeCollectionTest);
$core.addMethod(
$core.method({
selector: "testKeys",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testKeys\x0a\x09self assert:self collectionClass new keys isEmpty.\x0a\x09self assertSameContents:self collection keys as: self collectionKeys.\x0a\x09self assertSameContents:self collectionWithNewValue keys as: self collectionKeys, { self sampleNewIndex }",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:", "isEmpty", "keys", "new", "collectionClass", "assertSameContents:as:", "collection", "collectionKeys", "collectionWithNewValue", ",", "sampleNewIndex"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $2,$1,$3,$4;
$2=$recv($recv($self._collectionClass())._new())._keys();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["keys"]=1;
//>>excludeEnd("ctx");
$1=$recv($2)._isEmpty();
$self._assert_($1);
$3=$recv($self._collection())._keys();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["keys"]=2;
//>>excludeEnd("ctx");
$4=$self._collectionKeys();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collectionKeys"]=1;
//>>excludeEnd("ctx");
$self._assertSameContents_as_($3,$4);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assertSameContents:as:"]=1;
//>>excludeEnd("ctx");
$self._assertSameContents_as_($recv($self._collectionWithNewValue())._keys(),$recv($self._collectionKeys()).__comma([$self._sampleNewIndex()]));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testKeys",{})});
//>>excludeEnd("ctx");
}; }),
$globals.AssociativeCollectionTest);
$core.addMethod(
$core.method({
selector: "testNewFromPairs",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testNewFromPairs\x0a\x22Accept an array in which all odd indexes are keys and evens are values.\x22\x0a| flattenedAssociations |\x0aflattenedAssociations := { 'a'. 1. 'b'. 2 }.\x0aself assertSameContents: ( self class collectionClass newFromPairs: flattenedAssociations ) as: #{ 'a' -> 1. 'b' -> 2 }.",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assertSameContents:as:", "newFromPairs:", "collectionClass", "class"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
var flattenedAssociations;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
flattenedAssociations=["a",(1),"b",(2)];
$self._assertSameContents_as_($recv($recv($self._class())._collectionClass())._newFromPairs_(flattenedAssociations),$globals.HashedCollection._newFromPairs_(["a",(1),"b",(2)]));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testNewFromPairs",{flattenedAssociations:flattenedAssociations})});
//>>excludeEnd("ctx");
}; }),
$globals.AssociativeCollectionTest);
$core.addMethod(
$core.method({
selector: "testPrintString",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testPrintString\x0a\x09self\x0a\x09\x09assert: (self collectionClass new\x0a\x09\x09\x09\x09\x09\x09\x09at:'firstname' put: 'James';\x0a\x09\x09\x09\x09\x09\x09\x09at:'lastname' put: 'Bond';\x0a\x09\x09\x09\x09\x09\x09\x09printString)\x0a\x09\x09equals: 'a ', self collectionClass name, ' (''firstname'' -> ''James'' , ''lastname'' -> ''Bond'')'",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:equals:", "at:put:", "new", "collectionClass", "printString", ",", "name"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $3,$2,$1,$4;
$3=$self._collectionClass();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collectionClass"]=1;
//>>excludeEnd("ctx");
$2=$recv($3)._new();
$recv($2)._at_put_("firstname","James");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["at:put:"]=1;
//>>excludeEnd("ctx");
$recv($2)._at_put_("lastname","Bond");
$1=$recv($2)._printString();
$4=$recv("a ".__comma($recv($self._collectionClass())._name())).__comma(" ('firstname' -> 'James' , 'lastname' -> 'Bond')");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx[","]=1;
//>>excludeEnd("ctx");
$self._assert_equals_($1,$4);
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testPrintString",{})});
//>>excludeEnd("ctx");
}; }),
$globals.AssociativeCollectionTest);
$core.addMethod(
$core.method({
selector: "testRemoveKey",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testRemoveKey\x0a\x09self nonIndexesDo: [ :each |\x0a\x09\x09| collection |\x0a\x09\x09collection := self collection.\x0a\x09\x09self should: [ collection removeKey: each ] raise: Error.\x0a\x09\x09self assert: collection equals: self collection ].\x0a\x09self samplesDo: [ :index :value |\x0a\x09\x09| collection |\x0a\x09\x09collection := self collection.\x0a\x09\x09self assert: (collection removeKey: index) equals: value.\x0a\x09\x09self deny: collection = self collection ].\x0a\x09self\x0a\x09\x09assert: (self collectionWithNewValue removeKey: self sampleNewIndex; yourself)\x0a\x09\x09equals: self collection",
referencedClasses: ["Error"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["nonIndexesDo:", "collection", "should:raise:", "removeKey:", "assert:equals:", "samplesDo:", "deny:", "=", "collectionWithNewValue", "sampleNewIndex", "yourself"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $1,$2,$3,$5,$6,$4,$8,$7;
$self._nonIndexesDo_((function(each){
var collection;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
collection=$self._collection();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx2.sendIdx["collection"]=1;
//>>excludeEnd("ctx");
$self._should_raise_((function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx3) {
//>>excludeEnd("ctx");
return $recv(collection)._removeKey_(each);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx3.sendIdx["removeKey:"]=1;
//>>excludeEnd("ctx");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx3) {$ctx3.fillBlock({},$ctx2,2)});
//>>excludeEnd("ctx");
}),$globals.Error);
$1=collection;
$2=$self._collection();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx2.sendIdx["collection"]=2;
//>>excludeEnd("ctx");
return $self._assert_equals_($1,$2);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx2.sendIdx["assert:equals:"]=1;
//>>excludeEnd("ctx");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({each:each,collection:collection},$ctx1,1)});
//>>excludeEnd("ctx");
}));
$self._samplesDo_((function(index,value){
var collection;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
collection=$self._collection();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx2.sendIdx["collection"]=3;
//>>excludeEnd("ctx");
$3=$recv(collection)._removeKey_(index);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx2.sendIdx["removeKey:"]=2;
//>>excludeEnd("ctx");
$self._assert_equals_($3,value);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx2.sendIdx["assert:equals:"]=2;
//>>excludeEnd("ctx");
$5=collection;
$6=$self._collection();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx2.sendIdx["collection"]=4;
//>>excludeEnd("ctx");
$4=$recv($5).__eq($6);
return $self._deny_($4);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({index:index,value:value,collection:collection},$ctx1,3)});
//>>excludeEnd("ctx");
}));
$8=$self._collectionWithNewValue();
$recv($8)._removeKey_($self._sampleNewIndex());
$7=$recv($8)._yourself();
$self._assert_equals_($7,$self._collection());
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testRemoveKey",{})});
//>>excludeEnd("ctx");
}; }),
$globals.AssociativeCollectionTest);
$core.addMethod(
$core.method({
selector: "testRemoveKeyIfAbsent",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testRemoveKeyIfAbsent\x0a\x09self nonIndexesDo: [ :each |\x0a\x09\x09| collection |\x0a\x09\x09collection := self collection.\x0a\x09\x09self assert: (collection removeKey: each ifAbsent: [ self sampleNewValue ]) equals: self sampleNewValue.\x0a\x09\x09self assert: collection equals: self collection ].\x0a\x09self samplesDo: [ :index :value |\x0a\x09\x09| collection |\x0a\x09\x09collection := self collection.\x0a\x09\x09self assert: (collection removeKey: index ifAbsent: [ self sampleNewValue ]) equals: value.\x0a\x09\x09self deny: collection = self collection ].\x0a\x09self\x0a\x09\x09assert: (self collectionWithNewValue removeKey: self sampleNewIndex ifAbsent: [ self assert: false ]; yourself)\x0a\x09\x09equals: self collection",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["nonIndexesDo:", "collection", "assert:equals:", "removeKey:ifAbsent:", "sampleNewValue", "samplesDo:", "deny:", "=", "collectionWithNewValue", "sampleNewIndex", "assert:", "yourself"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $1,$2,$3,$4,$5,$7,$8,$6,$10,$9;
$self._nonIndexesDo_((function(each){
var collection;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
collection=$self._collection();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx2.sendIdx["collection"]=1;
//>>excludeEnd("ctx");
$1=$recv(collection)._removeKey_ifAbsent_(each,(function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx3) {
//>>excludeEnd("ctx");
return $self._sampleNewValue();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx3.sendIdx["sampleNewValue"]=1;
//>>excludeEnd("ctx");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx3) {$ctx3.fillBlock({},$ctx2,2)});
//>>excludeEnd("ctx");
}));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx2.sendIdx["removeKey:ifAbsent:"]=1;
//>>excludeEnd("ctx");
$2=$self._sampleNewValue();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx2.sendIdx["sampleNewValue"]=2;
//>>excludeEnd("ctx");
$self._assert_equals_($1,$2);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx2.sendIdx["assert:equals:"]=1;
//>>excludeEnd("ctx");
$3=collection;
$4=$self._collection();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx2.sendIdx["collection"]=2;
//>>excludeEnd("ctx");
return $self._assert_equals_($3,$4);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx2.sendIdx["assert:equals:"]=2;
//>>excludeEnd("ctx");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({each:each,collection:collection},$ctx1,1)});
//>>excludeEnd("ctx");
}));
$self._samplesDo_((function(index,value){
var collection;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
collection=$self._collection();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx2.sendIdx["collection"]=3;
//>>excludeEnd("ctx");
$5=$recv(collection)._removeKey_ifAbsent_(index,(function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx3) {
//>>excludeEnd("ctx");
return $self._sampleNewValue();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx3) {$ctx3.fillBlock({},$ctx2,4)});
//>>excludeEnd("ctx");
}));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx2.sendIdx["removeKey:ifAbsent:"]=2;
//>>excludeEnd("ctx");
$self._assert_equals_($5,value);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx2.sendIdx["assert:equals:"]=3;
//>>excludeEnd("ctx");
$7=collection;
$8=$self._collection();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx2.sendIdx["collection"]=4;
//>>excludeEnd("ctx");
$6=$recv($7).__eq($8);
return $self._deny_($6);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({index:index,value:value,collection:collection},$ctx1,3)});
//>>excludeEnd("ctx");
}));
$10=$self._collectionWithNewValue();
$recv($10)._removeKey_ifAbsent_($self._sampleNewIndex(),(function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return $self._assert_(false);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({},$ctx1,5)});
//>>excludeEnd("ctx");
}));
$9=$recv($10)._yourself();
$self._assert_equals_($9,$self._collection());
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testRemoveKeyIfAbsent",{})});
//>>excludeEnd("ctx");
}; }),
$globals.AssociativeCollectionTest);
$core.addMethod(
$core.method({
selector: "testValues",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testValues\x0a\x09self assert:self collectionClass new values isEmpty.\x0a\x09self assertSameContents:self collection values as: self collectionValues.\x0a\x09self assertSameContents:self collectionWithNewValue values as: self collectionValues, { self sampleNewValue }",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:", "isEmpty", "values", "new", "collectionClass", "assertSameContents:as:", "collection", "collectionValues", "collectionWithNewValue", ",", "sampleNewValue"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $2,$1,$3,$4;
$2=$recv($recv($self._collectionClass())._new())._values();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["values"]=1;
//>>excludeEnd("ctx");
$1=$recv($2)._isEmpty();
$self._assert_($1);
$3=$recv($self._collection())._values();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["values"]=2;
//>>excludeEnd("ctx");
$4=$self._collectionValues();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collectionValues"]=1;
//>>excludeEnd("ctx");
$self._assertSameContents_as_($3,$4);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assertSameContents:as:"]=1;
//>>excludeEnd("ctx");
$self._assertSameContents_as_($recv($self._collectionWithNewValue())._values(),$recv($self._collectionValues()).__comma([$self._sampleNewValue()]));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testValues",{})});
//>>excludeEnd("ctx");
}; }),
$globals.AssociativeCollectionTest);
$core.addClass("DictionaryTest", $globals.AssociativeCollectionTest, [], "Kernel-Tests");
$core.addMethod(
$core.method({
selector: "collection",
protocol: "fixture",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "collection\x0a\x09^ Dictionary new\x0a\x09\x09at: 1 put: 1;\x0a\x09\x09at: 'a' put: 2;\x0a\x09\x09at: true put: 3;\x0a\x09\x09at: 1@3 put: -4;\x0a\x09\x09at: sampleBlock put: 9;\x0a\x09\x09yourself",
referencedClasses: ["Dictionary"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["at:put:", "new", "@", "yourself"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $1;
$1=$recv($globals.Dictionary)._new();
$recv($1)._at_put_((1),(1));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["at:put:"]=1;
//>>excludeEnd("ctx");
$recv($1)._at_put_("a",(2));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["at:put:"]=2;
//>>excludeEnd("ctx");
$recv($1)._at_put_(true,(3));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["at:put:"]=3;
//>>excludeEnd("ctx");
$recv($1)._at_put_((1).__at((3)),(-4));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["at:put:"]=4;
//>>excludeEnd("ctx");
$recv($1)._at_put_($self.sampleBlock,(9));
return $recv($1)._yourself();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"collection",{})});
//>>excludeEnd("ctx");
}; }),
$globals.DictionaryTest);
$core.addMethod(
$core.method({
selector: "collectionKeys",
protocol: "fixture",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "collectionKeys\x0a\x09^ {1. 'a'. true. 1@3. sampleBlock}",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["@"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
return [(1),"a",true,(1).__at((3)),$self.sampleBlock];
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"collectionKeys",{})});
//>>excludeEnd("ctx");
}; }),
$globals.DictionaryTest);
$core.addMethod(
$core.method({
selector: "collectionOfPrintStrings",
protocol: "fixture",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "collectionOfPrintStrings\x0a\x09^ Dictionary new\x0a\x09\x09at: 1 put: '1';\x0a\x09\x09at: 'a' put: '2';\x0a\x09\x09at: true put: '3';\x0a\x09\x09at: 1@3 put: '-4';\x0a\x09\x09at: sampleBlock put: '9';\x0a\x09\x09yourself",
referencedClasses: ["Dictionary"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["at:put:", "new", "@", "yourself"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $1;
$1=$recv($globals.Dictionary)._new();
$recv($1)._at_put_((1),"1");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["at:put:"]=1;
//>>excludeEnd("ctx");
$recv($1)._at_put_("a","2");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["at:put:"]=2;
//>>excludeEnd("ctx");
$recv($1)._at_put_(true,"3");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["at:put:"]=3;
//>>excludeEnd("ctx");
$recv($1)._at_put_((1).__at((3)),"-4");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["at:put:"]=4;
//>>excludeEnd("ctx");
$recv($1)._at_put_($self.sampleBlock,"9");
return $recv($1)._yourself();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"collectionOfPrintStrings",{})});
//>>excludeEnd("ctx");
}; }),
$globals.DictionaryTest);
$core.addMethod(
$core.method({
selector: "collectionSize",
protocol: "fixture",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "collectionSize\x0a\x09^ 5",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: []
}, function ($methodClass){ return function (){
var self=this,$self=this;
return (5);
}; }),
$globals.DictionaryTest);
$core.addMethod(
$core.method({
selector: "collectionValues",
protocol: "fixture",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "collectionValues\x0a\x09^ {1. 2. 3. -4. 9}",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: []
}, function ($methodClass){ return function (){
var self=this,$self=this;
return [(1),(2),(3),(-4),(9)];
}; }),
$globals.DictionaryTest);
$core.addMethod(
$core.method({
selector: "collectionWithDuplicates",
protocol: "fixture",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "collectionWithDuplicates\x0a\x09^ Dictionary new\x0a\x09\x09at: 1 put: 1;\x0a\x09\x09at: 'a' put: 2;\x0a\x09\x09at: true put: 3;\x0a\x09\x09at: 4 put: -4;\x0a\x09\x09at: sampleBlock put: 9;\x0a\x09\x09at: 'b' put: 1;\x0a\x09\x09at: 3 put: 3;\x0a\x09\x09at: false put: 12;\x0a\x09\x09yourself",
referencedClasses: ["Dictionary"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["at:put:", "new", "yourself"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $1;
$1=$recv($globals.Dictionary)._new();
$recv($1)._at_put_((1),(1));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["at:put:"]=1;
//>>excludeEnd("ctx");
$recv($1)._at_put_("a",(2));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["at:put:"]=2;
//>>excludeEnd("ctx");
$recv($1)._at_put_(true,(3));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["at:put:"]=3;
//>>excludeEnd("ctx");
$recv($1)._at_put_((4),(-4));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["at:put:"]=4;
//>>excludeEnd("ctx");
$recv($1)._at_put_($self.sampleBlock,(9));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["at:put:"]=5;
//>>excludeEnd("ctx");
$recv($1)._at_put_("b",(1));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["at:put:"]=6;
//>>excludeEnd("ctx");
$recv($1)._at_put_((3),(3));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["at:put:"]=7;
//>>excludeEnd("ctx");
$recv($1)._at_put_(false,(12));
return $recv($1)._yourself();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"collectionWithDuplicates",{})});
//>>excludeEnd("ctx");
}; }),
$globals.DictionaryTest);
$core.addMethod(
$core.method({
selector: "collectionWithNewValue",
protocol: "fixture",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "collectionWithNewValue\x0a\x09^ Dictionary new\x0a\x09\x09at: 1 put: 1;\x0a\x09\x09at: 'a' put: 2;\x0a\x09\x09at: true put: 3;\x0a\x09\x09at: 1@3 put: -4;\x0a\x09\x09at: sampleBlock put: 9;\x0a\x09\x09at: 'new' put: 'N';\x0a\x09\x09yourself",
referencedClasses: ["Dictionary"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["at:put:", "new", "@", "yourself"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $1;
$1=$recv($globals.Dictionary)._new();
$recv($1)._at_put_((1),(1));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["at:put:"]=1;
//>>excludeEnd("ctx");
$recv($1)._at_put_("a",(2));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["at:put:"]=2;
//>>excludeEnd("ctx");
$recv($1)._at_put_(true,(3));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["at:put:"]=3;
//>>excludeEnd("ctx");
$recv($1)._at_put_((1).__at((3)),(-4));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["at:put:"]=4;
//>>excludeEnd("ctx");
$recv($1)._at_put_($self.sampleBlock,(9));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["at:put:"]=5;
//>>excludeEnd("ctx");
$recv($1)._at_put_("new","N");
return $recv($1)._yourself();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"collectionWithNewValue",{})});
//>>excludeEnd("ctx");
}; }),
$globals.DictionaryTest);
$core.addMethod(
$core.method({
selector: "sampleNewValueAsCollection",
protocol: "fixture",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "sampleNewValueAsCollection\x0a\x09^ Dictionary new\x0a\x09\x09at: 'new' put: 'N';\x0a\x09\x09yourself",
referencedClasses: ["Dictionary"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["at:put:", "new", "yourself"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $1;
$1=$recv($globals.Dictionary)._new();
$recv($1)._at_put_("new","N");
return $recv($1)._yourself();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"sampleNewValueAsCollection",{})});
//>>excludeEnd("ctx");
}; }),
$globals.DictionaryTest);
$core.addMethod(
$core.method({
selector: "samplesDo:",
protocol: "fixture",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: ["aBlock"],
source: "samplesDo: aBlock\x0a\x09super samplesDo: aBlock.\x0a\x09aBlock value: true value: 3.\x0a\x09aBlock value: 1@3 value: -4.\x0a\x09aBlock value: sampleBlock value: 9",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["samplesDo:", "value:value:", "@"]
}, function ($methodClass){ return function (aBlock){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
(
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.supercall = true,
//>>excludeEnd("ctx");
($methodClass.superclass||$boot.nilAsClass).fn.prototype._samplesDo_.call($self,aBlock));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.supercall = false;
//>>excludeEnd("ctx");;
$recv(aBlock)._value_value_(true,(3));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["value:value:"]=1;
//>>excludeEnd("ctx");
$recv(aBlock)._value_value_((1).__at((3)),(-4));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["value:value:"]=2;
//>>excludeEnd("ctx");
$recv(aBlock)._value_value_($self.sampleBlock,(9));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"samplesDo:",{aBlock:aBlock})});
//>>excludeEnd("ctx");
}; }),
$globals.DictionaryTest);
$core.addMethod(
$core.method({
selector: "testAccessing",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testAccessing\x0a\x09| d |\x0a\x0a\x09d := Dictionary new.\x0a\x0a\x09d at: 'hello' put: 'world'.\x0a\x09self assert: (d at: 'hello') equals: 'world'.\x0a\x09self assert: (d at: 'hello' ifAbsent: [ nil ]) equals: 'world'.\x0a\x09self deny: (d at: 'foo' ifAbsent: [ nil ]) = 'world'.\x0a\x0a\x09self assert: (d includesKey: 'hello').\x0a\x09self deny: (d includesKey: 'foo').\x0a\x0a\x09d at: 1 put: 2.\x0a\x09self assert: (d at: 1) equals: 2.\x0a\x0a\x09d at: 1@3 put: 3.\x0a\x09self assert: (d at: 1@3) equals: 3.\x0a\x0a\x09self assert: (d includesKey: 1@3).\x0a\x09self deny: (d includesKey: 3@1)",
referencedClasses: ["Dictionary"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["new", "at:put:", "assert:equals:", "at:", "at:ifAbsent:", "deny:", "=", "assert:", "includesKey:", "@"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
var d;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $1,$2,$3,$4,$5,$6,$7,$9,$10,$8,$12,$13,$11;
d=$recv($globals.Dictionary)._new();
$recv(d)._at_put_("hello","world");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["at:put:"]=1;
//>>excludeEnd("ctx");
$1=$recv(d)._at_("hello");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["at:"]=1;
//>>excludeEnd("ctx");
$self._assert_equals_($1,"world");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=1;
//>>excludeEnd("ctx");
$2=$recv(d)._at_ifAbsent_("hello",(function(){
return nil;
}));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["at:ifAbsent:"]=1;
//>>excludeEnd("ctx");
$self._assert_equals_($2,"world");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=2;
//>>excludeEnd("ctx");
$self._deny_($recv($recv(d)._at_ifAbsent_("foo",(function(){
return nil;
}))).__eq("world"));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["deny:"]=1;
//>>excludeEnd("ctx");
$3=$recv(d)._includesKey_("hello");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["includesKey:"]=1;
//>>excludeEnd("ctx");
$self._assert_($3);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:"]=1;
//>>excludeEnd("ctx");
$4=$recv(d)._includesKey_("foo");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["includesKey:"]=2;
//>>excludeEnd("ctx");
$self._deny_($4);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["deny:"]=2;
//>>excludeEnd("ctx");
$recv(d)._at_put_((1),(2));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["at:put:"]=2;
//>>excludeEnd("ctx");
$5=$recv(d)._at_((1));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["at:"]=2;
//>>excludeEnd("ctx");
$self._assert_equals_($5,(2));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=3;
//>>excludeEnd("ctx");
$6=d;
$7=(1).__at((3));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["@"]=1;
//>>excludeEnd("ctx");
$recv($6)._at_put_($7,(3));
$9=d;
$10=(1).__at((3));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["@"]=2;
//>>excludeEnd("ctx");
$8=$recv($9)._at_($10);
$self._assert_equals_($8,(3));
$12=d;
$13=(1).__at((3));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["@"]=3;
//>>excludeEnd("ctx");
$11=$recv($12)._includesKey_($13);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["includesKey:"]=3;
//>>excludeEnd("ctx");
$self._assert_($11);
$self._deny_($recv(d)._includesKey_((3).__at((1))));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testAccessing",{d:d})});
//>>excludeEnd("ctx");
}; }),
$globals.DictionaryTest);
$core.addMethod(
$core.method({
selector: "testDynamicDictionaries",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testDynamicDictionaries\x0a\x09self assert: #{'hello' -> 1} asDictionary equals: (Dictionary with: 'hello' -> 1)",
referencedClasses: ["Dictionary"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:equals:", "asDictionary", "with:", "->"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
$self._assert_equals_($recv($globals.HashedCollection._newFromPairs_(["hello",(1)]))._asDictionary(),$recv($globals.Dictionary)._with_("hello".__minus_gt((1))));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testDynamicDictionaries",{})});
//>>excludeEnd("ctx");
}; }),
$globals.DictionaryTest);
$core.addMethod(
$core.method({
selector: "collectionClass",
protocol: "fixture",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "collectionClass\x0a\x09^ Dictionary",
referencedClasses: ["Dictionary"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: []
}, function ($methodClass){ return function (){
var self=this,$self=this;
return $globals.Dictionary;
}; }),
$globals.DictionaryTest.a$cls);
$core.addClass("HashedCollectionTest", $globals.AssociativeCollectionTest, [], "Kernel-Tests");
$core.addMethod(
$core.method({
selector: "collection",
protocol: "fixture",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "collection\x0a\x09^ #{ 'b' -> 1. 'a' -> 2. 'c' -> 3. 'd' -> -4 }",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: []
}, function ($methodClass){ return function (){
var self=this,$self=this;
return $globals.HashedCollection._newFromPairs_(["b",(1),"a",(2),"c",(3),"d",(-4)]);
}; }),
$globals.HashedCollectionTest);
$core.addMethod(
$core.method({
selector: "collectionKeys",
protocol: "fixture",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "collectionKeys\x0a\x09^ { 'b'. 'a'. 'c'. 'd' }",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: []
}, function ($methodClass){ return function (){
var self=this,$self=this;
return ["b","a","c","d"];
}; }),
$globals.HashedCollectionTest);
$core.addMethod(
$core.method({
selector: "collectionOfPrintStrings",
protocol: "fixture",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "collectionOfPrintStrings\x0a\x09^ #{ 'b' -> '1'. 'a' -> '2'. 'c' -> '3'. 'd' -> '-4' }",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: []
}, function ($methodClass){ return function (){
var self=this,$self=this;
return $globals.HashedCollection._newFromPairs_(["b","1","a","2","c","3","d","-4"]);
}; }),
$globals.HashedCollectionTest);
$core.addMethod(
$core.method({
selector: "collectionSize",
protocol: "fixture",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "collectionSize\x0a\x09^ 4",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: []
}, function ($methodClass){ return function (){
var self=this,$self=this;
return (4);
}; }),
$globals.HashedCollectionTest);
$core.addMethod(
$core.method({
selector: "collectionValues",
protocol: "fixture",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "collectionValues\x0a\x09^ { 1. 2. 3. -4 }",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: []
}, function ($methodClass){ return function (){
var self=this,$self=this;
return [(1),(2),(3),(-4)];
}; }),
$globals.HashedCollectionTest);
$core.addMethod(
$core.method({
selector: "collectionWithDuplicates",
protocol: "fixture",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "collectionWithDuplicates\x0a\x09^ #{ 'b' -> 1. 'a' -> 2. 'c' -> 3. 'd' -> -4. 'e' -> 1. 'f' -> 2. 'g' -> 10. 'h' -> 0 }",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: []
}, function ($methodClass){ return function (){
var self=this,$self=this;
return $globals.HashedCollection._newFromPairs_(["b",(1),"a",(2),"c",(3),"d",(-4),"e",(1),"f",(2),"g",(10),"h",(0)]);
}; }),
$globals.HashedCollectionTest);
$core.addMethod(
$core.method({
selector: "collectionWithNewValue",
protocol: "fixture",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "collectionWithNewValue\x0a\x09^ #{ 'b' -> 1. 'a' -> 2. 'c' -> 3. 'd' -> -4. 'new' -> 'N' }",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: []
}, function ($methodClass){ return function (){
var self=this,$self=this;
return $globals.HashedCollection._newFromPairs_(["b",(1),"a",(2),"c",(3),"d",(-4),"new","N"]);
}; }),
$globals.HashedCollectionTest);
$core.addMethod(
$core.method({
selector: "sampleNewValueAsCollection",
protocol: "fixture",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "sampleNewValueAsCollection\x0a\x09^ #{ 'new' -> 'N' }",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: []
}, function ($methodClass){ return function (){
var self=this,$self=this;
return $globals.HashedCollection._newFromPairs_(["new","N"]);
}; }),
$globals.HashedCollectionTest);
$core.addMethod(
$core.method({
selector: "testDynamicDictionaries",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testDynamicDictionaries\x0a\x09self assert: #{'hello' -> 1} asHashedCollection equals: (HashedCollection with: 'hello' -> 1)",
referencedClasses: ["HashedCollection"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:equals:", "asHashedCollection", "with:", "->"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
$self._assert_equals_($recv($globals.HashedCollection._newFromPairs_(["hello",(1)]))._asHashedCollection(),$recv($globals.HashedCollection)._with_("hello".__minus_gt((1))));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testDynamicDictionaries",{})});
//>>excludeEnd("ctx");
}; }),
$globals.HashedCollectionTest);
$core.addMethod(
$core.method({
selector: "collectionClass",
protocol: "fixture",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "collectionClass\x0a\x09^ HashedCollection",
referencedClasses: ["HashedCollection"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: []
}, function ($methodClass){ return function (){
var self=this,$self=this;
return $globals.HashedCollection;
}; }),
$globals.HashedCollectionTest.a$cls);
$core.addClass("SequenceableCollectionTest", $globals.CollectionTest, [], "Kernel-Tests");
$core.addMethod(
$core.method({
selector: "collectionFirst",
protocol: "fixture",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "collectionFirst\x0a\x09self subclassResponsibility",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["subclassResponsibility"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
$self._subclassResponsibility();
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"collectionFirst",{})});
//>>excludeEnd("ctx");
}; }),
$globals.SequenceableCollectionTest);
$core.addMethod(
$core.method({
selector: "collectionFirstTwo",
protocol: "fixture",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "collectionFirstTwo\x0a\x09self subclassResponsibility",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["subclassResponsibility"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
$self._subclassResponsibility();
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"collectionFirstTwo",{})});
//>>excludeEnd("ctx");
}; }),
$globals.SequenceableCollectionTest);
$core.addMethod(
$core.method({
selector: "collectionLast",
protocol: "fixture",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "collectionLast\x0a\x09self subclassResponsibility",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["subclassResponsibility"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
$self._subclassResponsibility();
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"collectionLast",{})});
//>>excludeEnd("ctx");
}; }),
$globals.SequenceableCollectionTest);
$core.addMethod(
$core.method({
selector: "collectionLastTwo",
protocol: "fixture",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "collectionLastTwo\x0a\x09self subclassResponsibility",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["subclassResponsibility"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
$self._subclassResponsibility();
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"collectionLastTwo",{})});
//>>excludeEnd("ctx");
}; }),
$globals.SequenceableCollectionTest);
$core.addMethod(
$core.method({
selector: "nonIndexesDo:",
protocol: "fixture",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: ["aBlock"],
source: "nonIndexesDo: aBlock\x0a\x09aBlock value: 0.\x0a\x09aBlock value: self collectionSize + 1.\x0a\x09aBlock value: 'z'",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["value:", "+", "collectionSize"]
}, function ($methodClass){ return function (aBlock){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
$recv(aBlock)._value_((0));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["value:"]=1;
//>>excludeEnd("ctx");
$recv(aBlock)._value_($recv($self._collectionSize()).__plus((1)));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["value:"]=2;
//>>excludeEnd("ctx");
$recv(aBlock)._value_("z");
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"nonIndexesDo:",{aBlock:aBlock})});
//>>excludeEnd("ctx");
}; }),
$globals.SequenceableCollectionTest);
$core.addMethod(
$core.method({
selector: "samplesDo:",
protocol: "fixture",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: ["aBlock"],
source: "samplesDo: aBlock\x0a\x09aBlock value: 1 value: self collectionFirst.\x0a\x09aBlock value: self collectionSize value: self collectionLast",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["value:value:", "collectionFirst", "collectionSize", "collectionLast"]
}, function ($methodClass){ return function (aBlock){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
$recv(aBlock)._value_value_((1),$self._collectionFirst());
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["value:value:"]=1;
//>>excludeEnd("ctx");
$recv(aBlock)._value_value_($self._collectionSize(),$self._collectionLast());
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"samplesDo:",{aBlock:aBlock})});
//>>excludeEnd("ctx");
}; }),
$globals.SequenceableCollectionTest);
$core.addMethod(
$core.method({
selector: "testBeginsWith",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testBeginsWith\x0a\x09self assert: (self collection beginsWith: self collectionClass new).\x0a\x09self assert: (self collection beginsWith: self collection).\x0a\x09self assert: (self collection beginsWith: self collectionFirstTwo).\x0a\x09self deny: (self collection beginsWith: self collectionLastTwo)",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:", "beginsWith:", "collection", "new", "collectionClass", "collectionFirstTwo", "deny:", "collectionLastTwo"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $2,$1,$4,$5,$3,$7,$6;
$2=$self._collection();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collection"]=1;
//>>excludeEnd("ctx");
$1=$recv($2)._beginsWith_($recv($self._collectionClass())._new());
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["beginsWith:"]=1;
//>>excludeEnd("ctx");
$self._assert_($1);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:"]=1;
//>>excludeEnd("ctx");
$4=$self._collection();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collection"]=2;
//>>excludeEnd("ctx");
$5=$self._collection();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collection"]=3;
//>>excludeEnd("ctx");
$3=$recv($4)._beginsWith_($5);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["beginsWith:"]=2;
//>>excludeEnd("ctx");
$self._assert_($3);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:"]=2;
//>>excludeEnd("ctx");
$7=$self._collection();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collection"]=4;
//>>excludeEnd("ctx");
$6=$recv($7)._beginsWith_($self._collectionFirstTwo());
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["beginsWith:"]=3;
//>>excludeEnd("ctx");
$self._assert_($6);
$self._deny_($recv($self._collection())._beginsWith_($self._collectionLastTwo()));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testBeginsWith",{})});
//>>excludeEnd("ctx");
}; }),
$globals.SequenceableCollectionTest);
$core.addMethod(
$core.method({
selector: "testEndsWith",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testEndsWith\x0a\x09self assert: (self collection endsWith: self collectionClass new).\x0a\x09self assert: (self collection endsWith: self collection).\x0a\x09self assert: (self collection endsWith: self collectionLastTwo).\x0a\x09self deny: (self collection endsWith: self collectionFirstTwo)",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:", "endsWith:", "collection", "new", "collectionClass", "collectionLastTwo", "deny:", "collectionFirstTwo"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $2,$1,$4,$5,$3,$7,$6;
$2=$self._collection();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collection"]=1;
//>>excludeEnd("ctx");
$1=$recv($2)._endsWith_($recv($self._collectionClass())._new());
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["endsWith:"]=1;
//>>excludeEnd("ctx");
$self._assert_($1);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:"]=1;
//>>excludeEnd("ctx");
$4=$self._collection();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collection"]=2;
//>>excludeEnd("ctx");
$5=$self._collection();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collection"]=3;
//>>excludeEnd("ctx");
$3=$recv($4)._endsWith_($5);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["endsWith:"]=2;
//>>excludeEnd("ctx");
$self._assert_($3);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:"]=2;
//>>excludeEnd("ctx");
$7=$self._collection();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collection"]=4;
//>>excludeEnd("ctx");
$6=$recv($7)._endsWith_($self._collectionLastTwo());
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["endsWith:"]=3;
//>>excludeEnd("ctx");
$self._assert_($6);
$self._deny_($recv($self._collection())._endsWith_($self._collectionFirstTwo()));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testEndsWith",{})});
//>>excludeEnd("ctx");
}; }),
$globals.SequenceableCollectionTest);
$core.addMethod(
$core.method({
selector: "testFirst",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testFirst\x0a\x09self assert: self collection first equals: self collectionFirst",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:equals:", "first", "collection", "collectionFirst"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
$self._assert_equals_($recv($self._collection())._first(),$self._collectionFirst());
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testFirst",{})});
//>>excludeEnd("ctx");
}; }),
$globals.SequenceableCollectionTest);
$core.addMethod(
$core.method({
selector: "testFirstN",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testFirstN\x0a\x09self \x0a\x09\x09assert: (self collection first: 2)\x0a\x09\x09equals: self collectionFirstTwo.\x0a\x09\x09\x0a\x09self\x0a\x09\x09assert: (self collection first: 0)\x0a\x09\x09equals: self collectionClass new.\x0a\x09\x09\x0a\x09self\x0a\x09\x09assert: (self collection first: self collectionSize)\x0a\x09\x09equals: self collection.\x0a\x09\x09\x0a\x09self should: [ self collection first: 33 ] raise: Error",
referencedClasses: ["Error"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:equals:", "first:", "collection", "collectionFirstTwo", "new", "collectionClass", "collectionSize", "should:raise:"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $2,$1,$4,$3,$6,$5,$7;
$2=$self._collection();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collection"]=1;
//>>excludeEnd("ctx");
$1=$recv($2)._first_((2));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["first:"]=1;
//>>excludeEnd("ctx");
$self._assert_equals_($1,$self._collectionFirstTwo());
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=1;
//>>excludeEnd("ctx");
$4=$self._collection();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collection"]=2;
//>>excludeEnd("ctx");
$3=$recv($4)._first_((0));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["first:"]=2;
//>>excludeEnd("ctx");
$self._assert_equals_($3,$recv($self._collectionClass())._new());
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=2;
//>>excludeEnd("ctx");
$6=$self._collection();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collection"]=3;
//>>excludeEnd("ctx");
$5=$recv($6)._first_($self._collectionSize());
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["first:"]=3;
//>>excludeEnd("ctx");
$7=$self._collection();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collection"]=4;
//>>excludeEnd("ctx");
$self._assert_equals_($5,$7);
$self._should_raise_((function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return $recv($self._collection())._first_((33));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({},$ctx1,1)});
//>>excludeEnd("ctx");
}),$globals.Error);
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testFirstN",{})});
//>>excludeEnd("ctx");
}; }),
$globals.SequenceableCollectionTest);
$core.addMethod(
$core.method({
selector: "testFourth",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testFourth\x0a\x09self assert: (self collection fourth) equals: (self collection at: 4)",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:equals:", "fourth", "collection", "at:"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $2,$1;
$2=$self._collection();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collection"]=1;
//>>excludeEnd("ctx");
$1=$recv($2)._fourth();
$self._assert_equals_($1,$recv($self._collection())._at_((4)));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testFourth",{})});
//>>excludeEnd("ctx");
}; }),
$globals.SequenceableCollectionTest);
$core.addMethod(
$core.method({
selector: "testIndexOfStartingAt",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testIndexOfStartingAt\x0a\x09| jsNull |\x0a\x09jsNull := JSON parse: 'null'.\x0a\x09self samplesDo: [ :index :value |\x0a\x09\x09self assert: (self collection indexOf: value startingAt: 1) equals: index.\x0a\x09\x09self assert: (self collection indexOf: value startingAt: index) equals: index.\x0a\x09\x09self assert: (self collection indexOf: value startingAt: index+1) equals: 0 ]",
referencedClasses: ["JSON"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["parse:", "samplesDo:", "assert:equals:", "indexOf:startingAt:", "collection", "+"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
var jsNull;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $2,$1,$4,$3;
jsNull=$recv($globals.JSON)._parse_("null");
$self._samplesDo_((function(index,value){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
$2=$self._collection();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx2.sendIdx["collection"]=1;
//>>excludeEnd("ctx");
$1=$recv($2)._indexOf_startingAt_(value,(1));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx2.sendIdx["indexOf:startingAt:"]=1;
//>>excludeEnd("ctx");
$self._assert_equals_($1,index);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx2.sendIdx["assert:equals:"]=1;
//>>excludeEnd("ctx");
$4=$self._collection();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx2.sendIdx["collection"]=2;
//>>excludeEnd("ctx");
$3=$recv($4)._indexOf_startingAt_(value,index);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx2.sendIdx["indexOf:startingAt:"]=2;
//>>excludeEnd("ctx");
$self._assert_equals_($3,index);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx2.sendIdx["assert:equals:"]=2;
//>>excludeEnd("ctx");
return $self._assert_equals_($recv($self._collection())._indexOf_startingAt_(value,$recv(index).__plus((1))),(0));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({index:index,value:value},$ctx1,1)});
//>>excludeEnd("ctx");
}));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testIndexOfStartingAt",{jsNull:jsNull})});
//>>excludeEnd("ctx");
}; }),
$globals.SequenceableCollectionTest);
$core.addMethod(
$core.method({
selector: "testIndexOfStartingAtWithNull",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testIndexOfStartingAtWithNull\x0a\x09| jsNull |\x0a\x09jsNull := JSON parse: 'null'.\x0a\x09self samplesDo: [ :index :value | | collection |\x0a\x09\x09collection := self collection.\x0a\x09\x09collection at: index put: jsNull.\x0a\x09\x09self assert: (collection indexOf: jsNull startingAt: 1) equals: index.\x0a\x09\x09self assert: (collection indexOf: jsNull startingAt: index) equals: index.\x0a\x09\x09self assert: (collection indexOf: jsNull startingAt: index+1) equals: 0 ]",
referencedClasses: ["JSON"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["parse:", "samplesDo:", "collection", "at:put:", "assert:equals:", "indexOf:startingAt:", "+"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
var jsNull;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $1,$2;
jsNull=$recv($globals.JSON)._parse_("null");
$self._samplesDo_((function(index,value){
var collection;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
collection=$self._collection();
$recv(collection)._at_put_(index,jsNull);
$1=$recv(collection)._indexOf_startingAt_(jsNull,(1));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx2.sendIdx["indexOf:startingAt:"]=1;
//>>excludeEnd("ctx");
$self._assert_equals_($1,index);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx2.sendIdx["assert:equals:"]=1;
//>>excludeEnd("ctx");
$2=$recv(collection)._indexOf_startingAt_(jsNull,index);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx2.sendIdx["indexOf:startingAt:"]=2;
//>>excludeEnd("ctx");
$self._assert_equals_($2,index);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx2.sendIdx["assert:equals:"]=2;
//>>excludeEnd("ctx");
return $self._assert_equals_($recv(collection)._indexOf_startingAt_(jsNull,$recv(index).__plus((1))),(0));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({index:index,value:value,collection:collection},$ctx1,1)});
//>>excludeEnd("ctx");
}));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testIndexOfStartingAtWithNull",{jsNull:jsNull})});
//>>excludeEnd("ctx");
}; }),
$globals.SequenceableCollectionTest);
$core.addMethod(
$core.method({
selector: "testLast",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testLast\x0a\x09self assert: self collection last equals: self collectionLast",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:equals:", "last", "collection", "collectionLast"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
$self._assert_equals_($recv($self._collection())._last(),$self._collectionLast());
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testLast",{})});
//>>excludeEnd("ctx");
}; }),
$globals.SequenceableCollectionTest);
$core.addMethod(
$core.method({
selector: "testLastN",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testLastN\x0a\x09self \x0a\x09\x09assert: (self collection last: 2) \x0a\x09\x09equals: self collectionLastTwo.\x0a\x09\x09\x0a\x09self\x0a\x09\x09assert: (self collection last: 0)\x0a\x09\x09equals: self collectionClass new.\x0a\x0a\x09self\x0a\x09\x09assert: (self collection last: self collectionSize)\x0a\x09\x09equals: self collection.\x0a\x0a\x09self should: [ self collection last: 33 ] raise: Error",
referencedClasses: ["Error"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:equals:", "last:", "collection", "collectionLastTwo", "new", "collectionClass", "collectionSize", "should:raise:"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $2,$1,$4,$3,$6,$5,$7;
$2=$self._collection();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collection"]=1;
//>>excludeEnd("ctx");
$1=$recv($2)._last_((2));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["last:"]=1;
//>>excludeEnd("ctx");
$self._assert_equals_($1,$self._collectionLastTwo());
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=1;
//>>excludeEnd("ctx");
$4=$self._collection();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collection"]=2;
//>>excludeEnd("ctx");
$3=$recv($4)._last_((0));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["last:"]=2;
//>>excludeEnd("ctx");
$self._assert_equals_($3,$recv($self._collectionClass())._new());
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=2;
//>>excludeEnd("ctx");
$6=$self._collection();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collection"]=3;
//>>excludeEnd("ctx");
$5=$recv($6)._last_($self._collectionSize());
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["last:"]=3;
//>>excludeEnd("ctx");
$7=$self._collection();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collection"]=4;
//>>excludeEnd("ctx");
$self._assert_equals_($5,$7);
$self._should_raise_((function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return $recv($self._collection())._last_((33));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({},$ctx1,1)});
//>>excludeEnd("ctx");
}),$globals.Error);
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testLastN",{})});
//>>excludeEnd("ctx");
}; }),
$globals.SequenceableCollectionTest);
$core.addMethod(
$core.method({
selector: "testSecond",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testSecond\x0a\x09self assert: (self collection second) equals: (self collection at: 2)",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:equals:", "second", "collection", "at:"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $2,$1;
$2=$self._collection();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collection"]=1;
//>>excludeEnd("ctx");
$1=$recv($2)._second();
$self._assert_equals_($1,$recv($self._collection())._at_((2)));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testSecond",{})});
//>>excludeEnd("ctx");
}; }),
$globals.SequenceableCollectionTest);
$core.addMethod(
$core.method({
selector: "testThird",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testThird\x0a\x09self assert: (self collection third) equals: (self collection at: 3)",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:equals:", "third", "collection", "at:"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $2,$1;
$2=$self._collection();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collection"]=1;
//>>excludeEnd("ctx");
$1=$recv($2)._third();
$self._assert_equals_($1,$recv($self._collection())._at_((3)));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testThird",{})});
//>>excludeEnd("ctx");
}; }),
$globals.SequenceableCollectionTest);
$core.addClass("ArrayTest", $globals.SequenceableCollectionTest, [], "Kernel-Tests");
$core.addMethod(
$core.method({
selector: "collection",
protocol: "fixture",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "collection\x0a\x09^ #(1 2 3 -4)",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: []
}, function ($methodClass){ return function (){
var self=this,$self=this;
return [(1), (2), (3), (-4)];
}; }),
$globals.ArrayTest);
$core.addMethod(
$core.method({
selector: "collectionFirst",
protocol: "fixture",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "collectionFirst\x0a\x09^ 1",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: []
}, function ($methodClass){ return function (){
var self=this,$self=this;
return (1);
}; }),
$globals.ArrayTest);
$core.addMethod(
$core.method({
selector: "collectionFirstTwo",
protocol: "fixture",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "collectionFirstTwo\x0a\x09^ #(1 2)",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: []
}, function ($methodClass){ return function (){
var self=this,$self=this;
return [(1), (2)];
}; }),
$globals.ArrayTest);
$core.addMethod(
$core.method({
selector: "collectionLast",
protocol: "fixture",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "collectionLast\x0a\x09^ -4",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: []
}, function ($methodClass){ return function (){
var self=this,$self=this;
return (-4);
}; }),
$globals.ArrayTest);
$core.addMethod(
$core.method({
selector: "collectionLastTwo",
protocol: "fixture",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "collectionLastTwo\x0a\x09^ #(3 -4)",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: []
}, function ($methodClass){ return function (){
var self=this,$self=this;
return [(3), (-4)];
}; }),
$globals.ArrayTest);
$core.addMethod(
$core.method({
selector: "collectionOfPrintStrings",
protocol: "fixture",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "collectionOfPrintStrings\x0a\x09^ #('1' '2' '3' '-4')",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: []
}, function ($methodClass){ return function (){
var self=this,$self=this;
return ["1", "2", "3", "-4"];
}; }),
$globals.ArrayTest);
$core.addMethod(
$core.method({
selector: "collectionSize",
protocol: "fixture",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "collectionSize\x0a\x09^ 4",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: []
}, function ($methodClass){ return function (){
var self=this,$self=this;
return (4);
}; }),
$globals.ArrayTest);
$core.addMethod(
$core.method({
selector: "collectionWithDuplicates",
protocol: "fixture",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "collectionWithDuplicates\x0a\x09^ #('a' 'b' 'c' 1 2 1 'a' ())",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: []
}, function ($methodClass){ return function (){
var self=this,$self=this;
return ["a", "b", "c", (1), (2), (1), "a", []];
}; }),
$globals.ArrayTest);
$core.addMethod(
$core.method({
selector: "collectionWithNewValue",
protocol: "fixture",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "collectionWithNewValue\x0a\x09^ #(1 2 3 -4 'N')",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: []
}, function ($methodClass){ return function (){
var self=this,$self=this;
return [(1), (2), (3), (-4), "N"];
}; }),
$globals.ArrayTest);
$core.addMethod(
$core.method({
selector: "sampleNewIndex",
protocol: "fixture",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "sampleNewIndex\x0a\x09^ 5",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: []
}, function ($methodClass){ return function (){
var self=this,$self=this;
return (5);
}; }),
$globals.ArrayTest);
$core.addMethod(
$core.method({
selector: "samplesDo:",
protocol: "fixture",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: ["aBlock"],
source: "samplesDo: aBlock\x0a\x09super samplesDo: aBlock.\x0a\x09aBlock value: 3 value: 3.",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["samplesDo:", "value:value:"]
}, function ($methodClass){ return function (aBlock){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
(
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.supercall = true,
//>>excludeEnd("ctx");
($methodClass.superclass||$boot.nilAsClass).fn.prototype._samplesDo_.call($self,aBlock));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.supercall = false;
//>>excludeEnd("ctx");;
$recv(aBlock)._value_value_((3),(3));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"samplesDo:",{aBlock:aBlock})});
//>>excludeEnd("ctx");
}; }),
$globals.ArrayTest);
$core.addMethod(
$core.method({
selector: "testAdd",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testAdd \x0a\x09| array | \x0a\x09array := self collection. \x0a\x09array add: 6.\x0a\x09\x0a\x09self assert: array last equals: 6",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["collection", "add:", "assert:equals:", "last"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
var array;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
array=$self._collection();
$recv(array)._add_((6));
$self._assert_equals_($recv(array)._last(),(6));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testAdd",{array:array})});
//>>excludeEnd("ctx");
}; }),
$globals.ArrayTest);
$core.addMethod(
$core.method({
selector: "testAddFirst",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testAddFirst\x0a\x09self assert: (self collection addFirst: 0; yourself) first equals: 0",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:equals:", "first", "addFirst:", "collection", "yourself"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $3,$2,$1;
$3=$self._collection();
$recv($3)._addFirst_((0));
$2=$recv($3)._yourself();
$1=$recv($2)._first();
$self._assert_equals_($1,(0));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testAddFirst",{})});
//>>excludeEnd("ctx");
}; }),
$globals.ArrayTest);
$core.addMethod(
$core.method({
selector: "testPrintString",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testPrintString\x0a\x09| array |\x0a\x09array := Array new.\x0a\x09self assert: array printString equals: 'an Array ()'.\x0a\x09array add: 1; add: 3.\x0a\x09self assert: array printString equals: 'an Array (1 3)'.\x0a\x09array add: 'foo'.\x0a\x09self assert: array printString equals: 'an Array (1 3 ''foo'')'.\x0a\x09array remove: 1; remove: 3.\x0a\x09self assert: array printString equals: 'an Array (''foo'')'.\x0a\x09array addLast: 3.\x0a\x09self assert: array printString equals: 'an Array (''foo'' 3)'.\x0a\x09array addLast: 3.\x0a\x09self assert: array printString equals: 'an Array (''foo'' 3 3)'.",
referencedClasses: ["Array"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["new", "assert:equals:", "printString", "add:", "remove:", "addLast:"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
var array;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $1,$2,$3,$4,$5,$6,$7;
array=$recv($globals.Array)._new();
$1=$recv(array)._printString();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["printString"]=1;
//>>excludeEnd("ctx");
$self._assert_equals_($1,"an Array ()");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=1;
//>>excludeEnd("ctx");
$2=array;
$recv($2)._add_((1));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["add:"]=1;
//>>excludeEnd("ctx");
$recv($2)._add_((3));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["add:"]=2;
//>>excludeEnd("ctx");
$3=$recv(array)._printString();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["printString"]=2;
//>>excludeEnd("ctx");
$self._assert_equals_($3,"an Array (1 3)");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=2;
//>>excludeEnd("ctx");
$recv(array)._add_("foo");
$4=$recv(array)._printString();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["printString"]=3;
//>>excludeEnd("ctx");
$self._assert_equals_($4,"an Array (1 3 'foo')");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=3;
//>>excludeEnd("ctx");
$5=array;
$recv($5)._remove_((1));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["remove:"]=1;
//>>excludeEnd("ctx");
$recv($5)._remove_((3));
$6=$recv(array)._printString();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["printString"]=4;
//>>excludeEnd("ctx");
$self._assert_equals_($6,"an Array ('foo')");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=4;
//>>excludeEnd("ctx");
$recv(array)._addLast_((3));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["addLast:"]=1;
//>>excludeEnd("ctx");
$7=$recv(array)._printString();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["printString"]=5;
//>>excludeEnd("ctx");
$self._assert_equals_($7,"an Array ('foo' 3)");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=5;
//>>excludeEnd("ctx");
$recv(array)._addLast_((3));
$self._assert_equals_($recv(array)._printString(),"an Array ('foo' 3 3)");
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testPrintString",{array:array})});
//>>excludeEnd("ctx");
}; }),
$globals.ArrayTest);
$core.addMethod(
$core.method({
selector: "testRemove",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testRemove \x0a\x09| array |\x0a\x09array := #(1 2 3 4 5). \x0a\x09array remove: 3.\x0a\x0a\x09self assert: array equals: #(1 2 4 5).\x0a\x09self should: [ array remove: 3 ] raise: Error",
referencedClasses: ["Error"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["remove:", "assert:equals:", "should:raise:"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
var array;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
array=[(1), (2), (3), (4), (5)];
$recv(array)._remove_((3));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["remove:"]=1;
//>>excludeEnd("ctx");
$self._assert_equals_(array,[(1), (2), (4), (5)]);
$self._should_raise_((function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return $recv(array)._remove_((3));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({},$ctx1,1)});
//>>excludeEnd("ctx");
}),$globals.Error);
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testRemove",{array:array})});
//>>excludeEnd("ctx");
}; }),
$globals.ArrayTest);
$core.addMethod(
$core.method({
selector: "testRemoveFromTo",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testRemoveFromTo\x0a\x09\x0a\x09self assert: (#(1 2 3 4) removeFrom: 1 to: 3) equals: #(4).\x0a\x09self assert: (#(1 2 3 4) removeFrom: 2 to: 3) equals: #(1 4).\x0a\x09self assert: (#(1 2 3 4) removeFrom: 2 to: 4) equals: #(1)",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:equals:", "removeFrom:to:"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $1,$2;
$1=[(1), (2), (3), (4)]._removeFrom_to_((1),(3));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["removeFrom:to:"]=1;
//>>excludeEnd("ctx");
$self._assert_equals_($1,[(4)]);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=1;
//>>excludeEnd("ctx");
$2=[(1), (2), (3), (4)]._removeFrom_to_((2),(3));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["removeFrom:to:"]=2;
//>>excludeEnd("ctx");
$self._assert_equals_($2,[(1), (4)]);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=2;
//>>excludeEnd("ctx");
$self._assert_equals_([(1), (2), (3), (4)]._removeFrom_to_((2),(4)),[(1)]);
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testRemoveFromTo",{})});
//>>excludeEnd("ctx");
}; }),
$globals.ArrayTest);
$core.addMethod(
$core.method({
selector: "testRemoveIndex",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testRemoveIndex\x0a\x09\x0a\x09self assert: (#(1 2 3 4) removeIndex: 2) equals: #(1 3 4).\x0a\x09self assert: (#(1 2 3 4) removeIndex: 1) equals: #(2 3 4).\x0a\x09self assert: (#('hello') removeIndex: 1) equals: #()",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:equals:", "removeIndex:"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $1,$2;
$1=[(1), (2), (3), (4)]._removeIndex_((2));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["removeIndex:"]=1;
//>>excludeEnd("ctx");
$self._assert_equals_($1,[(1), (3), (4)]);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=1;
//>>excludeEnd("ctx");
$2=[(1), (2), (3), (4)]._removeIndex_((1));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["removeIndex:"]=2;
//>>excludeEnd("ctx");
$self._assert_equals_($2,[(2), (3), (4)]);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=2;
//>>excludeEnd("ctx");
$self._assert_equals_(["hello"]._removeIndex_((1)),[]);
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testRemoveIndex",{})});
//>>excludeEnd("ctx");
}; }),
$globals.ArrayTest);
$core.addMethod(
$core.method({
selector: "testRemoveLast",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testRemoveLast \x0a\x09| array |\x0a\x09array := #(1 2). \x0a\x09array removeLast.\x0a\x09\x0a\x09self assert: array last equals: 1",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["removeLast", "assert:equals:", "last"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
var array;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
array=[(1), (2)];
$recv(array)._removeLast();
$self._assert_equals_($recv(array)._last(),(1));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testRemoveLast",{array:array})});
//>>excludeEnd("ctx");
}; }),
$globals.ArrayTest);
$core.addMethod(
$core.method({
selector: "testReversed",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testReversed\x0a\x09|array|\x0a\x09array := #(5 4 3 2 1). \x0a\x09self assert: (array reversed) equals: #(1 2 3 4 5)",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:equals:", "reversed"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
var array;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
array=[(5), (4), (3), (2), (1)];
$self._assert_equals_($recv(array)._reversed(),[(1), (2), (3), (4), (5)]);
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testReversed",{array:array})});
//>>excludeEnd("ctx");
}; }),
$globals.ArrayTest);
$core.addMethod(
$core.method({
selector: "testSort",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testSort\x0a\x09| array |\x0a\x09array := #(10 1 5). \x0a\x09array sort.\x0a\x09self assert: array equals: #(1 5 10)",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["sort", "assert:equals:"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
var array;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
array=[(10), (1), (5)];
$recv(array)._sort();
$self._assert_equals_(array,[(1), (5), (10)]);
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testSort",{array:array})});
//>>excludeEnd("ctx");
}; }),
$globals.ArrayTest);
$core.addMethod(
$core.method({
selector: "collectionClass",
protocol: "fixture",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "collectionClass\x0a\x09^ Array",
referencedClasses: ["Array"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: []
}, function ($methodClass){ return function (){
var self=this,$self=this;
return $globals.Array;
}; }),
$globals.ArrayTest.a$cls);
$core.addClass("StringTest", $globals.SequenceableCollectionTest, [], "Kernel-Tests");
$core.addMethod(
$core.method({
selector: "collection",
protocol: "fixture",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "collection\x0a\x09^ 'helLo'",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: []
}, function ($methodClass){ return function (){
var self=this,$self=this;
return "helLo";
}; }),
$globals.StringTest);
$core.addMethod(
$core.method({
selector: "collectionFirst",
protocol: "fixture",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "collectionFirst\x0a\x09^ 'h'",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: []
}, function ($methodClass){ return function (){
var self=this,$self=this;
return "h";
}; }),
$globals.StringTest);
$core.addMethod(
$core.method({
selector: "collectionFirstTwo",
protocol: "fixture",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "collectionFirstTwo\x0a\x09^ 'he'",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: []
}, function ($methodClass){ return function (){
var self=this,$self=this;
return "he";
}; }),
$globals.StringTest);
$core.addMethod(
$core.method({
selector: "collectionLast",
protocol: "fixture",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "collectionLast\x0a\x09^ 'o'",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: []
}, function ($methodClass){ return function (){
var self=this,$self=this;
return "o";
}; }),
$globals.StringTest);
$core.addMethod(
$core.method({
selector: "collectionLastTwo",
protocol: "fixture",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "collectionLastTwo\x0a\x09^ 'Lo'",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: []
}, function ($methodClass){ return function (){
var self=this,$self=this;
return "Lo";
}; }),
$globals.StringTest);
$core.addMethod(
$core.method({
selector: "collectionOfPrintStrings",
protocol: "fixture",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "collectionOfPrintStrings\x0a\x09^ '''h''''e''''l''''L''''o'''",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: []
}, function ($methodClass){ return function (){
var self=this,$self=this;
return "'h''e''l''L''o'";
}; }),
$globals.StringTest);
$core.addMethod(
$core.method({
selector: "collectionSize",
protocol: "fixture",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "collectionSize\x0a\x09^ 5",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: []
}, function ($methodClass){ return function (){
var self=this,$self=this;
return (5);
}; }),
$globals.StringTest);
$core.addMethod(
$core.method({
selector: "collectionWithDuplicates",
protocol: "fixture",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "collectionWithDuplicates\x0a\x09^ 'abbaerten'",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: []
}, function ($methodClass){ return function (){
var self=this,$self=this;
return "abbaerten";
}; }),
$globals.StringTest);
$core.addMethod(
$core.method({
selector: "collectionWithNewValue",
protocol: "fixture",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "collectionWithNewValue\x0a\x09^ 'helLoN'",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: []
}, function ($methodClass){ return function (){
var self=this,$self=this;
return "helLoN";
}; }),
$globals.StringTest);
$core.addMethod(
$core.method({
selector: "sampleNewValueAsCollection",
protocol: "fixture",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "sampleNewValueAsCollection\x0a\x09^ 'N'",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: []
}, function ($methodClass){ return function (){
var self=this,$self=this;
return "N";
}; }),
$globals.StringTest);
$core.addMethod(
$core.method({
selector: "samplesDo:",
protocol: "fixture",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: ["aBlock"],
source: "samplesDo: aBlock\x0a\x09super samplesDo: aBlock.\x0a\x09aBlock value: 3 value: 'l'",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["samplesDo:", "value:value:"]
}, function ($methodClass){ return function (aBlock){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
(
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.supercall = true,
//>>excludeEnd("ctx");
($methodClass.superclass||$boot.nilAsClass).fn.prototype._samplesDo_.call($self,aBlock));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.supercall = false;
//>>excludeEnd("ctx");;
$recv(aBlock)._value_value_((3),"l");
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"samplesDo:",{aBlock:aBlock})});
//>>excludeEnd("ctx");
}; }),
$globals.StringTest);
$core.addMethod(
$core.method({
selector: "testAddAll",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testAddAll\x0a\x09\x22String instances are read-only\x22\x0a\x09self should: [ self collection addAll: self collection ] raise: Error",
referencedClasses: ["Error"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["should:raise:", "addAll:", "collection"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $1;
$self._should_raise_((function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
$1=$self._collection();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx2.sendIdx["collection"]=1;
//>>excludeEnd("ctx");
return $recv($1)._addAll_($self._collection());
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({},$ctx1,1)});
//>>excludeEnd("ctx");
}),$globals.Error);
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testAddAll",{})});
//>>excludeEnd("ctx");
}; }),
$globals.StringTest);
$core.addMethod(
$core.method({
selector: "testAddRemove",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testAddRemove\x0a\x09self should: [ 'hello' add: 'a' ] raise: Error.\x0a\x09self should: [ 'hello' remove: 'h' ] raise: Error",
referencedClasses: ["Error"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["should:raise:", "add:", "remove:"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
$self._should_raise_((function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return "hello"._add_("a");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({},$ctx1,1)});
//>>excludeEnd("ctx");
}),$globals.Error);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["should:raise:"]=1;
//>>excludeEnd("ctx");
$self._should_raise_((function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return "hello"._remove_("h");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({},$ctx1,2)});
//>>excludeEnd("ctx");
}),$globals.Error);
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testAddRemove",{})});
//>>excludeEnd("ctx");
}; }),
$globals.StringTest);
$core.addMethod(
$core.method({
selector: "testAsArray",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testAsArray\x0a\x09self assert: 'hello' asArray equals: #('h' 'e' 'l' 'l' 'o').",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:equals:", "asArray"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
$self._assert_equals_("hello"._asArray(),["h", "e", "l", "l", "o"]);
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testAsArray",{})});
//>>excludeEnd("ctx");
}; }),
$globals.StringTest);
$core.addMethod(
$core.method({
selector: "testAsLowerCase",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testAsLowerCase\x0a\x09self assert: 'JACKIE' asLowercase equals: 'jackie'.",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:equals:", "asLowercase"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
$self._assert_equals_("JACKIE"._asLowercase(),"jackie");
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testAsLowerCase",{})});
//>>excludeEnd("ctx");
}; }),
$globals.StringTest);
$core.addMethod(
$core.method({
selector: "testAsNumber",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testAsNumber\x0a\x09self assert: '3' asNumber equals: 3.\x0a\x09self assert: '-3' asNumber equals: -3.\x0a\x09self assert: '-1.5' asNumber equals: -1.5.",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:equals:", "asNumber"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $1,$2;
$1="3"._asNumber();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["asNumber"]=1;
//>>excludeEnd("ctx");
$self._assert_equals_($1,(3));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=1;
//>>excludeEnd("ctx");
$2="-3"._asNumber();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["asNumber"]=2;
//>>excludeEnd("ctx");
$self._assert_equals_($2,(-3));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=2;
//>>excludeEnd("ctx");
$self._assert_equals_("-1.5"._asNumber(),(-1.5));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testAsNumber",{})});
//>>excludeEnd("ctx");
}; }),
$globals.StringTest);
$core.addMethod(
$core.method({
selector: "testAsUpperCase",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testAsUpperCase\x0a\x09self assert: 'jackie' asUppercase equals: 'JACKIE'.",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:equals:", "asUppercase"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
$self._assert_equals_("jackie"._asUppercase(),"JACKIE");
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testAsUpperCase",{})});
//>>excludeEnd("ctx");
}; }),
$globals.StringTest);
$core.addMethod(
$core.method({
selector: "testAsciiValue",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testAsciiValue\x0a | characterA characterU |\x0a characterA := 'A'.\x0a characterU := 'U'.\x0a self assert: (characterA asciiValue) equals:65.\x0a self assert: (characterU asciiValue) equals:85",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:equals:", "asciiValue"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
var characterA,characterU;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $1;
characterA="A";
characterU="U";
$1=$recv(characterA)._asciiValue();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["asciiValue"]=1;
//>>excludeEnd("ctx");
$self._assert_equals_($1,(65));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=1;
//>>excludeEnd("ctx");
$self._assert_equals_($recv(characterU)._asciiValue(),(85));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testAsciiValue",{characterA:characterA,characterU:characterU})});
//>>excludeEnd("ctx");
}; }),
$globals.StringTest);
$core.addMethod(
$core.method({
selector: "testAtIfAbsentPut",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testAtIfAbsentPut\x0a\x09\x22String instances are read-only\x22\x0a\x09self should: [ 'hello' at: 6 ifAbsentPut: [ 'a' ] ] raise: Error",
referencedClasses: ["Error"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["should:raise:", "at:ifAbsentPut:"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
$self._should_raise_((function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return "hello"._at_ifAbsentPut_((6),(function(){
return "a";
}));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({},$ctx1,1)});
//>>excludeEnd("ctx");
}),$globals.Error);
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testAtIfAbsentPut",{})});
//>>excludeEnd("ctx");
}; }),
$globals.StringTest);
$core.addMethod(
$core.method({
selector: "testAtPut",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testAtPut\x0a\x09\x22String instances are read-only\x22\x0a\x09self should: [ 'hello' at: 1 put: 'a' ] raise: Error",
referencedClasses: ["Error"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["should:raise:", "at:put:"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
$self._should_raise_((function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return "hello"._at_put_((1),"a");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({},$ctx1,1)});
//>>excludeEnd("ctx");
}),$globals.Error);
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testAtPut",{})});
//>>excludeEnd("ctx");
}; }),
$globals.StringTest);
$core.addMethod(
$core.method({
selector: "testCapitalized",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testCapitalized\x0a\x09self assert: 'test' capitalized equals: 'Test'.\x0a\x09self assert: 'Test' capitalized equals: 'Test'.\x0a\x09self assert: '' capitalized equals: ''.\x0a\x09self assert: 'Test' isCapitalized equals: true.\x0a\x09self assert: 'test' isCapitalized equals: false.",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:equals:", "capitalized", "isCapitalized"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $1,$2,$3;
$1="test"._capitalized();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["capitalized"]=1;
//>>excludeEnd("ctx");
$self._assert_equals_($1,"Test");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=1;
//>>excludeEnd("ctx");
$2="Test"._capitalized();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["capitalized"]=2;
//>>excludeEnd("ctx");
$self._assert_equals_($2,"Test");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=2;
//>>excludeEnd("ctx");
$self._assert_equals_(""._capitalized(),"");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=3;
//>>excludeEnd("ctx");
$3="Test"._isCapitalized();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["isCapitalized"]=1;
//>>excludeEnd("ctx");
$self._assert_equals_($3,true);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=4;
//>>excludeEnd("ctx");
$self._assert_equals_("test"._isCapitalized(),false);
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testCapitalized",{})});
//>>excludeEnd("ctx");
}; }),
$globals.StringTest);
$core.addMethod(
$core.method({
selector: "testCharCodeAt",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testCharCodeAt\x0a\x09self assert: ('jackie' charCodeAt:1) equals: 106.\x0a\x09self assert: ('jackie' charCodeAt:2) equals: 97.\x0a\x09self assert: ('jackie' charCodeAt:3) equals: 99.\x0a\x09self assert: ('jackie' charCodeAt:4) equals: 107.\x0a\x09self assert: ('jackie' charCodeAt:5) equals: 105.\x0a\x09self assert: ('jackie' charCodeAt:6) equals: 101",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:equals:", "charCodeAt:"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $1,$2,$3,$4,$5;
$1="jackie"._charCodeAt_((1));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["charCodeAt:"]=1;
//>>excludeEnd("ctx");
$self._assert_equals_($1,(106));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=1;
//>>excludeEnd("ctx");
$2="jackie"._charCodeAt_((2));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["charCodeAt:"]=2;
//>>excludeEnd("ctx");
$self._assert_equals_($2,(97));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=2;
//>>excludeEnd("ctx");
$3="jackie"._charCodeAt_((3));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["charCodeAt:"]=3;
//>>excludeEnd("ctx");
$self._assert_equals_($3,(99));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=3;
//>>excludeEnd("ctx");
$4="jackie"._charCodeAt_((4));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["charCodeAt:"]=4;
//>>excludeEnd("ctx");
$self._assert_equals_($4,(107));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=4;
//>>excludeEnd("ctx");
$5="jackie"._charCodeAt_((5));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["charCodeAt:"]=5;
//>>excludeEnd("ctx");
$self._assert_equals_($5,(105));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=5;
//>>excludeEnd("ctx");
$self._assert_equals_("jackie"._charCodeAt_((6)),(101));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testCharCodeAt",{})});
//>>excludeEnd("ctx");
}; }),
$globals.StringTest);
$core.addMethod(
$core.method({
selector: "testCopyFromTo",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testCopyFromTo\x0a\x09self assert: ('jackie' copyFrom: 1 to: 3) equals: 'jac'.\x0a\x09self assert: ('jackie' copyFrom: 4 to: 6) equals: 'kie'.",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:equals:", "copyFrom:to:"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $1;
$1="jackie"._copyFrom_to_((1),(3));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["copyFrom:to:"]=1;
//>>excludeEnd("ctx");
$self._assert_equals_($1,"jac");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=1;
//>>excludeEnd("ctx");
$self._assert_equals_("jackie"._copyFrom_to_((4),(6)),"kie");
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testCopyFromTo",{})});
//>>excludeEnd("ctx");
}; }),
$globals.StringTest);
$core.addMethod(
$core.method({
selector: "testCopySeparates",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testCopySeparates\x0a\x09\x22String instances are immutable\x22\x0a\x09self assert: self collection copy == self collection",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:", "==", "copy", "collection"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $3,$2,$1;
$3=$self._collection();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collection"]=1;
//>>excludeEnd("ctx");
$2=$recv($3)._copy();
$1=$recv($2).__eq_eq($self._collection());
$self._assert_($1);
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testCopySeparates",{})});
//>>excludeEnd("ctx");
}; }),
$globals.StringTest);
$core.addMethod(
$core.method({
selector: "testCopyWithoutAll",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testCopyWithoutAll\x0a\x09self\x0a\x09\x09assert: ('*hello* *world*' copyWithoutAll: '*')\x0a\x09\x09equals: 'hello world'",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:equals:", "copyWithoutAll:"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
$self._assert_equals_("*hello* *world*"._copyWithoutAll_("*"),"hello world");
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testCopyWithoutAll",{})});
//>>excludeEnd("ctx");
}; }),
$globals.StringTest);
$core.addMethod(
$core.method({
selector: "testEquality",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testEquality\x0a\x09self assert: 'hello' equals: 'hello'.\x0a\x09self deny: 'hello' = 'world'.\x0a\x09\x0a\x09\x22Test for issue 459\x22\x0a\x09self deny: 'hello' = (#() at: 1 ifAbsent: [ ]).\x0a\x0a\x09self assert: 'hello' equals: 'hello' yourself.\x0a\x09self assert: 'hello' yourself equals: 'hello'.\x0a\x0a\x09\x22test JS falsy value\x22\x0a\x09self deny: '' = 0",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:equals:", "deny:", "=", "at:ifAbsent:", "yourself"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $1,$2,$3;
$self._assert_equals_("hello","hello");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=1;
//>>excludeEnd("ctx");
$1="hello".__eq("world");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["="]=1;
//>>excludeEnd("ctx");
$self._deny_($1);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["deny:"]=1;
//>>excludeEnd("ctx");
$2="hello".__eq([]._at_ifAbsent_((1),(function(){
})));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["="]=2;
//>>excludeEnd("ctx");
$self._deny_($2);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["deny:"]=2;
//>>excludeEnd("ctx");
$3="hello"._yourself();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["yourself"]=1;
//>>excludeEnd("ctx");
$self._assert_equals_("hello",$3);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=2;
//>>excludeEnd("ctx");
$self._assert_equals_("hello"._yourself(),"hello");
$self._deny_("".__eq((0)));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testEquality",{})});
//>>excludeEnd("ctx");
}; }),
$globals.StringTest);
$core.addMethod(
$core.method({
selector: "testIdentity",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testIdentity\x0a\x09self assert: 'hello' == 'hello'.\x0a\x09self deny: 'hello' == 'world'.\x0a\x0a\x09self assert: 'hello' == 'hello' yourself.\x0a\x09self assert: 'hello' yourself == 'hello'.\x0a\x0a\x09\x22test JS falsy value\x22\x0a\x09self deny: '' == 0",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:", "==", "deny:", "yourself"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $1,$2,$4,$3,$5;
$1="hello".__eq_eq("hello");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["=="]=1;
//>>excludeEnd("ctx");
$self._assert_($1);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:"]=1;
//>>excludeEnd("ctx");
$2="hello".__eq_eq("world");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["=="]=2;
//>>excludeEnd("ctx");
$self._deny_($2);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["deny:"]=1;
//>>excludeEnd("ctx");
$4="hello"._yourself();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["yourself"]=1;
//>>excludeEnd("ctx");
$3="hello".__eq_eq($4);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["=="]=3;
//>>excludeEnd("ctx");
$self._assert_($3);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:"]=2;
//>>excludeEnd("ctx");
$5=$recv("hello"._yourself()).__eq_eq("hello");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["=="]=4;
//>>excludeEnd("ctx");
$self._assert_($5);
$self._deny_("".__eq_eq((0)));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testIdentity",{})});
//>>excludeEnd("ctx");
}; }),
$globals.StringTest);
$core.addMethod(
$core.method({
selector: "testIncludesSubString",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testIncludesSubString\x0a\x09self assert: ('amber' includesSubString: 'ber').\x0a\x09self deny: ('amber' includesSubString: 'zork').",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:", "includesSubString:", "deny:"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $1;
$1="amber"._includesSubString_("ber");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["includesSubString:"]=1;
//>>excludeEnd("ctx");
$self._assert_($1);
$self._deny_("amber"._includesSubString_("zork"));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testIncludesSubString",{})});
//>>excludeEnd("ctx");
}; }),
$globals.StringTest);
$core.addMethod(
$core.method({
selector: "testIndexOfStartingAtWithNull",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testIndexOfStartingAtWithNull\x0a\x09\x22String cannot hold JS null\x22",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: []
}, function ($methodClass){ return function (){
var self=this,$self=this;
return self;
}; }),
$globals.StringTest);
$core.addMethod(
$core.method({
selector: "testIndexOfWithNull",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testIndexOfWithNull\x0a\x09\x22String cannot hold JS null\x22",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: []
}, function ($methodClass){ return function (){
var self=this,$self=this;
return self;
}; }),
$globals.StringTest);
$core.addMethod(
$core.method({
selector: "testIsVowel",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testIsVowel\x0a |vowel consonant|\x0a vowel := 'u'.\x0a consonant := 'z'.\x0a self assert: vowel isVowel equals: true.\x0a self assert: consonant isVowel equals: false",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:equals:", "isVowel"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
var vowel,consonant;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $1;
vowel="u";
consonant="z";
$1=$recv(vowel)._isVowel();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["isVowel"]=1;
//>>excludeEnd("ctx");
$self._assert_equals_($1,true);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=1;
//>>excludeEnd("ctx");
$self._assert_equals_($recv(consonant)._isVowel(),false);
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testIsVowel",{vowel:vowel,consonant:consonant})});
//>>excludeEnd("ctx");
}; }),
$globals.StringTest);
$core.addMethod(
$core.method({
selector: "testJoin",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testJoin\x0a\x09self assert: (',' join: #('hello' 'world')) equals: 'hello,world'",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:equals:", "join:"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
$self._assert_equals_(","._join_(["hello", "world"]),"hello,world");
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testJoin",{})});
//>>excludeEnd("ctx");
}; }),
$globals.StringTest);
$core.addMethod(
$core.method({
selector: "testRegression1224",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testRegression1224\x0a\x09\x22String instances are read-only\x22\x0a\x09self should: [ (self collectionClass new\x0a\x09\x09remove: self sampleNewValue ifAbsent: [];\x0a\x09\x09yourself) size ] raise: Error",
referencedClasses: ["Error"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["should:raise:", "size", "remove:ifAbsent:", "new", "collectionClass", "sampleNewValue", "yourself"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $2,$1;
$self._should_raise_((function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
$2=$recv($self._collectionClass())._new();
$recv($2)._remove_ifAbsent_($self._sampleNewValue(),(function(){
}));
$1=$recv($2)._yourself();
return $recv($1)._size();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({},$ctx1,1)});
//>>excludeEnd("ctx");
}),$globals.Error);
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testRegression1224",{})});
//>>excludeEnd("ctx");
}; }),
$globals.StringTest);
$core.addMethod(
$core.method({
selector: "testRemoveAll",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testRemoveAll\x0a\x09self should: [ self collection removeAll ] raise: Error",
referencedClasses: ["Error"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["should:raise:", "removeAll", "collection"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
$self._should_raise_((function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return $recv($self._collection())._removeAll();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({},$ctx1,1)});
//>>excludeEnd("ctx");
}),$globals.Error);
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testRemoveAll",{})});
//>>excludeEnd("ctx");
}; }),
$globals.StringTest);
$core.addMethod(
$core.method({
selector: "testReversed",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testReversed\x0a\x09self assert: 'jackiechan' reversed equals: 'nahceikcaj'.",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:equals:", "reversed"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
$self._assert_equals_("jackiechan"._reversed(),"nahceikcaj");
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testReversed",{})});
//>>excludeEnd("ctx");
}; }),
$globals.StringTest);
$core.addMethod(
$core.method({
selector: "testStreamContents",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testStreamContents\x0a\x09self\x0a\x09\x09assert: (String streamContents: [ :aStream |\x0a\x09\x09\x09aStream\x0a\x09\x09\x09\x09nextPutAll: 'hello'; space;\x0a\x09\x09\x09\x09nextPutAll: 'world' ])\x0a\x09\x09equals: 'hello world'",
referencedClasses: ["String"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:equals:", "streamContents:", "nextPutAll:", "space"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
$self._assert_equals_($recv($globals.String)._streamContents_((function(aStream){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
$recv(aStream)._nextPutAll_("hello");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx2.sendIdx["nextPutAll:"]=1;
//>>excludeEnd("ctx");
$recv(aStream)._space();
return $recv(aStream)._nextPutAll_("world");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({aStream:aStream},$ctx1,1)});
//>>excludeEnd("ctx");
})),"hello world");
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testStreamContents",{})});
//>>excludeEnd("ctx");
}; }),
$globals.StringTest);
$core.addMethod(
$core.method({
selector: "testSubStrings",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testSubStrings\x0a\x09self assert: ('jackiechan' subStrings: 'ie') equals: #( 'jack' 'chan' ).",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:equals:", "subStrings:"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
$self._assert_equals_("jackiechan"._subStrings_("ie"),["jack", "chan"]);
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testSubStrings",{})});
//>>excludeEnd("ctx");
}; }),
$globals.StringTest);
$core.addMethod(
$core.method({
selector: "testTrim",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testTrim\x0a\x09self assert: ' jackie' trimLeft equals: 'jackie'.\x0a\x09self assert: 'jackie ' trimRight equals: 'jackie'.",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:equals:", "trimLeft", "trimRight"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
$self._assert_equals_(" jackie"._trimLeft(),"jackie");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=1;
//>>excludeEnd("ctx");
$self._assert_equals_("jackie "._trimRight(),"jackie");
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testTrim",{})});
//>>excludeEnd("ctx");
}; }),
$globals.StringTest);
$core.addMethod(
$core.method({
selector: "testValue",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testValue\x0a\x0a\x09self assert: (#asString value: 1) equals: '1'.\x0a\x0a\x09\x22Which (since String and BlockClosure are now polymorphic) enables the nice idiom...\x22\x0a\x09self assert: (#(1 2 3) collect: #asString) equals: #('1' '2' '3')",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:equals:", "value:", "collect:"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
$self._assert_equals_("asString"._value_((1)),"1");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=1;
//>>excludeEnd("ctx");
$self._assert_equals_([(1), (2), (3)]._collect_("asString"),["1", "2", "3"]);
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testValue",{})});
//>>excludeEnd("ctx");
}; }),
$globals.StringTest);
$core.addMethod(
$core.method({
selector: "collectionClass",
protocol: "fixture",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "collectionClass\x0a\x09^ String",
referencedClasses: ["String"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: []
}, function ($methodClass){ return function (){
var self=this,$self=this;
return $globals.String;
}; }),
$globals.StringTest.a$cls);
$core.addClass("SetTest", $globals.CollectionTest, [], "Kernel-Tests");
$core.addMethod(
$core.method({
selector: "collection",
protocol: "fixture",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "collection\x0a\x09^ Set new\x0a\x09\x09add: Smalltalk;\x0a\x09\x09add: nil;\x0a\x09\x09add: 3@3;\x0a\x09\x09add: false;\x0a\x09\x09add: sampleBlock;\x0a\x09\x09yourself",
referencedClasses: ["Set", "Smalltalk"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["add:", "new", "@", "yourself"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $1;
$1=$recv($globals.Set)._new();
$recv($1)._add_($globals.Smalltalk);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["add:"]=1;
//>>excludeEnd("ctx");
$recv($1)._add_(nil);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["add:"]=2;
//>>excludeEnd("ctx");
$recv($1)._add_((3).__at((3)));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["add:"]=3;
//>>excludeEnd("ctx");
$recv($1)._add_(false);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["add:"]=4;
//>>excludeEnd("ctx");
$recv($1)._add_($self.sampleBlock);
return $recv($1)._yourself();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"collection",{})});
//>>excludeEnd("ctx");
}; }),
$globals.SetTest);
$core.addMethod(
$core.method({
selector: "collectionOfPrintStrings",
protocol: "fixture",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "collectionOfPrintStrings\x0a\x09^ Set new\x0a\x09\x09add: 'a SmalltalkImage';\x0a\x09\x09add: 'nil';\x0a\x09\x09add: '3@3';\x0a\x09\x09add: 'false';\x0a\x09\x09add: 'a BlockClosure';\x0a\x09\x09yourself",
referencedClasses: ["Set"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["add:", "new", "yourself"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $1;
$1=$recv($globals.Set)._new();
$recv($1)._add_("a SmalltalkImage");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["add:"]=1;
//>>excludeEnd("ctx");
$recv($1)._add_("nil");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["add:"]=2;
//>>excludeEnd("ctx");
$recv($1)._add_("3@3");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["add:"]=3;
//>>excludeEnd("ctx");
$recv($1)._add_("false");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["add:"]=4;
//>>excludeEnd("ctx");
$recv($1)._add_("a BlockClosure");
return $recv($1)._yourself();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"collectionOfPrintStrings",{})});
//>>excludeEnd("ctx");
}; }),
$globals.SetTest);
$core.addMethod(
$core.method({
selector: "collectionSize",
protocol: "fixture",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "collectionSize\x0a\x09^ 5",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: []
}, function ($methodClass){ return function (){
var self=this,$self=this;
return (5);
}; }),
$globals.SetTest);
$core.addMethod(
$core.method({
selector: "collectionWithDuplicates",
protocol: "fixture",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "collectionWithDuplicates\x0a\x09\x22Set has no duplicates\x22\x0a\x09^ self collection add: 0; yourself",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["add:", "collection", "yourself"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $1;
$1=$self._collection();
$recv($1)._add_((0));
return $recv($1)._yourself();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"collectionWithDuplicates",{})});
//>>excludeEnd("ctx");
}; }),
$globals.SetTest);
$core.addMethod(
$core.method({
selector: "collectionWithNewValue",
protocol: "fixture",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "collectionWithNewValue\x0a\x09^ Set new\x0a\x09\x09add: Smalltalk;\x0a\x09\x09add: nil;\x0a\x09\x09add: 3@3;\x0a\x09\x09add: 'N';\x0a\x09\x09add: false;\x0a\x09\x09add: sampleBlock;\x0a\x09\x09yourself",
referencedClasses: ["Set", "Smalltalk"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["add:", "new", "@", "yourself"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $1;
$1=$recv($globals.Set)._new();
$recv($1)._add_($globals.Smalltalk);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["add:"]=1;
//>>excludeEnd("ctx");
$recv($1)._add_(nil);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["add:"]=2;
//>>excludeEnd("ctx");
$recv($1)._add_((3).__at((3)));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["add:"]=3;
//>>excludeEnd("ctx");
$recv($1)._add_("N");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["add:"]=4;
//>>excludeEnd("ctx");
$recv($1)._add_(false);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["add:"]=5;
//>>excludeEnd("ctx");
$recv($1)._add_($self.sampleBlock);
return $recv($1)._yourself();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"collectionWithNewValue",{})});
//>>excludeEnd("ctx");
}; }),
$globals.SetTest);
$core.addMethod(
$core.method({
selector: "testAddAll",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testAddAll\x0a\x09super testAddAll.\x0a\x09self assert: (self collection addAll: self collection; yourself) equals: self collection.\x0a\x09self assert: (self collection addAll: self collectionWithNewValue; yourself) equals: self collectionWithNewValue.\x0a\x09self assert: (self collectionWithNewValue addAll: self collection; yourself) equals: self collectionWithNewValue",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["testAddAll", "assert:equals:", "addAll:", "collection", "yourself", "collectionWithNewValue"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $2,$3,$4,$1,$5,$7,$8,$9,$6,$10,$12,$11;
(
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.supercall = true,
//>>excludeEnd("ctx");
($methodClass.superclass||$boot.nilAsClass).fn.prototype._testAddAll.call($self));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.supercall = false;
//>>excludeEnd("ctx");;
$2=$self._collection();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collection"]=1;
//>>excludeEnd("ctx");
$3=$self._collection();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collection"]=2;
//>>excludeEnd("ctx");
$recv($2)._addAll_($3);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["addAll:"]=1;
//>>excludeEnd("ctx");
$4=$recv($2)._yourself();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["yourself"]=1;
//>>excludeEnd("ctx");
$1=$4;
$5=$self._collection();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collection"]=3;
//>>excludeEnd("ctx");
$self._assert_equals_($1,$5);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=1;
//>>excludeEnd("ctx");
$7=$self._collection();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collection"]=4;
//>>excludeEnd("ctx");
$8=$self._collectionWithNewValue();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collectionWithNewValue"]=1;
//>>excludeEnd("ctx");
$recv($7)._addAll_($8);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["addAll:"]=2;
//>>excludeEnd("ctx");
$9=$recv($7)._yourself();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["yourself"]=2;
//>>excludeEnd("ctx");
$6=$9;
$10=$self._collectionWithNewValue();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collectionWithNewValue"]=2;
//>>excludeEnd("ctx");
$self._assert_equals_($6,$10);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=2;
//>>excludeEnd("ctx");
$12=$self._collectionWithNewValue();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collectionWithNewValue"]=3;
//>>excludeEnd("ctx");
$recv($12)._addAll_($self._collection());
$11=$recv($12)._yourself();
$self._assert_equals_($11,$self._collectionWithNewValue());
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testAddAll",{})});
//>>excludeEnd("ctx");
}; }),
$globals.SetTest);
$core.addMethod(
$core.method({
selector: "testAddRemove",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testAddRemove\x0a\x09| set |\x0a\x09set := Set new.\x0a\x09\x0a\x09self assert: set isEmpty.\x0a\x0a\x09set add: 3.\x0a\x09self assert: (set includes: 3).\x0a\x0a\x09set add: 5.\x0a\x09self assert: (set includes: 5).\x0a\x0a\x09set remove: 3.\x0a\x09self deny: (set includes: 3)",
referencedClasses: ["Set"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["new", "assert:", "isEmpty", "add:", "includes:", "remove:", "deny:"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
var set;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $1,$2;
set=$recv($globals.Set)._new();
$self._assert_($recv(set)._isEmpty());
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:"]=1;
//>>excludeEnd("ctx");
$recv(set)._add_((3));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["add:"]=1;
//>>excludeEnd("ctx");
$1=$recv(set)._includes_((3));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["includes:"]=1;
//>>excludeEnd("ctx");
$self._assert_($1);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:"]=2;
//>>excludeEnd("ctx");
$recv(set)._add_((5));
$2=$recv(set)._includes_((5));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["includes:"]=2;
//>>excludeEnd("ctx");
$self._assert_($2);
$recv(set)._remove_((3));
$self._deny_($recv(set)._includes_((3)));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testAddRemove",{set:set})});
//>>excludeEnd("ctx");
}; }),
$globals.SetTest);
$core.addMethod(
$core.method({
selector: "testAt",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testAt\x0a\x09self should: [ Set new at: 1 put: 2 ] raise: Error",
referencedClasses: ["Set", "Error"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["should:raise:", "at:put:", "new"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
$self._should_raise_((function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return $recv($recv($globals.Set)._new())._at_put_((1),(2));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({},$ctx1,1)});
//>>excludeEnd("ctx");
}),$globals.Error);
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testAt",{})});
//>>excludeEnd("ctx");
}; }),
$globals.SetTest);
$core.addMethod(
$core.method({
selector: "testCollect",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testCollect\x0a\x09super testCollect.\x0a\x09self assert: (#(5 6 8) asSet collect: [ :x | x \x5c\x5c 3 ]) equals: #(0 2) asSet",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["testCollect", "assert:equals:", "collect:", "asSet", "\x5c\x5c"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $2,$1;
(
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.supercall = true,
//>>excludeEnd("ctx");
($methodClass.superclass||$boot.nilAsClass).fn.prototype._testCollect.call($self));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.supercall = false;
//>>excludeEnd("ctx");;
$2=[(5), (6), (8)]._asSet();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["asSet"]=1;
//>>excludeEnd("ctx");
$1=$recv($2)._collect_((function(x){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return $recv(x).__backslash_backslash((3));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({x:x},$ctx1,1)});
//>>excludeEnd("ctx");
}));
$self._assert_equals_($1,[(0), (2)]._asSet());
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testCollect",{})});
//>>excludeEnd("ctx");
}; }),
$globals.SetTest);
$core.addMethod(
$core.method({
selector: "testComma",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testComma\x0a\x09super testComma.\x0a\x09self assert: self collection, self collection equals: self collection.\x0a\x09self assert: self collection, self collectionWithNewValue equals: self collectionWithNewValue.\x0a\x09self assert: self collectionWithNewValue, self collection equals: self collectionWithNewValue",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["testComma", "assert:equals:", ",", "collection", "collectionWithNewValue"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $2,$3,$1,$4,$6,$7,$5,$8,$10,$9;
(
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.supercall = true,
//>>excludeEnd("ctx");
($methodClass.superclass||$boot.nilAsClass).fn.prototype._testComma.call($self));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.supercall = false;
//>>excludeEnd("ctx");;
$2=$self._collection();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collection"]=1;
//>>excludeEnd("ctx");
$3=$self._collection();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collection"]=2;
//>>excludeEnd("ctx");
$1=$recv($2).__comma($3);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx[","]=1;
//>>excludeEnd("ctx");
$4=$self._collection();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collection"]=3;
//>>excludeEnd("ctx");
$self._assert_equals_($1,$4);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=1;
//>>excludeEnd("ctx");
$6=$self._collection();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collection"]=4;
//>>excludeEnd("ctx");
$7=$self._collectionWithNewValue();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collectionWithNewValue"]=1;
//>>excludeEnd("ctx");
$5=$recv($6).__comma($7);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx[","]=2;
//>>excludeEnd("ctx");
$8=$self._collectionWithNewValue();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collectionWithNewValue"]=2;
//>>excludeEnd("ctx");
$self._assert_equals_($5,$8);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=2;
//>>excludeEnd("ctx");
$10=$self._collectionWithNewValue();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collectionWithNewValue"]=3;
//>>excludeEnd("ctx");
$9=$recv($10).__comma($self._collection());
$self._assert_equals_($9,$self._collectionWithNewValue());
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testComma",{})});
//>>excludeEnd("ctx");
}; }),
$globals.SetTest);
$core.addMethod(
$core.method({
selector: "testComparing",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testComparing\x0a\x09self assert: #(0 2) asSet equals: #(0 2) asSet.\x0a\x09self assert: #(2 0) asSet equals: #(0 2) asSet.\x0a\x09self deny: #(0 2 3) asSet = #(0 2) asSet.\x0a\x09self deny: #(1 2) asSet = #(0 2) asSet",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:equals:", "asSet", "deny:", "="]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $1,$2,$3,$4,$6,$7,$5,$9,$8;
$1=[(0), (2)]._asSet();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["asSet"]=1;
//>>excludeEnd("ctx");
$2=[(0), (2)]._asSet();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["asSet"]=2;
//>>excludeEnd("ctx");
$self._assert_equals_($1,$2);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=1;
//>>excludeEnd("ctx");
$3=[(2), (0)]._asSet();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["asSet"]=3;
//>>excludeEnd("ctx");
$4=[(0), (2)]._asSet();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["asSet"]=4;
//>>excludeEnd("ctx");
$self._assert_equals_($3,$4);
$6=[(0), (2), (3)]._asSet();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["asSet"]=5;
//>>excludeEnd("ctx");
$7=[(0), (2)]._asSet();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["asSet"]=6;
//>>excludeEnd("ctx");
$5=$recv($6).__eq($7);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["="]=1;
//>>excludeEnd("ctx");
$self._deny_($5);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["deny:"]=1;
//>>excludeEnd("ctx");
$9=[(1), (2)]._asSet();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["asSet"]=7;
//>>excludeEnd("ctx");
$8=$recv($9).__eq([(0), (2)]._asSet());
$self._deny_($8);
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testComparing",{})});
//>>excludeEnd("ctx");
}; }),
$globals.SetTest);
$core.addMethod(
$core.method({
selector: "testPrintString",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testPrintString\x0a\x09| set |\x0a\x09set := Set new.\x0a\x09self assert: set printString equals: 'a Set ()'.\x0a\x09set add: 1; add: 3.\x0a\x09self assert: set printString equals: 'a Set (1 3)'.\x0a\x09set add: 'foo'.\x0a\x09self assert: set printString equals: 'a Set (1 3 ''foo'')'.\x0a\x09set remove: 1; remove: 3.\x0a\x09self assert: set printString equals: 'a Set (''foo'')'.\x0a\x09set add: 3.\x0a\x09self assert: set printString equals: 'a Set (3 ''foo'')'.\x0a\x09set add: 3.\x0a\x09self assert: set printString equals: 'a Set (3 ''foo'')'",
referencedClasses: ["Set"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["new", "assert:equals:", "printString", "add:", "remove:"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
var set;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $1,$2,$3,$4,$5,$6,$7;
set=$recv($globals.Set)._new();
$1=$recv(set)._printString();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["printString"]=1;
//>>excludeEnd("ctx");
$self._assert_equals_($1,"a Set ()");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=1;
//>>excludeEnd("ctx");
$2=set;
$recv($2)._add_((1));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["add:"]=1;
//>>excludeEnd("ctx");
$recv($2)._add_((3));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["add:"]=2;
//>>excludeEnd("ctx");
$3=$recv(set)._printString();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["printString"]=2;
//>>excludeEnd("ctx");
$self._assert_equals_($3,"a Set (1 3)");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=2;
//>>excludeEnd("ctx");
$recv(set)._add_("foo");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["add:"]=3;
//>>excludeEnd("ctx");
$4=$recv(set)._printString();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["printString"]=3;
//>>excludeEnd("ctx");
$self._assert_equals_($4,"a Set (1 3 'foo')");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=3;
//>>excludeEnd("ctx");
$5=set;
$recv($5)._remove_((1));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["remove:"]=1;
//>>excludeEnd("ctx");
$recv($5)._remove_((3));
$6=$recv(set)._printString();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["printString"]=4;
//>>excludeEnd("ctx");
$self._assert_equals_($6,"a Set ('foo')");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=4;
//>>excludeEnd("ctx");
$recv(set)._add_((3));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["add:"]=4;
//>>excludeEnd("ctx");
$7=$recv(set)._printString();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["printString"]=5;
//>>excludeEnd("ctx");
$self._assert_equals_($7,"a Set (3 'foo')");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=5;
//>>excludeEnd("ctx");
$recv(set)._add_((3));
$self._assert_equals_($recv(set)._printString(),"a Set (3 'foo')");
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testPrintString",{set:set})});
//>>excludeEnd("ctx");
}; }),
$globals.SetTest);
$core.addMethod(
$core.method({
selector: "testRegression1225",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testRegression1225\x0a\x09self assert: (#(1 2 3) asSet add: 3) equals: 3",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:equals:", "add:", "asSet"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
$self._assert_equals_($recv([(1), (2), (3)]._asSet())._add_((3)),(3));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testRegression1225",{})});
//>>excludeEnd("ctx");
}; }),
$globals.SetTest);
$core.addMethod(
$core.method({
selector: "testRegression1226",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testRegression1226\x0a\x09self assert: (#(1 2 3) asSet remove: 3) equals: 3",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:equals:", "remove:", "asSet"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
$self._assert_equals_($recv([(1), (2), (3)]._asSet())._remove_((3)),(3));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testRegression1226",{})});
//>>excludeEnd("ctx");
}; }),
$globals.SetTest);
$core.addMethod(
$core.method({
selector: "testRegression1227",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testRegression1227\x0a\x09self assert: (#(1 2 3) asSet remove: 4 ifAbsent: [5]) equals: 5",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:equals:", "remove:ifAbsent:", "asSet"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
$self._assert_equals_($recv([(1), (2), (3)]._asSet())._remove_ifAbsent_((4),(function(){
return (5);
})),(5));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testRegression1227",{})});
//>>excludeEnd("ctx");
}; }),
$globals.SetTest);
$core.addMethod(
$core.method({
selector: "testRegression1228",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testRegression1228\x0a\x09self should: [#(1 2 3) asSet remove: 4] raise: Error",
referencedClasses: ["Error"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["should:raise:", "remove:", "asSet"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
$self._should_raise_((function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return $recv([(1), (2), (3)]._asSet())._remove_((4));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({},$ctx1,1)});
//>>excludeEnd("ctx");
}),$globals.Error);
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testRegression1228",{})});
//>>excludeEnd("ctx");
}; }),
$globals.SetTest);
$core.addMethod(
$core.method({
selector: "testRegression1245",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testRegression1245\x0a\x09self assert: ({Object. String} asSet remove: String) equals: String",
referencedClasses: ["Object", "String"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:equals:", "remove:", "asSet"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
$self._assert_equals_($recv($recv([$globals.Object,$globals.String])._asSet())._remove_($globals.String),$globals.String);
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testRegression1245",{})});
//>>excludeEnd("ctx");
}; }),
$globals.SetTest);
$core.addMethod(
$core.method({
selector: "testUnboxedObjects",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testUnboxedObjects\x0a\x09self assert: {'foo' yourself. 'foo' yourself} asSet asArray equals: #('foo')",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:equals:", "asArray", "asSet", "yourself"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $4,$3,$2,$1;
$4="foo"._yourself();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["yourself"]=1;
//>>excludeEnd("ctx");
$3=[$4,"foo"._yourself()];
$2=$recv($3)._asSet();
$1=$recv($2)._asArray();
$self._assert_equals_($1,["foo"]);
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testUnboxedObjects",{})});
//>>excludeEnd("ctx");
}; }),
$globals.SetTest);
$core.addMethod(
$core.method({
selector: "testUnicity",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testUnicity\x0a\x09| set |\x0a\x09set := Set new.\x0a\x09set add: 21.\x0a\x09set add: 'hello'.\x0a\x0a\x09set add: 21.\x0a\x09self assert: set size equals: 2.\x0a\x09\x0a\x09set add: 'hello'.\x0a\x09self assert: set size equals: 2.\x0a\x0a\x09self assert: set asArray equals: #(21 'hello')",
referencedClasses: ["Set"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["new", "add:", "assert:equals:", "size", "asArray"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
var set;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $1;
set=$recv($globals.Set)._new();
$recv(set)._add_((21));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["add:"]=1;
//>>excludeEnd("ctx");
$recv(set)._add_("hello");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["add:"]=2;
//>>excludeEnd("ctx");
$recv(set)._add_((21));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["add:"]=3;
//>>excludeEnd("ctx");
$1=$recv(set)._size();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["size"]=1;
//>>excludeEnd("ctx");
$self._assert_equals_($1,(2));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=1;
//>>excludeEnd("ctx");
$recv(set)._add_("hello");
$self._assert_equals_($recv(set)._size(),(2));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=2;
//>>excludeEnd("ctx");
$self._assert_equals_($recv(set)._asArray(),[(21), "hello"]);
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testUnicity",{set:set})});
//>>excludeEnd("ctx");
}; }),
$globals.SetTest);
$core.addMethod(
$core.method({
selector: "collectionClass",
protocol: "fixture",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "collectionClass\x0a\x09^ Set",
referencedClasses: ["Set"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: []
}, function ($methodClass){ return function (){
var self=this,$self=this;
return $globals.Set;
}; }),
$globals.SetTest.a$cls);
$core.addClass("ConsoleTranscriptTest", $globals.TestCase, [], "Kernel-Tests");
$core.addMethod(
$core.method({
selector: "testShow",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testShow\x0a| originalTranscript |\x0aoriginalTranscript := Transcript current.\x0aTranscript register: ConsoleTranscript new.\x0a\x0aself shouldnt: [ Transcript show: 'Hello console!' ] raise: Error.\x0aself shouldnt: [ Transcript show: console ] raise: Error.\x0a\x0aTranscript register: originalTranscript.",
referencedClasses: ["Transcript", "ConsoleTranscript", "Error"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["current", "register:", "new", "shouldnt:raise:", "show:"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
var originalTranscript;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
originalTranscript=$recv($globals.Transcript)._current();
$recv($globals.Transcript)._register_($recv($globals.ConsoleTranscript)._new());
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["register:"]=1;
//>>excludeEnd("ctx");
$self._shouldnt_raise_((function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return $recv($globals.Transcript)._show_("Hello console!");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx2.sendIdx["show:"]=1;
//>>excludeEnd("ctx");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({},$ctx1,1)});
//>>excludeEnd("ctx");
}),$globals.Error);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["shouldnt:raise:"]=1;
//>>excludeEnd("ctx");
$self._shouldnt_raise_((function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return $recv($globals.Transcript)._show_(console);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({},$ctx1,2)});
//>>excludeEnd("ctx");
}),$globals.Error);
$recv($globals.Transcript)._register_(originalTranscript);
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testShow",{originalTranscript:originalTranscript})});
//>>excludeEnd("ctx");
}; }),
$globals.ConsoleTranscriptTest);
$core.addClass("DateTest", $globals.TestCase, [], "Kernel-Tests");
$core.addMethod(
$core.method({
selector: "testEquality",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testEquality\x0a\x09| now |\x0a\x09now := Date new.\x0a\x0a\x09self assert: now = now.\x0a\x0a\x09self deny: now = (Date fromMilliseconds: 0).\x0a\x0a\x09self assert: (Date fromMilliseconds: 12345678) = (Date fromMilliseconds: 12345678).\x0a\x09self assert: now = (Date fromMilliseconds: now asMilliseconds).\x0a\x09self assert: (Date fromMilliseconds: now asMilliseconds) = now",
referencedClasses: ["Date"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["new", "assert:", "=", "deny:", "fromMilliseconds:", "asMilliseconds"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
var now;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $1,$3,$4,$2,$6,$7,$5,$9,$11,$10,$8;
now=$recv($globals.Date)._new();
$1=$recv(now).__eq(now);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["="]=1;
//>>excludeEnd("ctx");
$self._assert_($1);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:"]=1;
//>>excludeEnd("ctx");
$3=now;
$4=$recv($globals.Date)._fromMilliseconds_((0));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["fromMilliseconds:"]=1;
//>>excludeEnd("ctx");
$2=$recv($3).__eq($4);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["="]=2;
//>>excludeEnd("ctx");
$self._deny_($2);
$6=$recv($globals.Date)._fromMilliseconds_((12345678));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["fromMilliseconds:"]=2;
//>>excludeEnd("ctx");
$7=$recv($globals.Date)._fromMilliseconds_((12345678));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["fromMilliseconds:"]=3;
//>>excludeEnd("ctx");
$5=$recv($6).__eq($7);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["="]=3;
//>>excludeEnd("ctx");
$self._assert_($5);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:"]=2;
//>>excludeEnd("ctx");
$9=now;
$11=$recv(now)._asMilliseconds();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["asMilliseconds"]=1;
//>>excludeEnd("ctx");
$10=$recv($globals.Date)._fromMilliseconds_($11);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["fromMilliseconds:"]=4;
//>>excludeEnd("ctx");
$8=$recv($9).__eq($10);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["="]=4;
//>>excludeEnd("ctx");
$self._assert_($8);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:"]=3;
//>>excludeEnd("ctx");
$self._assert_($recv($recv($globals.Date)._fromMilliseconds_($recv(now)._asMilliseconds())).__eq(now));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testEquality",{now:now})});
//>>excludeEnd("ctx");
}; }),
$globals.DateTest);
$core.addMethod(
$core.method({
selector: "testIdentity",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testIdentity\x0a\x09| now |\x0a\x09now := Date new.\x0a\x0a\x09self assert: now == now.\x0a\x0a\x09self deny: now == (Date fromMilliseconds: 0).\x0a\x0a\x09self deny: (Date fromMilliseconds: 12345678) == (Date fromMilliseconds: 12345678).\x0a\x09self deny: now == (Date fromMilliseconds: now asMilliseconds).\x0a\x09self deny: (Date fromMilliseconds: now asMilliseconds) == now",
referencedClasses: ["Date"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["new", "assert:", "==", "deny:", "fromMilliseconds:", "asMilliseconds"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
var now;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $1,$3,$4,$2,$6,$7,$5,$9,$11,$10,$8;
now=$recv($globals.Date)._new();
$1=$recv(now).__eq_eq(now);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["=="]=1;
//>>excludeEnd("ctx");
$self._assert_($1);
$3=now;
$4=$recv($globals.Date)._fromMilliseconds_((0));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["fromMilliseconds:"]=1;
//>>excludeEnd("ctx");
$2=$recv($3).__eq_eq($4);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["=="]=2;
//>>excludeEnd("ctx");
$self._deny_($2);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["deny:"]=1;
//>>excludeEnd("ctx");
$6=$recv($globals.Date)._fromMilliseconds_((12345678));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["fromMilliseconds:"]=2;
//>>excludeEnd("ctx");
$7=$recv($globals.Date)._fromMilliseconds_((12345678));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["fromMilliseconds:"]=3;
//>>excludeEnd("ctx");
$5=$recv($6).__eq_eq($7);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["=="]=3;
//>>excludeEnd("ctx");
$self._deny_($5);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["deny:"]=2;
//>>excludeEnd("ctx");
$9=now;
$11=$recv(now)._asMilliseconds();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["asMilliseconds"]=1;
//>>excludeEnd("ctx");
$10=$recv($globals.Date)._fromMilliseconds_($11);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["fromMilliseconds:"]=4;
//>>excludeEnd("ctx");
$8=$recv($9).__eq_eq($10);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["=="]=4;
//>>excludeEnd("ctx");
$self._deny_($8);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["deny:"]=3;
//>>excludeEnd("ctx");
$self._deny_($recv($recv($globals.Date)._fromMilliseconds_($recv(now)._asMilliseconds())).__eq_eq(now));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testIdentity",{now:now})});
//>>excludeEnd("ctx");
}; }),
$globals.DateTest);
$core.addMethod(
$core.method({
selector: "testPlusAndMinus",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testPlusAndMinus\x0a\x09| a b now zeroDuration |\x0a\x09a := Date fromString: '1974-07-12 14:30'.\x0a\x09now := Date now.\x0a\x09b := Date fromString: '2616-03-06'.\x0a\x09zeroDuration := 0.\x0a\x0a\x09self assert: {a-a. now-now. b-b} asSet equals: (Set with: zeroDuration).\x0a\x09self assert: now + (b - now) equals: b.\x0a\x09self assert: a + (b - a) equals: b.\x0a\x09self assert: now + (a - now) equals: a.\x0a\x09self assert: a + ((now - a) + (b - now)) equals: b",
referencedClasses: ["Date", "Set"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["fromString:", "now", "assert:equals:", "asSet", "-", "with:", "+"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
var a,b,now,zeroDuration;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $3,$4,$5,$2,$1,$7,$8,$6,$10,$11,$9,$13,$14,$12,$16,$18,$17,$15;
a=$recv($globals.Date)._fromString_("1974-07-12 14:30");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["fromString:"]=1;
//>>excludeEnd("ctx");
now=$recv($globals.Date)._now();
b=$recv($globals.Date)._fromString_("2616-03-06");
zeroDuration=(0);
$3=$recv(a).__minus(a);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["-"]=1;
//>>excludeEnd("ctx");
$4=$recv(now).__minus(now);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["-"]=2;
//>>excludeEnd("ctx");
$5=$recv(b).__minus(b);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["-"]=3;
//>>excludeEnd("ctx");
$2=[$3,$4,$5];
$1=$recv($2)._asSet();
$self._assert_equals_($1,$recv($globals.Set)._with_(zeroDuration));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=1;
//>>excludeEnd("ctx");
$7=now;
$8=$recv(b).__minus(now);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["-"]=4;
//>>excludeEnd("ctx");
$6=$recv($7).__plus($8);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["+"]=1;
//>>excludeEnd("ctx");
$self._assert_equals_($6,b);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=2;
//>>excludeEnd("ctx");
$10=a;
$11=$recv(b).__minus(a);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["-"]=5;
//>>excludeEnd("ctx");
$9=$recv($10).__plus($11);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["+"]=2;
//>>excludeEnd("ctx");
$self._assert_equals_($9,b);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=3;
//>>excludeEnd("ctx");
$13=now;
$14=$recv(a).__minus(now);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["-"]=6;
//>>excludeEnd("ctx");
$12=$recv($13).__plus($14);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["+"]=3;
//>>excludeEnd("ctx");
$self._assert_equals_($12,a);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=4;
//>>excludeEnd("ctx");
$16=a;
$18=$recv(now).__minus(a);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["-"]=7;
//>>excludeEnd("ctx");
$17=$recv($18).__plus($recv(b).__minus(now));
$15=$recv($16).__plus($17);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["+"]=4;
//>>excludeEnd("ctx");
$self._assert_equals_($15,b);
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testPlusAndMinus",{a:a,b:b,now:now,zeroDuration:zeroDuration})});
//>>excludeEnd("ctx");
}; }),
$globals.DateTest);
$core.addClass("JSObjectProxyTest", $globals.TestCase, [], "Kernel-Tests");
$core.addMethod(
$core.method({
selector: "jsObject",
protocol: "accessing",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "jsObject\x0a\x09<inlineJS: \x0a\x09\x09'return {a: 1, b: function() {return 2;}, c: function(object) {return object;}, d: \x22\x22, \x22e\x22: null, \x22f\x22: void 0}'>",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [["inlineJS:", ["return {a: 1, b: function() {return 2;}, c: function(object) {return object;}, d: \x22\x22, \x22e\x22: null, \x22f\x22: void 0}"]]],
messageSends: []
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
return {a: 1, b: function() {return 2;}, c: function(object) {return object;}, d: "", "e": null, "f": void 0};
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"jsObject",{})});
//>>excludeEnd("ctx");
}; }),
$globals.JSObjectProxyTest);
$core.addMethod(
$core.method({
selector: "jsUndefined",
protocol: "accessing",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "jsUndefined\x0a\x09<inlineJS: 'return'>",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [["inlineJS:", ["return"]]],
messageSends: []
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
return;
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"jsUndefined",{})});
//>>excludeEnd("ctx");
}; }),
$globals.JSObjectProxyTest);
$core.addMethod(
$core.method({
selector: "testAtIfAbsent",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testAtIfAbsent\x0a\x09| testObject |\x0a\x09testObject := self jsObject.\x0a\x09self assert: (testObject at: 'abc' ifAbsent: [ 'Property does not exist' ]) equals: 'Property does not exist'.\x0a\x09self assert: (testObject at: 'e' ifAbsent: [ 'Property does not exist' ]) equals: nil.\x0a\x09self assert: (testObject at: 'a' ifAbsent: [ 'Property does not exist' ]) equals: 1.\x0a\x09self assert: (testObject at: 'f' ifAbsent: [ 'Property does not exist' ]) equals: nil.",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["jsObject", "assert:equals:", "at:ifAbsent:"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
var testObject;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $1,$2,$3;
testObject=$self._jsObject();
$1=$recv(testObject)._at_ifAbsent_("abc",(function(){
return "Property does not exist";
}));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["at:ifAbsent:"]=1;
//>>excludeEnd("ctx");
$self._assert_equals_($1,"Property does not exist");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=1;
//>>excludeEnd("ctx");
$2=$recv(testObject)._at_ifAbsent_("e",(function(){
return "Property does not exist";
}));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["at:ifAbsent:"]=2;
//>>excludeEnd("ctx");
$self._assert_equals_($2,nil);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=2;
//>>excludeEnd("ctx");
$3=$recv(testObject)._at_ifAbsent_("a",(function(){
return "Property does not exist";
}));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["at:ifAbsent:"]=3;
//>>excludeEnd("ctx");
$self._assert_equals_($3,(1));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=3;
//>>excludeEnd("ctx");
$self._assert_equals_($recv(testObject)._at_ifAbsent_("f",(function(){
return "Property does not exist";
})),nil);
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testAtIfAbsent",{testObject:testObject})});
//>>excludeEnd("ctx");
}; }),
$globals.JSObjectProxyTest);
$core.addMethod(
$core.method({
selector: "testAtIfPresent",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testAtIfPresent\x0a\x09| testObject |\x0a\x09\x0a\x09testObject := self jsObject.\x0a\x09\x0a\x09self assert: (testObject at: 'abc' ifPresent: [ :x | 'hello ',x asString ]) equals: nil.\x0a\x09self assert: (testObject at: 'e' ifPresent: [ :x | 'hello ',x asString ]) equals: 'hello nil'.\x0a\x09self assert: (testObject at: 'a' ifPresent: [ :x | 'hello ',x asString ]) equals: 'hello 1'.\x0a\x09self assert: (testObject at: 'f' ifPresent: [ :x | 'hello ',x asString ]) equals: 'hello nil'.",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["jsObject", "assert:equals:", "at:ifPresent:", ",", "asString"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
var testObject;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $2,$1,$4,$3,$6,$5;
testObject=$self._jsObject();
$1=$recv(testObject)._at_ifPresent_("abc",(function(x){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
$2=$recv(x)._asString();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx2.sendIdx["asString"]=1;
//>>excludeEnd("ctx");
return "hello ".__comma($2);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx2.sendIdx[","]=1;
//>>excludeEnd("ctx");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({x:x},$ctx1,1)});
//>>excludeEnd("ctx");
}));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["at:ifPresent:"]=1;
//>>excludeEnd("ctx");
$self._assert_equals_($1,nil);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=1;
//>>excludeEnd("ctx");
$3=$recv(testObject)._at_ifPresent_("e",(function(x){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
$4=$recv(x)._asString();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx2.sendIdx["asString"]=2;
//>>excludeEnd("ctx");
return "hello ".__comma($4);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx2.sendIdx[","]=2;
//>>excludeEnd("ctx");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({x:x},$ctx1,2)});
//>>excludeEnd("ctx");
}));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["at:ifPresent:"]=2;
//>>excludeEnd("ctx");
$self._assert_equals_($3,"hello nil");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=2;
//>>excludeEnd("ctx");
$5=$recv(testObject)._at_ifPresent_("a",(function(x){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
$6=$recv(x)._asString();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx2.sendIdx["asString"]=3;
//>>excludeEnd("ctx");
return "hello ".__comma($6);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx2.sendIdx[","]=3;
//>>excludeEnd("ctx");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({x:x},$ctx1,3)});
//>>excludeEnd("ctx");
}));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["at:ifPresent:"]=3;
//>>excludeEnd("ctx");
$self._assert_equals_($5,"hello 1");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=3;
//>>excludeEnd("ctx");
$self._assert_equals_($recv(testObject)._at_ifPresent_("f",(function(x){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return "hello ".__comma($recv(x)._asString());
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({x:x},$ctx1,4)});
//>>excludeEnd("ctx");
})),"hello nil");
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testAtIfPresent",{testObject:testObject})});
//>>excludeEnd("ctx");
}; }),
$globals.JSObjectProxyTest);
$core.addMethod(
$core.method({
selector: "testAtIfPresentIfAbsent",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testAtIfPresentIfAbsent\x0a\x09| testObject |\x0a\x09testObject := self jsObject.\x0a\x09self assert: (testObject at: 'abc' ifPresent: [ :x|'hello ',x asString ] ifAbsent: [ 'not present' ]) equals: 'not present'.\x0a\x09self assert: (testObject at: 'e' ifPresent: [ :x|'hello ',x asString ] ifAbsent: [ 'not present' ]) equals: 'hello nil'.\x0a\x09self assert: (testObject at: 'a' ifPresent: [ :x|'hello ',x asString ] ifAbsent: [ 'not present' ]) equals: 'hello 1'.\x0a\x09self assert: (testObject at: 'f' ifPresent: [ :x|'hello ',x asString ] ifAbsent: [ 'not present' ]) equals: 'hello nil'.",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["jsObject", "assert:equals:", "at:ifPresent:ifAbsent:", ",", "asString"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
var testObject;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $2,$1,$4,$3,$6,$5;
testObject=$self._jsObject();
$1=$recv(testObject)._at_ifPresent_ifAbsent_("abc",(function(x){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
$2=$recv(x)._asString();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx2.sendIdx["asString"]=1;
//>>excludeEnd("ctx");
return "hello ".__comma($2);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx2.sendIdx[","]=1;
//>>excludeEnd("ctx");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({x:x},$ctx1,1)});
//>>excludeEnd("ctx");
}),(function(){
return "not present";
}));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["at:ifPresent:ifAbsent:"]=1;
//>>excludeEnd("ctx");
$self._assert_equals_($1,"not present");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=1;
//>>excludeEnd("ctx");
$3=$recv(testObject)._at_ifPresent_ifAbsent_("e",(function(x){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
$4=$recv(x)._asString();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx2.sendIdx["asString"]=2;
//>>excludeEnd("ctx");
return "hello ".__comma($4);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx2.sendIdx[","]=2;
//>>excludeEnd("ctx");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({x:x},$ctx1,3)});
//>>excludeEnd("ctx");
}),(function(){
return "not present";
}));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["at:ifPresent:ifAbsent:"]=2;
//>>excludeEnd("ctx");
$self._assert_equals_($3,"hello nil");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=2;
//>>excludeEnd("ctx");
$5=$recv(testObject)._at_ifPresent_ifAbsent_("a",(function(x){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
$6=$recv(x)._asString();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx2.sendIdx["asString"]=3;
//>>excludeEnd("ctx");
return "hello ".__comma($6);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx2.sendIdx[","]=3;
//>>excludeEnd("ctx");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({x:x},$ctx1,5)});
//>>excludeEnd("ctx");
}),(function(){
return "not present";
}));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["at:ifPresent:ifAbsent:"]=3;
//>>excludeEnd("ctx");
$self._assert_equals_($5,"hello 1");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=3;
//>>excludeEnd("ctx");
$self._assert_equals_($recv(testObject)._at_ifPresent_ifAbsent_("f",(function(x){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return "hello ".__comma($recv(x)._asString());
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({x:x},$ctx1,7)});
//>>excludeEnd("ctx");
}),(function(){
return "not present";
})),"hello nil");
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testAtIfPresentIfAbsent",{testObject:testObject})});
//>>excludeEnd("ctx");
}; }),
$globals.JSObjectProxyTest);
$core.addMethod(
$core.method({
selector: "testAtPut",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testAtPut\x0a\x09| testObject |\x0a\x09testObject := self jsObject.\x0a\x09\x0a\x09self assert: (testObject at: 'abc') ~= 'xyz'.\x0a\x09self assert: (testObject at: 'abc' put: 'xyz') equals: 'xyz'.\x0a\x09self assert: (testObject at: 'abc') equals: 'xyz'",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["jsObject", "assert:", "~=", "at:", "assert:equals:", "at:put:"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
var testObject;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $2,$1;
testObject=$self._jsObject();
$2=$recv(testObject)._at_("abc");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["at:"]=1;
//>>excludeEnd("ctx");
$1=$recv($2).__tild_eq("xyz");
$self._assert_($1);
$self._assert_equals_($recv(testObject)._at_put_("abc","xyz"),"xyz");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=1;
//>>excludeEnd("ctx");
$self._assert_equals_($recv(testObject)._at_("abc"),"xyz");
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testAtPut",{testObject:testObject})});
//>>excludeEnd("ctx");
}; }),
$globals.JSObjectProxyTest);
$core.addMethod(
$core.method({
selector: "testComparison",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testComparison\x0a\x09self assert: ({ console. 2 } indexOf: console) equals: 1.\x0a\x09self assert: console = console.\x0a\x09self deny: console = Object new.\x0a\x09self deny: console = self jsObject",
referencedClasses: ["Object"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:equals:", "indexOf:", "assert:", "=", "deny:", "new", "jsObject"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $1,$2;
$self._assert_equals_($recv([console,(2)])._indexOf_(console),(1));
$1=$recv(console).__eq(console);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["="]=1;
//>>excludeEnd("ctx");
$self._assert_($1);
$2=$recv(console).__eq($recv($globals.Object)._new());
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["="]=2;
//>>excludeEnd("ctx");
$self._deny_($2);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["deny:"]=1;
//>>excludeEnd("ctx");
$self._deny_($recv(console).__eq($self._jsObject()));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testComparison",{})});
//>>excludeEnd("ctx");
}; }),
$globals.JSObjectProxyTest);
$core.addMethod(
$core.method({
selector: "testDNU",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testDNU\x0a\x09self should: [ self jsObject foo ] raise: MessageNotUnderstood",
referencedClasses: ["MessageNotUnderstood"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["should:raise:", "foo", "jsObject"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
$self._should_raise_((function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return $recv($self._jsObject())._foo();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({},$ctx1,1)});
//>>excludeEnd("ctx");
}),$globals.MessageNotUnderstood);
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testDNU",{})});
//>>excludeEnd("ctx");
}; }),
$globals.JSObjectProxyTest);
$core.addMethod(
$core.method({
selector: "testDNUWithAllowJavaScriptCalls",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testDNUWithAllowJavaScriptCalls\x0a\x09| jsObject |\x0a\x09jsObject := #().\x0a\x09jsObject basicAt: 'allowJavaScriptCalls' put: true.\x0a\x09self should: [ jsObject foo ] raise: MessageNotUnderstood",
referencedClasses: ["MessageNotUnderstood"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["basicAt:put:", "should:raise:", "foo"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
var jsObject;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
jsObject=[];
$recv(jsObject)._basicAt_put_("allowJavaScriptCalls",true);
$self._should_raise_((function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return $recv(jsObject)._foo();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({},$ctx1,1)});
//>>excludeEnd("ctx");
}),$globals.MessageNotUnderstood);
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testDNUWithAllowJavaScriptCalls",{jsObject:jsObject})});
//>>excludeEnd("ctx");
}; }),
$globals.JSObjectProxyTest);
$core.addMethod(
$core.method({
selector: "testMessageSend",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testMessageSend\x0a\x0a\x09self assert: self jsObject a equals: 1.\x0a\x09self assert: self jsObject b equals: 2.\x0a\x09self assert: (self jsObject c: 3) equals: 3",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:equals:", "a", "jsObject", "b", "c:"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $2,$1,$4,$3;
$2=$self._jsObject();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["jsObject"]=1;
//>>excludeEnd("ctx");
$1=$recv($2)._a();
$self._assert_equals_($1,(1));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=1;
//>>excludeEnd("ctx");
$4=$self._jsObject();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["jsObject"]=2;
//>>excludeEnd("ctx");
$3=$recv($4)._b();
$self._assert_equals_($3,(2));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=2;
//>>excludeEnd("ctx");
$self._assert_equals_($recv($self._jsObject())._c_((3)),(3));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testMessageSend",{})});
//>>excludeEnd("ctx");
}; }),
$globals.JSObjectProxyTest);
$core.addMethod(
$core.method({
selector: "testMethodWithArguments",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testMethodWithArguments\x0a\x09self assert: (self jsObject c: 1) equals: 1",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:equals:", "c:", "jsObject"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
$self._assert_equals_($recv($self._jsObject())._c_((1)),(1));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testMethodWithArguments",{})});
//>>excludeEnd("ctx");
}; }),
$globals.JSObjectProxyTest);
$core.addMethod(
$core.method({
selector: "testNull",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testNull\x0a\x09self assert: JSObjectProxy null isNil.\x0a\x09self\x0a\x09\x09assert: (JSON stringify: #{#foo -> JSObjectProxy null})\x0a\x09\x09equals: '{\x22foo\x22:null}'",
referencedClasses: ["JSObjectProxy", "JSON"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:", "isNil", "null", "assert:equals:", "stringify:"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $2,$1;
$2=$recv($globals.JSObjectProxy)._null();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["null"]=1;
//>>excludeEnd("ctx");
$1=$recv($2)._isNil();
$self._assert_($1);
$self._assert_equals_($recv($globals.JSON)._stringify_($globals.HashedCollection._newFromPairs_(["foo",$recv($globals.JSObjectProxy)._null()])),"{\x22foo\x22:null}");
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testNull",{})});
//>>excludeEnd("ctx");
}; }),
$globals.JSObjectProxyTest);
$core.addMethod(
$core.method({
selector: "testPrinting",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testPrinting\x0a\x09self assert: self jsObject printString equals: '[object Object]'",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:equals:", "printString", "jsObject"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
$self._assert_equals_($recv($self._jsObject())._printString(),"[object Object]");
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testPrinting",{})});
//>>excludeEnd("ctx");
}; }),
$globals.JSObjectProxyTest);
$core.addMethod(
$core.method({
selector: "testPropertyThatReturnsEmptyString",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testPropertyThatReturnsEmptyString\x0a\x09| object |\x0a\x0a\x09object := self jsObject.\x0a\x09self assert: object d equals: ''.\x0a\x0a\x09object d: 'hello'.\x0a\x09self assert: object d equals: 'hello'",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["jsObject", "assert:equals:", "d", "d:"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
var object;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $1;
object=$self._jsObject();
$1=$recv(object)._d();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["d"]=1;
//>>excludeEnd("ctx");
$self._assert_equals_($1,"");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=1;
//>>excludeEnd("ctx");
$recv(object)._d_("hello");
$self._assert_equals_($recv(object)._d(),"hello");
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testPropertyThatReturnsEmptyString",{object:object})});
//>>excludeEnd("ctx");
}; }),
$globals.JSObjectProxyTest);
$core.addMethod(
$core.method({
selector: "testPropertyThatReturnsUndefined",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testPropertyThatReturnsUndefined\x0a\x09| object |\x0a\x0a\x09object := self jsObject.\x0a\x09self shouldnt: [ object e ] raise: MessageNotUnderstood.\x0a\x09self assert: object e isNil",
referencedClasses: ["MessageNotUnderstood"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["jsObject", "shouldnt:raise:", "e", "assert:", "isNil"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
var object;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
object=$self._jsObject();
$self._shouldnt_raise_((function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return $recv(object)._e();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx2.sendIdx["e"]=1;
//>>excludeEnd("ctx");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({},$ctx1,1)});
//>>excludeEnd("ctx");
}),$globals.MessageNotUnderstood);
$self._assert_($recv($recv(object)._e())._isNil());
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testPropertyThatReturnsUndefined",{object:object})});
//>>excludeEnd("ctx");
}; }),
$globals.JSObjectProxyTest);
$core.addMethod(
$core.method({
selector: "testSetPropertyWithFalsyValue",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testSetPropertyWithFalsyValue\x0a\x09| jsObject |\x0a\x09jsObject := self jsObject.\x0a\x09self assert: (jsObject a) equals: 1.\x0a\x0a\x09jsObject a: JSObjectProxy null.\x0a\x09self assert: (jsObject a) equals: nil.\x0a\x09jsObject a: 0.\x0a\x09self assert: (jsObject a) equals: 0.\x0a\x09jsObject a: self jsUndefined.\x0a\x09self assert: (jsObject a) equals: nil.\x0a\x09jsObject a: ''.\x0a\x09self assert: (jsObject a) equals: ''.\x0a\x09jsObject a: false.\x0a\x09self assert: (jsObject a) equals: false",
referencedClasses: ["JSObjectProxy"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["jsObject", "assert:equals:", "a", "a:", "null", "jsUndefined"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
var jsObject;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $1,$2,$3,$4,$5;
jsObject=$self._jsObject();
$1=$recv(jsObject)._a();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["a"]=1;
//>>excludeEnd("ctx");
$self._assert_equals_($1,(1));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=1;
//>>excludeEnd("ctx");
$recv(jsObject)._a_($recv($globals.JSObjectProxy)._null());
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["a:"]=1;
//>>excludeEnd("ctx");
$2=$recv(jsObject)._a();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["a"]=2;
//>>excludeEnd("ctx");
$self._assert_equals_($2,nil);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=2;
//>>excludeEnd("ctx");
$recv(jsObject)._a_((0));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["a:"]=2;
//>>excludeEnd("ctx");
$3=$recv(jsObject)._a();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["a"]=3;
//>>excludeEnd("ctx");
$self._assert_equals_($3,(0));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=3;
//>>excludeEnd("ctx");
$recv(jsObject)._a_($self._jsUndefined());
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["a:"]=3;
//>>excludeEnd("ctx");
$4=$recv(jsObject)._a();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["a"]=4;
//>>excludeEnd("ctx");
$self._assert_equals_($4,nil);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=4;
//>>excludeEnd("ctx");
$recv(jsObject)._a_("");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["a:"]=4;
//>>excludeEnd("ctx");
$5=$recv(jsObject)._a();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["a"]=5;
//>>excludeEnd("ctx");
$self._assert_equals_($5,"");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=5;
//>>excludeEnd("ctx");
$recv(jsObject)._a_(false);
$self._assert_equals_($recv(jsObject)._a(),false);
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testSetPropertyWithFalsyValue",{jsObject:jsObject})});
//>>excludeEnd("ctx");
}; }),
$globals.JSObjectProxyTest);
$core.addMethod(
$core.method({
selector: "testUndefined",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testUndefined\x0a\x09self assert: JSObjectProxy undefined isNil.\x0a\x09self\x0a\x09\x09assert: (JSON stringify: #{#foo -> JSObjectProxy undefined})\x0a\x09\x09equals: '{}'",
referencedClasses: ["JSObjectProxy", "JSON"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:", "isNil", "undefined", "assert:equals:", "stringify:"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $2,$1;
$2=$recv($globals.JSObjectProxy)._undefined();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["undefined"]=1;
//>>excludeEnd("ctx");
$1=$recv($2)._isNil();
$self._assert_($1);
$self._assert_equals_($recv($globals.JSON)._stringify_($globals.HashedCollection._newFromPairs_(["foo",$recv($globals.JSObjectProxy)._undefined()])),"{}");
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testUndefined",{})});
//>>excludeEnd("ctx");
}; }),
$globals.JSObjectProxyTest);
$core.addMethod(
$core.method({
selector: "testValue",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testValue\x0a\x09| testObject |\x0a\x09testObject := self jsObject.\x0a\x09testObject at: 'value' put: 'aValue'.\x0a\x09self assert: testObject value equals: 'aValue'",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["jsObject", "at:put:", "assert:equals:", "value"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
var testObject;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
testObject=$self._jsObject();
$recv(testObject)._at_put_("value","aValue");
$self._assert_equals_($recv(testObject)._value(),"aValue");
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testValue",{testObject:testObject})});
//>>excludeEnd("ctx");
}; }),
$globals.JSObjectProxyTest);
$core.addMethod(
$core.method({
selector: "testYourself",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testYourself\x0a\x09| object |\x0a\x09object := self jsObject\x0a\x09\x09d: 'test';\x0a\x09\x09yourself.\x0a\x0a\x09self assert: object d equals: 'test'",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["d:", "jsObject", "yourself", "assert:equals:", "d"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
var object;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $1;
$1=$self._jsObject();
$recv($1)._d_("test");
object=$recv($1)._yourself();
$self._assert_equals_($recv(object)._d(),"test");
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testYourself",{object:object})});
//>>excludeEnd("ctx");
}; }),
$globals.JSObjectProxyTest);
$core.addClass("JavaScriptExceptionTest", $globals.TestCase, [], "Kernel-Tests");
$core.addMethod(
$core.method({
selector: "testCatchingException",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testCatchingException\x0a\x09[ self throwException ]\x0a\x09\x09on: Error\x0a\x09\x09do: [ :error |\x0a\x09\x09\x09self assert: error exception = 'test' ]",
referencedClasses: ["Error"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["on:do:", "throwException", "assert:", "=", "exception"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
$recv((function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return $self._throwException();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({},$ctx1,1)});
//>>excludeEnd("ctx");
}))._on_do_($globals.Error,(function(error){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return $self._assert_($recv($recv(error)._exception()).__eq("test"));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({error:error},$ctx1,2)});
//>>excludeEnd("ctx");
}));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testCatchingException",{})});
//>>excludeEnd("ctx");
}; }),
$globals.JavaScriptExceptionTest);
$core.addMethod(
$core.method({
selector: "testRaisingException",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testRaisingException\x0a\x09self should: [ self throwException ] raise: JavaScriptException",
referencedClasses: ["JavaScriptException"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["should:raise:", "throwException"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
$self._should_raise_((function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return $self._throwException();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({},$ctx1,1)});
//>>excludeEnd("ctx");
}),$globals.JavaScriptException);
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testRaisingException",{})});
//>>excludeEnd("ctx");
}; }),
$globals.JavaScriptExceptionTest);
$core.addMethod(
$core.method({
selector: "throwException",
protocol: "helpers",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "throwException\x0a\x09<inlineJS: 'throw \x22test\x22'>",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [["inlineJS:", ["throw \x22test\x22"]]],
messageSends: []
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
throw "test";
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"throwException",{})});
//>>excludeEnd("ctx");
}; }),
$globals.JavaScriptExceptionTest);
$core.addClass("MessageSendTest", $globals.TestCase, [], "Kernel-Tests");
$core.addMethod(
$core.method({
selector: "testValue",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testValue\x0a\x09| messageSend |\x0a\x09\x0a\x09messageSend := MessageSend new\x0a\x09\x09receiver: Object new;\x0a\x09\x09selector: #asString;\x0a\x09\x09yourself.\x0a\x09\x09\x0a\x09self assert: messageSend value equals: 'an Object'",
referencedClasses: ["MessageSend", "Object"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["receiver:", "new", "selector:", "yourself", "assert:equals:", "value"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
var messageSend;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $1;
$1=$recv($globals.MessageSend)._new();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["new"]=1;
//>>excludeEnd("ctx");
$recv($1)._receiver_($recv($globals.Object)._new());
$recv($1)._selector_("asString");
messageSend=$recv($1)._yourself();
$self._assert_equals_($recv(messageSend)._value(),"an Object");
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testValue",{messageSend:messageSend})});
//>>excludeEnd("ctx");
}; }),
$globals.MessageSendTest);
$core.addMethod(
$core.method({
selector: "testValueWithArguments",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testValueWithArguments\x0a\x09| messageSend |\x0a\x09\x0a\x09messageSend := MessageSend new\x0a\x09\x09receiver: 2;\x0a\x09\x09selector: '+';\x0a\x09\x09yourself.\x0a\x09\x09\x0a\x09self assert: (messageSend value: 3) equals: 5.\x0a\x09\x0a\x09self assert: (messageSend valueWithPossibleArguments: #(4)) equals: 6",
referencedClasses: ["MessageSend"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["receiver:", "new", "selector:", "yourself", "assert:equals:", "value:", "valueWithPossibleArguments:"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
var messageSend;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $1;
$1=$recv($globals.MessageSend)._new();
$recv($1)._receiver_((2));
$recv($1)._selector_("+");
messageSend=$recv($1)._yourself();
$self._assert_equals_($recv(messageSend)._value_((3)),(5));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=1;
//>>excludeEnd("ctx");
$self._assert_equals_($recv(messageSend)._valueWithPossibleArguments_([(4)]),(6));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testValueWithArguments",{messageSend:messageSend})});
//>>excludeEnd("ctx");
}; }),
$globals.MessageSendTest);
$core.addClass("MethodInheritanceTest", $globals.TestCase, ["receiverTop", "receiverMiddle", "receiverBottom", "method", "performBlock"], "Kernel-Tests");
$core.addMethod(
$core.method({
selector: "codeGeneratorClass",
protocol: "accessing",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "codeGeneratorClass\x0a\x09^ CodeGenerator",
referencedClasses: ["CodeGenerator"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: []
}, function ($methodClass){ return function (){
var self=this,$self=this;
return $globals.CodeGenerator;
}; }),
$globals.MethodInheritanceTest);
$core.addMethod(
$core.method({
selector: "compiler",
protocol: "factory",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "compiler\x0a\x09^ Compiler new\x0a\x09\x09codeGeneratorClass: self codeGeneratorClass;\x0a\x09\x09yourself",
referencedClasses: ["Compiler"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["codeGeneratorClass:", "new", "codeGeneratorClass", "yourself"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $1;
$1=$recv($globals.Compiler)._new();
$recv($1)._codeGeneratorClass_($self._codeGeneratorClass());
return $recv($1)._yourself();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"compiler",{})});
//>>excludeEnd("ctx");
}; }),
$globals.MethodInheritanceTest);
$core.addMethod(
$core.method({
selector: "deinstallBottom",
protocol: "testing",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "deinstallBottom\x0a\x09self targetClassBottom removeCompiledMethod: method",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["removeCompiledMethod:", "targetClassBottom"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
$recv($self._targetClassBottom())._removeCompiledMethod_($self.method);
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"deinstallBottom",{})});
//>>excludeEnd("ctx");
}; }),
$globals.MethodInheritanceTest);
$core.addMethod(
$core.method({
selector: "deinstallMiddle",
protocol: "testing",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "deinstallMiddle\x0a\x09self targetClassMiddle removeCompiledMethod: method",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["removeCompiledMethod:", "targetClassMiddle"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
$recv($self._targetClassMiddle())._removeCompiledMethod_($self.method);
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"deinstallMiddle",{})});
//>>excludeEnd("ctx");
}; }),
$globals.MethodInheritanceTest);
$core.addMethod(
$core.method({
selector: "deinstallTop",
protocol: "testing",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "deinstallTop\x0a\x09self targetClassTop removeCompiledMethod: method",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["removeCompiledMethod:", "targetClassTop"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
$recv($self._targetClassTop())._removeCompiledMethod_($self.method);
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"deinstallTop",{})});
//>>excludeEnd("ctx");
}; }),
$globals.MethodInheritanceTest);
$core.addMethod(
$core.method({
selector: "installBottom:",
protocol: "testing",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: ["aString"],
source: "installBottom: aString\x0a\x09method := self compiler install: aString forClass: self targetClassBottom protocol: 'tests'",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["install:forClass:protocol:", "compiler", "targetClassBottom"]
}, function ($methodClass){ return function (aString){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
$self.method=$recv($self._compiler())._install_forClass_protocol_(aString,$self._targetClassBottom(),"tests");
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"installBottom:",{aString:aString})});
//>>excludeEnd("ctx");
}; }),
$globals.MethodInheritanceTest);
$core.addMethod(
$core.method({
selector: "installMiddle:",
protocol: "testing",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: ["aString"],
source: "installMiddle: aString\x0a\x09method := self compiler install: aString forClass: self targetClassMiddle protocol: 'tests'",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["install:forClass:protocol:", "compiler", "targetClassMiddle"]
}, function ($methodClass){ return function (aString){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
$self.method=$recv($self._compiler())._install_forClass_protocol_(aString,$self._targetClassMiddle(),"tests");
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"installMiddle:",{aString:aString})});
//>>excludeEnd("ctx");
}; }),
$globals.MethodInheritanceTest);
$core.addMethod(
$core.method({
selector: "installTop:",
protocol: "testing",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: ["aString"],
source: "installTop: aString\x0a\x09method := self compiler install: aString forClass: self targetClassTop protocol: 'tests'",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["install:forClass:protocol:", "compiler", "targetClassTop"]
}, function ($methodClass){ return function (aString){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
$self.method=$recv($self._compiler())._install_forClass_protocol_(aString,$self._targetClassTop(),"tests");
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"installTop:",{aString:aString})});
//>>excludeEnd("ctx");
}; }),
$globals.MethodInheritanceTest);
$core.addMethod(
$core.method({
selector: "setUp",
protocol: "initialization",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "setUp\x0a\x09receiverTop := self targetClassTop new.\x0a\x09receiverMiddle := self targetClassMiddle new.\x0a\x09receiverBottom := self targetClassBottom new.\x0a\x09method := nil.\x0a\x09performBlock := [ self error: 'performBlock not initialized' ]",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["new", "targetClassTop", "targetClassMiddle", "targetClassBottom", "error:"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
$self.receiverTop=$recv($self._targetClassTop())._new();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["new"]=1;
//>>excludeEnd("ctx");
$self.receiverMiddle=$recv($self._targetClassMiddle())._new();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["new"]=2;
//>>excludeEnd("ctx");
$self.receiverBottom=$recv($self._targetClassBottom())._new();
$self.method=nil;
$self.performBlock=(function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return $self._error_("performBlock not initialized");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({},$ctx1,1)});
//>>excludeEnd("ctx");
});
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"setUp",{})});
//>>excludeEnd("ctx");
}; }),
$globals.MethodInheritanceTest);
$core.addMethod(
$core.method({
selector: "shouldMNU",
protocol: "testing",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "shouldMNU\x0a\x09self shouldMNUTop.\x0a\x09self shouldMNUMiddle.\x0a\x09self shouldMNUBottom",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["shouldMNUTop", "shouldMNUMiddle", "shouldMNUBottom"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
$self._shouldMNUTop();
$self._shouldMNUMiddle();
$self._shouldMNUBottom();
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"shouldMNU",{})});
//>>excludeEnd("ctx");
}; }),
$globals.MethodInheritanceTest);
$core.addMethod(
$core.method({
selector: "shouldMNUBottom",
protocol: "testing",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "shouldMNUBottom\x0a\x09self should: [ performBlock value: receiverBottom ] raise: MessageNotUnderstood",
referencedClasses: ["MessageNotUnderstood"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["should:raise:", "value:"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
$self._should_raise_((function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return $recv($self.performBlock)._value_($self.receiverBottom);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({},$ctx1,1)});
//>>excludeEnd("ctx");
}),$globals.MessageNotUnderstood);
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"shouldMNUBottom",{})});
//>>excludeEnd("ctx");
}; }),
$globals.MethodInheritanceTest);
$core.addMethod(
$core.method({
selector: "shouldMNUMiddle",
protocol: "testing",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "shouldMNUMiddle\x0a\x09self should: [ performBlock value: receiverMiddle ] raise: MessageNotUnderstood",
referencedClasses: ["MessageNotUnderstood"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["should:raise:", "value:"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
$self._should_raise_((function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return $recv($self.performBlock)._value_($self.receiverMiddle);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({},$ctx1,1)});
//>>excludeEnd("ctx");
}),$globals.MessageNotUnderstood);
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"shouldMNUMiddle",{})});
//>>excludeEnd("ctx");
}; }),
$globals.MethodInheritanceTest);
$core.addMethod(
$core.method({
selector: "shouldMNUTop",
protocol: "testing",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "shouldMNUTop\x0a\x09self should: [ performBlock value: receiverTop ] raise: MessageNotUnderstood",
referencedClasses: ["MessageNotUnderstood"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["should:raise:", "value:"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
$self._should_raise_((function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return $recv($self.performBlock)._value_($self.receiverTop);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({},$ctx1,1)});
//>>excludeEnd("ctx");
}),$globals.MessageNotUnderstood);
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"shouldMNUTop",{})});
//>>excludeEnd("ctx");
}; }),
$globals.MethodInheritanceTest);
$core.addMethod(
$core.method({
selector: "shouldReturn:",
protocol: "testing",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: ["anObject"],
source: "shouldReturn: anObject\x0a\x09| result |\x0a\x0a\x09result := performBlock value: receiverTop.\x0a\x09self assert: { 'top'. anObject } equals: { 'top'. result }.\x0a\x09result := performBlock value: receiverMiddle.\x0a\x09self assert: { 'middle'. anObject } equals: { 'middle'. result }.\x0a\x09result := performBlock value: receiverBottom.\x0a\x09self assert: { 'bottom'. anObject } equals: { 'bottom'. result }",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["value:", "assert:equals:"]
}, function ($methodClass){ return function (anObject){
var self=this,$self=this;
var result;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
result=$recv($self.performBlock)._value_($self.receiverTop);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["value:"]=1;
//>>excludeEnd("ctx");
$self._assert_equals_(["top",anObject],["top",result]);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=1;
//>>excludeEnd("ctx");
result=$recv($self.performBlock)._value_($self.receiverMiddle);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["value:"]=2;
//>>excludeEnd("ctx");
$self._assert_equals_(["middle",anObject],["middle",result]);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=2;
//>>excludeEnd("ctx");
result=$recv($self.performBlock)._value_($self.receiverBottom);
$self._assert_equals_(["bottom",anObject],["bottom",result]);
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"shouldReturn:",{anObject:anObject,result:result})});
//>>excludeEnd("ctx");
}; }),
$globals.MethodInheritanceTest);
$core.addMethod(
$core.method({
selector: "shouldReturn:and:and:",
protocol: "testing",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: ["anObject", "anObject2", "anObject3"],
source: "shouldReturn: anObject and: anObject2 and: anObject3\x0a\x09| result |\x0a\x0a\x09result := performBlock value: receiverTop.\x0a\x09self assert: { 'top'. anObject } equals: { 'top'. result }.\x0a\x09result := performBlock value: receiverMiddle.\x0a\x09self assert: { 'middle'. anObject2 } equals: { 'middle'. result }.\x0a\x09result := performBlock value: receiverBottom.\x0a\x09self assert: { 'bottom'. anObject3 } equals: { 'bottom'. result }",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["value:", "assert:equals:"]
}, function ($methodClass){ return function (anObject,anObject2,anObject3){
var self=this,$self=this;
var result;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
result=$recv($self.performBlock)._value_($self.receiverTop);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["value:"]=1;
//>>excludeEnd("ctx");
$self._assert_equals_(["top",anObject],["top",result]);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=1;
//>>excludeEnd("ctx");
result=$recv($self.performBlock)._value_($self.receiverMiddle);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["value:"]=2;
//>>excludeEnd("ctx");
$self._assert_equals_(["middle",anObject2],["middle",result]);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=2;
//>>excludeEnd("ctx");
result=$recv($self.performBlock)._value_($self.receiverBottom);
$self._assert_equals_(["bottom",anObject3],["bottom",result]);
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"shouldReturn:and:and:",{anObject:anObject,anObject2:anObject2,anObject3:anObject3,result:result})});
//>>excludeEnd("ctx");
}; }),
$globals.MethodInheritanceTest);
$core.addMethod(
$core.method({
selector: "targetClassBottom",
protocol: "accessing",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "targetClassBottom\x0a\x09^ JavaScriptException",
referencedClasses: ["JavaScriptException"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: []
}, function ($methodClass){ return function (){
var self=this,$self=this;
return $globals.JavaScriptException;
}; }),
$globals.MethodInheritanceTest);
$core.addMethod(
$core.method({
selector: "targetClassMiddle",
protocol: "accessing",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "targetClassMiddle\x0a\x09^ Error",
referencedClasses: ["Error"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: []
}, function ($methodClass){ return function (){
var self=this,$self=this;
return $globals.Error;
}; }),
$globals.MethodInheritanceTest);
$core.addMethod(
$core.method({
selector: "targetClassTop",
protocol: "accessing",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "targetClassTop\x0a\x09^ Object",
referencedClasses: ["Object"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: []
}, function ($methodClass){ return function (){
var self=this,$self=this;
return $globals.Object;
}; }),
$globals.MethodInheritanceTest);
$core.addMethod(
$core.method({
selector: "tearDown",
protocol: "initialization",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "tearDown\x0a\x09[ self deinstallTop ] on: Error do: [ ].\x0a\x09[ self deinstallMiddle ] on: Error do: [ ].\x0a\x09[ self deinstallBottom ] on: Error do: [ ]",
referencedClasses: ["Error"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["on:do:", "deinstallTop", "deinstallMiddle", "deinstallBottom"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
$recv((function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return $self._deinstallTop();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({},$ctx1,1)});
//>>excludeEnd("ctx");
}))._on_do_($globals.Error,(function(){
}));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["on:do:"]=1;
//>>excludeEnd("ctx");
$recv((function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return $self._deinstallMiddle();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({},$ctx1,3)});
//>>excludeEnd("ctx");
}))._on_do_($globals.Error,(function(){
}));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["on:do:"]=2;
//>>excludeEnd("ctx");
$recv((function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return $self._deinstallBottom();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({},$ctx1,5)});
//>>excludeEnd("ctx");
}))._on_do_($globals.Error,(function(){
}));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"tearDown",{})});
//>>excludeEnd("ctx");
}; }),
$globals.MethodInheritanceTest);
$core.addMethod(
$core.method({
selector: "testMNU11",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testMNU11\x0a\x09performBlock := [ :x | x foo ].\x0a\x09self shouldMNU.\x0a\x09self installTop: 'foo ^ false'.\x0a\x09self installTop: 'foo ^ true'.\x0a\x09self deinstallTop.\x0a\x09self shouldMNU",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["foo", "shouldMNU", "installTop:", "deinstallTop"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
$self.performBlock=(function(x){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return $recv(x)._foo();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({x:x},$ctx1,1)});
//>>excludeEnd("ctx");
});
$self._shouldMNU();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["shouldMNU"]=1;
//>>excludeEnd("ctx");
$self._installTop_("foo ^ false");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["installTop:"]=1;
//>>excludeEnd("ctx");
$self._installTop_("foo ^ true");
$self._deinstallTop();
$self._shouldMNU();
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testMNU11",{})});
//>>excludeEnd("ctx");
}; }),
$globals.MethodInheritanceTest);
$core.addMethod(
$core.method({
selector: "testMNU22",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testMNU22\x0a\x09performBlock := [ :x | x foo ].\x0a\x09self shouldMNU.\x0a\x09self installMiddle: 'foo ^ false'.\x0a\x09self installMiddle: 'foo ^ true'.\x0a\x09self deinstallMiddle.\x0a\x09self shouldMNU",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["foo", "shouldMNU", "installMiddle:", "deinstallMiddle"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
$self.performBlock=(function(x){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return $recv(x)._foo();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({x:x},$ctx1,1)});
//>>excludeEnd("ctx");
});
$self._shouldMNU();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["shouldMNU"]=1;
//>>excludeEnd("ctx");
$self._installMiddle_("foo ^ false");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["installMiddle:"]=1;
//>>excludeEnd("ctx");
$self._installMiddle_("foo ^ true");
$self._deinstallMiddle();
$self._shouldMNU();
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testMNU22",{})});
//>>excludeEnd("ctx");
}; }),
$globals.MethodInheritanceTest);
$core.addMethod(
$core.method({
selector: "testReturns1",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testReturns1\x0a\x09performBlock := [ :x | x foo ].\x0a\x09self installTop: 'foo ^ false'.\x0a\x09self shouldReturn: false.\x0a\x09self installTop: 'foo ^ true'.\x0a\x09self shouldReturn: true",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["foo", "installTop:", "shouldReturn:"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
$self.performBlock=(function(x){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return $recv(x)._foo();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({x:x},$ctx1,1)});
//>>excludeEnd("ctx");
});
$self._installTop_("foo ^ false");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["installTop:"]=1;
//>>excludeEnd("ctx");
$self._shouldReturn_(false);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["shouldReturn:"]=1;
//>>excludeEnd("ctx");
$self._installTop_("foo ^ true");
$self._shouldReturn_(true);
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testReturns1",{})});
//>>excludeEnd("ctx");
}; }),
$globals.MethodInheritanceTest);
$core.addClass("NumberTest", $globals.TestCase, [], "Kernel-Tests");
$core.addMethod(
$core.method({
selector: "testAbs",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testAbs\x0a\x09self assert: 4 abs equals: 4.\x0a\x09self assert: -4 abs equals: 4",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:equals:", "abs"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $1;
$1=(4)._abs();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["abs"]=1;
//>>excludeEnd("ctx");
$self._assert_equals_($1,(4));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=1;
//>>excludeEnd("ctx");
$self._assert_equals_((-4)._abs(),(4));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testAbs",{})});
//>>excludeEnd("ctx");
}; }),
$globals.NumberTest);
$core.addMethod(
$core.method({
selector: "testArithmetic",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testArithmetic\x0a\x09\x0a\x09\x22We rely on JS here, so we won't test complex behavior, just check if\x0a\x09message sends are corrects\x22\x0a\x0a\x09self assert: 1.5 + 1 equals: 2.5.\x0a\x09self assert: 2 - 1 equals: 1.\x0a\x09self assert: -2 - 1 equals: -3.\x0a\x09self assert: 12 / 2 equals: 6.\x0a\x09self assert: 3 * 4 equals: 12.\x0a\x09self assert: 7 // 2 equals: 3.\x0a\x09self assert: 7 \x5c\x5c 2 equals: 1.\x0a\x0a\x09\x22Simple parenthesis and execution order\x22\x0a\x09self assert: 1 + 2 * 3 equals: 9.\x0a\x09self assert: 1 + (2 * 3) equals: 7",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:equals:", "+", "-", "/", "*", "//", "\x5c\x5c"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $1,$2,$3,$5,$4;
$1=(1.5).__plus((1));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["+"]=1;
//>>excludeEnd("ctx");
$self._assert_equals_($1,(2.5));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=1;
//>>excludeEnd("ctx");
$2=(2).__minus((1));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["-"]=1;
//>>excludeEnd("ctx");
$self._assert_equals_($2,(1));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=2;
//>>excludeEnd("ctx");
$self._assert_equals_((-2).__minus((1)),(-3));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=3;
//>>excludeEnd("ctx");
$self._assert_equals_((12).__slash((2)),(6));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=4;
//>>excludeEnd("ctx");
$3=(3).__star((4));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["*"]=1;
//>>excludeEnd("ctx");
$self._assert_equals_($3,(12));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=5;
//>>excludeEnd("ctx");
$self._assert_equals_((7).__slash_slash((2)),(3));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=6;
//>>excludeEnd("ctx");
$self._assert_equals_((7).__backslash_backslash((2)),(1));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=7;
//>>excludeEnd("ctx");
$5=(1).__plus((2));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["+"]=2;
//>>excludeEnd("ctx");
$4=$recv($5).__star((3));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["*"]=2;
//>>excludeEnd("ctx");
$self._assert_equals_($4,(9));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=8;
//>>excludeEnd("ctx");
$self._assert_equals_((1).__plus((2).__star((3))),(7));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testArithmetic",{})});
//>>excludeEnd("ctx");
}; }),
$globals.NumberTest);
$core.addMethod(
$core.method({
selector: "testAsNumber",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testAsNumber\x0a\x09self assert: 3 asNumber equals: 3.",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:equals:", "asNumber"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
$self._assert_equals_((3)._asNumber(),(3));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testAsNumber",{})});
//>>excludeEnd("ctx");
}; }),
$globals.NumberTest);
$core.addMethod(
$core.method({
selector: "testBetweenAnd",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testBetweenAnd\x0a\x09self assert: (4 between: 3 and: 5).\x0a\x09self assert: (1 between: 5 and: 6) not.\x0a\x09self assert: (90 between: 67 and: 87) not.\x0a\x09self assert: (1 between: 1 and: 1).",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:", "between:and:", "not"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $1,$3,$2,$5,$4;
$1=(4)._between_and_((3),(5));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["between:and:"]=1;
//>>excludeEnd("ctx");
$self._assert_($1);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:"]=1;
//>>excludeEnd("ctx");
$3=(1)._between_and_((5),(6));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["between:and:"]=2;
//>>excludeEnd("ctx");
$2=$recv($3)._not();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["not"]=1;
//>>excludeEnd("ctx");
$self._assert_($2);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:"]=2;
//>>excludeEnd("ctx");
$5=(90)._between_and_((67),(87));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["between:and:"]=3;
//>>excludeEnd("ctx");
$4=$recv($5)._not();
$self._assert_($4);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:"]=3;
//>>excludeEnd("ctx");
$self._assert_((1)._between_and_((1),(1)));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testBetweenAnd",{})});
//>>excludeEnd("ctx");
}; }),
$globals.NumberTest);
$core.addMethod(
$core.method({
selector: "testBitAnd",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testBitAnd\x0a\x09self assert: (15 bitAnd: 2) equals: 2.\x0a\x09self assert: (15 bitAnd: 15) equals: 15.\x0a\x09self assert: (-1 bitAnd: 1021) equals: 1021",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:equals:", "bitAnd:"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $1,$2;
$1=(15)._bitAnd_((2));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["bitAnd:"]=1;
//>>excludeEnd("ctx");
$self._assert_equals_($1,(2));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=1;
//>>excludeEnd("ctx");
$2=(15)._bitAnd_((15));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["bitAnd:"]=2;
//>>excludeEnd("ctx");
$self._assert_equals_($2,(15));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=2;
//>>excludeEnd("ctx");
$self._assert_equals_((-1)._bitAnd_((1021)),(1021));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testBitAnd",{})});
//>>excludeEnd("ctx");
}; }),
$globals.NumberTest);
$core.addMethod(
$core.method({
selector: "testBitNot",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testBitNot\x0a\x09self assert: 2 bitNot equals: -3.\x0a\x09self assert: -1 bitNot equals: 0.\x0a\x09self assert: -1022 bitNot equals: 1021",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:equals:", "bitNot"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $1,$2;
$1=(2)._bitNot();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["bitNot"]=1;
//>>excludeEnd("ctx");
$self._assert_equals_($1,(-3));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=1;
//>>excludeEnd("ctx");
$2=(-1)._bitNot();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["bitNot"]=2;
//>>excludeEnd("ctx");
$self._assert_equals_($2,(0));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=2;
//>>excludeEnd("ctx");
$self._assert_equals_((-1022)._bitNot(),(1021));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testBitNot",{})});
//>>excludeEnd("ctx");
}; }),
$globals.NumberTest);
$core.addMethod(
$core.method({
selector: "testBitOr",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testBitOr\x0a\x09self assert: (2 bitOr: 4) equals: 6.\x0a\x09self assert: (7 bitOr: 2) equals: 7.\x0a\x09self assert: (-1 bitOr: 1021) equals: -1",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:equals:", "bitOr:"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $1,$2;
$1=(2)._bitOr_((4));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["bitOr:"]=1;
//>>excludeEnd("ctx");
$self._assert_equals_($1,(6));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=1;
//>>excludeEnd("ctx");
$2=(7)._bitOr_((2));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["bitOr:"]=2;
//>>excludeEnd("ctx");
$self._assert_equals_($2,(7));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=2;
//>>excludeEnd("ctx");
$self._assert_equals_((-1)._bitOr_((1021)),(-1));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testBitOr",{})});
//>>excludeEnd("ctx");
}; }),
$globals.NumberTest);
$core.addMethod(
$core.method({
selector: "testBitXor",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testBitXor\x0a\x09self assert: (2 bitXor: 4) equals: 6.\x0a\x09self assert: (7 bitXor: 2) equals: 5.\x0a\x09self assert: (-1 bitXor: 1021) equals: -1022.\x0a\x09self assert: (91 bitXor: 91) equals: 0",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:equals:", "bitXor:"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $1,$2,$3;
$1=(2)._bitXor_((4));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["bitXor:"]=1;
//>>excludeEnd("ctx");
$self._assert_equals_($1,(6));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=1;
//>>excludeEnd("ctx");
$2=(7)._bitXor_((2));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["bitXor:"]=2;
//>>excludeEnd("ctx");
$self._assert_equals_($2,(5));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=2;
//>>excludeEnd("ctx");
$3=(-1)._bitXor_((1021));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["bitXor:"]=3;
//>>excludeEnd("ctx");
$self._assert_equals_($3,(-1022));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=3;
//>>excludeEnd("ctx");
$self._assert_equals_((91)._bitXor_((91)),(0));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testBitXor",{})});
//>>excludeEnd("ctx");
}; }),
$globals.NumberTest);
$core.addMethod(
$core.method({
selector: "testCeiling",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testCeiling\x0a\x09self assert: 1.2 ceiling equals: 2.\x0a\x09self assert: -1.2 ceiling equals: -1.\x0a\x09self assert: 1.0 ceiling equals: 1.",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:equals:", "ceiling"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $1,$2;
$1=(1.2)._ceiling();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["ceiling"]=1;
//>>excludeEnd("ctx");
$self._assert_equals_($1,(2));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=1;
//>>excludeEnd("ctx");
$2=(-1.2)._ceiling();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["ceiling"]=2;
//>>excludeEnd("ctx");
$self._assert_equals_($2,(-1));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=2;
//>>excludeEnd("ctx");
$self._assert_equals_((1)._ceiling(),(1));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testCeiling",{})});
//>>excludeEnd("ctx");
}; }),
$globals.NumberTest);
$core.addMethod(
$core.method({
selector: "testComparison",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testComparison\x0a\x0a\x09self assert: 3 > 2.\x0a\x09self assert: 2 < 3.\x0a\x09\x0a\x09self deny: 3 < 2.\x0a\x09self deny: 2 > 3.\x0a\x0a\x09self assert: 3 >= 3.\x0a\x09self assert: 3.1 >= 3.\x0a\x09self assert: 3 <= 3.\x0a\x09self assert: 3 <= 3.1",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:", ">", "<", "deny:", ">=", "<="]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $1,$2,$3,$4;
$1=(3).__gt((2));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx[">"]=1;
//>>excludeEnd("ctx");
$self._assert_($1);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:"]=1;
//>>excludeEnd("ctx");
$2=(2).__lt((3));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["<"]=1;
//>>excludeEnd("ctx");
$self._assert_($2);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:"]=2;
//>>excludeEnd("ctx");
$self._deny_((3).__lt((2)));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["deny:"]=1;
//>>excludeEnd("ctx");
$self._deny_((2).__gt((3)));
$3=(3).__gt_eq((3));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx[">="]=1;
//>>excludeEnd("ctx");
$self._assert_($3);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:"]=3;
//>>excludeEnd("ctx");
$self._assert_((3.1).__gt_eq((3)));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:"]=4;
//>>excludeEnd("ctx");
$4=(3).__lt_eq((3));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["<="]=1;
//>>excludeEnd("ctx");
$self._assert_($4);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:"]=5;
//>>excludeEnd("ctx");
$self._assert_((3).__lt_eq((3.1)));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testComparison",{})});
//>>excludeEnd("ctx");
}; }),
$globals.NumberTest);
$core.addMethod(
$core.method({
selector: "testCopying",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testCopying\x0a\x09self assert: 1 copy == 1.\x0a\x09self assert: 1 deepCopy == 1",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:", "==", "copy", "deepCopy"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $1;
$1=$recv((1)._copy()).__eq_eq((1));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["=="]=1;
//>>excludeEnd("ctx");
$self._assert_($1);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:"]=1;
//>>excludeEnd("ctx");
$self._assert_($recv((1)._deepCopy()).__eq_eq((1)));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testCopying",{})});
//>>excludeEnd("ctx");
}; }),
$globals.NumberTest);
$core.addMethod(
$core.method({
selector: "testDegreesToRadians",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testDegreesToRadians\x0a\x09self assert: (180 degreesToRadians - Number pi) abs <= 0.01.",
referencedClasses: ["Number"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:", "<=", "abs", "-", "degreesToRadians", "pi"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
$self._assert_($recv($recv($recv((180)._degreesToRadians()).__minus($recv($globals.Number)._pi()))._abs()).__lt_eq((0.01)));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testDegreesToRadians",{})});
//>>excludeEnd("ctx");
}; }),
$globals.NumberTest);
$core.addMethod(
$core.method({
selector: "testEquality",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testEquality\x0a\x09self assert: (1 = 1).\x0a\x09self assert: (0 = 0).\x0a\x09self deny: (1 = 0).\x0a\x0a\x09self assert: (1 yourself = 1).\x0a\x09self assert: (1 = 1 yourself).\x0a\x09self assert: (1 yourself = 1 yourself).\x0a\x09\x0a\x09self deny: 0 = false.\x0a\x09self deny: false = 0.\x0a\x09self deny: '' = 0.\x0a\x09self deny: 0 = ''",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:", "=", "deny:", "yourself"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $1,$2,$3,$5,$4,$7,$6,$9,$8,$10,$11,$12;
$1=(1).__eq((1));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["="]=1;
//>>excludeEnd("ctx");
$self._assert_($1);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:"]=1;
//>>excludeEnd("ctx");
$2=(0).__eq((0));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["="]=2;
//>>excludeEnd("ctx");
$self._assert_($2);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:"]=2;
//>>excludeEnd("ctx");
$3=(1).__eq((0));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["="]=3;
//>>excludeEnd("ctx");
$self._deny_($3);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["deny:"]=1;
//>>excludeEnd("ctx");
$5=(1)._yourself();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["yourself"]=1;
//>>excludeEnd("ctx");
$4=$recv($5).__eq((1));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["="]=4;
//>>excludeEnd("ctx");
$self._assert_($4);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:"]=3;
//>>excludeEnd("ctx");
$7=(1)._yourself();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["yourself"]=2;
//>>excludeEnd("ctx");
$6=(1).__eq($7);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["="]=5;
//>>excludeEnd("ctx");
$self._assert_($6);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:"]=4;
//>>excludeEnd("ctx");
$9=(1)._yourself();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["yourself"]=3;
//>>excludeEnd("ctx");
$8=$recv($9).__eq((1)._yourself());
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["="]=6;
//>>excludeEnd("ctx");
$self._assert_($8);
$10=(0).__eq(false);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["="]=7;
//>>excludeEnd("ctx");
$self._deny_($10);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["deny:"]=2;
//>>excludeEnd("ctx");
$11=false.__eq((0));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["="]=8;
//>>excludeEnd("ctx");
$self._deny_($11);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["deny:"]=3;
//>>excludeEnd("ctx");
$12="".__eq((0));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["="]=9;
//>>excludeEnd("ctx");
$self._deny_($12);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["deny:"]=4;
//>>excludeEnd("ctx");
$self._deny_((0).__eq(""));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testEquality",{})});
//>>excludeEnd("ctx");
}; }),
$globals.NumberTest);
$core.addMethod(
$core.method({
selector: "testFloor",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testFloor\x0a\x09self assert: 1.2 floor equals: 1.\x0a\x09self assert: -1.2 floor equals: -2.\x0a\x09self assert: 1.0 floor equals: 1.",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:equals:", "floor"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $1,$2;
$1=(1.2)._floor();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["floor"]=1;
//>>excludeEnd("ctx");
$self._assert_equals_($1,(1));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=1;
//>>excludeEnd("ctx");
$2=(-1.2)._floor();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["floor"]=2;
//>>excludeEnd("ctx");
$self._assert_equals_($2,(-2));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=2;
//>>excludeEnd("ctx");
$self._assert_equals_((1)._floor(),(1));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testFloor",{})});
//>>excludeEnd("ctx");
}; }),
$globals.NumberTest);
$core.addMethod(
$core.method({
selector: "testHexNumbers",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testHexNumbers\x0a\x0a\x09self assert: 16r9 equals: 9.\x0a\x09self assert: 16rA truncated equals: 10.\x0a\x09self assert: 16rB truncated equals: 11.\x0a\x09self assert: 16rC truncated equals: 12.\x0a\x09self assert: 16rD truncated equals: 13.\x0a\x09self assert: 16rE truncated equals: 14.\x0a\x09self assert: 16rF truncated equals: 15",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:equals:", "truncated"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $1,$2,$3,$4,$5;
$self._assert_equals_((9),(9));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=1;
//>>excludeEnd("ctx");
$1=(10)._truncated();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["truncated"]=1;
//>>excludeEnd("ctx");
$self._assert_equals_($1,(10));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=2;
//>>excludeEnd("ctx");
$2=(11)._truncated();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["truncated"]=2;
//>>excludeEnd("ctx");
$self._assert_equals_($2,(11));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=3;
//>>excludeEnd("ctx");
$3=(12)._truncated();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["truncated"]=3;
//>>excludeEnd("ctx");
$self._assert_equals_($3,(12));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=4;
//>>excludeEnd("ctx");
$4=(13)._truncated();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["truncated"]=4;
//>>excludeEnd("ctx");
$self._assert_equals_($4,(13));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=5;
//>>excludeEnd("ctx");
$5=(14)._truncated();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["truncated"]=5;
//>>excludeEnd("ctx");
$self._assert_equals_($5,(14));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=6;
//>>excludeEnd("ctx");
$self._assert_equals_((15)._truncated(),(15));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testHexNumbers",{})});
//>>excludeEnd("ctx");
}; }),
$globals.NumberTest);
$core.addMethod(
$core.method({
selector: "testIdentity",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testIdentity\x0a\x09self assert: 1 == 1.\x0a\x09self assert: 0 == 0.\x0a\x09self deny: 1 == 0.\x0a\x0a\x09self assert: 1 yourself == 1.\x0a\x09self assert: 1 == 1 yourself.\x0a\x09self assert: 1 yourself == 1 yourself.\x0a\x09\x0a\x09self deny: 1 == 2",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:", "==", "deny:", "yourself"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $1,$2,$3,$5,$4,$7,$6,$9,$8;
$1=(1).__eq_eq((1));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["=="]=1;
//>>excludeEnd("ctx");
$self._assert_($1);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:"]=1;
//>>excludeEnd("ctx");
$2=(0).__eq_eq((0));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["=="]=2;
//>>excludeEnd("ctx");
$self._assert_($2);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:"]=2;
//>>excludeEnd("ctx");
$3=(1).__eq_eq((0));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["=="]=3;
//>>excludeEnd("ctx");
$self._deny_($3);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["deny:"]=1;
//>>excludeEnd("ctx");
$5=(1)._yourself();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["yourself"]=1;
//>>excludeEnd("ctx");
$4=$recv($5).__eq_eq((1));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["=="]=4;
//>>excludeEnd("ctx");
$self._assert_($4);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:"]=3;
//>>excludeEnd("ctx");
$7=(1)._yourself();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["yourself"]=2;
//>>excludeEnd("ctx");
$6=(1).__eq_eq($7);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["=="]=5;
//>>excludeEnd("ctx");
$self._assert_($6);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:"]=4;
//>>excludeEnd("ctx");
$9=(1)._yourself();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["yourself"]=3;
//>>excludeEnd("ctx");
$8=$recv($9).__eq_eq((1)._yourself());
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["=="]=6;
//>>excludeEnd("ctx");
$self._assert_($8);
$self._deny_((1).__eq_eq((2)));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testIdentity",{})});
//>>excludeEnd("ctx");
}; }),
$globals.NumberTest);
$core.addMethod(
$core.method({
selector: "testInvalidHexNumbers",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testInvalidHexNumbers\x0a\x0a\x09self should: [ 16rG ] raise: MessageNotUnderstood.\x0a\x09self should: [ 16rg ] raise: MessageNotUnderstood.\x0a\x09self should: [ 16rH ] raise: MessageNotUnderstood.\x0a\x09self should: [ 16rh ] raise: MessageNotUnderstood.\x0a\x09self should: [ 16rI ] raise: MessageNotUnderstood.\x0a\x09self should: [ 16ri ] raise: MessageNotUnderstood.\x0a\x09self should: [ 16rJ ] raise: MessageNotUnderstood.\x0a\x09self should: [ 16rj ] raise: MessageNotUnderstood.\x0a\x09self should: [ 16rK ] raise: MessageNotUnderstood.\x0a\x09self should: [ 16rk ] raise: MessageNotUnderstood.\x0a\x09self should: [ 16rL ] raise: MessageNotUnderstood.\x0a\x09self should: [ 16rl ] raise: MessageNotUnderstood.\x0a\x09self should: [ 16rM ] raise: MessageNotUnderstood.\x0a\x09self should: [ 16rm ] raise: MessageNotUnderstood.\x0a\x09self should: [ 16rN ] raise: MessageNotUnderstood.\x0a\x09self should: [ 16rn ] raise: MessageNotUnderstood.\x0a\x09self should: [ 16rO ] raise: MessageNotUnderstood.\x0a\x09self should: [ 16ro ] raise: MessageNotUnderstood.\x0a\x09self should: [ 16rP ] raise: MessageNotUnderstood.\x0a\x09self should: [ 16rp ] raise: MessageNotUnderstood.\x0a\x09self should: [ 16rQ ] raise: MessageNotUnderstood.\x0a\x09self should: [ 16rq ] raise: MessageNotUnderstood.\x0a\x09self should: [ 16rR ] raise: MessageNotUnderstood.\x0a\x09self should: [ 16rr ] raise: MessageNotUnderstood.\x0a\x09self should: [ 16rS ] raise: MessageNotUnderstood.\x0a\x09self should: [ 16rs ] raise: MessageNotUnderstood.\x0a\x09self should: [ 16rT ] raise: MessageNotUnderstood.\x0a\x09self should: [ 16rt ] raise: MessageNotUnderstood.\x0a\x09self should: [ 16rU ] raise: MessageNotUnderstood.\x0a\x09self should: [ 16ru ] raise: MessageNotUnderstood.\x0a\x09self should: [ 16rV ] raise: MessageNotUnderstood.\x0a\x09self should: [ 16rv ] raise: MessageNotUnderstood.\x0a\x09self should: [ 16rW ] raise: MessageNotUnderstood.\x0a\x09self should: [ 16rw ] raise: MessageNotUnderstood.\x0a\x09self should: [ 16rX ] raise: MessageNotUnderstood.\x0a\x09self should: [ 16rx ] raise: MessageNotUnderstood.\x0a\x09self should: [ 16rY ] raise: MessageNotUnderstood.\x0a\x09self should: [ 16ry ] raise: MessageNotUnderstood.\x0a\x09self should: [ 16rZ ] raise: MessageNotUnderstood.\x0a\x09self should: [ 16rz ] raise: MessageNotUnderstood.\x0a\x09self should: [ 16rABcdEfZ ] raise: MessageNotUnderstood.",
referencedClasses: ["MessageNotUnderstood"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["should:raise:", "rG", "rg", "rH", "rh", "rI", "ri", "rJ", "rj", "rK", "rk", "rL", "rl", "rM", "rm", "rN", "rn", "rO", "ro", "rP", "rp", "rQ", "rq", "rR", "rr", "rS", "rs", "rT", "rt", "rU", "ru", "rV", "rv", "rW", "rw", "rX", "rx", "rY", "ry", "rZ", "rz", "Z"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
$self._should_raise_((function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return (16)._rG();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({},$ctx1,1)});
//>>excludeEnd("ctx");
}),$globals.MessageNotUnderstood);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["should:raise:"]=1;
//>>excludeEnd("ctx");
$self._should_raise_((function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return (16)._rg();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({},$ctx1,2)});
//>>excludeEnd("ctx");
}),$globals.MessageNotUnderstood);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["should:raise:"]=2;
//>>excludeEnd("ctx");
$self._should_raise_((function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return (16)._rH();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({},$ctx1,3)});
//>>excludeEnd("ctx");
}),$globals.MessageNotUnderstood);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["should:raise:"]=3;
//>>excludeEnd("ctx");
$self._should_raise_((function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return (16)._rh();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({},$ctx1,4)});
//>>excludeEnd("ctx");
}),$globals.MessageNotUnderstood);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["should:raise:"]=4;
//>>excludeEnd("ctx");
$self._should_raise_((function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return (16)._rI();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({},$ctx1,5)});
//>>excludeEnd("ctx");
}),$globals.MessageNotUnderstood);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["should:raise:"]=5;
//>>excludeEnd("ctx");
$self._should_raise_((function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return (16)._ri();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({},$ctx1,6)});
//>>excludeEnd("ctx");
}),$globals.MessageNotUnderstood);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["should:raise:"]=6;
//>>excludeEnd("ctx");
$self._should_raise_((function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return (16)._rJ();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({},$ctx1,7)});
//>>excludeEnd("ctx");
}),$globals.MessageNotUnderstood);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["should:raise:"]=7;
//>>excludeEnd("ctx");
$self._should_raise_((function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return (16)._rj();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({},$ctx1,8)});
//>>excludeEnd("ctx");
}),$globals.MessageNotUnderstood);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["should:raise:"]=8;
//>>excludeEnd("ctx");
$self._should_raise_((function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return (16)._rK();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({},$ctx1,9)});
//>>excludeEnd("ctx");
}),$globals.MessageNotUnderstood);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["should:raise:"]=9;
//>>excludeEnd("ctx");
$self._should_raise_((function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return (16)._rk();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({},$ctx1,10)});
//>>excludeEnd("ctx");
}),$globals.MessageNotUnderstood);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["should:raise:"]=10;
//>>excludeEnd("ctx");
$self._should_raise_((function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return (16)._rL();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({},$ctx1,11)});
//>>excludeEnd("ctx");
}),$globals.MessageNotUnderstood);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["should:raise:"]=11;
//>>excludeEnd("ctx");
$self._should_raise_((function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return (16)._rl();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({},$ctx1,12)});
//>>excludeEnd("ctx");
}),$globals.MessageNotUnderstood);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["should:raise:"]=12;
//>>excludeEnd("ctx");
$self._should_raise_((function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return (16)._rM();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({},$ctx1,13)});
//>>excludeEnd("ctx");
}),$globals.MessageNotUnderstood);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["should:raise:"]=13;
//>>excludeEnd("ctx");
$self._should_raise_((function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return (16)._rm();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({},$ctx1,14)});
//>>excludeEnd("ctx");
}),$globals.MessageNotUnderstood);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["should:raise:"]=14;
//>>excludeEnd("ctx");
$self._should_raise_((function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return (16)._rN();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({},$ctx1,15)});
//>>excludeEnd("ctx");
}),$globals.MessageNotUnderstood);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["should:raise:"]=15;
//>>excludeEnd("ctx");
$self._should_raise_((function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return (16)._rn();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({},$ctx1,16)});
//>>excludeEnd("ctx");
}),$globals.MessageNotUnderstood);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["should:raise:"]=16;
//>>excludeEnd("ctx");
$self._should_raise_((function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return (16)._rO();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({},$ctx1,17)});
//>>excludeEnd("ctx");
}),$globals.MessageNotUnderstood);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["should:raise:"]=17;
//>>excludeEnd("ctx");
$self._should_raise_((function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return (16)._ro();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({},$ctx1,18)});
//>>excludeEnd("ctx");
}),$globals.MessageNotUnderstood);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["should:raise:"]=18;
//>>excludeEnd("ctx");
$self._should_raise_((function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return (16)._rP();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({},$ctx1,19)});
//>>excludeEnd("ctx");
}),$globals.MessageNotUnderstood);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["should:raise:"]=19;
//>>excludeEnd("ctx");
$self._should_raise_((function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return (16)._rp();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({},$ctx1,20)});
//>>excludeEnd("ctx");
}),$globals.MessageNotUnderstood);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["should:raise:"]=20;
//>>excludeEnd("ctx");
$self._should_raise_((function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return (16)._rQ();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({},$ctx1,21)});
//>>excludeEnd("ctx");
}),$globals.MessageNotUnderstood);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["should:raise:"]=21;
//>>excludeEnd("ctx");
$self._should_raise_((function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return (16)._rq();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({},$ctx1,22)});
//>>excludeEnd("ctx");
}),$globals.MessageNotUnderstood);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["should:raise:"]=22;
//>>excludeEnd("ctx");
$self._should_raise_((function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return (16)._rR();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({},$ctx1,23)});
//>>excludeEnd("ctx");
}),$globals.MessageNotUnderstood);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["should:raise:"]=23;
//>>excludeEnd("ctx");
$self._should_raise_((function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return (16)._rr();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({},$ctx1,24)});
//>>excludeEnd("ctx");
}),$globals.MessageNotUnderstood);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["should:raise:"]=24;
//>>excludeEnd("ctx");
$self._should_raise_((function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return (16)._rS();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({},$ctx1,25)});
//>>excludeEnd("ctx");
}),$globals.MessageNotUnderstood);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["should:raise:"]=25;
//>>excludeEnd("ctx");
$self._should_raise_((function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return (16)._rs();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({},$ctx1,26)});
//>>excludeEnd("ctx");
}),$globals.MessageNotUnderstood);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["should:raise:"]=26;
//>>excludeEnd("ctx");
$self._should_raise_((function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return (16)._rT();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({},$ctx1,27)});
//>>excludeEnd("ctx");
}),$globals.MessageNotUnderstood);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["should:raise:"]=27;
//>>excludeEnd("ctx");
$self._should_raise_((function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return (16)._rt();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({},$ctx1,28)});
//>>excludeEnd("ctx");
}),$globals.MessageNotUnderstood);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["should:raise:"]=28;
//>>excludeEnd("ctx");
$self._should_raise_((function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return (16)._rU();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({},$ctx1,29)});
//>>excludeEnd("ctx");
}),$globals.MessageNotUnderstood);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["should:raise:"]=29;
//>>excludeEnd("ctx");
$self._should_raise_((function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return (16)._ru();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({},$ctx1,30)});
//>>excludeEnd("ctx");
}),$globals.MessageNotUnderstood);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["should:raise:"]=30;
//>>excludeEnd("ctx");
$self._should_raise_((function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return (16)._rV();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({},$ctx1,31)});
//>>excludeEnd("ctx");
}),$globals.MessageNotUnderstood);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["should:raise:"]=31;
//>>excludeEnd("ctx");
$self._should_raise_((function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return (16)._rv();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({},$ctx1,32)});
//>>excludeEnd("ctx");
}),$globals.MessageNotUnderstood);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["should:raise:"]=32;
//>>excludeEnd("ctx");
$self._should_raise_((function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return (16)._rW();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({},$ctx1,33)});
//>>excludeEnd("ctx");
}),$globals.MessageNotUnderstood);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["should:raise:"]=33;
//>>excludeEnd("ctx");
$self._should_raise_((function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return (16)._rw();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({},$ctx1,34)});
//>>excludeEnd("ctx");
}),$globals.MessageNotUnderstood);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["should:raise:"]=34;
//>>excludeEnd("ctx");
$self._should_raise_((function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return (16)._rX();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({},$ctx1,35)});
//>>excludeEnd("ctx");
}),$globals.MessageNotUnderstood);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["should:raise:"]=35;
//>>excludeEnd("ctx");
$self._should_raise_((function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return (16)._rx();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({},$ctx1,36)});
//>>excludeEnd("ctx");
}),$globals.MessageNotUnderstood);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["should:raise:"]=36;
//>>excludeEnd("ctx");
$self._should_raise_((function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return (16)._rY();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({},$ctx1,37)});
//>>excludeEnd("ctx");
}),$globals.MessageNotUnderstood);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["should:raise:"]=37;
//>>excludeEnd("ctx");
$self._should_raise_((function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return (16)._ry();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({},$ctx1,38)});
//>>excludeEnd("ctx");
}),$globals.MessageNotUnderstood);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["should:raise:"]=38;
//>>excludeEnd("ctx");
$self._should_raise_((function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return (16)._rZ();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({},$ctx1,39)});
//>>excludeEnd("ctx");
}),$globals.MessageNotUnderstood);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["should:raise:"]=39;
//>>excludeEnd("ctx");
$self._should_raise_((function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return (16)._rz();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({},$ctx1,40)});
//>>excludeEnd("ctx");
}),$globals.MessageNotUnderstood);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["should:raise:"]=40;
//>>excludeEnd("ctx");
$self._should_raise_((function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return (11259375)._Z();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({},$ctx1,41)});
//>>excludeEnd("ctx");
}),$globals.MessageNotUnderstood);
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testInvalidHexNumbers",{})});
//>>excludeEnd("ctx");
}; }),
$globals.NumberTest);
$core.addMethod(
$core.method({
selector: "testLog",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testLog\x0a\x09self assert: 10000 log equals: 4.\x0a\x09self assert: (512 log: 2) equals: 9.\x0a\x09self assert: Number e ln equals: 1.",
referencedClasses: ["Number"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:equals:", "log", "log:", "ln", "e"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
$self._assert_equals_((10000)._log(),(4));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=1;
//>>excludeEnd("ctx");
$self._assert_equals_((512)._log_((2)),(9));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=2;
//>>excludeEnd("ctx");
$self._assert_equals_($recv($recv($globals.Number)._e())._ln(),(1));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testLog",{})});
//>>excludeEnd("ctx");
}; }),
$globals.NumberTest);
$core.addMethod(
$core.method({
selector: "testMinMax",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testMinMax\x0a\x09\x0a\x09self assert: (2 max: 5) equals: 5.\x0a\x09self assert: (2 min: 5) equals: 2.\x0a\x09self assert: (2 min: 5 max: 3) equals: 3.\x0a\x09self assert: (7 min: 5 max: 3) equals: 5.\x0a\x09self assert: (4 min: 5 max: 3) equals: 4.",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:equals:", "max:", "min:", "min:max:"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $1,$2;
$self._assert_equals_((2)._max_((5)),(5));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=1;
//>>excludeEnd("ctx");
$self._assert_equals_((2)._min_((5)),(2));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=2;
//>>excludeEnd("ctx");
$1=(2)._min_max_((5),(3));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["min:max:"]=1;
//>>excludeEnd("ctx");
$self._assert_equals_($1,(3));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=3;
//>>excludeEnd("ctx");
$2=(7)._min_max_((5),(3));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["min:max:"]=2;
//>>excludeEnd("ctx");
$self._assert_equals_($2,(5));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=4;
//>>excludeEnd("ctx");
$self._assert_equals_((4)._min_max_((5),(3)),(4));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testMinMax",{})});
//>>excludeEnd("ctx");
}; }),
$globals.NumberTest);
$core.addMethod(
$core.method({
selector: "testNegated",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testNegated\x0a\x09self assert: 3 negated equals: -3.\x0a\x09self assert: -3 negated equals: 3",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:equals:", "negated"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $1;
$1=(3)._negated();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["negated"]=1;
//>>excludeEnd("ctx");
$self._assert_equals_($1,(-3));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=1;
//>>excludeEnd("ctx");
$self._assert_equals_((-3)._negated(),(3));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testNegated",{})});
//>>excludeEnd("ctx");
}; }),
$globals.NumberTest);
$core.addMethod(
$core.method({
selector: "testPrintShowingDecimalPlaces",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testPrintShowingDecimalPlaces\x0a\x09self assert: (23 printShowingDecimalPlaces: 2) equals: '23.00'.\x0a\x09self assert: (23.5698 printShowingDecimalPlaces: 2) equals: '23.57'.\x0a\x09self assert: (234.567 negated printShowingDecimalPlaces: 5) equals: '-234.56700'.\x0a\x09self assert: (23.4567 printShowingDecimalPlaces: 0) equals: '23'.\x0a\x09self assert: (23.5567 printShowingDecimalPlaces: 0) equals: '24'.\x0a\x09self assert: (23.4567 negated printShowingDecimalPlaces: 0) equals: '-23'.\x0a\x09self assert: (23.5567 negated printShowingDecimalPlaces: 0) equals: '-24'.\x0a\x09self assert: (100000000 printShowingDecimalPlaces: 1) equals: '100000000.0'.\x0a\x09self assert: (0.98 printShowingDecimalPlaces: 5) equals: '0.98000'.\x0a\x09self assert: (0.98 negated printShowingDecimalPlaces: 2) equals: '-0.98'.\x0a\x09self assert: (2.567 printShowingDecimalPlaces: 2) equals: '2.57'.\x0a\x09self assert: (-2.567 printShowingDecimalPlaces: 2) equals: '-2.57'.\x0a\x09self assert: (0 printShowingDecimalPlaces: 2) equals: '0.00'.",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:equals:", "printShowingDecimalPlaces:", "negated"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $1,$2,$4,$3,$5,$6,$8,$7,$10,$9,$11,$12,$13,$14,$15;
$1=(23)._printShowingDecimalPlaces_((2));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["printShowingDecimalPlaces:"]=1;
//>>excludeEnd("ctx");
$self._assert_equals_($1,"23.00");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=1;
//>>excludeEnd("ctx");
$2=(23.5698)._printShowingDecimalPlaces_((2));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["printShowingDecimalPlaces:"]=2;
//>>excludeEnd("ctx");
$self._assert_equals_($2,"23.57");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=2;
//>>excludeEnd("ctx");
$4=(234.567)._negated();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["negated"]=1;
//>>excludeEnd("ctx");
$3=$recv($4)._printShowingDecimalPlaces_((5));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["printShowingDecimalPlaces:"]=3;
//>>excludeEnd("ctx");
$self._assert_equals_($3,"-234.56700");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=3;
//>>excludeEnd("ctx");
$5=(23.4567)._printShowingDecimalPlaces_((0));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["printShowingDecimalPlaces:"]=4;
//>>excludeEnd("ctx");
$self._assert_equals_($5,"23");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=4;
//>>excludeEnd("ctx");
$6=(23.5567)._printShowingDecimalPlaces_((0));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["printShowingDecimalPlaces:"]=5;
//>>excludeEnd("ctx");
$self._assert_equals_($6,"24");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=5;
//>>excludeEnd("ctx");
$8=(23.4567)._negated();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["negated"]=2;
//>>excludeEnd("ctx");
$7=$recv($8)._printShowingDecimalPlaces_((0));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["printShowingDecimalPlaces:"]=6;
//>>excludeEnd("ctx");
$self._assert_equals_($7,"-23");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=6;
//>>excludeEnd("ctx");
$10=(23.5567)._negated();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["negated"]=3;
//>>excludeEnd("ctx");
$9=$recv($10)._printShowingDecimalPlaces_((0));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["printShowingDecimalPlaces:"]=7;
//>>excludeEnd("ctx");
$self._assert_equals_($9,"-24");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=7;
//>>excludeEnd("ctx");
$11=(100000000)._printShowingDecimalPlaces_((1));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["printShowingDecimalPlaces:"]=8;
//>>excludeEnd("ctx");
$self._assert_equals_($11,"100000000.0");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=8;
//>>excludeEnd("ctx");
$12=(0.98)._printShowingDecimalPlaces_((5));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["printShowingDecimalPlaces:"]=9;
//>>excludeEnd("ctx");
$self._assert_equals_($12,"0.98000");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=9;
//>>excludeEnd("ctx");
$13=$recv((0.98)._negated())._printShowingDecimalPlaces_((2));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["printShowingDecimalPlaces:"]=10;
//>>excludeEnd("ctx");
$self._assert_equals_($13,"-0.98");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=10;
//>>excludeEnd("ctx");
$14=(2.567)._printShowingDecimalPlaces_((2));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["printShowingDecimalPlaces:"]=11;
//>>excludeEnd("ctx");
$self._assert_equals_($14,"2.57");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=11;
//>>excludeEnd("ctx");
$15=(-2.567)._printShowingDecimalPlaces_((2));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["printShowingDecimalPlaces:"]=12;
//>>excludeEnd("ctx");
$self._assert_equals_($15,"-2.57");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=12;
//>>excludeEnd("ctx");
$self._assert_equals_((0)._printShowingDecimalPlaces_((2)),"0.00");
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testPrintShowingDecimalPlaces",{})});
//>>excludeEnd("ctx");
}; }),
$globals.NumberTest);
$core.addMethod(
$core.method({
selector: "testPrintStringBase",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testPrintStringBase\x0a\x09self assert: (15 printStringBase: 2) equals: '1111'.\x0a\x09self assert: (15 printStringBase: 16) equals: 'f'.\x0a\x09self assert: (256 printStringBase: 16) equals: '100'.\x0a\x09self assert: (256 printStringBase: 2) equals: '100000000'",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:equals:", "printStringBase:"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $1,$2,$3;
$1=(15)._printStringBase_((2));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["printStringBase:"]=1;
//>>excludeEnd("ctx");
$self._assert_equals_($1,"1111");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=1;
//>>excludeEnd("ctx");
$2=(15)._printStringBase_((16));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["printStringBase:"]=2;
//>>excludeEnd("ctx");
$self._assert_equals_($2,"f");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=2;
//>>excludeEnd("ctx");
$3=(256)._printStringBase_((16));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["printStringBase:"]=3;
//>>excludeEnd("ctx");
$self._assert_equals_($3,"100");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=3;
//>>excludeEnd("ctx");
$self._assert_equals_((256)._printStringBase_((2)),"100000000");
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testPrintStringBase",{})});
//>>excludeEnd("ctx");
}; }),
$globals.NumberTest);
$core.addMethod(
$core.method({
selector: "testRadiansToDegrees",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testRadiansToDegrees\x0a\x09self assert: (Number pi radiansToDegrees - 180) abs <= 0.01.",
referencedClasses: ["Number"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:", "<=", "abs", "-", "radiansToDegrees", "pi"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
$self._assert_($recv($recv($recv($recv($recv($globals.Number)._pi())._radiansToDegrees()).__minus((180)))._abs()).__lt_eq((0.01)));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testRadiansToDegrees",{})});
//>>excludeEnd("ctx");
}; }),
$globals.NumberTest);
$core.addMethod(
$core.method({
selector: "testRaisedTo",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testRaisedTo\x0a\x09self assert: (2 raisedTo: 4) equals: 16.\x0a\x09self assert: (2 raisedTo: 0) equals: 1.\x0a\x09self assert: (2 raisedTo: -3) equals: 0.125.\x0a\x09self assert: (4 raisedTo: 0.5) equals: 2.\x0a\x09\x0a\x09self assert: 2 ** 4 equals: 16.",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:equals:", "raisedTo:", "**"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $1,$2,$3;
$1=(2)._raisedTo_((4));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["raisedTo:"]=1;
//>>excludeEnd("ctx");
$self._assert_equals_($1,(16));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=1;
//>>excludeEnd("ctx");
$2=(2)._raisedTo_((0));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["raisedTo:"]=2;
//>>excludeEnd("ctx");
$self._assert_equals_($2,(1));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=2;
//>>excludeEnd("ctx");
$3=(2)._raisedTo_((-3));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["raisedTo:"]=3;
//>>excludeEnd("ctx");
$self._assert_equals_($3,(0.125));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=3;
//>>excludeEnd("ctx");
$self._assert_equals_((4)._raisedTo_((0.5)),(2));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=4;
//>>excludeEnd("ctx");
$self._assert_equals_((2).__star_star((4)),(16));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testRaisedTo",{})});
//>>excludeEnd("ctx");
}; }),
$globals.NumberTest);
$core.addMethod(
$core.method({
selector: "testRounded",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testRounded\x0a\x09\x0a\x09self assert: 3 rounded equals: 3.\x0a\x09self assert: 3.212 rounded equals: 3.\x0a\x09self assert: 3.51 rounded equals: 4",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:equals:", "rounded"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $1,$2;
$1=(3)._rounded();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["rounded"]=1;
//>>excludeEnd("ctx");
$self._assert_equals_($1,(3));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=1;
//>>excludeEnd("ctx");
$2=(3.212)._rounded();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["rounded"]=2;
//>>excludeEnd("ctx");
$self._assert_equals_($2,(3));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=2;
//>>excludeEnd("ctx");
$self._assert_equals_((3.51)._rounded(),(4));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testRounded",{})});
//>>excludeEnd("ctx");
}; }),
$globals.NumberTest);
$core.addMethod(
$core.method({
selector: "testSign",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testSign\x0a\x09self assert: 5 sign equals: 1.\x0a\x09self assert: 0 sign equals: 0.\x0a\x09self assert: -1.4 sign equals: -1.",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:equals:", "sign"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $1,$2;
$1=(5)._sign();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["sign"]=1;
//>>excludeEnd("ctx");
$self._assert_equals_($1,(1));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=1;
//>>excludeEnd("ctx");
$2=(0)._sign();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["sign"]=2;
//>>excludeEnd("ctx");
$self._assert_equals_($2,(0));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=2;
//>>excludeEnd("ctx");
$self._assert_equals_((-1.4)._sign(),(-1));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testSign",{})});
//>>excludeEnd("ctx");
}; }),
$globals.NumberTest);
$core.addMethod(
$core.method({
selector: "testSqrt",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testSqrt\x0a\x09\x0a\x09self assert: 4 sqrt equals: 2.\x0a\x09self assert: 16 sqrt equals: 4",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:equals:", "sqrt"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $1;
$1=(4)._sqrt();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["sqrt"]=1;
//>>excludeEnd("ctx");
$self._assert_equals_($1,(2));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=1;
//>>excludeEnd("ctx");
$self._assert_equals_((16)._sqrt(),(4));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testSqrt",{})});
//>>excludeEnd("ctx");
}; }),
$globals.NumberTest);
$core.addMethod(
$core.method({
selector: "testSquared",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testSquared\x0a\x09\x0a\x09self assert: 4 squared equals: 16",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:equals:", "squared"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
$self._assert_equals_((4)._squared(),(16));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testSquared",{})});
//>>excludeEnd("ctx");
}; }),
$globals.NumberTest);
$core.addMethod(
$core.method({
selector: "testTimesRepeat",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testTimesRepeat\x0a\x09| i |\x0a\x0a\x09i := 0.\x0a\x090 timesRepeat: [ i := i + 1 ].\x0a\x09self assert: i equals: 0.\x0a\x0a\x095 timesRepeat: [ i := i + 1 ].\x0a\x09self assert: i equals: 5",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["timesRepeat:", "+", "assert:equals:"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
var i;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
i=(0);
(0)._timesRepeat_((function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
i=$recv(i).__plus((1));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx2.sendIdx["+"]=1;
//>>excludeEnd("ctx");
return i;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({},$ctx1,1)});
//>>excludeEnd("ctx");
}));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["timesRepeat:"]=1;
//>>excludeEnd("ctx");
$self._assert_equals_(i,(0));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=1;
//>>excludeEnd("ctx");
(5)._timesRepeat_((function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
i=$recv(i).__plus((1));
return i;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({},$ctx1,2)});
//>>excludeEnd("ctx");
}));
$self._assert_equals_(i,(5));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testTimesRepeat",{i:i})});
//>>excludeEnd("ctx");
}; }),
$globals.NumberTest);
$core.addMethod(
$core.method({
selector: "testTo",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testTo\x0a\x09self assert: (1 to: 5) equals: #(1 2 3 4 5)",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:equals:", "to:"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
$self._assert_equals_((1)._to_((5)),[(1), (2), (3), (4), (5)]);
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testTo",{})});
//>>excludeEnd("ctx");
}; }),
$globals.NumberTest);
$core.addMethod(
$core.method({
selector: "testToBy",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testToBy\x0a\x09self assert: (0 to: 6 by: 2) equals: #(0 2 4 6).\x0a\x0a\x09self should: [ 1 to: 4 by: 0 ] raise: Error",
referencedClasses: ["Error"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:equals:", "to:by:", "should:raise:"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $1;
$1=(0)._to_by_((6),(2));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["to:by:"]=1;
//>>excludeEnd("ctx");
$self._assert_equals_($1,[(0), (2), (4), (6)]);
$self._should_raise_((function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return (1)._to_by_((4),(0));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({},$ctx1,1)});
//>>excludeEnd("ctx");
}),$globals.Error);
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testToBy",{})});
//>>excludeEnd("ctx");
}; }),
$globals.NumberTest);
$core.addMethod(
$core.method({
selector: "testTrigonometry",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testTrigonometry\x0a\x09self assert: 0 cos equals: 1.\x0a\x09self assert: 0 sin equals: 0.\x0a\x09self assert: 0 tan equals: 0.\x0a\x09self assert: 1 arcCos equals: 0.\x0a\x09self assert: 0 arcSin equals: 0.\x0a\x09self assert: 0 arcTan equals: 0.\x0a\x09\x0a\x09self assert: (0 arcTan: 1) equals: 0.\x0a\x09self assert: (1 arcTan: 0) equals: (Number pi / 2)",
referencedClasses: ["Number"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:equals:", "cos", "sin", "tan", "arcCos", "arcSin", "arcTan", "arcTan:", "/", "pi"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $1;
$self._assert_equals_((0)._cos(),(1));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=1;
//>>excludeEnd("ctx");
$self._assert_equals_((0)._sin(),(0));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=2;
//>>excludeEnd("ctx");
$self._assert_equals_((0)._tan(),(0));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=3;
//>>excludeEnd("ctx");
$self._assert_equals_((1)._arcCos(),(0));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=4;
//>>excludeEnd("ctx");
$self._assert_equals_((0)._arcSin(),(0));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=5;
//>>excludeEnd("ctx");
$self._assert_equals_((0)._arcTan(),(0));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=6;
//>>excludeEnd("ctx");
$1=(0)._arcTan_((1));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["arcTan:"]=1;
//>>excludeEnd("ctx");
$self._assert_equals_($1,(0));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=7;
//>>excludeEnd("ctx");
$self._assert_equals_((1)._arcTan_((0)),$recv($recv($globals.Number)._pi()).__slash((2)));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testTrigonometry",{})});
//>>excludeEnd("ctx");
}; }),
$globals.NumberTest);
$core.addMethod(
$core.method({
selector: "testTruncated",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testTruncated\x0a\x09\x0a\x09self assert: 3 truncated equals: 3.\x0a\x09self assert: 3.212 truncated equals: 3.\x0a\x09self assert: 3.51 truncated equals: 3",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:equals:", "truncated"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $1,$2;
$1=(3)._truncated();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["truncated"]=1;
//>>excludeEnd("ctx");
$self._assert_equals_($1,(3));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=1;
//>>excludeEnd("ctx");
$2=(3.212)._truncated();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["truncated"]=2;
//>>excludeEnd("ctx");
$self._assert_equals_($2,(3));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=2;
//>>excludeEnd("ctx");
$self._assert_equals_((3.51)._truncated(),(3));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testTruncated",{})});
//>>excludeEnd("ctx");
}; }),
$globals.NumberTest);
$core.addClass("ObjectMock", $globals.Object, ["foo", "bar"], "Kernel-Tests");
//>>excludeStart("ide", pragmas.excludeIdeData);
$globals.ObjectMock.comment="ObjectMock is there only to perform tests on classes.";
//>>excludeEnd("ide");
$core.addMethod(
$core.method({
selector: "foo",
protocol: "not yet classified",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "foo\x0a\x09^ foo",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: []
}, function ($methodClass){ return function (){
var self=this,$self=this;
return $self.foo;
}; }),
$globals.ObjectMock);
$core.addMethod(
$core.method({
selector: "foo:",
protocol: "not yet classified",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: ["anObject"],
source: "foo: anObject\x0a\x09foo := anObject",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: []
}, function ($methodClass){ return function (anObject){
var self=this,$self=this;
$self.foo=anObject;
return self;
}; }),
$globals.ObjectMock);
$core.addClass("ObjectTest", $globals.TestCase, [], "Kernel-Tests");
$core.addMethod(
$core.method({
selector: "notDefined",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "notDefined\x0a\x09<inlineJS: 'return void 0;'>",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [["inlineJS:", ["return void 0;"]]],
messageSends: []
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
return void 0;;
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"notDefined",{})});
//>>excludeEnd("ctx");
}; }),
$globals.ObjectTest);
$core.addMethod(
$core.method({
selector: "testBasicAccess",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testBasicAccess\x0a\x09| o |\x0a\x09o := Object new.\x0a\x09o basicAt: 'a' put: 1.\x0a\x09self assert: (o basicAt: 'a') equals: 1.\x0a\x09self assert: (o basicAt: 'b') equals: nil",
referencedClasses: ["Object"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["new", "basicAt:put:", "assert:equals:", "basicAt:"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
var o;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $1;
o=$recv($globals.Object)._new();
$recv(o)._basicAt_put_("a",(1));
$1=$recv(o)._basicAt_("a");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["basicAt:"]=1;
//>>excludeEnd("ctx");
$self._assert_equals_($1,(1));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=1;
//>>excludeEnd("ctx");
$self._assert_equals_($recv(o)._basicAt_("b"),nil);
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testBasicAccess",{o:o})});
//>>excludeEnd("ctx");
}; }),
$globals.ObjectTest);
$core.addMethod(
$core.method({
selector: "testBasicPerform",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testBasicPerform\x0a\x09| o |\x0a\x09o := Object new.\x0a\x09o basicAt: 'func' put: [ 'hello' ].\x0a\x09o basicAt: 'func2' put: [ :a | a + 1 ].\x0a\x0a\x09self assert: (o basicPerform: 'func') equals: 'hello'.\x0a\x09self assert: (o basicPerform: 'func2' withArguments: #(3)) equals: 4",
referencedClasses: ["Object"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["new", "basicAt:put:", "+", "assert:equals:", "basicPerform:", "basicPerform:withArguments:"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
var o;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
o=$recv($globals.Object)._new();
$recv(o)._basicAt_put_("func",(function(){
return "hello";
}));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["basicAt:put:"]=1;
//>>excludeEnd("ctx");
$recv(o)._basicAt_put_("func2",(function(a){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return $recv(a).__plus((1));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({a:a},$ctx1,2)});
//>>excludeEnd("ctx");
}));
$self._assert_equals_($recv(o)._basicPerform_("func"),"hello");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=1;
//>>excludeEnd("ctx");
$self._assert_equals_($recv(o)._basicPerform_withArguments_("func2",[(3)]),(4));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testBasicPerform",{o:o})});
//>>excludeEnd("ctx");
}; }),
$globals.ObjectTest);
$core.addMethod(
$core.method({
selector: "testDNU",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testDNU\x0a\x09self should: [ Object new foo ] raise: MessageNotUnderstood",
referencedClasses: ["Object", "MessageNotUnderstood"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["should:raise:", "foo", "new"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
$self._should_raise_((function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return $recv($recv($globals.Object)._new())._foo();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({},$ctx1,1)});
//>>excludeEnd("ctx");
}),$globals.MessageNotUnderstood);
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testDNU",{})});
//>>excludeEnd("ctx");
}; }),
$globals.ObjectTest);
$core.addMethod(
$core.method({
selector: "testEquality",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testEquality\x0a\x09| o |\x0a\x09o := Object new.\x0a\x09self deny: o = Object new.\x0a\x09self assert: (o = o).\x0a\x09self assert: (o yourself = o).\x0a\x09self assert: (o = o yourself)",
referencedClasses: ["Object"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["new", "deny:", "=", "assert:", "yourself"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
var o;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $1,$2,$4,$3;
o=$recv($globals.Object)._new();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["new"]=1;
//>>excludeEnd("ctx");
$1=$recv(o).__eq($recv($globals.Object)._new());
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["="]=1;
//>>excludeEnd("ctx");
$self._deny_($1);
$2=$recv(o).__eq(o);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["="]=2;
//>>excludeEnd("ctx");
$self._assert_($2);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:"]=1;
//>>excludeEnd("ctx");
$4=$recv(o)._yourself();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["yourself"]=1;
//>>excludeEnd("ctx");
$3=$recv($4).__eq(o);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["="]=3;
//>>excludeEnd("ctx");
$self._assert_($3);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:"]=2;
//>>excludeEnd("ctx");
$self._assert_($recv(o).__eq($recv(o)._yourself()));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testEquality",{o:o})});
//>>excludeEnd("ctx");
}; }),
$globals.ObjectTest);
$core.addMethod(
$core.method({
selector: "testHalt",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testHalt\x0a\x09self should: [ Object new halt ] raise: Error",
referencedClasses: ["Object", "Error"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["should:raise:", "halt", "new"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
$self._should_raise_((function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return $recv($recv($globals.Object)._new())._halt();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({},$ctx1,1)});
//>>excludeEnd("ctx");
}),$globals.Error);
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testHalt",{})});
//>>excludeEnd("ctx");
}; }),
$globals.ObjectTest);
$core.addMethod(
$core.method({
selector: "testIdentity",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testIdentity\x0a\x09| o |\x0a\x09o := Object new.\x0a\x09self deny: o == Object new.\x0a\x09self assert: o == o.\x0a\x09self assert: o yourself == o.\x0a\x09self assert: o == o yourself",
referencedClasses: ["Object"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["new", "deny:", "==", "assert:", "yourself"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
var o;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $1,$2,$4,$3;
o=$recv($globals.Object)._new();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["new"]=1;
//>>excludeEnd("ctx");
$1=$recv(o).__eq_eq($recv($globals.Object)._new());
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["=="]=1;
//>>excludeEnd("ctx");
$self._deny_($1);
$2=$recv(o).__eq_eq(o);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["=="]=2;
//>>excludeEnd("ctx");
$self._assert_($2);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:"]=1;
//>>excludeEnd("ctx");
$4=$recv(o)._yourself();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["yourself"]=1;
//>>excludeEnd("ctx");
$3=$recv($4).__eq_eq(o);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["=="]=3;
//>>excludeEnd("ctx");
$self._assert_($3);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:"]=2;
//>>excludeEnd("ctx");
$self._assert_($recv(o).__eq_eq($recv(o)._yourself()));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testIdentity",{o:o})});
//>>excludeEnd("ctx");
}; }),
$globals.ObjectTest);
$core.addMethod(
$core.method({
selector: "testIfNil",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testIfNil\x0a\x09self deny: Object new isNil.\x0a\x09self deny: (Object new ifNil: [ true ]) = true.\x0a\x09self assert: (Object new ifNotNil: [ true ]) equals: true.\x0a\x0a\x09self assert: (Object new ifNil: [ false ] ifNotNil: [ true ]) equals: true.\x0a\x09self assert: (Object new ifNotNil: [ true ] ifNil: [ false ]) equals: true",
referencedClasses: ["Object"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["deny:", "isNil", "new", "=", "ifNil:", "assert:equals:", "ifNotNil:", "ifNil:ifNotNil:", "ifNotNil:ifNil:"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $2,$1,$5,$4,$3,$7,$6,$9,$8,$11,$10,$receiver;
$2=$recv($globals.Object)._new();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["new"]=1;
//>>excludeEnd("ctx");
$1=$recv($2)._isNil();
$self._deny_($1);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["deny:"]=1;
//>>excludeEnd("ctx");
$5=$recv($globals.Object)._new();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["new"]=2;
//>>excludeEnd("ctx");
if(($receiver = $5) == null || $receiver.a$nil){
$4=true;
} else {
$4=$5;
}
$3=$recv($4).__eq(true);
$self._deny_($3);
$7=$recv($globals.Object)._new();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["new"]=3;
//>>excludeEnd("ctx");
if(($receiver = $7) == null || $receiver.a$nil){
$6=$7;
} else {
$6=true;
}
$self._assert_equals_($6,true);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=1;
//>>excludeEnd("ctx");
$9=$recv($globals.Object)._new();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["new"]=4;
//>>excludeEnd("ctx");
if(($receiver = $9) == null || $receiver.a$nil){
$8=false;
} else {
$8=true;
}
$self._assert_equals_($8,true);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=2;
//>>excludeEnd("ctx");
$11=$recv($globals.Object)._new();
if(($receiver = $11) == null || $receiver.a$nil){
$10=false;
} else {
$10=true;
}
$self._assert_equals_($10,true);
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testIfNil",{})});
//>>excludeEnd("ctx");
}; }),
$globals.ObjectTest);
$core.addMethod(
$core.method({
selector: "testInstVars",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testInstVars\x0a\x09| o |\x0a\x09o := ObjectMock new.\x0a\x09self assert: (o instVarAt: #foo) equals: nil.\x0a\x0a\x09o instVarAt: #foo put: 1.\x0a\x09self assert: (o instVarAt: #foo) equals: 1.\x0a\x09self assert: (o instVarAt: 'foo') equals: 1",
referencedClasses: ["ObjectMock"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["new", "assert:equals:", "instVarAt:", "instVarAt:put:"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
var o;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $1,$2;
o=$recv($globals.ObjectMock)._new();
$1=$recv(o)._instVarAt_("foo");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["instVarAt:"]=1;
//>>excludeEnd("ctx");
$self._assert_equals_($1,nil);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=1;
//>>excludeEnd("ctx");
$recv(o)._instVarAt_put_("foo",(1));
$2=$recv(o)._instVarAt_("foo");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["instVarAt:"]=2;
//>>excludeEnd("ctx");
$self._assert_equals_($2,(1));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=2;
//>>excludeEnd("ctx");
$self._assert_equals_($recv(o)._instVarAt_("foo"),(1));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testInstVars",{o:o})});
//>>excludeEnd("ctx");
}; }),
$globals.ObjectTest);
$core.addMethod(
$core.method({
selector: "testNilUndefined",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testNilUndefined\x0a\x09\x22nil in Smalltalk is the undefined object in JS\x22\x0a\x0a\x09self assert: self notDefined equals: nil",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:equals:", "notDefined"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
$self._assert_equals_($self._notDefined(),nil);
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testNilUndefined",{})});
//>>excludeEnd("ctx");
}; }),
$globals.ObjectTest);
$core.addMethod(
$core.method({
selector: "testYourself",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testYourself\x0a\x09| o |\x0a\x09o := ObjectMock new.\x0a\x09self assert: o yourself == o",
referencedClasses: ["ObjectMock"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["new", "assert:", "==", "yourself"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
var o;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
o=$recv($globals.ObjectMock)._new();
$self._assert_($recv($recv(o)._yourself()).__eq_eq(o));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testYourself",{o:o})});
//>>excludeEnd("ctx");
}; }),
$globals.ObjectTest);
$core.addClass("PointTest", $globals.TestCase, [], "Kernel-Tests");
$core.addMethod(
$core.method({
selector: "testAccessing",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testAccessing\x0a\x09self assert: (Point x: 3 y: 4) x equals: 3.\x0a\x09self assert: (Point x: 3 y: 4) y equals: 4.\x0a\x09self assert: (Point new x: 3) x equals: 3.\x0a\x09self assert: (Point new y: 4) y equals: 4",
referencedClasses: ["Point"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:equals:", "x", "x:y:", "y", "x:", "new", "y:"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $2,$1,$3,$6,$5,$4;
$2=$recv($globals.Point)._x_y_((3),(4));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["x:y:"]=1;
//>>excludeEnd("ctx");
$1=$recv($2)._x();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["x"]=1;
//>>excludeEnd("ctx");
$self._assert_equals_($1,(3));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=1;
//>>excludeEnd("ctx");
$3=$recv($recv($globals.Point)._x_y_((3),(4)))._y();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["y"]=1;
//>>excludeEnd("ctx");
$self._assert_equals_($3,(4));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=2;
//>>excludeEnd("ctx");
$6=$recv($globals.Point)._new();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["new"]=1;
//>>excludeEnd("ctx");
$5=$recv($6)._x_((3));
$4=$recv($5)._x();
$self._assert_equals_($4,(3));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=3;
//>>excludeEnd("ctx");
$self._assert_equals_($recv($recv($recv($globals.Point)._new())._y_((4)))._y(),(4));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testAccessing",{})});
//>>excludeEnd("ctx");
}; }),
$globals.PointTest);
$core.addMethod(
$core.method({
selector: "testAngle",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testAngle\x0a\x09self assert: (-1@0) angle equals: Number pi",
referencedClasses: ["Number"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:equals:", "angle", "@", "pi"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
$self._assert_equals_($recv((-1).__at((0)))._angle(),$recv($globals.Number)._pi());
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testAngle",{})});
//>>excludeEnd("ctx");
}; }),
$globals.PointTest);
$core.addMethod(
$core.method({
selector: "testArithmetic",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testArithmetic\x0a\x09self assert: 3@4 * (3@4 ) equals: (Point x: 9 y: 16).\x0a\x09self assert: 3@4 + (3@4 ) equals: (Point x: 6 y: 8).\x0a\x09self assert: 3@4 - (3@4 ) equals: (Point x: 0 y: 0).\x0a\x09self assert: 6@8 / (3@4 ) equals: (Point x: 2 y: 2)",
referencedClasses: ["Point"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:equals:", "*", "@", "x:y:", "+", "-", "/"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $2,$3,$1,$4,$6,$7,$5,$8,$10,$11,$9,$12,$14,$13;
$2=(3).__at((4));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["@"]=1;
//>>excludeEnd("ctx");
$3=(3).__at((4));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["@"]=2;
//>>excludeEnd("ctx");
$1=$recv($2).__star($3);
$4=$recv($globals.Point)._x_y_((9),(16));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["x:y:"]=1;
//>>excludeEnd("ctx");
$self._assert_equals_($1,$4);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=1;
//>>excludeEnd("ctx");
$6=(3).__at((4));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["@"]=3;
//>>excludeEnd("ctx");
$7=(3).__at((4));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["@"]=4;
//>>excludeEnd("ctx");
$5=$recv($6).__plus($7);
$8=$recv($globals.Point)._x_y_((6),(8));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["x:y:"]=2;
//>>excludeEnd("ctx");
$self._assert_equals_($5,$8);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=2;
//>>excludeEnd("ctx");
$10=(3).__at((4));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["@"]=5;
//>>excludeEnd("ctx");
$11=(3).__at((4));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["@"]=6;
//>>excludeEnd("ctx");
$9=$recv($10).__minus($11);
$12=$recv($globals.Point)._x_y_((0),(0));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["x:y:"]=3;
//>>excludeEnd("ctx");
$self._assert_equals_($9,$12);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=3;
//>>excludeEnd("ctx");
$14=(6).__at((8));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["@"]=7;
//>>excludeEnd("ctx");
$13=$recv($14).__slash((3).__at((4)));
$self._assert_equals_($13,$recv($globals.Point)._x_y_((2),(2)));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testArithmetic",{})});
//>>excludeEnd("ctx");
}; }),
$globals.PointTest);
$core.addMethod(
$core.method({
selector: "testAt",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testAt\x0a\x09self assert: 3@4 equals: (Point x: 3 y: 4)",
referencedClasses: ["Point"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:equals:", "@", "x:y:"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
$self._assert_equals_((3).__at((4)),$recv($globals.Point)._x_y_((3),(4)));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testAt",{})});
//>>excludeEnd("ctx");
}; }),
$globals.PointTest);
$core.addMethod(
$core.method({
selector: "testComparison",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testComparison\x0a\x09self assert: 3@4 < (4@5).\x0a\x09self deny: 3@4 < (4@4).\x0a\x09\x0a\x09self assert: 4@5 <= (4@5).\x0a\x09self deny: 4@5 <= (3@5).\x0a\x09\x0a\x09self assert: 5@6 > (4@5).\x0a\x09self deny: 5@6 > (6@6).\x0a\x09\x0a\x09self assert: 4@5 >= (4@5).\x0a\x09self deny: 4@5 >= (5@5)",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:", "<", "@", "deny:", "<=", ">", ">="]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $2,$3,$1,$5,$6,$4,$8,$9,$7,$11,$12,$10,$14,$15,$13,$17,$18,$16,$20,$21,$19,$23,$22;
$2=(3).__at((4));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["@"]=1;
//>>excludeEnd("ctx");
$3=(4).__at((5));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["@"]=2;
//>>excludeEnd("ctx");
$1=$recv($2).__lt($3);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["<"]=1;
//>>excludeEnd("ctx");
$self._assert_($1);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:"]=1;
//>>excludeEnd("ctx");
$5=(3).__at((4));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["@"]=3;
//>>excludeEnd("ctx");
$6=(4).__at((4));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["@"]=4;
//>>excludeEnd("ctx");
$4=$recv($5).__lt($6);
$self._deny_($4);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["deny:"]=1;
//>>excludeEnd("ctx");
$8=(4).__at((5));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["@"]=5;
//>>excludeEnd("ctx");
$9=(4).__at((5));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["@"]=6;
//>>excludeEnd("ctx");
$7=$recv($8).__lt_eq($9);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["<="]=1;
//>>excludeEnd("ctx");
$self._assert_($7);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:"]=2;
//>>excludeEnd("ctx");
$11=(4).__at((5));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["@"]=7;
//>>excludeEnd("ctx");
$12=(3).__at((5));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["@"]=8;
//>>excludeEnd("ctx");
$10=$recv($11).__lt_eq($12);
$self._deny_($10);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["deny:"]=2;
//>>excludeEnd("ctx");
$14=(5).__at((6));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["@"]=9;
//>>excludeEnd("ctx");
$15=(4).__at((5));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["@"]=10;
//>>excludeEnd("ctx");
$13=$recv($14).__gt($15);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx[">"]=1;
//>>excludeEnd("ctx");
$self._assert_($13);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:"]=3;
//>>excludeEnd("ctx");
$17=(5).__at((6));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["@"]=11;
//>>excludeEnd("ctx");
$18=(6).__at((6));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["@"]=12;
//>>excludeEnd("ctx");
$16=$recv($17).__gt($18);
$self._deny_($16);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["deny:"]=3;
//>>excludeEnd("ctx");
$20=(4).__at((5));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["@"]=13;
//>>excludeEnd("ctx");
$21=(4).__at((5));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["@"]=14;
//>>excludeEnd("ctx");
$19=$recv($20).__gt_eq($21);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx[">="]=1;
//>>excludeEnd("ctx");
$self._assert_($19);
$23=(4).__at((5));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["@"]=15;
//>>excludeEnd("ctx");
$22=$recv($23).__gt_eq((5).__at((5)));
$self._deny_($22);
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testComparison",{})});
//>>excludeEnd("ctx");
}; }),
$globals.PointTest);
$core.addMethod(
$core.method({
selector: "testDotProduct",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testDotProduct\x0a\x09self assert: (2@3 dotProduct: 3@7) equals: 27",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:equals:", "dotProduct:", "@"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $2,$1;
$2=(2).__at((3));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["@"]=1;
//>>excludeEnd("ctx");
$1=$recv($2)._dotProduct_((3).__at((7)));
$self._assert_equals_($1,(27));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testDotProduct",{})});
//>>excludeEnd("ctx");
}; }),
$globals.PointTest);
$core.addMethod(
$core.method({
selector: "testEgality",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testEgality\x0a\x09self assert: (3@4 = (3@4)).\x0a\x09self deny: 3@5 = (3@6)",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:", "=", "@", "deny:"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $2,$3,$1,$5,$4;
$2=(3).__at((4));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["@"]=1;
//>>excludeEnd("ctx");
$3=(3).__at((4));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["@"]=2;
//>>excludeEnd("ctx");
$1=$recv($2).__eq($3);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["="]=1;
//>>excludeEnd("ctx");
$self._assert_($1);
$5=(3).__at((5));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["@"]=3;
//>>excludeEnd("ctx");
$4=$recv($5).__eq((3).__at((6)));
$self._deny_($4);
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testEgality",{})});
//>>excludeEnd("ctx");
}; }),
$globals.PointTest);
$core.addMethod(
$core.method({
selector: "testNew",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testNew\x0a\x0a\x09self assert: (Point new x: 3) y equals: nil.\x0a\x09self deny: (Point new x: 3) x = 0.\x0a\x09self assert: (Point new y: 4) x equals: nil.\x0a\x09self deny: (Point new y: 4) y = 0",
referencedClasses: ["Point"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:equals:", "y", "x:", "new", "deny:", "=", "x", "y:"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $3,$2,$1,$7,$6,$5,$4,$10,$9,$8;
$3=$recv($globals.Point)._new();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["new"]=1;
//>>excludeEnd("ctx");
$2=$recv($3)._x_((3));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["x:"]=1;
//>>excludeEnd("ctx");
$1=$recv($2)._y();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["y"]=1;
//>>excludeEnd("ctx");
$self._assert_equals_($1,nil);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=1;
//>>excludeEnd("ctx");
$7=$recv($globals.Point)._new();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["new"]=2;
//>>excludeEnd("ctx");
$6=$recv($7)._x_((3));
$5=$recv($6)._x();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["x"]=1;
//>>excludeEnd("ctx");
$4=$recv($5).__eq((0));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["="]=1;
//>>excludeEnd("ctx");
$self._deny_($4);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["deny:"]=1;
//>>excludeEnd("ctx");
$10=$recv($globals.Point)._new();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["new"]=3;
//>>excludeEnd("ctx");
$9=$recv($10)._y_((4));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["y:"]=1;
//>>excludeEnd("ctx");
$8=$recv($9)._x();
$self._assert_equals_($8,nil);
$self._deny_($recv($recv($recv($recv($globals.Point)._new())._y_((4)))._y()).__eq((0)));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testNew",{})});
//>>excludeEnd("ctx");
}; }),
$globals.PointTest);
$core.addMethod(
$core.method({
selector: "testNormal",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testNormal\x0a\x09self assert: (1@0) normal equals: 0@1",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:equals:", "normal", "@"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $2,$1;
$2=(1).__at((0));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["@"]=1;
//>>excludeEnd("ctx");
$1=$recv($2)._normal();
$self._assert_equals_($1,(0).__at((1)));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testNormal",{})});
//>>excludeEnd("ctx");
}; }),
$globals.PointTest);
$core.addMethod(
$core.method({
selector: "testNormalized",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testNormalized\x0a\x09self assert: (0@2) normalized equals: 0@1.\x0a\x09self assert: (0@0) normalized equals: 0@0.",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:equals:", "normalized", "@"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $2,$1,$3,$5,$4;
$2=(0).__at((2));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["@"]=1;
//>>excludeEnd("ctx");
$1=$recv($2)._normalized();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["normalized"]=1;
//>>excludeEnd("ctx");
$3=(0).__at((1));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["@"]=2;
//>>excludeEnd("ctx");
$self._assert_equals_($1,$3);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=1;
//>>excludeEnd("ctx");
$5=(0).__at((0));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["@"]=3;
//>>excludeEnd("ctx");
$4=$recv($5)._normalized();
$self._assert_equals_($4,(0).__at((0)));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testNormalized",{})});
//>>excludeEnd("ctx");
}; }),
$globals.PointTest);
$core.addMethod(
$core.method({
selector: "testPolarCoordinates",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testPolarCoordinates\x0a\x09self assert: (1@0) r equals: 1.\x0a\x09self assert: (0@0) r equals: 0.",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:equals:", "r", "@"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $2,$1;
$2=(1).__at((0));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["@"]=1;
//>>excludeEnd("ctx");
$1=$recv($2)._r();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["r"]=1;
//>>excludeEnd("ctx");
$self._assert_equals_($1,(1));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=1;
//>>excludeEnd("ctx");
$self._assert_equals_($recv((0).__at((0)))._r(),(0));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testPolarCoordinates",{})});
//>>excludeEnd("ctx");
}; }),
$globals.PointTest);
$core.addMethod(
$core.method({
selector: "testRectangleCreation",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testRectangleCreation\x0a\x09self assert: (1@1 corner: 2@2) equals: (Rectangle origin: 1@1 corner: 2@2).\x0a\x09self assert: (1@1 rectangle: 2@2) equals: (Rectangle point: 1@1 point: 2@2).\x0a\x09self assert: (1@1 extent: 2@2) equals: (Rectangle origin: 1@1 extent: 2@2)",
referencedClasses: ["Rectangle"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:equals:", "corner:", "@", "origin:corner:", "rectangle:", "point:point:", "extent:", "origin:extent:"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $2,$3,$1,$5,$6,$4,$8,$9,$7,$11,$12,$10,$14,$15,$13,$17,$16;
$2=(1).__at((1));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["@"]=1;
//>>excludeEnd("ctx");
$3=(2).__at((2));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["@"]=2;
//>>excludeEnd("ctx");
$1=$recv($2)._corner_($3);
$5=(1).__at((1));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["@"]=3;
//>>excludeEnd("ctx");
$6=(2).__at((2));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["@"]=4;
//>>excludeEnd("ctx");
$4=$recv($globals.Rectangle)._origin_corner_($5,$6);
$self._assert_equals_($1,$4);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=1;
//>>excludeEnd("ctx");
$8=(1).__at((1));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["@"]=5;
//>>excludeEnd("ctx");
$9=(2).__at((2));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["@"]=6;
//>>excludeEnd("ctx");
$7=$recv($8)._rectangle_($9);
$11=(1).__at((1));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["@"]=7;
//>>excludeEnd("ctx");
$12=(2).__at((2));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["@"]=8;
//>>excludeEnd("ctx");
$10=$recv($globals.Rectangle)._point_point_($11,$12);
$self._assert_equals_($7,$10);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=2;
//>>excludeEnd("ctx");
$14=(1).__at((1));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["@"]=9;
//>>excludeEnd("ctx");
$15=(2).__at((2));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["@"]=10;
//>>excludeEnd("ctx");
$13=$recv($14)._extent_($15);
$17=(1).__at((1));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["@"]=11;
//>>excludeEnd("ctx");
$16=$recv($globals.Rectangle)._origin_extent_($17,(2).__at((2)));
$self._assert_equals_($13,$16);
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testRectangleCreation",{})});
//>>excludeEnd("ctx");
}; }),
$globals.PointTest);
$core.addMethod(
$core.method({
selector: "testTranslateBy",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testTranslateBy\x0a\x09self assert: (3@3 translateBy: 0@1) equals: 3@4.\x0a\x09self assert: (3@3 translateBy: 0@1 negated) equals: 3@2.\x0a\x09self assert: (3@3 translateBy: 2@3) equals: 5@6.\x0a\x09self assert: (3@3 translateBy: 3 negated @0) equals: 0@3.",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:equals:", "translateBy:", "@", "negated"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $2,$3,$1,$4,$6,$8,$7,$5,$9,$11,$12,$10,$13,$15,$16,$14;
$2=(3).__at((3));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["@"]=1;
//>>excludeEnd("ctx");
$3=(0).__at((1));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["@"]=2;
//>>excludeEnd("ctx");
$1=$recv($2)._translateBy_($3);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["translateBy:"]=1;
//>>excludeEnd("ctx");
$4=(3).__at((4));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["@"]=3;
//>>excludeEnd("ctx");
$self._assert_equals_($1,$4);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=1;
//>>excludeEnd("ctx");
$6=(3).__at((3));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["@"]=4;
//>>excludeEnd("ctx");
$8=(1)._negated();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["negated"]=1;
//>>excludeEnd("ctx");
$7=(0).__at($8);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["@"]=5;
//>>excludeEnd("ctx");
$5=$recv($6)._translateBy_($7);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["translateBy:"]=2;
//>>excludeEnd("ctx");
$9=(3).__at((2));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["@"]=6;
//>>excludeEnd("ctx");
$self._assert_equals_($5,$9);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=2;
//>>excludeEnd("ctx");
$11=(3).__at((3));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["@"]=7;
//>>excludeEnd("ctx");
$12=(2).__at((3));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["@"]=8;
//>>excludeEnd("ctx");
$10=$recv($11)._translateBy_($12);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["translateBy:"]=3;
//>>excludeEnd("ctx");
$13=(5).__at((6));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["@"]=9;
//>>excludeEnd("ctx");
$self._assert_equals_($10,$13);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=3;
//>>excludeEnd("ctx");
$15=(3).__at((3));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["@"]=10;
//>>excludeEnd("ctx");
$16=$recv((3)._negated()).__at((0));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["@"]=11;
//>>excludeEnd("ctx");
$14=$recv($15)._translateBy_($16);
$self._assert_equals_($14,(0).__at((3)));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testTranslateBy",{})});
//>>excludeEnd("ctx");
}; }),
$globals.PointTest);
$core.addClass("QueueTest", $globals.TestCase, [], "Kernel-Tests");
$core.addMethod(
$core.method({
selector: "testNextIfAbsent",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testNextIfAbsent\x0a\x09| queue |\x0a\x09queue := Queue new.\x0a\x09queue nextPut: 'index1'. \x0a\x0a\x09self assert: (queue nextIfAbsent: 'empty') = 'index1'.\x0a\x09self deny: (queue nextIfAbsent: 'empty') = 'index1'",
referencedClasses: ["Queue"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["new", "nextPut:", "assert:", "=", "nextIfAbsent:", "deny:"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
var queue;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $2,$1;
queue=$recv($globals.Queue)._new();
$recv(queue)._nextPut_("index1");
$2=$recv(queue)._nextIfAbsent_("empty");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["nextIfAbsent:"]=1;
//>>excludeEnd("ctx");
$1=$recv($2).__eq("index1");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["="]=1;
//>>excludeEnd("ctx");
$self._assert_($1);
$self._deny_($recv($recv(queue)._nextIfAbsent_("empty")).__eq("index1"));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testNextIfAbsent",{queue:queue})});
//>>excludeEnd("ctx");
}; }),
$globals.QueueTest);
$core.addMethod(
$core.method({
selector: "testQueueNext",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testQueueNext\x0a\x09| queue | \x0a\x09queue := Queue new.\x0a\x09queue \x0a\x09\x09nextPut: 'index1';\x0a\x09\x09nextPut: 'index2'.\x0a\x0a\x09self assert: queue next = 'index1'.\x0a\x09self deny: queue next = 'index'.\x0a\x09self should: [ queue next ] raise: Error",
referencedClasses: ["Queue", "Error"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["new", "nextPut:", "assert:", "=", "next", "deny:", "should:raise:"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
var queue;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $1,$3,$2,$5,$4;
queue=$recv($globals.Queue)._new();
$1=queue;
$recv($1)._nextPut_("index1");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["nextPut:"]=1;
//>>excludeEnd("ctx");
$recv($1)._nextPut_("index2");
$3=$recv(queue)._next();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["next"]=1;
//>>excludeEnd("ctx");
$2=$recv($3).__eq("index1");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["="]=1;
//>>excludeEnd("ctx");
$self._assert_($2);
$5=$recv(queue)._next();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["next"]=2;
//>>excludeEnd("ctx");
$4=$recv($5).__eq("index");
$self._deny_($4);
$self._should_raise_((function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return $recv(queue)._next();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({},$ctx1,1)});
//>>excludeEnd("ctx");
}),$globals.Error);
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testQueueNext",{queue:queue})});
//>>excludeEnd("ctx");
}; }),
$globals.QueueTest);
$core.addClass("RandomTest", $globals.TestCase, [], "Kernel-Tests");
$core.addMethod(
$core.method({
selector: "testAtRandomNumber",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testAtRandomNumber\x0a\x09|val|\x09\x0a\x0a\x09100 timesRepeat: [\x0a\x09\x09val := 10 atRandom.\x09\x0a\x09\x09self assert: (val > 0).\x0a\x09\x09self assert: (val <11)\x0a\x09]",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["timesRepeat:", "atRandom", "assert:", ">", "<"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
var val;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
(100)._timesRepeat_((function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
val=(10)._atRandom();
$self._assert_($recv(val).__gt((0)));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx2.sendIdx["assert:"]=1;
//>>excludeEnd("ctx");
return $self._assert_($recv(val).__lt((11)));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({},$ctx1,1)});
//>>excludeEnd("ctx");
}));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testAtRandomNumber",{val:val})});
//>>excludeEnd("ctx");
}; }),
$globals.RandomTest);
$core.addMethod(
$core.method({
selector: "testAtRandomSequenceableCollection",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testAtRandomSequenceableCollection\x0a\x09|val|\x0a\x09\x0a\x09100 timesRepeat: [\x0a\x09\x09val := 'abc' atRandom.\x0a\x09\x09self assert: ((val = 'a') | (val = 'b') | (val = 'c' )).\x0a\x09].",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["timesRepeat:", "atRandom", "assert:", "|", "="]
}, function ($methodClass){ return function (){
var self=this,$self=this;
var val;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $3,$4,$2,$1;
(100)._timesRepeat_((function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
val="abc"._atRandom();
$3=$recv(val).__eq("a");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx2.sendIdx["="]=1;
//>>excludeEnd("ctx");
$4=$recv(val).__eq("b");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx2.sendIdx["="]=2;
//>>excludeEnd("ctx");
$2=$recv($3).__or($4);
$1=$recv($2).__or($recv(val).__eq("c"));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx2.sendIdx["|"]=1;
//>>excludeEnd("ctx");
return $self._assert_($1);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({},$ctx1,1)});
//>>excludeEnd("ctx");
}));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testAtRandomSequenceableCollection",{val:val})});
//>>excludeEnd("ctx");
}; }),
$globals.RandomTest);
$core.addMethod(
$core.method({
selector: "textNext",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "textNext\x0a\x0a\x0910000 timesRepeat: [\x0a\x09\x09\x09| current next |\x0a\x09\x09\x09next := Random new next.\x0a\x09\x09\x09self assert: (next >= 0).\x0a\x09\x09\x09self assert: (next < 1).\x0a\x09\x09\x09self deny: current = next.\x0a\x09\x09\x09next = current ]",
referencedClasses: ["Random"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["timesRepeat:", "next", "new", "assert:", ">=", "<", "deny:", "="]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $1;
(10000)._timesRepeat_((function(){
var current,next;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
next=$recv($recv($globals.Random)._new())._next();
$self._assert_($recv(next).__gt_eq((0)));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx2.sendIdx["assert:"]=1;
//>>excludeEnd("ctx");
$self._assert_($recv(next).__lt((1)));
$1=$recv(current).__eq(next);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx2.sendIdx["="]=1;
//>>excludeEnd("ctx");
$self._deny_($1);
return $recv(next).__eq(current);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({current:current,next:next},$ctx1,1)});
//>>excludeEnd("ctx");
}));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"textNext",{})});
//>>excludeEnd("ctx");
}; }),
$globals.RandomTest);
$core.addClass("RectangleTest", $globals.TestCase, [], "Kernel-Tests");
$core.addMethod(
$core.method({
selector: "testContainsPoint",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testContainsPoint\x0a\x09| rect |\x0a\x09rect := Rectangle origin: 0@0 corner: 4@4.\x0a\x09\x0a\x09self assert: (rect containsPoint: 1@2).\x0a\x09self assert: (rect containsPoint: 5@4) not.",
referencedClasses: ["Rectangle"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["origin:corner:", "@", "assert:", "containsPoint:", "not"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
var rect;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $1,$2,$4,$5,$3;
$1=(0).__at((0));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["@"]=1;
//>>excludeEnd("ctx");
$2=(4).__at((4));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["@"]=2;
//>>excludeEnd("ctx");
rect=$recv($globals.Rectangle)._origin_corner_($1,$2);
$4=rect;
$5=(1).__at((2));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["@"]=3;
//>>excludeEnd("ctx");
$3=$recv($4)._containsPoint_($5);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["containsPoint:"]=1;
//>>excludeEnd("ctx");
$self._assert_($3);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:"]=1;
//>>excludeEnd("ctx");
$self._assert_($recv($recv(rect)._containsPoint_((5).__at((4))))._not());
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testContainsPoint",{rect:rect})});
//>>excludeEnd("ctx");
}; }),
$globals.RectangleTest);
$core.addMethod(
$core.method({
selector: "testContainsRect",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testContainsRect\x0a\x09self assert: ((Rectangle origin: 0@0 corner: 6@6) containsRect: (Rectangle origin: 1@1 corner: 5@5)).\x0a\x09self assert: ((Rectangle origin: 0@0 corner: 6@6) containsRect: (Rectangle origin: 1@(-1) corner: 5@5)) not.",
referencedClasses: ["Rectangle"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:", "containsRect:", "origin:corner:", "@", "not"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $3,$4,$2,$6,$7,$5,$1,$11,$12,$10,$14,$13,$9,$8;
$3=(0).__at((0));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["@"]=1;
//>>excludeEnd("ctx");
$4=(6).__at((6));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["@"]=2;
//>>excludeEnd("ctx");
$2=$recv($globals.Rectangle)._origin_corner_($3,$4);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["origin:corner:"]=1;
//>>excludeEnd("ctx");
$6=(1).__at((1));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["@"]=3;
//>>excludeEnd("ctx");
$7=(5).__at((5));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["@"]=4;
//>>excludeEnd("ctx");
$5=$recv($globals.Rectangle)._origin_corner_($6,$7);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["origin:corner:"]=2;
//>>excludeEnd("ctx");
$1=$recv($2)._containsRect_($5);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["containsRect:"]=1;
//>>excludeEnd("ctx");
$self._assert_($1);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:"]=1;
//>>excludeEnd("ctx");
$11=(0).__at((0));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["@"]=5;
//>>excludeEnd("ctx");
$12=(6).__at((6));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["@"]=6;
//>>excludeEnd("ctx");
$10=$recv($globals.Rectangle)._origin_corner_($11,$12);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["origin:corner:"]=3;
//>>excludeEnd("ctx");
$14=(1).__at((-1));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["@"]=7;
//>>excludeEnd("ctx");
$13=$recv($globals.Rectangle)._origin_corner_($14,(5).__at((5)));
$9=$recv($10)._containsRect_($13);
$8=$recv($9)._not();
$self._assert_($8);
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testContainsRect",{})});
//>>excludeEnd("ctx");
}; }),
$globals.RectangleTest);
$core.addMethod(
$core.method({
selector: "testOriginExtent",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testOriginExtent\x0a\x09| rectangle |\x0a\x09rectangle := Rectangle origin: 3@4 extent: 7@8.\x0a\x09\x0a\x09self assert: rectangle origin equals: 3@4.\x0a\x09self assert: rectangle corner equals: 10@12.",
referencedClasses: ["Rectangle"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["origin:extent:", "@", "assert:equals:", "origin", "corner"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
var rectangle;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $1,$2,$3,$4;
$1=(3).__at((4));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["@"]=1;
//>>excludeEnd("ctx");
$2=(7).__at((8));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["@"]=2;
//>>excludeEnd("ctx");
rectangle=$recv($globals.Rectangle)._origin_extent_($1,$2);
$3=$recv(rectangle)._origin();
$4=(3).__at((4));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["@"]=3;
//>>excludeEnd("ctx");
$self._assert_equals_($3,$4);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=1;
//>>excludeEnd("ctx");
$self._assert_equals_($recv(rectangle)._corner(),(10).__at((12)));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testOriginExtent",{rectangle:rectangle})});
//>>excludeEnd("ctx");
}; }),
$globals.RectangleTest);
$core.addClass("StreamTest", $globals.TestCase, [], "Kernel-Tests");
$core.addMethod(
$core.method({
selector: "collectionClass",
protocol: "accessing",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "collectionClass\x0a\x09^ self class collectionClass",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["collectionClass", "class"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
return $recv($self._class())._collectionClass();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"collectionClass",{})});
//>>excludeEnd("ctx");
}; }),
$globals.StreamTest);
$core.addMethod(
$core.method({
selector: "newCollection",
protocol: "accessing",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "newCollection\x0a\x09^ self collectionClass new",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["new", "collectionClass"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
return $recv($self._collectionClass())._new();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"newCollection",{})});
//>>excludeEnd("ctx");
}; }),
$globals.StreamTest);
$core.addMethod(
$core.method({
selector: "newStream",
protocol: "accessing",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "newStream\x0a\x09^ self collectionClass new stream",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["stream", "new", "collectionClass"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
return $recv($recv($self._collectionClass())._new())._stream();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"newStream",{})});
//>>excludeEnd("ctx");
}; }),
$globals.StreamTest);
$core.addMethod(
$core.method({
selector: "testAtStartAtEnd",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testAtStartAtEnd\x0a\x09| stream |\x0a\x09\x0a\x09stream := self newStream.\x0a\x09self assert: stream atStart.\x0a\x09self assert: stream atEnd.\x0a\x09\x0a\x09stream nextPutAll: self newCollection.\x0a\x09self assert: stream atEnd.\x0a\x09self deny: stream atStart.\x0a\x09\x0a\x09stream position: 1.\x0a\x09self deny: stream atEnd.\x0a\x09self deny: stream atStart",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["newStream", "assert:", "atStart", "atEnd", "nextPutAll:", "newCollection", "deny:", "position:"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
var stream;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $1,$2,$3,$4;
stream=$self._newStream();
$1=$recv(stream)._atStart();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["atStart"]=1;
//>>excludeEnd("ctx");
$self._assert_($1);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:"]=1;
//>>excludeEnd("ctx");
$2=$recv(stream)._atEnd();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["atEnd"]=1;
//>>excludeEnd("ctx");
$self._assert_($2);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:"]=2;
//>>excludeEnd("ctx");
$recv(stream)._nextPutAll_($self._newCollection());
$3=$recv(stream)._atEnd();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["atEnd"]=2;
//>>excludeEnd("ctx");
$self._assert_($3);
$4=$recv(stream)._atStart();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["atStart"]=2;
//>>excludeEnd("ctx");
$self._deny_($4);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["deny:"]=1;
//>>excludeEnd("ctx");
$recv(stream)._position_((1));
$self._deny_($recv(stream)._atEnd());
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["deny:"]=2;
//>>excludeEnd("ctx");
$self._deny_($recv(stream)._atStart());
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testAtStartAtEnd",{stream:stream})});
//>>excludeEnd("ctx");
}; }),
$globals.StreamTest);
$core.addMethod(
$core.method({
selector: "testContents",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testContents\x0a\x09| stream |\x0a\x09\x0a\x09stream := self newStream.\x0a\x09stream nextPutAll: self newCollection.\x0a\x09\x0a\x09self assert: stream contents equals: self newCollection",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["newStream", "nextPutAll:", "newCollection", "assert:equals:", "contents"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
var stream;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $1,$2;
stream=$self._newStream();
$1=stream;
$2=$self._newCollection();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["newCollection"]=1;
//>>excludeEnd("ctx");
$recv($1)._nextPutAll_($2);
$self._assert_equals_($recv(stream)._contents(),$self._newCollection());
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testContents",{stream:stream})});
//>>excludeEnd("ctx");
}; }),
$globals.StreamTest);
$core.addMethod(
$core.method({
selector: "testIsEmpty",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testIsEmpty\x0a\x09| stream |\x0a\x09\x0a\x09stream := self newStream.\x0a\x09self assert: stream isEmpty.\x0a\x09\x0a\x09stream nextPutAll: self newCollection.\x0a\x09self deny: stream isEmpty",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["newStream", "assert:", "isEmpty", "nextPutAll:", "newCollection", "deny:"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
var stream;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $1;
stream=$self._newStream();
$1=$recv(stream)._isEmpty();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["isEmpty"]=1;
//>>excludeEnd("ctx");
$self._assert_($1);
$recv(stream)._nextPutAll_($self._newCollection());
$self._deny_($recv(stream)._isEmpty());
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testIsEmpty",{stream:stream})});
//>>excludeEnd("ctx");
}; }),
$globals.StreamTest);
$core.addMethod(
$core.method({
selector: "testPosition",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testPosition\x0a\x09| collection stream |\x0a\x09\x0a\x09collection := self newCollection.\x0a\x09stream := self newStream.\x0a\x09\x0a\x09stream nextPutAll: collection.\x0a\x09self assert: stream position equals: collection size.\x0a\x09\x0a\x09stream position: 0.\x0a\x09self assert: stream position equals: 0.\x0a\x09\x0a\x09stream next.\x0a\x09self assert: stream position equals: 1.\x0a\x09\x0a\x09stream next.\x0a\x09self assert: stream position equals: 2",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["newCollection", "newStream", "nextPutAll:", "assert:equals:", "position", "size", "position:", "next"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
var collection,stream;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $1,$2,$3;
collection=$self._newCollection();
stream=$self._newStream();
$recv(stream)._nextPutAll_(collection);
$1=$recv(stream)._position();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["position"]=1;
//>>excludeEnd("ctx");
$self._assert_equals_($1,$recv(collection)._size());
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=1;
//>>excludeEnd("ctx");
$recv(stream)._position_((0));
$2=$recv(stream)._position();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["position"]=2;
//>>excludeEnd("ctx");
$self._assert_equals_($2,(0));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=2;
//>>excludeEnd("ctx");
$recv(stream)._next();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["next"]=1;
//>>excludeEnd("ctx");
$3=$recv(stream)._position();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["position"]=3;
//>>excludeEnd("ctx");
$self._assert_equals_($3,(1));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=3;
//>>excludeEnd("ctx");
$recv(stream)._next();
$self._assert_equals_($recv(stream)._position(),(2));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testPosition",{collection:collection,stream:stream})});
//>>excludeEnd("ctx");
}; }),
$globals.StreamTest);
$core.addMethod(
$core.method({
selector: "testReading",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testReading\x0a\x09| stream collection |\x0a\x09\x0a\x09collection := self newCollection.\x0a\x09stream := self newStream.\x0a\x09\x0a\x09stream \x0a\x09\x09nextPutAll: collection;\x0a\x09\x09position: 0.\x0a\x09\x0a\x09collection do: [ :each |\x0a\x09\x09self assert: stream next equals: each ].\x0a\x09\x09\x0a\x09self assert: stream next isNil",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["newCollection", "newStream", "nextPutAll:", "position:", "do:", "assert:equals:", "next", "assert:", "isNil"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
var stream,collection;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $1,$2;
collection=$self._newCollection();
stream=$self._newStream();
$1=stream;
$recv($1)._nextPutAll_(collection);
$recv($1)._position_((0));
$recv(collection)._do_((function(each){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
$2=$recv(stream)._next();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx2.sendIdx["next"]=1;
//>>excludeEnd("ctx");
return $self._assert_equals_($2,each);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({each:each},$ctx1,1)});
//>>excludeEnd("ctx");
}));
$self._assert_($recv($recv(stream)._next())._isNil());
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testReading",{stream:stream,collection:collection})});
//>>excludeEnd("ctx");
}; }),
$globals.StreamTest);
$core.addMethod(
$core.method({
selector: "testStreamContents",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testStreamContents",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: []
}, function ($methodClass){ return function (){
var self=this,$self=this;
return self;
}; }),
$globals.StreamTest);
$core.addMethod(
$core.method({
selector: "testWrite",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testWrite\x0a\x09| stream collection |\x0a\x09\x0a\x09collection := self newCollection.\x0a\x09stream := self newStream.\x0a\x09\x0a\x09collection do: [ :each | stream << each ].\x0a\x09self assert: stream contents equals: collection",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["newCollection", "newStream", "do:", "<<", "assert:equals:", "contents"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
var stream,collection;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
collection=$self._newCollection();
stream=$self._newStream();
$recv(collection)._do_((function(each){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return $recv(stream).__lt_lt(each);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({each:each},$ctx1,1)});
//>>excludeEnd("ctx");
}));
$self._assert_equals_($recv(stream)._contents(),collection);
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testWrite",{stream:stream,collection:collection})});
//>>excludeEnd("ctx");
}; }),
$globals.StreamTest);
$core.addMethod(
$core.method({
selector: "testWriting",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testWriting\x0a\x09| stream collection |\x0a\x09\x0a\x09collection := self newCollection.\x0a\x09stream := self newStream.\x0a\x09\x0a\x09collection do: [ :each | stream nextPut: each ].\x0a\x09self assert: stream contents equals: collection.\x0a\x09\x0a\x09stream := self newStream.\x0a\x09stream nextPutAll: collection.\x0a\x09self assert: stream contents equals: collection",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["newCollection", "newStream", "do:", "nextPut:", "assert:equals:", "contents", "nextPutAll:"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
var stream,collection;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $1;
collection=$self._newCollection();
stream=$self._newStream();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["newStream"]=1;
//>>excludeEnd("ctx");
$recv(collection)._do_((function(each){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return $recv(stream)._nextPut_(each);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({each:each},$ctx1,1)});
//>>excludeEnd("ctx");
}));
$1=$recv(stream)._contents();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["contents"]=1;
//>>excludeEnd("ctx");
$self._assert_equals_($1,collection);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=1;
//>>excludeEnd("ctx");
stream=$self._newStream();
$recv(stream)._nextPutAll_(collection);
$self._assert_equals_($recv(stream)._contents(),collection);
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testWriting",{stream:stream,collection:collection})});
//>>excludeEnd("ctx");
}; }),
$globals.StreamTest);
$core.addMethod(
$core.method({
selector: "collectionClass",
protocol: "accessing",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "collectionClass\x0a\x09^ nil",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: []
}, function ($methodClass){ return function (){
var self=this,$self=this;
return nil;
}; }),
$globals.StreamTest.a$cls);
$core.addMethod(
$core.method({
selector: "isAbstract",
protocol: "testing",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "isAbstract\x0a\x09^ self collectionClass isNil",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["isNil", "collectionClass"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
return $recv($self._collectionClass())._isNil();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"isAbstract",{})});
//>>excludeEnd("ctx");
}; }),
$globals.StreamTest.a$cls);
$core.addClass("ArrayStreamTest", $globals.StreamTest, [], "Kernel-Tests");
$core.addMethod(
$core.method({
selector: "newCollection",
protocol: "accessing",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "newCollection\x0a\x09^ { true. 1. 3@4. 'foo' }",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["@"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
return [true,(1),(3).__at((4)),"foo"];
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"newCollection",{})});
//>>excludeEnd("ctx");
}; }),
$globals.ArrayStreamTest);
$core.addMethod(
$core.method({
selector: "collectionClass",
protocol: "accessing",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "collectionClass\x0a\x09^ Array",
referencedClasses: ["Array"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: []
}, function ($methodClass){ return function (){
var self=this,$self=this;
return $globals.Array;
}; }),
$globals.ArrayStreamTest.a$cls);
$core.addClass("StringStreamTest", $globals.StreamTest, [], "Kernel-Tests");
$core.addMethod(
$core.method({
selector: "newCollection",
protocol: "accessing",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "newCollection\x0a\x09^ 'hello world'",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: []
}, function ($methodClass){ return function (){
var self=this,$self=this;
return "hello world";
}; }),
$globals.StringStreamTest);
$core.addMethod(
$core.method({
selector: "collectionClass",
protocol: "accessing",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "collectionClass\x0a\x09^ String",
referencedClasses: ["String"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: []
}, function ($methodClass){ return function (){
var self=this,$self=this;
return $globals.String;
}; }),
$globals.StringStreamTest.a$cls);
$core.addTrait("TClassBuildingTest", "Kernel-Tests");
$core.addMethod(
$core.method({
selector: "assert:isClassCopyOf:",
protocol: "running",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: ["aClass", "anotherClass"],
source: "assert: aClass isClassCopyOf: anotherClass\x0a\x09self assert: aClass superclass == anotherClass superclass.\x0a\x09self assert: aClass instanceVariableNames == anotherClass instanceVariableNames.\x0a\x09self assert: aClass package == anotherClass package.\x0a\x09self assert: (aClass package classes includes: aClass).\x0a\x09self assert: aClass methodDictionary keys equals: anotherClass methodDictionary keys",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:", "==", "superclass", "instanceVariableNames", "package", "includes:", "classes", "assert:equals:", "keys", "methodDictionary"]
}, function ($methodClass){ return function (aClass,anotherClass){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $2,$1,$4,$3,$6,$7,$5,$9,$8;
$2=$recv(aClass)._superclass();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["superclass"]=1;
//>>excludeEnd("ctx");
$1=$recv($2).__eq_eq($recv(anotherClass)._superclass());
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["=="]=1;
//>>excludeEnd("ctx");
$self._assert_($1);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:"]=1;
//>>excludeEnd("ctx");
$4=$recv(aClass)._instanceVariableNames();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["instanceVariableNames"]=1;
//>>excludeEnd("ctx");
$3=$recv($4).__eq_eq($recv(anotherClass)._instanceVariableNames());
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["=="]=2;
//>>excludeEnd("ctx");
$self._assert_($3);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:"]=2;
//>>excludeEnd("ctx");
$6=$recv(aClass)._package();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["package"]=1;
//>>excludeEnd("ctx");
$7=$recv(anotherClass)._package();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["package"]=2;
//>>excludeEnd("ctx");
$5=$recv($6).__eq_eq($7);
$self._assert_($5);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:"]=3;
//>>excludeEnd("ctx");
$self._assert_($recv($recv($recv(aClass)._package())._classes())._includes_(aClass));
$9=$recv(aClass)._methodDictionary();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["methodDictionary"]=1;
//>>excludeEnd("ctx");
$8=$recv($9)._keys();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["keys"]=1;
//>>excludeEnd("ctx");
$self._assert_equals_($8,$recv($recv(anotherClass)._methodDictionary())._keys());
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"assert:isClassCopyOf:",{aClass:aClass,anotherClass:anotherClass})});
//>>excludeEnd("ctx");
}; }),
$globals.TClassBuildingTest);
$core.addMethod(
$core.method({
selector: "assert:isJavaScriptInstanceOf:",
protocol: "running",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: ["anObject", "aJavaScriptClass"],
source: "assert: anObject isJavaScriptInstanceOf: aJavaScriptClass\x0a\x09self assert: (self is: anObject javaScriptInstanceOf: aJavaScriptClass)",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:", "is:javaScriptInstanceOf:"]
}, function ($methodClass){ return function (anObject,aJavaScriptClass){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
$self._assert_($self._is_javaScriptInstanceOf_(anObject,aJavaScriptClass));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"assert:isJavaScriptInstanceOf:",{anObject:anObject,aJavaScriptClass:aJavaScriptClass})});
//>>excludeEnd("ctx");
}; }),
$globals.TClassBuildingTest);
$core.addMethod(
$core.method({
selector: "is:javaScriptInstanceOf:",
protocol: "private",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: ["anObject", "aJavaScriptClass"],
source: "is: anObject javaScriptInstanceOf: aJavaScriptClass\x0a\x09<inlineJS: 'return anObject instanceof aJavaScriptClass'>",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [["inlineJS:", ["return anObject instanceof aJavaScriptClass"]]],
messageSends: []
}, function ($methodClass){ return function (anObject,aJavaScriptClass){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
return anObject instanceof aJavaScriptClass;
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"is:javaScriptInstanceOf:",{anObject:anObject,aJavaScriptClass:aJavaScriptClass})});
//>>excludeEnd("ctx");
}; }),
$globals.TClassBuildingTest);
$core.addMethod(
$core.method({
selector: "tearDown",
protocol: "running",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "tearDown\x0a\x09self theClass ifNotNil: [ :theClass |\x0a\x09\x09(Array streamContents: [ :s | theClass allSubclassesDo: [ :each | s nextPut: each ] ])\x0a\x09\x09\x09reverseDo: [ :each | Smalltalk removeClass: each ].\x0a\x09\x09Smalltalk removeClass: theClass ]",
referencedClasses: ["Array", "Smalltalk"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["ifNotNil:", "theClass", "reverseDo:", "streamContents:", "allSubclassesDo:", "nextPut:", "removeClass:"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $1,$receiver;
$1=$self._theClass();
if(($receiver = $1) == null || $receiver.a$nil){
$1;
} else {
var theClass;
theClass=$receiver;
$recv($recv($globals.Array)._streamContents_((function(s){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return $recv(theClass)._allSubclassesDo_((function(each){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx3) {
//>>excludeEnd("ctx");
return $recv(s)._nextPut_(each);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx3) {$ctx3.fillBlock({each:each},$ctx2,3)});
//>>excludeEnd("ctx");
}));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({s:s},$ctx1,2)});
//>>excludeEnd("ctx");
})))._reverseDo_((function(each){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return $recv($globals.Smalltalk)._removeClass_(each);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx2.sendIdx["removeClass:"]=1;
//>>excludeEnd("ctx");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({each:each},$ctx1,4)});
//>>excludeEnd("ctx");
}));
$recv($globals.Smalltalk)._removeClass_(theClass);
}
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"tearDown",{})});
//>>excludeEnd("ctx");
}; }),
$globals.TClassBuildingTest);
$core.addMethod(
$core.method({
selector: "theClass",
protocol: "accessing",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "theClass\x0a\x09self subclassResponsibility",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["subclassResponsibility"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
$self._subclassResponsibility();
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"theClass",{})});
//>>excludeEnd("ctx");
}; }),
$globals.TClassBuildingTest);
$core.addTrait("TKeyValueCollectionTest", "Kernel-Tests");
$core.addMethod(
$core.method({
selector: "nonIndexesDo:",
protocol: "fixture",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: ["aBlock"],
source: "nonIndexesDo: aBlock\x0a\x09\x22Executes block a few times,\x0a\x09each time passing value that is known\x0a\x09not to be an index, as the first parameter\x22\x0a\x09\x0a\x09self subclassResponsibility",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["subclassResponsibility"]
}, function ($methodClass){ return function (aBlock){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
$self._subclassResponsibility();
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"nonIndexesDo:",{aBlock:aBlock})});
//>>excludeEnd("ctx");
}; }),
$globals.TKeyValueCollectionTest);
$core.addMethod(
$core.method({
selector: "sampleNewIndex",
protocol: "fixture",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "sampleNewIndex\x0a\x09\x22Answers a value that can be used as index in at:put: or at:ifAbsentPut:\x22\x0a\x09\x0a\x09self subclassResponsibility",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["subclassResponsibility"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
$self._subclassResponsibility();
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"sampleNewIndex",{})});
//>>excludeEnd("ctx");
}; }),
$globals.TKeyValueCollectionTest);
$core.addMethod(
$core.method({
selector: "samplesDo:",
protocol: "fixture",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: ["aBlock"],
source: "samplesDo: aBlock\x0a\x09\x22Executes block a few times,\x0a\x09each time passing known index and value stored\x0a\x09under that index as the parameters\x22\x0a\x09\x0a\x09self subclassResponsibility",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["subclassResponsibility"]
}, function ($methodClass){ return function (aBlock){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
$self._subclassResponsibility();
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"samplesDo:",{aBlock:aBlock})});
//>>excludeEnd("ctx");
}; }),
$globals.TKeyValueCollectionTest);
$core.addMethod(
$core.method({
selector: "testAt",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testAt\x0a\x09self nonIndexesDo: [ :each |\x0a\x09\x09self should: [ self collection at: each ] raise: Error ].\x0a\x09self samplesDo: [ :index :value |\x0a\x09\x09self assert: (self collection at: index) equals: value ]",
referencedClasses: ["Error"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["nonIndexesDo:", "should:raise:", "at:", "collection", "samplesDo:", "assert:equals:"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $1;
$self._nonIndexesDo_((function(each){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return $self._should_raise_((function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx3) {
//>>excludeEnd("ctx");
$1=$self._collection();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx3.sendIdx["collection"]=1;
//>>excludeEnd("ctx");
return $recv($1)._at_(each);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx3.sendIdx["at:"]=1;
//>>excludeEnd("ctx");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx3) {$ctx3.fillBlock({},$ctx2,2)});
//>>excludeEnd("ctx");
}),$globals.Error);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({each:each},$ctx1,1)});
//>>excludeEnd("ctx");
}));
$self._samplesDo_((function(index,value){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return $self._assert_equals_($recv($self._collection())._at_(index),value);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({index:index,value:value},$ctx1,3)});
//>>excludeEnd("ctx");
}));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testAt",{})});
//>>excludeEnd("ctx");
}; }),
$globals.TKeyValueCollectionTest);
$core.addMethod(
$core.method({
selector: "testAtIfAbsent",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testAtIfAbsent\x0a\x09self nonIndexesDo: [ :each |\x0a\x09\x09self assert: (self collection at: each ifAbsent: [ self sampleNewValue ]) equals: self sampleNewValue ].\x0a\x09self samplesDo: [ :index :value |\x0a\x09\x09self assert: (self collection at: index ifAbsent: [ self sampleNewValue ]) equals: value ].",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["nonIndexesDo:", "assert:equals:", "at:ifAbsent:", "collection", "sampleNewValue", "samplesDo:"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $2,$1,$3;
$self._nonIndexesDo_((function(each){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
$2=$self._collection();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx2.sendIdx["collection"]=1;
//>>excludeEnd("ctx");
$1=$recv($2)._at_ifAbsent_(each,(function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx3) {
//>>excludeEnd("ctx");
return $self._sampleNewValue();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx3.sendIdx["sampleNewValue"]=1;
//>>excludeEnd("ctx");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx3) {$ctx3.fillBlock({},$ctx2,2)});
//>>excludeEnd("ctx");
}));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx2.sendIdx["at:ifAbsent:"]=1;
//>>excludeEnd("ctx");
$3=$self._sampleNewValue();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx2.sendIdx["sampleNewValue"]=2;
//>>excludeEnd("ctx");
return $self._assert_equals_($1,$3);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx2.sendIdx["assert:equals:"]=1;
//>>excludeEnd("ctx");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({each:each},$ctx1,1)});
//>>excludeEnd("ctx");
}));
$self._samplesDo_((function(index,value){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return $self._assert_equals_($recv($self._collection())._at_ifAbsent_(index,(function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx3) {
//>>excludeEnd("ctx");
return $self._sampleNewValue();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx3) {$ctx3.fillBlock({},$ctx2,4)});
//>>excludeEnd("ctx");
})),value);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({index:index,value:value},$ctx1,3)});
//>>excludeEnd("ctx");
}));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testAtIfAbsent",{})});
//>>excludeEnd("ctx");
}; }),
$globals.TKeyValueCollectionTest);
$core.addMethod(
$core.method({
selector: "testAtIfAbsentPut",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testAtIfAbsentPut\x0a\x09| newCollection |\x0a\x09newCollection := self collection.\x0a\x09self samplesDo: [ :index :value |\x0a\x09\x09self assert: (newCollection at: index ifAbsentPut: [ self sampleNewValue ]) equals: value ].\x0a\x09self assert: newCollection equals: self collection.\x0a\x09self assert: (newCollection at: self sampleNewIndex ifAbsentPut: [ self sampleNewValue ]) equals: self sampleNewValue.\x0a\x09self assert: newCollection equals: self collectionWithNewValue",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["collection", "samplesDo:", "assert:equals:", "at:ifAbsentPut:", "sampleNewValue", "sampleNewIndex", "collectionWithNewValue"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
var newCollection;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $1;
newCollection=$self._collection();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collection"]=1;
//>>excludeEnd("ctx");
$self._samplesDo_((function(index,value){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
$1=$recv(newCollection)._at_ifAbsentPut_(index,(function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx3) {
//>>excludeEnd("ctx");
return $self._sampleNewValue();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx3.sendIdx["sampleNewValue"]=1;
//>>excludeEnd("ctx");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx3) {$ctx3.fillBlock({},$ctx2,2)});
//>>excludeEnd("ctx");
}));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx2.sendIdx["at:ifAbsentPut:"]=1;
//>>excludeEnd("ctx");
return $self._assert_equals_($1,value);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx2.sendIdx["assert:equals:"]=1;
//>>excludeEnd("ctx");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({index:index,value:value},$ctx1,1)});
//>>excludeEnd("ctx");
}));
$self._assert_equals_(newCollection,$self._collection());
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=2;
//>>excludeEnd("ctx");
$self._assert_equals_($recv(newCollection)._at_ifAbsentPut_($self._sampleNewIndex(),(function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return $self._sampleNewValue();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx2.sendIdx["sampleNewValue"]=2;
//>>excludeEnd("ctx");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({},$ctx1,3)});
//>>excludeEnd("ctx");
})),$self._sampleNewValue());
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=3;
//>>excludeEnd("ctx");
$self._assert_equals_(newCollection,$self._collectionWithNewValue());
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testAtIfAbsentPut",{newCollection:newCollection})});
//>>excludeEnd("ctx");
}; }),
$globals.TKeyValueCollectionTest);
$core.addMethod(
$core.method({
selector: "testAtIfPresent",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testAtIfPresent\x0a\x09| visited sentinel |\x0a\x09sentinel := Object new.\x0a\x09self nonIndexesDo: [ :each |\x0a\x09\x09visited := nil.\x0a\x09\x09self assert: (self collection at: each ifPresent: [ :value1 | visited := value1. sentinel ]) equals: nil.\x0a\x09\x09self assert: visited isNil ].\x0a\x09self samplesDo: [ :index :value |\x0a\x09\x09visited := nil.\x0a\x09\x09self assert: (self collection at: index ifPresent: [ :value2 | visited := value2. sentinel ]) equals: sentinel.\x0a\x09\x09self assert: visited equals: (self collection at: index) ]",
referencedClasses: ["Object"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["new", "nonIndexesDo:", "assert:equals:", "at:ifPresent:", "collection", "assert:", "isNil", "samplesDo:", "at:"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
var visited,sentinel;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $2,$1,$4,$3;
sentinel=$recv($globals.Object)._new();
$self._nonIndexesDo_((function(each){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
visited=nil;
$2=$self._collection();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx2.sendIdx["collection"]=1;
//>>excludeEnd("ctx");
$1=$recv($2)._at_ifPresent_(each,(function(value1){
visited=value1;
return sentinel;
}));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx2.sendIdx["at:ifPresent:"]=1;
//>>excludeEnd("ctx");
$self._assert_equals_($1,nil);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx2.sendIdx["assert:equals:"]=1;
//>>excludeEnd("ctx");
return $self._assert_($recv(visited)._isNil());
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({each:each},$ctx1,1)});
//>>excludeEnd("ctx");
}));
$self._samplesDo_((function(index,value){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
visited=nil;
$4=$self._collection();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx2.sendIdx["collection"]=2;
//>>excludeEnd("ctx");
$3=$recv($4)._at_ifPresent_(index,(function(value2){
visited=value2;
return sentinel;
}));
$self._assert_equals_($3,sentinel);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx2.sendIdx["assert:equals:"]=2;
//>>excludeEnd("ctx");
return $self._assert_equals_(visited,$recv($self._collection())._at_(index));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({index:index,value:value},$ctx1,3)});
//>>excludeEnd("ctx");
}));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testAtIfPresent",{visited:visited,sentinel:sentinel})});
//>>excludeEnd("ctx");
}; }),
$globals.TKeyValueCollectionTest);
$core.addMethod(
$core.method({
selector: "testAtIfPresentIfAbsent",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testAtIfPresentIfAbsent\x0a\x09| visited sentinel |\x0a\x09sentinel := Object new.\x0a\x09self nonIndexesDo: [ :each |\x0a\x09\x09visited := nil.\x0a\x09\x09self assert: (self collection at: each ifPresent: [ :value1 | visited := value1. sentinel ] ifAbsent: [ self sampleNewValue ] ) equals: self sampleNewValue.\x0a\x09\x09self assert: visited isNil ].\x0a\x09self samplesDo: [ :index :value |\x0a\x09\x09visited := nil.\x0a\x09\x09self assert: (self collection at: index ifPresent: [ :value2 | visited := value2. sentinel ] ifAbsent: [ self sampleNewValue ]) equals: sentinel.\x0a\x09\x09self assert: visited equals: (self collection at: index) ]",
referencedClasses: ["Object"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["new", "nonIndexesDo:", "assert:equals:", "at:ifPresent:ifAbsent:", "collection", "sampleNewValue", "assert:", "isNil", "samplesDo:", "at:"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
var visited,sentinel;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $2,$1,$3,$5,$4;
sentinel=$recv($globals.Object)._new();
$self._nonIndexesDo_((function(each){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
visited=nil;
$2=$self._collection();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx2.sendIdx["collection"]=1;
//>>excludeEnd("ctx");
$1=$recv($2)._at_ifPresent_ifAbsent_(each,(function(value1){
visited=value1;
return sentinel;
}),(function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx3) {
//>>excludeEnd("ctx");
return $self._sampleNewValue();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx3.sendIdx["sampleNewValue"]=1;
//>>excludeEnd("ctx");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx3) {$ctx3.fillBlock({},$ctx2,3)});
//>>excludeEnd("ctx");
}));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx2.sendIdx["at:ifPresent:ifAbsent:"]=1;
//>>excludeEnd("ctx");
$3=$self._sampleNewValue();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx2.sendIdx["sampleNewValue"]=2;
//>>excludeEnd("ctx");
$self._assert_equals_($1,$3);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx2.sendIdx["assert:equals:"]=1;
//>>excludeEnd("ctx");
return $self._assert_($recv(visited)._isNil());
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({each:each},$ctx1,1)});
//>>excludeEnd("ctx");
}));
$self._samplesDo_((function(index,value){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
visited=nil;
$5=$self._collection();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx2.sendIdx["collection"]=2;
//>>excludeEnd("ctx");
$4=$recv($5)._at_ifPresent_ifAbsent_(index,(function(value2){
visited=value2;
return sentinel;
}),(function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx3) {
//>>excludeEnd("ctx");
return $self._sampleNewValue();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx3) {$ctx3.fillBlock({},$ctx2,6)});
//>>excludeEnd("ctx");
}));
$self._assert_equals_($4,sentinel);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx2.sendIdx["assert:equals:"]=2;
//>>excludeEnd("ctx");
return $self._assert_equals_(visited,$recv($self._collection())._at_(index));
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({index:index,value:value},$ctx1,4)});
//>>excludeEnd("ctx");
}));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testAtIfPresentIfAbsent",{visited:visited,sentinel:sentinel})});
//>>excludeEnd("ctx");
}; }),
$globals.TKeyValueCollectionTest);
$core.addMethod(
$core.method({
selector: "testAtPut",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testAtPut\x0a\x09| newCollection |\x0a\x09newCollection := self collection.\x0a\x09self samplesDo: [ :index :value |\x0a\x09\x09newCollection at: index put: value ].\x0a\x09self assert: newCollection equals: self collection.\x0a\x09newCollection at: self sampleNewIndex put: self sampleNewValue.\x0a\x09self assert: newCollection equals: self collectionWithNewValue",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["collection", "samplesDo:", "at:put:", "assert:equals:", "sampleNewIndex", "sampleNewValue", "collectionWithNewValue"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
var newCollection;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
newCollection=$self._collection();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collection"]=1;
//>>excludeEnd("ctx");
$self._samplesDo_((function(index,value){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return $recv(newCollection)._at_put_(index,value);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx2.sendIdx["at:put:"]=1;
//>>excludeEnd("ctx");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({index:index,value:value},$ctx1,1)});
//>>excludeEnd("ctx");
}));
$self._assert_equals_(newCollection,$self._collection());
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=1;
//>>excludeEnd("ctx");
$recv(newCollection)._at_put_($self._sampleNewIndex(),$self._sampleNewValue());
$self._assert_equals_(newCollection,$self._collectionWithNewValue());
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testAtPut",{newCollection:newCollection})});
//>>excludeEnd("ctx");
}; }),
$globals.TKeyValueCollectionTest);
$core.addMethod(
$core.method({
selector: "testIndexOf",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testIndexOf\x0a\x09self should: [ self collection indexOf: self sampleNewValue ] raise: Error.\x0a\x09self samplesDo: [ :index :value |\x0a\x09\x09self assert: (self collection indexOf: value) equals: index ]",
referencedClasses: ["Error"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["should:raise:", "indexOf:", "collection", "sampleNewValue", "samplesDo:", "assert:equals:"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $1;
$self._should_raise_((function(){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
$1=$self._collection();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx2.sendIdx["collection"]=1;
//>>excludeEnd("ctx");
return $recv($1)._indexOf_($self._sampleNewValue());
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx2.sendIdx["indexOf:"]=1;
//>>excludeEnd("ctx");
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({},$ctx1,1)});
//>>excludeEnd("ctx");
}),$globals.Error);
$self._samplesDo_((function(index,value){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return $self._assert_equals_($recv($self._collection())._indexOf_(value),index);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({index:index,value:value},$ctx1,2)});
//>>excludeEnd("ctx");
}));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testIndexOf",{})});
//>>excludeEnd("ctx");
}; }),
$globals.TKeyValueCollectionTest);
$core.addMethod(
$core.method({
selector: "testIndexOfWithNull",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testIndexOfWithNull\x0a\x09| jsNull |\x0a\x09jsNull := JSON parse: 'null'.\x0a\x09self samplesDo: [ :index :value |\x0a\x09\x09self assert: (self collection at: index put: jsNull; indexOf: jsNull) equals: index ]",
referencedClasses: ["JSON"],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["parse:", "samplesDo:", "assert:equals:", "at:put:", "collection", "indexOf:"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
var jsNull;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $2,$1;
jsNull=$recv($globals.JSON)._parse_("null");
$self._samplesDo_((function(index,value){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
$2=$self._collection();
$recv($2)._at_put_(index,jsNull);
$1=$recv($2)._indexOf_(jsNull);
return $self._assert_equals_($1,index);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({index:index,value:value},$ctx1,1)});
//>>excludeEnd("ctx");
}));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testIndexOfWithNull",{jsNull:jsNull})});
//>>excludeEnd("ctx");
}; }),
$globals.TKeyValueCollectionTest);
$core.addMethod(
$core.method({
selector: "testWithIndexDo",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testWithIndexDo\x0a\x09| collection |\x0a\x09collection := self collection.\x0a\x09\x0a\x09self collection withIndexDo: [ :each :index |\x0a\x09\x09self assert: (collection at: index) equals: each ]",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["collection", "withIndexDo:", "assert:equals:", "at:"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
var collection;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
collection=$self._collection();
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["collection"]=1;
//>>excludeEnd("ctx");
$recv($self._collection())._withIndexDo_((function(each,index){
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx2) {
//>>excludeEnd("ctx");
return $self._assert_equals_($recv(collection)._at_(index),each);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx2) {$ctx2.fillBlock({each:each,index:index},$ctx1,1)});
//>>excludeEnd("ctx");
}));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testWithIndexDo",{collection:collection})});
//>>excludeEnd("ctx");
}; }),
$globals.TKeyValueCollectionTest);
$core.addClass("UndefinedTest", $globals.TestCase, [], "Kernel-Tests");
$core.addMethod(
$core.method({
selector: "testCopying",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testCopying\x0a\x09self assert: nil copy equals: nil",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:equals:", "copy"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
$self._assert_equals_(nil._copy(),nil);
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testCopying",{})});
//>>excludeEnd("ctx");
}; }),
$globals.UndefinedTest);
$core.addMethod(
$core.method({
selector: "testDeepCopy",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testDeepCopy\x0a\x09self assert: nil deepCopy = nil",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:", "=", "deepCopy"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
$self._assert_($recv(nil._deepCopy()).__eq(nil));
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testDeepCopy",{})});
//>>excludeEnd("ctx");
}; }),
$globals.UndefinedTest);
$core.addMethod(
$core.method({
selector: "testIfNil",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testIfNil\x0a\x09self assert: (nil ifNil: [ true ]) equals: true.\x0a\x09self deny: (nil ifNotNil: [ true ]) = true.\x0a\x09self assert: (nil ifNil: [ true ] ifNotNil: [ false ]) equals: true.\x0a\x09self deny: (nil ifNotNil: [ true ] ifNil: [ false ]) = true",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:equals:", "ifNil:", "deny:", "=", "ifNotNil:", "ifNil:ifNotNil:", "ifNotNil:ifNil:"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
var $1,$3,$2,$4,$6,$5,$receiver;
if(($receiver = nil) == null || $receiver.a$nil){
$1=true;
} else {
$1=nil;
}
$self._assert_equals_($1,true);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["assert:equals:"]=1;
//>>excludeEnd("ctx");
if(($receiver = nil) == null || $receiver.a$nil){
$3=nil;
} else {
$3=true;
}
$2=$recv($3).__eq(true);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["="]=1;
//>>excludeEnd("ctx");
$self._deny_($2);
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
$ctx1.sendIdx["deny:"]=1;
//>>excludeEnd("ctx");
if(($receiver = nil) == null || $receiver.a$nil){
$4=true;
} else {
$4=false;
}
$self._assert_equals_($4,true);
if(($receiver = nil) == null || $receiver.a$nil){
$6=false;
} else {
$6=true;
}
$5=$recv($6).__eq(true);
$self._deny_($5);
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testIfNil",{})});
//>>excludeEnd("ctx");
}; }),
$globals.UndefinedTest);
$core.addMethod(
$core.method({
selector: "testIsNil",
protocol: "tests",
//>>excludeStart("ide", pragmas.excludeIdeData);
args: [],
source: "testIsNil\x0a\x09self assert: nil isNil.\x0a\x09self deny: nil notNil.",
referencedClasses: [],
//>>excludeEnd("ide");
pragmas: [],
messageSends: ["assert:", "isNil", "deny:", "notNil"]
}, function ($methodClass){ return function (){
var self=this,$self=this;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
return $core.withContext(function($ctx1) {
//>>excludeEnd("ctx");
$self._assert_(nil._isNil());
$self._deny_(nil._notNil());
return self;
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
}, function($ctx1) {$ctx1.fill(self,"testIsNil",{})});
//>>excludeEnd("ctx");
}; }),
$globals.UndefinedTest);
$core.setTraitComposition([{trait: $globals.TClassBuildingTest, aliases: {"tearDownTheClass":"tearDown"}}], $globals.ClassBuilderTest);
$core.setTraitComposition([{trait: $globals.TClassBuildingTest}], $globals.ClassTest);
$core.setTraitComposition([{trait: $globals.TKeyValueCollectionTest}], $globals.AssociativeCollectionTest);
$core.setTraitComposition([{trait: $globals.TKeyValueCollectionTest}], $globals.SequenceableCollectionTest);
});
| 36.803372 | 2,420 | 0.698379 |
1e2c45fb15357b0f0599667f770553d9b0798680 | 967 | js | JavaScript | test/validations/utilities/is-primative.js | flowcommerce/lib-apidoc | f07c4dd03a454718e2fcabd55c9c1704cf83382e | [
"MIT"
] | 5 | 2019-03-06T01:22:28.000Z | 2021-03-23T02:53:56.000Z | test/validations/utilities/is-primative.js | flowcommerce/lib-apidoc | f07c4dd03a454718e2fcabd55c9c1704cf83382e | [
"MIT"
] | 4 | 2017-06-22T22:02:07.000Z | 2021-03-23T20:16:53.000Z | test/validations/utilities/is-primative.js | flowcommerce/lib-apidoc | f07c4dd03a454718e2fcabd55c9c1704cf83382e | [
"MIT"
] | 1 | 2019-03-06T01:22:38.000Z | 2019-03-06T01:22:38.000Z | import isPrimative from '../../../script/validations/utilities/is-primative';
describe('isPrimative', () => {
it('should find all the apidoc primatives', () => {
expect(isPrimative('boolean'), 'boolean').to.equal(true);
expect(isPrimative('date-iso8601'), 'date-iso8601').to.equal(true);
expect(isPrimative('date-time-iso8601'), 'date-time-iso8601').to.equal(true);
expect(isPrimative('decimal'), 'decimal').to.equal(true);
expect(isPrimative('double'), 'double').to.equal(true);
expect(isPrimative('integer'), 'integer').to.equal(true);
expect(isPrimative('long'), 'long').to.equal(true);
expect(isPrimative('object'), 'object').to.equal(true);
expect(isPrimative('string'), 'string').to.equal(true);
expect(isPrimative('unit'), 'unit').to.equal(true);
expect(isPrimative('uuid'), 'uuid').to.equal(true);
});
it('should return false', () => {
expect(isPrimative('number'), 'number').to.equal(false);
});
});
| 43.954545 | 81 | 0.654602 |
1e2c6ed20f2eaf18abcf56097c97f7c559ca3c27 | 15,303 | js | JavaScript | test/dco.test.js | macklinu/dco | 35f7202cb0e6648e03c8fedbae11437e1fb09de6 | [
"ISC"
] | null | null | null | test/dco.test.js | macklinu/dco | 35f7202cb0e6648e03c8fedbae11437e1fb09de6 | [
"ISC"
] | null | null | null | test/dco.test.js | macklinu/dco | 35f7202cb0e6648e03c8fedbae11437e1fb09de6 | [
"ISC"
] | null | null | null | const getDCOStatus = require('../lib/dco.js')
const success = []
const sha = '18aebfa67dde85da0f5099ad70ef647685a05205'
const alwaysRequireSignoff = async () => true
const dontRequireSignoffFor = (allowedLogin) => async (login) => { return login !== allowedLogin }
const prInfo = 'https://github.com/hiimbex/testing-things/pull/1'
describe('dco', () => {
test('returns true if message contains signoff', async () => {
const commit = {
message: 'Hello world\n\nSigned-off-by: Brandon Keepers <bkeepers@github.com>',
author: {
name: 'Brandon Keepers',
email: 'bkeepers@github.com'
},
committer: {
name: 'Bex Warner',
email: 'bexmwarner@gmail.com'
}
}
const dcoObject = await getDCOStatus([{commit, author: { login: 'bkeepers' }, parents: [], sha}], alwaysRequireSignoff, prInfo)
expect(dcoObject).toEqual(success)
})
test('returns true for merge commit', async () => {
const commit = {
message: 'mergin stuff',
author: {
name: 'Brandon Keepers',
email: 'bkeepers@github.com'
},
committer: {
name: 'Bex Warner',
email: 'bexmwarner@gmail.com'
}
}
const dcoObject = await getDCOStatus([{commit, author: { login: 'bkeepers' }, parents: [1, 2], sha}], alwaysRequireSignoff, prInfo)
expect(dcoObject).toEqual(success)
})
test('returns error message if message does not have signoff', async () => {
const commit = {
message: 'yolo',
author: {
name: 'Brandon Keepers',
email: 'bkeepers@github.com'
},
committer: {
name: 'Bex Warner',
email: 'bexmwarner@gmail.com'
}
}
const dcoObject = await getDCOStatus([{commit, author: { login: 'bkeepers' }, parents: [], sha}], alwaysRequireSignoff, prInfo)
expect(dcoObject).toEqual([{
url: 'https://github.com/hiimbex/testing-things/pull/1/commits/18aebfa67dde85da0f5099ad70ef647685a05205',
author: 'Brandon Keepers',
committer: 'Bex Warner',
message: 'The sign-off is missing.',
sha: '18aebfa67dde85da0f5099ad70ef647685a05205'
}])
})
test(
'returns error message if the signoff does not match the author',
async () => {
const commit = {
message: 'signed off by wrong author\n\nSigned-off-by: bex <bex@disney.com>',
author: {
name: 'hiimbex',
email: 'bex@disney.com'
},
committer: {
name: 'Bex Warner',
email: 'bexmwarner@gmail.com'
}
}
const dcoObject = await getDCOStatus([{commit, author: { login: 'hiimbex' }, parents: [], sha}], alwaysRequireSignoff, prInfo)
expect(dcoObject).toEqual([{
url: 'https://github.com/hiimbex/testing-things/pull/1/commits/18aebfa67dde85da0f5099ad70ef647685a05205',
author: 'hiimbex',
committer: 'Bex Warner',
message: 'Expected "hiimbex <bex@disney.com>", but got "bex <bex@disney.com>".',
sha: '18aebfa67dde85da0f5099ad70ef647685a05205'
}])
}
)
test(
'returns error message if the signoff does not match the email',
async () => {
const commit = {
message: 'signed off by wrong author\n\nSigned-off-by: bex <bex@disney.com>',
author: {
name: 'bex',
email: 'hiimbex@disney.com'
},
committer: {
name: 'Bex Warner',
email: 'bexmwarner@gmail.com'
}
}
const dcoObject = await getDCOStatus([{commit, author: { login: 'hiimbex' }, parents: [], sha}], alwaysRequireSignoff, prInfo)
expect(dcoObject).toEqual([{
url: 'https://github.com/hiimbex/testing-things/pull/1/commits/18aebfa67dde85da0f5099ad70ef647685a05205',
author: 'bex',
committer: 'Bex Warner',
message: 'Expected "bex <hiimbex@disney.com>", but got "bex <bex@disney.com>".',
sha: '18aebfa67dde85da0f5099ad70ef647685a05205'
}])
}
)
test(
'returns error message if the signoff does not match the author or email',
async () => {
const commit = {
message: 'signed off by wrong author\n\nSigned-off-by: hiimbex <hiimbex@disney.com>',
author: {
name: 'bex',
email: 'bex@disney.com'
},
committer: {
name: 'Bex Warner',
email: 'bexmwarner@gmail.com'
}
}
const dcoObject = await getDCOStatus([{commit, author: { login: 'hiimbex' }, parents: [], sha}], alwaysRequireSignoff, prInfo)
expect(dcoObject).toEqual([{
url: 'https://github.com/hiimbex/testing-things/pull/1/commits/18aebfa67dde85da0f5099ad70ef647685a05205',
author: 'bex',
committer: 'Bex Warner',
message: 'Expected "bex <bex@disney.com>", but got "hiimbex <hiimbex@disney.com>".',
sha: '18aebfa67dde85da0f5099ad70ef647685a05205'
}])
}
)
test(
'returns error message if the first commit has no sign off but the second commit has a sign off',
async () => {
const commitA = {
message: 'signed off by wrong author\n\nSigned-off-by: hiimbex <hiimbex@disney.com>',
author: {
name: 'bex',
email: 'bex@disney.com'
},
committer: {
name: 'Bex Warner',
email: 'bexmwarner@gmail.com'
}
}
const commitB = {
message: 'signed off correctly\n\nSigned-off-by: bex <bex@disney.com>',
author: {
name: 'bex',
email: 'bex@disney.com'
},
committer: {
name: 'Bex Warner',
email: 'bexmwarner@gmail.com'
}
}
const dcoObject = await getDCOStatus([{commit: commitA, author: { login: 'hiimbex' }, parents: [], sha}, {commit: commitB, author: { login: 'hiimbex' }, parents: [], sha}], alwaysRequireSignoff, prInfo)
expect(dcoObject).toEqual([{
url: 'https://github.com/hiimbex/testing-things/pull/1/commits/18aebfa67dde85da0f5099ad70ef647685a05205',
author: 'bex',
committer: 'Bex Warner',
message: 'Expected "bex <bex@disney.com>", but got "hiimbex <hiimbex@disney.com>".',
sha: '18aebfa67dde85da0f5099ad70ef647685a05205'
}])
}
)
test(
'returns error message if the first commit has a sign off but the second commit does not have a sign off',
async () => {
const commitA = {
message: 'signed off correctly\n\nSigned-off-by: bex <bex@disney.com>',
author: {
name: 'bex',
email: 'bex@disney.com'
},
committer: {
name: 'Bex Warner',
email: 'bexmwarner@gmail.com'
}
}
const commitB = {
message: 'signed off by wrong author\n\nSigned-off-by: hiimbex <hiimbex@disney.com>',
author: {
name: 'bex',
email: 'bex@disney.com'
},
committer: {
name: 'Bex Warner',
email: 'bexmwarner@gmail.com'
}
}
const dcoObject = await getDCOStatus([{commit: commitA, author: { login: 'hiimbex' }, parents: []}, {commit: commitB, author: { login: 'hiimbex' }, parents: [], sha}], alwaysRequireSignoff, prInfo)
expect(dcoObject).toEqual([{
url: 'https://github.com/hiimbex/testing-things/pull/1/commits/18aebfa67dde85da0f5099ad70ef647685a05205',
author: 'bex',
committer: 'Bex Warner',
message: 'Expected "bex <bex@disney.com>", but got "hiimbex <hiimbex@disney.com>".',
sha: '18aebfa67dde85da0f5099ad70ef647685a05205'
}])
}
)
test('returns success if all commits have sign off', async () => {
const commitA = {
message: 'signed off correctly\n\nSigned-off-by: bex <bex@disney.com>',
author: {
name: 'bex',
email: 'bex@disney.com'
},
committer: {
name: 'Bex Warner',
email: 'bexmwarner@gmail.com'
}
}
const commitB = {
message: 'signed off by wrong author\n\nSigned-off-by: bex <bex@disney.com>',
author: {
name: 'bex',
email: 'bex@disney.com'
},
committer: {
name: 'Bex Warner',
email: 'bexmwarner@gmail.com'
}
}
const dcoObject = await getDCOStatus([{commit: commitA, author: { login: 'hiimbex' }, parents: []}, {commit: commitB, author: { login: 'hiimbex' }, parents: [], sha}], alwaysRequireSignoff, prInfo)
expect(dcoObject).toEqual(success)
})
test(
'returns success when casing in sign of message is different',
async () => {
const commit = {
message: 'signed off correctly\n\nsigned-off-by: hiimbex <hiimbex@disney.com>',
author: {
name: 'hiimbex',
email: 'hiimbex@disney.com'
},
committer: {
name: 'Bex Warner',
email: 'bexmwarner@gmail.com'
}
}
const dcoObject = await getDCOStatus([{commit, author: { login: 'hiimbex' }, parents: [], sha}], alwaysRequireSignoff, prInfo)
expect(dcoObject).toEqual(success)
}
)
test('returns failure when email is invalid', async () => {
const commit = {
message: 'bad email\n\nsigned-off-by: hiimbex <hiimbex@bexo>',
author: {
name: 'hiimbex',
email: 'hiimbex@bexo'
},
committer: {
name: 'Bex Warner',
email: 'bexmwarner@gmail.com'
}
}
const dcoObject = await getDCOStatus([{commit, author: { login: 'hiimbex' }, parents: [], sha}], alwaysRequireSignoff, prInfo)
expect(dcoObject).toEqual([{
url: 'https://github.com/hiimbex/testing-things/pull/1/commits/18aebfa67dde85da0f5099ad70ef647685a05205',
author: 'hiimbex',
committer: 'Bex Warner',
message: 'hiimbex@bexo is not a valid email address.',
sha: '18aebfa67dde85da0f5099ad70ef647685a05205'
}])
})
test('returns success when email and name are differently cased (case-insensitivity)', async () => {
const commit = {
message: 'cAsInG iS fUn\n\nsigned-off-by: HiImBeXo <HiImBeX@bExO.cOm>',
author: {
name: 'hiimbexo',
email: 'hiimbex@bexo.com'
},
committer: {
name: 'Bex Warner',
email: 'bexmwarner@gmail.com'
}
}
const dcoObject = await getDCOStatus([{commit, author: { login: 'hiimbex' }, parents: [], sha}], alwaysRequireSignoff, prInfo)
expect(dcoObject).toEqual(success)
})
test('returns success when committer is bot', async () => {
const commit = {
message: 'I aM rObOt I dO wHaT i PlEaSe.',
author: {
name: 'bexobot [bot]',
email: 'wut'
},
committer: {
name: 'Bex Warner',
email: 'bexmwarner@gmail.com'
}
}
const author = {
login: 'bexobot [bot]',
type: 'Bot'
}
const dcoObject = await getDCOStatus([{commit, author, parents: [], sha}], alwaysRequireSignoff, prInfo)
expect(dcoObject).toEqual(success)
})
test(
'returns success if verified commit without sign off is from org member',
async () => {
const commit = {
message: 'yolo',
author: {
name: 'Lorant Pinter',
email: 'lorant.pinter@gmail.com'
},
committer: {
name: 'Bex Warner',
email: 'bexmwarner@gmail.com'
},
verification: {
verified: true
}
}
const dcoObject = await getDCOStatus([{commit, author: { login: 'lptr' }, parents: [], sha}], dontRequireSignoffFor('lptr'), prInfo)
expect(dcoObject).toEqual(success)
}
)
test(
'returns failure if unverified commit without sign off is from org member',
async () => {
const commit = {
message: 'yolo',
author: {
name: 'Lorant Pinter',
email: 'lorant.pinter@gmail.com'
},
committer: {
name: 'Bex Warner',
email: 'bexmwarner@gmail.com'
},
verification: {
verified: false
}
}
const dcoObject = await getDCOStatus([{commit, author: { login: 'lptr' }, parents: [], sha}], dontRequireSignoffFor('lptr'), prInfo)
expect(dcoObject).toEqual([{
url: 'https://github.com/hiimbex/testing-things/pull/1/commits/18aebfa67dde85da0f5099ad70ef647685a05205',
author: 'Lorant Pinter',
committer: 'Bex Warner',
message: 'Commit by organization member is not verified.',
sha: '18aebfa67dde85da0f5099ad70ef647685a05205'
}])
}
)
test(
'returns success if commit.author is different but commit.committer matches',
async () => {
const commit = {
message: 'What a nice day!\n\nSigned-off-by: Bex Warner <bexmwarner@gmail.com>',
author: {
name: 'Bexo',
email: 'bexo@gmail.com'
},
committer: {
name: 'Bex Warner',
email: 'bexmwarner@gmail.com'
}
}
const dcoObject = await getDCOStatus([{commit, author: { login: 'hiimbex' }, parents: [], sha}], alwaysRequireSignoff, prInfo)
expect(dcoObject).toEqual(success)
}
)
test(
'returns success if author does not exist but everything else is ok',
async () => {
const commit = {
message: 'What a nice day!\n\nSigned-off-by: Bex Warner <bexmwarner@gmail.com>',
author: {
name: 'Bexo',
email: 'bexo@gmail.com'
},
committer: {
name: 'Bex Warner',
email: 'bexmwarner@gmail.com'
}
}
const author = null
const dcoObject = await getDCOStatus([{commit, author, parents: [], sha}], alwaysRequireSignoff, prInfo)
expect(dcoObject).toEqual(success)
}
)
test('returns failure if author does not exist and there is no sign off',
async () => {
const commit = {
message: 'What a nice day!',
author: {
name: 'Bexo',
email: 'bexo@gmail.com'
},
committer: {
name: 'Bex Warner',
email: 'bexmwarner@gmail.com'
}
}
const author = null
const dcoObject = await getDCOStatus([{commit, author, parents: [], sha}], alwaysRequireSignoff, prInfo)
expect(dcoObject).toEqual([{
url: 'https://github.com/hiimbex/testing-things/pull/1/commits/18aebfa67dde85da0f5099ad70ef647685a05205',
author: 'Bexo',
committer: 'Bex Warner',
message: 'The sign-off is missing.',
sha: '18aebfa67dde85da0f5099ad70ef647685a05205'
}])
}
)
test(
'returns failure if author does not exist and there is no sign off',
async () => {
const commit = {
message: 'What a nice day!',
author: {
name: 'Bexo',
email: 'bexo@gmail.com'
},
committer: {
name: 'Bex Warner',
email: 'bexmwarner@gmail.com'
}
}
const author = null
const dcoObject = await getDCOStatus([{commit, author, parents: [], sha}], alwaysRequireSignoff, prInfo)
expect(dcoObject).toEqual([{
url: 'https://github.com/hiimbex/testing-things/pull/1/commits/18aebfa67dde85da0f5099ad70ef647685a05205',
author: 'Bexo',
committer: 'Bex Warner',
message: 'The sign-off is missing.',
sha: '18aebfa67dde85da0f5099ad70ef647685a05205'
}])
}
)
})
| 32.28481 | 208 | 0.582631 |
1e2c7cdadfdaf9dc5f5c3e7c05a96ee2c8f0b6f9 | 3,680 | js | JavaScript | doctor.js | ALai57/NeuralNet | cb1a1e69ceead24b6d18205aca86280eaf91b730 | [
"BSD-3-Clause"
] | null | null | null | doctor.js | ALai57/NeuralNet | cb1a1e69ceead24b6d18205aca86280eaf91b730 | [
"BSD-3-Clause"
] | null | null | null | doctor.js | ALai57/NeuralNet | cb1a1e69ceead24b6d18205aca86280eaf91b730 | [
"BSD-3-Clause"
] | null | null | null |
var svg = d3.select('#DoctorDiv')
.append("svg")
.style("width",wd)
.style("height",ht);
var tableDr = d3.select('#DoctorDiv').select('svg')
.append("foreignObject")
.attr("width", 480)
.attr("height", 500)
.append("xhtml:body");
tableDr.append("div")
.attr('class','ANN_Table')
.attr("style", "margin-left: 400px");
var dataTable = tabulate('#DoctorDiv', myData, ["T", "HR", "S_true"]);
var patient = d3.select('#DoctorDiv').select('svg').selectAll('.patientImg')
.data(myData,function(d){return d.id;})
.enter()
.append('svg:image')
.attr('id', function (d,i) {return 'patient'+i;})
.attr('class','patientImg')
.attr('href',function (d) {if(d.S_true){return './Person_Sick.svg';}
else {return './Person_Healthy.svg';} })
.attr('x', function (d,i){return x(-2.8*i+1.5);})
.attr('y', 0)
.attr('height',Math.abs(y(5)-y(0)));
var doctor = d3.select('#DoctorDiv').select('svg').selectAll('#doctor')
.data([0])
.enter()
.append('svg:image')
.attr('id', 'doctor')
.attr('href','./Person_Doctor.svg')
.attr('x', x(5))
.attr('y', 0)
.attr('height',Math.abs(y(5)-y(0)))
.on('click',function(){ return scanPatient();});
var eyeL = d3.select('#DoctorDiv').select('svg').selectAll('#eyeL')
.data([0])
.enter()
.append('circle')
.attr('id','eyeL')
.attr('cx',x(5.7))
.attr('cy',y(4.3))
.attr('r',x(0.1)-x(0))
.attr("fill", "black");
var eyeR = d3.select('#DoctorDiv').select('svg').selectAll('#eyeR')
.data([0])
.enter()
.append('circle')
.attr('id','eyeR')
.attr('cx',x(6.25))
.attr('cy',y(4.3))
.attr('r',x(0.1)-x(0))
.attr("fill", "black");
var scanDuration = 1200;
var resetDuration = 500;
var advanceTime = 500;
var patientNumber = 0;
function scanPatient () {
d3.select('#DoctorDiv').selectAll('#scanL').remove();
d3.select('#DoctorDiv').selectAll('#scanR').remove();
d3.select('#DoctorDiv').selectAll('#eyeL').transition().duration(0).attr('cy',y(4.3));
d3.select('#DoctorDiv').selectAll('#eyeR').transition().duration(0).attr('cy',y(4.3));
var scanL = d3.select('#DoctorDiv').select('svg').selectAll('#scanL').data([0])
.enter()
.append('line')
.attr('id','scanL')
.attr('x1',x(5.7))
.attr('y1',y(4.3))
.attr('x2',x(3))
.attr('y2',y(4.3))
.attr("stroke-width", 2)
.attr("stroke", "black");
var scanR = d3.select('#DoctorDiv').select('svg').selectAll('#scanR').data([0])
.enter()
.append('line')
.attr('id','scanR')
.attr('x1',x(6.25))
.attr('y1',y(4.3))
.attr('x2',x(3))
.attr('y2',y(4.3))
.attr("stroke-width", 2)
.attr("stroke", "black");
eyeL.transition().duration(scanDuration)
.attr('cy',y(4.1))
.on('end', function(){
return eyeL.transition().duration(resetDuration).attr('cy',y(4.3));}
);
eyeR.transition().duration(scanDuration)
.attr('cy',y(4.1))
.on('end', function(){
return eyeR.transition().duration(resetDuration).attr('cy',y(4.3));}
);
scanL.transition().duration(scanDuration)
.attr('y1',y(4.1))
.attr('y2',y(0))
.on('end', function(){
return scanL.remove();}
);
scanR.transition().duration(scanDuration)
.attr('y1',y(4.1))
.attr('y2',y(0))
.on('end', function(){
console.log(patientNumber);
updateTable(patientNumber);
patientNumber++;
d3.selectAll('.patientImg').data(myData.slice(patientNumber),function(d){return d.id;})
.exit()
.remove();
d3.selectAll('.patientImg')
.transition().duration(advanceTime)
.attr('x', function (d,i){return x(-2.8*(i)+1.5);});
return scanR.remove();}
);
}
d3.select('#DoctorDiv')
.selectAll("svg")
.style('width','600px')
.style('height','240px'); | 26.47482 | 90 | 0.589402 |
1e2ca778765d66df0f14bff9e4c68d64ee62af43 | 14,233 | js | JavaScript | docs/cpp_routing/search/functions_c.js | kharazian/or-tools-em | 8df912821e013203523ba433ff2babbbc91c6a4b | [
"Apache-2.0"
] | null | null | null | docs/cpp_routing/search/functions_c.js | kharazian/or-tools-em | 8df912821e013203523ba433ff2babbbc91c6a4b | [
"Apache-2.0"
] | null | null | null | docs/cpp_routing/search/functions_c.js | kharazian/or-tools-em | 8df912821e013203523ba433ff2babbbc91c6a4b | [
"Apache-2.0"
] | null | null | null | var searchData=
[
['objective_0',['Objective',['../classoperations__research_1_1_assignment.html#a4787369b2c9922e8ad325759d2a559b3',1,'operations_research::Assignment']]],
['objective_5fvalue_1',['objective_value',['../classoperations__research_1_1_solution_collector.html#a9ff7a59105722fe8b129e9e69b6c9028',1,'operations_research::SolutionCollector']]],
['objectivebound_2',['ObjectiveBound',['../classoperations__research_1_1_assignment.html#ab157d7f9928411cc8aa0e27980ac0dc9',1,'operations_research::Assignment']]],
['objectivemax_3',['ObjectiveMax',['../classoperations__research_1_1_assignment.html#a2b73b6bfa34aead8c15b272312f3ec5f',1,'operations_research::Assignment']]],
['objectivemin_4',['ObjectiveMin',['../classoperations__research_1_1_assignment.html#a8abea9d29c2a7da778c25195d89b22ca',1,'operations_research::Assignment']]],
['objectivevalue_5',['ObjectiveValue',['../classoperations__research_1_1_assignment.html#a673faac1a261ca2414930dddbfaef92b',1,'operations_research::Assignment']]],
['ok_6',['Ok',['../classoperations__research_1_1_int_var_iterator.html#afd583d1de9a76003cabb79710d08e1b5',1,'operations_research::IntVarIterator']]],
['ok_7',['ok',['../classoperations__research_1_1_simple_rev_f_i_f_o_1_1_iterator.html#a03cb7eaa663dc83af68bc28a596d09e6',1,'operations_research::SimpleRevFIFO::Iterator']]],
['olddurationmax_8',['OldDurationMax',['../classoperations__research_1_1_interval_var.html#a7af3ed44ee43f1ad345ef81668a13301',1,'operations_research::IntervalVar']]],
['olddurationmin_9',['OldDurationMin',['../classoperations__research_1_1_interval_var.html#a74a0a8c5b7e2f7d03777c83a41dd9b6f',1,'operations_research::IntervalVar']]],
['oldendmax_10',['OldEndMax',['../classoperations__research_1_1_interval_var.html#a583554cded21727fb29e7b7184c5491f',1,'operations_research::IntervalVar']]],
['oldendmin_11',['OldEndMin',['../classoperations__research_1_1_interval_var.html#a78d485a53b007609c2b95e100fa789fb',1,'operations_research::IntervalVar']]],
['oldinversevalue_12',['OldInverseValue',['../classoperations__research_1_1_int_var_local_search_operator.html#a0e580afd2c00b163cbb019ca661470f5',1,'operations_research::IntVarLocalSearchOperator']]],
['oldmax_13',['OldMax',['../classoperations__research_1_1_int_var.html#a3173e28151b3e04888127961cacc42b1',1,'operations_research::IntVar']]],
['oldmin_14',['OldMin',['../classoperations__research_1_1_int_var.html#af3a292044fe0483a2b2f7b65f94a7dc2',1,'operations_research::IntVar']]],
['oldnext_15',['OldNext',['../classoperations__research_1_1_path_operator.html#aa5e00890b9ba3ed95dfba829e51f6be4',1,'operations_research::PathOperator']]],
['oldpath_16',['OldPath',['../classoperations__research_1_1_path_operator.html#a15b6b1076d1c5441a135aaf2f458c9e6',1,'operations_research::PathOperator']]],
['oldprev_17',['OldPrev',['../classoperations__research_1_1_path_operator.html#a066baaebb360523ba186215d7ec90365',1,'operations_research::PathOperator']]],
['oldsequence_18',['OldSequence',['../classoperations__research_1_1_sequence_var_local_search_operator.html#af83d0756e698f74667dea1571a2d0f5c',1,'operations_research::SequenceVarLocalSearchOperator']]],
['oldstartmax_19',['OldStartMax',['../classoperations__research_1_1_interval_var.html#a71a5d45fb0d57b2bb5647a8229bc0fc5',1,'operations_research::IntervalVar']]],
['oldstartmin_20',['OldStartMin',['../classoperations__research_1_1_interval_var.html#af902071de9bce5da79091eaeb516441d',1,'operations_research::IntervalVar']]],
['oldvalue_21',['OldValue',['../classoperations__research_1_1_var_local_search_operator.html#a79163ea8990864f185e87eabf1578cca',1,'operations_research::VarLocalSearchOperator']]],
['onaddvars_22',['OnAddVars',['../classoperations__research_1_1_sequence_var_local_search_handler.html#a97b236691225d7209706cf03fc455dc9',1,'operations_research::SequenceVarLocalSearchHandler::OnAddVars()'],['../classoperations__research_1_1_int_var_local_search_handler.html#a97b236691225d7209706cf03fc455dc9',1,'operations_research::IntVarLocalSearchHandler::OnAddVars()']]],
['one_23',['One',['../namespaceoperations__research.html#a9e48359348ad94d97e6c44ffd52b33e3',1,'operations_research']]],
['onedomain_24',['OneDomain',['../classoperations__research_1_1_pack.html#a96340e443923b721e76f2ff432a48954',1,'operations_research::Pack']]],
['oninitializecheck_25',['OnInitializeCheck',['../classoperations__research_1_1_type_regulations_checker.html#a72ee439843f75a7dc189962f5561ad97',1,'operations_research::TypeRegulationsChecker']]],
['onnodeinitialization_26',['OnNodeInitialization',['../classoperations__research_1_1_path_operator.html#a1223e0b8dbca7cd9c296fc4de65080b2',1,'operations_research::PathOperator']]],
['onrevertchanges_27',['OnRevertChanges',['../classoperations__research_1_1_int_var_local_search_handler.html#ad4c241e89e13509622503f2763ed7295',1,'operations_research::IntVarLocalSearchHandler::OnRevertChanges()'],['../classoperations__research_1_1_sequence_var_local_search_handler.html#a125b2232e57570b4d8112618e632853c',1,'operations_research::SequenceVarLocalSearchHandler::OnRevertChanges()']]],
['onsamepathaspreviousbase_28',['OnSamePathAsPreviousBase',['../classoperations__research_1_1_pair_exchange_relocate_operator.html#aeb4fe30538ba848f88b1657accd934c6',1,'operations_research::PairExchangeRelocateOperator::OnSamePathAsPreviousBase()'],['../classoperations__research_1_1_pair_node_swap_active_operator.html#aeb4fe30538ba848f88b1657accd934c6',1,'operations_research::PairNodeSwapActiveOperator::OnSamePathAsPreviousBase()'],['../classoperations__research_1_1_pair_relocate_operator.html#aeb4fe30538ba848f88b1657accd934c6',1,'operations_research::PairRelocateOperator::OnSamePathAsPreviousBase()'],['../classoperations__research_1_1_make_pair_active_operator.html#aeb4fe30538ba848f88b1657accd934c6',1,'operations_research::MakePairActiveOperator::OnSamePathAsPreviousBase()'],['../classoperations__research_1_1_path_operator.html#a126d8d622ba60f333308fd98bcf8ed2b',1,'operations_research::PathOperator::OnSamePathAsPreviousBase()']]],
['onstart_29',['OnStart',['../classoperations__research_1_1_var_local_search_operator.html#aae6d852f10b483ddfa68658e43130028',1,'operations_research::VarLocalSearchOperator::OnStart()'],['../classoperations__research_1_1_swap_index_pair_operator.html#a08ba64a7e6c6e507272f75ca518d26f5',1,'operations_research::SwapIndexPairOperator::OnStart()']]],
['onsynchronize_30',['OnSynchronize',['../classoperations__research_1_1_int_var_local_search_filter.html#a0aee6f5d9448e52ed735f92e581f2a3f',1,'operations_research::IntVarLocalSearchFilter']]],
['operator_21_3d_31',['operator!=',['../classoperations__research_1_1_path_state_1_1_node_range_1_1_iterator.html#a95e4d634c5081ed23423184460d36034',1,'operations_research::PathState::NodeRange::Iterator::operator!=()'],['../classoperations__research_1_1_path_state_1_1_chain_range_1_1_iterator.html#a95e4d634c5081ed23423184460d36034',1,'operations_research::PathState::ChainRange::Iterator::operator!=()'],['../classoperations__research_1_1_sequence_var_element.html#a37191403b930340e0cbd1e9a4f88d157',1,'operations_research::SequenceVarElement::operator!=()'],['../classoperations__research_1_1_path_state_1_1_chain_1_1_iterator.html#a95e4d634c5081ed23423184460d36034',1,'operations_research::PathState::Chain::Iterator::operator!=()'],['../classoperations__research_1_1_assignment_container.html#a6d46683fd5bcefbd1d9dc389fd34d665',1,'operations_research::AssignmentContainer::operator!=()'],['../structoperations__research_1_1_init_and_get_values_1_1_iterator.html#a710b1a5c9f835b20b87a76ce12e4f305',1,'operations_research::InitAndGetValues::Iterator::operator!=()'],['../classoperations__research_1_1_assignment.html#affcbe1cefd443f0581b455613cacc219',1,'operations_research::Assignment::operator!=()'],['../classoperations__research_1_1_interval_var_element.html#a247764a994a106eaa0f22e397a2664f3',1,'operations_research::IntervalVarElement::operator!=()'],['../classoperations__research_1_1_int_var_element.html#a1dc7549eac8297e8ef9a6c3af7d24304',1,'operations_research::IntVarElement::operator!=()']]],
['operator_2a_32',['operator*',['../structoperations__research_1_1_init_and_get_values_1_1_iterator.html#a7d67cf62e589098c5cfddb3dd44249fb',1,'operations_research::InitAndGetValues::Iterator::operator*()'],['../classoperations__research_1_1_simple_rev_f_i_f_o_1_1_iterator.html#a4f623cf5dc191f1dc0257dc5701228a3',1,'operations_research::SimpleRevFIFO::Iterator::operator*()'],['../classoperations__research_1_1_path_state_1_1_chain_1_1_iterator.html#ab4661162459f2cb4e9887fcbc2d38b55',1,'operations_research::PathState::Chain::Iterator::operator*()'],['../classoperations__research_1_1_path_state_1_1_chain_range_1_1_iterator.html#aa9851e9b7ba71849f8f83c786346b379',1,'operations_research::PathState::ChainRange::Iterator::operator*()'],['../classoperations__research_1_1_path_state_1_1_node_range_1_1_iterator.html#ab4661162459f2cb4e9887fcbc2d38b55',1,'operations_research::PathState::NodeRange::Iterator::operator*()']]],
['operator_2b_2b_33',['operator++',['../classoperations__research_1_1_path_state_1_1_chain_range_1_1_iterator.html#ae1f21c74128a5ef5d1b9de72ceb09be8',1,'operations_research::PathState::ChainRange::Iterator::operator++()'],['../classoperations__research_1_1_path_state_1_1_node_range_1_1_iterator.html#ae1f21c74128a5ef5d1b9de72ceb09be8',1,'operations_research::PathState::NodeRange::Iterator::operator++()'],['../classoperations__research_1_1_path_state_1_1_chain_1_1_iterator.html#ae1f21c74128a5ef5d1b9de72ceb09be8',1,'operations_research::PathState::Chain::Iterator::operator++()'],['../classoperations__research_1_1_simple_rev_f_i_f_o_1_1_iterator.html#a00f008b80917746917b874d00abd02a9',1,'operations_research::SimpleRevFIFO::Iterator::operator++()'],['../structoperations__research_1_1_init_and_get_values_1_1_iterator.html#ae1f21c74128a5ef5d1b9de72ceb09be8',1,'operations_research::InitAndGetValues::Iterator::operator++()']]],
['operator_3c_34',['operator<',['../structoperations__research_1_1_solution_collector_1_1_solution_data.html#a668d11020177f060bafb5796b15743fb',1,'operations_research::SolutionCollector::SolutionData::operator<()'],['../structoperations__research_1_1_routing_model_1_1_cost_class_1_1_dimension_cost.html#a84a0cd1c601b30f409f0b7d7d25e453b',1,'operations_research::RoutingModel::CostClass::DimensionCost::operator<()'],['../structoperations__research_1_1_routing_model_1_1_vehicle_type_container_1_1_vehicle_class_entry.html#a147e45ee21195b528c370a8d4e198767',1,'operations_research::RoutingModel::VehicleTypeContainer::VehicleClassEntry::operator<()']]],
['operator_3c_3c_35',['operator<<',['../namespaceoperations__research.html#ab563b868509e5ca6c0db57a038d863e4',1,'operations_research::operator<<(std::ostream &out, const BaseObject *o)'],['../namespaceoperations__research.html#a87fdc0126f6fc98ffb86ba1aa618f322',1,'operations_research::operator<<(std::ostream &out, const Solver *const s)'],['../namespaceoperations__research.html#a82d722796fae06c7fb9d1d8a37c91c99',1,'operations_research::operator<<(std::ostream &out, const Assignment &assignment)']]],
['operator_3d_36',['operator=',['../classoperations__research_1_1_simple_bound_costs.html#af2133502882dec3ada4aa271a92bffe6',1,'operations_research::SimpleBoundCosts']]],
['operator_3d_3d_37',['operator==',['../classoperations__research_1_1_assignment.html#aab2342dc981954ebcfdd6735045f3448',1,'operations_research::Assignment::operator==()'],['../classoperations__research_1_1_int_var_element.html#a33ef474050b31ee553ce99c1960046d9',1,'operations_research::IntVarElement::operator==()'],['../classoperations__research_1_1_interval_var_element.html#aad06021b1b5dbab3cae32226ae487a42',1,'operations_research::IntervalVarElement::operator==()'],['../classoperations__research_1_1_sequence_var_element.html#a2bb652744641c5c1c54a399b736a70a3',1,'operations_research::SequenceVarElement::operator==()'],['../classoperations__research_1_1_assignment_container.html#a2b78a4ff4f23efeb1e70b6ce60faa821',1,'operations_research::AssignmentContainer::operator==()']]],
['operator_5b_5d_38',['operator[]',['../classoperations__research_1_1_rev_partial_sequence.html#aa40539cbc926aa90df91fcb10f8ada39',1,'operations_research::RevPartialSequence::operator[]()'],['../classoperations__research_1_1_rev_array.html#a1e6a80b4bd5602e71351fb6aaffcbb58',1,'operations_research::RevArray::operator[]()']]],
['optimization_5fdirection_39',['optimization_direction',['../classoperations__research_1_1_solver.html#affa6c6c872b17ceee95a3cd7f24f6848',1,'operations_research::Solver']]],
['optimize_40',['Optimize',['../classoperations__research_1_1_dimension_cumul_optimizer_core.html#a2f7a5a1dd37425548dd240eaa26b3778',1,'operations_research::DimensionCumulOptimizerCore']]],
['optimizeandpack_41',['OptimizeAndPack',['../classoperations__research_1_1_dimension_cumul_optimizer_core.html#a9af3ca4bab4b91eac932f71596ada6ac',1,'operations_research::DimensionCumulOptimizerCore']]],
['optimizeandpacksingleroute_42',['OptimizeAndPackSingleRoute',['../classoperations__research_1_1_dimension_cumul_optimizer_core.html#aec1c4f058fbbbd5e0b5f767c5f0a87a3',1,'operations_research::DimensionCumulOptimizerCore']]],
['optimizesingleroute_43',['OptimizeSingleRoute',['../classoperations__research_1_1_dimension_cumul_optimizer_core.html#ad8f55e0b1048c51c733207c60a2f87b0',1,'operations_research::DimensionCumulOptimizerCore']]],
['optimizesingleroutewithresources_44',['OptimizeSingleRouteWithResources',['../classoperations__research_1_1_dimension_cumul_optimizer_core.html#a164fa51cd8575b74cbc058770461eac3',1,'operations_research::DimensionCumulOptimizerCore']]],
['optimizevar_45',['OptimizeVar',['../classoperations__research_1_1_optimize_var.html#a28c1ac42c281f1f4a362d702f7025eb3',1,'operations_research::OptimizeVar']]],
['outputdecision_46',['OutputDecision',['../classoperations__research_1_1_search_log.html#ae26cecfdf81054f0b85943d0f9e8b7ac',1,'operations_research::SearchLog']]],
['outputline_47',['OutputLine',['../classoperations__research_1_1_search_log.html#a579d10756b6f1f7313b3ff0f27b33876',1,'operations_research::SearchLog']]]
];
| 273.711538 | 1,511 | 0.842198 |
1e2d3caba51c6fdfe152d8e25a767af74cef151e | 25,320 | js | JavaScript | apps/metastore/src/metastore/static/metastore/js/metastore.model.js | bopopescu/Hue-4 | 127a23f563611b0e8dc0dd35ad393cbaff8a64c6 | [
"Apache-2.0"
] | 1 | 2018-08-01T05:10:26.000Z | 2018-08-01T05:10:26.000Z | apps/metastore/src/metastore/static/metastore/js/metastore.model.js | bopopescu/Hue-4 | 127a23f563611b0e8dc0dd35ad393cbaff8a64c6 | [
"Apache-2.0"
] | null | null | null | apps/metastore/src/metastore/static/metastore/js/metastore.model.js | bopopescu/Hue-4 | 127a23f563611b0e8dc0dd35ad393cbaff8a64c6 | [
"Apache-2.0"
] | 1 | 2020-07-25T19:27:13.000Z | 2020-07-25T19:27:13.000Z | // Licensed to Cloudera, Inc. under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. Cloudera, Inc. licenses this file
// to you 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.
var MetastoreDatabase = (function () {
/**
* @param {Object} options
* @param {string} options.name
* @param {string} [options.tableName]
* @param {string} [options.tableComment]
* @constructor
*/
function MetastoreDatabase(options) {
var self = this;
self.apiHelper = ApiHelper.getInstance();
self.name = options.name;
self.loaded = ko.observable(false);
self.loading = ko.observable(false);
self.tables = ko.observableArray();
self.stats = ko.observable();
self.optimizerStats = ko.observableArray(); // TODO to plugify, duplicates similar MetastoreTable
self.navigatorStats = ko.observable();
self.showAddTagName = ko.observable(false);
self.addTagName = ko.observable('');
self.tableQuery = ko.observable('').extend({rateLimit: 150});
self.filteredTables = ko.computed(function () {
var returned = self.tables();
if (self.tableQuery() !== '') {
returned = $.grep(self.tables(), function (table) {
return table.name.toLowerCase().indexOf(self.tableQuery()) > -1
|| (table.comment() && table.comment().toLowerCase().indexOf(self.tableQuery()) > -1);
});
}
return returned.sort(function (a, b) {
if (options.optimizerEnabled()) {
if (typeof a.optimizerStats() !== 'undefined' && a.optimizerStats() !== null) {
if (typeof b.optimizerStats() !== 'undefined' && b.optimizerStats() !== null) {
if (a.optimizerStats().popularity === b.optimizerStats().popularity) {
return a.name.toLowerCase().localeCompare(b.name.toLowerCase());
}
return b.optimizerStats().popularity - a.optimizerStats().popularity;
}
return -1
}
if (typeof b.optimizerStats() !== 'undefined' && b.optimizerStats() !== null) {
return 1;
}
}
return a.name.toLowerCase().localeCompare(b.name.toLowerCase());
});
});
self.selectedTables = ko.observableArray();
self.editingTable = ko.observable(false);
self.table = ko.observable(null);
self.addTags = function () {
$.post('/metadata/api/navigator/add_tags', {
id: ko.mapping.toJSON(self.navigatorStats().identity),
tags: ko.mapping.toJSON([self.addTagName()])
}, function(data) {
if (data && data.status == 0) {
self.navigatorStats().tags.push(self.addTagName());
self.addTagName('');
self.showAddTagName(false);
} else {
$(document).trigger("error", data.message);
}
});
};
self.deleteTags = function (tag) {
$.post('/metadata/api/navigator/delete_tags', {
id: ko.mapping.toJSON(self.navigatorStats().identity),
tags: ko.mapping.toJSON([tag])
}, function(data) {
if (data && data.status == 0) {
self.navigatorStats().tags.remove(tag);
} else {
$(document).trigger("error", data.message);
}
});
};
}
MetastoreDatabase.prototype.load = function (callback, optimizerEnabled, navigatorEnabled, sourceType) {
var self = this;
if (self.loading()) {
return;
}
self.loading(true);
self.apiHelper.fetchTables({
sourceType: sourceType,
databaseName: self.name,
successCallback: function (data) {
self.tables($.map(data.tables_meta, function (tableMeta) {
return new MetastoreTable({
database: self,
name: tableMeta.name,
type: tableMeta.type,
comment: tableMeta.comment,
optimizerEnabled: optimizerEnabled,
navigatorEnabled: navigatorEnabled,
sourceType: sourceType
})
}));
self.loaded(true);
self.loading(false);
if (optimizerEnabled && navigatorEnabled) {
$.get('/metadata/api/navigator/find_entity', {
type: 'database',
name: self.name
}, function(data){
if (data && data.status == 0) {
self.navigatorStats(ko.mapping.fromJS(data.entity));
} else {
//$(document).trigger("info", data.message);
}
});
$.post('/metadata/api/optimizer/top_tables', {
database: self.name
}, function(data){
if (data && data.status == 0) {
var tableIndex = {};
data.top_tables.forEach(function (topTable) {
tableIndex[topTable.name] = topTable;
});
self.tables().forEach(function (table) {
table.optimizerStats(tableIndex[table.name]);
});
self.optimizerStats(data.top_tables);
} else {
$(document).trigger("error", data.message);
}
}).always(function () {
if (callback) {
callback();
}
});
} else if (callback) {
callback();
}
},
errorCallback: function (response) {
self.loading(false);
if (callback) {
callback();
}
}
});
$.getJSON('/metastore/databases/' + self.name + '/metadata', function (data) {
if (data && data.status == 0) {
self.stats(data.data);
}
});
self.apiHelper.setInTotalStorage('metastore', 'last.selected.database', self.name);
};
MetastoreDatabase.prototype.setTableByName = function (tableName) {
var self = this;
var foundTables = $.grep(self.tables(), function (metastoreTable) {
return metastoreTable.name === tableName;
});
if (foundTables.length === 1) {
self.setTable(foundTables[0]);
}
};
MetastoreDatabase.prototype.setTable = function (metastoreTable, callback) {
var self = this;
huePubSub.publish('metastore.scroll.to.top');
self.table(metastoreTable);
if (!metastoreTable.loaded()) {
metastoreTable.load();
}
if (callback) {
callback();
}
hueUtils.waitForRendered('a[href="#overview"]', function(el){ return el.is(':visible') }, function(){
window.setTimeout(function(){
$('a[href="#overview"]').click();
}, 0);
});
};
return MetastoreDatabase;
})();
var MetastoreTable = (function () {
/**
* @param {Object} options
* @param {MetastoreTable} options.metastoreTable
*/
function MetastoreTablePartitions(options) {
var self = this;
self.detailedKeys = ko.observableArray();
self.keys = ko.observableArray();
self.values = ko.observableArray();
self.selectedValues = ko.observableArray();
self.valuesFlat = ko.pureComputed(function(){
return self.values().map(function(item){
return item.partitionSpec
});
});
self.selectedValuesFlat = ko.pureComputed(function(){
return self.selectedValues().map(function(item){
return item.partitionSpec
});
});
self.metastoreTable = options.metastoreTable;
self.apiHelper = ApiHelper.getInstance();
self.loaded = ko.observable(false);
self.loading = ko.observable(true);
self.sortDesc = ko.observable(true);
self.filters = ko.observableArray([]);
self.typeaheadValues = function (column) {
var _vals = [];
self.values().forEach(function (row) {
var _cell = row.columns[self.keys().indexOf(column())];
if (_vals.indexOf(_cell) == -1) {
_vals.push(_cell);
}
});
return _vals
}
self.addFilter = function () {
self.filters.push(ko.mapping.fromJS({'column': '', 'value': ''}));
}
self.removeFilter = function (data) {
self.filters.remove(data);
if (self.filters().length == 0) {
self.sortDesc(true);
self.filter();
}
}
self.filter = function () {
self.loading(true);
self.loaded(false);
var _filters = JSON.parse(ko.toJSON(self.filters));
var _postData = {};
_filters.forEach(function (filter) {
_postData[filter.column] = filter.value;
});
_postData["sort"] = self.sortDesc() ? "desc" : "asc";
$.ajax({
type: "POST",
url: '/metastore/table/' + self.metastoreTable.database.name + '/' + self.metastoreTable.name + '/partitions',
data: _postData,
success: function (data) {
self.values(data.partition_values_json);
self.loading(false);
self.loaded(true);
},
dataType: "json"
});
}
self.preview = {
keys: ko.observableArray(),
values: ko.observableArray()
}
}
MetastoreTablePartitions.prototype.load = function () {
var self = this;
if (self.loaded()) {
return;
}
self.apiHelper.fetchPartitions({
databaseName: self.metastoreTable.database.name,
tableName: self.metastoreTable.name,
successCallback: function (data) {
self.keys(data.partition_keys_json);
self.values(data.partition_values_json);
self.preview.values(self.values().slice(0, 5));
self.preview.keys(self.keys());
self.loading(false);
self.loaded(true);
huePubSub.publish('metastore.loaded.partitions');
},
errorCallback: function (data) {
self.loading(false);
self.loaded(true);
}
})
};
/**
* @param {Object} options
* @param {MetastoreTable} options.metastoreTable
*/
function MetastoreTableSamples(options) {
var self = this;
self.rows = ko.observableArray();
self.headers = ko.observableArray();
self.metastoreTable = options.metastoreTable;
self.apiHelper = ApiHelper.getInstance();
self.hasErrors = ko.observable(false);
self.errorMessage = ko.observable();
self.loaded = ko.observable(false);
self.loading = ko.observable(true);
self.preview = {
headers: ko.observableArray(),
rows: ko.observableArray()
}
}
MetastoreTableSamples.prototype.load = function () {
var self = this;
if (self.loaded()) {
return;
}
self.hasErrors(false);
self.apiHelper.fetchTableSample({
sourceType: self.metastoreTable.sourceType,
databaseName: self.metastoreTable.database.name,
tableName: self.metastoreTable.name,
silenceErrors: true,
successCallback: function (data) {
self.rows(data.rows);
self.headers(data.headers);
self.preview.rows(self.rows().slice(0, 3));
self.preview.headers(self.headers());
self.loading(false);
self.loaded(true);
},
errorCallback: function (message) {
self.errorMessage(message);
self.hasErrors(true);
self.loading(false);
self.loaded(true);
}
});
};
/**
* @param {Object} options
* @param {MetastoreDatabase} options.database
* @param {string} options.name
* @param {string} options.type
* @param {string} options.comment
* @param {string} options.sourceType
* @constructor
*/
function MetastoreTable(options) {
var self = this;
self.database = options.database;
self.apiHelper = ApiHelper.getInstance();
self.optimizerEnabled = options.optimizerEnabled;
self.navigatorEnabled = options.navigatorEnabled;
self.sourceType = options.sourceType;
self.name = options.name;
self.type = options.type;
self.isView = ko.observable(false);
self.optimizerStats = ko.observable();
self.optimizerDetails = ko.observable();
self.navigatorStats = ko.observable();
self.relationshipsDetails = ko.observable();
self.loaded = ko.observable(false);
self.loading = ko.observable(false);
self.loadingDetails = ko.observable(false);
self.loadingColumns = ko.observable(false);
self.columnQuery = ko.observable('').extend({rateLimit: 150});
self.columns = ko.observableArray();
self.filteredColumns = ko.computed(function () {
var returned = self.columns();
if (self.columnQuery() !== '') {
returned = $.grep(self.columns(), function (column) {
return column.name().toLowerCase().indexOf(self.columnQuery()) > -1
|| (column.type() && column.type().toLowerCase().indexOf(self.columnQuery()) > -1)
|| (column.comment() && column.comment().toLowerCase().indexOf(self.columnQuery()) > -1);
});
}
return returned;
});
self.favouriteColumns = ko.observableArray();
self.samples = new MetastoreTableSamples({
metastoreTable: self
});
self.partitions = new MetastoreTablePartitions({
metastoreTable: self
});
self.partitionsCountLabel = ko.pureComputed(function () {
if (self.partitions.values().length === MetastoreGlobals.partitionsLimit) {
return self.partitions.values().length + '+'
}
return self.partitions.values().length;
});
self.tableDetails = ko.observable();
self.tableStats = ko.observable();
self.refreshingTableStats = ko.observable(false);
self.showAddTagName = ko.observable(false);
self.addTagName = ko.observable('');
self.loadingQueries = ko.observable(true);
//TODO: Fetch table comment async and don't set it from python
self.comment = ko.observable(hueUtils.deXSS(options.comment));
self.commentWithoutNewLines = ko.pureComputed(function(){
return self.comment() ? hueUtils.deXSS(self.comment().replace(/<br\s*[\/]?>/gi, ' ')) : '';
});
self.comment.subscribe(function (newValue) {
$.post('/metastore/table/' + self.database.name + '/' + self.name + '/alter', {
comment: newValue ? newValue : ""
}, function () {
huePubSub.publish('assist.clear.db.cache', {
sourceType: self.sourceType,
databaseName: self.database.name
})
});
});
self.refreshTableStats = function () {
if (self.refreshingTableStats()) {
return;
}
self.refreshingTableStats(true);
self.apiHelper.refreshTableStats({
tableName: self.name,
databaseName: self.database.name,
sourceType: self.sourceType,
successCallback: function (data) {
self.fetchDetails();
},
errorCallback: function (data) {
self.refreshingTableStats(false);
$.jHueNotify.error(MetastoreGlobals.i18n.errorRefreshingTableStats);
console.error('apiHelper.refreshTableStats error');
console.error(data);
}
})
};
self.fetchFields = function () {
var self = this;
self.loadingColumns(true);
self.apiHelper.fetchFields({
sourceType: self.sourceType,
databaseName: self.database.name,
tableName: self.name,
fields: [],
successCallback: function (data) {
self.loadingColumns(false);
self.isView(data.is_view);
self.columns($.map(data.extended_columns, function (column) {
return new MetastoreColumn({
extendedColumn: column,
table: self
})
}));
self.favouriteColumns(self.columns().slice(0, 5));
},
errorCallback: function () {
self.loadingColumns(false);
}
})
};
self.fetchDetails = function () {
var self = this;
self.loadingDetails(true);
self.apiHelper.fetchTableDetails({
sourceType: self.sourceType,
databaseName: self.database.name,
tableName: self.name,
successCallback: function (data) {
self.loadingDetails(false);
if ((typeof data === 'object') && (data !== null)) {
self.tableDetails(data);
self.tableStats(data.details.stats);
self.refreshingTableStats(false);
self.samples.load();
self.loaded(true);
self.loading(false);
if (data.partition_keys.length) {
self.partitions.detailedKeys(data.partition_keys);
self.partitions.load();
} else {
self.partitions.loading(false);
self.partitions.loaded(true);
}
if (self.navigatorEnabled) {
$.get('/metadata/api/navigator/find_entity', {
type: 'table',
database: self.database.name,
name: self.name
}, function(data) {
if (data && data.status == 0) {
self.navigatorStats(ko.mapping.fromJS(data.entity));
self.getRelationships();
} else {
//$(document).trigger("info", data.message);
}
}).fail(function (xhr, textStatus, errorThrown) {
$(document).trigger("error", xhr.responseText);
});
}
if (self.optimizerEnabled) {
$.post('/metadata/api/optimizer/table_details', {
databaseName: self.database.name,
tableName: self.name
}, function(data){
self.loadingQueries(false);
if (data && data.status == 0) {
self.optimizerDetails(ko.mapping.fromJS(data.details));
// Bump the most important columns first
var topCols = $.map(self.optimizerDetails().topCols().slice(0, 5), function(item) { return item.name(); });
if (topCols.length >= 3 && self.favouriteColumns().length > 0) {
self.favouriteColumns($.grep(self.columns(), function(col) {
return topCols.indexOf(col.name()) != -1;
})
);
}
// Column popularity, stats
$.each(self.optimizerDetails().topCols(), function(index, optimizerCol) {
var metastoreCol = $.grep(self.columns(), function(col) {
return col.name() == optimizerCol.name();
});
if (metastoreCol.length > 0) {
metastoreCol[0].popularity(optimizerCol.score())
}
});
} else {
$(document).trigger("info", data.message);
}
});
}
}
else {
self.refreshingTableStats(false);
self.loading(false);
}
},
errorCallback: function (data) {
self.refreshingTableStats(false);
self.loadingDetails(false);
self.loading(false);
}
})
};
self.drop = function () {
$.post('/tables/drop/' + self.database.name, {
table_selection: ko.mapping.toJSON([self.name]),
skip_trash: 'off',
is_embeddable: true
}, function(resp) {
if (resp.history_uuid) {
huePubSub.publish('notebook.task.submitted', resp.history_uuid);
} else {
$(document).trigger("error", data.message);
}
});
};
self.addTags = function () {
$.post('/metadata/api/navigator/add_tags', {
id: ko.mapping.toJSON(self.navigatorStats().identity),
tags: ko.mapping.toJSON([self.addTagName()])
}, function(data) {
if (data && data.status == 0) {
self.navigatorStats().tags.push(self.addTagName());
self.addTagName('');
self.showAddTagName(false);
} else {
$(document).trigger("error", data.message);
}
});
};
self.deleteTags = function (tag) {
$.post('/metadata/api/navigator/delete_tags', {
id: ko.mapping.toJSON(self.navigatorStats().identity),
tags: ko.mapping.toJSON([tag])
}, function(data) {
if (data && data.status == 0) {
self.navigatorStats().tags.remove(tag);
} else {
$(document).trigger("error", data.message);
}
});
};
self.getRelationships = function () {
$.post('/metadata/api/navigator/lineage', {
id: self.navigatorStats().identity
}, function(data) {
if (data && data.status == 0) {
self.relationshipsDetails(ko.mapping.fromJS(data));
} else {
$(document).trigger("error", data.message);
}
}).fail(function (xhr, textStatus, errorThrown) {
$(document).trigger("info", xhr.responseText);
});
};
}
MetastoreTable.prototype.showImportData = function () {
var self = this;
$("#import-data-modal").empty().html('<div class="modal-header"><button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span></button><h2 class="modal-title"></h2></div><div class="modal-body"><i class="fa fa-spinner fa-spin fa-2x muted"></i></div>').modal("show");
$.get('/metastore/table/' + self.database.name + '/' + self.name + '/load', function (data) {
$("#import-data-modal").html(data['data']);
}).fail(function (xhr, textStatus, errorThrown) {
$(document).trigger("error", xhr.responseText);
});
};
MetastoreTable.prototype.load = function () {
var self = this;
if (self.loading()) {
return;
}
self.loading(true);
self.fetchFields();
self.fetchDetails();
huePubSub.publish('metastore.loaded.table');
};
var contextPopoverTimeout = -1;
MetastoreTable.prototype.showContextPopover = function (entry, event, orientation) {
window.clearTimeout(contextPopoverTimeout);
var $source = $(event.currentTarget || event.target);
var offset = $source.offset();
huePubSub.publish('context.popover.show', {
data: {
type: 'table',
identifierChain: [{ name: entry.name }]
},
orientation: orientation || 'right',
sourceType: entry.sourceType,
defaultDatabase: entry.database.name,
source: {
element: event.target,
left: offset.left,
top: offset.top - 2,
right: offset.left + (orientation === 'left' ? 0 : $source.width() + 1),
bottom: offset.top + $source.height() - 2
}
});
};
MetastoreTable.prototype.showContextPopoverDelayed = function (entry, event, orientation) {
var self = this;
window.clearTimeout(contextPopoverTimeout);
contextPopoverTimeout = window.setTimeout(function () {
self.showContextPopover(entry, event, orientation);
}, 500);
};
MetastoreTable.prototype.clearContextPopoverDelay = function () {
window.clearInterval(contextPopoverTimeout);
};
return MetastoreTable;
})();
var MetastoreColumn = (function () {
/**
* @param {Object} options
* @param {MetastoreTable} options.table
* @param {object} options.extendedColumn
* @constructor
*/
function MetastoreColumn(options) {
var self = this;
self.table = options.table;
if (options.extendedColumn && options.extendedColumn.comment) {
options.extendedColumn.comment = hueUtils.deXSS(options.extendedColumn.comment);
}
ko.mapping.fromJS(options.extendedColumn, {}, self);
self.favourite = ko.observable(false);
self.popularity = ko.observable();
self.comment.subscribe(function (newValue) {
$.post('/metastore/table/' + self.table.database.name + '/' + self.table.name + '/alter_column', {
column: self.name(),
comment: newValue
}, function (data) {
if (data.status == 0) {
huePubSub.publish('assist.clear.db.cache', {
sourceType: self.sourceType,
databaseName: self.table.database.name,
tableName: self.table.name
});
} else {
$(document).trigger("error", data.message);
}
}).fail(function (xhr, textStatus, errorThrown) {
$(document).trigger("error", xhr.responseText);
});
})
}
MetastoreColumn.prototype.showContextPopover = function (entry, event) {
var $source = $(event.target);
var offset = $source.offset();
huePubSub.publish('context.popover.show', {
data: {
type: 'column',
identifierChain: [{ name: entry.table.name }, { name: entry.name() }]
},
orientation: 'right',
sourceType: self.sourceType,
defaultDatabase: entry.table.database.name,
source: {
element: event.target,
left: offset.left,
top: offset.top - 2,
right: offset.left + $source.width() + 1,
bottom: offset.top + $source.height() - 2
}
});
};
return MetastoreColumn;
})();
| 32.96875 | 304 | 0.583215 |
1e2d6c84e96a9fcc0ae9a576f5dd7274d280877e | 1,568 | js | JavaScript | examples/mllib/word2vec.js | EclairJS/eclairjs-node | c143ab67af80b67850279ca083c2f40d1b0387f3 | [
"Apache-2.0"
] | 395 | 2015-12-08T23:26:21.000Z | 2021-09-18T19:25:43.000Z | examples/mllib/word2vec.js | RuslanMaznytsia/eclairjs-node | c143ab67af80b67850279ca083c2f40d1b0387f3 | [
"Apache-2.0"
] | 117 | 2015-11-17T16:46:48.000Z | 2021-03-02T12:46:53.000Z | examples/mllib/word2vec.js | RuslanMaznytsia/eclairjs-node | c143ab67af80b67850279ca083c2f40d1b0387f3 | [
"Apache-2.0"
] | 60 | 2016-01-29T23:27:41.000Z | 2021-06-01T03:08:16.000Z | /*
* Copyright 2016 IBM Corp.
*
* 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.
*/
/*
This example uses text8 file from http://mattmahoney.net/dc/text8.zip
The file was downloadded, unziped and split into multiple lines using
wget http://mattmahoney.net/dc/text8.zip
unzip text8.zip
grep -o -E '\w+(\W+\w+){0,15}' text8 > text8_lines
This was done so that the example can be run in local mode
NOTE: this example can take 5-10 minutes to run
*/
function exit() {
process.exit();
}
function stop(e) {
if (e) {
console.log(e);
}
sc.stop().then(exit).catch(exit);
}
var eclairjs = require('../../lib/index.js');
var spark = new eclairjs();
var sc = new spark.SparkContext("local[*]", "Word2Vec");
var rdd = sc.textFile(__dirname + '/text8_lines').map(function(s, List) {
return new List(s.split(" "));
}, [spark.List]);
var word2vec = new spark.mllib.feature.Word2Vec();
var model = word2vec.fit(rdd);
var synonyms = model.findSynonyms('china', 40).then(function(result) {
console.log(result);
stop();
}).catch(stop);
| 27.034483 | 75 | 0.69324 |
1e2da0afb6e77df6a674c689b79337e8ccb32cc7 | 10,072 | js | JavaScript | packages/react-relay/relay-hooks/useQueryLoader.js | bonafideyan/relay | 64bb633a57fa1560405463adc932d571d162cb67 | [
"MIT"
] | 18,545 | 2015-08-11T19:32:49.000Z | 2022-03-31T10:17:36.000Z | packages/react-relay/relay-hooks/useQueryLoader.js | bonafideyan/relay | 64bb633a57fa1560405463adc932d571d162cb67 | [
"MIT"
] | 3,562 | 2015-08-11T20:02:55.000Z | 2022-03-30T23:08:05.000Z | packages/react-relay/relay-hooks/useQueryLoader.js | bonafideyan/relay | 64bb633a57fa1560405463adc932d571d162cb67 | [
"MIT"
] | 2,165 | 2015-08-11T19:32:04.000Z | 2022-03-15T19:18:50.000Z | /**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @emails oncall+relay
* @flow strict-local
* @format
*/
// flowlint ambiguous-object-type:error
'use strict';
import type {
LoadQueryOptions,
PreloadableConcreteRequest,
PreloadedQuery,
} from './EntryPointTypes.flow';
import type {
GraphQLTaggedNode,
IEnvironment,
OperationType,
} from 'relay-runtime';
const {loadQuery, useTrackLoadQueryInRender} = require('./loadQuery');
const useIsMountedRef = require('./useIsMountedRef');
const useRelayEnvironment = require('./useRelayEnvironment');
const {useCallback, useEffect, useRef, useState} = require('react');
const {getRequest} = require('relay-runtime');
export type LoaderFn<TQuery: OperationType> = (
variables: $ElementType<TQuery, 'variables'>,
options?: UseQueryLoaderLoadQueryOptions,
) => void;
export type UseQueryLoaderLoadQueryOptions = $ReadOnly<{|
...LoadQueryOptions,
+__environment?: ?IEnvironment,
|}>;
type UseQueryLoaderHookReturnType<TQuery: OperationType> = [
?PreloadedQuery<TQuery>,
LoaderFn<TQuery>,
() => void,
];
// NullQueryReference needs to implement referential equality,
// so that multiple NullQueryReferences can be in the same set
// (corresponding to multiple calls to disposeQuery).
type NullQueryReference = {|
kind: 'NullQueryReference',
|};
const initialNullQueryReferenceState = {kind: 'NullQueryReference'};
function requestIsLiveQuery<TQuery: OperationType>(
preloadableRequest: GraphQLTaggedNode | PreloadableConcreteRequest<TQuery>,
): boolean {
if (preloadableRequest.kind === 'PreloadableConcreteRequest') {
return (preloadableRequest: $FlowFixMe).params.metadata.live !== undefined;
}
const request = getRequest(preloadableRequest);
return request.params.metadata.live !== undefined;
}
function useQueryLoader<TQuery: OperationType>(
preloadableRequest: GraphQLTaggedNode | PreloadableConcreteRequest<TQuery>,
initialQueryReference?: ?PreloadedQuery<TQuery>,
): UseQueryLoaderHookReturnType<TQuery> {
/**
* We want to always call `queryReference.dispose()` for every call to
* `setQueryReference(loadQuery(...))` so that no leaks of data in Relay stores
* will occur.
*
* However, a call to `setState(newState)` is not always followed by a commit where
* this value is reflected in the state. Thus, we cannot reliably clean up each
* ref with `useEffect(() => () => queryReference.dispose(), [queryReference])`.
*
* Instead, we keep track of each call to `loadQuery` in a ref.
* Relying on the fact that if a state change commits, no state changes that were
* initiated prior to the currently committing state change will ever subsequently
* commit, we can safely dispose of all preloaded query references
* associated with state changes initiated prior to the currently committing state
* change.
*
* Finally, when the hook unmounts, we also dispose of all remaining uncommitted
* query references.
*/
const initialQueryReferenceInternal =
initialQueryReference ?? initialNullQueryReferenceState;
const environment = useRelayEnvironment();
useTrackLoadQueryInRender();
const isMountedRef = useIsMountedRef();
const undisposedQueryReferencesRef = useRef<
Set<PreloadedQuery<TQuery> | NullQueryReference>,
>(new Set([initialQueryReferenceInternal]));
const [queryReference, setQueryReference] = useState<
PreloadedQuery<TQuery> | NullQueryReference,
>(() => initialQueryReferenceInternal);
const [
previousInitialQueryReference,
setPreviousInitialQueryReference,
] = useState<PreloadedQuery<TQuery> | NullQueryReference>(
() => initialQueryReferenceInternal,
);
if (initialQueryReferenceInternal !== previousInitialQueryReference) {
// Rendering the query reference makes it "managed" by this hook, so
// we start keeping track of it so we can dispose it when it is no longer
// necessary here
// TODO(T78446637): Handle disposal of managed query references in
// components that were never mounted after rendering
undisposedQueryReferencesRef.current.add(initialQueryReferenceInternal);
setPreviousInitialQueryReference(initialQueryReferenceInternal);
setQueryReference(initialQueryReferenceInternal);
}
const disposeQuery = useCallback(() => {
if (isMountedRef.current) {
undisposedQueryReferencesRef.current.add(initialNullQueryReferenceState);
setQueryReference(initialNullQueryReferenceState);
}
}, [isMountedRef]);
const queryLoaderCallback = useCallback(
(
variables: $ElementType<TQuery, 'variables'>,
options?: ?UseQueryLoaderLoadQueryOptions,
) => {
const mergedOptions: ?UseQueryLoaderLoadQueryOptions =
options != null && options.hasOwnProperty('__environment')
? {
fetchPolicy: options.fetchPolicy,
networkCacheConfig: options.networkCacheConfig,
__nameForWarning: options.__nameForWarning,
}
: options;
if (isMountedRef.current) {
const updatedQueryReference = loadQuery(
options?.__environment ?? environment,
preloadableRequest,
variables,
(mergedOptions: $FlowFixMe),
);
undisposedQueryReferencesRef.current.add(updatedQueryReference);
setQueryReference(updatedQueryReference);
}
},
[environment, preloadableRequest, setQueryReference, isMountedRef],
);
const maybeHiddenOrFastRefresh = useRef(false);
useEffect(() => {
return () => {
// Attempt to detect if the component was
// hidden (by Offscreen API), or fast refresh occured;
// Only in these situations would the effect cleanup
// for "unmounting" run multiple times, so if
// we are ever able to read this ref with a value
// of true, it means that one of these cases
// has happened.
maybeHiddenOrFastRefresh.current = true;
};
}, []);
useEffect(() => {
if (maybeHiddenOrFastRefresh.current === true) {
// This block only runs if the component has previously "unmounted"
// due to it being hidden by the Offscreen API, or during fast refresh.
// At this point, the current queryReference will have been disposed
// by the previous cleanup, so instead of attempting to
// do our regular commit setup, which would incorrectly leave our
// current queryReference disposed, we need to load the query again
// and force a re-render by calling queryLoaderCallback again,
// so that the queryReference is correctly re-retained, and
// potentially refetched if necessary.
maybeHiddenOrFastRefresh.current = false;
if (queryReference.kind !== 'NullQueryReference') {
queryLoaderCallback(queryReference.variables, {
fetchPolicy: queryReference.fetchPolicy,
networkCacheConfig: queryReference.networkCacheConfig,
});
}
return;
}
// When a new queryReference is committed, we iterate over all
// query references in undisposedQueryReferences and dispose all of
// the refs that aren't the currently committed one. This ensures
// that we don't leave any dangling query references for the
// case that loadQuery is called multiple times before commit; when
// this happens, multiple state updates will be scheduled, but only one
// will commit, meaning that we need to keep track of and dispose any
// query references that don't end up committing.
// - We are relying on the fact that sets iterate in insertion order, and we
// can remove items from a set as we iterate over it (i.e. no iterator
// invalidation issues.) Thus, it is safe to loop through
// undisposedQueryReferences until we find queryReference, and
// remove and dispose all previous references.
// - We are guaranteed to find queryReference in the set, because if a
// state update results in a commit, no state updates initiated prior to that
// one will be committed, and we are disposing and removing references
// associated with updates that were scheduled prior to the currently
// committing state change. (A useEffect callback is called during the commit
// phase.)
const undisposedQueryReferences = undisposedQueryReferencesRef.current;
if (isMountedRef.current) {
for (const undisposedQueryReference of undisposedQueryReferences) {
if (undisposedQueryReference === queryReference) {
break;
}
undisposedQueryReferences.delete(undisposedQueryReference);
if (undisposedQueryReference.kind !== 'NullQueryReference') {
if (requestIsLiveQuery(preloadableRequest)) {
undisposedQueryReference.dispose &&
undisposedQueryReference.dispose();
} else {
undisposedQueryReference.releaseQuery &&
undisposedQueryReference.releaseQuery();
}
}
}
}
}, [queryReference, isMountedRef, queryLoaderCallback, preloadableRequest]);
useEffect(() => {
return function disposeAllRemainingQueryReferences() {
// undisposedQueryReferences.current is never reassigned
// eslint-disable-next-line react-hooks/exhaustive-deps
for (const undisposedQueryReference of undisposedQueryReferencesRef.current) {
if (undisposedQueryReference.kind !== 'NullQueryReference') {
if (requestIsLiveQuery(preloadableRequest)) {
undisposedQueryReference.dispose &&
undisposedQueryReference.dispose();
} else {
undisposedQueryReference.releaseQuery &&
undisposedQueryReference.releaseQuery();
}
}
}
};
}, [preloadableRequest]);
return [
queryReference.kind === 'NullQueryReference' ? null : queryReference,
queryLoaderCallback,
disposeQuery,
];
}
module.exports = useQueryLoader;
| 38.738462 | 85 | 0.709988 |
1e2dc02c64b38a39fa8482ecbd5dde75aeecec80 | 324 | js | JavaScript | imports/ui/components/buttons/twitComposer.js | JeroenBe/Tweeter | b8084aec906714fb832ed667f6dc8ed5d6ac4766 | [
"MIT"
] | 2 | 2016-06-08T14:03:15.000Z | 2016-06-08T14:03:16.000Z | imports/ui/components/buttons/twitComposer.js | JeroenBe/SnapTwit | b8084aec906714fb832ed667f6dc8ed5d6ac4766 | [
"MIT"
] | 2 | 2016-05-09T10:22:31.000Z | 2016-05-15T17:43:28.000Z | imports/ui/components/buttons/twitComposer.js | JeroenBe/SnapTwit | b8084aec906714fb832ed667f6dc8ed5d6ac4766 | [
"MIT"
] | null | null | null | /**
* Created by Jeroen on 17/08/16.
*/
import {Meteor} from 'meteor/meteor'
import {Twits} from '/imports/api/twits/collection'
export const twitComposer = (props, onData) => {
if (Meteor.subscribe('twit', props.twitId).ready()){
const twit = Twits.findOne(props.twitId)
onData(null, {twit})
}
} | 24.923077 | 56 | 0.641975 |
1e2e144f1b105ae24f6b25a78730c9af7e39c4bc | 1,576 | js | JavaScript | examples/ui-fontsize-expand-text/fontsize.js | realkotob/phaser3-rex-notes | ddf209d5630f345e1e84b039324d132a8bf8aca8 | [
"MIT"
] | null | null | null | examples/ui-fontsize-expand-text/fontsize.js | realkotob/phaser3-rex-notes | ddf209d5630f345e1e84b039324d132a8bf8aca8 | [
"MIT"
] | null | null | null | examples/ui-fontsize-expand-text/fontsize.js | realkotob/phaser3-rex-notes | ddf209d5630f345e1e84b039324d132a8bf8aca8 | [
"MIT"
] | null | null | null | import phaser from 'phaser/src/phaser.js';
import UIPlugin from '../../templates/ui/ui-plugin.js';
class Demo extends Phaser.Scene {
constructor() {
super({
key: 'examples'
})
}
preload() { }
create() {
var sizer = this.rexUI.add.sizer({
x: 400, y: 300,
width: 600,
orientation: 'x',
space: { left: 10, right: 10, top: 10, bottom: 10 }
})
.addBackground(
this.rexUI.add.roundRectangle({ strokeColor: 0xffffff })
)
.add(
this.rexUI.fontSizeExpandText(this.add.text(0, 0, 'A', { backgroundColor: '#7b5e57' })),
{ proportion: 1 }
)
.add(
this.rexUI.fontSizeExpandText(this.add.text(0, 0, 'BBBB', { backgroundColor: '#4e342e' })),
{ proportion: 1 }
)
.add(
this.rexUI.fontSizeExpandText(this.add.text(0, 0, 'CCCCCCCC', { backgroundColor: '#260e04' })),
{ proportion: 1 }
)
.layout()
}
update() { }
}
var config = {
type: Phaser.AUTO,
parent: 'phaser-example',
width: 800,
height: 600,
scale: {
mode: Phaser.Scale.FIT,
autoCenter: Phaser.Scale.CENTER_BOTH,
},
dom: {
createContainer: true
},
scene: Demo,
plugins: {
scene: [{
key: 'rexUI',
plugin: UIPlugin,
mapping: 'rexUI'
}]
}
};
var game = new Phaser.Game(config); | 24.625 | 111 | 0.474619 |
1e2f0e41a2fdead6dc0803f6dfb906c3f9b39e6f | 8,543 | js | JavaScript | src/main/resources/static/js/transaction-and-invoice.js | surajcm/Poseidon | f414f8a91b9be74f09df1c7d7e31672a0250adac | [
"MIT"
] | 6 | 2016-01-29T09:58:59.000Z | 2021-06-23T11:40:05.000Z | src/main/resources/static/js/transaction-and-invoice.js | surajcm/Poseidon | f414f8a91b9be74f09df1c7d7e31672a0250adac | [
"MIT"
] | 14 | 2015-11-22T03:07:54.000Z | 2022-01-26T05:56:45.000Z | src/main/resources/static/js/transaction-and-invoice.js | surajcm/Poseidon | f414f8a91b9be74f09df1c7d7e31672a0250adac | [
"MIT"
] | 6 | 2019-06-15T00:42:20.000Z | 2021-06-16T16:13:42.000Z | function addSmartInvoiceOnTransaction() {
let rowCheck = validateEditModalSelection('invoiceModalBody');
if (rowCheck) {
addSmartInvoice(true);
}
}
function addSmartInvoiceOnInvoicePage() {
addSmartInvoice(false);
}
function addSmartInvoice(fromInvoice) {
let saveModal = document.getElementById("saveModal");
saveModal.style.display = "block";
let detail = document.getElementById("invoiceModalBody");
detail.innerHTML = "";
detail.appendChild(invoiceOnModal(fromInvoice));
let txtQuantity = document.getElementById('addQuantity');
txtQuantity.onkeyup = function () {
multiplyFromQty()
};
let txtRate = document.getElementById('addRate');
txtRate.onkeyup = function () {
multiplyFromRate()
};
}
function invoiceOnModal(fromInvoice) {
let formValidInvoice = document.createElement("form");
formValidInvoice.setAttribute("class", "row g-3 needs-validation");
formValidInvoice.novalidate = true;
let divTag = document.createElement("div");
divTag.setAttribute("class", "col-md-6");
divTag.appendChild(tagNumbers(fromInvoice));
let divDescription = document.createElement("div");
divDescription.setAttribute("class", "col-md-6");
let txtDescription = aTextArea("addDescription", "Description", true);
divDescription.appendChild(txtDescription);
let tt2 = document.createElement("div");
tt2.setAttribute("class", "invalid-tooltip");
tt2.innerHTML = "Please provide a valid description.";
divDescription.appendChild(tt2);
let divQuantity = document.createElement("div");
divQuantity.setAttribute("class", "col-md-4");
let txtQuantity = aTextBox("addQuantity", "Quantity", true);
divQuantity.appendChild(txtQuantity);
let tt3 = document.createElement("div");
tt3.setAttribute("class", "invalid-tooltip");
tt3.innerHTML = "Please provide a valid Quantity";
divQuantity.appendChild(tt3);
let divRate = document.createElement("div");
divRate.setAttribute("class", "col-md-4");
let txtRate = aTextBox("addRate", "Rate", true);
divRate.appendChild(txtRate);
let tt4 = document.createElement("div");
tt4.setAttribute("class", "invalid-tooltip");
tt4.innerHTML = "Please provide a valid Rate";
divRate.appendChild(tt4);
let divAmount = document.createElement("div");
divAmount.setAttribute("class", "col-md-4");
let txtAmount = aTextBox("addAmount", "Amount", false);
divAmount.appendChild(txtAmount);
formValidInvoice.appendChild(divTag);
formValidInvoice.appendChild(divDescription);
formValidInvoice.appendChild(divQuantity);
formValidInvoice.appendChild(divRate);
formValidInvoice.appendChild(divAmount);
return formValidInvoice;
}
function tagNumbers(fromInvoice) {
let invoiceElem;
if (fromInvoice) {
const id = document.getElementById("id").value;
invoiceElem = aTextBox("addTagNumber", "TagNumber", true);
invoiceElem.disabled = true;
getInvoiceIdAndDescription(id);
} else {
invoiceElem = document.createElement("select");
invoiceElem.setAttribute("class", "form-select");
invoiceElem.setAttribute("id", "addTagNumber");
ajaxAllTagNumbers();
}
return invoiceElem;
}
function getInvoiceIdAndDescription(id) {
let xhr = new XMLHttpRequest();
xhr.open('GET', "/invoice/addInvoiceOnAjax.htm" + "?id=" + id, true);
let token = document.querySelector("meta[name='_csrf']").content;
let header = document.querySelector("meta[name='_csrf_header']").content;
xhr.setRequestHeader(header, token);
xhr.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
xhr.onload = function () {
if (xhr.status === 200) {
if (xhr.responseText != null) {
console.log(xhr.responseText);
setTagNumberAndDescription(xhr.responseText);
}
} else if (xhr.status !== 200) {
console.log('Request failed. Returned status of ' + xhr.status);
}
};
xhr.send();
}
function setTagNumberAndDescription(textReturned) {
const element = JSON.parse(textReturned);
let addTagNumber = document.getElementById("addTagNumber");
let addDescription = document.getElementById("addDescription");
addTagNumber.value = element.tagNo;
addDescription.value = element.description;
}
function ajaxAllTagNumbers() {
let xhr = new XMLHttpRequest();
xhr.open('GET', "/invoice/tagNumbers.htm", true);
let token = document.querySelector("meta[name='_csrf']").content;
let header = document.querySelector("meta[name='_csrf_header']").content;
xhr.setRequestHeader(header, token);
xhr.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
xhr.onload = function () {
if (xhr.status === 200) {
if (xhr.responseText != null) {
console.log(xhr.responseText);
setTagNumberAsOption(xhr.responseText);
}
} else if (xhr.status !== 200) {
console.log('Request failed. Returned status of ' + xhr.status);
}
};
xhr.send();
}
function multiplyFromRate() {
console.log('inside multiplyFromRate')
let quantity = document.getElementById('addQuantity').value;
let rate = document.getElementById('addRate').value;
if (quantity.length > 0) {
let amount = quantity * rate;
document.getElementById('addAmount').value = amount;
console.log('amount = ' + amount)
}
}
function multiplyFromQty() {
console.log('inside multiplyFromQty')
let quantity = document.getElementById('addQuantity').value;
let rate = document.getElementById('addRate').value;
if (quantity.length > 0 && rate > 0) {
let amount = quantity * rate;
document.getElementById('addAmount').value = amount;
console.log('amount = ' + amount)
}
}
function setTagNumberAsOption(textReturned) {
const elementList = JSON.parse(textReturned);
let addTagNumber = document.getElementById("addTagNumber");
for (let i = 0; i < elementList.length; i++) {
let singleOption = document.createElement("option");
singleOption.text = elementList[i];
singleOption.value = elementList[i];
addTagNumber.appendChild(singleOption);
}
}
function addValidation(addTagNumber, addDescription, addQuantity, addRate) {
if (addTagNumber.length === 0) {
document.getElementById("addTagNumber").setAttribute("class", "form-control is-invalid");
} else {
document.getElementById("addTagNumber").setAttribute("class", "form-control was-validated");
}
if (addDescription.length === 0) {
document.getElementById("addDescription").setAttribute("class", "form-control is-invalid");
} else {
document.getElementById("addDescription").setAttribute("class", "form-control was-validated");
}
if (addQuantity.length === 0) {
document.getElementById("addQuantity").setAttribute("class", "form-control is-invalid");
} else {
document.getElementById("addQuantity").setAttribute("class", "form-control was-validated");
}
if (addRate.length === 0) {
document.getElementById("addRate").setAttribute("class", "form-control is-invalid");
} else {
document.getElementById("addRate").setAttribute("class", "form-control was-validated");
}
}
function saveFromModal() {
let addTagNumber = document.getElementById("addTagNumber").value;
let addDescription = document.getElementById("addDescription").value;
let addQuantity = document.getElementById("addQuantity").value;
let addRate = document.getElementById("addRate").value;
let addAmount = document.getElementById("addAmount").value;
let forms = document.getElementsByClassName('needs-validation');
let allFieldsAreValid = true;
if (forms[0].checkValidity() === false) {
allFieldsAreValid = false;
addValidation(addTagNumber, addDescription, addQuantity, addRate);
}
if (allFieldsAreValid) {
console.log('all fields are valid');
callAjaxForAddingInvoice(addTagNumber, addDescription, addQuantity, addRate, addAmount);
}
}
function showStatus(status) {
let detail = document.getElementById("invoiceModalBody");
detail.innerHTML = "";
let saveModal = document.getElementById("saveModal");
saveModal.style.display = "none";
detail.appendChild(statusAsDiv(status));
}
| 37.469298 | 102 | 0.678684 |
1e2f1ca6ae9b4d8a0a588a5f918c43d17f259781 | 1,414 | js | JavaScript | dist/helpers/descriptors/cloneDescriptorDetail.js | jheagle/functional-helpers | 266f4b00fef24d9236c2c6709bc8b4e98e75800b | [
"MIT"
] | null | null | null | dist/helpers/descriptors/cloneDescriptorDetail.js | jheagle/functional-helpers | 266f4b00fef24d9236c2c6709bc8b4e98e75800b | [
"MIT"
] | null | null | null | dist/helpers/descriptors/cloneDescriptorDetail.js | jheagle/functional-helpers | 266f4b00fef24d9236c2c6709bc8b4e98e75800b | [
"MIT"
] | null | null | null | 'use strict'
Object.defineProperty(exports, '__esModule', {
value: true
})
exports.default = void 0
require('core-js/modules/es.object.to-string.js')
require('core-js/modules/esnext.async-iterator.for-each.js')
require('core-js/modules/esnext.iterator.constructor.js')
require('core-js/modules/esnext.iterator.for-each.js')
require('core-js/modules/web.dom-collections.for-each.js')
require('core-js/modules/es.array.map.js')
require('core-js/modules/esnext.async-iterator.map.js')
require('core-js/modules/esnext.iterator.map.js')
require('core-js/stable')
const _objectKeys = _interopRequireDefault(require('../objects/objectKeys'))
function _interopRequireDefault (obj) { return obj && obj.__esModule ? obj : { default: obj } }
/**
* Get a new copy of an existing Descriptor Detail
* @function
* @memberOf module:objectDescriptors
* @param {module:objectDescriptors~descriptorDetail} originalDetail
* @returns {module:objectDescriptors~descriptorDetail}
*/
const cloneDescriptorDetail = function cloneDescriptorDetail (originalDetail) {
const copyDetail = {};
(0, _objectKeys.default)(originalDetail).forEach(function (key) {
copyDetail[key] = Array.isArray(originalDetail[key])
? originalDetail[key].map(function (value) {
return value
})
: originalDetail[key]
})
return copyDetail
}
const _default = cloneDescriptorDetail
exports.default = _default
| 27.72549 | 95 | 0.743989 |
1e2f20b0405a3cb64e9a6bfa514386d501d34b11 | 230 | js | JavaScript | client/createRouter.js | Val-istar-Guo/assist | f11d2e1f175f6623528bdaf6974fd0580fdb3640 | [
"MIT"
] | null | null | null | client/createRouter.js | Val-istar-Guo/assist | f11d2e1f175f6623528bdaf6974fd0580fdb3640 | [
"MIT"
] | null | null | null | client/createRouter.js | Val-istar-Guo/assist | f11d2e1f175f6623528bdaf6974fd0580fdb3640 | [
"MIT"
] | null | null | null | import Vue from 'vue'
import VueRouter from 'vue-router'
import routes from './routes'
Vue.use(VueRouter)
export default function () {
return new VueRouter({
mode: 'history',
linkActiveClass: 'active',
routes,
})
}
| 14.375 | 34 | 0.686957 |
1e303b1cc927eeeeb7725f91d81b56eb3746b71f | 374 | js | JavaScript | src/routes/permissions.js | kemijibola/untappedapi | 737bec4277441566947675dffee90b23cc081864 | [
"MIT"
] | null | null | null | src/routes/permissions.js | kemijibola/untappedapi | 737bec4277441566947675dffee90b23cc081864 | [
"MIT"
] | null | null | null | src/routes/permissions.js | kemijibola/untappedapi | 737bec4277441566947675dffee90b23cc081864 | [
"MIT"
] | null | null | null | const { Permissions } = require('../controllers');
const { requireLogin } = require('../middlewares/auth');
module.exports = (lib, app) => {
app.get('/permissions', async (req, res, next) =>{
new Permissions(lib).index(req, res, next)
});
app.post('/permissions', async (req, res, next) => {
new Permissions(lib).create(req, res, next)
})
} | 31.166667 | 56 | 0.593583 |
1e30fd23a967fa41e6515bf1d77e4b43f51206e5 | 99 | js | JavaScript | vsdoc/search--/s_1063.js | asiboro/asiboro.github.io | a2e56607dca65eed437b6a666dcbc3f586492d8c | [
"MIT"
] | null | null | null | vsdoc/search--/s_1063.js | asiboro/asiboro.github.io | a2e56607dca65eed437b6a666dcbc3f586492d8c | [
"MIT"
] | null | null | null | vsdoc/search--/s_1063.js | asiboro/asiboro.github.io | a2e56607dca65eed437b6a666dcbc3f586492d8c | [
"MIT"
] | null | null | null | search_result['1063']=["topic_000000000000026F_events--.html","tlece_ApplicantCvVideos Events",""]; | 99 | 99 | 0.79798 |
1e31594e441d20db6edb2e368862156519ec68a3 | 2,650 | js | JavaScript | src/components/Links/RecordLink.js | 3scava1i3r/ens-app | 35e095dc2fbe763266d71774e9ba9be9b7c40c73 | [
"BSD-2-Clause"
] | null | null | null | src/components/Links/RecordLink.js | 3scava1i3r/ens-app | 35e095dc2fbe763266d71774e9ba9be9b7c40c73 | [
"BSD-2-Clause"
] | null | null | null | src/components/Links/RecordLink.js | 3scava1i3r/ens-app | 35e095dc2fbe763266d71774e9ba9be9b7c40c73 | [
"BSD-2-Clause"
] | null | null | null | import React from 'react'
import styled from '@emotion/styled/macro'
import externalLinkSvg from '../Icons/externalLink.svg'
import CopyToClipboard from '../CopyToClipboard/'
import { isRecordEmpty } from '../../utils/utils'
const LinkContainer = styled('div')`
display: block;
align-items: center;
a {
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
.external-link {
margin-left: 5px;
transition: 0.1s;
opacity: 0;
}
&:hover {
.external-link {
opacity: 1;
}
}
}
`
const UnlinkedValue = styled('div')`
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
`
const NotSet = styled('div')`
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
color: #ccc;
`
const UnlinkedValueContainer = styled('div')`
display: inline-flex;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
`
const AvatarImage = styled('img')`
width: 180px;
margin: 1em 0;
`
const prependUrl = url => {
if (url && !url.match(/http[s]?:\/\//)) {
return 'https://' + url
} else {
return url
}
}
const RecordLink = ({ textKey, value }) => {
let url, avatar
switch (textKey) {
case 'url':
url = `${value}`
break
case 'com.twitter':
url = `twitter.com/${value}`
break
case 'com.github':
url = `github.com/${value}`
break
default:
}
url = prependUrl(url)
if (textKey === 'email') {
url = `mailto:${value}`
}
if (textKey === 'avatar') {
avatar = prependUrl(value)
}
const isEmpty = isRecordEmpty(value)
return url && !isEmpty ? (
<LinkContainer>
<a target="_blank" href={url} rel="noopener noreferrer">
{value}
<img
src={externalLinkSvg}
className="external-link"
alt="external-link-svg"
/>
</a>
<CopyToClipboard value={value} />
</LinkContainer>
) : avatar && !isEmpty ? (
<div>
<LinkContainer>
<a target="_blank" href={value} rel="noopener noreferrer">
{value}
<img
src={externalLinkSvg}
className="external-link"
alt="external-link-svg"
/>
</a>
<CopyToClipboard value={value} />
</LinkContainer>
<AvatarImage src={value} alt="avatar" />
</div>
) : (
<UnlinkedValueContainer>
{isEmpty ? (
<NotSet>Not set</NotSet>
) : (
<>
<UnlinkedValue>{value}</UnlinkedValue>
<CopyToClipboard value={value} />
</>
)}
</UnlinkedValueContainer>
)
}
export default RecordLink
| 20.703125 | 66 | 0.567925 |
1e31b7cfc9a324a4accccb6ebd947b6bd3eb6d7e | 3,030 | js | JavaScript | src/Filters.js | dh-center/Digital-Portraits | 6d9e7ca15d56281c0129803119d75d701ec8fe00 | [
"MIT"
] | 1 | 2021-09-09T12:25:14.000Z | 2021-09-09T12:25:14.000Z | src/Filters.js | dh-center/Digital-Portraits | 6d9e7ca15d56281c0129803119d75d701ec8fe00 | [
"MIT"
] | 11 | 2021-04-20T19:52:51.000Z | 2021-05-06T21:04:51.000Z | src/Filters.js | dh-center/Digital-Portraits | 6d9e7ca15d56281c0129803119d75d701ec8fe00 | [
"MIT"
] | 1 | 2021-06-12T20:18:35.000Z | 2021-06-12T20:18:35.000Z | import React, { useState } from 'react';
import './filters.css';
function Filters(props) {
const romanCentury = { 15: 'XV', 16: 'XVI', 17: 'XVII', 18: 'XVIII', 19: 'XIX', 20: 'XX' }
const century = props.value?.century || 15
let romCentValue
if (props.value?.century) { romCentValue = romanCentury[props.value.century] }
const handleMovementChange = (e) => {
if (e.target.value === "") {
props.onChange(null);
} else {
props.onChange({ movement: e.target.value })
}
}
const handleChange = (e) => {
props.onChange({ century: parseInt(e.target.value) });
};
const handleClick = () => {
props.onChange(null);
}
return (
<div className="filterCont">
<h2>Filter painters:</h2>
<p>Movement
<select value={props.value?.movement || ""} onChange={(e) => handleMovementChange(e)}>
<option value="">All</option>
<option value="Early Renaissance">Early Renaissance</option>
<option value="Northern Renaissance">Northern Renaissance</option>
<option value="High Renaissance">High Renaissance</option>
<option value="Baroque">Baroque</option>
<option value="Rococo">Rococo</option>
<option value="Neoclassicism">Neoclassicism</option>
<option value="Romanticism">Romanticism</option>
<option value="Impressionism">Impressionism</option>
<option value="Realism">Realism</option>
<option value="Post-Impressionism">Post-Impressionism</option>
<option value="Symbolism">Symbolism</option>
<option value="Expressionism">Expressionism</option>
<option value="Abstract Art">Abstract Art</option>
<option value="Analytical Realism">Analytical Realism</option>
<option value="Suprematism">Suprematism</option>
<option value="Primitivism">Primitivism</option>
<option value="Surrealism">Surrealism</option>
<option value="Abstract Expressionism">Abstract Expressionism</option>
<option value="Pop Art">Pop Art</option>
</select>
</p>
<p><span className="century_name">Century</span>
<span className="century_container">
<span className="century_label" style={{ left: 20 * century - 300 + '%', transform: `translateX(-${20 * century - 300}%)` }}>{romCentValue}</span>
<input type="range" min={15} max={20} value={century} step="1"
onChange={(e) => handleChange(e)}
/>
</span>
<button onClick={() => handleClick()} className="reset_filter">Reset</button>
</p>
</div>
);
}
export default Filters
| 43.913043 | 166 | 0.541584 |
1e31da046ea49ad25dfa8a3c396fe9ca4ee4c850 | 1,376 | js | JavaScript | App/Components/AccountInfo/DisplayName/index.js | okmttdhr/Miss-YT | 1b76187d81e6b6a5272a9100122072d766d76a7b | [
"MIT"
] | 4 | 2017-02-20T17:51:34.000Z | 2017-12-26T06:27:51.000Z | App/Components/AccountInfo/DisplayName/index.js | okmttdhr/YoutuVote | 1b76187d81e6b6a5272a9100122072d766d76a7b | [
"MIT"
] | 10 | 2017-01-03T01:45:26.000Z | 2017-12-27T08:22:04.000Z | App/Components/AccountInfo/DisplayName/index.js | okmttdhr/Miss-YT | 1b76187d81e6b6a5272a9100122072d766d76a7b | [
"MIT"
] | null | null | null | // @flow
import React, {Component} from 'react';
import {View, TextInput} from 'react-native';
import styles from './style';
import type {TUserUpdateProfile, TDefaultUser} from '../../../types/';
import {Loading} from '../../Loading/';
type TDisplayName = {
user: TDefaultUser;
updateProfile: TUserUpdateProfile;
}
export class DisplayName extends Component<TDisplayName, {displayName: string}> {
constructor(props: TDisplayName) {
super(props);
this.state = {
displayName: '',
};
}
componentWillReceiveProps(nextProps: TDisplayName) {
this.setState({displayName: nextProps.user.item.displayName});
}
props: TDisplayName;
handleOnChangeText(name: string) {
this.setState({displayName: name});
if (!name) {
this.props.updateProfile({displayName: name});
}
}
render() {
const {updateProfile, user} = this.props;
const value = this.state.displayName || this.props.user.item.displayName;
return (
<View style={styles.container}>
{user.isFetching ?
<Loading isShow /> :
<TextInput
style={styles.textInput}
placeholder="名前を入力する"
onChangeText={name => this.handleOnChangeText(name)}
onBlur={e => updateProfile({displayName: e.nativeEvent.text})}
value={value}
/>
}
</View>
);
}
}
| 25.481481 | 81 | 0.62718 |
1e31dd9a77d12df8672e865370b03f286dcc48bd | 338 | js | JavaScript | Oss/app.js | MkMuhammetKaradag/Oss-Kafka | 923087cca4648c2b39b6bfe1bbf3e744e51f3b28 | [
"Apache-2.0"
] | null | null | null | Oss/app.js | MkMuhammetKaradag/Oss-Kafka | 923087cca4648c2b39b6bfe1bbf3e744e51f3b28 | [
"Apache-2.0"
] | null | null | null | Oss/app.js | MkMuhammetKaradag/Oss-Kafka | 923087cca4648c2b39b6bfe1bbf3e744e51f3b28 | [
"Apache-2.0"
] | null | null | null | const express = require('express');
const routes = require('./Routes/router.js');
const {getcreateTopic}=require('./controllers/topic.js');
const app = express();
const port = 3000;
getcreateTopic();
app.use(express.json());
app.use(routes);
app.listen(port, () => {
console.log(`Example app listening at http://localhost:${port}`)
}) | 26 | 66 | 0.692308 |
1e327e03cfa113efaddc34d34fbe71820afc6360 | 1,716 | js | JavaScript | app/views/preferences/PreferencesItem.js | amikeliunas/campus-mobile | 525d4062e661663e8c95317f7f173e0ba80df764 | [
"MIT"
] | null | null | null | app/views/preferences/PreferencesItem.js | amikeliunas/campus-mobile | 525d4062e661663e8c95317f7f173e0ba80df764 | [
"MIT"
] | null | null | null | app/views/preferences/PreferencesItem.js | amikeliunas/campus-mobile | 525d4062e661663e8c95317f7f173e0ba80df764 | [
"MIT"
] | null | null | null | import React from 'react'
import { Text } from 'react-native'
import { withNavigation } from 'react-navigation'
import Entypo from 'react-native-vector-icons/Entypo'
import FontAwesome from 'react-native-vector-icons/FontAwesome'
import Feather from 'react-native-vector-icons/Feather'
import Ionicons from 'react-native-vector-icons/Ionicons'
import MaterialCommunityIcons from 'react-native-vector-icons/MaterialCommunityIcons'
import Touchable from '../common/Touchable'
import { openURL } from '../../util/general'
import css from '../../styles/css'
/**
* Row item for user preferences
* @param {String} title Title to display
* @param {String} icon Icon to display
* @param {String} link Where to navigate to
* @param {Object} style Optional style
* @return {JSX} Return PreferencesItem JSX
*/
const PreferencesItem = ({
title,
iconPack,
icon,
linkType,
link,
style,
navigation
}) => (
<Touchable
onPress={() => {
if (linkType === 'internal') {
navigation.navigate(link)
} else if (linkType === 'external') {
openURL(link)
}
}}
style={css.pi_container}
>
{iconPack === 'Entypo' ? (
<Entypo name={icon} size={24} style={css.pi_icon} />
) : null }
{iconPack === 'Feather' ? (
<Feather name={icon} size={24} style={css.pi_icon} />
) : null }
{iconPack === 'FontAwesome' ? (
<FontAwesome name={icon} size={24} style={css.pi_icon} />
) : null }
{iconPack === 'MaterialCommunityIcons' ? (
<MaterialCommunityIcons name={icon} size={24} style={css.pi_icon} />
) : null }
<Text style={css.pi_title}>{title}</Text>
<Ionicons name="ios-arrow-forward" size={24} style={css.pi_arrow} />
</Touchable>
)
export default withNavigation(PreferencesItem)
| 29.586207 | 85 | 0.682401 |
1e328093702d85fdad92517d6cd49217b58adb87 | 123,287 | js | JavaScript | moodle/lib/yuilib/3.7.3/build/charts-base/charts-base-min.js | pulipulichen/kals-moodle | 041a2ad9fc1f009efc3f670d495ad435dddfbbae | [
"BSD-3-Clause"
] | 156 | 2015-01-04T04:25:52.000Z | 2021-11-15T10:07:22.000Z | moodle/lib/yuilib/3.7.3/build/charts-base/charts-base-min.js | pulipulichen/kals-moodle | 041a2ad9fc1f009efc3f670d495ad435dddfbbae | [
"BSD-3-Clause"
] | 9 | 2015-01-12T05:11:24.000Z | 2016-06-14T23:19:23.000Z | moodle/lib/yuilib/3.7.3/build/charts-base/charts-base-min.js | pulipulichen/kals-moodle | 041a2ad9fc1f009efc3f670d495ad435dddfbbae | [
"BSD-3-Clause"
] | 36 | 2015-01-12T05:38:31.000Z | 2020-02-27T23:18:33.000Z | /*
YUI 3.7.3 (build 5687)
Copyright 2012 Yahoo! Inc. All rights reserved.
Licensed under the BSD License.
http://yuilibrary.com/license/
*/
YUI.add("charts-base",function(e,t){function b(){}function w(e){w.superclass.constructor.apply(this,arguments)}function E(e){E.superclass.constructor.apply(this,arguments)}function S(e){S.superclass.constructor.apply(this,arguments)}function x(e){x.superclass.constructor.apply(this,arguments)}function T(){}function N(){}function C(){}function k(t){var n={area:{getter:function(){return this._defaults||this._getAreaDefaults()},setter:function(t){var n=this._defaults||this._getAreaDefaults();this._defaults=e.merge(n,t)}}};this.addAttrs(n,t),this.get("styles")}function L(e){var t={markers:{getter:function(){return this._markers}}};this.addAttrs(t,e)}function A(){}function O(){}var n=e.config,r=n.win,i=n.doc,s=e.Lang,o=s.isString,u=e.DOM,a,f,l,c,h=e.ClassNameManager.getClassName,p=h("seriesmarker"),d,v,m,g,y;d=function(e){d.superclass.constructor.apply(this,arguments)},d.NAME="shapeGroup",e.extend(d,e.Path,{_draw:function(){var e=this.get("xvalues"),t=this.get("yvalues"),n,r,i,o,u=0,a,f=[],l=this.get("dimensions"),c=l.width,h=l.height,p=l.radius,d=l.yRadius,v=this.get("id"),m=this.node.className,g=s.isArray(c),y=s.isArray(h),b=s.isArray(p),w=s.isArray(d);if(e&&t&&e.length>0){this.clear(),a=e.length;for(;u<a;++u)n=e[u],r=t[u],i=b?p[u]:p,o=w?d[u]:d,!isNaN(n)&&!isNaN(r)&&!isNaN(i)&&(this.drawShape({x:n,y:r,width:g?c[u]:c,height:y?h[u]:h,radius:i,yRadius:o}),this.closePath(),f[u]={id:v+"_"+u,className:m,coords:n-this._left+", "+(r-this._top)+", "+p,shape:"circle"});this._closePath()}},_getRadiusCollection:function(e){var t=0,n=e.length,r=[];for(;t<n;++t)r[t]=e[t]*.5;return r}}),d.ATTRS=e.merge(e.Path.ATTRS,{dimensions:{getter:function(){var e=this._dimensions,t,n,r,i;return e.hasOwnProperty("radius")?e:(r=e.width,i=e.height,t=s.isArray(r)?this._getRadiusCollection(r):r*.5,n=s.isArray(i)?this._getRadiusCollection(i):i*.5,{width:r,height:i,radius:t,yRadius:n})},setter:function(e){return this._dimensions=e,e}},xvalues:{getter:function(){return this._xvalues},setter:function(e){this._xvalues=e}},yvalues:{getter:function(){return this._yvalues},setter:function(e){this._yvalues=e}}}),e.ShapeGroup=d,v=function(e){v.superclass.constructor.apply(this,arguments)},v.NAME="circleGroup",e.extend(v,e.ShapeGroup,{drawShape:function(e){this.drawCircle(e.x,e.y,e.radius)}}),v.ATTRS=e.merge(e.ShapeGroup.ATTRS,{dimensions:{getter:function(){var e=this._dimensions,t,n,r,i;return e.hasOwnProperty("radius")?e:(r=e.width,i=e.height,t=s.isArray(r)?this._getRadiusCollection(r):r*.5,n=t,{width:r,height:i,radius:t,yRadius:n})}}}),v.ATTRS=e.ShapeGroup.ATTRS,e.CircleGroup=v,m=function(e){m.superclass.constructor.apply(this,arguments)},m.NAME="rectGroup",e.extend(m,e.ShapeGroup,{drawShape:function(e){this.drawRect(e.x,e.y,e.width,e.height)}}),m.ATTRS=e.ShapeGroup.ATTRS,e.RectGroup=m,y=function(e){y.superclass.constructor.apply(this,arguments)},y.NAME="diamondGroup",e.extend(y,e.ShapeGroup,{drawShape:function(e){this.drawDiamond(e.x,e.y,e.width,e.height)}}),y.ATTRS=e.ShapeGroup.ATTRS,e.DiamondGroup=y,g=function(e){g.superclass.constructor.apply(this,arguments)},g.NAME="diamondGroup",e.extend(g,e.ShapeGroup,{drawShape:function(e){this.drawEllipse(e.x,e.y,e.width,e.height)}}),g.ATTRS=e.ShapeGroup.ATTRS,e.EllipseGroup=g,b.ATTRS={styles:{getter:function(){return this._styles=this._styles||this._getDefaultStyles(),this._styles},setter:function(e){this._styles=this._setStyles(e)}},graphic:{}},b.NAME="renderer",b.prototype={_styles:null,_setStyles:function(e){var t=this.get("styles");return this._mergeStyles(e,t)},_mergeStyles:function(t,n){n||(n={});var r=e.merge(n,{});return e.Object.each(t,function(e,t,i){n.hasOwnProperty(t)&&s.isObject(e)&&!s.isFunction(e)&&!s.isArray(e)?r[t]=this._mergeStyles(e,n[t]):r[t]=e},this),r},_getDefaultStyles:function(){return{padding:{top:0,right:0,bottom:0,left:0}}}},e.augment(b,e.Attribute),e.Renderer=b,a=function(){},a.prototype={_getDefaultMargins:function(){return{top:0,left:0,right:4,bottom:0}},setTickOffsets:function(){var e=this,t=e.get("styles").majorTicks,n=t.length,r=n*.5,i=t.display;e.set("topTickOffset",0),e.set("bottomTickOffset",0);switch(i){case"inside":e.set("rightTickOffset",n),e.set("leftTickOffset",0);break;case"outside":e.set("rightTickOffset",0),e.set("leftTickOffset",n);break;case"cross":e.set("rightTickOffset",r),e.set("leftTickOffset",r);break;default:e.set("rightTickOffset",0),e.set("leftTickOffset",0)}},drawTick:function(e,t,n){var r=this,i=r.get("styles"),s=i.padding,o=n.length,u={x:s.left,y:t.y},a={x:o+s.left,y:t.y};r.drawLine(e,u,a)},getLineStart:function(){var e=this.get("styles"),t=e.padding,n=e.majorTicks,r=n.length,i=n.display,s={x:t.left,y:0};return i==="outside"?s.x+=r:i==="cross"&&(s.x+=r/2),s},getLabelPoint:function(e){return{x:e.x-this.get("leftTickOffset"),y:e.y}},updateMaxLabelSize:function(e,t){var n=this,r=this._labelRotationProps,i=r.rot,s=r.absRot,o=r.sinRadians,u=r.cosRadians,a;i===0?a=e:s===90?a=t:a=u*e+o*t,n._maxLabelSize=Math.max(n._maxLabelSize,a)},getExplicitlySized:function(e){if(this._explicitWidth){var t=this,n=t._explicitWidth,r=t._totalTitleSize,i=t.get("leftTickOffset"),s=e.label.margin.right;return t._maxLabelSize=n-(i+s+r),!0}return!1},positionTitle:function(e){var t=this,n=t._titleBounds,r=t.get("styles").title.margin,i=t._titleRotationProps,s=n.right-n.left,o=e.offsetWidth,u=e.offsetHeight,a=o*-0.5+s*.5,f=t.get("height")*.5-u*.5;i.labelWidth=o,i.labelHeight=u,r&&r.left&&(a+=r.left),i.x=a,i.y=f,i.transformOrigin=[.5,.5],t._rotate(e,i)},positionLabel:function(e,t,n,r){var i=this,s=i.get("leftTickOffset"),o=this._totalTitleSize,u=t.x+o-s,a=t.y,f=this._labelRotationProps,l=f.rot,c=f.absRot,h=i._maxLabelSize,p=this._labelWidths[r],d=this._labelHeights[r];l===0?(u-=p,a-=d*.5):l===90?u-=p*.5:l===-90?(u-=p*.5,a-=d):(u-=p+d*c/360,a-=d*.5),f.labelWidth=p,f.labelHeight=d,f.x=Math.round(h+u),f.y=Math.round(a),this._rotate(e,f)},_setRotationCoords:function(e){var t=e.rot,n=e.absRot,r,i,s=e.labelWidth,o=e.labelHeight;t===0?(r=s,i=o*.5):t===90?(i=0,r=s*.5):t===-90?(r=s*.5,i=o):(r=s+o*n/360,i=o*.5),e.x-=r,e.y-=i},_getTransformOrigin:function(e){var t;return e===0?t=[0,0]:e===90?t=[.5,0]:e===-90?t=[.5,1]:t=[1,.5],t},offsetNodeForTick:function(e){},setCalculatedSize:function(){var e=this,t=this.get("graphic"),n=e.get("styles"),r=n.label,i=e.get("leftTickOffset"),s=e._maxLabelSize,o=this._totalTitleSize,u=Math.round(o+i+s+r.margin.right);this._explicitWidth&&(u=this._explicitWidth),this.set("calculatedWidth",u),t.set("x",u-i)}},e.LeftAxisLayout=a,f=function(){},f.prototype={_getDefaultMargins:function(){return{top:0,left:4,right:0,bottom:0}},setTickOffsets:function(){var e=this,t=e.get("styles").majorTicks,n=t.length,r=n*.5,i=t.display;e.set("topTickOffset",0),e.set("bottomTickOffset",0);switch(i){case"inside":e.set("leftTickOffset",n),e.set("rightTickOffset",0);break;case"outside":e.set("leftTickOffset",0),e.set("rightTickOffset",n);break;case"cross":e.set("rightTickOffset",r),e.set("leftTickOffset",r);break;default:e.set("leftTickOffset",0),e.set("rightTickOffset",0)}},drawTick:function(e,t,n){var r=this,i=r.get("styles"),s=i.padding,o=n.length,u={x:s.left,y:t.y},a={x:s.left+o,y:t.y};r.drawLine(e,u,a)},getLineStart:function(){var e=this,t=e.get("styles"),n=t.padding,r=t.majorTicks,i=r.length,s=r.display,o={x:n.left,y:n.top};return s==="inside"?o.x+=i:s==="cross"&&(o.x+=i/2),o},getLabelPoint:function(e){return{x:e.x+this.get("rightTickOffset"),y:e.y}},updateMaxLabelSize:function(e,t){var n=this,r=this._labelRotationProps,i=r.rot,s=r.absRot,o=r.sinRadians,u=r.cosRadians,a;i===0?a=e:s===90?a=t:a=u*e+o*t,n._maxLabelSize=Math.max(n._maxLabelSize,a)},getExplicitlySized:function(e){if(this._explicitWidth){var t=this,n=t._explicitWidth,r=this._totalTitleSize,i=t.get("rightTickOffset"),s=e.label.margin.right;return t._maxLabelSize=n-(i+s+r),!0}return!1},positionTitle:function(e){var t=this,n=t._titleBounds,r=t.get("styles").title.margin,i=t._titleRotationProps,s=e.offsetWidth,o=e.offsetHeight,u=n.right-n.left,a=this.get("width")-s*.5-u*.5,f=t.get("height")*.5-o*.5;i.labelWidth=s,i.labelHeight=o,r&&r.right&&(a-=r.left),i.x=a,i.y=f,i.transformOrigin=[.5,.5],t._rotate(e,i)},positionLabel:function(e,t,n,r){var i=this,s=i.get("rightTickOffset"),o=n.label,u=0,a=t.x,f=t.y,l=this._labelRotationProps,c=l.rot,h=l.absRot,p=this._labelWidths[r],d=this._labelHeights[r];o.margin&&o.margin.left&&(u=o.margin.left),c===0?f-=d*.5:c===90?(a-=p*.5,f-=d):c===-90?a-=p*.5:(f-=d*.5,a+=d/2*h/90),a+=u,a+=s,l.labelWidth=p,l.labelHeight=d,l.x=Math.round(a),l.y=Math.round(f),this._rotate(e,l)},_setRotationCoords:function(e){var t=e.rot,n=e.absRot,r=0,i=0,s=e.labelWidth,o=e.labelHeight;t===0?i=o*.5:t===90?(r=s*.5,i=o):t===-90?r=s*.5:(i=o*.5,r=o/2*n/90),e.x-=r,e.y-=i},_getTransformOrigin:function(e){var t;return e===0?t=[0,0]:e===90?t=[.5,1]:e===-90?t=[.5,0]:t=[0,.5],t},offsetNodeForTick:function(e){var t=this,n=t.get("leftTickOffset"),r=0-n;e.setStyle("left",r)},setCalculatedSize:function(){var e=this,t=e.get("styles"),n=t.label,r=this._totalTitleSize,i=Math.round(e.get("rightTickOffset")+e._maxLabelSize+r+n.margin.left);this._explicitWidth&&(i=this._explicitWidth),e.set("calculatedWidth",i),e.get("contentBox").setStyle("width",i)}},e.RightAxisLayout=f,l=function(){},l.prototype={_getDefaultMargins:function(){return{top:4,left:0,right:0,bottom:0}},setTickOffsets:function(){var e=this,t=e.get("styles").majorTicks,n=t.length,r=n*.5,i=t.display;e.set("leftTickOffset",0),e.set("rightTickOffset",0);switch(i){case"inside":e.set("topTickOffset",n),e.set("bottomTickOffset",0);break;case"outside":e.set("topTickOffset",0),e.set("bottomTickOffset",n);break;case"cross":e.set("topTickOffset",r),e.set("bottomTickOffset",r);break;default:e.set("topTickOffset",0),e.set("bottomTickOffset",0)}},getLineStart:function(){var e=this.get("styles"),t=e.padding,n=e.majorTicks,r=n.length,i=n.display,s={x:0,y:t.top};return i==="inside"?s.y+=r:i==="cross"&&(s.y+=r/2),s},drawTick:function(e,t,n){var r=this,i=r.get("styles"),s=i.padding,o=n.length,u={x:t.x,y:s.top},a={x:t.x,y:o+s.top};r.drawLine(e,u,a)},getLabelPoint:function(e){return{x:e.x,y:e.y+this.get("bottomTickOffset")}},updateMaxLabelSize:function(e,t){var n=this,r=this._labelRotationProps,i=r.rot,s=r.absRot,o=r.sinRadians,u=r.cosRadians,a;i===0?a=t:s===90?a=e:a=o*e+u*t,n._maxLabelSize=Math.max(n._maxLabelSize,a)},getExplicitlySized:function(e){if(this._explicitHeight){var t=this,n=t._explicitHeight,r=t._totalTitleSize,i=t.get("bottomTickOffset"),s=e.label.margin.right;return t._maxLabelSize=n-(i+s+r),!0}return!1},positionTitle:function(e){var t=this,n=t._titleBounds,r=t.get("styles").title.margin,i=t._titleRotationProps,s=n.bottom-n.top,o=e.offsetWidth,u=e.offsetHeight,a=t.get("width")*.5-o*.5,f=t.get("height")-u/2-s/2;i.labelWidth=o,i.labelHeight=u,r&&r.bottom&&(f-=r.bottom),i.x=a,i.y=f,i.transformOrigin=[.5,.5],t._rotate(e,i)},positionLabel:function(e,t,n,r){var i=this,s=i.get("bottomTickOffset"),o=n.label,u=0,a=i._labelRotationProps,f=a.rot,l=a.absRot,c=Math.round(t.x),h=Math.round(t.y),p=i._labelWidths[r],d=i._labelHeights[r];o.margin&&o.margin.top&&(u=o.margin.top),f>0?h-=d/2*f/90:f<0?(c-=p,h-=d/2*l/90):c-=p*.5,h+=u,h+=s,a.labelWidth=p,a.labelHeight=d,a.x=c,a.y=h,i._rotate(e,a)},_setRotationCoords:function(e){var t=e.rot,n=e.absRot,r=e.labelWidth,i=e.labelHeight,s,o;t>0?(s=0,o=i/2*t/90):t<0?(s=r,o=i/2*n/90):(s=r*.5,o=0),e.x-=s,e.y-=o},_getTransformOrigin:function(e){var t;return e>0?t=[0,.5]:e<0?t=[1,.5]:t=[0,0],t},offsetNodeForTick:function(e){var t=this;t.get("contentBox").setStyle("top",0-t.get("topTickOffset"))},setCalculatedSize:function(){var e=this,t=e.get("styles"),n=t.label,r=e._totalTitleSize,i=Math.round(e.get("bottomTickOffset")+e._maxLabelSize+n.margin.top+r);e._explicitHeight&&(i=e._explicitHeight),e.set("calculatedHeight",i)}},e.BottomAxisLayout=l,c=function(){},c.prototype={_getDefaultMargins:function(){return{top:0,left:0,right:0,bottom:4}},setTickOffsets:function(){var e=this,t=e.get("styles").majorTicks,n=t.length,r=n*.5,i=t.display;e.set("leftTickOffset",0),e.set("rightTickOffset",0);switch(i){case"inside":e.set("bottomTickOffset",n),e.set("topTickOffset",0);break;case"outside":e.set("bottomTickOffset",0),e.set("topTickOffset",n);break;case"cross":e.set("topTickOffset",r),e.set("bottomTickOffset",r);break;default:e.set("topTickOffset",0),e.set("bottomTickOffset",0)}},getLineStart:function(){var e=this,t=e.get("styles"),n=t.padding,r=t.majorTicks,i=r.length,s=r.display,o={x:0,y:n.top};return s==="outside"?o.y+=i:s==="cross"&&(o.y+=i/2),o},drawTick:function(e,t,n){var r=this,i=r.get("styles"),s=i.padding,o=n.length,u={x:t.x,y:s.top},a={x:t.x,y:o+s.top};r.drawLine(e,u,a)},getLabelPoint:function(e){return{x:e.x,y:e.y-this.get("topTickOffset")}},updateMaxLabelSize:function(e,t){var n=this,r=this._labelRotationProps,i=r.rot,s=r.absRot,o=r.sinRadians,u=r.cosRadians,a;i===0?a=t:s===90?a=e:a=o*e+u*t,n._maxLabelSize=Math.max(n._maxLabelSize,a)},getExplicitlySized:function(e){if(this._explicitHeight){var t=this,n=t._explicitHeight,r=t._totalTitleSize,i=t.get("topTickOffset"),s=e.label.margin.right;return t._maxLabelSize=n-(i+s+r),!0}return!1},positionTitle:function(e){var t=this,n=t._titleBounds,r=t.get("styles").title.margin,i=t._titleRotationProps,s=e.offsetWidth,o=e.offsetHeight,u=n.bottom-n.top,a=t.get("width")*.5-s*.5,f=u/2-o/2;i.labelWidth=s,i.labelHeight=o,r&&r.top&&(f+=r.top),i.x=a,i.y=f,i.transformOrigin=[.5,.5],t._rotate(e,i)},positionLabel:function(e,t,n,r){var i=this,s=this._totalTitleSize,o=i._maxLabelSize,u=t.x,a=t.y+s+o,f=this._labelRotationProps,l=f.rot,c=f.absRot,h=this._labelWidths[r],p=this._labelHeights[r];l===0?(u-=h*.5,a-=p):l===90?(u-=h,a-=p*.5):l===-90?a-=p*.5:l>0?(u-=h,a-=p-p*l/180):a-=p-p*c/180,f.x=Math.round(u),f.y=Math.round(a),f.labelWidth=h,f.labelHeight=p,this._rotate(e,f)},_setRotationCoords:function(e){var t=e.rot,n=e.absRot,r=e.labelWidth,i=e.labelHeight,s,o;t===0?(s=r*.5,o=i):t===90?(s=r,o=i*.5):t===-90?o=i*.5:t>0?(s=r,o=i-i*t/180):o=i-i*n/180,e.x-=s,e.y-=o},_getTransformOrigin:function(e){var t;return e===0?t=[0,0]:e===90?t=[1,.5]:e===-90?t=[0,.5]:e>0?t=[1,.5]:t=[0,.5],t},offsetNodeForTick:function(e){},setCalculatedSize:function(){var e=this,t=e.get("graphic"),n=e.get("styles"),r=n.label.margin,i=r.bottom+e._maxLabelSize,s=e._totalTitleSize,o=this.get("topTickOffset"),u=Math.round(o+i+s);this._explicitHeight&&(u=this._explicitWidth),e.set("calculatedHeight",u),t.set("y",u-o)}},e.TopAxisLayout=c,e.Axis=e.Base.create("axis",e.Widget,[e.Renderer],{_calculatedWidth:0,_calculatedHeight:0,_dataChangeHandler:function(e){this.get("rendered")&&this._drawAxis()},_positionChangeHandler:function(e){this._updateGraphic(e.newVal),this._updateHandler()},_updateGraphic:function(e){var t=this.get("graphic");e=="none"?t&&t.destroy():t||this._setCanvas()},_updateHandler:function(e){this.get("rendered")&&this._drawAxis()},renderUI:function(){this._updateGraphic(this.get("position"))},syncUI:function(){var e=this._layout,t,n,r,i,s;if(e){t=e._getDefaultMargins(),n=this.get("styles"),r=n.label.margin,i=n.title.margin;for(s in t)t.hasOwnProperty(s)&&(r[s]=r[s]===undefined?t[s]:r[s],i[s]=i[s]===undefined?t[s]:i[s])}this._drawAxis()},_setCanvas:function(){var t=this.get("contentBox"),n=this.get("boundingBox"),r=this.get("position"),i=this._parentNode,s=this.get("width"),o=this.get("height");n.setStyle("position","absolute"),n.setStyle("zIndex",2),s=s?s+"px":i.getStyle("width"),o=o?o+"px":i.getStyle("height"),r==="top"||r==="bottom"?t.setStyle("width",s):t.setStyle("height",o),t.setStyle("position","relative"),t.setStyle("left","0px"),t.setStyle("top","0px"),this.set("graphic",new e.Graphic),this.get("graphic").render(t)},_getDefaultStyles:function(){var t={majorTicks:{display:"inside",length:4,color:"#dad8c9",weight:1,alpha:1},minorTicks:{display:"none",length:2,color:"#dad8c9",weight:1},line:{weight:1,color:"#dad8c9",alpha:1},majorUnit:{determinant:"count",count:11,distance:75},top:"0px",left:"0px",width:"100px",height:"100px",label:{color:"#808080",alpha:1,fontSize:"85%",rotation:0,margin:{top:undefined,right:undefined,bottom:undefined,left:undefined}},title:{color:"#808080",alpha:1,fontSize:"85%",rotation:undefined,margin:{top:undefined,right:undefined,bottom:undefined,left:undefined}},hideOverlappingLabelTicks:!1};return e.merge(e.Renderer.prototype._getDefaultStyles(),t)},_handleSizeChange:function(e){var t=e.attrName,n=this.get("position"),r=n=="left"||n=="right",i=this.get("contentBox"),s=n=="bottom"||n=="top";i.setStyle("width",this.get("width")),i.setStyle("height",this.get("height")),(s&&t=="width"||r&&t=="height")&&this._drawAxis()},_layoutClasses:{top:c,bottom:l,left:a,right:f},drawLine:function(e,t,n){e.moveTo(t.x,t.y),e.lineTo(n.x,n.y)},_getTextRotationProps:function(e){if(e.rotation===undefined)switch(this.get("position")){case"left":e.rotation=-90;break;case"right":e.rotation=90;break;default:e.rotation=0}var t=Math.min(90,Math.max(-90,e.rotation)),n=Math.abs(t),r=Math.PI/180,i=parseFloat(parseFloat(Math.sin(n*r)).toFixed(8)),s=parseFloat(parseFloat(Math.cos(n*r)).toFixed(8));return{rot:t,absRot:n,radCon:r,sinRadians:i,cosRadians:s,textAlpha:e.alpha}},_drawAxis:function(){if(this._drawing){this._callLater=!0;return}this._drawing=!0,this._callLater=!1;if(this._layout){var e=this.get("styles"),t=e.line,n=e.label,r=e.majorTicks,i=r.display!="none",s,o=e.majorUnit,u,a,f=0,l=this._layout,c,h,p,d,v,m,g=this.get("labelFunction"),y=this.get("labelFunctionScope"),b=this.get("labelFormat"),w=this.get("graphic"),E=this.get("path"),S,x;this._labelWidths=[],this._labelHeights=[],w.set("autoDraw",!1),E.clear(),E.set("stroke",{weight:t.weight,color:t.color,opacity:t.alpha}),this._labelRotationProps=this._getTextRotationProps(n),this._labelRotationProps.transformOrigin=l._getTransformOrigin(this._labelRotationProps.rot),l.setTickOffsets.apply(this),c=this.getLength(),p=l.getLineStart.apply(this),u=this.getTotalMajorUnits(o),a=this.getMajorUnitDistance(u,c,o),this.set("edgeOffset",this.getEdgeOffset(u,c)*.5);if(u<1)this._clearLabelCache();else{s=this.getFirstPoint(p),this.drawLine(E,p,this.getLineEnd(s)),i&&(S=this.get("tickPath"),S.clear(),S.set("stroke",{weight:r.weight,color:r.color,opacity:r.alpha}),l.drawTick.apply(this,[S,s,r])),this._createLabelCache(),this._tickPoints=[],this._maxLabelSize=0,this._totalTitleSize=0,this._titleSize=0,this._setTitle(),x=l.getExplicitlySized.apply(this,[e]);for(;f<u;++f)i&&l.drawTick.apply(this,[S,s,r]),h=this.getPosition(s),d=this.getLabel(s,n),this._labels.push(d),this._tickPoints.push({x:s.x,y:s.y}),this.get("appendLabelFunction")(d,g.apply(y,[this.getLabelByIndex(f,u),b])),v=Math.round(d.offsetWidth),m=Math.round(d.offsetHeight),x||this._layout.updateMaxLabelSize.apply(this,[v,m]),this._labelWidths.push(v),this._labelHeights.push(m),s=this.getNextPoint(s,a);this._clearLabelCache(),this.get("overlapGraph")&&l.offsetNodeForTick.apply(this,[this.get("contentBox")]),l.setCalculatedSize.apply(this),this._titleTextField&&this._layout.positionTitle.apply(this,[this._titleTextField]);for(f=0;f<u;++f)l.positionLabel.apply(this,[this.get("labels")[f],this._tickPoints[f],e,f])}}this._drawing=!1,this._callLater?this._drawAxis():(this._updatePathElement(),this.fire("axisRendered"))},_setTotalTitleSize:function(t){var n=this._titleTextField,r=n.offsetWidth,i=n.offsetHeight,s=this._titleRotationProps.rot,o,u,a=t.margin,f=this.get("position"),l=new e.Matrix;l.rotate(s),o=l.getContentRect(r,i),f=="left"||f=="right"?(u=o.right-o.left,a&&(u+=a.left+a.right)):(u=o.bottom-o.top,a&&(u+=a.top+a.bottom)),this._titleBounds=o,this._totalTitleSize=u},_updatePathElement:function(){var e=this._path,t=this._tickPath,n=!1,r=this.get("graphic");e&&(n=!0,e.end()),t&&(n=!0,t.end()),n&&r._redraw()},_setTitle:function(){var e,t,n,r=this.get("title"),s=this._titleTextField,o;if(r!==null&&r!==undefined){n={rotation:"rotation",margin:"margin",alpha:"alpha"},t=this.get("styles").title,s?i.createElementNS||s.style.filter&&(s.style.filter=null):(s=i.createElement("span"),s.style.display="block",s.style.whiteSpace="nowrap",s.setAttribute("class","axisTitle"),this.get("contentBox").append(s)),s.style.position="absolute";for(e in t)t.hasOwnProperty(e)&&!n.hasOwnProperty(e)&&(s.style[e]=t[e]);this.get("appendTitleFunction")(s,r),this._titleTextField=s,this._titleRotationProps=this._getTextRotationProps(t),this._setTotalTitleSize(t)}else s&&(o=s.parentNode,o&&o.removeChild(s),this._titleTextField=null,this._totalTitleSize=0)},getLabel:function(t,n){var r,s,o=this._labelCache,u={rotation:"rotation",margin:"margin",alpha:"alpha"};o&&o.length>0?s=o.shift():(s=i.createElement("span"),s.className=e.Lang.trim([s.className,"axisLabel"].join(" ")),this.get("contentBox").append(s)),i.createElementNS||s.style.filter&&(s.style.filter=null),s.style.display="block",s.style.whiteSpace="nowrap",s.style.position="absolute";for(r in n)n.hasOwnProperty(r)&&!u.hasOwnProperty(r)&&(s.style[r]=n[r]);return s},_createLabelCache:function(){if(this._labels)while(this._labels.length>0)this._labelCache.push(this._labels.shift());else this._clearLabelCache();this._labels=[]},_clearLabelCache:function(){if(this._labelCache){var t=this._labelCache.length,n=0,r;for(;n<t;++n)r=this._labelCache[n],this._removeChildren(r),e.Event.purgeElement(r,!0),r.parentNode.removeChild(r)}this._labelCache=[]},getLineEnd:function(e){var t=this.get("width"),n=this.get("height"),r=this.get("position");return r==="top"||r==="bottom"?{x:t,y:e.y}:{x:e.x,y:n}},getLength:function(){var e,t=this.get("styles"),n=t.padding,r=this.get("width"),i=this.get("height"),s=this.get("position");return s==="top"||s==="bottom"?e=r-(n.left+n.right):e=i-(n.top+n.bottom),e},getFirstPoint:function(e){var t=this.get("styles"),n=this.get("position"),r=t.padding,i={x:e.x,y:e.y};return n==="top"||n==="bottom"?i.x+=r.left+this.get("edgeOffset"):i.y+=this.get("height")-(r.top+this.get("edgeOffset")),i},getNextPoint:function(e,t){var n=this.get("position");return n==="top"||n==="bottom"?e.x=e.x+t:e.y=e.y-t,e},getLastPoint:function(){var e=this.get("styles"),t=e.padding,n=this.get("width"),r=this.get("position");return r==="top"||r==="bottom"?{x:n-t.right,y:t.top}:{x:t.left,y:t.top}},getPosition:function(e){var t,n=this.get("height"),r=this.get("styles"),i=r.padding,s=this.get("position"),o=this.get("dataType");return s==="left"||s==="right"?o==="numeric"?t=n-(i.top+i.bottom)-(e.y-i.top):t=e.y-i.top:t=e.x-i.left,t},_rotate:function(t,n){var r=n.rot,o=n.x,a=n.y,f,l,c=new e.Matrix,h=n.transformOrigin||[0,0],p;i.createElementNS?(c.translate(o,a),c.rotate(r),u.setStyle(t,"transformOrigin",h[0]*100+"% "+h[1]*100+"%"),u.setStyle(t,"transform",c.toCSSText())):(l=n.textAlpha,s.isNumber(l)&&l<1&&l>-1&&!isNaN(l)&&(f="progid:DXImageTransform.Microsoft.Alpha(Opacity="+Math.round(l*100)+")"),r!==0?(c.rotate(r),p=c.getContentRect(n.labelWidth,n.labelHeight),c.init(),c.translate(p.left,p.top),c.translate(o,a),this._simulateRotateWithTransformOrigin(c,r,h,n.labelWidth,n.labelHeight),f?f+=" ":f="",f+=c.toFilterText(),t.style.left=c.dx+"px",t.style.top=c.dy+"px"):(t.style.left=o+"px",t.style.top=a+"px"),f&&(t.style.filter=f))},_simulateRotateWithTransformOrigin:function(e,t,n,r,i){var s=n[0]*r,o=n[1]*i;s=isNaN(s)?0:s,o=isNaN(o)?0:o,e.translate(s,o),e.rotate(t),e.translate(-s,-o)},getMaxLabelBounds:function(){return this._getLabelBounds(this.getMaximumValue())},getMinLabelBounds:function(){return this._getLabelBounds(this.getMinimumValue())},_getLabelBounds:function(t){var n=this._layout,r=this.get("styles").label,i=new e.Matrix,s,o=this._getTextRotationProps(r);return o.transformOrigin=n._getTransformOrigin(o.rot),s=this.getLabel({x:0,y:0},r),this.get("appendLabelFunction")(s,this.get("labelFunction").apply(this,[t,this.get("labelFormat")])),o.labelWidth=s.offsetWidth,o.labelHeight=s.offsetHeight,this._removeChildren(s),e.Event.purgeElement(s,!0),s.parentNode.removeChild(s),o.x=0,o.y=0,n._setRotationCoords(o),i.translate(o.x,o.y),this._simulateRotateWithTransformOrigin(i,o.rot,o.transformOrigin,o.labelWidth,o.labelHeight),i.getContentRect(o.labelWidth,o.labelHeight)},_removeChildren:function(e){if(e.hasChildNodes()){var t;while(e.firstChild)t=e.firstChild,this._removeChildren(t),e.removeChild(t)}},destructor:function(){var e=this.get("contentBox").getDOMNode(),t=this.get("labels"),n=this.get("graphic"),r,i=t?t.length:0;if(i>0)while(t.length>0)r=t.shift(),this._removeChildren(r),e.removeChild(r),r=null;n&&n.destroy()},_maxLabelSize:0,_setText:function(e,t){e.innerHTML="",s.isNumber(t)?t+="":t||(t=""),o(t)&&(t=i.createTextNode(t)),e.appendChild(t)}},{ATTRS:{width:{lazyAdd:!1,getter:function(){return this._explicitWidth?this._explicitWidth:this._calculatedWidth},setter:function(e){return this._explicitWidth=e,e}},height:{lazyAdd:!1,getter:function(){return this._explicitHeight?this._explicitHeight:this._calculatedHeight},setter:function(e){return this._explicitHeight=e,e}},calculatedWidth:{getter:function(){return this._calculatedWidth},setter:function(e){return this._calculatedWidth=e,e}},calculatedHeight:{getter:function(){return this._calculatedHeight},setter:function(e){return this._calculatedHeight=e,e}},edgeOffset:{value:0},graphic:{},path:{readOnly:!0,getter:function(){if(!this._path){var e=this.get("graphic");e&&(this._path=e.addShape({type:"path"}))}return this._path}},tickPath:{readOnly:!0,getter:function(){if(!this._tickPath){var e=this.get("graphic");e&&(this._tickPath=e.addShape({type:"path"}))}return this._tickPath}},node:{},position:{setter:function(e){var t=this._layoutClasses[e];return e&&e!="none"&&(this._layout=new t),e}},topTickOffset:{value:0},bottomTickOffset:{value:0},leftTickOffset:{value:0},rightTickOffset:{value:0},labels:{readOnly:!0,getter:function(){return this._labels}},tickPoints:{readOnly:!0,getter:function(){return this.get("position")=="none"?this.get("styles").majorUnit.count:this._tickPoints}},overlapGraph:{value:!0,validator:function(e){return s.isBoolean(e)}},labelFunctionScope:{},maxLabelSize:{getter:function(){return this._maxLabelSize},setter:function(e){return this._maxLabelSize=e,e}},title:{value:null},labelFunction:{value:function(e,t){return e}},appendLabelFunction:{valueFn:function(){return this._setText}},appendTitleFunction:{valueFn:function(){return this._setText}}}}),e.AxisType=e.Base.create("baseAxis",e.Axis,[],{initializer:function(){this.after("dataReady",e.bind(this._dataChangeHandler,this)),this.after("dataUpdate",e.bind(this._dataChangeHandler,this)),this.after("minimumChange",e.bind(this._keyChangeHandler,this)),this.after("maximumChange",e.bind(this._keyChangeHandler,this)),this.after("keysChange",this._keyChangeHandler),this.after("dataProviderChange",this._dataProviderChangeHandler),this.after("alwaysShowZeroChange",this._keyChangeHandler),this.after("roundingMethodChange",this._keyChangeHandler)},bindUI:function(){this.after("stylesChange",this._updateHandler),this.after("overlapGraphChange",this._updateHandler),this.after("positionChange",this._positionChangeHandler),this.after("widthChange",this._handleSizeChange),this.after("heightChange",this._handleSizeChange),this.after("calculatedWidthChange",this._handleSizeChange),this.after("calculatedHeightChange",this._handleSizeChange)},_dataProviderChangeHandler:function(e){var t=this.get("keyCollection").concat(),n=this.get("keys"),r;if(n)for(r in n)n.hasOwnProperty(r)&&delete n[r];t&&t.length&&this.set("keys",t)},GUID:"yuibaseaxis",_type:null,_setMaximum:null,_dataMaximum:null,_setMinimum:null,_data:null,_updateTotalDataFlag:!0,_dataReady:!1,addKey:function(e){this.set("keys",e)},_getKeyArray:function(e,t){var n=0,r,i=[],s=t.length;for(;n<s;++n)r=t[n],i[n]=r[e];return i},_setDataByKey:function(e,t){var n,r,i=[],s=this._dataClone.concat(),o=s.length;for(n=0;n<o;++n)r=s[n],i[n]=r[e];this.get("keys")[e]=i,this._updateTotalDataFlag=!0},_updateTotalData:function(){var e=this.get("keys"),t;this._data=[];for(t in e)e.hasOwnProperty(t)&&(this._data=this._data.concat(e[t]));this._updateTotalDataFlag=!1},removeKey:function(e){var t=this.get("keys");t.hasOwnProperty(e)&&(delete t[e],this._keyChangeHandler())},getKeyValueAt:function(e,t){var n=NaN,r=this.get("keys");return r[e]&&s.isNumber(parseFloat(r[e][t]))&&(n=r[e][t]),parseFloat(n)},getDataByKey:function(e){var t=this.get("keys");return t[e]?t[e]:null},_updateMinAndMax:function(){var e=this.get("data"),t=0,n=0,r,i,s;if(e&&e.length&&e.length>0){r=e.length,t=n=e[0];if(r>1)for(s=1;s<r;s++){i=e[s];if(isNaN(i))continue;t=Math.max(i,t),n=Math.min(i,n)}}this._dataMaximum=t,this._dataMinimum=n},getTotalMajorUnits:function(){var e,t=this.get("styles").majorUnit,n=this.get("length");return t.determinant==="count"?e=t.count:t.determinant==="distance"&&(e=n/t.distance+1),e},getMajorUnitDistance:function(e,t,n){var r;return n.determinant==="count"?r=t/(e-1):n.determinant==="distance"&&(r=n.distance),r},getEdgeOffset:function(e,t){return 0},getLabelByIndex:function(e,t){var n=this.get("minimum"),r=this.get("maximum"),i=(r-n)/(t-1),s;return t-=1,s=n+e*i,s},_keyChangeHandler:function(e){this._updateMinAndMax(),this.fire("dataUpdate")},_hasDataOverflow:function(){return this.get("setMin")||this.get("setMax")?!0:!1},getMinimumValue:function(){return this.get("minimum")},getMaximumValue:function(){return this.get("maximum")}},{ATTRS:{keys:{value:{},setter:function(e){var t={},n,r,i=this.get("dataProvider");if(s.isArray(e)){r=e.length;for(n=0;n<r;++n)t[e[n]]=this._getKeyArray(e[n],i)}else if(s.isString(e))t=this.get("keys"),t[e]=this._getKeyArray(e,i);else for(n in e)e.hasOwnProperty(n)&&(t[n]=this._getKeyArray(n,i));return this._updateTotalDataFlag=!0,t}},roundingMethod:{value:"niceNumber"},type:{readOnly:!0,getter:function(){return this._type}},dataProvider:{setter:function(e){return e}},dataMaximum:{getter:function(){return this._dataMaximum||this._updateMinAndMax(),this._dataMaximum}},maximum:{lazyAdd:!1,getter:function(){var e=this.get("dataMaximum"),t=this.get("minimum");return t===0&&e===0&&(e=10),s.isNumber(this._setMaximum)&&(e=this._setMaximum),parseFloat(e)},setter:function(e){return this._setMaximum=parseFloat(e),e}},dataMinimum:{getter:function(){return this._dataMinimum||this._updateMinAndMax(),this._dataMinimum}},minimum:{lazyAdd:!1,getter:function(){var e=this.get("dataMinimum");return s.isNumber(this._setMinimum)&&(e=this._setMinimum),parseFloat(e)},setter:function(e){return this._setMinimum=parseFloat(e),e}},setMax:{readOnly:!0,getter:function(){return s.isNumber(this._setMaximum)}},setMin:{readOnly:!0,getter:function(){return s.isNumber(this._setMinimum)}},data:{getter:function(){return(!this._data||this._updateTotalDataFlag)&&this._updateTotalData(),this._data}},keyCollection:{getter:function(){var e=this.get("keys"),t,n=[];for(t in e)e.hasOwnProperty(t)&&n.push(t);return n},readOnly:!0}}}),w.NAME="numericAxis",w.ATTRS={alwaysShowZero:{value:!0},labelFunction:{value:function(t,n){return n?e.DataType.Number.format(t,n):t}},labelFormat:{value:{prefix:"",thousandsSeparator:"",decimalSeparator:"",decimalPlaces:"0",suffix:""}}},e.extend(w,e.AxisType,{formatLabel:function(t,n){return n?e.DataType.Number.format(t,n):t},getTotalByKey:function(e){var t=0,n=this.getDataByKey(e),r=0,i,s=n?n.length:0;for(;r<s;++r)i=parseFloat(n[r]),isNaN(i)||(t+=i);return t},_type:"numeric",_getMinimumUnit:function(e,t,n){return this._getNiceNumber(Math.ceil((e-t)/n))},_getNiceNumber:function(e){var t=e,n=Math.ceil(Math.log(t)*.4342944819032518),r=Math.pow(10,n),i;return r/2>=t?(i=Math.floor((r/2-t)/(Math.pow(10,n-1)/2)),t=r/2-i*Math.pow(10,n-1)/2):t=r,isNaN(t)?e:t},_updateMinAndMax:function(){var e=this.get("data"),t,n,r,i,o=0,u,a=this.get("setMax"),f=this.get("setMin");if(!a||!f){if(e&&e.length&&e.length>0){r=e.length;for(;o<r;o++){i=e[o];if(isNaN(i)){if(s.isObject(i)){n=t=0;for(u in i)i.hasOwnProperty(u)&&(t=Math.max(i[u],t),n=Math.min(i[u],n))}t=a?this._setMaximum:t,n=f?this._setMinimum:n;continue}f?n=this._setMinimum:n===undefined?n=i:n=Math.min(i,n),a?t=this._setMaximum:t===undefined?t=i:t=Math.max(i,t),this._actualMaximum=t,this._actualMinimum=n}}this._roundMinAndMax(n,t,f,a)}},_roundMinAndMax:function(e,t,n,r){var i,s,o=e>=0,u=t>0,a,f,l,c,h,p,d,v=this.getTotalMajorUnits()-1,m=this.get("alwaysShowZero"),g=this.get("roundingMethod"),y=(t-e)/v>=1;if(g)if(g=="niceNumber"){i=this._getMinimumUnit(t,e,v);if(o&&u)(m||e<i)&&!n?(e=0,i=this._getMinimumUnit(t,e,v)):e=this._roundDownToNearest(e,i),r?m||(e=t-i*v):n?t=e+i*v:t=this._roundUpToNearest(t,i);else if(u&&!o)if(m){c=Math.round(v/(-1*e/t+1)),c=Math.max(Math.min(c,v-1),1),h=v-c,p=Math.ceil(t/c),d=Math.floor(e/h)*-1;if(n){while(d<p&&h>=0)h--,c++,p=Math.ceil(t/c),d=Math.floor(e/h)*-1;h>0?t=d*c:t=e+i*v}else if(r){while(p<d&&c>=0)h++,c--,d=Math.floor(e/h)*-1,p=Math.ceil(t/c);c>0?e=p*h*-1:e=t-i*v}else i=Math.max(p,d),i=this._getNiceNumber(i),t=i*c,e=i*h*-1}else r?e=t-i*v:n?t=e+i*v:(e=this._roundDownToNearest(e,i),t=this._roundUpToNearest(t,i));else n?m?t=0:t=e+i*v:r?e=t-i*v:m||t===0||t+i>0?(t=0,i=this._getMinimumUnit(t,e,v),e=t-i*v):(e=this._roundDownToNearest(e,i),t=this._roundUpToNearest(t,i))}else g=="auto"?o&&u?((m||e<(t-e)/v)&&!n&&(e=0),i=(t-e)/v,y&&(i=Math.ceil(i)),t=e+i*v):u&&!o?m?(c=Math.round(v/(-1*e/t+1)),c=Math.max(Math.min(c,v-1),1),h=v-c,y?(p=Math.ceil(t/c),d=Math.floor(e/h)*-1):(p=t/c,d=e/h*-1),i=Math.max(p,d),t=i*c,e=i*h*-1):(i=(t-e)/v,y&&(i=Math.ceil(i)),e=this._roundDownToNearest(e,i),t=this._roundUpToNearest(t,i)):(i=(t-e)/v,y&&(i=Math.ceil(i)),m||t===0||t+i>0?(t=0,i=(t-e)/v,y&&Math.ceil(i),e=t-i*v):(e=this._roundDownToNearest(e,i),t=this._roundUpToNearest(t,i))):!isNaN(g)&&isFinite(g)&&(i=g,s=i*v,a=t-e>s,l=this._roundDownToNearest(e,i),f=this._roundUpToNearest(t,i),r?e=t-s:n?t=e+s:o&&u?(m||l<=0?e=0:e=l,t=e+s):u&&!o?(e=l,t=f):(m||f>=0?t=0:t=f,e=t-s));this._dataMaximum=t,this._dataMinimum=e},getLabelByIndex:function(e,t){var n=this.get("minimum"),r=this.get("maximum"),i=(r-n)/(t-1),s,o=this.get("roundingMethod");return t-=1,e===0?s=n:e===t?s=r:(s=e*i,o=="niceNumber"&&(s=this._roundToNearest(s,i)),s+=n),parseFloat(s)},_roundToNearest:function(e,t){t=t||1;if(t===0)return e;var n=Math.round(this._roundToPrecision(e/t,10))*t;return this._roundToPrecision(n,10)},_roundUpToNearest:function(e,t){return t=t||1,t===0?e:Math.ceil(this._roundToPrecision(e/t,10))*t},_roundDownToNearest:function(e,t){return t=t||1,t===0?e:Math.floor(this._roundToPrecision(e/t,10))*t},_roundToPrecision:function(e,t){t=t||0;var n=Math.pow(10,t);return Math.round(n*e)/n},_hasDataOverflow:function(){var e,t,n;return this.get("setMin")||this.get("setMax")?!0:(e=this.get("roundingMethod"),t=this._actualMinimum,n=this._actualMaximum,s.isNumber(e)&&(s.isNumber(n)&&n>this._dataMaximum||s.isNumber(t)&&t<this._dataMinimum)?!0:!1)}}),e.NumericAxis=w,E.NAME="stackedAxis",e.extend(E,e.NumericAxis,{_updateMinAndMax:function(){var e=0,t=0,n=0,r=0,i=0,s=0,o,u,a=this.get("keys"),f=this.get("setMin"),l=this.get("setMax");for(o in a)a.hasOwnProperty(o)&&(i=Math.max(i,a[o].length));for(;s<i;++s){n=0,r=0;for(o in a)if(a.hasOwnProperty(o)){u=a[o][s];if(isNaN(u))continue;u>=0?n+=u:r+=u}n>0?e=Math.max(e,n):e=Math.max(e,r),r<0?t=Math.min(t,r):t=Math.min(t,n)}this._actualMaximum=e,this._actualMinimum=t,l&&(e=this._setMaximum),f&&(t=this._setMinimum),this._roundMinAndMax(t,e,f,l)}}),e.StackedAxis=E,S.NAME="timeAxis",S.ATTRS={setMax:{readOnly:!0,getter:function(){var e=this._getNumber(this._setMaximum);return s.isNumber(e)}},setMin:{readOnly:!0,getter:function(){var e=this._getNumber(this._setMinimum);return s.isNumber(e)}},maximum:{getter:function(){var e=this._getNumber(this._setMaximum);return s.isNumber(e)||(e=this._getNumber(this.get("dataMaximum"))),parseFloat(e)},setter:function(e){return this._setMaximum=this._getNumber(e),e}},minimum:{getter:function(){var e=this._getNumber(this._setMinimum);return s.isNumber(e)||(e=this._getNumber(this.get("dataMinimum"))),parseFloat(e)},setter:function(e){return this._setMinimum=this._getNumber(e),e}},labelFunction:{value:function(t,n){return t=e.DataType.Date.parse(t),n?e.DataType.Date.format(t,{format:n}):t}},labelFormat:{value:"%b %d, %y"}},e.extend(S,e.AxisType,{formatLabel:function(t,n){return t=e.DataType.Date.parse(t),n?e.DataType.Date.format(t,{format:n}):t},GUID:"yuitimeaxis",_dataType:"time",getLabelByIndex:function(e,t){var n=this.get("minimum"),r=this.get("maximum"),i=this.get("position"),s,o;return t-=1,s=(r-n)/t*e,i=="bottom"||i=="top"?o=n+s:o=r-s,o},_getKeyArray:function(e,t){var n,r=[],i=0,o,u=t.length;for(;i<u;++i)n=t[i][e],s.isDate(n)?o=n.valueOf():(o=new Date(n),s.isDate(o)?o=o.valueOf():s.isNumber(n)?o=n:s.isNumber(parseFloat(n))?o=parseFloat(n):(typeof n!="string"&&(n=n),o=(new Date(n)).valueOf())),r[i]=o;return r},_setDataByKey:function(e,t){var n,r=[],i=this._dataClone.concat(),o,u,a=i.length;for(o=0;o<a;++o)n=i[o][e],s.isDate(n)?u=n.valueOf():(u=new Date(n),s.isDate(u)?u=u.valueOf():s.isNumber(n)?u=n:s.isNumber(parseFloat(n))?u=parseFloat(n):(typeof n!="string"&&(n=n.toString()),u=(new Date(n)).valueOf())),r[o]=u;this.get("keys")[e]=r,this._updateTotalDataFlag=!0},_getNumber:function(e){return s.isDate(e)?e=e.valueOf():!s.isNumber(e)&&e&&(e=(new Date(e)).valueOf()),e}}),e.TimeAxis=S,x.NAME="categoryAxis",e.extend(x,e.AxisType,{formatLabel:function(e,t){return e},_indices:null,GUID:"yuicategoryaxis",_type:"category",_updateMinAndMax:function(){this._dataMaximum=Math.max(this.get("data").length-1,0),this._dataMinimum=0},_getKeyArray:function(e,t){var n=0,r,i=[],s=[],o=t.length;this._indices||(this._indices={});for(;n<o;++n)r=t[n],i[n]=n,s[n]=r[e];return this._indices[e]=i,s},_setDataByKey:function(e){var t,n,r=[],i=[],s=this._dataClone.concat(),o=s.length;this._indices||(this._indices={});for(t=0;t<o;++t)n=s[t],r[t]=t,i[t]=n[e];this._indices[e]=r,this.get("keys")[e]=i.concat(),this._updateTotalDataFlag=!0},getDataByKey:function(e){this._indices||this.get("keys");var t=this._indices;return t[e]?t[e]:null},getTotalMajorUnits:function(e,t){return this.get("data").length},getMajorUnitDistance:function(e,t,n){var r;return n.determinant==="count"?r=t/e:n.determinant==="distance"&&(r=n.distance),r},getEdgeOffset:function(e,t){return t/e},getKeyValueAt:function(e,t){var n=NaN,r=this.get("keys");return r[e]&&r[e][t]&&(n=r[e][t]),n},getLabelByIndex:function(e,t){var n,r=this.get("data"),i=this.get("position");return i=="bottom"||i=="top"?n=r[e]:n=r[t-(e+1)],n},getMinimumValue:function(){var e=this.get("data"),t=e[0];return t},getMaximumValue:function(){var e=this.get("data"),t=e.length-1,n=e[t];return n}}),e.CategoryAxis=x,T.prototype={getCurveControlPoints:function(e,t){var n=[],r=1,i=e.length-1,s=[],o=[];if(i<1)return null;n[0]={startx:e[0],starty:t[0],endx:e[1],endy:t[1]};if(i===1)return n[0].ctrlx1=(2*e[0]+e[1])/3,n[0].ctrly2=(2*t[0]+t[1])/3,n[0].ctrlx2=2*n[0].ctrlx1-e[0],n[0].ctrly2=2*n[0].ctrly1-t[0],n;for(;r<i;++r)n.push({startx:Math.round(e[r]),starty:Math.round(t[r]),endx:Math.round(e[r+1]),endy:Math.round(t[r+1])}),s[r]=4*e[r]+2*e[r+1],o[r]=4*t[r]+2*t[r+1];s[0]=e[0]+2*e[1],s[i-1]=(8*e[i-1]+e[i])/2,s=this.getControlPoints(s.concat()),o[0]=t[0]+2*t[1],o[i-1]=(8*t[i-1]+t[i])/2,o=this.getControlPoints(o.concat());for(r=0;r<i;++r)n[r].ctrlx1=Math.round(s[r]),n[r].ctrly1=Math.round(o[r]),r<i-1?(n[r].ctrlx2=Math.round(2*e[r+1]-s[r+1]),n[r].ctrly2=Math.round(2*t[r+1]-o[r+1])):(n[r].ctrlx2=Math.round((e[i]+s[i-1])/2),n[r].ctrly2=Math.round((t[i]+o[i-1])/2));return n},getControlPoints:function(e){var t=e.length,n=[],r=[],i=2,s=1;n[0]=e[0]/i;for(;s<t;++s)r[s]=1/i,i=(s<t-1?4:3.5)-r[s],n[s]=(e[s]-n[s-1])/i;for(s=1;s<t;++s)n[t-s-1]-=r[t-s]*n[t-s];return n}},e.CurveUtil=T,N.prototype={_stacked:!0,_stackCoordinates:function(){this.get("direction")=="vertical"?this._stackXCoords():this._stackYCoords()},_stackXCoords:function(){var e=this.get("order"),t=this.get("type"),n=this.get("graph"),r=n.seriesTypes[t],i=0,o=this.get("xcoords"),u=this.get("ycoords"),a,f,l,c,h=o.concat(),p,d,v=[],m;e>0?(p=r[e-1].get("stackedXCoords"),d=r[e-1].get("stackedYCoords"),a=p.length):a=o.length;for(;i<a;i+=1)if(s.isNumber(o[i])){if(e>0){l=p[i];if(!s.isNumber(l)){c=e;while(c>-1&&!s.isNumber(l))c-=1,c>-1?l=r[c].get("stackedXCoords")[i]:l=this._leftOrigin}o[i]=o[i]+l}h[i]=o[i]}else v.push(i);this._cleanXNaN(h,u),a=v.length;if(a>0)for(i=0;i<a;i+=1)m=v[i],f=e>0?p[m]:this._leftOrigin,h[m]=Math.max(h[m],f);this.set("stackedXCoords",h),this.set("stackedYCoords",u)},_stackYCoords:function(){var e=this.get("order"),t=this.get("type"),n=this.get("graph"),r=n.get("height"),i=n.seriesTypes[t],o=0,u=this.get("xcoords"),a=this.get("ycoords"),f,l,c,h,p=a.concat(),d,v,m=[],g;e>0?(d=i[e-1].get("stackedXCoords"),v=i[e-1].get("stackedYCoords"),f=v.length):f=a.length;for(;o<f;o+=1)if(s.isNumber(a[o])){if(e>0){c=v[o];if(!s.isNumber(c)){h=e;while(h>-1&&!s.isNumber(c))h-=1,h>-1?c=i[h].get("stackedYCoords")[o]:c=this._bottomOrigin}a[o]=c-(r-a[o])}p[o]=a[o]}else m.push(o);this._cleanYNaN(u,p),f=m.length;if(f>0)for(o=0;o<f;o+=1)g=m[o],l=e>0?v[g]:r,p[g]=Math.min(p[g],l);this.set("stackedXCoords",u),this.set("stackedYCoords",p)},_cleanXNaN:function(e,t){var n,r,i,o,u,a,f,l,c=s.isNumber,h,p=0,d=t.length;for(;p<d;++p)u=e[p],a=t[p],!c(u)&&p>0&&p<d-1&&(o=t[p-1],i=this._getPreviousValidCoordValue(e,p),l=t[p+1],f=this._getNextValidCoordValue(e,p),c(i)&&c(f)&&(h=(l-o)/(f-i),e[p]=(a+h*i-o)/h),n=NaN,r=NaN)},_getPreviousValidCoordValue:function(e,t){var n,r=s.isNumber,i=-1;while(!r(n)&&t>i)t-=1,n=e[t];return n},_getNextValidCoordValue:function(e,t){var n,r=s.isNumber,i=e.length;while(!r(n)&&t<i)t+=1,n=e[t];return n},_cleanYNaN:function(e,t){var n,r,i,o,u,a,f,l,c=s.isNumber,h,p=0,d=e.length;for(;p<d;++p)u=e[p],a=t[p],!c(a)&&p>0&&p<d-1&&(i=e[p-1],o=this._getPreviousValidCoordValue(t,p),f=e[p+1],l=this._getNextValidCoordValue(t,p),c(o)&&c(l)&&(h=(l-o)/(f-i),t[p]=o+(h*u-h*i)),n=NaN,r=NaN)}},e.StackingUtil=N,C.prototype={_lineDefaults:null,_getGraphic:function(){var e=this.get("graphic")||this.get("graph").get("graphic");return this._lineGraphic||(this._lineGraphic=e.addShape({type:"path"})),this._lineGraphic.clear(),this._lineGraphic},_toggleVisible:function(e){this._lineGraphic&&this._lineGraphic.set("visible",e)},drawLines:function(){if(this.get("xcoords").length<1)return;var e=s.isNumber,t,n,r=this.get("direction"),i,o,u,a=!0,f,l,c,h,p,d=this.get("styles").line,v=d.lineType,m=d.color||this._getDefaultColor(this.get("graphOrder"),"line"),g=d.alpha,y=d.dashLength,b=d.gapSpace,w=d.connectDiscontinuousPoints,E=d.discontinuousType,S=d.discontinuousDashLength,x=d.discontinuousGapSpace,T=this._getGraphic();this._stacked?(t=this.get("stackedXCoords"),n=this.get("stackedYCoords")):(t=this.get("xcoords"),n=this.get("ycoords")),i=r==="vertical"?n.length:t.length,T.set("stroke",{weight:d.weight,color:m,opacity:g});for(p=0;p<i;p=++p){c=t[p],h=n[p],u=e(c)&&e(h);if(!u){o=u;continue}a?(a=!1,T.moveTo(c,h)):o?v!="dashed"?T.lineTo(c,h):this.drawDashedLine(T,f,l,c,h,y,b):w?E!="solid"?this.drawDashedLine(T,f,l,c,h,S,x):T.lineTo(c,h):T.moveTo(c,h),f=c,l=h,o=!0}T.end()},drawSpline:function(){if(this.get("xcoords").length<1)return;var e=this.get("xcoords"),t=this.get("ycoords"),n=this.getCurveControlPoints(e,t),r=n.length,i,s,o,u,a,f,l=0,c=this.get("styles").line,h=this._getGraphic(),p=c.alpha,d=c.color||this._getDefaultColor(this.get("graphOrder"),"line");h.set("stroke",{weight:c.weight,color:d,opacity:p}),h.moveTo(e[0],t[0]);for(;l<r;l=++l)a=n[l].endx,f=n[l].endy,i=n[l].ctrlx1,s=n[l].ctrlx2,o=n[l].ctrly1,u=n[l].ctrly2,h.curveTo(i,o,s,u,a,f);h.end()},drawDashedLine:function(e,t,n,r,i,s,o){s=s||10,o=o||10;var u=s+o,a=r-t,f=i-n,l=Math.sqrt(Math.pow(a,2)+Math.pow(f,2)),c=Math.floor(Math.abs(l/u)),h=Math.atan2(f,a),p=t,d=n,v;a=Math.cos(h)*u,f=Math.sin(h)*u;for(v=0;v<c;++v)e.moveTo(p,d),e.lineTo(p+Math.cos(h)*s,d+Math.sin(h)*s),p+=a,d+=f;e.moveTo(p,d),l=Math.sqrt((r-p)*(r-p)+(i-d)*(i-d)),l>s?e.lineTo(p+Math.cos(h)*s,d+Math.sin(h)*s):l>0&&e.lineTo(p+Math.cos(h)*l,d+Math.sin(h)*l),e.moveTo(r,i)},_getLineDefaults:function(){return{alpha:1,weight:6,lineType:"solid",dashLength:10,gapSpace:10,connectDiscontinuousPoints:!0,discontinuousType:"solid",discontinuousDashLength:10,discontinuousGapSpace:10}}},e.augment(C,e.Attribute),e.Lines=C,k.prototype={_getPath:function(){var e=this._path;return e||(e=this.get("graph").get("graphic").addShape({type:"path"}),this._path=e),e},_toggleVisible:function(e){this._path&&this._path.set("visible",e)},drawFill:function(e,t){if(e.length<1)return;var n=s.isNumber,r=e.length,i=e[0],o=t[0],u=i,a=o,f,l,c,h=!0,p=0,d=this.get("styles").area,v=this._getPath(),m=d.color||this._getDefaultColor(this.get("graphOrder"),"slice");v.clear(),v.set("fill",{color:m,opacity:d.alpha}),v.set("stroke",{weight:0});for(;p<r;p=++p){f=e[p],l=t[p],c=n(f)&&n(l);if(!c)continue;h?(this._firstValidX=f,this._firstValidY=l,h=!1,v.moveTo(f,l)):v.lineTo(f,l),u=f,a=l}this._lastValidX=u,this._lastValidY=a,v.end()},drawAreaSpline:function(){if(this.get("xcoords").length<1)return;var e=this.get("xcoords"),t=this.get("ycoords"),n=this.getCurveControlPoints(e,t),r=n.length,i,s,o,u,a,f,l=0,c=e[0],h=t[0],p=this.get("styles").area,d=this._getPath(),v=p.color||this._getDefaultColor(this.get("graphOrder"),"slice");d.set("fill",{color:v,opacity:p.alpha}),d.set("stroke",{weight:0}),d.moveTo(c,h);for(;l<r;l=++l)a=n[l].endx,f=n[l].endy,i=n[l].ctrlx1,s=n[l].ctrlx2,o=n[l].ctrly1,u=n[l].ctrly2,d.curveTo(i,o,s,u,a,f);this.get("direction")==="vertical"?(d.lineTo(this._leftOrigin,f),d.lineTo(this._leftOrigin,h)):(d.lineTo(a,this._bottomOrigin),d.lineTo(c,this._bottomOrigin)),d.lineTo(c,h),d.end()},drawStackedAreaSpline:function(){if(this.get("xcoords").length<1)return;var e=this.get("xcoords"),t=this.get("ycoords"),n,r=this.get("order"),i=this.get("type"),s=this.get("graph"),o=s.seriesTypes[i],u,a,f,l,c,h,p,d,v,m=0,g,y,b=this.get("styles").area,w=this._getPath(),E=b.color||this._getDefaultColor(this.get("graphOrder"),"slice");g=e[0],y=t[0],n=this.getCurveControlPoints(e,t),f=n.length,w.set("fill",{color:E,opacity:b.alpha}),w.set("stroke",{weight:0}),w.moveTo(g,y);for(;m<f;m=++m)d=n[m].endx,v=n[m].endy,l=n[m].ctrlx1,c=n[m].ctrlx2,h=n[m].ctrly1,p=n[m].ctrly2,w.curveTo(l,h,c,p,d,v);if(r>0){u=o[r-1].get("xcoords").concat().reverse(),a=o[r-1].get("ycoords").concat().reverse(),n=this.getCurveControlPoints(u,a),m=0,f=n.length,w.lineTo(u[0],a[0]);for(;m<f;m=++m)d=n[m].endx,v=n[m].endy,l=n[m].ctrlx1,c=n[m].ctrlx2,h=n[m].ctrly1,p=n[m].ctrly2,w.curveTo(l,h,c,p,d,v)}else this.get("direction")==="vertical"?(w.lineTo(this._leftOrigin,t[t.length-1]),w.lineTo(this._leftOrigin,y)):(w.lineTo(e[e.length-1],this._bottomOrigin),w.lineTo(g,this._bottomOrigin));w.lineTo(g,y),w.end()},_defaults:null,_getClosingPoints:function(){var e=this.get("xcoords").concat(),t=this.get("ycoords").concat(),n,r;return this.get("direction")==="vertical"?(r=this._getLastValidIndex(e),n=this._getFirstValidIndex(e),t.push(t[r]),t.push(t[n]),e.push(this._leftOrigin),e.push(this._leftOrigin)):(r=this._getLastValidIndex(t),n=this._getFirstValidIndex(t),e.push(e[r]),e.push(e[n]),t.push(this._bottomOrigin),t.push(this._bottomOrigin)),e.push(e[0]),t.push(t[0]),[e,t]},_getHighestValidOrder:function(e,t,n,r){var i=r=="vertical"?"stackedXCoords":"stackedYCoords",s;while(isNaN(s)&&n>-1)n-=1,n>-1&&(s=e[n].get(i)[t]);return n},_getCoordsByOrderAndIndex:function(e,t,n,r){var i,s;return r=="vertical"?(i=n<0?this._leftOrigin:e[n].get("stackedXCoords")[t],s=this.get("stackedYCoords")[t]):(i=this.get("stackedXCoords")[t],s=n<0?this._bottomOrigin:e[n].get("stackedYCoords")[t]),[i,s]},_getStackedClosingPoints:function(){var e=this.get("order"),t=this.get("type"),n=this.get("graph"),r=this.get("direction"),i=n.seriesTypes[t],s,o,u=this.get("stackedXCoords"),a=this.get("stackedYCoords"),f,l,c,h,p,d,v,m,g,y,b,w;if(e<1)return this._getClosingPoints();l=i[e-1],p=l.get("stackedXCoords").concat(),d=l.get("stackedYCoords").concat(),r=="vertical"?(s=this._getFirstValidIndex(u),o=this._getLastValidIndex(u),c=l._getFirstValidIndex(p),h=l._getLastValidIndex(p)):(s=this._getFirstValidIndex(a),o=this._getLastValidIndex(a),c=l._getFirstValidIndex(d),h=l._getLastValidIndex(d)),h>=s&&c<=o?(c=Math.max(s,c),h=Math.min(o,h),p=p.slice(c,h+1),d=d.slice(c,h+1),f=c):f=o,m=[u[s]],g=[a[s]],y=s;while((isNaN(b)||b<e-1)&&y<=f)w=b,b=this._getHighestValidOrder(i,y,e,r),!isNaN(w)&&b>w&&(v=this._getCoordsByOrderAndIndex(i,y,w,r),m.push(v[0]),g.push(v[1])),v=this._getCoordsByOrderAndIndex(i,y,b,r),m.push(v[0]),g.push(v[1]),y+=1;p&&p.length>0&&h>s&&c<o&&(m=m.concat(p),g=g.concat(d),b=e-1),y=Math.max(s,h),e-=1,b=NaN;while(y<=o)w=b,b=this._getHighestValidOrder(i,y,e,r),isNaN(w)||(b>w?(v=this._getCoordsByOrderAndIndex(i,y,w,r),m.push(v[0]),g.push(v[1])):b<w&&(v=this._getCoordsByOrderAndIndex(i,y-1,b,r),m.push(v[0]),g.push(v[1]))),v=this._getCoordsByOrderAndIndex(i,y,b,r),m.push(v[0]),g.push(v[1]),y+=1;return m.reverse(),g.reverse(),[u.concat(m),a.concat(g)]},_getAreaDefaults:function(){return{}}},e.augment(k,e.Attribute),e.Fills=k,L.prototype={_plotDefaults:null,drawPlots:function(){if(!this.get("xcoords")||this.get("xcoords").length<1)return;var t=s.isNumber,n=e.clone(this.get("styles").marker),r=n.width,i=n.height,o=this.get("xcoords"),u=this.get("ycoords"),a=0,f=o.length,l=u[0],c,h,p=r/2,d=i/2,v,m,g=null,y=null,b=this.get("graphOrder"),w=this.get("groupMarkers");if(w){v=[],m=[];for(;a<f;++a)v.push(parseFloat(o[a]-p)),m.push(parseFloat(u[a]-d));this._createGroupMarker({xvalues:v,yvalues:m,fill:n.fill,border:n.border,dimensions:{width:r,height:i},graphOrder:b,shape:n.shape});return}s.isArray(n.fill.color)&&(g=n.fill.color.concat()),s.isArray(n.border.color)&&(y=n.border.color.concat()),this._createMarkerCache();for(;a<f;++a){l=parseFloat(u[a]-d),c=parseFloat(o[a]-p);if(!t(c)||!t(l)){this._markers.push(null);continue}g&&(n.fill.color=g[a%g.length]),y&&(n.border.color=y[a%y.length]),n.x=c,n.y=l,h=this.getMarker(n,b,a)}this._clearMarkerCache()},_groupShapes:{circle:e.CircleGroup,rect:e.RectGroup,ellipse:e.EllipseGroup,diamond:e.DiamondGroup},_getGroupShape:function(e){return s.isString(e)&&(e=this._groupShapes[e]),e},_getPlotDefaults:function(){var e={fill:{type:"solid",alpha:1,colors:null,alphas:null,ratios:null},border:{weight:1,alpha:1},width:10,height:10,shape:"circle"};return e.fill.color=this._getDefaultColor(this.get("graphOrder"),"fill"),e.border.color=this._getDefaultColor(this.get("graphOrder"),"border"),e},_markers:null,_markerCache:null,getMarker:function(e,t,n){var r,i=e.border;e.id=this.get("chart").get("id")+"_"+t+"_"+n,i.opacity=i.alpha,e.stroke=i,e.fill.opacity=e.fill.alpha;if(this._markerCache.length>0){while(!r){if(this._markerCache.length<1){r=this._createMarker(e,t,n);break}r=this._markerCache.shift()}r.set(e)}else r=this._createMarker(e,t,n);return this._markers.push(r),r},_createMarker:function(t,n,r){var i=this.get("graphic"),s,o=e.clone(t);return i.set("autoDraw",!1),o.type=o.shape,s=i.addShape(o),s.addClass(p),s},_createMarkerCache:function(){this._groupMarker&&(this._groupMarker.destroy(),this._groupMarker=null),this._markers&&this._markers.length>0?this._markerCache=this._markers.concat():this._markerCache=[],this._markers=[]},_createGroupMarker:function(e){var t,n=this.get("markers"),r=e.border,i,s,o;if(n&&n.length>0){while(n.length>0)t=n.shift(),t.destroy();this.set("markers",[])}r.opacity=r.alpha,s={id:this.get("chart").get("id")+"_"+e.graphOrder,stroke:r,fill:e.fill,dimensions:e.dimensions,xvalues:e.xvalues,yvalues:e.yvalues},s.fill.opacity=e.fill.alpha,o=this._getGroupShape(e.shape),o&&(s.type=o),e.hasOwnProperty("radius")&&!isNaN(e.radius)&&(s.dimensions.radius=e.radius),this._groupMarker&&this._groupMarker.destroy(),i=this.get("graphic"),this._groupMarker=i.addShape(s),i._redraw()},_toggleVisible:function(e){var t,n=this.get("markers"),r=0,i;if(n){i=n.length;for(;r<i;++r)t=n[r],t&&t.set("visible",e)}},_clearMarkerCache:function(){var e;while(this._markerCache.length>0)e=this._markerCache.shift(),e&&e.destroy()},updateMarkerState:function(t,n){if(this._markers&&this._markers[n]){var r,i,s=e.clone(this.get("styles").marker),o=this._getState(t),u=this.get("xcoords"),a=this.get("ycoords"),f=this._markers[n],l=o=="off"||!s[o]?s:s[o];l.fill.color=this._getItemColor(l.fill.color,n),l.border.color=this._getItemColor(l.border.color,n),l.stroke=l.border,f.set(l),r=l.width,i=l.height,f.set("x",u[n]-r/2),f.set("y",a[n]-i/2),f.set("visible",this.get("visible"))}},_getItemColor:function(e,t){return s.isArray(e)?e[t%e.length]:e},_setStyles:function(t){return t=this._parseMarkerStyles(t),e.Renderer.prototype._setStyles.apply(this,[t])},_parseMarkerStyles:function(e){if(e.marker){var t=this._getPlotDefaults();e.marker=this._mergeStyles(e.marker,t),e.marker.over&&(e.marker.over=this._mergeStyles(e.marker.over,e.marker)),e.marker.down&&(e.marker.down=this._mergeStyles(e.marker.down,e.marker))}return e},_getState:function(e){var t;switch(e){case"mouseout":t="off";break;case"mouseover":t="over";break;case"mouseup":t="over";break;case"mousedown":t="down"}return t},_stateSyles:null},e.augment(L,e.Attribute),e.Plots=L,A.prototype={drawSeries:function(){if(this.get("xcoords").length<1)return;var t=e.clone(this.get("styles").marker),n,r,i=this.get("xcoords"),o=this.get("ycoords"),u=0,a=i.length,f=o[0],l=this.get("type"),c=this.get("graph"),h=c.seriesTypes[l],p=h.length,d=0,v=0,m=0,g,y,b=this.get("order"),w=this.get("graphOrder"),E,S,x,T,N,C=null,k=null,L=[],A=[],O,M,_,D,P={width:[],height:[]},H=[],B=[],j=this.get("groupMarkers");s.isArray(t.fill.color)&&(C=t.fill.color.concat()),s.isArray(t.border.color)&&(k=t.border.color.concat()),this.get("direction")=="vertical"?(x="height",T="width"):(x="width",T="height"),n=t[x],r=t[T],this._createMarkerCache();for(;u<p;++u)y=h[u],d+=y.get("styles").marker[x],b>u&&(m=d);v=a*d,this._maxSize=c.get(x),v>this._maxSize&&(g=c.get(x)/v,d*=g,m*=g,n*=g,n=Math.max(n,1),this._maxSize=n),m-=d/2;for(u=0;u<a;++u){O=i[u]-d/2,M=O+d,_=o[u]-d/2,D=_+d,L.push({start:O,end:M}),A.push({start:_,end:D});if(isNaN(i[u])||isNaN(o[u])){this._markers.push(null);continue}N=this._getMarkerDimensions(i[u],o[u],r,m),!isNaN(N.calculatedSize)&&N.calculatedSize>0?(f=N.top,E=N.left,j?(P[x][u]=n,P[T][u]=N.calculatedSize,H.push(E),B.push(f)):(t[x]=n,t[T]=N.calculatedSize,t.x=E,t.y=f,C&&(t.fill.color=C[u%C.length]),k&&(t.border.color=k[u%k.length]),S=this.getMarker(t,w,u))):j||this._markers.push(null)}this.set("xMarkerPlane",L),this.set("yMarkerPlane",A),j?this._createGroupMarker({fill:t.fill,border:t.border,dimensions:P,xvalues:H,yvalues:B,shape:t.shape}):this._clearMarkerCache()},_defaultFillColors:["#66007f","#a86f41","#295454","#996ab2","#e8cdb7","#90bdbd","#000000","#c3b8ca","#968373","#678585"],_getPlotDefaults:function(){var e={fill:{type:"solid",alpha:1,colors:null,alphas:null,ratios:null},border:{weight:0,alpha:1},width:12,height:12,shape:"rect",padding:{top:0,left:0,right:0,bottom:0}};return e.fill.color=this._getDefaultColor(this.get("graphOrder"),"fill"),e.border.color=this._getDefaultColor(this.get("graphOrder"),"border"),e}},e.Histogram=A,e.CartesianSeries=e.Base.create("cartesianSeries",e.Base,[e.Renderer],{_xDisplayName:null,_yDisplayName:null,_leftOrigin:null,_bottomOrigin:null,render:function(){this._setCanvas(),this.addListeners(),this.set("rendered",!0),this.validate()},addListeners:function(){var t=this.get("xAxis"),n=this.get("yAxis");t&&(this._xDataReadyHandle=t.after("dataReady",e.bind(this._xDataChangeHandler,this)),this._xDataUpdateHandle=t.after("dataUpdate",e.bind(this._xDataChangeHandler,this))),n&&(this._yDataReadyHandle=n.after("dataReady",e.bind(this._yDataChangeHandler,this)),this._yDataUpdateHandle=n.after("dataUpdate",e.bind(this._yDataChangeHandler,this))),this._xAxisChangeHandle=this.after("xAxisChange",this._xAxisChangeHandler),this._yAxisChangeHandle=this.after("yAxisChange",this._yAxisChangeHandler),this._stylesChangeHandle=this.after("stylesChange",function(e){var t=this._updateAxisData();t&&this.draw()}),this._widthChangeHandle=this.after("widthChange",function(e){var t=this._updateAxisData();t&&this.draw()}),this._heightChangeHandle=this.after("heightChange",function(e){var t=this._updateAxisData();t&&this.draw()}),this._visibleChangeHandle=this.after("visibleChange",this._handleVisibleChange)},_xAxisChangeHandler:function(t){var n=this.get("xAxis");n.after("dataReady",e.bind(this._xDataChangeHandler,this)),n.after("dataUpdate",e.bind(this._xDataChangeHandler,this))},_yAxisChangeHandler:function(t){var n=this.get("yAxis");n.after("dataReady",e.bind(this._yDataChangeHandler,this)),n.after("dataUpdate",e.bind(this._yDataChangeHandler,this))},GUID:"yuicartesianseries",_xDataChangeHandler:function(e){var t=this._updateAxisData();t&&this.draw()},_yDataChangeHandler:function(e){var t=this._updateAxisData();t&&this.draw()},_updateAxisData:function(){var e=this.get("xAxis"),t=this.get("yAxis"),n=this.get("xKey"),r=this.get("yKey"),i,s;return!e||!t||!n||!r?!1:(s=e.getDataByKey(n),i=t.getDataByKey(r),!s||!i?!1:(this.set("xData",s.concat()),this.set("yData",i.concat()),!0))},validate:function(){this.get("xData")&&this.get("yData")||this._updateAxisData()?this.draw():this.fire("drawingComplete")},_setCanvas:function(){var e=this.get("graph"),t=e.get("graphic");this.set("graphic",t)},setAreaData:function(){var e=s.isNumber,t,n,r=this.get("graph"),i=r.get("width"),o=r.get("height"),u=this.get("xAxis"),a=this.get("yAxis"),f=this.get("xData").concat(),l=this.get("yData").concat(),c,h,p=u.getEdgeOffset(f.length,i),d=a.getEdgeOffset(l.length,o),v=this.get("styles").padding,m=v.left,g=v.top,y=i-(m+v.right+p),b=o-(g+v.bottom+d),w=[],E=[],S=u.get("maximum"),x=u.get("minimum"),T=a.get("maximum"),N=a.get("minimum"),C=y/(S-x),k=b/(T-N),L,A=this.get("direction"),O=0,M=[],_=[],D=this.get("xMarkerPlaneOffset"),P=this.get("yMarkerPlaneOffset"),H=this.get("graphic");H.set("width",i),H.set("height",o),L=f.length,p*=.5,d*=.5,A==="vertical"&&(l=l.reverse()),this._leftOrigin=Math.round((0-x)*C+m+p),this._bottomOrigin=Math.round(b+g+d),N<0&&(this._bottomOrigin=this._bottomOrigin-(0-N)*k);for(;O<L;++O)c=parseFloat(f[O]),h=parseFloat(l[O]),e(c)?t=(c-x)*C+m+p:t=NaN,e(h)?n=b+g+d-(h-N)*k:n=NaN,w.push(t),E.push(n),M.push({start:t-D,end:t+D}),_.push({start:n-P,end:n+P});this.set("xcoords",w),this.set("ycoords",E),this.set("xMarkerPlane",M),this.set("yMarkerPlane",_),this._dataLength=L},_getFirstValidIndex:function(e){var t,n=-1,r=e.length;while(!s.isNumber(t)&&n<r)n+=1,t=e[n];return n},_getLastValidIndex:function(e){var t,n=e.length,r=-1;while(!s.isNumber(t)&&n>r)n-=1,t=e[n];return n},draw:function(){var e=this.get("graph"),t=e.get("width"),n=e.get("height");if(this.get("rendered")&&isFinite(t)&&isFinite(n)&&t>0&&n>0&&(this.get("xData")&&this.get("yData")||this._updateAxisData())){if(this._drawing){this._callLater=!0;return}this._drawing=!0,this._callLater=!1,this.setAreaData(),this.get("xcoords")&&this.get("ycoords")&&this.drawSeries(),this._drawing=!1,this._callLater?this.draw():(this._toggleVisible(this.get("visible")),this.fire("drawingComplete"))}},_defaultPlaneOffset:4,_getDefaultStyles:function(){return{padding:{top:0,left:0,right:0,bottom:0}}},_defaultLineColors:["#426ab3","#d09b2c","#000000","#b82837","#b384b5","#ff7200","#779de3","#cbc8ba","#7ed7a6","#007a6c"],_defaultFillColors:["#6084d0","#eeb647","#6c6b5f","#d6484f","#ce9ed1","#ff9f3b","#93b7ff","#e0ddd0","#94ecba","#309687"],_defaultBorderColors:["#205096","#b38206","#000000","#94001e","#9d6fa0","#e55b00","#5e85c9","#adab9e","#6ac291","#006457"],_defaultSliceColors:["#66007f","#a86f41","#295454","#996ab2","#e8cdb7","#90bdbd","#000000","#c3b8ca","#968373","#678585"],_getDefaultColor:function(e,t){var n={line:this._defaultLineColors,fill:this._defaultFillColors,border:this._defaultBorderColors,slice:this._defaultSliceColors},r=n[t],i=r.length;return e=e||0,e>=i&&(e%=i),t=t||"fill",n[t][e]},_handleVisibleChange:function(e){this._toggleVisible(this.get("visible"))},getTotalValues:function(){var e=this.get("valueAxis").getTotalByKey(this.get("valueKey"));return e},destructor:function(){var t,n=this.get("markers");this.get("rendered")&&(this._xDataReadyHandle&&this._xDataReadyHandle.detach(),this._xDataUpdateHandle&&this._xDataUpdateHandle.detach(),this._yDataReadyHandle&&this._yDataReadyHandle.detach(),this._yDataUpdateHandle&&this._yDataUpdateHandle.detach(),this._xAxisChangeHandle.detach(),this._yAxisChangeHandle.detach(),this._stylesChangeHandle.detach(),this._widthChangeHandle.detach(),this._heightChangeHandle.detach(),this._visibleChangeHandle.detach());while(n&&n.length>0)t=n.shift(),t&&t instanceof e.Shape&&t.destroy();this._path&&(this._path.destroy(),this._path=null),this._lineGraphic&&(this._lineGraphic.destroy(),this._lineGraphic=null),this._groupMarker&&(this._groupMarker.destroy(),this._groupMarker=null)}},{ATTRS:{xDisplayName:{getter:function(){return this._xDisplayName||this.get("xKey")},setter:function(e){return this._xDisplayName=e.toString(),e}},yDisplayName:{getter:function(){return this._yDisplayName||this.get("yKey")},setter:function(e){return this._yDisplayName=e.toString(),e}},categoryDisplayName:{lazyAdd:!1,getter:function(){return this.get("direction")=="vertical"?this.get("yDisplayName"):this.get("xDisplayName")},setter:function(e){return this.get("direction")=="vertical"?this._yDisplayName=e:this._xDisplayName=e,e}},valueDisplayName:{lazyAdd:!1,getter:function(){return this.get("direction")=="vertical"?this.get("xDisplayName"):this.get("yDisplayName")},setter:function(e){return this.get("direction")=="vertical"?this._xDisplayName=e:this._yDisplayName=e,e}},type:{value:"cartesian"},order:{},graphOrder:{},xcoords:{},ycoords:{},chart:{readOnly:!0,getter:function(){return this.get("graph").get("chart")}},graph:{},xAxis:{},yAxis:{},xKey:{setter:function(e){return e.toString()}},yKey:{setter:function(e){return e.toString()}},xData:{},yData:{},rendered:{value:!1},width:{readOnly:!0,getter:function(){this.get("graph").get("width")}},height:{readOnly:!0,getter:function(){this.get("graph").get("height")}},visible:{value:!0},xMarkerPlane:{},yMarkerPlane:{},xMarkerPlaneOffset:{getter:function(){var e=this.get("styles").marker;return e&&e.width&&isFinite(e.width)?e.width*.5:this._defaultPlaneOffset}},yMarkerPlaneOffset:{getter:function(){var e=this.get("styles").marker;return e&&e.height&&isFinite(e.height)?e.height*.5:this._defaultPlaneOffset}},direction:{value:"horizontal"},groupMarkers:{getter:function(){return this._groupMarkers===undefined?this.get("graph").get("groupMarkers"):this._groupMarkers},setter:function(e){return this._groupMarkers=e,e}}}}),e.MarkerSeries=e.Base.create("markerSeries",e.CartesianSeries,[e.Plots],{drawSeries:function(){this.drawPlots()},_setStyles:function(t){return t.marker||(t={marker:t}),t=this._parseMarkerStyles(t),e.MarkerSeries.superclass._mergeStyles.apply(this,[t,this._getDefaultStyles()])},_getDefaultStyles:function(){var t=this._mergeStyles({marker:this._getPlotDefaults()},e.MarkerSeries.superclass._getDefaultStyles());return t}},{ATTRS:{type:{value:"marker"}}}),e.LineSeries=e.Base.create("lineSeries",e.CartesianSeries,[e.Lines],{drawSeries:function(){this.drawLines()},_setStyles:function(t){return t.line||(t={line:t}),e.LineSeries.superclass._setStyles.apply(this,[t])},_getDefaultStyles:function(){var t=this._mergeStyles({line:this._getLineDefaults()},e.LineSeries.superclass._getDefaultStyles());return t}},{ATTRS:{type:{value:"line"}}}),e.SplineSeries=e.Base.create("splineSeries",e.LineSeries,[e.CurveUtil,e.Lines],{drawSeries:function(){this.drawSpline()}},{ATTRS:{type:{value:"spline"}}}),e.StackedSplineSeries=e.Base.create("stackedSplineSeries",e.SplineSeries,[e.StackingUtil],{setAreaData:function(){e.StackedSplineSeries.superclass.setAreaData.apply(this),this._stackCoordinates.apply(this)}},{ATTRS:{type:{value:"stackedSpline"}}}),e.StackedMarkerSeries=e.Base.create("stackedMarkerSeries",e.MarkerSeries,[e.StackingUtil],{setAreaData:function(){e.StackedMarkerSeries.superclass.setAreaData.apply(this),this._stackCoordinates.apply(this)}},{ATTRS:{type:{value:"stackedMarker"}}}),e.ColumnSeries=e.Base.create("columnSeries",e.MarkerSeries,[e.Histogram],{_getMarkerDimensions:function(e,t,n,r){var i={left:e+r};return this._bottomOrigin>=t?(i.top=t,i.calculatedSize=this._bottomOrigin-i.top):(i.top=this._bottomOrigin,i.calculatedSize=t-this._bottomOrigin),i},updateMarkerState:function(t,n){if(this._markers&&this._markers[n]){var r=e.clone(this.get("styles").marker),i,s=this._getState(t),o=this.get("xcoords"),u=this.get("ycoords"),a=this._markers[n],f,l=this.get("graph"),c,h=l.seriesTypes[this.get("type")],p=h.length,d=0,v=0,m,g=0,y=[],b=this.get("order"),w;i=s=="off"||!r[s]?e.clone(r):e.clone(r[s]),i.fill.color=this._getItemColor(i.fill.color,n),i.border.color=this._getItemColor(i.border.color,n),w=this._getMarkerDimensions(o[n],u[n],r.width,v),i.height=w.calculatedSize,i.width=Math.min(this._maxSize,i.width),a.set(i);for(;g<p;++g)y[g]=o[n]+d,c=h[g].get("styles").marker,d+=Math.min(this._maxSize,c.width),b>g&&(v=d),v-=d/2;for(g=0;g<p;++g)f=h[g].get("markers"),f&&(m=f[n],m&&m!==undefined&&m.set("x",y[g]-d/2))}}},{ATTRS:{type:{value:"column"}}}),e.BarSeries=e.Base.create("barSeries",e.MarkerSeries,[e.Histogram],{_getMarkerDimensions:function(e,t,n,r){var i={top:t+r};return e>=this._leftOrigin?(i.left=this._leftOrigin,i.calculatedSize=e-i.left):(i.left=e,i.calculatedSize=this._leftOrigin-e),i},updateMarkerState:function(t,n){if(this._markers&&this._markers[n]){var r=e.clone(this.get("styles").marker),i,s=this._getState(t),o=this.get("xcoords"),u=this.get("ycoords"),a=this._markers[n],f,l=this.get("graph"),c=l.seriesTypes[this.get("type")],h=c.length,p,d=0,v=0,m,g=0,y=[],b=this.get("order"),w;i=s=="off"||!r[s]?r:r[s],i.fill.color=this._getItemColor(i.fill.color,n),i.border.color=this._getItemColor(i.border.color,n),w=this._getMarkerDimensions(o[n],u[n],r.height,v),i.width=w.calculatedSize,i.height=Math.min(this._maxSize,i.height),a.set(i);for(;g<h;++g)y[g]=u[n]+d,p=c[g].get("styles").marker,d+=Math.min(this._maxSize,p.height),b>g&&(v=d),v-=d/2;for(g=0;g<h;++g)f=c[g].get("markers"),f&&(m=f[n],m&&m!==undefined&&m.set("y",y[g]-d/2))}}},{ATTRS:{type:{value:"bar"},direction:{value:"vertical"}}}),e.AreaSeries=e.Base.create("areaSeries",e.CartesianSeries,[e.Fills],{drawSeries:function(){this.drawFill.apply(this,this._getClosingPoints())},_setStyles:function(t){return t.area||(t={area:t}),e.AreaSeries.superclass._setStyles.apply(this,[t])},_getDefaultStyles:function(){var t=this._mergeStyles({area:this._getAreaDefaults()},e.AreaSeries.superclass._getDefaultStyles());return t}},{ATTRS:{type:{value:"area"}}}),e.AreaSplineSeries=e.Base.create("areaSplineSeries",e.AreaSeries,[e.CurveUtil],{drawSeries:function(){this.drawAreaSpline()}},{ATTRS:{type:{value:"areaSpline"}}}),e.StackedAreaSplineSeries=e.Base.create("stackedAreaSplineSeries",e.AreaSeries,[e.CurveUtil,e.StackingUtil],{drawSeries:function(){this._stackCoordinates(),this.drawStackedAreaSpline()}},{ATTRS:{type:{value:"stackedAreaSpline"}}}),e.ComboSeries=e.Base.create("comboSeries",e.CartesianSeries,[e.Fills,e.Lines,e.Plots],{drawSeries:function(){this.get("showAreaFill")&&this.drawFill.apply(this,this._getClosingPoints()),this.get("showLines")&&this.drawLines(),this.get("showMarkers")&&this.drawPlots()},_toggleVisible:function(e){var t,n,r,i;this.get("showAreaFill")&&this._path&&this._path.set("visible",e),this.get("showLines")&&this._lineGraphic&&this._lineGraphic.set("visible",e);if(this.get("showMarkers")){t=this.get("markers");if(t){i=0,r=t.length;for(;i<r;++i)n=t[i],n&&n.set("visible",e)}}},_getDefaultStyles:function(){var t=e.ComboSeries.superclass._getDefaultStyles();return t.line=this._getLineDefaults(),t.marker=this._getPlotDefaults(),t.area=this._getAreaDefaults(),t}},{ATTRS:{type:{value:"combo"},showAreaFill:{value:!1},showLines:{value:!0},showMarkers:{value:!0},marker:{lazyAdd:!1,getter:function(){return this.get("styles").marker},setter:function(e){this.set("styles",{marker:e})}},line:{lazyAdd:!1,getter:function(){return this.get("styles").line},setter:function(e){this.set("styles",{line:e})}},area:{lazyAdd:!1,getter:function(){return this.get("styles").area},setter:function(e){this.set("styles",{area:e})}}}}),e.StackedComboSeries=e.Base.create("stackedComboSeries",e.ComboSeries,[e.StackingUtil],{setAreaData:function(){e.StackedComboSeries.superclass.setAreaData.apply(this),this._stackCoordinates.apply(this)},drawSeries:function(){this.get("showAreaFill")&&this.drawFill.apply(this,this._getStackedClosingPoints()),this.get("showLines")&&this.drawLines(),this.get("showMarkers")&&this.drawPlots()}},{ATTRS:{type:{value:"stackedCombo"},showAreaFill:{value:!0}}}),e.ComboSplineSeries=e.Base.create("comboSplineSeries",e.ComboSeries,[e.CurveUtil],{drawSeries:function(){this.get("showAreaFill")&&this.drawAreaSpline(),this.get("showLines")&&this.drawSpline(),this.get("showMarkers")&&this.drawPlots()}},{ATTRS:{type:{value:"comboSpline"}}}),e.StackedComboSplineSeries=e.Base.create("stackedComboSplineSeries",e.StackedComboSeries,[e.CurveUtil],{drawSeries:function(){this.get("showAreaFill")&&this.drawStackedAreaSpline(),this.get("showLines")&&this.drawSpline(),this.get("showMarkers")&&this.drawPlots()}},{ATTRS:{type:{value:"stackedComboSpline"},showAreaFill:{value:!0}}}),e.StackedLineSeries=e.Base.create("stackedLineSeries",e.LineSeries,[e.StackingUtil],{setAreaData:function(){e.StackedLineSeries.superclass.setAreaData.apply(this),this._stackCoordinates.apply(this)}},{ATTRS:{type:{value:"stackedLine"}}}),e.StackedAreaSeries=e.Base.create("stackedAreaSeries",e.AreaSeries,[e.StackingUtil],{setAreaData:function(){e.StackedAreaSeries.superclass.setAreaData.apply(this),this._stackCoordinates.apply(this)},drawSeries:function(){this.drawFill.apply(this,this._getStackedClosingPoints())}},{ATTRS:{type:{value:"stackedArea"}}}),e.StackedColumnSeries=e.Base.create("stackedColumnSeries",e.ColumnSeries,[e.StackingUtil],{drawSeries:function(){if(this.get("xcoords").length<1)return;var t=s.isNumber,n=e.clone(this.get("styles").marker),r=n.width,i=n.height,o=this.get("xcoords"),u=this.get("ycoords"),a=0,f=o.length,l=u[0],c=this.get("type"),h=this.get("graph"),p=h.seriesTypes[c],d,v=this.get("order"),m=this.get("graphOrder"),g,y,b,w,E,S,x,T=v===0,N=f*r,C={width:[],height:[]},k=[],L=[],A=this.get("groupMarkers");s.isArray(n.fill.color)&&(b=n.fill.color.concat()),s.isArray(n.border.color)&&(w=n.border.color.concat()),this._createMarkerCache(),N>this.get("width")&&(d=this.width/N,r*=d,r=Math.max(r,1));if(!T){E=p[v-1],S=E.get("negativeBaseValues"),x=E.get("positiveBaseValues");if(!S||!x)T=!0,x=[],S=[]}else S=[],x=[];this.set("negativeBaseValues",S),this.set("positiveBaseValues",x);for(a=0;a<f;++a){g=o[a],l=u[a];if(!t(l)||!t(g)){T&&(S[a]=this._bottomOrigin,x[a]=this._bottomOrigin),this._markers.push(null);continue}T?(i=Math.abs(this._bottomOrigin-l),l<this._bottomOrigin?(x[a]=l,S[a]=this._bottomOrigin):l>this._bottomOrigin?(x[a]=this._bottomOrigin,S[a]=l,l-=i):(x[a]=l,S[a]=l)):l>this._bottomOrigin?(l+=S[a]-this._bottomOrigin,i=l-S[a],S[a]=l,l-=i):l<=this._bottomOrigin&&(l=x[a]-(this._bottomOrigin-l),i=x[a]-l,x[a]=l),!isNaN(i)&&i>0?(g-=r/2,A?(C.width[a]=r,C.height[a]=i,k.push(g),L.push(l)):(n.width=r,n.height=i,n.x=g,n.y=l,b&&(n.fill.color=b[a%b.length]),w&&(n.border.color=w[a%w.length]),y=this.getMarker(n,m,a))):A||this._markers.push(null)}A?this._createGroupMarker({fill:n.fill,border:n.border,dimensions:C,xvalues:k,yvalues:L,shape:n.shape}):this._clearMarkerCache()},updateMarkerState:function(t,n){if(this._markers&&this._markers[n]){var r,i,o=this._getState(t),u=this.get("xcoords"),a=this._markers[n],f=0,l,c;r=this.get("styles").marker,f=r.width*.5,i=o=="off"||!r[o]?e.clone(r):e.clone(r[o]),i.height=a.get("height"),i.x=u[n]-f,i.y=a.get("y"),i.id=a.get("id"),l=i.fill.color,c=i.border.color,s.isArray(l)?i.fill.color=l[n%l.length]:i.fill.color=this._getItemColor(i.fill.color,n),s.isArray(c)?i.border.color=c[n%c.length]:i.border.color=this._getItemColor(i.border.color,n),a.set(i)}},_getPlotDefaults:function(){var e={fill:{type:"solid",alpha:1,colors:null,alphas:null,ratios:null},border:{weight:0,alpha:1},width:24,height:24,shape:"rect",padding:{top:0,left:0,right:0,bottom:0}};return e.fill.color=this._getDefaultColor(this.get("graphOrder"),"fill"),e.border.color=this._getDefaultColor(this.get("graphOrder"),"border"),e}},{ATTRS:{type:{value:"stackedColumn"},negativeBaseValues:{value:null},positiveBaseValues:{value:null}}}),e.StackedBarSeries=e.Base.create("stackedBarSeries",e.BarSeries,[e.StackingUtil],{drawSeries:function(){if(this.get("xcoords").length<1)return;var t=s.isNumber,n=e.clone(this.get("styles").marker),r=n.width,i=n.height,o=this.get("xcoords"),u=this.get("ycoords"),a=0,f=o.length,l=u[0],c=this.get("type"),h=this.get("graph"),p=h.seriesTypes[c],d,v=this.get("order"),m=this.get("graphOrder"),g,y,b,w,E,S,x,T=v===0,N=f*i,C={width:[],height:[]},k=[],L=[],A=this.get("groupMarkers");s.isArray(n.fill.color)&&(S=n.fill.color.concat()),s.isArray(n.border.color)&&(x=n.border.color.concat()),this._createMarkerCache(),N>this.get("height")&&(d=this.height/N,i*=d,i=Math.max(i,1));if(!T){b=p[v-1],w=b.get("negativeBaseValues"),E=b.get("positiveBaseValues");if(!w||!E)T=!0,E=[],w=[]}else w=[],E=[];this.set("negativeBaseValues",w),this.set("positiveBaseValues",E);for(a=0;a<f;++a){l=u[a],g=o[a];if(!t(l)||!t(g)){T&&(E[a]=this._leftOrigin,w[a]=this._leftOrigin),this._markers.push(null);continue}T?(r=Math.abs(g-this._leftOrigin),g>this._leftOrigin?(E[a]=g,w[a]=this._leftOrigin,g-=r):g<this._leftOrigin?(E[a]=this._leftOrigin,w[a]=g):(E[a]=g,w[a]=this._leftOrigin)):g<this._leftOrigin?(g=w[a]-(this._leftOrigin-o[a]),r=w[a]-g,w[a]=g):g>=this._leftOrigin&&(g+=E[a]-this._leftOrigin,r=g-E[a],E[a]=g,g-=r),!isNaN(r)&&r>0?(l-=i/2,A?(C.width[a]=r,C.height[a]=i,k.push(g),L.push(l)):(n.width=r,n.height=i,n.x=g,n.y=l,S&&(n.fill.color=S[a%S.length]),x&&(n.border.color=x[a%x.length]),y=this.getMarker(n,m,a))):A||this._markers.push(null)}A?this._createGroupMarker({fill:n.fill,border:n.border,dimensions:C,xvalues:k,yvalues:L,shape:n.shape}):this._clearMarkerCache()},updateMarkerState:function(t,n){if(this._markers[n]){var r=this._getState(t),i=this.get("ycoords"),o=this._markers[n],u=this.get("styles").marker,a=u.height,f=r=="off"||!u[r]?e.clone(u):e.clone(u[r]),l,c;f.y=i[n]-a/2,f.x=o.get("x"),f.width=o.get("width"),f.id=o.get("id"),l=f.fill.color,c=f.border.color,s.isArray(l)?f.fill.color=l[n%l.length]:f.fill.color=this._getItemColor(f.fill.color,n),s.isArray(c)?f.border.color=c[n%c.length]:f.border.color=this._getItemColor(f.border.color,n),o.set(f)}},_getPlotDefaults:function(){var e={fill:{type:"solid",alpha:1,colors:null,alphas:null,ratios:null},border:{weight:0,alpha:1},width:24,height:24,shape:"rect",padding:{top:0,left:0,right:0,bottom:0}};return e.fill.color=this._getDefaultColor(this.get("graphOrder"),"fill"),e.border.color=this._getDefaultColor(this.get("graphOrder"),"border"),e}},{ATTRS:{type:{value:"stackedBar"},direction:{value:"vertical"},negativeBaseValues:{value:null},positiveBaseValues:{value:null}}}),e.PieSeries=e.Base.create("pieSeries",e.MarkerSeries,[],{_map:null,_image:null,_setMap:function(){var e="pieHotSpotMapi_"+Math.round(1e5*Math.random()),t=this.get("graph").get("contentBox"),n;if(this._image){t.removeChild(this._image);while(this._areaNodes&&this._areaNodes.length>0)n=this._areaNodes.shift(),this._map.removeChild(n);t.removeChild(this._map)}this._image=i.createElement("img"),this._image.src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAABCAYAAAD9yd/wAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAABJJREFUeNpiZGBgSGPAAgACDAAIkABoFyloZQAAAABJRU5ErkJggg==",t.appendChild(this._image),this._image.setAttribute("usemap","#"+e),this._image.style.zIndex=3,this._image.style.opacity=0,this._image.setAttribute("alt","imagemap"),this._map=i.createElement("map"),this._map.style.zIndex=5,t.appendChild(this._map),this._map.setAttribute("name",e),this._map.setAttribute("id",e),this._areaNodes=[]},_categoryDisplayName:null,_valueDisplayName:null,addListeners:function(){var t=this.get("categoryAxis"),n=this.get("valueAxis");t&&(t.after("dataReady",e.bind(this._categoryDataChangeHandler,this)),t.after("dataUpdate",e.bind(this._categoryDataChangeHandler,this))),n&&(n.after("dataReady",e.bind(this._valueDataChangeHandler,this)),n.after("dataUpdate",e.bind(this._valueDataChangeHandler,this))),this.after("categoryAxisChange",this.categoryAxisChangeHandler),this.after("valueAxisChange",this.valueAxisChangeHandler),this.after("stylesChange",this._updateHandler)},validate:function(){this.draw(),this._renderered=!0},_categoryAxisChangeHandler:function(t){var n=this.get("categoryAxis");n.after("dataReady",e.bind(this._categoryDataChangeHandler,this)),n.after("dataUpdate",e.bind(this._categoryDataChangeHandler,this))},_valueAxisChangeHandler:function(t){var n=this.get("valueAxis");n.after("dataReady",e.bind(this._valueDataChangeHandler,this)),n.after("dataUpdate",e.bind(this._valueDataChangeHandler,this))},GUID:"pieseries",_categoryDataChangeHandler:function(e){this._rendered&&this.get("categoryKey")&&this.get("valueKey")&&this.draw()},_valueDataChangeHandler:function(e){this._rendered&&this.get("categoryKey")&&this.get("valueKey")&&this.draw()},draw:function(){var e=this.get("graph"),t=e.get("width"),n=e.get("height");if(isFinite(t)&&isFinite(n)&&t>0&&n>0){this._rendered=!0;if(this._drawing){this._callLater=!0;return}this._drawing=!0,this._callLater=!1,this.drawSeries(),this._drawing=!1,this._callLater?this.draw():this.fire("drawingComplete")}},drawPlots:function(){var t=this.get("valueAxis").getDataByKey(this.get("valueKey")).concat(),n=this.get("categoryAxis").getDataByKey(this.get("categoryKey")).concat(),r=0,i=t.length,s=this.get("styles").marker,o=s.fill.colors,u=s.fill.alphas||["1"],a=s.border.colors,f=[s.border.weight],l=[s.border.alpha],c=f.concat(),h=a.concat(),p=l.concat(),d,v,m=s.padding,g=this.get("graph"),y=Math.min(g.get("width"),g.get("height")),b=y-(m.left+m.right),w=y-(m.top+m.bottom),E=-90,S=b/2,x=w/2,T=Math.min(S,x),N=0,C,k=0,L,A,O,M,_,D=this.get("graphOrder"),P=e.Graphic.NAME=="canvasGraphic";for(;N<i;++N)C=parseFloat(t[N]),t.push(C),isNaN(C)||(r+=C);d=o?o.concat():null,v=u?u.concat():null,this._createMarkerCache(),P&&(this._setMap(),this._image.width=b,this._image.height=w);for(N=0;N<i;N++)C=t[N],r===0?k=360/t.length:k=360*(C/r),d&&d.length<1&&(d=o.concat()),v&&v.length<1&&(v=u.concat()),c&&c.length<1&&(c=f.concat()),c&&h.length<1&&(h=a.concat()),p&&p.length<1&&(p=l.concat()),O=c?c.shift():null,L=h?h.shift():null,A=p?p.shift():null,E+=k,M={border:{color:L,weight:O,alpha:A},fill:{color:d?d.shift():this._getDefaultColor(N,"slice"),alpha:v?v.shift():null},type:"pieslice",arc:k,radius:T,startAngle:E,cx:S,cy:x,width:b,height:w},_=this.getMarker(M,D,N),P&&this._addHotspot(M,D,N);this._clearMarkerCache()},_addHotspot:function(e,t,n){var r=i.createElement("area"),s=1,o=e.cx,u=e.cy,a=e.arc,f=e.startAngle-a,l=e.startAngle,c=e.radius,h=o+Math.cos(f/180*Math.PI)*c,d=u+Math.sin(f/180*Math.PI)*c,v=o+Math.cos(l/180*Math.PI)*c,m=u+Math.sin(l/180*Math.PI)*c,g=Math.floor(a/10)-1,y=a/Math.floor(a/10)/180*Math.PI,b=Math.atan((d-u)/(h-o)),w=o+", "+u+", "+h+", "+d,E,S,x;for(s=1;s<=g;++s)x=y*s,E=Math.cos(b+x),S=Math.sin(b+x),f<=90?(w+=", "+(o+c*Math.cos(b+y*s)),w+=", "+(u+c*Math.sin(b+y*s))):(w+=", "+(o-c*Math.cos(b+y*s)),w+=", "+(u-c*Math.sin(b+y*s)));w+=", "+v+", "+m,w+=", "+o+", "+u,this._map.appendChild(r),r.setAttribute("class",p),r.setAttribute("id","hotSpot_"+t+"_"+n),r.setAttribute("shape","polygon"),r.setAttribute("coords",w),this._areaNodes.push(r)},updateMarkerState:function(e,t){if(this._markers[t]){var n=this._getState(e),r,i,s=this._markers[t],o=this.get("styles").marker;r=n=="off"||!o[n]?o:o[n],i=this._mergeStyles(r,{}),i.fill.color=i.fill.colors[t%i.fill.colors.length],i.fill.alpha=i.fill.alphas[t%i.fill.alphas.length],s.set(i)}},_createMarker:function(t,n,r){var i=this.get("graphic"),s,o=e.clone(t);return i.set("autoDraw",!1),s=i.addShape(o),s.addClass(p),s},_clearMarkerCache:function(){var e=this._markerCache.length,t=0,n;for(;t<e;++t)n=this._markerCache[t],n&&n.destroy();this._markerCache=[]},_getPlotDefaults:function(){var e={padding:{top:0,left:0,right:0,bottom:0},fill:{alphas:["1"]},border:{weight:0,alpha:1}};return e.fill.colors=this._defaultSliceColors,e.border.colors=this._defaultBorderColors,e},_defaultLineColors:["#426ab3","#d09b2c","#000000","#b82837","#b384b5","#ff7200","#779de3","#cbc8ba","#7ed7a6","#007a6c"],_defaultFillColors:["#6084d0","#eeb647","#6c6b5f","#d6484f","#ce9ed1","#ff9f3b","#93b7ff","#e0ddd0","#94ecba","#309687"],_defaultBorderColors:["#205096","#b38206","#000000","#94001e","#9d6fa0","#e55b00","#5e85c9","#adab9e","#6ac291","#006457"],_defaultSliceColors:["#66007f","#a86f41","#295454","#996ab2","#e8cdb7","#90bdbd","#000000","#c3b8ca","#968373","#678585"],_getDefaultColor:function(e,t){var n={line:this._defaultLineColors,fill:this._defaultFillColors,border:this._defaultBorderColors,slice:this._defaultSliceColors},r=n[t],i=r.length;return e=e||0,e>=i&&(e%=i),t=t||"fill",n[t][e]}},{ATTRS:{type:{value:"pie"},order:{},graph:{},categoryAxis:{value:null,validator:function(e){return e!==this.get("categoryAxis")}},valueAxis:{value:null,validator:function(e){return e!==this.get("valueAxis")}},categoryKey:{value:null,validator:function(e){return e!==this.get("categoryKey")}},valueKey:{value:null,validator:function(e){return e!==this.get("valueKey")}},categoryDisplayName:{setter:function(e){return this._categoryDisplayName=e,e},getter:function(){return this._categoryDisplayName||this.get("categoryKey")}},valueDisplayName:{setter:function(e){return this._valueDisplayName=e,e},getter:function(){return this._valueDisplayName||this.get("valueKey")}},slices:null}}),e.Gridlines=e.Base.create("gridlines",e.Base,[e.Renderer],{_path:null,remove:function(){var e=this._path;e&&e.destroy()},draw:function(){this.get("axis")&&this.get("graph")&&this._drawGridlines()},_drawGridlines:function(){var e,t=this.get("axis"),n=t.get("position"),r,i=0,s,o=this.get("direction"),u=this.get("graph"),a=u.get("width"),f=u.get("height"),l=this.get("styles").line,c=l.color,h=l.weight,p=l.alpha,d=o=="vertical"?this._verticalLine:this._horizontalLine;if(isFinite(a)&&isFinite(f)&&a>0&&f>0){if(n!="none"&&t&&t.get("tickPoints"))r=t.get("tickPoints"),s=r.length;else{r=[],s=t.get("styles").majorUnit.count;for(;i<s;++i)r[i]={x:a*(i/(s-1)),y:f*(i/(s-1))};i=0}e=u.get("gridlines"),e.set("width",a),e.set("height",f),e.set("stroke",{weight:h,color:c,opacity:p});for(;i<s;++i)d(e,r[i],a,f);e.end()}},_horizontalLine:function(e,t,n,r){e.moveTo(0,t.y),e.lineTo(n,t.y)},_verticalLine:function(e,t,n,r){e.moveTo(t.x,0),e.lineTo(t.x,r)},_getDefaultStyles:function(){var e={line:{color:"#f0efe9",weight:1,alpha:1}};return e}},{ATTRS:{direction:{},axis:{},graph:{}}}),e.Graph=e.Base.create("graph",e.Widget,[e.Renderer],{bindUI:function(){var e=this.get("boundingBox");e.setStyle("position","absolute"),this.after("widthChange",this._sizeChangeHandler),this.after("heightChange",this._sizeChangeHandler),this.after("stylesChange",this._updateStyles),this.after("groupMarkersChange",this._drawSeries)},syncUI:function(){var t,n,r,i=this.get("seriesCollection"),s,o=0,u=i?i.length:0,a=this.get("horizontalGridlines"),f=this.get("verticalGridlines");this.get("showBackground")&&(t=this.get("background"),n=this.get("contentBox"),r=this.get("styles").background,r.stroke=r.border,r.stroke.opacity=r.stroke.alpha,r.fill.opacity=r.fill.alpha,r.width=this.get("width"),r.height=this.get("height"),r.type=r.shape,t.set(r));for(;o<u;++o)s=i[o],s instanceof e.CartesianSeries&&s.render();a&&a instanceof e.Gridlines&&a.draw(),f&&f instanceof e.Gridlines&&f.draw()},seriesTypes:null,getSeriesByIndex:function(e){var t=this.get("seriesCollection"),n;return t&&t.length>e&&(n=t[e]),n},getSeriesByKey:function(e){var t=this._seriesDictionary,n;return t&&t.hasOwnProperty(e)&&(n=t[e]),n},addDispatcher:function(e){this._dispatchers||(this._dispatchers=[]),this._dispatchers.push(e)},_seriesCollection:null,_seriesDictionary:null,_parseSeriesCollection:function(t){if(!t)return;var n=t.length,r=0,i,s;this._seriesCollection=[],this._seriesDictionary={},this.seriesTypes=[];for(;r<n;++r){i=t[r];if(!(i instanceof e.CartesianSeries||i instanceof e.PieSeries)){this._createSeries(i);continue}this._addSeries(i)}n=this._seriesCollection.length;for(r=0;r<n;++r)i=this.get("seriesCollection")[r],s=i.get("direction")=="horizontal"?"yKey":"xKey",this._seriesDictionary[i.get(s)]=i},_addSeries:function(t){var n=t.get("type"),r=this.get("seriesCollection"),i=r.length,s=this.seriesTypes,o;t.get("graph")||t.set("graph",this),r.push(t),s.hasOwnProperty(n)||(this.seriesTypes[n]=[]),o=this.seriesTypes[n],t.set("graphOrder",i),t.set("order",o.length),o.push(t),this.addDispatcher(t),t.after("drawingComplete",e.bind(this._drawingCompleteHandler,this)),this.fire("seriesAdded",t)},_createSeries:function(t){var n=t.type,r=this.get("seriesCollection"),i=this.seriesTypes,s,o,u;t.graph=this,i.hasOwnProperty(n)||(i[n]=[]),s=i[n],t.graph=this,t.order=s.length,t.graphOrder=r.length,o=this._getSeries(t.type),u=new o(t),this.addDispatcher(u),u.after("drawingComplete",e.bind(this._drawingCompleteHandler,this)),s.push(u),r.push(u),this.get("rendered")&&u.render()},_seriesMap:{line:e.LineSeries,column:e.ColumnSeries,bar:e.BarSeries,area:e.AreaSeries,candlestick:e.CandlestickSeries,ohlc:e.OHLCSeries,stackedarea:e.StackedAreaSeries,stackedline:e.StackedLineSeries,stackedcolumn:e.StackedColumnSeries,stackedbar:e.StackedBarSeries,markerseries:e.MarkerSeries,spline:e.SplineSeries,areaspline:e.AreaSplineSeries,stackedspline:e.StackedSplineSeries,stackedareaspline:e.StackedAreaSplineSeries,stackedmarkerseries:e.StackedMarkerSeries,pie:e.PieSeries,combo:e.ComboSeries,stackedcombo:e.StackedComboSeries,combospline:e.ComboSplineSeries,stackedcombospline:e.StackedComboSplineSeries},_getSeries:function(e){var t;return s.isString(e)?t=this._seriesMap[e]:t=e,t},_markerEventHandler:function(e){var t=e.type,n=e.currentTarget,r=n.getAttribute("id").split("_"),i=this.getSeriesByIndex(r[1]),s=r[2];i.updateMarkerState(t,s)},_dispatchers:null,_updateStyles:function(){var e=this.get("styles").background,t=e.border;t.opacity=t.alpha,e.stroke=t,e.fill.opacity=e.fill.alpha,this.get("background").set(e),this._sizeChangeHandler()},_sizeChangeHandler:function(t){var n=this.get("horizontalGridlines"),r=this.get("verticalGridlines"),i=this.get("width"),s=this.get("height"),o=this.get("styles").background,u,a;o&&o.border&&(u=o.border.weight||0),this.get("showBackground")&&(a=this.get("background"),i&&s&&(a.set("width",i),a.set("height",s))),this._gridlines&&this._gridlines.clear(),n&&n instanceof e.Gridlines&&n.draw(),r&&r instanceof e.Gridlines&&r.draw(),this._drawSeries()},_drawSeries:function(){if(this._drawing){this._callLater=!0;return}var t,n,r,i=this.get("graphic");i.set("autoDraw",!1),this._callLater=!1,this._drawing=!0,t=this.get("seriesCollection"),n=0,r=t?t.length:0;for(;n<r;++n){t[n].draw();if((!t[n].get("xcoords")||!t[n].get("ycoords"))&&!t[n]instanceof e.PieSeries){this._callLater=!0;break}}this._drawing=!1,this._callLater&&this._drawSeries()},_drawingCompleteHandler:function(t){var n=t.currentTarget,r,i=e.Array.indexOf(this._dispatchers,n);i>-1&&this._dispatchers.splice(i,1),this._dispatchers.length<1&&(r=this.get("graphic"),r.get("autoDraw")||r._redraw(),this.fire("chartRendered"))},_getDefaultStyles:function(){var e={background:{shape:"rect",fill:{color:"#faf9f2"},border:{color:"#dad8c9",weight:1}}};return e},destructor:function(){this._graphic&&(this._graphic.destroy(),this._graphic=null),this._background&&(this._background.get("graphic").destroy(),this._background=null),this._gridlines&&(this._gridlines.get("graphic").destroy(),this._gridlines=null)}},{ATTRS:{x:{setter:function(e){return this.get("boundingBox").setStyle("left",e+"px"),e}},y:{setter:function(e){return this.get("boundingBox").setStyle("top",e+"px"),e}},chart:{},seriesCollection:{getter:function(){return this._seriesCollection},setter:function(e){return this._parseSeriesCollection(e),this._seriesCollection}},showBackground:{value:!0},seriesDictionary:{readOnly:!0,getter:function(){return this._seriesDictionary}},horizontalGridlines:{value:null,setter:function(t){var n=this.get("horizontalGridlines");n&&n instanceof e.Gridlines&&n.remove();if(t instanceof e.Gridlines)return n=t,t.set("graph",this),t;if(t&&t.axis)return n=new e.Gridlines({direction:"horizontal",axis:t.axis,graph:this,styles:t.styles}),n}},verticalGridlines:{value:null,setter:function(t){var n=this.get("verticalGridlines");n&&n instanceof e.Gridlines&&n.remove();if(t instanceof e.Gridlines)return n=t,t.set("graph",this),t;if(t&&t.axis)return n=new e.Gridlines({direction:"vertical",axis:t.axis,graph:this,styles:t.styles}),n}},background:{getter:function(){return this._background||(this._backgroundGraphic=new e.Graphic({render:this.get("contentBox")}),this._backgroundGraphic.get("node").style.zIndex=0,this._background=this._backgroundGraphic.addShape({type:"rect"})),this._background}},gridlines:{readOnly:!0,getter:function(){return this._gridlines||(this._gridlinesGraphic=new e.Graphic({render:this.get("contentBox")}),this._gridlinesGraphic.get("node").style.zIndex=1,this._gridlines=this._gridlinesGraphic.addShape({type:"path"})),this._gridlines}},graphic:{readOnly:!0,getter:function(){return this._graphic||(this._graphic=new e.Graphic({render:this.get("contentBox")}),this._graphic.get("node").style.zIndex=2,this._graphic.set("autoDraw",!1)),this._graphic}},groupMarkers:{value:!1}}}),O.ATTRS={dataProvider:{lazyAdd:!1,valueFn:function(){var e=[];return this._seriesKeysExplicitlySet||(this._seriesKeys=this._buildSeriesKeys(e)),e},setter:function(e){var t=this._setDataValues(e);return this._seriesKeysExplicitlySet||(this._seriesKeys=this._buildSeriesKeys(t)),t}},seriesKeys:{getter:function(){return this._seriesKeys},setter:function(e){return this._seriesKeysExplicitlySet=!0,this._seriesKeys=e,e}},ariaLabel:{value:"Chart Application",setter:function(e){var t=this.get("contentBox");return t&&t.setAttribute("aria-label",e),e}},ariaDescription:{value:"Use the up and down keys to navigate between series. Use the left and right keys to navigate through items in a series.",setter:function(e){return this._description&&(this._description.setContent(""),this._description.appendChild(i.createTextNode(e))),e}},tooltip:{valueFn:"_getTooltip",setter:function(e){return this._updateTooltip(e)}},categoryKey:{value:"category"},categoryType:{value:"category"},interactionType:{value:"marker"},axesCollection:{},graph:{valueFn:"_getGraph"},groupMarkers:{value:!1}},O.prototype={_groupMarkersChangeHandler:function(e){var t=this.get("graph"),n=e.newVal;t&&t.set("groupMarkers",n)},_itemRendered:function(t){this._itemRenderQueue=this._itemRenderQueue.splice(1+e.Array.indexOf(this._itemRenderQueue,t.currentTarget),1),this._itemRenderQueue.length<1&&this._redraw()},_getGraph:function(){var t=new e.Graph({chart:this,groupMarkers:this.get("groupMarkers")});return t.after("chartRendered",e.bind(function(e){this.fire("chartRendered")},this)),t},getSeries:function(e){var t=null,n=this.get("graph");return n&&(s.isNumber(e)?t=n.getSeriesByIndex(e):t=n.getSeriesByKey(e)),t},getAxisByKey:function(e){var t,n=this.get("axes");return n&&n.hasOwnProperty(e)&&(t=n[e]),t},getCategoryAxis:function(){var e,t=this.get("categoryKey"),n=this.get("axes");return n.hasOwnProperty(t)&&(e=n[t]),e},_direction:"horizontal",_dataProvider:null,_setDataValues:function(e){if(s.isArray(e[0])){var t,n=[],r=e[0],i=0,o=r.length,u,a=e.length;for(;i<o;++i){t={category:r[i]};for(u=1;u<a;++u)t["series"+u]=e[u][i];n[i]=t}return n}return e},_seriesCollection:null,_setSeriesCollection:function(e){this._seriesCollection=e},_getAxisClass:function(e){return this._axisClass[e]},_axisClass:{stacked:e.StackedAxis,numeric:e.NumericAxis,category:e.CategoryAxis,time:e.TimeAxis},_axes:null,initializer:function(){this._itemRenderQueue=[],this._seriesIndex=-1,this._itemIndex=-1,this.after("dataProviderChange",this._dataProviderChangeHandler)},renderUI:function(){var e=this.get("tooltip"),t=this.get("boundingBox"),n=this.get("contentBox");t.setStyle("position","absolute"),n.setStyle("position","absolute"),this._addAxes(),this._addSeries(),e&&e.show&&this._addTooltip(),this._setAriaElements(t,n)},_setAriaElements:function(e,t){var n=this._getAriaOffscreenNode(),r=this.get("id")+"_description",s=this._getAriaOffscreenNode();t.set("tabIndex",0),t.set("role","img"),t.setAttribute("aria-label",this.get("ariaLabel")),t.setAttribute("aria-describedby",r),n.set("id",r),n.set("tabIndex",-1),n.appendChild(i.createTextNode(this.get("ariaDescription"))),s.set("id","live-region"),s.set("aria-live","polite"),s.set("aria-atomic","true"),s.set("role","status"),e.setAttribute("role","application"),e.appendChild(n),e.appendChild(s),this._description=n,this._liveRegion=s},_getAriaOffscreenNode:function(){var t=e.Node.create("<div></div>"),n=e.UA.ie,r=n&&n<8?"rect(1px 1px 1px 1px)":"rect(1px, 1px, 1px, 1px)";return t.setStyle("position","absolute"),t.setStyle("height","1px"),t.setStyle("width","1px"),t.setStyle("overflow","hidden"),t.setStyle("clip",r),t},syncUI:function(){this._redraw()},bindUI:function(){this.after("tooltipChange",e.bind(this._tooltipChangeHandler,this)),this.after("widthChange",this._sizeChanged),this.after("heightChange",this._sizeChanged),this.after("groupMarkersChange",this._groupMarkersChangeHandler);var t=this.get("tooltip"),n="mouseout",o="mouseover",u=this.get("contentBox"),a=this.get("interactionType"),f=0,l,c="."+p,h=r&&"ontouchstart"in r&&!(e.UA.chrome&&e.UA.chrome<6);e.on("keydown",e.bind(function(e){var t=e.keyCode,n=parseFloat(t),r;n>36&&n<41&&(e.halt(),r=this._getAriaMessage(n),this._liveRegion.setContent(""),this._liveRegion.appendChild(i.createTextNode(r)))},this),this.get("contentBox")),a=="marker"?(n=t.hideEvent,o=t.showEvent,h?(e.delegate("touchend",e.bind(this._markerEventDispatcher,this),u,c),e.on("touchend",e.bind(function(e){e.halt(!0),this._activeMarker&&(this._activeMarker=null,this.hideTooltip(e))},this))):(e.delegate("mouseenter",e.bind(this._markerEventDispatcher,this),u,c),e.delegate("mousedown",e.bind(this._markerEventDispatcher,this),u,c),e.delegate("mouseup",e.bind(this._markerEventDispatcher,this),u,c),e.delegate("mouseleave",e.bind(this._markerEventDispatcher,this),u,c),e.delegate("click",e.bind(this._markerEventDispatcher,this),u,c),e.delegate("mousemove",e.bind(this._positionTooltip,this),u,c))):a=="planar"&&(h?this._overlay.on("touchend",e.bind(this._planarEventDispatcher,this)):(this._overlay.on("mousemove",e.bind(this._planarEventDispatcher,this)),this.on("mouseout",this.hideTooltip)));if(t){this.on("markerEvent:touchend",e.bind(function(e){var n=e.series.get("markers")[e.index];this._activeMarker&&n===this._activeMarker?(this._activeMarker=null,this.hideTooltip(e)):(this._activeMarker=n,t.markerEventHandler.apply(this,[e]))},this));if(n&&o&&n==o)this.on(a+"Event:"+n,this.toggleTooltip);else{o&&this.on(a+"Event:"+o,t[a+"EventHandler"]);if(n){if(s.isArray(n)){l=n.length;for(;f<l;++f)this.on(a+"Event:"+n[f],this.hideTooltip)}this.on(a+"Event:"+n,this.hideTooltip)}}}},_markerEventDispatcher:function(e){var t=e.type,n=this.get("contentBox"),r=e.currentTarget,i=r.getAttribute("id").split("_"),s=i.pop(),o=i.pop(),u=this.getSeries(parseInt(o,10)),a=this.getSeriesItems(u,s),f=e&&e.hasOwnProperty("changedTouches"),l=f?e.changedTouches[0].pageX:e.pageX,c=f?e.changedTouches[0].pageY:e.pageY,h=l-n.getX(),p=c-n.getY();t=="mouseenter"?t="mouseover":t=="mouseleave"&&(t="mouseout"),u.updateMarkerState(t,s),e.halt(),this.fire("markerEvent:"+t,{originEvent:e,pageX:l,pageY:c,categoryItem:a.category,valueItem:a.value,node:r,x:h,y:p,series:u,index:s,seriesIndex:o})},_dataProviderChangeHandler:function(t){var n=t.newVal,r,i,s;this._seriesIndex=-1,this._itemIndex=-1,this instanceof e.CartesianChart&&(this.set("axes",this.get("axes")),this.set("seriesCollection",this.get("seriesCollection"))),r=this.get("axes");if(r)for(i in r)r.hasOwnProperty(i)&&(s=r[i],s instanceof e.Axis&&(s.get("position")!="none"&&this._addToAxesRenderQueue(s),s.set("dataProvider",n)))},toggleTooltip:function(e){var t=this.get("tooltip");t.visible?this.hideTooltip():t.markerEventHandler.apply(this,[e])},_showTooltip:function(e,t,n){var r=this.get("tooltip"),i=r.node;e&&(r.visible=!0,r.setTextFunction(i,e),i.setStyle("top",n+"px"),i.setStyle("left",t+"px"),i.setStyle("visibility","visible"))},_positionTooltip:function(e){var t=this.get("tooltip"),n=t.node,r=this.get("contentBox"),i=e.pageX+10-r.getX(),s=e.pageY+10-r.getY();n&&(n.setStyle("left",i+"px"),n.setStyle("top",s+"px"))},hideTooltip:function(){var e=this.get("tooltip"),t=e.node;e.visible=!1,t.set("innerHTML",""),t.setStyle("left",-1e4),t.setStyle("top",-1e4),t.setStyle("visibility","hidden")},_addTooltip:function(){var e=this.get("tooltip"),t=this.get("id")+"_tooltip",n=this.get("contentBox"),r=i.getElementById(t);r&&n.removeChild(r),e.node.set("id",t),e.node.setStyle("visibility","hidden"),n.appendChild(e.node)},_updateTooltip:function(t){var n=this.get("tooltip")||this._getTooltip(),r,i,o,u={markerLabelFunction:"markerLabelFunction",planarLabelFunction:"planarLabelFunction",setTextFunction:"setTextFunction",showEvent:"showEvent",hideEvent:"hideEvent",markerEventHandler:"markerEventHandler",planarEventHandler:"planarEventHandler",show:"show"};if(s.isObject(t)){i=t.styles,o=e.one(t.node)||n.node;if(i)for(r in i)i.hasOwnProperty(r)&&o.setStyle(r,i[r]);for(r in u)t.hasOwnProperty(r)&&(n[r]=t[r]);n.node=o}return n},_getTooltip:function(){var t=i.createElement("div"),n=h("chart-tooltip"),r={setTextFunction:this._setText,markerLabelFunction:this._tooltipLabelFunction,planarLabelFunction:this._planarLabelFunction,show:!0,hideEvent:"mouseout",showEvent:"mouseover",markerEventHandler:function(e){var t=this.get("tooltip"),n=t.markerLabelFunction.apply(this,[e.categoryItem,e.valueItem,e.index,e.series,e.seriesIndex]);this._showTooltip(n,e.x+10,e.y+10)},planarEventHandler:function(e){var t=this.get("tooltip"),n,r=this.get("categoryAxis");n=t.planarLabelFunction.apply(this,[r,e.valueItem,e.index,e.items,e.seriesIndex]),this._showTooltip(n,e.x+10,e.y+10)}};return t=e.one(t),t.set("id",this.get("id")+"_tooltip"),t.setStyle("fontSize","85%"),t.setStyle("opacity","0.83"),t.setStyle("position","absolute"),t.setStyle("paddingTop","2px"),t.setStyle("paddingRight","5px"),t.setStyle("paddingBottom","4px"),t.setStyle("paddingLeft","2px"),t.setStyle("backgroundColor","#fff"),t.setStyle("border","1px solid #dbdccc"),t.setStyle("pointerEvents","none"),t.setStyle("zIndex",3),t.setStyle("whiteSpace","noWrap"),t.setStyle("visibility","hidden"),t.addClass(n),r.node=e.one(t),r},_planarLabelFunction:function(e,t,n,r,o){var u=i.createElement("div"),a,f=0,l=r.length,c,h,p,d;e&&(h=e.get("labelFunction").apply(this,[e.getKeyValueAt(this.get("categoryKey"),n),e.get("labelFormat")]),s.isObject(h)||(h=i.createTextNode(h)),u.appendChild(h));for(;f<l;++f)d=r[f],d.get("visible")&&(a=t[f],c=a.axis,p=c.get("labelFunction").apply(this,[c.getKeyValueAt(a.key,n),c.get("labelFormat")]),u.appendChild(i.createElement("br")),u.appendChild(i.createTextNode(a.displayName)),u.appendChild(i.createTextNode(": ")),s.isObject(p)||(p=i.createTextNode(p)),u.appendChild(p));return u},_tooltipLabelFunction:function(e,t,n,r,o){var u=i.createElement("div"),a=e.axis.get("labelFunction").apply(this,[e.value,e.axis.get("labelFormat")]),f=t.axis.get("labelFunction").apply(this,[t.value,t.axis.get("labelFormat")]);return u.appendChild(i.createTextNode(e.displayName)),u.appendChild(i.createTextNode(": ")),s.isObject(a)||(a=i.createTextNode(a)),u.appendChild(a),u.appendChild(i.createElement("br")),u.appendChild(i.createTextNode(t.displayName)),u.appendChild(i.createTextNode(": ")),s.isObject(f)||(f=i.createTextNode(f)),u.appendChild(f),u},_tooltipChangeHandler:function(e){if(this.get("tooltip")){var t=this.get("tooltip"),n=t.node,r=t.show,i=this.get("contentBox");n&&r&&(i.contains(n)||this._addTooltip())}},_setText:function(e,t){e.setContent(""),s.isNumber(t)?t+="":t||(t=""),o(t)&&(t=i.createTextNode(t)),e.appendChild(t)},_getAllKeys:function(e){var t=0,n=e.length,r,i,s={};for(;t<n;++t){r=e[t];for(i in r)r.hasOwnProperty(i)&&(s[i]=!0)}return s},_buildSeriesKeys:function(e){var t,n=this.get("categoryKey"),r=[],i;if(this._seriesKeysExplicitlySet)return this._seriesKeys;t=this._getAllKeys(e);for(i in t)t.hasOwnProperty(i)&&i!=n&&r.push(i);return r}},e.ChartBase=O,e.CartesianChart=e.Base.create("cartesianChart",e.Widget,[e.ChartBase],{renderUI:function(){var t=this.get("boundingBox"),n=this.get("contentBox"),r=this.get("tooltip"),s,o=h("overlay");t.setStyle("position","absolute"),n.setStyle("position","absolute"),this._addAxes(),this._addGridlines(),this._addSeries(),r&&r.show&&this._addTooltip(),this.get("styles"),this.get("interactionType")=="planar"&&(s=i.createElement("div"),this.get("contentBox").appendChild(s),this._overlay=e.one(s),this._overlay.set("id",this.get("id")+"_overlay"),this._overlay.setStyle("position","absolute"),this._overlay.setStyle("background","#fff"),this._overlay.setStyle("opacity",0),this._overlay.addClass(o),this._overlay.setStyle("zIndex",4)),this._setAriaElements(t,n),this._redraw()},_planarEventDispatcher:function(e){var t=this.get("graph"),n=this.get("boundingBox"),r=t.get("contentBox"),i=e&&e.hasOwnProperty("changedTouches"),s=i?e.changedTouches[0].pageX:e.pageX,o=i?e.changedTouches[0].pageY:e.pageY,u=s-n.getX(),a=o-n.getY(),f={x:s-r.getX(),y:o-r.getY()},l=t.get("seriesCollection"),c,h=0,p,d=this._selectedIndex,v,m=[],g=[],y=[],b=this.get("direction"),w,E,S,x,T,N,C;e.halt(!0),b=="horizontal"?(E="x",S="y"):(S="x",E="y"),x=f[E];if(l){N=l.length;while(h<N&&!T)l[h]&&(T=l[h].get(E+"MarkerPlane")),h++}if(T){N=T.length;for(h=0;h<N;++h)if(x<=T[h].end&&x>=T[h].start){p=h;break}N=l.length;for(h=0;h<N;++h)c=l[h],C=c.get(S+"coords"),w=c.get("markers"),w&&!isNaN(d)&&d>-1&&c.updateMarkerState("mouseout",d),C&&C[p]>-1&&(w&&!isNaN(p)&&p>-1&&c.updateMarkerState("mouseover",p),v=this.getSeriesItems(c,p),g.push(v.category),y.push(v.value),m.push(c));this._selectedIndex=p,p>-1?this.fire("planarEvent:mouseover",{categoryItem:g,valueItem:y,x:u,y:a,pageX:s,pageY:o,items:m,index:p,originEvent:e}):this.fire("planarEvent:mouseout")}},_type:"combo",_itemRenderQueue:null,_addToAxesRenderQueue:function(t){this._itemRenderQueue||(this._itemRenderQueue=[]),e.Array.indexOf(this._itemRenderQueue,t)<0&&this._itemRenderQueue.push(t)},_addToAxesCollection:function(e,t){var n=this.get(e+"AxesCollection");n||(n=[],this.set(e+"AxesCollection",n)),n.push(t)},_getDefaultSeriesCollection:function(){var e,t=this.get("dataProvider");return t&&(e=this._parseSeriesCollection()),e},_parseSeriesCollection:function(t){var n=this.get("direction"),r=[],i,s,o=[],u,a=this.get("seriesKeys").concat(),f,l,c,h=this.get("type"),p,d,v,m,g=[],y=this.get("categoryKey"),b=this.get("showMarkers"),w=this.get("showAreaFill"),E=this.get("showLines");t=t||[],n=="vertical"?(i="yAxis",d="yKey",s="xAxis",v="xKey"):(i="xAxis",d="xKey",s="yAxis",v="yKey"),c=t.length;while(t&&t.length>0)u=t.shift(),p=this._getBaseAttribute(u,v),p?(l=e.Array.indexOf(a,p),l>-1?(a.splice(l,1),o.push(p),r.push(u)):g.push(u)):g.push(u);while(g.length>0)u=g.shift(),a.length>0?(p=a.shift(),this._setBaseAttribute(u,v,p),o.push(p),r.push(u)):u instanceof e.CartesianSeries&&u.destroy(!0);a.length>0&&(o=o.concat(a)),c=o.length;for(f=0;f<c;++f){u=r[f]||{type:h};if(u instanceof e.CartesianSeries){this._parseSeriesAxes(u);continue}u[d]=u[d]||y,u[v]=u[v]||a.shift(),u[i]=this._getCategoryAxis(),u[s]=this._getSeriesAxis(u[v]),u.type=u.type||h,u.direction=u.direction||n;if(u.type=="combo"||u.type=="stackedcombo"||u.type=="combospline"||u.type=="stackedcombospline")w!==null&&(u.showAreaFill=u.showAreaFill!==null&&u.showAreaFill!==undefined?u.showAreaFill:w),b!==null&&(u.showMarkers=u.showMarkers!==null&&u.showMarkers!==undefined?u.showMarkers:b),E!==null&&(u.showLines=u.showLines!==null&&u.showLines!==undefined?u.showLines:E);r[f]=u}return r&&(m=this.get("graph"),m.set("seriesCollection",r),r=m.get("seriesCollection")),r},_parseSeriesAxes:function(t){var n=this.get("axes"),r=t.get("xAxis"),i=t.get("yAxis"),o=e.Axis,u;r&&!(r instanceof o)&&s.isString(r)&&n.hasOwnProperty(r)&&(u=n[r],u instanceof o&&t.set("xAxis",u)),i&&!(i instanceof o)&&s.isString(i)&&n.hasOwnProperty(i)&&(u=n[i],u instanceof o&&t.set("yAxis",u))},_getCategoryAxis:function(){var e,t=this.get("axes"),n=this.get("categoryAxisName")||this.get("categoryKey");return e=t[n],e},_getSeriesAxis:function(e,t){var n=this.get("axes"),r,i,s;if(n)if(t&&n.hasOwnProperty(t))s=n[t];else for(r in n)if(n.hasOwnProperty(r)){i=n[r].get("keys");if(i&&i.hasOwnProperty(e)){s=n[r];break}}return s},_getBaseAttribute:function(t,n){return t instanceof e.Base?t.get(n):t.hasOwnProperty(n)?t[n]:null},_setBaseAttribute:function(t,n,r){t instanceof e.Base?t.set(n,r):t[n]=r},_setAxes:function(t){var n=this._parseAxes(t),r={},i={edgeOffset:"edgeOffset",position:"position",overlapGraph:"overlapGraph",labelFunction:"labelFunction",labelFunctionScope:"labelFunctionScope",labelFormat:"labelFormat",appendLabelFunction:"appendLabelFunction",appendTitleFunction:"appendTitleFunction",maximum:"maximum",minimum:"minimum",roundingMethod:"roundingMethod",alwaysShowZero:"alwaysShowZero",title:"title",width:"width",height:"height"},s=this.get("dataProvider"),o,u,a,f,l,c,h,p,d;for(u in n)if(n.hasOwnProperty(u)){c=n[u];if(c instanceof e.Axis)f=c;else{f=null,p={},p.dataProvider=c.dataProvider||s,p.keys=c.keys,c.hasOwnProperty("roundingUnit")&&(p.roundingUnit=c.roundingUnit),a=c.position,c.styles&&(p.styles=c.styles),p.position=c.position;for(o in i)i.hasOwnProperty(o)&&c.hasOwnProperty(o)&&(p[o]=c[o]);t&&(f=this.getAxisByKey(u)),f&&f instanceof e.Axis?(l=f.get("position"),a!=l&&(l!="none"&&(d=this.get(l+"AxesCollection"),d.splice(e.Array.indexOf(d,f),1)),a!="none"&&this._addToAxesCollection(a,f)),f.setAttrs(p)):(h=this._getAxisClass(c.type),f=new h(p),f.after("axisRendered",e.bind(this._itemRendered,this)))}f&&(d=this.get(a+"AxesCollection"),d&&e.Array.indexOf(d,f)>0&&f.set("overlapGraph",!1),r[u]=f)}return r},_addAxes:function(){var t=this.get("axes"),n,r,i,s=this.get("width"),o=this.get("height"),u=e.Node.one(this._parentNode);this._axesCollection||(this._axesCollection=[]);for(n in t)t.hasOwnProperty(n)&&(r=t[n],r instanceof e.Axis&&(s||(this.set("width",u.get("offsetWidth")),s=this.get("width")),o||(this.set("height",u.get("offsetHeight")),o=this.get("height")),this._addToAxesRenderQueue(r),i=r.get("position"),this.get(i+"AxesCollection")?this.get(i+"AxesCollection").push(r):this.set(i+"AxesCollection",[r]),this._axesCollection.push(r),r.get("keys").hasOwnProperty(this.get("categoryKey"))&&this.set("categoryAxis",r),r.render(this.get("contentBox"))))},_addSeries:function(){var e=this.get("graph"),t=this.get("seriesCollection");e.render(this.get("contentBox"))},_addGridlines:function(){var t=this.get("graph"),n=this.get("horizontalGridlines"),r=this.get("verticalGridlines"),i=this.get("direction"),s=this.get("leftAxesCollection"),o=this.get("rightAxesCollection"),u=this.get("bottomAxesCollection"),a=this.get("topAxesCollection"),f,l=this.get("categoryAxis"),c,h;this._axesCollection&&(f=this._axesCollection.concat(),f.splice(e.Array.indexOf(f,l),1)),n&&(s&&s[0]?c=s[0]:o&&o[0]?c=o[0]:c=i=="horizontal"?l:f[0],!this._getBaseAttribute(n,"axis")&&c&&this._setBaseAttribute(n,"axis",c),this._getBaseAttribute(n,"axis")&&t.set("horizontalGridlines",n)),r&&(u&&u[0]?h=u[0]:a&&a[0]?h=a[0]:h=i=="vertical"?l:f[0],!this._getBaseAttribute(r,"axis")&&h&&this._setBaseAttribute(r,"axis",h),this._getBaseAttribute(r,"axis")&&t.set("verticalGridlines",r))},_getDefaultAxes:function(){var e;return this.get("dataProvider")&&(e=this._parseAxes()),e},_parseAxes:function(t){var n=this.get("categoryKey"),r,i,o,u={},a=[],f=this.get("categoryAxisName")||this.get("categoryKey"),l=this.get("valueAxisName"),c=this.get("seriesKeys").concat(),h,p,d,v,m,g=this.get("direction"),y,b,w=[],E=this.get("stacked")?"stacked":"numeric";g=="vertical"?(y="bottom",b="left"):(y="left",b="bottom");if(t)for(h in t)if(t.hasOwnProperty(h)){r=t[h],o=this._getBaseAttribute(r,"keys"),i=this._getBaseAttribute(r,"type");if(i=="time"||i=="category")f=h,this.set("categoryAxisName",h),s.isArray(o)&&o.length>0&&(n=o[0],this.set("categoryKey",n)),u[h]=r;else if(h==f)u[h]=r;else{u[h]=r;if(h!=l&&o&&s.isArray(o)){v=o.length;for(d=0;d<v;++d)a.push(o[d]);w.push(u[h])}this._getBaseAttribute(u[h],"type")||this._setBaseAttribute(u[h],"type",E),this._getBaseAttribute(u[h],"position")||this._setBaseAttribute(u[h],"position",this._getDefaultAxisPosition(u[h],w,y))}}m=e.Array.indexOf(c,n),m>-1&&c.splice(m,1),p=a.length;for(h=0;h<p;++h)m=e.Array.indexOf(c,a[h]),m>-1&&c.splice(m,1);return u.hasOwnProperty(f)||(u[f]={}),this._getBaseAttribute(u[f],"keys")||this._setBaseAttribute(u[f],"keys",[n]),this._getBaseAttribute(u[f],"position")||this._setBaseAttribute(u[f],"position",b),this._getBaseAttribute(u[f],"type")||this._setBaseAttribute(u[f],"type",this.get("categoryType")),!u.hasOwnProperty(l)&&c&&c.length>0&&(u[l]={keys:c},w.push(u[l])),a.length>0&&(c.length>0?c=a.concat(c):c=a),u.hasOwnProperty(l)&&(this._getBaseAttribute(u[l],"position")||this._setBaseAttribute(u[l],"position",this._getDefaultAxisPosition(u[l],w,y)),this._setBaseAttribute(u[l],"type",E),this._setBaseAttribute(u[l],"keys",c)),this._seriesKeysExplicitlySet||(this._seriesKeys=c),u},_getDefaultAxisPosition:function(t,n,r){var i=this.get("direction"),s=e.Array.indexOf(n,t);return n[s-1]&&n[s-1].position&&(i=="horizontal"?n[s-1].position=="left"?r="right":n[s-1].position=="right"&&(r="left"):n[s-1].position=="bottom"?r="top":r="bottom"),r},getSeriesItems:function(e,t){var n=e.get("xAxis"),r=e.get("yAxis"),i=e.get("xKey"),s=e.get("yKey"),o,u;return this.get("direction")=="vertical"?(o={axis:r,key:s,value:r.getKeyValueAt(s,t)},u={axis:n,key:i,value:n.getKeyValueAt(i,t)}):(u={axis:r,key:s,value:r.getKeyValueAt(s,t)},o={axis:n,key:i,value:n.getKeyValueAt(i,t)}),o.displayName=e.get("categoryDisplayName"),u.displayName=e.get("valueDisplayName"),o.value=o.axis.getKeyValueAt(o.key,t),u.value=u.axis.getKeyValueAt(u.key,t),{category:o,value:u}},_sizeChanged:function(e){if(this._axesCollection){var t=this._axesCollection,n=0,r=t.length;for(;n<r;++n)this._addToAxesRenderQueue(t[n]);this._redraw()}},_getTopOverflow:function(e,t,n){var r=0,i,s=0,o;if(e){i=e.length;for(;r<i;++r)o=e[r],s=Math.max(s,Math.abs(o.getMaxLabelBounds().top)-o.getEdgeOffset(o.get("styles").majorTicks.count,n)*.5)}if(t){r=0,i=t.length;for(;r<i;++r)o=t[r],s=Math.max(s,Math.abs(o.getMaxLabelBounds().top)-o.getEdgeOffset(o.get("styles").majorTicks.count,n)*.5)}return s},_getRightOverflow:function(e,t,n){var r=0,i,s=0,o;if(e){i=e.length;for(;r<i;++r)o=e[r],s=Math.max(s,o.getMaxLabelBounds().right-o.getEdgeOffset(o.get("styles").majorTicks.count,n)*.5)}if(t){r=0,i=t.length;for(;r<i;++r)o=t[r],s=Math.max(s,o.getMaxLabelBounds().right-o.getEdgeOffset(o.get("styles").majorTicks.count,n)*.5)}return s},_getLeftOverflow:function(e,t,n){var r=0,i,s=0,o;if(e){i=e.length;for(;r<i;++r)o=e[r],s=Math.max(s,Math.abs(o.getMinLabelBounds().left)-o.getEdgeOffset(o.get("styles").majorTicks.count,n)*.5)}if(t){r=0,i=t.length;for(;r<i;++r)o=t[r],s=Math.max(s,Math.abs(o.getMinLabelBounds().left)-o.getEdgeOffset(o.get("styles").majorTicks.count,n)*.5)}return s},_getBottomOverflow:function(e,t,n){var r=0,i,s=0,o;if(e){i=e.length;for(;r<i;++r)o=e[r],s=Math.max(s,o.getMinLabelBounds().bottom-o.getEdgeOffset(o.get("styles").majorTicks.count,n)*.5)}if(t){r=0,i=t.length;for(;r<i;++r)o=t[r],s=Math.max(s,o.getMinLabelBounds().bottom-o.getEdgeOffset(o.get("styles").majorTicks.count,n)*.5)}return s},_redraw:function(){if(this._drawing){this._callLater=!0;return}this._drawing=!0,this._callLater=!1;var e=this.get("width"),t=this.get("height"),n=0,r=0,i=0,s=0,o=this.get("leftAxesCollection"),u=this.get("rightAxesCollection"),a=this.get("topAxesCollection"),f=this.get("bottomAxesCollection"),l=0,c,h,p="visible",d=this.get("graph"),v,m,g,y,b,w,E,S,x=this.get("allowContentOverflow"),T,N,C,k,L,A={};if(o){C=[],c=o.length;for(l=c-1;l>-1;--l)C.unshift(n),n+=o[l].get("width")}if(u){N=[],c=u.length,l=0;for(l=c-1;l>-1;--l)r+=u[l].get("width"),N.unshift(e-r)}if(a){k=[],c=a.length;for(l=c-1;l>-1;--l)k.unshift(i),i+=a[l].get("height")}if(f){L=[],c=f.length;for(l=c-1;l>-1;--l)s+=f[l].get("height"),L.unshift(t-s)}b=e-(n+r),w=t-(s+i),A.left=n,A.top=i,A.bottom=t-s,A.right=e-r;if(!x){v=this._getTopOverflow(o,u),m=this._getBottomOverflow(o,u),g=this._getLeftOverflow(f,a),y=this._getRightOverflow(f,a),T=v-i;if(T>0){A.top=v;if(k){l=0,c=k.length;for(;l<c;++l)k[l]+=T}}T=m-s;if(T>0){A.bottom=t-m;if(L){l=0,c=L.length;for(;l<c;++l)L[l]-=T}}T=g-n;if(T>0){A.left=g;if(C){l=0,c=C.length;for(;l<c;++l)C[l]+=T}}T=y-r;if(T>0){A.right=e-y;if(N){l=0,c=N.length;for(;l<c;++l)N[l]-=T}}}b=A.right-A.left,w=A.bottom-A.top,E=A.left,S=A.top;if(a){c=a.length,l=0;for(;l<c;l++)h=a[l],h.get("width")!==b&&h.set("width",b),h.get("boundingBox").setStyle("left",E+"px"),h.get("boundingBox").setStyle("top",k[l]+"px");h._hasDataOverflow()&&(p="hidden")}if(f){c=f.length,l=0;for(;l<c;l++)h=f[l],h.get("width")!==b&&h.set("width",b),h.get("boundingBox").setStyle("left",E+"px"),h.get("boundingBox").setStyle("top",L[l]+"px");h._hasDataOverflow()&&(p="hidden")}if(o){c=o.length,l=0;for(;l<c;++l)h=o[l],h.get("boundingBox").setStyle("top",S+"px"),h.get("boundingBox").setStyle("left",C[l]+"px"),h.get("height")!==w&&h.set("height",w);h._hasDataOverflow()&&(p="hidden")}if(u){c=u.length,l=0;for(;l<c;++l)h=u[l],h.get("boundingBox").setStyle("top",S+"px"),h.get("boundingBox").setStyle("left",N[l]+"px"),h.get("height")!==w&&h.set("height",w);h._hasDataOverflow()&&(p="hidden")}this._drawing=!1;if(this._callLater){this._redraw();return}d&&(d.get("boundingBox").setStyle("left",E+"px"),d.get("boundingBox").setStyle("top",S+"px"),d.set("width",b),d.set("height",w),d.get("boundingBox").setStyle("overflow",p)),this._overlay&&(this._overlay.setStyle("left",E+"px"),this._overlay.setStyle("top",S+"px"),this._overlay.setStyle("width",b+"px"),this._overlay.setStyle("height",w+"px"))},destructor:function(){var t=this.get("graph"),n=0,r,i=this.get("seriesCollection"),s=this._axesCollection,o=this.get("tooltip").node;this._description&&(this._description.empty(),this._description.remove(!0)),this._liveRegion&&(this._liveRegion.empty(),this._liveRegion.remove(!0)),r=i?i.length:0;for(;n<r;++n)i[n]instanceof e.CartesianSeries&&i[n].destroy(!0);r=s?s.length:0;for(n=0;n<r;++n)s[n]instanceof e.Axis&&s[n].destroy(!0);t&&t.destroy(!0),o&&(o.empty(),o.remove(!0)),this._overlay&&(this._overlay.empty(),this._overlay.remove(!0))},_getAriaMessage:function(e){var t="",n,r,i,s,o=this._seriesIndex,u=this._itemIndex,a=this.get("seriesCollection"),f=a.length,l;return e%2===0?(f>1?(e===38?o=o<1?f-1:o-1:e===40&&(o=o>=f-1?0:o+1),this._itemIndex=-1):o=0,this._seriesIndex=o,n=this.getSeries(parseInt(o,10)),t=n.get("valueDisplayName")+" series."):(o>-1?(t="",n=this.getSeries(parseInt(o,10))):(o=0,this._seriesIndex=o,n=this.getSeries(parseInt(o,10)),t=n.get("valueDisplayName")+" series."),l=n._dataLength?n._dataLength:0,e===37?u=u>0?u-1:l-1:e===39&&(u=u>=l-1?0:u+1),this._itemIndex=u,r=this.getSeriesItems(n,u),i=r.category,s=r.value,i&&s&&i.value&&s.value?(t+=i.displayName+": "+i.axis.formatLabel.apply(this,[i.value,i.axis.get("labelFormat")])+", ",t+=s.displayName+": "+s.axis.formatLabel.apply(this,[s.value,s.axis.get("labelFormat")])+", "):t+="No data available.",t+=u+1+" of "+l+". "),t}},{ATTRS:{allowContentOverflow:{value:!1},axesStyles:{getter:function(){var t=this.get("axes"),n,r=this._axesStyles;if(t)for(n in t)t.hasOwnProperty(n)&&t[n]instanceof e.Axis&&(r||(r={}),r[n]=t[n].get("styles"));return r},setter:function(e){var t=this.get("axes"),n;for(n in e)e.hasOwnProperty(n)&&t.hasOwnProperty(n)&&this._setBaseAttribute(t[n],"styles",e[n])}},seriesStyles:{getter:function(){var e=this._seriesStyles,t=this.get("graph"),n,r;if(t){n=t.get("seriesDictionary");if(n){e={};for(r in n)n.hasOwnProperty(r)&&(e[r]=n[r].get("styles"))}}return e},setter:function(e){var t,n,r;if(s.isArray(e)){r=this.get("seriesCollection"),t=0,n=e.length;for(;t<n;++t)this._setBaseAttribute(r[t],"styles",e[t])}else for(t in e)e.hasOwnProperty(t)&&(r=this.getSeries(t),this._setBaseAttribute(r,"styles",e[t]))}},graphStyles:{getter:function(){var e=this.get("graph");return e?e.get("styles"):this._graphStyles},setter:function(e){var t=this.get("graph");this._setBaseAttribute(t,"styles",e)}},styles:{getter:function(){var e={axes:this.get("axesStyles"),series:this.get("seriesStyles"),graph:this.get("graphStyles")};return e},setter:function(e){e.hasOwnProperty("axes")&&(this.get("axesStyles")?this.set("axesStyles",e.axes):this._axesStyles=e.axes),e.hasOwnProperty("series")&&(this.get("seriesStyles")?this.set("seriesStyles",e.series):this._seriesStyles=e.series),e.hasOwnProperty("graph")&&this.set("graphStyles",e.graph)}},axes:{valueFn:"_getDefaultAxes",setter:function(e){return this.get("dataProvider")&&(e=this._setAxes(e)),e}},seriesCollection:{valueFn:"_getDefaultSeriesCollection",setter:function(e){return this.get("dataProvider")&&(e=this._parseSeriesCollection(e)),e}},leftAxesCollection:{},bottomAxesCollection:{},rightAxesCollection:{},topAxesCollection:{},stacked:{value:!1},direction:{getter:function(){var e=this.get("type");return e=="bar"?"vertical":e=="column"?"horizontal":this._direction},setter:function(e){return this._direction=e,this._direction}},showAreaFill:{},showMarkers:{},showLines:{},categoryAxisName:{},valueAxisName:{value:"values"},horizontalGridlines:{getter:function(){var e=this.get("graph");return e?e.get("horizontalGridlines"):this._horizontalGridlines},setter:function(e){var t=this.get("graph");e&&!s.isObject(e)&&(e={}),t?t.set("horizontalGridlines",e):this._horizontalGridlines=e}},verticalGridlines:{getter:function(){var e=this.get("graph");return e?e.get("verticalGridlines"):this._verticalGridlines},setter:function(e){var t=this.get("graph");e&&!s.isObject(e)&&(e={}),t?t.set("verticalGridlines",e):this._verticalGridlines=e}},type:{getter:function(){return this.get("stacked")?"stacked"+this._type:this._type},setter:function(e){return this._type=="bar"?e!="bar"&&this.set("direction","horizontal"):e=="bar"&&this.set("direction","vertical"),this._type=e,this._type}},categoryAxis:{}}}),e.PieChart=e.Base.create("pieChart",e.Widget,[e.ChartBase],{_getSeriesCollection:function(){if(this._seriesCollection)return this._seriesCollection;var e=this.get("axes"),t=[],n,r=0,i,s=this.get("type"),o,u="categoryAxis",a="categoryKey",f="valueAxis",l="valueKey";if(e){n=e.values.get("keyCollection"),o=e.category.get("keyCollection")[0],i=n.length;for(;r<i;++r)t[r]={type:s},t[r][u]="category",t[r][f]="values",t[r][a]=o,t[r][l]=n[r]}return this._seriesCollection=t,t},_parseAxes:function(t){this._axes||(this._axes={});var n,r,i,s,o,u,a=this.get("type"),f=this.get("width"),l=this.get("height"),c=e.Node.one(this._parentNode);f||(this.set("width",c.get("offsetWidth")),f=this.get("width")),l||(this.set("height",c.get("offsetHeight")),l=this.get("height"));for(n in t)t.hasOwnProperty(n)&&(s=t[n],r=a=="pie"?"none":s.position,u=this._getAxisClass(s.type),o={dataProvider:this.get("dataProvider")},s.hasOwnProperty("roundingUnit")&&(o.roundingUnit=s.roundingUnit),o.keys=s.keys,o.width=f,o.height=l,o.position=r,o.styles=s.styles,i=new u(o),i.on("axisRendered",e.bind(this._itemRendered,this)),this._axes[n]=i)},_addAxes:function(){var e=this.get("axes"),t,n,r;e||(this.set("axes",this._getDefaultAxes()),e=this.get("axes")),this._axesCollection||(this._axesCollection=[]);for(t in e)e.hasOwnProperty(t)&&(n=e[t],r=n.get("position"),this.get(r+"AxesCollection")?this.get(r+"AxesCollection").push(n):this.set(r+"AxesCollection",[n]),this._axesCollection.push(n))},_addSeries:function(){var e=this.get("graph"),t=this.get("seriesCollection");this._parseSeriesAxes(t),e.set("showBackground",!1),e.set("width",this.get("width")),e.set("height",this.get("height")),e.set("seriesCollection",t),this._seriesCollection=e.get("seriesCollection"),e.render(this.get("contentBox"))},_parseSeriesAxes:function(t){var n=0,r=t.length,i,s=this.get("axes"),o;for(;n<r;++n){i=t[n];if(i){if(i instanceof e.PieSeries){o=i.get("categoryAxis"),o&&!(o instanceof e.Axis)&&i.set("categoryAxis",s[o]),o=i.get("valueAxis"),o&&!(o instanceof e.Axis)&&i.set("valueAxis",s[o]);continue}i.categoryAxis=s.category,i.valueAxis=s.values,i.type||(i.type=this.get("type"))}}},_getDefaultAxes:function(){var e=this.get("categoryKey"),t=this.get("seriesKeys").concat(),n="numeric";return{values:{keys:t,type:n},category:{keys:[e],type:this.get("categoryType")}}},getSeriesItems:function(e,t){var n={axis:e.get("categoryAxis"),key:e.get("categoryKey"),displayName:e.get("categoryDisplayName")},r={axis:e.get("valueAxis"),key:e.get("valueKey"),displayName:e.get("valueDisplayName")};return n.value=n.axis.getKeyValueAt(n.key,t),r.value=r.axis.getKeyValueAt(r.key,t),{category:n,value:r}},_sizeChanged:function(e){this._redraw()},_redraw:function(){var e=this.get("graph"),t=this.get("width"),n=this.get("height"),r;e&&(r=Math.min(t,n),e.set("width",r),e.set("height",r))},_tooltipLabelFunction:function(e,t,n,r,s){var o=i.createElement("div"),u=r.getTotalValues(),a=Math.round(t.value/u*1e4)/100;return o.appendChild(i.createTextNode(e.displayName+": "+e.axis.get("labelFunction").apply(this,[e.value,e.axis.get("labelFormat")]))),o.appendChild(i.createElement("br")),o.appendChild(i.createTextNode(t.displayName+": "+t.axis.get("labelFunction").apply(this,[t.value,t.axis.get("labelFormat")]))),o.appendChild(i.createElement("br")),o.appendChild(i.createTextNode(a+"%")),o},_getAriaMessage:function(e){var t="",n,r,i,s,o=0,u=this._itemIndex,a=this.get("seriesCollection"),f,l,c,h;return i=this.getSeries(parseInt(o,10)),h=i.get("markers"),f=h&&h.length?h.length:0,e===37?u=u>0?u-1:f-1:e===39&&(u=u>=f-1?0:u+1),this._itemIndex=u,r=this.getSeriesItems(i,u),n=r.category,s=r.value,l=i.getTotalValues(),c=Math.round(s.value/l*1e4)/100,n&&s?(t+=n.displayName+": "+n.axis.formatLabel.apply(this,[n.value,n.axis.get("labelFormat")])+", ",t+=s.displayName+": "+s.axis.formatLabel.apply(this,[s.value,s.axis.get("labelFormat")])+", ",t+="Percent of total "+s.displayName+": "+c+"%,"):t+="No data available,",t+=u+1+" of "+f+". ",t}},{ATTRS:{ariaDescription:{value:"Use the left and right keys to navigate through items.",setter:function(e){return this._description&&(this._description.setContent(""),this._description.appendChild(i.createTextNode(e))),e}},axes:{getter:function(){return this._axes},setter:function(e){this._parseAxes(e)}},seriesCollection:{getter:function(){return this._getSeriesCollection()},setter:function(e){return this._setSeriesCollection(e)}},type:{value:"pie"}}})},"3.7.3",{requires:["dom","datatype-number","datatype-date","event-custom","event-mouseenter","event-touch","widget","widget-position","widget-stack","graphics"]});
| 15,410.875 | 123,146 | 0.719687 |
1e329f530094bb42acc37906cb5c9efe639c23ec | 331 | js | JavaScript | app/datviewer/datviewer_test.js | tjvilakis/test4 | 2f3f191bdf1ff888533f627953de261dba6e0f06 | [
"MIT"
] | null | null | null | app/datviewer/datviewer_test.js | tjvilakis/test4 | 2f3f191bdf1ff888533f627953de261dba6e0f06 | [
"MIT"
] | null | null | null | app/datviewer/datviewer_test.js | tjvilakis/test4 | 2f3f191bdf1ff888533f627953de261dba6e0f06 | [
"MIT"
] | null | null | null | 'use strict';
describe('datviewer module', function() {
beforeEach(module('datviewer'));
describe('datviewer controller', function(){
it('should ....', inject(function($controller) {
//spec body
var datviewerctrl = $controller('datviewerctrl');
expect(datviewerctrl).toBeDefined();
}));
});
}); | 20.6875 | 55 | 0.63142 |
1e32ae0260c941a6cf108af79f1a79bfe9c60e0c | 1,177 | js | JavaScript | node_modules/cloud-js/src/command.js | elliotberry/wacom-inkspace | 2dac66a9cdf89ce93a82190690bfacf56493b845 | [
"MIT"
] | 5 | 2019-05-31T03:52:48.000Z | 2020-08-29T15:58:12.000Z | node_modules/cloud-js/src/command.js | elliotberry/wacom-inkspace | 2dac66a9cdf89ce93a82190690bfacf56493b845 | [
"MIT"
] | 1 | 2019-07-01T02:23:51.000Z | 2020-01-27T16:20:32.000Z | node_modules/cloud-js/src/command.js | elliotberry/wacom-inkspace | 2dac66a9cdf89ce93a82190690bfacf56493b845 | [
"MIT"
] | null | null | null | "use strict";
const commandFormat = require('./format/command-format');
class SyncCommand {
/**
* @param {Payload} parent
* @param {EditList} edits
* @param {EditList} [shadowEdits]
*/
constructor(parent, edits, shadowEdits) {
this.parent = parent;
this.edits = edits;
this.shadowEdits = shadowEdits;
}
}
const SyncFailedReason = {
PARENT_NOT_FOUND: commandFormat.SyncFailed.nested.Reason.values.PARENT_NOT_FOUND,
SHADOW_NOT_FOUND: commandFormat.SyncFailed.nested.Reason.values.SHADOW_NOT_FOUND,
SERVER_ERROR: commandFormat.SyncFailed.nested.Reason.values.SERVER_ERROR,
SERVER_TIMEOUT: commandFormat.SyncFailed.nested.Reason.values.SERVER_TIMEOUT
};
class SyncFailedCommand {
/**
* @param {Payload} parent
* @param {Number} reason
*/
constructor(parent, reason) {
this.parent = parent;
this.reason = reason;
}
}
class SequenceUpdated {
/**
* @param {Payload} parent
*/
constructor(parent) {
this.parent = parent;
}
}
module.exports = {
SyncCommand,
SyncFailedReason,
SyncFailedCommand,
SequenceUpdated
}; | 23.54 | 85 | 0.657604 |
1e3301b94315e092af1a76f794b4d9be096e0f5c | 522 | js | JavaScript | admin/ckeditor/plugins/pastefromword/lang/pl.js | ngoctruong472k/vanminh_php | 8533268bf65120855efcd7a4bb99721d64b8a9bf | [
"Apache-2.0"
] | null | null | null | admin/ckeditor/plugins/pastefromword/lang/pl.js | ngoctruong472k/vanminh_php | 8533268bf65120855efcd7a4bb99721d64b8a9bf | [
"Apache-2.0"
] | null | null | null | admin/ckeditor/plugins/pastefromword/lang/pl.js | ngoctruong472k/vanminh_php | 8533268bf65120855efcd7a4bb99721d64b8a9bf | [
"Apache-2.0"
] | null | null | null | /*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pastefromword', 'pl', {
confirmCleanup: 'Tekst, który chcesz wkleić, prawdopodobnie pochodzi z programu Microsoft Word. Czy chcesz go wyczyścić przed wklejeniem?',
error: 'Wyczyszczenie wklejonych danych nie było możliwe z powodu wystąpienia błędu.',
title: 'Wklej z programu MS Word',
toolbar: 'Wklej z programu MS Word'
} );
| 47.454545 | 142 | 0.731801 |
1e333cd331584b04a5b41583eaa60b09130eadef | 360 | js | JavaScript | test/most_profitable_test.js | Bluette1/NelisaNarrative | ccd842fc65047c73eeec154ec7b503c397fa863f | [
"MIT"
] | null | null | null | test/most_profitable_test.js | Bluette1/NelisaNarrative | ccd842fc65047c73eeec154ec7b503c397fa863f | [
"MIT"
] | 2 | 2020-01-04T14:45:53.000Z | 2021-05-06T05:55:01.000Z | test/most_profitable_test.js | Bluette1/NelisaNarrative | ccd842fc65047c73eeec154ec7b503c397fa863f | [
"MIT"
] | null | null | null | var most_profitable = require('../most_profitable');
var assert = require('assert');
describe("most_profitable", function(){
it("should return 'oranges'", function(){
var result = most_profitable({"Shopright":{"oranges":2, "pears":4}, "Checkers":{"apples":1, "oranges":7, "pears":1}});
assert.deepEqual(result, {"oranges from Checkers":7});
});
});
| 36 | 121 | 0.663889 |
1e34e0a8bf4371f2c72cdc817e96a36bbf395e7d | 208 | js | JavaScript | crud/src/routes/emailRoutes.js | dipenparmar12/awsome-nodejs-practice | a6019724e387ee10ab42f8c662a91b4fb64e2e29 | [
"MIT"
] | 1 | 2021-06-22T08:54:39.000Z | 2021-06-22T08:54:39.000Z | email_scheduler/src/routes/emailRoutes.js | dipenparmar12/awsome-nodejs-practice | a6019724e387ee10ab42f8c662a91b4fb64e2e29 | [
"MIT"
] | null | null | null | email_scheduler/src/routes/emailRoutes.js | dipenparmar12/awsome-nodejs-practice | a6019724e387ee10ab42f8c662a91b4fb64e2e29 | [
"MIT"
] | null | null | null | const express = require('express');
const emailController = require('../controllers/emailController');
const route = express.Router();
route.get('/test', emailController.testMail);
module.exports = route;
| 23.111111 | 66 | 0.745192 |
1e3507b2b1a5cccd162399a8b08a1e54c5e9fe8f | 1,186 | js | JavaScript | src/mock/index.js | archilleu/demo-app | 7a7284fc1c3966b919f07afea25dc8f3e763b253 | [
"Unlicense"
] | null | null | null | src/mock/index.js | archilleu/demo-app | 7a7284fc1c3966b919f07afea25dc8f3e763b253 | [
"Unlicense"
] | 3 | 2020-08-19T08:14:34.000Z | 2021-04-22T09:16:48.000Z | src/mock/index.js | archilleu/demo-app | 7a7284fc1c3966b919f07afea25dc8f3e763b253 | [
"Unlicense"
] | null | null | null | import Mock from 'mockjs'
import { baseURL } from '@/utils/global'
import user from './modules/user/api'
import sys from './modules/sys/api'
// 1. 开启/关闭[所有模块]拦截, 通过调[openMock参数]设置.
// 2. 开启/关闭[业务模块]拦截, 通过调用fnCreate方法[isOpen参数]设置.
// 3. 开启/关闭[业务模块中某个请求]拦截, 通过函数返回对象中的[isOpen属性]设置.
const openMock = false
// const openMock = true
fnCreate(user, openMock)
fnCreate(sys, openMock)
/**
* 创建mock模拟数据
* @param {*} mod 模块
* @param {*} isOpen 是否开启?
*/
function fnCreate(mod, isOpen = true) {
if (!isOpen) { return }
console.log(mod)
for (const item in mod) {
const api = mod[item]
for (const key in api) {
((res) => {
if (res.isOpen === false) { return }
let url = baseURL
if (!url.endsWith('/')) {
url = url + '/'
}
url = url + res.url
Mock.mock(new RegExp(url), res.type, (opts) => {
opts.body = opts.body ? JSON.parse(opts.body) : {}
console.log('%c mock:req: ', 'color:blue', opts)
const rep = (res.callback && res.callback(opts)) || res.data
console.log('%c mock:rep: ', 'color:blue', rep)
return rep
})
})(api[key]() || {})
}
}
}
| 24.708333 | 70 | 0.558179 |
1e3546d62d5181d7b3b2591e089c58ae6734ccce | 425 | js | JavaScript | ckeditor/plugins/giella/lang/eu.js | albbas/giella-demo | 66ffec60560cf1d6056483b08a150330fad43f7a | [
"MIT"
] | null | null | null | ckeditor/plugins/giella/lang/eu.js | albbas/giella-demo | 66ffec60560cf1d6056483b08a150330fad43f7a | [
"MIT"
] | null | null | null | ckeditor/plugins/giella/lang/eu.js | albbas/giella-demo | 66ffec60560cf1d6056483b08a150330fad43f7a | [
"MIT"
] | null | null | null | /*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'giella', 'eu', {
btn_about: 'GIELLAi buruz',
btn_dictionaries: 'Hiztegiak',
btn_disable: 'Desgaitu GIELLA',
btn_enable: 'Gaitu GIELLA',
btn_langs:'Hizkuntzak',
btn_options: 'Aukerak',
text_title: 'Ortografia Zuzenketa Idatzi Ahala (GIELLA)'
});
| 30.357143 | 75 | 0.738824 |
1e35781080a774bd4158046e3c6152e90c894fb6 | 1,818 | js | JavaScript | app/api/migrations/migrations/30-mutliple-sync/specs/30-multiple-sync.spec.js | daneryl/uwazi | 9efc21bb4c7db5a6b2405b4d14451c76da12c560 | [
"MIT"
] | 155 | 2016-07-18T13:25:29.000Z | 2022-03-09T08:36:01.000Z | app/api/migrations/migrations/30-mutliple-sync/specs/30-multiple-sync.spec.js | huridocs/uwazi | 7b43f1cc3611e6bd41dca05c627ad9212e0316d0 | [
"MIT"
] | 3,051 | 2016-05-30T21:55:00.000Z | 2022-03-31T19:26:47.000Z | app/api/migrations/migrations/30-mutliple-sync/specs/30-multiple-sync.spec.js | daneryl/uwazi | 9efc21bb4c7db5a6b2405b4d14451c76da12c560 | [
"MIT"
] | 68 | 2016-08-04T13:09:20.000Z | 2022-02-23T22:05:34.000Z | import testingDB from 'api/utils/testing_db';
import migration from '../index.js';
import fixturesWithSync from './fixtures_with_sync.js';
import fixturesWithoutSync from './fixtures_without_sync.js';
describe('migration multiple sync', () => {
beforeEach(() => {
spyOn(process.stdout, 'write');
});
afterAll(async () => {
await testingDB.disconnect();
});
const getSyncData = async () => {
const [{ sync }] = await testingDB.mongodb.collection('settings').find({}).toArray();
const syncs = await testingDB.mongodb.collection('syncs').find({}).toArray();
return { sync, syncs };
};
it('should have a delta number', () => {
expect(migration.delta).toBe(30);
});
it('should nest settings.sync in an array and name settings and syncs collection ', async () => {
await testingDB.clearAllAndLoad(fixturesWithSync);
await migration.up(testingDB.mongodb);
const { sync, syncs } = await getSyncData();
expect(sync).toEqual([{ url: 'url', name: 'default', config: { templates: { t1: ['p1'] } } }]);
expect(syncs).toEqual([expect.objectContaining({ lastSync: 1900, name: 'default' })]);
});
it('should respect collections that don`t have sync configured', async () => {
await testingDB.clearAllAndLoad(fixturesWithoutSync);
await migration.up(testingDB.mongodb);
const { sync, syncs } = await getSyncData();
expect(sync).not.toBeDefined();
expect(syncs.length).toBe(0);
});
it('should not affect other settings', async () => {
await testingDB.clearAllAndLoad(fixturesWithSync);
await migration.up(testingDB.mongodb);
const collectionSettings = await testingDB.mongodb.collection('settings').find({}).toArray();
const [{ otherProperty }] = collectionSettings;
expect(otherProperty).toBe('test');
});
});
| 33.054545 | 99 | 0.669417 |
1e3677c6dfa93c2826606d71fa2e4e2bf62781f7 | 5,840 | js | JavaScript | components/collective-page/graphql/queries.js | fakISPdesigner/opencollective-frontend | 64913f18ded9d2cfaeb2c317c6a24cc322945f33 | [
"MIT"
] | null | null | null | components/collective-page/graphql/queries.js | fakISPdesigner/opencollective-frontend | 64913f18ded9d2cfaeb2c317c6a24cc322945f33 | [
"MIT"
] | null | null | null | components/collective-page/graphql/queries.js | fakISPdesigner/opencollective-frontend | 64913f18ded9d2cfaeb2c317c6a24cc322945f33 | [
"MIT"
] | null | null | null | import { gql } from '@apollo/client';
import { MAX_CONTRIBUTORS_PER_CONTRIBUTE_CARD } from '../../contribute-cards/Contribute';
import * as fragments from './fragments';
export const collectivePageQuery = gql`
query CollectivePage($slug: String!, $nbContributorsPerContributeCard: Int) {
Collective(slug: $slug, throwIfMissing: false) {
id
slug
path
name
description
longDescription
backgroundImage
backgroundImageUrl
twitterHandle
githubHandle
website
tags
company
type
currency
settings
isActive
isPledged
isApproved
isArchived
isHost
isIncognito
isGuest
hostFeePercent
platformFeePercent
image
imageUrl(height: 256)
canApply
canContact
features {
...NavbarFields
}
ordersFromCollective(subscriptionsOnly: true) {
isSubscriptionActive
}
memberOf(onlyActiveCollectives: true, limit: 1) {
id
}
stats {
id
balance
balanceWithBlockedFunds
yearlyBudget
updates
activeRecurringContributions
totalAmountReceived(periodInMonths: 12)
totalAmountRaised: totalAmountReceived
totalNetAmountRaised: totalNetAmountReceived
backers {
id
all
users
organizations
}
transactions {
all
}
}
connectedTo: memberOf(role: "CONNECTED_COLLECTIVE", limit: 1) {
id
collective {
id
name
type
slug
}
}
parentCollective {
id
name
slug
image
backgroundImageUrl
twitterHandle
type
coreContributors: contributors(roles: [ADMIN, MEMBER]) {
...ContributorsFields
}
}
host {
id
name
slug
type
settings
plan {
id
hostFees
transferwisePayoutsLimit
transferwisePayouts
hostFeeSharePercent
}
}
coreContributors: contributors(roles: [ADMIN, MEMBER]) {
...ContributorsFields
}
financialContributors: contributors(roles: [BACKER], limit: 150) {
...ContributorsFields
}
tiers {
id
name
slug
description
useStandalonePage
goal
interval
currency
amount
minimumAmount
button
amountType
endsAt
type
maxQuantity
stats {
id
availableQuantity
totalDonated
totalRecurringDonations
contributors {
id
all
users
organizations
}
}
contributors(limit: $nbContributorsPerContributeCard) {
id
image
collectiveSlug
name
type
isGuest
}
}
events(includePastEvents: true, includeInactive: true) {
id
slug
name
description
image
isActive
startsAt
endsAt
backgroundImageUrl(height: 208)
contributors(limit: $nbContributorsPerContributeCard, roles: [BACKER, ATTENDEE]) {
id
image
collectiveSlug
name
type
isGuest
}
stats {
id
backers {
id
all
users
organizations
}
}
}
projects {
id
slug
name
description
image
isActive
backgroundImageUrl(height: 208)
contributors(limit: $nbContributorsPerContributeCard, roles: [BACKER]) {
id
name
image
collectiveSlug
type
}
stats {
id
backers {
id
all
users
organizations
}
}
}
connectedCollectives: members(role: "CONNECTED_COLLECTIVE") {
id
collective: member {
id
slug
name
type
description
backgroundImageUrl(height: 208)
stats {
id
backers {
id
all
users
organizations
}
}
contributors(limit: $nbContributorsPerContributeCard) {
id
image
collectiveSlug
name
type
}
}
}
updates(limit: 3, onlyPublishedUpdates: true) {
...UpdatesFields
}
plan {
id
hostedCollectives
hostedCollectivesLimit
}
... on Event {
timezone
startsAt
endsAt
location {
name
address
country
lat
long
}
privateInstructions
orders {
id
createdAt
quantity
publicMessage
fromCollective {
id
type
name
company
image
imageUrl
slug
twitterHandle
description
... on User {
email
}
}
tier {
id
name
type
}
}
}
}
}
${fragments.updatesFieldsFragment}
${fragments.contributorsFieldsFragment}
${fragments.collectiveNavbarFieldsFragment}
`;
export const getCollectivePageQueryVariables = slug => {
return {
slug: slug,
nbContributorsPerContributeCard: MAX_CONTRIBUTORS_PER_CONTRIBUTE_CARD,
};
};
| 20.348432 | 90 | 0.489384 |
1e3692ad134d8c60437018d6b289354beaec8323 | 753 | js | JavaScript | gateclient/vue.config.js | calebebrim/gateinterface | cfc93fad3937ba982ed8410011752695c2a21570 | [
"Apache-2.0"
] | null | null | null | gateclient/vue.config.js | calebebrim/gateinterface | cfc93fad3937ba982ed8410011752695c2a21570 | [
"Apache-2.0"
] | 3 | 2021-10-06T17:10:05.000Z | 2022-02-27T01:10:21.000Z | gateclient/vue.config.js | calebebrim/gateinterface | cfc93fad3937ba982ed8410011752695c2a21570 | [
"Apache-2.0"
] | null | null | null | const HtmlWebpackPlugin = require('html-webpack-plugin')
const HtmlWebpackInlineSourcePlugin = require('html-webpack-inline-source-plugin');
module.exports = {
css: {
extract: false,
},
configureWebpack: {
optimization: {
splitChunks: false // makes there only be 1 js file - leftover from earlier attempts but doesn't hurt
},
plugins: [
new HtmlWebpackPlugin({
filename: 'output.html', // the output file name that will be created
template: 'src/output-template.html', // this is important - a template file to use for insertion
inlineSource: '.(js|css)$' // embed all javascript and css inline
}),
new HtmlWebpackInlineSourcePlugin()
]
}
} | 37.65 | 109 | 0.641434 |