change url to archive mirror
This commit is contained in:
1 parent
fbb2b0cc60
commit
66602c7280
690 files changed
+1017813
-2
No files matched your search
+1
@@ -0,0 +1 @@
|
||||
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e(((t=t||self).prettierPlugins=t.prettierPlugins||{},t.prettierPlugins.glimmer={}))}(this,(function(t){"use strict";var e=function(t,e){var r=new SyntaxError(t+" ("+e.start.line+":"+e.start.column+")");return r.loc=e,r};function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function n(t,e){for(var r=0;r<e.length;r++){var a=e[r];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}function i(t,e,r){return e&&n(t.prototype,e),r&&n(t,r),t}function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&l(t,e)}function s(t){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function l(t,e){return(l=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function c(t,e){return!e||"object"!=typeof e&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t,e){return f(t)||function(t,e){if(!(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t)))return;var r=[],a=!0,n=!1,i=void 0;try{for(var o,s=t[Symbol.iterator]();!(a=(o=s.next()).done)&&(r.push(o.value),!e||r.length!==e);a=!0);}catch(t){n=!0,i=t}finally{try{a||null==s.return||s.return()}finally{if(n)throw i}}return r}(t,e)||m()}function h(t){return f(t)||d(t)||m()}function p(t){return function(t){if(Array.isArray(t)){for(var e=0,r=new Array(t.length);e<t.length;e++)r[e]=t[e];return r}}(t)||d(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function f(t){if(Array.isArray(t))return t}function d(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}function m(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}var g=("undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{}).performance||{},v=(g.now||g.mozNow||g.msNow||g.oNow||g.webkitNow,Object.freeze([]),new(function(){function t(e,r){a(this,t),this._head=e,this._tail=r}return i(t,[{key:"forEachNode",value:function(t){for(var e=this._head;null!==e;)t(e),e=this.nextNode(e)}},{key:"head",value:function(){return this._head}},{key:"tail",value:function(){return this._tail}},{key:"toArray",value:function(){var t=[];return this.forEachNode((function(e){return t.push(e)})),t}},{key:"nextNode",value:function(t){return t===this._tail?null:t.next}}]),t}())(null,null),Object.keys);function b(t){for(var e=1;e<arguments.length;e++){var a=arguments[e];if(null!==a&&"object"===r(a))for(var n=v(a),i=0;i<n.length;i++){var o=n[i];t[o]=a[o]}}return t}var y=function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return e};function k(t,e,r,a){return{type:"ElementModifierStatement",path:_(t),params:e||[],hash:r||N([]),loc:O(a||null)}}function S(t){return Array.isArray(t)&&2===t.length&&"loc"===t[0]}function w(t){if("string"==typeof t)return k(t);var e,a,n,i=function(t){return"string"==typeof t?_(t):_(t[1],t[2]&&t[2][1])}(t[0]),o=null,s=t.slice(1),l=s.shift();return n=l,Array.isArray(n)&&!S(n)&&(e=l,function(t){return!("object"!==r(t)||!t||Array.isArray(t))}(l=s.shift())&&(a=function(t,e){var r=[];return Object.keys(t).forEach((function(e){r.push(L(e,t[e]))})),N(r,e)}(l))),S(l)&&(o=l[1]),k(i,e,a,o)}function x(t){return P(t[0],"string"==typeof t[1]?A(t[1]):t[1],t[2]?t[2][1]:void 0)}function E(){for(var t={},e=arguments.length,r=new Array(e),a=0;a<e;a++)r[a]=arguments[a];for(var n=0,i=r;n<i.length;n++){var o=i[n];switch(o[0]){case"attrs":var s=h(o).slice(1);t.attrs=s.map(x);break;case"modifiers":var l=h(o).slice(1);t.modifiers=l.map(w);break;case"body":var c=h(o).slice(1);t.children=c;break;case"comments":var p=h(o).slice(1);t.comments=p;break;case"as":var f=h(o).slice(1);t.blockParams=f;break;case"loc":var d=u(o,2)[1];t.loc=d}}return t}function P(t,e,r){return{type:"AttrNode",name:t,value:e,loc:O(r||null)}}function A(t,e){return{type:"TextNode",chars:t||"",loc:O(e||null)}}function _(t,e){if("string"!=typeof t)return t;var r=t.split("."),a=!1;return"this"===r[0]&&(a=!0,r=r.slice(1)),{type:"PathExpression",original:t,this:a,parts:r,data:!1,loc:O(e||null)}}function T(t,e,r){return{type:t,value:e,original:e,loc:O(r||null)}}function N(t,e){return{type:"Hash",pairs:t||[],loc:O(e||null)}}function L(t,e,r){return{type:"HashPair",key:tLine truncated
|
||||
Reference in new issue
Block a user