@blockbite/tailwind-css-parser 0.11.4 → 0.11.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index-2ccyc_K0.js +75 -0
- package/dist/index-2ccyc_K0.js.map +1 -0
- package/dist/index-D6JhZGaI.cjs +2 -0
- package/dist/index-D6JhZGaI.cjs.map +1 -0
- package/dist/tailwind.cjs.js +19 -3
- package/dist/tailwind.cjs.js.map +1 -1
- package/dist/tailwind.es.js +22 -3
- package/dist/tailwind.es.js.map +1 -1
- package/dist/tailwindcss_oxide-94iiDIkL.cjs +2 -0
- package/dist/{tailwindcss_oxide-BtN8hakC.cjs.map → tailwindcss_oxide-94iiDIkL.cjs.map} +1 -1
- package/dist/{tailwindcss_oxide-DbyA_3-d.js → tailwindcss_oxide-DwUAzmSk.js} +2 -2
- package/dist/{tailwindcss_oxide-DbyA_3-d.js.map → tailwindcss_oxide-DwUAzmSk.js.map} +1 -1
- package/package.json +2 -2
- package/src/generator-browser.js +4 -1
- package/types/index.d.ts +6 -2
- package/dist/index-3MiScM8O.js +0 -310
- package/dist/index-3MiScM8O.js.map +0 -1
- package/dist/index-Cn3YjFjE.cjs +0 -2
- package/dist/index-Cn3YjFjE.cjs.map +0 -1
- package/dist/tailwindcss_oxide-BtN8hakC.cjs +0 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tailwindcss_oxide-BtN8hakC.cjs","sources":["../browser-wasm/tailwindcss_oxide.js"],"sourcesContent":["/* eslint-disable */\n// External dependencies\n\nlet wasm;\n\nconst cachedTextDecoder =\n typeof TextDecoder !== 'undefined'\n ? new TextDecoder('utf-8', { ignoreBOM: true, fatal: true })\n : {\n decode: () => {\n throw Error('TextDecoder not available');\n },\n };\n\nif (typeof TextDecoder !== 'undefined') {\n cachedTextDecoder.decode();\n}\n\nlet cachedUint8ArrayMemory0 = null;\n\nfunction getUint8ArrayMemory0() {\n if (\n cachedUint8ArrayMemory0 === null ||\n cachedUint8ArrayMemory0.byteLength === 0\n ) {\n cachedUint8ArrayMemory0 = new Uint8Array(wasm.memory.buffer);\n }\n return cachedUint8ArrayMemory0;\n}\n\nfunction getStringFromWasm0(ptr, len) {\n ptr = ptr >>> 0;\n return cachedTextDecoder.decode(\n getUint8ArrayMemory0().subarray(ptr, ptr + len)\n );\n}\n\nlet WASM_VECTOR_LEN = 0;\n\nconst cachedTextEncoder =\n typeof TextEncoder !== 'undefined'\n ? new TextEncoder('utf-8')\n : {\n encode: () => {\n throw Error('TextEncoder not available');\n },\n };\n\nconst encodeString =\n typeof cachedTextEncoder.encodeInto === 'function'\n ? function (arg, view) {\n return cachedTextEncoder.encodeInto(arg, view);\n }\n : function (arg, view) {\n const buf = cachedTextEncoder.encode(arg);\n view.set(buf);\n return {\n read: arg.length,\n written: buf.length,\n };\n };\n\nfunction passStringToWasm0(arg, malloc, realloc) {\n if (realloc === undefined) {\n const buf = cachedTextEncoder.encode(arg);\n const ptr = malloc(buf.length, 1) >>> 0;\n getUint8ArrayMemory0()\n .subarray(ptr, ptr + buf.length)\n .set(buf);\n WASM_VECTOR_LEN = buf.length;\n return ptr;\n }\n\n let len = arg.length;\n let ptr = malloc(len, 1) >>> 0;\n\n const mem = getUint8ArrayMemory0();\n\n let offset = 0;\n\n for (; offset < len; offset++) {\n const code = arg.charCodeAt(offset);\n if (code > 0x7f) {\n break;\n }\n mem[ptr + offset] = code;\n }\n\n if (offset !== len) {\n if (offset !== 0) {\n arg = arg.slice(offset);\n }\n ptr = realloc(ptr, len, (len = offset + arg.length * 3), 1) >>> 0;\n const view = getUint8ArrayMemory0().subarray(ptr + offset, ptr + len);\n const ret = encodeString(arg, view);\n\n offset += ret.written;\n ptr = realloc(ptr, len, offset, 1) >>> 0;\n }\n\n WASM_VECTOR_LEN = offset;\n return ptr;\n}\n\nlet cachedDataViewMemory0 = null;\n\nfunction getDataViewMemory0() {\n if (\n cachedDataViewMemory0 === null ||\n cachedDataViewMemory0.buffer.detached === true ||\n (cachedDataViewMemory0.buffer.detached === undefined &&\n cachedDataViewMemory0.buffer !== wasm.memory.buffer)\n ) {\n cachedDataViewMemory0 = new DataView(wasm.memory.buffer);\n }\n return cachedDataViewMemory0;\n}\n\nexport function wasm_init() {\n wasm.wasm_init();\n}\n\nfunction isLikeNone(x) {\n return x === undefined || x === null;\n}\n\nfunction _assertClass(instance, klass) {\n if (!(instance instanceof klass)) {\n throw new Error(`expected instance of ${klass.name}`);\n }\n}\n\nfunction getArrayJsValueFromWasm0(ptr, len) {\n ptr = ptr >>> 0;\n const mem = getDataViewMemory0();\n const result = [];\n for (let i = ptr; i < ptr + 4 * len; i += 4) {\n result.push(wasm.__wbindgen_export_3.get(mem.getUint32(i, true)));\n }\n wasm.__externref_drop_slice(ptr, len);\n return result;\n}\n\nconst WasmCandidateWithPositionFinalization =\n typeof FinalizationRegistry === 'undefined'\n ? { register: () => {}, unregister: () => {} }\n : new FinalizationRegistry((ptr) =>\n wasm.__wbg_wasmcandidatewithposition_free(ptr >>> 0, 1)\n );\n\nexport class WasmCandidateWithPosition {\n static __wrap(ptr) {\n ptr = ptr >>> 0;\n const obj = Object.create(WasmCandidateWithPosition.prototype);\n obj.__wbg_ptr = ptr;\n WasmCandidateWithPositionFinalization.register(obj, obj.__wbg_ptr, obj);\n return obj;\n }\n\n __destroy_into_raw() {\n const ptr = this.__wbg_ptr;\n this.__wbg_ptr = 0;\n WasmCandidateWithPositionFinalization.unregister(this);\n return ptr;\n }\n\n free() {\n const ptr = this.__destroy_into_raw();\n wasm.__wbg_wasmcandidatewithposition_free(ptr, 0);\n }\n /**\n * @returns {string}\n */\n get candidate() {\n let deferred1_0;\n let deferred1_1;\n try {\n const ret = wasm.wasmcandidatewithposition_candidate(this.__wbg_ptr);\n deferred1_0 = ret[0];\n deferred1_1 = ret[1];\n return getStringFromWasm0(ret[0], ret[1]);\n } finally {\n wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);\n }\n }\n /**\n * @returns {number}\n */\n get position() {\n const ret = wasm.wasmcandidatewithposition_position(this.__wbg_ptr);\n return ret >>> 0;\n }\n}\n\nconst WasmChangedContentFinalization =\n typeof FinalizationRegistry === 'undefined'\n ? { register: () => {}, unregister: () => {} }\n : new FinalizationRegistry((ptr) =>\n wasm.__wbg_wasmchangedcontent_free(ptr >>> 0, 1)\n );\n\nexport class WasmChangedContent {\n __destroy_into_raw() {\n const ptr = this.__wbg_ptr;\n this.__wbg_ptr = 0;\n WasmChangedContentFinalization.unregister(this);\n return ptr;\n }\n\n free() {\n const ptr = this.__destroy_into_raw();\n wasm.__wbg_wasmchangedcontent_free(ptr, 0);\n }\n /**\n * @param {string | null | undefined} content\n * @param {string} extension\n */\n constructor(content, extension) {\n var ptr0 = isLikeNone(content)\n ? 0\n : passStringToWasm0(\n content,\n wasm.__wbindgen_malloc,\n wasm.__wbindgen_realloc\n );\n var len0 = WASM_VECTOR_LEN;\n const ptr1 = passStringToWasm0(\n extension,\n wasm.__wbindgen_malloc,\n wasm.__wbindgen_realloc\n );\n const len1 = WASM_VECTOR_LEN;\n const ret = wasm.wasmchangedcontent_new(ptr0, len0, ptr1, len1);\n this.__wbg_ptr = ret >>> 0;\n WasmChangedContentFinalization.register(this, this.__wbg_ptr, this);\n return this;\n }\n /**\n * @returns {string | undefined}\n */\n get content() {\n const ret = wasm.wasmchangedcontent_content(this.__wbg_ptr);\n let v1;\n if (ret[0] !== 0) {\n v1 = getStringFromWasm0(ret[0], ret[1]).slice();\n wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);\n }\n return v1;\n }\n /**\n * @returns {string}\n */\n get extension() {\n let deferred1_0;\n let deferred1_1;\n try {\n const ret = wasm.wasmchangedcontent_extension(this.__wbg_ptr);\n deferred1_0 = ret[0];\n deferred1_1 = ret[1];\n return getStringFromWasm0(ret[0], ret[1]);\n } finally {\n wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);\n }\n }\n}\n\nconst WasmScannerFinalization =\n typeof FinalizationRegistry === 'undefined'\n ? { register: () => {}, unregister: () => {} }\n : new FinalizationRegistry((ptr) =>\n wasm.__wbg_wasmscanner_free(ptr >>> 0, 1)\n );\n\nexport class WasmScanner {\n __destroy_into_raw() {\n const ptr = this.__wbg_ptr;\n this.__wbg_ptr = 0;\n WasmScannerFinalization.unregister(this);\n return ptr;\n }\n\n free() {\n const ptr = this.__destroy_into_raw();\n wasm.__wbg_wasmscanner_free(ptr, 0);\n }\n constructor() {\n const ret = wasm.wasmscanner_new();\n this.__wbg_ptr = ret >>> 0;\n WasmScannerFinalization.register(this, this.__wbg_ptr, this);\n return this;\n }\n /**\n * @param {WasmChangedContent} content\n * @returns {WasmCandidateWithPosition[]}\n */\n getCandidatesWithPositions(content) {\n _assertClass(content, WasmChangedContent);\n var ptr0 = content.__destroy_into_raw();\n const ret = wasm.wasmscanner_getCandidatesWithPositions(\n this.__wbg_ptr,\n ptr0\n );\n var v2 = getArrayJsValueFromWasm0(ret[0], ret[1]).slice();\n wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);\n return v2;\n }\n}\n\nasync function __wbg_load(module, imports) {\n if (typeof Response === 'function' && module instanceof Response) {\n if (typeof WebAssembly.instantiateStreaming === 'function') {\n try {\n return await WebAssembly.instantiateStreaming(module, imports);\n } catch (e) {\n if (module.headers.get('Content-Type') != 'application/wasm') {\n console.warn(\n '`WebAssembly.instantiateStreaming` failed because your server does not serve Wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\\n',\n e\n );\n } else {\n throw e;\n }\n }\n }\n\n const bytes = await module.arrayBuffer();\n return await WebAssembly.instantiate(bytes, imports);\n } else {\n const instance = await WebAssembly.instantiate(module, imports);\n\n if (instance instanceof WebAssembly.Instance) {\n return { instance, module };\n } else {\n return instance;\n }\n }\n}\n\nfunction __wbg_get_imports() {\n const imports = {};\n imports.wbg = {};\n imports.wbg.__wbg_error_7534b8e9a36f1ab4 = function (arg0, arg1) {\n let deferred0_0;\n let deferred0_1;\n try {\n deferred0_0 = arg0;\n deferred0_1 = arg1;\n console.error(getStringFromWasm0(arg0, arg1));\n } finally {\n wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);\n }\n };\n imports.wbg.__wbg_new_8a6f238a6ece86ea = function () {\n const ret = new Error();\n return ret;\n };\n imports.wbg.__wbg_stack_0ed75d68575b0f3c = function (arg0, arg1) {\n const ret = arg1.stack;\n const ptr1 = passStringToWasm0(\n ret,\n wasm.__wbindgen_malloc,\n wasm.__wbindgen_realloc\n );\n const len1 = WASM_VECTOR_LEN;\n getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);\n getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);\n };\n imports.wbg.__wbg_wasmcandidatewithposition_new = function (arg0) {\n const ret = WasmCandidateWithPosition.__wrap(arg0);\n return ret;\n };\n imports.wbg.__wbindgen_init_externref_table = function () {\n const table = wasm.__wbindgen_export_3;\n const offset = table.grow(4);\n table.set(0, undefined);\n table.set(offset + 0, undefined);\n table.set(offset + 1, null);\n table.set(offset + 2, true);\n table.set(offset + 3, false);\n };\n imports.wbg.__wbindgen_throw = function (arg0, arg1) {\n throw new Error(getStringFromWasm0(arg0, arg1));\n };\n\n return imports;\n}\n\nfunction __wbg_init_memory(imports, memory) {}\n\nfunction __wbg_finalize_init(instance, module) {\n wasm = instance.exports;\n __wbg_init.__wbindgen_wasm_module = module;\n cachedDataViewMemory0 = null;\n cachedUint8ArrayMemory0 = null;\n\n wasm.__wbindgen_start();\n return wasm;\n}\n\nfunction initSync(module) {\n if (wasm !== undefined) {\n return wasm;\n }\n\n if (typeof module !== 'undefined') {\n if (Object.getPrototypeOf(module) === Object.prototype) {\n ({ module } = module);\n } else {\n console.warn(\n 'using deprecated parameters for `initSync()`; pass a single object instead'\n );\n }\n }\n\n const imports = __wbg_get_imports();\n\n __wbg_init_memory(imports);\n\n if (!(module instanceof WebAssembly.Module)) {\n module = new WebAssembly.Module(module);\n }\n\n const instance = new WebAssembly.Instance(module, imports);\n\n return __wbg_finalize_init(instance, module);\n}\n\nasync function __wbg_init(module_or_path) {\n if (wasm !== undefined) {\n return wasm;\n }\n\n if (typeof module_or_path !== 'undefined') {\n if (Object.getPrototypeOf(module_or_path) === Object.prototype) {\n ({ module_or_path } = module_or_path);\n } else {\n console.warn(\n 'using deprecated parameters for the initialization function; pass a single object instead'\n );\n }\n }\n\n if (typeof module_or_path === 'undefined') {\n module_or_path = new URL('tailwindcss_oxide_bg.wasm', import.meta.url);\n }\n const imports = __wbg_get_imports();\n\n if (\n typeof module_or_path === 'string' ||\n (typeof Request === 'function' && module_or_path instanceof Request) ||\n (typeof URL === 'function' && module_or_path instanceof URL)\n ) {\n module_or_path = fetch(module_or_path);\n }\n\n __wbg_init_memory(imports);\n\n const { instance, module } = await __wbg_load(await module_or_path, imports);\n\n return __wbg_finalize_init(instance, module);\n}\n\nexport { initSync };\nexport default __wbg_init;\n"],"names":["wasm","cachedTextDecoder","cachedUint8ArrayMemory0","getUint8ArrayMemory0","getStringFromWasm0","ptr","len","WASM_VECTOR_LEN","cachedTextEncoder","encodeString","arg","view","buf","passStringToWasm0","malloc","realloc","mem","offset","code","ret","cachedDataViewMemory0","getDataViewMemory0","wasm_init","isLikeNone","x","_assertClass","instance","klass","getArrayJsValueFromWasm0","result","i","WasmCandidateWithPositionFinalization","WasmCandidateWithPosition","obj","deferred1_0","deferred1_1","WasmChangedContentFinalization","WasmChangedContent","content","extension","ptr0","len0","ptr1","len1","v1","WasmScannerFinalization","WasmScanner","v2","__wbg_load","module","imports","e","bytes","__wbg_get_imports","arg0","arg1","deferred0_0","deferred0_1","table","__wbg_finalize_init","__wbg_init","initSync","module_or_path"],"mappings":"sIAGA,IAAIA,EAEJ,MAAMC,EACJ,OAAO,YAAgB,IACnB,IAAI,YAAY,QAAS,CAAE,UAAW,GAAM,MAAO,EAAI,CAAE,EACzD,CACE,OAAQ,IAAM,CACZ,MAAM,MAAM,2BAA2B,CACjD,CACA,EAEI,OAAO,YAAgB,KACzBA,EAAkB,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C,MAAMvB,EAAW,IAAI,YAAY,SAASuB,EAAQC,CAAO,EAEzD,OAAOS,EAAoBjC,EAAUuB,CAAM,CAC7C,CAEA,eAAeW,EAAWE,EAAgB,CACxC,GAAI9D,IAAS,OACX,OAAOA,EAGL,OAAO8D,EAAmB,MACxB,OAAO,eAAeA,CAAc,IAAM,OAAO,UAClD,CAAE,eAAAA,CAAc,EAAKA,EAEtB,QAAQ,KACN,2FACR,GAIM,OAAOA,EAAmB,MAC5BA,EAAiB,IAAA,IAAA,+r/sEAAA,GAEnB,MAAMZ,EAAUG,EAAiB,GAG/B,OAAOS,GAAmB,UACzB,OAAO,SAAY,YAAcA,aAA0B,SAC3D,OAAO,KAAQ,YAAcA,aAA0B,OAExDA,EAAiB,MAAMA,CAAc,GAKvC,KAAM,CAAE,SAAApC,EAAU,OAAAuB,CAAM,EAAK,MAAMD,EAAW,MAAMc,EAAgBZ,CAAO,EAE3E,OAAOS,EAAoBjC,EAAUuB,CAAM,CAC7C"}
|
|
1
|
+
{"version":3,"file":"tailwindcss_oxide-94iiDIkL.cjs","sources":["../browser-wasm/tailwindcss_oxide.js"],"sourcesContent":["/* eslint-disable */\n// External dependencies\n\nlet wasm;\n\nconst cachedTextDecoder =\n typeof TextDecoder !== 'undefined'\n ? new TextDecoder('utf-8', { ignoreBOM: true, fatal: true })\n : {\n decode: () => {\n throw Error('TextDecoder not available');\n },\n };\n\nif (typeof TextDecoder !== 'undefined') {\n cachedTextDecoder.decode();\n}\n\nlet cachedUint8ArrayMemory0 = null;\n\nfunction getUint8ArrayMemory0() {\n if (\n cachedUint8ArrayMemory0 === null ||\n cachedUint8ArrayMemory0.byteLength === 0\n ) {\n cachedUint8ArrayMemory0 = new Uint8Array(wasm.memory.buffer);\n }\n return cachedUint8ArrayMemory0;\n}\n\nfunction getStringFromWasm0(ptr, len) {\n ptr = ptr >>> 0;\n return cachedTextDecoder.decode(\n getUint8ArrayMemory0().subarray(ptr, ptr + len)\n );\n}\n\nlet WASM_VECTOR_LEN = 0;\n\nconst cachedTextEncoder =\n typeof TextEncoder !== 'undefined'\n ? new TextEncoder('utf-8')\n : {\n encode: () => {\n throw Error('TextEncoder not available');\n },\n };\n\nconst encodeString =\n typeof cachedTextEncoder.encodeInto === 'function'\n ? function (arg, view) {\n return cachedTextEncoder.encodeInto(arg, view);\n }\n : function (arg, view) {\n const buf = cachedTextEncoder.encode(arg);\n view.set(buf);\n return {\n read: arg.length,\n written: buf.length,\n };\n };\n\nfunction passStringToWasm0(arg, malloc, realloc) {\n if (realloc === undefined) {\n const buf = cachedTextEncoder.encode(arg);\n const ptr = malloc(buf.length, 1) >>> 0;\n getUint8ArrayMemory0()\n .subarray(ptr, ptr + buf.length)\n .set(buf);\n WASM_VECTOR_LEN = buf.length;\n return ptr;\n }\n\n let len = arg.length;\n let ptr = malloc(len, 1) >>> 0;\n\n const mem = getUint8ArrayMemory0();\n\n let offset = 0;\n\n for (; offset < len; offset++) {\n const code = arg.charCodeAt(offset);\n if (code > 0x7f) {\n break;\n }\n mem[ptr + offset] = code;\n }\n\n if (offset !== len) {\n if (offset !== 0) {\n arg = arg.slice(offset);\n }\n ptr = realloc(ptr, len, (len = offset + arg.length * 3), 1) >>> 0;\n const view = getUint8ArrayMemory0().subarray(ptr + offset, ptr + len);\n const ret = encodeString(arg, view);\n\n offset += ret.written;\n ptr = realloc(ptr, len, offset, 1) >>> 0;\n }\n\n WASM_VECTOR_LEN = offset;\n return ptr;\n}\n\nlet cachedDataViewMemory0 = null;\n\nfunction getDataViewMemory0() {\n if (\n cachedDataViewMemory0 === null ||\n cachedDataViewMemory0.buffer.detached === true ||\n (cachedDataViewMemory0.buffer.detached === undefined &&\n cachedDataViewMemory0.buffer !== wasm.memory.buffer)\n ) {\n cachedDataViewMemory0 = new DataView(wasm.memory.buffer);\n }\n return cachedDataViewMemory0;\n}\n\nexport function wasm_init() {\n wasm.wasm_init();\n}\n\nfunction isLikeNone(x) {\n return x === undefined || x === null;\n}\n\nfunction _assertClass(instance, klass) {\n if (!(instance instanceof klass)) {\n throw new Error(`expected instance of ${klass.name}`);\n }\n}\n\nfunction getArrayJsValueFromWasm0(ptr, len) {\n ptr = ptr >>> 0;\n const mem = getDataViewMemory0();\n const result = [];\n for (let i = ptr; i < ptr + 4 * len; i += 4) {\n result.push(wasm.__wbindgen_export_3.get(mem.getUint32(i, true)));\n }\n wasm.__externref_drop_slice(ptr, len);\n return result;\n}\n\nconst WasmCandidateWithPositionFinalization =\n typeof FinalizationRegistry === 'undefined'\n ? { register: () => {}, unregister: () => {} }\n : new FinalizationRegistry((ptr) =>\n wasm.__wbg_wasmcandidatewithposition_free(ptr >>> 0, 1)\n );\n\nexport class WasmCandidateWithPosition {\n static __wrap(ptr) {\n ptr = ptr >>> 0;\n const obj = Object.create(WasmCandidateWithPosition.prototype);\n obj.__wbg_ptr = ptr;\n WasmCandidateWithPositionFinalization.register(obj, obj.__wbg_ptr, obj);\n return obj;\n }\n\n __destroy_into_raw() {\n const ptr = this.__wbg_ptr;\n this.__wbg_ptr = 0;\n WasmCandidateWithPositionFinalization.unregister(this);\n return ptr;\n }\n\n free() {\n const ptr = this.__destroy_into_raw();\n wasm.__wbg_wasmcandidatewithposition_free(ptr, 0);\n }\n /**\n * @returns {string}\n */\n get candidate() {\n let deferred1_0;\n let deferred1_1;\n try {\n const ret = wasm.wasmcandidatewithposition_candidate(this.__wbg_ptr);\n deferred1_0 = ret[0];\n deferred1_1 = ret[1];\n return getStringFromWasm0(ret[0], ret[1]);\n } finally {\n wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);\n }\n }\n /**\n * @returns {number}\n */\n get position() {\n const ret = wasm.wasmcandidatewithposition_position(this.__wbg_ptr);\n return ret >>> 0;\n }\n}\n\nconst WasmChangedContentFinalization =\n typeof FinalizationRegistry === 'undefined'\n ? { register: () => {}, unregister: () => {} }\n : new FinalizationRegistry((ptr) =>\n wasm.__wbg_wasmchangedcontent_free(ptr >>> 0, 1)\n );\n\nexport class WasmChangedContent {\n __destroy_into_raw() {\n const ptr = this.__wbg_ptr;\n this.__wbg_ptr = 0;\n WasmChangedContentFinalization.unregister(this);\n return ptr;\n }\n\n free() {\n const ptr = this.__destroy_into_raw();\n wasm.__wbg_wasmchangedcontent_free(ptr, 0);\n }\n /**\n * @param {string | null | undefined} content\n * @param {string} extension\n */\n constructor(content, extension) {\n var ptr0 = isLikeNone(content)\n ? 0\n : passStringToWasm0(\n content,\n wasm.__wbindgen_malloc,\n wasm.__wbindgen_realloc\n );\n var len0 = WASM_VECTOR_LEN;\n const ptr1 = passStringToWasm0(\n extension,\n wasm.__wbindgen_malloc,\n wasm.__wbindgen_realloc\n );\n const len1 = WASM_VECTOR_LEN;\n const ret = wasm.wasmchangedcontent_new(ptr0, len0, ptr1, len1);\n this.__wbg_ptr = ret >>> 0;\n WasmChangedContentFinalization.register(this, this.__wbg_ptr, this);\n return this;\n }\n /**\n * @returns {string | undefined}\n */\n get content() {\n const ret = wasm.wasmchangedcontent_content(this.__wbg_ptr);\n let v1;\n if (ret[0] !== 0) {\n v1 = getStringFromWasm0(ret[0], ret[1]).slice();\n wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);\n }\n return v1;\n }\n /**\n * @returns {string}\n */\n get extension() {\n let deferred1_0;\n let deferred1_1;\n try {\n const ret = wasm.wasmchangedcontent_extension(this.__wbg_ptr);\n deferred1_0 = ret[0];\n deferred1_1 = ret[1];\n return getStringFromWasm0(ret[0], ret[1]);\n } finally {\n wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);\n }\n }\n}\n\nconst WasmScannerFinalization =\n typeof FinalizationRegistry === 'undefined'\n ? { register: () => {}, unregister: () => {} }\n : new FinalizationRegistry((ptr) =>\n wasm.__wbg_wasmscanner_free(ptr >>> 0, 1)\n );\n\nexport class WasmScanner {\n __destroy_into_raw() {\n const ptr = this.__wbg_ptr;\n this.__wbg_ptr = 0;\n WasmScannerFinalization.unregister(this);\n return ptr;\n }\n\n free() {\n const ptr = this.__destroy_into_raw();\n wasm.__wbg_wasmscanner_free(ptr, 0);\n }\n constructor() {\n const ret = wasm.wasmscanner_new();\n this.__wbg_ptr = ret >>> 0;\n WasmScannerFinalization.register(this, this.__wbg_ptr, this);\n return this;\n }\n /**\n * @param {WasmChangedContent} content\n * @returns {WasmCandidateWithPosition[]}\n */\n getCandidatesWithPositions(content) {\n _assertClass(content, WasmChangedContent);\n var ptr0 = content.__destroy_into_raw();\n const ret = wasm.wasmscanner_getCandidatesWithPositions(\n this.__wbg_ptr,\n ptr0\n );\n var v2 = getArrayJsValueFromWasm0(ret[0], ret[1]).slice();\n wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);\n return v2;\n }\n}\n\nasync function __wbg_load(module, imports) {\n if (typeof Response === 'function' && module instanceof Response) {\n if (typeof WebAssembly.instantiateStreaming === 'function') {\n try {\n return await WebAssembly.instantiateStreaming(module, imports);\n } catch (e) {\n if (module.headers.get('Content-Type') != 'application/wasm') {\n console.warn(\n '`WebAssembly.instantiateStreaming` failed because your server does not serve Wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\\n',\n e\n );\n } else {\n throw e;\n }\n }\n }\n\n const bytes = await module.arrayBuffer();\n return await WebAssembly.instantiate(bytes, imports);\n } else {\n const instance = await WebAssembly.instantiate(module, imports);\n\n if (instance instanceof WebAssembly.Instance) {\n return { instance, module };\n } else {\n return instance;\n }\n }\n}\n\nfunction __wbg_get_imports() {\n const imports = {};\n imports.wbg = {};\n imports.wbg.__wbg_error_7534b8e9a36f1ab4 = function (arg0, arg1) {\n let deferred0_0;\n let deferred0_1;\n try {\n deferred0_0 = arg0;\n deferred0_1 = arg1;\n console.error(getStringFromWasm0(arg0, arg1));\n } finally {\n wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);\n }\n };\n imports.wbg.__wbg_new_8a6f238a6ece86ea = function () {\n const ret = new Error();\n return ret;\n };\n imports.wbg.__wbg_stack_0ed75d68575b0f3c = function (arg0, arg1) {\n const ret = arg1.stack;\n const ptr1 = passStringToWasm0(\n ret,\n wasm.__wbindgen_malloc,\n wasm.__wbindgen_realloc\n );\n const len1 = WASM_VECTOR_LEN;\n getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);\n getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);\n };\n imports.wbg.__wbg_wasmcandidatewithposition_new = function (arg0) {\n const ret = WasmCandidateWithPosition.__wrap(arg0);\n return ret;\n };\n imports.wbg.__wbindgen_init_externref_table = function () {\n const table = wasm.__wbindgen_export_3;\n const offset = table.grow(4);\n table.set(0, undefined);\n table.set(offset + 0, undefined);\n table.set(offset + 1, null);\n table.set(offset + 2, true);\n table.set(offset + 3, false);\n };\n imports.wbg.__wbindgen_throw = function (arg0, arg1) {\n throw new Error(getStringFromWasm0(arg0, arg1));\n };\n\n return imports;\n}\n\nfunction __wbg_init_memory(imports, memory) {}\n\nfunction __wbg_finalize_init(instance, module) {\n wasm = instance.exports;\n __wbg_init.__wbindgen_wasm_module = module;\n cachedDataViewMemory0 = null;\n cachedUint8ArrayMemory0 = null;\n\n wasm.__wbindgen_start();\n return wasm;\n}\n\nfunction initSync(module) {\n if (wasm !== undefined) {\n return wasm;\n }\n\n if (typeof module !== 'undefined') {\n if (Object.getPrototypeOf(module) === Object.prototype) {\n ({ module } = module);\n } else {\n console.warn(\n 'using deprecated parameters for `initSync()`; pass a single object instead'\n );\n }\n }\n\n const imports = __wbg_get_imports();\n\n __wbg_init_memory(imports);\n\n if (!(module instanceof WebAssembly.Module)) {\n module = new WebAssembly.Module(module);\n }\n\n const instance = new WebAssembly.Instance(module, imports);\n\n return __wbg_finalize_init(instance, module);\n}\n\nasync function __wbg_init(module_or_path) {\n if (wasm !== undefined) {\n return wasm;\n }\n\n if (typeof module_or_path !== 'undefined') {\n if (Object.getPrototypeOf(module_or_path) === Object.prototype) {\n ({ module_or_path } = module_or_path);\n } else {\n console.warn(\n 'using deprecated parameters for the initialization function; pass a single object instead'\n );\n }\n }\n\n if (typeof module_or_path === 'undefined') {\n module_or_path = new URL('tailwindcss_oxide_bg.wasm', import.meta.url);\n }\n const imports = __wbg_get_imports();\n\n if (\n typeof module_or_path === 'string' ||\n (typeof Request === 'function' && module_or_path instanceof Request) ||\n (typeof URL === 'function' && module_or_path instanceof URL)\n ) {\n module_or_path = fetch(module_or_path);\n }\n\n __wbg_init_memory(imports);\n\n const { instance, module } = await __wbg_load(await module_or_path, imports);\n\n return __wbg_finalize_init(instance, module);\n}\n\nexport { initSync };\nexport default __wbg_init;\n"],"names":["wasm","cachedTextDecoder","cachedUint8ArrayMemory0","getUint8ArrayMemory0","getStringFromWasm0","ptr","len","WASM_VECTOR_LEN","cachedTextEncoder","encodeString","arg","view","buf","passStringToWasm0","malloc","realloc","mem","offset","code","ret","cachedDataViewMemory0","getDataViewMemory0","wasm_init","isLikeNone","x","_assertClass","instance","klass","getArrayJsValueFromWasm0","result","i","WasmCandidateWithPositionFinalization","WasmCandidateWithPosition","obj","deferred1_0","deferred1_1","WasmChangedContentFinalization","WasmChangedContent","content","extension","ptr0","len0","ptr1","len1","v1","WasmScannerFinalization","WasmScanner","v2","__wbg_load","module","imports","e","bytes","__wbg_get_imports","arg0","arg1","deferred0_0","deferred0_1","table","__wbg_finalize_init","__wbg_init","initSync","module_or_path"],"mappings":"sIAGA,IAAIA,EAEJ,MAAMC,EACJ,OAAO,YAAgB,IACnB,IAAI,YAAY,QAAS,CAAE,UAAW,GAAM,MAAO,EAAI,CAAE,EACzD,CACE,OAAQ,IAAM,CACZ,MAAM,MAAM,2BAA2B,CACzC,CACR,EAEI,OAAO,YAAgB,KACzBA,EAAkB,OAAM,EAG1B,IAAIC,EAA0B,KAE9B,SAASC,GAAuB,CAC9B,OACED,IAA4B,MAC5BA,EAAwB,aAAe,KAEvCA,EAA0B,IAAI,WAAWF,EAAK,OAAO,MAAM,GAEtDE,CACT,CAEA,SAASE,EAAmBC,EAAKC,EAAK,CACpC,OAAAD,EAAMA,IAAQ,EACPJ,EAAkB,OACvBE,IAA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AA,CAAc,EAAKA,EAEtB,QAAQ,KACN,2FACR,GAIM,OAAOA,EAAmB,MAC5BA,EAAiB,IAAA,IAAA,+r/sEAAA,GAEnB,MAAMZ,EAAUG,EAAiB,GAG/B,OAAOS,GAAmB,UACzB,OAAO,SAAY,YAAcA,aAA0B,SAC3D,OAAO,KAAQ,YAAcA,aAA0B,OAExDA,EAAiB,MAAMA,CAAc,GAKvC,KAAM,CAAE,SAAApC,EAAU,OAAAuB,CAAM,EAAK,MAAMD,EAAW,MAAMc,EAAgBZ,CAAO,EAE3E,OAAOS,EAAoBjC,EAAUuB,CAAM,CAC7C"}
|
|
@@ -231,7 +231,7 @@ function a() {
|
|
|
231
231
|
g.__wbindgen_malloc,
|
|
232
232
|
g.__wbindgen_realloc
|
|
233
233
|
), N = M;
|
|
234
|
-
J().setInt32(A + 4
|
|
234
|
+
J().setInt32(A + 4, N, !0), J().setInt32(A + 0, C, !0);
|
|
235
235
|
}, Q.wbg.__wbg_wasmcandidatewithposition_new = function(A) {
|
|
236
236
|
return h.__wrap(A);
|
|
237
237
|
}, Q.wbg.__wbindgen_init_externref_table = function() {
|
|
@@ -274,4 +274,4 @@ export {
|
|
|
274
274
|
m as initSync,
|
|
275
275
|
j as wasm_init
|
|
276
276
|
};
|
|
277
|
-
//# sourceMappingURL=tailwindcss_oxide-
|
|
277
|
+
//# sourceMappingURL=tailwindcss_oxide-DwUAzmSk.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tailwindcss_oxide-DbyA_3-d.js","sources":["../browser-wasm/tailwindcss_oxide.js"],"sourcesContent":["/* eslint-disable */\n// External dependencies\n\nlet wasm;\n\nconst cachedTextDecoder =\n typeof TextDecoder !== 'undefined'\n ? new TextDecoder('utf-8', { ignoreBOM: true, fatal: true })\n : {\n decode: () => {\n throw Error('TextDecoder not available');\n },\n };\n\nif (typeof TextDecoder !== 'undefined') {\n cachedTextDecoder.decode();\n}\n\nlet cachedUint8ArrayMemory0 = null;\n\nfunction getUint8ArrayMemory0() {\n if (\n cachedUint8ArrayMemory0 === null ||\n cachedUint8ArrayMemory0.byteLength === 0\n ) {\n cachedUint8ArrayMemory0 = new Uint8Array(wasm.memory.buffer);\n }\n return cachedUint8ArrayMemory0;\n}\n\nfunction getStringFromWasm0(ptr, len) {\n ptr = ptr >>> 0;\n return cachedTextDecoder.decode(\n getUint8ArrayMemory0().subarray(ptr, ptr + len)\n );\n}\n\nlet WASM_VECTOR_LEN = 0;\n\nconst cachedTextEncoder =\n typeof TextEncoder !== 'undefined'\n ? new TextEncoder('utf-8')\n : {\n encode: () => {\n throw Error('TextEncoder not available');\n },\n };\n\nconst encodeString =\n typeof cachedTextEncoder.encodeInto === 'function'\n ? function (arg, view) {\n return cachedTextEncoder.encodeInto(arg, view);\n }\n : function (arg, view) {\n const buf = cachedTextEncoder.encode(arg);\n view.set(buf);\n return {\n read: arg.length,\n written: buf.length,\n };\n };\n\nfunction passStringToWasm0(arg, malloc, realloc) {\n if (realloc === undefined) {\n const buf = cachedTextEncoder.encode(arg);\n const ptr = malloc(buf.length, 1) >>> 0;\n getUint8ArrayMemory0()\n .subarray(ptr, ptr + buf.length)\n .set(buf);\n WASM_VECTOR_LEN = buf.length;\n return ptr;\n }\n\n let len = arg.length;\n let ptr = malloc(len, 1) >>> 0;\n\n const mem = getUint8ArrayMemory0();\n\n let offset = 0;\n\n for (; offset < len; offset++) {\n const code = arg.charCodeAt(offset);\n if (code > 0x7f) {\n break;\n }\n mem[ptr + offset] = code;\n }\n\n if (offset !== len) {\n if (offset !== 0) {\n arg = arg.slice(offset);\n }\n ptr = realloc(ptr, len, (len = offset + arg.length * 3), 1) >>> 0;\n const view = getUint8ArrayMemory0().subarray(ptr + offset, ptr + len);\n const ret = encodeString(arg, view);\n\n offset += ret.written;\n ptr = realloc(ptr, len, offset, 1) >>> 0;\n }\n\n WASM_VECTOR_LEN = offset;\n return ptr;\n}\n\nlet cachedDataViewMemory0 = null;\n\nfunction getDataViewMemory0() {\n if (\n cachedDataViewMemory0 === null ||\n cachedDataViewMemory0.buffer.detached === true ||\n (cachedDataViewMemory0.buffer.detached === undefined &&\n cachedDataViewMemory0.buffer !== wasm.memory.buffer)\n ) {\n cachedDataViewMemory0 = new DataView(wasm.memory.buffer);\n }\n return cachedDataViewMemory0;\n}\n\nexport function wasm_init() {\n wasm.wasm_init();\n}\n\nfunction isLikeNone(x) {\n return x === undefined || x === null;\n}\n\nfunction _assertClass(instance, klass) {\n if (!(instance instanceof klass)) {\n throw new Error(`expected instance of ${klass.name}`);\n }\n}\n\nfunction getArrayJsValueFromWasm0(ptr, len) {\n ptr = ptr >>> 0;\n const mem = getDataViewMemory0();\n const result = [];\n for (let i = ptr; i < ptr + 4 * len; i += 4) {\n result.push(wasm.__wbindgen_export_3.get(mem.getUint32(i, true)));\n }\n wasm.__externref_drop_slice(ptr, len);\n return result;\n}\n\nconst WasmCandidateWithPositionFinalization =\n typeof FinalizationRegistry === 'undefined'\n ? { register: () => {}, unregister: () => {} }\n : new FinalizationRegistry((ptr) =>\n wasm.__wbg_wasmcandidatewithposition_free(ptr >>> 0, 1)\n );\n\nexport class WasmCandidateWithPosition {\n static __wrap(ptr) {\n ptr = ptr >>> 0;\n const obj = Object.create(WasmCandidateWithPosition.prototype);\n obj.__wbg_ptr = ptr;\n WasmCandidateWithPositionFinalization.register(obj, obj.__wbg_ptr, obj);\n return obj;\n }\n\n __destroy_into_raw() {\n const ptr = this.__wbg_ptr;\n this.__wbg_ptr = 0;\n WasmCandidateWithPositionFinalization.unregister(this);\n return ptr;\n }\n\n free() {\n const ptr = this.__destroy_into_raw();\n wasm.__wbg_wasmcandidatewithposition_free(ptr, 0);\n }\n /**\n * @returns {string}\n */\n get candidate() {\n let deferred1_0;\n let deferred1_1;\n try {\n const ret = wasm.wasmcandidatewithposition_candidate(this.__wbg_ptr);\n deferred1_0 = ret[0];\n deferred1_1 = ret[1];\n return getStringFromWasm0(ret[0], ret[1]);\n } finally {\n wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);\n }\n }\n /**\n * @returns {number}\n */\n get position() {\n const ret = wasm.wasmcandidatewithposition_position(this.__wbg_ptr);\n return ret >>> 0;\n }\n}\n\nconst WasmChangedContentFinalization =\n typeof FinalizationRegistry === 'undefined'\n ? { register: () => {}, unregister: () => {} }\n : new FinalizationRegistry((ptr) =>\n wasm.__wbg_wasmchangedcontent_free(ptr >>> 0, 1)\n );\n\nexport class WasmChangedContent {\n __destroy_into_raw() {\n const ptr = this.__wbg_ptr;\n this.__wbg_ptr = 0;\n WasmChangedContentFinalization.unregister(this);\n return ptr;\n }\n\n free() {\n const ptr = this.__destroy_into_raw();\n wasm.__wbg_wasmchangedcontent_free(ptr, 0);\n }\n /**\n * @param {string | null | undefined} content\n * @param {string} extension\n */\n constructor(content, extension) {\n var ptr0 = isLikeNone(content)\n ? 0\n : passStringToWasm0(\n content,\n wasm.__wbindgen_malloc,\n wasm.__wbindgen_realloc\n );\n var len0 = WASM_VECTOR_LEN;\n const ptr1 = passStringToWasm0(\n extension,\n wasm.__wbindgen_malloc,\n wasm.__wbindgen_realloc\n );\n const len1 = WASM_VECTOR_LEN;\n const ret = wasm.wasmchangedcontent_new(ptr0, len0, ptr1, len1);\n this.__wbg_ptr = ret >>> 0;\n WasmChangedContentFinalization.register(this, this.__wbg_ptr, this);\n return this;\n }\n /**\n * @returns {string | undefined}\n */\n get content() {\n const ret = wasm.wasmchangedcontent_content(this.__wbg_ptr);\n let v1;\n if (ret[0] !== 0) {\n v1 = getStringFromWasm0(ret[0], ret[1]).slice();\n wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);\n }\n return v1;\n }\n /**\n * @returns {string}\n */\n get extension() {\n let deferred1_0;\n let deferred1_1;\n try {\n const ret = wasm.wasmchangedcontent_extension(this.__wbg_ptr);\n deferred1_0 = ret[0];\n deferred1_1 = ret[1];\n return getStringFromWasm0(ret[0], ret[1]);\n } finally {\n wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);\n }\n }\n}\n\nconst WasmScannerFinalization =\n typeof FinalizationRegistry === 'undefined'\n ? { register: () => {}, unregister: () => {} }\n : new FinalizationRegistry((ptr) =>\n wasm.__wbg_wasmscanner_free(ptr >>> 0, 1)\n );\n\nexport class WasmScanner {\n __destroy_into_raw() {\n const ptr = this.__wbg_ptr;\n this.__wbg_ptr = 0;\n WasmScannerFinalization.unregister(this);\n return ptr;\n }\n\n free() {\n const ptr = this.__destroy_into_raw();\n wasm.__wbg_wasmscanner_free(ptr, 0);\n }\n constructor() {\n const ret = wasm.wasmscanner_new();\n this.__wbg_ptr = ret >>> 0;\n WasmScannerFinalization.register(this, this.__wbg_ptr, this);\n return this;\n }\n /**\n * @param {WasmChangedContent} content\n * @returns {WasmCandidateWithPosition[]}\n */\n getCandidatesWithPositions(content) {\n _assertClass(content, WasmChangedContent);\n var ptr0 = content.__destroy_into_raw();\n const ret = wasm.wasmscanner_getCandidatesWithPositions(\n this.__wbg_ptr,\n ptr0\n );\n var v2 = getArrayJsValueFromWasm0(ret[0], ret[1]).slice();\n wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);\n return v2;\n }\n}\n\nasync function __wbg_load(module, imports) {\n if (typeof Response === 'function' && module instanceof Response) {\n if (typeof WebAssembly.instantiateStreaming === 'function') {\n try {\n return await WebAssembly.instantiateStreaming(module, imports);\n } catch (e) {\n if (module.headers.get('Content-Type') != 'application/wasm') {\n console.warn(\n '`WebAssembly.instantiateStreaming` failed because your server does not serve Wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\\n',\n e\n );\n } else {\n throw e;\n }\n }\n }\n\n const bytes = await module.arrayBuffer();\n return await WebAssembly.instantiate(bytes, imports);\n } else {\n const instance = await WebAssembly.instantiate(module, imports);\n\n if (instance instanceof WebAssembly.Instance) {\n return { instance, module };\n } else {\n return instance;\n }\n }\n}\n\nfunction __wbg_get_imports() {\n const imports = {};\n imports.wbg = {};\n imports.wbg.__wbg_error_7534b8e9a36f1ab4 = function (arg0, arg1) {\n let deferred0_0;\n let deferred0_1;\n try {\n deferred0_0 = arg0;\n deferred0_1 = arg1;\n console.error(getStringFromWasm0(arg0, arg1));\n } finally {\n wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);\n }\n };\n imports.wbg.__wbg_new_8a6f238a6ece86ea = function () {\n const ret = new Error();\n return ret;\n };\n imports.wbg.__wbg_stack_0ed75d68575b0f3c = function (arg0, arg1) {\n const ret = arg1.stack;\n const ptr1 = passStringToWasm0(\n ret,\n wasm.__wbindgen_malloc,\n wasm.__wbindgen_realloc\n );\n const len1 = WASM_VECTOR_LEN;\n getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);\n getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);\n };\n imports.wbg.__wbg_wasmcandidatewithposition_new = function (arg0) {\n const ret = WasmCandidateWithPosition.__wrap(arg0);\n return ret;\n };\n imports.wbg.__wbindgen_init_externref_table = function () {\n const table = wasm.__wbindgen_export_3;\n const offset = table.grow(4);\n table.set(0, undefined);\n table.set(offset + 0, undefined);\n table.set(offset + 1, null);\n table.set(offset + 2, true);\n table.set(offset + 3, false);\n };\n imports.wbg.__wbindgen_throw = function (arg0, arg1) {\n throw new Error(getStringFromWasm0(arg0, arg1));\n };\n\n return imports;\n}\n\nfunction __wbg_init_memory(imports, memory) {}\n\nfunction __wbg_finalize_init(instance, module) {\n wasm = instance.exports;\n __wbg_init.__wbindgen_wasm_module = module;\n cachedDataViewMemory0 = null;\n cachedUint8ArrayMemory0 = null;\n\n wasm.__wbindgen_start();\n return wasm;\n}\n\nfunction initSync(module) {\n if (wasm !== undefined) {\n return wasm;\n }\n\n if (typeof module !== 'undefined') {\n if (Object.getPrototypeOf(module) === Object.prototype) {\n ({ module } = module);\n } else {\n console.warn(\n 'using deprecated parameters for `initSync()`; pass a single object instead'\n );\n }\n }\n\n const imports = __wbg_get_imports();\n\n __wbg_init_memory(imports);\n\n if (!(module instanceof WebAssembly.Module)) {\n module = new WebAssembly.Module(module);\n }\n\n const instance = new WebAssembly.Instance(module, imports);\n\n return __wbg_finalize_init(instance, module);\n}\n\nasync function __wbg_init(module_or_path) {\n if (wasm !== undefined) {\n return wasm;\n }\n\n if (typeof module_or_path !== 'undefined') {\n if (Object.getPrototypeOf(module_or_path) === Object.prototype) {\n ({ module_or_path } = module_or_path);\n } else {\n console.warn(\n 'using deprecated parameters for the initialization function; pass a single object instead'\n );\n }\n }\n\n if (typeof module_or_path === 'undefined') {\n module_or_path = new URL('tailwindcss_oxide_bg.wasm', import.meta.url);\n }\n const imports = __wbg_get_imports();\n\n if (\n typeof module_or_path === 'string' ||\n (typeof Request === 'function' && module_or_path instanceof Request) ||\n (typeof URL === 'function' && module_or_path instanceof URL)\n ) {\n module_or_path = fetch(module_or_path);\n }\n\n __wbg_init_memory(imports);\n\n const { instance, module } = await __wbg_load(await module_or_path, imports);\n\n return __wbg_finalize_init(instance, module);\n}\n\nexport { initSync };\nexport default __wbg_init;\n"],"names":["wasm","cachedTextDecoder","cachedUint8ArrayMemory0","getUint8ArrayMemory0","getStringFromWasm0","ptr","len","WASM_VECTOR_LEN","cachedTextEncoder","encodeString","arg","view","buf","passStringToWasm0","malloc","realloc","mem","offset","code","ret","cachedDataViewMemory0","getDataViewMemory0","wasm_init","isLikeNone","x","_assertClass","instance","klass","getArrayJsValueFromWasm0","result","i","WasmCandidateWithPositionFinalization","WasmCandidateWithPosition","obj","deferred1_0","deferred1_1","WasmChangedContentFinalization","WasmChangedContent","content","extension","ptr0","len0","ptr1","len1","v1","WasmScannerFinalization","WasmScanner","v2","__wbg_load","module","imports","e","bytes","__wbg_get_imports","arg0","arg1","deferred0_0","deferred0_1","table","__wbg_finalize_init","__wbg_init","initSync","module_or_path"],"mappings":"AAGA,IAAIA;AAEJ,MAAMC,IACJ,OAAO,cAAgB,MACnB,IAAI,YAAY,SAAS,EAAE,WAAW,IAAM,OAAO,GAAI,CAAE,IACzD;AAAA,EACE,QAAQ,MAAM;AACZ,UAAM,MAAM,2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3D,OAAO,OAAQ,cAAcA,aAA0B,SAExDA,IAAiB,MAAMA,CAAc;AAKvC,QAAM,EAAE,UAAApC,GAAU,QAAAuB,EAAM,IAAK,MAAMD,EAAW,MAAMc,GAAgBZ,CAAO;AAE3E,SAAOS,EAAoBjC,GAAUuB,CAAM;AAC7C;"}
|
|
1
|
+
{"version":3,"file":"tailwindcss_oxide-DwUAzmSk.js","sources":["../browser-wasm/tailwindcss_oxide.js"],"sourcesContent":["/* eslint-disable */\n// External dependencies\n\nlet wasm;\n\nconst cachedTextDecoder =\n typeof TextDecoder !== 'undefined'\n ? new TextDecoder('utf-8', { ignoreBOM: true, fatal: true })\n : {\n decode: () => {\n throw Error('TextDecoder not available');\n },\n };\n\nif (typeof TextDecoder !== 'undefined') {\n cachedTextDecoder.decode();\n}\n\nlet cachedUint8ArrayMemory0 = null;\n\nfunction getUint8ArrayMemory0() {\n if (\n cachedUint8ArrayMemory0 === null ||\n cachedUint8ArrayMemory0.byteLength === 0\n ) {\n cachedUint8ArrayMemory0 = new Uint8Array(wasm.memory.buffer);\n }\n return cachedUint8ArrayMemory0;\n}\n\nfunction getStringFromWasm0(ptr, len) {\n ptr = ptr >>> 0;\n return cachedTextDecoder.decode(\n getUint8ArrayMemory0().subarray(ptr, ptr + len)\n );\n}\n\nlet WASM_VECTOR_LEN = 0;\n\nconst cachedTextEncoder =\n typeof TextEncoder !== 'undefined'\n ? new TextEncoder('utf-8')\n : {\n encode: () => {\n throw Error('TextEncoder not available');\n },\n };\n\nconst encodeString =\n typeof cachedTextEncoder.encodeInto === 'function'\n ? function (arg, view) {\n return cachedTextEncoder.encodeInto(arg, view);\n }\n : function (arg, view) {\n const buf = cachedTextEncoder.encode(arg);\n view.set(buf);\n return {\n read: arg.length,\n written: buf.length,\n };\n };\n\nfunction passStringToWasm0(arg, malloc, realloc) {\n if (realloc === undefined) {\n const buf = cachedTextEncoder.encode(arg);\n const ptr = malloc(buf.length, 1) >>> 0;\n getUint8ArrayMemory0()\n .subarray(ptr, ptr + buf.length)\n .set(buf);\n WASM_VECTOR_LEN = buf.length;\n return ptr;\n }\n\n let len = arg.length;\n let ptr = malloc(len, 1) >>> 0;\n\n const mem = getUint8ArrayMemory0();\n\n let offset = 0;\n\n for (; offset < len; offset++) {\n const code = arg.charCodeAt(offset);\n if (code > 0x7f) {\n break;\n }\n mem[ptr + offset] = code;\n }\n\n if (offset !== len) {\n if (offset !== 0) {\n arg = arg.slice(offset);\n }\n ptr = realloc(ptr, len, (len = offset + arg.length * 3), 1) >>> 0;\n const view = getUint8ArrayMemory0().subarray(ptr + offset, ptr + len);\n const ret = encodeString(arg, view);\n\n offset += ret.written;\n ptr = realloc(ptr, len, offset, 1) >>> 0;\n }\n\n WASM_VECTOR_LEN = offset;\n return ptr;\n}\n\nlet cachedDataViewMemory0 = null;\n\nfunction getDataViewMemory0() {\n if (\n cachedDataViewMemory0 === null ||\n cachedDataViewMemory0.buffer.detached === true ||\n (cachedDataViewMemory0.buffer.detached === undefined &&\n cachedDataViewMemory0.buffer !== wasm.memory.buffer)\n ) {\n cachedDataViewMemory0 = new DataView(wasm.memory.buffer);\n }\n return cachedDataViewMemory0;\n}\n\nexport function wasm_init() {\n wasm.wasm_init();\n}\n\nfunction isLikeNone(x) {\n return x === undefined || x === null;\n}\n\nfunction _assertClass(instance, klass) {\n if (!(instance instanceof klass)) {\n throw new Error(`expected instance of ${klass.name}`);\n }\n}\n\nfunction getArrayJsValueFromWasm0(ptr, len) {\n ptr = ptr >>> 0;\n const mem = getDataViewMemory0();\n const result = [];\n for (let i = ptr; i < ptr + 4 * len; i += 4) {\n result.push(wasm.__wbindgen_export_3.get(mem.getUint32(i, true)));\n }\n wasm.__externref_drop_slice(ptr, len);\n return result;\n}\n\nconst WasmCandidateWithPositionFinalization =\n typeof FinalizationRegistry === 'undefined'\n ? { register: () => {}, unregister: () => {} }\n : new FinalizationRegistry((ptr) =>\n wasm.__wbg_wasmcandidatewithposition_free(ptr >>> 0, 1)\n );\n\nexport class WasmCandidateWithPosition {\n static __wrap(ptr) {\n ptr = ptr >>> 0;\n const obj = Object.create(WasmCandidateWithPosition.prototype);\n obj.__wbg_ptr = ptr;\n WasmCandidateWithPositionFinalization.register(obj, obj.__wbg_ptr, obj);\n return obj;\n }\n\n __destroy_into_raw() {\n const ptr = this.__wbg_ptr;\n this.__wbg_ptr = 0;\n WasmCandidateWithPositionFinalization.unregister(this);\n return ptr;\n }\n\n free() {\n const ptr = this.__destroy_into_raw();\n wasm.__wbg_wasmcandidatewithposition_free(ptr, 0);\n }\n /**\n * @returns {string}\n */\n get candidate() {\n let deferred1_0;\n let deferred1_1;\n try {\n const ret = wasm.wasmcandidatewithposition_candidate(this.__wbg_ptr);\n deferred1_0 = ret[0];\n deferred1_1 = ret[1];\n return getStringFromWasm0(ret[0], ret[1]);\n } finally {\n wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);\n }\n }\n /**\n * @returns {number}\n */\n get position() {\n const ret = wasm.wasmcandidatewithposition_position(this.__wbg_ptr);\n return ret >>> 0;\n }\n}\n\nconst WasmChangedContentFinalization =\n typeof FinalizationRegistry === 'undefined'\n ? { register: () => {}, unregister: () => {} }\n : new FinalizationRegistry((ptr) =>\n wasm.__wbg_wasmchangedcontent_free(ptr >>> 0, 1)\n );\n\nexport class WasmChangedContent {\n __destroy_into_raw() {\n const ptr = this.__wbg_ptr;\n this.__wbg_ptr = 0;\n WasmChangedContentFinalization.unregister(this);\n return ptr;\n }\n\n free() {\n const ptr = this.__destroy_into_raw();\n wasm.__wbg_wasmchangedcontent_free(ptr, 0);\n }\n /**\n * @param {string | null | undefined} content\n * @param {string} extension\n */\n constructor(content, extension) {\n var ptr0 = isLikeNone(content)\n ? 0\n : passStringToWasm0(\n content,\n wasm.__wbindgen_malloc,\n wasm.__wbindgen_realloc\n );\n var len0 = WASM_VECTOR_LEN;\n const ptr1 = passStringToWasm0(\n extension,\n wasm.__wbindgen_malloc,\n wasm.__wbindgen_realloc\n );\n const len1 = WASM_VECTOR_LEN;\n const ret = wasm.wasmchangedcontent_new(ptr0, len0, ptr1, len1);\n this.__wbg_ptr = ret >>> 0;\n WasmChangedContentFinalization.register(this, this.__wbg_ptr, this);\n return this;\n }\n /**\n * @returns {string | undefined}\n */\n get content() {\n const ret = wasm.wasmchangedcontent_content(this.__wbg_ptr);\n let v1;\n if (ret[0] !== 0) {\n v1 = getStringFromWasm0(ret[0], ret[1]).slice();\n wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);\n }\n return v1;\n }\n /**\n * @returns {string}\n */\n get extension() {\n let deferred1_0;\n let deferred1_1;\n try {\n const ret = wasm.wasmchangedcontent_extension(this.__wbg_ptr);\n deferred1_0 = ret[0];\n deferred1_1 = ret[1];\n return getStringFromWasm0(ret[0], ret[1]);\n } finally {\n wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);\n }\n }\n}\n\nconst WasmScannerFinalization =\n typeof FinalizationRegistry === 'undefined'\n ? { register: () => {}, unregister: () => {} }\n : new FinalizationRegistry((ptr) =>\n wasm.__wbg_wasmscanner_free(ptr >>> 0, 1)\n );\n\nexport class WasmScanner {\n __destroy_into_raw() {\n const ptr = this.__wbg_ptr;\n this.__wbg_ptr = 0;\n WasmScannerFinalization.unregister(this);\n return ptr;\n }\n\n free() {\n const ptr = this.__destroy_into_raw();\n wasm.__wbg_wasmscanner_free(ptr, 0);\n }\n constructor() {\n const ret = wasm.wasmscanner_new();\n this.__wbg_ptr = ret >>> 0;\n WasmScannerFinalization.register(this, this.__wbg_ptr, this);\n return this;\n }\n /**\n * @param {WasmChangedContent} content\n * @returns {WasmCandidateWithPosition[]}\n */\n getCandidatesWithPositions(content) {\n _assertClass(content, WasmChangedContent);\n var ptr0 = content.__destroy_into_raw();\n const ret = wasm.wasmscanner_getCandidatesWithPositions(\n this.__wbg_ptr,\n ptr0\n );\n var v2 = getArrayJsValueFromWasm0(ret[0], ret[1]).slice();\n wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);\n return v2;\n }\n}\n\nasync function __wbg_load(module, imports) {\n if (typeof Response === 'function' && module instanceof Response) {\n if (typeof WebAssembly.instantiateStreaming === 'function') {\n try {\n return await WebAssembly.instantiateStreaming(module, imports);\n } catch (e) {\n if (module.headers.get('Content-Type') != 'application/wasm') {\n console.warn(\n '`WebAssembly.instantiateStreaming` failed because your server does not serve Wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\\n',\n e\n );\n } else {\n throw e;\n }\n }\n }\n\n const bytes = await module.arrayBuffer();\n return await WebAssembly.instantiate(bytes, imports);\n } else {\n const instance = await WebAssembly.instantiate(module, imports);\n\n if (instance instanceof WebAssembly.Instance) {\n return { instance, module };\n } else {\n return instance;\n }\n }\n}\n\nfunction __wbg_get_imports() {\n const imports = {};\n imports.wbg = {};\n imports.wbg.__wbg_error_7534b8e9a36f1ab4 = function (arg0, arg1) {\n let deferred0_0;\n let deferred0_1;\n try {\n deferred0_0 = arg0;\n deferred0_1 = arg1;\n console.error(getStringFromWasm0(arg0, arg1));\n } finally {\n wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);\n }\n };\n imports.wbg.__wbg_new_8a6f238a6ece86ea = function () {\n const ret = new Error();\n return ret;\n };\n imports.wbg.__wbg_stack_0ed75d68575b0f3c = function (arg0, arg1) {\n const ret = arg1.stack;\n const ptr1 = passStringToWasm0(\n ret,\n wasm.__wbindgen_malloc,\n wasm.__wbindgen_realloc\n );\n const len1 = WASM_VECTOR_LEN;\n getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);\n getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);\n };\n imports.wbg.__wbg_wasmcandidatewithposition_new = function (arg0) {\n const ret = WasmCandidateWithPosition.__wrap(arg0);\n return ret;\n };\n imports.wbg.__wbindgen_init_externref_table = function () {\n const table = wasm.__wbindgen_export_3;\n const offset = table.grow(4);\n table.set(0, undefined);\n table.set(offset + 0, undefined);\n table.set(offset + 1, null);\n table.set(offset + 2, true);\n table.set(offset + 3, false);\n };\n imports.wbg.__wbindgen_throw = function (arg0, arg1) {\n throw new Error(getStringFromWasm0(arg0, arg1));\n };\n\n return imports;\n}\n\nfunction __wbg_init_memory(imports, memory) {}\n\nfunction __wbg_finalize_init(instance, module) {\n wasm = instance.exports;\n __wbg_init.__wbindgen_wasm_module = module;\n cachedDataViewMemory0 = null;\n cachedUint8ArrayMemory0 = null;\n\n wasm.__wbindgen_start();\n return wasm;\n}\n\nfunction initSync(module) {\n if (wasm !== undefined) {\n return wasm;\n }\n\n if (typeof module !== 'undefined') {\n if (Object.getPrototypeOf(module) === Object.prototype) {\n ({ module } = module);\n } else {\n console.warn(\n 'using deprecated parameters for `initSync()`; pass a single object instead'\n );\n }\n }\n\n const imports = __wbg_get_imports();\n\n __wbg_init_memory(imports);\n\n if (!(module instanceof WebAssembly.Module)) {\n module = new WebAssembly.Module(module);\n }\n\n const instance = new WebAssembly.Instance(module, imports);\n\n return __wbg_finalize_init(instance, module);\n}\n\nasync function __wbg_init(module_or_path) {\n if (wasm !== undefined) {\n return wasm;\n }\n\n if (typeof module_or_path !== 'undefined') {\n if (Object.getPrototypeOf(module_or_path) === Object.prototype) {\n ({ module_or_path } = module_or_path);\n } else {\n console.warn(\n 'using deprecated parameters for the initialization function; pass a single object instead'\n );\n }\n }\n\n if (typeof module_or_path === 'undefined') {\n module_or_path = new URL('tailwindcss_oxide_bg.wasm', import.meta.url);\n }\n const imports = __wbg_get_imports();\n\n if (\n typeof module_or_path === 'string' ||\n (typeof Request === 'function' && module_or_path instanceof Request) ||\n (typeof URL === 'function' && module_or_path instanceof URL)\n ) {\n module_or_path = fetch(module_or_path);\n }\n\n __wbg_init_memory(imports);\n\n const { instance, module } = await __wbg_load(await module_or_path, imports);\n\n return __wbg_finalize_init(instance, module);\n}\n\nexport { initSync };\nexport default __wbg_init;\n"],"names":["wasm","cachedTextDecoder","cachedUint8ArrayMemory0","getUint8ArrayMemory0","getStringFromWasm0","ptr","len","WASM_VECTOR_LEN","cachedTextEncoder","encodeString","arg","view","buf","passStringToWasm0","malloc","realloc","mem","offset","code","ret","cachedDataViewMemory0","getDataViewMemory0","wasm_init","isLikeNone","x","_assertClass","instance","klass","getArrayJsValueFromWasm0","result","i","WasmCandidateWithPositionFinalization","WasmCandidateWithPosition","obj","deferred1_0","deferred1_1","WasmChangedContentFinalization","WasmChangedContent","content","extension","ptr0","len0","ptr1","len1","v1","WasmScannerFinalization","WasmScanner","v2","__wbg_load","module","imports","e","bytes","__wbg_get_imports","arg0","arg1","deferred0_0","deferred0_1","table","__wbg_finalize_init","__wbg_init","initSync","module_or_path"],"mappings":"AAGA,IAAIA;AAEJ,MAAMC,IACJ,OAAO,cAAgB,MACnB,IAAI,YAAY,SAAS,EAAE,WAAW,IAAM,OAAO,GAAI,CAAE,IACzD;AAAA,EACE,QAAQ,MAAM;AACZ,UAAM,MAAM,2BAA2B;AAAA,EACzC;AACR;AAEI,OAAO,cAAgB,OACzBA,EAAkB,OAAM;AAG1B,IAAIC,IAA0B;AAE9B,SAASC,IAAuB;AAC9B,UACED,MAA4B,QAC5BA,EAAwB,eAAe,OAEvCA,IAA0B,IAAI,WAAWF,EAAK,OAAO,MAAM,IAEtDE;AACT;AAEA,SAASE,EAAmBC,GAAKC,GAAK;AACpC,SAAAD,IAAMA,MAAQ,GACPJ,EAAkB;AAAA,IACvBE,IAAuB,SAASE,GAAKA,IAAMC,CAAG;AAAA,EAClD;AACA;AAEA,IAAIC,IAAkB;AAEtB,MAAMC,IACJ,OAAO,cAAgB,MACnB,IAAI,YAAY,OAAO,IACvB;AAAA,EACE,QAAQ,MAAM;AACZ,UAAM,MAAM,2BAA2B;AAAA,EACzC;AACR,GAEMC,IACJ,OAAOD,EAAkB,cAAe,aACpC,SAAUE,GAAKC,GAAM;AACnB,SAAOH,EAAkB,WAAWE,GAAKC,CAAI;AAC/C,IACA,SAAUD,GAAKC,GAAM;AACnB,QAAMC,IAAMJ,EAAkB,OAAOE,CAAG;AACxC,SAAAC,EAAK,IAAIC,C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AUG,EAAiB;AAIjC,EAAMJ,aAAkB,YAAY,WAClCA,IAAS,IAAI,YAAY,OAAOA,CAAM;AAGxC,QAAMvB,IAAW,IAAI,YAAY,SAASuB,GAAQC,CAAO;AAEzD,SAAOS,EAAoBjC,GAAUuB,CAAM;AAC7C;AAEA,eAAeW,EAAWE,GAAgB;AACxC,MAAI9D,MAAS;AACX,WAAOA;AAGT,EAAI,OAAO8D,IAAmB,QACxB,OAAO,eAAeA,CAAc,MAAM,OAAO,YAClD,EAAE,gBAAAA,EAAc,IAAKA,IAEtB,QAAQ;AAAA,IACN;AAAA,EACR,IAIM,OAAOA,IAAmB,QAC5BA,IAAiB,IAAA,IAAA,ih/sEAAA,YAAA,GAAA;AAEnB,QAAMZ,IAAUG,EAAiB;AAEjC,GACE,OAAOS,KAAmB,YACzB,OAAO,WAAY,cAAcA,aAA0B,WAC3D,OAAO,OAAQ,cAAcA,aAA0B,SAExDA,IAAiB,MAAMA,CAAc;AAKvC,QAAM,EAAE,UAAApC,GAAU,QAAAuB,EAAM,IAAK,MAAMD,EAAW,MAAMc,GAAgBZ,CAAO;AAE3E,SAAOS,EAAoBjC,GAAUuB,CAAM;AAC7C;"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blockbite/tailwind-css-parser",
|
|
3
3
|
"title": "fork of Semantic UI Tailwind Plugin",
|
|
4
|
-
"version": "0.11.
|
|
4
|
+
"version": "0.11.5",
|
|
5
5
|
"website": "https://github.com/Semantic-Org/Semantic-Next/blob/55f1c6acc1e59e5334d207aa53b39be8c80978bb/packages/tailwind/package.json",
|
|
6
6
|
"author": "Jack Lukic",
|
|
7
7
|
"sideEffects": false,
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"LICENSE"
|
|
26
26
|
],
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@blockbite/tailwind": "3.4.
|
|
28
|
+
"@blockbite/tailwind": "3.4.16"
|
|
29
29
|
},
|
|
30
30
|
"peerDependencies": {
|
|
31
31
|
"tailwindcss": "^4.0.0",
|
package/src/generator-browser.js
CHANGED
|
@@ -99,5 +99,8 @@ export async function generateTailwindCSS({ content, css = '', tailwindCSS }) {
|
|
|
99
99
|
// Build the CSS with the extracted candidates
|
|
100
100
|
const result = compiler.build(candidates);
|
|
101
101
|
|
|
102
|
-
return
|
|
102
|
+
return {
|
|
103
|
+
css: result,
|
|
104
|
+
candidates,
|
|
105
|
+
}; // returns stringified CSS ready to inject
|
|
103
106
|
}
|
package/types/index.d.ts
CHANGED
|
@@ -36,7 +36,9 @@ interface GenerateTailwindCSSOptions {
|
|
|
36
36
|
* @param options - The options for generating Tailwind CSS.
|
|
37
37
|
* @returns A promise that resolves to the compiled CSS string.
|
|
38
38
|
*/
|
|
39
|
-
export function generateTailwindCSS(
|
|
39
|
+
export function generateTailwindCSS(
|
|
40
|
+
options: GenerateTailwindCSSOptions
|
|
41
|
+
): Promise<{ css: string; candidates: Set<string> }>;
|
|
40
42
|
|
|
41
43
|
/**
|
|
42
44
|
* A plugin for integrating Tailwind CSS with Semantic UI component definitions.
|
|
@@ -46,7 +48,9 @@ export function generateTailwindCSS(options: GenerateTailwindCSSOptions): Promis
|
|
|
46
48
|
* @param config - Optional. A custom Tailwind CSS configuration object.
|
|
47
49
|
* @returns An asynchronous function that transforms a Semantic UI component definition.
|
|
48
50
|
*/
|
|
49
|
-
export function TailwindPlugin(
|
|
51
|
+
export function TailwindPlugin(
|
|
52
|
+
config?: Config
|
|
53
|
+
): (definition: ComponentDefinition) => Promise<ComponentDefinition>;
|
|
50
54
|
|
|
51
55
|
/**
|
|
52
56
|
* A utility function that recursively collects all content and CSS
|
package/dist/index-3MiScM8O.js
DELETED
|
@@ -1,310 +0,0 @@
|
|
|
1
|
-
function u(n, r) {
|
|
2
|
-
return { handler: n, config: r };
|
|
3
|
-
}
|
|
4
|
-
u.withOptions = function(n, r = () => ({})) {
|
|
5
|
-
function t(i) {
|
|
6
|
-
return { handler: n(i), config: r(i) };
|
|
7
|
-
}
|
|
8
|
-
return t.__isOptionsFunction = !0, t;
|
|
9
|
-
};
|
|
10
|
-
var m = u;
|
|
11
|
-
function w({ addComponents: n }) {
|
|
12
|
-
n([
|
|
13
|
-
{
|
|
14
|
-
".anchor-top-center": {
|
|
15
|
-
position: "absolute",
|
|
16
|
-
top: "0",
|
|
17
|
-
left: "50%",
|
|
18
|
-
transform: "translate(-50%, -50%)"
|
|
19
|
-
}
|
|
20
|
-
},
|
|
21
|
-
{
|
|
22
|
-
".anchor-top-left": {
|
|
23
|
-
position: "absolute",
|
|
24
|
-
top: "0",
|
|
25
|
-
left: "0"
|
|
26
|
-
}
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
".anchor-top-right": {
|
|
30
|
-
position: "absolute",
|
|
31
|
-
top: "0",
|
|
32
|
-
right: "0"
|
|
33
|
-
}
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
".anchor-bottom-center": {
|
|
37
|
-
position: "absolute",
|
|
38
|
-
bottom: "0",
|
|
39
|
-
left: "50%",
|
|
40
|
-
transform: "translate(-50%, 50%)"
|
|
41
|
-
}
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
".anchor-bottom-left": {
|
|
45
|
-
position: "absolute",
|
|
46
|
-
bottom: "0",
|
|
47
|
-
left: "0"
|
|
48
|
-
}
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
".anchor-bottom-right": {
|
|
52
|
-
position: "absolute",
|
|
53
|
-
bottom: "0",
|
|
54
|
-
right: "0"
|
|
55
|
-
}
|
|
56
|
-
},
|
|
57
|
-
{
|
|
58
|
-
".anchor-center-left": {
|
|
59
|
-
position: "absolute",
|
|
60
|
-
top: "50%",
|
|
61
|
-
left: "0",
|
|
62
|
-
transform: "translate(-50%, -50%)"
|
|
63
|
-
}
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
".anchor-center-right": {
|
|
67
|
-
position: "absolute",
|
|
68
|
-
top: "50%",
|
|
69
|
-
right: "0",
|
|
70
|
-
transform: "translate(50%, -50%)"
|
|
71
|
-
}
|
|
72
|
-
},
|
|
73
|
-
{
|
|
74
|
-
".anchor-center-center": {
|
|
75
|
-
position: "absolute",
|
|
76
|
-
top: "50%",
|
|
77
|
-
left: "50%",
|
|
78
|
-
transform: "translate(-50%, -50%)"
|
|
79
|
-
}
|
|
80
|
-
},
|
|
81
|
-
{
|
|
82
|
-
".anchor-center-top": {
|
|
83
|
-
position: "absolute",
|
|
84
|
-
top: "0",
|
|
85
|
-
left: "50%",
|
|
86
|
-
transform: "translate(-50%, 0%)"
|
|
87
|
-
}
|
|
88
|
-
},
|
|
89
|
-
{
|
|
90
|
-
".anchor-center-bottom": {
|
|
91
|
-
position: "absolute",
|
|
92
|
-
bottom: "0",
|
|
93
|
-
left: "50%",
|
|
94
|
-
transform: "translate(-50%, 0%)"
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
]);
|
|
98
|
-
}
|
|
99
|
-
function v({ addComponents: n, theme: r }) {
|
|
100
|
-
n({
|
|
101
|
-
".container-fluid": {
|
|
102
|
-
marginLeft: "auto",
|
|
103
|
-
marginRight: "auto",
|
|
104
|
-
paddingLeft: "var(--b_padding, 4vw)",
|
|
105
|
-
paddingRight: "var(--b_padding, 4vw)"
|
|
106
|
-
}
|
|
107
|
-
});
|
|
108
|
-
const t = r("screens.2xl");
|
|
109
|
-
t && n({
|
|
110
|
-
".container-fluid-2xl": {
|
|
111
|
-
maxWidth: t,
|
|
112
|
-
marginLeft: "auto",
|
|
113
|
-
marginRight: "auto",
|
|
114
|
-
paddingLeft: "var(--b_padding, 1rem)",
|
|
115
|
-
paddingRight: "var(--b_padding, 1rem)"
|
|
116
|
-
}
|
|
117
|
-
});
|
|
118
|
-
}
|
|
119
|
-
function x({ addComponents: n, theme: r, config: t }) {
|
|
120
|
-
const i = r("screens.lg"), e = r("screens.2xl"), o = t("important"), a = t("cssVars") || !1;
|
|
121
|
-
n({
|
|
122
|
-
[`${typeof o == "string" ? o : ""} .grid-container`]: {
|
|
123
|
-
display: "grid",
|
|
124
|
-
gridTemplateColumns: "1fr repeat(12, var(--b_col-width)) 1fr!important"
|
|
125
|
-
}
|
|
126
|
-
}), a && (i && n({
|
|
127
|
-
".grid-container-lg": {
|
|
128
|
-
"--b_col-width": "calc((100% - ((var(--b_padding, 4vw) ) * 2)) / 12)",
|
|
129
|
-
"--b_fr-size": "4vw"
|
|
130
|
-
}
|
|
131
|
-
}), e && n({
|
|
132
|
-
".grid-container-2xl": {
|
|
133
|
-
"--b_col-width": `calc((${e} - (var(--b_padding, 1rem) * 2)) / 12)`,
|
|
134
|
-
"--b_padding": "var(--b_padding, 1rem)",
|
|
135
|
-
"--b_fr-size": `calc(100% - ${e} / 2)`
|
|
136
|
-
}
|
|
137
|
-
}));
|
|
138
|
-
}
|
|
139
|
-
function T({ addComponents: n }) {
|
|
140
|
-
n([{
|
|
141
|
-
".tile-in-left": {
|
|
142
|
-
position: "absolute!important",
|
|
143
|
-
top: 0,
|
|
144
|
-
left: 0,
|
|
145
|
-
right: 0,
|
|
146
|
-
bottom: 0,
|
|
147
|
-
zIndex: 10,
|
|
148
|
-
overflow: "hidden",
|
|
149
|
-
transition: "transform 0.5s",
|
|
150
|
-
transform: "translateX(-100%)"
|
|
151
|
-
},
|
|
152
|
-
".active .tile-in-left": {
|
|
153
|
-
transform: "translateX(0%)"
|
|
154
|
-
}
|
|
155
|
-
}, {
|
|
156
|
-
".tile-in-fade": {
|
|
157
|
-
opacity: 0,
|
|
158
|
-
transition: "opacity 0.5s",
|
|
159
|
-
position: "absolute!important",
|
|
160
|
-
top: 0,
|
|
161
|
-
left: 0,
|
|
162
|
-
right: 0,
|
|
163
|
-
bottom: 0,
|
|
164
|
-
zIndex: 10,
|
|
165
|
-
overflow: "hidden"
|
|
166
|
-
},
|
|
167
|
-
".active .tile-in-fade": {
|
|
168
|
-
opacity: 1
|
|
169
|
-
}
|
|
170
|
-
}]);
|
|
171
|
-
}
|
|
172
|
-
function C({ addComponents: n }) {
|
|
173
|
-
n({
|
|
174
|
-
".newsticker": {
|
|
175
|
-
"& > .swiper-free-mode > .swiper-wrapper": {
|
|
176
|
-
"-webkit-transition-timing-function": "linear !important",
|
|
177
|
-
"-o-transition-timing-function": "linear !important",
|
|
178
|
-
"transition-timing-function": "linear !important"
|
|
179
|
-
}
|
|
180
|
-
}
|
|
181
|
-
});
|
|
182
|
-
}
|
|
183
|
-
const y = m(function({ addBase: n, addUtilities: r }) {
|
|
184
|
-
const t = "--b_grid-spacing", i = "1rem";
|
|
185
|
-
n({
|
|
186
|
-
":root": {
|
|
187
|
-
[t]: i
|
|
188
|
-
}
|
|
189
|
-
});
|
|
190
|
-
const e = [0, 1, 2, 4, 6, 8, 10, 12, 14, 18, 20, 22, 24, 32], o = [];
|
|
191
|
-
for (let s = 1; s <= 1280 / 16; s++)
|
|
192
|
-
o.push(s * 16);
|
|
193
|
-
const a = Array.from(/* @__PURE__ */ new Set([...e, ...o])).sort((s, c) => s - c), l = {}, g = {
|
|
194
|
-
w: "width",
|
|
195
|
-
h: "height",
|
|
196
|
-
"min-w-b": "minWidth",
|
|
197
|
-
"max-w-b": "maxWidth",
|
|
198
|
-
"min-h-b": "minHeight",
|
|
199
|
-
"max-h-b": "maxHeight",
|
|
200
|
-
"p-b": "padding",
|
|
201
|
-
"pt-b": "paddingTop",
|
|
202
|
-
"pr-b": "paddingRight",
|
|
203
|
-
"pb-b": "paddingBottom",
|
|
204
|
-
"pl-b": "paddingLeft",
|
|
205
|
-
"px-b": ["paddingLeft", "paddingRight"],
|
|
206
|
-
"py-b": ["paddingTop", "paddingBottom"],
|
|
207
|
-
"m-b": "margin",
|
|
208
|
-
"mt-b": "marginTop",
|
|
209
|
-
"mr-b": "marginRight",
|
|
210
|
-
"mb-b": "marginBottom",
|
|
211
|
-
"ml-b": "marginLeft",
|
|
212
|
-
"mx-b": ["marginLeft", "marginRight"],
|
|
213
|
-
"my-b": ["marginTop", "marginBottom"]
|
|
214
|
-
};
|
|
215
|
-
for (const [s, c] of Object.entries(g))
|
|
216
|
-
for (const d of a) {
|
|
217
|
-
const _ = d / 16, f = `.${s}-b_${d}`, h = `calc(var(${t}) * ${_})`;
|
|
218
|
-
Array.isArray(c) ? l[f] = c.reduce((b, $) => (b[$] = h, b), {}) : l[f] = {
|
|
219
|
-
[c]: h
|
|
220
|
-
};
|
|
221
|
-
}
|
|
222
|
-
r(l, { variants: ["responsive"] });
|
|
223
|
-
}), R = m(function({ addUtilities: n }) {
|
|
224
|
-
const r = {};
|
|
225
|
-
for (let t = 10; t <= 100; t += 10)
|
|
226
|
-
r[`.w-b_screen-${t}`] = {
|
|
227
|
-
width: `${t}vw`
|
|
228
|
-
}, r[`.h-b_screen-${t}`] = {
|
|
229
|
-
height: `${t}vh`
|
|
230
|
-
}, r[`.min-h-b_screen-${t}`] = {
|
|
231
|
-
minHeight: `${t}vh`
|
|
232
|
-
}, r[`.max-h-b_screen-${t}`] = {
|
|
233
|
-
maxHeight: `${t}vh`
|
|
234
|
-
}, r[`.min-w-b_screen-${t}`] = {
|
|
235
|
-
minWidth: `${t}vw`
|
|
236
|
-
}, r[`.max-w-b_screen-${t}`] = {
|
|
237
|
-
maxWidth: `${t}vw`
|
|
238
|
-
};
|
|
239
|
-
n(r);
|
|
240
|
-
});
|
|
241
|
-
function p(n) {
|
|
242
|
-
return n.replace(/([^a-zA-Z0-9-])/g, "\\$1");
|
|
243
|
-
}
|
|
244
|
-
function L({ addUtilities: n }) {
|
|
245
|
-
const r = {};
|
|
246
|
-
for (let t = 0; t <= 97; t++)
|
|
247
|
-
r[`.${p(`area-x-${t}`)}`] = {
|
|
248
|
-
"--b_area-x": `${t}`
|
|
249
|
-
}, r[`.${p(`area-y-${t}`)}`] = {
|
|
250
|
-
"--b_area-y": `${t}`
|
|
251
|
-
}, r[`.${p(`area-w-${t}`)}`] = {
|
|
252
|
-
"--b_area-w": `${t}`
|
|
253
|
-
}, r[`.${p(`area-h-${t}`)}`] = {
|
|
254
|
-
"--b_area-h": `${t}`
|
|
255
|
-
};
|
|
256
|
-
n(r, ["responsive"]);
|
|
257
|
-
}
|
|
258
|
-
function B({ addComponents: n, matchUtilities: r, config: t }) {
|
|
259
|
-
const i = t("important"), e = typeof i == "string" ? i : "";
|
|
260
|
-
n({
|
|
261
|
-
[`${e} .area`]: {
|
|
262
|
-
gridArea: "var(--b_area-y) / var(--b_area-x) / calc(var(--b_area-y) + var(--b_area-h)) / calc(var(--b_area-x) + var(--b_area-w))"
|
|
263
|
-
},
|
|
264
|
-
[`${e} .b_grid-area-16`]: {
|
|
265
|
-
display: "grid",
|
|
266
|
-
gridTemplateColumns: "repeat(16, 1fr)",
|
|
267
|
-
gridTemplateRows: "repeat(16, 1fr)",
|
|
268
|
-
"--init-area": "1 / 1 / 4 / 4"
|
|
269
|
-
},
|
|
270
|
-
[`${e} .b_grid-area-32`]: {
|
|
271
|
-
display: "grid",
|
|
272
|
-
gridTemplateColumns: "repeat(32, 1fr)",
|
|
273
|
-
gridTemplateRows: "repeat(32, 1fr)",
|
|
274
|
-
"--init-area": "1 / 1 / 8 / 8"
|
|
275
|
-
},
|
|
276
|
-
[`${e} .b_grid-area-64`]: {
|
|
277
|
-
display: "grid",
|
|
278
|
-
gridTemplateColumns: "repeat(64, 1fr)",
|
|
279
|
-
gridTemplateRows: "repeat(64, 1fr)",
|
|
280
|
-
"--init-area": "1 / 1 / 16 / 16"
|
|
281
|
-
},
|
|
282
|
-
[`${e} .b_grid-area-96`]: {
|
|
283
|
-
display: "grid",
|
|
284
|
-
gridTemplateColumns: "repeat(96, 1fr)",
|
|
285
|
-
gridTemplateRows: "repeat(96, 1fr)",
|
|
286
|
-
"--init-area": "1 / 1 / 24 / 24"
|
|
287
|
-
}
|
|
288
|
-
}), r(
|
|
289
|
-
{
|
|
290
|
-
area: (o) => {
|
|
291
|
-
const a = o.split("-");
|
|
292
|
-
if (a.length === 4)
|
|
293
|
-
return {
|
|
294
|
-
"grid-area": `${a[0]} / ${a[1]} / ${a[2]} / ${a[3]}`
|
|
295
|
-
};
|
|
296
|
-
}
|
|
297
|
-
},
|
|
298
|
-
{ values: {} }
|
|
299
|
-
// Allow arbitrary values like b_area[1/4/4/3]
|
|
300
|
-
);
|
|
301
|
-
}
|
|
302
|
-
const V = m((n) => {
|
|
303
|
-
L(n), B(n);
|
|
304
|
-
}), W = m(function(n) {
|
|
305
|
-
x(n), v(n), w(n), T(n), C(n), R.handler(n), V.handler(n), y.handler(n);
|
|
306
|
-
});
|
|
307
|
-
export {
|
|
308
|
-
W as default
|
|
309
|
-
};
|
|
310
|
-
//# sourceMappingURL=index-3MiScM8O.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index-3MiScM8O.js","sources":["../../../node_modules/.pnpm/tailwindcss@4.1.10/node_modules/tailwindcss/dist/plugin.mjs","../../tailwind/dist/components/anchor-position.js","../../tailwind/dist/components/fluid-container.js","../../tailwind/dist/components/grid-container.js","../../tailwind/dist/components/interaction.js","../../tailwind/dist/components/swiper.js","../../tailwind/dist/plugins/grid-16x.js","../../tailwind/dist/plugins/viewport-dimensions.js","../../tailwind/dist/gridarea/utilities/area-dimensions.js","../../tailwind/dist/gridarea/utilities/grid-area.js","../../tailwind/dist/gridarea/index.js","../../tailwind/dist/index.js"],"sourcesContent":["function g(i,n){return{handler:i,config:n}}g.withOptions=function(i,n=()=>({})){function t(o){return{handler:i(o),config:n(o)}}return t.__isOptionsFunction=!0,t};var u=g;export{u as default};\n","export default function ({ addComponents }) {\n const anchorTopCenter = {\n '.anchor-top-center': {\n position: 'absolute',\n top: '0',\n left: '50%',\n transform: 'translate(-50%, -50%)',\n },\n };\n const anchorTopLeft = {\n '.anchor-top-left': {\n position: 'absolute',\n top: '0',\n left: '0',\n },\n };\n const anchorTopRight = {\n '.anchor-top-right': {\n position: 'absolute',\n top: '0',\n right: '0',\n },\n };\n const anchorBottomCenter = {\n '.anchor-bottom-center': {\n position: 'absolute',\n bottom: '0',\n left: '50%',\n transform: 'translate(-50%, 50%)',\n },\n };\n const anchorBottomLeft = {\n '.anchor-bottom-left': {\n position: 'absolute',\n bottom: '0',\n left: '0',\n },\n };\n const anchorBottomRight = {\n '.anchor-bottom-right': {\n position: 'absolute',\n bottom: '0',\n right: '0',\n },\n };\n const anchorCenterLeft = {\n '.anchor-center-left': {\n position: 'absolute',\n top: '50%',\n left: '0',\n transform: 'translate(-50%, -50%)',\n },\n };\n const anchorCenterRight = {\n '.anchor-center-right': {\n position: 'absolute',\n top: '50%',\n right: '0',\n transform: 'translate(50%, -50%)',\n },\n };\n const anchorCenterCenter = {\n '.anchor-center-center': {\n position: 'absolute',\n top: '50%',\n left: '50%',\n transform: 'translate(-50%, -50%)',\n },\n };\n const anchorCenterTop = {\n '.anchor-center-top': {\n position: 'absolute',\n top: '0',\n left: '50%',\n transform: 'translate(-50%, 0%)',\n },\n };\n const anchorCenterBottom = {\n '.anchor-center-bottom': {\n position: 'absolute',\n bottom: '0',\n left: '50%',\n transform: 'translate(-50%, 0%)',\n },\n };\n addComponents([\n anchorTopCenter,\n anchorTopLeft,\n anchorTopRight,\n anchorBottomCenter,\n anchorBottomLeft,\n anchorBottomRight,\n anchorCenterLeft,\n anchorCenterRight,\n anchorCenterCenter,\n anchorCenterTop,\n anchorCenterBottom,\n ]);\n}\n","/*\n--b_container-fluid-xs: 98vw;\n--b_container-fluid-xl: 95vw;\n--b_padding: 1rem;\n*/\nexport default function ({ addComponents, theme }) {\n // Base style\n addComponents({\n [`.container-fluid`]: {\n marginLeft: 'auto',\n marginRight: 'auto',\n paddingLeft: 'var(--b_padding, 4vw)',\n paddingRight: 'var(--b_padding, 4vw)',\n },\n });\n // Responsive style for 2xl (users must use 2xl:container-fluid)\n const maxWidth2xl = theme('screens.2xl');\n if (maxWidth2xl) {\n addComponents({\n [`.container-fluid-2xl`]: {\n maxWidth: maxWidth2xl,\n marginLeft: 'auto',\n marginRight: 'auto',\n paddingLeft: 'var(--b_padding, 1rem)',\n paddingRight: 'var(--b_padding, 1rem)',\n },\n });\n }\n}\n","export default function ({ addComponents, theme, config, }) {\n const maxWidthLg = theme('screens.lg');\n const maxWidth2xl = theme('screens.2xl');\n const important = config('important');\n const cssVars = config('cssVars') || false;\n const prefix = typeof important === 'string' ? important : '';\n // Base grid container\n addComponents({\n [`${prefix} .grid-container`]: {\n display: 'grid',\n gridTemplateColumns: '1fr repeat(12, var(--b_col-width)) 1fr!important',\n },\n });\n if (cssVars) {\n // Provide separate classes for breakpoint-specific variables\n if (maxWidthLg) {\n addComponents({\n [`.grid-container-lg`]: {\n '--b_col-width': 'calc((100% - ((var(--b_padding, 4vw) ) * 2)) / 12)',\n '--b_fr-size': '4vw',\n },\n });\n }\n if (maxWidth2xl) {\n addComponents({\n [`.grid-container-2xl`]: {\n '--b_col-width': `calc((${maxWidth2xl} - (var(--b_padding, 1rem) * 2)) / 12)`,\n '--b_padding': 'var(--b_padding, 1rem)',\n '--b_fr-size': `calc(100% - ${maxWidth2xl} / 2)`,\n },\n });\n }\n }\n}\n","export default function ({ addComponents }) {\n const b_tileslide_in = {\n '.tile-in-left': {\n position: 'absolute!important',\n top: 0,\n left: 0,\n right: 0,\n bottom: 0,\n zIndex: 10,\n overflow: 'hidden',\n transition: 'transform 0.5s',\n transform: 'translateX(-100%)',\n },\n '.active .tile-in-left': {\n transform: 'translateX(0%)',\n },\n };\n const b_tilefade_in = {\n '.tile-in-fade': {\n opacity: 0,\n transition: 'opacity 0.5s',\n position: 'absolute!important',\n top: 0,\n left: 0,\n right: 0,\n bottom: 0,\n zIndex: 10,\n overflow: 'hidden',\n },\n '.active .tile-in-fade': {\n opacity: 1,\n },\n };\n addComponents([b_tileslide_in, b_tilefade_in]);\n}\n","export default function ({ addComponents }) {\n // allows infinite loop for swiper continues\n const b_newsticker = {\n '.newsticker': {\n '& > .swiper-free-mode > .swiper-wrapper': {\n '-webkit-transition-timing-function': 'linear !important',\n '-o-transition-timing-function': 'linear !important',\n 'transition-timing-function': 'linear !important',\n },\n },\n };\n addComponents(b_newsticker);\n}\n","import plugin from 'tailwindcss/plugin';\nexport default plugin(function ({ addBase, addUtilities }) {\n const baseVar = '--b_grid-spacing';\n const baseValue = '1rem'; // 16px grid\n // Set the root spacing variable\n addBase({\n ':root': {\n [baseVar]: baseValue,\n },\n });\n // Define spacing values\n const minimalValues = [0, 1, 2, 4, 6, 8, 10, 12, 14, 18, 20, 22, 24, 32];\n const largeSteps = [];\n for (let i = 1; i <= 1280 / 16; i++) {\n largeSteps.push(i * 16); // 16, 32, 48, ..., 1280\n }\n const allValues = Array.from(new Set([...minimalValues, ...largeSteps])).sort((a, b) => a - b);\n const utilities = {};\n const properties = {\n w: 'width',\n h: 'height',\n 'min-w-b': 'minWidth',\n 'max-w-b': 'maxWidth',\n 'min-h-b': 'minHeight',\n 'max-h-b': 'maxHeight',\n 'p-b': 'padding',\n 'pt-b': 'paddingTop',\n 'pr-b': 'paddingRight',\n 'pb-b': 'paddingBottom',\n 'pl-b': 'paddingLeft',\n 'px-b': ['paddingLeft', 'paddingRight'],\n 'py-b': ['paddingTop', 'paddingBottom'],\n 'm-b': 'margin',\n 'mt-b': 'marginTop',\n 'mr-b': 'marginRight',\n 'mb-b': 'marginBottom',\n 'ml-b': 'marginLeft',\n 'mx-b': ['marginLeft', 'marginRight'],\n 'my-b': ['marginTop', 'marginBottom'],\n };\n for (const [prefix, cssProp] of Object.entries(properties)) {\n for (const pxValue of allValues) {\n const multiplier = pxValue / 16;\n const className = `.${prefix}-b_${pxValue}`;\n const cssValue = `calc(var(${baseVar}) * ${multiplier})`;\n if (Array.isArray(cssProp)) {\n utilities[className] = cssProp.reduce((acc, prop) => {\n acc[prop] = cssValue;\n return acc;\n }, {});\n }\n else {\n utilities[className] = {\n [cssProp]: cssValue,\n };\n }\n }\n }\n addUtilities(utilities, { variants: ['responsive'] });\n});\n","import plugin from 'tailwindcss/plugin';\nexport default plugin(function ({ addUtilities }) {\n const utilities = {};\n for (let i = 10; i <= 100; i += 10) {\n utilities[`.w-b_screen-${i}`] = {\n width: `${i}vw`,\n };\n utilities[`.h-b_screen-${i}`] = {\n height: `${i}vh`,\n };\n utilities[`.min-h-b_screen-${i}`] = {\n minHeight: `${i}vh`,\n };\n utilities[`.max-h-b_screen-${i}`] = {\n maxHeight: `${i}vh`,\n };\n utilities[`.min-w-b_screen-${i}`] = {\n minWidth: `${i}vw`,\n };\n utilities[`.max-w-b_screen-${i}`] = {\n maxWidth: `${i}vw`,\n };\n }\n addUtilities(utilities);\n});\n","function escapeClassName(className) {\n return className.replace(/([^a-zA-Z0-9-])/g, '\\\\$1');\n}\nexport default function ({ addUtilities }) {\n const newUtilities = {};\n // 96 is max resolution\n for (let i = 0; i <= 97; i++) {\n newUtilities[`.${escapeClassName(`area-x-${i}`)}`] = {\n '--b_area-x': `${i}`,\n };\n newUtilities[`.${escapeClassName(`area-y-${i}`)}`] = {\n '--b_area-y': `${i}`,\n };\n newUtilities[`.${escapeClassName(`area-w-${i}`)}`] = {\n '--b_area-w': `${i}`,\n };\n newUtilities[`.${escapeClassName(`area-h-${i}`)}`] = {\n '--b_area-h': `${i}`,\n };\n }\n addUtilities(newUtilities, ['responsive']);\n}\n","export default function ({ addComponents, matchUtilities, config }) {\n const important = config('important');\n const prefix = typeof important === 'string' ? important : '';\n // Predefined grid-area utilities\n addComponents({\n [`${prefix} .area`]: {\n gridArea: 'var(--b_area-y) / var(--b_area-x) / calc(var(--b_area-y) + var(--b_area-h)) / calc(var(--b_area-x) + var(--b_area-w))',\n },\n [`${prefix} .b_grid-area-16`]: {\n display: 'grid',\n gridTemplateColumns: 'repeat(16, 1fr)',\n gridTemplateRows: 'repeat(16, 1fr)',\n '--init-area': '1 / 1 / 4 / 4',\n },\n [`${prefix} .b_grid-area-32`]: {\n display: 'grid',\n gridTemplateColumns: 'repeat(32, 1fr)',\n gridTemplateRows: 'repeat(32, 1fr)',\n '--init-area': '1 / 1 / 8 / 8',\n },\n [`${prefix} .b_grid-area-64`]: {\n display: 'grid',\n gridTemplateColumns: 'repeat(64, 1fr)',\n gridTemplateRows: 'repeat(64, 1fr)',\n '--init-area': '1 / 1 / 16 / 16',\n },\n [`${prefix} .b_grid-area-96`]: {\n display: 'grid',\n gridTemplateColumns: 'repeat(96, 1fr)',\n gridTemplateRows: 'repeat(96, 1fr)',\n '--init-area': '1 / 1 / 24 / 24',\n },\n });\n matchUtilities({\n area: (value) => {\n // Remove the square brackets and split the value by \"/\"\n const parts = value.split('-'); // slice to remove the square brackets\n if (parts.length === 4) {\n return {\n 'grid-area': `${parts[0]} / ${parts[1]} / ${parts[2]} / ${parts[3]}`,\n };\n }\n },\n }, { values: {} } // Allow arbitrary values like b_area[1/4/4/3]\n );\n}\n","import plugin from 'tailwindcss/plugin';\nimport areaDimensions from './utilities/area-dimensions.js';\nimport gridArea from './utilities/grid-area.js';\nexport default plugin((api) => {\n areaDimensions(api);\n gridArea(api);\n});\n","import plugin from 'tailwindcss/plugin';\n// Utilities and helpers\nimport { getColorObject, getColors } from './colors.js';\nimport { getContainer } from './container.js';\nimport { getScreens } from './screens.js';\nimport { fluidSpacing, gridSpacing, nativeSpacing, percentSpacing, screenSpacing, spanSpacing, } from './spacing.js';\n// Components\nimport anchorPosition from './components/anchor-position.js';\nimport fluidContainer from './components/fluid-container.js';\nimport gridContainer from './components/grid-container.js';\nimport interaction from './components/interaction.js';\nimport swiper from './components/swiper.js';\n// Plugins\nimport grid16x from './plugins/grid-16x.js';\nimport viewportDimensions from './plugins/viewport-dimensions.js';\n// Gridarea utilities\nimport gridAreaPlugin from './gridarea/index.js';\nconst blockbiteTailwindPlugin = plugin(function (api) {\n // Register all components\n gridContainer(api);\n fluidContainer(api);\n anchorPosition(api);\n interaction(api);\n swiper(api);\n // Register all plugins/utilities\n viewportDimensions.handler(api);\n gridAreaPlugin.handler(api);\n grid16x.handler(api);\n});\nexport default blockbiteTailwindPlugin;\n// Export functions and constants\nexport { fluidSpacing, getColorObject, getColors, getContainer, getScreens, gridSpacing, nativeSpacing, percentSpacing, screenSpacing, spanSpacing, };\n"],"names":["g","i","n","o","u","anchorPosition","addComponents","fluidContainer","theme","maxWidth2xl","gridContainer","config","maxWidthLg","important","cssVars","interaction","swiper","grid16x","plugin","addBase","addUtilities","baseVar","baseValue","minimalValues","largeSteps","allValues","a","b","utilities","properties","prefix","cssProp","pxValue","multiplier","className","cssValue","acc","prop","viewportDimensions","escapeClassName","areaDimensions","newUtilities","gridArea","matchUtilities","value","parts","gridAreaPlugin","api","blockbiteTailwindPlugin"],"mappings":"AAAA,SAASA,EAAEC,GAAEC,GAAE;AAAC,SAAM,EAAC,SAAQD,GAAE,QAAOC,EAAC;AAAC;AAACF,EAAE,cAAY,SAASC,GAAEC,IAAE,OAAK,CAAA,IAAI;AAAC,WAAS,EAAEC,GAAE;AAAC,WAAM,EAAC,SAAQF,EAAEE,CAAC,GAAE,QAAOD,EAAEC,CAAC,EAAC;AAAA,EAAC;AAAC,SAAO,EAAE,sBAAoB,IAAG;AAAC;AAAE,IAAIC,IAAEJ;ACAzJ,SAAAK,EAAU,EAAE,eAAAC,EAAa,GAAI;AAqFxC,EAAAA,EAAc;AAAA,IApFU;AAAA,MACpB,sBAAsB;AAAA,QAClB,UAAU;AAAA,QACV,KAAK;AAAA,QACL,MAAM;AAAA,QACN,WAAW;AAAA,MACvB;AAAA,IACA;AAAA,IAC0B;AAAA,MAClB,oBAAoB;AAAA,QAChB,UAAU;AAAA,QACV,KAAK;AAAA,QACL,MAAM;AAAA,MAClB;AAAA,IACA;AAAA,IAC2B;AAAA,MACnB,qBAAqB;AAAA,QACjB,UAAU;AAAA,QACV,KAAK;AAAA,QACL,OAAO;AAAA,MACnB;AAAA,IACA;AAAA,IAC+B;AAAA,MACvB,yBAAyB;AAAA,QACrB,UAAU;AAAA,QACV,QAAQ;AAAA,QACR,MAAM;AAAA,QACN,WAAW;AAAA,MACvB;AAAA,IACA;AAAA,IAC6B;AAAA,MACrB,uBAAuB;AAAA,QACnB,U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