bugfixing
This commit is contained in:
parent
09f4d402be
commit
25cd8c693a
@ -67,38 +67,40 @@
|
||||
return data;
|
||||
});
|
||||
}
|
||||
|
||||
function computeGrowthSingleList(data, actualList) {
|
||||
// Find the last non-null entry in actualList
|
||||
let lastNonNull = actualList
|
||||
?.filter((entry) => entry?.val !== null)
|
||||
?.slice(-1)[0];
|
||||
|
||||
// Add the last non-null entry from actualList to the beginning of data
|
||||
const newList = [lastNonNull, ...data];
|
||||
|
||||
// Calculate growth and include it in the objects
|
||||
// Initialize the result list
|
||||
let resultList = [];
|
||||
|
||||
for (let i = 1; i < newList?.length; i++) {
|
||||
let previous = newList[i - 1];
|
||||
let current = newList[i];
|
||||
for (let i = 0; i < data?.length; i++) {
|
||||
const currentData = data[i];
|
||||
|
||||
// Calculate growth only if both values are non-null
|
||||
// Find the corresponding actual data from one FY back
|
||||
const correspondingActual = actualList?.find(
|
||||
(entry) => Number(entry.FY) === Number(currentData.FY) - 1,
|
||||
);
|
||||
|
||||
// Calculate growth if a matching entry exists in actualList
|
||||
let growth = null;
|
||||
if (previous.val !== null && current.val !== null) {
|
||||
growth = (((current.val - previous.val) / previous.val) * 100)?.toFixed(
|
||||
2,
|
||||
);
|
||||
if (
|
||||
correspondingActual &&
|
||||
correspondingActual?.val !== null &&
|
||||
currentData.val !== null
|
||||
) {
|
||||
growth = (
|
||||
((currentData?.val - correspondingActual?.val) /
|
||||
Math.abs(correspondingActual?.val)) *
|
||||
100
|
||||
)?.toFixed(2);
|
||||
}
|
||||
|
||||
// Add FY, val, and growth to the result list
|
||||
// Push the result for this FY
|
||||
resultList.push({
|
||||
FY: current.FY,
|
||||
val: current.val,
|
||||
FY: currentData.FY,
|
||||
val: currentData.val,
|
||||
growth: growth !== null ? Number(growth) : null, // Convert growth to number or leave as null
|
||||
});
|
||||
}
|
||||
|
||||
return resultList;
|
||||
}
|
||||
|
||||
@ -127,7 +129,7 @@
|
||||
return {
|
||||
FY: currentFY,
|
||||
growth:
|
||||
forecastGrowth !== 0 ? Number(forecastGrowth.toFixed(2)) : null,
|
||||
forecastGrowth !== 0 ? Number(forecastGrowth?.toFixed(2)) : null,
|
||||
};
|
||||
}
|
||||
|
||||
@ -262,7 +264,7 @@
|
||||
const fy = parseInt(date.replace("FY", ""), 10); // Extract numeric FY value
|
||||
const listToUse =
|
||||
dataType === "Revenue" ? revenueAvgGrowthList : epsAvgGrowthList; // Select the correct growth list
|
||||
const growth = listToUse.find((r) => r.FY === fy); // Find matching FY
|
||||
const growth = listToUse?.find((r) => r.FY === fy); // Find matching FY
|
||||
return growth ? growth?.growth : null; // Return growth or null if not found
|
||||
});
|
||||
|
||||
@ -355,19 +357,12 @@
|
||||
let highGrowthList = [];
|
||||
let lowGrowthList = [];
|
||||
if (dataType === "Revenue") {
|
||||
highGrowthList = computeGrowthSingleList(
|
||||
highRevenueList,
|
||||
tableActualRevenue,
|
||||
);
|
||||
lowGrowthList = computeGrowthSingleList(
|
||||
lowRevenueList,
|
||||
tableActualRevenue,
|
||||
);
|
||||
highGrowthList = computeGrowthSingleList(highRevenueList, avgRevenueList);
|
||||
lowGrowthList = computeGrowthSingleList(lowRevenueList, avgRevenueList);
|
||||
} else {
|
||||
highGrowthList = computeGrowthSingleList(highEPSList, tableActualEPS);
|
||||
lowGrowthList = computeGrowthSingleList(lowEPSList, tableActualEPS);
|
||||
highGrowthList = computeGrowthSingleList(highEPSList, avgEPSList);
|
||||
lowGrowthList = computeGrowthSingleList(lowEPSList, avgEPSList);
|
||||
}
|
||||
|
||||
highGrowthList = fillMissingDates(dates, highGrowthList)?.map(
|
||||
(item) => item?.growth,
|
||||
);
|
||||
@ -820,9 +815,9 @@
|
||||
class="p-1 text-left font-semibold text-sm sm:text-[1rem]"
|
||||
>Revenue</th
|
||||
>
|
||||
{#each revenueDateList as date}
|
||||
<th class="p-1 font-semibold text-sm sm:text-[1rem]"
|
||||
>{date}</th
|
||||
{#each revenueDateList as date, index}
|
||||
<th class="p-1 font-semibold text-sm sm:text-[1rem]">
|
||||
{#if index !== 0}{date}{/if}</th
|
||||
>
|
||||
{/each}
|
||||
</tr></thead
|
||||
@ -834,22 +829,24 @@
|
||||
>
|
||||
{#each highRevenueList as item, index}
|
||||
<td class="px-1 py-[3px] text-sm sm:text-[1rem]">
|
||||
{#if data?.user?.tier !== "Pro" && index >= highRevenueList?.length - 2}
|
||||
<a
|
||||
class="inline-block ml-0.5 text-white"
|
||||
href="/pricing"
|
||||
>Pro<svg
|
||||
class="w-4 h-4 ml-0.5 mb-1 inline-block text-[#A3A3A3]"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
viewBox="0 0 24 24"
|
||||
><path
|
||||
fill="currentColor"
|
||||
d="M17 9V7c0-2.8-2.2-5-5-5S7 4.2 7 7v2c-1.7 0-3 1.3-3 3v7c0 1.7 1.3 3 3 3h10c1.7 0 3-1.3 3-3v-7c0-1.7-1.3-3-3-3M9 7c0-1.7 1.3-3 3-3s3 1.3 3 3v2H9z"
|
||||
/></svg
|
||||
></a
|
||||
>
|
||||
{:else}
|
||||
{abbreviateNumber(item?.val)}
|
||||
{#if index !== 0}
|
||||
{#if data?.user?.tier !== "Pro" && index >= highRevenueList?.length - 2}
|
||||
<a
|
||||
class="inline-block ml-0.5 text-white"
|
||||
href="/pricing"
|
||||
>Pro<svg
|
||||
class="w-4 h-4 ml-0.5 mb-1 inline-block text-[#A3A3A3]"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
viewBox="0 0 24 24"
|
||||
><path
|
||||
fill="currentColor"
|
||||
d="M17 9V7c0-2.8-2.2-5-5-5S7 4.2 7 7v2c-1.7 0-3 1.3-3 3v7c0 1.7 1.3 3 3 3h10c1.7 0 3-1.3 3-3v-7c0-1.7-1.3-3-3-3M9 7c0-1.7 1.3-3 3-3s3 1.3 3 3v2H9z"
|
||||
/></svg
|
||||
></a
|
||||
>
|
||||
{:else}
|
||||
{abbreviateNumber(item?.val)}
|
||||
{/if}
|
||||
{/if}
|
||||
</td>
|
||||
{/each}
|
||||
@ -859,22 +856,24 @@
|
||||
>
|
||||
{#each avgRevenueList as item, index}
|
||||
<td class="px-1 py-[3px] text-sm sm:text-[1rem]">
|
||||
{#if data?.user?.tier !== "Pro" && index >= avgRevenueList?.length - 2}
|
||||
<a
|
||||
class="inline-block ml-0.5 text-white"
|
||||
href="/pricing"
|
||||
>Pro<svg
|
||||
class="w-4 h-4 ml-0.5 mb-1 inline-block text-[#A3A3A3]"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
viewBox="0 0 24 24"
|
||||
><path
|
||||
fill="currentColor"
|
||||
d="M17 9V7c0-2.8-2.2-5-5-5S7 4.2 7 7v2c-1.7 0-3 1.3-3 3v7c0 1.7 1.3 3 3 3h10c1.7 0 3-1.3 3-3v-7c0-1.7-1.3-3-3-3M9 7c0-1.7 1.3-3 3-3s3 1.3 3 3v2H9z"
|
||||
/></svg
|
||||
></a
|
||||
>
|
||||
{:else}
|
||||
{abbreviateNumber(item?.val)}
|
||||
{#if index !== 0}
|
||||
{#if data?.user?.tier !== "Pro" && index >= avgRevenueList?.length - 2}
|
||||
<a
|
||||
class="inline-block ml-0.5 text-white"
|
||||
href="/pricing"
|
||||
>Pro<svg
|
||||
class="w-4 h-4 ml-0.5 mb-1 inline-block text-[#A3A3A3]"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
viewBox="0 0 24 24"
|
||||
><path
|
||||
fill="currentColor"
|
||||
d="M17 9V7c0-2.8-2.2-5-5-5S7 4.2 7 7v2c-1.7 0-3 1.3-3 3v7c0 1.7 1.3 3 3 3h10c1.7 0 3-1.3 3-3v-7c0-1.7-1.3-3-3-3M9 7c0-1.7 1.3-3 3-3s3 1.3 3 3v2H9z"
|
||||
/></svg
|
||||
></a
|
||||
>
|
||||
{:else}
|
||||
{abbreviateNumber(item?.val)}
|
||||
{/if}
|
||||
{/if}
|
||||
</td>
|
||||
{/each}
|
||||
@ -884,22 +883,24 @@
|
||||
>
|
||||
{#each lowRevenueList as item, index}
|
||||
<td class="px-1 py-[3px] text-sm sm:text-[1rem]">
|
||||
{#if data?.user?.tier !== "Pro" && index >= lowRevenueList?.length - 2}
|
||||
<a
|
||||
class="inline-block ml-0.5 text-white"
|
||||
href="/pricing"
|
||||
>Pro<svg
|
||||
class="w-4 h-4 ml-0.5 mb-1 inline-block text-[#A3A3A3]"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
viewBox="0 0 24 24"
|
||||
><path
|
||||
fill="currentColor"
|
||||
d="M17 9V7c0-2.8-2.2-5-5-5S7 4.2 7 7v2c-1.7 0-3 1.3-3 3v7c0 1.7 1.3 3 3 3h10c1.7 0 3-1.3 3-3v-7c0-1.7-1.3-3-3-3M9 7c0-1.7 1.3-3 3-3s3 1.3 3 3v2H9z"
|
||||
/></svg
|
||||
></a
|
||||
>
|
||||
{:else}
|
||||
{abbreviateNumber(item?.val)}
|
||||
{#if index !== 0}
|
||||
{#if data?.user?.tier !== "Pro" && index >= lowRevenueList?.length - 2}
|
||||
<a
|
||||
class="inline-block ml-0.5 text-white"
|
||||
href="/pricing"
|
||||
>Pro<svg
|
||||
class="w-4 h-4 ml-0.5 mb-1 inline-block text-[#A3A3A3]"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
viewBox="0 0 24 24"
|
||||
><path
|
||||
fill="currentColor"
|
||||
d="M17 9V7c0-2.8-2.2-5-5-5S7 4.2 7 7v2c-1.7 0-3 1.3-3 3v7c0 1.7 1.3 3 3 3h10c1.7 0 3-1.3 3-3v-7c0-1.7-1.3-3-3-3M9 7c0-1.7 1.3-3 3-3s3 1.3 3 3v2H9z"
|
||||
/></svg
|
||||
></a
|
||||
>
|
||||
{:else}
|
||||
{abbreviateNumber(item?.val)}
|
||||
{/if}
|
||||
{/if}
|
||||
</td>
|
||||
{/each}
|
||||
@ -941,7 +942,7 @@
|
||||
><td class="whitespace-nowrap px-1 py-[3px] text-left"
|
||||
>High</td
|
||||
>
|
||||
{#each computeGrowthSingleList(highRevenueList, tableActualRevenue) as item, index}
|
||||
{#each computeGrowthSingleList(highRevenueList, avgRevenueList) as item, index}
|
||||
<td class="px-1 py-[3px] text-sm sm:text-[1rem]">
|
||||
{#if index !== 0}
|
||||
{#if data?.user?.tier !== "Pro" && index >= highRevenueList?.length - 2}
|
||||
@ -979,7 +980,7 @@
|
||||
><td class="whitespace-nowrap px-1 py-[3px] text-left"
|
||||
>Avg</td
|
||||
>
|
||||
{#each computeGrowthSingleList(avgRevenueList, tableActualRevenue) as item, index}
|
||||
{#each revenueAvgGrowthList?.filter((item) => item.FY >= 24) as item, index}
|
||||
<td class="px-1 py-[3px] text-sm sm:text-[1rem]">
|
||||
{#if index !== 0}
|
||||
{#if data?.user?.tier !== "Pro" && index >= avgRevenueList?.length - 2}
|
||||
@ -1017,7 +1018,7 @@
|
||||
><td class="whitespace-nowrap px-1 py-[3px] text-left"
|
||||
>Low</td
|
||||
>
|
||||
{#each computeGrowthSingleList(lowRevenueList, tableActualRevenue) as item, index}
|
||||
{#each computeGrowthSingleList(lowRevenueList, avgRevenueList) as item, index}
|
||||
<td class="px-1 py-[3px] text-sm sm:text-[1rem]">
|
||||
{#if index !== 0}
|
||||
{#if data?.user?.tier !== "Pro" && index >= lowRevenueList?.length - 2}
|
||||
@ -1077,9 +1078,9 @@
|
||||
class="p-1 text-left font-semibold text-sm sm:text-[1rem]"
|
||||
>EPS</th
|
||||
>
|
||||
{#each epsDateList as date}
|
||||
<th class="p-1 font-semibold text-sm sm:text-[1rem]"
|
||||
>{date}</th
|
||||
{#each epsDateList as date, index}
|
||||
<th class="p-1 font-semibold text-sm sm:text-[1rem]">
|
||||
{#if index !== 0}{date}{/if}</th
|
||||
>
|
||||
{/each}
|
||||
</tr></thead
|
||||
@ -1091,22 +1092,24 @@
|
||||
>
|
||||
{#each highEPSList as item, index}
|
||||
<td class="px-1 py-[3px] text-sm sm:text-[1rem]">
|
||||
{#if data?.user?.tier !== "Pro" && index >= highEPSList?.length - 2}
|
||||
<a
|
||||
class="inline-block ml-0.5 text-white"
|
||||
href="/pricing"
|
||||
>Pro<svg
|
||||
class="w-4 h-4 ml-0.5 mb-1 inline-block text-[#A3A3A3]"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
viewBox="0 0 24 24"
|
||||
><path
|
||||
fill="currentColor"
|
||||
d="M17 9V7c0-2.8-2.2-5-5-5S7 4.2 7 7v2c-1.7 0-3 1.3-3 3v7c0 1.7 1.3 3 3 3h10c1.7 0 3-1.3 3-3v-7c0-1.7-1.3-3-3-3M9 7c0-1.7 1.3-3 3-3s3 1.3 3 3v2H9z"
|
||||
/></svg
|
||||
></a
|
||||
>
|
||||
{:else}
|
||||
{abbreviateNumber(item?.val)}
|
||||
{#if index !== 0}
|
||||
{#if data?.user?.tier !== "Pro" && index >= highEPSList?.length - 2}
|
||||
<a
|
||||
class="inline-block ml-0.5 text-white"
|
||||
href="/pricing"
|
||||
>Pro<svg
|
||||
class="w-4 h-4 ml-0.5 mb-1 inline-block text-[#A3A3A3]"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
viewBox="0 0 24 24"
|
||||
><path
|
||||
fill="currentColor"
|
||||
d="M17 9V7c0-2.8-2.2-5-5-5S7 4.2 7 7v2c-1.7 0-3 1.3-3 3v7c0 1.7 1.3 3 3 3h10c1.7 0 3-1.3 3-3v-7c0-1.7-1.3-3-3-3M9 7c0-1.7 1.3-3 3-3s3 1.3 3 3v2H9z"
|
||||
/></svg
|
||||
></a
|
||||
>
|
||||
{:else}
|
||||
{abbreviateNumber(item?.val)}
|
||||
{/if}
|
||||
{/if}
|
||||
</td>
|
||||
{/each}
|
||||
@ -1116,22 +1119,24 @@
|
||||
>
|
||||
{#each avgEPSList as item, index}
|
||||
<td class="px-1 py-[3px] text-sm sm:text-[1rem]">
|
||||
{#if data?.user?.tier !== "Pro" && index >= avgEPSList?.length - 2}
|
||||
<a
|
||||
class="inline-block ml-0.5 text-white"
|
||||
href="/pricing"
|
||||
>Pro<svg
|
||||
class="w-4 h-4 ml-0.5 mb-1 inline-block text-[#A3A3A3]"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
viewBox="0 0 24 24"
|
||||
><path
|
||||
fill="currentColor"
|
||||
d="M17 9V7c0-2.8-2.2-5-5-5S7 4.2 7 7v2c-1.7 0-3 1.3-3 3v7c0 1.7 1.3 3 3 3h10c1.7 0 3-1.3 3-3v-7c0-1.7-1.3-3-3-3M9 7c0-1.7 1.3-3 3-3s3 1.3 3 3v2H9z"
|
||||
/></svg
|
||||
></a
|
||||
>
|
||||
{:else}
|
||||
{abbreviateNumber(item?.val)}
|
||||
{#if index !== 0}
|
||||
{#if data?.user?.tier !== "Pro" && index >= avgEPSList?.length - 2}
|
||||
<a
|
||||
class="inline-block ml-0.5 text-white"
|
||||
href="/pricing"
|
||||
>Pro<svg
|
||||
class="w-4 h-4 ml-0.5 mb-1 inline-block text-[#A3A3A3]"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
viewBox="0 0 24 24"
|
||||
><path
|
||||
fill="currentColor"
|
||||
d="M17 9V7c0-2.8-2.2-5-5-5S7 4.2 7 7v2c-1.7 0-3 1.3-3 3v7c0 1.7 1.3 3 3 3h10c1.7 0 3-1.3 3-3v-7c0-1.7-1.3-3-3-3M9 7c0-1.7 1.3-3 3-3s3 1.3 3 3v2H9z"
|
||||
/></svg
|
||||
></a
|
||||
>
|
||||
{:else}
|
||||
{abbreviateNumber(item?.val)}
|
||||
{/if}
|
||||
{/if}
|
||||
</td>
|
||||
{/each}
|
||||
@ -1141,22 +1146,24 @@
|
||||
>
|
||||
{#each lowEPSList as item, index}
|
||||
<td class="px-1 py-[3px] text-sm sm:text-[1rem]">
|
||||
{#if data?.user?.tier !== "Pro" && index >= lowEPSList?.length - 2}
|
||||
<a
|
||||
class="inline-block ml-0.5 text-white"
|
||||
href="/pricing"
|
||||
>Pro<svg
|
||||
class="w-4 h-4 ml-0.5 mb-1 inline-block text-[#A3A3A3]"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
viewBox="0 0 24 24"
|
||||
><path
|
||||
fill="currentColor"
|
||||
d="M17 9V7c0-2.8-2.2-5-5-5S7 4.2 7 7v2c-1.7 0-3 1.3-3 3v7c0 1.7 1.3 3 3 3h10c1.7 0 3-1.3 3-3v-7c0-1.7-1.3-3-3-3M9 7c0-1.7 1.3-3 3-3s3 1.3 3 3v2H9z"
|
||||
/></svg
|
||||
></a
|
||||
>
|
||||
{:else}
|
||||
{abbreviateNumber(item?.val)}
|
||||
{#if index !== 0}
|
||||
{#if data?.user?.tier !== "Pro" && index >= lowEPSList?.length - 2}
|
||||
<a
|
||||
class="inline-block ml-0.5 text-white"
|
||||
href="/pricing"
|
||||
>Pro<svg
|
||||
class="w-4 h-4 ml-0.5 mb-1 inline-block text-[#A3A3A3]"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
viewBox="0 0 24 24"
|
||||
><path
|
||||
fill="currentColor"
|
||||
d="M17 9V7c0-2.8-2.2-5-5-5S7 4.2 7 7v2c-1.7 0-3 1.3-3 3v7c0 1.7 1.3 3 3 3h10c1.7 0 3-1.3 3-3v-7c0-1.7-1.3-3-3-3M9 7c0-1.7 1.3-3 3-3s3 1.3 3 3v2H9z"
|
||||
/></svg
|
||||
></a
|
||||
>
|
||||
{:else}
|
||||
{abbreviateNumber(item?.val)}
|
||||
{/if}
|
||||
{/if}
|
||||
</td>
|
||||
{/each}
|
||||
@ -1197,7 +1204,7 @@
|
||||
><td class="whitespace-nowrap px-1 py-[3px] text-left"
|
||||
>High</td
|
||||
>
|
||||
{#each computeGrowthSingleList(highEPSList, tableActualEPS) as item, index}
|
||||
{#each computeGrowthSingleList(highEPSList, avgEPSList) as item, index}
|
||||
<td class="px-1 py-[3px] text-sm sm:text-[1rem]">
|
||||
{#if index !== 0}
|
||||
{#if data?.user?.tier !== "Pro" && index >= highEPSList?.length - 2}
|
||||
@ -1235,7 +1242,7 @@
|
||||
><td class="whitespace-nowrap px-1 py-[3px] text-left"
|
||||
>Avg</td
|
||||
>
|
||||
{#each computeGrowthSingleList(avgEPSList, tableActualEPS) as item, index}
|
||||
{#each epsAvgGrowthList?.filter((item) => item.FY >= 24) as item, index}
|
||||
<td class="px-1 py-[3px] text-sm sm:text-[1rem]">
|
||||
{#if index !== 0}
|
||||
{#if data?.user?.tier !== "Pro" && index >= avgEPSList?.length - 2}
|
||||
@ -1273,7 +1280,7 @@
|
||||
><td class="whitespace-nowrap px-1 py-[3px] text-left"
|
||||
>Low</td
|
||||
>
|
||||
{#each computeGrowthSingleList(lowEPSList, tableActualEPS) as item, index}
|
||||
{#each computeGrowthSingleList(lowEPSList, avgEPSList) as item, index}
|
||||
<td class="px-1 py-[3px] text-sm sm:text-[1rem]">
|
||||
{#if index !== 0}
|
||||
{#if data?.user?.tier !== "Pro" && index >= lowEPSList?.length - 2}
|
||||
|
||||
362
src/lib/dist/tinymce/icons/default/icons.min.js
vendored
362
src/lib/dist/tinymce/icons/default/icons.min.js
vendored
@ -1,362 +0,0 @@
|
||||
tinymce.IconManager.add("default", {
|
||||
icons: {
|
||||
"accessibility-check":
|
||||
'<svg width="24" height="24"><path d="M12 2a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2c0-1.1.9-2 2-2Zm8 7h-5v12c0 .6-.4 1-1 1a1 1 0 0 1-1-1v-5c0-.6-.4-1-1-1a1 1 0 0 0-1 1v5c0 .6-.4 1-1 1a1 1 0 0 1-1-1V9H4a1 1 0 1 1 0-2h16c.6 0 1 .4 1 1s-.4 1-1 1Z" fill-rule="nonzero"/></svg>',
|
||||
"accordion-toggle":
|
||||
'<svg width="24" height="24"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 15c0-.6.4-1 1-1h6c.6 0 1 .4 1 1s-.4 1-1 1h-6a1 1 0 0 1-1-1Z"/><path opacity=".2" fill-rule="evenodd" clip-rule="evenodd" d="M4 15c0-.6.4-1 1-1h6c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 0 1-1-1Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M12 19c0-.6.4-1 1-1h6c.6 0 1 .4 1 1s-.4 1-1 1h-6a1 1 0 0 1-1-1Z"/><path opacity=".2" fill-rule="evenodd" clip-rule="evenodd" d="M4 19c0-.6.4-1 1-1h6c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 0 1-1-1Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M12.3 7.3a1 1 0 0 1 1.4 0L16 9.6l2.3-2.3a1 1 0 1 1 1.4 1.4L16 12.4l-3.7-3.7a1 1 0 0 1 0-1.4ZM4.3 11.7a1 1 0 0 1 0-1.4L6.6 8 4.3 5.7a1 1 0 0 1 1.4-1.4L9.4 8l-3.7 3.7a1 1 0 0 1-1.4 0Z"/></svg>',
|
||||
accordion:
|
||||
'<svg width="24" height="24"><rect x="12" y="7" width="10" height="2" rx="1"/><rect x="12" y="11" width="10" height="2" rx="1"/><rect x="12" y="15" width="6" height="2" rx="1"/><path fill-rule="evenodd" clip-rule="evenodd" d="M2.3 7.3a1 1 0 0 1 1.4 0L6 9.6l2.3-2.3a1 1 0 0 1 1.4 1.4L6 12.4 2.3 8.7a1 1 0 0 1 0-1.4Z"/></svg>',
|
||||
"action-next":
|
||||
'<svg width="24" height="24"><path fill-rule="nonzero" d="M5.7 7.3a1 1 0 0 0-1.4 1.4l7.7 7.7 7.7-7.7a1 1 0 1 0-1.4-1.4L12 13.6 5.7 7.3Z"/></svg>',
|
||||
"action-prev":
|
||||
'<svg width="24" height="24"><path fill-rule="nonzero" d="M18.3 15.7a1 1 0 0 0 1.4-1.4L12 6.6l-7.7 7.7a1 1 0 0 0 1.4 1.4L12 9.4l6.3 6.3Z"/></svg>',
|
||||
addtag:
|
||||
'<svg width="24" height="24"><path fill-rule="evenodd" clip-rule="evenodd" d="M15 5a2 2 0 0 1 1.6.8L21 12l-4.4 6.2a2 2 0 0 1-1.6.8h-3v-2h3l3.5-5L15 7H5v3H3V7c0-1.1.9-2 2-2h10Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M6 12a1 1 0 0 0-1 1v2H3a1 1 0 1 0 0 2h2v2a1 1 0 1 0 2 0v-2h2a1 1 0 1 0 0-2H7v-2c0-.6-.4-1-1-1Z"/></svg>',
|
||||
"ai-prompt":
|
||||
'<svg width="24" height="24"><g clip-path="url(#a)"><path fill-rule="evenodd" clip-rule="evenodd" d="M15 6.7a1 1 0 0 0-1.4 0l-9.9 10a1 1 0 0 0 0 1.3l2.1 2.1c.4.4 1 .4 1.4 0l10-9.9c.3-.3.3-1 0-1.4l-2.2-2Zm1.4 2.8-2-2-3 2.7 2.2 2.2 2.8-2.9Z"/><path d="m18.5 7.3-.7-1.5-1.5-.8 1.5-.7.7-1.5.7 1.5 1.5.7-1.5.8-.7 1.5ZM18.5 16.5l-.7-1.6-1.5-.7 1.5-.7.7-1.6.7 1.6 1.5.7-1.5.7-.7 1.6ZM9.7 7.3 9 5.8 7.5 5 9 4.3l.7-1.5.7 1.5L12 5l-1.5.8-.7 1.5Z"/></g><defs><clipPath id="a"><path d="M0 0h24v24H0z"/></clipPath></defs></svg>',
|
||||
ai: '<svg width="24" height="24"><path fill-rule="evenodd" clip-rule="evenodd" d="M5 3a3 3 0 0 0-3 3v12a3 3 0 0 0 3 3h14a3 3 0 0 0 3-3V6a3 3 0 0 0-3-3H5Zm6.8 11.5.5 1.2a68.3 68.3 0 0 0 .7 1.1l.4.1c.3 0 .5 0 .7-.3.2-.1.3-.3.3-.6l-.3-1-2.6-6.2a20.4 20.4 0 0 0-.5-1.3l-.5-.4-.7-.2c-.2 0-.5 0-.6.2-.2 0-.4.2-.5.4l-.3.6-.3.7L5.7 15l-.2.6-.1.4c0 .3 0 .5.3.7l.6.2c.3 0 .5 0 .7-.2l.4-1 .5-1.2h3.9ZM9.8 9l1.5 4h-3l1.5-4Zm5.6-.9v7.6c0 .4 0 .7.2 1l.7.2c.3 0 .6 0 .8-.3l.2-.9V8.1c0-.4 0-.7-.2-.9a1 1 0 0 0-.8-.3c-.2 0-.5.1-.7.3l-.2 1Z"/></svg>',
|
||||
"align-center":
|
||||
'<svg width="24" height="24"><path d="M5 5h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 1 1 0-2Zm3 4h8c.6 0 1 .4 1 1s-.4 1-1 1H8a1 1 0 1 1 0-2Zm0 8h8c.6 0 1 .4 1 1s-.4 1-1 1H8a1 1 0 0 1 0-2Zm-3-4h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 0 1 0-2Z" fill-rule="evenodd"/></svg>',
|
||||
"align-justify":
|
||||
'<svg width="24" height="24"><path d="M5 5h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 1 1 0-2Zm0 4h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 1 1 0-2Zm0 4h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 0 1 0-2Zm0 4h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 0 1 0-2Z" fill-rule="evenodd"/></svg>',
|
||||
"align-left":
|
||||
'<svg width="24" height="24"><path d="M5 5h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 1 1 0-2Zm0 4h8c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 1 1 0-2Zm0 8h8c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 0 1 0-2Zm0-4h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 0 1 0-2Z" fill-rule="evenodd"/></svg>',
|
||||
"align-none":
|
||||
'<svg width="24" height="24"><path d="M14.2 5 13 7H5a1 1 0 1 1 0-2h9.2Zm4 0h.8a1 1 0 0 1 0 2h-2l1.2-2Zm-6.4 4-1.2 2H5a1 1 0 0 1 0-2h6.8Zm4 0H19a1 1 0 0 1 0 2h-4.4l1.2-2Zm-6.4 4-1.2 2H5a1 1 0 0 1 0-2h4.4Zm4 0H19a1 1 0 0 1 0 2h-6.8l1.2-2ZM7 17l-1.2 2H5a1 1 0 0 1 0-2h2Zm4 0h8a1 1 0 0 1 0 2H9.8l1.2-2Zm5.2-13.5 1.3.7-9.7 16.3-1.3-.7 9.7-16.3Z" fill-rule="evenodd"/></svg>',
|
||||
"align-right":
|
||||
'<svg width="24" height="24"><path d="M5 5h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 1 1 0-2Zm6 4h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 0 1 0-2Zm0 8h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 0 1 0-2Zm-6-4h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 0 1 0-2Z" fill-rule="evenodd"/></svg>',
|
||||
"arrow-left":
|
||||
'<svg width="24" height="24"><path d="m5.6 13 12 6a1 1 0 0 0 1.4-1V6a1 1 0 0 0-1.4-.9l-12 6a1 1 0 0 0 0 1.8Z" fill-rule="evenodd"/></svg>',
|
||||
"arrow-right":
|
||||
'<svg width="24" height="24"><path d="m18.5 13-12 6A1 1 0 0 1 5 18V6a1 1 0 0 1 1.4-.9l12 6a1 1 0 0 1 0 1.8Z" fill-rule="evenodd"/></svg>',
|
||||
bold: '<svg width="24" height="24"><path d="M7.8 19c-.3 0-.5 0-.6-.2l-.2-.5V5.7c0-.2 0-.4.2-.5l.6-.2h5c1.5 0 2.7.3 3.5 1 .7.6 1.1 1.4 1.1 2.5a3 3 0 0 1-.6 1.9c-.4.6-1 1-1.6 1.2.4.1.9.3 1.3.6s.8.7 1 1.2c.4.4.5 1 .5 1.6 0 1.3-.4 2.3-1.3 3-.8.7-2.1 1-3.8 1H7.8Zm5-8.3c.6 0 1.2-.1 1.6-.5.4-.3.6-.7.6-1.3 0-1.1-.8-1.7-2.3-1.7H9.3v3.5h3.4Zm.5 6c.7 0 1.3-.1 1.7-.4.4-.4.6-.9.6-1.5s-.2-1-.7-1.4c-.4-.3-1-.4-2-.4H9.4v3.8h4Z" fill-rule="evenodd"/></svg>',
|
||||
bookmark:
|
||||
'<svg width="24" height="24"><path d="M6 4v17l6-4 6 4V4c0-.6-.4-1-1-1H7a1 1 0 0 0-1 1Z" fill-rule="nonzero"/></svg>',
|
||||
"border-style":
|
||||
'<svg width="24" height="24"><g fill-rule="evenodd"><rect width="18" height="2" x="3" y="6" rx="1"/><rect width="2.8" height="2" x="3" y="16" rx="1"/><rect width="2.8" height="2" x="6.8" y="16" rx="1"/><rect width="2.8" height="2" x="10.6" y="16" rx="1"/><rect width="2.8" height="2" x="14.4" y="16" rx="1"/><rect width="2.8" height="2" x="18.2" y="16" rx="1"/><rect width="8" height="2" x="3" y="11" rx="1"/><rect width="8" height="2" x="13" y="11" rx="1"/></g></svg>',
|
||||
"border-width":
|
||||
'<svg width="24" height="24"><g fill-rule="evenodd"><rect width="18" height="5" x="3" y="5" rx="1"/><rect width="18" height="3.5" x="3" y="11.5" rx="1"/><rect width="18" height="2" x="3" y="17" rx="1"/></g></svg>',
|
||||
brightness:
|
||||
'<svg width="24" height="24"><path d="M12 17c.3 0 .5.1.7.3.2.2.3.4.3.7v1c0 .3-.1.5-.3.7a1 1 0 0 1-.7.3 1 1 0 0 1-.7-.3 1 1 0 0 1-.3-.7v-1c0-.3.1-.5.3-.7.2-.2.4-.3.7-.3Zm0-10a1 1 0 0 1-.7-.3A1 1 0 0 1 11 6V5c0-.3.1-.5.3-.7.2-.2.4-.3.7-.3.3 0 .5.1.7.3.2.2.3.4.3.7v1c0 .3-.1.5-.3.7a1 1 0 0 1-.7.3Zm7 4c.3 0 .5.1.7.3.2.2.3.4.3.7 0 .3-.1.5-.3.7a1 1 0 0 1-.7.3h-1a1 1 0 0 1-.7-.3 1 1 0 0 1-.3-.7c0-.3.1-.5.3-.7.2-.2.4-.3.7-.3h1ZM7 12c0 .3-.1.5-.3.7a1 1 0 0 1-.7.3H5a1 1 0 0 1-.7-.3A1 1 0 0 1 4 12c0-.3.1-.5.3-.7.2-.2.4-.3.7-.3h1c.3 0 .5.1.7.3.2.2.3.4.3.7Zm10 3.5.7.8c.2.1.3.4.3.6 0 .3-.1.6-.3.8a1 1 0 0 1-.8.3 1 1 0 0 1-.6-.3l-.8-.7a1 1 0 0 1-.3-.8c0-.2.1-.5.3-.7a1 1 0 0 1 1.4 0Zm-10-7-.7-.8a1 1 0 0 1-.3-.6c0-.3.1-.6.3-.8.2-.2.5-.3.8-.3.2 0 .5.1.7.3l.7.7c.2.2.3.5.3.8 0 .2-.1.5-.3.7a1 1 0 0 1-.7.3 1 1 0 0 1-.8-.3Zm10 0a1 1 0 0 1-.8.3 1 1 0 0 1-.7-.3 1 1 0 0 1-.3-.7c0-.3.1-.6.3-.8l.8-.7c.1-.2.4-.3.6-.3.3 0 .6.1.8.3.2.2.3.5.3.8 0 .2-.1.5-.3.7l-.7.7Zm-10 7c.2-.2.5-.3.8-.3.2 0 .5.1.7.3a1 1 0 0 1 0 1.4l-.8.8a1 1 0 0 1-.6.3 1 1 0 0 1-.8-.3 1 1 0 0 1-.3-.8c0-.2.1-.5.3-.6l.7-.8ZM12 8a4 4 0 0 1 3.7 2.4 4 4 0 0 1 0 3.2A4 4 0 0 1 12 16a4 4 0 0 1-3.7-2.4 4 4 0 0 1 0-3.2A4 4 0 0 1 12 8Zm0 6.5c.7 0 1.3-.2 1.8-.7.5-.5.7-1.1.7-1.8s-.2-1.3-.7-1.8c-.5-.5-1.1-.7-1.8-.7s-1.3.2-1.8.7c-.5.5-.7 1.1-.7 1.8s.2 1.3.7 1.8c.5.5 1.1.7 1.8.7Z" fill-rule="evenodd"/></svg>',
|
||||
browse:
|
||||
'<svg width="24" height="24"><path d="M19 4a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2h-4v-2h4V8H5v10h4v2H5a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h14Zm-8 9.4-2.3 2.3a1 1 0 1 1-1.4-1.4l4-4a1 1 0 0 1 1.4 0l4 4a1 1 0 0 1-1.4 1.4L13 13.4V20a1 1 0 0 1-2 0v-6.6Z" fill-rule="nonzero"/></svg>',
|
||||
cancel:
|
||||
'<svg width="24" height="24"><path d="M12 4.6a7.4 7.4 0 1 1 0 14.8 7.4 7.4 0 0 1 0-14.8ZM12 3a9 9 0 1 0 0 18 9 9 0 0 0 0-18Zm0 8L14.8 8l1 1.1-2.7 2.8 2.7 2.7-1.1 1.1-2.7-2.7-2.7 2.7-1-1.1 2.6-2.7-2.7-2.7 1-1.1 2.8 2.7Z" fill-rule="nonzero"/></svg>',
|
||||
"cell-background-color":
|
||||
'<svg width="24" height="24"><path d="m15.7 2 1.6 1.6-2.7 2.6 5.9 5.8c.7.7.7 1.7 0 2.4l-6.3 6.1a1.7 1.7 0 0 1-2.4 0l-6.3-6.1c-.7-.7-.7-1.7 0-2.4L15.7 2ZM18 12l-4.5-4L9 12h9ZM4 16s2 2.4 2 3.8C6 21 5.1 22 4 22s-2-1-2-2.2C2 18.4 4 16 4 16Z"/></svg>',
|
||||
"cell-border-color":
|
||||
'<svg width="24" height="24"><g fill-rule="evenodd"><path fill-rule="nonzero" d="M5 13v5h2v2H5a2 2 0 0 1-2-2v-5h2zm8-7V4h6a2 2 0 0 1 2 2h-8z" opacity=".2"/><path fill-rule="nonzero" d="M13 4v2H5v7H3V6c0-1.1.9-2 2-2h8zm-2.6 14.1.1-.1.1.1.2.3.2.2.2.2c.4.6.8 1.2.8 1.7 0 .8-.7 1.5-1.5 1.5S9 21.3 9 20.5c0-.5.4-1.1.8-1.7l.2-.2.2-.2.2-.3z"/><path d="m13 11-2 2H5v-2h6V6h2z"/><path fill-rule="nonzero" d="m18.4 8 1 1-1.8 1.9 4 4c.5.4.5 1.1 0 1.6l-4.3 4.2a1.2 1.2 0 0 1-1.6 0l-4.4-4.2c-.4-.5-.4-1.2 0-1.7l7-6.8Zm1.6 7-3-3-3 3h6Z"/></g></svg>',
|
||||
"change-case":
|
||||
'<svg width="24" height="24"><path d="M18.4 18.2v-.6c-.5.8-1.3 1.2-2.4 1.2-2.2 0-3.3-1.6-3.3-4.8 0-3.1 1-4.7 3.3-4.7 1.1 0 1.8.3 2.4 1.1v-.6c0-.5.4-.8.8-.8s.8.3.8.8v8.4c0 .5-.4.8-.8.8a.8.8 0 0 1-.8-.8zm-2-7.4c-1.3 0-1.8.9-1.8 3.2 0 2.4.5 3.3 1.7 3.3 1.3 0 1.8-.9 1.8-3.2 0-2.4-.5-3.3-1.7-3.3zM10 15.7H5.5l-.8 2.6a1 1 0 0 1-1 .7h-.2a.7.7 0 0 1-.7-1l4-12a1 1 0 0 1 2 0l4 12a.7.7 0 0 1-.8 1h-.2a1 1 0 0 1-1-.7l-.8-2.6zm-.3-1.5-2-6.5-1.9 6.5h3.9z" fill-rule="evenodd"/></svg>',
|
||||
"character-count":
|
||||
'<svg width="24" height="24"><path d="M4 11.5h16v1H4v-1Zm4.8-6.8V10H7.7V5.8h-1v-1h2ZM11 8.3V9h2v1h-3V7.7l2-1v-.9h-2v-1h3v2.4l-2 1Zm6.3-3.4V10h-3.1V9h2.1V8h-2.1V6.8h2.1v-1h-2.1v-1h3.1ZM5.8 16.4c0-.5.2-.8.5-1 .2-.2.6-.3 1.2-.3l.8.1c.2 0 .4.2.5.3l.4.4v2.8l.2.3H8.2V18.7l-.6.3H7c-.4 0-.7 0-1-.2a1 1 0 0 1-.3-.9c0-.3 0-.6.3-.8.3-.2.7-.4 1.2-.4l.6-.2h.3v-.2l-.1-.2a.8.8 0 0 0-.5-.1 1 1 0 0 0-.4 0l-.3.4h-1Zm2.3.8h-.2l-.2.1-.4.1a1 1 0 0 0-.4.2l-.2.2.1.3.5.1h.4l.4-.4v-.6Zm2-3.4h1.2v1.7l.5-.3h.5c.5 0 .9.1 1.2.5.3.4.5.8.5 1.4 0 .6-.2 1.1-.5 1.5-.3.4-.7.6-1.3.6l-.6-.1-.4-.4v.4h-1.1v-5.4Zm1.1 3.3c0 .3 0 .6.2.8a.7.7 0 0 0 1.2 0l.2-.8c0-.4 0-.6-.2-.8a.7.7 0 0 0-.6-.3l-.6.3-.2.8Zm6.1-.5c0-.2 0-.3-.2-.4a.8.8 0 0 0-.5-.2c-.3 0-.5.1-.6.3l-.2.9c0 .3 0 .6.2.8.1.2.3.3.6.3.2 0 .4 0 .5-.2l.2-.4h1.1c0 .5-.3.8-.6 1.1a2 2 0 0 1-1.3.4c-.5 0-1-.2-1.3-.6a2 2 0 0 1-.5-1.4c0-.6.1-1.1.5-1.5.3-.4.8-.5 1.4-.5.5 0 1 0 1.2.3.4.3.5.7.5 1.2h-1v-.1Z" fill-rule="evenodd"/></svg>',
|
||||
"checklist-rtl":
|
||||
'<svg width="24" height="24"><path d="M5 17h8c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 0 1 0-2zm0-6h8c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 0 1 0-2zm0-6h8c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 1 1 0-2zm14.2 11c.2-.4.6-.5.9-.3.3.2.4.6.2 1L18 20c-.2.3-.7.4-1 0l-1.3-1.3a.7.7 0 0 1 0-1c.3-.2.7-.2 1 0l.7.9 1.7-2.8zm0-6c.2-.4.6-.5.9-.3.3.2.4.6.2 1L18 14c-.2.3-.7.4-1 0l-1.3-1.3a.7.7 0 0 1 0-1c.3-.2.7-.2 1 0l.7.9 1.7-2.8zm0-6c.2-.4.6-.5.9-.3.3.2.4.6.2 1L18 8c-.2.3-.7.4-1 0l-1.3-1.3a.7.7 0 0 1 0-1c.3-.2.7-.2 1 0l.7.9 1.7-2.8z" fill-rule="evenodd"/></svg>',
|
||||
checklist:
|
||||
'<svg width="24" height="24"><path d="M11 17h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 0 1 0-2Zm0-6h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 0 1 0-2Zm0-6h8a1 1 0 0 1 0 2h-8a1 1 0 0 1 0-2ZM7.2 16c.2-.4.6-.5.9-.3.3.2.4.6.2 1L6 20c-.2.3-.7.4-1 0l-1.3-1.3a.7.7 0 0 1 0-1c.3-.2.7-.2 1 0l.7.9 1.7-2.8Zm0-6c.2-.4.6-.5.9-.3.3.2.4.6.2 1L6 14c-.2.3-.7.4-1 0l-1.3-1.3a.7.7 0 0 1 0-1c.3-.2.7-.2 1 0l.7.9 1.7-2.8Zm0-6c.2-.4.6-.5.9-.3.3.2.4.6.2 1L6 8c-.2.3-.7.4-1 0L3.8 6.9a.7.7 0 0 1 0-1c.3-.2.7-.2 1 0l.7.9 1.7-2.8Z" fill-rule="evenodd"/></svg>',
|
||||
checkmark:
|
||||
'<svg width="24" height="24"><path d="M18.2 5.4a1 1 0 0 1 1.6 1.2l-8 12a1 1 0 0 1-1.5.1l-5-5a1 1 0 1 1 1.4-1.4l4.1 4.1 7.4-11Z" fill-rule="nonzero"/></svg>',
|
||||
"chevron-down":
|
||||
'<svg width="10" height="10"><path d="M8.7 2.2c.3-.3.8-.3 1 0 .4.4.4.9 0 1.2L5.7 7.8c-.3.3-.9.3-1.2 0L.2 3.4a.8.8 0 0 1 0-1.2c.3-.3.8-.3 1.1 0L5 6l3.7-3.8Z" fill-rule="nonzero"/></svg>',
|
||||
"chevron-left":
|
||||
'<svg width="10" height="10"><path d="M7.8 1.3 4 5l3.8 3.7c.3.3.3.8 0 1-.4.4-.9.4-1.2 0L2.2 5.7a.8.8 0 0 1 0-1.2L6.6.2C7 0 7.4 0 7.8.2c.3.3.3.8 0 1.1Z" fill-rule="nonzero"/></svg>',
|
||||
"chevron-right":
|
||||
'<svg width="10" height="10"><path d="M2.2 1.3a.8.8 0 0 1 0-1c.4-.4.9-.4 1.2 0l4.4 4.1c.3.4.3.9 0 1.2L3.4 9.8c-.3.3-.8.3-1.2 0a.8.8 0 0 1 0-1.1L6 5 2.2 1.3Z" fill-rule="nonzero"/></svg>',
|
||||
"chevron-up":
|
||||
'<svg width="10" height="10"><path d="M8.7 7.8 5 4 1.3 7.8c-.3.3-.8.3-1 0a.8.8 0 0 1 0-1.2l4.1-4.4c.3-.3.9-.3 1.2 0l4.2 4.4c.3.3.3.9 0 1.2-.3.3-.8.3-1.1 0Z" fill-rule="nonzero"/></svg>',
|
||||
close:
|
||||
'<svg width="24" height="24"><path d="M17.3 8.2 13.4 12l3.9 3.8a1 1 0 0 1-1.5 1.5L12 13.4l-3.8 3.9a1 1 0 0 1-1.5-1.5l3.9-3.8-3.9-3.8a1 1 0 0 1 1.5-1.5l3.8 3.9 3.8-3.9a1 1 0 0 1 1.5 1.5Z" fill-rule="evenodd"/></svg>',
|
||||
"code-sample":
|
||||
'<svg width="24" height="26"><path d="M7.1 11a2.8 2.8 0 0 1-.8 2 2.8 2.8 0 0 1 .8 2v1.7c0 .3.1.6.4.8.2.3.5.4.8.4.3 0 .4.2.4.4v.8c0 .2-.1.4-.4.4-.7 0-1.4-.3-2-.8-.5-.6-.8-1.3-.8-2V15c0-.3-.1-.6-.4-.8-.2-.3-.5-.4-.8-.4a.4.4 0 0 1-.4-.4v-.8c0-.2.2-.4.4-.4.3 0 .6-.1.8-.4.3-.2.4-.5.4-.8V9.3c0-.7.3-1.4.8-2 .6-.5 1.3-.8 2-.8.3 0 .4.2.4.4v.8c0 .2-.1.4-.4.4-.3 0-.6.1-.8.4-.3.2-.4.5-.4.8V11Zm9.8 0V9.3c0-.3-.1-.6-.4-.8-.2-.3-.5-.4-.8-.4a.4.4 0 0 1-.4-.4V7c0-.2.1-.4.4-.4.7 0 1.4.3 2 .8.5.6.8 1.3.8 2V11c0 .3.1.6.4.8.2.3.5.4.8.4.2 0 .4.2.4.4v.8c0 .2-.2.4-.4.4-.3 0-.6.1-.8.4-.3.2-.4.5-.4.8v1.7c0 .7-.3 1.4-.8 2-.6.5-1.3.8-2 .8a.4.4 0 0 1-.4-.4v-.8c0-.2.1-.4.4-.4.3 0 .6-.1.8-.4.3-.2.4-.5.4-.8V15a2.8 2.8 0 0 1 .8-2 2.8 2.8 0 0 1-.8-2Zm-3.3-.4c0 .4-.1.8-.5 1.1-.3.3-.7.5-1.1.5-.4 0-.8-.2-1.1-.5-.4-.3-.5-.7-.5-1.1 0-.5.1-.9.5-1.2.3-.3.7-.4 1.1-.4.4 0 .8.1 1.1.4.4.3.5.7.5 1.2ZM12 13c.4 0 .8.1 1.1.5.4.3.5.7.5 1.1 0 1-.1 1.6-.5 2a3 3 0 0 1-1.1 1c-.4.3-.8.4-1.1.4a.5.5 0 0 1-.5-.5V17a3 3 0 0 0 1-.2l.6-.6c-.6 0-1-.2-1.3-.5-.2-.3-.3-.7-.3-1 0-.5.1-1 .5-1.2.3-.4.7-.5 1.1-.5Z" fill-rule="evenodd"/></svg>',
|
||||
"color-levels":
|
||||
'<svg width="24" height="24"><path d="M17.5 11.4A9 9 0 0 1 18 14c0 .5 0 1-.2 1.4 0 .4-.3.9-.5 1.3a6.2 6.2 0 0 1-3.7 3 5.7 5.7 0 0 1-3.2 0A5.9 5.9 0 0 1 7.6 18a6.2 6.2 0 0 1-1.4-2.6 6.7 6.7 0 0 1 0-2.8c0-.4.1-.9.3-1.3a13.6 13.6 0 0 1 2.3-4A20 20 0 0 1 12 4a26.4 26.4 0 0 1 3.2 3.4 18.2 18.2 0 0 1 2.3 4Zm-2 4.5c.4-.7.5-1.4.5-2a7.3 7.3 0 0 0-1-3.2c.2.6.2 1.2.2 1.9a4.5 4.5 0 0 1-1.3 3 5.3 5.3 0 0 1-2.3 1.5 4.9 4.9 0 0 1-2 .1 4.3 4.3 0 0 0 2.4.8 4 4 0 0 0 2-.6 4 4 0 0 0 1.5-1.5Z" fill-rule="evenodd"/></svg>',
|
||||
"color-picker":
|
||||
'<svg width="24" height="24"><path d="M12 3a9 9 0 0 0 0 18 1.5 1.5 0 0 0 1.1-2.5c-.2-.3-.4-.6-.4-1 0-.8.7-1.5 1.5-1.5H16a5 5 0 0 0 5-5c0-4.4-4-8-9-8Zm-5.5 9a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3Zm3-4a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3Zm5 0a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3Zm3 4a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3Z" fill-rule="nonzero"/></svg>',
|
||||
"color-swatch-remove-color":
|
||||
'<svg width="24" height="24"><path stroke="#000" stroke-width="2" d="M21 3 3 21" fill-rule="evenodd"/></svg>',
|
||||
"color-swatch":
|
||||
'<svg width="24" height="24"><rect x="3" y="3" width="18" height="18" rx="1" fill-rule="evenodd"/></svg>',
|
||||
"comment-add":
|
||||
'<svg width="24" height="24"><g fill-rule="nonzero"><path d="m9 19 3-2h7c.6 0 1-.4 1-1V6c0-.6-.4-1-1-1H5a1 1 0 0 0-1 1v10c0 .6.4 1 1 1h4v2Zm-2 4v-4H5a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3h14a3 3 0 0 1 3 3v10a3 3 0 0 1-3 3h-6.4L7 23Z"/><path d="M13 10h2a1 1 0 0 1 0 2h-2v2a1 1 0 0 1-2 0v-2H9a1 1 0 0 1 0-2h2V8a1 1 0 0 1 2 0v2Z"/></g></svg>',
|
||||
comment:
|
||||
'<svg width="24" height="24"><path fill-rule="nonzero" d="m9 19 3-2h7c.6 0 1-.4 1-1V6c0-.6-.4-1-1-1H5a1 1 0 0 0-1 1v10c0 .6.4 1 1 1h4v2Zm-2 4v-4H5a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3h14a3 3 0 0 1 3 3v10a3 3 0 0 1-3 3h-6.4L7 23Z"/></svg>',
|
||||
contrast:
|
||||
'<svg width="24" height="24"><path d="M12 4a7.8 7.8 0 0 1 5.7 2.3A8 8 0 1 1 12 4Zm-6 8a6 6 0 0 0 6 6V6a6 6 0 0 0-6 6Z" fill-rule="evenodd"/></svg>',
|
||||
copy: '<svg width="24" height="24"><path d="M16 3H6a2 2 0 0 0-2 2v11h2V5h10V3Zm1 4a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-7a2 2 0 0 1-2-2V9c0-1.2.9-2 2-2h7Zm0 12V9h-7v10h7Z" fill-rule="nonzero"/></svg>',
|
||||
crop: '<svg width="24" height="24"><path d="M17 8v7h2c.6 0 1 .4 1 1s-.4 1-1 1h-2v2c0 .6-.4 1-1 1a1 1 0 0 1-1-1v-2H7V9H5a1 1 0 1 1 0-2h2V5c0-.6.4-1 1-1s1 .4 1 1v2h7l3-3 1 1-3 3ZM9 9v5l5-5H9Zm1 6h5v-5l-5 5Z" fill-rule="evenodd"/></svg>',
|
||||
"cut-column":
|
||||
'<svg width="24" height="24"><path fill-rule="evenodd" d="M7.2 4.5c.9 0 1.6.4 2.2 1A3.7 3.7 0 0 1 10.5 8v.5l1 1 4-4 1-.5a3.3 3.3 0 0 1 2 0c.4 0 .7.3 1 .5L17 8h4v13h-6V10l-1.5 1.5.5.5v4l-2.5-2.5-1 1v.5c0 .4 0 .8-.3 1.2-.2.5-.4.9-.8 1.2-.6.7-1.3 1-2.2 1-.8.2-1.5 0-2-.6l-.5-.8-.2-1c0-.4 0-.8.3-1.2A3.9 3.9 0 0 1 7 12.7c.5-.2 1-.3 1.5-.2l1-1-1-1c-.5 0-1 0-1.5-.2-.5-.1-1-.4-1.4-.9-.4-.3-.6-.7-.8-1.2L4.5 7c0-.4 0-.7.2-1 0-.3.3-.6.5-.8.5-.5 1.2-.8 2-.7Zm12.3 5h-3v10h3v-10ZM8 13.8h-.3l-.4.2a2.8 2.8 0 0 0-.7.4v.1a2.8 2.8 0 0 0-.6.8l-.1.4v.7l.2.5.5.2h.7a2.6 2.6 0 0 0 .8-.3 2.4 2.4 0 0 0 .7-.7 2.5 2.5 0 0 0 .3-.8 1.5 1.5 0 0 0 0-.8 1 1 0 0 0-.2-.4 1 1 0 0 0-.5-.2H8Zm3.5-3.7c-.4 0-.7.1-1 .4-.3.3-.4.6-.4 1s.1.7.4 1c.3.3.6.4 1 .4s.7-.1 1-.4c.3-.3.4-.6.4-1s-.1-.7-.4-1c-.3-.3-.6-.4-1-.4ZM7 5.8h-.4a1 1 0 0 0-.5.3 1 1 0 0 0-.2.5v.7a2.5 2.5 0 0 0 .3.8l.2.3h.1l.4.4.4.2.4.1h.7L9 9l.2-.4a1.6 1.6 0 0 0 0-.8 2.6 2.6 0 0 0-.3-.8A2.5 2.5 0 0 0 7.7 6l-.4-.1H7Z"/></svg>',
|
||||
"cut-row":
|
||||
'<svg width="24" height="24"><path fill-rule="evenodd" d="M22 3v5H9l3 3 2-2h4l-4 4 1 1h.5c.4 0 .8 0 1.2.3.5.2.9.4 1.2.8.7.6 1 1.3 1 2.2.2.8 0 1.5-.6 2l-.8.5-1 .2c-.4 0-.8 0-1.2-.3a3.9 3.9 0 0 1-2.1-2.2c-.2-.5-.3-1-.2-1.5l-1-1-1 1c0 .5 0 1-.2 1.5-.1.5-.4 1-.9 1.4-.3.4-.7.6-1.2.8l-1.2.3c-.4 0-.7 0-1-.2-.3 0-.6-.3-.8-.5-.5-.5-.8-1.2-.7-2 0-.9.4-1.6 1-2.2A3.7 3.7 0 0 1 8.6 14H9l1-1-4-4-.5-1a3.3 3.3 0 0 1 0-2c0-.4.3-.7.5-1l2 2V3h14ZM8.5 15.3h-.3a2.6 2.6 0 0 0-.8.4 2.5 2.5 0 0 0-.9 1.1l-.1.4v.7l.2.5.5.2h.7a2.5 2.5 0 0 0 .8-.3L9 18V18l.4-.4.2-.4.1-.4v-.7a1 1 0 0 0-.2-.5 1 1 0 0 0-.4-.2h-.5Zm7 0H15a1 1 0 0 0-.4.3 1 1 0 0 0-.2.5 1.5 1.5 0 0 0 0 .7v.4a2.8 2.8 0 0 0 .5.7h.1a2.8 2.8 0 0 0 .8.6l.4.1h.7l.5-.2.2-.5v-.7a2.6 2.6 0 0 0-.3-.8 2.4 2.4 0 0 0-.7-.7 2.5 2.5 0 0 0-.8-.3h-.3ZM12 11.6c-.4 0-.7.1-1 .4-.3.3-.4.6-.4 1s.1.7.4 1c.3.3.6.4 1 .4s.7-.1 1-.4c.3-.3.4-.6.4-1s-.1-.7-.4-1c-.3-.3-.6-.4-1-.4Zm8.5-7.1h-11v2h11v-2Z"/></svg>',
|
||||
cut: '<svg width="24" height="24"><path d="M18 15c.6.7 1 1.4 1 2.3 0 .8-.2 1.5-.7 2l-.8.5-1 .2c-.4 0-.8 0-1.2-.3a3.9 3.9 0 0 1-2.1-2.2c-.2-.5-.3-1-.2-1.5l-1-1-1 1c0 .5 0 1-.2 1.5-.1.5-.4 1-.9 1.4-.3.4-.7.6-1.2.8l-1.2.3c-.4 0-.7 0-1-.2-.3 0-.6-.3-.8-.5-.5-.5-.8-1.2-.7-2 0-.9.4-1.6 1-2.2A3.7 3.7 0 0 1 8.6 14H9l1-1-4-4-.5-1a3.3 3.3 0 0 1 0-2c0-.4.3-.7.5-1l6 6 6-6 .5 1a3.3 3.3 0 0 1 0 2c0 .4-.3.7-.5 1l-4 4 1 1h.5c.4 0 .8 0 1.2.3.5.2.9.4 1.2.8Zm-8.5 2.2.1-.4v-.7a1 1 0 0 0-.2-.5 1 1 0 0 0-.4-.2 1.6 1.6 0 0 0-.8 0 2.6 2.6 0 0 0-.8.3 2.5 2.5 0 0 0-.9 1.1l-.1.4v.7l.2.5.5.2h.7a2.5 2.5 0 0 0 .8-.3 2.8 2.8 0 0 0 1-1Zm2.5-2.8c.4 0 .7-.1 1-.4.3-.3.4-.6.4-1s-.1-.7-.4-1c-.3-.3-.6-.4-1-.4s-.7.1-1 .4c-.3.3-.4.6-.4 1s.1.7.4 1c.3.3.6.4 1 .4Zm5.4 4 .2-.5v-.7a2.6 2.6 0 0 0-.3-.8 2.4 2.4 0 0 0-.7-.7 2.5 2.5 0 0 0-.8-.3 1.5 1.5 0 0 0-.8 0 1 1 0 0 0-.4.2 1 1 0 0 0-.2.5 1.5 1.5 0 0 0 0 .7v.4l.3.4.3.4a2.8 2.8 0 0 0 .8.5l.4.1h.7l.5-.2Z" fill-rule="evenodd"/></svg>',
|
||||
"document-properties":
|
||||
'<svg width="24" height="24"><path d="M14.4 3H7a2 2 0 0 0-2 2v14c0 1.1.9 2 2 2h10a2 2 0 0 0 2-2V7.6L14.4 3ZM17 19H7V5h6v4h4v10Z" fill-rule="nonzero"/></svg>',
|
||||
drag: '<svg width="24" height="24"><path d="M13 5h2v2h-2V5Zm0 4h2v2h-2V9ZM9 9h2v2H9V9Zm4 4h2v2h-2v-2Zm-4 0h2v2H9v-2Zm0 4h2v2H9v-2Zm4 0h2v2h-2v-2ZM9 5h2v2H9V5Z" fill-rule="evenodd"/></svg>',
|
||||
"duplicate-column":
|
||||
'<svg width="24" height="24"><path d="M17 6v16h-7V6h7Zm-2 2h-3v12h3V8Zm-2-6v2H8v15H6V2h7Z"/></svg>',
|
||||
"duplicate-row":
|
||||
'<svg width="24" height="24"><path d="M22 11v7H6v-7h16Zm-2 2H8v3h12v-3Zm-1-6v2H4v5H2V7h17Z"/></svg>',
|
||||
duplicate:
|
||||
'<svg width="24" height="24"><g fill-rule="nonzero"><path d="M16 3v2H6v11H4V5c0-1.1.9-2 2-2h10Zm3 8h-2V9h-7v10h9a2 2 0 0 1-2 2h-7a2 2 0 0 1-2-2V9c0-1.2.9-2 2-2h7a2 2 0 0 1 2 2v2Z"/><path d="M17 14h1a1 1 0 0 1 0 2h-1v1a1 1 0 0 1-2 0v-1h-1a1 1 0 0 1 0-2h1v-1a1 1 0 0 1 2 0v1Z"/></g></svg>',
|
||||
"edit-block":
|
||||
'<svg width="24" height="24"><path fill-rule="nonzero" d="m19.8 8.8-9.4 9.4c-.2.2-.5.4-.9.4l-5.4 1.2 1.2-5.4.5-.8 9.4-9.4c.7-.7 1.8-.7 2.5 0l2.1 2.1c.7.7.7 1.8 0 2.5Zm-2-.2 1-.9v-.3l-2.2-2.2a.3.3 0 0 0-.3 0l-1 1L18 8.5Zm-1 1-2.5-2.4-6 6 2.5 2.5 6-6Zm-7 7.1-2.6-2.4-.3.3-.1.2-.7 3 3.1-.6h.1l.4-.5Z"/></svg>',
|
||||
"edit-image":
|
||||
'<svg width="24" height="24"><path d="M18 16h2V7a2 2 0 0 0-2-2H7v2h11v9ZM6 17h15a1 1 0 0 1 0 2h-1v1a1 1 0 0 1-2 0v-1H6a2 2 0 0 1-2-2V7H3a1 1 0 1 1 0-2h1V4a1 1 0 1 1 2 0v13Zm3-5.3 1.3 2 3-4.7 3.7 6H7l2-3.3Z" fill-rule="nonzero"/></svg>',
|
||||
"embed-page":
|
||||
'<svg width="24" height="24"><path d="M19 6V5H5v14h2A13 13 0 0 1 19 6Zm0 1.4c-.8.8-1.6 2.4-2.2 4.6H19V7.4Zm0 5.6h-2.4c-.4 1.8-.6 3.8-.6 6h3v-6Zm-4 6c0-2.2.2-4.2.6-6H13c-.7 1.8-1.1 3.8-1.1 6h3Zm-4 0c0-2.2.4-4.2 1-6H9.6A12 12 0 0 0 8 19h3ZM4 3h16c.6 0 1 .4 1 1v16c0 .6-.4 1-1 1H4a1 1 0 0 1-1-1V4c0-.6.4-1 1-1Zm11.8 9c.4-1.9 1-3.4 1.8-4.5a9.2 9.2 0 0 0-4 4.5h2.2Zm-3.4 0a12 12 0 0 1 2.8-4 12 12 0 0 0-5 4h2.2Z" fill-rule="nonzero"/></svg>',
|
||||
embed:
|
||||
'<svg width="24" height="24"><path d="M4 3h16c.6 0 1 .4 1 1v16c0 .6-.4 1-1 1H4a1 1 0 0 1-1-1V4c0-.6.4-1 1-1Zm1 2v14h14V5H5Zm4.8 2.6 5.6 4a.5.5 0 0 1 0 .8l-5.6 4A.5.5 0 0 1 9 16V8a.5.5 0 0 1 .8-.4Z" fill-rule="nonzero"/></svg>',
|
||||
emoji:
|
||||
'<svg width="24" height="24"><path d="M9 11c.6 0 1-.4 1-1s-.4-1-1-1a1 1 0 0 0-1 1c0 .6.4 1 1 1Zm6 0c.6 0 1-.4 1-1s-.4-1-1-1a1 1 0 0 0-1 1c0 .6.4 1 1 1Zm-3 5.5c2.1 0 4-1.5 4.4-3.5H7.6c.5 2 2.3 3.5 4.4 3.5ZM12 4a8 8 0 1 0 0 16 8 8 0 0 0 0-16Zm0 14.5a6.5 6.5 0 1 1 0-13 6.5 6.5 0 0 1 0 13Z" fill-rule="nonzero"/></svg>',
|
||||
export:
|
||||
'<svg width="24" height="24"><g fill-rule="nonzero"><path d="M14.4 3 18 7v1h-5V5H7v14h9a1 1 0 0 1 2 0c0 1-.8 2-1.9 2H7c-1 0-2-.8-2-1.9V5c0-1 .8-2 1.9-2h7.5Z"/><path d="M18.1 12c.5 0 .9.4.9 1 0 .5-.3 1-.8 1h-7.3c-.5 0-.9-.4-.9-1 0-.5.3-1 .8-1h7.3Z"/><path d="M16.4 9.2a1 1 0 0 1 1.4.2l2.4 3.6-2.4 3.6a1 1 0 0 1-1.7-1v-.2l1.7-2.4-1.6-2.4a1 1 0 0 1 .2-1.4Z"/></g></svg>',
|
||||
fill: '<svg width="24" height="26"><path d="m16.6 12-9-9-1.4 1.4 2.4 2.4-5.2 5.1c-.5.6-.5 1.6 0 2.2L9 19.6a1.5 1.5 0 0 0 2.2 0l5.5-5.5c.5-.6.5-1.6 0-2.2ZM5.2 13 10 8.2l4.8 4.8H5.2ZM19 14.5s-2 2.2-2 3.5c0 1.1.9 2 2 2a2 2 0 0 0 2-2c0-1.3-2-3.5-2-3.5Z" fill-rule="nonzero"/></svg>',
|
||||
"flip-horizontally":
|
||||
'<svg width="24" height="24"><path d="M14 19h2v-2h-2v2Zm4-8h2V9h-2v2ZM4 7v10c0 1.1.9 2 2 2h3v-2H6V7h3V5H6a2 2 0 0 0-2 2Zm14-2v2h2a2 2 0 0 0-2-2Zm-7 16h2V3h-2v18Zm7-6h2v-2h-2v2Zm-4-8h2V5h-2v2Zm4 12a2 2 0 0 0 2-2h-2v2Z" fill-rule="nonzero"/></svg>',
|
||||
"flip-vertically":
|
||||
'<svg width="24" height="24"><path d="M5 14v2h2v-2H5Zm8 4v2h2v-2h-2Zm4-14H7a2 2 0 0 0-2 2v3h2V6h10v3h2V6a2 2 0 0 0-2-2Zm2 14h-2v2a2 2 0 0 0 2-2ZM3 11v2h18v-2H3Zm6 7v2h2v-2H9Zm8-4v2h2v-2h-2ZM5 18c0 1.1.9 2 2 2v-2H5Z" fill-rule="nonzero"/></svg>',
|
||||
footnote:
|
||||
'<svg width="24" height="24"><path d="M19 13c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 1 1 0-2h14Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M19 4v6h-1V5h-1.5V4h2.6Z"/><path d="M12 18c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 1 1 0-2h7ZM14 8c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 0 1 0-2h9Z"/></svg>',
|
||||
"format-painter":
|
||||
'<svg width="24" height="24"><path d="M18 5V4c0-.5-.4-1-1-1H5a1 1 0 0 0-1 1v4c0 .6.5 1 1 1h12c.6 0 1-.4 1-1V7h1v4H9v9c0 .6.4 1 1 1h2c.6 0 1-.4 1-1v-7h8V5h-3Z" fill-rule="nonzero"/></svg>',
|
||||
format:
|
||||
'<svg width="24" height="24"><path fill-rule="evenodd" d="M17 5a1 1 0 0 1 0 2h-4v11a1 1 0 0 1-2 0V7H7a1 1 0 1 1 0-2h10Z"/></svg>',
|
||||
fullscreen:
|
||||
'<svg width="24" height="24"><path d="m15.3 10-1.2-1.3 2.9-3h-2.3a.9.9 0 1 1 0-1.7H19c.5 0 .9.4.9.9v4.4a.9.9 0 1 1-1.8 0V7l-2.9 3Zm0 4 3 3v-2.3a.9.9 0 1 1 1.7 0V19c0 .5-.4.9-.9.9h-4.4a.9.9 0 1 1 0-1.8H17l-3-2.9 1.3-1.2ZM10 15.4l-2.9 3h2.3a.9.9 0 1 1 0 1.7H5a.9.9 0 0 1-.9-.9v-4.4a.9.9 0 1 1 1.8 0V17l2.9-3 1.2 1.3ZM8.7 10 5.7 7v2.3a.9.9 0 0 1-1.7 0V5c0-.5.4-.9.9-.9h4.4a.9.9 0 0 1 0 1.8H7l3 2.9-1.3 1.2Z" fill-rule="nonzero"/></svg>',
|
||||
gallery:
|
||||
'<svg width="24" height="24"><path fill-rule="nonzero" d="m5 15.7 2.3-2.2c.3-.3.7-.3 1 0L11 16l5.1-5c.3-.4.8-.4 1 0l2 1.9V8H5v7.7ZM5 18V19h3l1.8-1.9-2-2L5 17.9Zm14-3-2.5-2.4-6.4 6.5H19v-4ZM4 6h16c.6 0 1 .4 1 1v13c0 .6-.4 1-1 1H4a1 1 0 0 1-1-1V7c0-.6.4-1 1-1Zm6 7a2 2 0 1 1 0-4 2 2 0 0 1 0 4ZM4.5 4h15a.5.5 0 1 1 0 1h-15a.5.5 0 0 1 0-1Zm2-2h11a.5.5 0 1 1 0 1h-11a.5.5 0 0 1 0-1Z"/></svg>',
|
||||
gamma:
|
||||
'<svg width="24" height="24"><path d="M4 3h16c.6 0 1 .4 1 1v16c0 .6-.4 1-1 1H4a1 1 0 0 1-1-1V4c0-.6.4-1 1-1Zm1 2v14h14V5H5Zm6.5 11.8V14L9.2 8.7a5.1 5.1 0 0 0-.4-.8l-.1-.2H8v-1l.3-.1.3-.1h.7a1 1 0 0 1 .6.5l.1.3a8.5 8.5 0 0 1 .3.6l1.9 4.6 2-5.2a1 1 0 0 1 1-.6.5.5 0 0 1 .5.6L13 14v2.8a.7.7 0 0 1-1.4 0Z" fill-rule="nonzero"/></svg>',
|
||||
help: '<svg width="24" height="24"><g fill-rule="evenodd"><path d="M12 5.5a6.5 6.5 0 0 0-6 9 6.3 6.3 0 0 0 1.4 2l1 1a6.3 6.3 0 0 0 3.6 1 6.5 6.5 0 0 0 6-9 6.3 6.3 0 0 0-1.4-2l-1-1a6.3 6.3 0 0 0-3.6-1ZM12 4a7.8 7.8 0 0 1 5.7 2.3A8 8 0 1 1 12 4Z"/><path d="M9.6 9.7a.7.7 0 0 1-.7-.8c0-1.1 1.5-1.8 3.2-1.8 1.8 0 3.2.8 3.2 2.4 0 1.4-.4 2.1-1.5 2.8-.2 0-.3.1-.3.2a2 2 0 0 0-.8.8.8.8 0 0 1-1.4-.6c.3-.7.8-1 1.3-1.5l.4-.2c.7-.4.8-.6.8-1.5 0-.5-.6-.9-1.7-.9-.5 0-1 .1-1.4.3-.2 0-.3.1-.3.2v-.2c0 .4-.4.8-.8.8Z" fill-rule="nonzero"/><circle cx="12" cy="16" r="1"/></g></svg>',
|
||||
"highlight-bg-color":
|
||||
'<svg width="24" height="24"><g fill-rule="evenodd"><path class="tox-icon-highlight-bg-color__color" d="M3 18h18v3H3z"/><path fill-rule="nonzero" d="M7.7 16.7H3l3.3-3.3-.7-.8L10.2 8l4 4.1-4 4.2c-.2.2-.6.2-.8 0l-.6-.7-1.1 1.1zm5-7.5L11 7.4l3-2.9a2 2 0 0 1 2.6 0L18 6c.7.7.7 2 0 2.7l-2.9 2.9-1.8-1.8-.5-.6"/></g></svg>',
|
||||
home: '<svg width="24" height="24"><path fill-rule="nonzero" d="M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z"/></svg>',
|
||||
"horizontal-rule":
|
||||
'<svg width="24" height="24"><path d="M4 11h16v2H4z" fill-rule="evenodd"/></svg>',
|
||||
"image-options":
|
||||
'<svg width="24" height="24"><path d="M6 10a2 2 0 0 0-2 2c0 1.1.9 2 2 2a2 2 0 0 0 2-2 2 2 0 0 0-2-2Zm12 0a2 2 0 0 0-2 2c0 1.1.9 2 2 2a2 2 0 0 0 2-2 2 2 0 0 0-2-2Zm-6 0a2 2 0 0 0-2 2c0 1.1.9 2 2 2a2 2 0 0 0 2-2 2 2 0 0 0-2-2Z" fill-rule="nonzero"/></svg>',
|
||||
image:
|
||||
'<svg width="24" height="24"><path d="m5 15.7 3.3-3.2c.3-.3.7-.3 1 0L12 15l4.1-4c.3-.4.8-.4 1 0l2 1.9V5H5v10.7ZM5 18V19h3l2.8-2.9-2-2L5 17.9Zm14-3-2.5-2.4-6.4 6.5H19v-4ZM4 3h16c.6 0 1 .4 1 1v16c0 .6-.4 1-1 1H4a1 1 0 0 1-1-1V4c0-.6.4-1 1-1Zm6 8a2 2 0 1 0 0-4 2 2 0 0 0 0 4Z" fill-rule="nonzero"/></svg>',
|
||||
indent:
|
||||
'<svg width="24" height="24"><path d="M7 5h12c.6 0 1 .4 1 1s-.4 1-1 1H7a1 1 0 1 1 0-2Zm5 4h7c.6 0 1 .4 1 1s-.4 1-1 1h-7a1 1 0 0 1 0-2Zm0 4h7c.6 0 1 .4 1 1s-.4 1-1 1h-7a1 1 0 0 1 0-2Zm-5 4h12a1 1 0 0 1 0 2H7a1 1 0 0 1 0-2Zm-2.6-3.8L6.2 12l-1.8-1.2a1 1 0 0 1 1.2-1.6l3 2a1 1 0 0 1 0 1.6l-3 2a1 1 0 1 1-1.2-1.6Z" fill-rule="evenodd"/></svg>',
|
||||
info: '<svg width="24" height="24"><path d="M12 4a7.8 7.8 0 0 1 5.7 2.3A8 8 0 1 1 12 4Zm-1 3v2h2V7h-2Zm3 10v-1h-1v-5h-3v1h1v4h-1v1h4Z" fill-rule="evenodd"/></svg>',
|
||||
"insert-character":
|
||||
'<svg width="24" height="24"><path d="M15 18h4l1-2v4h-6v-3.3l1.4-1a6 6 0 0 0 1.8-2.9 6.3 6.3 0 0 0-.1-4.1 5.8 5.8 0 0 0-3-3.2c-.6-.3-1.3-.5-2.1-.5a5.1 5.1 0 0 0-3.9 1.8 6.3 6.3 0 0 0-1.3 6 6.2 6.2 0 0 0 1.8 3l1.4.9V20H4v-4l1 2h4v-.5l-2-1L5.4 15A6.5 6.5 0 0 1 4 11c0-1 .2-1.9.6-2.7A7 7 0 0 1 6.3 6C7.1 5.4 8 5 9 4.5c1-.3 2-.5 3.1-.5a8.8 8.8 0 0 1 5.7 2 7 7 0 0 1 1.7 2.3 6 6 0 0 1 .2 4.8c-.2.7-.6 1.3-1 1.9a7.6 7.6 0 0 1-3.6 2.5v.5Z" fill-rule="evenodd"/></svg>',
|
||||
"insert-time":
|
||||
'<svg width="24" height="24"><g fill-rule="nonzero"><path d="M12 19a7 7 0 1 0 0-14 7 7 0 0 0 0 14Zm0 2a9 9 0 1 1 0-18 9 9 0 0 1 0 18Z"/><path d="M16 12h-3V7c0-.6-.4-1-1-1a1 1 0 0 0-1 1v7h5c.6 0 1-.4 1-1s-.4-1-1-1Z"/></g></svg>',
|
||||
invert:
|
||||
'<svg width="24" height="24"><path d="M18 19.3 16.5 18a5.8 5.8 0 0 1-3.1 1.9 6.1 6.1 0 0 1-5.5-1.6A5.8 5.8 0 0 1 6 14v-.3l.1-1.2A13.9 13.9 0 0 1 7.7 9l-3-3 .7-.8 2.8 2.9 9 8.9 1.5 1.6-.7.6Zm0-5.5v.3l-.1 1.1-.4 1-1.2-1.2a4.3 4.3 0 0 0 .2-1v-.2c0-.4 0-.8-.2-1.3l-.5-1.4a14.8 14.8 0 0 0-3-4.2L12 6a26.1 26.1 0 0 0-2.2 2.5l-1-1a20.9 20.9 0 0 1 2.9-3.3L12 4l1 .8a22.2 22.2 0 0 1 4 5.4c.6 1.2 1 2.4 1 3.6Z" fill-rule="evenodd"/></svg>',
|
||||
italic:
|
||||
'<svg width="24" height="24"><path d="m16.7 4.7-.1.9h-.3c-.6 0-1 0-1.4.3-.3.3-.4.6-.5 1.1l-2.1 9.8v.6c0 .5.4.8 1.4.8h.2l-.2.8H8l.2-.8h.2c1.1 0 1.8-.5 2-1.5l2-9.8.1-.5c0-.6-.4-.8-1.4-.8h-.3l.2-.9h5.8Z" fill-rule="evenodd"/></svg>',
|
||||
language:
|
||||
'<svg width="24" height="24"><path d="M12 3a9 9 0 1 1 0 18 9 9 0 0 1 0-18Zm4.3 13.3c-.5 1-1.2 2-2 2.9a7.5 7.5 0 0 0 3.2-2.1l-.2-.2a6 6 0 0 0-1-.6Zm-8.6 0c-.5.2-.9.5-1.2.8.9 1 2 1.7 3.2 2a10 10 0 0 1-2-2.8Zm3.6-.8c-.8 0-1.6.1-2.2.3.5 1 1.2 1.9 2.1 2.7Zm1.5 0v3c.9-.8 1.6-1.7 2.1-2.7-.6-.2-1.4-.3-2.1-.3Zm-6-2.7H4.5c.2 1 .5 2.1 1 3h.3l1.3-1a10 10 0 0 1-.3-2Zm12.7 0h-2.3c0 .7-.1 1.4-.3 2l1.6 1.1c.5-1 .9-2 1-3.1Zm-3.8 0h-3V14c1 0 2 .1 2.7.4.2-.5.3-1 .3-1.6Zm-4.4 0h-3l.3 1.6c.8-.3 1.7-.4 2.7-.4v-1.3Zm-5.5-5c-.7 1-1.1 2.2-1.3 3.5h2.3c0-1 .2-1.8.5-2.6l-1.5-1Zm2.9 1.4v.1c-.2.6-.4 1.3-.4 2h3V9.4c-1 0-1.8-.1-2.6-.3Zm6.6 0h-.1l-2.4.3v1.8h3l-.5-2.1Zm3-1.4-.3.1-1.3.8c.3.8.5 1.6.5 2.6h2.3a7.5 7.5 0 0 0-1.3-3.5Zm-9 0 2 .2V5.5a9 9 0 0 0-2 2.2Zm3.5-2.3V8c.6 0 1.3 0 1.9-.2a9 9 0 0 0-2-2.3Zm-3-.7h-.1c-1.1.4-2.1 1-3 1.8l1.2.7a10 10 0 0 1 1.9-2.5Zm4.4 0 .1.1a10 10 0 0 1 1.8 2.4l1.1-.7a7.5 7.5 0 0 0-3-1.8Z"/></svg>',
|
||||
"line-height":
|
||||
'<svg width="24" height="24"><path d="M21 5a1 1 0 0 1 .1 2H13a1 1 0 0 1-.1-2H21zm0 4a1 1 0 0 1 .1 2H13a1 1 0 0 1-.1-2H21zm0 4a1 1 0 0 1 .1 2H13a1 1 0 0 1-.1-2H21zm0 4a1 1 0 0 1 .1 2H13a1 1 0 0 1-.1-2H21zM7 3.6l3.7 3.7a1 1 0 0 1-1.3 1.5h-.1L8 7.3v9.2l1.3-1.3a1 1 0 0 1 1.3 0h.1c.4.4.4 1 0 1.3v.1L7 20.4l-3.7-3.7a1 1 0 0 1 1.3-1.5h.1L6 16.7V7.4L4.7 8.7a1 1 0 0 1-1.3 0h-.1a1 1 0 0 1 0-1.3v-.1L7 3.6z"/></svg>',
|
||||
line: '<svg width="24" height="24"><path d="m15 9-8 8H4v-3l8-8 3 3Zm1-1-3-3 1-1h1c-.2 0 0 0 0 0l2 2s0 .2 0 0v1l-1 1ZM4 18h16v2H4v-2Z" fill-rule="evenodd"/></svg>',
|
||||
link: '<svg width="24" height="24"><path d="M6.2 12.3a1 1 0 0 1 1.4 1.4l-2 2a2 2 0 1 0 2.6 2.8l4.8-4.8a1 1 0 0 0 0-1.4 1 1 0 1 1 1.4-1.3 2.9 2.9 0 0 1 0 4L9.6 20a3.9 3.9 0 0 1-5.5-5.5l2-2Zm11.6-.6a1 1 0 0 1-1.4-1.4l2-2a2 2 0 1 0-2.6-2.8L11 10.3a1 1 0 0 0 0 1.4A1 1 0 1 1 9.6 13a2.9 2.9 0 0 1 0-4L14.4 4a3.9 3.9 0 0 1 5.5 5.5l-2 2Z" fill-rule="nonzero"/></svg>',
|
||||
"list-bull-circle":
|
||||
'<svg width="48" height="48"><g fill-rule="evenodd"><path d="M11 16a2 2 0 1 0 0-4 2 2 0 0 0 0 4Zm0 1a3 3 0 1 1 0-6 3 3 0 0 1 0 6ZM11 26a2 2 0 1 0 0-4 2 2 0 0 0 0 4Zm0 1a3 3 0 1 1 0-6 3 3 0 0 1 0 6ZM11 36a2 2 0 1 0 0-4 2 2 0 0 0 0 4Zm0 1a3 3 0 1 1 0-6 3 3 0 0 1 0 6Z" fill-rule="nonzero"/><path opacity=".2" d="M18 12h22v4H18zM18 22h22v4H18zM18 32h22v4H18z"/></g></svg>',
|
||||
"list-bull-default":
|
||||
'<svg width="48" height="48"><g fill-rule="evenodd"><circle cx="11" cy="14" r="3"/><circle cx="11" cy="24" r="3"/><circle cx="11" cy="34" r="3"/><path opacity=".2" d="M18 12h22v4H18zM18 22h22v4H18zM18 32h22v4H18z"/></g></svg>',
|
||||
"list-bull-square":
|
||||
'<svg width="48" height="48"><g fill-rule="evenodd"><path d="M8 11h6v6H8zM8 21h6v6H8zM8 31h6v6H8z"/><path opacity=".2" d="M18 12h22v4H18zM18 22h22v4H18zM18 32h22v4H18z"/></g></svg>',
|
||||
"list-num-default-rtl":
|
||||
'<svg width="48" height="48"><g fill-rule="evenodd"><path opacity=".2" d="M8 12h22v4H8zM8 22h22v4H8zM8 32h22v4H8z"/><path d="M37.4 17v-4.8h-.1l-1.5 1v-1.1l1.6-1.1h1.2v6zM33.3 17.1c-.5 0-.8-.3-.8-.7 0-.4.3-.7.8-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7zm1.7 5.7c0-1.2 1-2 2.2-2 1.3 0 2.1.8 2.1 1.8 0 .7-.3 1.2-1.3 2.2l-1.2 1v.2h2.6v1h-4.3v-.9l2-1.9c.8-.8 1-1.1 1-1.5 0-.5-.4-.8-1-.8-.5 0-.9.3-.9.9H35zm-1.7 4.3c-.5 0-.8-.3-.8-.7 0-.4.3-.7.8-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7zm3.2 7.3v-1h.7c.6 0 1-.3 1-.8 0-.4-.4-.7-1-.7s-1 .3-1 .8H35c0-1.1 1-1.8 2.2-1.8 1.2 0 2.1.6 2.1 1.6 0 .7-.4 1.2-1 1.3v.1c.7.1 1.3.7 1.3 1.4 0 1-1 1.9-2.4 1.9-1.3 0-2.2-.8-2.3-2h1.2c0 .6.5 1 1.1 1 .6 0 1-.4 1-1 0-.5-.3-.8-1-.8h-.7zm-3.3 2.7c-.4 0-.7-.3-.7-.7 0-.4.3-.7.7-.7.5 0 .8.3.8.7 0 .4-.3.7-.8.7z"/></g></svg>',
|
||||
"list-num-default":
|
||||
'<svg width="48" height="48"><g fill-rule="evenodd"><path opacity=".2" d="M18 12h22v4H18zM18 22h22v4H18zM18 32h22v4H18z"/><path d="M10 17v-4.8l-1.5 1v-1.1l1.6-1h1.2V17h-1.2Zm3.6.1c-.4 0-.7-.3-.7-.7 0-.4.3-.7.7-.7.5 0 .7.3.7.7 0 .4-.2.7-.7.7Zm-5 5.7c0-1.2.8-2 2.1-2s2.1.8 2.1 1.8c0 .7-.3 1.2-1.4 2.2l-1.1 1v.2h2.6v1H8.6v-.9l2-1.9c.8-.8 1-1.1 1-1.5 0-.5-.4-.8-1-.8-.5 0-.9.3-.9.9H8.5Zm6.3 4.3c-.5 0-.7-.3-.7-.7 0-.4.2-.7.7-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7ZM10 34.4v-1h.7c.6 0 1-.3 1-.8 0-.4-.4-.7-1-.7s-1 .3-1 .8H8.6c0-1.1 1-1.8 2.2-1.8 1.3 0 2.1.6 2.1 1.6 0 .7-.4 1.2-1 1.3v.1c.8.1 1.3.7 1.3 1.4 0 1-1 1.9-2.4 1.9-1.3 0-2.2-.8-2.3-2h1.2c0 .6.5 1 1.1 1 .7 0 1-.4 1-1 0-.5-.3-.8-1-.8h-.7Zm4.7 2.7c-.4 0-.7-.3-.7-.7 0-.4.3-.7.7-.7.5 0 .8.3.8.7 0 .4-.3.7-.8.7Z"/></g></svg>',
|
||||
"list-num-lower-alpha-rtl":
|
||||
'<svg width="48" height="48"><g fill-rule="evenodd"><path opacity=".2" d="M8 12h22v4H8zM8 22h22v4H8zM8 32h22v4H8z"/><path d="M36.5 16c-.9 0-1.5-.5-1.5-1.3s.6-1.3 1.8-1.4h1v-.4c0-.4-.2-.6-.7-.6-.4 0-.7.1-.8.4h-1.1c0-.8.8-1.4 2-1.4S39 12 39 13V16h-1.2v-.6c-.3.4-.8.7-1.4.7Zm.4-.8c.6 0 1-.4 1-.9V14h-1c-.5.1-.7.3-.7.6 0 .4.3.6.7.6ZM33.1 16.1c-.4 0-.7-.3-.7-.7 0-.4.3-.7.7-.7.5 0 .8.3.8.7 0 .4-.3.7-.8.7ZM37.7 26c-.7 0-1.2-.2-1.5-.7v.7H35v-6.3h1.2v2.5c.3-.5.8-.9 1.5-.9 1.1 0 1.8 1 1.8 2.4 0 1.5-.7 2.4-1.8 2.4Zm-.5-3.6c-.6 0-1 .5-1 1.3s.4 1.4 1 1.4c.7 0 1-.6 1-1.4 0-.8-.3-1.3-1-1.3ZM33.2 26.1c-.4 0-.7-.3-.7-.7 0-.4.3-.7.7-.7.5 0 .8.3.8.7 0 .4-.3.7-.8.7zm6 7h-1c-.1-.5-.4-.8-1-.8s-1 .5-1 1.4c0 1 .4 1.4 1 1.4.5 0 .9-.2 1-.7h1c0 1-.8 1.7-2 1.7-1.4 0-2.2-.9-2.2-2.4s.8-2.4 2.2-2.4c1.2 0 2 .7 2 1.7zm-6.1 3c-.5 0-.7-.3-.7-.7 0-.4.2-.7.7-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7z"/></g></svg>',
|
||||
"list-num-lower-alpha":
|
||||
'<svg width="48" height="48"><g fill-rule="evenodd"><path opacity=".2" d="M18 12h22v4H18zM18 22h22v4H18zM18 32h22v4H18z"/><path d="M10.3 15.2c.5 0 1-.4 1-.9V14h-1c-.5.1-.8.3-.8.6 0 .4.3.6.8.6Zm-.4.9c-1 0-1.5-.6-1.5-1.4 0-.8.6-1.3 1.7-1.4h1.1v-.4c0-.4-.2-.6-.7-.6-.5 0-.8.1-.9.4h-1c0-.8.8-1.4 2-1.4 1.1 0 1.8.6 1.8 1.6V16h-1.1v-.6h-.1c-.2.4-.7.7-1.3.7Zm4.6 0c-.5 0-.7-.3-.7-.7 0-.4.2-.7.7-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7Zm-3.2 10c-.6 0-1.2-.3-1.4-.8v.7H8.5v-6.3H10v2.5c.3-.5.8-.9 1.4-.9 1.2 0 1.9 1 1.9 2.4 0 1.5-.7 2.4-1.9 2.4Zm-.4-3.7c-.7 0-1 .5-1 1.3s.3 1.4 1 1.4c.6 0 1-.6 1-1.4 0-.8-.4-1.3-1-1.3Zm4 3.7c-.5 0-.7-.3-.7-.7 0-.4.2-.7.7-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7Zm-2.2 7h-1.2c0-.5-.4-.8-.9-.8-.6 0-1 .5-1 1.4 0 1 .4 1.4 1 1.4.5 0 .8-.2 1-.7h1c0 1-.8 1.7-2 1.7-1.4 0-2.2-.9-2.2-2.4s.8-2.4 2.2-2.4c1.2 0 2 .7 2 1.7Zm1.8 3c-.5 0-.8-.3-.8-.7 0-.4.3-.7.8-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7Z"/></g></svg>',
|
||||
"list-num-lower-greek-rtl":
|
||||
'<svg width="48" height="48"><g fill-rule="evenodd"><path opacity=".2" d="M8 12h22v4H8zM8 22h22v4H8zM8 32h22v4H8z"/><path d="M37.4 16c-1.2 0-2-.8-2-2.3 0-1.5.8-2.4 2-2.4.6 0 1 .4 1.3 1v-.9H40v3.2c0 .4.1.5.4.5h.2v.9h-.6c-.6 0-1-.2-1-.7h-.2c-.2.4-.7.8-1.3.8Zm.3-1c.6 0 1-.5 1-1.3s-.4-1.3-1-1.3-1 .5-1 1.3.4 1.4 1 1.4ZM33.3 16.1c-.5 0-.8-.3-.8-.7 0-.4.3-.7.8-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7ZM36 21.9c0-1.5.8-2.3 2.1-2.3 1.2 0 2 .6 2 1.6 0 .6-.3 1-.9 1.3.9.3 1.3.8 1.3 1.7 0 1.2-.7 1.9-1.8 1.9-.6 0-1.1-.3-1.4-.8v2.2H36V22Zm1.8 1.2v-1h.3c.5 0 .9-.2.9-.7 0-.5-.3-.8-.9-.8-.5 0-.8.3-.8 1v2.2c0 .8.4 1.3 1 1.3s1-.4 1-1-.4-1-1.2-1h-.3ZM33.3 26.1c-.5 0-.8-.3-.8-.7 0-.4.3-.7.8-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7ZM37.1 34.6 34.8 30h1.4l1.7 3.5 1.7-3.5h1.1l-2.2 4.6v.1c.5.8.7 1.4.7 1.8 0 .4-.2.8-.4 1-.2.2-.6.3-1 .3-.9 0-1.3-.4-1.3-1.2 0-.5.2-1 .5-1.7l.1-.2Zm.7 1a2 2 0 0 0-.4.9c0 .3.1.4.4.4.3 0 .4-.1.4-.4 0-.2-.1-.6-.4-1ZM33.3 36.1c-.5 0-.8-.3-.8-.7 0-.4.3-.7.8-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7Z"/></g></svg>',
|
||||
"list-num-lower-greek":
|
||||
'<svg width="48" height="48"><g fill-rule="evenodd"><path opacity=".2" d="M18 12h22v4H18zM18 22h22v4H18zM18 32h22v4H18z"/><path d="M10.5 15c.7 0 1-.5 1-1.3s-.3-1.3-1-1.3c-.5 0-.9.5-.9 1.3s.4 1.4 1 1.4Zm-.3 1c-1.1 0-1.8-.8-1.8-2.3 0-1.5.7-2.4 1.8-2.4.7 0 1.1.4 1.3 1h.1v-.9h1.2v3.2c0 .4.1.5.4.5h.2v.9h-.6c-.6 0-1-.2-1.1-.7h-.1c-.2.4-.7.8-1.4.8Zm5 .1c-.5 0-.8-.3-.8-.7 0-.4.3-.7.7-.7.5 0 .8.3.8.7 0 .4-.3.7-.8.7Zm-4.9 7v-1h.3c.6 0 1-.2 1-.7 0-.5-.4-.8-1-.8-.5 0-.8.3-.8 1v2.2c0 .8.4 1.3 1.1 1.3.6 0 1-.4 1-1s-.5-1-1.3-1h-.3ZM8.6 22c0-1.5.7-2.3 2-2.3 1.2 0 2 .6 2 1.6 0 .6-.3 1-.8 1.3.8.3 1.3.8 1.3 1.7 0 1.2-.8 1.9-1.9 1.9-.6 0-1.1-.3-1.3-.8v2.2H8.5V22Zm6.2 4.2c-.4 0-.7-.3-.7-.7 0-.4.3-.7.7-.7.5 0 .7.3.7.7 0 .4-.2.7-.7.7Zm-4.5 8.5L8 30h1.4l1.7 3.5 1.7-3.5h1.1l-2.2 4.6v.1c.5.8.7 1.4.7 1.8 0 .4-.1.8-.4 1-.2.2-.6.3-1 .3-.9 0-1.3-.4-1.3-1.2 0-.5.2-1 .5-1.7l.1-.2Zm.7 1a2 2 0 0 0-.4.9c0 .3.1.4.4.4.3 0 .4-.1.4-.4 0-.2-.1-.6-.4-1Zm4.5.5c-.5 0-.8-.3-.8-.7 0-.4.3-.7.8-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7Z"/></g></svg>',
|
||||
"list-num-lower-roman-rtl":
|
||||
'<svg width="48" height="48"><g fill-rule="evenodd"><path opacity=".2" d="M8 12h22v4H8zM8 22h22v4H8zM8 32h22v4H8z"/><path d="M32.9 16v-1.2h-1.3V16H33Zm0 10v-1.2h-1.3V26H33Zm0 10v-1.2h-1.3V36H33Z"/><path fill-rule="nonzero" d="M36 21h-1.5v5H36zM36 31h-1.5v5H36zM39 21h-1.5v5H39zM39 31h-1.5v5H39zM42 31h-1.5v5H42zM36 11h-1.5v5H36zM36 19h-1.5v1H36zM36 29h-1.5v1H36zM39 19h-1.5v1H39zM39 29h-1.5v1H39zM42 29h-1.5v1H42zM36 9h-1.5v1H36z"/></g></svg>',
|
||||
"list-num-lower-roman":
|
||||
'<svg width="48" height="48"><g fill-rule="evenodd"><path opacity=".2" d="M18 12h22v4H18zM18 22h22v4H18zM18 32h22v4H18z"/><path d="M15.1 16v-1.2h1.3V16H15Zm0 10v-1.2h1.3V26H15Zm0 10v-1.2h1.3V36H15Z"/><path fill-rule="nonzero" d="M12 21h1.5v5H12zM12 31h1.5v5H12zM9 21h1.5v5H9zM9 31h1.5v5H9zM6 31h1.5v5H6zM12 11h1.5v5H12zM12 19h1.5v1H12zM12 29h1.5v1H12zM9 19h1.5v1H9zM9 29h1.5v1H9zM6 29h1.5v1H6zM12 9h1.5v1H12z"/></g></svg>',
|
||||
"list-num-upper-alpha-rtl":
|
||||
'<svg width="48" height="48"><g fill-rule="evenodd"><path opacity=".2" d="M8 12h22v4H8zM8 22h22v4H8zM8 32h22v4H8z"/><path d="m39.3 17-.5-1.4h-2l-.5 1.4H35l2-6h1.6l2 6h-1.3Zm-1.6-4.7-.7 2.3h1.6l-.8-2.3ZM33.4 17c-.4 0-.7-.3-.7-.7 0-.4.3-.7.7-.7.5 0 .7.3.7.7 0 .4-.2.7-.7.7Zm4.7 9.9h-2.7v-6H38c1.2 0 1.9.6 1.9 1.5 0 .6-.5 1.2-1 1.3.7.1 1.3.7 1.3 1.5 0 1-.8 1.7-2 1.7Zm-1.4-5v1.5h1c.6 0 1-.3 1-.8 0-.4-.4-.7-1-.7h-1Zm0 4h1.1c.7 0 1.1-.3 1.1-.8 0-.6-.4-.9-1.1-.9h-1.1V26ZM33 27.1c-.5 0-.8-.3-.8-.7 0-.4.3-.7.8-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7Zm4.9 10c-1.8 0-2.8-1.1-2.8-3.1s1-3.1 2.8-3.1c1.4 0 2.5.9 2.6 2.2h-1.3c0-.7-.6-1.1-1.3-1.1-1 0-1.6.7-1.6 2s.6 2 1.6 2c.7 0 1.2-.4 1.4-1h1.2c-.1 1.3-1.2 2.2-2.6 2.2Zm-4.5 0c-.5 0-.8-.3-.8-.7 0-.4.3-.7.8-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7Z"/></g></svg>',
|
||||
"list-num-upper-alpha":
|
||||
'<svg width="48" height="48"><g fill-rule="evenodd"><path opacity=".2" d="M18 12h22v4H18zM18 22h22v4H18zM18 32h22v4H18z"/><path d="m12.6 17-.5-1.4h-2L9.5 17H8.3l2-6H12l2 6h-1.3ZM11 12.3l-.7 2.3h1.6l-.8-2.3Zm4.7 4.8c-.4 0-.7-.3-.7-.7 0-.4.3-.7.7-.7.5 0 .7.3.7.7 0 .4-.2.7-.7.7ZM11.4 27H8.7v-6h2.6c1.2 0 1.9.6 1.9 1.5 0 .6-.5 1.2-1 1.3.7.1 1.3.7 1.3 1.5 0 1-.8 1.7-2 1.7ZM10 22v1.5h1c.6 0 1-.3 1-.8 0-.4-.4-.7-1-.7h-1Zm0 4H11c.7 0 1.1-.3 1.1-.8 0-.6-.4-.9-1.1-.9H10V26Zm5.4 1.1c-.5 0-.8-.3-.8-.7 0-.4.3-.7.8-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7Zm-4.1 10c-1.8 0-2.8-1.1-2.8-3.1s1-3.1 2.8-3.1c1.4 0 2.5.9 2.6 2.2h-1.3c0-.7-.6-1.1-1.3-1.1-1 0-1.6.7-1.6 2s.6 2 1.6 2c.7 0 1.2-.4 1.4-1h1.2c-.1 1.3-1.2 2.2-2.6 2.2Zm4.5 0c-.5 0-.8-.3-.8-.7 0-.4.3-.7.8-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7Z"/></g></svg>',
|
||||
"list-num-upper-roman-rtl":
|
||||
'<svg width="48" height="48"><g fill-rule="evenodd"><path opacity=".2" d="M8 12h22v4H8zM8 22h22v4H8zM8 32h22v4H8z"/><path d="M31.6 17v-1.2H33V17h-1.3Zm0 10v-1.2H33V27h-1.3Zm0 10v-1.2H33V37h-1.3Z"/><path fill-rule="nonzero" d="M34.5 20H36v7h-1.5zM34.5 30H36v7h-1.5zM37.5 20H39v7h-1.5zM37.5 30H39v7h-1.5zM40.5 30H42v7h-1.5zM34.5 10H36v7h-1.5z"/></g></svg>',
|
||||
"list-num-upper-roman":
|
||||
'<svg width="48" height="48"><g fill-rule="evenodd"><path opacity=".2" d="M18 12h22v4H18zM18 22h22v4H18zM18 32h22v4H18z"/><path d="M15.1 17v-1.2h1.3V17H15Zm0 10v-1.2h1.3V27H15Zm0 10v-1.2h1.3V37H15Z"/><path fill-rule="nonzero" d="M12 20h1.5v7H12zM12 30h1.5v7H12zM9 20h1.5v7H9zM9 30h1.5v7H9zM6 30h1.5v7H6zM12 10h1.5v7H12z"/></g></svg>',
|
||||
lock: '<svg width="24" height="24"><path d="M16.3 11c.2 0 .3 0 .5.2l.2.6v7.4c0 .3 0 .4-.2.6l-.6.2H7.8c-.3 0-.4 0-.6-.2a.7.7 0 0 1-.2-.6v-7.4c0-.3 0-.4.2-.6l.5-.2H8V8c0-.8.3-1.5.9-2.1.6-.6 1.3-.9 2.1-.9h2c.8 0 1.5.3 2.1.9.6.6.9 1.3.9 2.1v3h.3ZM10 8v3h4V8a1 1 0 0 0-.3-.7A1 1 0 0 0 13 7h-2a1 1 0 0 0-.7.3 1 1 0 0 0-.3.7Z" fill-rule="evenodd"/></svg>',
|
||||
ltr: '<svg width="24" height="24"><path d="M11 5h7a1 1 0 0 1 0 2h-1v11a1 1 0 0 1-2 0V7h-2v11a1 1 0 0 1-2 0v-6c-.5 0-1 0-1.4-.3A3.4 3.4 0 0 1 7.8 10a3.3 3.3 0 0 1 0-2.8 3.4 3.4 0 0 1 1.8-1.8L11 5ZM4.4 16.2 6.2 15l-1.8-1.2a1 1 0 0 1 1.2-1.6l3 2a1 1 0 0 1 0 1.6l-3 2a1 1 0 1 1-1.2-1.6Z" fill-rule="evenodd"/></svg>',
|
||||
minus:
|
||||
'<svg width="24" height="24"><path d="M19 11a1 1 0 0 1 .1 2H5a1 1 0 0 1-.1-2H19Z"/></svg>',
|
||||
"more-drawer":
|
||||
'<svg width="24" height="24"><path d="M6 10a2 2 0 0 0-2 2c0 1.1.9 2 2 2a2 2 0 0 0 2-2 2 2 0 0 0-2-2Zm12 0a2 2 0 0 0-2 2c0 1.1.9 2 2 2a2 2 0 0 0 2-2 2 2 0 0 0-2-2Zm-6 0a2 2 0 0 0-2 2c0 1.1.9 2 2 2a2 2 0 0 0 2-2 2 2 0 0 0-2-2Z" fill-rule="nonzero"/></svg>',
|
||||
"new-document":
|
||||
'<svg width="24" height="24"><path d="M14.4 3H7a2 2 0 0 0-2 2v14c0 1.1.9 2 2 2h10a2 2 0 0 0 2-2V7.6L14.4 3ZM17 19H7V5h6v4h4v10Z" fill-rule="nonzero"/></svg>',
|
||||
"new-tab":
|
||||
'<svg width="24" height="24"><path d="m15 13 2-2v8H5V7h8l-2 2H7v8h8v-4Zm4-8v5.5l-2-2-5.6 5.5H10v-1.4L15.5 7l-2-2H19Z" fill-rule="evenodd"/></svg>',
|
||||
"non-breaking":
|
||||
'<svg width="24" height="24"><path d="M11 11H8a1 1 0 1 1 0-2h3V6c0-.6.4-1 1-1s1 .4 1 1v3h3c.6 0 1 .4 1 1s-.4 1-1 1h-3v3c0 .6-.4 1-1 1a1 1 0 0 1-1-1v-3Zm10 4v5H3v-5c0-.6.4-1 1-1s1 .4 1 1v3h14v-3c0-.6.4-1 1-1s1 .4 1 1Z" fill-rule="evenodd"/></svg>',
|
||||
notice:
|
||||
'<svg width="24" height="24"><path d="M15.5 4 20 8.5v7L15.5 20h-7L4 15.5v-7L8.5 4h7ZM13 17v-2h-2v2h2Zm0-4V7h-2v6h2Z" fill-rule="evenodd" clip-rule="evenodd"/></svg>',
|
||||
"ordered-list-rtl":
|
||||
'<svg width="24" height="24"><path d="M6 17h8a1 1 0 0 1 0 2H6a1 1 0 0 1 0-2Zm0-6h8a1 1 0 0 1 0 2H6a1 1 0 0 1 0-2Zm0-6h8a1 1 0 0 1 0 2H6a1 1 0 1 1 0-2Zm13-1v3.5a.5.5 0 1 1-1 0V5h-.5a.5.5 0 1 1 0-1H19Zm-1 8.8.2.2h1.3a.5.5 0 1 1 0 1h-1.6a1 1 0 0 1-.9-1V13c0-.4.3-.8.6-1l1.2-.4.2-.3a.2.2 0 0 0-.2-.2h-1.3a.5.5 0 0 1-.5-.5c0-.3.2-.5.5-.5h1.6c.5 0 .9.4.9 1v.1c0 .4-.3.8-.6 1l-1.2.4-.2.3Zm2 4.2v2c0 .6-.4 1-1 1h-1.5a.5.5 0 0 1 0-1h1.2a.3.3 0 1 0 0-.6h-1.3a.4.4 0 1 1 0-.8h1.3a.3.3 0 0 0 0-.6h-1.2a.5.5 0 1 1 0-1H19c.6 0 1 .4 1 1Z" fill-rule="evenodd"/></svg>',
|
||||
"ordered-list":
|
||||
'<svg width="24" height="24"><path d="M10 17h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 0 1 0-2Zm0-6h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 0 1 0-2Zm0-6h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 1 1 0-2ZM6 4v3.5c0 .3-.2.5-.5.5a.5.5 0 0 1-.5-.5V5h-.5a.5.5 0 0 1 0-1H6Zm-1 8.8.2.2h1.3c.3 0 .5.2.5.5s-.2.5-.5.5H4.9a1 1 0 0 1-.9-1V13c0-.4.3-.8.6-1l1.2-.4.2-.3a.2.2 0 0 0-.2-.2H4.5a.5.5 0 0 1-.5-.5c0-.3.2-.5.5-.5h1.6c.5 0 .9.4.9 1v.1c0 .4-.3.8-.6 1l-1.2.4-.2.3ZM7 17v2c0 .6-.4 1-1 1H4.5a.5.5 0 0 1 0-1h1.2c.2 0 .3-.1.3-.3 0-.2-.1-.3-.3-.3H4.4a.4.4 0 1 1 0-.8h1.3c.2 0 .3-.1.3-.3 0-.2-.1-.3-.3-.3H4.5a.5.5 0 1 1 0-1H6c.6 0 1 .4 1 1Z" fill-rule="evenodd"/></svg>',
|
||||
orientation:
|
||||
'<svg width="24" height="24"><path d="M7.3 6.4 1 13l6.4 6.5 6.5-6.5-6.5-6.5ZM3.7 13l3.6-3.7L11 13l-3.7 3.7-3.6-3.7ZM12 6l2.8 2.7c.3.3.3.8 0 1-.3.4-.9.4-1.2 0L9.2 5.7a.8.8 0 0 1 0-1.2L13.6.2c.3-.3.9-.3 1.2 0 .3.3.3.8 0 1.1L12 4h1a9 9 0 1 1-4.3 16.9l1.5-1.5A7 7 0 1 0 13 6h-1Z" fill-rule="nonzero"/></svg>',
|
||||
outdent:
|
||||
'<svg width="24" height="24"><path d="M7 5h12c.6 0 1 .4 1 1s-.4 1-1 1H7a1 1 0 1 1 0-2Zm5 4h7c.6 0 1 .4 1 1s-.4 1-1 1h-7a1 1 0 0 1 0-2Zm0 4h7c.6 0 1 .4 1 1s-.4 1-1 1h-7a1 1 0 0 1 0-2Zm-5 4h12a1 1 0 0 1 0 2H7a1 1 0 0 1 0-2Zm1.6-3.8a1 1 0 0 1-1.2 1.6l-3-2a1 1 0 0 1 0-1.6l3-2a1 1 0 0 1 1.2 1.6L6.8 12l1.8 1.2Z" fill-rule="evenodd"/></svg>',
|
||||
"page-break":
|
||||
'<svg width="24" height="24"><g fill-rule="evenodd"><path d="M5 11c.6 0 1 .4 1 1s-.4 1-1 1a1 1 0 0 1 0-2Zm3 0h1c.6 0 1 .4 1 1s-.4 1-1 1H8a1 1 0 0 1 0-2Zm4 0c.6 0 1 .4 1 1s-.4 1-1 1a1 1 0 0 1 0-2Zm3 0h1c.6 0 1 .4 1 1s-.4 1-1 1h-1a1 1 0 0 1 0-2Zm4 0c.6 0 1 .4 1 1s-.4 1-1 1a1 1 0 0 1 0-2ZM7 3v5h10V3c0-.6.4-1 1-1s1 .4 1 1v7H5V3c0-.6.4-1 1-1s1 .4 1 1ZM6 22a1 1 0 0 1-1-1v-7h14v7c0 .6-.4 1-1 1a1 1 0 0 1-1-1v-5H7v5c0 .6-.4 1-1 1Z"/></g></svg>',
|
||||
paragraph:
|
||||
'<svg width="24" height="24"><path fill-rule="evenodd" d="M10 5h7a1 1 0 0 1 0 2h-1v11a1 1 0 0 1-2 0V7h-2v11a1 1 0 0 1-2 0v-6c-.5 0-1 0-1.4-.3A3.4 3.4 0 0 1 6.8 10a3.3 3.3 0 0 1 0-2.8 3.4 3.4 0 0 1 1.8-1.8L10 5Z"/></svg>',
|
||||
"paste-column-after":
|
||||
'<svg width="24" height="24"><path fill-rule="evenodd" d="M12 1a3 3 0 0 1 2.8 2H18c1 0 2 .8 2 1.9V7h-2V5h-2v1c0 .6-.4 1-1 1H9a1 1 0 0 1-1-1V5H6v13h7v2H6c-1 0-2-.8-2-1.9V5c0-1 .8-2 1.9-2H9.2A3 3 0 0 1 12 1Zm8 7v12h-6V8h6Zm-1.5 1.5h-3v9h3v-9ZM12 3a1 1 0 1 0 0 2 1 1 0 0 0 0-2Z"/></svg>',
|
||||
"paste-column-before":
|
||||
'<svg width="24" height="24"><path fill-rule="evenodd" d="M12 1a3 3 0 0 1 2.8 2H18c1 0 2 .8 2 1.9V18c0 1-.8 2-1.9 2H11v-2h7V5h-2v1c0 .6-.4 1-1 1H9a1 1 0 0 1-1-1V5H6v2H4V5c0-1 .8-2 1.9-2H9.2A3 3 0 0 1 12 1Zm-2 7v12H4V8h6ZM8.5 9.5h-3v9h3v-9ZM12 3a1 1 0 1 0 0 2 1 1 0 0 0 0-2Z"/></svg>',
|
||||
"paste-row-after":
|
||||
'<svg width="24" height="24"><path fill-rule="evenodd" d="M12 1a3 3 0 0 1 2.8 2H18c1 0 2 .8 2 1.9V11h-2V5h-2v1c0 .6-.4 1-1 1H9a1 1 0 0 1-1-1V5H6v13h14c0 1-.8 2-1.9 2H6c-1 0-2-.8-2-1.9V5c0-1 .8-2 1.9-2H9.2A3 3 0 0 1 12 1Zm10 11v5H8v-5h14Zm-1.5 1.5h-11v2h11v-2ZM12 3a1 1 0 1 0 0 2 1 1 0 0 0 0-2Z"/></svg>',
|
||||
"paste-row-before":
|
||||
'<svg width="24" height="24"><path fill-rule="evenodd" d="M12 1a3 3 0 0 1 2.8 2H18c1 0 2 .8 2 1.9V7h-2V5h-2v1c0 .6-.4 1-1 1H9a1 1 0 0 1-1-1V5H6v13h12v-4h2v4c0 1-.8 2-1.9 2H6c-1 0-2-.8-2-1.9V5c0-1 .8-2 1.9-2H9.2A3 3 0 0 1 12 1Zm10 7v5H8V8h14Zm-1.5 1.5h-11v2h11v-2ZM12 3a1 1 0 1 0 0 2 1 1 0 0 0 0-2Z"/></svg>',
|
||||
"paste-text":
|
||||
'<svg width="24" height="24"><path d="M18 9V5h-2v1c0 .6-.4 1-1 1H9a1 1 0 0 1-1-1V5H6v13h3V9h9ZM9 20H6a2 2 0 0 1-2-2V5c0-1.1.9-2 2-2h3.2A3 3 0 0 1 12 1a3 3 0 0 1 2.8 2H18a2 2 0 0 1 2 2v4h1v12H9v-1Zm1.5-9.5v9h9v-9h-9ZM12 3a1 1 0 0 0-1 1c0 .5.4 1 1 1s1-.5 1-1-.4-1-1-1Zm0 9h6v2h-.5l-.5-1h-1v4h.8v1h-3.6v-1h.8v-4h-1l-.5 1H12v-2Z" fill-rule="nonzero"/></svg>',
|
||||
paste:
|
||||
'<svg width="24" height="24"><path d="M18 9V5h-2v1c0 .6-.4 1-1 1H9a1 1 0 0 1-1-1V5H6v13h3V9h9ZM9 20H6a2 2 0 0 1-2-2V5c0-1.1.9-2 2-2h3.2A3 3 0 0 1 12 1a3 3 0 0 1 2.8 2H18a2 2 0 0 1 2 2v4h1v12H9v-1Zm1.5-9.5v9h9v-9h-9ZM12 3a1 1 0 0 0-1 1c0 .5.4 1 1 1s1-.5 1-1-.4-1-1-1Z" fill-rule="nonzero"/></svg>',
|
||||
"permanent-pen":
|
||||
'<svg width="24" height="24"><path d="M10.5 17.5 8 20H3v-3l3.5-3.5a2 2 0 0 1 0-3L14 3l1 1-7.3 7.3a1 1 0 0 0 0 1.4l3.6 3.6c.4.4 1 .4 1.4 0L20 9l1 1-7.6 7.6a2 2 0 0 1-2.8 0l-.1-.1Z" fill-rule="nonzero"/></svg>',
|
||||
plus: '<svg width="24" height="24"><path d="M12 4c.5 0 1 .4 1 .9V11h6a1 1 0 0 1 .1 2H13v6a1 1 0 0 1-2 .1V13H5a1 1 0 0 1-.1-2H11V5c0-.6.4-1 1-1Z"/></svg>',
|
||||
preferences:
|
||||
'<svg width="24" height="24"><path d="m20.1 13.5-1.9.2a5.8 5.8 0 0 1-.6 1.5l1.2 1.5c.4.4.3 1 0 1.4l-.7.7a1 1 0 0 1-1.4 0l-1.5-1.2a6.2 6.2 0 0 1-1.5.6l-.2 1.9c0 .5-.5.9-1 .9h-1a1 1 0 0 1-1-.9l-.2-1.9a5.8 5.8 0 0 1-1.5-.6l-1.5 1.2a1 1 0 0 1-1.4 0l-.7-.7a1 1 0 0 1 0-1.4l1.2-1.5a6.2 6.2 0 0 1-.6-1.5l-1.9-.2a1 1 0 0 1-.9-1v-1c0-.5.4-1 .9-1l1.9-.2a5.8 5.8 0 0 1 .6-1.5L5.2 7.3a1 1 0 0 1 0-1.4l.7-.7a1 1 0 0 1 1.4 0l1.5 1.2a6.2 6.2 0 0 1 1.5-.6l.2-1.9c0-.5.5-.9 1-.9h1c.5 0 1 .4 1 .9l.2 1.9a5.8 5.8 0 0 1 1.5.6l1.5-1.2a1 1 0 0 1 1.4 0l.7.7c.3.4.4 1 0 1.4l-1.2 1.5a6.2 6.2 0 0 1 .6 1.5l1.9.2c.5 0 .9.5.9 1v1c0 .5-.4 1-.9 1ZM12 15a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z" fill-rule="evenodd"/></svg>',
|
||||
preview:
|
||||
'<svg width="24" height="24"><path d="M3.5 12.5c.5.8 1.1 1.6 1.8 2.3 2 2 4.2 3.2 6.7 3.2s4.7-1.2 6.7-3.2a16.2 16.2 0 0 0 2.1-2.8 15.7 15.7 0 0 0-2.1-2.8c-2-2-4.2-3.2-6.7-3.2a9.3 9.3 0 0 0-6.7 3.2A16.2 16.2 0 0 0 3.2 12c0 .2.2.3.3.5Zm-2.4-1 .7-1.2L4 7.8C6.2 5.4 8.9 4 12 4c3 0 5.8 1.4 8.1 3.8a18.2 18.2 0 0 1 2.8 3.7v1l-.7 1.2-2.1 2.5c-2.3 2.4-5 3.8-8.1 3.8-3 0-5.8-1.4-8.1-3.8a18.2 18.2 0 0 1-2.8-3.7 1 1 0 0 1 0-1Zm12-3.3a2 2 0 1 0 2.7 2.6 4 4 0 1 1-2.6-2.6Z" fill-rule="nonzero"/></svg>',
|
||||
print:
|
||||
'<svg width="24" height="24"><path d="M18 8H6a3 3 0 0 0-3 3v6h2v3h14v-3h2v-6a3 3 0 0 0-3-3Zm-1 10H7v-4h10v4Zm.5-5c-.8 0-1.5-.7-1.5-1.5s.7-1.5 1.5-1.5 1.5.7 1.5 1.5-.7 1.5-1.5 1.5Zm.5-8H6v2h12V5Z" fill-rule="nonzero"/></svg>',
|
||||
quote:
|
||||
'<svg width="24" height="24"><path d="M7.5 17h.9c.4 0 .7-.2.9-.6L11 13V8c0-.6-.4-1-1-1H6a1 1 0 0 0-1 1v4c0 .6.4 1 1 1h2l-1.3 2.7a1 1 0 0 0 .8 1.3Zm8 0h.9c.4 0 .7-.2.9-.6L19 13V8c0-.6-.4-1-1-1h-4a1 1 0 0 0-1 1v4c0 .6.4 1 1 1h2l-1.3 2.7a1 1 0 0 0 .8 1.3Z" fill-rule="nonzero"/></svg>',
|
||||
redo: '<svg width="24" height="24"><path d="M17.6 10H12c-2.8 0-4.4 1.4-4.9 3.5-.4 2 .3 4 1.4 4.6a1 1 0 1 1-1 1.8c-2-1.2-2.9-4.1-2.3-6.8.6-3 3-5.1 6.8-5.1h5.6l-3.3-3.3a1 1 0 1 1 1.4-1.4l5 5a1 1 0 0 1 0 1.4l-5 5a1 1 0 0 1-1.4-1.4l3.3-3.3Z" fill-rule="nonzero"/></svg>',
|
||||
reload:
|
||||
'<svg width="24" height="24"><g fill-rule="nonzero"><path d="m5 22.1-1.2-4.7v-.2a1 1 0 0 1 1-1l5 .4a1 1 0 1 1-.2 2l-2.2-.2a7.8 7.8 0 0 0 8.4.2 7.5 7.5 0 0 0 3.5-6.4 1 1 0 1 1 2 0 9.5 9.5 0 0 1-4.5 8 9.9 9.9 0 0 1-10.2 0l.4 1.4a1 1 0 1 1-2 .5ZM13.6 7.4c0-.5.5-1 1-.9l2.8.2a8 8 0 0 0-9.5-1 7.5 7.5 0 0 0-3.6 7 1 1 0 0 1-2 0 9.5 9.5 0 0 1 4.5-8.6 10 10 0 0 1 10.9.3l-.3-1a1 1 0 0 1 2-.5l1.1 4.8a1 1 0 0 1-1 1.2l-5-.4a1 1 0 0 1-.9-1Z"/></g></svg>',
|
||||
"remove-formatting":
|
||||
'<svg width="24" height="24"><path d="M13.2 6a1 1 0 0 1 0 .2l-2.6 10a1 1 0 0 1-1 .8h-.2a.8.8 0 0 1-.8-1l2.6-10H8a1 1 0 1 1 0-2h9a1 1 0 0 1 0 2h-3.8ZM5 18h7a1 1 0 0 1 0 2H5a1 1 0 0 1 0-2Zm13 1.5L16.5 18 15 19.5a.7.7 0 0 1-1-1l1.5-1.5-1.5-1.5a.7.7 0 0 1 1-1l1.5 1.5 1.5-1.5a.7.7 0 0 1 1 1L17.5 17l1.5 1.5a.7.7 0 0 1-1 1Z" fill-rule="evenodd"/></svg>',
|
||||
remove:
|
||||
'<svg width="24" height="24"><path d="M16 7h3a1 1 0 0 1 0 2h-1v9a3 3 0 0 1-3 3H9a3 3 0 0 1-3-3V9H5a1 1 0 1 1 0-2h3V6a3 3 0 0 1 3-3h2a3 3 0 0 1 3 3v1Zm-2 0V6c0-.6-.4-1-1-1h-2a1 1 0 0 0-1 1v1h4Zm2 2H8v9c0 .6.4 1 1 1h6c.6 0 1-.4 1-1V9Zm-7 3a1 1 0 0 1 2 0v4a1 1 0 0 1-2 0v-4Zm4 0a1 1 0 0 1 2 0v4a1 1 0 0 1-2 0v-4Z" fill-rule="nonzero"/></svg>',
|
||||
"resize-handle":
|
||||
'<svg width="10" height="10"><g fill-rule="nonzero"><path d="M8.1 1.1A.5.5 0 1 1 9 2l-7 7A.5.5 0 1 1 1 8l7-7ZM8.1 5.1A.5.5 0 1 1 9 6l-3 3A.5.5 0 1 1 5 8l3-3Z"/></g></svg>',
|
||||
resize:
|
||||
'<svg width="24" height="24"><path d="M4 5c0-.3.1-.5.3-.7.2-.2.4-.3.7-.3h6c.3 0 .5.1.7.3.2.2.3.4.3.7 0 .3-.1.5-.3.7a1 1 0 0 1-.7.3H7.4L18 16.6V13c0-.3.1-.5.3-.7.2-.2.4-.3.7-.3.3 0 .5.1.7.3.2.2.3.4.3.7v6c0 .3-.1.5-.3.7a1 1 0 0 1-.7.3h-6a1 1 0 0 1-.7-.3 1 1 0 0 1-.3-.7c0-.3.1-.5.3-.7.2-.2.4-.3.7-.3h3.6L6 7.4V11c0 .3-.1.5-.3.7a1 1 0 0 1-.7.3 1 1 0 0 1-.7-.3A1 1 0 0 1 4 11V5Z" fill-rule="evenodd"/></svg>',
|
||||
"restore-draft":
|
||||
'<svg width="24" height="24"><g fill-rule="evenodd"><path d="M17 13c0 .6-.4 1-1 1h-4V8c0-.6.4-1 1-1s1 .4 1 1v4h2c.6 0 1 .4 1 1Z"/><path d="M4.7 10H9a1 1 0 0 1 0 2H3a1 1 0 0 1-1-1V5a1 1 0 1 1 2 0v3l2.5-2.4a9.2 9.2 0 0 1 10.8-1.5A9 9 0 0 1 13.4 21c-2.4.1-4.7-.7-6.5-2.2a1 1 0 1 1 1.3-1.5 7.2 7.2 0 0 0 11.6-3.7 7 7 0 0 0-3.5-7.7A7.2 7.2 0 0 0 8 7L4.7 10Z" fill-rule="nonzero"/></g></svg>',
|
||||
"rotate-left":
|
||||
'<svg width="24" height="24"><path d="M4.7 10H9a1 1 0 0 1 0 2H3a1 1 0 0 1-1-1V5a1 1 0 1 1 2 0v3l2.5-2.4a9.2 9.2 0 0 1 10.8-1.5A9 9 0 0 1 13.4 21c-2.4.1-4.7-.7-6.5-2.2a1 1 0 1 1 1.3-1.5 7.2 7.2 0 0 0 11.6-3.7 7 7 0 0 0-3.5-7.7A7.2 7.2 0 0 0 8 7L4.7 10Z" fill-rule="nonzero"/></svg>',
|
||||
"rotate-right":
|
||||
'<svg width="24" height="24"><path d="M20 8V5a1 1 0 0 1 2 0v6c0 .6-.4 1-1 1h-6a1 1 0 0 1 0-2h4.3L16 7A7.2 7.2 0 0 0 7.7 6a7 7 0 0 0 3 13.1c1.9.1 3.7-.5 5-1.7a1 1 0 0 1 1.4 1.5A9.2 9.2 0 0 1 2.2 14c-.9-3.9 1-8 4.5-9.9 3.5-1.9 8-1.3 10.8 1.5L20 8Z" fill-rule="nonzero"/></svg>',
|
||||
rtl: '<svg width="24" height="24"><path d="M8 5h8v2h-2v12h-2V7h-2v12H8v-7c-.5 0-1 0-1.4-.3A3.4 3.4 0 0 1 4.8 10a3.3 3.3 0 0 1 0-2.8 3.4 3.4 0 0 1 1.8-1.8L8 5Zm12 11.2a1 1 0 1 1-1 1.6l-3-2a1 1 0 0 1 0-1.6l3-2a1 1 0 1 1 1 1.6L18.4 15l1.8 1.2Z" fill-rule="evenodd"/></svg>',
|
||||
save: '<svg width="24" height="24"><path d="M5 16h14a2 2 0 0 1 2 2v2a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-2c0-1.1.9-2 2-2Zm0 2v2h14v-2H5Zm10 0h2v2h-2v-2Zm-4-6.4L8.7 9.3a1 1 0 1 0-1.4 1.4l4 4c.4.4 1 .4 1.4 0l4-4a1 1 0 1 0-1.4-1.4L13 11.6V4a1 1 0 0 0-2 0v7.6Z" fill-rule="nonzero"/></svg>',
|
||||
search:
|
||||
'<svg width="24" height="24"><path d="M16 17.3a8 8 0 1 1 1.4-1.4l4.3 4.4a1 1 0 0 1-1.4 1.4l-4.4-4.3Zm-5-.3a6 6 0 1 0 0-12 6 6 0 0 0 0 12Z" fill-rule="nonzero"/></svg>',
|
||||
"select-all":
|
||||
'<svg width="24" height="24"><path d="M3 5h2V3a2 2 0 0 0-2 2Zm0 8h2v-2H3v2Zm4 8h2v-2H7v2ZM3 9h2V7H3v2Zm10-6h-2v2h2V3Zm6 0v2h2a2 2 0 0 0-2-2ZM5 21v-2H3c0 1.1.9 2 2 2Zm-2-4h2v-2H3v2ZM9 3H7v2h2V3Zm2 18h2v-2h-2v2Zm8-8h2v-2h-2v2Zm0 8a2 2 0 0 0 2-2h-2v2Zm0-12h2V7h-2v2Zm0 8h2v-2h-2v2Zm-4 4h2v-2h-2v2Zm0-16h2V3h-2v2ZM7 17h10V7H7v10Zm2-8h6v6H9V9Z" fill-rule="nonzero"/></svg>',
|
||||
selected:
|
||||
'<svg width="24" height="24"><path fill-rule="nonzero" d="M6 4h12a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2Zm3.6 10.9L7 12.3a.7.7 0 0 0-1 1L9.6 17 18 8.6a.7.7 0 0 0 0-1 .7.7 0 0 0-1 0l-7.4 7.3Z"/></svg>',
|
||||
send: '<svg width="24" height="24"><path fill-rule="evenodd" clip-rule="evenodd" d="m13.3 22 7-18.3-18.3 7L9 15l4.3 7ZM18 6.8l-.7-.7L9.4 14l.7.7L18 6.8Z"/></svg>',
|
||||
settings:
|
||||
'<svg width="24" height="24"><path d="M11 6h8c.6 0 1 .4 1 1s-.4 1-1 1h-8v.3c0 .2 0 .3-.2.5l-.6.2H7.8c-.3 0-.4 0-.6-.2a.7.7 0 0 1-.2-.6V8H5a1 1 0 1 1 0-2h2v-.3c0-.2 0-.3.2-.5l.5-.2h2.5c.3 0 .4 0 .6.2l.2.5V6ZM8 8h2V6H8v2Zm9 2.8v.2h2c.6 0 1 .4 1 1s-.4 1-1 1h-2v.3c0 .2 0 .3-.2.5l-.6.2h-2.4c-.3 0-.4 0-.6-.2a.7.7 0 0 1-.2-.6V13H5a1 1 0 0 1 0-2h8v-.3c0-.2 0-.3.2-.5l.6-.2h2.4c.3 0 .4 0 .6.2l.2.6ZM14 13h2v-2h-2v2Zm-3 2.8v.2h8c.6 0 1 .4 1 1s-.4 1-1 1h-8v.3c0 .2 0 .3-.2.5l-.6.2H7.8c-.3 0-.4 0-.6-.2a.7.7 0 0 1-.2-.6V18H5a1 1 0 0 1 0-2h2v-.3c0-.2 0-.3.2-.5l.5-.2h2.5c.3 0 .4 0 .6.2l.2.6ZM8 18h2v-2H8v2Z" fill-rule="evenodd"/></svg>',
|
||||
sharpen:
|
||||
'<svg width="24" height="24"><path d="m16 6 4 4-8 9-8-9 4-4h8Zm-4 10.2 5.5-6.2-.1-.1H12v-.3h5.1l-.2-.2H12V9h4.6l-.2-.2H12v-.3h4.1l-.2-.2H12V8h3.6l-.2-.2H8.7L6.5 10l.1.1H12v.3H6.9l.2.2H12v.3H7.3l.2.2H12v.3H7.7l.3.2h4v.3H8.2l.2.2H12v.3H8.6l.3.2H12v.3H9l.3.2H12v.3H9.5l.2.2H12v.3h-2l.2.2H12v.3h-1.6l.2.2H12v.3h-1.1l.2.2h.9v.3h-.7l.2.2h.5v.3h-.3l.3.2Z" fill-rule="evenodd"/></svg>',
|
||||
sourcecode:
|
||||
'<svg width="24" height="24"><g fill-rule="nonzero"><path d="M9.8 15.7c.3.3.3.8 0 1-.3.4-.9.4-1.2 0l-4.4-4.1a.8.8 0 0 1 0-1.2l4.4-4.2c.3-.3.9-.3 1.2 0 .3.3.3.8 0 1.1L6 12l3.8 3.7ZM14.2 15.7c-.3.3-.3.8 0 1 .4.4.9.4 1.2 0l4.4-4.1c.3-.3.3-.9 0-1.2l-4.4-4.2a.8.8 0 0 0-1.2 0c-.3.3-.3.8 0 1.1L18 12l-3.8 3.7Z"/></g></svg>',
|
||||
"spell-check":
|
||||
'<svg width="24" height="24"><path d="M6 8v3H5V5c0-.3.1-.5.3-.7.2-.2.4-.3.7-.3h2c.3 0 .5.1.7.3.2.2.3.4.3.7v6H8V8H6Zm0-3v2h2V5H6Zm13 0h-3v5h3v1h-3a1 1 0 0 1-.7-.3 1 1 0 0 1-.3-.7V5c0-.3.1-.5.3-.7.2-.2.4-.3.7-.3h3v1Zm-5 1.5-.1.7c-.1.2-.3.3-.6.3.3 0 .5.1.6.3l.1.7V10c0 .3-.1.5-.3.7a1 1 0 0 1-.7.3h-3V4h3c.3 0 .5.1.7.3.2.2.3.4.3.7v1.5ZM13 10V8h-2v2h2Zm0-3V5h-2v2h2Zm3 5 1 1-6.5 7L7 15.5l1.3-1 2.2 2.2L16 12Z" fill-rule="evenodd"/></svg>',
|
||||
"strike-through":
|
||||
'<svg width="24" height="24"><g fill-rule="evenodd"><path d="M15.6 8.5c-.5-.7-1-1.1-1.3-1.3-.6-.4-1.3-.6-2-.6-2.7 0-2.8 1.7-2.8 2.1 0 1.6 1.8 2 3.2 2.3 4.4.9 4.6 2.8 4.6 3.9 0 1.4-.7 4.1-5 4.1A6.2 6.2 0 0 1 7 16.4l1.5-1.1c.4.6 1.6 2 3.7 2 1.6 0 2.5-.4 3-1.2.4-.8.3-2-.8-2.6-.7-.4-1.6-.7-2.9-1-1-.2-3.9-.8-3.9-3.6C7.6 6 10.3 5 12.4 5c2.9 0 4.2 1.6 4.7 2.4l-1.5 1.1Z"/><path d="M5 11h14a1 1 0 0 1 0 2H5a1 1 0 0 1 0-2Z" fill-rule="nonzero"/></g></svg>',
|
||||
subscript:
|
||||
'<svg width="24" height="24"><path d="m10.4 10 4.6 4.6-1.4 1.4L9 11.4 4.4 16 3 14.6 7.6 10 3 5.4 4.4 4 9 8.6 13.6 4 15 5.4 10.4 10ZM21 19h-5v-1l1-.8 1.7-1.6c.3-.4.5-.8.5-1.2 0-.3 0-.6-.2-.7-.2-.2-.5-.3-.9-.3a2 2 0 0 0-.8.2l-.7.3-.4-1.1 1-.6 1.2-.2c.8 0 1.4.3 1.8.7.4.4.6.9.6 1.5s-.2 1.1-.5 1.6a8 8 0 0 1-1.3 1.3l-.6.6h2.6V19Z" fill-rule="nonzero"/></svg>',
|
||||
superscript:
|
||||
'<svg width="24" height="24"><path d="M15 9.4 10.4 14l4.6 4.6-1.4 1.4L9 15.4 4.4 20 3 18.6 7.6 14 3 9.4 4.4 8 9 12.6 13.6 8 15 9.4Zm5.9 1.6h-5v-1l1-.8 1.7-1.6c.3-.5.5-.9.5-1.3 0-.3 0-.5-.2-.7-.2-.2-.5-.3-.9-.3l-.8.2-.7.4-.4-1.2c.2-.2.5-.4 1-.5.3-.2.8-.2 1.2-.2.8 0 1.4.2 1.8.6.4.4.6 1 .6 1.6 0 .5-.2 1-.5 1.5l-1.3 1.4-.6.5h2.6V11Z" fill-rule="nonzero"/></svg>',
|
||||
"table-caption":
|
||||
'<svg width="24" height="24"><g fill-rule="nonzero"><rect width="12" height="2" x="3" y="4" rx="1"/><path d="M19 8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-8c0-1.1.9-2 2-2h14ZM5 15v3h6v-3H5Zm14 0h-6v3h6v-3Zm0-5h-6v3h6v-3ZM5 13h6v-3H5v3Z"/></g></svg>',
|
||||
"table-cell-classes":
|
||||
'<svg width="24" height="24"><g fill-rule="evenodd"><path fill-rule="nonzero" d="M13 4v9H3V6c0-1.1.9-2 2-2h8Zm-2 2H5v5h6V6Z"/><path fill-rule="nonzero" d="M13 4h6a2 2 0 0 1 2 2v7h-8v-2h6V6h-6V4Z" opacity=".2"/><path d="m18 20-2.6 1.6.7-3-2.4-2 3.1-.2 1.2-2.9 1.2 2.9 3.1.2-2.4 2 .7 3z"/><path fill-rule="nonzero" d="M3 13v5c0 1.1.9 2 2 2h8v-7h-2v5H5v-5H3Z" opacity=".2"/></g></svg>',
|
||||
"table-cell-properties":
|
||||
'<svg width="24" height="24"><path fill-rule="nonzero" d="M19 4a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h14Zm-8 9H5v5h6v-5Zm8 0h-6v5h6v-5Zm-8-7H5v5h6V6Z"/></svg>',
|
||||
"table-cell-select-all":
|
||||
'<svg width="24" height="24"><g fill-rule="evenodd"><path fill-rule="nonzero" d="M19 4a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h14Zm0 2H5v12h14V6Z"/><path d="M13 6v5h6v2h-6v5h-2v-5H5v-2h6V6h2Z" opacity=".2"/></g></svg>',
|
||||
"table-cell-select-inner":
|
||||
'<svg width="24" height="24"><g fill-rule="evenodd"><path fill-rule="nonzero" d="M19 4a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h14Zm0 2H5v12h14V6Z" opacity=".2"/><path d="M13 6v5h6v2h-6v5h-2v-5H5v-2h6V6h2Z"/></g></svg>',
|
||||
"table-classes":
|
||||
'<svg width="24" height="24"><g fill-rule="evenodd"><path fill-rule="nonzero" d="M19 4a2 2 0 0 1 2 2v7h-8v7H5a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h14Zm-8 9H5v5h6v-5Zm8-7h-6v5h6V6Zm-8 0H5v5h6V6Z"/><path d="m18 20-2.6 1.6.7-3-2.4-2 3.1-.2 1.2-2.9 1.2 2.9 3.1.2-2.4 2 .7 3z"/></g></svg>',
|
||||
"table-delete-column":
|
||||
'<svg width="24" height="24"><path fill-rule="nonzero" d="M19 4a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h14Zm-4 4h-2V6h-2v2H9V6H5v12h4v-2h2v2h2v-2h2v2h4V6h-4v2Zm.3.5 1 1.2-3 2.3 3 2.3-1 1.2L12 13l-3.3 2.6-1-1.2 3-2.3-3-2.3 1-1.2L12 11l3.3-2.5Z"/></svg>',
|
||||
"table-delete-row":
|
||||
'<svg width="24" height="24"><path fill-rule="nonzero" d="M19 4a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h14Zm0 2H5v3h2.5v2H5v2h2.5v2H5v3h14v-3h-2.5v-2H19v-2h-2.5V9H19V6Zm-4.7 1.8 1.2 1L13 12l2.6 3.3-1.2 1-2.3-3-2.3 3-1.2-1L11 12 8.5 8.7l1.2-1 2.3 3 2.3-3Z"/></svg>',
|
||||
"table-delete-table":
|
||||
'<svg width="24" height="24"><g fill-rule="nonzero"><path d="M19 4a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h14ZM5 6v12h14V6H5Z"/><path d="m14.4 8.6 1.1 1-2.4 2.4 2.4 2.4-1.1 1.1-2.4-2.4-2.4 2.4-1-1.1 2.3-2.4-2.3-2.4 1-1 2.4 2.3z"/></g></svg>',
|
||||
"table-insert-column-after":
|
||||
'<svg width="24" height="24"><path fill-rule="nonzero" d="M20 4c.6 0 1 .4 1 1v2a1 1 0 0 1-2 0V6h-8v12h8v-1a1 1 0 0 1 2 0v2c0 .5-.4 1-.9 1H5a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h15ZM9 13H5v5h4v-5Zm7-5c.5 0 1 .4 1 .9V11h2a1 1 0 0 1 .1 2H17v2a1 1 0 0 1-2 .1V13h-2a1 1 0 0 1-.1-2H15V9c0-.6.4-1 1-1ZM9 6H5v5h4V6Z"/></svg>',
|
||||
"table-insert-column-before":
|
||||
'<svg width="24" height="24"><path fill-rule="nonzero" d="M19 4a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H4a1 1 0 0 1-1-1v-2a1 1 0 0 1 2 0v1h8V6H5v1a1 1 0 1 1-2 0V5c0-.6.4-1 1-1h15Zm0 9h-4v5h4v-5ZM8 8c.5 0 1 .4 1 .9V11h2a1 1 0 0 1 .1 2H9v2a1 1 0 0 1-2 .1V13H5a1 1 0 0 1-.1-2H7V9c0-.6.4-1 1-1Zm11-2h-4v5h4V6Z"/></svg>',
|
||||
"table-insert-row-above":
|
||||
'<svg width="24" height="24"><path fill-rule="nonzero" d="M6 4a1 1 0 1 1 0 2H5v6h14V6h-1a1 1 0 0 1 0-2h2c.6 0 1 .4 1 1v13a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5c0-.6.4-1 1-1h2Zm5 10H5v4h6v-4Zm8 0h-6v4h6v-4ZM12 3c.5 0 1 .4 1 .9V6h2a1 1 0 0 1 0 2h-2v2a1 1 0 0 1-2 .1V8H9a1 1 0 0 1 0-2h2V4c0-.6.4-1 1-1Z"/></svg>',
|
||||
"table-insert-row-after":
|
||||
'<svg width="24" height="24"><path fill-rule="nonzero" d="M12 13c.5 0 1 .4 1 .9V16h2a1 1 0 0 1 .1 2H13v2a1 1 0 0 1-2 .1V18H9a1 1 0 0 1-.1-2H11v-2c0-.6.4-1 1-1Zm6 7a1 1 0 0 1 0-2h1v-6H5v6h1a1 1 0 0 1 0 2H4a1 1 0 0 1-1-1V6c0-1.1.9-2 2-2h14a2 2 0 0 1 2 2v13c0 .5-.4 1-.9 1H18ZM11 6H5v4h6V6Zm8 0h-6v4h6V6Z"/></svg>',
|
||||
"table-left-header":
|
||||
'<svg width="24" height="24"><path d="M19 4a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h14Zm0 9h-4v5h4v-5Zm-6 0H9v5h4v-5Zm0-7H9v5h4V6Zm6 0h-4v5h4V6Z"/></svg>',
|
||||
"table-merge-cells":
|
||||
'<svg width="24" height="24"><path fill-rule="nonzero" d="M19 4a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h14ZM5 15.5V18h3v-2.5H5Zm14-5h-9V18h9v-7.5ZM19 6h-4v2.5h4V6ZM8 6H5v2.5h3V6Zm5 0h-3v2.5h3V6Zm-8 7.5h3v-3H5v3Z"/></svg>',
|
||||
"table-row-numbering-rtl":
|
||||
'<svg width="24" height="24"><path d="M6 4a2 2 0 0 0-2 2v13c0 1.1.9 2 2 2h12a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2H6Zm0 12h8v3H6v-3Zm11 0c.6 0 1 .4 1 1v1a1 1 0 0 1-2 0v-1c0-.6.4-1 1-1ZM6 11h8v3H6v-3Zm11 0c.6 0 1 .4 1 1v1a1 1 0 0 1-2 0v-1c0-.6.4-1 1-1ZM6 6h8v3H6V6Zm11 0c.6 0 1 .4 1 1v1a1 1 0 1 1-2 0V7c0-.6.4-1 1-1Z"/></svg>',
|
||||
"table-row-numbering":
|
||||
'<svg width="24" height="24"><path d="M18 4a2 2 0 0 1 2 2v13a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h12Zm0 12h-8v3h8v-3ZM7 16a1 1 0 0 0-1 1v1a1 1 0 0 0 2 0v-1c0-.6-.4-1-1-1Zm11-5h-8v3h8v-3ZM7 11a1 1 0 0 0-1 1v1a1 1 0 0 0 2 0v-1c0-.6-.4-1-1-1Zm11-5h-8v3h8V6ZM7 6a1 1 0 0 0-1 1v1a1 1 0 1 0 2 0V7c0-.6-.4-1-1-1Z"/></svg>',
|
||||
"table-row-properties":
|
||||
'<svg width="24" height="24"><path fill-rule="nonzero" d="M19 4a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h14ZM5 15v3h6v-3H5Zm14 0h-6v3h6v-3Zm0-9h-6v3h6V6ZM5 9h6V6H5v3Z"/></svg>',
|
||||
"table-split-cells":
|
||||
'<svg width="24" height="24"><path fill-rule="nonzero" d="M19 4a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h14ZM8 15.5H5V18h3v-2.5Zm11-5h-9V18h9v-7.5Zm-2.5 1 1 1-2 2 2 2-1 1-2-2-2 2-1-1 2-2-2-2 1-1 2 2 2-2Zm-8.5-1H5v3h3v-3ZM19 6h-4v2.5h4V6ZM8 6H5v2.5h3V6Zm5 0h-3v2.5h3V6Z"/></svg>',
|
||||
"table-top-header":
|
||||
'<svg width="24" height="24"><path d="M19 4a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h14Zm-8 11H5v3h6v-3Zm8 0h-6v3h6v-3Zm0-5h-6v3h6v-3ZM5 13h6v-3H5v3Z"/></svg>',
|
||||
table:
|
||||
'<svg width="24" height="24"><path fill-rule="nonzero" d="M19 4a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h14ZM5 14v4h6v-4H5Zm14 0h-6v4h6v-4Zm0-6h-6v4h6V8ZM5 12h6V8H5v4Z"/></svg>',
|
||||
"template-add":
|
||||
'<svg width="24" height="24"><path fill-rule="evenodd" clip-rule="evenodd" d="M9 12v4H5a2 2 0 0 0-2 2v3h9.3a6 6 0 0 1-.3-2H5v-1h7a6 6 0 0 1 .8-2H11v-5l-.8-.6a3 3 0 1 1 3.6 0l-.8.6v4.7a6 6 0 0 1 2-1.9V12a5 5 0 1 0-6 0Z"/><path d="M18 15c.5 0 1 .4 1 .9V18h2a1 1 0 0 1 .1 2H19v2a1 1 0 0 1-2 .1V20h-2a1 1 0 0 1-.1-2H17v-2c0-.6.4-1 1-1Z"/></svg>',
|
||||
template:
|
||||
'<svg width="24" height="24"><path d="M19 19v-1H5v1h14ZM9 16v-4a5 5 0 1 1 6 0v4h4a2 2 0 0 1 2 2v3H3v-3c0-1.1.9-2 2-2h4Zm4 0v-5l.8-.6a3 3 0 1 0-3.6 0l.8.6v5h2Z" fill-rule="nonzero"/></svg>',
|
||||
"temporary-placeholder":
|
||||
'<svg width="24" height="24"><g fill-rule="evenodd"><path d="M9 7.6V6h2.5V4.5a.5.5 0 1 1 1 0V6H15v1.6a8 8 0 1 1-6 0Zm-2.6 5.3a.5.5 0 0 0 .3.6c.3 0 .6 0 .6-.3l.1-.2a5 5 0 0 1 3.3-2.8c.3-.1.4-.4.4-.6-.1-.3-.4-.5-.6-.4a6 6 0 0 0-4.1 3.7Z"/><circle cx="14" cy="4" r="1"/><circle cx="12" cy="2" r="1"/><circle cx="10" cy="4" r="1"/></g></svg>',
|
||||
"text-color":
|
||||
'<svg width="24" height="24"><g fill-rule="evenodd"><path class="tox-icon-text-color__color" d="M3 18h18v3H3z"/><path d="M8.7 16h-.8a.5.5 0 0 1-.5-.6l2.7-9c.1-.3.3-.4.5-.4h2.8c.2 0 .4.1.5.4l2.7 9a.5.5 0 0 1-.5.6h-.8a.5.5 0 0 1-.4-.4l-.7-2.2c0-.3-.3-.4-.5-.4h-3.4c-.2 0-.4.1-.5.4l-.7 2.2c0 .3-.2.4-.4.4Zm2.6-7.6-.6 2a.5.5 0 0 0 .5.6h1.6a.5.5 0 0 0 .5-.6l-.6-2c0-.3-.3-.4-.5-.4h-.4c-.2 0-.4.1-.5.4Z"/></g></svg>',
|
||||
"text-size-decrease":
|
||||
'<svg width="24" height="24"><path fill-rule="evenodd" clip-rule="evenodd" d="M14 5a1 1 0 1 1 0 2h-4v11a1 1 0 1 1-2 0V7H4a1 1 0 0 1 0-2h10ZM14 12a1 1 0 1 0 0 2h6a1 1 0 1 0 0-2h-6Z"/></svg>',
|
||||
"text-size-increase":
|
||||
'<svg width="24" height="24"><path fill-rule="evenodd" clip-rule="evenodd" d="M14 5a1 1 0 1 1 0 2h-4v11a1 1 0 1 1-2 0V7H4a1 1 0 0 1 0-2h10ZM17 9a1 1 0 0 0-1 1v2h-2a1 1 0 1 0 0 2h2v2a1 1 0 1 0 2 0v-2h2a1 1 0 1 0 0-2h-2v-2c0-.6-.4-1-1-1Z"/></svg>',
|
||||
toc: '<svg width="24" height="24"><path d="M5 5c.6 0 1 .4 1 1s-.4 1-1 1a1 1 0 1 1 0-2Zm3 0h11c.6 0 1 .4 1 1s-.4 1-1 1H8a1 1 0 1 1 0-2Zm-3 8c.6 0 1 .4 1 1s-.4 1-1 1a1 1 0 0 1 0-2Zm3 0h11c.6 0 1 .4 1 1s-.4 1-1 1H8a1 1 0 0 1 0-2Zm0-4c.6 0 1 .4 1 1s-.4 1-1 1a1 1 0 1 1 0-2Zm3 0h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 0 1 0-2Zm-3 8c.6 0 1 .4 1 1s-.4 1-1 1a1 1 0 0 1 0-2Zm3 0h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 0 1 0-2Z" fill-rule="evenodd"/></svg>',
|
||||
translate:
|
||||
'<svg width="24" height="24"><path d="m12.7 14.3-.3.7-.4.7-2.2-2.2-3.1 3c-.3.4-.8.4-1 0a.7.7 0 0 1 0-1l3.1-3A12.4 12.4 0 0 1 6.7 9H8a10.1 10.1 0 0 0 1.7 2.4c.5-.5 1-1.1 1.4-1.8l.9-2H4.7a.7.7 0 1 1 0-1.5h4.4v-.7c0-.4.3-.8.7-.8.4 0 .7.4.7.8v.7H15c.4 0 .8.3.8.7 0 .4-.4.8-.8.8h-1.4a12.3 12.3 0 0 1-1 2.4 13.5 13.5 0 0 1-1.7 2.3l1.9 1.8Zm4.3-3 2.7 7.3a.5.5 0 0 1-.4.7 1 1 0 0 1-1-.7l-.6-1.5h-3.4l-.6 1.5a1 1 0 0 1-1 .7.5.5 0 0 1-.4-.7l2.7-7.4a1 1 0 0 1 2 0Zm-2.2 4.4h2.4L16 12.5l-1.2 3.2Z" fill-rule="evenodd"/></svg>',
|
||||
typography:
|
||||
'<svg width="24" height="24"><path fill-rule="evenodd" clip-rule="evenodd" d="M17 5a1 1 0 1 1 0 2h-4v11a1 1 0 1 1-2 0V7H7a1 1 0 0 1 0-2h10Z"/><path d="m17.5 14 .8-1.7 1.7-.8-1.7-.8-.8-1.7-.8 1.7-1.7.8 1.7.8.8 1.7ZM7 14l1 2 2 1-2 1-1 2-1-2-2-1 2-1 1-2Z"/></svg>',
|
||||
underline:
|
||||
'<svg width="24" height="24"><path d="M16 5c.6 0 1 .4 1 1v5.5a4 4 0 0 1-.4 1.8l-1 1.4a5.3 5.3 0 0 1-5.5 1 5 5 0 0 1-1.6-1c-.5-.4-.8-.9-1.1-1.4a4 4 0 0 1-.4-1.8V6c0-.6.4-1 1-1s1 .4 1 1v5.5c0 .3 0 .6.2 1l.6.7a3.3 3.3 0 0 0 2.2.8 3.4 3.4 0 0 0 2.2-.8c.3-.2.4-.5.6-.8l.2-.9V6c0-.6.4-1 1-1ZM8 17h8c.6 0 1 .4 1 1s-.4 1-1 1H8a1 1 0 0 1 0-2Z" fill-rule="evenodd"/></svg>',
|
||||
undo: '<svg width="24" height="24"><path d="M6.4 8H12c3.7 0 6.2 2 6.8 5.1.6 2.7-.4 5.6-2.3 6.8a1 1 0 0 1-1-1.8c1.1-.6 1.8-2.7 1.4-4.6-.5-2.1-2.1-3.5-4.9-3.5H6.4l3.3 3.3a1 1 0 1 1-1.4 1.4l-5-5a1 1 0 0 1 0-1.4l5-5a1 1 0 0 1 1.4 1.4L6.4 8Z" fill-rule="nonzero"/></svg>',
|
||||
unlink:
|
||||
'<svg width="24" height="24"><path d="M6.2 12.3a1 1 0 0 1 1.4 1.4l-2 2a2 2 0 1 0 2.6 2.8l4.8-4.8a1 1 0 0 0 0-1.4 1 1 0 1 1 1.4-1.3 2.9 2.9 0 0 1 0 4L9.6 20a3.9 3.9 0 0 1-5.5-5.5l2-2Zm11.6-.6a1 1 0 0 1-1.4-1.4l2.1-2a2 2 0 1 0-2.7-2.8L11 10.3a1 1 0 0 0 0 1.4A1 1 0 1 1 9.6 13a2.9 2.9 0 0 1 0-4L14.4 4a3.9 3.9 0 0 1 5.5 5.5l-2 2ZM7.6 6.3a.8.8 0 0 1-1 1.1L3.3 4.2a.7.7 0 1 1 1-1l3.2 3.1ZM5.1 8.6a.8.8 0 0 1 0 1.5H3a.8.8 0 0 1 0-1.5H5Zm5-3.5a.8.8 0 0 1-1.5 0V3a.8.8 0 0 1 1.5 0V5Zm6 11.8a.8.8 0 0 1 1-1l3.2 3.2a.8.8 0 0 1-1 1L16 17Zm-2.2 2a.8.8 0 0 1 1.5 0V21a.8.8 0 0 1-1.5 0V19Zm5-3.5a.7.7 0 1 1 0-1.5H21a.8.8 0 0 1 0 1.5H19Z" fill-rule="nonzero"/></svg>',
|
||||
unlock:
|
||||
'<svg width="24" height="24"><path d="M16 5c.8 0 1.5.3 2.1.9.6.6.9 1.3.9 2.1v3h-2V8a1 1 0 0 0-.3-.7A1 1 0 0 0 16 7h-2a1 1 0 0 0-.7.3 1 1 0 0 0-.3.7v3h.3c.2 0 .3 0 .5.2l.2.6v7.4c0 .3 0 .4-.2.6l-.6.2H4.8c-.3 0-.4 0-.6-.2a.7.7 0 0 1-.2-.6v-7.4c0-.3 0-.4.2-.6l.5-.2H11V8c0-.8.3-1.5.9-2.1.6-.6 1.3-.9 2.1-.9h2Z" fill-rule="evenodd"/></svg>',
|
||||
"unordered-list":
|
||||
'<svg width="24" height="24"><path d="M11 5h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 0 1 0-2Zm0 6h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 0 1 0-2Zm0 6h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 0 1 0-2ZM4.5 6c0-.4.1-.8.4-1 .3-.4.7-.5 1.1-.5.4 0 .8.1 1 .4.4.3.5.7.5 1.1 0 .4-.1.8-.4 1-.3.4-.7.5-1.1.5-.4 0-.8-.1-1-.4-.4-.3-.5-.7-.5-1.1Zm0 6c0-.4.1-.8.4-1 .3-.4.7-.5 1.1-.5.4 0 .8.1 1 .4.4.3.5.7.5 1.1 0 .4-.1.8-.4 1-.3.4-.7.5-1.1.5-.4 0-.8-.1-1-.4-.4-.3-.5-.7-.5-1.1Zm0 6c0-.4.1-.8.4-1 .3-.4.7-.5 1.1-.5.4 0 .8.1 1 .4.4.3.5.7.5 1.1 0 .4-.1.8-.4 1-.3.4-.7.5-1.1.5-.4 0-.8-.1-1-.4-.4-.3-.5-.7-.5-1.1Z" fill-rule="evenodd"/></svg>',
|
||||
unselected:
|
||||
'<svg width="24" height="24"><path fill-rule="nonzero" d="M6 4h12a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2Zm0 1a1 1 0 0 0-1 1v12c0 .6.4 1 1 1h12c.6 0 1-.4 1-1V6c0-.6-.4-1-1-1H6Z"/></svg>',
|
||||
upload:
|
||||
'<svg width="24" height="24"><path d="M18 19v-2a1 1 0 0 1 2 0v3c0 .6-.4 1-1 1H5a1 1 0 0 1-1-1v-3a1 1 0 0 1 2 0v2h12ZM11 6.4 8.7 8.7a1 1 0 0 1-1.4-1.4l4-4a1 1 0 0 1 1.4 0l4 4a1 1 0 1 1-1.4 1.4L13 6.4V16a1 1 0 0 1-2 0V6.4Z" fill-rule="nonzero"/></svg>',
|
||||
user: '<svg width="24" height="24"><path d="M12 24a12 12 0 1 1 0-24 12 12 0 0 1 0 24Zm-8.7-5.3a11 11 0 0 0 17.4 0C19.4 16.3 14.6 15 12 15c-2.6 0-7.4 1.3-8.7 3.7ZM12 13c2.2 0 4-2 4-4.5S14.2 4 12 4 8 6 8 8.5 9.8 13 12 13Z" fill-rule="nonzero"/></svg>',
|
||||
"vertical-align":
|
||||
'<svg width="24" height="24"><g fill-rule="nonzero"><rect width="18" height="2" x="3" y="11" rx="1"/><path d="M12 2c.6 0 1 .4 1 1v4l2-1.3a1 1 0 0 1 1.2 1.5l-.1.1-4.1 3-4-3a1 1 0 0 1 1-1.7l2 1.5V3c0-.6.4-1 1-1zm0 11.8 4 2.9a1 1 0 0 1-1 1.7l-2-1.5V21c0 .5-.4 1-.9 1H12a1 1 0 0 1-1-1v-4l-2 1.3a1 1 0 0 1-1.2-.1l-.1-.1a1 1 0 0 1 .1-1.3l.1-.1 4.1-3z"/></g></svg>',
|
||||
visualblocks:
|
||||
'<svg width="24" height="24"><path d="M9 19v2H7v-2h2Zm-4 0v2a2 2 0 0 1-2-2h2Zm8 0v2h-2v-2h2Zm8 0a2 2 0 0 1-2 2v-2h2Zm-4 0v2h-2v-2h2ZM15 7a1 1 0 0 1 0 2v7a1 1 0 0 1-2 0V9h-1v7a1 1 0 0 1-2 0v-4a2.5 2.5 0 0 1-.2-5H15ZM5 15v2H3v-2h2Zm16 0v2h-2v-2h2ZM5 11v2H3v-2h2Zm16 0v2h-2v-2h2ZM5 7v2H3V7h2Zm16 0v2h-2V7h2ZM5 3v2H3c0-1.1.9-2 2-2Zm8 0v2h-2V3h2Zm6 0a2 2 0 0 1 2 2h-2V3ZM9 3v2H7V3h2Zm8 0v2h-2V3h2Z" fill-rule="evenodd"/></svg>',
|
||||
visualchars:
|
||||
'<svg width="24" height="24"><path d="M10 5h7a1 1 0 0 1 0 2h-1v11a1 1 0 0 1-2 0V7h-2v11a1 1 0 0 1-2 0v-6c-.5 0-1 0-1.4-.3A3.4 3.4 0 0 1 6.8 10a3.3 3.3 0 0 1 0-2.8 3.4 3.4 0 0 1 1.8-1.8L10 5Z" fill-rule="evenodd"/></svg>',
|
||||
warning:
|
||||
'<svg width="24" height="24"><path d="M19.8 18.3c.2.5.3.9 0 1.2-.1.3-.5.5-1 .5H5.2c-.5 0-.9-.2-1-.5-.3-.3-.2-.7 0-1.2L11 4.7l.5-.5.5-.2c.2 0 .3 0 .5.2.2 0 .3.3.5.5l6.8 13.6ZM12 18c.3 0 .5-.1.7-.3.2-.2.3-.4.3-.7a1 1 0 0 0-.3-.7 1 1 0 0 0-.7-.3 1 1 0 0 0-.7.3 1 1 0 0 0-.3.7c0 .3.1.5.3.7.2.2.4.3.7.3Zm.7-3 .3-4a1 1 0 0 0-.3-.7 1 1 0 0 0-.7-.3 1 1 0 0 0-.7.3 1 1 0 0 0-.3.7l.3 4h1.4Z" fill-rule="evenodd"/></svg>',
|
||||
"zoom-in":
|
||||
'<svg width="24" height="24"><path d="M16 17.3a8 8 0 1 1 1.4-1.4l4.3 4.4a1 1 0 0 1-1.4 1.4l-4.4-4.3Zm-5-.3a6 6 0 1 0 0-12 6 6 0 0 0 0 12Zm-1-9a1 1 0 0 1 2 0v6a1 1 0 0 1-2 0V8Zm-2 4a1 1 0 0 1 0-2h6a1 1 0 0 1 0 2H8Z" fill-rule="nonzero"/></svg>',
|
||||
"zoom-out":
|
||||
'<svg width="24" height="24"><path d="M16 17.3a8 8 0 1 1 1.4-1.4l4.3 4.4a1 1 0 0 1-1.4 1.4l-4.4-4.3Zm-5-.3a6 6 0 1 0 0-12 6 6 0 0 0 0 12Zm-3-5a1 1 0 0 1 0-2h6a1 1 0 0 1 0 2H8Z" fill-rule="nonzero"/></svg>',
|
||||
},
|
||||
});
|
||||
21
src/lib/dist/tinymce/license.txt
vendored
21
src/lib/dist/tinymce/license.txt
vendored
@ -1,21 +0,0 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2022 Ephox Corporation DBA Tiny Technologies, Inc.
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
6277
src/lib/dist/tinymce/models/dom/model.min.js
vendored
6277
src/lib/dist/tinymce/models/dom/model.min.js
vendored
File diff suppressed because it is too large
Load Diff
161
src/lib/dist/tinymce/plugins/anchor/plugin.min.js
vendored
161
src/lib/dist/tinymce/plugins/anchor/plugin.min.js
vendored
@ -1,161 +0,0 @@
|
||||
/**
|
||||
* TinyMCE version 6.7.0 (2023-08-30)
|
||||
*/
|
||||
!(function () {
|
||||
"use strict";
|
||||
var e = tinymce.util.Tools.resolve("tinymce.PluginManager"),
|
||||
t = tinymce.util.Tools.resolve("tinymce.dom.RangeUtils"),
|
||||
o = tinymce.util.Tools.resolve("tinymce.util.Tools");
|
||||
const n =
|
||||
("allow_html_in_named_anchor",
|
||||
(e) => e.options.get("allow_html_in_named_anchor"));
|
||||
const a = "a:not([href])",
|
||||
r = (e) => !e,
|
||||
i = (e) => e.getAttribute("id") || e.getAttribute("name") || "",
|
||||
l = (e) =>
|
||||
((e) => "a" === e.nodeName.toLowerCase())(e) &&
|
||||
!e.getAttribute("href") &&
|
||||
"" !== i(e),
|
||||
s = (e) => e.dom.getParent(e.selection.getStart(), a),
|
||||
d = (e, a) => {
|
||||
const r = s(e);
|
||||
r
|
||||
? ((e, t, o) => {
|
||||
o.removeAttribute("name"),
|
||||
(o.id = t),
|
||||
e.addVisual(),
|
||||
e.undoManager.add();
|
||||
})(e, a, r)
|
||||
: ((e, a) => {
|
||||
e.undoManager.transact(() => {
|
||||
n(e) || e.selection.collapse(!0),
|
||||
e.selection.isCollapsed()
|
||||
? e.insertContent(e.dom.createHTML("a", { id: a }))
|
||||
: (((e) => {
|
||||
const n = e.dom;
|
||||
t(n).walk(e.selection.getRng(), (e) => {
|
||||
o.each(e, (e) => {
|
||||
var t;
|
||||
l((t = e)) && !t.firstChild && n.remove(e, !1);
|
||||
});
|
||||
});
|
||||
})(e),
|
||||
e.formatter.remove("namedAnchor", void 0, void 0, !0),
|
||||
e.formatter.apply("namedAnchor", { value: a }),
|
||||
e.addVisual());
|
||||
});
|
||||
})(e, a),
|
||||
e.focus();
|
||||
},
|
||||
c = (e) =>
|
||||
((e) => r(e.attr("href")) && !r(e.attr("id") || e.attr("name")))(e) &&
|
||||
!e.firstChild,
|
||||
m = (e) => (t) => {
|
||||
for (let o = 0; o < t.length; o++) {
|
||||
const n = t[o];
|
||||
c(n) && n.attr("contenteditable", e);
|
||||
}
|
||||
},
|
||||
u = (e) => (t) => {
|
||||
const o = () => {
|
||||
t.setEnabled(e.selection.isEditable());
|
||||
};
|
||||
return (
|
||||
e.on("NodeChange", o),
|
||||
o(),
|
||||
() => {
|
||||
e.off("NodeChange", o);
|
||||
}
|
||||
);
|
||||
};
|
||||
e.add("anchor", (e) => {
|
||||
((e) => {
|
||||
(0, e.options.register)("allow_html_in_named_anchor", {
|
||||
processor: "boolean",
|
||||
default: !1,
|
||||
});
|
||||
})(e),
|
||||
((e) => {
|
||||
e.on("PreInit", () => {
|
||||
e.parser.addNodeFilter("a", m("false")),
|
||||
e.serializer.addNodeFilter("a", m(null));
|
||||
});
|
||||
})(e),
|
||||
((e) => {
|
||||
e.addCommand("mceAnchor", () => {
|
||||
((e) => {
|
||||
const t = ((e) => {
|
||||
const t = s(e);
|
||||
return t ? i(t) : "";
|
||||
})(e);
|
||||
e.windowManager.open({
|
||||
title: "Anchor",
|
||||
size: "normal",
|
||||
body: {
|
||||
type: "panel",
|
||||
items: [
|
||||
{
|
||||
name: "id",
|
||||
type: "input",
|
||||
label: "ID",
|
||||
placeholder: "example",
|
||||
},
|
||||
],
|
||||
},
|
||||
buttons: [
|
||||
{ type: "cancel", name: "cancel", text: "Cancel" },
|
||||
{ type: "submit", name: "save", text: "Save", primary: !0 },
|
||||
],
|
||||
initialData: { id: t },
|
||||
onSubmit: (t) => {
|
||||
((e, t) =>
|
||||
/^[A-Za-z][A-Za-z0-9\-:._]*$/.test(t)
|
||||
? (d(e, t), !0)
|
||||
: (e.windowManager.alert(
|
||||
"ID should start with a letter, followed only by letters, numbers, dashes, dots, colons or underscores.",
|
||||
),
|
||||
!1))(e, t.getData().id) && t.close();
|
||||
},
|
||||
});
|
||||
})(e);
|
||||
});
|
||||
})(e),
|
||||
((e) => {
|
||||
const t = () => e.execCommand("mceAnchor");
|
||||
e.ui.registry.addToggleButton("anchor", {
|
||||
icon: "bookmark",
|
||||
tooltip: "Anchor",
|
||||
onAction: t,
|
||||
onSetup: (t) => {
|
||||
const o = e.selection.selectorChangedWithUnbind(
|
||||
"a:not([href])",
|
||||
t.setActive,
|
||||
).unbind,
|
||||
n = u(e)(t);
|
||||
return () => {
|
||||
o(), n();
|
||||
};
|
||||
},
|
||||
}),
|
||||
e.ui.registry.addMenuItem("anchor", {
|
||||
icon: "bookmark",
|
||||
text: "Anchor...",
|
||||
onAction: t,
|
||||
onSetup: u(e),
|
||||
});
|
||||
})(e),
|
||||
e.on("PreInit", () => {
|
||||
((e) => {
|
||||
e.formatter.register("namedAnchor", {
|
||||
inline: "a",
|
||||
selector: a,
|
||||
remove: "all",
|
||||
split: !0,
|
||||
deep: !0,
|
||||
attributes: { id: "%value" },
|
||||
onmatch: (e, t, o) => l(e),
|
||||
});
|
||||
})(e);
|
||||
});
|
||||
});
|
||||
})();
|
||||
174
src/lib/dist/tinymce/plugins/autolink/plugin.min.js
vendored
174
src/lib/dist/tinymce/plugins/autolink/plugin.min.js
vendored
@ -1,174 +0,0 @@
|
||||
/**
|
||||
* TinyMCE version 6.7.0 (2023-08-30)
|
||||
*/
|
||||
!(function () {
|
||||
"use strict";
|
||||
var e = tinymce.util.Tools.resolve("tinymce.PluginManager");
|
||||
const t = (e) => (t) => t.options.get(e),
|
||||
n = t("autolink_pattern"),
|
||||
o = t("link_default_target"),
|
||||
r = t("link_default_protocol"),
|
||||
a = t("allow_unsafe_link_target"),
|
||||
s =
|
||||
("string",
|
||||
(e) =>
|
||||
"string" ===
|
||||
((e) => {
|
||||
const t = typeof e;
|
||||
return null === e
|
||||
? "null"
|
||||
: "object" === t && Array.isArray(e)
|
||||
? "array"
|
||||
: "object" === t &&
|
||||
((n = o = e),
|
||||
(r = String).prototype.isPrototypeOf(n) ||
|
||||
(null === (a = o.constructor) || void 0 === a
|
||||
? void 0
|
||||
: a.name) === r.name)
|
||||
? "string"
|
||||
: t;
|
||||
var n, o, r, a;
|
||||
})(e));
|
||||
const l = (void 0, (e) => undefined === e);
|
||||
const i = (e) => !((e) => null == e)(e),
|
||||
c = Object.hasOwnProperty,
|
||||
d = (e) => "\ufeff" === e;
|
||||
var u = tinymce.util.Tools.resolve("tinymce.dom.TextSeeker");
|
||||
const f = (e) => /^[(\[{ \u00a0]$/.test(e),
|
||||
g = (e, t, n) => {
|
||||
for (let o = t - 1; o >= 0; o--) {
|
||||
const t = e.charAt(o);
|
||||
if (!d(t) && n(t)) return o;
|
||||
}
|
||||
return -1;
|
||||
},
|
||||
m = (e, t) => {
|
||||
var o;
|
||||
const a = e.schema.getVoidElements(),
|
||||
s = n(e),
|
||||
{ dom: i, selection: d } = e;
|
||||
if (null !== i.getParent(d.getNode(), "a[href]")) return null;
|
||||
const m = d.getRng(),
|
||||
k = u(i, (e) => {
|
||||
return (
|
||||
i.isBlock(e) ||
|
||||
((t = a), (n = e.nodeName.toLowerCase()), c.call(t, n)) ||
|
||||
"false" === i.getContentEditable(e)
|
||||
);
|
||||
var t, n;
|
||||
}),
|
||||
{ container: p, offset: y } = ((e, t) => {
|
||||
let n = e,
|
||||
o = t;
|
||||
for (; 1 === n.nodeType && n.childNodes[o]; )
|
||||
(n = n.childNodes[o]),
|
||||
(o = 3 === n.nodeType ? n.data.length : n.childNodes.length);
|
||||
return { container: n, offset: o };
|
||||
})(m.endContainer, m.endOffset),
|
||||
w =
|
||||
null !== (o = i.getParent(p, i.isBlock)) && void 0 !== o
|
||||
? o
|
||||
: i.getRoot(),
|
||||
h = k.backwards(
|
||||
p,
|
||||
y + t,
|
||||
(e, t) => {
|
||||
const n = e.data,
|
||||
o = g(n, t, ((r = f), (e) => !r(e)));
|
||||
var r, a;
|
||||
return -1 === o || ((a = n[o]), /[?!,.;:]/.test(a)) ? o : o + 1;
|
||||
},
|
||||
w,
|
||||
);
|
||||
if (!h) return null;
|
||||
let v = h.container;
|
||||
const _ = k.backwards(
|
||||
h.container,
|
||||
h.offset,
|
||||
(e, t) => {
|
||||
v = e;
|
||||
const n = g(e.data, t, f);
|
||||
return -1 === n ? n : n + 1;
|
||||
},
|
||||
w,
|
||||
),
|
||||
A = i.createRng();
|
||||
_ ? A.setStart(_.container, _.offset) : A.setStart(v, 0),
|
||||
A.setEnd(h.container, h.offset);
|
||||
const C = A.toString()
|
||||
.replace(/\uFEFF/g, "")
|
||||
.match(s);
|
||||
if (C) {
|
||||
let t = C[0];
|
||||
return (
|
||||
($ = "www."),
|
||||
(b = t).length >= 4 && b.substr(0, 4) === $
|
||||
? (t = r(e) + "://" + t)
|
||||
: ((e, t, n = 0, o) => {
|
||||
const r = e.indexOf(t, n);
|
||||
return -1 !== r && (!!l(o) || r + t.length <= o);
|
||||
})(t, "@") &&
|
||||
!((e) => /^([A-Za-z][A-Za-z\d.+-]*:\/\/)|mailto:/.test(e))(t) &&
|
||||
(t = "mailto:" + t),
|
||||
{ rng: A, url: t }
|
||||
);
|
||||
}
|
||||
var b, $;
|
||||
return null;
|
||||
},
|
||||
k = (e, t) => {
|
||||
const { dom: n, selection: r } = e,
|
||||
{ rng: l, url: i } = t,
|
||||
c = r.getBookmark();
|
||||
r.setRng(l);
|
||||
const d = "createlink",
|
||||
u = { command: d, ui: !1, value: i };
|
||||
if (!e.dispatch("BeforeExecCommand", u).isDefaultPrevented()) {
|
||||
e.getDoc().execCommand(d, !1, i), e.dispatch("ExecCommand", u);
|
||||
const t = o(e);
|
||||
if (s(t)) {
|
||||
const o = r.getNode();
|
||||
n.setAttrib(o, "target", t),
|
||||
"_blank" !== t || a(e) || n.setAttrib(o, "rel", "noopener");
|
||||
}
|
||||
}
|
||||
r.moveToBookmark(c), e.nodeChanged();
|
||||
},
|
||||
p = (e) => {
|
||||
const t = m(e, -1);
|
||||
i(t) && k(e, t);
|
||||
},
|
||||
y = p;
|
||||
e.add("autolink", (e) => {
|
||||
((e) => {
|
||||
const t = e.options.register;
|
||||
t("autolink_pattern", {
|
||||
processor: "regexp",
|
||||
default: new RegExp(
|
||||
"^" +
|
||||
/(?:[A-Za-z][A-Za-z\d.+-]{0,14}:\/\/(?:[-.~*+=!&;:'%@?^${}(),\w]+@)?|www\.|[-;:&=+$,.\w]+@)[A-Za-z\d-]+(?:\.[A-Za-z\d-]+)*(?::\d+)?(?:\/(?:[-.~*+=!;:'%@$(),\/\w]*[-~*+=%@$()\/\w])?)?(?:\?(?:[-.~*+=!&;:'%@?^${}(),\/\w]+))?(?:#(?:[-.~*+=!&;:'%@?^${}(),\/\w]+))?/g
|
||||
.source +
|
||||
"$",
|
||||
"i",
|
||||
),
|
||||
}),
|
||||
t("link_default_target", { processor: "string" }),
|
||||
t("link_default_protocol", { processor: "string", default: "https" });
|
||||
})(e),
|
||||
((e) => {
|
||||
e.on("keydown", (t) => {
|
||||
13 !== t.keyCode ||
|
||||
t.isDefaultPrevented() ||
|
||||
((e) => {
|
||||
const t = m(e, 0);
|
||||
i(t) && k(e, t);
|
||||
})(e);
|
||||
}),
|
||||
e.on("keyup", (t) => {
|
||||
32 === t.keyCode
|
||||
? p(e)
|
||||
: ((48 === t.keyCode && t.shiftKey) || 221 === t.keyCode) && y(e);
|
||||
});
|
||||
})(e);
|
||||
});
|
||||
})();
|
||||
@ -1,138 +0,0 @@
|
||||
/**
|
||||
* TinyMCE version 6.7.0 (2023-08-30)
|
||||
*/
|
||||
!(function () {
|
||||
"use strict";
|
||||
var e = tinymce.util.Tools.resolve("tinymce.PluginManager"),
|
||||
t = tinymce.util.Tools.resolve("tinymce.Env");
|
||||
const o = (e) => (t) => t.options.get(e),
|
||||
s = o("min_height"),
|
||||
i = o("max_height"),
|
||||
n = o("autoresize_overflow_padding"),
|
||||
r = o("autoresize_bottom_margin"),
|
||||
l = (e, t) => {
|
||||
const o = e.getBody();
|
||||
o && ((o.style.overflowY = t ? "" : "hidden"), t || (o.scrollTop = 0));
|
||||
},
|
||||
g = (e, t, o, s) => {
|
||||
var i;
|
||||
const n = parseInt(
|
||||
null !== (i = e.getStyle(t, o, s)) && void 0 !== i ? i : "",
|
||||
10,
|
||||
);
|
||||
return isNaN(n) ? 0 : n;
|
||||
},
|
||||
a = (e, o, r, c) => {
|
||||
var d;
|
||||
const f = e.dom,
|
||||
u = e.getDoc();
|
||||
if (!u) return;
|
||||
if (
|
||||
((e) => e.plugins.fullscreen && e.plugins.fullscreen.isFullscreen())(e)
|
||||
)
|
||||
return void l(e, !0);
|
||||
const m = u.documentElement,
|
||||
h = c ? c() : n(e),
|
||||
p =
|
||||
null !== (d = s(e)) && void 0 !== d ? d : e.getElement().offsetHeight;
|
||||
let y = p;
|
||||
const S = g(f, m, "margin-top", !0),
|
||||
v = g(f, m, "margin-bottom", !0);
|
||||
let C = m.offsetHeight + S + v + h;
|
||||
C < 0 && (C = 0);
|
||||
const b =
|
||||
e.getContainer().offsetHeight -
|
||||
e.getContentAreaContainer().offsetHeight;
|
||||
C + b > p && (y = C + b);
|
||||
const w = i(e);
|
||||
if ((w && y > w ? ((y = w), l(e, !0)) : l(e, !1), y !== o.get())) {
|
||||
const s = y - o.get();
|
||||
if (
|
||||
(f.setStyle(e.getContainer(), "height", y + "px"),
|
||||
o.set(y),
|
||||
((e) => {
|
||||
e.dispatch("ResizeEditor");
|
||||
})(e),
|
||||
t.browser.isSafari() && (t.os.isMacOS() || t.os.isiOS()))
|
||||
) {
|
||||
const t = e.getWin();
|
||||
t.scrollTo(t.pageXOffset, t.pageYOffset);
|
||||
}
|
||||
e.hasFocus() &&
|
||||
((e) => {
|
||||
if ("setcontent" === (null == e ? void 0 : e.type.toLowerCase())) {
|
||||
const t = e;
|
||||
return !0 === t.selection || !0 === t.paste;
|
||||
}
|
||||
return !1;
|
||||
})(r) &&
|
||||
e.selection.scrollIntoView(),
|
||||
(t.browser.isSafari() || t.browser.isChromium()) &&
|
||||
s < 0 &&
|
||||
a(e, o, r, c);
|
||||
}
|
||||
};
|
||||
e.add("autoresize", (e) => {
|
||||
if (
|
||||
(((e) => {
|
||||
const t = e.options.register;
|
||||
t("autoresize_overflow_padding", { processor: "number", default: 1 }),
|
||||
t("autoresize_bottom_margin", { processor: "number", default: 50 });
|
||||
})(e),
|
||||
e.options.isSet("resize") || e.options.set("resize", !1),
|
||||
!e.inline)
|
||||
) {
|
||||
const o = ((e) => {
|
||||
let t = 0;
|
||||
return {
|
||||
get: () => t,
|
||||
set: (e) => {
|
||||
t = e;
|
||||
},
|
||||
};
|
||||
})();
|
||||
((e, t) => {
|
||||
e.addCommand("mceAutoResize", () => {
|
||||
a(e, t);
|
||||
});
|
||||
})(e, o),
|
||||
((e, o) => {
|
||||
let s,
|
||||
i,
|
||||
l = () => r(e);
|
||||
e.on("init", (i) => {
|
||||
s = 0;
|
||||
const r = n(e),
|
||||
g = e.dom;
|
||||
g.setStyles(e.getDoc().documentElement, { height: "auto" }),
|
||||
t.browser.isEdge() || t.browser.isIE()
|
||||
? g.setStyles(e.getBody(), {
|
||||
paddingLeft: r,
|
||||
paddingRight: r,
|
||||
"min-height": 0,
|
||||
})
|
||||
: g.setStyles(e.getBody(), { paddingLeft: r, paddingRight: r }),
|
||||
a(e, o, i, l),
|
||||
(s += 1);
|
||||
}),
|
||||
e.on(
|
||||
"NodeChange SetContent keyup FullscreenStateChanged ResizeContent",
|
||||
(t) => {
|
||||
if (1 === s)
|
||||
(i = e.getContainer().offsetHeight), a(e, o, t, l), (s += 1);
|
||||
else if (2 === s) {
|
||||
const t = i < e.getContainer().offsetHeight;
|
||||
if (t) {
|
||||
const t = e.dom,
|
||||
o = e.getDoc();
|
||||
t.setStyles(o.documentElement, { "min-height": 0 }),
|
||||
t.setStyles(e.getBody(), { "min-height": "inherit" });
|
||||
}
|
||||
(l = t ? (0, () => 0) : l), (s += 1);
|
||||
} else a(e, o, t, l);
|
||||
},
|
||||
);
|
||||
})(e, o);
|
||||
}
|
||||
});
|
||||
})();
|
||||
191
src/lib/dist/tinymce/plugins/autosave/plugin.min.js
vendored
191
src/lib/dist/tinymce/plugins/autosave/plugin.min.js
vendored
@ -1,191 +0,0 @@
|
||||
/**
|
||||
* TinyMCE version 6.7.0 (2023-08-30)
|
||||
*/
|
||||
!(function () {
|
||||
"use strict";
|
||||
var t = tinymce.util.Tools.resolve("tinymce.PluginManager");
|
||||
const e =
|
||||
("string",
|
||||
(t) =>
|
||||
"string" ===
|
||||
((t) => {
|
||||
const e = typeof t;
|
||||
return null === t
|
||||
? "null"
|
||||
: "object" === e && Array.isArray(t)
|
||||
? "array"
|
||||
: "object" === e &&
|
||||
((r = o = t),
|
||||
(a = String).prototype.isPrototypeOf(r) ||
|
||||
(null === (s = o.constructor) || void 0 === s
|
||||
? void 0
|
||||
: s.name) === a.name)
|
||||
? "string"
|
||||
: e;
|
||||
var r, o, a, s;
|
||||
})(t));
|
||||
const r = (void 0, (t) => undefined === t);
|
||||
var o = tinymce.util.Tools.resolve("tinymce.util.Delay"),
|
||||
a = tinymce.util.Tools.resolve("tinymce.util.LocalStorage"),
|
||||
s = tinymce.util.Tools.resolve("tinymce.util.Tools");
|
||||
const n = (t) => {
|
||||
const e = /^(\d+)([ms]?)$/.exec(t);
|
||||
return (e && e[2] ? { s: 1e3, m: 6e4 }[e[2]] : 1) * parseInt(t, 10);
|
||||
},
|
||||
i = (t) => (e) => e.options.get(t),
|
||||
u = i("autosave_ask_before_unload"),
|
||||
l = i("autosave_restore_when_empty"),
|
||||
c = i("autosave_interval"),
|
||||
d = i("autosave_retention"),
|
||||
m = (t) => {
|
||||
const e = document.location;
|
||||
return t.options
|
||||
.get("autosave_prefix")
|
||||
.replace(/{path}/g, e.pathname)
|
||||
.replace(/{query}/g, e.search)
|
||||
.replace(/{hash}/g, e.hash)
|
||||
.replace(/{id}/g, t.id);
|
||||
},
|
||||
v = (t, e) => {
|
||||
if (r(e)) return t.dom.isEmpty(t.getBody());
|
||||
{
|
||||
const r = s.trim(e);
|
||||
if ("" === r) return !0;
|
||||
{
|
||||
const e = new DOMParser().parseFromString(r, "text/html");
|
||||
return t.dom.isEmpty(e);
|
||||
}
|
||||
}
|
||||
},
|
||||
f = (t) => {
|
||||
var e;
|
||||
const r =
|
||||
parseInt(
|
||||
null !== (e = a.getItem(m(t) + "time")) && void 0 !== e ? e : "0",
|
||||
10,
|
||||
) || 0;
|
||||
return !(new Date().getTime() - r > d(t) && (p(t, !1), 1));
|
||||
},
|
||||
p = (t, e) => {
|
||||
const r = m(t);
|
||||
a.removeItem(r + "draft"),
|
||||
a.removeItem(r + "time"),
|
||||
!1 !== e &&
|
||||
((t) => {
|
||||
t.dispatch("RemoveDraft");
|
||||
})(t);
|
||||
},
|
||||
g = (t) => {
|
||||
const e = m(t);
|
||||
!v(t) &&
|
||||
t.isDirty() &&
|
||||
(a.setItem(e + "draft", t.getContent({ format: "raw", no_events: !0 })),
|
||||
a.setItem(e + "time", new Date().getTime().toString()),
|
||||
((t) => {
|
||||
t.dispatch("StoreDraft");
|
||||
})(t));
|
||||
},
|
||||
y = (t) => {
|
||||
var e;
|
||||
const r = m(t);
|
||||
f(t) &&
|
||||
(t.setContent(
|
||||
null !== (e = a.getItem(r + "draft")) && void 0 !== e ? e : "",
|
||||
{ format: "raw" },
|
||||
),
|
||||
((t) => {
|
||||
t.dispatch("RestoreDraft");
|
||||
})(t));
|
||||
};
|
||||
var D = tinymce.util.Tools.resolve("tinymce.EditorManager");
|
||||
const h = (t) => (e) => {
|
||||
e.setEnabled(f(t));
|
||||
const r = () => e.setEnabled(f(t));
|
||||
return (
|
||||
t.on("StoreDraft RestoreDraft RemoveDraft", r),
|
||||
() => t.off("StoreDraft RestoreDraft RemoveDraft", r)
|
||||
);
|
||||
};
|
||||
t.add(
|
||||
"autosave",
|
||||
(t) => (
|
||||
((t) => {
|
||||
const r = t.options.register,
|
||||
o = (t) => {
|
||||
const r = e(t);
|
||||
return r
|
||||
? { value: n(t), valid: r }
|
||||
: { valid: !1, message: "Must be a string." };
|
||||
};
|
||||
r("autosave_ask_before_unload", { processor: "boolean", default: !0 }),
|
||||
r("autosave_prefix", {
|
||||
processor: "string",
|
||||
default: "tinymce-autosave-{path}{query}{hash}-{id}-",
|
||||
}),
|
||||
r("autosave_restore_when_empty", {
|
||||
processor: "boolean",
|
||||
default: !1,
|
||||
}),
|
||||
r("autosave_interval", { processor: o, default: "30s" }),
|
||||
r("autosave_retention", { processor: o, default: "20m" });
|
||||
})(t),
|
||||
((t) => {
|
||||
t.editorManager.on("BeforeUnload", (t) => {
|
||||
let e;
|
||||
s.each(D.get(), (t) => {
|
||||
t.plugins.autosave && t.plugins.autosave.storeDraft(),
|
||||
!e &&
|
||||
t.isDirty() &&
|
||||
u(t) &&
|
||||
(e = t.translate(
|
||||
"You have unsaved changes are you sure you want to navigate away?",
|
||||
));
|
||||
}),
|
||||
e && (t.preventDefault(), (t.returnValue = e));
|
||||
});
|
||||
})(t),
|
||||
((t) => {
|
||||
((t) => {
|
||||
const e = c(t);
|
||||
o.setEditorInterval(
|
||||
t,
|
||||
() => {
|
||||
g(t);
|
||||
},
|
||||
e,
|
||||
);
|
||||
})(t);
|
||||
const e = () => {
|
||||
((t) => {
|
||||
t.undoManager.transact(() => {
|
||||
y(t), p(t);
|
||||
}),
|
||||
t.focus();
|
||||
})(t);
|
||||
};
|
||||
t.ui.registry.addButton("restoredraft", {
|
||||
tooltip: "Restore last draft",
|
||||
icon: "restore-draft",
|
||||
onAction: e,
|
||||
onSetup: h(t),
|
||||
}),
|
||||
t.ui.registry.addMenuItem("restoredraft", {
|
||||
text: "Restore last draft",
|
||||
icon: "restore-draft",
|
||||
onAction: e,
|
||||
onSetup: h(t),
|
||||
});
|
||||
})(t),
|
||||
t.on("init", () => {
|
||||
l(t) && t.dom.isEmpty(t.getBody()) && y(t);
|
||||
}),
|
||||
((t) => ({
|
||||
hasDraft: () => f(t),
|
||||
storeDraft: () => g(t),
|
||||
restoreDraft: () => y(t),
|
||||
removeDraft: (e) => p(t, e),
|
||||
isEmpty: (e) => v(t, e),
|
||||
}))(t)
|
||||
),
|
||||
);
|
||||
})();
|
||||
56
src/lib/dist/tinymce/plugins/code/plugin.min.js
vendored
56
src/lib/dist/tinymce/plugins/code/plugin.min.js
vendored
@ -1,56 +0,0 @@
|
||||
/**
|
||||
* TinyMCE version 6.7.0 (2023-08-30)
|
||||
*/
|
||||
!(function () {
|
||||
"use strict";
|
||||
tinymce.util.Tools.resolve("tinymce.PluginManager").add(
|
||||
"code",
|
||||
(e) => (
|
||||
((e) => {
|
||||
e.addCommand("mceCodeEditor", () => {
|
||||
((e) => {
|
||||
const o = ((e) => e.getContent({ source_view: !0 }))(e);
|
||||
e.windowManager.open({
|
||||
title: "Source Code",
|
||||
size: "large",
|
||||
body: {
|
||||
type: "panel",
|
||||
items: [{ type: "textarea", name: "code" }],
|
||||
},
|
||||
buttons: [
|
||||
{ type: "cancel", name: "cancel", text: "Cancel" },
|
||||
{ type: "submit", name: "save", text: "Save", primary: !0 },
|
||||
],
|
||||
initialData: { code: o },
|
||||
onSubmit: (o) => {
|
||||
((e, o) => {
|
||||
e.focus(),
|
||||
e.undoManager.transact(() => {
|
||||
e.setContent(o);
|
||||
}),
|
||||
e.selection.setCursorLocation(),
|
||||
e.nodeChanged();
|
||||
})(e, o.getData().code),
|
||||
o.close();
|
||||
},
|
||||
});
|
||||
})(e);
|
||||
});
|
||||
})(e),
|
||||
((e) => {
|
||||
const o = () => e.execCommand("mceCodeEditor");
|
||||
e.ui.registry.addButton("code", {
|
||||
icon: "sourcecode",
|
||||
tooltip: "Source code",
|
||||
onAction: o,
|
||||
}),
|
||||
e.ui.registry.addMenuItem("code", {
|
||||
icon: "sourcecode",
|
||||
text: "Source code",
|
||||
onAction: o,
|
||||
});
|
||||
})(e),
|
||||
{}
|
||||
),
|
||||
);
|
||||
})();
|
||||
2274
src/lib/dist/tinymce/plugins/codesample/plugin.min.js
vendored
2274
src/lib/dist/tinymce/plugins/codesample/plugin.min.js
vendored
File diff suppressed because it is too large
Load Diff
@ -1,285 +0,0 @@
|
||||
/**
|
||||
* TinyMCE version 6.7.0 (2023-08-30)
|
||||
*/
|
||||
!(function () {
|
||||
"use strict";
|
||||
var t = tinymce.util.Tools.resolve("tinymce.PluginManager");
|
||||
const e = (t) => (e) => typeof e === t,
|
||||
o = (t) =>
|
||||
"string" ===
|
||||
((t) => {
|
||||
const e = typeof t;
|
||||
return null === t
|
||||
? "null"
|
||||
: "object" === e && Array.isArray(t)
|
||||
? "array"
|
||||
: "object" === e &&
|
||||
((o = r = t),
|
||||
(n = String).prototype.isPrototypeOf(o) ||
|
||||
(null === (i = r.constructor) || void 0 === i
|
||||
? void 0
|
||||
: i.name) === n.name)
|
||||
? "string"
|
||||
: e;
|
||||
var o, r, n, i;
|
||||
})(t),
|
||||
r = e("boolean"),
|
||||
n = (t) => !((t) => null == t)(t),
|
||||
i = e("function"),
|
||||
s = e("number"),
|
||||
l = (!1, () => false);
|
||||
class a {
|
||||
constructor(t, e) {
|
||||
(this.tag = t), (this.value = e);
|
||||
}
|
||||
static some(t) {
|
||||
return new a(!0, t);
|
||||
}
|
||||
static none() {
|
||||
return a.singletonNone;
|
||||
}
|
||||
fold(t, e) {
|
||||
return this.tag ? e(this.value) : t();
|
||||
}
|
||||
isSome() {
|
||||
return this.tag;
|
||||
}
|
||||
isNone() {
|
||||
return !this.tag;
|
||||
}
|
||||
map(t) {
|
||||
return this.tag ? a.some(t(this.value)) : a.none();
|
||||
}
|
||||
bind(t) {
|
||||
return this.tag ? t(this.value) : a.none();
|
||||
}
|
||||
exists(t) {
|
||||
return this.tag && t(this.value);
|
||||
}
|
||||
forall(t) {
|
||||
return !this.tag || t(this.value);
|
||||
}
|
||||
filter(t) {
|
||||
return !this.tag || t(this.value) ? this : a.none();
|
||||
}
|
||||
getOr(t) {
|
||||
return this.tag ? this.value : t;
|
||||
}
|
||||
or(t) {
|
||||
return this.tag ? this : t;
|
||||
}
|
||||
getOrThunk(t) {
|
||||
return this.tag ? this.value : t();
|
||||
}
|
||||
orThunk(t) {
|
||||
return this.tag ? this : t();
|
||||
}
|
||||
getOrDie(t) {
|
||||
if (this.tag) return this.value;
|
||||
throw new Error(null != t ? t : "Called getOrDie on None");
|
||||
}
|
||||
static from(t) {
|
||||
return n(t) ? a.some(t) : a.none();
|
||||
}
|
||||
getOrNull() {
|
||||
return this.tag ? this.value : null;
|
||||
}
|
||||
getOrUndefined() {
|
||||
return this.value;
|
||||
}
|
||||
each(t) {
|
||||
this.tag && t(this.value);
|
||||
}
|
||||
toArray() {
|
||||
return this.tag ? [this.value] : [];
|
||||
}
|
||||
toString() {
|
||||
return this.tag ? `some(${this.value})` : "none()";
|
||||
}
|
||||
}
|
||||
a.singletonNone = new a(!1);
|
||||
const u = (t, e) => {
|
||||
for (let o = 0, r = t.length; o < r; o++) e(t[o], o);
|
||||
},
|
||||
c = (t) => {
|
||||
if (null == t) throw new Error("Node cannot be null or undefined");
|
||||
return { dom: t };
|
||||
},
|
||||
d = c,
|
||||
h = (t, e) => {
|
||||
const o = t.dom;
|
||||
if (1 !== o.nodeType) return !1;
|
||||
{
|
||||
const t = o;
|
||||
if (void 0 !== t.matches) return t.matches(e);
|
||||
if (void 0 !== t.msMatchesSelector) return t.msMatchesSelector(e);
|
||||
if (void 0 !== t.webkitMatchesSelector)
|
||||
return t.webkitMatchesSelector(e);
|
||||
if (void 0 !== t.mozMatchesSelector) return t.mozMatchesSelector(e);
|
||||
throw new Error("Browser lacks native selectors");
|
||||
}
|
||||
};
|
||||
"undefined" != typeof window ? window : Function("return this;")();
|
||||
const m = (t) => (e) => ((t) => t.dom.nodeType)(e) === t,
|
||||
g = m(1),
|
||||
f = m(3),
|
||||
v = m(9),
|
||||
y = m(11),
|
||||
p = (t, e) => {
|
||||
t.dom.removeAttribute(e);
|
||||
},
|
||||
w =
|
||||
i(Element.prototype.attachShadow) && i(Node.prototype.getRootNode)
|
||||
? (t) => d(t.dom.getRootNode())
|
||||
: (t) => (v(t) ? t : d(t.dom.ownerDocument)),
|
||||
b = (t) => d(t.dom.host),
|
||||
N = (t) => {
|
||||
const e = f(t) ? t.dom.parentNode : t.dom;
|
||||
if (null == e || null === e.ownerDocument) return !1;
|
||||
const o = e.ownerDocument;
|
||||
return ((t) => {
|
||||
const e = w(t);
|
||||
return y((o = e)) && n(o.dom.host) ? a.some(e) : a.none();
|
||||
var o;
|
||||
})(d(e)).fold(
|
||||
() => o.body.contains(e),
|
||||
((r = N), (i = b), (t) => r(i(t))),
|
||||
);
|
||||
var r, i;
|
||||
},
|
||||
S = (t) =>
|
||||
"rtl" ===
|
||||
((t, e) => {
|
||||
const o = t.dom,
|
||||
r = window.getComputedStyle(o).getPropertyValue(e);
|
||||
return "" !== r || N(t)
|
||||
? r
|
||||
: ((t, e) =>
|
||||
((t) => void 0 !== t.style && i(t.style.getPropertyValue))(t)
|
||||
? t.style.getPropertyValue(e)
|
||||
: "")(o, e);
|
||||
})(t, "direction")
|
||||
? "rtl"
|
||||
: "ltr",
|
||||
A = (t, e) =>
|
||||
((t, o) =>
|
||||
((t, e) => {
|
||||
const o = [];
|
||||
for (let r = 0, n = t.length; r < n; r++) {
|
||||
const n = t[r];
|
||||
e(n, r) && o.push(n);
|
||||
}
|
||||
return o;
|
||||
})(
|
||||
((t, e) => {
|
||||
const o = t.length,
|
||||
r = new Array(o);
|
||||
for (let n = 0; n < o; n++) {
|
||||
const o = t[n];
|
||||
r[n] = e(o, n);
|
||||
}
|
||||
return r;
|
||||
})(t.dom.childNodes, d),
|
||||
(t) => h(t, e),
|
||||
))(t),
|
||||
E = ("li", (t) => g(t) && "li" === t.dom.nodeName.toLowerCase());
|
||||
const T = (t, e, n) => {
|
||||
u(e, (e) => {
|
||||
const c = d(e),
|
||||
m = E(c),
|
||||
f = ((t, e) => {
|
||||
return (
|
||||
e
|
||||
? ((o = t),
|
||||
(r = "ol,ul"),
|
||||
((t, e, o) => {
|
||||
let n = t.dom;
|
||||
const s = i(o) ? o : l;
|
||||
for (; n.parentNode; ) {
|
||||
n = n.parentNode;
|
||||
const t = d(n);
|
||||
if (h(t, r)) return a.some(t);
|
||||
if (s(t)) break;
|
||||
}
|
||||
return a.none();
|
||||
})(o, 0, n))
|
||||
: a.some(t)
|
||||
).getOr(t);
|
||||
var o, r, n;
|
||||
})(c, m);
|
||||
var v;
|
||||
((v = f), ((t) => a.from(t.dom.parentNode).map(d))(v).filter(g)).each(
|
||||
(e) => {
|
||||
if (
|
||||
(t.setStyle(f.dom, "direction", null),
|
||||
S(e) === n
|
||||
? p(f, "dir")
|
||||
: ((t, e, n) => {
|
||||
((t, e, n) => {
|
||||
if (!(o(n) || r(n) || s(n)))
|
||||
throw (
|
||||
(console.error(
|
||||
"Invalid call to Attribute.set. Key ",
|
||||
e,
|
||||
":: Value ",
|
||||
n,
|
||||
":: Element ",
|
||||
t,
|
||||
),
|
||||
new Error("Attribute value was not simple"))
|
||||
);
|
||||
t.setAttribute(e, n + "");
|
||||
})(t.dom, e, n);
|
||||
})(f, "dir", n),
|
||||
S(f) !== n && t.setStyle(f.dom, "direction", n),
|
||||
m)
|
||||
) {
|
||||
const e = A(f, "li[dir],li[style]");
|
||||
u(e, (e) => {
|
||||
p(e, "dir"), t.setStyle(e.dom, "direction", null);
|
||||
});
|
||||
}
|
||||
},
|
||||
);
|
||||
});
|
||||
},
|
||||
C = (t, e) => {
|
||||
t.selection.isEditable() &&
|
||||
(T(t.dom, t.selection.getSelectedBlocks(), e), t.nodeChanged());
|
||||
},
|
||||
D = (t, e) => (o) => {
|
||||
const r = (r) => {
|
||||
const n = d(r.element);
|
||||
o.setActive(S(n) === e), o.setEnabled(t.selection.isEditable());
|
||||
};
|
||||
return (
|
||||
t.on("NodeChange", r),
|
||||
o.setEnabled(t.selection.isEditable()),
|
||||
() => t.off("NodeChange", r)
|
||||
);
|
||||
};
|
||||
t.add("directionality", (t) => {
|
||||
((t) => {
|
||||
t.addCommand("mceDirectionLTR", () => {
|
||||
C(t, "ltr");
|
||||
}),
|
||||
t.addCommand("mceDirectionRTL", () => {
|
||||
C(t, "rtl");
|
||||
});
|
||||
})(t),
|
||||
((t) => {
|
||||
t.ui.registry.addToggleButton("ltr", {
|
||||
tooltip: "Left to right",
|
||||
icon: "ltr",
|
||||
onAction: () => t.execCommand("mceDirectionLTR"),
|
||||
onSetup: D(t, "ltr"),
|
||||
}),
|
||||
t.ui.registry.addToggleButton("rtl", {
|
||||
tooltip: "Right to left",
|
||||
icon: "rtl",
|
||||
onAction: () => t.execCommand("mceDirectionRTL"),
|
||||
onSetup: D(t, "rtl"),
|
||||
});
|
||||
})(t);
|
||||
});
|
||||
})();
|
||||
@ -1,912 +0,0 @@
|
||||
/**
|
||||
* TinyMCE version 6.7.0 (2023-08-30)
|
||||
*/
|
||||
!(function () {
|
||||
"use strict";
|
||||
const e = (e) => {
|
||||
let t = e;
|
||||
return {
|
||||
get: () => t,
|
||||
set: (e) => {
|
||||
t = e;
|
||||
},
|
||||
};
|
||||
};
|
||||
var t = tinymce.util.Tools.resolve("tinymce.PluginManager");
|
||||
const n = (e) => (t) =>
|
||||
((e) => {
|
||||
const t = typeof e;
|
||||
return null === e
|
||||
? "null"
|
||||
: "object" === t && Array.isArray(e)
|
||||
? "array"
|
||||
: "object" === t &&
|
||||
((n = r = e),
|
||||
(o = String).prototype.isPrototypeOf(n) ||
|
||||
(null === (s = r.constructor) || void 0 === s
|
||||
? void 0
|
||||
: s.name) === o.name)
|
||||
? "string"
|
||||
: t;
|
||||
var n, r, o, s;
|
||||
})(t) === e,
|
||||
r = (e) => (t) => typeof t === e,
|
||||
o = (e) => (t) => e === t,
|
||||
s = n("string"),
|
||||
i = n("array"),
|
||||
l = o(null),
|
||||
a = r("boolean"),
|
||||
c = o(void 0),
|
||||
u = (e) => !((e) => null == e)(e),
|
||||
d = r("function"),
|
||||
m = r("number"),
|
||||
h = () => {},
|
||||
g = (e) => () => e;
|
||||
function p(e, ...t) {
|
||||
return (...n) => {
|
||||
const r = t.concat(n);
|
||||
return e.apply(null, r);
|
||||
};
|
||||
}
|
||||
const f = g(!1),
|
||||
v = g(!0);
|
||||
class w {
|
||||
constructor(e, t) {
|
||||
(this.tag = e), (this.value = t);
|
||||
}
|
||||
static some(e) {
|
||||
return new w(!0, e);
|
||||
}
|
||||
static none() {
|
||||
return w.singletonNone;
|
||||
}
|
||||
fold(e, t) {
|
||||
return this.tag ? t(this.value) : e();
|
||||
}
|
||||
isSome() {
|
||||
return this.tag;
|
||||
}
|
||||
isNone() {
|
||||
return !this.tag;
|
||||
}
|
||||
map(e) {
|
||||
return this.tag ? w.some(e(this.value)) : w.none();
|
||||
}
|
||||
bind(e) {
|
||||
return this.tag ? e(this.value) : w.none();
|
||||
}
|
||||
exists(e) {
|
||||
return this.tag && e(this.value);
|
||||
}
|
||||
forall(e) {
|
||||
return !this.tag || e(this.value);
|
||||
}
|
||||
filter(e) {
|
||||
return !this.tag || e(this.value) ? this : w.none();
|
||||
}
|
||||
getOr(e) {
|
||||
return this.tag ? this.value : e;
|
||||
}
|
||||
or(e) {
|
||||
return this.tag ? this : e;
|
||||
}
|
||||
getOrThunk(e) {
|
||||
return this.tag ? this.value : e();
|
||||
}
|
||||
orThunk(e) {
|
||||
return this.tag ? this : e();
|
||||
}
|
||||
getOrDie(e) {
|
||||
if (this.tag) return this.value;
|
||||
throw new Error(null != e ? e : "Called getOrDie on None");
|
||||
}
|
||||
static from(e) {
|
||||
return u(e) ? w.some(e) : w.none();
|
||||
}
|
||||
getOrNull() {
|
||||
return this.tag ? this.value : null;
|
||||
}
|
||||
getOrUndefined() {
|
||||
return this.value;
|
||||
}
|
||||
each(e) {
|
||||
this.tag && e(this.value);
|
||||
}
|
||||
toArray() {
|
||||
return this.tag ? [this.value] : [];
|
||||
}
|
||||
toString() {
|
||||
return this.tag ? `some(${this.value})` : "none()";
|
||||
}
|
||||
}
|
||||
w.singletonNone = new w(!1);
|
||||
const y = (t) => {
|
||||
const n = e(w.none()),
|
||||
r = () => n.get().each(t);
|
||||
return {
|
||||
clear: () => {
|
||||
r(), n.set(w.none());
|
||||
},
|
||||
isSet: () => n.get().isSome(),
|
||||
get: () => n.get(),
|
||||
set: (e) => {
|
||||
r(), n.set(w.some(e));
|
||||
},
|
||||
};
|
||||
},
|
||||
b = () => y((e) => e.unbind()),
|
||||
S = Array.prototype.push,
|
||||
x = (e, t) => {
|
||||
const n = e.length,
|
||||
r = new Array(n);
|
||||
for (let o = 0; o < n; o++) {
|
||||
const n = e[o];
|
||||
r[o] = t(n, o);
|
||||
}
|
||||
return r;
|
||||
},
|
||||
E = (e, t) => {
|
||||
for (let n = 0, r = e.length; n < r; n++) t(e[n], n);
|
||||
},
|
||||
F = (e, t) => {
|
||||
const n = [];
|
||||
for (let r = 0, o = e.length; r < o; r++) {
|
||||
const o = e[r];
|
||||
t(o, r) && n.push(o);
|
||||
}
|
||||
return n;
|
||||
},
|
||||
O = (e, t) =>
|
||||
((e, t, n) => {
|
||||
for (let r = 0, o = e.length; r < o; r++) {
|
||||
const o = e[r];
|
||||
if (t(o, r)) return w.some(o);
|
||||
if (n(o, r)) break;
|
||||
}
|
||||
return w.none();
|
||||
})(e, t, f),
|
||||
T = Object.keys,
|
||||
k = (e, t, n = 0, r) => {
|
||||
const o = e.indexOf(t, n);
|
||||
return -1 !== o && (!!c(r) || o + t.length <= r);
|
||||
},
|
||||
C = (e) => void 0 !== e.style && d(e.style.getPropertyValue),
|
||||
A = (e) => {
|
||||
if (null == e) throw new Error("Node cannot be null or undefined");
|
||||
return { dom: e };
|
||||
},
|
||||
R = A;
|
||||
"undefined" != typeof window ? window : Function("return this;")();
|
||||
const L = (e) => (t) => ((e) => e.dom.nodeType)(t) === e,
|
||||
M = L(1),
|
||||
N = L(3),
|
||||
P = L(9),
|
||||
D = L(11),
|
||||
W = (e, t) => {
|
||||
const n = e.dom;
|
||||
if (1 !== n.nodeType) return !1;
|
||||
{
|
||||
const e = n;
|
||||
if (void 0 !== e.matches) return e.matches(t);
|
||||
if (void 0 !== e.msMatchesSelector) return e.msMatchesSelector(t);
|
||||
if (void 0 !== e.webkitMatchesSelector)
|
||||
return e.webkitMatchesSelector(t);
|
||||
if (void 0 !== e.mozMatchesSelector) return e.mozMatchesSelector(t);
|
||||
throw new Error("Browser lacks native selectors");
|
||||
}
|
||||
},
|
||||
q = (e) => R(e.dom.ownerDocument),
|
||||
H = (e) => x(e.dom.childNodes, R),
|
||||
I = d(Element.prototype.attachShadow) && d(Node.prototype.getRootNode),
|
||||
B = g(I),
|
||||
V = I ? (e) => R(e.dom.getRootNode()) : (e) => (P(e) ? e : q(e)),
|
||||
_ = (e) => {
|
||||
const t = V(e);
|
||||
return D((n = t)) && u(n.dom.host) ? w.some(t) : w.none();
|
||||
var n;
|
||||
},
|
||||
j = (e) => R(e.dom.host),
|
||||
z = (e) => {
|
||||
const t = N(e) ? e.dom.parentNode : e.dom;
|
||||
if (null == t || null === t.ownerDocument) return !1;
|
||||
const n = t.ownerDocument;
|
||||
return _(R(t)).fold(
|
||||
() => n.body.contains(t),
|
||||
((r = z), (o = j), (e) => r(o(e))),
|
||||
);
|
||||
var r, o;
|
||||
},
|
||||
$ = (e, t) => {
|
||||
const n = e.dom.getAttribute(t);
|
||||
return null === n ? void 0 : n;
|
||||
},
|
||||
U = (e, t) => {
|
||||
e.dom.removeAttribute(t);
|
||||
},
|
||||
K = (e, t) => {
|
||||
const n = e.dom;
|
||||
((e, t) => {
|
||||
const n = T(e);
|
||||
for (let r = 0, o = n.length; r < o; r++) {
|
||||
const o = n[r];
|
||||
t(e[o], o);
|
||||
}
|
||||
})(t, (e, t) => {
|
||||
((e, t, n) => {
|
||||
if (!s(n))
|
||||
throw (
|
||||
(console.error(
|
||||
"Invalid call to CSS.set. Property ",
|
||||
t,
|
||||
":: Value ",
|
||||
n,
|
||||
":: Element ",
|
||||
e,
|
||||
),
|
||||
new Error("CSS value must be a string: " + n))
|
||||
);
|
||||
C(e) && e.style.setProperty(t, n);
|
||||
})(n, t, e);
|
||||
});
|
||||
},
|
||||
X = (e) => {
|
||||
const t = R(
|
||||
((e) => {
|
||||
if (B() && u(e.target)) {
|
||||
const t = R(e.target);
|
||||
if (M(t) && u(t.dom.shadowRoot) && e.composed && e.composedPath) {
|
||||
const t = e.composedPath();
|
||||
if (t)
|
||||
return ((e, t) => (0 < e.length ? w.some(e[0]) : w.none()))(
|
||||
t,
|
||||
);
|
||||
}
|
||||
}
|
||||
return w.from(e.target);
|
||||
})(e).getOr(e.target),
|
||||
),
|
||||
n = () => e.stopPropagation(),
|
||||
r = () => e.preventDefault(),
|
||||
o = ((s = r), (i = n), (...e) => s(i.apply(null, e)));
|
||||
var s, i;
|
||||
return ((e, t, n, r, o, s, i) => ({
|
||||
target: e,
|
||||
x: t,
|
||||
y: n,
|
||||
stop: r,
|
||||
prevent: o,
|
||||
kill: s,
|
||||
raw: i,
|
||||
}))(t, e.clientX, e.clientY, n, r, o, e);
|
||||
},
|
||||
Y = (e, t, n, r) => {
|
||||
e.dom.removeEventListener(t, n, r);
|
||||
},
|
||||
G = v,
|
||||
J = (e, t, n) =>
|
||||
((e, t, n, r) =>
|
||||
((e, t, n, r, o) => {
|
||||
const s = ((e, t) => (n) => {
|
||||
e(n) && t(X(n));
|
||||
})(n, r);
|
||||
return e.dom.addEventListener(t, s, o), { unbind: p(Y, e, t, s, o) };
|
||||
})(e, t, n, r, !1))(e, t, G, n),
|
||||
Q = () => Z(0, 0),
|
||||
Z = (e, t) => ({ major: e, minor: t }),
|
||||
ee = {
|
||||
nu: Z,
|
||||
detect: (e, t) => {
|
||||
const n = String(t).toLowerCase();
|
||||
return 0 === e.length
|
||||
? Q()
|
||||
: ((e, t) => {
|
||||
const n = ((e, t) => {
|
||||
for (let n = 0; n < e.length; n++) {
|
||||
const r = e[n];
|
||||
if (r.test(t)) return r;
|
||||
}
|
||||
})(e, t);
|
||||
if (!n) return { major: 0, minor: 0 };
|
||||
const r = (e) => Number(t.replace(n, "$" + e));
|
||||
return Z(r(1), r(2));
|
||||
})(e, n);
|
||||
},
|
||||
unknown: Q,
|
||||
},
|
||||
te = (e, t) => {
|
||||
const n = String(t).toLowerCase();
|
||||
return O(e, (e) => e.search(n));
|
||||
},
|
||||
ne = /.*?version\/\ ?([0-9]+)\.([0-9]+).*/,
|
||||
re = (e) => (t) => k(t, e),
|
||||
oe = [
|
||||
{
|
||||
name: "Edge",
|
||||
versionRegexes: [/.*?edge\/ ?([0-9]+)\.([0-9]+)$/],
|
||||
search: (e) =>
|
||||
k(e, "edge/") &&
|
||||
k(e, "chrome") &&
|
||||
k(e, "safari") &&
|
||||
k(e, "applewebkit"),
|
||||
},
|
||||
{
|
||||
name: "Chromium",
|
||||
brand: "Chromium",
|
||||
versionRegexes: [/.*?chrome\/([0-9]+)\.([0-9]+).*/, ne],
|
||||
search: (e) => k(e, "chrome") && !k(e, "chromeframe"),
|
||||
},
|
||||
{
|
||||
name: "IE",
|
||||
versionRegexes: [
|
||||
/.*?msie\ ?([0-9]+)\.([0-9]+).*/,
|
||||
/.*?rv:([0-9]+)\.([0-9]+).*/,
|
||||
],
|
||||
search: (e) => k(e, "msie") || k(e, "trident"),
|
||||
},
|
||||
{
|
||||
name: "Opera",
|
||||
versionRegexes: [ne, /.*?opera\/([0-9]+)\.([0-9]+).*/],
|
||||
search: re("opera"),
|
||||
},
|
||||
{
|
||||
name: "Firefox",
|
||||
versionRegexes: [/.*?firefox\/\ ?([0-9]+)\.([0-9]+).*/],
|
||||
search: re("firefox"),
|
||||
},
|
||||
{
|
||||
name: "Safari",
|
||||
versionRegexes: [ne, /.*?cpu os ([0-9]+)_([0-9]+).*/],
|
||||
search: (e) =>
|
||||
(k(e, "safari") || k(e, "mobile/")) && k(e, "applewebkit"),
|
||||
},
|
||||
],
|
||||
se = [
|
||||
{
|
||||
name: "Windows",
|
||||
search: re("win"),
|
||||
versionRegexes: [/.*?windows\ nt\ ?([0-9]+)\.([0-9]+).*/],
|
||||
},
|
||||
{
|
||||
name: "iOS",
|
||||
search: (e) => k(e, "iphone") || k(e, "ipad"),
|
||||
versionRegexes: [
|
||||
/.*?version\/\ ?([0-9]+)\.([0-9]+).*/,
|
||||
/.*cpu os ([0-9]+)_([0-9]+).*/,
|
||||
/.*cpu iphone os ([0-9]+)_([0-9]+).*/,
|
||||
],
|
||||
},
|
||||
{
|
||||
name: "Android",
|
||||
search: re("android"),
|
||||
versionRegexes: [/.*?android\ ?([0-9]+)\.([0-9]+).*/],
|
||||
},
|
||||
{
|
||||
name: "macOS",
|
||||
search: re("mac os x"),
|
||||
versionRegexes: [/.*?mac\ os\ x\ ?([0-9]+)_([0-9]+).*/],
|
||||
},
|
||||
{ name: "Linux", search: re("linux"), versionRegexes: [] },
|
||||
{ name: "Solaris", search: re("sunos"), versionRegexes: [] },
|
||||
{ name: "FreeBSD", search: re("freebsd"), versionRegexes: [] },
|
||||
{
|
||||
name: "ChromeOS",
|
||||
search: re("cros"),
|
||||
versionRegexes: [/.*?chrome\/([0-9]+)\.([0-9]+).*/],
|
||||
},
|
||||
],
|
||||
ie = { browsers: g(oe), oses: g(se) },
|
||||
le = "Edge",
|
||||
ae = "Chromium",
|
||||
ce = "Opera",
|
||||
ue = "Firefox",
|
||||
de = "Safari",
|
||||
me = (e) => {
|
||||
const t = e.current,
|
||||
n = e.version,
|
||||
r = (e) => () => t === e;
|
||||
return {
|
||||
current: t,
|
||||
version: n,
|
||||
isEdge: r(le),
|
||||
isChromium: r(ae),
|
||||
isIE: r("IE"),
|
||||
isOpera: r(ce),
|
||||
isFirefox: r(ue),
|
||||
isSafari: r(de),
|
||||
};
|
||||
},
|
||||
he = () => me({ current: void 0, version: ee.unknown() }),
|
||||
ge = me,
|
||||
pe = (g(le), g(ae), g("IE"), g(ce), g(ue), g(de), "Windows"),
|
||||
fe = "Android",
|
||||
ve = "Linux",
|
||||
we = "macOS",
|
||||
ye = "Solaris",
|
||||
be = "FreeBSD",
|
||||
Se = "ChromeOS",
|
||||
xe = (e) => {
|
||||
const t = e.current,
|
||||
n = e.version,
|
||||
r = (e) => () => t === e;
|
||||
return {
|
||||
current: t,
|
||||
version: n,
|
||||
isWindows: r(pe),
|
||||
isiOS: r("iOS"),
|
||||
isAndroid: r(fe),
|
||||
isMacOS: r(we),
|
||||
isLinux: r(ve),
|
||||
isSolaris: r(ye),
|
||||
isFreeBSD: r(be),
|
||||
isChromeOS: r(Se),
|
||||
};
|
||||
},
|
||||
Ee = () => xe({ current: void 0, version: ee.unknown() }),
|
||||
Fe = xe,
|
||||
Oe =
|
||||
(g(pe),
|
||||
g("iOS"),
|
||||
g(fe),
|
||||
g(ve),
|
||||
g(we),
|
||||
g(ye),
|
||||
g(be),
|
||||
g(Se),
|
||||
(e, t, n) => {
|
||||
const r = ie.browsers(),
|
||||
o = ie.oses(),
|
||||
s = t
|
||||
.bind((e) =>
|
||||
((e, t) =>
|
||||
((e, t) => {
|
||||
for (let n = 0; n < e.length; n++) {
|
||||
const r = t(e[n]);
|
||||
if (r.isSome()) return r;
|
||||
}
|
||||
return w.none();
|
||||
})(t.brands, (t) => {
|
||||
const n = t.brand.toLowerCase();
|
||||
return O(e, (e) => {
|
||||
var t;
|
||||
return (
|
||||
n ===
|
||||
(null === (t = e.brand) || void 0 === t
|
||||
? void 0
|
||||
: t.toLowerCase())
|
||||
);
|
||||
}).map((e) => ({
|
||||
current: e.name,
|
||||
version: ee.nu(parseInt(t.version, 10), 0),
|
||||
}));
|
||||
}))(r, e),
|
||||
)
|
||||
.orThunk(() =>
|
||||
((e, t) =>
|
||||
te(e, t).map((e) => {
|
||||
const n = ee.detect(e.versionRegexes, t);
|
||||
return { current: e.name, version: n };
|
||||
}))(r, e),
|
||||
)
|
||||
.fold(he, ge),
|
||||
i = ((e, t) =>
|
||||
te(e, t).map((e) => {
|
||||
const n = ee.detect(e.versionRegexes, t);
|
||||
return { current: e.name, version: n };
|
||||
}))(o, e).fold(Ee, Fe),
|
||||
l = ((e, t, n, r) => {
|
||||
const o = e.isiOS() && !0 === /ipad/i.test(n),
|
||||
s = e.isiOS() && !o,
|
||||
i = e.isiOS() || e.isAndroid(),
|
||||
l = i || r("(pointer:coarse)"),
|
||||
a = o || (!s && i && r("(min-device-width:768px)")),
|
||||
c = s || (i && !a),
|
||||
u = t.isSafari() && e.isiOS() && !1 === /safari/i.test(n),
|
||||
d = !c && !a && !u;
|
||||
return {
|
||||
isiPad: g(o),
|
||||
isiPhone: g(s),
|
||||
isTablet: g(a),
|
||||
isPhone: g(c),
|
||||
isTouch: g(l),
|
||||
isAndroid: e.isAndroid,
|
||||
isiOS: e.isiOS,
|
||||
isWebView: g(u),
|
||||
isDesktop: g(d),
|
||||
};
|
||||
})(i, s, e, n);
|
||||
return { browser: s, os: i, deviceType: l };
|
||||
}),
|
||||
Te = (e) => window.matchMedia(e).matches;
|
||||
let ke = ((e) => {
|
||||
let t,
|
||||
n = !1;
|
||||
return (...r) => (n || ((n = !0), (t = e.apply(null, r))), t);
|
||||
})(() => Oe(navigator.userAgent, w.from(navigator.userAgentData), Te));
|
||||
const Ce = (e, t) => ({
|
||||
left: e,
|
||||
top: t,
|
||||
translate: (n, r) => Ce(e + n, t + r),
|
||||
}),
|
||||
Ae = Ce,
|
||||
Re = (e) => {
|
||||
const t = void 0 === e ? window : e;
|
||||
return ke().browser.isFirefox() ? w.none() : w.from(t.visualViewport);
|
||||
},
|
||||
Le = (e, t, n, r) => ({
|
||||
x: e,
|
||||
y: t,
|
||||
width: n,
|
||||
height: r,
|
||||
right: e + n,
|
||||
bottom: t + r,
|
||||
}),
|
||||
Me = (e) => {
|
||||
const t = void 0 === e ? window : e,
|
||||
n = t.document,
|
||||
r = ((e) => {
|
||||
const t = void 0 !== e ? e.dom : document,
|
||||
n = t.body.scrollLeft || t.documentElement.scrollLeft,
|
||||
r = t.body.scrollTop || t.documentElement.scrollTop;
|
||||
return Ae(n, r);
|
||||
})(R(n));
|
||||
return Re(t).fold(
|
||||
() => {
|
||||
const e = t.document.documentElement,
|
||||
n = e.clientWidth,
|
||||
o = e.clientHeight;
|
||||
return Le(r.left, r.top, n, o);
|
||||
},
|
||||
(e) =>
|
||||
Le(
|
||||
Math.max(e.pageLeft, r.left),
|
||||
Math.max(e.pageTop, r.top),
|
||||
e.width,
|
||||
e.height,
|
||||
),
|
||||
);
|
||||
},
|
||||
Ne = (e, t, n) =>
|
||||
Re(n)
|
||||
.map((n) => {
|
||||
const r = (e) => t(X(e));
|
||||
return (
|
||||
n.addEventListener(e, r),
|
||||
{ unbind: () => n.removeEventListener(e, r) }
|
||||
);
|
||||
})
|
||||
.getOrThunk(() => ({ unbind: h }));
|
||||
var Pe = tinymce.util.Tools.resolve("tinymce.dom.DOMUtils"),
|
||||
De = tinymce.util.Tools.resolve("tinymce.Env");
|
||||
const We = (e, t) => {
|
||||
e.dispatch("FullscreenStateChanged", { state: t }),
|
||||
e.dispatch("ResizeEditor");
|
||||
},
|
||||
qe = ("fullscreen_native", (e) => e.options.get("fullscreen_native"));
|
||||
const He = (e) => {
|
||||
return (
|
||||
e.dom ===
|
||||
(void 0 !== (t = q(e).dom).fullscreenElement
|
||||
? t.fullscreenElement
|
||||
: void 0 !== t.msFullscreenElement
|
||||
? t.msFullscreenElement
|
||||
: void 0 !== t.webkitFullscreenElement
|
||||
? t.webkitFullscreenElement
|
||||
: null)
|
||||
);
|
||||
var t;
|
||||
},
|
||||
Ie = (e, t, n) =>
|
||||
((e, t, n) =>
|
||||
F(
|
||||
((e, t) => {
|
||||
const n = d(t) ? t : f;
|
||||
let r = e.dom;
|
||||
const o = [];
|
||||
for (; null !== r.parentNode && void 0 !== r.parentNode; ) {
|
||||
const e = r.parentNode,
|
||||
t = R(e);
|
||||
if ((o.push(t), !0 === n(t))) break;
|
||||
r = e;
|
||||
}
|
||||
return o;
|
||||
})(e, n),
|
||||
t,
|
||||
))(e, (e) => W(e, t), n),
|
||||
Be = (e, t) =>
|
||||
((e, n) => {
|
||||
return F(
|
||||
((e) => w.from(e.dom.parentNode).map(R))((r = e))
|
||||
.map(H)
|
||||
.map((e) =>
|
||||
F(e, (e) => {
|
||||
return (t = e), !(r.dom === t.dom);
|
||||
var t;
|
||||
}),
|
||||
)
|
||||
.getOr([]),
|
||||
(e) => W(e, t),
|
||||
);
|
||||
var r;
|
||||
})(e),
|
||||
Ve = "data-ephox-mobile-fullscreen-style",
|
||||
_e = "position:absolute!important;",
|
||||
je =
|
||||
"top:0!important;left:0!important;margin:0!important;padding:0!important;width:100%!important;height:100%!important;overflow:visible!important;",
|
||||
ze = De.os.isAndroid(),
|
||||
$e = (e) => {
|
||||
const t = ((e, t) => {
|
||||
const n = e.dom,
|
||||
r = window.getComputedStyle(n).getPropertyValue(t);
|
||||
return "" !== r || z(e)
|
||||
? r
|
||||
: ((e, t) => (C(e) ? e.style.getPropertyValue(t) : ""))(n, t);
|
||||
})(e, "background-color");
|
||||
return void 0 !== t && "" !== t
|
||||
? "background-color:" + t + "!important"
|
||||
: "background-color:rgb(255,255,255)!important;";
|
||||
},
|
||||
Ue = Pe.DOM,
|
||||
Ke = Re().fold(
|
||||
() => ({ bind: h, unbind: h }),
|
||||
(e) => {
|
||||
const t = (() => {
|
||||
const e = y(h);
|
||||
return { ...e, on: (t) => e.get().each(t) };
|
||||
})(),
|
||||
n = b(),
|
||||
r = b(),
|
||||
o = ((e, t) => {
|
||||
let n = null;
|
||||
return {
|
||||
cancel: () => {
|
||||
l(n) || (clearTimeout(n), (n = null));
|
||||
},
|
||||
throttle: (...t) => {
|
||||
l(n) &&
|
||||
(n = setTimeout(() => {
|
||||
(n = null), e.apply(null, t);
|
||||
}, 50));
|
||||
},
|
||||
};
|
||||
})(() => {
|
||||
(document.body.scrollTop = 0),
|
||||
(document.documentElement.scrollTop = 0),
|
||||
window.requestAnimationFrame(() => {
|
||||
t.on((t) =>
|
||||
K(t, {
|
||||
top: e.offsetTop + "px",
|
||||
left: e.offsetLeft + "px",
|
||||
height: e.height + "px",
|
||||
width: e.width + "px",
|
||||
}),
|
||||
);
|
||||
});
|
||||
});
|
||||
return {
|
||||
bind: (e) => {
|
||||
t.set(e),
|
||||
o.throttle(),
|
||||
n.set(Ne("resize", o.throttle)),
|
||||
r.set(Ne("scroll", o.throttle));
|
||||
},
|
||||
unbind: () => {
|
||||
t.on(() => {
|
||||
n.clear(), r.clear();
|
||||
}),
|
||||
t.clear();
|
||||
},
|
||||
};
|
||||
},
|
||||
),
|
||||
Xe = (e, t) => {
|
||||
const n = document.body,
|
||||
r = document.documentElement,
|
||||
o = e.getContainer(),
|
||||
l = R(o),
|
||||
c = ((e) => {
|
||||
const t = R(e.getElement());
|
||||
return _(t)
|
||||
.map(j)
|
||||
.getOrThunk(() =>
|
||||
((e) => {
|
||||
const t = e.dom.body;
|
||||
if (null == t) throw new Error("Body is not available yet");
|
||||
return R(t);
|
||||
})(q(t)),
|
||||
);
|
||||
})(e),
|
||||
u = t.get(),
|
||||
d = R(e.getBody()),
|
||||
h = De.deviceType.isTouch(),
|
||||
g = o.style,
|
||||
p = e.iframeElement,
|
||||
f = null == p ? void 0 : p.style,
|
||||
v = (e) => {
|
||||
e(n, "tox-fullscreen"),
|
||||
e(r, "tox-fullscreen"),
|
||||
e(o, "tox-fullscreen"),
|
||||
_(l)
|
||||
.map((e) => j(e).dom)
|
||||
.each((t) => {
|
||||
e(t, "tox-fullscreen"), e(t, "tox-shadowhost");
|
||||
});
|
||||
},
|
||||
y = () => {
|
||||
h &&
|
||||
((e) => {
|
||||
const t = ((e, t) => {
|
||||
const n = document;
|
||||
return (1 !== (r = n).nodeType &&
|
||||
9 !== r.nodeType &&
|
||||
11 !== r.nodeType) ||
|
||||
0 === r.childElementCount
|
||||
? []
|
||||
: x(n.querySelectorAll(e), R);
|
||||
var r;
|
||||
})("[" + Ve + "]");
|
||||
E(t, (t) => {
|
||||
const n = $(t, Ve);
|
||||
n && "no-styles" !== n ? K(t, e.parseStyle(n)) : U(t, "style"),
|
||||
U(t, Ve);
|
||||
});
|
||||
})(e.dom),
|
||||
v(Ue.removeClass),
|
||||
Ke.unbind(),
|
||||
w.from(t.get()).each((e) => e.fullscreenChangeHandler.unbind());
|
||||
};
|
||||
if (u)
|
||||
u.fullscreenChangeHandler.unbind(),
|
||||
qe(e) &&
|
||||
He(c) &&
|
||||
((e) => {
|
||||
const t = e.dom;
|
||||
t.exitFullscreen
|
||||
? t.exitFullscreen()
|
||||
: t.msExitFullscreen
|
||||
? t.msExitFullscreen()
|
||||
: t.webkitCancelFullScreen && t.webkitCancelFullScreen();
|
||||
})(q(c)),
|
||||
(f.width = u.iframeWidth),
|
||||
(f.height = u.iframeHeight),
|
||||
(g.width = u.containerWidth),
|
||||
(g.height = u.containerHeight),
|
||||
(g.top = u.containerTop),
|
||||
(g.left = u.containerLeft),
|
||||
y(),
|
||||
(b = u.scrollPos),
|
||||
window.scrollTo(b.x, b.y),
|
||||
t.set(null),
|
||||
We(e, !1),
|
||||
e.off("remove", y);
|
||||
else {
|
||||
const n = J(
|
||||
q(c),
|
||||
void 0 !== document.fullscreenElement
|
||||
? "fullscreenchange"
|
||||
: void 0 !== document.msFullscreenElement
|
||||
? "MSFullscreenChange"
|
||||
: void 0 !== document.webkitFullscreenElement
|
||||
? "webkitfullscreenchange"
|
||||
: "fullscreenchange",
|
||||
(n) => {
|
||||
qe(e) && (He(c) || null === t.get() || Xe(e, t));
|
||||
},
|
||||
),
|
||||
r = {
|
||||
scrollPos: Me(window),
|
||||
containerWidth: g.width,
|
||||
containerHeight: g.height,
|
||||
containerTop: g.top,
|
||||
containerLeft: g.left,
|
||||
iframeWidth: f.width,
|
||||
iframeHeight: f.height,
|
||||
fullscreenChangeHandler: n,
|
||||
};
|
||||
h &&
|
||||
((e, t, n) => {
|
||||
const r = (t) => (n) => {
|
||||
const r = $(n, "style"),
|
||||
o = void 0 === r ? "no-styles" : r.trim();
|
||||
o !== t &&
|
||||
(((e, t, n) => {
|
||||
((e, t, n) => {
|
||||
if (!(s(n) || a(n) || m(n)))
|
||||
throw (
|
||||
(console.error(
|
||||
"Invalid call to Attribute.set. Key ",
|
||||
t,
|
||||
":: Value ",
|
||||
n,
|
||||
":: Element ",
|
||||
e,
|
||||
),
|
||||
new Error("Attribute value was not simple"))
|
||||
);
|
||||
e.setAttribute(t, n + "");
|
||||
})(e.dom, t, n);
|
||||
})(n, Ve, o),
|
||||
K(n, e.parseStyle(t)));
|
||||
},
|
||||
o = Ie(t, "*"),
|
||||
l = ((e) => {
|
||||
const t = [];
|
||||
for (let n = 0, r = e.length; n < r; ++n) {
|
||||
if (!i(e[n]))
|
||||
throw new Error(
|
||||
"Arr.flatten item " +
|
||||
n +
|
||||
" was not an array, input: " +
|
||||
e,
|
||||
);
|
||||
S.apply(t, e[n]);
|
||||
}
|
||||
return t;
|
||||
})(x(o, (e) => Be(e, "*:not(.tox-silver-sink)"))),
|
||||
c = $e(n);
|
||||
E(l, r("display:none!important;")),
|
||||
E(o, r(_e + je + c)),
|
||||
r((!0 === ze ? "" : _e) + je + c)(t);
|
||||
})(e.dom, l, d),
|
||||
(f.width = f.height = "100%"),
|
||||
(g.width = g.height = ""),
|
||||
v(Ue.addClass),
|
||||
Ke.bind(l),
|
||||
e.on("remove", y),
|
||||
t.set(r),
|
||||
qe(e) &&
|
||||
((e) => {
|
||||
const t = e.dom;
|
||||
t.requestFullscreen
|
||||
? t.requestFullscreen()
|
||||
: t.msRequestFullscreen
|
||||
? t.msRequestFullscreen()
|
||||
: t.webkitRequestFullScreen && t.webkitRequestFullScreen();
|
||||
})(c),
|
||||
We(e, !0);
|
||||
}
|
||||
var b;
|
||||
},
|
||||
Ye = (e, t) => (n) => {
|
||||
n.setActive(null !== t.get());
|
||||
const r = (e) => n.setActive(e.state);
|
||||
return (
|
||||
e.on("FullscreenStateChanged", r),
|
||||
() => e.off("FullscreenStateChanged", r)
|
||||
);
|
||||
};
|
||||
t.add("fullscreen", (t) => {
|
||||
const n = e(null);
|
||||
return (
|
||||
t.inline ||
|
||||
(((e) => {
|
||||
(0, e.options.register)("fullscreen_native", {
|
||||
processor: "boolean",
|
||||
default: !1,
|
||||
});
|
||||
})(t),
|
||||
((e, t) => {
|
||||
e.addCommand("mceFullScreen", () => {
|
||||
Xe(e, t);
|
||||
});
|
||||
})(t, n),
|
||||
((e, t) => {
|
||||
const n = () => e.execCommand("mceFullScreen");
|
||||
e.ui.registry.addToggleMenuItem("fullscreen", {
|
||||
text: "Fullscreen",
|
||||
icon: "fullscreen",
|
||||
shortcut: "Meta+Shift+F",
|
||||
onAction: n,
|
||||
onSetup: Ye(e, t),
|
||||
}),
|
||||
e.ui.registry.addToggleButton("fullscreen", {
|
||||
tooltip: "Fullscreen",
|
||||
icon: "fullscreen",
|
||||
onAction: n,
|
||||
onSetup: Ye(e, t),
|
||||
});
|
||||
})(t, n),
|
||||
t.addShortcut("Meta+Shift+F", "", "mceFullScreen")),
|
||||
((e) => ({ isFullscreen: () => null !== e.get() }))(n)
|
||||
);
|
||||
});
|
||||
})();
|
||||
1174
src/lib/dist/tinymce/plugins/image/plugin.min.js
vendored
1174
src/lib/dist/tinymce/plugins/image/plugin.min.js
vendored
File diff suppressed because it is too large
Load Diff
263
src/lib/dist/tinymce/plugins/importcss/plugin.min.js
vendored
263
src/lib/dist/tinymce/plugins/importcss/plugin.min.js
vendored
@ -1,263 +0,0 @@
|
||||
/**
|
||||
* TinyMCE version 6.7.0 (2023-08-30)
|
||||
*/
|
||||
!(function () {
|
||||
"use strict";
|
||||
var e = tinymce.util.Tools.resolve("tinymce.PluginManager");
|
||||
const t = (e) => (t) =>
|
||||
((e) => {
|
||||
const t = typeof e;
|
||||
return null === e
|
||||
? "null"
|
||||
: "object" === t && Array.isArray(e)
|
||||
? "array"
|
||||
: "object" === t &&
|
||||
((s = r = e),
|
||||
(o = String).prototype.isPrototypeOf(s) ||
|
||||
(null === (n = r.constructor) || void 0 === n
|
||||
? void 0
|
||||
: n.name) === o.name)
|
||||
? "string"
|
||||
: t;
|
||||
var s, r, o, n;
|
||||
})(t) === e,
|
||||
s = t("string"),
|
||||
r = t("object"),
|
||||
o = t("array"),
|
||||
n = ("function", (e) => "function" == typeof e);
|
||||
var c = tinymce.util.Tools.resolve("tinymce.dom.DOMUtils"),
|
||||
i = tinymce.util.Tools.resolve("tinymce.EditorManager"),
|
||||
l = tinymce.util.Tools.resolve("tinymce.Env"),
|
||||
a = tinymce.util.Tools.resolve("tinymce.util.Tools");
|
||||
const p = (e) => (t) => t.options.get(e),
|
||||
u = p("importcss_merge_classes"),
|
||||
m = p("importcss_exclusive"),
|
||||
f = p("importcss_selector_converter"),
|
||||
y = p("importcss_selector_filter"),
|
||||
d = p("importcss_groups"),
|
||||
h = p("importcss_append"),
|
||||
_ = p("importcss_file_filter"),
|
||||
g = p("skin"),
|
||||
v = p("skin_url"),
|
||||
b = Array.prototype.push,
|
||||
x = /^\.(?:ephox|tiny-pageembed|mce)(?:[.-]+\w+)+$/,
|
||||
T = (e) =>
|
||||
s(e)
|
||||
? (t) => -1 !== t.indexOf(e)
|
||||
: e instanceof RegExp
|
||||
? (t) => e.test(t)
|
||||
: e,
|
||||
S = (e, t) => {
|
||||
let s = {};
|
||||
const r = /^(?:([a-z0-9\-_]+))?(\.[a-z0-9_\-\.]+)$/i.exec(t);
|
||||
if (!r) return;
|
||||
const o = r[1],
|
||||
n = r[2].substr(1).split(".").join(" "),
|
||||
c = a.makeMap("a,img");
|
||||
return (
|
||||
r[1]
|
||||
? ((s = { title: t }),
|
||||
e.schema.getTextBlockElements()[o]
|
||||
? (s.block = o)
|
||||
: e.schema.getBlockElements()[o] || c[o.toLowerCase()]
|
||||
? (s.selector = o)
|
||||
: (s.inline = o))
|
||||
: r[2] && (s = { inline: "span", title: t.substr(1), classes: n }),
|
||||
u(e) ? (s.classes = n) : (s.attributes = { class: n }),
|
||||
s
|
||||
);
|
||||
},
|
||||
k = (e, t) => null === t || m(e),
|
||||
w = (e) => {
|
||||
e.on("init", () => {
|
||||
const t = (() => {
|
||||
const e = [],
|
||||
t = [],
|
||||
s = {};
|
||||
return {
|
||||
addItemToGroup: (e, r) => {
|
||||
s[e] ? s[e].push(r) : (t.push(e), (s[e] = [r]));
|
||||
},
|
||||
addItem: (t) => {
|
||||
e.push(t);
|
||||
},
|
||||
toFormats: () => {
|
||||
return ((r = t),
|
||||
(n = (e) => {
|
||||
const t = s[e];
|
||||
return 0 === t.length ? [] : [{ title: e, items: t }];
|
||||
}),
|
||||
((e) => {
|
||||
const t = [];
|
||||
for (let s = 0, r = e.length; s < r; ++s) {
|
||||
if (!o(e[s]))
|
||||
throw new Error(
|
||||
"Arr.flatten item " +
|
||||
s +
|
||||
" was not an array, input: " +
|
||||
e,
|
||||
);
|
||||
b.apply(t, e[s]);
|
||||
}
|
||||
return t;
|
||||
})(
|
||||
((e, t) => {
|
||||
const s = e.length,
|
||||
r = new Array(s);
|
||||
for (let o = 0; o < s; o++) {
|
||||
const s = e[o];
|
||||
r[o] = t(s, o);
|
||||
}
|
||||
return r;
|
||||
})(r, n),
|
||||
)).concat(e);
|
||||
var r, n;
|
||||
},
|
||||
};
|
||||
})(),
|
||||
r = {},
|
||||
n = T(y(e)),
|
||||
p = ((e) =>
|
||||
a.map(e, (e) =>
|
||||
a.extend({}, e, {
|
||||
original: e,
|
||||
selectors: {},
|
||||
filter: T(e.filter),
|
||||
}),
|
||||
))(d(e)),
|
||||
u = (t, s) => {
|
||||
if (
|
||||
((e, t, s, r) => !(k(e, s) ? t in r : t in s.selectors))(
|
||||
e,
|
||||
t,
|
||||
s,
|
||||
r,
|
||||
)
|
||||
) {
|
||||
((e, t, s, r) => {
|
||||
k(e, s) ? (r[t] = !0) : (s.selectors[t] = !0);
|
||||
})(e, t, s, r);
|
||||
const o = ((e, t, s, r) => {
|
||||
let o;
|
||||
const n = f(e);
|
||||
return (
|
||||
(o =
|
||||
r && r.selector_converter
|
||||
? r.selector_converter
|
||||
: n || (() => S(e, s))),
|
||||
o.call(t, s, r)
|
||||
);
|
||||
})(e, e.plugins.importcss, t, s);
|
||||
if (o) {
|
||||
const t = o.name || c.DOM.uniqueId();
|
||||
return (
|
||||
e.formatter.register(t, o), { title: o.title, format: t }
|
||||
);
|
||||
}
|
||||
}
|
||||
return null;
|
||||
};
|
||||
a.each(
|
||||
((e, t, r) => {
|
||||
const o = [],
|
||||
n = {},
|
||||
c = (t, n) => {
|
||||
let p,
|
||||
u = t.href;
|
||||
if (
|
||||
((u = ((e) => {
|
||||
const t = l.cacheSuffix;
|
||||
return (
|
||||
s(e) && (e = e.replace("?" + t, "").replace("&" + t, "")),
|
||||
e
|
||||
);
|
||||
})(u)),
|
||||
u &&
|
||||
(!r || r(u, n)) &&
|
||||
!((e, t) => {
|
||||
const s = g(e);
|
||||
if (s) {
|
||||
const r = v(e),
|
||||
o = r
|
||||
? e.documentBaseURI.toAbsolute(r)
|
||||
: i.baseURL + "/skins/ui/" + s,
|
||||
n = i.baseURL + "/skins/content/";
|
||||
return (
|
||||
t ===
|
||||
o +
|
||||
"/content" +
|
||||
(e.inline ? ".inline" : "") +
|
||||
".min.css" || -1 !== t.indexOf(n)
|
||||
);
|
||||
}
|
||||
return !1;
|
||||
})(e, u))
|
||||
) {
|
||||
a.each(t.imports, (e) => {
|
||||
c(e, !0);
|
||||
});
|
||||
try {
|
||||
p = t.cssRules || t.rules;
|
||||
} catch (e) {}
|
||||
a.each(p, (e) => {
|
||||
e.styleSheet
|
||||
? c(e.styleSheet, !0)
|
||||
: e.selectorText &&
|
||||
a.each(e.selectorText.split(","), (e) => {
|
||||
o.push(a.trim(e));
|
||||
});
|
||||
});
|
||||
}
|
||||
};
|
||||
a.each(e.contentCSS, (e) => {
|
||||
n[e] = !0;
|
||||
}),
|
||||
r || (r = (e, t) => t || n[e]);
|
||||
try {
|
||||
a.each(t.styleSheets, (e) => {
|
||||
c(e);
|
||||
});
|
||||
} catch (e) {}
|
||||
return o;
|
||||
})(e, e.getDoc(), T(_(e))),
|
||||
(e) => {
|
||||
if (!x.test(e) && (!n || n(e))) {
|
||||
const s = ((e, t) => a.grep(e, (e) => !e.filter || e.filter(t)))(
|
||||
p,
|
||||
e,
|
||||
);
|
||||
if (s.length > 0)
|
||||
a.each(s, (s) => {
|
||||
const r = u(e, s);
|
||||
r && t.addItemToGroup(s.title, r);
|
||||
});
|
||||
else {
|
||||
const s = u(e, null);
|
||||
s && t.addItem(s);
|
||||
}
|
||||
}
|
||||
},
|
||||
);
|
||||
const m = t.toFormats();
|
||||
e.dispatch("addStyleModifications", { items: m, replace: !h(e) });
|
||||
});
|
||||
};
|
||||
e.add(
|
||||
"importcss",
|
||||
(e) => (
|
||||
((e) => {
|
||||
const t = e.options.register,
|
||||
o = (e) => s(e) || n(e) || r(e);
|
||||
t("importcss_merge_classes", { processor: "boolean", default: !0 }),
|
||||
t("importcss_exclusive", { processor: "boolean", default: !0 }),
|
||||
t("importcss_selector_converter", { processor: "function" }),
|
||||
t("importcss_selector_filter", { processor: o }),
|
||||
t("importcss_file_filter", { processor: o }),
|
||||
t("importcss_groups", { processor: "object[]" }),
|
||||
t("importcss_append", { processor: "boolean", default: !1 });
|
||||
})(e),
|
||||
w(e),
|
||||
((e) => ({ convertSelectorToFormat: (t) => S(e, t) }))(e)
|
||||
),
|
||||
);
|
||||
})();
|
||||
@ -1,158 +0,0 @@
|
||||
/**
|
||||
* TinyMCE version 6.7.0 (2023-08-30)
|
||||
*/
|
||||
!(function () {
|
||||
"use strict";
|
||||
var e = tinymce.util.Tools.resolve("tinymce.PluginManager");
|
||||
const t = (e) => (t) => t.options.get(e),
|
||||
a = t("insertdatetime_dateformat"),
|
||||
n = t("insertdatetime_timeformat"),
|
||||
r = t("insertdatetime_formats"),
|
||||
s = t("insertdatetime_element"),
|
||||
i = "Sun Mon Tue Wed Thu Fri Sat Sun".split(" "),
|
||||
o = "Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sunday".split(
|
||||
" ",
|
||||
),
|
||||
l = "Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),
|
||||
m =
|
||||
"January February March April May June July August September October November December".split(
|
||||
" ",
|
||||
),
|
||||
c = (e, t) => {
|
||||
if ((e = "" + e).length < t)
|
||||
for (let a = 0; a < t - e.length; a++) e = "0" + e;
|
||||
return e;
|
||||
},
|
||||
d = (e, t, a = new Date()) =>
|
||||
(t = (t = (t = (t = (t = (t = (t = (t = (t = (t = (t = (t = (t = (t = (t =
|
||||
t.replace("%D", "%m/%d/%Y")).replace("%r", "%I:%M:%S %p")).replace(
|
||||
"%Y",
|
||||
"" + a.getFullYear(),
|
||||
)).replace("%y", "" + a.getYear())).replace(
|
||||
"%m",
|
||||
c(a.getMonth() + 1, 2),
|
||||
)).replace("%d", c(a.getDate(), 2))).replace(
|
||||
"%H",
|
||||
"" + c(a.getHours(), 2),
|
||||
)).replace("%M", "" + c(a.getMinutes(), 2))).replace(
|
||||
"%S",
|
||||
"" + c(a.getSeconds(), 2),
|
||||
)).replace("%I", "" + (((a.getHours() + 11) % 12) + 1))).replace(
|
||||
"%p",
|
||||
a.getHours() < 12 ? "AM" : "PM",
|
||||
)).replace("%B", "" + e.translate(m[a.getMonth()]))).replace(
|
||||
"%b",
|
||||
"" + e.translate(l[a.getMonth()]),
|
||||
)).replace("%A", "" + e.translate(o[a.getDay()]))).replace(
|
||||
"%a",
|
||||
"" + e.translate(i[a.getDay()]),
|
||||
)).replace("%%", "%"),
|
||||
u = (e, t) => {
|
||||
if (s(e)) {
|
||||
const a = d(e, t);
|
||||
let n;
|
||||
n = /%[HMSIp]/.test(t) ? d(e, "%Y-%m-%dT%H:%M") : d(e, "%Y-%m-%d");
|
||||
const r = e.dom.getParent(e.selection.getStart(), "time");
|
||||
r
|
||||
? ((e, t, a, n) => {
|
||||
const r = e.dom.create("time", { datetime: a }, n);
|
||||
e.dom.replace(r, t),
|
||||
e.selection.select(r, !0),
|
||||
e.selection.collapse(!1);
|
||||
})(e, r, n, a)
|
||||
: e.insertContent('<time datetime="' + n + '">' + a + "</time>");
|
||||
} else e.insertContent(d(e, t));
|
||||
};
|
||||
var p = tinymce.util.Tools.resolve("tinymce.util.Tools");
|
||||
const g = (e) => (t) => {
|
||||
const a = () => {
|
||||
t.setEnabled(e.selection.isEditable());
|
||||
};
|
||||
return (
|
||||
e.on("NodeChange", a),
|
||||
a(),
|
||||
() => {
|
||||
e.off("NodeChange", a);
|
||||
}
|
||||
);
|
||||
};
|
||||
e.add("insertdatetime", (e) => {
|
||||
((e) => {
|
||||
const t = e.options.register;
|
||||
t("insertdatetime_dateformat", {
|
||||
processor: "string",
|
||||
default: e.translate("%Y-%m-%d"),
|
||||
}),
|
||||
t("insertdatetime_timeformat", {
|
||||
processor: "string",
|
||||
default: e.translate("%H:%M:%S"),
|
||||
}),
|
||||
t("insertdatetime_formats", {
|
||||
processor: "string[]",
|
||||
default: ["%H:%M:%S", "%Y-%m-%d", "%I:%M:%S %p", "%D"],
|
||||
}),
|
||||
t("insertdatetime_element", { processor: "boolean", default: !1 });
|
||||
})(e),
|
||||
((e) => {
|
||||
e.addCommand("mceInsertDate", (t, n) => {
|
||||
u(e, null != n ? n : a(e));
|
||||
}),
|
||||
e.addCommand("mceInsertTime", (t, a) => {
|
||||
u(e, null != a ? a : n(e));
|
||||
});
|
||||
})(e),
|
||||
((e) => {
|
||||
const t = r(e),
|
||||
a = ((e) => {
|
||||
let t = e;
|
||||
return {
|
||||
get: () => t,
|
||||
set: (e) => {
|
||||
t = e;
|
||||
},
|
||||
};
|
||||
})(
|
||||
((e) => {
|
||||
const t = r(e);
|
||||
return t.length > 0 ? t[0] : n(e);
|
||||
})(e),
|
||||
),
|
||||
s = (t) => e.execCommand("mceInsertDate", !1, t);
|
||||
e.ui.registry.addSplitButton("insertdatetime", {
|
||||
icon: "insert-time",
|
||||
tooltip: "Insert date/time",
|
||||
select: (e) => e === a.get(),
|
||||
fetch: (a) => {
|
||||
a(
|
||||
p.map(t, (t) => ({
|
||||
type: "choiceitem",
|
||||
text: d(e, t),
|
||||
value: t,
|
||||
})),
|
||||
);
|
||||
},
|
||||
onAction: (e) => {
|
||||
s(a.get());
|
||||
},
|
||||
onItemAction: (e, t) => {
|
||||
a.set(t), s(t);
|
||||
},
|
||||
onSetup: g(e),
|
||||
});
|
||||
const i = (e) => () => {
|
||||
a.set(e), s(e);
|
||||
};
|
||||
e.ui.registry.addNestedMenuItem("insertdatetime", {
|
||||
icon: "insert-time",
|
||||
text: "Date/time",
|
||||
getSubmenuItems: () =>
|
||||
p.map(t, (t) => ({
|
||||
type: "menuitem",
|
||||
text: d(e, t),
|
||||
onAction: i(t),
|
||||
})),
|
||||
onSetup: g(e),
|
||||
});
|
||||
})(e);
|
||||
});
|
||||
})();
|
||||
1010
src/lib/dist/tinymce/plugins/link/plugin.min.js
vendored
1010
src/lib/dist/tinymce/plugins/link/plugin.min.js
vendored
File diff suppressed because it is too large
Load Diff
1545
src/lib/dist/tinymce/plugins/lists/plugin.min.js
vendored
1545
src/lib/dist/tinymce/plugins/lists/plugin.min.js
vendored
File diff suppressed because it is too large
Load Diff
1068
src/lib/dist/tinymce/plugins/media/plugin.min.js
vendored
1068
src/lib/dist/tinymce/plugins/media/plugin.min.js
vendored
File diff suppressed because it is too large
Load Diff
@ -1,83 +0,0 @@
|
||||
/**
|
||||
* TinyMCE version 6.7.0 (2023-08-30)
|
||||
*/
|
||||
!(function () {
|
||||
"use strict";
|
||||
var n = tinymce.util.Tools.resolve("tinymce.PluginManager");
|
||||
const e = (n) => (e) => typeof e === n,
|
||||
o = e("boolean"),
|
||||
a = e("number"),
|
||||
t = (n) => (e) => e.options.get(n),
|
||||
i = t("nonbreaking_force_tab"),
|
||||
s = t("nonbreaking_wrap"),
|
||||
r = (n, e) => {
|
||||
let o = "";
|
||||
for (let a = 0; a < e; a++) o += n;
|
||||
return o;
|
||||
},
|
||||
c = (n, e) => {
|
||||
const o =
|
||||
s(n) || n.plugins.visualchars
|
||||
? `<span class="${((n) => !!n.plugins.visualchars && n.plugins.visualchars.isEnabled())(n) ? "mce-nbsp-wrap mce-nbsp" : "mce-nbsp-wrap"}" contenteditable="false">${r(" ", e)}</span>`
|
||||
: r(" ", e);
|
||||
n.undoManager.transact(() => n.insertContent(o));
|
||||
};
|
||||
var l = tinymce.util.Tools.resolve("tinymce.util.VK");
|
||||
const u = (n) => (e) => {
|
||||
const o = () => {
|
||||
e.setEnabled(n.selection.isEditable());
|
||||
};
|
||||
return (
|
||||
n.on("NodeChange", o),
|
||||
o(),
|
||||
() => {
|
||||
n.off("NodeChange", o);
|
||||
}
|
||||
);
|
||||
};
|
||||
n.add("nonbreaking", (n) => {
|
||||
((n) => {
|
||||
const e = n.options.register;
|
||||
e("nonbreaking_force_tab", {
|
||||
processor: (n) =>
|
||||
o(n)
|
||||
? { value: n ? 3 : 0, valid: !0 }
|
||||
: a(n)
|
||||
? { value: n, valid: !0 }
|
||||
: { valid: !1, message: "Must be a boolean or number." },
|
||||
default: !1,
|
||||
}),
|
||||
e("nonbreaking_wrap", { processor: "boolean", default: !0 });
|
||||
})(n),
|
||||
((n) => {
|
||||
n.addCommand("mceNonBreaking", () => {
|
||||
c(n, 1);
|
||||
});
|
||||
})(n),
|
||||
((n) => {
|
||||
const e = () => n.execCommand("mceNonBreaking");
|
||||
n.ui.registry.addButton("nonbreaking", {
|
||||
icon: "non-breaking",
|
||||
tooltip: "Nonbreaking space",
|
||||
onAction: e,
|
||||
onSetup: u(n),
|
||||
}),
|
||||
n.ui.registry.addMenuItem("nonbreaking", {
|
||||
icon: "non-breaking",
|
||||
text: "Nonbreaking space",
|
||||
onAction: e,
|
||||
onSetup: u(n),
|
||||
});
|
||||
})(n),
|
||||
((n) => {
|
||||
const e = i(n);
|
||||
e > 0 &&
|
||||
n.on("keydown", (o) => {
|
||||
if (o.keyCode === l.TAB && !o.isDefaultPrevented()) {
|
||||
if (o.shiftKey) return;
|
||||
o.preventDefault(), o.stopImmediatePropagation(), c(n, e);
|
||||
}
|
||||
});
|
||||
})(n);
|
||||
});
|
||||
})();
|
||||
@ -1,94 +0,0 @@
|
||||
/**
|
||||
* TinyMCE version 6.7.0 (2023-08-30)
|
||||
*/
|
||||
!(function () {
|
||||
"use strict";
|
||||
var e = tinymce.util.Tools.resolve("tinymce.PluginManager"),
|
||||
a = tinymce.util.Tools.resolve("tinymce.Env");
|
||||
const t = (e) => (a) => a.options.get(e),
|
||||
n = t("pagebreak_separator"),
|
||||
o = t("pagebreak_split_block"),
|
||||
r = "mce-pagebreak",
|
||||
s = (e) => {
|
||||
const t = `<img src="${a.transparentSrc}" class="${r}" data-mce-resize="false" data-mce-placeholder />`;
|
||||
return e ? `<p>${t}</p>` : t;
|
||||
},
|
||||
c = (e) => (a) => {
|
||||
const t = () => {
|
||||
a.setEnabled(e.selection.isEditable());
|
||||
};
|
||||
return (
|
||||
e.on("NodeChange", t),
|
||||
t(),
|
||||
() => {
|
||||
e.off("NodeChange", t);
|
||||
}
|
||||
);
|
||||
};
|
||||
e.add("pagebreak", (e) => {
|
||||
((e) => {
|
||||
const a = e.options.register;
|
||||
a("pagebreak_separator", {
|
||||
processor: "string",
|
||||
default: "\x3c!-- pagebreak --\x3e",
|
||||
}),
|
||||
a("pagebreak_split_block", { processor: "boolean", default: !1 });
|
||||
})(e),
|
||||
((e) => {
|
||||
e.addCommand("mcePageBreak", () => {
|
||||
e.insertContent(s(o(e)));
|
||||
});
|
||||
})(e),
|
||||
((e) => {
|
||||
const a = () => e.execCommand("mcePageBreak");
|
||||
e.ui.registry.addButton("pagebreak", {
|
||||
icon: "page-break",
|
||||
tooltip: "Page break",
|
||||
onAction: a,
|
||||
onSetup: c(e),
|
||||
}),
|
||||
e.ui.registry.addMenuItem("pagebreak", {
|
||||
text: "Page break",
|
||||
icon: "page-break",
|
||||
onAction: a,
|
||||
onSetup: c(e),
|
||||
});
|
||||
})(e),
|
||||
((e) => {
|
||||
const a = n(e),
|
||||
t = () => o(e),
|
||||
c = new RegExp(
|
||||
a.replace(/[\?\.\*\[\]\(\)\{\}\+\^\$\:]/g, (e) => "\\" + e),
|
||||
"gi",
|
||||
);
|
||||
e.on("BeforeSetContent", (e) => {
|
||||
e.content = e.content.replace(c, s(t()));
|
||||
}),
|
||||
e.on("PreInit", () => {
|
||||
e.serializer.addNodeFilter("img", (n) => {
|
||||
let o,
|
||||
s,
|
||||
c = n.length;
|
||||
for (; c--; )
|
||||
if (
|
||||
((o = n[c]), (s = o.attr("class")), s && -1 !== s.indexOf(r))
|
||||
) {
|
||||
const n = o.parent;
|
||||
if (n && e.schema.getBlockElements()[n.name] && t()) {
|
||||
(n.type = 3), (n.value = a), (n.raw = !0), o.remove();
|
||||
continue;
|
||||
}
|
||||
(o.type = 3), (o.value = a), (o.raw = !0);
|
||||
}
|
||||
});
|
||||
});
|
||||
})(e),
|
||||
((e) => {
|
||||
e.on("ResolveName", (a) => {
|
||||
"IMG" === a.target.nodeName &&
|
||||
e.dom.hasClass(a.target, r) &&
|
||||
(a.name = "pagebreak");
|
||||
});
|
||||
})(e);
|
||||
});
|
||||
})();
|
||||
@ -1,97 +0,0 @@
|
||||
/**
|
||||
* TinyMCE version 6.7.0 (2023-08-30)
|
||||
*/
|
||||
!(function () {
|
||||
"use strict";
|
||||
var e = tinymce.util.Tools.resolve("tinymce.PluginManager"),
|
||||
t = tinymce.util.Tools.resolve("tinymce.Env"),
|
||||
o = tinymce.util.Tools.resolve("tinymce.util.Tools");
|
||||
const n = (e) => (t) => t.options.get(e),
|
||||
i = n("content_style"),
|
||||
s = n("content_css_cors"),
|
||||
c = n("body_class"),
|
||||
r = n("body_id");
|
||||
e.add("preview", (e) => {
|
||||
((e) => {
|
||||
e.addCommand("mcePreview", () => {
|
||||
((e) => {
|
||||
const n = ((e) => {
|
||||
var n;
|
||||
let l = "";
|
||||
const a = e.dom.encode,
|
||||
d = null !== (n = i(e)) && void 0 !== n ? n : "";
|
||||
l += '<base href="' + a(e.documentBaseURI.getURI()) + '">';
|
||||
const m = s(e) ? ' crossorigin="anonymous"' : "";
|
||||
o.each(e.contentCSS, (t) => {
|
||||
l +=
|
||||
'<link type="text/css" rel="stylesheet" href="' +
|
||||
a(e.documentBaseURI.toAbsolute(t)) +
|
||||
'"' +
|
||||
m +
|
||||
">";
|
||||
}),
|
||||
d && (l += '<style type="text/css">' + d + "</style>");
|
||||
const y = r(e),
|
||||
u = c(e),
|
||||
v =
|
||||
'<script>document.addEventListener && document.addEventListener("click", function(e) {for (var elm = e.target; elm; elm = elm.parentNode) {if (elm.nodeName === "A" && !(' +
|
||||
(t.os.isMacOS() || t.os.isiOS()
|
||||
? "e.metaKey"
|
||||
: "e.ctrlKey && !e.altKey") +
|
||||
")) {e.preventDefault();}}}, false);</script> ",
|
||||
p = e.getBody().dir,
|
||||
w = p ? ' dir="' + a(p) + '"' : "";
|
||||
return (
|
||||
"<!DOCTYPE html><html><head>" +
|
||||
l +
|
||||
'</head><body id="' +
|
||||
a(y) +
|
||||
'" class="mce-content-body ' +
|
||||
a(u) +
|
||||
'"' +
|
||||
w +
|
||||
">" +
|
||||
e.getContent() +
|
||||
v +
|
||||
"</body></html>"
|
||||
);
|
||||
})(e);
|
||||
e.windowManager
|
||||
.open({
|
||||
title: "Preview",
|
||||
size: "large",
|
||||
body: {
|
||||
type: "panel",
|
||||
items: [
|
||||
{
|
||||
name: "preview",
|
||||
type: "iframe",
|
||||
sandboxed: !0,
|
||||
transparent: !1,
|
||||
},
|
||||
],
|
||||
},
|
||||
buttons: [
|
||||
{ type: "cancel", name: "close", text: "Close", primary: !0 },
|
||||
],
|
||||
initialData: { preview: n },
|
||||
})
|
||||
.focus("close");
|
||||
})(e);
|
||||
});
|
||||
})(e),
|
||||
((e) => {
|
||||
const t = () => e.execCommand("mcePreview");
|
||||
e.ui.registry.addButton("preview", {
|
||||
icon: "preview",
|
||||
tooltip: "Preview",
|
||||
onAction: t,
|
||||
}),
|
||||
e.ui.registry.addMenuItem("preview", {
|
||||
icon: "preview",
|
||||
text: "Preview",
|
||||
onAction: t,
|
||||
});
|
||||
})(e);
|
||||
});
|
||||
})();
|
||||
310
src/lib/dist/tinymce/plugins/quickbars/plugin.min.js
vendored
310
src/lib/dist/tinymce/plugins/quickbars/plugin.min.js
vendored
@ -1,310 +0,0 @@
|
||||
/**
|
||||
* TinyMCE version 6.7.0 (2023-08-30)
|
||||
*/
|
||||
!(function () {
|
||||
"use strict";
|
||||
var t = tinymce.util.Tools.resolve("tinymce.PluginManager");
|
||||
const e = (t) => (e) => typeof e === t,
|
||||
o =
|
||||
("string",
|
||||
(t) =>
|
||||
"string" ===
|
||||
((t) => {
|
||||
const e = typeof t;
|
||||
return null === t
|
||||
? "null"
|
||||
: "object" === e && Array.isArray(t)
|
||||
? "array"
|
||||
: "object" === e &&
|
||||
((o = n = t),
|
||||
(r = String).prototype.isPrototypeOf(o) ||
|
||||
(null === (i = n.constructor) || void 0 === i
|
||||
? void 0
|
||||
: i.name) === r.name)
|
||||
? "string"
|
||||
: e;
|
||||
var o, n, r, i;
|
||||
})(t));
|
||||
const n = e("boolean"),
|
||||
r = e("function"),
|
||||
i = (t) => (e) => e.options.get(t),
|
||||
s = i("quickbars_selection_toolbar"),
|
||||
a = i("quickbars_insert_toolbar"),
|
||||
l = i("quickbars_image_toolbar");
|
||||
let c = 0;
|
||||
var u = tinymce.util.Tools.resolve("tinymce.util.Delay");
|
||||
const d = (t) => {
|
||||
t.ui.registry.addButton("quickimage", {
|
||||
icon: "image",
|
||||
tooltip: "Insert image",
|
||||
onAction: () => {
|
||||
((t) =>
|
||||
new Promise((e) => {
|
||||
let o = !1;
|
||||
const n = document.createElement("input");
|
||||
(n.type = "file"),
|
||||
(n.accept = "image/*"),
|
||||
(n.style.position = "fixed"),
|
||||
(n.style.left = "0"),
|
||||
(n.style.top = "0"),
|
||||
(n.style.opacity = "0.001"),
|
||||
document.body.appendChild(n);
|
||||
const r = (t) => {
|
||||
var r;
|
||||
o ||
|
||||
(null === (r = n.parentNode) ||
|
||||
void 0 === r ||
|
||||
r.removeChild(n),
|
||||
(o = !0),
|
||||
e(t));
|
||||
},
|
||||
i = (t) => {
|
||||
r(Array.prototype.slice.call(t.target.files));
|
||||
};
|
||||
n.addEventListener("input", i), n.addEventListener("change", i);
|
||||
const s = (e) => {
|
||||
const n = () => {
|
||||
r([]);
|
||||
};
|
||||
o ||
|
||||
("focusin" === e.type ? u.setEditorTimeout(t, n, 1e3) : n()),
|
||||
t.off("focusin remove", s);
|
||||
};
|
||||
t.on("focusin remove", s), n.click();
|
||||
}))(t).then((e) => {
|
||||
if (e.length > 0) {
|
||||
const o = e[0];
|
||||
((t) =>
|
||||
new Promise((e) => {
|
||||
const o = new FileReader();
|
||||
(o.onloadend = () => {
|
||||
e(o.result.split(",")[1]);
|
||||
}),
|
||||
o.readAsDataURL(t);
|
||||
}))(o).then((e) => {
|
||||
((t, e, o) => {
|
||||
const n = t.editorUpload.blobCache,
|
||||
r = n.create(
|
||||
((t) => {
|
||||
const e = new Date().getTime(),
|
||||
o = Math.floor(1e9 * Math.random());
|
||||
return c++, "mceu_" + o + c + String(e);
|
||||
})(),
|
||||
o,
|
||||
e,
|
||||
);
|
||||
n.add(r),
|
||||
t.insertContent(
|
||||
t.dom.createHTML("img", { src: r.blobUri() }),
|
||||
);
|
||||
})(t, e, o);
|
||||
});
|
||||
}
|
||||
});
|
||||
},
|
||||
}),
|
||||
t.ui.registry.addButton("quicktable", {
|
||||
icon: "table",
|
||||
tooltip: "Insert table",
|
||||
onAction: () => {
|
||||
((t, e, o) => {
|
||||
t.execCommand("mceInsertTable", !1, { rows: 2, columns: 2 });
|
||||
})(t);
|
||||
},
|
||||
});
|
||||
},
|
||||
m = (!1, () => false);
|
||||
class g {
|
||||
constructor(t, e) {
|
||||
(this.tag = t), (this.value = e);
|
||||
}
|
||||
static some(t) {
|
||||
return new g(!0, t);
|
||||
}
|
||||
static none() {
|
||||
return g.singletonNone;
|
||||
}
|
||||
fold(t, e) {
|
||||
return this.tag ? e(this.value) : t();
|
||||
}
|
||||
isSome() {
|
||||
return this.tag;
|
||||
}
|
||||
isNone() {
|
||||
return !this.tag;
|
||||
}
|
||||
map(t) {
|
||||
return this.tag ? g.some(t(this.value)) : g.none();
|
||||
}
|
||||
bind(t) {
|
||||
return this.tag ? t(this.value) : g.none();
|
||||
}
|
||||
exists(t) {
|
||||
return this.tag && t(this.value);
|
||||
}
|
||||
forall(t) {
|
||||
return !this.tag || t(this.value);
|
||||
}
|
||||
filter(t) {
|
||||
return !this.tag || t(this.value) ? this : g.none();
|
||||
}
|
||||
getOr(t) {
|
||||
return this.tag ? this.value : t;
|
||||
}
|
||||
or(t) {
|
||||
return this.tag ? this : t;
|
||||
}
|
||||
getOrThunk(t) {
|
||||
return this.tag ? this.value : t();
|
||||
}
|
||||
orThunk(t) {
|
||||
return this.tag ? this : t();
|
||||
}
|
||||
getOrDie(t) {
|
||||
if (this.tag) return this.value;
|
||||
throw new Error(null != t ? t : "Called getOrDie on None");
|
||||
}
|
||||
static from(t) {
|
||||
return null == t ? g.none() : g.some(t);
|
||||
}
|
||||
getOrNull() {
|
||||
return this.tag ? this.value : null;
|
||||
}
|
||||
getOrUndefined() {
|
||||
return this.value;
|
||||
}
|
||||
each(t) {
|
||||
this.tag && t(this.value);
|
||||
}
|
||||
toArray() {
|
||||
return this.tag ? [this.value] : [];
|
||||
}
|
||||
toString() {
|
||||
return this.tag ? `some(${this.value})` : "none()";
|
||||
}
|
||||
}
|
||||
(g.singletonNone = new g(!1)),
|
||||
"undefined" != typeof window ? window : Function("return this;")();
|
||||
var h = (t, e, o, n, i) =>
|
||||
t(o, n) ? g.some(o) : r(i) && i(o) ? g.none() : e(o, n, i);
|
||||
const b = (t) => {
|
||||
if (null == t) throw new Error("Node cannot be null or undefined");
|
||||
return { dom: t };
|
||||
},
|
||||
p = b,
|
||||
v = (t, e) => {
|
||||
const o = t.dom;
|
||||
if (1 !== o.nodeType) return !1;
|
||||
{
|
||||
const t = o;
|
||||
if (void 0 !== t.matches) return t.matches(e);
|
||||
if (void 0 !== t.msMatchesSelector) return t.msMatchesSelector(e);
|
||||
if (void 0 !== t.webkitMatchesSelector)
|
||||
return t.webkitMatchesSelector(e);
|
||||
if (void 0 !== t.mozMatchesSelector) return t.mozMatchesSelector(e);
|
||||
throw new Error("Browser lacks native selectors");
|
||||
}
|
||||
},
|
||||
f = (t, e, o) => {
|
||||
let n = t.dom;
|
||||
const i = r(o) ? o : m;
|
||||
for (; n.parentNode; ) {
|
||||
n = n.parentNode;
|
||||
const t = p(n);
|
||||
if (e(t)) return g.some(t);
|
||||
if (i(t)) break;
|
||||
}
|
||||
return g.none();
|
||||
},
|
||||
y = (t, e, o) => f(t, (t) => v(t, e), o),
|
||||
k = (t) => {
|
||||
const e = a(t);
|
||||
e.length > 0 &&
|
||||
t.ui.registry.addContextToolbar("quickblock", {
|
||||
predicate: (e) => {
|
||||
const o = p(e),
|
||||
n = t.schema.getTextBlockElements(),
|
||||
r = (e) => e.dom === t.getBody();
|
||||
return (
|
||||
!((t, e) => {
|
||||
const o = t.dom;
|
||||
return (
|
||||
!(!o || !o.hasAttribute) && o.hasAttribute("data-mce-bogus")
|
||||
);
|
||||
})(o) &&
|
||||
((t, e, o) =>
|
||||
h((t, e) => v(t, e), y, t, 'table,[data-mce-bogus="all"]', o))(
|
||||
o,
|
||||
0,
|
||||
r,
|
||||
).fold(
|
||||
() =>
|
||||
((t, e, o) =>
|
||||
((t, e, o) => h((t, e) => e(t), f, t, e, o))(
|
||||
t,
|
||||
e,
|
||||
o,
|
||||
).isSome())(
|
||||
o,
|
||||
(e) =>
|
||||
e.dom.nodeName.toLowerCase() in n && t.dom.isEmpty(e.dom),
|
||||
r,
|
||||
),
|
||||
m,
|
||||
)
|
||||
);
|
||||
},
|
||||
items: e,
|
||||
position: "line",
|
||||
scope: "editor",
|
||||
});
|
||||
};
|
||||
t.add("quickbars", (t) => {
|
||||
((t) => {
|
||||
const e = t.options.register,
|
||||
r = (t) => (e) => {
|
||||
const r = n(e) || o(e);
|
||||
return r
|
||||
? n(e)
|
||||
? { value: e ? t : "", valid: r }
|
||||
: { value: e.trim(), valid: r }
|
||||
: { valid: !1, message: "Must be a boolean or string." };
|
||||
},
|
||||
i = "bold italic | quicklink h2 h3 blockquote";
|
||||
e("quickbars_selection_toolbar", { processor: r(i), default: i });
|
||||
const s = "quickimage quicktable";
|
||||
e("quickbars_insert_toolbar", { processor: r(s), default: s });
|
||||
const a = "alignleft aligncenter alignright";
|
||||
e("quickbars_image_toolbar", { processor: r(a), default: a });
|
||||
})(t),
|
||||
d(t),
|
||||
k(t),
|
||||
((t) => {
|
||||
const e = (e) => t.dom.isEditable(e),
|
||||
o = (t) => {
|
||||
const o = "FIGURE" === t.nodeName && /image/i.test(t.className),
|
||||
n = "IMG" === t.nodeName || o,
|
||||
r =
|
||||
((t) => void 0 !== t.dom.classList)((i = p(t))) &&
|
||||
i.dom.classList.contains("mce-pagebreak");
|
||||
var i;
|
||||
return n && e(t.parentElement) && !r;
|
||||
},
|
||||
n = l(t);
|
||||
n.length > 0 &&
|
||||
t.ui.registry.addContextToolbar("imageselection", {
|
||||
predicate: o,
|
||||
items: n,
|
||||
position: "node",
|
||||
});
|
||||
const r = s(t);
|
||||
r.length > 0 &&
|
||||
t.ui.registry.addContextToolbar("textselection", {
|
||||
predicate: (n) => !o(n) && !t.selection.isCollapsed() && e(n),
|
||||
items: r,
|
||||
position: "selection",
|
||||
scope: "editor",
|
||||
});
|
||||
})(t);
|
||||
});
|
||||
})();
|
||||
76
src/lib/dist/tinymce/plugins/save/plugin.min.js
vendored
76
src/lib/dist/tinymce/plugins/save/plugin.min.js
vendored
@ -1,76 +0,0 @@
|
||||
/**
|
||||
* TinyMCE version 6.7.0 (2023-08-30)
|
||||
*/
|
||||
!(function () {
|
||||
"use strict";
|
||||
var e = tinymce.util.Tools.resolve("tinymce.PluginManager");
|
||||
const n = ("function", (e) => "function" == typeof e);
|
||||
var o = tinymce.util.Tools.resolve("tinymce.dom.DOMUtils"),
|
||||
t = tinymce.util.Tools.resolve("tinymce.util.Tools");
|
||||
const a = (e) => (n) => n.options.get(e),
|
||||
c = a("save_enablewhendirty"),
|
||||
i = a("save_onsavecallback"),
|
||||
s = a("save_oncancelcallback"),
|
||||
r = (e, n) => {
|
||||
e.notificationManager.open({ text: n, type: "error" });
|
||||
},
|
||||
l = (e) => (n) => {
|
||||
const o = () => {
|
||||
n.setEnabled(!c(e) || e.isDirty());
|
||||
};
|
||||
return (
|
||||
o(), e.on("NodeChange dirty", o), () => e.off("NodeChange dirty", o)
|
||||
);
|
||||
};
|
||||
e.add("save", (e) => {
|
||||
((e) => {
|
||||
const n = e.options.register;
|
||||
n("save_enablewhendirty", { processor: "boolean", default: !0 }),
|
||||
n("save_onsavecallback", { processor: "function" }),
|
||||
n("save_oncancelcallback", { processor: "function" });
|
||||
})(e),
|
||||
((e) => {
|
||||
e.ui.registry.addButton("save", {
|
||||
icon: "save",
|
||||
tooltip: "Save",
|
||||
enabled: !1,
|
||||
onAction: () => e.execCommand("mceSave"),
|
||||
onSetup: l(e),
|
||||
}),
|
||||
e.ui.registry.addButton("cancel", {
|
||||
icon: "cancel",
|
||||
tooltip: "Cancel",
|
||||
enabled: !1,
|
||||
onAction: () => e.execCommand("mceCancel"),
|
||||
onSetup: l(e),
|
||||
}),
|
||||
e.addShortcut("Meta+S", "", "mceSave");
|
||||
})(e),
|
||||
((e) => {
|
||||
e.addCommand("mceSave", () => {
|
||||
((e) => {
|
||||
const t = o.DOM.getParent(e.id, "form");
|
||||
if (c(e) && !e.isDirty()) return;
|
||||
e.save();
|
||||
const a = i(e);
|
||||
if (n(a)) return a.call(e, e), void e.nodeChanged();
|
||||
t
|
||||
? (e.setDirty(!1),
|
||||
(t.onsubmit && !t.onsubmit()) ||
|
||||
("function" == typeof t.submit
|
||||
? t.submit()
|
||||
: r(e, "Error: Form submit field collision.")),
|
||||
e.nodeChanged())
|
||||
: r(e, "Error: No form element found.");
|
||||
})(e);
|
||||
}),
|
||||
e.addCommand("mceCancel", () => {
|
||||
((e) => {
|
||||
const o = t.trim(e.startContent),
|
||||
a = s(e);
|
||||
n(a) ? a.call(e, e) : e.resetContent(o);
|
||||
})(e);
|
||||
});
|
||||
})(e);
|
||||
});
|
||||
})();
|
||||
@ -1,826 +0,0 @@
|
||||
/**
|
||||
* TinyMCE version 6.7.0 (2023-08-30)
|
||||
*/
|
||||
!(function () {
|
||||
"use strict";
|
||||
const e = (e) => {
|
||||
let t = e;
|
||||
return {
|
||||
get: () => t,
|
||||
set: (e) => {
|
||||
t = e;
|
||||
},
|
||||
};
|
||||
};
|
||||
var t = tinymce.util.Tools.resolve("tinymce.PluginManager");
|
||||
const n = (e) => (t) =>
|
||||
((e) => {
|
||||
const t = typeof e;
|
||||
return null === e
|
||||
? "null"
|
||||
: "object" === t && Array.isArray(e)
|
||||
? "array"
|
||||
: "object" === t &&
|
||||
((n = o = e),
|
||||
(r = String).prototype.isPrototypeOf(n) ||
|
||||
(null === (s = o.constructor) || void 0 === s
|
||||
? void 0
|
||||
: s.name) === r.name)
|
||||
? "string"
|
||||
: t;
|
||||
var n, o, r, s;
|
||||
})(t) === e,
|
||||
o = (e) => (t) => typeof t === e,
|
||||
r = n("string"),
|
||||
s = n("array"),
|
||||
a = o("boolean"),
|
||||
l = o("number"),
|
||||
i = () => {},
|
||||
c = (e) => () => e,
|
||||
d = c(!0),
|
||||
u = c(
|
||||
"[~\u2116|!-*+-\\/:;?@\\[-`{}\xa1\xab\xb7\xbb\xbf;\xb7\u055a-\u055f\u0589\u058a\u05be\u05c0\u05c3\u05c6\u05f3\u05f4\u0609\u060a\u060c\u060d\u061b\u061e\u061f\u066a-\u066d\u06d4\u0700-\u070d\u07f7-\u07f9\u0830-\u083e\u085e\u0964\u0965\u0970\u0df4\u0e4f\u0e5a\u0e5b\u0f04-\u0f12\u0f3a-\u0f3d\u0f85\u0fd0-\u0fd4\u0fd9\u0fda\u104a-\u104f\u10fb\u1361-\u1368\u1400\u166d\u166e\u169b\u169c\u16eb-\u16ed\u1735\u1736\u17d4-\u17d6\u17d8-\u17da\u1800-\u180a\u1944\u1945\u1a1e\u1a1f\u1aa0-\u1aa6\u1aa8-\u1aad\u1b5a-\u1b60\u1bfc-\u1bff\u1c3b-\u1c3f\u1c7e\u1c7f\u1cd3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205e\u207d\u207e\u208d\u208e\u3008\u3009\u2768-\u2775\u27c5\u27c6\u27e6-\u27ef\u2983-\u2998\u29d8-\u29db\u29fc\u29fd\u2cf9-\u2cfc\u2cfe\u2cff\u2d70\u2e00-\u2e2e\u2e30\u2e31\u3001-\u3003\u3008-\u3011\u3014-\u301f\u3030\u303d\u30a0\u30fb\ua4fe\ua4ff\ua60d-\ua60f\ua673\ua67e\ua6f2-\ua6f7\ua874-\ua877\ua8ce\ua8cf\ua8f8-\ua8fa\ua92e\ua92f\ua95f\ua9c1-\ua9cd\ua9de\ua9df\uaa5c-\uaa5f\uaade\uaadf\uabeb\ufd3e\ufd3f\ufe10-\ufe19\ufe30-\ufe52\ufe54-\ufe61\ufe63\ufe68\ufe6a\ufe6b\uff01-\uff03\uff05-\uff0a\uff0c-\uff0f\uff1a\uff1b\uff1f\uff20\uff3b-\uff3d\uff3f\uff5b\uff5d\uff5f-\uff65]",
|
||||
);
|
||||
class h {
|
||||
constructor(e, t) {
|
||||
(this.tag = e), (this.value = t);
|
||||
}
|
||||
static some(e) {
|
||||
return new h(!0, e);
|
||||
}
|
||||
static none() {
|
||||
return h.singletonNone;
|
||||
}
|
||||
fold(e, t) {
|
||||
return this.tag ? t(this.value) : e();
|
||||
}
|
||||
isSome() {
|
||||
return this.tag;
|
||||
}
|
||||
isNone() {
|
||||
return !this.tag;
|
||||
}
|
||||
map(e) {
|
||||
return this.tag ? h.some(e(this.value)) : h.none();
|
||||
}
|
||||
bind(e) {
|
||||
return this.tag ? e(this.value) : h.none();
|
||||
}
|
||||
exists(e) {
|
||||
return this.tag && e(this.value);
|
||||
}
|
||||
forall(e) {
|
||||
return !this.tag || e(this.value);
|
||||
}
|
||||
filter(e) {
|
||||
return !this.tag || e(this.value) ? this : h.none();
|
||||
}
|
||||
getOr(e) {
|
||||
return this.tag ? this.value : e;
|
||||
}
|
||||
or(e) {
|
||||
return this.tag ? this : e;
|
||||
}
|
||||
getOrThunk(e) {
|
||||
return this.tag ? this.value : e();
|
||||
}
|
||||
orThunk(e) {
|
||||
return this.tag ? this : e();
|
||||
}
|
||||
getOrDie(e) {
|
||||
if (this.tag) return this.value;
|
||||
throw new Error(null != e ? e : "Called getOrDie on None");
|
||||
}
|
||||
static from(e) {
|
||||
return null == e ? h.none() : h.some(e);
|
||||
}
|
||||
getOrNull() {
|
||||
return this.tag ? this.value : null;
|
||||
}
|
||||
getOrUndefined() {
|
||||
return this.value;
|
||||
}
|
||||
each(e) {
|
||||
this.tag && e(this.value);
|
||||
}
|
||||
toArray() {
|
||||
return this.tag ? [this.value] : [];
|
||||
}
|
||||
toString() {
|
||||
return this.tag ? `some(${this.value})` : "none()";
|
||||
}
|
||||
}
|
||||
h.singletonNone = new h(!1);
|
||||
const m = u;
|
||||
var g = tinymce.util.Tools.resolve("tinymce.Env"),
|
||||
f = tinymce.util.Tools.resolve("tinymce.util.Tools");
|
||||
const p = Array.prototype.slice,
|
||||
x = Array.prototype.push,
|
||||
y = (e, t) => {
|
||||
const n = e.length,
|
||||
o = new Array(n);
|
||||
for (let r = 0; r < n; r++) {
|
||||
const n = e[r];
|
||||
o[r] = t(n, r);
|
||||
}
|
||||
return o;
|
||||
},
|
||||
w = (e, t) => {
|
||||
for (let n = 0, o = e.length; n < o; n++) t(e[n], n);
|
||||
},
|
||||
b = (e, t) => {
|
||||
for (let n = e.length - 1; n >= 0; n--) t(e[n], n);
|
||||
},
|
||||
v = (e, t) =>
|
||||
((e) => {
|
||||
const t = [];
|
||||
for (let n = 0, o = e.length; n < o; ++n) {
|
||||
if (!s(e[n]))
|
||||
throw new Error(
|
||||
"Arr.flatten item " + n + " was not an array, input: " + e,
|
||||
);
|
||||
x.apply(t, e[n]);
|
||||
}
|
||||
return t;
|
||||
})(y(e, t)),
|
||||
C = Object.hasOwnProperty,
|
||||
E = (e, t) => C.call(e, t);
|
||||
"undefined" != typeof window ? window : Function("return this;")();
|
||||
const O = (3, (e) => 3 === ((e) => e.dom.nodeType)(e));
|
||||
const N = (e) => {
|
||||
if (null == e) throw new Error("Node cannot be null or undefined");
|
||||
return { dom: e };
|
||||
},
|
||||
T = N,
|
||||
k = (e, t) => ({ element: e, offset: t }),
|
||||
A = (e, t) => {
|
||||
((e, t) => {
|
||||
const n = ((e) => h.from(e.dom.parentNode).map(T))(e);
|
||||
n.each((n) => {
|
||||
n.dom.insertBefore(t.dom, e.dom);
|
||||
});
|
||||
})(e, t),
|
||||
((e, t) => {
|
||||
e.dom.appendChild(t.dom);
|
||||
})(t, e);
|
||||
},
|
||||
S = ((e, t) => {
|
||||
const n = (t) => (e(t) ? h.from(t.dom.nodeValue) : h.none());
|
||||
return {
|
||||
get: (t) => {
|
||||
if (!e(t)) throw new Error("Can only get text value of a text node");
|
||||
return n(t).getOr("");
|
||||
},
|
||||
getOption: n,
|
||||
set: (t, n) => {
|
||||
if (!e(t))
|
||||
throw new Error("Can only set raw text value of a text node");
|
||||
t.dom.nodeValue = n;
|
||||
},
|
||||
};
|
||||
})(O),
|
||||
B = (e) => S.get(e);
|
||||
var F = tinymce.util.Tools.resolve("tinymce.dom.TreeWalker");
|
||||
const I = (e, t) => e.isBlock(t) || E(e.schema.getVoidElements(), t.nodeName),
|
||||
R = (e, t) => "false" === e.getContentEditable(t),
|
||||
M = (e, t) =>
|
||||
!e.isBlock(t) && E(e.schema.getWhitespaceElements(), t.nodeName),
|
||||
D = (e, t) =>
|
||||
((e, t) => {
|
||||
const n = ((e) => y(e.dom.childNodes, T))(e);
|
||||
return n.length > 0 && t < n.length ? k(n[t], 0) : k(e, t);
|
||||
})(T(e), t),
|
||||
P = (e, t, n, o, r, s = !0) => {
|
||||
let a = s ? t(!1) : n;
|
||||
for (; a; ) {
|
||||
const n = R(e, a);
|
||||
if (n || M(e, a)) {
|
||||
if (n ? o.cef(a) : o.boundary(a)) break;
|
||||
a = t(!0);
|
||||
} else {
|
||||
if (I(e, a)) {
|
||||
if (o.boundary(a)) break;
|
||||
} else 3 === a.nodeType && o.text(a);
|
||||
if (a === r) break;
|
||||
a = t(!1);
|
||||
}
|
||||
}
|
||||
},
|
||||
W = (e, t, n, o, r) => {
|
||||
var s;
|
||||
if (
|
||||
((e, t) =>
|
||||
I(e, t) ||
|
||||
R(e, t) ||
|
||||
M(e, t) ||
|
||||
((e, t) =>
|
||||
"true" === e.getContentEditable(t) &&
|
||||
t.parentNode &&
|
||||
"false" === e.getContentEditableParent(t.parentNode))(e, t))(e, n)
|
||||
)
|
||||
return;
|
||||
const a =
|
||||
null !== (s = e.getParent(o, e.isBlock)) && void 0 !== s
|
||||
? s
|
||||
: e.getRoot(),
|
||||
l = new F(n, a),
|
||||
i = r ? l.next.bind(l) : l.prev.bind(l);
|
||||
P(e, i, n, {
|
||||
boundary: d,
|
||||
cef: d,
|
||||
text: (e) => {
|
||||
r ? (t.fOffset += e.length) : (t.sOffset += e.length),
|
||||
t.elements.push(T(e));
|
||||
},
|
||||
});
|
||||
},
|
||||
$ = (e, t, n, o, r, s = !0) => {
|
||||
const a = new F(n, t),
|
||||
l = [];
|
||||
let i = { sOffset: 0, fOffset: 0, elements: [] };
|
||||
W(e, i, n, t, !1);
|
||||
const c = () => (
|
||||
i.elements.length > 0 &&
|
||||
(l.push(i), (i = { sOffset: 0, fOffset: 0, elements: [] })),
|
||||
!1
|
||||
);
|
||||
return (
|
||||
P(
|
||||
e,
|
||||
a.next.bind(a),
|
||||
n,
|
||||
{
|
||||
boundary: c,
|
||||
cef: (e) => (c(), r && l.push(...r.cef(e)), !1),
|
||||
text: (e) => {
|
||||
i.elements.push(T(e)), r && r.text(e, i);
|
||||
},
|
||||
},
|
||||
o,
|
||||
s,
|
||||
),
|
||||
o && W(e, i, o, t, !0),
|
||||
c(),
|
||||
l
|
||||
);
|
||||
},
|
||||
V = (e, t) => {
|
||||
const n = D(t.startContainer, t.startOffset),
|
||||
o = n.element.dom,
|
||||
r = D(t.endContainer, t.endOffset),
|
||||
s = r.element.dom;
|
||||
return $(
|
||||
e,
|
||||
t.commonAncestorContainer,
|
||||
o,
|
||||
s,
|
||||
{
|
||||
text: (e, t) => {
|
||||
e === s
|
||||
? (t.fOffset += e.length - r.offset)
|
||||
: e === o && (t.sOffset += n.offset);
|
||||
},
|
||||
cef: (t) => {
|
||||
return ((e, t) => {
|
||||
const n = p.call(e, 0);
|
||||
return (
|
||||
n.sort((e, t) =>
|
||||
((e, t) =>
|
||||
((e, t, n) => 0 != (e.compareDocumentPosition(t) & n))(
|
||||
e,
|
||||
t,
|
||||
Node.DOCUMENT_POSITION_PRECEDING,
|
||||
))(e.elements[0].dom, t.elements[0].dom)
|
||||
? 1
|
||||
: -1,
|
||||
),
|
||||
n
|
||||
);
|
||||
})(
|
||||
v(
|
||||
((n = T(t)),
|
||||
((e, t) => {
|
||||
const n = void 0 === t ? document : t.dom;
|
||||
return (1 !== (o = n).nodeType &&
|
||||
9 !== o.nodeType &&
|
||||
11 !== o.nodeType) ||
|
||||
0 === o.childElementCount
|
||||
? []
|
||||
: y(n.querySelectorAll(e), T);
|
||||
var o;
|
||||
})("*[contenteditable=true]", n)),
|
||||
(t) => {
|
||||
const n = t.dom;
|
||||
return $(e, n, n);
|
||||
},
|
||||
),
|
||||
);
|
||||
var n;
|
||||
},
|
||||
},
|
||||
!1,
|
||||
);
|
||||
},
|
||||
j = (e, t) => (t.collapsed ? [] : V(e, t)),
|
||||
z = (e, t) => {
|
||||
const n = e.createRng();
|
||||
return n.selectNode(t), j(e, n);
|
||||
},
|
||||
U = (e, t) =>
|
||||
v(t, (t) => {
|
||||
const n = t.elements,
|
||||
o = y(n, B).join(""),
|
||||
r = ((e, t, n = 0, o = e.length) => {
|
||||
const r = t.regex;
|
||||
r.lastIndex = n;
|
||||
const s = [];
|
||||
let a;
|
||||
for (; (a = r.exec(e)); ) {
|
||||
const e = a[t.matchIndex],
|
||||
n = a.index + a[0].indexOf(e),
|
||||
l = n + e.length;
|
||||
if (l > o) break;
|
||||
s.push({ start: n, finish: l }), (r.lastIndex = l);
|
||||
}
|
||||
return s;
|
||||
})(o, e, t.sOffset, o.length - t.fOffset);
|
||||
return ((e, t) => {
|
||||
const n = ((o = e),
|
||||
(r = (e, n) => {
|
||||
const o = B(n),
|
||||
r = e.last,
|
||||
s = r + o.length,
|
||||
a = v(t, (e, t) =>
|
||||
e.start < s && e.finish > r
|
||||
? [
|
||||
{
|
||||
element: n,
|
||||
start: Math.max(r, e.start) - r,
|
||||
finish: Math.min(s, e.finish) - r,
|
||||
matchId: t,
|
||||
},
|
||||
]
|
||||
: [],
|
||||
);
|
||||
return { results: e.results.concat(a), last: s };
|
||||
}),
|
||||
(s = { results: [], last: 0 }),
|
||||
w(o, (e, t) => {
|
||||
s = r(s, e);
|
||||
}),
|
||||
s).results;
|
||||
var o, r, s;
|
||||
return ((e, t) => {
|
||||
if (0 === e.length) return [];
|
||||
{
|
||||
let n = t(e[0]);
|
||||
const o = [];
|
||||
let r = [];
|
||||
for (let s = 0, a = e.length; s < a; s++) {
|
||||
const a = e[s],
|
||||
l = t(a);
|
||||
l !== n && (o.push(r), (r = [])), (n = l), r.push(a);
|
||||
}
|
||||
return 0 !== r.length && o.push(r), o;
|
||||
}
|
||||
})(n, (e) => e.matchId);
|
||||
})(n, r);
|
||||
}),
|
||||
_ = (e, t) => {
|
||||
b(e, (e, n) => {
|
||||
b(e, (e) => {
|
||||
const o = T(t.cloneNode(!1));
|
||||
((e, t, n) => {
|
||||
((e, t, n) => {
|
||||
if (!(r(n) || a(n) || l(n)))
|
||||
throw (
|
||||
(console.error(
|
||||
"Invalid call to Attribute.set. Key ",
|
||||
t,
|
||||
":: Value ",
|
||||
n,
|
||||
":: Element ",
|
||||
e,
|
||||
),
|
||||
new Error("Attribute value was not simple"))
|
||||
);
|
||||
e.setAttribute(t, n + "");
|
||||
})(e.dom, t, n);
|
||||
})(o, "data-mce-index", n);
|
||||
const s = e.element.dom;
|
||||
if (s.length === e.finish && 0 === e.start) A(e.element, o);
|
||||
else {
|
||||
s.length !== e.finish && s.splitText(e.finish);
|
||||
const t = s.splitText(e.start);
|
||||
A(T(t), o);
|
||||
}
|
||||
});
|
||||
});
|
||||
},
|
||||
q = (e) => e.getAttribute("data-mce-index"),
|
||||
G = (e, t, n, o) => {
|
||||
const r = e.dom.create("span", { "data-mce-bogus": 1 });
|
||||
r.className = "mce-match-marker";
|
||||
const s = e.getBody();
|
||||
return (
|
||||
te(e, t, !1),
|
||||
o
|
||||
? ((e, t, n, o) => {
|
||||
const r = n.getBookmark(),
|
||||
s = e.select("td[data-mce-selected],th[data-mce-selected]"),
|
||||
a =
|
||||
s.length > 0
|
||||
? ((e, t) => v(t, (t) => z(e, t)))(e, s)
|
||||
: j(e, n.getRng()),
|
||||
l = U(t, a);
|
||||
return _(l, o), n.moveToBookmark(r), l.length;
|
||||
})(e.dom, n, e.selection, r)
|
||||
: ((e, t, n, o) => {
|
||||
const r = z(e, n),
|
||||
s = U(t, r);
|
||||
return _(s, o), s.length;
|
||||
})(e.dom, n, s, r)
|
||||
);
|
||||
},
|
||||
K = (e) => {
|
||||
var t;
|
||||
const n = e.parentNode;
|
||||
e.firstChild && n.insertBefore(e.firstChild, e),
|
||||
null === (t = e.parentNode) || void 0 === t || t.removeChild(e);
|
||||
},
|
||||
H = (e, t) => {
|
||||
const n = [],
|
||||
o = f.toArray(e.getBody().getElementsByTagName("span"));
|
||||
if (o.length)
|
||||
for (let e = 0; e < o.length; e++) {
|
||||
const r = q(o[e]);
|
||||
null !== r && r.length && r === t.toString() && n.push(o[e]);
|
||||
}
|
||||
return n;
|
||||
},
|
||||
J = (e, t, n) => {
|
||||
const o = t.get();
|
||||
let r = o.index;
|
||||
const s = e.dom;
|
||||
n
|
||||
? r + 1 === o.count
|
||||
? (r = 0)
|
||||
: r++
|
||||
: r - 1 == -1
|
||||
? (r = o.count - 1)
|
||||
: r--,
|
||||
s.removeClass(H(e, o.index), "mce-match-marker-selected");
|
||||
const a = H(e, r);
|
||||
return a.length
|
||||
? (s.addClass(H(e, r), "mce-match-marker-selected"),
|
||||
e.selection.scrollIntoView(a[0]),
|
||||
r)
|
||||
: -1;
|
||||
},
|
||||
L = (e, t) => {
|
||||
const n = t.parentNode;
|
||||
e.remove(t), n && e.isEmpty(n) && e.remove(n);
|
||||
},
|
||||
Q = (e, t, n, o, r, s) => {
|
||||
const a = e.selection,
|
||||
l = ((e, t) => {
|
||||
const n =
|
||||
"(" +
|
||||
e
|
||||
.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&")
|
||||
.replace(/\s/g, "[^\\S\\r\\n\\uFEFF]") +
|
||||
")";
|
||||
return t ? `(?:^|\\s|${m()})` + n + `(?=$|\\s|${m()})` : n;
|
||||
})(n, r),
|
||||
i = a.isForward(),
|
||||
c = { regex: new RegExp(l, o ? "g" : "gi"), matchIndex: 1 },
|
||||
d = G(e, t, c, s);
|
||||
if ((g.browser.isSafari() && a.setRng(a.getRng(), i), d)) {
|
||||
const a = J(e, t, !0);
|
||||
t.set({
|
||||
index: a,
|
||||
count: d,
|
||||
text: n,
|
||||
matchCase: o,
|
||||
wholeWord: r,
|
||||
inSelection: s,
|
||||
});
|
||||
}
|
||||
return d;
|
||||
},
|
||||
X = (e, t) => {
|
||||
const n = J(e, t, !0);
|
||||
t.set({ ...t.get(), index: n });
|
||||
},
|
||||
Y = (e, t) => {
|
||||
const n = J(e, t, !1);
|
||||
t.set({ ...t.get(), index: n });
|
||||
},
|
||||
Z = (e) => {
|
||||
const t = q(e);
|
||||
return null !== t && t.length > 0;
|
||||
},
|
||||
ee = (e, t, n, o, r) => {
|
||||
const s = t.get(),
|
||||
a = s.index;
|
||||
let l,
|
||||
i = a;
|
||||
o = !1 !== o;
|
||||
const c = e.getBody(),
|
||||
d = f.grep(f.toArray(c.getElementsByTagName("span")), Z);
|
||||
for (let t = 0; t < d.length; t++) {
|
||||
const c = q(d[t]);
|
||||
let u = (l = parseInt(c, 10));
|
||||
if (r || u === s.index) {
|
||||
for (
|
||||
n.length ? ((d[t].innerText = n), K(d[t])) : L(e.dom, d[t]);
|
||||
d[++t];
|
||||
|
||||
) {
|
||||
if (((u = parseInt(q(d[t]), 10)), u !== l)) {
|
||||
t--;
|
||||
break;
|
||||
}
|
||||
L(e.dom, d[t]);
|
||||
}
|
||||
o && i--;
|
||||
} else l > a && d[t].setAttribute("data-mce-index", String(l - 1));
|
||||
}
|
||||
return (
|
||||
t.set({ ...s, count: r ? 0 : s.count - 1, index: i }),
|
||||
o ? X(e, t) : Y(e, t),
|
||||
!r && t.get().count > 0
|
||||
);
|
||||
},
|
||||
te = (e, t, n) => {
|
||||
let o, r;
|
||||
const s = t.get(),
|
||||
a = f.toArray(e.getBody().getElementsByTagName("span"));
|
||||
for (let e = 0; e < a.length; e++) {
|
||||
const t = q(a[e]);
|
||||
null !== t &&
|
||||
t.length &&
|
||||
(t === s.index.toString() &&
|
||||
(o || (o = a[e].firstChild), (r = a[e].firstChild)),
|
||||
K(a[e]));
|
||||
}
|
||||
if ((t.set({ ...s, index: -1, count: 0, text: "" }), o && r)) {
|
||||
const t = e.dom.createRng();
|
||||
return (
|
||||
t.setStart(o, 0),
|
||||
t.setEnd(r, r.data.length),
|
||||
!1 !== n && e.selection.setRng(t),
|
||||
t
|
||||
);
|
||||
}
|
||||
},
|
||||
ne = (t, n) => {
|
||||
const o = (() => {
|
||||
const t = ((t) => {
|
||||
const n = e(h.none()),
|
||||
o = () => n.get().each(t);
|
||||
return {
|
||||
clear: () => {
|
||||
o(), n.set(h.none());
|
||||
},
|
||||
isSet: () => n.get().isSome(),
|
||||
get: () => n.get(),
|
||||
set: (e) => {
|
||||
o(), n.set(h.some(e));
|
||||
},
|
||||
};
|
||||
})(i);
|
||||
return { ...t, on: (e) => t.get().each(e) };
|
||||
})();
|
||||
t.undoManager.add();
|
||||
const r = f.trim(t.selection.getContent({ format: "text" })),
|
||||
s = (e) => {
|
||||
e.setEnabled("next", ((e, t) => t.get().count > 1)(0, n)),
|
||||
e.setEnabled("prev", ((e, t) => t.get().count > 1)(0, n));
|
||||
},
|
||||
a = (e, t) => {
|
||||
w(["replace", "replaceall", "prev", "next"], (n) =>
|
||||
e.setEnabled(n, !t),
|
||||
);
|
||||
},
|
||||
l = (e, t) => {
|
||||
t.redial(y(e, t.getData()));
|
||||
},
|
||||
c = (e, t) => {
|
||||
g.browser.isSafari() &&
|
||||
g.deviceType.isTouch() &&
|
||||
("find" === t || "replace" === t || "replaceall" === t) &&
|
||||
e.focus(t);
|
||||
},
|
||||
d = (e) => {
|
||||
te(t, n, !1), a(e, !0), s(e);
|
||||
},
|
||||
u = (e) => {
|
||||
const o = e.getData(),
|
||||
r = n.get();
|
||||
if (o.findtext.length) {
|
||||
if (
|
||||
r.text === o.findtext &&
|
||||
r.matchCase === o.matchcase &&
|
||||
r.wholeWord === o.wholewords
|
||||
)
|
||||
X(t, n);
|
||||
else {
|
||||
const r = Q(
|
||||
t,
|
||||
n,
|
||||
o.findtext,
|
||||
o.matchcase,
|
||||
o.wholewords,
|
||||
o.inselection,
|
||||
);
|
||||
r <= 0 && l(!0, e), a(e, 0 === r);
|
||||
}
|
||||
s(e);
|
||||
} else d(e);
|
||||
},
|
||||
m = n.get(),
|
||||
p = {
|
||||
findtext: r,
|
||||
replacetext: "",
|
||||
wholewords: m.wholeWord,
|
||||
matchcase: m.matchCase,
|
||||
inselection: m.inSelection,
|
||||
},
|
||||
x = (e) => {
|
||||
const t = [
|
||||
{
|
||||
type: "bar",
|
||||
items: [
|
||||
{
|
||||
type: "input",
|
||||
name: "findtext",
|
||||
placeholder: "Find",
|
||||
maximized: !0,
|
||||
inputMode: "search",
|
||||
},
|
||||
{
|
||||
type: "button",
|
||||
name: "prev",
|
||||
text: "Previous",
|
||||
icon: "action-prev",
|
||||
enabled: !1,
|
||||
borderless: !0,
|
||||
},
|
||||
{
|
||||
type: "button",
|
||||
name: "next",
|
||||
text: "Next",
|
||||
icon: "action-next",
|
||||
enabled: !1,
|
||||
borderless: !0,
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
type: "input",
|
||||
name: "replacetext",
|
||||
placeholder: "Replace with",
|
||||
inputMode: "search",
|
||||
},
|
||||
];
|
||||
return (
|
||||
e &&
|
||||
t.push({
|
||||
type: "alertbanner",
|
||||
level: "error",
|
||||
text: "Could not find the specified string.",
|
||||
icon: "warning",
|
||||
}),
|
||||
t
|
||||
);
|
||||
},
|
||||
y = (e, o) => ({
|
||||
title: "Find and Replace",
|
||||
size: "normal",
|
||||
body: { type: "panel", items: x(e) },
|
||||
buttons: [
|
||||
{
|
||||
type: "menu",
|
||||
name: "options",
|
||||
icon: "preferences",
|
||||
tooltip: "Preferences",
|
||||
align: "start",
|
||||
items: [
|
||||
{
|
||||
type: "togglemenuitem",
|
||||
name: "matchcase",
|
||||
text: "Match case",
|
||||
},
|
||||
{
|
||||
type: "togglemenuitem",
|
||||
name: "wholewords",
|
||||
text: "Find whole words only",
|
||||
},
|
||||
{
|
||||
type: "togglemenuitem",
|
||||
name: "inselection",
|
||||
text: "Find in selection",
|
||||
},
|
||||
],
|
||||
},
|
||||
{ type: "custom", name: "find", text: "Find", primary: !0 },
|
||||
{ type: "custom", name: "replace", text: "Replace", enabled: !1 },
|
||||
{
|
||||
type: "custom",
|
||||
name: "replaceall",
|
||||
text: "Replace all",
|
||||
enabled: !1,
|
||||
},
|
||||
],
|
||||
initialData: o,
|
||||
onChange: (t, o) => {
|
||||
e && l(!1, t), "findtext" === o.name && n.get().count > 0 && d(t);
|
||||
},
|
||||
onAction: (e, o) => {
|
||||
const r = e.getData();
|
||||
switch (o.name) {
|
||||
case "find":
|
||||
u(e);
|
||||
break;
|
||||
case "replace":
|
||||
ee(t, n, r.replacetext) ? s(e) : d(e);
|
||||
break;
|
||||
case "replaceall":
|
||||
ee(t, n, r.replacetext, !0, !0), d(e);
|
||||
break;
|
||||
case "prev":
|
||||
Y(t, n), s(e);
|
||||
break;
|
||||
case "next":
|
||||
X(t, n), s(e);
|
||||
break;
|
||||
case "matchcase":
|
||||
case "wholewords":
|
||||
case "inselection":
|
||||
l(!1, e),
|
||||
((e) => {
|
||||
const t = e.getData(),
|
||||
o = n.get();
|
||||
n.set({
|
||||
...o,
|
||||
matchCase: t.matchcase,
|
||||
wholeWord: t.wholewords,
|
||||
inSelection: t.inselection,
|
||||
});
|
||||
})(e),
|
||||
d(e);
|
||||
}
|
||||
c(e, o.name);
|
||||
},
|
||||
onSubmit: (e) => {
|
||||
u(e), c(e, "find");
|
||||
},
|
||||
onClose: () => {
|
||||
t.focus(), te(t, n), t.undoManager.add();
|
||||
},
|
||||
});
|
||||
o.set(t.windowManager.open(y(!1, p), { inline: "toolbar" }));
|
||||
},
|
||||
oe = (e, t) => () => {
|
||||
ne(e, t);
|
||||
};
|
||||
t.add("searchreplace", (t) => {
|
||||
const n = e({
|
||||
index: -1,
|
||||
count: 0,
|
||||
text: "",
|
||||
matchCase: !1,
|
||||
wholeWord: !1,
|
||||
inSelection: !1,
|
||||
});
|
||||
return (
|
||||
((e, t) => {
|
||||
e.addCommand("SearchReplace", () => {
|
||||
ne(e, t);
|
||||
});
|
||||
})(t, n),
|
||||
((e, t) => {
|
||||
e.ui.registry.addMenuItem("searchreplace", {
|
||||
text: "Find and replace...",
|
||||
shortcut: "Meta+F",
|
||||
onAction: oe(e, t),
|
||||
icon: "search",
|
||||
}),
|
||||
e.ui.registry.addButton("searchreplace", {
|
||||
tooltip: "Find and replace",
|
||||
onAction: oe(e, t),
|
||||
icon: "search",
|
||||
}),
|
||||
e.shortcuts.add("Meta+F", "", oe(e, t));
|
||||
})(t, n),
|
||||
((e, t) => ({
|
||||
done: (n) => te(e, t, n),
|
||||
find: (n, o, r, s = !1) => Q(e, t, n, o, r, s),
|
||||
next: () => X(e, t),
|
||||
prev: () => Y(e, t),
|
||||
replace: (n, o, r) => ee(e, t, n, o, r),
|
||||
}))(t, n)
|
||||
);
|
||||
});
|
||||
})();
|
||||
2792
src/lib/dist/tinymce/plugins/table/plugin.min.js
vendored
2792
src/lib/dist/tinymce/plugins/table/plugin.min.js
vendored
File diff suppressed because it is too large
Load Diff
492
src/lib/dist/tinymce/plugins/template/plugin.min.js
vendored
492
src/lib/dist/tinymce/plugins/template/plugin.min.js
vendored
@ -1,492 +0,0 @@
|
||||
/**
|
||||
* TinyMCE version 6.7.0 (2023-08-30)
|
||||
*/
|
||||
!(function () {
|
||||
"use strict";
|
||||
var e = tinymce.util.Tools.resolve("tinymce.PluginManager");
|
||||
const t = (e) => (t) =>
|
||||
((e) => {
|
||||
const t = typeof e;
|
||||
return null === e
|
||||
? "null"
|
||||
: "object" === t && Array.isArray(e)
|
||||
? "array"
|
||||
: "object" === t &&
|
||||
((a = n = e),
|
||||
(r = String).prototype.isPrototypeOf(a) ||
|
||||
(null === (s = n.constructor) || void 0 === s
|
||||
? void 0
|
||||
: s.name) === r.name)
|
||||
? "string"
|
||||
: t;
|
||||
var a, n, r, s;
|
||||
})(t) === e,
|
||||
a = t("string"),
|
||||
n = t("object"),
|
||||
r = t("array"),
|
||||
s = ("function", (e) => "function" == typeof e);
|
||||
const l = (!1, () => false);
|
||||
var o = tinymce.util.Tools.resolve("tinymce.util.Tools");
|
||||
const c = (e) => (t) => t.options.get(e),
|
||||
i = c("template_cdate_classes"),
|
||||
u = c("template_mdate_classes"),
|
||||
m = c("template_selected_content_classes"),
|
||||
p = c("template_preview_replace_values"),
|
||||
d = c("template_replace_values"),
|
||||
h = c("templates"),
|
||||
g = c("template_cdate_format"),
|
||||
v = c("template_mdate_format"),
|
||||
f = c("content_style"),
|
||||
y = c("content_css_cors"),
|
||||
b = c("body_class"),
|
||||
_ = (e, t) => {
|
||||
if ((e = "" + e).length < t)
|
||||
for (let a = 0; a < t - e.length; a++) e = "0" + e;
|
||||
return e;
|
||||
},
|
||||
M = (e, t, a = new Date()) => {
|
||||
const n = "Sun Mon Tue Wed Thu Fri Sat Sun".split(" "),
|
||||
r =
|
||||
"Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sunday".split(
|
||||
" ",
|
||||
),
|
||||
s = "Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),
|
||||
l =
|
||||
"January February March April May June July August September October November December".split(
|
||||
" ",
|
||||
);
|
||||
return (t = (t = (t = (t = (t = (t = (t = (t = (t = (t = (t = (t = (t =
|
||||
(t = (t = t.replace("%D", "%m/%d/%Y")).replace(
|
||||
"%r",
|
||||
"%I:%M:%S %p",
|
||||
)).replace("%Y", "" + a.getFullYear())).replace(
|
||||
"%y",
|
||||
"" + a.getYear(),
|
||||
)).replace("%m", _(a.getMonth() + 1, 2))).replace(
|
||||
"%d",
|
||||
_(a.getDate(), 2),
|
||||
)).replace("%H", "" + _(a.getHours(), 2))).replace(
|
||||
"%M",
|
||||
"" + _(a.getMinutes(), 2),
|
||||
)).replace("%S", "" + _(a.getSeconds(), 2))).replace(
|
||||
"%I",
|
||||
"" + (((a.getHours() + 11) % 12) + 1),
|
||||
)).replace("%p", a.getHours() < 12 ? "AM" : "PM")).replace(
|
||||
"%B",
|
||||
"" + e.translate(l[a.getMonth()]),
|
||||
)).replace("%b", "" + e.translate(s[a.getMonth()]))).replace(
|
||||
"%A",
|
||||
"" + e.translate(r[a.getDay()]),
|
||||
)).replace("%a", "" + e.translate(n[a.getDay()]))).replace("%%", "%");
|
||||
};
|
||||
class T {
|
||||
constructor(e, t) {
|
||||
(this.tag = e), (this.value = t);
|
||||
}
|
||||
static some(e) {
|
||||
return new T(!0, e);
|
||||
}
|
||||
static none() {
|
||||
return T.singletonNone;
|
||||
}
|
||||
fold(e, t) {
|
||||
return this.tag ? t(this.value) : e();
|
||||
}
|
||||
isSome() {
|
||||
return this.tag;
|
||||
}
|
||||
isNone() {
|
||||
return !this.tag;
|
||||
}
|
||||
map(e) {
|
||||
return this.tag ? T.some(e(this.value)) : T.none();
|
||||
}
|
||||
bind(e) {
|
||||
return this.tag ? e(this.value) : T.none();
|
||||
}
|
||||
exists(e) {
|
||||
return this.tag && e(this.value);
|
||||
}
|
||||
forall(e) {
|
||||
return !this.tag || e(this.value);
|
||||
}
|
||||
filter(e) {
|
||||
return !this.tag || e(this.value) ? this : T.none();
|
||||
}
|
||||
getOr(e) {
|
||||
return this.tag ? this.value : e;
|
||||
}
|
||||
or(e) {
|
||||
return this.tag ? this : e;
|
||||
}
|
||||
getOrThunk(e) {
|
||||
return this.tag ? this.value : e();
|
||||
}
|
||||
orThunk(e) {
|
||||
return this.tag ? this : e();
|
||||
}
|
||||
getOrDie(e) {
|
||||
if (this.tag) return this.value;
|
||||
throw new Error(null != e ? e : "Called getOrDie on None");
|
||||
}
|
||||
static from(e) {
|
||||
return null == e ? T.none() : T.some(e);
|
||||
}
|
||||
getOrNull() {
|
||||
return this.tag ? this.value : null;
|
||||
}
|
||||
getOrUndefined() {
|
||||
return this.value;
|
||||
}
|
||||
each(e) {
|
||||
this.tag && e(this.value);
|
||||
}
|
||||
toArray() {
|
||||
return this.tag ? [this.value] : [];
|
||||
}
|
||||
toString() {
|
||||
return this.tag ? `some(${this.value})` : "none()";
|
||||
}
|
||||
}
|
||||
T.singletonNone = new T(!1);
|
||||
const S = Object.hasOwnProperty;
|
||||
var x = tinymce.util.Tools.resolve("tinymce.html.Serializer");
|
||||
const C = {
|
||||
'"': """,
|
||||
"<": "<",
|
||||
">": ">",
|
||||
"&": "&",
|
||||
"'": "'",
|
||||
},
|
||||
w = (e) =>
|
||||
e.replace(/["'<>&]/g, (e) => {
|
||||
return ((t = C),
|
||||
(a = e),
|
||||
((e, t) => S.call(e, t))(t, a) ? T.from(t[a]) : T.none()).getOr(e);
|
||||
var t, a;
|
||||
}),
|
||||
O = (e, t, a) =>
|
||||
((a, n) => {
|
||||
for (let n = 0, s = a.length; n < s; n++)
|
||||
if (((r = a[n]), e.hasClass(t, r))) return !0;
|
||||
var r;
|
||||
return !1;
|
||||
})(a.split(/\s+/)),
|
||||
A = (e, t) =>
|
||||
x({ validate: !0 }, e.schema).serialize(
|
||||
e.parser.parse(t, { insert: !0 }),
|
||||
),
|
||||
D = (e, t) => (
|
||||
o.each(t, (t, a) => {
|
||||
s(t) && (t = t(a)),
|
||||
(e = e.replace(
|
||||
new RegExp(
|
||||
"\\{\\$" + a.replace(/[.*+?^${}()|[\]\\]/g, "\\$&") + "\\}",
|
||||
"g",
|
||||
),
|
||||
t,
|
||||
));
|
||||
}),
|
||||
e
|
||||
),
|
||||
N = (e, t) => {
|
||||
const a = e.dom,
|
||||
n = d(e);
|
||||
o.each(a.select("*", t), (e) => {
|
||||
o.each(n, (t, n) => {
|
||||
a.hasClass(e, n) && s(t) && t(e);
|
||||
});
|
||||
});
|
||||
},
|
||||
I = (e, t, a) => {
|
||||
const n = e.dom,
|
||||
r = e.selection.getContent();
|
||||
a = D(a, d(e));
|
||||
let s = n.create("div", {}, A(e, a));
|
||||
const l = n.select(".mceTmpl", s);
|
||||
l &&
|
||||
l.length > 0 &&
|
||||
((s = n.create("div")), s.appendChild(l[0].cloneNode(!0))),
|
||||
o.each(n.select("*", s), (t) => {
|
||||
O(n, t, i(e)) && (t.innerHTML = M(e, g(e))),
|
||||
O(n, t, u(e)) && (t.innerHTML = M(e, v(e))),
|
||||
O(n, t, m(e)) && (t.innerHTML = r);
|
||||
}),
|
||||
N(e, s),
|
||||
e.execCommand("mceInsertContent", !1, s.innerHTML),
|
||||
e.addVisual();
|
||||
};
|
||||
var E = tinymce.util.Tools.resolve("tinymce.Env");
|
||||
const k = (e, t) => {
|
||||
const a = (e, t) =>
|
||||
((e, t, a) => {
|
||||
for (let n = 0, r = e.length; n < r; n++) {
|
||||
const r = e[n];
|
||||
if (t(r, n)) return T.some(r);
|
||||
if (a(r, n)) break;
|
||||
}
|
||||
return T.none();
|
||||
})(e, (e) => e.text === t, l),
|
||||
n = (t) => {
|
||||
e.windowManager.alert("Could not load the specified template.", () =>
|
||||
t.focus("template"),
|
||||
);
|
||||
},
|
||||
r = (e) =>
|
||||
e.value.url.fold(
|
||||
() => Promise.resolve(e.value.content.getOr("")),
|
||||
(e) => fetch(e).then((e) => (e.ok ? e.text() : Promise.reject())),
|
||||
),
|
||||
s = (e, t) => (s, l) => {
|
||||
if ("template" === l.name) {
|
||||
const l = s.getData().template;
|
||||
a(e, l).each((e) => {
|
||||
s.block("Loading..."),
|
||||
r(e)
|
||||
.then((a) => {
|
||||
t(s, e, a);
|
||||
})
|
||||
.catch(() => {
|
||||
t(s, e, ""), s.setEnabled("save", !1), n(s);
|
||||
});
|
||||
});
|
||||
}
|
||||
},
|
||||
c = (t) => (s) => {
|
||||
const l = s.getData();
|
||||
a(t, l.template).each((t) => {
|
||||
r(t)
|
||||
.then((t) => {
|
||||
e.execCommand("mceInsertTemplate", !1, t), s.close();
|
||||
})
|
||||
.catch(() => {
|
||||
s.setEnabled("save", !1), n(s);
|
||||
});
|
||||
});
|
||||
};
|
||||
(() => {
|
||||
if (!t || 0 === t.length) {
|
||||
const t = e.translate("No templates defined.");
|
||||
return (
|
||||
e.notificationManager.open({ text: t, type: "info" }), T.none()
|
||||
);
|
||||
}
|
||||
return T.from(
|
||||
o.map(t, (e, t) => {
|
||||
const a = (e) => void 0 !== e.url;
|
||||
return {
|
||||
selected: 0 === t,
|
||||
text: e.title,
|
||||
value: {
|
||||
url: a(e) ? T.from(e.url) : T.none(),
|
||||
content: a(e) ? T.none() : T.from(e.content),
|
||||
description: e.description,
|
||||
},
|
||||
};
|
||||
}),
|
||||
);
|
||||
})().each((t) => {
|
||||
const a = ((e) =>
|
||||
((e, t) => {
|
||||
const a = e.length,
|
||||
n = new Array(a);
|
||||
for (let t = 0; t < a; t++) {
|
||||
const a = e[t];
|
||||
n[t] = { text: (r = a).text, value: r.text };
|
||||
}
|
||||
var r;
|
||||
return n;
|
||||
})(e))(t),
|
||||
l = (e, a) => ({
|
||||
title: "Insert Template",
|
||||
size: "large",
|
||||
body: { type: "panel", items: e },
|
||||
initialData: a,
|
||||
buttons: [
|
||||
{ type: "cancel", name: "cancel", text: "Cancel" },
|
||||
{ type: "submit", name: "save", text: "Save", primary: !0 },
|
||||
],
|
||||
onSubmit: c(t),
|
||||
onChange: s(t, i),
|
||||
}),
|
||||
i = (t, n, r) => {
|
||||
const s = ((e, t) => {
|
||||
var a;
|
||||
let n = A(e, t);
|
||||
if (-1 === t.indexOf("<html>")) {
|
||||
let t = "";
|
||||
const r = null !== (a = f(e)) && void 0 !== a ? a : "",
|
||||
s = y(e) ? ' crossorigin="anonymous"' : "";
|
||||
o.each(e.contentCSS, (a) => {
|
||||
t +=
|
||||
'<link type="text/css" rel="stylesheet" href="' +
|
||||
e.documentBaseURI.toAbsolute(a) +
|
||||
'"' +
|
||||
s +
|
||||
">";
|
||||
}),
|
||||
r && (t += '<style type="text/css">' + r + "</style>");
|
||||
const l = b(e),
|
||||
c = e.dom.encode,
|
||||
i =
|
||||
'<script>document.addEventListener && document.addEventListener("click", function(e) {for (var elm = e.target; elm; elm = elm.parentNode) {if (elm.nodeName === "A" && !(' +
|
||||
(E.os.isMacOS() || E.os.isiOS()
|
||||
? "e.metaKey"
|
||||
: "e.ctrlKey && !e.altKey") +
|
||||
")) {e.preventDefault();}}}, false);</script> ",
|
||||
u = e.getBody().dir,
|
||||
m = u ? ' dir="' + c(u) + '"' : "";
|
||||
n =
|
||||
'<!DOCTYPE html><html><head><base href="' +
|
||||
c(e.documentBaseURI.getURI()) +
|
||||
'">' +
|
||||
t +
|
||||
i +
|
||||
'</head><body class="' +
|
||||
c(l) +
|
||||
'"' +
|
||||
m +
|
||||
">" +
|
||||
n +
|
||||
"</body></html>";
|
||||
}
|
||||
return D(n, p(e));
|
||||
})(e, r),
|
||||
c = [
|
||||
{
|
||||
type: "listbox",
|
||||
name: "template",
|
||||
label: "Templates",
|
||||
items: a,
|
||||
},
|
||||
{
|
||||
type: "htmlpanel",
|
||||
html: `<p aria-live="polite">${w(n.value.description)}</p>`,
|
||||
},
|
||||
{
|
||||
label: "Preview",
|
||||
type: "iframe",
|
||||
name: "preview",
|
||||
sandboxed: !1,
|
||||
transparent: !1,
|
||||
},
|
||||
],
|
||||
i = { template: n.text, preview: s };
|
||||
t.unblock(), t.redial(l(c, i)), t.focus("template");
|
||||
},
|
||||
u = e.windowManager.open(l([], { template: "", preview: "" }));
|
||||
u.block("Loading..."),
|
||||
r(t[0])
|
||||
.then((e) => {
|
||||
i(u, t[0], e);
|
||||
})
|
||||
.catch(() => {
|
||||
i(u, t[0], ""), u.setEnabled("save", !1), n(u);
|
||||
});
|
||||
});
|
||||
},
|
||||
P = (e) => (t) => {
|
||||
const a = () => {
|
||||
t.setEnabled(e.selection.isEditable());
|
||||
};
|
||||
return (
|
||||
e.on("NodeChange", a),
|
||||
a(),
|
||||
() => {
|
||||
e.off("NodeChange", a);
|
||||
}
|
||||
);
|
||||
};
|
||||
e.add("template", (e) => {
|
||||
((e) => {
|
||||
const t = e.options.register;
|
||||
t("template_cdate_classes", { processor: "string", default: "cdate" }),
|
||||
t("template_mdate_classes", { processor: "string", default: "mdate" }),
|
||||
t("template_selected_content_classes", {
|
||||
processor: "string",
|
||||
default: "selcontent",
|
||||
}),
|
||||
t("template_preview_replace_values", { processor: "object" }),
|
||||
t("template_replace_values", { processor: "object" }),
|
||||
t("templates", {
|
||||
processor: (e) =>
|
||||
a(e) ||
|
||||
((e, t) => {
|
||||
if (r(e)) {
|
||||
for (let a = 0, n = e.length; a < n; ++a)
|
||||
if (!t(e[a])) return !1;
|
||||
return !0;
|
||||
}
|
||||
return !1;
|
||||
})(e, n) ||
|
||||
s(e),
|
||||
default: [],
|
||||
}),
|
||||
t("template_cdate_format", {
|
||||
processor: "string",
|
||||
default: e.translate("%Y-%m-%d"),
|
||||
}),
|
||||
t("template_mdate_format", {
|
||||
processor: "string",
|
||||
default: e.translate("%Y-%m-%d"),
|
||||
});
|
||||
})(e),
|
||||
((e) => {
|
||||
const t = () => e.execCommand("mceTemplate");
|
||||
e.ui.registry.addButton("template", {
|
||||
icon: "template",
|
||||
tooltip: "Insert template",
|
||||
onSetup: P(e),
|
||||
onAction: t,
|
||||
}),
|
||||
e.ui.registry.addMenuItem("template", {
|
||||
icon: "template",
|
||||
text: "Insert template...",
|
||||
onSetup: P(e),
|
||||
onAction: t,
|
||||
});
|
||||
})(e),
|
||||
((e) => {
|
||||
e.addCommand(
|
||||
"mceInsertTemplate",
|
||||
(function (e, ...t) {
|
||||
return (...a) => {
|
||||
const n = t.concat(a);
|
||||
return e.apply(null, n);
|
||||
};
|
||||
})(I, e),
|
||||
),
|
||||
e.addCommand(
|
||||
"mceTemplate",
|
||||
((e, t) => () => {
|
||||
const n = h(e);
|
||||
s(n)
|
||||
? n(t)
|
||||
: a(n)
|
||||
? fetch(n).then((e) => {
|
||||
e.ok && e.json().then(t);
|
||||
})
|
||||
: t(n);
|
||||
})(
|
||||
e,
|
||||
((e) => (t) => {
|
||||
k(e, t);
|
||||
})(e),
|
||||
),
|
||||
);
|
||||
})(e),
|
||||
((e) => {
|
||||
e.on("PreProcess", (t) => {
|
||||
const a = e.dom,
|
||||
n = v(e);
|
||||
o.each(a.select("div", t.node), (t) => {
|
||||
a.hasClass(t, "mceTmpl") &&
|
||||
(o.each(a.select("*", t), (t) => {
|
||||
O(a, t, u(e)) && (t.innerHTML = M(e, n));
|
||||
}),
|
||||
N(e, t));
|
||||
});
|
||||
});
|
||||
})(e);
|
||||
});
|
||||
})();
|
||||
@ -1,72 +0,0 @@
|
||||
/**
|
||||
* TinyMCE version 6.7.0 (2023-08-30)
|
||||
*/
|
||||
!(function () {
|
||||
"use strict";
|
||||
var t = tinymce.util.Tools.resolve("tinymce.PluginManager");
|
||||
const s = (t, s, o) => {
|
||||
t.dom.toggleClass(t.getBody(), "mce-visualblocks"),
|
||||
o.set(!o.get()),
|
||||
((t, s) => {
|
||||
t.dispatch("VisualBlocks", { state: s });
|
||||
})(t, o.get());
|
||||
},
|
||||
o =
|
||||
("visualblocks_default_state",
|
||||
(t) => t.options.get("visualblocks_default_state"));
|
||||
const e = (t, s) => (o) => {
|
||||
o.setActive(s.get());
|
||||
const e = (t) => o.setActive(t.state);
|
||||
return t.on("VisualBlocks", e), () => t.off("VisualBlocks", e);
|
||||
};
|
||||
t.add("visualblocks", (t, l) => {
|
||||
((t) => {
|
||||
(0, t.options.register)("visualblocks_default_state", {
|
||||
processor: "boolean",
|
||||
default: !1,
|
||||
});
|
||||
})(t);
|
||||
const a = ((t) => {
|
||||
let s = !1;
|
||||
return {
|
||||
get: () => s,
|
||||
set: (t) => {
|
||||
s = t;
|
||||
},
|
||||
};
|
||||
})();
|
||||
((t, o, e) => {
|
||||
t.addCommand("mceVisualBlocks", () => {
|
||||
s(t, 0, e);
|
||||
});
|
||||
})(t, 0, a),
|
||||
((t, s) => {
|
||||
const o = () => t.execCommand("mceVisualBlocks");
|
||||
t.ui.registry.addToggleButton("visualblocks", {
|
||||
icon: "visualblocks",
|
||||
tooltip: "Show blocks",
|
||||
onAction: o,
|
||||
onSetup: e(t, s),
|
||||
}),
|
||||
t.ui.registry.addToggleMenuItem("visualblocks", {
|
||||
text: "Show blocks",
|
||||
icon: "visualblocks",
|
||||
onAction: o,
|
||||
onSetup: e(t, s),
|
||||
});
|
||||
})(t, a),
|
||||
((t, e, l) => {
|
||||
t.on("PreviewFormats AfterPreviewFormats", (s) => {
|
||||
l.get() &&
|
||||
t.dom.toggleClass(
|
||||
t.getBody(),
|
||||
"mce-visualblocks",
|
||||
"afterpreviewformats" === s.type,
|
||||
);
|
||||
}),
|
||||
t.on("init", () => {
|
||||
o(t) && s(t, 0, l);
|
||||
});
|
||||
})(t, 0, a);
|
||||
});
|
||||
})();
|
||||
@ -1,398 +0,0 @@
|
||||
/**
|
||||
* TinyMCE version 6.7.0 (2023-08-30)
|
||||
*/
|
||||
!(function () {
|
||||
"use strict";
|
||||
var t = tinymce.util.Tools.resolve("tinymce.PluginManager");
|
||||
const e = (t) => (e) =>
|
||||
((t) => {
|
||||
const e = typeof t;
|
||||
return null === t
|
||||
? "null"
|
||||
: "object" === e && Array.isArray(t)
|
||||
? "array"
|
||||
: "object" === e &&
|
||||
((n = o = t),
|
||||
(r = String).prototype.isPrototypeOf(n) ||
|
||||
(null === (s = o.constructor) || void 0 === s
|
||||
? void 0
|
||||
: s.name) === r.name)
|
||||
? "string"
|
||||
: e;
|
||||
var n, o, r, s;
|
||||
})(e) === t,
|
||||
n = (t) => (e) => typeof e === t,
|
||||
o = e("string"),
|
||||
r = e("object"),
|
||||
s = (null, (t) => null === t);
|
||||
const a = n("boolean"),
|
||||
l = n("number");
|
||||
class i {
|
||||
constructor(t, e) {
|
||||
(this.tag = t), (this.value = e);
|
||||
}
|
||||
static some(t) {
|
||||
return new i(!0, t);
|
||||
}
|
||||
static none() {
|
||||
return i.singletonNone;
|
||||
}
|
||||
fold(t, e) {
|
||||
return this.tag ? e(this.value) : t();
|
||||
}
|
||||
isSome() {
|
||||
return this.tag;
|
||||
}
|
||||
isNone() {
|
||||
return !this.tag;
|
||||
}
|
||||
map(t) {
|
||||
return this.tag ? i.some(t(this.value)) : i.none();
|
||||
}
|
||||
bind(t) {
|
||||
return this.tag ? t(this.value) : i.none();
|
||||
}
|
||||
exists(t) {
|
||||
return this.tag && t(this.value);
|
||||
}
|
||||
forall(t) {
|
||||
return !this.tag || t(this.value);
|
||||
}
|
||||
filter(t) {
|
||||
return !this.tag || t(this.value) ? this : i.none();
|
||||
}
|
||||
getOr(t) {
|
||||
return this.tag ? this.value : t;
|
||||
}
|
||||
or(t) {
|
||||
return this.tag ? this : t;
|
||||
}
|
||||
getOrThunk(t) {
|
||||
return this.tag ? this.value : t();
|
||||
}
|
||||
orThunk(t) {
|
||||
return this.tag ? this : t();
|
||||
}
|
||||
getOrDie(t) {
|
||||
if (this.tag) return this.value;
|
||||
throw new Error(null != t ? t : "Called getOrDie on None");
|
||||
}
|
||||
static from(t) {
|
||||
return null == t ? i.none() : i.some(t);
|
||||
}
|
||||
getOrNull() {
|
||||
return this.tag ? this.value : null;
|
||||
}
|
||||
getOrUndefined() {
|
||||
return this.value;
|
||||
}
|
||||
each(t) {
|
||||
this.tag && t(this.value);
|
||||
}
|
||||
toArray() {
|
||||
return this.tag ? [this.value] : [];
|
||||
}
|
||||
toString() {
|
||||
return this.tag ? `some(${this.value})` : "none()";
|
||||
}
|
||||
}
|
||||
i.singletonNone = new i(!1);
|
||||
const u = (t, e) => {
|
||||
for (let n = 0, o = t.length; n < o; n++) e(t[n], n);
|
||||
},
|
||||
c = Object.keys,
|
||||
d = (t, e) => {
|
||||
const n = c(t);
|
||||
for (let o = 0, r = n.length; o < r; o++) {
|
||||
const r = n[o];
|
||||
e(t[r], r);
|
||||
}
|
||||
},
|
||||
h = "undefined" != typeof window ? window : Function("return this;")(),
|
||||
m = (t, e) =>
|
||||
((t, e) => {
|
||||
let n = null != e ? e : h;
|
||||
for (let e = 0; e < t.length && null != n; ++e) n = n[t[e]];
|
||||
return n;
|
||||
})(t.split("."), e),
|
||||
g = Object.getPrototypeOf,
|
||||
v = (t) => {
|
||||
const e = m("ownerDocument.defaultView", t);
|
||||
return (
|
||||
r(t) &&
|
||||
(((t) =>
|
||||
((t, e) => {
|
||||
const n = ((t, e) => m(t, e))(t, e);
|
||||
if (null == n)
|
||||
throw new Error(t + " not available on this browser");
|
||||
return n;
|
||||
})("HTMLElement", t))(e).prototype.isPrototypeOf(t) ||
|
||||
/^HTML\w*Element$/.test(g(t).constructor.name))
|
||||
);
|
||||
},
|
||||
f = (t) => t.dom.nodeValue,
|
||||
p = (t) => (e) => ((t) => t.dom.nodeType)(e) === t,
|
||||
b = (t) => w(t) && v(t.dom),
|
||||
w = p(1),
|
||||
y = p(3),
|
||||
A = (t, e, n) => {
|
||||
((t, e, n) => {
|
||||
if (!(o(n) || a(n) || l(n)))
|
||||
throw (
|
||||
(console.error(
|
||||
"Invalid call to Attribute.set. Key ",
|
||||
e,
|
||||
":: Value ",
|
||||
n,
|
||||
":: Element ",
|
||||
t,
|
||||
),
|
||||
new Error("Attribute value was not simple"))
|
||||
);
|
||||
t.setAttribute(e, n + "");
|
||||
})(t.dom, e, n);
|
||||
},
|
||||
k = (t, e) => {
|
||||
t.dom.removeAttribute(e);
|
||||
},
|
||||
N = (t, e) => {
|
||||
const n = ((t, e) => {
|
||||
const n = t.dom.getAttribute(e);
|
||||
return null === n ? void 0 : n;
|
||||
})(t, e);
|
||||
return void 0 === n || "" === n ? [] : n.split(" ");
|
||||
},
|
||||
T = (t) => void 0 !== t.dom.classList,
|
||||
C = (t) => {
|
||||
if (null == t) throw new Error("Node cannot be null or undefined");
|
||||
return { dom: t };
|
||||
},
|
||||
E = C,
|
||||
O = { "\xa0": "nbsp", "\xad": "shy" },
|
||||
L = (t, e) => {
|
||||
let n = "";
|
||||
return (
|
||||
d(t, (t, e) => {
|
||||
n += e;
|
||||
}),
|
||||
new RegExp("[" + n + "]", e ? "g" : "")
|
||||
);
|
||||
},
|
||||
V = L(O),
|
||||
j = L(O, !0),
|
||||
B = ((t) => {
|
||||
let e = "";
|
||||
return (
|
||||
d(t, (t) => {
|
||||
e && (e += ","), (e += "span.mce-" + t);
|
||||
}),
|
||||
e
|
||||
);
|
||||
})(O),
|
||||
S = "mce-nbsp",
|
||||
_ = (t) => t.dom.contentEditable,
|
||||
x = (t) =>
|
||||
'<span data-mce-bogus="1" class="mce-' + O[t] + '">' + t + "</span>",
|
||||
M = (t) =>
|
||||
"span" === t.nodeName.toLowerCase() &&
|
||||
t.classList.contains("mce-nbsp-wrap"),
|
||||
P = (t) => {
|
||||
const e = f(t);
|
||||
return y(t) && o(e) && V.test(e);
|
||||
},
|
||||
D = (t, e, n) => {
|
||||
let o = [];
|
||||
const r = ((t, e) => {
|
||||
const n = t.length,
|
||||
o = new Array(n);
|
||||
for (let r = 0; r < n; r++) {
|
||||
const n = t[r];
|
||||
o[r] = e(n, r);
|
||||
}
|
||||
return o;
|
||||
})(t.dom.childNodes, E);
|
||||
return (
|
||||
u(r, (t) => {
|
||||
var r;
|
||||
n &&
|
||||
(M((r = t).dom) || !((t) => b(t) && "false" === _(t))(r)) &&
|
||||
e(t) &&
|
||||
(o = o.concat([t])),
|
||||
(o = o.concat(
|
||||
D(
|
||||
t,
|
||||
e,
|
||||
((t, e) => {
|
||||
if (b(t) && !M(t.dom)) {
|
||||
const e = _(t);
|
||||
if ("true" === e) return !0;
|
||||
if ("false" === e) return !1;
|
||||
}
|
||||
return e;
|
||||
})(t, n),
|
||||
),
|
||||
));
|
||||
}),
|
||||
o
|
||||
);
|
||||
},
|
||||
H = (t, e) => {
|
||||
const n = t.dom,
|
||||
o = D(E(e), P, t.dom.isEditable(e));
|
||||
u(o, (e) => {
|
||||
var o;
|
||||
const r = e.dom.parentNode;
|
||||
if (M(r))
|
||||
(s = E(r)),
|
||||
(a = S),
|
||||
T(s)
|
||||
? s.dom.classList.add(a)
|
||||
: ((t, e) => {
|
||||
((t, e, n) => {
|
||||
const o = N(t, e).concat([n]);
|
||||
A(t, e, o.join(" "));
|
||||
})(t, "class", e);
|
||||
})(s, a);
|
||||
else {
|
||||
const r = n
|
||||
.encode(null !== (o = f(e)) && void 0 !== o ? o : "")
|
||||
.replace(j, x),
|
||||
s = n.create("div", {}, r);
|
||||
let a;
|
||||
for (; (a = s.lastChild); ) n.insertAfter(a, e.dom);
|
||||
t.dom.remove(e.dom);
|
||||
}
|
||||
var s, a;
|
||||
});
|
||||
},
|
||||
I = (t, e) => {
|
||||
const n = t.dom.select(B, e);
|
||||
u(n, (e) => {
|
||||
var n, o;
|
||||
M(e)
|
||||
? ((n = E(e)),
|
||||
(o = S),
|
||||
T(n)
|
||||
? n.dom.classList.remove(o)
|
||||
: ((t, e) => {
|
||||
((t, e, n) => {
|
||||
const o = ((t, e) => {
|
||||
const o = [];
|
||||
for (let e = 0, r = t.length; e < r; e++) {
|
||||
const r = t[e];
|
||||
r !== n && o.push(r);
|
||||
}
|
||||
return o;
|
||||
})(N(t, e));
|
||||
o.length > 0 ? A(t, e, o.join(" ")) : k(t, e);
|
||||
})(t, "class", e);
|
||||
})(n, o),
|
||||
((t) => {
|
||||
const e = T(t) ? t.dom.classList : ((t) => N(t, "class"))(t);
|
||||
0 === e.length && k(t, "class");
|
||||
})(n))
|
||||
: t.dom.remove(e, !0);
|
||||
});
|
||||
},
|
||||
$ = (t) => {
|
||||
const e = t.getBody(),
|
||||
n = t.selection.getBookmark();
|
||||
let o = ((t, e) => {
|
||||
for (; t.parentNode; ) {
|
||||
if (t.parentNode === e) return e;
|
||||
t = t.parentNode;
|
||||
}
|
||||
})(t.selection.getNode(), e);
|
||||
(o = void 0 !== o ? o : e),
|
||||
I(t, o),
|
||||
H(t, o),
|
||||
t.selection.moveToBookmark(n);
|
||||
},
|
||||
F = (t, e) => {
|
||||
((t, e) => {
|
||||
t.dispatch("VisualChars", { state: e });
|
||||
})(t, e.get());
|
||||
const n = t.getBody();
|
||||
!0 === e.get() ? H(t, n) : I(t, n);
|
||||
},
|
||||
K =
|
||||
("visualchars_default_state",
|
||||
(t) => t.options.get("visualchars_default_state"));
|
||||
const R = (t, e) => {
|
||||
const n = ((t, e) => {
|
||||
let n = null;
|
||||
return {
|
||||
cancel: () => {
|
||||
s(n) || (clearTimeout(n), (n = null));
|
||||
},
|
||||
throttle: (...e) => {
|
||||
s(n) &&
|
||||
(n = setTimeout(() => {
|
||||
(n = null), t.apply(null, e);
|
||||
}, 300));
|
||||
},
|
||||
};
|
||||
})(() => {
|
||||
$(t);
|
||||
});
|
||||
t.on("keydown", (o) => {
|
||||
!0 === e.get() && (13 === o.keyCode ? $(t) : n.throttle());
|
||||
}),
|
||||
t.on("remove", n.cancel);
|
||||
},
|
||||
U = (t, e) => (n) => {
|
||||
n.setActive(e.get());
|
||||
const o = (t) => n.setActive(t.state);
|
||||
return t.on("VisualChars", o), () => t.off("VisualChars", o);
|
||||
};
|
||||
t.add("visualchars", (t) => {
|
||||
((t) => {
|
||||
(0, t.options.register)("visualchars_default_state", {
|
||||
processor: "boolean",
|
||||
default: !1,
|
||||
});
|
||||
})(t);
|
||||
const e = ((t) => {
|
||||
let e = t;
|
||||
return {
|
||||
get: () => e,
|
||||
set: (t) => {
|
||||
e = t;
|
||||
},
|
||||
};
|
||||
})(K(t));
|
||||
return (
|
||||
((t, e) => {
|
||||
t.addCommand("mceVisualChars", () => {
|
||||
((t, e) => {
|
||||
e.set(!e.get());
|
||||
const n = t.selection.getBookmark();
|
||||
F(t, e), t.selection.moveToBookmark(n);
|
||||
})(t, e);
|
||||
});
|
||||
})(t, e),
|
||||
((t, e) => {
|
||||
const n = () => t.execCommand("mceVisualChars");
|
||||
t.ui.registry.addToggleButton("visualchars", {
|
||||
tooltip: "Show invisible characters",
|
||||
icon: "visualchars",
|
||||
onAction: n,
|
||||
onSetup: U(t, e),
|
||||
}),
|
||||
t.ui.registry.addToggleMenuItem("visualchars", {
|
||||
text: "Show invisible characters",
|
||||
icon: "visualchars",
|
||||
onAction: n,
|
||||
onSetup: U(t, e),
|
||||
});
|
||||
})(t, e),
|
||||
R(t, e),
|
||||
((t, e) => {
|
||||
t.on("init", () => {
|
||||
F(t, e);
|
||||
});
|
||||
})(t, e),
|
||||
((t) => ({ isEnabled: () => t.get() }))(e)
|
||||
);
|
||||
});
|
||||
})();
|
||||
308
src/lib/dist/tinymce/plugins/wordcount/plugin.min.js
vendored
308
src/lib/dist/tinymce/plugins/wordcount/plugin.min.js
vendored
@ -1,308 +0,0 @@
|
||||
/**
|
||||
* TinyMCE version 6.7.0 (2023-08-30)
|
||||
*/
|
||||
!(function () {
|
||||
"use strict";
|
||||
var t = tinymce.util.Tools.resolve("tinymce.PluginManager");
|
||||
const e = (null, (t) => null === t);
|
||||
const n = (t) => t,
|
||||
o = (t, e) => {
|
||||
const n = t.length,
|
||||
o = new Array(n);
|
||||
for (let r = 0; r < n; r++) {
|
||||
const n = t[r];
|
||||
o[r] = e(n, r);
|
||||
}
|
||||
return o;
|
||||
},
|
||||
r = "[-'\\.\u2018\u2019\u2024\ufe52\uff07\uff0e]",
|
||||
c = "[:\xb7\xb7\u05f4\u2027\ufe13\ufe55\uff1a]",
|
||||
u =
|
||||
"[\xb1+*/,;;\u0589\u060c\u060d\u066c\u07f8\u2044\ufe10\ufe14\ufe50\ufe54\uff0c\uff1b]",
|
||||
s =
|
||||
"[0-9\u0660-\u0669\u066b\u06f0-\u06f9\u07c0-\u07c9\u0966-\u096f\u09e6-\u09ef\u0a66-\u0a6f\u0ae6-\u0aef\u0b66-\u0b6f\u0be6-\u0bef\u0c66-\u0c6f\u0ce6-\u0cef\u0d66-\u0d6f\u0e50-\u0e59\u0ed0-\u0ed9\u0f20-\u0f29\u1040-\u1049\u1090-\u1099\u17e0-\u17e9\u1810-\u1819\u1946-\u194f\u19d0-\u19d9\u1a80-\u1a89\u1a90-\u1a99\u1b50-\u1b59\u1bb0-\u1bb9\u1c40-\u1c49\u1c50-\u1c59\ua620-\ua629\ua8d0-\ua8d9\ua900-\ua909\ua9d0-\ua9d9\uaa50-\uaa59\uabf0-\uabf9]",
|
||||
a = "\\r",
|
||||
l = "\\n",
|
||||
i = "[\v\f\x85\u2028\u2029]",
|
||||
d =
|
||||
"[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065f\u0670\u06d6-\u06dc\u06df-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0859-\u085b\u0900-\u0903\u093a-\u093c\u093e-\u094f\u0951-\u0957\u0962\u0963\u0981-\u0983\u09bc\u09be-\u09c4\u09c7\u09c8\u09cb-\u09cd\u09d7\u09e2\u09e3\u0a01-\u0a03\u0a3c\u0a3e-\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81-\u0a83\u0abc\u0abe-\u0ac5\u0ac7-\u0ac9\u0acb-\u0acd\u0ae2\u0ae3\u0b01-\u0b03\u0b3c\u0b3e-\u0b44\u0b47\u0b48\u0b4b-\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe-\u0bc2\u0bc6-\u0bc8\u0bca-\u0bcd\u0bd7\u0c01-\u0c03\u0c3e-\u0c44\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0c82\u0c83\u0cbc\u0cbe-\u0cc4\u0cc6-\u0cc8\u0cca-\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d02\u0d03\u0d3e-\u0d44\u0d46-\u0d48\u0d4a-\u0d4d\u0d57\u0d62\u0d63\u0d82\u0d83\u0dca\u0dcf-\u0dd4\u0dd6\u0dd8-\u0ddf\u0df2\u0df3\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f3e\u0f3f\u0f71-\u0f84\u0f86\u0f87\u0f8d-\u0f97\u0f99-\u0fbc\u0fc6\u102b-\u103e\u1056-\u1059\u105e-\u1060\u1062-\u1064\u1067-\u106d\u1071-\u1074\u1082-\u108d\u108f\u109a-\u109d\u135d-\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b6-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u192b\u1930-\u193b\u19b0-\u19c0\u19c8\u19c9\u1a17-\u1a1b\u1a55-\u1a5e\u1a60-\u1a7c\u1a7f\u1b00-\u1b04\u1b34-\u1b44\u1b6b-\u1b73\u1b80-\u1b82\u1ba1-\u1baa\u1be6-\u1bf3\u1c24-\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce8\u1ced\u1cf2\u1dc0-\u1de6\u1dfc-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2d7f\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua823-\ua827\ua880\ua881\ua8b4-\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua953\ua980-\ua983\ua9b3-\ua9c0\uaa29-\uaa36\uaa43\uaa4c\uaa4d\uaa7b\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe3-\uabea\uabec\uabed\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]",
|
||||
g =
|
||||
"[\xad\u0600-\u0603\u06dd\u070f\u17b4\u17b5\u200e\u200f\u202a-\u202e\u2060-\u2064\u206a-\u206f\ufeff\ufff9-\ufffb]",
|
||||
p =
|
||||
"[\u3031-\u3035\u309b\u309c\u30a0-\u30fa\u30fc-\u30ff\u31f0-\u31ff\u32d0-\u32fe\u3300-\u3357\uff66-\uff9d]",
|
||||
h = "[=_\u203f\u2040\u2054\ufe33\ufe34\ufe4d-\ufe4f\uff3f\u2200-\u22ff<>]",
|
||||
C =
|
||||
"[~\u2116|!-*+-\\/:;?@\\[-`{}\xa1\xab\xb7\xbb\xbf;\xb7\u055a-\u055f\u0589\u058a\u05be\u05c0\u05c3\u05c6\u05f3\u05f4\u0609\u060a\u060c\u060d\u061b\u061e\u061f\u066a-\u066d\u06d4\u0700-\u070d\u07f7-\u07f9\u0830-\u083e\u085e\u0964\u0965\u0970\u0df4\u0e4f\u0e5a\u0e5b\u0f04-\u0f12\u0f3a-\u0f3d\u0f85\u0fd0-\u0fd4\u0fd9\u0fda\u104a-\u104f\u10fb\u1361-\u1368\u1400\u166d\u166e\u169b\u169c\u16eb-\u16ed\u1735\u1736\u17d4-\u17d6\u17d8-\u17da\u1800-\u180a\u1944\u1945\u1a1e\u1a1f\u1aa0-\u1aa6\u1aa8-\u1aad\u1b5a-\u1b60\u1bfc-\u1bff\u1c3b-\u1c3f\u1c7e\u1c7f\u1cd3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205e\u207d\u207e\u208d\u208e\u3008\u3009\u2768-\u2775\u27c5\u27c6\u27e6-\u27ef\u2983-\u2998\u29d8-\u29db\u29fc\u29fd\u2cf9-\u2cfc\u2cfe\u2cff\u2d70\u2e00-\u2e2e\u2e30\u2e31\u3001-\u3003\u3008-\u3011\u3014-\u301f\u3030\u303d\u30a0\u30fb\ua4fe\ua4ff\ua60d-\ua60f\ua673\ua67e\ua6f2-\ua6f7\ua874-\ua877\ua8ce\ua8cf\ua8f8-\ua8fa\ua92e\ua92f\ua95f\ua9c1-\ua9cd\ua9de\ua9df\uaa5c-\uaa5f\uaade\uaadf\uabeb\ufd3e\ufd3f\ufe10-\ufe19\ufe30-\ufe52\ufe54-\ufe61\ufe63\ufe68\ufe6a\ufe6b\uff01-\uff03\uff05-\uff0a\uff0c-\uff0f\uff1a\uff1b\uff1f\uff20\uff3b-\uff3d\uff3f\uff5b\uff5d\uff5f-\uff65]",
|
||||
y = 10,
|
||||
m = [
|
||||
new RegExp(
|
||||
"[A-Za-z\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-\u02c1\u02c6-\u02d1\u02e0-\u02e4\u02ec\u02ee\u0370-\u0374\u0376\u0377\u037a-\u037d\u0386\u0388-\u038a\u038c\u038e-\u03a1\u03a3-\u03f5\u03f7-\u0481\u048a-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05d0-\u05ea\u05f0-\u05f3\u0620-\u064a\u066e\u066f\u0671-\u06d3\u06d5\u06e5\u06e6\u06ee\u06ef\u06fa-\u06fc\u06ff\u0710\u0712-\u072f\u074d-\u07a5\u07b1\u07ca-\u07ea\u07f4\u07f5\u07fa\u0800-\u0815\u081a\u0824\u0828\u0840-\u0858\u0904-\u0939\u093d\u0950\u0958-\u0961\u0971-\u0977\u0979-\u097f\u0985-\u098c\u098f\u0990\u0993-\u09a8\u09aa-\u09b0\u09b2\u09b6-\u09b9\u09bd\u09ce\u09dc\u09dd\u09df-\u09e1\u09f0\u09f1\u0a05-\u0a0a\u0a0f\u0a10\u0a13-\u0a28\u0a2a-\u0a30\u0a32\u0a33\u0a35\u0a36\u0a38\u0a39\u0a59-\u0a5c\u0a5e\u0a72-\u0a74\u0a85-\u0a8d\u0a8f-\u0a91\u0a93-\u0aa8\u0aaa-\u0ab0\u0ab2\u0ab3\u0ab5-\u0ab9\u0abd\u0ad0\u0ae0\u0ae1\u0b05-\u0b0c\u0b0f\u0b10\u0b13-\u0b28\u0b2a-\u0b30\u0b32\u0b33\u0b35-\u0b39\u0b3d\u0b5c\u0b5d\u0b5f-\u0b61\u0b71\u0b83\u0b85-\u0b8a\u0b8e-\u0b90\u0b92-\u0b95\u0b99\u0b9a\u0b9c\u0b9e\u0b9f\u0ba3\u0ba4\u0ba8-\u0baa\u0bae-\u0bb9\u0bd0\u0c05-\u0c0c\u0c0e-\u0c10\u0c12-\u0c28\u0c2a-\u0c33\u0c35-\u0c39\u0c3d\u0c58\u0c59\u0c60\u0c61\u0c85-\u0c8c\u0c8e-\u0c90\u0c92-\u0ca8\u0caa-\u0cb3\u0cb5-\u0cb9\u0cbd\u0cde\u0ce0\u0ce1\u0cf1\u0cf2\u0d05-\u0d0c\u0d0e-\u0d10\u0d12-\u0d3a\u0d3d\u0d4e\u0d60\u0d61\u0d7a-\u0d7f\u0d85-\u0d96\u0d9a-\u0db1\u0db3-\u0dbb\u0dbd\u0dc0-\u0dc6\u0f00\u0f40-\u0f47\u0f49-\u0f6c\u0f88-\u0f8c\u10a0-\u10c5\u10d0-\u10fa\u10fc\u1100-\u1248\u124a-\u124d\u1250-\u1256\u1258\u125a-\u125d\u1260-\u1288\u128a-\u128d\u1290-\u12b0\u12b2-\u12b5\u12b8-\u12be\u12c0\u12c2-\u12c5\u12c8-\u12d6\u12d8-\u1310\u1312-\u1315\u1318-\u135a\u1380-\u138f\u13a0-\u13f4\u1401-\u166c\u166f-\u167f\u1681-\u169a\u16a0-\u16ea\u16ee-\u16f0\u1700-\u170c\u170e-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176c\u176e-\u1770\u1820-\u1877\u1880-\u18a8\u18aa\u18b0-\u18f5\u1900-\u191c\u1a00-\u1a16\u1b05-\u1b33\u1b45-\u1b4b\u1b83-\u1ba0\u1bae\u1baf\u1bc0-\u1be5\u1c00-\u1c23\u1c4d-\u1c4f\u1c5a-\u1c7d\u1ce9-\u1cec\u1cee-\u1cf1\u1d00-\u1dbf\u1e00-\u1f15\u1f18-\u1f1d\u1f20-\u1f45\u1f48-\u1f4d\u1f50-\u1f57\u1f59\u1f5b\u1f5d\u1f5f-\u1f7d\u1f80-\u1fb4\u1fb6-\u1fbc\u1fbe\u1fc2-\u1fc4\u1fc6-\u1fcc\u1fd0-\u1fd3\u1fd6-\u1fdb\u1fe0-\u1fec\u1ff2-\u1ff4\u1ff6-\u1ffc\u2071\u207f\u2090-\u209c\u2102\u2107\u210a-\u2113\u2115\u2119-\u211d\u2124\u2126\u2128\u212a-\u212d\u212f-\u2139\u213c-\u213f\u2145-\u2149\u214e\u2160-\u2188\u24b6-\u24e9\u2c00-\u2c2e\u2c30-\u2c5e\u2c60-\u2ce4\u2ceb-\u2cee\u2d00-\u2d25\u2d30-\u2d65\u2d6f\u2d80-\u2d96\u2da0-\u2da6\u2da8-\u2dae\u2db0-\u2db6\u2db8-\u2dbe\u2dc0-\u2dc6\u2dc8-\u2dce\u2dd0-\u2dd6\u2dd8-\u2dde\u2e2f\u3005\u303b\u303c\u3105-\u312d\u3131-\u318e\u31a0-\u31ba\ua000-\ua48c\ua4d0-\ua4fd\ua500-\ua60c\ua610-\ua61f\ua62a\ua62b\ua640-\ua66e\ua67f-\ua697\ua6a0-\ua6ef\ua717-\ua71f\ua722-\ua788\ua78b-\ua78e\ua790\ua791\ua7a0-\ua7a9\ua7fa-\ua801\ua803-\ua805\ua807-\ua80a\ua80c-\ua822\ua840-\ua873\ua882-\ua8b3\ua8f2-\ua8f7\ua8fb\ua90a-\ua925\ua930-\ua946\ua960-\ua97c\ua984-\ua9b2\ua9cf\uaa00-\uaa28\uaa40-\uaa42\uaa44-\uaa4b\uab01-\uab06\uab09-\uab0e\uab11-\uab16\uab20-\uab26\uab28-\uab2e\uabc0-\uabe2\uac00-\ud7a3\ud7b0-\ud7c6\ud7cb-\ud7fb\ufb00-\ufb06\ufb13-\ufb17\ufb1d\ufb1f-\ufb28\ufb2a-\ufb36\ufb38-\ufb3c\ufb3e\ufb40\ufb41\ufb43\ufb44\ufb46-\ufbb1\ufbd3-\ufd3d\ufd50-\ufd8f\ufd92-\ufdc7\ufdf0-\ufdfb\ufe70-\ufe74\ufe76-\ufefc\uff21-\uff3a\uff41-\uff5a\uffa0-\uffbe\uffc2-\uffc7\uffca-\uffcf\uffd2-\uffd7\uffda-\uffdc]",
|
||||
),
|
||||
new RegExp(r),
|
||||
new RegExp(c),
|
||||
new RegExp(u),
|
||||
new RegExp(s),
|
||||
new RegExp(a),
|
||||
new RegExp(l),
|
||||
new RegExp(i),
|
||||
new RegExp(d),
|
||||
new RegExp(g),
|
||||
new RegExp(p),
|
||||
new RegExp(h),
|
||||
new RegExp("@"),
|
||||
],
|
||||
w = new RegExp("^" + C + "$"),
|
||||
W = m,
|
||||
f = (t) => {
|
||||
let e = 13;
|
||||
const n = W.length;
|
||||
for (let o = 0; o < n; ++o) {
|
||||
const n = W[o];
|
||||
if (n && n.test(t)) {
|
||||
e = o;
|
||||
break;
|
||||
}
|
||||
}
|
||||
return e;
|
||||
},
|
||||
x = (t, e) => {
|
||||
const n = t[e],
|
||||
o = t[e + 1];
|
||||
if (e < 0 || (e > t.length - 1 && 0 !== e)) return !1;
|
||||
if (0 === n && 0 === o) return !1;
|
||||
const r = t[e + 2];
|
||||
if (0 === n && (2 === o || 1 === o || 12 === o) && 0 === r) return !1;
|
||||
const c = t[e - 1];
|
||||
return (
|
||||
((2 !== n && 1 !== n && 12 !== o) || 0 !== o || 0 !== c) &&
|
||||
((4 !== n && 0 !== n) || (4 !== o && 0 !== o)) &&
|
||||
((3 !== n && 1 !== n) || 4 !== o || 4 !== c) &&
|
||||
(4 !== n || (3 !== o && 1 !== o) || 4 !== r) &&
|
||||
((8 !== n && 9 !== n) ||
|
||||
(0 !== o && 4 !== o && o !== y && 8 !== o && 9 !== o)) &&
|
||||
((8 !== o &&
|
||||
(9 !== o || (0 !== r && 4 !== r && r !== y && 8 !== r && 9 !== r))) ||
|
||||
(0 !== n && 4 !== n && n !== y && 8 !== n && 9 !== n)) &&
|
||||
(5 !== n || 6 !== o) &&
|
||||
(7 === n ||
|
||||
5 === n ||
|
||||
6 === n ||
|
||||
7 === o ||
|
||||
5 === o ||
|
||||
6 === o ||
|
||||
((n !== y || o !== y) &&
|
||||
(11 !== o || (0 !== n && 4 !== n && n !== y && 11 !== n)) &&
|
||||
(11 !== n || (0 !== o && 4 !== o && o !== y)) &&
|
||||
12 !== n))
|
||||
);
|
||||
},
|
||||
E = /^\s+$/,
|
||||
R = w,
|
||||
S = (t) => "http" === t || "https" === t,
|
||||
b = (t, e) => {
|
||||
const n = ((t, e) => {
|
||||
let n;
|
||||
for (n = e; n < t.length && !E.test(t[n]); n++);
|
||||
return n;
|
||||
})(t, e + 1);
|
||||
return "://" ===
|
||||
t
|
||||
.slice(e + 1, n)
|
||||
.join("")
|
||||
.substr(0, 3)
|
||||
? n
|
||||
: e;
|
||||
},
|
||||
v = (t, e, n) =>
|
||||
((t, e, n) => {
|
||||
n = { includeWhitespace: !1, includePunctuation: !1, ...n };
|
||||
const r = o(t, e);
|
||||
return ((t, e, n, o) => {
|
||||
const r = [],
|
||||
c = [];
|
||||
let u = [];
|
||||
for (let s = 0; s < n.length; ++s)
|
||||
if ((u.push(t[s]), x(n, s))) {
|
||||
const n = e[s];
|
||||
if (
|
||||
(o.includeWhitespace || !E.test(n)) &&
|
||||
(o.includePunctuation || !R.test(n))
|
||||
) {
|
||||
const n = s - u.length + 1,
|
||||
o = s + 1,
|
||||
a = e.slice(n, o).join("");
|
||||
if (S(a)) {
|
||||
const n = b(e, s),
|
||||
r = t.slice(o, n);
|
||||
Array.prototype.push.apply(u, r), (s = n);
|
||||
}
|
||||
r.push(u), c.push({ start: n, end: o });
|
||||
}
|
||||
u = [];
|
||||
}
|
||||
return { words: r, indices: c };
|
||||
})(
|
||||
t,
|
||||
r,
|
||||
((t) => {
|
||||
const e = ((t) => {
|
||||
const e = {};
|
||||
return (n) => {
|
||||
if (e[n]) return e[n];
|
||||
{
|
||||
const o = t(n);
|
||||
return (e[n] = o), o;
|
||||
}
|
||||
};
|
||||
})(f);
|
||||
return o(t, e);
|
||||
})(r),
|
||||
n,
|
||||
);
|
||||
})(t, e, n).words;
|
||||
var F = tinymce.util.Tools.resolve("tinymce.dom.TreeWalker");
|
||||
const T = (t, e) => {
|
||||
const n = e.getBlockElements(),
|
||||
o = e.getVoidElements(),
|
||||
r = (t) => n[t.nodeName] || o[t.nodeName],
|
||||
c = [];
|
||||
let u = "";
|
||||
const s = new F(t, t);
|
||||
let a;
|
||||
for (; (a = s.next()); )
|
||||
3 === a.nodeType
|
||||
? (u += a.data.replace(/\uFEFF/g, ""))
|
||||
: r(a) && u.length && (c.push(u), (u = ""));
|
||||
return u.length && c.push(u), c;
|
||||
},
|
||||
A = (t) => t.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g, "_").length,
|
||||
B = (t, e) => {
|
||||
const o = ((t) => t.replace(/\u200B/g, ""))(T(t, e).join("\n"));
|
||||
return v(o.split(""), n).length;
|
||||
},
|
||||
D = (t, e) => {
|
||||
const n = T(t, e).join("");
|
||||
return A(n);
|
||||
},
|
||||
j = (t, e) => {
|
||||
const n = T(t, e).join("").replace(/\s/g, "");
|
||||
return A(n);
|
||||
},
|
||||
k = (t, e) => () => e(t.getBody(), t.schema),
|
||||
U = (t, e) => () => e(t.selection.getRng().cloneContents(), t.schema),
|
||||
M = (t) => k(t, B);
|
||||
var P = tinymce.util.Tools.resolve("tinymce.util.Delay");
|
||||
const N = (t, e) => {
|
||||
((t, e) => {
|
||||
t.dispatch("wordCountUpdate", {
|
||||
wordCount: {
|
||||
words: e.body.getWordCount(),
|
||||
characters: e.body.getCharacterCount(),
|
||||
charactersWithoutSpaces: e.body.getCharacterCountWithoutSpaces(),
|
||||
},
|
||||
});
|
||||
})(t, e);
|
||||
},
|
||||
V = (t, n, o) => {
|
||||
const r = ((t, n) => {
|
||||
let o = null;
|
||||
return {
|
||||
cancel: () => {
|
||||
e(o) || (clearTimeout(o), (o = null));
|
||||
},
|
||||
throttle: (...r) => {
|
||||
e(o) &&
|
||||
(o = setTimeout(() => {
|
||||
(o = null), t.apply(null, r);
|
||||
}, n));
|
||||
},
|
||||
};
|
||||
})(() => N(t, n), o);
|
||||
t.on("init", () => {
|
||||
N(t, n),
|
||||
P.setEditorTimeout(
|
||||
t,
|
||||
() => {
|
||||
t.on(
|
||||
"SetContent BeforeAddUndo Undo Redo ViewUpdate keyup",
|
||||
r.throttle,
|
||||
);
|
||||
},
|
||||
0,
|
||||
),
|
||||
t.on("remove", r.cancel);
|
||||
});
|
||||
};
|
||||
((e = 300) => {
|
||||
t.add("wordcount", (t) => {
|
||||
const n = ((t) => ({
|
||||
body: {
|
||||
getWordCount: M(t),
|
||||
getCharacterCount: k(t, D),
|
||||
getCharacterCountWithoutSpaces: k(t, j),
|
||||
},
|
||||
selection: {
|
||||
getWordCount: U(t, B),
|
||||
getCharacterCount: U(t, D),
|
||||
getCharacterCountWithoutSpaces: U(t, j),
|
||||
},
|
||||
getCount: M(t),
|
||||
}))(t);
|
||||
return (
|
||||
((t, e) => {
|
||||
t.addCommand("mceWordCount", () =>
|
||||
((t, e) => {
|
||||
t.windowManager.open({
|
||||
title: "Word Count",
|
||||
body: {
|
||||
type: "panel",
|
||||
items: [
|
||||
{
|
||||
type: "table",
|
||||
header: ["Count", "Document", "Selection"],
|
||||
cells: [
|
||||
[
|
||||
"Words",
|
||||
String(e.body.getWordCount()),
|
||||
String(e.selection.getWordCount()),
|
||||
],
|
||||
[
|
||||
"Characters (no spaces)",
|
||||
String(e.body.getCharacterCountWithoutSpaces()),
|
||||
String(e.selection.getCharacterCountWithoutSpaces()),
|
||||
],
|
||||
[
|
||||
"Characters",
|
||||
String(e.body.getCharacterCount()),
|
||||
String(e.selection.getCharacterCount()),
|
||||
],
|
||||
],
|
||||
},
|
||||
],
|
||||
},
|
||||
buttons: [
|
||||
{ type: "cancel", name: "close", text: "Close", primary: !0 },
|
||||
],
|
||||
});
|
||||
})(t, e),
|
||||
);
|
||||
})(t, n),
|
||||
((t) => {
|
||||
const e = () => t.execCommand("mceWordCount");
|
||||
t.ui.registry.addButton("wordcount", {
|
||||
tooltip: "Word count",
|
||||
icon: "character-count",
|
||||
onAction: e,
|
||||
}),
|
||||
t.ui.registry.addMenuItem("wordcount", {
|
||||
text: "Word count",
|
||||
icon: "character-count",
|
||||
onAction: e,
|
||||
});
|
||||
})(t),
|
||||
V(t, n, e),
|
||||
n
|
||||
);
|
||||
});
|
||||
})();
|
||||
})();
|
||||
@ -1,60 +0,0 @@
|
||||
body {
|
||||
background-color: #222f3e;
|
||||
color: #fff;
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
|
||||
Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
|
||||
line-height: 1.4;
|
||||
margin: 1rem;
|
||||
}
|
||||
a {
|
||||
color: #4099ff;
|
||||
}
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
}
|
||||
table:not([cellpadding]) td,
|
||||
table:not([cellpadding]) th {
|
||||
padding: 0.4rem;
|
||||
}
|
||||
table[border]:not([border="0"]):not([style*="border-width"]) td,
|
||||
table[border]:not([border="0"]):not([style*="border-width"]) th {
|
||||
border-width: 1px;
|
||||
}
|
||||
table[border]:not([border="0"]):not([style*="border-style"]) td,
|
||||
table[border]:not([border="0"]):not([style*="border-style"]) th {
|
||||
border-style: solid;
|
||||
}
|
||||
table[border]:not([border="0"]):not([style*="border-color"]) td,
|
||||
table[border]:not([border="0"]):not([style*="border-color"]) th {
|
||||
border-color: #6d737b;
|
||||
}
|
||||
figure {
|
||||
display: table;
|
||||
margin: 1rem auto;
|
||||
}
|
||||
figure figcaption {
|
||||
color: #8a8f97;
|
||||
display: block;
|
||||
margin-top: 0.25rem;
|
||||
text-align: center;
|
||||
}
|
||||
hr {
|
||||
border-color: #6d737b;
|
||||
border-style: solid;
|
||||
border-width: 1px 0 0 0;
|
||||
}
|
||||
code {
|
||||
background-color: #6d737b;
|
||||
border-radius: 3px;
|
||||
padding: 0.1rem 0.2rem;
|
||||
}
|
||||
.mce-content-body:not([dir="rtl"]) blockquote {
|
||||
border-left: 2px solid #6d737b;
|
||||
margin-left: 1.5rem;
|
||||
padding-left: 1rem;
|
||||
}
|
||||
.mce-content-body[dir="rtl"] blockquote {
|
||||
border-right: 2px solid #6d737b;
|
||||
margin-right: 1.5rem;
|
||||
padding-right: 1rem;
|
||||
}
|
||||
@ -1,55 +0,0 @@
|
||||
body {
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
|
||||
Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
|
||||
line-height: 1.4;
|
||||
margin: 1rem;
|
||||
}
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
}
|
||||
table:not([cellpadding]) td,
|
||||
table:not([cellpadding]) th {
|
||||
padding: 0.4rem;
|
||||
}
|
||||
table[border]:not([border="0"]):not([style*="border-width"]) td,
|
||||
table[border]:not([border="0"]):not([style*="border-width"]) th {
|
||||
border-width: 1px;
|
||||
}
|
||||
table[border]:not([border="0"]):not([style*="border-style"]) td,
|
||||
table[border]:not([border="0"]):not([style*="border-style"]) th {
|
||||
border-style: solid;
|
||||
}
|
||||
table[border]:not([border="0"]):not([style*="border-color"]) td,
|
||||
table[border]:not([border="0"]):not([style*="border-color"]) th {
|
||||
border-color: #ccc;
|
||||
}
|
||||
figure {
|
||||
display: table;
|
||||
margin: 1rem auto;
|
||||
}
|
||||
figure figcaption {
|
||||
color: #999;
|
||||
display: block;
|
||||
margin-top: 0.25rem;
|
||||
text-align: center;
|
||||
}
|
||||
hr {
|
||||
border-color: #ccc;
|
||||
border-style: solid;
|
||||
border-width: 1px 0 0 0;
|
||||
}
|
||||
code {
|
||||
background-color: #e8e8e8;
|
||||
border-radius: 3px;
|
||||
padding: 0.1rem 0.2rem;
|
||||
}
|
||||
.mce-content-body:not([dir="rtl"]) blockquote {
|
||||
border-left: 2px solid #ccc;
|
||||
margin-left: 1.5rem;
|
||||
padding-left: 1rem;
|
||||
}
|
||||
.mce-content-body[dir="rtl"] blockquote {
|
||||
border-right: 2px solid #ccc;
|
||||
margin-right: 1.5rem;
|
||||
padding-right: 1rem;
|
||||
}
|
||||
@ -1,60 +0,0 @@
|
||||
@media screen {
|
||||
html {
|
||||
background: #f4f4f4;
|
||||
min-height: 100%;
|
||||
}
|
||||
}
|
||||
body {
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
|
||||
Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
|
||||
}
|
||||
@media screen {
|
||||
body {
|
||||
background-color: #fff;
|
||||
box-shadow: 0 0 4px rgba(0, 0, 0, 0.15);
|
||||
box-sizing: border-box;
|
||||
margin: 1rem auto 0;
|
||||
max-width: 820px;
|
||||
min-height: calc(100vh - 1rem);
|
||||
padding: 4rem 6rem 6rem 6rem;
|
||||
}
|
||||
}
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
}
|
||||
table:not([cellpadding]) td,
|
||||
table:not([cellpadding]) th {
|
||||
padding: 0.4rem;
|
||||
}
|
||||
table[border]:not([border="0"]):not([style*="border-width"]) td,
|
||||
table[border]:not([border="0"]):not([style*="border-width"]) th {
|
||||
border-width: 1px;
|
||||
}
|
||||
table[border]:not([border="0"]):not([style*="border-style"]) td,
|
||||
table[border]:not([border="0"]):not([style*="border-style"]) th {
|
||||
border-style: solid;
|
||||
}
|
||||
table[border]:not([border="0"]):not([style*="border-color"]) td,
|
||||
table[border]:not([border="0"]):not([style*="border-color"]) th {
|
||||
border-color: #ccc;
|
||||
}
|
||||
figure figcaption {
|
||||
color: #999;
|
||||
margin-top: 0.25rem;
|
||||
text-align: center;
|
||||
}
|
||||
hr {
|
||||
border-color: #ccc;
|
||||
border-style: solid;
|
||||
border-width: 1px 0 0 0;
|
||||
}
|
||||
.mce-content-body:not([dir="rtl"]) blockquote {
|
||||
border-left: 2px solid #ccc;
|
||||
margin-left: 1.5rem;
|
||||
padding-left: 1rem;
|
||||
}
|
||||
.mce-content-body[dir="rtl"] blockquote {
|
||||
border-right: 2px solid #ccc;
|
||||
margin-right: 1.5rem;
|
||||
padding-right: 1rem;
|
||||
}
|
||||
@ -1,44 +0,0 @@
|
||||
body {
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
|
||||
Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
|
||||
line-height: 1.4;
|
||||
margin: 1rem;
|
||||
}
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
}
|
||||
table th,
|
||||
table td {
|
||||
border: 1px solid #ccc;
|
||||
padding: 0.4rem;
|
||||
}
|
||||
figure {
|
||||
display: table;
|
||||
margin: 1rem auto;
|
||||
}
|
||||
figure figcaption {
|
||||
color: #999;
|
||||
display: block;
|
||||
margin-top: 0.25rem;
|
||||
text-align: center;
|
||||
}
|
||||
hr {
|
||||
border-color: #ccc;
|
||||
border-style: solid;
|
||||
border-width: 1px 0 0 0;
|
||||
}
|
||||
code {
|
||||
background-color: #e8e8e8;
|
||||
border-radius: 3px;
|
||||
padding: 0.1rem 0.2rem;
|
||||
}
|
||||
.mce-content-body:not([dir="rtl"]) blockquote {
|
||||
border-left: 2px solid #ccc;
|
||||
margin-left: 1.5rem;
|
||||
padding-left: 1rem;
|
||||
}
|
||||
.mce-content-body[dir="rtl"] blockquote {
|
||||
border-right: 2px solid #ccc;
|
||||
margin-right: 1.5rem;
|
||||
padding-right: 1rem;
|
||||
}
|
||||
@ -1,44 +0,0 @@
|
||||
body {
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
|
||||
Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
|
||||
line-height: 1.4;
|
||||
margin: 1rem;
|
||||
}
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
}
|
||||
table td,
|
||||
table th {
|
||||
border: 1px solid #ccc;
|
||||
padding: 0.4rem;
|
||||
}
|
||||
figure {
|
||||
display: table;
|
||||
margin: 1rem auto;
|
||||
}
|
||||
figure figcaption {
|
||||
color: #999;
|
||||
display: block;
|
||||
margin-top: 0.25rem;
|
||||
text-align: center;
|
||||
}
|
||||
hr {
|
||||
border-color: #ccc;
|
||||
border-style: solid;
|
||||
border-width: 1px 0 0 0;
|
||||
}
|
||||
code {
|
||||
background-color: #e8e8e8;
|
||||
border-radius: 3px;
|
||||
padding: 0.1rem 0.2rem;
|
||||
}
|
||||
.mce-content-body:not([dir="rtl"]) blockquote {
|
||||
border-left: 2px solid #ccc;
|
||||
margin-left: 1.5rem;
|
||||
padding-left: 1rem;
|
||||
}
|
||||
.mce-content-body[dir="rtl"] blockquote {
|
||||
border-right: 2px solid #ccc;
|
||||
margin-right: 1.5rem;
|
||||
padding-right: 1rem;
|
||||
}
|
||||
@ -1,56 +0,0 @@
|
||||
body {
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
|
||||
Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
|
||||
line-height: 1.4;
|
||||
margin: 1rem auto;
|
||||
max-width: 900px;
|
||||
}
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
}
|
||||
table:not([cellpadding]) td,
|
||||
table:not([cellpadding]) th {
|
||||
padding: 0.4rem;
|
||||
}
|
||||
table[border]:not([border="0"]):not([style*="border-width"]) td,
|
||||
table[border]:not([border="0"]):not([style*="border-width"]) th {
|
||||
border-width: 1px;
|
||||
}
|
||||
table[border]:not([border="0"]):not([style*="border-style"]) td,
|
||||
table[border]:not([border="0"]):not([style*="border-style"]) th {
|
||||
border-style: solid;
|
||||
}
|
||||
table[border]:not([border="0"]):not([style*="border-color"]) td,
|
||||
table[border]:not([border="0"]):not([style*="border-color"]) th {
|
||||
border-color: #ccc;
|
||||
}
|
||||
figure {
|
||||
display: table;
|
||||
margin: 1rem auto;
|
||||
}
|
||||
figure figcaption {
|
||||
color: #999;
|
||||
display: block;
|
||||
margin-top: 0.25rem;
|
||||
text-align: center;
|
||||
}
|
||||
hr {
|
||||
border-color: #ccc;
|
||||
border-style: solid;
|
||||
border-width: 1px 0 0 0;
|
||||
}
|
||||
code {
|
||||
background-color: #e8e8e8;
|
||||
border-radius: 3px;
|
||||
padding: 0.1rem 0.2rem;
|
||||
}
|
||||
.mce-content-body:not([dir="rtl"]) blockquote {
|
||||
border-left: 2px solid #ccc;
|
||||
margin-left: 1.5rem;
|
||||
padding-left: 1rem;
|
||||
}
|
||||
.mce-content-body[dir="rtl"] blockquote {
|
||||
border-right: 2px solid #ccc;
|
||||
margin-right: 1.5rem;
|
||||
padding-right: 1rem;
|
||||
}
|
||||
@ -1,796 +0,0 @@
|
||||
.mce-content-body .mce-item-anchor {
|
||||
background: transparent
|
||||
url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'8'%20height%3D'12'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20d%3D'M0%200L8%200%208%2012%204.09117821%209%200%2012z'%2F%3E%3C%2Fsvg%3E%0A")
|
||||
no-repeat center;
|
||||
}
|
||||
.mce-content-body .mce-item-anchor:empty {
|
||||
cursor: default;
|
||||
display: inline-block;
|
||||
height: 12px !important;
|
||||
padding: 0 2px;
|
||||
-webkit-user-modify: read-only;
|
||||
-moz-user-modify: read-only;
|
||||
-webkit-user-select: all;
|
||||
-moz-user-select: all;
|
||||
user-select: all;
|
||||
width: 8px !important;
|
||||
}
|
||||
.mce-content-body .mce-item-anchor:not(:empty) {
|
||||
background-position-x: 2px;
|
||||
display: inline-block;
|
||||
padding-left: 12px;
|
||||
}
|
||||
.mce-content-body .mce-item-anchor[data-mce-selected] {
|
||||
outline-offset: 1px;
|
||||
}
|
||||
.tox-comments-visible
|
||||
.tox-comment[contenteditable="false"]:not([data-mce-selected]),
|
||||
.tox-comments-visible span.tox-comment img:not([data-mce-selected]),
|
||||
.tox-comments-visible
|
||||
span.tox-comment
|
||||
span.mce-preview-object:not([data-mce-selected]),
|
||||
.tox-comments-visible span.tox-comment > audio:not([data-mce-selected]),
|
||||
.tox-comments-visible span.tox-comment > video:not([data-mce-selected]) {
|
||||
outline: 3px solid #ffe89d;
|
||||
}
|
||||
.tox-comments-visible
|
||||
.tox-comment[contenteditable="false"][data-mce-annotation-active="true"]:not(
|
||||
[data-mce-selected]
|
||||
) {
|
||||
outline: 3px solid #fed635;
|
||||
}
|
||||
.tox-comments-visible
|
||||
span.tox-comment[data-mce-annotation-active="true"]
|
||||
img:not([data-mce-selected]),
|
||||
.tox-comments-visible
|
||||
span.tox-comment[data-mce-annotation-active="true"]
|
||||
span.mce-preview-object:not([data-mce-selected]),
|
||||
.tox-comments-visible
|
||||
span.tox-comment[data-mce-annotation-active="true"]
|
||||
> audio:not([data-mce-selected]),
|
||||
.tox-comments-visible
|
||||
span.tox-comment[data-mce-annotation-active="true"]
|
||||
> video:not([data-mce-selected]) {
|
||||
outline: 3px solid #fed635;
|
||||
}
|
||||
.tox-comments-visible span.tox-comment:not([data-mce-selected]) {
|
||||
background-color: #ffe89d;
|
||||
outline: 0;
|
||||
}
|
||||
.tox-comments-visible
|
||||
span.tox-comment[data-mce-annotation-active="true"]:not(
|
||||
[data-mce-selected="inline-boundary"]
|
||||
) {
|
||||
background-color: #fed635;
|
||||
}
|
||||
.tox-checklist > li:not(.tox-checklist--hidden) {
|
||||
list-style: none;
|
||||
margin: 0.25em 0;
|
||||
}
|
||||
.tox-checklist > li:not(.tox-checklist--hidden)::before {
|
||||
content: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-unchecked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2215%22%20height%3D%2215%22%20x%3D%22.5%22%20y%3D%22.5%22%20fill-rule%3D%22nonzero%22%20stroke%3D%22%234C4C4C%22%20rx%3D%222%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A");
|
||||
cursor: pointer;
|
||||
height: 1em;
|
||||
margin-left: -1.5em;
|
||||
margin-top: 0.125em;
|
||||
position: absolute;
|
||||
width: 1em;
|
||||
}
|
||||
.tox-checklist li:not(.tox-checklist--hidden).tox-checklist--checked::before {
|
||||
content: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-checked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2216%22%20height%3D%2216%22%20fill%3D%22%234099FF%22%20fill-rule%3D%22nonzero%22%20rx%3D%222%22%2F%3E%3Cpath%20id%3D%22Path%22%20fill%3D%22%23FFF%22%20fill-rule%3D%22nonzero%22%20d%3D%22M11.5703186%2C3.14417309%20C11.8516238%2C2.73724603%2012.4164781%2C2.62829933%2012.83558%2C2.89774797%20C13.260121%2C3.17069355%2013.3759736%2C3.72932262%2013.0909105%2C4.14168582%20L7.7580587%2C11.8560195%20C7.43776896%2C12.3193404%206.76483983%2C12.3852142%206.35607322%2C11.9948725%20L3.02491697%2C8.8138662%20C2.66090143%2C8.46625845%202.65798871%2C7.89594698%203.01850234%2C7.54483354%20C3.373942%2C7.19866177%203.94940006%2C7.19592841%204.30829608%2C7.5386474%20L6.85276923%2C9.9684299%20L11.5703186%2C3.14417309%20Z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A");
|
||||
}
|
||||
[dir="rtl"] .tox-checklist > li:not(.tox-checklist--hidden)::before {
|
||||
margin-left: 0;
|
||||
margin-right: -1.5em;
|
||||
}
|
||||
code[class*="language-"],
|
||||
pre[class*="language-"] {
|
||||
color: #000;
|
||||
background: 0 0;
|
||||
text-shadow: 0 1px #fff;
|
||||
font-family: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace;
|
||||
font-size: 1em;
|
||||
text-align: left;
|
||||
white-space: pre;
|
||||
word-spacing: normal;
|
||||
word-break: normal;
|
||||
word-wrap: normal;
|
||||
line-height: 1.5;
|
||||
-moz-tab-size: 4;
|
||||
tab-size: 4;
|
||||
-webkit-hyphens: none;
|
||||
hyphens: none;
|
||||
}
|
||||
code[class*="language-"] ::-moz-selection,
|
||||
code[class*="language-"]::-moz-selection,
|
||||
pre[class*="language-"] ::-moz-selection,
|
||||
pre[class*="language-"]::-moz-selection {
|
||||
text-shadow: none;
|
||||
background: #b3d4fc;
|
||||
}
|
||||
code[class*="language-"] ::selection,
|
||||
code[class*="language-"]::selection,
|
||||
pre[class*="language-"] ::selection,
|
||||
pre[class*="language-"]::selection {
|
||||
text-shadow: none;
|
||||
background: #b3d4fc;
|
||||
}
|
||||
@media print {
|
||||
code[class*="language-"],
|
||||
pre[class*="language-"] {
|
||||
text-shadow: none;
|
||||
}
|
||||
}
|
||||
pre[class*="language-"] {
|
||||
padding: 1em;
|
||||
margin: 0.5em 0;
|
||||
overflow: auto;
|
||||
}
|
||||
:not(pre) > code[class*="language-"],
|
||||
pre[class*="language-"] {
|
||||
background: #f5f2f0;
|
||||
}
|
||||
:not(pre) > code[class*="language-"] {
|
||||
padding: 0.1em;
|
||||
border-radius: 0.3em;
|
||||
white-space: normal;
|
||||
}
|
||||
.token.cdata,
|
||||
.token.comment,
|
||||
.token.doctype,
|
||||
.token.prolog {
|
||||
color: #708090;
|
||||
}
|
||||
.token.punctuation {
|
||||
color: #999;
|
||||
}
|
||||
.token.namespace {
|
||||
opacity: 0.7;
|
||||
}
|
||||
.token.boolean,
|
||||
.token.constant,
|
||||
.token.deleted,
|
||||
.token.number,
|
||||
.token.property,
|
||||
.token.symbol,
|
||||
.token.tag {
|
||||
color: #905;
|
||||
}
|
||||
.token.attr-name,
|
||||
.token.builtin,
|
||||
.token.char,
|
||||
.token.inserted,
|
||||
.token.selector,
|
||||
.token.string {
|
||||
color: #690;
|
||||
}
|
||||
.language-css .token.string,
|
||||
.style .token.string,
|
||||
.token.entity,
|
||||
.token.operator,
|
||||
.token.url {
|
||||
color: #9a6e3a;
|
||||
background: hsla(0, 0%, 100%, 0.5);
|
||||
}
|
||||
.token.atrule,
|
||||
.token.attr-value,
|
||||
.token.keyword {
|
||||
color: #07a;
|
||||
}
|
||||
.token.class-name,
|
||||
.token.function {
|
||||
color: #dd4a68;
|
||||
}
|
||||
.token.important,
|
||||
.token.regex,
|
||||
.token.variable {
|
||||
color: #e90;
|
||||
}
|
||||
.token.bold,
|
||||
.token.important {
|
||||
font-weight: 700;
|
||||
}
|
||||
.token.italic {
|
||||
font-style: italic;
|
||||
}
|
||||
.token.entity {
|
||||
cursor: help;
|
||||
}
|
||||
.mce-content-body {
|
||||
overflow-wrap: break-word;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
.mce-content-body .mce-visual-caret {
|
||||
background-color: #000;
|
||||
background-color: currentColor;
|
||||
position: absolute;
|
||||
}
|
||||
.mce-content-body .mce-visual-caret-hidden {
|
||||
display: none;
|
||||
}
|
||||
.mce-content-body [data-mce-caret] {
|
||||
left: -1000px;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
position: absolute;
|
||||
right: auto;
|
||||
top: 0;
|
||||
}
|
||||
.mce-content-body .mce-offscreen-selection {
|
||||
left: -2000000px;
|
||||
max-width: 1000000px;
|
||||
position: absolute;
|
||||
}
|
||||
.mce-content-body [contentEditable="false"] {
|
||||
cursor: default;
|
||||
}
|
||||
.mce-content-body [contentEditable="true"] {
|
||||
cursor: text;
|
||||
}
|
||||
.tox-cursor-format-painter {
|
||||
cursor: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%3E%0A%20%20%3Cg%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M15%2C6%20C15%2C5.45%2014.55%2C5%2014%2C5%20L6%2C5%20C5.45%2C5%205%2C5.45%205%2C6%20L5%2C10%20C5%2C10.55%205.45%2C11%206%2C11%20L14%2C11%20C14.55%2C11%2015%2C10.55%2015%2C10%20L15%2C9%20L16%2C9%20L16%2C12%20L9%2C12%20L9%2C19%20C9%2C19.55%209.45%2C20%2010%2C20%20L11%2C20%20C11.55%2C20%2012%2C19.55%2012%2C19%20L12%2C14%20L18%2C14%20L18%2C7%20L15%2C7%20L15%2C6%20Z%22%2F%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M1%2C1%20L8.25%2C1%20C8.66421356%2C1%209%2C1.33578644%209%2C1.75%20L9%2C1.75%20C9%2C2.16421356%208.66421356%2C2.5%208.25%2C2.5%20L2.5%2C2.5%20L2.5%2C8.25%20C2.5%2C8.66421356%202.16421356%2C9%201.75%2C9%20L1.75%2C9%20C1.33578644%2C9%201%2C8.66421356%201%2C8.25%20L1%2C1%20Z%22%2F%3E%0A%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E%0A"),
|
||||
default;
|
||||
}
|
||||
div.mce-footnotes hr {
|
||||
margin-inline-end: auto;
|
||||
margin-inline-start: 0;
|
||||
width: 25%;
|
||||
}
|
||||
div.mce-footnotes li > a.mce-footnotes-backlink {
|
||||
text-decoration: none;
|
||||
}
|
||||
@media print {
|
||||
sup.mce-footnote a {
|
||||
color: #000;
|
||||
text-decoration: none;
|
||||
}
|
||||
div.mce-footnotes {
|
||||
break-inside: avoid;
|
||||
width: 100%;
|
||||
}
|
||||
div.mce-footnotes li > a.mce-footnotes-backlink {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
.mce-content-body figure.align-left {
|
||||
float: left;
|
||||
}
|
||||
.mce-content-body figure.align-right {
|
||||
float: right;
|
||||
}
|
||||
.mce-content-body figure.image.align-center {
|
||||
display: table;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
.mce-preview-object {
|
||||
border: 1px solid gray;
|
||||
display: inline-block;
|
||||
line-height: 0;
|
||||
margin: 0 2px 0 2px;
|
||||
position: relative;
|
||||
}
|
||||
.mce-preview-object .mce-shim {
|
||||
background: url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7);
|
||||
height: 100%;
|
||||
left: 0;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
}
|
||||
.mce-preview-object[data-mce-selected="2"] .mce-shim {
|
||||
display: none;
|
||||
}
|
||||
.mce-content-body .mce-mergetag {
|
||||
cursor: default !important;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
.mce-content-body .mce-mergetag:hover {
|
||||
background-color: rgba(0, 108, 231, 0.1);
|
||||
}
|
||||
.mce-content-body .mce-mergetag-affix {
|
||||
background-color: rgba(0, 108, 231, 0.1);
|
||||
color: #006ce7;
|
||||
}
|
||||
.mce-object {
|
||||
background: transparent
|
||||
url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%3E%3Cpath%20d%3D%22M4%203h16a1%201%200%200%201%201%201v16a1%201%200%200%201-1%201H4a1%201%200%200%201-1-1V4a1%201%200%200%201%201-1zm1%202v14h14V5H5zm4.79%202.565l5.64%204.028a.5.5%200%200%201%200%20.814l-5.64%204.028a.5.5%200%200%201-.79-.407V7.972a.5.5%200%200%201%20.79-.407z%22%2F%3E%3C%2Fsvg%3E%0A")
|
||||
no-repeat center;
|
||||
border: 1px dashed #aaa;
|
||||
}
|
||||
.mce-pagebreak {
|
||||
border: 1px dashed #aaa;
|
||||
cursor: default;
|
||||
display: block;
|
||||
height: 5px;
|
||||
margin-top: 15px;
|
||||
page-break-before: always;
|
||||
width: 100%;
|
||||
}
|
||||
@media print {
|
||||
.mce-pagebreak {
|
||||
border: 0;
|
||||
}
|
||||
}
|
||||
.tiny-pageembed .mce-shim {
|
||||
background: url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7);
|
||||
height: 100%;
|
||||
left: 0;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
}
|
||||
.tiny-pageembed[data-mce-selected="2"] .mce-shim {
|
||||
display: none;
|
||||
}
|
||||
.tiny-pageembed {
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
}
|
||||
.tiny-pageembed--16by9,
|
||||
.tiny-pageembed--1by1,
|
||||
.tiny-pageembed--21by9,
|
||||
.tiny-pageembed--4by3 {
|
||||
display: block;
|
||||
overflow: hidden;
|
||||
padding: 0;
|
||||
position: relative;
|
||||
width: 100%;
|
||||
}
|
||||
.tiny-pageembed--21by9 {
|
||||
padding-top: 42.857143%;
|
||||
}
|
||||
.tiny-pageembed--16by9 {
|
||||
padding-top: 56.25%;
|
||||
}
|
||||
.tiny-pageembed--4by3 {
|
||||
padding-top: 75%;
|
||||
}
|
||||
.tiny-pageembed--1by1 {
|
||||
padding-top: 100%;
|
||||
}
|
||||
.tiny-pageembed--16by9 iframe,
|
||||
.tiny-pageembed--1by1 iframe,
|
||||
.tiny-pageembed--21by9 iframe,
|
||||
.tiny-pageembed--4by3 iframe {
|
||||
border: 0;
|
||||
height: 100%;
|
||||
left: 0;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
}
|
||||
.mce-content-body[data-mce-placeholder] {
|
||||
position: relative;
|
||||
}
|
||||
.mce-content-body[data-mce-placeholder]:not(.mce-visualblocks)::before {
|
||||
color: rgba(34, 47, 62, 0.7);
|
||||
content: attr(data-mce-placeholder);
|
||||
position: absolute;
|
||||
}
|
||||
.mce-content-body:not([dir="rtl"])[data-mce-placeholder]:not(
|
||||
.mce-visualblocks
|
||||
)::before {
|
||||
left: 1px;
|
||||
}
|
||||
.mce-content-body[dir="rtl"][data-mce-placeholder]:not(
|
||||
.mce-visualblocks
|
||||
)::before {
|
||||
right: 1px;
|
||||
}
|
||||
.mce-content-body div.mce-resizehandle {
|
||||
background-color: #4099ff;
|
||||
border-color: #4099ff;
|
||||
border-style: solid;
|
||||
border-width: 1px;
|
||||
box-sizing: border-box;
|
||||
height: 10px;
|
||||
position: absolute;
|
||||
width: 10px;
|
||||
z-index: 1298;
|
||||
}
|
||||
.mce-content-body div.mce-resizehandle:hover {
|
||||
background-color: #4099ff;
|
||||
}
|
||||
.mce-content-body div.mce-resizehandle:nth-of-type(1) {
|
||||
cursor: nwse-resize;
|
||||
}
|
||||
.mce-content-body div.mce-resizehandle:nth-of-type(2) {
|
||||
cursor: nesw-resize;
|
||||
}
|
||||
.mce-content-body div.mce-resizehandle:nth-of-type(3) {
|
||||
cursor: nwse-resize;
|
||||
}
|
||||
.mce-content-body div.mce-resizehandle:nth-of-type(4) {
|
||||
cursor: nesw-resize;
|
||||
}
|
||||
.mce-content-body .mce-resize-backdrop {
|
||||
z-index: 10000;
|
||||
}
|
||||
.mce-content-body .mce-clonedresizable {
|
||||
cursor: default;
|
||||
opacity: 0.5;
|
||||
outline: 1px dashed #000;
|
||||
position: absolute;
|
||||
z-index: 10001;
|
||||
}
|
||||
.mce-content-body .mce-clonedresizable.mce-resizetable-columns td,
|
||||
.mce-content-body .mce-clonedresizable.mce-resizetable-columns th {
|
||||
border: 0;
|
||||
}
|
||||
.mce-content-body .mce-resize-helper {
|
||||
background: #555;
|
||||
background: rgba(0, 0, 0, 0.75);
|
||||
border: 1px;
|
||||
border-radius: 3px;
|
||||
color: #fff;
|
||||
display: none;
|
||||
font-family: sans-serif;
|
||||
font-size: 12px;
|
||||
line-height: 14px;
|
||||
margin: 5px 10px;
|
||||
padding: 5px;
|
||||
position: absolute;
|
||||
white-space: nowrap;
|
||||
z-index: 10002;
|
||||
}
|
||||
.tox-rtc-user-selection {
|
||||
position: relative;
|
||||
}
|
||||
.tox-rtc-user-cursor {
|
||||
bottom: 0;
|
||||
cursor: default;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
width: 2px;
|
||||
}
|
||||
.tox-rtc-user-cursor::before {
|
||||
background-color: inherit;
|
||||
border-radius: 50%;
|
||||
content: "";
|
||||
display: block;
|
||||
height: 8px;
|
||||
position: absolute;
|
||||
right: -3px;
|
||||
top: -3px;
|
||||
width: 8px;
|
||||
}
|
||||
.tox-rtc-user-cursor:hover::after {
|
||||
background-color: inherit;
|
||||
border-radius: 100px;
|
||||
box-sizing: border-box;
|
||||
color: #fff;
|
||||
content: attr(data-user);
|
||||
display: block;
|
||||
font-size: 12px;
|
||||
font-weight: 700;
|
||||
left: -5px;
|
||||
min-height: 8px;
|
||||
min-width: 8px;
|
||||
padding: 0 12px;
|
||||
position: absolute;
|
||||
top: -11px;
|
||||
white-space: nowrap;
|
||||
z-index: 1000;
|
||||
}
|
||||
.tox-rtc-user-selection--1 .tox-rtc-user-cursor {
|
||||
background-color: #2dc26b;
|
||||
}
|
||||
.tox-rtc-user-selection--2 .tox-rtc-user-cursor {
|
||||
background-color: #e03e2d;
|
||||
}
|
||||
.tox-rtc-user-selection--3 .tox-rtc-user-cursor {
|
||||
background-color: #f1c40f;
|
||||
}
|
||||
.tox-rtc-user-selection--4 .tox-rtc-user-cursor {
|
||||
background-color: #3598db;
|
||||
}
|
||||
.tox-rtc-user-selection--5 .tox-rtc-user-cursor {
|
||||
background-color: #b96ad9;
|
||||
}
|
||||
.tox-rtc-user-selection--6 .tox-rtc-user-cursor {
|
||||
background-color: #e67e23;
|
||||
}
|
||||
.tox-rtc-user-selection--7 .tox-rtc-user-cursor {
|
||||
background-color: #aaa69d;
|
||||
}
|
||||
.tox-rtc-user-selection--8 .tox-rtc-user-cursor {
|
||||
background-color: #f368e0;
|
||||
}
|
||||
.tox-rtc-remote-image {
|
||||
background: #eaeaea
|
||||
url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2236%22%20height%3D%2212%22%20viewBox%3D%220%200%2036%2012%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%3Ccircle%20cx%3D%226%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%20%20%3Ccircle%20cx%3D%2218%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20begin%3D%22.33s%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%20%20%3Ccircle%20cx%3D%2230%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20begin%3D%22.66s%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%3C%2Fsvg%3E%0A")
|
||||
no-repeat center center;
|
||||
border: 1px solid #ccc;
|
||||
min-height: 240px;
|
||||
min-width: 320px;
|
||||
}
|
||||
.mce-match-marker {
|
||||
background: #aaa;
|
||||
color: #fff;
|
||||
}
|
||||
.mce-match-marker-selected {
|
||||
background: #39f;
|
||||
color: #fff;
|
||||
}
|
||||
.mce-match-marker-selected::-moz-selection {
|
||||
background: #39f;
|
||||
color: #fff;
|
||||
}
|
||||
.mce-match-marker-selected::selection {
|
||||
background: #39f;
|
||||
color: #fff;
|
||||
}
|
||||
.mce-content-body audio[data-mce-selected],
|
||||
.mce-content-body details[data-mce-selected],
|
||||
.mce-content-body embed[data-mce-selected],
|
||||
.mce-content-body img[data-mce-selected],
|
||||
.mce-content-body object[data-mce-selected],
|
||||
.mce-content-body table[data-mce-selected],
|
||||
.mce-content-body video[data-mce-selected] {
|
||||
outline: 3px solid #b4d7ff;
|
||||
}
|
||||
.mce-content-body hr[data-mce-selected] {
|
||||
outline: 3px solid #b4d7ff;
|
||||
outline-offset: 1px;
|
||||
}
|
||||
.mce-content-body [contentEditable="false"] [contentEditable="true"]:focus {
|
||||
outline: 3px solid #b4d7ff;
|
||||
}
|
||||
.mce-content-body [contentEditable="false"] [contentEditable="true"]:hover {
|
||||
outline: 3px solid #b4d7ff;
|
||||
}
|
||||
.mce-content-body [contentEditable="false"][data-mce-selected] {
|
||||
cursor: not-allowed;
|
||||
outline: 3px solid #b4d7ff;
|
||||
}
|
||||
.mce-content-body.mce-content-readonly [contentEditable="true"]:focus,
|
||||
.mce-content-body.mce-content-readonly [contentEditable="true"]:hover {
|
||||
outline: 0;
|
||||
}
|
||||
.mce-content-body [data-mce-selected="inline-boundary"] {
|
||||
background-color: #b4d7ff;
|
||||
}
|
||||
.mce-content-body .mce-edit-focus {
|
||||
outline: 3px solid #b4d7ff;
|
||||
}
|
||||
.mce-content-body td[data-mce-selected],
|
||||
.mce-content-body th[data-mce-selected] {
|
||||
position: relative;
|
||||
}
|
||||
.mce-content-body td[data-mce-selected]::-moz-selection,
|
||||
.mce-content-body th[data-mce-selected]::-moz-selection {
|
||||
background: 0 0;
|
||||
}
|
||||
.mce-content-body td[data-mce-selected]::selection,
|
||||
.mce-content-body th[data-mce-selected]::selection {
|
||||
background: 0 0;
|
||||
}
|
||||
.mce-content-body td[data-mce-selected] *,
|
||||
.mce-content-body th[data-mce-selected] * {
|
||||
outline: 0;
|
||||
-webkit-touch-callout: none;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
.mce-content-body td[data-mce-selected]::after,
|
||||
.mce-content-body th[data-mce-selected]::after {
|
||||
background-color: rgba(180, 215, 255, 0.7);
|
||||
border: 1px solid rgba(180, 215, 255, 0.7);
|
||||
bottom: -1px;
|
||||
content: "";
|
||||
left: -1px;
|
||||
mix-blend-mode: multiply;
|
||||
position: absolute;
|
||||
right: -1px;
|
||||
top: -1px;
|
||||
}
|
||||
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
|
||||
.mce-content-body td[data-mce-selected]::after,
|
||||
.mce-content-body th[data-mce-selected]::after {
|
||||
border-color: rgba(0, 84, 180, 0.7);
|
||||
}
|
||||
}
|
||||
.mce-content-body img[data-mce-selected]::-moz-selection {
|
||||
background: 0 0;
|
||||
}
|
||||
.mce-content-body img[data-mce-selected]::selection {
|
||||
background: 0 0;
|
||||
}
|
||||
.ephox-snooker-resizer-bar {
|
||||
background-color: #b4d7ff;
|
||||
opacity: 0;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
.ephox-snooker-resizer-cols {
|
||||
cursor: col-resize;
|
||||
}
|
||||
.ephox-snooker-resizer-rows {
|
||||
cursor: row-resize;
|
||||
}
|
||||
.ephox-snooker-resizer-bar.ephox-snooker-resizer-bar-dragging {
|
||||
opacity: 1;
|
||||
}
|
||||
.mce-spellchecker-word {
|
||||
background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%23ff0000'%20fill%3D'none'%20stroke-linecap%3D'round'%20stroke-opacity%3D'.75'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A");
|
||||
background-position: 0 calc(100% + 1px);
|
||||
background-repeat: repeat-x;
|
||||
background-size: auto 6px;
|
||||
cursor: default;
|
||||
height: 2rem;
|
||||
}
|
||||
.mce-spellchecker-grammar {
|
||||
background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%2300A835'%20fill%3D'none'%20stroke-linecap%3D'round'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A");
|
||||
background-position: 0 calc(100% + 1px);
|
||||
background-repeat: repeat-x;
|
||||
background-size: auto 6px;
|
||||
cursor: default;
|
||||
}
|
||||
.mce-toc {
|
||||
border: 1px solid gray;
|
||||
}
|
||||
.mce-toc h2 {
|
||||
margin: 4px;
|
||||
}
|
||||
.mce-toc ul > li {
|
||||
list-style-type: none;
|
||||
}
|
||||
[data-mce-block] {
|
||||
display: block;
|
||||
}
|
||||
.mce-item-table:not([border]),
|
||||
.mce-item-table:not([border]) caption,
|
||||
.mce-item-table:not([border]) td,
|
||||
.mce-item-table:not([border]) th,
|
||||
.mce-item-table[border="0"],
|
||||
.mce-item-table[border="0"] caption,
|
||||
.mce-item-table[border="0"] td,
|
||||
.mce-item-table[border="0"] th,
|
||||
table[style*="border-width: 0px"],
|
||||
table[style*="border-width: 0px"] caption,
|
||||
table[style*="border-width: 0px"] td,
|
||||
table[style*="border-width: 0px"] th {
|
||||
border: 1px dashed #bbb;
|
||||
}
|
||||
.mce-visualblocks address,
|
||||
.mce-visualblocks article,
|
||||
.mce-visualblocks aside,
|
||||
.mce-visualblocks blockquote,
|
||||
.mce-visualblocks div:not([data-mce-bogus]),
|
||||
.mce-visualblocks dl,
|
||||
.mce-visualblocks figcaption,
|
||||
.mce-visualblocks figure,
|
||||
.mce-visualblocks h1,
|
||||
.mce-visualblocks h2,
|
||||
.mce-visualblocks h3,
|
||||
.mce-visualblocks h4,
|
||||
.mce-visualblocks h5,
|
||||
.mce-visualblocks h6,
|
||||
.mce-visualblocks hgroup,
|
||||
.mce-visualblocks ol,
|
||||
.mce-visualblocks p,
|
||||
.mce-visualblocks pre,
|
||||
.mce-visualblocks section,
|
||||
.mce-visualblocks ul {
|
||||
background-repeat: no-repeat;
|
||||
border: 1px dashed #bbb;
|
||||
margin-left: 3px;
|
||||
padding-top: 10px;
|
||||
}
|
||||
.mce-visualblocks p {
|
||||
background-image: url(data:image/gif;base64,R0lGODlhCQAJAJEAAAAAAP///7u7u////yH5BAEAAAMALAAAAAAJAAkAAAIQnG+CqCN/mlyvsRUpThG6AgA7);
|
||||
}
|
||||
.mce-visualblocks h1 {
|
||||
background-image: url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybGu1JuxHoAfRNRW3TWXyF2YiRUAOw==);
|
||||
}
|
||||
.mce-visualblocks h2 {
|
||||
background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8Hybbx4oOuqgTynJd6bGlWg3DkJzoaUAAAOw==);
|
||||
}
|
||||
.mce-visualblocks h3 {
|
||||
background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIZjI8Hybbx4oOuqgTynJf2Ln2NOHpQpmhAAQA7);
|
||||
}
|
||||
.mce-visualblocks h4 {
|
||||
background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxInR0zqeAdhtJlXwV1oCll2HaWgAAOw==);
|
||||
}
|
||||
.mce-visualblocks h5 {
|
||||
background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxIoiuwjane4iq5GlW05GgIkIZUAAAOw==);
|
||||
}
|
||||
.mce-visualblocks h6 {
|
||||
background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxIoiuwjan04jep1iZ1XRlAo5bVgAAOw==);
|
||||
}
|
||||
.mce-visualblocks div:not([data-mce-bogus]) {
|
||||
background-image: url(data:image/gif;base64,R0lGODlhEgAKAIABALu7u////yH5BAEAAAEALAAAAAASAAoAAAIfjI9poI0cgDywrhuxfbrzDEbQM2Ei5aRjmoySW4pAAQA7);
|
||||
}
|
||||
.mce-visualblocks section {
|
||||
background-image: url(data:image/gif;base64,R0lGODlhKAAKAIABALu7u////yH5BAEAAAEALAAAAAAoAAoAAAI5jI+pywcNY3sBWHdNrplytD2ellDeSVbp+GmWqaDqDMepc8t17Y4vBsK5hDyJMcI6KkuYU+jpjLoKADs=);
|
||||
}
|
||||
.mce-visualblocks article {
|
||||
background-image: url(data:image/gif;base64,R0lGODlhKgAKAIABALu7u////yH5BAEAAAEALAAAAAAqAAoAAAI6jI+pywkNY3wG0GBvrsd2tXGYSGnfiF7ikpXemTpOiJScasYoDJJrjsG9gkCJ0ag6KhmaIe3pjDYBBQA7);
|
||||
}
|
||||
.mce-visualblocks blockquote {
|
||||
background-image: url(data:image/gif;base64,R0lGODlhPgAKAIABALu7u////yH5BAEAAAEALAAAAAA+AAoAAAJPjI+py+0Knpz0xQDyuUhvfoGgIX5iSKZYgq5uNL5q69asZ8s5rrf0yZmpNkJZzFesBTu8TOlDVAabUyatguVhWduud3EyiUk45xhTTgMBBQA7);
|
||||
}
|
||||
.mce-visualblocks address {
|
||||
background-image: url(data:image/gif;base64,R0lGODlhLQAKAIABALu7u////yH5BAEAAAEALAAAAAAtAAoAAAI/jI+pywwNozSP1gDyyZcjb3UaRpXkWaXmZW4OqKLhBmLs+K263DkJK7OJeifh7FicKD9A1/IpGdKkyFpNmCkAADs=);
|
||||
}
|
||||
.mce-visualblocks pre {
|
||||
background-image: url(data:image/gif;base64,R0lGODlhFQAKAIABALu7uwAAACH5BAEAAAEALAAAAAAVAAoAAAIjjI+ZoN0cgDwSmnpz1NCueYERhnibZVKLNnbOq8IvKpJtVQAAOw==);
|
||||
}
|
||||
.mce-visualblocks figure {
|
||||
background-image: url(data:image/gif;base64,R0lGODlhJAAKAIAAALu7u////yH5BAEAAAEALAAAAAAkAAoAAAI0jI+py+2fwAHUSFvD3RlvG4HIp4nX5JFSpnZUJ6LlrM52OE7uSWosBHScgkSZj7dDKnWAAgA7);
|
||||
}
|
||||
.mce-visualblocks figcaption {
|
||||
border: 1px dashed #bbb;
|
||||
}
|
||||
.mce-visualblocks hgroup {
|
||||
background-image: url(data:image/gif;base64,R0lGODlhJwAKAIABALu7uwAAACH5BAEAAAEALAAAAAAnAAoAAAI3jI+pywYNI3uB0gpsRtt5fFnfNZaVSYJil4Wo03Hv6Z62uOCgiXH1kZIIJ8NiIxRrAZNMZAtQAAA7);
|
||||
}
|
||||
.mce-visualblocks aside {
|
||||
background-image: url(data:image/gif;base64,R0lGODlhHgAKAIABAKqqqv///yH5BAEAAAEALAAAAAAeAAoAAAItjI+pG8APjZOTzgtqy7I3f1yehmQcFY4WKZbqByutmW4aHUd6vfcVbgudgpYCADs=);
|
||||
}
|
||||
.mce-visualblocks ul {
|
||||
background-image: url(data:image/gif;base64,R0lGODlhDQAKAIAAALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybGuYnqUVSjvw26DzzXiqIDlVwAAOw==);
|
||||
}
|
||||
.mce-visualblocks ol {
|
||||
background-image: url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybH6HHt0qourxC6CvzXieHyeWQAAOw==);
|
||||
}
|
||||
.mce-visualblocks dl {
|
||||
background-image: url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybEOnmOvUoWznTqeuEjNSCqeGRUAOw==);
|
||||
}
|
||||
.mce-visualblocks:not([dir="rtl"]) address,
|
||||
.mce-visualblocks:not([dir="rtl"]) article,
|
||||
.mce-visualblocks:not([dir="rtl"]) aside,
|
||||
.mce-visualblocks:not([dir="rtl"]) blockquote,
|
||||
.mce-visualblocks:not([dir="rtl"]) div:not([data-mce-bogus]),
|
||||
.mce-visualblocks:not([dir="rtl"]) dl,
|
||||
.mce-visualblocks:not([dir="rtl"]) figcaption,
|
||||
.mce-visualblocks:not([dir="rtl"]) figure,
|
||||
.mce-visualblocks:not([dir="rtl"]) h1,
|
||||
.mce-visualblocks:not([dir="rtl"]) h2,
|
||||
.mce-visualblocks:not([dir="rtl"]) h3,
|
||||
.mce-visualblocks:not([dir="rtl"]) h4,
|
||||
.mce-visualblocks:not([dir="rtl"]) h5,
|
||||
.mce-visualblocks:not([dir="rtl"]) h6,
|
||||
.mce-visualblocks:not([dir="rtl"]) hgroup,
|
||||
.mce-visualblocks:not([dir="rtl"]) ol,
|
||||
.mce-visualblocks:not([dir="rtl"]) p,
|
||||
.mce-visualblocks:not([dir="rtl"]) pre,
|
||||
.mce-visualblocks:not([dir="rtl"]) section,
|
||||
.mce-visualblocks:not([dir="rtl"]) ul {
|
||||
margin-left: 3px;
|
||||
}
|
||||
.mce-visualblocks[dir="rtl"] address,
|
||||
.mce-visualblocks[dir="rtl"] article,
|
||||
.mce-visualblocks[dir="rtl"] aside,
|
||||
.mce-visualblocks[dir="rtl"] blockquote,
|
||||
.mce-visualblocks[dir="rtl"] div:not([data-mce-bogus]),
|
||||
.mce-visualblocks[dir="rtl"] dl,
|
||||
.mce-visualblocks[dir="rtl"] figcaption,
|
||||
.mce-visualblocks[dir="rtl"] figure,
|
||||
.mce-visualblocks[dir="rtl"] h1,
|
||||
.mce-visualblocks[dir="rtl"] h2,
|
||||
.mce-visualblocks[dir="rtl"] h3,
|
||||
.mce-visualblocks[dir="rtl"] h4,
|
||||
.mce-visualblocks[dir="rtl"] h5,
|
||||
.mce-visualblocks[dir="rtl"] h6,
|
||||
.mce-visualblocks[dir="rtl"] hgroup,
|
||||
.mce-visualblocks[dir="rtl"] ol,
|
||||
.mce-visualblocks[dir="rtl"] p,
|
||||
.mce-visualblocks[dir="rtl"] pre,
|
||||
.mce-visualblocks[dir="rtl"] section,
|
||||
.mce-visualblocks[dir="rtl"] ul {
|
||||
background-position-x: right;
|
||||
margin-right: 3px;
|
||||
}
|
||||
.mce-nbsp,
|
||||
.mce-shy {
|
||||
background: #aaa;
|
||||
}
|
||||
.mce-shy::after {
|
||||
content: "-";
|
||||
}
|
||||
802
src/lib/dist/tinymce/skins/ui/oxide/content.min.css
vendored
802
src/lib/dist/tinymce/skins/ui/oxide/content.min.css
vendored
@ -1,802 +0,0 @@
|
||||
.mce-content-body .mce-item-anchor {
|
||||
background: transparent
|
||||
url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'8'%20height%3D'12'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20d%3D'M0%200L8%200%208%2012%204.09117821%209%200%2012z'%2F%3E%3C%2Fsvg%3E%0A")
|
||||
no-repeat center;
|
||||
}
|
||||
.mce-content-body .mce-item-anchor:empty {
|
||||
cursor: default;
|
||||
display: inline-block;
|
||||
height: 12px !important;
|
||||
padding: 0 2px;
|
||||
-webkit-user-modify: read-only;
|
||||
-moz-user-modify: read-only;
|
||||
-webkit-user-select: all;
|
||||
-moz-user-select: all;
|
||||
user-select: all;
|
||||
width: 8px !important;
|
||||
}
|
||||
.mce-content-body .mce-item-anchor:not(:empty) {
|
||||
background-position-x: 2px;
|
||||
display: inline-block;
|
||||
padding-left: 12px;
|
||||
}
|
||||
.mce-content-body .mce-item-anchor[data-mce-selected] {
|
||||
outline-offset: 1px;
|
||||
}
|
||||
.tox-comments-visible
|
||||
.tox-comment[contenteditable="false"]:not([data-mce-selected]),
|
||||
.tox-comments-visible span.tox-comment img:not([data-mce-selected]),
|
||||
.tox-comments-visible
|
||||
span.tox-comment
|
||||
span.mce-preview-object:not([data-mce-selected]),
|
||||
.tox-comments-visible span.tox-comment > audio:not([data-mce-selected]),
|
||||
.tox-comments-visible span.tox-comment > video:not([data-mce-selected]) {
|
||||
outline: 3px solid #ffe89d;
|
||||
}
|
||||
.tox-comments-visible
|
||||
.tox-comment[contenteditable="false"][data-mce-annotation-active="true"]:not(
|
||||
[data-mce-selected]
|
||||
) {
|
||||
outline: 3px solid #fed635;
|
||||
}
|
||||
.tox-comments-visible
|
||||
span.tox-comment[data-mce-annotation-active="true"]
|
||||
img:not([data-mce-selected]),
|
||||
.tox-comments-visible
|
||||
span.tox-comment[data-mce-annotation-active="true"]
|
||||
span.mce-preview-object:not([data-mce-selected]),
|
||||
.tox-comments-visible
|
||||
span.tox-comment[data-mce-annotation-active="true"]
|
||||
> audio:not([data-mce-selected]),
|
||||
.tox-comments-visible
|
||||
span.tox-comment[data-mce-annotation-active="true"]
|
||||
> video:not([data-mce-selected]) {
|
||||
outline: 3px solid #fed635;
|
||||
}
|
||||
.tox-comments-visible span.tox-comment:not([data-mce-selected]) {
|
||||
background-color: #ffe89d;
|
||||
outline: 0;
|
||||
}
|
||||
.tox-comments-visible
|
||||
span.tox-comment[data-mce-annotation-active="true"]:not(
|
||||
[data-mce-selected="inline-boundary"]
|
||||
) {
|
||||
background-color: #fed635;
|
||||
}
|
||||
.tox-checklist > li:not(.tox-checklist--hidden) {
|
||||
list-style: none;
|
||||
margin: 0.25em 0;
|
||||
}
|
||||
.tox-checklist > li:not(.tox-checklist--hidden)::before {
|
||||
content: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-unchecked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2215%22%20height%3D%2215%22%20x%3D%22.5%22%20y%3D%22.5%22%20fill-rule%3D%22nonzero%22%20stroke%3D%22%234C4C4C%22%20rx%3D%222%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A");
|
||||
cursor: pointer;
|
||||
height: 1em;
|
||||
margin-left: -1.5em;
|
||||
margin-top: 0.125em;
|
||||
position: absolute;
|
||||
width: 1em;
|
||||
}
|
||||
.tox-checklist li:not(.tox-checklist--hidden).tox-checklist--checked::before {
|
||||
content: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-checked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2216%22%20height%3D%2216%22%20fill%3D%22%234099FF%22%20fill-rule%3D%22nonzero%22%20rx%3D%222%22%2F%3E%3Cpath%20id%3D%22Path%22%20fill%3D%22%23FFF%22%20fill-rule%3D%22nonzero%22%20d%3D%22M11.5703186%2C3.14417309%20C11.8516238%2C2.73724603%2012.4164781%2C2.62829933%2012.83558%2C2.89774797%20C13.260121%2C3.17069355%2013.3759736%2C3.72932262%2013.0909105%2C4.14168582%20L7.7580587%2C11.8560195%20C7.43776896%2C12.3193404%206.76483983%2C12.3852142%206.35607322%2C11.9948725%20L3.02491697%2C8.8138662%20C2.66090143%2C8.46625845%202.65798871%2C7.89594698%203.01850234%2C7.54483354%20C3.373942%2C7.19866177%203.94940006%2C7.19592841%204.30829608%2C7.5386474%20L6.85276923%2C9.9684299%20L11.5703186%2C3.14417309%20Z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A");
|
||||
}
|
||||
[dir="rtl"] .tox-checklist > li:not(.tox-checklist--hidden)::before {
|
||||
margin-left: 0;
|
||||
margin-right: -1.5em;
|
||||
}
|
||||
code[class*="language-"],
|
||||
pre[class*="language-"] {
|
||||
color: #000;
|
||||
background: 0 0;
|
||||
text-shadow: 0 1px #fff;
|
||||
font-family: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace;
|
||||
font-size: 1em;
|
||||
text-align: left;
|
||||
white-space: pre;
|
||||
word-spacing: normal;
|
||||
word-break: normal;
|
||||
word-wrap: normal;
|
||||
line-height: 1.5;
|
||||
-moz-tab-size: 4;
|
||||
tab-size: 4;
|
||||
-webkit-hyphens: none;
|
||||
hyphens: none;
|
||||
}
|
||||
code[class*="language-"] ::-moz-selection,
|
||||
code[class*="language-"]::-moz-selection,
|
||||
pre[class*="language-"] ::-moz-selection,
|
||||
pre[class*="language-"]::-moz-selection {
|
||||
text-shadow: none;
|
||||
background: #b3d4fc;
|
||||
}
|
||||
code[class*="language-"] ::selection,
|
||||
code[class*="language-"]::selection,
|
||||
pre[class*="language-"] ::selection,
|
||||
pre[class*="language-"]::selection {
|
||||
text-shadow: none;
|
||||
background: #b3d4fc;
|
||||
}
|
||||
@media print {
|
||||
code[class*="language-"],
|
||||
pre[class*="language-"] {
|
||||
text-shadow: none;
|
||||
}
|
||||
}
|
||||
pre[class*="language-"] {
|
||||
padding: 1em;
|
||||
margin: 0.5em 0;
|
||||
overflow: auto;
|
||||
}
|
||||
:not(pre) > code[class*="language-"],
|
||||
pre[class*="language-"] {
|
||||
background: #f5f2f0;
|
||||
}
|
||||
:not(pre) > code[class*="language-"] {
|
||||
padding: 0.1em;
|
||||
border-radius: 0.3em;
|
||||
white-space: normal;
|
||||
}
|
||||
.token.cdata,
|
||||
.token.comment,
|
||||
.token.doctype,
|
||||
.token.prolog {
|
||||
color: #708090;
|
||||
}
|
||||
.token.punctuation {
|
||||
color: #999;
|
||||
}
|
||||
.token.namespace {
|
||||
opacity: 0.7;
|
||||
}
|
||||
.token.boolean,
|
||||
.token.constant,
|
||||
.token.deleted,
|
||||
.token.number,
|
||||
.token.property,
|
||||
.token.symbol,
|
||||
.token.tag {
|
||||
color: #905;
|
||||
}
|
||||
.token.attr-name,
|
||||
.token.builtin,
|
||||
.token.char,
|
||||
.token.inserted,
|
||||
.token.selector,
|
||||
.token.string {
|
||||
color: #690;
|
||||
}
|
||||
.language-css .token.string,
|
||||
.style .token.string,
|
||||
.token.entity,
|
||||
.token.operator,
|
||||
.token.url {
|
||||
color: #9a6e3a;
|
||||
background: hsla(0, 0%, 100%, 0.5);
|
||||
}
|
||||
.token.atrule,
|
||||
.token.attr-value,
|
||||
.token.keyword {
|
||||
color: #07a;
|
||||
}
|
||||
.token.class-name,
|
||||
.token.function {
|
||||
color: #dd4a68;
|
||||
}
|
||||
.token.important,
|
||||
.token.regex,
|
||||
.token.variable {
|
||||
color: #e90;
|
||||
}
|
||||
.token.bold,
|
||||
.token.important {
|
||||
font-weight: 700;
|
||||
}
|
||||
.token.italic {
|
||||
font-style: italic;
|
||||
}
|
||||
.token.entity {
|
||||
cursor: help;
|
||||
}
|
||||
.mce-content-body {
|
||||
overflow-wrap: break-word;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
.mce-content-body .mce-visual-caret {
|
||||
background-color: #000;
|
||||
background-color: currentColor;
|
||||
position: absolute;
|
||||
}
|
||||
.mce-content-body .mce-visual-caret-hidden {
|
||||
display: none;
|
||||
}
|
||||
.mce-content-body [data-mce-caret] {
|
||||
left: -1000px;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
position: absolute;
|
||||
right: auto;
|
||||
top: 0;
|
||||
}
|
||||
.mce-content-body .mce-offscreen-selection {
|
||||
left: -2000000px;
|
||||
max-width: 1000000px;
|
||||
position: absolute;
|
||||
}
|
||||
.mce-content-body [contentEditable="false"] {
|
||||
cursor: default;
|
||||
}
|
||||
.mce-content-body [contentEditable="true"] {
|
||||
cursor: text;
|
||||
}
|
||||
.tox-cursor-format-painter {
|
||||
cursor: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%3E%0A%20%20%3Cg%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M15%2C6%20C15%2C5.45%2014.55%2C5%2014%2C5%20L6%2C5%20C5.45%2C5%205%2C5.45%205%2C6%20L5%2C10%20C5%2C10.55%205.45%2C11%206%2C11%20L14%2C11%20C14.55%2C11%2015%2C10.55%2015%2C10%20L15%2C9%20L16%2C9%20L16%2C12%20L9%2C12%20L9%2C19%20C9%2C19.55%209.45%2C20%2010%2C20%20L11%2C20%20C11.55%2C20%2012%2C19.55%2012%2C19%20L12%2C14%20L18%2C14%20L18%2C7%20L15%2C7%20L15%2C6%20Z%22%2F%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M1%2C1%20L8.25%2C1%20C8.66421356%2C1%209%2C1.33578644%209%2C1.75%20L9%2C1.75%20C9%2C2.16421356%208.66421356%2C2.5%208.25%2C2.5%20L2.5%2C2.5%20L2.5%2C8.25%20C2.5%2C8.66421356%202.16421356%2C9%201.75%2C9%20L1.75%2C9%20C1.33578644%2C9%201%2C8.66421356%201%2C8.25%20L1%2C1%20Z%22%2F%3E%0A%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E%0A"),
|
||||
default;
|
||||
}
|
||||
div.mce-footnotes hr {
|
||||
margin-inline-end: auto;
|
||||
margin-inline-start: 0;
|
||||
width: 25%;
|
||||
}
|
||||
div.mce-footnotes li > a.mce-footnotes-backlink {
|
||||
text-decoration: none;
|
||||
}
|
||||
@media print {
|
||||
sup.mce-footnote a {
|
||||
color: #000;
|
||||
text-decoration: none;
|
||||
}
|
||||
div.mce-footnotes {
|
||||
break-inside: avoid;
|
||||
width: 100%;
|
||||
}
|
||||
div.mce-footnotes li > a.mce-footnotes-backlink {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
.mce-content-body figure.align-left {
|
||||
float: left;
|
||||
}
|
||||
.mce-content-body figure.align-right {
|
||||
float: right;
|
||||
}
|
||||
.mce-content-body figure.image.align-center {
|
||||
display: table;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
.mce-preview-object {
|
||||
border: 1px solid gray;
|
||||
display: inline-block;
|
||||
line-height: 0;
|
||||
margin: 0 2px 0 2px;
|
||||
position: relative;
|
||||
}
|
||||
.mce-preview-object .mce-shim {
|
||||
background: url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7);
|
||||
height: 100%;
|
||||
left: 0;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
}
|
||||
.mce-preview-object[data-mce-selected="2"] .mce-shim {
|
||||
display: none;
|
||||
}
|
||||
.mce-content-body .mce-mergetag {
|
||||
cursor: default !important;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
.mce-content-body .mce-mergetag:hover {
|
||||
background-color: rgba(0, 108, 231, 0.1);
|
||||
}
|
||||
.mce-content-body .mce-mergetag-affix {
|
||||
background-color: rgba(0, 108, 231, 0.1);
|
||||
color: #006ce7;
|
||||
}
|
||||
.mce-object {
|
||||
background: transparent
|
||||
url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%3E%3Cpath%20d%3D%22M4%203h16a1%201%200%200%201%201%201v16a1%201%200%200%201-1%201H4a1%201%200%200%201-1-1V4a1%201%200%200%201%201-1zm1%202v14h14V5H5zm4.79%202.565l5.64%204.028a.5.5%200%200%201%200%20.814l-5.64%204.028a.5.5%200%200%201-.79-.407V7.972a.5.5%200%200%201%20.79-.407z%22%2F%3E%3C%2Fsvg%3E%0A")
|
||||
no-repeat center;
|
||||
border: 1px dashed #aaa;
|
||||
}
|
||||
.mce-pagebreak {
|
||||
border: 1px dashed #aaa;
|
||||
cursor: default;
|
||||
display: block;
|
||||
height: 5px;
|
||||
margin-top: 15px;
|
||||
page-break-before: always;
|
||||
width: 100%;
|
||||
}
|
||||
@media print {
|
||||
.mce-pagebreak {
|
||||
border: 0;
|
||||
}
|
||||
}
|
||||
.tiny-pageembed .mce-shim {
|
||||
background: url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7);
|
||||
height: 100%;
|
||||
left: 0;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
}
|
||||
.tiny-pageembed[data-mce-selected="2"] .mce-shim {
|
||||
display: none;
|
||||
}
|
||||
.tiny-pageembed {
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
}
|
||||
.tiny-pageembed--16by9,
|
||||
.tiny-pageembed--1by1,
|
||||
.tiny-pageembed--21by9,
|
||||
.tiny-pageembed--4by3 {
|
||||
display: block;
|
||||
overflow: hidden;
|
||||
padding: 0;
|
||||
position: relative;
|
||||
width: 100%;
|
||||
}
|
||||
.tiny-pageembed--21by9 {
|
||||
padding-top: 42.857143%;
|
||||
}
|
||||
.tiny-pageembed--16by9 {
|
||||
padding-top: 56.25%;
|
||||
}
|
||||
.tiny-pageembed--4by3 {
|
||||
padding-top: 75%;
|
||||
}
|
||||
.tiny-pageembed--1by1 {
|
||||
padding-top: 100%;
|
||||
}
|
||||
.tiny-pageembed--16by9 iframe,
|
||||
.tiny-pageembed--1by1 iframe,
|
||||
.tiny-pageembed--21by9 iframe,
|
||||
.tiny-pageembed--4by3 iframe {
|
||||
border: 0;
|
||||
height: 100%;
|
||||
left: 0;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
}
|
||||
.mce-content-body[data-mce-placeholder] {
|
||||
position: relative;
|
||||
}
|
||||
.mce-content-body[data-mce-placeholder]:not(.mce-visualblocks)::before {
|
||||
color: rgba(34, 47, 62, 0.7);
|
||||
content: attr(data-mce-placeholder);
|
||||
position: absolute;
|
||||
}
|
||||
.mce-content-body:not([dir="rtl"])[data-mce-placeholder]:not(
|
||||
.mce-visualblocks
|
||||
)::before {
|
||||
left: 1px;
|
||||
}
|
||||
.mce-content-body[dir="rtl"][data-mce-placeholder]:not(
|
||||
.mce-visualblocks
|
||||
)::before {
|
||||
right: 1px;
|
||||
}
|
||||
.mce-content-body div.mce-resizehandle {
|
||||
background-color: #4099ff;
|
||||
border-color: #4099ff;
|
||||
border-style: solid;
|
||||
border-width: 1px;
|
||||
box-sizing: border-box;
|
||||
height: 10px;
|
||||
position: absolute;
|
||||
width: 10px;
|
||||
z-index: 1298;
|
||||
}
|
||||
.mce-content-body div.mce-resizehandle:hover {
|
||||
background-color: #4099ff;
|
||||
}
|
||||
.mce-content-body div.mce-resizehandle:nth-of-type(1) {
|
||||
cursor: nwse-resize;
|
||||
}
|
||||
.mce-content-body div.mce-resizehandle:nth-of-type(2) {
|
||||
cursor: nesw-resize;
|
||||
}
|
||||
.mce-content-body div.mce-resizehandle:nth-of-type(3) {
|
||||
cursor: nwse-resize;
|
||||
}
|
||||
.mce-content-body div.mce-resizehandle:nth-of-type(4) {
|
||||
cursor: nesw-resize;
|
||||
}
|
||||
.mce-content-body .mce-resize-backdrop {
|
||||
z-index: 10000;
|
||||
}
|
||||
.mce-content-body .mce-clonedresizable {
|
||||
cursor: default;
|
||||
opacity: 0.5;
|
||||
outline: 1px dashed #000;
|
||||
position: absolute;
|
||||
z-index: 10001;
|
||||
}
|
||||
.mce-content-body .mce-clonedresizable.mce-resizetable-columns td,
|
||||
.mce-content-body .mce-clonedresizable.mce-resizetable-columns th {
|
||||
border: 0;
|
||||
}
|
||||
.mce-content-body .mce-resize-helper {
|
||||
background: #555;
|
||||
background: rgba(0, 0, 0, 0.75);
|
||||
border: 1px;
|
||||
border-radius: 3px;
|
||||
color: #fff;
|
||||
display: none;
|
||||
font-family: sans-serif;
|
||||
font-size: 12px;
|
||||
line-height: 14px;
|
||||
margin: 5px 10px;
|
||||
padding: 5px;
|
||||
position: absolute;
|
||||
white-space: nowrap;
|
||||
z-index: 10002;
|
||||
}
|
||||
.tox-rtc-user-selection {
|
||||
position: relative;
|
||||
}
|
||||
.tox-rtc-user-cursor {
|
||||
bottom: 0;
|
||||
cursor: default;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
width: 2px;
|
||||
}
|
||||
.tox-rtc-user-cursor::before {
|
||||
background-color: inherit;
|
||||
border-radius: 50%;
|
||||
content: "";
|
||||
display: block;
|
||||
height: 8px;
|
||||
position: absolute;
|
||||
right: -3px;
|
||||
top: -3px;
|
||||
width: 8px;
|
||||
}
|
||||
.tox-rtc-user-cursor:hover::after {
|
||||
background-color: inherit;
|
||||
border-radius: 100px;
|
||||
box-sizing: border-box;
|
||||
color: #fff;
|
||||
content: attr(data-user);
|
||||
display: block;
|
||||
font-size: 12px;
|
||||
font-weight: 700;
|
||||
left: -5px;
|
||||
min-height: 8px;
|
||||
min-width: 8px;
|
||||
padding: 0 12px;
|
||||
position: absolute;
|
||||
top: -11px;
|
||||
white-space: nowrap;
|
||||
z-index: 1000;
|
||||
}
|
||||
.tox-rtc-user-selection--1 .tox-rtc-user-cursor {
|
||||
background-color: #2dc26b;
|
||||
}
|
||||
.tox-rtc-user-selection--2 .tox-rtc-user-cursor {
|
||||
background-color: #e03e2d;
|
||||
}
|
||||
.tox-rtc-user-selection--3 .tox-rtc-user-cursor {
|
||||
background-color: #f1c40f;
|
||||
}
|
||||
.tox-rtc-user-selection--4 .tox-rtc-user-cursor {
|
||||
background-color: #3598db;
|
||||
}
|
||||
.tox-rtc-user-selection--5 .tox-rtc-user-cursor {
|
||||
background-color: #b96ad9;
|
||||
}
|
||||
.tox-rtc-user-selection--6 .tox-rtc-user-cursor {
|
||||
background-color: #e67e23;
|
||||
}
|
||||
.tox-rtc-user-selection--7 .tox-rtc-user-cursor {
|
||||
background-color: #aaa69d;
|
||||
}
|
||||
.tox-rtc-user-selection--8 .tox-rtc-user-cursor {
|
||||
background-color: #f368e0;
|
||||
}
|
||||
.tox-rtc-remote-image {
|
||||
background: #eaeaea
|
||||
url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2236%22%20height%3D%2212%22%20viewBox%3D%220%200%2036%2012%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%3Ccircle%20cx%3D%226%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%20%20%3Ccircle%20cx%3D%2218%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20begin%3D%22.33s%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%20%20%3Ccircle%20cx%3D%2230%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20begin%3D%22.66s%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%3C%2Fsvg%3E%0A")
|
||||
no-repeat center center;
|
||||
border: 1px solid #ccc;
|
||||
min-height: 240px;
|
||||
min-width: 320px;
|
||||
}
|
||||
.mce-match-marker {
|
||||
background: #aaa;
|
||||
color: #fff;
|
||||
}
|
||||
.mce-match-marker-selected {
|
||||
background: #39f;
|
||||
color: #fff;
|
||||
}
|
||||
.mce-match-marker-selected::-moz-selection {
|
||||
background: #39f;
|
||||
color: #fff;
|
||||
}
|
||||
.mce-match-marker-selected::selection {
|
||||
background: #39f;
|
||||
color: #fff;
|
||||
}
|
||||
.mce-content-body audio[data-mce-selected],
|
||||
.mce-content-body details[data-mce-selected],
|
||||
.mce-content-body embed[data-mce-selected],
|
||||
.mce-content-body img[data-mce-selected],
|
||||
.mce-content-body object[data-mce-selected],
|
||||
.mce-content-body table[data-mce-selected],
|
||||
.mce-content-body video[data-mce-selected] {
|
||||
outline: 3px solid #b4d7ff;
|
||||
}
|
||||
.mce-content-body hr[data-mce-selected] {
|
||||
outline: 3px solid #b4d7ff;
|
||||
outline-offset: 1px;
|
||||
}
|
||||
.mce-content-body [contentEditable="false"] [contentEditable="true"]:focus {
|
||||
outline: 3px solid #b4d7ff;
|
||||
}
|
||||
.mce-content-body [contentEditable="false"] [contentEditable="true"]:hover {
|
||||
outline: 3px solid #b4d7ff;
|
||||
}
|
||||
.mce-content-body [contentEditable="false"][data-mce-selected] {
|
||||
cursor: not-allowed;
|
||||
outline: 3px solid #b4d7ff;
|
||||
}
|
||||
.mce-content-body.mce-content-readonly [contentEditable="true"]:focus,
|
||||
.mce-content-body.mce-content-readonly [contentEditable="true"]:hover {
|
||||
outline: 0;
|
||||
}
|
||||
.mce-content-body [data-mce-selected="inline-boundary"] {
|
||||
background-color: #b4d7ff;
|
||||
}
|
||||
.mce-content-body .mce-edit-focus {
|
||||
outline: 3px solid #b4d7ff;
|
||||
}
|
||||
.mce-content-body td[data-mce-selected],
|
||||
.mce-content-body th[data-mce-selected] {
|
||||
position: relative;
|
||||
}
|
||||
.mce-content-body td[data-mce-selected]::-moz-selection,
|
||||
.mce-content-body th[data-mce-selected]::-moz-selection {
|
||||
background: 0 0;
|
||||
}
|
||||
.mce-content-body td[data-mce-selected]::selection,
|
||||
.mce-content-body th[data-mce-selected]::selection {
|
||||
background: 0 0;
|
||||
}
|
||||
.mce-content-body td[data-mce-selected] *,
|
||||
.mce-content-body th[data-mce-selected] * {
|
||||
outline: 0;
|
||||
-webkit-touch-callout: none;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
.mce-content-body td[data-mce-selected]::after,
|
||||
.mce-content-body th[data-mce-selected]::after {
|
||||
background-color: rgba(180, 215, 255, 0.7);
|
||||
border: 1px solid rgba(180, 215, 255, 0.7);
|
||||
bottom: -1px;
|
||||
content: "";
|
||||
left: -1px;
|
||||
mix-blend-mode: multiply;
|
||||
position: absolute;
|
||||
right: -1px;
|
||||
top: -1px;
|
||||
}
|
||||
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
|
||||
.mce-content-body td[data-mce-selected]::after,
|
||||
.mce-content-body th[data-mce-selected]::after {
|
||||
border-color: rgba(0, 84, 180, 0.7);
|
||||
}
|
||||
}
|
||||
.mce-content-body img[data-mce-selected]::-moz-selection {
|
||||
background: 0 0;
|
||||
}
|
||||
.mce-content-body img[data-mce-selected]::selection {
|
||||
background: 0 0;
|
||||
}
|
||||
.ephox-snooker-resizer-bar {
|
||||
background-color: #b4d7ff;
|
||||
opacity: 0;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
.ephox-snooker-resizer-cols {
|
||||
cursor: col-resize;
|
||||
}
|
||||
.ephox-snooker-resizer-rows {
|
||||
cursor: row-resize;
|
||||
}
|
||||
.ephox-snooker-resizer-bar.ephox-snooker-resizer-bar-dragging {
|
||||
opacity: 1;
|
||||
}
|
||||
.mce-spellchecker-word {
|
||||
background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%23ff0000'%20fill%3D'none'%20stroke-linecap%3D'round'%20stroke-opacity%3D'.75'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A");
|
||||
background-position: 0 calc(100% + 1px);
|
||||
background-repeat: repeat-x;
|
||||
background-size: auto 6px;
|
||||
cursor: default;
|
||||
height: 2rem;
|
||||
}
|
||||
.mce-spellchecker-grammar {
|
||||
background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%2300A835'%20fill%3D'none'%20stroke-linecap%3D'round'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A");
|
||||
background-position: 0 calc(100% + 1px);
|
||||
background-repeat: repeat-x;
|
||||
background-size: auto 6px;
|
||||
cursor: default;
|
||||
}
|
||||
.mce-toc {
|
||||
border: 1px solid gray;
|
||||
}
|
||||
.mce-toc h2 {
|
||||
margin: 4px;
|
||||
}
|
||||
.mce-toc ul > li {
|
||||
list-style-type: none;
|
||||
}
|
||||
[data-mce-block] {
|
||||
display: block;
|
||||
}
|
||||
.mce-item-table:not([border]),
|
||||
.mce-item-table:not([border]) caption,
|
||||
.mce-item-table:not([border]) td,
|
||||
.mce-item-table:not([border]) th,
|
||||
.mce-item-table[border="0"],
|
||||
.mce-item-table[border="0"] caption,
|
||||
.mce-item-table[border="0"] td,
|
||||
.mce-item-table[border="0"] th,
|
||||
table[style*="border-width: 0px"],
|
||||
table[style*="border-width: 0px"] caption,
|
||||
table[style*="border-width: 0px"] td,
|
||||
table[style*="border-width: 0px"] th {
|
||||
border: 1px dashed #bbb;
|
||||
}
|
||||
.mce-visualblocks address,
|
||||
.mce-visualblocks article,
|
||||
.mce-visualblocks aside,
|
||||
.mce-visualblocks blockquote,
|
||||
.mce-visualblocks div:not([data-mce-bogus]),
|
||||
.mce-visualblocks dl,
|
||||
.mce-visualblocks figcaption,
|
||||
.mce-visualblocks figure,
|
||||
.mce-visualblocks h1,
|
||||
.mce-visualblocks h2,
|
||||
.mce-visualblocks h3,
|
||||
.mce-visualblocks h4,
|
||||
.mce-visualblocks h5,
|
||||
.mce-visualblocks h6,
|
||||
.mce-visualblocks hgroup,
|
||||
.mce-visualblocks ol,
|
||||
.mce-visualblocks p,
|
||||
.mce-visualblocks pre,
|
||||
.mce-visualblocks section,
|
||||
.mce-visualblocks ul {
|
||||
background-repeat: no-repeat;
|
||||
border: 1px dashed #bbb;
|
||||
margin-left: 3px;
|
||||
padding-top: 10px;
|
||||
}
|
||||
.mce-visualblocks p {
|
||||
background-image: url(data:image/gif;base64,R0lGODlhCQAJAJEAAAAAAP///7u7u////yH5BAEAAAMALAAAAAAJAAkAAAIQnG+CqCN/mlyvsRUpThG6AgA7);
|
||||
}
|
||||
.mce-visualblocks h1 {
|
||||
background-image: url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybGu1JuxHoAfRNRW3TWXyF2YiRUAOw==);
|
||||
}
|
||||
.mce-visualblocks h2 {
|
||||
background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8Hybbx4oOuqgTynJd6bGlWg3DkJzoaUAAAOw==);
|
||||
}
|
||||
.mce-visualblocks h3 {
|
||||
background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIZjI8Hybbx4oOuqgTynJf2Ln2NOHpQpmhAAQA7);
|
||||
}
|
||||
.mce-visualblocks h4 {
|
||||
background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxInR0zqeAdhtJlXwV1oCll2HaWgAAOw==);
|
||||
}
|
||||
.mce-visualblocks h5 {
|
||||
background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxIoiuwjane4iq5GlW05GgIkIZUAAAOw==);
|
||||
}
|
||||
.mce-visualblocks h6 {
|
||||
background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxIoiuwjan04jep1iZ1XRlAo5bVgAAOw==);
|
||||
}
|
||||
.mce-visualblocks div:not([data-mce-bogus]) {
|
||||
background-image: url(data:image/gif;base64,R0lGODlhEgAKAIABALu7u////yH5BAEAAAEALAAAAAASAAoAAAIfjI9poI0cgDywrhuxfbrzDEbQM2Ei5aRjmoySW4pAAQA7);
|
||||
}
|
||||
.mce-visualblocks section {
|
||||
background-image: url(data:image/gif;base64,R0lGODlhKAAKAIABALu7u////yH5BAEAAAEALAAAAAAoAAoAAAI5jI+pywcNY3sBWHdNrplytD2ellDeSVbp+GmWqaDqDMepc8t17Y4vBsK5hDyJMcI6KkuYU+jpjLoKADs=);
|
||||
}
|
||||
.mce-visualblocks article {
|
||||
background-image: url(data:image/gif;base64,R0lGODlhKgAKAIABALu7u////yH5BAEAAAEALAAAAAAqAAoAAAI6jI+pywkNY3wG0GBvrsd2tXGYSGnfiF7ikpXemTpOiJScasYoDJJrjsG9gkCJ0ag6KhmaIe3pjDYBBQA7);
|
||||
}
|
||||
.mce-visualblocks blockquote {
|
||||
background-image: url(data:image/gif;base64,R0lGODlhPgAKAIABALu7u////yH5BAEAAAEALAAAAAA+AAoAAAJPjI+py+0Knpz0xQDyuUhvfoGgIX5iSKZYgq5uNL5q69asZ8s5rrf0yZmpNkJZzFesBTu8TOlDVAabUyatguVhWduud3EyiUk45xhTTgMBBQA7);
|
||||
}
|
||||
.mce-visualblocks address {
|
||||
background-image: url(data:image/gif;base64,R0lGODlhLQAKAIABALu7u////yH5BAEAAAEALAAAAAAtAAoAAAI/jI+pywwNozSP1gDyyZcjb3UaRpXkWaXmZW4OqKLhBmLs+K263DkJK7OJeifh7FicKD9A1/IpGdKkyFpNmCkAADs=);
|
||||
}
|
||||
.mce-visualblocks pre {
|
||||
background-image: url(data:image/gif;base64,R0lGODlhFQAKAIABALu7uwAAACH5BAEAAAEALAAAAAAVAAoAAAIjjI+ZoN0cgDwSmnpz1NCueYERhnibZVKLNnbOq8IvKpJtVQAAOw==);
|
||||
}
|
||||
.mce-visualblocks figure {
|
||||
background-image: url(data:image/gif;base64,R0lGODlhJAAKAIAAALu7u////yH5BAEAAAEALAAAAAAkAAoAAAI0jI+py+2fwAHUSFvD3RlvG4HIp4nX5JFSpnZUJ6LlrM52OE7uSWosBHScgkSZj7dDKnWAAgA7);
|
||||
}
|
||||
.mce-visualblocks figcaption {
|
||||
border: 1px dashed #bbb;
|
||||
}
|
||||
.mce-visualblocks hgroup {
|
||||
background-image: url(data:image/gif;base64,R0lGODlhJwAKAIABALu7uwAAACH5BAEAAAEALAAAAAAnAAoAAAI3jI+pywYNI3uB0gpsRtt5fFnfNZaVSYJil4Wo03Hv6Z62uOCgiXH1kZIIJ8NiIxRrAZNMZAtQAAA7);
|
||||
}
|
||||
.mce-visualblocks aside {
|
||||
background-image: url(data:image/gif;base64,R0lGODlhHgAKAIABAKqqqv///yH5BAEAAAEALAAAAAAeAAoAAAItjI+pG8APjZOTzgtqy7I3f1yehmQcFY4WKZbqByutmW4aHUd6vfcVbgudgpYCADs=);
|
||||
}
|
||||
.mce-visualblocks ul {
|
||||
background-image: url(data:image/gif;base64,R0lGODlhDQAKAIAAALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybGuYnqUVSjvw26DzzXiqIDlVwAAOw==);
|
||||
}
|
||||
.mce-visualblocks ol {
|
||||
background-image: url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybH6HHt0qourxC6CvzXieHyeWQAAOw==);
|
||||
}
|
||||
.mce-visualblocks dl {
|
||||
background-image: url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybEOnmOvUoWznTqeuEjNSCqeGRUAOw==);
|
||||
}
|
||||
.mce-visualblocks:not([dir="rtl"]) address,
|
||||
.mce-visualblocks:not([dir="rtl"]) article,
|
||||
.mce-visualblocks:not([dir="rtl"]) aside,
|
||||
.mce-visualblocks:not([dir="rtl"]) blockquote,
|
||||
.mce-visualblocks:not([dir="rtl"]) div:not([data-mce-bogus]),
|
||||
.mce-visualblocks:not([dir="rtl"]) dl,
|
||||
.mce-visualblocks:not([dir="rtl"]) figcaption,
|
||||
.mce-visualblocks:not([dir="rtl"]) figure,
|
||||
.mce-visualblocks:not([dir="rtl"]) h1,
|
||||
.mce-visualblocks:not([dir="rtl"]) h2,
|
||||
.mce-visualblocks:not([dir="rtl"]) h3,
|
||||
.mce-visualblocks:not([dir="rtl"]) h4,
|
||||
.mce-visualblocks:not([dir="rtl"]) h5,
|
||||
.mce-visualblocks:not([dir="rtl"]) h6,
|
||||
.mce-visualblocks:not([dir="rtl"]) hgroup,
|
||||
.mce-visualblocks:not([dir="rtl"]) ol,
|
||||
.mce-visualblocks:not([dir="rtl"]) p,
|
||||
.mce-visualblocks:not([dir="rtl"]) pre,
|
||||
.mce-visualblocks:not([dir="rtl"]) section,
|
||||
.mce-visualblocks:not([dir="rtl"]) ul {
|
||||
margin-left: 3px;
|
||||
}
|
||||
.mce-visualblocks[dir="rtl"] address,
|
||||
.mce-visualblocks[dir="rtl"] article,
|
||||
.mce-visualblocks[dir="rtl"] aside,
|
||||
.mce-visualblocks[dir="rtl"] blockquote,
|
||||
.mce-visualblocks[dir="rtl"] div:not([data-mce-bogus]),
|
||||
.mce-visualblocks[dir="rtl"] dl,
|
||||
.mce-visualblocks[dir="rtl"] figcaption,
|
||||
.mce-visualblocks[dir="rtl"] figure,
|
||||
.mce-visualblocks[dir="rtl"] h1,
|
||||
.mce-visualblocks[dir="rtl"] h2,
|
||||
.mce-visualblocks[dir="rtl"] h3,
|
||||
.mce-visualblocks[dir="rtl"] h4,
|
||||
.mce-visualblocks[dir="rtl"] h5,
|
||||
.mce-visualblocks[dir="rtl"] h6,
|
||||
.mce-visualblocks[dir="rtl"] hgroup,
|
||||
.mce-visualblocks[dir="rtl"] ol,
|
||||
.mce-visualblocks[dir="rtl"] p,
|
||||
.mce-visualblocks[dir="rtl"] pre,
|
||||
.mce-visualblocks[dir="rtl"] section,
|
||||
.mce-visualblocks[dir="rtl"] ul {
|
||||
background-position-x: right;
|
||||
margin-right: 3px;
|
||||
}
|
||||
.mce-nbsp,
|
||||
.mce-shy {
|
||||
background: #aaa;
|
||||
}
|
||||
.mce-shy::after {
|
||||
content: "-";
|
||||
}
|
||||
body {
|
||||
font-family: sans-serif;
|
||||
}
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
}
|
||||
4030
src/lib/dist/tinymce/skins/ui/oxide/skin.min.css
vendored
4030
src/lib/dist/tinymce/skins/ui/oxide/skin.min.css
vendored
File diff suppressed because it is too large
Load Diff
@ -1,30 +0,0 @@
|
||||
body.tox-dialog__disable-scroll {
|
||||
overflow: hidden;
|
||||
}
|
||||
.tox-fullscreen {
|
||||
border: 0;
|
||||
height: 100%;
|
||||
margin: 0;
|
||||
overflow: hidden;
|
||||
overscroll-behavior: none;
|
||||
padding: 0;
|
||||
touch-action: pinch-zoom;
|
||||
width: 100%;
|
||||
}
|
||||
.tox.tox-tinymce.tox-fullscreen .tox-statusbar__resize-handle {
|
||||
display: none;
|
||||
}
|
||||
.tox-shadowhost.tox-fullscreen,
|
||||
.tox.tox-tinymce.tox-fullscreen {
|
||||
left: 0;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
z-index: 1200;
|
||||
}
|
||||
.tox.tox-tinymce.tox-fullscreen {
|
||||
background-color: transparent;
|
||||
}
|
||||
.tox-fullscreen .tox.tox-tinymce-aux,
|
||||
.tox-fullscreen ~ .tox.tox-tinymce-aux {
|
||||
z-index: 1201;
|
||||
}
|
||||
@ -1,796 +0,0 @@
|
||||
.mce-content-body .mce-item-anchor {
|
||||
background: transparent
|
||||
url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'8'%20height%3D'12'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20d%3D'M0%200L8%200%208%2012%204.09117821%209%200%2012z'%2F%3E%3C%2Fsvg%3E%0A")
|
||||
no-repeat center;
|
||||
}
|
||||
.mce-content-body .mce-item-anchor:empty {
|
||||
cursor: default;
|
||||
display: inline-block;
|
||||
height: 12px !important;
|
||||
padding: 0 2px;
|
||||
-webkit-user-modify: read-only;
|
||||
-moz-user-modify: read-only;
|
||||
-webkit-user-select: all;
|
||||
-moz-user-select: all;
|
||||
user-select: all;
|
||||
width: 8px !important;
|
||||
}
|
||||
.mce-content-body .mce-item-anchor:not(:empty) {
|
||||
background-position-x: 2px;
|
||||
display: inline-block;
|
||||
padding-left: 12px;
|
||||
}
|
||||
.mce-content-body .mce-item-anchor[data-mce-selected] {
|
||||
outline-offset: 1px;
|
||||
}
|
||||
.tox-comments-visible
|
||||
.tox-comment[contenteditable="false"]:not([data-mce-selected]),
|
||||
.tox-comments-visible span.tox-comment img:not([data-mce-selected]),
|
||||
.tox-comments-visible
|
||||
span.tox-comment
|
||||
span.mce-preview-object:not([data-mce-selected]),
|
||||
.tox-comments-visible span.tox-comment > audio:not([data-mce-selected]),
|
||||
.tox-comments-visible span.tox-comment > video:not([data-mce-selected]) {
|
||||
outline: 3px solid #ffe89d;
|
||||
}
|
||||
.tox-comments-visible
|
||||
.tox-comment[contenteditable="false"][data-mce-annotation-active="true"]:not(
|
||||
[data-mce-selected]
|
||||
) {
|
||||
outline: 3px solid #fed635;
|
||||
}
|
||||
.tox-comments-visible
|
||||
span.tox-comment[data-mce-annotation-active="true"]
|
||||
img:not([data-mce-selected]),
|
||||
.tox-comments-visible
|
||||
span.tox-comment[data-mce-annotation-active="true"]
|
||||
span.mce-preview-object:not([data-mce-selected]),
|
||||
.tox-comments-visible
|
||||
span.tox-comment[data-mce-annotation-active="true"]
|
||||
> audio:not([data-mce-selected]),
|
||||
.tox-comments-visible
|
||||
span.tox-comment[data-mce-annotation-active="true"]
|
||||
> video:not([data-mce-selected]) {
|
||||
outline: 3px solid #fed635;
|
||||
}
|
||||
.tox-comments-visible span.tox-comment:not([data-mce-selected]) {
|
||||
background-color: #ffe89d;
|
||||
outline: 0;
|
||||
}
|
||||
.tox-comments-visible
|
||||
span.tox-comment[data-mce-annotation-active="true"]:not(
|
||||
[data-mce-selected="inline-boundary"]
|
||||
) {
|
||||
background-color: #fed635;
|
||||
}
|
||||
.tox-checklist > li:not(.tox-checklist--hidden) {
|
||||
list-style: none;
|
||||
margin: 0.25em 0;
|
||||
}
|
||||
.tox-checklist > li:not(.tox-checklist--hidden)::before {
|
||||
content: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-unchecked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2215%22%20height%3D%2215%22%20x%3D%22.5%22%20y%3D%22.5%22%20fill-rule%3D%22nonzero%22%20stroke%3D%22%234C4C4C%22%20rx%3D%222%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A");
|
||||
cursor: pointer;
|
||||
height: 1em;
|
||||
margin-left: -1.5em;
|
||||
margin-top: 0.125em;
|
||||
position: absolute;
|
||||
width: 1em;
|
||||
}
|
||||
.tox-checklist li:not(.tox-checklist--hidden).tox-checklist--checked::before {
|
||||
content: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-checked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2216%22%20height%3D%2216%22%20fill%3D%22%234099FF%22%20fill-rule%3D%22nonzero%22%20rx%3D%222%22%2F%3E%3Cpath%20id%3D%22Path%22%20fill%3D%22%23FFF%22%20fill-rule%3D%22nonzero%22%20d%3D%22M11.5703186%2C3.14417309%20C11.8516238%2C2.73724603%2012.4164781%2C2.62829933%2012.83558%2C2.89774797%20C13.260121%2C3.17069355%2013.3759736%2C3.72932262%2013.0909105%2C4.14168582%20L7.7580587%2C11.8560195%20C7.43776896%2C12.3193404%206.76483983%2C12.3852142%206.35607322%2C11.9948725%20L3.02491697%2C8.8138662%20C2.66090143%2C8.46625845%202.65798871%2C7.89594698%203.01850234%2C7.54483354%20C3.373942%2C7.19866177%203.94940006%2C7.19592841%204.30829608%2C7.5386474%20L6.85276923%2C9.9684299%20L11.5703186%2C3.14417309%20Z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A");
|
||||
}
|
||||
[dir="rtl"] .tox-checklist > li:not(.tox-checklist--hidden)::before {
|
||||
margin-left: 0;
|
||||
margin-right: -1.5em;
|
||||
}
|
||||
code[class*="language-"],
|
||||
pre[class*="language-"] {
|
||||
color: #000;
|
||||
background: 0 0;
|
||||
text-shadow: 0 1px #fff;
|
||||
font-family: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace;
|
||||
font-size: 1em;
|
||||
text-align: left;
|
||||
white-space: pre;
|
||||
word-spacing: normal;
|
||||
word-break: normal;
|
||||
word-wrap: normal;
|
||||
line-height: 1.5;
|
||||
-moz-tab-size: 4;
|
||||
tab-size: 4;
|
||||
-webkit-hyphens: none;
|
||||
hyphens: none;
|
||||
}
|
||||
code[class*="language-"] ::-moz-selection,
|
||||
code[class*="language-"]::-moz-selection,
|
||||
pre[class*="language-"] ::-moz-selection,
|
||||
pre[class*="language-"]::-moz-selection {
|
||||
text-shadow: none;
|
||||
background: #b3d4fc;
|
||||
}
|
||||
code[class*="language-"] ::selection,
|
||||
code[class*="language-"]::selection,
|
||||
pre[class*="language-"] ::selection,
|
||||
pre[class*="language-"]::selection {
|
||||
text-shadow: none;
|
||||
background: #b3d4fc;
|
||||
}
|
||||
@media print {
|
||||
code[class*="language-"],
|
||||
pre[class*="language-"] {
|
||||
text-shadow: none;
|
||||
}
|
||||
}
|
||||
pre[class*="language-"] {
|
||||
padding: 1em;
|
||||
margin: 0.5em 0;
|
||||
overflow: auto;
|
||||
}
|
||||
:not(pre) > code[class*="language-"],
|
||||
pre[class*="language-"] {
|
||||
background: #f5f2f0;
|
||||
}
|
||||
:not(pre) > code[class*="language-"] {
|
||||
padding: 0.1em;
|
||||
border-radius: 0.3em;
|
||||
white-space: normal;
|
||||
}
|
||||
.token.cdata,
|
||||
.token.comment,
|
||||
.token.doctype,
|
||||
.token.prolog {
|
||||
color: #708090;
|
||||
}
|
||||
.token.punctuation {
|
||||
color: #999;
|
||||
}
|
||||
.token.namespace {
|
||||
opacity: 0.7;
|
||||
}
|
||||
.token.boolean,
|
||||
.token.constant,
|
||||
.token.deleted,
|
||||
.token.number,
|
||||
.token.property,
|
||||
.token.symbol,
|
||||
.token.tag {
|
||||
color: #905;
|
||||
}
|
||||
.token.attr-name,
|
||||
.token.builtin,
|
||||
.token.char,
|
||||
.token.inserted,
|
||||
.token.selector,
|
||||
.token.string {
|
||||
color: #690;
|
||||
}
|
||||
.language-css .token.string,
|
||||
.style .token.string,
|
||||
.token.entity,
|
||||
.token.operator,
|
||||
.token.url {
|
||||
color: #9a6e3a;
|
||||
background: hsla(0, 0%, 100%, 0.5);
|
||||
}
|
||||
.token.atrule,
|
||||
.token.attr-value,
|
||||
.token.keyword {
|
||||
color: #07a;
|
||||
}
|
||||
.token.class-name,
|
||||
.token.function {
|
||||
color: #dd4a68;
|
||||
}
|
||||
.token.important,
|
||||
.token.regex,
|
||||
.token.variable {
|
||||
color: #e90;
|
||||
}
|
||||
.token.bold,
|
||||
.token.important {
|
||||
font-weight: 700;
|
||||
}
|
||||
.token.italic {
|
||||
font-style: italic;
|
||||
}
|
||||
.token.entity {
|
||||
cursor: help;
|
||||
}
|
||||
.mce-content-body {
|
||||
overflow-wrap: break-word;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
.mce-content-body .mce-visual-caret {
|
||||
background-color: #000;
|
||||
background-color: currentColor;
|
||||
position: absolute;
|
||||
}
|
||||
.mce-content-body .mce-visual-caret-hidden {
|
||||
display: none;
|
||||
}
|
||||
.mce-content-body [data-mce-caret] {
|
||||
left: -1000px;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
position: absolute;
|
||||
right: auto;
|
||||
top: 0;
|
||||
}
|
||||
.mce-content-body .mce-offscreen-selection {
|
||||
left: -2000000px;
|
||||
max-width: 1000000px;
|
||||
position: absolute;
|
||||
}
|
||||
.mce-content-body [contentEditable="false"] {
|
||||
cursor: default;
|
||||
}
|
||||
.mce-content-body [contentEditable="true"] {
|
||||
cursor: text;
|
||||
}
|
||||
.tox-cursor-format-painter {
|
||||
cursor: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%3E%0A%20%20%3Cg%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M15%2C6%20C15%2C5.45%2014.55%2C5%2014%2C5%20L6%2C5%20C5.45%2C5%205%2C5.45%205%2C6%20L5%2C10%20C5%2C10.55%205.45%2C11%206%2C11%20L14%2C11%20C14.55%2C11%2015%2C10.55%2015%2C10%20L15%2C9%20L16%2C9%20L16%2C12%20L9%2C12%20L9%2C19%20C9%2C19.55%209.45%2C20%2010%2C20%20L11%2C20%20C11.55%2C20%2012%2C19.55%2012%2C19%20L12%2C14%20L18%2C14%20L18%2C7%20L15%2C7%20L15%2C6%20Z%22%2F%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M1%2C1%20L8.25%2C1%20C8.66421356%2C1%209%2C1.33578644%209%2C1.75%20L9%2C1.75%20C9%2C2.16421356%208.66421356%2C2.5%208.25%2C2.5%20L2.5%2C2.5%20L2.5%2C8.25%20C2.5%2C8.66421356%202.16421356%2C9%201.75%2C9%20L1.75%2C9%20C1.33578644%2C9%201%2C8.66421356%201%2C8.25%20L1%2C1%20Z%22%2F%3E%0A%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E%0A"),
|
||||
default;
|
||||
}
|
||||
div.mce-footnotes hr {
|
||||
margin-inline-end: auto;
|
||||
margin-inline-start: 0;
|
||||
width: 25%;
|
||||
}
|
||||
div.mce-footnotes li > a.mce-footnotes-backlink {
|
||||
text-decoration: none;
|
||||
}
|
||||
@media print {
|
||||
sup.mce-footnote a {
|
||||
color: #000;
|
||||
text-decoration: none;
|
||||
}
|
||||
div.mce-footnotes {
|
||||
break-inside: avoid;
|
||||
width: 100%;
|
||||
}
|
||||
div.mce-footnotes li > a.mce-footnotes-backlink {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
.mce-content-body figure.align-left {
|
||||
float: left;
|
||||
}
|
||||
.mce-content-body figure.align-right {
|
||||
float: right;
|
||||
}
|
||||
.mce-content-body figure.image.align-center {
|
||||
display: table;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
.mce-preview-object {
|
||||
border: 1px solid gray;
|
||||
display: inline-block;
|
||||
line-height: 0;
|
||||
margin: 0 2px 0 2px;
|
||||
position: relative;
|
||||
}
|
||||
.mce-preview-object .mce-shim {
|
||||
background: url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7);
|
||||
height: 100%;
|
||||
left: 0;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
}
|
||||
.mce-preview-object[data-mce-selected="2"] .mce-shim {
|
||||
display: none;
|
||||
}
|
||||
.mce-content-body .mce-mergetag {
|
||||
cursor: default !important;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
.mce-content-body .mce-mergetag:hover {
|
||||
background-color: rgba(0, 108, 231, 0.1);
|
||||
}
|
||||
.mce-content-body .mce-mergetag-affix {
|
||||
background-color: rgba(0, 108, 231, 0.1);
|
||||
color: #006ce7;
|
||||
}
|
||||
.mce-object {
|
||||
background: transparent
|
||||
url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%3E%3Cpath%20d%3D%22M4%203h16a1%201%200%200%201%201%201v16a1%201%200%200%201-1%201H4a1%201%200%200%201-1-1V4a1%201%200%200%201%201-1zm1%202v14h14V5H5zm4.79%202.565l5.64%204.028a.5.5%200%200%201%200%20.814l-5.64%204.028a.5.5%200%200%201-.79-.407V7.972a.5.5%200%200%201%20.79-.407z%22%2F%3E%3C%2Fsvg%3E%0A")
|
||||
no-repeat center;
|
||||
border: 1px dashed #aaa;
|
||||
}
|
||||
.mce-pagebreak {
|
||||
border: 1px dashed #aaa;
|
||||
cursor: default;
|
||||
display: block;
|
||||
height: 5px;
|
||||
margin-top: 15px;
|
||||
page-break-before: always;
|
||||
width: 100%;
|
||||
}
|
||||
@media print {
|
||||
.mce-pagebreak {
|
||||
border: 0;
|
||||
}
|
||||
}
|
||||
.tiny-pageembed .mce-shim {
|
||||
background: url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7);
|
||||
height: 100%;
|
||||
left: 0;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
}
|
||||
.tiny-pageembed[data-mce-selected="2"] .mce-shim {
|
||||
display: none;
|
||||
}
|
||||
.tiny-pageembed {
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
}
|
||||
.tiny-pageembed--16by9,
|
||||
.tiny-pageembed--1by1,
|
||||
.tiny-pageembed--21by9,
|
||||
.tiny-pageembed--4by3 {
|
||||
display: block;
|
||||
overflow: hidden;
|
||||
padding: 0;
|
||||
position: relative;
|
||||
width: 100%;
|
||||
}
|
||||
.tiny-pageembed--21by9 {
|
||||
padding-top: 42.857143%;
|
||||
}
|
||||
.tiny-pageembed--16by9 {
|
||||
padding-top: 56.25%;
|
||||
}
|
||||
.tiny-pageembed--4by3 {
|
||||
padding-top: 75%;
|
||||
}
|
||||
.tiny-pageembed--1by1 {
|
||||
padding-top: 100%;
|
||||
}
|
||||
.tiny-pageembed--16by9 iframe,
|
||||
.tiny-pageembed--1by1 iframe,
|
||||
.tiny-pageembed--21by9 iframe,
|
||||
.tiny-pageembed--4by3 iframe {
|
||||
border: 0;
|
||||
height: 100%;
|
||||
left: 0;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
}
|
||||
.mce-content-body[data-mce-placeholder] {
|
||||
position: relative;
|
||||
}
|
||||
.mce-content-body[data-mce-placeholder]:not(.mce-visualblocks)::before {
|
||||
color: rgba(34, 47, 62, 0.7);
|
||||
content: attr(data-mce-placeholder);
|
||||
position: absolute;
|
||||
}
|
||||
.mce-content-body:not([dir="rtl"])[data-mce-placeholder]:not(
|
||||
.mce-visualblocks
|
||||
)::before {
|
||||
left: 1px;
|
||||
}
|
||||
.mce-content-body[dir="rtl"][data-mce-placeholder]:not(
|
||||
.mce-visualblocks
|
||||
)::before {
|
||||
right: 1px;
|
||||
}
|
||||
.mce-content-body div.mce-resizehandle {
|
||||
background-color: #4099ff;
|
||||
border-color: #4099ff;
|
||||
border-style: solid;
|
||||
border-width: 1px;
|
||||
box-sizing: border-box;
|
||||
height: 10px;
|
||||
position: absolute;
|
||||
width: 10px;
|
||||
z-index: 1298;
|
||||
}
|
||||
.mce-content-body div.mce-resizehandle:hover {
|
||||
background-color: #4099ff;
|
||||
}
|
||||
.mce-content-body div.mce-resizehandle:nth-of-type(1) {
|
||||
cursor: nwse-resize;
|
||||
}
|
||||
.mce-content-body div.mce-resizehandle:nth-of-type(2) {
|
||||
cursor: nesw-resize;
|
||||
}
|
||||
.mce-content-body div.mce-resizehandle:nth-of-type(3) {
|
||||
cursor: nwse-resize;
|
||||
}
|
||||
.mce-content-body div.mce-resizehandle:nth-of-type(4) {
|
||||
cursor: nesw-resize;
|
||||
}
|
||||
.mce-content-body .mce-resize-backdrop {
|
||||
z-index: 10000;
|
||||
}
|
||||
.mce-content-body .mce-clonedresizable {
|
||||
cursor: default;
|
||||
opacity: 0.5;
|
||||
outline: 1px dashed #000;
|
||||
position: absolute;
|
||||
z-index: 10001;
|
||||
}
|
||||
.mce-content-body .mce-clonedresizable.mce-resizetable-columns td,
|
||||
.mce-content-body .mce-clonedresizable.mce-resizetable-columns th {
|
||||
border: 0;
|
||||
}
|
||||
.mce-content-body .mce-resize-helper {
|
||||
background: #555;
|
||||
background: rgba(0, 0, 0, 0.75);
|
||||
border: 1px;
|
||||
border-radius: 3px;
|
||||
color: #fff;
|
||||
display: none;
|
||||
font-family: sans-serif;
|
||||
font-size: 12px;
|
||||
line-height: 14px;
|
||||
margin: 5px 10px;
|
||||
padding: 5px;
|
||||
position: absolute;
|
||||
white-space: nowrap;
|
||||
z-index: 10002;
|
||||
}
|
||||
.tox-rtc-user-selection {
|
||||
position: relative;
|
||||
}
|
||||
.tox-rtc-user-cursor {
|
||||
bottom: 0;
|
||||
cursor: default;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
width: 2px;
|
||||
}
|
||||
.tox-rtc-user-cursor::before {
|
||||
background-color: inherit;
|
||||
border-radius: 50%;
|
||||
content: "";
|
||||
display: block;
|
||||
height: 8px;
|
||||
position: absolute;
|
||||
right: -3px;
|
||||
top: -3px;
|
||||
width: 8px;
|
||||
}
|
||||
.tox-rtc-user-cursor:hover::after {
|
||||
background-color: inherit;
|
||||
border-radius: 100px;
|
||||
box-sizing: border-box;
|
||||
color: #fff;
|
||||
content: attr(data-user);
|
||||
display: block;
|
||||
font-size: 12px;
|
||||
font-weight: 700;
|
||||
left: -5px;
|
||||
min-height: 8px;
|
||||
min-width: 8px;
|
||||
padding: 0 12px;
|
||||
position: absolute;
|
||||
top: -11px;
|
||||
white-space: nowrap;
|
||||
z-index: 1000;
|
||||
}
|
||||
.tox-rtc-user-selection--1 .tox-rtc-user-cursor {
|
||||
background-color: #2dc26b;
|
||||
}
|
||||
.tox-rtc-user-selection--2 .tox-rtc-user-cursor {
|
||||
background-color: #e03e2d;
|
||||
}
|
||||
.tox-rtc-user-selection--3 .tox-rtc-user-cursor {
|
||||
background-color: #f1c40f;
|
||||
}
|
||||
.tox-rtc-user-selection--4 .tox-rtc-user-cursor {
|
||||
background-color: #3598db;
|
||||
}
|
||||
.tox-rtc-user-selection--5 .tox-rtc-user-cursor {
|
||||
background-color: #b96ad9;
|
||||
}
|
||||
.tox-rtc-user-selection--6 .tox-rtc-user-cursor {
|
||||
background-color: #e67e23;
|
||||
}
|
||||
.tox-rtc-user-selection--7 .tox-rtc-user-cursor {
|
||||
background-color: #aaa69d;
|
||||
}
|
||||
.tox-rtc-user-selection--8 .tox-rtc-user-cursor {
|
||||
background-color: #f368e0;
|
||||
}
|
||||
.tox-rtc-remote-image {
|
||||
background: #eaeaea
|
||||
url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2236%22%20height%3D%2212%22%20viewBox%3D%220%200%2036%2012%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%3Ccircle%20cx%3D%226%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%20%20%3Ccircle%20cx%3D%2218%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20begin%3D%22.33s%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%20%20%3Ccircle%20cx%3D%2230%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20begin%3D%22.66s%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%3C%2Fsvg%3E%0A")
|
||||
no-repeat center center;
|
||||
border: 1px solid #ccc;
|
||||
min-height: 240px;
|
||||
min-width: 320px;
|
||||
}
|
||||
.mce-match-marker {
|
||||
background: #aaa;
|
||||
color: #fff;
|
||||
}
|
||||
.mce-match-marker-selected {
|
||||
background: #39f;
|
||||
color: #fff;
|
||||
}
|
||||
.mce-match-marker-selected::-moz-selection {
|
||||
background: #39f;
|
||||
color: #fff;
|
||||
}
|
||||
.mce-match-marker-selected::selection {
|
||||
background: #39f;
|
||||
color: #fff;
|
||||
}
|
||||
.mce-content-body audio[data-mce-selected],
|
||||
.mce-content-body details[data-mce-selected],
|
||||
.mce-content-body embed[data-mce-selected],
|
||||
.mce-content-body img[data-mce-selected],
|
||||
.mce-content-body object[data-mce-selected],
|
||||
.mce-content-body table[data-mce-selected],
|
||||
.mce-content-body video[data-mce-selected] {
|
||||
outline: 3px solid #b4d7ff;
|
||||
}
|
||||
.mce-content-body hr[data-mce-selected] {
|
||||
outline: 3px solid #b4d7ff;
|
||||
outline-offset: 1px;
|
||||
}
|
||||
.mce-content-body [contentEditable="false"] [contentEditable="true"]:focus {
|
||||
outline: 3px solid #b4d7ff;
|
||||
}
|
||||
.mce-content-body [contentEditable="false"] [contentEditable="true"]:hover {
|
||||
outline: 3px solid #b4d7ff;
|
||||
}
|
||||
.mce-content-body [contentEditable="false"][data-mce-selected] {
|
||||
cursor: not-allowed;
|
||||
outline: 3px solid #b4d7ff;
|
||||
}
|
||||
.mce-content-body.mce-content-readonly [contentEditable="true"]:focus,
|
||||
.mce-content-body.mce-content-readonly [contentEditable="true"]:hover {
|
||||
outline: 0;
|
||||
}
|
||||
.mce-content-body [data-mce-selected="inline-boundary"] {
|
||||
background-color: #b4d7ff;
|
||||
}
|
||||
.mce-content-body .mce-edit-focus {
|
||||
outline: 3px solid #b4d7ff;
|
||||
}
|
||||
.mce-content-body td[data-mce-selected],
|
||||
.mce-content-body th[data-mce-selected] {
|
||||
position: relative;
|
||||
}
|
||||
.mce-content-body td[data-mce-selected]::-moz-selection,
|
||||
.mce-content-body th[data-mce-selected]::-moz-selection {
|
||||
background: 0 0;
|
||||
}
|
||||
.mce-content-body td[data-mce-selected]::selection,
|
||||
.mce-content-body th[data-mce-selected]::selection {
|
||||
background: 0 0;
|
||||
}
|
||||
.mce-content-body td[data-mce-selected] *,
|
||||
.mce-content-body th[data-mce-selected] * {
|
||||
outline: 0;
|
||||
-webkit-touch-callout: none;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
.mce-content-body td[data-mce-selected]::after,
|
||||
.mce-content-body th[data-mce-selected]::after {
|
||||
background-color: rgba(180, 215, 255, 0.7);
|
||||
border: 1px solid rgba(180, 215, 255, 0.7);
|
||||
bottom: -1px;
|
||||
content: "";
|
||||
left: -1px;
|
||||
mix-blend-mode: multiply;
|
||||
position: absolute;
|
||||
right: -1px;
|
||||
top: -1px;
|
||||
}
|
||||
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
|
||||
.mce-content-body td[data-mce-selected]::after,
|
||||
.mce-content-body th[data-mce-selected]::after {
|
||||
border-color: rgba(0, 84, 180, 0.7);
|
||||
}
|
||||
}
|
||||
.mce-content-body img[data-mce-selected]::-moz-selection {
|
||||
background: 0 0;
|
||||
}
|
||||
.mce-content-body img[data-mce-selected]::selection {
|
||||
background: 0 0;
|
||||
}
|
||||
.ephox-snooker-resizer-bar {
|
||||
background-color: #b4d7ff;
|
||||
opacity: 0;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
.ephox-snooker-resizer-cols {
|
||||
cursor: col-resize;
|
||||
}
|
||||
.ephox-snooker-resizer-rows {
|
||||
cursor: row-resize;
|
||||
}
|
||||
.ephox-snooker-resizer-bar.ephox-snooker-resizer-bar-dragging {
|
||||
opacity: 1;
|
||||
}
|
||||
.mce-spellchecker-word {
|
||||
background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%23ff0000'%20fill%3D'none'%20stroke-linecap%3D'round'%20stroke-opacity%3D'.75'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A");
|
||||
background-position: 0 calc(100% + 1px);
|
||||
background-repeat: repeat-x;
|
||||
background-size: auto 6px;
|
||||
cursor: default;
|
||||
height: 2rem;
|
||||
}
|
||||
.mce-spellchecker-grammar {
|
||||
background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%2300A835'%20fill%3D'none'%20stroke-linecap%3D'round'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A");
|
||||
background-position: 0 calc(100% + 1px);
|
||||
background-repeat: repeat-x;
|
||||
background-size: auto 6px;
|
||||
cursor: default;
|
||||
}
|
||||
.mce-toc {
|
||||
border: 1px solid gray;
|
||||
}
|
||||
.mce-toc h2 {
|
||||
margin: 4px;
|
||||
}
|
||||
.mce-toc ul > li {
|
||||
list-style-type: none;
|
||||
}
|
||||
[data-mce-block] {
|
||||
display: block;
|
||||
}
|
||||
.mce-item-table:not([border]),
|
||||
.mce-item-table:not([border]) caption,
|
||||
.mce-item-table:not([border]) td,
|
||||
.mce-item-table:not([border]) th,
|
||||
.mce-item-table[border="0"],
|
||||
.mce-item-table[border="0"] caption,
|
||||
.mce-item-table[border="0"] td,
|
||||
.mce-item-table[border="0"] th,
|
||||
table[style*="border-width: 0px"],
|
||||
table[style*="border-width: 0px"] caption,
|
||||
table[style*="border-width: 0px"] td,
|
||||
table[style*="border-width: 0px"] th {
|
||||
border: 1px dashed #bbb;
|
||||
}
|
||||
.mce-visualblocks address,
|
||||
.mce-visualblocks article,
|
||||
.mce-visualblocks aside,
|
||||
.mce-visualblocks blockquote,
|
||||
.mce-visualblocks div:not([data-mce-bogus]),
|
||||
.mce-visualblocks dl,
|
||||
.mce-visualblocks figcaption,
|
||||
.mce-visualblocks figure,
|
||||
.mce-visualblocks h1,
|
||||
.mce-visualblocks h2,
|
||||
.mce-visualblocks h3,
|
||||
.mce-visualblocks h4,
|
||||
.mce-visualblocks h5,
|
||||
.mce-visualblocks h6,
|
||||
.mce-visualblocks hgroup,
|
||||
.mce-visualblocks ol,
|
||||
.mce-visualblocks p,
|
||||
.mce-visualblocks pre,
|
||||
.mce-visualblocks section,
|
||||
.mce-visualblocks ul {
|
||||
background-repeat: no-repeat;
|
||||
border: 1px dashed #bbb;
|
||||
margin-left: 3px;
|
||||
padding-top: 10px;
|
||||
}
|
||||
.mce-visualblocks p {
|
||||
background-image: url(data:image/gif;base64,R0lGODlhCQAJAJEAAAAAAP///7u7u////yH5BAEAAAMALAAAAAAJAAkAAAIQnG+CqCN/mlyvsRUpThG6AgA7);
|
||||
}
|
||||
.mce-visualblocks h1 {
|
||||
background-image: url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybGu1JuxHoAfRNRW3TWXyF2YiRUAOw==);
|
||||
}
|
||||
.mce-visualblocks h2 {
|
||||
background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8Hybbx4oOuqgTynJd6bGlWg3DkJzoaUAAAOw==);
|
||||
}
|
||||
.mce-visualblocks h3 {
|
||||
background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIZjI8Hybbx4oOuqgTynJf2Ln2NOHpQpmhAAQA7);
|
||||
}
|
||||
.mce-visualblocks h4 {
|
||||
background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxInR0zqeAdhtJlXwV1oCll2HaWgAAOw==);
|
||||
}
|
||||
.mce-visualblocks h5 {
|
||||
background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxIoiuwjane4iq5GlW05GgIkIZUAAAOw==);
|
||||
}
|
||||
.mce-visualblocks h6 {
|
||||
background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxIoiuwjan04jep1iZ1XRlAo5bVgAAOw==);
|
||||
}
|
||||
.mce-visualblocks div:not([data-mce-bogus]) {
|
||||
background-image: url(data:image/gif;base64,R0lGODlhEgAKAIABALu7u////yH5BAEAAAEALAAAAAASAAoAAAIfjI9poI0cgDywrhuxfbrzDEbQM2Ei5aRjmoySW4pAAQA7);
|
||||
}
|
||||
.mce-visualblocks section {
|
||||
background-image: url(data:image/gif;base64,R0lGODlhKAAKAIABALu7u////yH5BAEAAAEALAAAAAAoAAoAAAI5jI+pywcNY3sBWHdNrplytD2ellDeSVbp+GmWqaDqDMepc8t17Y4vBsK5hDyJMcI6KkuYU+jpjLoKADs=);
|
||||
}
|
||||
.mce-visualblocks article {
|
||||
background-image: url(data:image/gif;base64,R0lGODlhKgAKAIABALu7u////yH5BAEAAAEALAAAAAAqAAoAAAI6jI+pywkNY3wG0GBvrsd2tXGYSGnfiF7ikpXemTpOiJScasYoDJJrjsG9gkCJ0ag6KhmaIe3pjDYBBQA7);
|
||||
}
|
||||
.mce-visualblocks blockquote {
|
||||
background-image: url(data:image/gif;base64,R0lGODlhPgAKAIABALu7u////yH5BAEAAAEALAAAAAA+AAoAAAJPjI+py+0Knpz0xQDyuUhvfoGgIX5iSKZYgq5uNL5q69asZ8s5rrf0yZmpNkJZzFesBTu8TOlDVAabUyatguVhWduud3EyiUk45xhTTgMBBQA7);
|
||||
}
|
||||
.mce-visualblocks address {
|
||||
background-image: url(data:image/gif;base64,R0lGODlhLQAKAIABALu7u////yH5BAEAAAEALAAAAAAtAAoAAAI/jI+pywwNozSP1gDyyZcjb3UaRpXkWaXmZW4OqKLhBmLs+K263DkJK7OJeifh7FicKD9A1/IpGdKkyFpNmCkAADs=);
|
||||
}
|
||||
.mce-visualblocks pre {
|
||||
background-image: url(data:image/gif;base64,R0lGODlhFQAKAIABALu7uwAAACH5BAEAAAEALAAAAAAVAAoAAAIjjI+ZoN0cgDwSmnpz1NCueYERhnibZVKLNnbOq8IvKpJtVQAAOw==);
|
||||
}
|
||||
.mce-visualblocks figure {
|
||||
background-image: url(data:image/gif;base64,R0lGODlhJAAKAIAAALu7u////yH5BAEAAAEALAAAAAAkAAoAAAI0jI+py+2fwAHUSFvD3RlvG4HIp4nX5JFSpnZUJ6LlrM52OE7uSWosBHScgkSZj7dDKnWAAgA7);
|
||||
}
|
||||
.mce-visualblocks figcaption {
|
||||
border: 1px dashed #bbb;
|
||||
}
|
||||
.mce-visualblocks hgroup {
|
||||
background-image: url(data:image/gif;base64,R0lGODlhJwAKAIABALu7uwAAACH5BAEAAAEALAAAAAAnAAoAAAI3jI+pywYNI3uB0gpsRtt5fFnfNZaVSYJil4Wo03Hv6Z62uOCgiXH1kZIIJ8NiIxRrAZNMZAtQAAA7);
|
||||
}
|
||||
.mce-visualblocks aside {
|
||||
background-image: url(data:image/gif;base64,R0lGODlhHgAKAIABAKqqqv///yH5BAEAAAEALAAAAAAeAAoAAAItjI+pG8APjZOTzgtqy7I3f1yehmQcFY4WKZbqByutmW4aHUd6vfcVbgudgpYCADs=);
|
||||
}
|
||||
.mce-visualblocks ul {
|
||||
background-image: url(data:image/gif;base64,R0lGODlhDQAKAIAAALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybGuYnqUVSjvw26DzzXiqIDlVwAAOw==);
|
||||
}
|
||||
.mce-visualblocks ol {
|
||||
background-image: url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybH6HHt0qourxC6CvzXieHyeWQAAOw==);
|
||||
}
|
||||
.mce-visualblocks dl {
|
||||
background-image: url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybEOnmOvUoWznTqeuEjNSCqeGRUAOw==);
|
||||
}
|
||||
.mce-visualblocks:not([dir="rtl"]) address,
|
||||
.mce-visualblocks:not([dir="rtl"]) article,
|
||||
.mce-visualblocks:not([dir="rtl"]) aside,
|
||||
.mce-visualblocks:not([dir="rtl"]) blockquote,
|
||||
.mce-visualblocks:not([dir="rtl"]) div:not([data-mce-bogus]),
|
||||
.mce-visualblocks:not([dir="rtl"]) dl,
|
||||
.mce-visualblocks:not([dir="rtl"]) figcaption,
|
||||
.mce-visualblocks:not([dir="rtl"]) figure,
|
||||
.mce-visualblocks:not([dir="rtl"]) h1,
|
||||
.mce-visualblocks:not([dir="rtl"]) h2,
|
||||
.mce-visualblocks:not([dir="rtl"]) h3,
|
||||
.mce-visualblocks:not([dir="rtl"]) h4,
|
||||
.mce-visualblocks:not([dir="rtl"]) h5,
|
||||
.mce-visualblocks:not([dir="rtl"]) h6,
|
||||
.mce-visualblocks:not([dir="rtl"]) hgroup,
|
||||
.mce-visualblocks:not([dir="rtl"]) ol,
|
||||
.mce-visualblocks:not([dir="rtl"]) p,
|
||||
.mce-visualblocks:not([dir="rtl"]) pre,
|
||||
.mce-visualblocks:not([dir="rtl"]) section,
|
||||
.mce-visualblocks:not([dir="rtl"]) ul {
|
||||
margin-left: 3px;
|
||||
}
|
||||
.mce-visualblocks[dir="rtl"] address,
|
||||
.mce-visualblocks[dir="rtl"] article,
|
||||
.mce-visualblocks[dir="rtl"] aside,
|
||||
.mce-visualblocks[dir="rtl"] blockquote,
|
||||
.mce-visualblocks[dir="rtl"] div:not([data-mce-bogus]),
|
||||
.mce-visualblocks[dir="rtl"] dl,
|
||||
.mce-visualblocks[dir="rtl"] figcaption,
|
||||
.mce-visualblocks[dir="rtl"] figure,
|
||||
.mce-visualblocks[dir="rtl"] h1,
|
||||
.mce-visualblocks[dir="rtl"] h2,
|
||||
.mce-visualblocks[dir="rtl"] h3,
|
||||
.mce-visualblocks[dir="rtl"] h4,
|
||||
.mce-visualblocks[dir="rtl"] h5,
|
||||
.mce-visualblocks[dir="rtl"] h6,
|
||||
.mce-visualblocks[dir="rtl"] hgroup,
|
||||
.mce-visualblocks[dir="rtl"] ol,
|
||||
.mce-visualblocks[dir="rtl"] p,
|
||||
.mce-visualblocks[dir="rtl"] pre,
|
||||
.mce-visualblocks[dir="rtl"] section,
|
||||
.mce-visualblocks[dir="rtl"] ul {
|
||||
background-position-x: right;
|
||||
margin-right: 3px;
|
||||
}
|
||||
.mce-nbsp,
|
||||
.mce-shy {
|
||||
background: #aaa;
|
||||
}
|
||||
.mce-shy::after {
|
||||
content: "-";
|
||||
}
|
||||
@ -1,802 +0,0 @@
|
||||
.mce-content-body .mce-item-anchor {
|
||||
background: transparent
|
||||
url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'8'%20height%3D'12'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20d%3D'M0%200L8%200%208%2012%204.09117821%209%200%2012z'%2F%3E%3C%2Fsvg%3E%0A")
|
||||
no-repeat center;
|
||||
}
|
||||
.mce-content-body .mce-item-anchor:empty {
|
||||
cursor: default;
|
||||
display: inline-block;
|
||||
height: 12px !important;
|
||||
padding: 0 2px;
|
||||
-webkit-user-modify: read-only;
|
||||
-moz-user-modify: read-only;
|
||||
-webkit-user-select: all;
|
||||
-moz-user-select: all;
|
||||
user-select: all;
|
||||
width: 8px !important;
|
||||
}
|
||||
.mce-content-body .mce-item-anchor:not(:empty) {
|
||||
background-position-x: 2px;
|
||||
display: inline-block;
|
||||
padding-left: 12px;
|
||||
}
|
||||
.mce-content-body .mce-item-anchor[data-mce-selected] {
|
||||
outline-offset: 1px;
|
||||
}
|
||||
.tox-comments-visible
|
||||
.tox-comment[contenteditable="false"]:not([data-mce-selected]),
|
||||
.tox-comments-visible span.tox-comment img:not([data-mce-selected]),
|
||||
.tox-comments-visible
|
||||
span.tox-comment
|
||||
span.mce-preview-object:not([data-mce-selected]),
|
||||
.tox-comments-visible span.tox-comment > audio:not([data-mce-selected]),
|
||||
.tox-comments-visible span.tox-comment > video:not([data-mce-selected]) {
|
||||
outline: 3px solid #ffe89d;
|
||||
}
|
||||
.tox-comments-visible
|
||||
.tox-comment[contenteditable="false"][data-mce-annotation-active="true"]:not(
|
||||
[data-mce-selected]
|
||||
) {
|
||||
outline: 3px solid #fed635;
|
||||
}
|
||||
.tox-comments-visible
|
||||
span.tox-comment[data-mce-annotation-active="true"]
|
||||
img:not([data-mce-selected]),
|
||||
.tox-comments-visible
|
||||
span.tox-comment[data-mce-annotation-active="true"]
|
||||
span.mce-preview-object:not([data-mce-selected]),
|
||||
.tox-comments-visible
|
||||
span.tox-comment[data-mce-annotation-active="true"]
|
||||
> audio:not([data-mce-selected]),
|
||||
.tox-comments-visible
|
||||
span.tox-comment[data-mce-annotation-active="true"]
|
||||
> video:not([data-mce-selected]) {
|
||||
outline: 3px solid #fed635;
|
||||
}
|
||||
.tox-comments-visible span.tox-comment:not([data-mce-selected]) {
|
||||
background-color: #ffe89d;
|
||||
outline: 0;
|
||||
}
|
||||
.tox-comments-visible
|
||||
span.tox-comment[data-mce-annotation-active="true"]:not(
|
||||
[data-mce-selected="inline-boundary"]
|
||||
) {
|
||||
background-color: #fed635;
|
||||
}
|
||||
.tox-checklist > li:not(.tox-checklist--hidden) {
|
||||
list-style: none;
|
||||
margin: 0.25em 0;
|
||||
}
|
||||
.tox-checklist > li:not(.tox-checklist--hidden)::before {
|
||||
content: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-unchecked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2215%22%20height%3D%2215%22%20x%3D%22.5%22%20y%3D%22.5%22%20fill-rule%3D%22nonzero%22%20stroke%3D%22%234C4C4C%22%20rx%3D%222%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A");
|
||||
cursor: pointer;
|
||||
height: 1em;
|
||||
margin-left: -1.5em;
|
||||
margin-top: 0.125em;
|
||||
position: absolute;
|
||||
width: 1em;
|
||||
}
|
||||
.tox-checklist li:not(.tox-checklist--hidden).tox-checklist--checked::before {
|
||||
content: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-checked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2216%22%20height%3D%2216%22%20fill%3D%22%234099FF%22%20fill-rule%3D%22nonzero%22%20rx%3D%222%22%2F%3E%3Cpath%20id%3D%22Path%22%20fill%3D%22%23FFF%22%20fill-rule%3D%22nonzero%22%20d%3D%22M11.5703186%2C3.14417309%20C11.8516238%2C2.73724603%2012.4164781%2C2.62829933%2012.83558%2C2.89774797%20C13.260121%2C3.17069355%2013.3759736%2C3.72932262%2013.0909105%2C4.14168582%20L7.7580587%2C11.8560195%20C7.43776896%2C12.3193404%206.76483983%2C12.3852142%206.35607322%2C11.9948725%20L3.02491697%2C8.8138662%20C2.66090143%2C8.46625845%202.65798871%2C7.89594698%203.01850234%2C7.54483354%20C3.373942%2C7.19866177%203.94940006%2C7.19592841%204.30829608%2C7.5386474%20L6.85276923%2C9.9684299%20L11.5703186%2C3.14417309%20Z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A");
|
||||
}
|
||||
[dir="rtl"] .tox-checklist > li:not(.tox-checklist--hidden)::before {
|
||||
margin-left: 0;
|
||||
margin-right: -1.5em;
|
||||
}
|
||||
code[class*="language-"],
|
||||
pre[class*="language-"] {
|
||||
color: #000;
|
||||
background: 0 0;
|
||||
text-shadow: 0 1px #fff;
|
||||
font-family: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace;
|
||||
font-size: 1em;
|
||||
text-align: left;
|
||||
white-space: pre;
|
||||
word-spacing: normal;
|
||||
word-break: normal;
|
||||
word-wrap: normal;
|
||||
line-height: 1.5;
|
||||
-moz-tab-size: 4;
|
||||
tab-size: 4;
|
||||
-webkit-hyphens: none;
|
||||
hyphens: none;
|
||||
}
|
||||
code[class*="language-"] ::-moz-selection,
|
||||
code[class*="language-"]::-moz-selection,
|
||||
pre[class*="language-"] ::-moz-selection,
|
||||
pre[class*="language-"]::-moz-selection {
|
||||
text-shadow: none;
|
||||
background: #b3d4fc;
|
||||
}
|
||||
code[class*="language-"] ::selection,
|
||||
code[class*="language-"]::selection,
|
||||
pre[class*="language-"] ::selection,
|
||||
pre[class*="language-"]::selection {
|
||||
text-shadow: none;
|
||||
background: #b3d4fc;
|
||||
}
|
||||
@media print {
|
||||
code[class*="language-"],
|
||||
pre[class*="language-"] {
|
||||
text-shadow: none;
|
||||
}
|
||||
}
|
||||
pre[class*="language-"] {
|
||||
padding: 1em;
|
||||
margin: 0.5em 0;
|
||||
overflow: auto;
|
||||
}
|
||||
:not(pre) > code[class*="language-"],
|
||||
pre[class*="language-"] {
|
||||
background: #f5f2f0;
|
||||
}
|
||||
:not(pre) > code[class*="language-"] {
|
||||
padding: 0.1em;
|
||||
border-radius: 0.3em;
|
||||
white-space: normal;
|
||||
}
|
||||
.token.cdata,
|
||||
.token.comment,
|
||||
.token.doctype,
|
||||
.token.prolog {
|
||||
color: #708090;
|
||||
}
|
||||
.token.punctuation {
|
||||
color: #999;
|
||||
}
|
||||
.token.namespace {
|
||||
opacity: 0.7;
|
||||
}
|
||||
.token.boolean,
|
||||
.token.constant,
|
||||
.token.deleted,
|
||||
.token.number,
|
||||
.token.property,
|
||||
.token.symbol,
|
||||
.token.tag {
|
||||
color: #905;
|
||||
}
|
||||
.token.attr-name,
|
||||
.token.builtin,
|
||||
.token.char,
|
||||
.token.inserted,
|
||||
.token.selector,
|
||||
.token.string {
|
||||
color: #690;
|
||||
}
|
||||
.language-css .token.string,
|
||||
.style .token.string,
|
||||
.token.entity,
|
||||
.token.operator,
|
||||
.token.url {
|
||||
color: #9a6e3a;
|
||||
background: hsla(0, 0%, 100%, 0.5);
|
||||
}
|
||||
.token.atrule,
|
||||
.token.attr-value,
|
||||
.token.keyword {
|
||||
color: #07a;
|
||||
}
|
||||
.token.class-name,
|
||||
.token.function {
|
||||
color: #dd4a68;
|
||||
}
|
||||
.token.important,
|
||||
.token.regex,
|
||||
.token.variable {
|
||||
color: #e90;
|
||||
}
|
||||
.token.bold,
|
||||
.token.important {
|
||||
font-weight: 700;
|
||||
}
|
||||
.token.italic {
|
||||
font-style: italic;
|
||||
}
|
||||
.token.entity {
|
||||
cursor: help;
|
||||
}
|
||||
.mce-content-body {
|
||||
overflow-wrap: break-word;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
.mce-content-body .mce-visual-caret {
|
||||
background-color: #000;
|
||||
background-color: currentColor;
|
||||
position: absolute;
|
||||
}
|
||||
.mce-content-body .mce-visual-caret-hidden {
|
||||
display: none;
|
||||
}
|
||||
.mce-content-body [data-mce-caret] {
|
||||
left: -1000px;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
position: absolute;
|
||||
right: auto;
|
||||
top: 0;
|
||||
}
|
||||
.mce-content-body .mce-offscreen-selection {
|
||||
left: -2000000px;
|
||||
max-width: 1000000px;
|
||||
position: absolute;
|
||||
}
|
||||
.mce-content-body [contentEditable="false"] {
|
||||
cursor: default;
|
||||
}
|
||||
.mce-content-body [contentEditable="true"] {
|
||||
cursor: text;
|
||||
}
|
||||
.tox-cursor-format-painter {
|
||||
cursor: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%3E%0A%20%20%3Cg%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M15%2C6%20C15%2C5.45%2014.55%2C5%2014%2C5%20L6%2C5%20C5.45%2C5%205%2C5.45%205%2C6%20L5%2C10%20C5%2C10.55%205.45%2C11%206%2C11%20L14%2C11%20C14.55%2C11%2015%2C10.55%2015%2C10%20L15%2C9%20L16%2C9%20L16%2C12%20L9%2C12%20L9%2C19%20C9%2C19.55%209.45%2C20%2010%2C20%20L11%2C20%20C11.55%2C20%2012%2C19.55%2012%2C19%20L12%2C14%20L18%2C14%20L18%2C7%20L15%2C7%20L15%2C6%20Z%22%2F%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M1%2C1%20L8.25%2C1%20C8.66421356%2C1%209%2C1.33578644%209%2C1.75%20L9%2C1.75%20C9%2C2.16421356%208.66421356%2C2.5%208.25%2C2.5%20L2.5%2C2.5%20L2.5%2C8.25%20C2.5%2C8.66421356%202.16421356%2C9%201.75%2C9%20L1.75%2C9%20C1.33578644%2C9%201%2C8.66421356%201%2C8.25%20L1%2C1%20Z%22%2F%3E%0A%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E%0A"),
|
||||
default;
|
||||
}
|
||||
div.mce-footnotes hr {
|
||||
margin-inline-end: auto;
|
||||
margin-inline-start: 0;
|
||||
width: 25%;
|
||||
}
|
||||
div.mce-footnotes li > a.mce-footnotes-backlink {
|
||||
text-decoration: none;
|
||||
}
|
||||
@media print {
|
||||
sup.mce-footnote a {
|
||||
color: #000;
|
||||
text-decoration: none;
|
||||
}
|
||||
div.mce-footnotes {
|
||||
break-inside: avoid;
|
||||
width: 100%;
|
||||
}
|
||||
div.mce-footnotes li > a.mce-footnotes-backlink {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
.mce-content-body figure.align-left {
|
||||
float: left;
|
||||
}
|
||||
.mce-content-body figure.align-right {
|
||||
float: right;
|
||||
}
|
||||
.mce-content-body figure.image.align-center {
|
||||
display: table;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
.mce-preview-object {
|
||||
border: 1px solid gray;
|
||||
display: inline-block;
|
||||
line-height: 0;
|
||||
margin: 0 2px 0 2px;
|
||||
position: relative;
|
||||
}
|
||||
.mce-preview-object .mce-shim {
|
||||
background: url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7);
|
||||
height: 100%;
|
||||
left: 0;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
}
|
||||
.mce-preview-object[data-mce-selected="2"] .mce-shim {
|
||||
display: none;
|
||||
}
|
||||
.mce-content-body .mce-mergetag {
|
||||
cursor: default !important;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
.mce-content-body .mce-mergetag:hover {
|
||||
background-color: rgba(0, 108, 231, 0.1);
|
||||
}
|
||||
.mce-content-body .mce-mergetag-affix {
|
||||
background-color: rgba(0, 108, 231, 0.1);
|
||||
color: #006ce7;
|
||||
}
|
||||
.mce-object {
|
||||
background: transparent
|
||||
url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%3E%3Cpath%20d%3D%22M4%203h16a1%201%200%200%201%201%201v16a1%201%200%200%201-1%201H4a1%201%200%200%201-1-1V4a1%201%200%200%201%201-1zm1%202v14h14V5H5zm4.79%202.565l5.64%204.028a.5.5%200%200%201%200%20.814l-5.64%204.028a.5.5%200%200%201-.79-.407V7.972a.5.5%200%200%201%20.79-.407z%22%2F%3E%3C%2Fsvg%3E%0A")
|
||||
no-repeat center;
|
||||
border: 1px dashed #aaa;
|
||||
}
|
||||
.mce-pagebreak {
|
||||
border: 1px dashed #aaa;
|
||||
cursor: default;
|
||||
display: block;
|
||||
height: 5px;
|
||||
margin-top: 15px;
|
||||
page-break-before: always;
|
||||
width: 100%;
|
||||
}
|
||||
@media print {
|
||||
.mce-pagebreak {
|
||||
border: 0;
|
||||
}
|
||||
}
|
||||
.tiny-pageembed .mce-shim {
|
||||
background: url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7);
|
||||
height: 100%;
|
||||
left: 0;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
}
|
||||
.tiny-pageembed[data-mce-selected="2"] .mce-shim {
|
||||
display: none;
|
||||
}
|
||||
.tiny-pageembed {
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
}
|
||||
.tiny-pageembed--16by9,
|
||||
.tiny-pageembed--1by1,
|
||||
.tiny-pageembed--21by9,
|
||||
.tiny-pageembed--4by3 {
|
||||
display: block;
|
||||
overflow: hidden;
|
||||
padding: 0;
|
||||
position: relative;
|
||||
width: 100%;
|
||||
}
|
||||
.tiny-pageembed--21by9 {
|
||||
padding-top: 42.857143%;
|
||||
}
|
||||
.tiny-pageembed--16by9 {
|
||||
padding-top: 56.25%;
|
||||
}
|
||||
.tiny-pageembed--4by3 {
|
||||
padding-top: 75%;
|
||||
}
|
||||
.tiny-pageembed--1by1 {
|
||||
padding-top: 100%;
|
||||
}
|
||||
.tiny-pageembed--16by9 iframe,
|
||||
.tiny-pageembed--1by1 iframe,
|
||||
.tiny-pageembed--21by9 iframe,
|
||||
.tiny-pageembed--4by3 iframe {
|
||||
border: 0;
|
||||
height: 100%;
|
||||
left: 0;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
}
|
||||
.mce-content-body[data-mce-placeholder] {
|
||||
position: relative;
|
||||
}
|
||||
.mce-content-body[data-mce-placeholder]:not(.mce-visualblocks)::before {
|
||||
color: rgba(34, 47, 62, 0.7);
|
||||
content: attr(data-mce-placeholder);
|
||||
position: absolute;
|
||||
}
|
||||
.mce-content-body:not([dir="rtl"])[data-mce-placeholder]:not(
|
||||
.mce-visualblocks
|
||||
)::before {
|
||||
left: 1px;
|
||||
}
|
||||
.mce-content-body[dir="rtl"][data-mce-placeholder]:not(
|
||||
.mce-visualblocks
|
||||
)::before {
|
||||
right: 1px;
|
||||
}
|
||||
.mce-content-body div.mce-resizehandle {
|
||||
background-color: #4099ff;
|
||||
border-color: #4099ff;
|
||||
border-style: solid;
|
||||
border-width: 1px;
|
||||
box-sizing: border-box;
|
||||
height: 10px;
|
||||
position: absolute;
|
||||
width: 10px;
|
||||
z-index: 1298;
|
||||
}
|
||||
.mce-content-body div.mce-resizehandle:hover {
|
||||
background-color: #4099ff;
|
||||
}
|
||||
.mce-content-body div.mce-resizehandle:nth-of-type(1) {
|
||||
cursor: nwse-resize;
|
||||
}
|
||||
.mce-content-body div.mce-resizehandle:nth-of-type(2) {
|
||||
cursor: nesw-resize;
|
||||
}
|
||||
.mce-content-body div.mce-resizehandle:nth-of-type(3) {
|
||||
cursor: nwse-resize;
|
||||
}
|
||||
.mce-content-body div.mce-resizehandle:nth-of-type(4) {
|
||||
cursor: nesw-resize;
|
||||
}
|
||||
.mce-content-body .mce-resize-backdrop {
|
||||
z-index: 10000;
|
||||
}
|
||||
.mce-content-body .mce-clonedresizable {
|
||||
cursor: default;
|
||||
opacity: 0.5;
|
||||
outline: 1px dashed #000;
|
||||
position: absolute;
|
||||
z-index: 10001;
|
||||
}
|
||||
.mce-content-body .mce-clonedresizable.mce-resizetable-columns td,
|
||||
.mce-content-body .mce-clonedresizable.mce-resizetable-columns th {
|
||||
border: 0;
|
||||
}
|
||||
.mce-content-body .mce-resize-helper {
|
||||
background: #555;
|
||||
background: rgba(0, 0, 0, 0.75);
|
||||
border: 1px;
|
||||
border-radius: 3px;
|
||||
color: #fff;
|
||||
display: none;
|
||||
font-family: sans-serif;
|
||||
font-size: 12px;
|
||||
line-height: 14px;
|
||||
margin: 5px 10px;
|
||||
padding: 5px;
|
||||
position: absolute;
|
||||
white-space: nowrap;
|
||||
z-index: 10002;
|
||||
}
|
||||
.tox-rtc-user-selection {
|
||||
position: relative;
|
||||
}
|
||||
.tox-rtc-user-cursor {
|
||||
bottom: 0;
|
||||
cursor: default;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
width: 2px;
|
||||
}
|
||||
.tox-rtc-user-cursor::before {
|
||||
background-color: inherit;
|
||||
border-radius: 50%;
|
||||
content: "";
|
||||
display: block;
|
||||
height: 8px;
|
||||
position: absolute;
|
||||
right: -3px;
|
||||
top: -3px;
|
||||
width: 8px;
|
||||
}
|
||||
.tox-rtc-user-cursor:hover::after {
|
||||
background-color: inherit;
|
||||
border-radius: 100px;
|
||||
box-sizing: border-box;
|
||||
color: #fff;
|
||||
content: attr(data-user);
|
||||
display: block;
|
||||
font-size: 12px;
|
||||
font-weight: 700;
|
||||
left: -5px;
|
||||
min-height: 8px;
|
||||
min-width: 8px;
|
||||
padding: 0 12px;
|
||||
position: absolute;
|
||||
top: -11px;
|
||||
white-space: nowrap;
|
||||
z-index: 1000;
|
||||
}
|
||||
.tox-rtc-user-selection--1 .tox-rtc-user-cursor {
|
||||
background-color: #2dc26b;
|
||||
}
|
||||
.tox-rtc-user-selection--2 .tox-rtc-user-cursor {
|
||||
background-color: #e03e2d;
|
||||
}
|
||||
.tox-rtc-user-selection--3 .tox-rtc-user-cursor {
|
||||
background-color: #f1c40f;
|
||||
}
|
||||
.tox-rtc-user-selection--4 .tox-rtc-user-cursor {
|
||||
background-color: #3598db;
|
||||
}
|
||||
.tox-rtc-user-selection--5 .tox-rtc-user-cursor {
|
||||
background-color: #b96ad9;
|
||||
}
|
||||
.tox-rtc-user-selection--6 .tox-rtc-user-cursor {
|
||||
background-color: #e67e23;
|
||||
}
|
||||
.tox-rtc-user-selection--7 .tox-rtc-user-cursor {
|
||||
background-color: #aaa69d;
|
||||
}
|
||||
.tox-rtc-user-selection--8 .tox-rtc-user-cursor {
|
||||
background-color: #f368e0;
|
||||
}
|
||||
.tox-rtc-remote-image {
|
||||
background: #eaeaea
|
||||
url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2236%22%20height%3D%2212%22%20viewBox%3D%220%200%2036%2012%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%3Ccircle%20cx%3D%226%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%20%20%3Ccircle%20cx%3D%2218%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20begin%3D%22.33s%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%20%20%3Ccircle%20cx%3D%2230%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20begin%3D%22.66s%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%3C%2Fsvg%3E%0A")
|
||||
no-repeat center center;
|
||||
border: 1px solid #ccc;
|
||||
min-height: 240px;
|
||||
min-width: 320px;
|
||||
}
|
||||
.mce-match-marker {
|
||||
background: #aaa;
|
||||
color: #fff;
|
||||
}
|
||||
.mce-match-marker-selected {
|
||||
background: #39f;
|
||||
color: #fff;
|
||||
}
|
||||
.mce-match-marker-selected::-moz-selection {
|
||||
background: #39f;
|
||||
color: #fff;
|
||||
}
|
||||
.mce-match-marker-selected::selection {
|
||||
background: #39f;
|
||||
color: #fff;
|
||||
}
|
||||
.mce-content-body audio[data-mce-selected],
|
||||
.mce-content-body details[data-mce-selected],
|
||||
.mce-content-body embed[data-mce-selected],
|
||||
.mce-content-body img[data-mce-selected],
|
||||
.mce-content-body object[data-mce-selected],
|
||||
.mce-content-body table[data-mce-selected],
|
||||
.mce-content-body video[data-mce-selected] {
|
||||
outline: 3px solid #b4d7ff;
|
||||
}
|
||||
.mce-content-body hr[data-mce-selected] {
|
||||
outline: 3px solid #b4d7ff;
|
||||
outline-offset: 1px;
|
||||
}
|
||||
.mce-content-body [contentEditable="false"] [contentEditable="true"]:focus {
|
||||
outline: 3px solid #b4d7ff;
|
||||
}
|
||||
.mce-content-body [contentEditable="false"] [contentEditable="true"]:hover {
|
||||
outline: 3px solid #b4d7ff;
|
||||
}
|
||||
.mce-content-body [contentEditable="false"][data-mce-selected] {
|
||||
cursor: not-allowed;
|
||||
outline: 3px solid #b4d7ff;
|
||||
}
|
||||
.mce-content-body.mce-content-readonly [contentEditable="true"]:focus,
|
||||
.mce-content-body.mce-content-readonly [contentEditable="true"]:hover {
|
||||
outline: 0;
|
||||
}
|
||||
.mce-content-body [data-mce-selected="inline-boundary"] {
|
||||
background-color: #b4d7ff;
|
||||
}
|
||||
.mce-content-body .mce-edit-focus {
|
||||
outline: 3px solid #b4d7ff;
|
||||
}
|
||||
.mce-content-body td[data-mce-selected],
|
||||
.mce-content-body th[data-mce-selected] {
|
||||
position: relative;
|
||||
}
|
||||
.mce-content-body td[data-mce-selected]::-moz-selection,
|
||||
.mce-content-body th[data-mce-selected]::-moz-selection {
|
||||
background: 0 0;
|
||||
}
|
||||
.mce-content-body td[data-mce-selected]::selection,
|
||||
.mce-content-body th[data-mce-selected]::selection {
|
||||
background: 0 0;
|
||||
}
|
||||
.mce-content-body td[data-mce-selected] *,
|
||||
.mce-content-body th[data-mce-selected] * {
|
||||
outline: 0;
|
||||
-webkit-touch-callout: none;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
.mce-content-body td[data-mce-selected]::after,
|
||||
.mce-content-body th[data-mce-selected]::after {
|
||||
background-color: rgba(180, 215, 255, 0.7);
|
||||
border: 1px solid rgba(180, 215, 255, 0.7);
|
||||
bottom: -1px;
|
||||
content: "";
|
||||
left: -1px;
|
||||
mix-blend-mode: multiply;
|
||||
position: absolute;
|
||||
right: -1px;
|
||||
top: -1px;
|
||||
}
|
||||
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
|
||||
.mce-content-body td[data-mce-selected]::after,
|
||||
.mce-content-body th[data-mce-selected]::after {
|
||||
border-color: rgba(0, 84, 180, 0.7);
|
||||
}
|
||||
}
|
||||
.mce-content-body img[data-mce-selected]::-moz-selection {
|
||||
background: 0 0;
|
||||
}
|
||||
.mce-content-body img[data-mce-selected]::selection {
|
||||
background: 0 0;
|
||||
}
|
||||
.ephox-snooker-resizer-bar {
|
||||
background-color: #b4d7ff;
|
||||
opacity: 0;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
.ephox-snooker-resizer-cols {
|
||||
cursor: col-resize;
|
||||
}
|
||||
.ephox-snooker-resizer-rows {
|
||||
cursor: row-resize;
|
||||
}
|
||||
.ephox-snooker-resizer-bar.ephox-snooker-resizer-bar-dragging {
|
||||
opacity: 1;
|
||||
}
|
||||
.mce-spellchecker-word {
|
||||
background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%23ff0000'%20fill%3D'none'%20stroke-linecap%3D'round'%20stroke-opacity%3D'.75'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A");
|
||||
background-position: 0 calc(100% + 1px);
|
||||
background-repeat: repeat-x;
|
||||
background-size: auto 6px;
|
||||
cursor: default;
|
||||
height: 2rem;
|
||||
}
|
||||
.mce-spellchecker-grammar {
|
||||
background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%2300A835'%20fill%3D'none'%20stroke-linecap%3D'round'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A");
|
||||
background-position: 0 calc(100% + 1px);
|
||||
background-repeat: repeat-x;
|
||||
background-size: auto 6px;
|
||||
cursor: default;
|
||||
}
|
||||
.mce-toc {
|
||||
border: 1px solid gray;
|
||||
}
|
||||
.mce-toc h2 {
|
||||
margin: 4px;
|
||||
}
|
||||
.mce-toc ul > li {
|
||||
list-style-type: none;
|
||||
}
|
||||
[data-mce-block] {
|
||||
display: block;
|
||||
}
|
||||
.mce-item-table:not([border]),
|
||||
.mce-item-table:not([border]) caption,
|
||||
.mce-item-table:not([border]) td,
|
||||
.mce-item-table:not([border]) th,
|
||||
.mce-item-table[border="0"],
|
||||
.mce-item-table[border="0"] caption,
|
||||
.mce-item-table[border="0"] td,
|
||||
.mce-item-table[border="0"] th,
|
||||
table[style*="border-width: 0px"],
|
||||
table[style*="border-width: 0px"] caption,
|
||||
table[style*="border-width: 0px"] td,
|
||||
table[style*="border-width: 0px"] th {
|
||||
border: 1px dashed #bbb;
|
||||
}
|
||||
.mce-visualblocks address,
|
||||
.mce-visualblocks article,
|
||||
.mce-visualblocks aside,
|
||||
.mce-visualblocks blockquote,
|
||||
.mce-visualblocks div:not([data-mce-bogus]),
|
||||
.mce-visualblocks dl,
|
||||
.mce-visualblocks figcaption,
|
||||
.mce-visualblocks figure,
|
||||
.mce-visualblocks h1,
|
||||
.mce-visualblocks h2,
|
||||
.mce-visualblocks h3,
|
||||
.mce-visualblocks h4,
|
||||
.mce-visualblocks h5,
|
||||
.mce-visualblocks h6,
|
||||
.mce-visualblocks hgroup,
|
||||
.mce-visualblocks ol,
|
||||
.mce-visualblocks p,
|
||||
.mce-visualblocks pre,
|
||||
.mce-visualblocks section,
|
||||
.mce-visualblocks ul {
|
||||
background-repeat: no-repeat;
|
||||
border: 1px dashed #bbb;
|
||||
margin-left: 3px;
|
||||
padding-top: 10px;
|
||||
}
|
||||
.mce-visualblocks p {
|
||||
background-image: url(data:image/gif;base64,R0lGODlhCQAJAJEAAAAAAP///7u7u////yH5BAEAAAMALAAAAAAJAAkAAAIQnG+CqCN/mlyvsRUpThG6AgA7);
|
||||
}
|
||||
.mce-visualblocks h1 {
|
||||
background-image: url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybGu1JuxHoAfRNRW3TWXyF2YiRUAOw==);
|
||||
}
|
||||
.mce-visualblocks h2 {
|
||||
background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8Hybbx4oOuqgTynJd6bGlWg3DkJzoaUAAAOw==);
|
||||
}
|
||||
.mce-visualblocks h3 {
|
||||
background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIZjI8Hybbx4oOuqgTynJf2Ln2NOHpQpmhAAQA7);
|
||||
}
|
||||
.mce-visualblocks h4 {
|
||||
background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxInR0zqeAdhtJlXwV1oCll2HaWgAAOw==);
|
||||
}
|
||||
.mce-visualblocks h5 {
|
||||
background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxIoiuwjane4iq5GlW05GgIkIZUAAAOw==);
|
||||
}
|
||||
.mce-visualblocks h6 {
|
||||
background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxIoiuwjan04jep1iZ1XRlAo5bVgAAOw==);
|
||||
}
|
||||
.mce-visualblocks div:not([data-mce-bogus]) {
|
||||
background-image: url(data:image/gif;base64,R0lGODlhEgAKAIABALu7u////yH5BAEAAAEALAAAAAASAAoAAAIfjI9poI0cgDywrhuxfbrzDEbQM2Ei5aRjmoySW4pAAQA7);
|
||||
}
|
||||
.mce-visualblocks section {
|
||||
background-image: url(data:image/gif;base64,R0lGODlhKAAKAIABALu7u////yH5BAEAAAEALAAAAAAoAAoAAAI5jI+pywcNY3sBWHdNrplytD2ellDeSVbp+GmWqaDqDMepc8t17Y4vBsK5hDyJMcI6KkuYU+jpjLoKADs=);
|
||||
}
|
||||
.mce-visualblocks article {
|
||||
background-image: url(data:image/gif;base64,R0lGODlhKgAKAIABALu7u////yH5BAEAAAEALAAAAAAqAAoAAAI6jI+pywkNY3wG0GBvrsd2tXGYSGnfiF7ikpXemTpOiJScasYoDJJrjsG9gkCJ0ag6KhmaIe3pjDYBBQA7);
|
||||
}
|
||||
.mce-visualblocks blockquote {
|
||||
background-image: url(data:image/gif;base64,R0lGODlhPgAKAIABALu7u////yH5BAEAAAEALAAAAAA+AAoAAAJPjI+py+0Knpz0xQDyuUhvfoGgIX5iSKZYgq5uNL5q69asZ8s5rrf0yZmpNkJZzFesBTu8TOlDVAabUyatguVhWduud3EyiUk45xhTTgMBBQA7);
|
||||
}
|
||||
.mce-visualblocks address {
|
||||
background-image: url(data:image/gif;base64,R0lGODlhLQAKAIABALu7u////yH5BAEAAAEALAAAAAAtAAoAAAI/jI+pywwNozSP1gDyyZcjb3UaRpXkWaXmZW4OqKLhBmLs+K263DkJK7OJeifh7FicKD9A1/IpGdKkyFpNmCkAADs=);
|
||||
}
|
||||
.mce-visualblocks pre {
|
||||
background-image: url(data:image/gif;base64,R0lGODlhFQAKAIABALu7uwAAACH5BAEAAAEALAAAAAAVAAoAAAIjjI+ZoN0cgDwSmnpz1NCueYERhnibZVKLNnbOq8IvKpJtVQAAOw==);
|
||||
}
|
||||
.mce-visualblocks figure {
|
||||
background-image: url(data:image/gif;base64,R0lGODlhJAAKAIAAALu7u////yH5BAEAAAEALAAAAAAkAAoAAAI0jI+py+2fwAHUSFvD3RlvG4HIp4nX5JFSpnZUJ6LlrM52OE7uSWosBHScgkSZj7dDKnWAAgA7);
|
||||
}
|
||||
.mce-visualblocks figcaption {
|
||||
border: 1px dashed #bbb;
|
||||
}
|
||||
.mce-visualblocks hgroup {
|
||||
background-image: url(data:image/gif;base64,R0lGODlhJwAKAIABALu7uwAAACH5BAEAAAEALAAAAAAnAAoAAAI3jI+pywYNI3uB0gpsRtt5fFnfNZaVSYJil4Wo03Hv6Z62uOCgiXH1kZIIJ8NiIxRrAZNMZAtQAAA7);
|
||||
}
|
||||
.mce-visualblocks aside {
|
||||
background-image: url(data:image/gif;base64,R0lGODlhHgAKAIABAKqqqv///yH5BAEAAAEALAAAAAAeAAoAAAItjI+pG8APjZOTzgtqy7I3f1yehmQcFY4WKZbqByutmW4aHUd6vfcVbgudgpYCADs=);
|
||||
}
|
||||
.mce-visualblocks ul {
|
||||
background-image: url(data:image/gif;base64,R0lGODlhDQAKAIAAALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybGuYnqUVSjvw26DzzXiqIDlVwAAOw==);
|
||||
}
|
||||
.mce-visualblocks ol {
|
||||
background-image: url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybH6HHt0qourxC6CvzXieHyeWQAAOw==);
|
||||
}
|
||||
.mce-visualblocks dl {
|
||||
background-image: url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybEOnmOvUoWznTqeuEjNSCqeGRUAOw==);
|
||||
}
|
||||
.mce-visualblocks:not([dir="rtl"]) address,
|
||||
.mce-visualblocks:not([dir="rtl"]) article,
|
||||
.mce-visualblocks:not([dir="rtl"]) aside,
|
||||
.mce-visualblocks:not([dir="rtl"]) blockquote,
|
||||
.mce-visualblocks:not([dir="rtl"]) div:not([data-mce-bogus]),
|
||||
.mce-visualblocks:not([dir="rtl"]) dl,
|
||||
.mce-visualblocks:not([dir="rtl"]) figcaption,
|
||||
.mce-visualblocks:not([dir="rtl"]) figure,
|
||||
.mce-visualblocks:not([dir="rtl"]) h1,
|
||||
.mce-visualblocks:not([dir="rtl"]) h2,
|
||||
.mce-visualblocks:not([dir="rtl"]) h3,
|
||||
.mce-visualblocks:not([dir="rtl"]) h4,
|
||||
.mce-visualblocks:not([dir="rtl"]) h5,
|
||||
.mce-visualblocks:not([dir="rtl"]) h6,
|
||||
.mce-visualblocks:not([dir="rtl"]) hgroup,
|
||||
.mce-visualblocks:not([dir="rtl"]) ol,
|
||||
.mce-visualblocks:not([dir="rtl"]) p,
|
||||
.mce-visualblocks:not([dir="rtl"]) pre,
|
||||
.mce-visualblocks:not([dir="rtl"]) section,
|
||||
.mce-visualblocks:not([dir="rtl"]) ul {
|
||||
margin-left: 3px;
|
||||
}
|
||||
.mce-visualblocks[dir="rtl"] address,
|
||||
.mce-visualblocks[dir="rtl"] article,
|
||||
.mce-visualblocks[dir="rtl"] aside,
|
||||
.mce-visualblocks[dir="rtl"] blockquote,
|
||||
.mce-visualblocks[dir="rtl"] div:not([data-mce-bogus]),
|
||||
.mce-visualblocks[dir="rtl"] dl,
|
||||
.mce-visualblocks[dir="rtl"] figcaption,
|
||||
.mce-visualblocks[dir="rtl"] figure,
|
||||
.mce-visualblocks[dir="rtl"] h1,
|
||||
.mce-visualblocks[dir="rtl"] h2,
|
||||
.mce-visualblocks[dir="rtl"] h3,
|
||||
.mce-visualblocks[dir="rtl"] h4,
|
||||
.mce-visualblocks[dir="rtl"] h5,
|
||||
.mce-visualblocks[dir="rtl"] h6,
|
||||
.mce-visualblocks[dir="rtl"] hgroup,
|
||||
.mce-visualblocks[dir="rtl"] ol,
|
||||
.mce-visualblocks[dir="rtl"] p,
|
||||
.mce-visualblocks[dir="rtl"] pre,
|
||||
.mce-visualblocks[dir="rtl"] section,
|
||||
.mce-visualblocks[dir="rtl"] ul {
|
||||
background-position-x: right;
|
||||
margin-right: 3px;
|
||||
}
|
||||
.mce-nbsp,
|
||||
.mce-shy {
|
||||
background: #aaa;
|
||||
}
|
||||
.mce-shy::after {
|
||||
content: "-";
|
||||
}
|
||||
body {
|
||||
font-family: sans-serif;
|
||||
}
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
}
|
||||
4030
src/lib/dist/tinymce/skins/ui/stocknear/skin.min.css
vendored
4030
src/lib/dist/tinymce/skins/ui/stocknear/skin.min.css
vendored
File diff suppressed because it is too large
Load Diff
@ -1,30 +0,0 @@
|
||||
body.tox-dialog__disable-scroll {
|
||||
overflow: hidden;
|
||||
}
|
||||
.tox-fullscreen {
|
||||
border: 0;
|
||||
height: 100%;
|
||||
margin: 0;
|
||||
overflow: hidden;
|
||||
overscroll-behavior: none;
|
||||
padding: 0;
|
||||
touch-action: pinch-zoom;
|
||||
width: 100%;
|
||||
}
|
||||
.tox.tox-tinymce.tox-fullscreen .tox-statusbar__resize-handle {
|
||||
display: none;
|
||||
}
|
||||
.tox-shadowhost.tox-fullscreen,
|
||||
.tox.tox-tinymce.tox-fullscreen {
|
||||
left: 0;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
z-index: 1200;
|
||||
}
|
||||
.tox.tox-tinymce.tox-fullscreen {
|
||||
background-color: transparent;
|
||||
}
|
||||
.tox-fullscreen .tox.tox-tinymce-aux,
|
||||
.tox-fullscreen ~ .tox.tox-tinymce-aux {
|
||||
z-index: 1201;
|
||||
}
|
||||
25931
src/lib/dist/tinymce/themes/silver/theme.min.js
vendored
25931
src/lib/dist/tinymce/themes/silver/theme.min.js
vendored
File diff suppressed because it is too large
Load Diff
25629
src/lib/dist/tinymce/tinymce.min.js
vendored
25629
src/lib/dist/tinymce/tinymce.min.js
vendored
File diff suppressed because it is too large
Load Diff
46
src/routes/options-flow/+page.ts
Normal file
46
src/routes/options-flow/+page.ts
Normal file
@ -0,0 +1,46 @@
|
||||
import { isOpen } from "$lib/store";
|
||||
|
||||
const checkMarketHour = async () => {
|
||||
const holidays = [
|
||||
"2024-01-01",
|
||||
"2024-01-15",
|
||||
"2024-02-19",
|
||||
"2024-03-29",
|
||||
"2024-05-27",
|
||||
"2024-06-19",
|
||||
"2024-07-04",
|
||||
"2024-09-02",
|
||||
"2024-11-28",
|
||||
"2024-12-25",
|
||||
];
|
||||
const currentDate = new Date().toISOString().split("T")[0];
|
||||
|
||||
// Get the current time in the ET time zone
|
||||
const etTimeZone = "America/New_York";
|
||||
const currentTime = new Date().toLocaleString("en-US", {
|
||||
timeZone: etTimeZone,
|
||||
});
|
||||
|
||||
// Determine if the NYSE is currently open or closed
|
||||
const currentHour = new Date(currentTime).getHours();
|
||||
const isWeekendValue =
|
||||
new Date(currentTime).getDay() === 6 ||
|
||||
new Date(currentTime).getDay() === 0;
|
||||
const isBeforeMarketOpenValue =
|
||||
currentHour < 9 ||
|
||||
(currentHour === 9 && new Date(currentTime).getMinutes() < 30);
|
||||
const isAfterMarketCloseValue = currentHour >= 16;
|
||||
|
||||
isOpen.set(
|
||||
!(
|
||||
isWeekendValue ||
|
||||
isBeforeMarketOpenValue ||
|
||||
isAfterMarketCloseValue ||
|
||||
holidays?.includes(currentDate)
|
||||
)
|
||||
);
|
||||
};
|
||||
|
||||
export const load = async () => {
|
||||
await checkMarketHour();
|
||||
};
|
||||
Loading…
x
Reference in New Issue
Block a user