From 573aac445c0d42b0c29bbe33882c8b479996d9f6 Mon Sep 17 00:00:00 2001 From: Tetsuya Mori Date: Thu, 22 Dec 2016 13:06:39 +0900 Subject: [PATCH] [test] Rebuild test suites --- test/minify2-min/basic-test-imports.js | 22 +- .../define-element-test-imports.js | 18 +- test/minify2-min/edge-case-test-imports.js | 20 +- .../minify2-min/multiple-case-test-imports.js | 18 +- test/minify2-min/no-persist-test-imports.js | 18 +- test/minify2-min/preference-test-imports.js | 18 +- .../sourcemaps/basic-test-imports.js.map | 2 +- .../define-element-test-imports.js.map | 2 +- .../sourcemaps/edge-case-test-imports.js.map | 2 +- .../multiple-case-test-imports.js.map | 2 +- .../sourcemaps/no-persist-test-imports.js.map | 2 +- .../sourcemaps/preference-test-imports.js.map | 2 +- .../template-default-lang-test-imports.js.map | 2 +- .../template-default-lang-test-imports.js | 18 +- test/minify2/basic-test-imports.js | 22 +- test/minify2/define-element-test-imports.js | 18 +- test/minify2/edge-case-test-imports.js | 20 +- test/minify2/multiple-case-test-imports.js | 18 +- test/minify2/no-persist-test-imports.js | 18 +- test/minify2/preference-test-imports.js | 18 +- .../template-default-lang-test-imports.js | 18 +- test/vulcanize2-min/basic-test-imports.html | 2362 +++++-- .../define-element-test-imports.html | 2362 +++++-- .../edge-case-test-imports.html | 2382 +++++-- .../multiple-case-test-imports.html | 2362 +++++-- .../no-persist-test-imports.html | 2362 +++++-- .../preference-test-imports.html | 2362 +++++-- .../template-default-lang-test-imports.html | 2362 +++++-- test/vulcanize2/basic-test-imports.html | 2362 +++++-- .../define-element-test-imports.html | 2362 +++++-- test/vulcanize2/edge-case-test-imports.html | 2382 +++++-- .../multiple-case-test-imports.html | 2362 +++++-- test/vulcanize2/no-persist-test-imports.html | 2362 +++++-- test/vulcanize2/preference-test-imports.html | 2362 +++++-- .../template-default-lang-test-imports.html | 2362 +++++-- .../webcomponentsjs/webcomponents-lite.min.js | 6127 ++++++++++++++++- 36 files changed, 29807 insertions(+), 9706 deletions(-) diff --git a/test/minify2-min/basic-test-imports.js b/test/minify2-min/basic-test-imports.js index 34cc9730..f0a07e6b 100644 --- a/test/minify2-min/basic-test-imports.js +++ b/test/minify2-min/basic-test-imports.js @@ -1,13 +1,13 @@ -"use strict";function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(self,call){if(!self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!=typeof call&&"function"!=typeof call?self:call}function _inherits(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:!1,writable:!0,configurable:!0}}),superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)}function updateProperty(element,properties){for(var name in properties){var path=name.split(/[.]/);if(1===path.length)element[name]=properties[name];else for(var cursor=element,p=path.shift();p;){if(path.length<1){cursor[p]=properties[name],element.notifyPath(name,properties[name],!0);break}cursor="PolymerDom"===p?Polymer.dom(cursor):"html"===p?document.querySelector("html"):cursor[p],p=path.shift()}}}function getProperty(target,name){var path=name.split(/[.]/);if(1===path.length)return target[name];for(var cursor=target,p=path.shift();p;){if(path.length<1)return"raw"===p||"text"===p?cursor:"trim"===p?cursor.trim():"data"===p?(cursor=cursor[p],cursor=cursor.replace(/^[\s]{1,}/g," ").replace(/[\s]{1,}$/g," ")):cursor[p];if("PolymerDom"===p)cursor=Polymer.dom(cursor);else if("previousTextSibling"===p){do cursor=cursor.previousSibling;while(cursor.nodeType===cursor.COMMENT_NODE||cursor.nodeType===cursor.TEXT_NODE&&cursor.data.match(/^[\s]*$/))}else if("nextTextSibling"===p){do cursor=cursor.nextSibling;while(cursor.nodeType===cursor.COMMENT_NODE||cursor.nodeType===cursor.TEXT_NODE&&cursor.data.match(/^[\s]*$/))}else cursor="effectiveChildNodes"===p?cursor.getEffectiveChildNodes():"nonWS"===p?Array.prototype.filter.call(cursor,function(item){return item.nodeType!==item.TEXT_NODE&&item.nodeType!==item.COMMENT_NODE||item.nodeType===item.TEXT_NODE&&!item.data.match(/^[\s]*$/)}):cursor[p];p=path.shift()}}function deepMap(target,source,map){var value;for(var prop in source)switch(value=source[prop],"undefined"==typeof value?"undefined":_typeof(value)){case"string":case"number":case"boolean":"object"===("undefined"==typeof target?"undefined":_typeof(target))&&(target[prop]=map(value,prop));break;case"object":"object"===("undefined"==typeof target?"undefined":_typeof(target))&&(Array.isArray(value)?(target[prop]=target[prop]||[],deepMap(target[prop],value,map)):(target[prop]=target[prop]||{},deepMap(target[prop],value,map)));break;case"function":case"symbol":case"undefined":"object"===("undefined"==typeof target?"undefined":_typeof(target))&&(target[prop]=value);break;default:"object"===("undefined"==typeof target?"undefined":_typeof(target))&&(target[prop]=value)}return target}function translate(lang,path,text){var result;switch(lang){case"":case"en":case null:case void 0:result=text;break;default:!path||path.match(/(textContent|[.]data|[.]text|[.]trim)$/)?(result={},deepMap(result,{text:text},function(value,prop){return minifyText("string"!=typeof value||value.match(/^({{[^{}]*}}|\[\[[^\[\]]*\]\])$/)||value.match(/^[0-9]{1,}$/)||"type"===prop?value:path&&path.match(/[.]trim$/)?(lang+" "+value).trim():value.match(/^ /)?" "+lang+" "+value:lang+" "+value)}),result=result.text):result=text}return result}function minifyText(text){return text&&"string"==typeof text&&(text=text.replace(/[\s]{1,}/g," ")),text}function setupFakeServer(e){isFakeServer&&(e.server=sinon.fakeServer.create(),e.server.autoRespond=!0,e.server.respondImmediately=!0,e.server.respondWith(/\/test\/[-\w]+(\/.*[.]json)$/,function(xhr,urlPath){fakeServerContents.hasOwnProperty(urlPath)?xhr.respond(200,{"Content-Type":"application/json"},fakeServerContents[urlPath]):xhr.respond(404,{},"")}))}function teardownFakeServer(e){isFakeServer&&e.server.restore()}function setupFixture(params,fixtureModel){var fixtureName=params.fixture,e=document.querySelector("#"+fixtureName),runningTest=document.querySelectorAll(".running-test"),title=document.querySelector("#test-name"),currentPath=window.location.pathname.split("/");if(!e)throw new Error("Fixture element with id = "+fixtureName+" not found");return title&&(title.textContent=(currentPath.length>=2?currentPath[currentPath.length-2]:"")+(currentPath.length>=1?"/"+currentPath[currentPath.length-1].replace(/-test[.]html$/,"")+"/":"")+params.suite),"i18n-dom-bind"===e.is?(e.parentElement.classList.add("running-test"),Array.prototype.forEach.call(runningTest,function(node){node!==e.parentElement&&node.classList.remove("running-test")}),new Promise(function(resolve,reject){e.addEventListener("dom-change",function setupFixtureDomChange(ev){if(Polymer.dom(ev).rootTarget===e){e.removeEventListener("dom-change",setupFixtureDomChange);try{if(fixtureModel&&"string"==typeof fixtureModel.lang&&"en"!==fixtureModel.lang){e.addEventListener("lang-updated",function setupFixtureLangDomChange(event){event.target===e&&e.effectiveLang===fixtureModel.lang&&(e.removeEventListener("lang-updated",setupFixtureLangDomChange),e.render(),resolve(e))});for(var p in fixtureModel)e[p]=fixtureModel[p];e.params=params}else{for(var p in fixtureModel)e[p]=fixtureModel[p];e.params=params,e.render(),resolve(e)}}catch(ex){reject(ex)}}}),e._children&&e.render()})):(e.classList.add("running-test"),Array.prototype.forEach.call(runningTest,function(node){node!==e&&node.classList.remove("running-test")}),setupFakeServer(e),new Promise(function(resolve,reject){if(fixtureModel){var f=document.querySelector("test-fixture[id="+fixtureName+"]"),t=f.querySelector("template[is=dom-template]");if(t){var p,templatizer=new Polymer.Templatizer,instanceProps={};for(p in fixtureModel)instanceProps[p]=!0;var self=t;t._ctor=templatizer.templatize(t,{instanceProps:instanceProps,fwdHostPropToInstance:function(host,prop,value){self._instance&&self._instance.forwardProperty(prop,value,host)}}),t.stamp=function(model){return this._instance=new this._ctor(this,model),this._instance.root}.bind(t)}}var element=fixture(fixtureName,fixtureModel);element?fixtureModel&&"string"==typeof fixtureModel.lang&&"en"!==fixtureModel.lang&&fixtureModel.lang!==element.effectiveLang&&"en"!==element.effectiveLang?element.addEventListener("lang-updated",function setupFixtureLangUpdated(event){event.target===element&&element.effectiveLang===fixtureModel.lang&&(element.removeEventListener("lang-updated",setupFixtureLangUpdated),resolve(element))}):(setTimeout(function(){""!==params.lang&&"en"!==params.lang||!element.fire||element.fire("lang-updated")},500),resolve(element)):reject(new Error("setupFixture returns null for "+fixtureName+" "+JSON.stringify(fixtureModel,null,2)))}))}function restoreFixture(fixtureName){var e=document.querySelector("#"+fixtureName);if(!e)throw new Error("Fixture element with id = "+fixtureName+" not found");"i18n-dom-bind"===e.is?(e._intervalId&&clearInterval(e._intervalId),Array.prototype.forEach.call(document.querySelectorAll("i18n-dom-bind"),function(node){node.observeHtmlLang=!0})):(teardownFakeServer(e),e.restore())}function getLocalDomRoot(e){return"i18n-dom-bind"===e.is?e.parentElement:e?e.root:null}function suitesRunner(suites){suites.forEach(function(params){suite(params.suite,function(){var el,p,expected,noProperties,event=(params.rawValue,params.assign&¶ms.assign.lang?params.assign.lang:"en",params.event?params.event:"lang-updated"),defTimeout=3e5,timeout=params.timeout?params.timeout0,childPath.select+" is defined");for(var p in childPath)"select"!==p&&(Array.isArray(childPath[p])?Array.prototype.forEach.call(childPath[p],function(path,i,a){assert.equal(minifyText(getProperty(nodes[i],p)),minifyText(params.rawText?path:translate(params.effectiveLang,p,path)),p+" is set as "+minifyText(params.rawText?path:translate(params.effectiveLang,p,path)))}):assert.equal(minifyText(getProperty(nodes[0],p)),minifyText(params.rawText?childPath[p]:translate(params.effectiveLang,p,childPath[p])),p+" is set as "+translate(params.rawText?childPath[p]:params.effectiveLang,p,childPath[p])))})}),params.setup&¶ms.localDOM&&test("local DOM "+(isSuppressingSuiteParams?"{}":JSON.stringify(params.localDOM,null,2))+" is set"+(params.assign&¶ms.assign.lang?" for "+params.assign.lang:""),function(){params.localDOM.forEach(function(childPath){var nodes=Polymer.dom(getLocalDomRoot(el)).querySelectorAll(childPath.select);assert.ok(nodes.length>0,childPath.select+" is defined");for(var p in childPath)"select"!==p&&(Array.isArray(childPath[p])?Array.prototype.forEach.call(childPath[p],function(path,i,a){assert.equal(minifyText(getProperty(nodes[i],p)),minifyText(params.rawText?path:translate(params.effectiveLang,p,path)),p+" is set as "+minifyText(params.rawText?path:translate(params.effectiveLang,p,path)))}):assert.equal(minifyText(getProperty(nodes[0],p)),minifyText(params.rawText?childPath[p]:translate(params.effectiveLang,p,childPath[p])),p+" is set as "+translate(params.rawText?childPath[p]:params.effectiveLang,p,childPath[p])))})}),params.lightDOM&&test("light DOM "+(isSuppressingSuiteParams?"{}":JSON.stringify(params.lightDOM,null,2))+" is set"+(params.assign&¶ms.assign.lang?" for "+params.assign.lang:""),function(){params.lightDOM.forEach(function(childPath){var nodes=Polymer.dom(el).querySelectorAll(childPath.select);assert.ok(nodes.length>0,childPath.select+" is defined");for(var p in childPath)"select"!==p&&(Array.isArray(childPath[p])?Array.prototype.forEach.call(childPath[p],function(path,i,a){assert.equal(getProperty(nodes[i],p),translate(params.effectiveLang,p,path),p+" is set as "+translate(params.effectiveLang,p,path))}):assert.equal(getProperty(nodes[0],p),translate(params.effectiveLang,p,childPath[p]),p+" is set as "+translate(params.effectiveLang,p,childPath[p])))})}),(params.setup?teardown:suiteTeardown)(function(){restoreFixture(params.fixture)})})})}var _get=function get(object,property,receiver){null===object&&(object=Function.prototype);var desc=Object.getOwnPropertyDescriptor(object,property);if(void 0===desc){var parent=Object.getPrototypeOf(object);return null===parent?void 0:get(parent,property,receiver)}if("value"in desc)return desc.value;var getter=desc.get;if(void 0!==getter)return getter.call(receiver)},_createClass=function(){function defineProperties(target,props){for(var i=0;i"\n ],\n "paragraph": [\n "A paragraph with {1} is converted to {2}.",\n "id",\n ""\n ],\n "text_15": " outermost text at the end "\n}',"/commented-simple-text-element/locales/commented-simple-text-element.fr.json":'{\n "model": {},\n "text": " fr outermost text at the beginning ",\n "h1_3": "fr outermost header 1",\n "text_4": " fr outermost text in the middle ",\n "span_5": "fr simple text without id",\n "span_6": "fr simple text without id 2",\n "label-1": "fr simple text with id",\n "label-2": "fr simple text with id 2",\n "div_9:span": "fr simple text within div",\n "div_9:span_1": "fr simple text within div 2",\n "div_9:div_2:div": "fr great grandchild text within div",\n "div_10:text": " fr simple text as the first element in div ",\n "div_10:span_1": "fr simple text within div",\n "div_10:text_2": " fr simple text in the middle of div ",\n "div_10:span_3": "fr simple text within div 2",\n "div_10:div_4:div": "fr great grandchild text within div",\n "div_10:text_5": " fr simple text at the last element in div ",\n "toplevel-div:span": "fr simple text within div",\n "toplevel-div:span_1": "fr simple text within div 2",\n "third-level-div": "fr great grandchild text within div",\n "second-level-div:div_1": "fr great grandchild text within div without id",\n "div_12:ul:li": "fr line item without id 1",\n "div_12:ul:li_1": "fr line item without id 2",\n "div_12:ul:li_2": "fr line item without id 3",\n "line-items:li": "fr line item with id 1",\n "line-items:li_1": "fr line item with id 2",\n "line-items:li_2": "fr line item with id 3",\n "p_13": [\n "fr A paragraph with {1} is converted to {2}.",\n "fr parameters",\n "fr "\n ],\n "paragraph": [\n "fr A paragraph with {1} is converted to {2}.",\n "fr id",\n "fr "\n ],\n "text_15": " fr outermost text at the end "\n}\n',"/compound-binding-dom-bind.json":'{\n "meta": {},\n "model": {},\n "text": [\n " outermost text at the beginning with compound {1} and {2} variables ",\n "{{param1}}",\n "{{param2}}"\n ],\n "h1_3": [\n "outermost header 1 with {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "text_4": [\n " outermost text in the middle with {1} and {2} variables ",\n "{{param1}}",\n "{{param2}}"\n ],\n "span_5": [\n "simple text without id with {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "span_6": [\n "simple text without id 2 with {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "label-1": [\n "simple text with id and {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "label-2": [\n "simple text with id and {1} and {2} variables 2",\n "{{param1}}",\n "{{param2}}"\n ],\n "div_9:span": [\n "simple text within div with {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "div_9:span_1": [\n "simple text within div with {1} and {2} variables 2",\n "{{param1}}",\n "{{param2}}"\n ],\n "div_9:div_2:div": [\n "great grandchild text within div with {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "div_10:text": [\n " simple text as the first element in div with {1} and {2} variables ",\n "{{param1}}",\n "{{param2}}"\n ],\n "div_10:span_1": [\n "simple text within div with {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "div_10:text_2": [\n " simple text in the middle of div with {1} and {2} variables ",\n "{{param1}}",\n "{{param2}}"\n ],\n "div_10:span_3": [\n "simple text within div with {1} and {2} variables 2",\n "{{param1}}",\n "{{param2}}"\n ],\n "div_10:div_4:div": [\n "great grandchild text within div with {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "div_10:text_5": [\n " simple text at the last element in div with {1} and {2} variables ",\n "{{param1}}",\n "{{param2}}"\n ],\n "toplevel-div:span": [\n "simple text within div with {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "toplevel-div:span_1": [\n "simple text within div 2 with {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "third-level-div": [\n "great grandchild text within div with {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "second-level-div:div_1": [\n "great grandchild text within div without id with {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "div_12:ul:li": [\n "line item without id 1 with {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "div_12:ul:li_1": [\n "line item without id 2 with {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "div_12:ul:li_2": [\n "line item without id 3 with {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "line-items:li": [\n "line item with id 1 with {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "line-items:li_1": [\n "line item with id 2 with {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "line-items:li_2": [\n "line item with id 3 with {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "p_13": [\n "A paragraph with {1} is converted to {2}.",\n "{{param1}}",\n "{{param2}}"\n ],\n "paragraph": [\n "A paragraph with {1}, {2}, and {3} is converted to {4}.",\n "id",\n "{{param1}}",\n "{{param2}}",\n ""\n ],\n "text_15": [\n " outermost text at the end with {1} and {2} variables ",\n "{{param1}}",\n "{{param2}}"\n ]\n}',"/compound-binding-element/compound-binding-element.json":'{\n "meta": {},\n "model": {},\n "text": [\n " outermost text at the beginning with compound {1} and {2} variables ",\n "{{param1}}",\n "{{param2}}"\n ],\n "h1_3": [\n "outermost header 1 with {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "text_4": [\n " outermost text in the middle with {1} and {2} variables ",\n "{{param1}}",\n "{{param2}}"\n ],\n "span_5": [\n "simple text without id with {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "span_6": [\n "simple text without id 2 with {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "label-1": [\n "simple text with id and {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "label-2": [\n "simple text with id and {1} and {2} variables 2",\n "{{param1}}",\n "{{param2}}"\n ],\n "div_9:span": [\n "simple text within div with {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "div_9:span_1": [\n "simple text within div with {1} and {2} variables 2",\n "{{param1}}",\n "{{param2}}"\n ],\n "div_9:div_2:div": [\n "great grandchild text within div with {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "div_10:text": [\n " simple text as the first element in div with {1} and {2} variables ",\n "{{param1}}",\n "{{param2}}"\n ],\n "div_10:span_1": [\n "simple text within div with {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "div_10:text_2": [\n " simple text in the middle of div with {1} and {2} variables ",\n "{{param1}}",\n "{{param2}}"\n ],\n "div_10:span_3": [\n "simple text within div with {1} and {2} variables 2",\n "{{param1}}",\n "{{param2}}"\n ],\n "div_10:div_4:div": [\n "great grandchild text within div with {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "div_10:text_5": [\n " simple text at the last element in div with {1} and {2} variables ",\n "{{param1}}",\n "{{param2}}"\n ],\n "toplevel-div:span": [\n "simple text within div with {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "toplevel-div:span_1": [\n "simple text within div 2 with {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "third-level-div": [\n "great grandchild text within div with {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "second-level-div:div_1": [\n "great grandchild text within div without id with {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "div_12:ul:li": [\n "line item without id 1 with {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "div_12:ul:li_1": [\n "line item without id 2 with {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "div_12:ul:li_2": [\n "line item without id 3 with {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "line-items:li": [\n "line item with id 1 with {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "line-items:li_1": [\n "line item with id 2 with {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "line-items:li_2": [\n "line item with id 3 with {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "p_13": [\n "A paragraph with {1} is converted to {2}.",\n "{{param1}}",\n "{{param2}}"\n ],\n "paragraph": [\n "A paragraph with {1}, {2}, and {3} is converted to {4}.",\n "id",\n "{{param1}}",\n "{{param2}}",\n ""\n ],\n "text_15": [\n " outermost text at the end with {1} and {2} variables ",\n "{{param1}}",\n "{{param2}}"\n ]\n}',"/compound-binding-element/locales/compound-binding-element.fr.json":'{\n "model": {},\n "text": [\n " fr outermost text at the beginning with compound {1} and {2} variables ",\n "{{param1}}",\n "{{param2}}"\n ],\n "h1_3": [\n "fr outermost header 1 with {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "text_4": [\n " fr outermost text in the middle with {1} and {2} variables ",\n "{{param1}}",\n "{{param2}}"\n ],\n "span_5": [\n "fr simple text without id with {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "span_6": [\n "fr simple text without id 2 with {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "label-1": [\n "fr simple text with id and {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "label-2": [\n "fr simple text with id and {1} and {2} variables 2",\n "{{param1}}",\n "{{param2}}"\n ],\n "div_9:span": [\n "fr simple text within div with {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "div_9:span_1": [\n "fr simple text within div with {1} and {2} variables 2",\n "{{param1}}",\n "{{param2}}"\n ],\n "div_9:div_2:div": [\n "fr great grandchild text within div with {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "div_10:text": [\n " fr simple text as the first element in div with {1} and {2} variables ",\n "{{param1}}",\n "{{param2}}"\n ],\n "div_10:span_1": [\n "fr simple text within div with {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "div_10:text_2": [\n " fr simple text in the middle of div with {1} and {2} variables ",\n "{{param1}}",\n "{{param2}}"\n ],\n "div_10:span_3": [\n "fr simple text within div with {1} and {2} variables 2",\n "{{param1}}",\n "{{param2}}"\n ],\n "div_10:div_4:div": [\n "fr great grandchild text within div with {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "div_10:text_5": [\n " fr simple text at the last element in div with {1} and {2} variables ",\n "{{param1}}",\n "{{param2}}"\n ],\n "toplevel-div:span": [\n "fr simple text within div with {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "toplevel-div:span_1": [\n "fr simple text within div 2 with {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "third-level-div": [\n "fr great grandchild text within div with {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "second-level-div:div_1": [\n "fr great grandchild text within div without id with {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "div_12:ul:li": [\n "fr line item without id 1 with {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "div_12:ul:li_1": [\n "fr line item without id 2 with {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "div_12:ul:li_2": [\n "fr line item without id 3 with {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "line-items:li": [\n "fr line item with id 1 with {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "line-items:li_1": [\n "fr line item with id 2 with {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "line-items:li_2": [\n "fr line item with id 3 with {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "p_13": [\n "fr A paragraph with {1} is converted to {2}.",\n "{{param1}}",\n "{{param2}}"\n ],\n "paragraph": [\n "fr A paragraph with {1}, {2}, and {3} is converted to {4}.",\n "fr id",\n "{{param1}}",\n "{{param2}}",\n "fr "\n ],\n "text_15": [\n " fr outermost text at the end with {1} and {2} variables ",\n "{{param1}}",\n "{{param2}}"\n ]\n}\n',"/edge-case-dom-bind.json":'{\n "meta": {},\n "model": {},\n "text": [\n " name = {1} ",\n "{{text.name}}"\n ],\n "i18n-number_1": "1",\n "i18n-format_2": [\n "{{text.format}}",\n "1"\n ],\n "i18n-format_3": [\n "format",\n ""\n ],\n "p_8": [\n "hello {1}{2} {3} world",\n "
",\n "",\n ""\n ],\n "p_9": [\n "hello{1}world",\n "
"\n ],\n "text_10": " hello ",\n "text_14": " world "\n}',"/edge-case/advanced-binding-element.json":'{\n "meta": {},\n "model": {\n "aria-attributes": {\n "title": "tooltip text",\n "aria-label": "aria label text",\n "aria-valuetext": "aria value text"\n }\n },\n "annotated-format": [\n "{{tr(status,text.statusMessageFormats)}}",\n "{{parameter}}",\n "string parameter"\n ],\n "span_5": [\n "{1} {2}",\n "{{text.defaultValue}}",\n "{{text.defaultValue}}"\n ],\n "statusMessages": {\n "ok": "healthy status",\n "busy": "busy status",\n "error": "error status",\n "default": "unknown status"\n },\n "defaultValue": "default value",\n "statusMessageFormats": {\n "ok": "healthy status",\n "busy": "busy status with {2}",\n "error": "error status with {1} and {2}",\n "default": "unknown status"\n },\n "nodefault": {\n "ok": "ok status"\n }\n}',"/edge-case/complex-compound-binding-element.json":'{\n "meta": {},\n "model": {},\n "item-update2:text": [\n "updated: {1}, by: ",\n "{{text.updated}}"\n ],\n "item-update2:text_2": " xxx ",\n "item-update2:dom-if_3:template:span:b": "IF CONTENT",\n "item-update2:b_4": "abc",\n "item-update2:dom-if_5:template:text": "IF CONTENT 2",\n "item-update2:text_6": " hello ",\n "item-update:text": [\n "updated: {1}, by: ",\n "{{text.updated}}"\n ],\n "item-update:text_2": " xxx ",\n "item-update:dom-if_3:template:b": "IF CONTENT",\n "item-update:b_4": "abc",\n "item-update:dom-if_5:template:text": "IF CONTENT 2",\n "item-update:text_6": " hello ",\n "item-update3:text": [\n "updated: {1}, by: ",\n "{{text.updated}}"\n ],\n "item-update3:text_2": " xxx ",\n "item-update3:dom-if_3:template:b": "IF",\n "item-update3:dom-if_3:template:b_1": "CONTENT",\n "item-update3:b_4": "abc",\n "item-update3:dom-if_5:template:text": "IF CONTENT 2",\n "item-update3:text_6": " hello ",\n "item-update4:text": [\n "updated: {1}, by: ",\n "{{text.updated}}"\n ],\n "item-update4:dom-repeat_1:template:text": [\n " {1} = {2} ",\n "{{item.name}}",\n "{{text.updated}}"\n ],\n "item-update4:text_2": " xxx ",\n "item-update4:dom-if_3:template:b": "IF CONTENT",\n "item-update4:b_4": "abc",\n "item-update4:dom-if_5:template:text": "IF CONTENT 2",\n "item-update4:text_6": " hello ",\n "paragraph:text": "A paragraph with ",\n "paragraph:text_2": " is converted to ",\n "paragraph:code_3": "",\n "paragraph:text_4": ". ",\n "paragraph2:text": "A paragraph with deep ",\n "paragraph2:text_2": " is ",\n "paragraph2:b_3": "not",\n "paragraph2:text_4": " converted to ",\n "paragraph2:code_5": "",\n "paragraph2:text_6": ". ",\n "authors": [\n {\n "name": "Joe"\n },\n {\n "name": "Alice"\n }\n ],\n "updated": "Jan 1st, 2016",\n "parameters": [\n "parameter 1",\n "parameter 2"\n ]\n}', +"use strict";function _toConsumableArray(arr){if(Array.isArray(arr)){for(var i=0,arr2=Array(arr.length);i=2?currentPath[currentPath.length-2]:"")+(currentPath.length>=1?"/"+currentPath[currentPath.length-1].replace(/-test[.]html$/,"")+"/":"")+params.suite),"i18n-dom-bind"===e.is?(e.parentElement.classList.add("running-test"),Array.prototype.forEach.call(runningTest,function(node){node!==e.parentElement&&node.classList.remove("running-test")}),new Promise(function(resolve,reject){e.addEventListener("dom-change",function setupFixtureDomChange(ev){if(Polymer.dom(ev).rootTarget===e){e.removeEventListener("dom-change",setupFixtureDomChange);try{if(fixtureModel&&"string"==typeof fixtureModel.lang&&"en"!==fixtureModel.lang){e.addEventListener("lang-updated",function setupFixtureLangDomChange(event){event.target===e&&e.effectiveLang===fixtureModel.lang&&(e.removeEventListener("lang-updated",setupFixtureLangDomChange),e.render(),resolve(e))});for(var p in fixtureModel)e[p]=fixtureModel[p];e.params=params}else{for(var p in fixtureModel)e[p]=fixtureModel[p];e.params=params,e.render(),resolve(e)}}catch(ex){reject(ex)}}}),e._children&&e.render()})):(e.classList.add("running-test"),Array.prototype.forEach.call(runningTest,function(node){node!==e&&node.classList.remove("running-test")}),setupFakeServer(e),new Promise(function(resolve,reject){if(fixtureModel){var f=document.querySelector("test-fixture[id="+fixtureName+"]"),t=f.querySelector("template[is=dom-template]");if(t){var p,templatizer=new Polymer.Templatizer,instanceProps={};for(p in fixtureModel)instanceProps[p]=!0;var self=t;t._ctor=templatizer.templatize(t,{instanceProps:instanceProps,fwdHostPropToInstance:function(host,prop,value){self._instance&&self._instance.forwardProperty(prop,value,host)}}),t.stamp=function(model){return this._instance=new this._ctor(this,model),this._instance.root}.bind(t)}}var element=fixture(fixtureName,fixtureModel);element?fixtureModel&&"string"==typeof fixtureModel.lang&&"en"!==fixtureModel.lang&&fixtureModel.lang!==element.effectiveLang&&"en"!==element.effectiveLang?element.addEventListener("lang-updated",function setupFixtureLangUpdated(event){event.target===element&&element.effectiveLang===fixtureModel.lang&&(element.removeEventListener("lang-updated",setupFixtureLangUpdated),resolve(element))}):(setTimeout(function(){""!==params.lang&&"en"!==params.lang||!element.fire||element.fire("lang-updated")},500),resolve(element)):reject(new Error("setupFixture returns null for "+fixtureName+" "+JSON.stringify(fixtureModel,null,2)))}))}function restoreFixture(fixtureName){var e=document.querySelector("#"+fixtureName);if(!e)throw new Error("Fixture element with id = "+fixtureName+" not found");"i18n-dom-bind"===e.is?(e._intervalId&&clearInterval(e._intervalId),Array.prototype.forEach.call(document.querySelectorAll("i18n-dom-bind"),function(node){node.observeHtmlLang=!0})):(teardownFakeServer(e),e.restore())}function getLocalDomRoot(e){return"i18n-dom-bind"===e.is?e.parentElement:e?e.root:null}function suitesRunner(suites){suites.forEach(function(params){suite(params.suite,function(){var el,p,expected,noProperties,event=(params.rawValue,params.assign&¶ms.assign.lang?params.assign.lang:"en",params.event?params.event:"lang-updated"),defTimeout=3e5,timeout=params.timeout?params.timeout0,childPath.select+" is defined");for(var p in childPath)"select"!==p&&(Array.isArray(childPath[p])?Array.prototype.forEach.call(childPath[p],function(path,i,a){assert.equal(minifyText(getProperty(nodes[i],p)),minifyText(params.rawText?path:translate(params.effectiveLang,p,path)),p+" is set as "+minifyText(params.rawText?path:translate(params.effectiveLang,p,path)))}):assert.equal(minifyText(getProperty(nodes[0],p)),minifyText(params.rawText?childPath[p]:translate(params.effectiveLang,p,childPath[p])),p+" is set as "+translate(params.rawText?childPath[p]:params.effectiveLang,p,childPath[p])))})}),params.setup&¶ms.localDOM&&test("local DOM "+(isSuppressingSuiteParams?"{}":JSON.stringify(params.localDOM,null,2))+" is set"+(params.assign&¶ms.assign.lang?" for "+params.assign.lang:""),function(){params.localDOM.forEach(function(childPath){var nodes=Polymer.dom(getLocalDomRoot(el)).querySelectorAll(childPath.select);assert.ok(nodes.length>0,childPath.select+" is defined");for(var p in childPath)"select"!==p&&(Array.isArray(childPath[p])?Array.prototype.forEach.call(childPath[p],function(path,i,a){assert.equal(minifyText(getProperty(nodes[i],p)),minifyText(params.rawText?path:translate(params.effectiveLang,p,path)),p+" is set as "+minifyText(params.rawText?path:translate(params.effectiveLang,p,path)))}):assert.equal(minifyText(getProperty(nodes[0],p)),minifyText(params.rawText?childPath[p]:translate(params.effectiveLang,p,childPath[p])),p+" is set as "+translate(params.rawText?childPath[p]:params.effectiveLang,p,childPath[p])))})}),params.lightDOM&&test("light DOM "+(isSuppressingSuiteParams?"{}":JSON.stringify(params.lightDOM,null,2))+" is set"+(params.assign&¶ms.assign.lang?" for "+params.assign.lang:""),function(){params.lightDOM.forEach(function(childPath){var nodes=Polymer.dom(el).querySelectorAll(childPath.select);assert.ok(nodes.length>0,childPath.select+" is defined");for(var p in childPath)"select"!==p&&(Array.isArray(childPath[p])?Array.prototype.forEach.call(childPath[p],function(path,i,a){assert.equal(getProperty(nodes[i],p),translate(params.effectiveLang,p,path),p+" is set as "+translate(params.effectiveLang,p,path))}):assert.equal(getProperty(nodes[0],p),translate(params.effectiveLang,p,childPath[p]),p+" is set as "+translate(params.effectiveLang,p,childPath[p])))})}),(params.setup?teardown:suiteTeardown)(function(){restoreFixture(params.fixture)})})})}var _get=function get(object,property,receiver){null===object&&(object=Function.prototype);var desc=Object.getOwnPropertyDescriptor(object,property);if(void 0===desc){var parent=Object.getPrototypeOf(object);return null===parent?void 0:get(parent,property,receiver)}if("value"in desc)return desc.value;var getter=desc.get;if(void 0!==getter)return getter.call(receiver)},_createClass=function(){function defineProperties(target,props){for(var i=0;i"\n ],\n "paragraph": [\n "A paragraph with {1} is converted to {2}.",\n "id",\n ""\n ],\n "text_15": " outermost text at the end "\n}',"/commented-simple-text-element/locales/commented-simple-text-element.fr.json":'{\n "model": {},\n "text": " fr outermost text at the beginning ",\n "h1_3": "fr outermost header 1",\n "text_4": " fr outermost text in the middle ",\n "span_5": "fr simple text without id",\n "span_6": "fr simple text without id 2",\n "label-1": "fr simple text with id",\n "label-2": "fr simple text with id 2",\n "div_9:span": "fr simple text within div",\n "div_9:span_1": "fr simple text within div 2",\n "div_9:div_2:div": "fr great grandchild text within div",\n "div_10:text": " fr simple text as the first element in div ",\n "div_10:span_1": "fr simple text within div",\n "div_10:text_2": " fr simple text in the middle of div ",\n "div_10:span_3": "fr simple text within div 2",\n "div_10:div_4:div": "fr great grandchild text within div",\n "div_10:text_5": " fr simple text at the last element in div ",\n "toplevel-div:span": "fr simple text within div",\n "toplevel-div:span_1": "fr simple text within div 2",\n "third-level-div": "fr great grandchild text within div",\n "second-level-div:div_1": "fr great grandchild text within div without id",\n "div_12:ul:li": "fr line item without id 1",\n "div_12:ul:li_1": "fr line item without id 2",\n "div_12:ul:li_2": "fr line item without id 3",\n "line-items:li": "fr line item with id 1",\n "line-items:li_1": "fr line item with id 2",\n "line-items:li_2": "fr line item with id 3",\n "p_13": [\n "fr A paragraph with {1} is converted to {2}.",\n "fr parameters",\n "fr "\n ],\n "paragraph": [\n "fr A paragraph with {1} is converted to {2}.",\n "fr id",\n "fr "\n ],\n "text_15": " fr outermost text at the end "\n}\n',"/compound-binding-dom-bind.json":'{\n "meta": {},\n "model": {},\n "text": [\n " outermost text at the beginning with compound {1} and {2} variables ",\n "{{param1}}",\n "{{param2}}"\n ],\n "h1_3": [\n "outermost header 1 with {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "text_4": [\n " outermost text in the middle with {1} and {2} variables ",\n "{{param1}}",\n "{{param2}}"\n ],\n "span_5": [\n "simple text without id with {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "span_6": [\n "simple text without id 2 with {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "label-1": [\n "simple text with id and {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "label-2": [\n "simple text with id and {1} and {2} variables 2",\n "{{param1}}",\n "{{param2}}"\n ],\n "div_9:span": [\n "simple text within div with {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "div_9:span_1": [\n "simple text within div with {1} and {2} variables 2",\n "{{param1}}",\n "{{param2}}"\n ],\n "div_9:div_2:div": [\n "great grandchild text within div with {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "div_10:text": [\n " simple text as the first element in div with {1} and {2} variables ",\n "{{param1}}",\n "{{param2}}"\n ],\n "div_10:span_1": [\n "simple text within div with {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "div_10:text_2": [\n " simple text in the middle of div with {1} and {2} variables ",\n "{{param1}}",\n "{{param2}}"\n ],\n "div_10:span_3": [\n "simple text within div with {1} and {2} variables 2",\n "{{param1}}",\n "{{param2}}"\n ],\n "div_10:div_4:div": [\n "great grandchild text within div with {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "div_10:text_5": [\n " simple text at the last element in div with {1} and {2} variables ",\n "{{param1}}",\n "{{param2}}"\n ],\n "toplevel-div:span": [\n "simple text within div with {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "toplevel-div:span_1": [\n "simple text within div 2 with {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "third-level-div": [\n "great grandchild text within div with {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "second-level-div:div_1": [\n "great grandchild text within div without id with {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "div_12:ul:li": [\n "line item without id 1 with {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "div_12:ul:li_1": [\n "line item without id 2 with {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "div_12:ul:li_2": [\n "line item without id 3 with {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "line-items:li": [\n "line item with id 1 with {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "line-items:li_1": [\n "line item with id 2 with {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "line-items:li_2": [\n "line item with id 3 with {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "p_13": [\n "A paragraph with {1} is converted to {2}.",\n "{{param1}}",\n "{{param2}}"\n ],\n "paragraph": [\n "A paragraph with {1}, {2}, and {3} is converted to {4}.",\n "id",\n "{{param1}}",\n "{{param2}}",\n ""\n ],\n "text_15": [\n " outermost text at the end with {1} and {2} variables ",\n "{{param1}}",\n "{{param2}}"\n ]\n}',"/compound-binding-element/compound-binding-element.json":'{\n "meta": {},\n "model": {},\n "text": [\n " outermost text at the beginning with compound {1} and {2} variables ",\n "{{param1}}",\n "{{param2}}"\n ],\n "h1_3": [\n "outermost header 1 with {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "text_4": [\n " outermost text in the middle with {1} and {2} variables ",\n "{{param1}}",\n "{{param2}}"\n ],\n "span_5": [\n "simple text without id with {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "span_6": [\n "simple text without id 2 with {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "label-1": [\n "simple text with id and {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "label-2": [\n "simple text with id and {1} and {2} variables 2",\n "{{param1}}",\n "{{param2}}"\n ],\n "div_9:span": [\n "simple text within div with {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "div_9:span_1": [\n "simple text within div with {1} and {2} variables 2",\n "{{param1}}",\n "{{param2}}"\n ],\n "div_9:div_2:div": [\n "great grandchild text within div with {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "div_10:text": [\n " simple text as the first element in div with {1} and {2} variables ",\n "{{param1}}",\n "{{param2}}"\n ],\n "div_10:span_1": [\n "simple text within div with {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "div_10:text_2": [\n " simple text in the middle of div with {1} and {2} variables ",\n "{{param1}}",\n "{{param2}}"\n ],\n "div_10:span_3": [\n "simple text within div with {1} and {2} variables 2",\n "{{param1}}",\n "{{param2}}"\n ],\n "div_10:div_4:div": [\n "great grandchild text within div with {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "div_10:text_5": [\n " simple text at the last element in div with {1} and {2} variables ",\n "{{param1}}",\n "{{param2}}"\n ],\n "toplevel-div:span": [\n "simple text within div with {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "toplevel-div:span_1": [\n "simple text within div 2 with {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "third-level-div": [\n "great grandchild text within div with {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "second-level-div:div_1": [\n "great grandchild text within div without id with {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "div_12:ul:li": [\n "line item without id 1 with {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "div_12:ul:li_1": [\n "line item without id 2 with {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "div_12:ul:li_2": [\n "line item without id 3 with {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "line-items:li": [\n "line item with id 1 with {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "line-items:li_1": [\n "line item with id 2 with {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "line-items:li_2": [\n "line item with id 3 with {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "p_13": [\n "A paragraph with {1} is converted to {2}.",\n "{{param1}}",\n "{{param2}}"\n ],\n "paragraph": [\n "A paragraph with {1}, {2}, and {3} is converted to {4}.",\n "id",\n "{{param1}}",\n "{{param2}}",\n ""\n ],\n "text_15": [\n " outermost text at the end with {1} and {2} variables ",\n "{{param1}}",\n "{{param2}}"\n ]\n}',"/compound-binding-element/locales/compound-binding-element.fr.json":'{\n "model": {},\n "text": [\n " fr outermost text at the beginning with compound {1} and {2} variables ",\n "{{param1}}",\n "{{param2}}"\n ],\n "h1_3": [\n "fr outermost header 1 with {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "text_4": [\n " fr outermost text in the middle with {1} and {2} variables ",\n "{{param1}}",\n "{{param2}}"\n ],\n "span_5": [\n "fr simple text without id with {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "span_6": [\n "fr simple text without id 2 with {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "label-1": [\n "fr simple text with id and {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "label-2": [\n "fr simple text with id and {1} and {2} variables 2",\n "{{param1}}",\n "{{param2}}"\n ],\n "div_9:span": [\n "fr simple text within div with {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "div_9:span_1": [\n "fr simple text within div with {1} and {2} variables 2",\n "{{param1}}",\n "{{param2}}"\n ],\n "div_9:div_2:div": [\n "fr great grandchild text within div with {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "div_10:text": [\n " fr simple text as the first element in div with {1} and {2} variables ",\n "{{param1}}",\n "{{param2}}"\n ],\n "div_10:span_1": [\n "fr simple text within div with {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "div_10:text_2": [\n " fr simple text in the middle of div with {1} and {2} variables ",\n "{{param1}}",\n "{{param2}}"\n ],\n "div_10:span_3": [\n "fr simple text within div with {1} and {2} variables 2",\n "{{param1}}",\n "{{param2}}"\n ],\n "div_10:div_4:div": [\n "fr great grandchild text within div with {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "div_10:text_5": [\n " fr simple text at the last element in div with {1} and {2} variables ",\n "{{param1}}",\n "{{param2}}"\n ],\n "toplevel-div:span": [\n "fr simple text within div with {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "toplevel-div:span_1": [\n "fr simple text within div 2 with {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "third-level-div": [\n "fr great grandchild text within div with {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "second-level-div:div_1": [\n "fr great grandchild text within div without id with {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "div_12:ul:li": [\n "fr line item without id 1 with {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "div_12:ul:li_1": [\n "fr line item without id 2 with {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "div_12:ul:li_2": [\n "fr line item without id 3 with {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "line-items:li": [\n "fr line item with id 1 with {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "line-items:li_1": [\n "fr line item with id 2 with {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "line-items:li_2": [\n "fr line item with id 3 with {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "p_13": [\n "fr A paragraph with {1} is converted to {2}.",\n "{{param1}}",\n "{{param2}}"\n ],\n "paragraph": [\n "fr A paragraph with {1}, {2}, and {3} is converted to {4}.",\n "fr id",\n "{{param1}}",\n "{{param2}}",\n "fr "\n ],\n "text_15": [\n " fr outermost text at the end with {1} and {2} variables ",\n "{{param1}}",\n "{{param2}}"\n ]\n}\n',"/edge-case-dom-bind.json":'{\n "meta": {},\n "model": {},\n "text": [\n " name = {1} ",\n "{{text.name}}"\n ],\n "i18n-number_1": "1",\n "i18n-format_2": [\n "{{text.format}}",\n "1"\n ],\n "i18n-format_3": [\n "format",\n ""\n ],\n "p_8": [\n "hello {1}{2} {3} world",\n "
",\n "",\n ""\n ],\n "p_9": [\n "hello{1}world",\n "
"\n ],\n "text_10": " hello ",\n "text_14": " world "\n}',"/edge-case/advanced-binding-element.json":'{\n "meta": {},\n "model": {\n "aria-attributes": {\n "title": "tooltip text",\n "aria-label": "aria label text",\n "aria-valuetext": "aria value text"\n }\n },\n "annotated-format": [\n "{{tr(status,text.statusMessageFormats)}}",\n "{{parameter}}",\n "string parameter"\n ],\n "span_5": [\n "{1} {2}",\n "{{text.defaultValue}}",\n "{{text.defaultValue}}"\n ],\n "statusMessages": {\n "ok": "healthy status",\n "busy": "busy status",\n "error": "error status",\n "default": "unknown status"\n },\n "defaultValue": "default value",\n "statusMessageFormats": {\n "ok": "healthy status",\n "busy": "busy status with {2}",\n "error": "error status with {1} and {2}",\n "default": "unknown status"\n },\n "nodefault": {\n "ok": "ok status"\n }\n}',"/edge-case/complex-compound-binding-element.json":'{\n "meta": {},\n "model": {},\n "item-update2:text": [\n "updated: {1}, by: ",\n "{{text.updated}}"\n ],\n "item-update2:text_2": " xxx ",\n "item-update2:dom-if_3:template:span:b": "IF CONTENT",\n "item-update2:b_4": "abc",\n "item-update2:dom-if_5:template:text": "IF CONTENT 2",\n "item-update2:text_6": " hello ",\n "item-update:text": [\n "updated: {1}, by: ",\n "{{text.updated}}"\n ],\n "item-update:text_2": " xxx ",\n "item-update:dom-if_3:template:b": "IF CONTENT",\n "item-update:b_4": "abc",\n "item-update:dom-if_5:template:text": "IF CONTENT 2",\n "item-update:text_6": " hello ",\n "item-update3:text": [\n "updated: {1}, by: ",\n "{{text.updated}}"\n ],\n "item-update3:text_2": " xxx ",\n "item-update3:dom-if_3:template:b": "IF",\n "item-update3:dom-if_3:template:b_1": "CONTENT",\n "item-update3:b_4": "abc",\n "item-update3:dom-if_5:template:text": "IF CONTENT 2",\n "item-update3:text_6": " hello ",\n "item-update4:text": [\n "updated: {1}, by: ",\n "{{text.updated}}"\n ],\n "item-update4:dom-repeat_1:template:text": [\n " {1} = {2} ",\n "{{item.name}}",\n "{{text.updated}}"\n ],\n "item-update4:text_2": " xxx ",\n "item-update4:dom-if_3:template:b": "IF CONTENT",\n "item-update4:b_4": "abc",\n "item-update4:dom-if_5:template:text": "IF CONTENT 2",\n "item-update4:text_6": " hello ",\n "paragraph:text": "A paragraph with ",\n "paragraph:text_2": " is converted to ",\n "paragraph:code_3": "",\n "paragraph:text_4": ". ",\n "paragraph2:text": "A paragraph with deep ",\n "paragraph2:text_2": " is ",\n "paragraph2:b_3": "not",\n "paragraph2:text_4": " converted to ",\n "paragraph2:code_5": "",\n "paragraph2:text_6": ". ",\n "authors": [\n {\n "name": "Joe"\n },\n {\n "name": "Alice"\n }\n ],\n "updated": "Jan 1st, 2016",\n "parameters": [\n "parameter 1",\n "parameter 2"\n ]\n}', "/edge-case/empty-element.json":"{}","/edge-case/locales/advanced-binding-element.fr.json":'{\n "meta": {},\n "model": {\n "aria-attributes": {\n "title": "fr tooltip text",\n "aria-label": "fr aria label text",\n "aria-valuetext": "fr aria value text"\n }\n },\n "annotated-format": [\n "{{tr(status,text.statusMessageFormats)}}",\n "{{parameter}}",\n "fr string parameter"\n ],\n "span_5": [\n "fr {1} {2}",\n "{{text.defaultValue}}",\n "{{text.defaultValue}}"\n ],\n "statusMessages": {\n "ok": "fr healthy status",\n "busy": "fr busy status",\n "error": "fr error status",\n "default": "fr unknown status"\n },\n "defaultValue": "fr default value",\n "statusMessageFormats": {\n "ok": "fr healthy status",\n "busy": "fr busy status with {2}",\n "error": "fr error status with {1} and {2}",\n "default": "fr unknown status"\n },\n "nodefault": {\n "ok": "fr ok status"\n }\n}',"/edge-case/locales/complex-compound-binding-element.fr.json":'{\n "meta": {},\n "model": {},\n "item-update2:text": [\n "fr updated: {1}, by: ",\n "{{text.updated}}"\n ],\n "item-update2:text_2": " fr xxx ",\n "item-update2:dom-if_3:template:span:b": "fr IF CONTENT",\n "item-update2:b_4": "fr abc",\n "item-update2:dom-if_5:template:text": "fr IF CONTENT 2",\n "item-update2:text_6": " fr hello ",\n "item-update:text": [\n "fr updated: {1}, by: ",\n "{{text.updated}}"\n ],\n "item-update:text_2": " fr xxx ",\n "item-update:dom-if_3:template:b": "fr IF CONTENT",\n "item-update:b_4": "fr abc",\n "item-update:dom-if_5:template:text": "fr IF CONTENT 2",\n "item-update:text_6": " fr hello ",\n "item-update3:text": [\n "fr updated: {1}, by: ",\n "{{text.updated}}"\n ],\n "item-update3:text_2": " fr xxx ",\n "item-update3:dom-if_3:template:b": "fr IF",\n "item-update3:dom-if_3:template:b_1": "fr CONTENT",\n "item-update3:b_4": "fr abc",\n "item-update3:dom-if_5:template:text": "fr IF CONTENT 2",\n "item-update3:text_6": " fr hello ",\n "item-update4:text": [\n "fr updated: {1}, by: ",\n "{{text.updated}}"\n ],\n "item-update4:dom-repeat_1:template:text": [\n " fr {1} = {2} ",\n "{{item.name}}",\n "{{text.updated}}"\n ],\n "item-update4:text_2": " fr xxx ",\n "item-update4:dom-if_3:template:b": "fr IF CONTENT",\n "item-update4:b_4": "fr abc",\n "item-update4:dom-if_5:template:text": "fr IF CONTENT 2",\n "item-update4:text_6": " fr hello ",\n "paragraph:text": "fr A paragraph with ",\n "paragraph:text_2": " fr is converted to ",\n "paragraph:code_3": "fr ",\n "paragraph:text_4": "fr . ",\n "paragraph2:text": "fr A paragraph with deep ",\n "paragraph2:text_2": " fr is ",\n "paragraph2:b_3": "fr not",\n "paragraph2:text_4": " fr converted to ",\n "paragraph2:code_5": "fr ",\n "paragraph2:text_6": "fr . ",\n "authors": [\n {\n "name": "fr Joe"\n },\n {\n "name": "fr Alice"\n }\n ],\n "updated": "fr Jan 1st, 2016",\n "parameters": [\n "fr parameter 1",\n "fr parameter 2"\n ]\n}',"/edge-case/locales/empty-element.fr.json":"{}","/fallback-text-element/fallback-text-element.json":'{\n "meta": {},\n "model": {},\n "text": " outermost text at the beginning ",\n "h1_3": "outermost header 1",\n "text_4": " outermost text in the middle ",\n "span_5": "simple text without id",\n "span_6": "simple text without id 2",\n "label-1": "simple text with id",\n "label-2": "simple text with id 2",\n "div_9:span": "simple text within div",\n "div_9:span_1": "simple text within div 2",\n "div_9:div_2:div": "great grandchild text within div",\n "div_10:text": " simple text as the first element in div ",\n "div_10:span_1": "simple text within div",\n "div_10:text_2": " simple text in the middle of div ",\n "div_10:span_3": "simple text within div 2",\n "div_10:div_4:div": "great grandchild text within div",\n "div_10:text_5": " simple text at the last element in div ",\n "toplevel-div:span": "simple text within div",\n "toplevel-div:span_1": "simple text within div 2",\n "third-level-div": "great grandchild text within div",\n "second-level-div:div_1": "great grandchild text within div without id",\n "div_12:ul:li": "line item without id 1",\n "div_12:ul:li_1": "line item without id 2",\n "div_12:ul:li_2": "line item without id 3",\n "line-items:li": "line item with id 1",\n "line-items:li_1": "line item with id 2",\n "line-items:li_2": "line item with id 3",\n "p_13": [\n "A paragraph with {1} is converted to {2}.",\n "parameters",\n ""\n ],\n "paragraph": [\n "A paragraph with {1} is converted to {2}.",\n "id",\n ""\n ],\n "text_15": " outermost text at the end "\n}',"/fallback-text-element/locales/fallback-text-element.fr-CA.json":'{\n "model": {},\n "text": "fr-CA outermost text at the beginning ",\n "h1_3": "fr-CA outermost header 1",\n "text_4": "fr-CA outermost text in the middle ",\n "span_5": "fr-CA simple text without id",\n "span_6": "fr-CA simple text without id 2",\n "label-1": "fr-CA simple text with id",\n "label-2": "fr-CA simple text with id 2",\n "div_10:span_1": "fr-CA simple text within div",\n "toplevel-div:span": "fr-CA simple text within div",\n "toplevel-div:span_1": "fr-CA simple text within div 2",\n "third-level-div": "fr-CA great grandchild text within div",\n "second-level-div:div_1": "fr-CA great grandchild text within div without id",\n "p_13": [\n "fr-CA A paragraph with {1} is converted to {2}.",\n "fr-CA parameters",\n "fr-CA "\n ],\n "paragraph": [\n "fr-CA A paragraph with {1} is converted to {2}.",\n "fr-CA id",\n "fr-CA "\n ],\n "text_15": "fr-CA outermost text at the end "\n}\n',"/fallback-text-element/locales/fallback-text-element.fr.json":'{\n "model": {},\n "text": "fr outermost text at the beginning ",\n "h1_3": "fr outermost header 1",\n "text_4": "fr outermost text in the middle ",\n "span_5": "fr simple text without id",\n "span_6": "fr simple text without id 2",\n "label-1": "fr simple text with id",\n "label-2": "fr simple text with id 2",\n "toplevel-div:span": "fr simple text within div",\n "toplevel-div:span_1": "fr simple text within div 2",\n "third-level-div": "fr great grandchild text within div",\n "second-level-div:div_1": "fr great grandchild text within div without id",\n "div_12:ul:li": "fr line item without id 1",\n "div_12:ul:li_1": "fr line item without id 2",\n "div_12:ul:li_2": "fr line item without id 3",\n "line-items:li": "fr line item with id 1",\n "line-items:li_1": "fr line item with id 2",\n "line-items:li_2": "fr line item with id 3",\n "p_13": [\n "fr A paragraph with {1} is converted to {2}.",\n "fr parameters",\n "fr "\n ],\n "paragraph": [\n "fr A paragraph with {1} is converted to {2}.",\n "fr id",\n "fr "\n ],\n "text_15": "fr outermost text at the end "\n}\n',"/locales/compound-binding-dom-bind.fr.json":'{\n "model": {},\n "text": [\n " fr outermost text at the beginning with compound {1} and {2} variables ",\n "{{param1}}",\n "{{param2}}"\n ],\n "h1_3": [\n "fr outermost header 1 with {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "text_4": [\n " fr outermost text in the middle with {1} and {2} variables ",\n "{{param1}}",\n "{{param2}}"\n ],\n "span_5": [\n "fr simple text without id with {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "span_6": [\n "fr simple text without id 2 with {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "label-1": [\n "fr simple text with id and {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "label-2": [\n "fr simple text with id and {1} and {2} variables 2",\n "{{param1}}",\n "{{param2}}"\n ],\n "div_9:span": [\n "fr simple text within div with {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "div_9:span_1": [\n "fr simple text within div with {1} and {2} variables 2",\n "{{param1}}",\n "{{param2}}"\n ],\n "div_9:div_2:div": [\n "fr great grandchild text within div with {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "div_10:text": [\n " fr simple text as the first element in div with {1} and {2} variables ",\n "{{param1}}",\n "{{param2}}"\n ],\n "div_10:span_1": [\n "fr simple text within div with {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "div_10:text_2": [\n " fr simple text in the middle of div with {1} and {2} variables ",\n "{{param1}}",\n "{{param2}}"\n ],\n "div_10:span_3": [\n "fr simple text within div with {1} and {2} variables 2",\n "{{param1}}",\n "{{param2}}"\n ],\n "div_10:div_4:div": [\n "fr great grandchild text within div with {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "div_10:text_5": [\n " fr simple text at the last element in div with {1} and {2} variables ",\n "{{param1}}",\n "{{param2}}"\n ],\n "toplevel-div:span": [\n "fr simple text within div with {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "toplevel-div:span_1": [\n "fr simple text within div 2 with {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "third-level-div": [\n "fr great grandchild text within div with {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "second-level-div:div_1": [\n "fr great grandchild text within div without id with {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "div_12:ul:li": [\n "fr line item without id 1 with {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "div_12:ul:li_1": [\n "fr line item without id 2 with {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "div_12:ul:li_2": [\n "fr line item without id 3 with {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "line-items:li": [\n "fr line item with id 1 with {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "line-items:li_1": [\n "fr line item with id 2 with {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "line-items:li_2": [\n "fr line item with id 3 with {1} and {2} variables",\n "{{param1}}",\n "{{param2}}"\n ],\n "p_13": [\n "fr A paragraph with {1} is converted to {2}.",\n "{{param1}}",\n "{{param2}}"\n ],\n "paragraph": [\n "fr A paragraph with {1}, {2}, and {3} is converted to {4}.",\n "fr id",\n "{{param1}}",\n "{{param2}}",\n "fr "\n ],\n "text_15": [\n " fr outermost text at the end with {1} and {2} variables ",\n "{{param1}}",\n "{{param2}}"\n ]\n}\n',"/locales/simple-attribute-dom-bind.fr.json":'{\n "model": {\n "standard-input": {\n "placeholder": "fr standard HTML5 attribute"\n },\n "outer-div:input_2": {\n "placeholder": "fr standard HTML5 attribute without id"\n },\n "paper-input-element": {\n "label": "fr paper-input label",\n "error-message": "fr paper-input error message",\n "placeholder": "fr paper-input placeholder"\n },\n "outer-div:paper-input_4": {\n "label": "fr paper-input label without id",\n "error-message": "fr paper-input error message without id",\n "placeholder": "fr paper-input placeholder without id"\n },\n "pie-chart": {\n "options": {\n "title": "fr Distribution of days in 2001H1"\n },\n "cols": [\n {\n "label": "fr Month",\n "type": "string"\n },\n {\n "label": "fr Days",\n "type": "number"\n }\n ],\n "rows": [\n [\n "fr Jan",\n 31\n ],\n [\n "fr Feb",\n 28\n ],\n [\n "fr Mar",\n 31\n ],\n [\n "fr Apr",\n 30\n ],\n [\n "fr May",\n 31\n ],\n [\n "fr Jun",\n 30\n ]\n ]\n },\n "column-chart": {\n "options": {\n "title": "fr Inventory"\n },\n "data": [\n [\n "fr Year",\n "fr Things",\n "fr Stuff"\n ],\n [\n "2004",\n 1000,\n 400\n ],\n [\n "2005",\n 1170,\n 460\n ],\n [\n "2006",\n 660,\n 1120\n ],\n [\n "2007",\n 1030,\n 540\n ]\n ]\n },\n "custom-attr": {\n "custom-text-attr1": "fr custom text attribute 1",\n "custom-text-attr2": "fr custom text attribute 2",\n "custom-text-attr3": "fr custom text attribute 3"\n },\n "selective-attr": {\n "custom-text-attr4": [\n "fr {1} custom-text-attr4 attribute with param {2} and param {3} {4}",\n "{{text.ordinary-div}}",\n "{{text.ordinary-div}}",\n "[[text.ordinary-div]]",\n "{{text.ordinary-div}}"\n ],\n "custom-text-attr5": [\n "[[text.ordinary-div]]",\n " fr custom-text-attr5 attribute with param ",\n "{{or(\'\',text.ordinary-div)}}",\n " fr and param ",\n "[[text.ordinary-div]]"\n ],\n "i18n-target": [\n "fr i18n-target attribute with param {1} and param {2}",\n "{{text.ordinary-div}}",\n "[[text.ordinary-div]]"\n ],\n "i18n-target2": [\n "fr i18n-target2 attribute with param ",\n "{{or(\'\',text.ordinary-div)}}",\n " fr and param ",\n "[[text.ordinary-div]]"\n ]\n },\n "selective-attr2": {\n "i18n-target": "fr i18n-target attribute 2"\n },\n "selective-attr3": {\n "i18n-target6": "fr i18n-target6 attribute 2"\n },\n "selective-attr4": {\n "i18n-target6": "fr i18n-target6 attribute 3"\n },\n "json-data-id": {\n "attr1": "fr this attr1 is extracted",\n "i18n-target-attr": "fr this attribute is also extracted"\n },\n "template_2:json-data_1": {\n "attr1": "fr this attr1 without id is extracted",\n "i18n-target-attr": "fr this attribute without id is also extracted"\n }\n },\n "ordinary-div": "fr text 1"\n}\n',"/locales/simple-text-dom-bind.fr.json":'{\n "model": {},\n "text": " fr outermost text at the beginning ",\n "h1_3": "fr outermost header 1",\n "text_4": " fr outermost text in the middle ",\n "span_5": "fr simple text without id",\n "span_6": "fr simple text without id 2",\n "label-1": "fr simple text with id",\n "label-2": "fr simple text with id 2",\n "div_9:span": "fr simple text within div",\n "div_9:span_1": "fr simple text within div 2",\n "div_9:div_2:div": "fr great grandchild text within div",\n "div_10:text": " fr simple text as the first element in div ",\n "div_10:span_1": "fr simple text within div",\n "div_10:text_2": " fr simple text in the middle of div ",\n "div_10:span_3": "fr simple text within div 2",\n "div_10:div_4:div": "fr great grandchild text within div",\n "div_10:text_5": " fr simple text at the last element in div ",\n "toplevel-div:span": "fr simple text within div",\n "toplevel-div:span_1": "fr simple text within div 2",\n "third-level-div": "fr great grandchild text within div",\n "second-level-div:div_1": "fr great grandchild text within div without id",\n "div_12:ul:li": "fr line item without id 1",\n "div_12:ul:li_1": "fr line item without id 2",\n "div_12:ul:li_2": "fr line item without id 3",\n "line-items:li": "fr line item with id 1",\n "line-items:li_1": "fr line item with id 2",\n "line-items:li_2": "fr line item with id 3",\n "p_13": [\n "fr A paragraph with {1} is converted to {2}.",\n "fr parameters",\n "fr "\n ],\n "paragraph": [\n "fr A paragraph with {1} is converted to {2}.",\n "fr id",\n "fr "\n ],\n "text_15": " fr outermost text at the end "\n}\n',"/multiple-case/item-element.json":'{\n "meta": {},\n "model": {},\n "label": "A"\n}',"/multiple-case/locales/item-element.fr.json":'{\n "meta": {},\n "model": {},\n "label": "fr A"\n}',"/multiple-case/locales/multiple-element.fr.json":'{\n "meta": {},\n "model": {}\n}',"/multiple-case/multiple-element.json":'{\n "meta": {},\n "model": {}\n}',"/plural-gender-element/locales/plural-gender-element.fr.json":'{\n "model": {},\n "compound-format-text": [\n {\n "0": "fr You ({3}) gave no gifts.",\n "1": {\n "male": "fr You ({3}) gave him ({4}) {5}.",\n "female": "fr You ({3}) gave her ({4}) {5}.",\n "other": "fr You ({3}) gave them ({4}) {5}."\n },\n "one": {\n "male": "fr You ({3}) gave him ({4}) and one other person {5}.",\n "female": "fr You ({3}) gave her ({4}) and one other person {5}.",\n "other": "fr You ({3}) gave them ({4}) and one other person {5}."\n },\n "other": "fr You ({3}) gave them ({4}) and {1} other people gifts."\n },\n "{{recipients.length - 1}}",\n "{{recipients.0.gender}}",\n "{{sender.name}}",\n "{{recipients.0.name}}",\n "fr a gift"\n ]\n}\n',"/plural-gender-element/plural-gender-element.json":'{\n "meta": {},\n "model": {},\n "compound-format-text": [\n {\n "0": "You ({3}) gave no gifts.",\n "1": {\n "male": "You ({3}) gave him ({4}) {5}.",\n "female": "You ({3}) gave her ({4}) {5}.",\n "other": "You ({3}) gave them ({4}) {5}."\n },\n "one": {\n "male": "You ({3}) gave him ({4}) and one other person {5}.",\n "female": "You ({3}) gave her ({4}) and one other person {5}.",\n "other": "You ({3}) gave them ({4}) and one other person {5}."\n },\n "other": "You ({3}) gave them ({4}) and {1} other people gifts."\n },\n "{{recipients.length - 1}}",\n "{{recipients.0.gender}}",\n "{{sender.name}}",\n "{{recipients.0.name}}",\n "a gift"\n ]\n}',"/preference/preference-element.json":'{\n "meta": {},\n "model": {}\n}',"/simple-attribute-dom-bind.json":'{\n "meta": {},\n "model": {\n "standard-input": {\n "placeholder": "standard HTML5 attribute"\n },\n "outer-div:input_2": {\n "placeholder": "standard HTML5 attribute without id"\n },\n "paper-input-element": {\n "label": "paper-input label",\n "error-message": "paper-input error message",\n "placeholder": "paper-input placeholder"\n },\n "outer-div:paper-input_4": {\n "label": "paper-input label without id",\n "error-message": "paper-input error message without id",\n "placeholder": "paper-input placeholder without id"\n },\n "pie-chart": {\n "options": {\n "title": "Distribution of days in 2001H1"\n },\n "cols": [\n {\n "label": "Month",\n "type": "string"\n },\n {\n "label": "Days",\n "type": "number"\n }\n ],\n "rows": [\n [\n "Jan",\n 31\n ],\n [\n "Feb",\n 28\n ],\n [\n "Mar",\n 31\n ],\n [\n "Apr",\n 30\n ],\n [\n "May",\n 31\n ],\n [\n "Jun",\n 30\n ]\n ]\n },\n "column-chart": {\n "options": {\n "title": "Inventory"\n },\n "data": [\n [\n "Year",\n "Things",\n "Stuff"\n ],\n [\n "2004",\n 1000,\n 400\n ],\n [\n "2005",\n 1170,\n 460\n ],\n [\n "2006",\n 660,\n 1120\n ],\n [\n "2007",\n 1030,\n 540\n ]\n ]\n },\n "custom-attr": {\n "custom-text-attr1": "custom text attribute 1",\n "custom-text-attr2": "custom text attribute 2",\n "custom-text-attr3": "custom text attribute 3"\n },\n "selective-attr": {\n "custom-text-attr4": [\n "{1} custom-text-attr4 attribute with param {2} and param {3} {4}",\n "{{text.ordinary-div}}",\n "{{text.ordinary-div}}",\n "[[text.ordinary-div]]",\n "{{text.ordinary-div}}"\n ],\n "custom-text-attr5": [\n "[[text.ordinary-div]]",\n " custom-text-attr5 attribute with param ",\n "{{or(\'\',text.ordinary-div)}}",\n " and param ",\n "[[text.ordinary-div]]"\n ],\n "i18n-target": [\n "i18n-target attribute with param {1} and param {2}",\n "{{text.ordinary-div}}",\n "[[text.ordinary-div]]"\n ],\n "i18n-target2": [\n "i18n-target2 attribute with param ",\n "{{or(\'\',text.ordinary-div)}}",\n " and param ",\n "[[text.ordinary-div]]"\n ]\n },\n "selective-attr2": {\n "i18n-target": "i18n-target attribute 2"\n },\n "selective-attr3": {\n "i18n-target6": "i18n-target6 attribute 2"\n },\n "selective-attr4": {\n "i18n-target6": "i18n-target6 attribute 3"\n },\n "json-data-id": {\n "attr1": "this attr1 is extracted",\n "i18n-target-attr": "this attribute is also extracted"\n },\n "template_2:json-data_1": {\n "attr1": "this attr1 without id is extracted",\n "i18n-target-attr": "this attribute without id is also extracted"\n }\n },\n "ordinary-div": "text 1"\n}',"/simple-attribute-element/locales/simple-attribute-element.fr.json":'{\n "model": {\n "standard-input": {\n "placeholder": "fr standard HTML5 attribute"\n },\n "outer-div:input_2": {\n "placeholder": "fr standard HTML5 attribute without id"\n },\n "paper-input-element": {\n "label": "fr paper-input label",\n "error-message": "fr paper-input error message",\n "placeholder": "fr paper-input placeholder"\n },\n "outer-div:paper-input_4": {\n "label": "fr paper-input label without id",\n "error-message": "fr paper-input error message without id",\n "placeholder": "fr paper-input placeholder without id"\n },\n "pie-chart": {\n "options": {\n "title": "fr Distribution of days in 2001H1"\n },\n "cols": [\n {\n "label": "fr Month",\n "type": "string"\n },\n {\n "label": "fr Days",\n "type": "number"\n }\n ],\n "rows": [\n [\n "fr Jan",\n 31\n ],\n [\n "fr Feb",\n 28\n ],\n [\n "fr Mar",\n 31\n ],\n [\n "fr Apr",\n 30\n ],\n [\n "fr May",\n 31\n ],\n [\n "fr Jun",\n 30\n ]\n ]\n },\n "column-chart": {\n "options": {\n "title": "fr Inventory"\n },\n "data": [\n [\n "fr Year",\n "fr Things",\n "fr Stuff"\n ],\n [\n "2004",\n 1000,\n 400\n ],\n [\n "2005",\n 1170,\n 460\n ],\n [\n "2006",\n 660,\n 1120\n ],\n [\n "2007",\n 1030,\n 540\n ]\n ]\n },\n "custom-attr": {\n "custom-text-attr1": "fr custom text attribute 1",\n "custom-text-attr2": "fr custom text attribute 2",\n "custom-text-attr3": "fr custom text attribute 3"\n },\n "selective-attr": {\n "custom-text-attr4": [\n "fr {1} custom-text-attr4 attribute with param {2} and param {3} {4}",\n "{{text.ordinary-div}}",\n "{{text.ordinary-div}}",\n "[[text.ordinary-div]]",\n "{{text.ordinary-div}}"\n ],\n "custom-text-attr5": [\n "[[text.ordinary-div]]",\n " fr custom-text-attr5 attribute with param ",\n "{{or(\'\',text.ordinary-div)}}",\n " fr and param ",\n "[[text.ordinary-div]]"\n ],\n "i18n-target": [\n "fr i18n-target attribute with param {1} and param {2}",\n "{{text.ordinary-div}}",\n "[[text.ordinary-div]]"\n ],\n "i18n-target2": [\n "fr i18n-target2 attribute with param ",\n "{{or(\'\',text.ordinary-div)}}",\n " fr and param ",\n "[[text.ordinary-div]]"\n ]\n },\n "selective-attr2": {\n "i18n-target": "fr i18n-target attribute 2"\n },\n "selective-attr3": {\n "i18n-target6": "fr i18n-target6 attribute 2"\n },\n "selective-attr4": {\n "i18n-target6": "fr i18n-target6 attribute 3"\n },\n "json-data-id": {\n "attr1": "fr this attr1 is extracted",\n "i18n-target-attr": "fr this attribute is also extracted"\n },\n "template_2:json-data_1": {\n "attr1": "fr this attr1 without id is extracted",\n "i18n-target-attr": "fr this attribute without id is also extracted"\n }\n },\n "ordinary-div": "fr text 1"\n}\n',"/simple-attribute-element/locales/text-attribute-element.fr.json":'{\n "meta": {},\n "model": {},\n "span_4": "fr text"\n}\n',"/simple-attribute-element/simple-attribute-element.json":'{\n "meta": {},\n "model": {\n "standard-input": {\n "placeholder": "standard HTML5 attribute"\n },\n "outer-div:input_2": {\n "placeholder": "standard HTML5 attribute without id"\n },\n "paper-input-element": {\n "label": "paper-input label",\n "error-message": "paper-input error message",\n "placeholder": "paper-input placeholder"\n },\n "outer-div:paper-input_4": {\n "label": "paper-input label without id",\n "error-message": "paper-input error message without id",\n "placeholder": "paper-input placeholder without id"\n },\n "pie-chart": {\n "options": {\n "title": "Distribution of days in 2001H1"\n },\n "cols": [\n {\n "label": "Month",\n "type": "string"\n },\n {\n "label": "Days",\n "type": "number"\n }\n ],\n "rows": [\n [\n "Jan",\n 31\n ],\n [\n "Feb",\n 28\n ],\n [\n "Mar",\n 31\n ],\n [\n "Apr",\n 30\n ],\n [\n "May",\n 31\n ],\n [\n "Jun",\n 30\n ]\n ]\n },\n "column-chart": {\n "options": {\n "title": "Inventory"\n },\n "data": [\n [\n "Year",\n "Things",\n "Stuff"\n ],\n [\n "2004",\n 1000,\n 400\n ],\n [\n "2005",\n 1170,\n 460\n ],\n [\n "2006",\n 660,\n 1120\n ],\n [\n "2007",\n 1030,\n 540\n ]\n ]\n },\n "custom-attr": {\n "custom-text-attr1": "custom text attribute 1",\n "custom-text-attr2": "custom text attribute 2",\n "custom-text-attr3": "custom text attribute 3"\n },\n "selective-attr": {\n "custom-text-attr4": [\n "{1} custom-text-attr4 attribute with param {2} and param {3} {4}",\n "{{text.ordinary-div}}",\n "{{text.ordinary-div}}",\n "[[text.ordinary-div]]",\n "{{text.ordinary-div}}"\n ],\n "custom-text-attr5": [\n "[[text.ordinary-div]]",\n " custom-text-attr5 attribute with param ",\n "{{or(\'\',text.ordinary-div)}}",\n " and param ",\n "[[text.ordinary-div]]"\n ],\n "i18n-target": [\n "i18n-target attribute with param {1} and param {2}",\n "{{text.ordinary-div}}",\n "[[text.ordinary-div]]"\n ],\n "i18n-target2": [\n "i18n-target2 attribute with param ",\n "{{or(\'\',text.ordinary-div)}}",\n " and param ",\n "[[text.ordinary-div]]"\n ]\n },\n "selective-attr2": {\n "i18n-target": "i18n-target attribute 2"\n },\n "selective-attr3": {\n "i18n-target6": "i18n-target6 attribute 2"\n },\n "selective-attr4": {\n "i18n-target6": "i18n-target6 attribute 3"\n },\n "json-data-id": {\n "attr1": "this attr1 is extracted",\n "i18n-target-attr": "this attribute is also extracted"\n },\n "template_2:json-data_1": {\n "attr1": "this attr1 without id is extracted",\n "i18n-target-attr": "this attribute without id is also extracted"\n }\n },\n "ordinary-div": "text 1"\n}',"/simple-attribute-element/text-attribute-element.json":'{\n "meta": {},\n "model": {},\n "span_4": "text"\n}',"/simple-text-dom-bind.json":'{\n "meta": {},\n "model": {},\n "text": " outermost text at the beginning ",\n "h1_3": "outermost header 1",\n "text_4": " outermost text in the middle ",\n "span_5": "simple text without id",\n "span_6": "simple text without id 2",\n "label-1": "simple text with id",\n "label-2": "simple text with id 2",\n "div_9:span": "simple text within div",\n "div_9:span_1": "simple text within div 2",\n "div_9:div_2:div": "great grandchild text within div",\n "div_10:text": " simple text as the first element in div ",\n "div_10:span_1": "simple text within div",\n "div_10:text_2": " simple text in the middle of div ",\n "div_10:span_3": "simple text within div 2",\n "div_10:div_4:div": "great grandchild text within div",\n "div_10:text_5": " simple text at the last element in div ",\n "toplevel-div:span": "simple text within div",\n "toplevel-div:span_1": "simple text within div 2",\n "third-level-div": "great grandchild text within div",\n "second-level-div:div_1": "great grandchild text within div without id",\n "div_12:ul:li": "line item without id 1",\n "div_12:ul:li_1": "line item without id 2",\n "div_12:ul:li_2": "line item without id 3",\n "line-items:li": "line item with id 1",\n "line-items:li_1": "line item with id 2",\n "line-items:li_2": "line item with id 3",\n "p_13": [\n "A paragraph with {1} is converted to {2}.",\n "parameters",\n ""\n ],\n "paragraph": [\n "A paragraph with {1} is converted to {2}.",\n "id",\n ""\n ],\n "text_15": " outermost text at the end "\n}',"/simple-text-element/locales/simple-text-element.fr.json":'{\n "model": {},\n "text": " fr outermost text at the beginning ",\n "h1_3": "fr outermost header 1",\n "text_4": " fr outermost text in the middle ",\n "span_5": "fr simple text without id",\n "span_6": "fr simple text without id 2",\n "label-1": "fr simple text with id",\n "label-2": "fr simple text with id 2",\n "div_9:span": "fr simple text within div",\n "div_9:span_1": "fr simple text within div 2",\n "div_9:div_2:div": "fr great grandchild text within div",\n "div_10:text": " fr simple text as the first element in div ",\n "div_10:span_1": "fr simple text within div",\n "div_10:text_2": " fr simple text in the middle of div ",\n "div_10:span_3": "fr simple text within div 2",\n "div_10:div_4:div": "fr great grandchild text within div",\n "div_10:text_5": " fr simple text at the last element in div ",\n "toplevel-div:span": "fr simple text within div",\n "toplevel-div:span_1": "fr simple text within div 2",\n "third-level-div": "fr great grandchild text within div",\n "second-level-div:div_1": "fr great grandchild text within div without id",\n "div_12:ul:li": "fr line item without id 1",\n "div_12:ul:li_1": "fr line item without id 2",\n "div_12:ul:li_2": "fr line item without id 3",\n "line-items:li": "fr line item with id 1",\n "line-items:li_1": "fr line item with id 2",\n "line-items:li_2": "fr line item with id 3",\n "p_13": [\n "fr A paragraph with {1} is converted to {2}.",\n "fr parameters",\n "fr "\n ],\n "paragraph": [\n "fr A paragraph with {1} is converted to {2}.",\n "fr id",\n "fr "\n ],\n "text_15": " fr outermost text at the end "\n}\n', -"/simple-text-element/locales/simple-text-element.ru.json":'{\n "model": {},\n "text": " ru outermost text at the beginning ",\n "h1_3": "ru outermost header 1",\n "text_4": " ru outermost text in the middle ",\n "span_5": "ru simple text without id",\n "span_6": "ru simple text without id 2",\n "label-1": "ru simple text with id",\n "label-2": "ru simple text with id 2",\n "div_9:span": "ru simple text within div",\n "div_9:span_1": "ru simple text within div 2",\n "div_9:div_2:div": "ru great grandchild text within div",\n "div_10:text": " ru simple text as the first element in div ",\n "div_10:span_1": "ru simple text within div",\n "div_10:text_2": " ru simple text in the middle of div ",\n "div_10:span_3": "ru simple text within div 2",\n "div_10:div_4:div": "ru great grandchild text within div",\n "div_10:text_5": " ru simple text at the last element in div ",\n "toplevel-div:span": "ru simple text within div",\n "toplevel-div:span_1": "ru simple text within div 2",\n "third-level-div": "ru great grandchild text within div",\n "second-level-div:div_1": "ru great grandchild text within div without id",\n "div_12:ul:li": "ru line item without id 1",\n "div_12:ul:li_1": "ru line item without id 2",\n "div_12:ul:li_2": "ru line item without id 3",\n "line-items:li": "ru line item with id 1",\n "line-items:li_1": "ru line item with id 2",\n "line-items:li_2": "ru line item with id 3",\n "p_13": [\n "ru A paragraph with {1} is converted to {2}.",\n "ru parameters",\n "ru "\n ],\n "paragraph": [\n "ru A paragraph with {1} is converted to {2}.",\n "ru id",\n "ru "\n ],\n "text_15": " ru outermost text at the end "\n}\n',"/simple-text-element/simple-text-element.json":'{\n "meta": {},\n "model": {},\n "text": " outermost text at the beginning ",\n "h1_3": "outermost header 1",\n "text_4": " outermost text in the middle ",\n "span_5": "simple text without id",\n "span_6": "simple text without id 2",\n "label-1": "simple text with id",\n "label-2": "simple text with id 2",\n "div_9:span": "simple text within div",\n "div_9:span_1": "simple text within div 2",\n "div_9:div_2:div": "great grandchild text within div",\n "div_10:text": " simple text as the first element in div ",\n "div_10:span_1": "simple text within div",\n "div_10:text_2": " simple text in the middle of div ",\n "div_10:span_3": "simple text within div 2",\n "div_10:div_4:div": "great grandchild text within div",\n "div_10:text_5": " simple text at the last element in div ",\n "toplevel-div:span": "simple text within div",\n "toplevel-div:span_1": "simple text within div 2",\n "third-level-div": "great grandchild text within div",\n "second-level-div:div_1": "great grandchild text within div without id",\n "div_12:ul:li": "line item without id 1",\n "div_12:ul:li_1": "line item without id 2",\n "div_12:ul:li_2": "line item without id 3",\n "line-items:li": "line item with id 1",\n "line-items:li_1": "line item with id 2",\n "line-items:li_2": "line item with id 3",\n "p_13": [\n "A paragraph with {1} is converted to {2}.",\n "parameters",\n ""\n ],\n "paragraph": [\n "A paragraph with {1} is converted to {2}.",\n "id",\n ""\n ],\n "text_15": " outermost text at the end "\n}',"/simple-text-id-element/locales/simple-text-id-element.fr.json":'{\n "model": {},\n "text": " fr outermost text at the beginning ",\n "h1_3": "fr outermost header 1",\n "text_4": " fr outermost text in the middle ",\n "span_5": "fr simple text without id",\n "span_6": "fr simple text without id 2",\n "label-1": "fr simple text with id",\n "label-2": "fr simple text with id 2",\n "div_9:span": "fr simple text within div",\n "div_9:span_1": "fr simple text within div 2",\n "div_9:div_2:div": "fr great grandchild text within div",\n "div_10:text": " fr simple text as the first element in div ",\n "div_10:span_1": "fr simple text within div",\n "div_10:text_2": " fr simple text in the middle of div ",\n "div_10:span_3": "fr simple text within div 2",\n "div_10:div_4:div": "fr great grandchild text within div",\n "div_10:text_5": " fr simple text at the last element in div ",\n "toplevel-div:span": "fr simple text within div",\n "toplevel-div:span_1": "fr simple text within div 2",\n "second-level-div": [\n " fr {1}\\n {2} ",\n "fr great grandchild text within div",\n "fr great grandchild text within div without id"\n ],\n "div_12:ul:li": "fr line item without id 1",\n "div_12:ul:li_1": "fr line item without id 2",\n "div_12:ul:li_2": "fr line item without id 3",\n "line-items": [\n " fr {1}\\n {2}\\n {3} ",\n "fr line item with id 1",\n "fr line item with id 2",\n "fr line item with id 3"\n ],\n "p_13": [\n "fr A paragraph with {1} is converted to {2}.",\n "fr parameters",\n "fr "\n ],\n "paragraph": [\n "fr A paragraph with {1} is converted to {2}.",\n "fr id",\n "fr "\n ],\n "text_15": " fr outermost text at the end "\n}\n',"/simple-text-id-element/simple-text-id-element.json":'{\n "meta": {},\n "model": {},\n "text": " outermost text at the beginning ",\n "h1_3": "outermost header 1",\n "text_4": " outermost text in the middle ",\n "span_5": "simple text without id",\n "span_6": "simple text without id 2",\n "label-1": "simple text with id",\n "label-2": "simple text with id 2",\n "div_9:span": "simple text within div",\n "div_9:span_1": "simple text within div 2",\n "div_9:div_2:div": "great grandchild text within div",\n "div_10:text": " simple text as the first element in div ",\n "div_10:span_1": "simple text within div",\n "div_10:text_2": " simple text in the middle of div ",\n "div_10:span_3": "simple text within div 2",\n "div_10:div_4:div": "great grandchild text within div",\n "div_10:text_5": " simple text at the last element in div ",\n "toplevel-div:span": "simple text within div",\n "toplevel-div:span_1": "simple text within div 2",\n "second-level-div": [\n " {1}\\n {2} ",\n "great grandchild text within div",\n "great grandchild text within div without id"\n ],\n "div_12:ul:li": "line item without id 1",\n "div_12:ul:li_1": "line item without id 2",\n "div_12:ul:li_2": "line item without id 3",\n "line-items": [\n " {1}\\n {2}\\n {3} ",\n "line item with id 1",\n "line item with id 2",\n "line item with id 3"\n ],\n "p_13": [\n "A paragraph with {1} is converted to {2}.",\n "parameters",\n ""\n ],\n "paragraph": [\n "A paragraph with {1} is converted to {2}.",\n "id",\n ""\n ],\n "text_15": " outermost text at the end "\n}',"/template-default-lang/locales/null-template-default-lang-element.ja.json":"","/template-default-lang/locales/null-template-default-lang-element.zh-Hans-CN.json":'{\n "meta": {},\n "model": {},\n "text": " zh-Hans-CN outermost text at the beginning ",\n "h1_3": "zh-Hans-CN outermost header 1",\n "text_4": " zh-Hans-CN outermost text in the middle ",\n "span_5": "zh-Hans-CN simple text without id",\n "span_6": "zh-Hans-CN simple text without id 2",\n "label-1": "zh-Hans-CN simple text with id",\n "label-2": "zh-Hans-CN simple text with id 2",\n "div_9:span": "zh-Hans-CN simple text within div",\n "div_9:span_1": "zh-Hans-CN simple text within div 2",\n "div_9:div_2:div": "zh-Hans-CN great grandchild text within div",\n "div_10:text": " zh-Hans-CN simple text as the first element in div ",\n "div_10:span_1": "zh-Hans-CN simple text within div",\n "div_10:text_2": " zh-Hans-CN simple text in the middle of div ",\n "div_10:span_3": "zh-Hans-CN simple text within div 2",\n "div_10:div_4:div": "zh-Hans-CN great grandchild text within div",\n "div_10:text_5": " zh-Hans-CN simple text at the last element in div ",\n "toplevel-div:span": "zh-Hans-CN simple text within div",\n "toplevel-div:span_1": "zh-Hans-CN simple text within div 2",\n "third-level-div": "zh-Hans-CN great grandchild text within div",\n "second-level-div:div_1": "zh-Hans-CN great grandchild text within div without id",\n "div_12:ul:li": "zh-Hans-CN line item without id 1",\n "div_12:ul:li_1": "zh-Hans-CN line item without id 2",\n "div_12:ul:li_2": "zh-Hans-CN line item without id 3",\n "line-items:li": "zh-Hans-CN line item with id 1",\n "line-items:li_1": "zh-Hans-CN line item with id 2",\n "line-items:li_2": "zh-Hans-CN line item with id 3",\n "p_13": [\n "zh-Hans-CN A paragraph with {1} is converted to {2}.",\n "zh-Hans-CN parameters",\n "zh-Hans-CN "\n ],\n "paragraph": [\n "zh-Hans-CN A paragraph with {1} is converted to {2}.",\n "zh-Hans-CN id",\n "zh-Hans-CN "\n ],\n "text_15": " zh-Hans-CN outermost text at the end "\n}',"/template-default-lang/locales/template-default-lang-element.zh-Hans-CN.json":'{\n "meta": {},\n "model": {},\n "text": " zh-Hans-CN outermost text at the beginning ",\n "h1_3": "zh-Hans-CN outermost header 1",\n "text_4": " zh-Hans-CN outermost text in the middle ",\n "span_5": "zh-Hans-CN simple text without id",\n "span_6": "zh-Hans-CN simple text without id 2",\n "label-1": "zh-Hans-CN simple text with id",\n "label-2": "zh-Hans-CN simple text with id 2",\n "div_9:span": "zh-Hans-CN simple text within div",\n "div_9:span_1": "zh-Hans-CN simple text within div 2",\n "div_9:div_2:div": "zh-Hans-CN great grandchild text within div",\n "div_10:text": " zh-Hans-CN simple text as the first element in div ",\n "div_10:span_1": "zh-Hans-CN simple text within div",\n "div_10:text_2": " zh-Hans-CN simple text in the middle of div ",\n "div_10:span_3": "zh-Hans-CN simple text within div 2",\n "div_10:div_4:div": "zh-Hans-CN great grandchild text within div",\n "div_10:text_5": " zh-Hans-CN simple text at the last element in div ",\n "toplevel-div:span": "zh-Hans-CN simple text within div",\n "toplevel-div:span_1": "zh-Hans-CN simple text within div 2",\n "third-level-div": "zh-Hans-CN great grandchild text within div",\n "second-level-div:div_1": "zh-Hans-CN great grandchild text within div without id",\n "div_12:ul:li": "zh-Hans-CN line item without id 1",\n "div_12:ul:li_1": "zh-Hans-CN line item without id 2",\n "div_12:ul:li_2": "zh-Hans-CN line item without id 3",\n "line-items:li": "zh-Hans-CN line item with id 1",\n "line-items:li_1": "zh-Hans-CN line item with id 2",\n "line-items:li_2": "zh-Hans-CN line item with id 3",\n "p_13": [\n "zh-Hans-CN A paragraph with {1} is converted to {2}.",\n "zh-Hans-CN parameters",\n "zh-Hans-CN "\n ],\n "paragraph": [\n "zh-Hans-CN A paragraph with {1} is converted to {2}.",\n "zh-Hans-CN id",\n "zh-Hans-CN "\n ],\n "text_15": " zh-Hans-CN outermost text at the end "\n}',"/template-default-lang/null-template-default-lang-element.json":'{\n "meta": {},\n "model": {},\n "text": " outermost text at the beginning ",\n "h1_3": "outermost header 1",\n "text_4": " outermost text in the middle ",\n "span_5": "simple text without id",\n "span_6": "simple text without id 2",\n "label-1": "simple text with id",\n "label-2": "simple text with id 2",\n "div_9:span": "simple text within div",\n "div_9:span_1": "simple text within div 2",\n "div_9:div_2:div": "great grandchild text within div",\n "div_10:text": " simple text as the first element in div ",\n "div_10:span_1": "simple text within div",\n "div_10:text_2": " simple text in the middle of div ",\n "div_10:span_3": "simple text within div 2",\n "div_10:div_4:div": "great grandchild text within div",\n "div_10:text_5": " simple text at the last element in div ",\n "toplevel-div:span": "simple text within div",\n "toplevel-div:span_1": "simple text within div 2",\n "third-level-div": "great grandchild text within div",\n "second-level-div:div_1": "great grandchild text within div without id",\n "div_12:ul:li": "line item without id 1",\n "div_12:ul:li_1": "line item without id 2",\n "div_12:ul:li_2": "line item without id 3",\n "line-items:li": "line item with id 1",\n "line-items:li_1": "line item with id 2",\n "line-items:li_2": "line item with id 3",\n "p_13": [\n "A paragraph with {1} is converted to {2}.",\n "parameters",\n ""\n ],\n "paragraph": [\n "A paragraph with {1} is converted to {2}.",\n "id",\n ""\n ],\n "text_15": " outermost text at the end "\n}',"/template-default-lang/template-default-lang-element.json":'{\n "meta": {},\n "model": {},\n "text": " fr outermost text at the beginning ",\n "h1_3": "fr outermost header 1",\n "text_4": " fr outermost text in the middle ",\n "span_5": "fr simple text without id",\n "span_6": "fr simple text without id 2",\n "label-1": "fr simple text with id",\n "label-2": "fr simple text with id 2",\n "div_9:span": "fr simple text within div",\n "div_9:span_1": "fr simple text within div 2",\n "div_9:div_2:div": "fr great grandchild text within div",\n "div_10:text": " fr simple text as the first element in div ",\n "div_10:span_1": "fr simple text within div",\n "div_10:text_2": " fr simple text in the middle of div ",\n "div_10:span_3": "fr simple text within div 2",\n "div_10:div_4:div": "fr great grandchild text within div",\n "div_10:text_5": " fr simple text at the last element in div ",\n "toplevel-div:span": "fr simple text within div",\n "toplevel-div:span_1": "fr simple text within div 2",\n "third-level-div": "fr great grandchild text within div",\n "second-level-div:div_1": "fr great grandchild text within div without id",\n "div_12:ul:li": "fr line item without id 1",\n "div_12:ul:li_1": "fr line item without id 2",\n "div_12:ul:li_2": "fr line item without id 3",\n "line-items:li": "fr line item with id 1",\n "line-items:li_1": "fr line item with id 2",\n "line-items:li_2": "fr line item with id 3",\n "p_13": [\n "fr A paragraph with {1} is converted to {2}.",\n "fr parameters",\n "fr "\n ],\n "paragraph": [\n "fr A paragraph with {1} is converted to {2}.",\n "fr id",\n "fr "\n ],\n "text_15": " fr outermost text at the end "\n}'};Number.isNaN||(Number.isNaN=function(value){return"number"==typeof value&&isNaN(value)});var p=Object.setPrototypeOf||function(target,base){var obj=Object.create(base);for(var p in target)obj[p]=target[p];return obj},g=Object.getPrototypeOf,_name="suite",suiteMap={"null":{}},s=function(name,baseName,extension){if(suiteMap[name])throw new Error("duplicate suite name "+name);if(!suiteMap[baseName])throw new Error("inexistent base suite name "+baseName);return extension[_name]=name,extension=p(extension,suiteMap[baseName]),suiteMap[name]=extension,extension},isFakeServer="object"===("undefined"==typeof window?"undefined":_typeof(window))&&"string"==typeof window.location.href&&window.location.href.indexOf("xhr=fake")>0&&"object"===_typeof(window.fakeServerContents),isSuppressingSuiteParams="object"===("undefined"==typeof window?"undefined":_typeof(window))&&"string"==typeof window.location.href&&window.location.href.indexOf("suppress=true")>0,syntax="mixin";!function(){var href="object"===("undefined"==typeof window?"undefined":_typeof(window))&&"string"==typeof window.location.href?window.location.href:"";href&&["mixin","base-element","thin","legacy","modified-legacy"].forEach(function(_syntax){href.indexOf("syntax="+_syntax)>0&&(syntax=_syntax)})}(),window.Polymer=window.Polymer||{},window.Polymer.version="2.0-preview",function(){var modules={},lcModules={},findModule=function(id){return modules[id]||lcModules[id.toLowerCase()]},DomModule=function(_HTMLElement){function DomModule(){return _classCallCheck(this,DomModule),_possibleConstructorReturn(this,(DomModule.__proto__||Object.getPrototypeOf(DomModule)).apply(this,arguments))}return _inherits(DomModule,_HTMLElement),_createClass(DomModule,[{key:"attributeChangedCallback",value:function(){this.register()}},{key:"_styleOutsideTemplateCheck",value:function(){this.querySelector("style")&&console.warn("dom-module %s has style outside template",this.id)}},{key:"register",value:function(id){id=id||this.id,id&&(this.id=id,modules[id]=this,lcModules[id.toLowerCase()]=this,this._styleOutsideTemplateCheck())}},{key:"import",value:function(id,selector){if(id){var m=findModule(id);return m&&selector?m.querySelector(selector):m}}}],[{key:"observedAttributes",get:function(){return["id"]}}]),DomModule}(HTMLElement);customElements.define("dom-module",DomModule),Polymer.DomModule=new DomModule,Polymer.DomModule.modules=modules}(),Polymer.CaseMap={_caseMap:{},_rx:{dashToCamel:/-[a-z]/g,camelToDash:/([A-Z])/g},dashToCamelCase:function(dash){return this._caseMap[dash]||(this._caseMap[dash]=dash.indexOf("-")<0?dash:dash.replace(this._rx.dashToCamel,function(m){return m[1].toUpperCase()}))},camelToDashCase:function(camel){return this._caseMap[camel]||(this._caseMap[camel]=camel.replace(this._rx.camelToDash,"-$1").toLowerCase())}},function(){var p=Element.prototype,_matchesSelector=p.matches||p.matchesSelector||p.mozMatchesSelector||p.msMatchesSelector||p.oMatchesSelector||p.webkitMatchesSelector;Polymer.Utils={mixin:function(target,source){for(var i in source)target[i]=source[i];return target},extend:function(prototype,api){if(prototype&&api)for(var n,n$=Object.getOwnPropertyNames(api),i=0;ilastIndex&&parts.push({literal:text.slice(lastIndex,m.index)});var mode=m[1][0],negate=Boolean(m[2]),value=m[3].trim(),customEvent=void 0,notifyEvent=void 0,colon=void 0;"{"==mode&&(colon=value.indexOf("::"))>0&&(notifyEvent=value.substring(colon+2),value=value.substring(0,colon),customEvent=!0),parts.push({compoundIndex:parts.length,value:value,mode:mode,negate:negate,event:notifyEvent,customEvent:customEvent}),lastIndex=bindingRegex.lastIndex}if(lastIndex&&lastIndex1){for(var i=0;iinfo.value.length&&"property"==info.kind&&!info.isCompound&&node._hasPropertyEffect&&node._hasPropertyEffect(info.name)?(path=Polymer.Path.translate(info.value,info.name,path),inst._setPropertyToNodeFromAnnotation(node,path,value)):(path!=info.value&&(value=Polymer.Path.get(inst,info.value),inst.__data[info.value]=value),applyAnnotationValue(inst,info,value))}function applyAnnotationValue(inst,info,value){var node=inst._nodes[info.index],property=info.name;value=computeAnnotationValue(node,property,value,info),"attribute"==info.kind?inst._valueToNodeAttribute(node,value,property):node._hasPropertyEffect&&node._hasPropertyEffect(property)?inst._setPropertyToNodeFromAnnotation(node,property,value):inst._shouldPropChange(property,node[property],value)&&(node[property]=value)}function computeAnnotationValue(node,property,value,info){if(info.negate&&(value=!value),info.isCompound){var storage=node.__dataCompoundStorage[property];storage[info.compoundIndex]=value,value=storage.join("")}return"attribute"!==info.kind&&("textContent"===property||"input"==node.localName&&"value"==property)&&(value=void 0==value?"":value),value}function addAnnotationMethodEffect(inst,note,part,index){createMethodEffect(inst,part.signature,TYPES.PROPAGATE,runAnnotationMethodEffect,{index:index,isCompound:note.isCompound,compoundIndex:part.compoundIndex,kind:note.kind,name:note.name,negate:part.negate,part:part},!0)}function runAnnotationMethodEffect(inst,property,value,old,info){var val=runMethodEffect(inst,property,value,old,info);applyAnnotationValue(inst,info.methodInfo,val)}function processAnnotations(notes){if(!notes._processed){for(var i=0;i="0"&&fc<="9"&&(fc="#"),fc){case"'":case'"':a.value=arg.slice(1,-1),a.literal=!0;break;case"#":a.value=Number(arg),a.literal=!0}return a.literal||(a.rootProperty=Polymer.Path.root(arg),a.structured=Polymer.Path.isDeep(arg),a.structured&&(a.wildcard=".*"==arg.slice(-2),a.wildcard&&(a.name=arg.slice(0,-2)))),a}function marshalArgs(data,info,path,value){for(var values=[],args=info.args,i=0,l=args.length;i1?_len-1:0),_key=1;_key<_len;_key++)items[_key-1]=arguments[_key];var ret=array.push.apply(array,items);return items.length&¬ifySplice(this,array,info.path,len,items.length,[]),ret}},{key:"pop",value:function(path){var info={},array=Polymer.Path.get(this,path,info),hadLength=Boolean(array.length),ret=array.pop();return hadLength&¬ifySplice(this,array,info.path,array.length,0,[ret]),ret}},{key:"splice",value:function(path,start,deleteCount){var info={},array=Polymer.Path.get(this,path,info);start=start<0?array.length-Math.floor(-start):Math.floor(start),start||(start=0);for(var _len2=arguments.length,items=Array(_len2>3?_len2-3:0),_key2=3;_key2<_len2;_key2++)items[_key2-3]=arguments[_key2];var ret=array.splice.apply(array,[start,deleteCount].concat(items));return(items.length||ret.length)&¬ifySplice(this,array,info.path,start,items.length,ret),ret}},{key:"shift",value:function(path){var info={},array=Polymer.Path.get(this,path,info),hadLength=Boolean(array.length),ret=array.shift();return hadLength&¬ifySplice(this,array,info.path,0,0,[ret]),ret}},{key:"unshift",value:function(path){for(var info={},array=Polymer.Path.get(this,path,info),_len3=arguments.length,items=Array(_len3>1?_len3-1:0),_key3=1;_key3<_len3;_key3++)items[_key3-1]=arguments[_key3];var ret=array.unshift.apply(array,items);return items.length&¬ifySplice(this,array,info.path,0,items.length,[]),ret}},{key:"notifyPath",value:function(path,value){if(1==arguments.length){var info={};value=Polymer.Path.get(this,path,info),path=info.path}else Array.isArray(path)&&(path=Polymer.Path.normalize(path));this._setProperty(path,value)}},{key:"_createReadOnlyProperty",value:function(property,privateSetter){this._addPropertyEffect(property,TYPES.READ_ONLY),privateSetter&&(this["_set"+upper(property)]=function(value){this._setProperty(property,value)})}},{key:"_createObservedProperty",value:function(property,methodName,context){this._addPropertyEffect(property,TYPES.OBSERVE,{fn:runObserverEffect,info:{methodName:methodName,context:context?this:null}})}},{key:"_createNotifyingProperty",value:function(property){this._addPropertyEffect(property,TYPES.NOTIFY,{fn:runNotifyEffect,info:{eventName:CaseMap.camelToDashCase(property)+"-changed",property:property}})}},{key:"_createReflectedProperty",value:function(property){var attr=CaseMap.camelToDashCase(property);"-"===attr[0]?console.warn("Property "+property+" cannot be reflected to attribute "+attr+' because "-" is not a valid starting attribute name. Use a lowercase first letter for the property thisead.'):this._addPropertyEffect(property,TYPES.REFLECT,{fn:runReflectEffect,info:{attrName:attr}})}},{key:"_createMethodObserver",value:function(expression){var sig=parseMethod(expression);if(!sig)throw new Error("Malformed observer expression '"+expression+"'");createMethodEffect(this,sig,TYPES.OBSERVE,runMultiObserverEffect)}},{key:"_createComputedProperty",value:function(property,expression){var sig=parseMethod(expression);if(!sig)throw new Error("Malformed computed expression '"+expression+"'");createMethodEffect(this,sig,TYPES.COMPUTE,runComputedEffect,property)}},{key:"_bindTemplate",value:function(template){bindTemplate(this,template)}},{key:"_setupBindings",value:function(dom,notes){setupBindings(this,dom,notes)}}]),PropertyEffects}(Polymer.TemplateStamp(Polymer.Attributes(Polymer.PropertyAccessors(superClass))))})}(),function(){function runComputedEffects(inst,changedProps,oldProps){var COMPUTE=inst.PROPERTY_EFFECT_TYPES.COMPUTE;if(inst[COMPUTE]){for(var inputProps=changedProps,computedProps=void 0;runEffects(inst,COMPUTE,inputProps);)utils.mixin(oldProps,inst.__dataOld),utils.mixin(changedProps,inst.__dataPending),computedProps=utils.mixin(computedProps||{},inst.__dataPending),inputProps=inst.__dataPending,inst.__dataPending=null;return computedProps}}function computeLinkedPaths(inst,changedProps,computedProps){var links=inst.__dataLinkedPaths;if(links){computedProps=computedProps||{};var link=void 0;for(var a in links){var b=links[a];for(var path in changedProps)Polymer.Path.isDescendant(a,path)?(link=Polymer.Path.translate(a,b,path),changedProps[link]=computedProps[link]=inst.__data[link]=changedProps[path]):Polymer.Path.isDescendant(b,path)&&(link=Polymer.Path.translate(b,a,path),changedProps[link]=computedProps[link]=inst.__data[link]=changedProps[path])}}return computedProps}function notifyProperties(inst,changedProps,computedProps,oldProps){var props=inst.__dataFromAbove?computedProps:changedProps,runId=inst._runId=(inst._runId||0)+1;inst.__dataInterim=inst.__dataInterim?utils.mixin(inst.__dataInterim,changedProps):changedProps,inst.__dataInterimOld=inst.__dataInterimOld?utils.mixin(inst.__dataInterimOld,oldProps):oldProps;var notified=void 0,notifyEffects=inst[inst.PROPERTY_EFFECT_TYPES.NOTIFY],id=effectUid++;for(var prop in props)notifyEffects&&runEffectsForProperty(inst,notifyEffects,id,prop,oldProps&&oldProps[prop])?notified=!0:notifyPath(inst,prop)&&(notified=!0);var host=void 0;if(notified&&(host=inst.__dataHost)&&host.setProperties&&host._flushProperties(),runId==inst._runId)return changedProps=inst.__dataInterim,oldProps=inst.__dataInterimOld,inst.__dataInterim=null,inst.__dataInterimOld=null,{changedProps:changedProps,oldProps:oldProps}}function notifyPath(inst,prop){var rootProperty=Polymer.Path.root(prop);if(rootProperty!==prop){var name=Polymer.CaseMap.camelToDashCase(rootProperty)+"-changed",options={detail:{value:inst.__data[prop],path:prop}};return inst._dispatchNotifyingEvent(new CustomEvent(name,options)),!0}}function runEffects(inst,type,props,oldProps){var ran=void 0,effects=inst[type];if(effects){var id=effectUid++;for(var prop in props)runEffectsForProperty(inst,effects,id,prop,oldProps&&oldProps[prop])&&(ran=!0)}return ran}function runEffectsForProperty(inst,effects,id,prop,old){var ran=void 0,rootProperty=Polymer.Path.root(prop),fxs=effects[rootProperty];if(fxs)for(var fx,fromAbove=inst.__dataFromAbove,i=0,l=fxs.length;i0?~setTimeout(callback,waitTime):(this._twiddle.textContent=this._twiddleContent++,this._callbacks.push(callback),this._currVal++)},cancel:function(handle){if(handle<0)clearTimeout(~handle);else{var idx=handle-this._lastVal;if(idx>=0){if(!this._callbacks[idx])throw"invalid async handle: "+handle;this._callbacks[idx]=null}}},_atEndOfMicrotask:function(){for(var len=this._callbacks.length,i=0;i=bcr.left&&x<=bcr.right&&y>=bcr.top&&y<=bcr.bottom)}return!1}function firstTouchAction(ev){var ta="auto",path=ev.composedPath&&ev.composedPath();if(path)for(var n,i=0;i-1&&r.reset&&r.reset();for(var _r,_i=0;_idx:"pan-y"===ta&&(prevent=dx>dy)),prevent?ev.preventDefault():gestures.prevent("track")}},addListener:function(node,evType,handler){if(this.gestures[evType])return this.add(node,evType,handler),!0},removeListener:function(node,evType,handler){if(this.gestures[evType])return this.remove(node,evType,handler),!0},add:function(node,evType,handler){node=wrap(node);var recognizer=this.gestures[evType],deps=recognizer.deps,name=recognizer.name,gobj=node[GESTURE_KEY];gobj||(node[GESTURE_KEY]=gobj={});for(var dep,gd,i=0;i-1||(gd=gobj[dep],gd||(gobj[dep]=gd={_count:0}),0===gd._count&&node.addEventListener(dep,this.handleNative),gd[name]=(gd[name]||0)+1,gd._count=(gd._count||0)+1);node.addEventListener(evType,handler),recognizer.touchAction&&this.setTouchAction(node,recognizer.touchAction)},remove:function(node,evType,handler){node=wrap(node);var recognizer=this.gestures[evType],deps=recognizer.deps,name=recognizer.name,gobj=node[GESTURE_KEY];if(gobj)for(var dep,gd,i=0;iTRACK_LENGTH&&this.moves.shift(),this.moves.push(move)},movefn:null,upfn:null,prevent:!1},reset:function(){this.info.state="start",this.info.started=!1,this.info.moves=[],this.info.x=0,this.info.y=0,this.info.prevent=!1,untrackDocument(this.info)},hasMovedEnough:function(x,y){if(this.info.prevent)return!1;if(this.info.started)return!0;var dx=Math.abs(this.info.x-x),dy=Math.abs(this.info.y-y);return dx>=TRACK_DISTANCE||dy>=TRACK_DISTANCE},mousedown:function(e){if(hasLeftMouseButton(e)){var t=gestures.findOriginalTarget(e),self=this,movefn=function(e){var x=e.clientX,y=e.clientY;self.hasMovedEnough(x,y)&&(self.info.state=self.info.started?"mouseup"===e.type?"end":"track":"start",self.info.addMove({x:x,y:y}),hasLeftMouseButton(e)||(self.info.state="end",untrackDocument(self.info)),self.fire(t,e),self.info.started=!0)},upfn=function(e){self.info.started&&(gestures.prevent("tap"),movefn(e)),untrackDocument(self.info)};trackDocument(this.info,movefn,upfn),this.info.x=e.clientX,this.info.y=e.clientY}},touchstart:function(e){var ct=e.changedTouches[0];this.info.x=ct.clientX,this.info.y=ct.clientY},touchmove:function(e){var t=gestures.findOriginalTarget(e),ct=e.changedTouches[0],x=ct.clientX,y=ct.clientY;this.hasMovedEnough(x,y)&&(this.info.addMove({x:x,y:y}),this.fire(t,ct),this.info.state="track",this.info.started=!0)},touchend:function(e){var t=gestures.findOriginalTarget(e),ct=e.changedTouches[0];this.info.started&&(gestures.prevent("tap"),this.info.state="end",this.info.addMove({x:ct.clientX,y:ct.clientY}),this.fire(t,ct))},fire:function(target,touch){var secondlast=this.info.moves[this.info.moves.length-2],lastmove=this.info.moves[this.info.moves.length-1],dx=lastmove.x-this.info.x,dy=lastmove.y-this.info.y,ddx=void 0,ddy=0;return secondlast&&(ddx=lastmove.x-secondlast.x,ddy=lastmove.y-secondlast.y),gestures.fire(target,"track",{state:this.info.state,x:touch.clientX,y:touch.clientY,dx:dx,dy:dy,ddx:ddx,ddy:ddy,sourceEvent:touch,hover:function(){return gestures.deepTargetFind(touch.clientX,touch.clientY)}})}}),gestures.register({name:"tap",deps:["mousedown","click","touchstart","touchend"],flow:{start:["mousedown","touchstart"],end:["click","touchend"]},emits:["tap"],info:{x:NaN,y:NaN,prevent:!1},reset:function(){this.info.x=NaN,this.info.y=NaN,this.info.prevent=!1},save:function(e){this.info.x=e.clientX,this.info.y=e.clientY},mousedown:function(e){hasLeftMouseButton(e)&&this.save(e)},click:function(e){hasLeftMouseButton(e)&&this.forward(e)},touchstart:function(e){this.save(e.changedTouches[0])},touchend:function(e){this.forward(e.changedTouches[0])},forward:function(e){var dx=Math.abs(e.clientX-this.info.x),dy=Math.abs(e.clientY-this.info.y),t=gestures.findOriginalTarget(e);(isNaN(dx)||isNaN(dy)||dx<=TAP_DISTANCE&&dy<=TAP_DISTANCE||isSyntheticClick(e))&&(this.info.prevent||gestures.fire(t,"tap",{x:e.clientX,y:e.clientY,sourceEvent:e}))}}),Polymer.Gestures=gestures,Polymer.GestureEventListeners=Polymer.Utils.dedupingMixin(function(superClass){return function(_Polymer$EventListene){function GestureEventListeners(){return _classCallCheck(this,GestureEventListeners),_possibleConstructorReturn(this,(GestureEventListeners.__proto__||Object.getPrototypeOf(GestureEventListeners)).apply(this,arguments))}return _inherits(GestureEventListeners,_Polymer$EventListene),_createClass(GestureEventListeners,[{key:"_addEventListenerToNode",value:function(node,eventName,handler){gestures.addListener(node,eventName,handler)||_get(GestureEventListeners.prototype.__proto__||Object.getPrototypeOf(GestureEventListeners.prototype),"_addEventListenerToNode",this).call(this,node,eventName,handler)}},{key:"_removeEventListenerToNode",value:function(node,eventName,handler){gestures.removeListener(node,eventName,handler)||_get(GestureEventListeners.prototype.__proto__||Object.getPrototypeOf(GestureEventListeners.prototype),"_addEventListenerToNode",this).call(this,node,eventName,handler)}}]),GestureEventListeners}(Polymer.EventListeners(superClass))})}(),function(){Polymer.AsyncRender={_scheduled:!1,_beforeRenderQueue:[],_afterRenderQueue:[],beforeRender:function(cb){this._scheduled||this._schedule(),this._beforeRenderQueue.push(cb)},afterRender:function(cb){this._scheduled||this._schedule(),this._afterRenderQueue.push(cb)},_schedule:function(){this._scheduled=!0;var self=this;requestAnimationFrame(function(){self._scheduled=!1,self._flushQueue(self._beforeRenderQueue),setTimeout(function(){self._flushQueue(self._afterRenderQueue)})})},flush:function(){this.flushBeforeRender(),this.flushAfterRender()},flushBeforeRender:function(){this._flushQueue(this._beforeRenderQueue)},flushAfterRender:function(){this._flushQueue(this._afterRenderQueue)},_flushQueue:function(queue){for(var i=0;i0||j>0;)if(0!=i)if(0!=j){var northWest=distances[i-1][j-1],west=distances[i-1][j],north=distances[i][j-1],min=void 0;min=west=0)return arrayOrPath.splice(index,1)}else{var arr=Polymer.Path.get(this,arrayOrPath);if(index=arr.indexOf(item),index>=0)return this.splice(arrayOrPath,index,1)}}},{key:"domHost",get:function(){var root=this.getRootNode();return root instanceof DocumentFragment?root.host:root}}]),LegacyElement}(Polymer.GestureEventListeners(Polymer.ElementMixin(base)))}),Polymer.LegacyElement=Polymer.LegacyElementMixin(HTMLElement),Polymer.Base=Polymer.LegacyElement.prototype}(),function(){var utils=Polymer.Utils,LegacyElementMixin=Polymer.LegacyElementMixin,metaProps={attached:!0,detached:!0,ready:!0,created:!0,beforeRegister:!0,registered:!0,attributeChanged:!0,behaviors:!0,hostAttributes:!0,properties:!0,observers:!0,listeners:!0},mixinBehaviors=function mixinBehaviors(behaviors,klass){for(var i=0;i child");this._bindTemplate(template),this.root=this._stampTemplate(template),this._children=[];for(var n=this.root.firstChild;n;n=n.nextSibling)this._children[this._children.length]=n;this._flushProperties(this)}this._insertChildren(),this.dispatchEvent(new CustomEvent("dom-change"))}}]),DomBind}(Polymer.BatchedEffects(HTMLElement));customElements.define("dom-bind",DomBind)}(),function(){function PatchedHTMLTemplateElement(){return PatchedHTMLTemplateElement._newInstance}var TemplateInstanceBase=Polymer.BatchedEffects(function(){function _class(){_classCallCheck(this,_class)}return _class}());PatchedHTMLTemplateElement.prototype=Object.create(HTMLTemplateElement.prototype,{constructor:{value:PatchedHTMLTemplateElement}}),PatchedHTMLTemplateElement._newInstance=null;var DataTemplate=function(_Polymer$BatchedEffec3){function DataTemplate(){return _classCallCheck(this,DataTemplate),_possibleConstructorReturn(this,(DataTemplate.__proto__||Object.getPrototypeOf(DataTemplate)).apply(this,arguments))}return _inherits(DataTemplate,_Polymer$BatchedEffec3),_createClass(DataTemplate,null,[{key:"upgradeTemplate",value:function(template){PatchedHTMLTemplateElement._newInstance=template,Object.setPrototypeOf(template,DataTemplate.prototype),new DataTemplate,PatchedHTMLTemplateElement._newInstance=null}}]),DataTemplate}(Polymer.BatchedEffects(PatchedHTMLTemplateElement)),Templatizer=function(){function Templatizer(){_classCallCheck(this,Templatizer)}return _createClass(Templatizer,[{key:"templatize",value:function(template,options){var klass=template.__templatizerClass;if(klass)return klass;template._content=template._content||template.content;var baseClass=template._content.__templatizerClass;return baseClass||(baseClass=template._content.__templatizerClass=this._createTemplatizerClass(template,options)),this._prepHostProperties(template,options),klass=function(_baseClass){function TemplateInstance(){return _classCallCheck(this,TemplateInstance),_possibleConstructorReturn(this,(TemplateInstance.__proto__||Object.getPrototypeOf(TemplateInstance)).apply(this,arguments))}return _inherits(TemplateInstance,_baseClass),TemplateInstance}(baseClass),klass.prototype.__template=template,klass.instCount=0,template.__templatizerClass=klass,klass}},{key:"_createTemplatizerClass",value:function(template,options){var klass=function(_TemplateInstanceBase){function klass(host,props){_classCallCheck(this,klass);var _this20=_possibleConstructorReturn(this,(klass.__proto__||Object.getPrototypeOf(klass)).call(this));_this20.id=_this20.constructor.instCount,_this20.constructor.instCount++,_this20.__dataHost=_this20.__template;var templateHost=_this20.__template.__dataHost;_this20._rootDataHost=templateHost&&templateHost._rootDataHost||templateHost,_this20._hostProps=template._content._hostProps,_this20._configureProperties(props),_this20.root=_this20._stampTemplate(template);for(var children=_this20.children=[],n=_this20.root.firstChild;n;n=n.nextSibling)children.push(n),n._templateInstance=_this20;return host.__hideTemplateChildren__&&_this20._showHideChildren(!0),_this20._flushProperties(!0),_this20}return _inherits(klass,_TemplateInstanceBase),_createClass(klass,[{key:"localName",get:function(){return"template#"+this.__template.id+"/TemplateInstance"}}]),_createClass(klass,[{key:"_showHideChildren",value:function(hide){for(var c=this.children,i=0;i child");var instanceProps={};instanceProps[this.as]=!0,instanceProps[this.indexAs]=!0,instanceProps[this.itemsIndexAs]=!0,this._ctor=templatizer.templatize(template,{instanceProps:instanceProps,fwdHostPropToInstance:function(template,prop,value){for(var inst,repeater=template.__domRepeat,i$=repeater._instances,i=0;i=instIdx;_i4--)this._detachAndRemoveInstance(_i4)}},{key:"_detachInstance",value:function(idx){var inst=this._instances[idx];if(inst.children)for(var i=0;i child");this._ctor=templatizer.templatize(template,{fwdHostPropToInstance:function(host,prop,value){var domif=template.__domIf;domif._instance&&domif._instance.forwardProperty(prop,value,host)}})}if(this._instance){var c$=this._instance.children;if(c$&&c$.length){var lastChild=this.previousSibling;if(lastChild!==c$[c$.length-1])for(var n,i=0;i