{"version":3,"file":"jsx-runtime.cjs","sources":["../src/jsx-runtime.ts"],"sourcesContent":["// This file is provided for compatibility reasons with the JSX automatic\n// runtime. Besides automatic imports, the JSX automatic runtime provides no\n// actual advantage over the createElement transform.\nimport {createElement} from \"./crank.js\";\n\nfunction jsxAdapter(tag: any, props: Record<string, any>, key: any) {\n\t// The new JSX transform extracts the key from props for performance reasons,\n\t// but key is not a special property in Crank.\n\tprops.key = key;\n\treturn createElement(tag, props);\n}\n\nexport const Fragment = \"\";\nexport const jsx = jsxAdapter;\nexport const jsxs = jsxAdapter;\nexport const jsxDEV = jsxAdapter;\n"],"names":["createElement"],"mappings":";;;;AAAA;AACA;AACA;AAGA,SAAS,UAAU,CAAC,GAAQ,EAAE,KAA0B,EAAE,GAAQ,EAAA;;;AAGjE,IAAA,KAAK,CAAC,GAAG,GAAG,GAAG;AACf,IAAA,OAAOA,mBAAa,CAAC,GAAG,EAAE,KAAK,CAAC;AACjC;AAEO,MAAM,QAAQ,GAAG;AACjB,MAAM,GAAG,GAAG;AACZ,MAAM,IAAI,GAAG;AACb,MAAM,MAAM,GAAG;;;;;;;"}