ice/packages/swc/tests/minify/base_syntax/output.js

2 lines
1.7 KiB
JavaScript

import c from"regenerator-runtime";import d from"fs";import e from"other";function _arrayWithHoles(c){if(Array.isArray(c))return c}function asyncGeneratorStep(l,d,e,m,n,h,i){try{var j=l[h](i),c=j.value}catch(l){e(l);return}j.done?d(c):Promise.resolve(c).then(m,n)}function _asyncToGenerator(h){return function(){var i=this,j=arguments;return new Promise(function(d,e){var l=h.apply(i,j);function m(c){asyncGeneratorStep(l,d,e,m,n,"next",c)}function n(l){asyncGeneratorStep(l,d,e,m,n,"throw",l)}m(void 0)})}}function _iterableToArray(c){if(Symbol.iterator in Object(c)||"[object Arguments]"===Object.prototype.toString.call(c))return Array.from(c)}function _iterableToArrayLimit(c,d){var f=[],g=!0,h=!1,i=void 0;try{for(var j,k=c[Symbol.iterator]();!(g=(j=k.next()).done)&&(f.push(j.value),!d||f.length!==d);g=!0);}catch(l){h=!0,i=l}finally{try{g||null==k.return||k.return()}finally{if(h)throw i}}return f}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function _slicedToArray(c,d){return _arrayWithHoles(c)||_iterableToArrayLimit(c,d)||_nonIterableRest()}function _toArray(c){return _arrayWithHoles(c)||_iterableToArray(c)||_nonIterableRest()}var _promises=_toArray(d.promises),a=_promises[0],b=_promises[1],rest=_promises.slice(2),_other=_slicedToArray(e,2),foo=_other[0],bar=_other[1];function _getStaticProps(){return(_getStaticProps=_asyncToGenerator(c.mark(function d(){return c.wrap(function(c){for(;;)switch(c.prev=c.next){case 0:case"end":return c.stop()}},d)}))).apply(this,arguments)}export function getStaticProps(){return _getStaticProps.apply(this,arguments)}export default function c(){return React.createElement("div",null)}