diff --git a/404.html b/404.html deleted file mode 100644 index c4c0b3a..0000000 --- a/404.html +++ /dev/null @@ -1,214 +0,0 @@ - - - - - - DGital - Digital Agency HTML Template - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
-
- Loading... -
-
- - - - -
- - -
-
-
-
-

Not Found

-
- -
-
-
-
-
- - - - -
-
-
-
- -

404

-

Page Not Found

-

We’re sorry, the page you have looked for does not exist in our website! Maybe go to our home page or try to use a search?

- Go Back To Home -
-
-
-
- - - - - - - - - - -
- - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/app.js b/app.js new file mode 100644 index 0000000..85d857b --- /dev/null +++ b/app.js @@ -0,0 +1,78 @@ +const express = require('express'); +const path = require("path") +const app = express(); +const nodemailer = require('nodemailer'); +const port = 3000; + +app.use(express.static(path.join(__dirname, 'public'))); +app.use(express.urlencoded({ extended: true })) +// Define routes + + +const transporter = nodemailer.createTransport({ + service: 'gmail', + auth: { + user: "thewebgenix@gmail.com", + pass: "ineedthispassword", + } +}); + + +app.get('/', (req, res) => { + res.sendFile("index.html", { root: path.join(__dirname, 'public') }) +}); + +app.get("/service", (req, res) => { + res.sendFile("service-details.html", { root: path.join(__dirname, 'public') }) +}) + +app.get("/about", (req, res) => { + res.sendFile("about.html", { root: path.join(__dirname, 'public') }) +}) + +app.get("/contact", (req, res) => { + res.sendFile("contact.html", { root: path.join(__dirname, 'public') }) +}) + + +app.post('/contact', (req, res) => { + const { name, email, phone, message } = req.body; + + // Create email content + const mailOptions = { + from: 'thewebgenix@gmail.com', + to: 'shahnawaz28april@gmail.com', // Your email address where you want to receive contact form submissions + subject: 'New Contact Form Submission', + html: `

Name:

${name}
+

Email:

${email}
+

Phone:

${phone}
+

Message:

${message}` + }; + + // Send email + transporter.sendMail(mailOptions, (error, info) => { + if (error) { + console.error(error); + res.status(500).send('Error sending message'); + } else { + console.log('Email sent: ' + info.response); + res.send('We have received your message and will respond shortly. Thank you for reaching out to us!'); + } + }); +}); + + +app.get("/blogs", (req, res) => { + res.sendFile("blogs.html", { root: path.join(__dirname, 'public') }) +}) + +app.get("/*", (req, res) => { + // res.redirect("/") + + res.sendFile("/", { root: path.join(__dirname, 'public') }) +}) + +// Start the server +app.listen(port, () => { + console.log(`Server is running on http://localhost:${port}`); +}); diff --git a/contact.html b/contact.html index 0032cba..71e5b21 100644 --- a/contact.html +++ b/contact.html @@ -1,390 +1,451 @@ - - - - - - - - - - - WebGenix | Contact Us - - - - - - - - - - - -
-
-
-
-
+ + + + + + + + + + + WebGenix | Contact Us + + + + + + + + + + + + +
+
+
+
- - -
-
-
- -
-
About Us
-

- Trusted IT experts delivering innovative solutions, stellar service, and lasting partnerships -

-
-
-
Contact Us
- -
- +
+ + +
+
+
+ -
- -
- -
+ +
+
+
+
+
+
+
+
+
+

Contact Us

+
-
- -
-
-
-
-
- Get In Touch -

Have Any Project on - Mind? Work Together

-
+
+
+ +
+
+
+
+
+ Get In Touch +

Have Any Project on + Mind? Work Together

-
-
-
-
-
-
- -
-
-

Phone Number

-

+91 9602035868

-
+
+
+
+
+
+
+
+ +
+
+

Phone Number

+

+91 9602035868

- -
-
-
- -
-
-

Email Address

-

teamwebgenix@gmail.com

- -
+
+ +
+
+
+ +
+
+

Email Address

+

teamwebgenix@gmail.com

+
-
-
-
- -
-
-

Locations

-

University, Kalka Mata Road, Udaipur, Rajasthan, , India.

-
+
+
+
+
+ +
+
+

Locations

+

University, Kalka Mata Road, Udaipur, Rajasthan, , India.

- -
-
-
- -
-
-

Working Hours

-

Monday- Friday10 am - 06 pm

-
+
+ +
+
+
+ +
+
+

Working Hours

+

Monday- Friday10 am - 06 pm

-
-
- -
+
+
+
+
-
- -
-
-
-
-
-
-
- Message Us -

Get Any Consultations ? - Contact With Us

-
+
+
+ +
+
+
+
+
+
+
+ Message Us +

Get Any Consultations ? + Contact With Us

-
-
-
-
-
-
-
- -
+
+
+
+
+ +
+
+
+
-
-
- -
+
+
+
+
-
-
- -
+
+
+
+
-
-
- -
+
+
+
+
-
-
- -
+
+
+
+
- -
+
+
-
- -
-
-
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/digital-agency-html-template.jpg b/digital-agency-html-template.jpg deleted file mode 100644 index 27f0e5c..0000000 Binary files a/digital-agency-html-template.jpg and /dev/null differ diff --git a/index-2.html b/index-2.html deleted file mode 100644 index 511cee9..0000000 --- a/index-2.html +++ /dev/null @@ -1,978 +0,0 @@ - - - - - - - - - - Pixlab - Creative Agency HTML Template - - - - - - - - - - -
- -
-
-
-
-
-
- - -
-
-
- -
-
About Us
-

- Lorem, ipsum dolor sit amet consectetur adipisicing elit. Tempore ipsam alias quae cupiditate quas, neque eum magni impedit asperiores. -

-
-
-
Contact Us
- -
- -
-
- -
- - -
- -
-
-
-
-
-
-
-
-
- Welcome to Pixlab -

Brand,Design - & Development - Agency

-

Sit amet consectetur adipiscing elit sed do eiusmod tem - porincididunt ut labore dolore magna aliqua.

- Discover More -
-
-
-
- -
-
-
-
-
-
-
- -
-
-
-
-
-
-

Creative Design Solutions

-

Professional Design Agency to provide solutions

-
-
-
-
-
-
-
- -
-
-

Strategy

-
    -
  • Product Management
  • -
  • MVP Definition
  • -
  • Product Strategy
  • -
- Read More -
-
-
-
-
-
- -
-
-

Product Design

-
    -
  • Product Management
  • -
  • MVP Definition
  • -
  • Product Strategy
  • -
- Read More -
-
-
-
-
-
- -
-
-

Development

-
    -
  • Product Management
  • -
  • MVP Definition
  • -
  • Product Strategy
  • -
- Read More -
-
-
-
-
-
-
- -
-
-
-
-
-
- -
-
-
-
-
-

We’re Creative - Agency Since 1993

-

Professional Design Agency provide solutions

-
-

On the other hand denounce with righteous indigna see - tion and dislike men who are beguiled and demoralizedes - by the charms of pleasure of the moment, so blinded - desire that they cannot foresee.

-
    -
  • Digital Creative Agency
  • -
  • Professional Problem Solutions
  • -
  • Web Design & Development
  • -
- Learn More Us -
-
-
-
-
- -
-
-
-
-
-

Professional Experience

-

Professional Design Agency to provide solutions

-
-
-
-
-
-
-
    -
  • Show All
  • -
  • Design
  • -
  • Branding
  • -
  • Development
  • -
  • SEO
  • -
  • UX/UI Design
  • -
-
-
-
-
-
-
-
- Img -
- -
-
-
-
-
-
-
- Img -
- -
-
-
-
-
-
-
- Img -
- -
-
-
-
-
-
-
- Img -
- -
-
-
-
-
-
-
- Img -
- -
-
-
-
-
-
-
- Img -
- -
-
-
-
-
-
-
- -
-
-
-
-
-
-

Have Any Project - On Minds!

-

On the other hand denounce righteous indigna - tion and dislike men who are beguiled and demra - charms of pleasure of the moment

-
-
- -
-
-
Email Us
-

support@gmail.com

-
-
-
-
- -
-
-
Phone Us
-

+012 (345) 6789

-
-
-
-
-
-
-

Get Consultation - Say Hello!

-
-
-
-
- -
-
-
-
- -
-
-
-
- -
-
-
-
- -
-
-
-
- -
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
-

Why People’s Like Us

-

Professional Design Agency to provide solutions

-
-
-
-
-
-
-
- -
-
-

256+

-

Project Complate

-
-
-
-
-
-
- -
-
-

783+

-

Project Complate

-
-
-
-
-
-
- -
-
-

97+

-

Awards Winning

-
-
-
-
-
-
- -
-
-

35+

-

Years Of Experience

-
-
-
-
-
-
- -
-
-
-
-
- -
-
-
-
-
- -
-
-
-
-
-

We’ve 1534+ Global Partners

-

Professional Design Agency to provide solutions

-
-
-
-
-
-
- -
-
-
-
- -
-
-
-
- -
-
-
-
- -
-
-
-
- -
-
-
-
- -
-
-
-
- -
-
-
-
- -
-
-
-
- -
-
-
-
- -
-
-
-
-
- -
-
-
-
-
- -
-
-
-
-
-
-
-
-
- -
-
    -
  • Best Quality
  • -
  • -
  • -
  • -
  • -
  • -
-
-

Sit amet consecte adipiscing - elit sed do eiusmod temporinc - idunt labore et dolore magnas aliqua. Quis ipsum susendise - sltrices gravida. Risus commo - verra maece lacusvel.

-
-

Dustin A. McPherson

-

Senior Manager

-
-
-
-
-
-
-
- -
-
    -
  • Best Quality
  • -
  • -
  • -
  • -
  • -
  • -
-
-

Sit amet consecte adipiscing - elit sed do eiusmod temporinc - idunt labore et dolore magnas aliqua. Quis ipsum susendise - sltrices gravida. Risus commo - verra maece lacusvel.

-
-

Dustin A. McPherson

-

Senior Manager

-
-
-
-
-
-
-
- -
-
    -
  • Best Quality
  • -
  • -
  • -
  • -
  • -
  • -
-
-

Sit amet consecte adipiscing - elit sed do eiusmod temporinc - idunt labore et dolore magnas aliqua. Quis ipsum susendise - sltrices gravida. Risus commo - verra maece lacusvel.

-
-

Dustin A. McPherson

-

Senior Manager

-
-
-
-
-
-
-
- -
-
    -
  • Best Quality
  • -
  • -
  • -
  • -
  • -
  • -
-
-

Sit amet consecte adipiscing - elit sed do eiusmod temporinc - idunt labore et dolore magnas aliqua. Quis ipsum susendise - sltrices gravida. Risus commo - verra maece lacusvel.

-
-

Dustin A. McPherson

-

Senior Manager

-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
-
-

Pricing Package

-

Professional Design Agency to provide solutions

-
-
-
-
-
-
-
- Basic Plan -

$16.95

-
-
-

Sit amet consectetur adiising seddo eiusmod teme

-
    -
  • Web Design
  • -
  • Web Development
  • -
  • SEO Optimizations
  • -
  • Online Support
  • -
  • Domain & Hosting
  • -
- Choose Plan -
-
-
-
-
-
Popular
-
- Standard Plan -

$46.95

-
-
-

Sit amet consectetur adiising seddo eiusmod teme

-
    -
  • Web Design
  • -
  • Web Development
  • -
  • SEO Optimizations
  • -
  • Online Support
  • -
  • Domain & Hosting
  • -
- Choose Plan -
-
-
-
-
-
- Silver Plan -

$96.95

-
-
-

Sit amet consectetur adiising seddo eiusmod teme

-
    -
  • Web Design
  • -
  • Web Development
  • -
  • SEO Optimizations
  • -
  • Online Support
  • -
  • Domain & Hosting
  • -
- Choose Plan -
-
-
-
-
-
-
- -
-
-
-
-
-
-

Read Latest - News & Blogs

-

Professional Design Agency to - provide solutions

-
- View More News -
-
-
-
-
-
-
- Branding -

Web Frame Worksen Solve Vanilla Alter

-

On the other hand, we denounce righteou indignation and dislik men who are so beguiled and demo

- Read More -
-
-
-
-
-
- Branding -

Web Frame Worksen Solve Vanilla Alter

-

On the other hand, we denounce righteou indignation and dislik men who are so beguiled and demo

- Read More -
-
-
-
-
-
-
-
- -
-
-
-
-
-
-
-

Need Any Projects?

-

Professional Design Agency to provide solutions

-
-
-
- -
-
-
-
- - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/index-3.html b/index-3.html deleted file mode 100644 index 3fcbaf1..0000000 --- a/index-3.html +++ /dev/null @@ -1,1019 +0,0 @@ - - - - - - - - - - Pixlab - Creative Agency HTML Template - - - - - - - - - - -
- -
-
-
-
-
-
- - -
-
-
- -
-
About Us
-

- Lorem, ipsum dolor sit amet consectetur adipisicing elit. Tempore ipsam alias quae cupiditate quas, neque eum magni impedit asperiores. -

-
-
-
Contact Us
- -
- -
-
- -
- - -
- -
-
-
-
-
-
-
-
-
-
-
-
- -

We’re Digital Web - Design Agency

-

Sed ut perspiciatis unde omnis iste natus error siluptatem accu - santium doloremque laudantium totam rem

- - View Services -
-
-
-
- -
-
-
-
-
- -
-
-
-
-
-
-
- -
-
-

Creative Design

-

Sed ut perspiciatis unde omnisy natus error volupt cusantium

- Read More -
-
-
-
-
-
- -
-
-

Marketing Strategy

-

Sed ut perspiciatis unde omnisy natus error volupt cusantium

- Read More -
-
-
-
-
-
- -
-
-

Design Strategy

-

Sed ut perspiciatis unde omnisy natus error volupt cusantium

- Read More -
-
-
-
-
-
- -
-
-

Web Development

-

Sed ut perspiciatis unde omnisy natus error volupt cusantium

- Read More -
-
-
-
-
-
- -
-
-

SEO Optimization

-

Sed ut perspiciatis unde omnisy natus error volupt cusantium

- Read More -
-
-
-
-
-
- -
-
-

IT & Technology

-

Sed ut perspiciatis unde omnisy natus error volupt cusantium

- Read More -
-
-
-
-
-
-
- -
-
-
-
-
- -
-
-
-
-
- About Company -

We Provide Best Web - Design Solutions

-
-

On the other handwe denounce with righteous indignation and dislike men who are so beguiled and demoralized by the charms of pleasure of the moment so blinded by desire that the cannot foresee the pain and trouble that are bound

-
-
-
-
- -
-
-
Web Design - Solutions
-
-
-
-
-
-
- -
-
-
Technology - Solutions
-
-
-
-
-
-
- -
-
-
Marketing - Strategy
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
-
We Have 25632+ Global Clients
-
-
-
-
-
-
-
-
-
- -
-
-
-
- -
-
-
-
- -
-
-
-
- -
-
-
-
- -
-
-
-
- -
-
-
-
- -
-
-
-
-
- -
-
-
-
-
- Latest Project -

We Have Lot’s Of Project That We - Recently Complated

-
-
-
-
-
-
-
    -
  • Show All
  • -
  • Design
  • -
  • Branding
  • -
  • Development
  • -
  • SEO
  • -
  • UX/UI Design
  • -
-
-
-
-
-
-
-
- portfolio - -
-
-
-
-
-
- portfolio - -
-
-
-
-
-
- portfolio - -
-
-
-
-
-
- portfolio - -
-
-
-
-
-
- portfolio - -
-
-
-
-
- -
-
-
- -
-
-
-
-
-
-
- Company Statices -

Something Know About - Our Achievment

-
-
-
-
-
-
-
- -
-
-

3654+

-

Project Done

-
-
-
-
-
-
- -
-
-

9634+

-

Global Parterns

-
-
-
-
-
-
- -
-
-

7856+

-

Awards Winning

-
-
-
-
-
-
- -
-
-

7851+

-

Creative Teams

-
-
-
-
-
-
- -
-
-
-
-
- Our Testimonials -

What Our Clients Say About - Our Solutions

-
-
-
-
-
-
- -
-
-
-
-
-
-
-

Sit amet consectetur adipiscing elitsed - eiusmod tempor incididunt ut labore ets dolore magna aliqua spendisse ultricesy gravida. Risus commodo viverra maece - nas accumsan lacus facilisis.

-
-
- -
-
-

Robert A. Greening

-

Senior Manager

-
-
-
-
-
-
-

Sit amet consectetur adipiscing elitsed - eiusmod tempor incididunt ut labore ets dolore magna aliqua spendisse ultricesy gravida. Risus commodo viverra maece - nas accumsan lacus facilisis.

-
-
- -
-
-

Robert A. Greening

-

Senior Manager

-
-
-
-
-
-
-

Sit amet consectetur adipiscing elitsed - eiusmod tempor incididunt ut labore ets dolore magna aliqua spendisse ultricesy gravida. Risus commodo viverra maece - nas accumsan lacus facilisis.

-
-
- -
-
-

Robert A. Greening

-

Senior Manager

-
-
-
-
-
-
-

Sit amet consectetur adipiscing elitsed - eiusmod tempor incididunt ut labore ets dolore magna aliqua spendisse ultricesy gravida. Risus commodo viverra maece - nas accumsan lacus facilisis.

-
-
- -
-
-

Robert A. Greening

-

Senior Manager

-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
-
-
-
- Pricing Plan -

Best Pricing For Create - Amazing Web Design

-
-
-
- -
-
-
-
-
-
-
-
- Basic Plan -

$29.57/Monthly

- -
-
-
    -
  • Unique Websites Design
  • -
  • Automate Busy Work
  • -
  • Optimize Your Efforts
  • -
  • Web Developments
  • -
  • UX/UI Design Strategy
  • -
- Choose Plan -
-
-
-
-
-
- Standard Plan -

$49.57/Monthly

- -
-
-
    -
  • Unique Websites Design
  • -
  • Automate Busy Work
  • -
  • Optimize Your Efforts
  • -
  • Web Developments
  • -
  • UX/UI Design Strategy
  • -
- Choose Plan -
-
-
-
-
-
- Golden Plan -

$99.57/Monthly

- -
-
-
    -
  • Unique Websites Design
  • -
  • Automate Busy Work
  • -
  • Optimize Your Efforts
  • -
  • Web Developments
  • -
  • UX/UI Design Strategy
  • -
- Choose Plan -
-
-
-
-
-
-
-
-
-
- Basic Plan -

$129.57/Yearly

- -
-
-
    -
  • Unique Websites Design
  • -
  • Automate Busy Work
  • -
  • Optimize Your Efforts
  • -
  • Web Developments
  • -
  • UX/UI Design Strategy
  • -
- Choose Plan -
-
-
-
-
-
- Standard Plan -

$149.57/Yearly

- -
-
-
    -
  • Unique Websites Design
  • -
  • Automate Busy Work
  • -
  • Optimize Your Efforts
  • -
  • Web Developments
  • -
  • UX/UI Design Strategy
  • -
- Choose Plan -
-
-
-
-
-
- Golden Plan -

$199.57/Yearly

- -
-
-
    -
  • Unique Websites Design
  • -
  • Automate Busy Work
  • -
  • Optimize Your Efforts
  • -
  • Web Developments
  • -
  • UX/UI Design Strategy
  • -
- Choose Plan -
-
-
-
-
-
-
-
- -
-
-
-
-
- Our News & Blog -

Get Every Sigle Update - Latest News & Tips

-
-
-
-
-
-
-
- post image -
-
- -

Guide To Newly Suppored Modern CSS Pseudo

-

Sit amet consecte adeiscin eiusme - tempor incididunt labore dolore

- -
-
-
-
-
-
- post image -
-
- -

Guide To Newly Suppored Modern CSS Pseudo

-

Sit amet consecte adeiscin eiusme - tempor incididunt labore dolore

- -
-
-
-
-
-
- post image -
-
- -

Guide To Newly Suppored Modern CSS Pseudo

-

Sit amet consecte adeiscin eiusme - tempor incididunt labore dolore

- -
-
-
-
-
-
- -
-
-
-
-
-
-
-
-
- Work Together -

Have Any Project On - Your Minds?

-
- Contact Us -
-
-
-
- -
-
-
-
-
- - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/node_modules/.bin/mime b/node_modules/.bin/mime new file mode 120000 index 0000000..fbb7ee0 --- /dev/null +++ b/node_modules/.bin/mime @@ -0,0 +1 @@ +../mime/cli.js \ No newline at end of file diff --git a/node_modules/.bin/nodemon b/node_modules/.bin/nodemon new file mode 120000 index 0000000..1056ddc --- /dev/null +++ b/node_modules/.bin/nodemon @@ -0,0 +1 @@ +../nodemon/bin/nodemon.js \ No newline at end of file diff --git a/node_modules/.bin/nodetouch b/node_modules/.bin/nodetouch new file mode 120000 index 0000000..3409fdb --- /dev/null +++ b/node_modules/.bin/nodetouch @@ -0,0 +1 @@ +../touch/bin/nodetouch.js \ No newline at end of file diff --git a/node_modules/.bin/nopt b/node_modules/.bin/nopt new file mode 120000 index 0000000..6b6566e --- /dev/null +++ b/node_modules/.bin/nopt @@ -0,0 +1 @@ +../nopt/bin/nopt.js \ No newline at end of file diff --git a/node_modules/.bin/semver b/node_modules/.bin/semver new file mode 120000 index 0000000..5aaadf4 --- /dev/null +++ b/node_modules/.bin/semver @@ -0,0 +1 @@ +../semver/bin/semver.js \ No newline at end of file diff --git a/node_modules/.package-lock.json b/node_modules/.package-lock.json new file mode 100644 index 0000000..d497bca --- /dev/null +++ b/node_modules/.package-lock.json @@ -0,0 +1,1390 @@ +{ + "name": "webgenix", + "version": "1.0.0", + "lockfileVersion": 3, + "requires": true, + "packages": { + "node_modules/@ckeditor/ckeditor5-adapter-ckfinder": { + "version": "41.3.1", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-adapter-ckfinder/-/ckeditor5-adapter-ckfinder-41.3.1.tgz", + "integrity": "sha512-7KvvYRxK6w0qn/KW54pXJMC/aNVQdqMcaEKcAZ2GbqcKr9TNoi23JYXsRmCg9WTc/XQPSMZx7a1m4pkw5/wx0Q==", + "dependencies": { + "ckeditor5": "41.3.1" + } + }, + "node_modules/@ckeditor/ckeditor5-autoformat": { + "version": "41.3.1", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-autoformat/-/ckeditor5-autoformat-41.3.1.tgz", + "integrity": "sha512-0QklAfIeUxo/gfuGT9rC0WhDuqTbpcfvinkJOH7fcqcu81TB4WqLjI1qfXL9In6uih8c39te2x74yZZ+f/M4iQ==", + "dependencies": { + "ckeditor5": "41.3.1" + } + }, + "node_modules/@ckeditor/ckeditor5-basic-styles": { + "version": "41.3.1", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-basic-styles/-/ckeditor5-basic-styles-41.3.1.tgz", + "integrity": "sha512-vr0UR5JdQtHUhXFVF+7yebaQ/iEugmXIH2eC+pC5BNJuBwuFt1Hxt6U6qRh7f7ve4UFBky3MZ84lGuGsheirCA==", + "dependencies": { + "ckeditor5": "41.3.1" + } + }, + "node_modules/@ckeditor/ckeditor5-block-quote": { + "version": "41.3.1", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-block-quote/-/ckeditor5-block-quote-41.3.1.tgz", + "integrity": "sha512-iRm6MthhcyRbUpPxjjXhLuZpNGGNnUqp8RurN8rSzX3KcBXKHm/vfxOugk06ebF2FFbP0u5aiL3K7fIniuo2pQ==", + "dependencies": { + "ckeditor5": "41.3.1" + } + }, + "node_modules/@ckeditor/ckeditor5-build-classic": { + "version": "41.3.1", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-build-classic/-/ckeditor5-build-classic-41.3.1.tgz", + "integrity": "sha512-eeaED7PBenWwEXJsi8cjgafNSeBUAJ2ZqgiQOjaOeugT6yJACSif32TG0OGW4bq/W4PporsCiRaq6wscq4DZig==", + "dependencies": { + "@ckeditor/ckeditor5-adapter-ckfinder": "41.3.1", + "@ckeditor/ckeditor5-autoformat": "41.3.1", + "@ckeditor/ckeditor5-basic-styles": "41.3.1", + "@ckeditor/ckeditor5-block-quote": "41.3.1", + "@ckeditor/ckeditor5-ckbox": "41.3.1", + "@ckeditor/ckeditor5-ckfinder": "41.3.1", + "@ckeditor/ckeditor5-cloud-services": "41.3.1", + "@ckeditor/ckeditor5-easy-image": "41.3.1", + "@ckeditor/ckeditor5-editor-classic": "41.3.1", + "@ckeditor/ckeditor5-essentials": "41.3.1", + "@ckeditor/ckeditor5-heading": "41.3.1", + "@ckeditor/ckeditor5-image": "41.3.1", + "@ckeditor/ckeditor5-indent": "41.3.1", + "@ckeditor/ckeditor5-link": "41.3.1", + "@ckeditor/ckeditor5-list": "41.3.1", + "@ckeditor/ckeditor5-media-embed": "41.3.1", + "@ckeditor/ckeditor5-paragraph": "41.3.1", + "@ckeditor/ckeditor5-paste-from-office": "41.3.1", + "@ckeditor/ckeditor5-table": "41.3.1", + "@ckeditor/ckeditor5-typing": "41.3.1" + } + }, + "node_modules/@ckeditor/ckeditor5-ckbox": { + "version": "41.3.1", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-ckbox/-/ckeditor5-ckbox-41.3.1.tgz", + "integrity": "sha512-TwAbnnJmvAje5UvnZkAmH4MxxrFJwDF4pROjY9hrFb7eSnGSnXEnESiXOit8scHQZUzu1oEopIP5550lRkHZ0w==", + "dependencies": { + "blurhash": "2.0.5", + "ckeditor5": "41.3.1", + "lodash-es": "4.17.21" + } + }, + "node_modules/@ckeditor/ckeditor5-ckfinder": { + "version": "41.3.1", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-ckfinder/-/ckeditor5-ckfinder-41.3.1.tgz", + "integrity": "sha512-jMS8zhONHiPtrx9IlGGiFs1VrNOShLGtr1mvzaFEkVOK9aJquop+4EZX1x12FYm0cjzUawjFH5RLS6xBGXFvAg==", + "dependencies": { + "ckeditor5": "41.3.1" + } + }, + "node_modules/@ckeditor/ckeditor5-clipboard": { + "version": "41.3.1", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-clipboard/-/ckeditor5-clipboard-41.3.1.tgz", + "integrity": "sha512-6S7tq6FlnHYZmPACeqdf135Jx2bTKHVY8mHQ+CHC8ZZu0XVm62vVeeSLS2IcdtYmHjf4ced1G7suTUBHlfBCLw==", + "dependencies": { + "@ckeditor/ckeditor5-core": "41.3.1", + "@ckeditor/ckeditor5-engine": "41.3.1", + "@ckeditor/ckeditor5-ui": "41.3.1", + "@ckeditor/ckeditor5-utils": "41.3.1", + "@ckeditor/ckeditor5-widget": "41.3.1", + "lodash-es": "4.17.21" + } + }, + "node_modules/@ckeditor/ckeditor5-cloud-services": { + "version": "41.3.1", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-cloud-services/-/ckeditor5-cloud-services-41.3.1.tgz", + "integrity": "sha512-24JLTt0d2cKkY7rtl2bKxI7MYZjlwqBLoTgePwBC1EtgRJ/2gd1CM1bMwiKJPgJ34NnLtnV8R/W0yuz5RQjJsA==", + "dependencies": { + "ckeditor5": "41.3.1" + } + }, + "node_modules/@ckeditor/ckeditor5-core": { + "version": "41.3.1", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-core/-/ckeditor5-core-41.3.1.tgz", + "integrity": "sha512-h+PgPtCpS2vjO3HbKMYtddRPW+B3AJx9qpixmHJnUZMiFCmRjUZjXATjpi3j+kSQISs4L2Yghq+lsAQxyGHb+A==", + "dependencies": { + "@ckeditor/ckeditor5-engine": "41.3.1", + "@ckeditor/ckeditor5-utils": "41.3.1", + "lodash-es": "4.17.21" + } + }, + "node_modules/@ckeditor/ckeditor5-easy-image": { + "version": "41.3.1", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-easy-image/-/ckeditor5-easy-image-41.3.1.tgz", + "integrity": "sha512-M/9f3Y35hRC/lbNRMjorKTKxCLZxV4CUguA2jghHIS8WNnQUI41C0dcfkK+y/nijRWsWCfg92RiZsNn913LdiQ==", + "dependencies": { + "ckeditor5": "41.3.1" + } + }, + "node_modules/@ckeditor/ckeditor5-editor-classic": { + "version": "41.3.1", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-editor-classic/-/ckeditor5-editor-classic-41.3.1.tgz", + "integrity": "sha512-DBP2F0A50BpDwnbCfsz0DBp+NVW7xrXp4lH5SJHax8B58Z1uY1rw/N6Wf2O91tzo5obcUSpoj8WlzIsxDYPd+A==", + "dependencies": { + "ckeditor5": "41.3.1", + "lodash-es": "4.17.21" + } + }, + "node_modules/@ckeditor/ckeditor5-engine": { + "version": "41.3.1", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-engine/-/ckeditor5-engine-41.3.1.tgz", + "integrity": "sha512-Me4cnkCrknDH50db/jPczuhgzaxUhHbkh2gv8N8Ypken9ZnOPvMD9W1gCFFTLaxikpPmBQwk3u1BSjOKk3r6kw==", + "dependencies": { + "@ckeditor/ckeditor5-utils": "41.3.1", + "lodash-es": "4.17.21" + } + }, + "node_modules/@ckeditor/ckeditor5-enter": { + "version": "41.3.1", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-enter/-/ckeditor5-enter-41.3.1.tgz", + "integrity": "sha512-iwhvJpfsutqcv/bf8QPMKhMolb7GtShaOT+UIDW3OXjMZaBKZOTyR8OceijwgBmZeillTaXQq9y2e9lbJd46xg==", + "dependencies": { + "@ckeditor/ckeditor5-core": "41.3.1", + "@ckeditor/ckeditor5-engine": "41.3.1", + "@ckeditor/ckeditor5-utils": "41.3.1" + } + }, + "node_modules/@ckeditor/ckeditor5-essentials": { + "version": "41.3.1", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-essentials/-/ckeditor5-essentials-41.3.1.tgz", + "integrity": "sha512-Tr8fIhRith4OVg5yYm8UbbRUjuj15AQ27H3AiwOzRMRr+EYCI07ni5quqBwOMlkOQQ2H9U21gS8mYKqkqU5osw==", + "dependencies": { + "ckeditor5": "41.3.1" + } + }, + "node_modules/@ckeditor/ckeditor5-heading": { + "version": "41.3.1", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-heading/-/ckeditor5-heading-41.3.1.tgz", + "integrity": "sha512-WFu/zYXHqJ4Q6UI/IM7/WwmXCwKFVBDhuOeYnlRY1vgmFciaVtrbJW/tECBr+2TBVR4lANvmivWMFDLpN0fW+g==", + "dependencies": { + "ckeditor5": "41.3.1" + } + }, + "node_modules/@ckeditor/ckeditor5-image": { + "version": "41.3.1", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-image/-/ckeditor5-image-41.3.1.tgz", + "integrity": "sha512-v8lcXET3TDP/yPKhdUCmIcukMQ6GNdTyVAjkTip5JhVKFv8bFWBp5Xn616L6T+8OeQ6DggF9QVGcskmTiGQv7g==", + "dependencies": { + "@ckeditor/ckeditor5-ui": "41.3.1", + "ckeditor5": "41.3.1", + "lodash-es": "4.17.21" + } + }, + "node_modules/@ckeditor/ckeditor5-indent": { + "version": "41.3.1", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-indent/-/ckeditor5-indent-41.3.1.tgz", + "integrity": "sha512-JYXF/Clfw+j06wt1+qo43n+y3fmVKPSaN5NXzw4a5Rce0dMaWctH53X8KP3tIuOfEzW9xPhsTUQBJI8rsc+f9g==", + "dependencies": { + "ckeditor5": "41.3.1" + } + }, + "node_modules/@ckeditor/ckeditor5-link": { + "version": "41.3.1", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-link/-/ckeditor5-link-41.3.1.tgz", + "integrity": "sha512-tl+vnEWUKP0cK/4g+KkQt1YujklG9aUb2NxkkF0HSo7/0m6JnKf+1LVwY1OP2702FLCJO1vdC09oY0JDXGmkfg==", + "dependencies": { + "@ckeditor/ckeditor5-ui": "41.3.1", + "ckeditor5": "41.3.1", + "lodash-es": "4.17.21" + } + }, + "node_modules/@ckeditor/ckeditor5-list": { + "version": "41.3.1", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-list/-/ckeditor5-list-41.3.1.tgz", + "integrity": "sha512-X1PDaqNnQUTlqYgTYASirJuityG25hxthrGlnEvqPZIxivbxDcefWxkBlNXvmnHOy/EUES0cEZ2H0GUr6CPz2g==", + "dependencies": { + "ckeditor5": "41.3.1" + } + }, + "node_modules/@ckeditor/ckeditor5-media-embed": { + "version": "41.3.1", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-media-embed/-/ckeditor5-media-embed-41.3.1.tgz", + "integrity": "sha512-3yXePmVPR2WmzeT+fj6WotMbEIJ6lYka0aUG02LxZV0oCL5LU8nF1wFIFhk77wrQVlQtjmLVtvaPcSdNIz/+pA==", + "dependencies": { + "@ckeditor/ckeditor5-ui": "41.3.1", + "ckeditor5": "41.3.1" + } + }, + "node_modules/@ckeditor/ckeditor5-paragraph": { + "version": "41.3.1", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-paragraph/-/ckeditor5-paragraph-41.3.1.tgz", + "integrity": "sha512-weRPLyO/1Z8PpU9+lET4gYgJ8adDuCjYiREup81URSuS1DDQ8vb3D29xA+4Ov7lwg8BaNAMCpTBdp07GHHzv6w==", + "dependencies": { + "@ckeditor/ckeditor5-core": "41.3.1", + "@ckeditor/ckeditor5-ui": "41.3.1", + "@ckeditor/ckeditor5-utils": "41.3.1" + } + }, + "node_modules/@ckeditor/ckeditor5-paste-from-office": { + "version": "41.3.1", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-paste-from-office/-/ckeditor5-paste-from-office-41.3.1.tgz", + "integrity": "sha512-bvDNGQXIUVCiAgmIcvnOw461XWAG8lscQrJaZFXNfayJJah73zvDbOJDkv5hm/N/jYaPTsTnSv1jg5xM9XqfCw==", + "dependencies": { + "ckeditor5": "41.3.1" + } + }, + "node_modules/@ckeditor/ckeditor5-select-all": { + "version": "41.3.1", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-select-all/-/ckeditor5-select-all-41.3.1.tgz", + "integrity": "sha512-a/LAPO+O9fwHjQ/8s3UNtyrqQRieAnpnPw2IhLlGqOS7nxPKMR2vkb6WnG2LUdO+wYqkCzxUDpBlfVkjkQEI0w==", + "dependencies": { + "@ckeditor/ckeditor5-core": "41.3.1", + "@ckeditor/ckeditor5-ui": "41.3.1", + "@ckeditor/ckeditor5-utils": "41.3.1" + } + }, + "node_modules/@ckeditor/ckeditor5-table": { + "version": "41.3.1", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-table/-/ckeditor5-table-41.3.1.tgz", + "integrity": "sha512-Lx2xnWdeuiekXOuRERjvf1I3zhTZwK/IRna9FgTW/ldj6rBH9fVqhY+z/Y/nIpI1LgWee3R0DWZBGXgj1QNFcQ==", + "dependencies": { + "ckeditor5": "41.3.1", + "lodash-es": "4.17.21" + } + }, + "node_modules/@ckeditor/ckeditor5-typing": { + "version": "41.3.1", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-typing/-/ckeditor5-typing-41.3.1.tgz", + "integrity": "sha512-4Oeafc3if6fTITOest1ILQ573fnkzE9/tn5eNm3zWnHVYR79mRCYxaha9yUlKVQiqaxZ48EVo2FjHiouXmn9+Q==", + "dependencies": { + "@ckeditor/ckeditor5-core": "41.3.1", + "@ckeditor/ckeditor5-engine": "41.3.1", + "@ckeditor/ckeditor5-utils": "41.3.1", + "lodash-es": "4.17.21" + } + }, + "node_modules/@ckeditor/ckeditor5-ui": { + "version": "41.3.1", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-ui/-/ckeditor5-ui-41.3.1.tgz", + "integrity": "sha512-xN7OAiRp7ALKYXUp6Qe/AjkjrhyLuoz9nxq7Jdsnsyb/XXfsXDloMcOuvNRoUgr4gIFHMOoZZxsIn8qegBvcYA==", + "dependencies": { + "@ckeditor/ckeditor5-core": "41.3.1", + "@ckeditor/ckeditor5-utils": "41.3.1", + "color-convert": "2.0.1", + "color-parse": "1.4.2", + "lodash-es": "4.17.21", + "vanilla-colorful": "0.7.2" + } + }, + "node_modules/@ckeditor/ckeditor5-undo": { + "version": "41.3.1", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-undo/-/ckeditor5-undo-41.3.1.tgz", + "integrity": "sha512-PElWTnlIwuQ94mvdhuH7Mno99oocSnOWPMHi9UuWe6+zVgznQwn0f0diBZvX3l5y8hFgK6q/pQ/CCmbvvYnovA==", + "dependencies": { + "@ckeditor/ckeditor5-core": "41.3.1", + "@ckeditor/ckeditor5-engine": "41.3.1", + "@ckeditor/ckeditor5-ui": "41.3.1" + } + }, + "node_modules/@ckeditor/ckeditor5-upload": { + "version": "41.3.1", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-upload/-/ckeditor5-upload-41.3.1.tgz", + "integrity": "sha512-ugTgGEgA9qsSl5+qptTmawdfYaONr6b3uTG4byZ76JMdf0qiniZjBF/TtGAVmBkCipcVWFoaZKteiz0fhQMHjA==", + "dependencies": { + "@ckeditor/ckeditor5-core": "41.3.1", + "@ckeditor/ckeditor5-utils": "41.3.1" + } + }, + "node_modules/@ckeditor/ckeditor5-utils": { + "version": "41.3.1", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-utils/-/ckeditor5-utils-41.3.1.tgz", + "integrity": "sha512-jJu9ndn6Y7+ffBYdDCRXX7OnV9Ddgms2HSF1pmhjZN0uoL96XworuUOn8hx3Zs/KBPjJEwbtYWJMjG9aohrgaQ==", + "dependencies": { + "lodash-es": "4.17.21" + } + }, + "node_modules/@ckeditor/ckeditor5-watchdog": { + "version": "41.3.1", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-watchdog/-/ckeditor5-watchdog-41.3.1.tgz", + "integrity": "sha512-iDwdYxC8euSKxfRq4y5vVOX9GVUbEbC9z6glkXpxa1BogqYh39+fywjt+s4o3Ub3b8FJ/EUYuNc+/vK+CzEg4g==", + "dependencies": { + "lodash-es": "4.17.21" + } + }, + "node_modules/@ckeditor/ckeditor5-widget": { + "version": "41.3.1", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-widget/-/ckeditor5-widget-41.3.1.tgz", + "integrity": "sha512-rdBxGS3bxWNhp+yxyBYkcbRV6/mdTDab+konDVhZ/ME1jVZ5cf8OBZcgHUqAxzuWt4XMEdzKINbo1OnSDwApUg==", + "dependencies": { + "@ckeditor/ckeditor5-core": "41.3.1", + "@ckeditor/ckeditor5-engine": "41.3.1", + "@ckeditor/ckeditor5-enter": "41.3.1", + "@ckeditor/ckeditor5-typing": "41.3.1", + "@ckeditor/ckeditor5-ui": "41.3.1", + "@ckeditor/ckeditor5-utils": "41.3.1", + "lodash-es": "4.17.21" + } + }, + "node_modules/abbrev": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz", + "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==" + }, + "node_modules/accepts": { + "version": "1.3.8", + "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz", + "integrity": "sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==", + "dependencies": { + "mime-types": "~2.1.34", + "negotiator": "0.6.3" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/anymatch": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz", + "integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==", + "dependencies": { + "normalize-path": "^3.0.0", + "picomatch": "^2.0.4" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/array-flatten": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz", + "integrity": "sha512-PCVAQswWemu6UdxsDFFX/+gVeYqKAod3D3UVm91jHwynguOwAvYPhx8nNlM++NqRcK6CxxpUafjmhIdKiHibqg==" + }, + "node_modules/balanced-match": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", + "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==" + }, + "node_modules/binary-extensions": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.3.0.tgz", + "integrity": "sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw==", + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/blurhash": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/blurhash/-/blurhash-2.0.5.tgz", + "integrity": "sha512-cRygWd7kGBQO3VEhPiTgq4Wc43ctsM+o46urrmPOiuAe+07fzlSB9OJVdpgDL0jPqXUVQ9ht7aq7kxOeJHRK+w==" + }, + "node_modules/body-parser": { + "version": "1.20.2", + "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.2.tgz", + "integrity": "sha512-ml9pReCu3M61kGlqoTm2umSXTlRTuGTx0bfYj+uIUKKYycG5NtSbeetV3faSU6R7ajOPw0g/J1PvK4qNy7s5bA==", + "dependencies": { + "bytes": "3.1.2", + "content-type": "~1.0.5", + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "on-finished": "2.4.1", + "qs": "6.11.0", + "raw-body": "2.5.2", + "type-is": "~1.6.18", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "node_modules/brace-expansion": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "dependencies": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "node_modules/braces": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", + "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", + "dependencies": { + "fill-range": "^7.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/bytes": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.2.tgz", + "integrity": "sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/call-bind": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.7.tgz", + "integrity": "sha512-GHTSNSYICQ7scH7sZ+M2rFopRoLh8t2bLSW6BbgrtLsahOIB5iyAVJf9GjWK3cYTDaMj4XdBpM1cA6pIS0Kv2w==", + "dependencies": { + "es-define-property": "^1.0.0", + "es-errors": "^1.3.0", + "function-bind": "^1.1.2", + "get-intrinsic": "^1.2.4", + "set-function-length": "^1.2.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/chokidar": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.6.0.tgz", + "integrity": "sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==", + "dependencies": { + "anymatch": "~3.1.2", + "braces": "~3.0.2", + "glob-parent": "~5.1.2", + "is-binary-path": "~2.1.0", + "is-glob": "~4.0.1", + "normalize-path": "~3.0.0", + "readdirp": "~3.6.0" + }, + "engines": { + "node": ">= 8.10.0" + }, + "funding": { + "url": "https://paulmillr.com/funding/" + }, + "optionalDependencies": { + "fsevents": "~2.3.2" + } + }, + "node_modules/ckeditor5": { + "version": "41.3.1", + "resolved": "https://registry.npmjs.org/ckeditor5/-/ckeditor5-41.3.1.tgz", + "integrity": "sha512-pBK1YZV9Sy4R53XG70TEeLFOvTFC7tg8AmS6d6zizegtwkH8seblkcERkykcNuvmfzZ/2h9JbafJ4kisZOwiUQ==", + "dependencies": { + "@ckeditor/ckeditor5-clipboard": "41.3.1", + "@ckeditor/ckeditor5-core": "41.3.1", + "@ckeditor/ckeditor5-engine": "41.3.1", + "@ckeditor/ckeditor5-enter": "41.3.1", + "@ckeditor/ckeditor5-paragraph": "41.3.1", + "@ckeditor/ckeditor5-select-all": "41.3.1", + "@ckeditor/ckeditor5-typing": "41.3.1", + "@ckeditor/ckeditor5-ui": "41.3.1", + "@ckeditor/ckeditor5-undo": "41.3.1", + "@ckeditor/ckeditor5-upload": "41.3.1", + "@ckeditor/ckeditor5-utils": "41.3.1", + "@ckeditor/ckeditor5-watchdog": "41.3.1", + "@ckeditor/ckeditor5-widget": "41.3.1" + } + }, + "node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" + }, + "node_modules/color-parse": { + "version": "1.4.2", + "resolved": "https://registry.npmjs.org/color-parse/-/color-parse-1.4.2.tgz", + "integrity": "sha512-RI7s49/8yqDj3fECFZjUI1Yi0z/Gq1py43oNJivAIIDSyJiOZLfYCRQEgn8HEVAj++PcRe8AnL2XF0fRJ3BTnA==", + "dependencies": { + "color-name": "^1.0.0" + } + }, + "node_modules/concat-map": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", + "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==" + }, + "node_modules/content-disposition": { + "version": "0.5.4", + "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.4.tgz", + "integrity": "sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ==", + "dependencies": { + "safe-buffer": "5.2.1" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/content-type": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.5.tgz", + "integrity": "sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/cookie": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.6.0.tgz", + "integrity": "sha512-U71cyTamuh1CRNCfpGY6to28lxvNwPG4Guz/EVjgf3Jmzv0vlDp1atT9eS5dDjMYHucpHbWns6Lwf3BKz6svdw==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/cookie-signature": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz", + "integrity": "sha512-QADzlaHc8icV8I7vbaJXJwod9HWYp8uCqf1xa4OfNu1T7JVxQIrUgOWtHdNDtPiywmFbiS12VjotIXLrKM3orQ==" + }, + "node_modules/debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dependencies": { + "ms": "2.0.0" + } + }, + "node_modules/define-data-property": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.4.tgz", + "integrity": "sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==", + "dependencies": { + "es-define-property": "^1.0.0", + "es-errors": "^1.3.0", + "gopd": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/depd": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz", + "integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/destroy": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.2.0.tgz", + "integrity": "sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg==", + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "node_modules/ee-first": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", + "integrity": "sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==" + }, + "node_modules/encodeurl": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", + "integrity": "sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w==", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/es-define-property": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.0.tgz", + "integrity": "sha512-jxayLKShrEqqzJ0eumQbVhTYQM27CfT1T35+gCgDFoL82JLsXqTJ76zv6A0YLOgEnLUMvLzsDsGIrl8NFpT2gQ==", + "dependencies": { + "get-intrinsic": "^1.2.4" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/es-errors": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz", + "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/escape-html": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", + "integrity": "sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==" + }, + "node_modules/etag": { + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", + "integrity": "sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/express": { + "version": "4.19.2", + "resolved": "https://registry.npmjs.org/express/-/express-4.19.2.tgz", + "integrity": "sha512-5T6nhjsT+EOMzuck8JjBHARTHfMht0POzlA60WV2pMD3gyXw2LZnZ+ueGdNxG+0calOJcWKbpFcuzLZ91YWq9Q==", + "dependencies": { + "accepts": "~1.3.8", + "array-flatten": "1.1.1", + "body-parser": "1.20.2", + "content-disposition": "0.5.4", + "content-type": "~1.0.4", + "cookie": "0.6.0", + "cookie-signature": "1.0.6", + "debug": "2.6.9", + "depd": "2.0.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "finalhandler": "1.2.0", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "merge-descriptors": "1.0.1", + "methods": "~1.1.2", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "path-to-regexp": "0.1.7", + "proxy-addr": "~2.0.7", + "qs": "6.11.0", + "range-parser": "~1.2.1", + "safe-buffer": "5.2.1", + "send": "0.18.0", + "serve-static": "1.15.0", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "type-is": "~1.6.18", + "utils-merge": "1.0.1", + "vary": "~1.1.2" + }, + "engines": { + "node": ">= 0.10.0" + } + }, + "node_modules/fill-range": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", + "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", + "dependencies": { + "to-regex-range": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/finalhandler": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.2.0.tgz", + "integrity": "sha512-5uXcUVftlQMFnWC9qu/svkWv3GTd2PfUhK/3PLkYNAe7FbqJMt3515HaxE6eRL74GdsriiwujiawdaB1BpEISg==", + "dependencies": { + "debug": "2.6.9", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "statuses": "2.0.1", + "unpipe": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/forwarded": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz", + "integrity": "sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/fresh": { + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz", + "integrity": "sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/function-bind": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", + "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/get-intrinsic": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.4.tgz", + "integrity": "sha512-5uYhsJH8VJBTv7oslg4BznJYhDoRI6waYCxMmCdnTrcCrHA/fCFKoTFz2JKKE0HdDFUF7/oQuhzumXJK7paBRQ==", + "dependencies": { + "es-errors": "^1.3.0", + "function-bind": "^1.1.2", + "has-proto": "^1.0.1", + "has-symbols": "^1.0.3", + "hasown": "^2.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/glob-parent": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", + "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "dependencies": { + "is-glob": "^4.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/gopd": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.0.1.tgz", + "integrity": "sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==", + "dependencies": { + "get-intrinsic": "^1.1.3" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", + "engines": { + "node": ">=4" + } + }, + "node_modules/has-property-descriptors": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.2.tgz", + "integrity": "sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==", + "dependencies": { + "es-define-property": "^1.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-proto": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.3.tgz", + "integrity": "sha512-SJ1amZAJUiZS+PhsVLf5tGydlaVB8EdFpaSO4gmiUKUOxk8qzn5AIy4ZeJUmh22znIdk/uMAUT2pl3FxzVUH+Q==", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-symbols": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz", + "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/hasown": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz", + "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==", + "dependencies": { + "function-bind": "^1.1.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/http-errors": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.0.tgz", + "integrity": "sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==", + "dependencies": { + "depd": "2.0.0", + "inherits": "2.0.4", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "toidentifier": "1.0.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/iconv-lite": { + "version": "0.4.24", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", + "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", + "dependencies": { + "safer-buffer": ">= 2.1.2 < 3" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ignore-by-default": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/ignore-by-default/-/ignore-by-default-1.0.1.tgz", + "integrity": "sha512-Ius2VYcGNk7T90CppJqcIkS5ooHUZyIQK+ClZfMfMNFEF9VSE73Fq+906u/CWu92x4gzZMWOwfFYckPObzdEbA==" + }, + "node_modules/inherits": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" + }, + "node_modules/ipaddr.js": { + "version": "1.9.1", + "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz", + "integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==", + "engines": { + "node": ">= 0.10" + } + }, + "node_modules/is-binary-path": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", + "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", + "dependencies": { + "binary-extensions": "^2.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/is-extglob": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", + "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-glob": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", + "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", + "dependencies": { + "is-extglob": "^2.1.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-number": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", + "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", + "engines": { + "node": ">=0.12.0" + } + }, + "node_modules/lodash-es": { + "version": "4.17.21", + "resolved": "https://registry.npmjs.org/lodash-es/-/lodash-es-4.17.21.tgz", + "integrity": "sha512-mKnC+QJ9pWVzv+C4/U3rRsHapFfHvQFoFB92e52xeyGMcX6/OlIl78je1u8vePzYZSkkogMPJ2yjxxsb89cxyw==" + }, + "node_modules/media-typer": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", + "integrity": "sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/merge-descriptors": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz", + "integrity": "sha512-cCi6g3/Zr1iqQi6ySbseM1Xvooa98N0w31jzUYrXPX2xqObmFGHJ0tQ5u74H3mVh7wLouTseZyYIq39g8cNp1w==" + }, + "node_modules/methods": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz", + "integrity": "sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/mime": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", + "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==", + "bin": { + "mime": "cli.js" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/mime-db": { + "version": "1.52.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", + "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/mime-types": { + "version": "2.1.35", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", + "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", + "dependencies": { + "mime-db": "1.52.0" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/minimatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" + } + }, + "node_modules/ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==" + }, + "node_modules/negotiator": { + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz", + "integrity": "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/nodemailer": { + "version": "6.9.13", + "resolved": "https://registry.npmjs.org/nodemailer/-/nodemailer-6.9.13.tgz", + "integrity": "sha512-7o38Yogx6krdoBf3jCAqnIN4oSQFx+fMa0I7dK1D+me9kBxx12D+/33wSb+fhOCtIxvYJ+4x4IMEhmhCKfAiOA==", + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/nodemon": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/nodemon/-/nodemon-3.1.0.tgz", + "integrity": "sha512-xqlktYlDMCepBJd43ZQhjWwMw2obW/JRvkrLxq5RCNcuDDX1DbcPT+qT1IlIIdf+DhnWs90JpTMe+Y5KxOchvA==", + "dependencies": { + "chokidar": "^3.5.2", + "debug": "^4", + "ignore-by-default": "^1.0.1", + "minimatch": "^3.1.2", + "pstree.remy": "^1.1.8", + "semver": "^7.5.3", + "simple-update-notifier": "^2.0.0", + "supports-color": "^5.5.0", + "touch": "^3.1.0", + "undefsafe": "^2.0.5" + }, + "bin": { + "nodemon": "bin/nodemon.js" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/nodemon" + } + }, + "node_modules/nodemon/node_modules/debug": { + "version": "4.3.4", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", + "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "node_modules/nodemon/node_modules/ms": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" + }, + "node_modules/nopt": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/nopt/-/nopt-1.0.10.tgz", + "integrity": "sha512-NWmpvLSqUrgrAC9HCuxEvb+PSloHpqVu+FqcO4eeF2h5qYRhA7ev6KvelyQAKtegUbC6RypJnlEOhd8vloNKYg==", + "dependencies": { + "abbrev": "1" + }, + "bin": { + "nopt": "bin/nopt.js" + }, + "engines": { + "node": "*" + } + }, + "node_modules/normalize-path": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", + "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/object-inspect": { + "version": "1.13.1", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.1.tgz", + "integrity": "sha512-5qoj1RUiKOMsCCNLV1CBiPYE10sziTsnmNxkAI/rZhiD63CF7IqdFGC/XzjWjpSgLf0LxXX3bDFIh0E18f6UhQ==", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/on-finished": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.4.1.tgz", + "integrity": "sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==", + "dependencies": { + "ee-first": "1.1.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/parseurl": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", + "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/path-to-regexp": { + "version": "0.1.7", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz", + "integrity": "sha512-5DFkuoqlv1uYQKxy8omFBeJPQcdoE07Kv2sferDCrAq1ohOU+MSDswDIbnx3YAM60qIOnYa53wBhXW0EbMonrQ==" + }, + "node_modules/picomatch": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", + "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", + "engines": { + "node": ">=8.6" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } + }, + "node_modules/proxy-addr": { + "version": "2.0.7", + "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz", + "integrity": "sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==", + "dependencies": { + "forwarded": "0.2.0", + "ipaddr.js": "1.9.1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "node_modules/pstree.remy": { + "version": "1.1.8", + "resolved": "https://registry.npmjs.org/pstree.remy/-/pstree.remy-1.1.8.tgz", + "integrity": "sha512-77DZwxQmxKnu3aR542U+X8FypNzbfJ+C5XQDk3uWjWxn6151aIMGthWYRXTqT1E5oJvg+ljaa2OJi+VfvCOQ8w==" + }, + "node_modules/qs": { + "version": "6.11.0", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.11.0.tgz", + "integrity": "sha512-MvjoMCJwEarSbUYk5O+nmoSzSutSsTwF85zcHPQ9OrlFoZOYIjaqBAJIqIXjptyD5vThxGq52Xu/MaJzRkIk4Q==", + "dependencies": { + "side-channel": "^1.0.4" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/range-parser": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz", + "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/raw-body": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.5.2.tgz", + "integrity": "sha512-8zGqypfENjCIqGhgXToC8aB2r7YrBX+AQAfIPs/Mlk+BtPTztOvTS01NRW/3Eh60J+a48lt8qsCzirQ6loCVfA==", + "dependencies": { + "bytes": "3.1.2", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/readdirp": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", + "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", + "dependencies": { + "picomatch": "^2.2.1" + }, + "engines": { + "node": ">=8.10.0" + } + }, + "node_modules/safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] + }, + "node_modules/safer-buffer": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" + }, + "node_modules/semver": { + "version": "7.6.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.2.tgz", + "integrity": "sha512-FNAIBWCx9qcRhoHcgcJ0gvU7SN1lYU2ZXuSfl04bSC5OpvDHFyJCjdNHomPXxjQlCBU67YW64PzY7/VIEH7F2w==", + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/send": { + "version": "0.18.0", + "resolved": "https://registry.npmjs.org/send/-/send-0.18.0.tgz", + "integrity": "sha512-qqWzuOjSFOuqPjFe4NOsMLafToQQwBSOEpS+FwEt3A2V3vKubTquT3vmLTQpFgMXp8AlFWFuP1qKaJZOtPpVXg==", + "dependencies": { + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "mime": "1.6.0", + "ms": "2.1.3", + "on-finished": "2.4.1", + "range-parser": "~1.2.1", + "statuses": "2.0.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/send/node_modules/ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" + }, + "node_modules/serve-static": { + "version": "1.15.0", + "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.15.0.tgz", + "integrity": "sha512-XGuRDNjXUijsUL0vl6nSD7cwURuzEgglbOaFuZM9g3kwDXOWVTck0jLzjPzGD+TazWbboZYu52/9/XPdUgne9g==", + "dependencies": { + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "parseurl": "~1.3.3", + "send": "0.18.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/set-function-length": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.2.2.tgz", + "integrity": "sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==", + "dependencies": { + "define-data-property": "^1.1.4", + "es-errors": "^1.3.0", + "function-bind": "^1.1.2", + "get-intrinsic": "^1.2.4", + "gopd": "^1.0.1", + "has-property-descriptors": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/setprototypeof": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz", + "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==" + }, + "node_modules/side-channel": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.6.tgz", + "integrity": "sha512-fDW/EZ6Q9RiO8eFG8Hj+7u/oW+XrPTIChwCOM2+th2A6OblDtYYIpve9m+KvI9Z4C9qSEXlaGR6bTEYHReuglA==", + "dependencies": { + "call-bind": "^1.0.7", + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.4", + "object-inspect": "^1.13.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/simple-update-notifier": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/simple-update-notifier/-/simple-update-notifier-2.0.0.tgz", + "integrity": "sha512-a2B9Y0KlNXl9u/vsW6sTIu9vGEpfKu2wRV6l1H3XEas/0gUIzGzBoP/IouTcUQbm9JWZLH3COxyn03TYlFax6w==", + "dependencies": { + "semver": "^7.5.3" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/statuses": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.1.tgz", + "integrity": "sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dependencies": { + "has-flag": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/to-regex-range": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", + "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", + "dependencies": { + "is-number": "^7.0.0" + }, + "engines": { + "node": ">=8.0" + } + }, + "node_modules/toidentifier": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz", + "integrity": "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==", + "engines": { + "node": ">=0.6" + } + }, + "node_modules/touch": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/touch/-/touch-3.1.0.tgz", + "integrity": "sha512-WBx8Uy5TLtOSRtIq+M03/sKDrXCLHxwDcquSP2c43Le03/9serjQBIztjRz6FkJez9D/hleyAXTBGLwwZUw9lA==", + "dependencies": { + "nopt": "~1.0.10" + }, + "bin": { + "nodetouch": "bin/nodetouch.js" + } + }, + "node_modules/type-is": { + "version": "1.6.18", + "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz", + "integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==", + "dependencies": { + "media-typer": "0.3.0", + "mime-types": "~2.1.24" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/undefsafe": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/undefsafe/-/undefsafe-2.0.5.tgz", + "integrity": "sha512-WxONCrssBM8TSPRqN5EmsjVrsv4A8X12J4ArBiiayv3DyyG3ZlIg6yysuuSYdZsVz3TKcTg2fd//Ujd4CHV1iA==" + }, + "node_modules/unpipe": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", + "integrity": "sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/utils-merge": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz", + "integrity": "sha512-pMZTvIkT1d+TFGvDOqodOclx0QWkkgi6Tdoa8gC8ffGAAqz9pzPTZWAybbsHHoED/ztMtkv/VoYTYyShUn81hA==", + "engines": { + "node": ">= 0.4.0" + } + }, + "node_modules/vanilla-colorful": { + "version": "0.7.2", + "resolved": "https://registry.npmjs.org/vanilla-colorful/-/vanilla-colorful-0.7.2.tgz", + "integrity": "sha512-z2YZusTFC6KnLERx1cgoIRX2CjPRP0W75N+3CC6gbvdX5Ch47rZkEMGO2Xnf+IEmi3RiFLxS18gayMA27iU7Kg==" + }, + "node_modules/vary": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", + "integrity": "sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==", + "engines": { + "node": ">= 0.8" + } + } + } +} diff --git a/node_modules/@ckeditor/ckeditor5-adapter-ckfinder/CHANGELOG.md b/node_modules/@ckeditor/ckeditor5-adapter-ckfinder/CHANGELOG.md new file mode 100644 index 0000000..4d4470e --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-adapter-ckfinder/CHANGELOG.md @@ -0,0 +1,161 @@ +Changelog +========= + +All changes in the package are documented in the main repository. See: https://github.com/ckeditor/ckeditor5/blob/master/CHANGELOG.md. + +Changes for the past releases are available below. + +## [19.0.0](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/compare/v18.0.0...v19.0.0) (April 29, 2020) + +Internal changes only (updated dependencies, documentation, etc.). + + +## [18.0.0](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/compare/v17.0.0...v18.0.0) (March 19, 2020) + +Internal changes only (updated dependencies, documentation, etc.). + + +## [17.0.0](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/compare/v16.0.0...v17.0.0) (February 18, 2020) + +### Other changes + +* Updated translations. ([b3bc679](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/commit/b3bc679)) + + +## [16.0.0](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/compare/v15.0.0...v16.0.0) (December 4, 2019) + +### Other changes + +* Updated translations. ([5249150](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/commit/5249150)) + + +## [15.0.0](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/compare/v11.0.5...v15.0.0) (October 23, 2019) + +### Other changes + +* Updated translations. ([b7ae885](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/commit/b7ae885)) ([f03c652](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/commit/f03c652)) + + +## [11.0.5](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/compare/v11.0.4...v11.0.5) (August 26, 2019) + +### Other changes + +* Changed the URL under bugs key in package.json file. Now we have one issue tracker. See [ckeditor/ckeditor5#1988](https://github.com/ckeditor/ckeditor5/issues/1988). ([7edd73b](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/commit/7edd73b)) +* Updated translations. ([8fb4cc2](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/commit/8fb4cc2)) + + +## [11.0.4](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/compare/v11.0.3...v11.0.4) (July 10, 2019) + +Internal changes only (updated dependencies, documentation, etc.). + + +## [11.0.3](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/compare/v11.0.2...v11.0.3) (July 4, 2019) + +Internal changes only (updated dependencies, documentation, etc.). + + +## [11.0.2](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/compare/v11.0.1...v11.0.2) (June 6, 2019) + +### Other changes + +* Updated translations. ([7d00af1](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/commit/7d00af1)) + + +## [11.0.1](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/compare/v11.0.0...v11.0.1) (April 4, 2019) + +### Other changes + +* Updated translations. ([3a0fe51](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/commit/3a0fe51)) + + +## [11.0.0](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/compare/v10.0.4...v11.0.0) (February 28, 2019) + +### Other changes + +* Updated translations. ([0e55853](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/commit/0e55853)) ([818eeae](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/commit/818eeae)) ([707fa21](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/commit/707fa21)) + +### BREAKING CHANGES + +* Upgraded minimal versions of Node to `8.0.0` and npm to `5.7.1`. See: [ckeditor/ckeditor5#1507](https://github.com/ckeditor/ckeditor5/issues/1507). ([612ea3c](https://github.com/ckeditor/ckeditor5-cloud-services/commit/612ea3c)) + + +## [10.0.4](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/compare/v10.0.3...v10.0.4) (December 5, 2018) + +Internal changes only (updated dependencies, documentation, etc.). + + +## [10.0.3](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/compare/v10.0.2...v10.0.3) (October 8, 2018) + +### Other changes + +* Updated translations. ([896412d](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/commit/896412d)) + + +## [10.0.2](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/compare/v10.0.1...v10.0.2) (July 18, 2018) + +### Other changes + +* Updated translations. ([69db8e3](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/commit/69db8e3)) + + +## [10.0.1](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/compare/v10.0.0...v10.0.1) (June 21, 2018) + +### Other changes + +* Updated translations. ([6360b78](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/commit/6360b78)) + + +## [10.0.0](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/compare/v1.0.0-beta.4...v10.0.0) (April 25, 2018) + +### Other changes + +* Changed the license to GPL2+ only. See [ckeditor/ckeditor5#991](https://github.com/ckeditor/ckeditor5/issues/991). ([06caac5](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/commit/06caac5)) + +### BREAKING CHANGES + +* The license under which CKEditor 5 is released has been changed from a triple GPL, LGPL and MPL license to a GPL2+ only. See [ckeditor/ckeditor5#991](https://github.com/ckeditor/ckeditor5/issues/991) for more information. + + +## [1.0.0-beta.4](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/compare/v1.0.0-beta.2...v1.0.0-beta.4) (April 19, 2018) + +### Other changes + +* Updated translations. ([02712bb](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/commit/02712bb)) + + +## [1.0.0-beta.2](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/compare/v1.0.0-beta.1...v1.0.0-beta.2) (April 10, 2018) + +Internal changes only (updated dependencies, documentation, etc.). + + +## [1.0.0-beta.1](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/compare/v1.0.0-alpha.2...v1.0.0-beta.1) (March 15, 2018) + +Internal changes only (updated dependencies, documentation, etc.). + + +## [1.0.0-alpha.2](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/compare/v1.0.0-alpha.1...v1.0.0-alpha.2) (November 14, 2017) + +### Other changes + +* Updated translations. ([7f80868](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/commit/7f80868)) + + +## [1.0.0-alpha.1](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/compare/v0.1.1...v1.0.0-alpha.1) (October 3, 2017) + +### Other changes + +* The plugin will not log a warning when `config.ckfinder.uploadUrl` is not specified (because `FileRepository` will do it itself). Closes [#5](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/issues/5). ([1a15688](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/commit/1a15688)) + + +## [0.1.1](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/compare/v0.1.0...v0.1.1) (September 3, 2017) + +### Other changes + +* Aligned the implementation to changes in the image upload. ([eb456ac](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/commit/eb456ac)) + + +## 0.1.0 (May 8, 2017) + +### Features + +* Initial implementation. Closes [#1](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/issues/1). diff --git a/node_modules/@ckeditor/ckeditor5-adapter-ckfinder/LICENSE.md b/node_modules/@ckeditor/ckeditor5-adapter-ckfinder/LICENSE.md new file mode 100644 index 0000000..ec09034 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-adapter-ckfinder/LICENSE.md @@ -0,0 +1,17 @@ +Software License Agreement +========================== + +**CKEditor 5 CKFinder adapter** – https://github.com/ckeditor/ckeditor5-adapter-ckfinder
+Copyright (c) 2003–2024, [CKSource Holding sp. z o.o.](https://cksource.com) All rights reserved. + +Licensed under the terms of [GNU General Public License Version 2 or later](http://www.gnu.org/licenses/gpl.html). + +Sources of Intellectual Property Included in CKEditor +----------------------------------------------------- + +Where not otherwise indicated, all CKEditor content is authored by CKSource engineers and consists of CKSource-owned intellectual property. In some specific instances, CKEditor will incorporate work done by developers outside of CKSource with their express permission. + +Trademarks +---------- + +**CKEditor** is a trademark of [CKSource Holding sp. z o.o.](https://cksource.com) All other brand and product names are trademarks, registered trademarks, or service marks of their respective holders. diff --git a/node_modules/@ckeditor/ckeditor5-adapter-ckfinder/README.md b/node_modules/@ckeditor/ckeditor5-adapter-ckfinder/README.md new file mode 100644 index 0000000..9bb071f --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-adapter-ckfinder/README.md @@ -0,0 +1,18 @@ +CKEditor 5 CKFinder adapter +======================================== + +[![npm version](https://badge.fury.io/js/%40ckeditor%2Fckeditor5-adapter-ckfinder.svg)](https://www.npmjs.com/package/@ckeditor/ckeditor5-adapter-ckfinder) +[![Coverage Status](https://coveralls.io/repos/github/ckeditor/ckeditor5/badge.svg?branch=master)](https://coveralls.io/github/ckeditor/ckeditor5?branch=master) +[![Build Status](https://travis-ci.com/ckeditor/ckeditor5.svg?branch=master)](https://app.travis-ci.com/github/ckeditor/ckeditor5) + +This package implements a CKEditor 5 upload adapter compatible with the [CKFinder file manager and uploader](https://ckeditor.com/ckfinder/)'s server–side connector. + +## Documentation + +See the ["CKFinder integration" guide](https://ckeditor.com/docs/ckeditor5/latest/features/ckfinder.html) and the [plugin documentation](https://ckeditor.com/docs/ckeditor5/latest/api/adapter-ckfinder.html) to learn how to configure the adapter. + +Check out the {@link features/image-upload/image-upload comprehensive "Image upload overview"} to learn about other ways to upload images into CKEditor 5. + +## License + +Licensed under the terms of [GNU General Public License Version 2 or later](http://www.gnu.org/licenses/gpl.html). For full details about the license, please check the `LICENSE.md` file or [https://ckeditor.com/legal/ckeditor-oss-license](https://ckeditor.com/legal/ckeditor-oss-license). diff --git a/node_modules/@ckeditor/ckeditor5-adapter-ckfinder/build/adapter-ckfinder.js b/node_modules/@ckeditor/ckeditor5-adapter-ckfinder/build/adapter-ckfinder.js new file mode 100644 index 0000000..6470db5 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-adapter-ckfinder/build/adapter-ckfinder.js @@ -0,0 +1,4 @@ +/*! + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md. + */(()=>{var e={782:(e,t,r)=>{e.exports=r(237)("./src/core.js")},260:(e,t,r)=>{e.exports=r(237)("./src/upload.js")},237:e=>{"use strict";e.exports=CKEditor5.dll}},t={};function r(o){var n=t[o];if(void 0!==n)return n.exports;var s=t[o]={exports:{}};return e[o](s,s.exports,r),s.exports}r.d=(e,t)=>{for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var o={};(()=>{"use strict";r.r(o),r.d(o,{CKFinderUploadAdapter:()=>d});var e=r(782),t=r(260);const n="ckCsrfToken",s="abcdefghijklmnopqrstuvwxyz0123456789";function i(){let e=function(e){e=e.toLowerCase();const t=document.cookie.split(";");for(const r of t){const t=r.split("=");if(decodeURIComponent(t[0].trim().toLowerCase())===e)return decodeURIComponent(t[1])}return null}(n);var t,r;return e&&40==e.length||(e=function(e){let t="";const r=new Uint8Array(e);window.crypto.getRandomValues(r);for(let e=0;e.5?o.toUpperCase():o}return t}(40),t=n,r=e,document.cookie=encodeURIComponent(t)+"="+encodeURIComponent(r)+";path=/"),e}class d extends e.Plugin{static get requires(){return[t.FileRepository]}static get pluginName(){return"CKFinderUploadAdapter"}init(){const e=this.editor.config.get("ckfinder.uploadUrl");e&&(this.editor.plugins.get(t.FileRepository).createUploadAdapter=t=>new a(t,e,this.editor.t))}}class a{constructor(e,t,r){this.loader=e,this.url=t,this.t=r}upload(){return this.loader.file.then((e=>new Promise(((t,r)=>{this._initRequest(),this._initListeners(t,r,e),this._sendRequest(e)}))))}abort(){this.xhr&&this.xhr.abort()}_initRequest(){const e=this.xhr=new XMLHttpRequest;e.open("POST",this.url,!0),e.responseType="json"}_initListeners(e,t,r){const o=this.xhr,n=this.loader,s=(0,this.t)("Cannot upload file:")+` ${r.name}.`;o.addEventListener("error",(()=>t(s))),o.addEventListener("abort",(()=>t())),o.addEventListener("load",(()=>{const r=o.response;if(!r||!r.uploaded)return t(r&&r.error&&r.error.message?r.error.message:s);e({default:r.url})})),o.upload&&o.upload.addEventListener("progress",(e=>{e.lengthComputable&&(n.uploadTotal=e.total,n.uploaded=e.loaded)}))}_sendRequest(e){const t=new FormData;t.append("upload",e),t.append("ckCsrfToken",i()),this.xhr.send(t)}}})(),(window.CKEditor5=window.CKEditor5||{}).adapterCkfinder=o})(); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-adapter-ckfinder/ckeditor5-metadata.json b/node_modules/@ckeditor/ckeditor5-adapter-ckfinder/ckeditor5-metadata.json new file mode 100644 index 0000000..9e25827 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-adapter-ckfinder/ckeditor5-metadata.json @@ -0,0 +1,11 @@ +{ + "plugins": [ + { + "name": "CKFinder upload adapter", + "className": "CKFinderUploadAdapter", + "path": "src/uploadadapter.js", + "description": "Implements the CKEditor 5 upload adapter compatible with the CKFinder file manager and uploader's server–side connector.", + "docs": "features/images/image-upload/image-upload.html#ckfinder" + } + ] +} diff --git a/node_modules/@ckeditor/ckeditor5-adapter-ckfinder/package.json b/node_modules/@ckeditor/ckeditor5-adapter-ckfinder/package.json new file mode 100644 index 0000000..11a8d5b --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-adapter-ckfinder/package.json @@ -0,0 +1,37 @@ +{ + "name": "@ckeditor/ckeditor5-adapter-ckfinder", + "version": "41.3.1", + "description": "CKFinder adapter for CKEditor 5.", + "keywords": [ + "ckeditor", + "ckeditor5", + "ckeditor 5", + "ckeditor5-feature", + "ckeditor5-plugin", + "ckeditor5-dll" + ], + "type": "module", + "main": "src/index.js", + "dependencies": { + "ckeditor5": "41.3.1" + }, + "author": "CKSource (http://cksource.com/)", + "license": "GPL-2.0-or-later", + "homepage": "https://ckeditor.com/ckeditor-5", + "bugs": "https://github.com/ckeditor/ckeditor5/issues", + "repository": { + "type": "git", + "url": "https://github.com/ckeditor/ckeditor5.git", + "directory": "packages/ckeditor5-adapter-ckfinder" + }, + "files": [ + "lang", + "src/**/*.js", + "src/**/*.d.ts", + "theme", + "build", + "ckeditor5-metadata.json", + "CHANGELOG.md" + ], + "types": "src/index.d.ts" +} diff --git a/node_modules/@ckeditor/ckeditor5-adapter-ckfinder/src/augmentation.d.ts b/node_modules/@ckeditor/ckeditor5-adapter-ckfinder/src/augmentation.d.ts new file mode 100644 index 0000000..76ca056 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-adapter-ckfinder/src/augmentation.d.ts @@ -0,0 +1,10 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +import type { CKFinderUploadAdapter } from './index.js'; +declare module '@ckeditor/ckeditor5-core' { + interface PluginsMap { + [CKFinderUploadAdapter.pluginName]: CKFinderUploadAdapter; + } +} diff --git a/node_modules/@ckeditor/ckeditor5-adapter-ckfinder/src/augmentation.js b/node_modules/@ckeditor/ckeditor5-adapter-ckfinder/src/augmentation.js new file mode 100644 index 0000000..4fffd02 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-adapter-ckfinder/src/augmentation.js @@ -0,0 +1,5 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +export {}; diff --git a/node_modules/@ckeditor/ckeditor5-adapter-ckfinder/src/index.d.ts b/node_modules/@ckeditor/ckeditor5-adapter-ckfinder/src/index.d.ts new file mode 100644 index 0000000..7588975 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-adapter-ckfinder/src/index.d.ts @@ -0,0 +1,9 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module adapter-ckfinder + */ +export { default as CKFinderUploadAdapter } from './uploadadapter.js'; +import './augmentation.js'; diff --git a/node_modules/@ckeditor/ckeditor5-adapter-ckfinder/src/index.js b/node_modules/@ckeditor/ckeditor5-adapter-ckfinder/src/index.js new file mode 100644 index 0000000..7588975 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-adapter-ckfinder/src/index.js @@ -0,0 +1,9 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module adapter-ckfinder + */ +export { default as CKFinderUploadAdapter } from './uploadadapter.js'; +import './augmentation.js'; diff --git a/node_modules/@ckeditor/ckeditor5-adapter-ckfinder/src/uploadadapter.d.ts b/node_modules/@ckeditor/ckeditor5-adapter-ckfinder/src/uploadadapter.d.ts new file mode 100644 index 0000000..3222ed3 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-adapter-ckfinder/src/uploadadapter.d.ts @@ -0,0 +1,33 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module adapter-ckfinder/uploadadapter + */ +import { Plugin } from 'ckeditor5/src/core.js'; +import { FileRepository } from 'ckeditor5/src/upload.js'; +/** + * A plugin that enables file uploads in CKEditor 5 using the CKFinder server–side connector. + * + * See the {@glink features/file-management/ckfinder "CKFinder file manager integration"} guide to learn how to configure + * and use this feature as well as find out more about the full integration with the file manager + * provided by the {@link module:ckfinder/ckfinder~CKFinder} plugin. + * + * Check out the {@glink features/images/image-upload/image-upload comprehensive "Image upload overview"} guide to learn + * about other ways to upload images into CKEditor 5. + */ +export default class CKFinderUploadAdapter extends Plugin { + /** + * @inheritDoc + */ + static get requires(): readonly [typeof FileRepository]; + /** + * @inheritDoc + */ + static get pluginName(): "CKFinderUploadAdapter"; + /** + * @inheritDoc + */ + init(): void; +} diff --git a/node_modules/@ckeditor/ckeditor5-adapter-ckfinder/src/uploadadapter.js b/node_modules/@ckeditor/ckeditor5-adapter-ckfinder/src/uploadadapter.js new file mode 100644 index 0000000..f138ebe --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-adapter-ckfinder/src/uploadadapter.js @@ -0,0 +1,138 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/* globals XMLHttpRequest, FormData */ +/** + * @module adapter-ckfinder/uploadadapter + */ +import { Plugin } from 'ckeditor5/src/core.js'; +import { FileRepository } from 'ckeditor5/src/upload.js'; +import { getCsrfToken } from './utils.js'; +/** + * A plugin that enables file uploads in CKEditor 5 using the CKFinder server–side connector. + * + * See the {@glink features/file-management/ckfinder "CKFinder file manager integration"} guide to learn how to configure + * and use this feature as well as find out more about the full integration with the file manager + * provided by the {@link module:ckfinder/ckfinder~CKFinder} plugin. + * + * Check out the {@glink features/images/image-upload/image-upload comprehensive "Image upload overview"} guide to learn + * about other ways to upload images into CKEditor 5. + */ +export default class CKFinderUploadAdapter extends Plugin { + /** + * @inheritDoc + */ + static get requires() { + return [FileRepository]; + } + /** + * @inheritDoc + */ + static get pluginName() { + return 'CKFinderUploadAdapter'; + } + /** + * @inheritDoc + */ + init() { + const url = this.editor.config.get('ckfinder.uploadUrl'); + if (!url) { + return; + } + // Register CKFinderAdapter + this.editor.plugins.get(FileRepository).createUploadAdapter = loader => new UploadAdapter(loader, url, this.editor.t); + } +} +/** + * Upload adapter for CKFinder. + */ +class UploadAdapter { + /** + * Creates a new adapter instance. + */ + constructor(loader, url, t) { + this.loader = loader; + this.url = url; + this.t = t; + } + /** + * Starts the upload process. + * + * @see module:upload/filerepository~UploadAdapter#upload + */ + upload() { + return this.loader.file.then(file => { + return new Promise((resolve, reject) => { + this._initRequest(); + this._initListeners(resolve, reject, file); + this._sendRequest(file); + }); + }); + } + /** + * Aborts the upload process. + * + * @see module:upload/filerepository~UploadAdapter#abort + */ + abort() { + if (this.xhr) { + this.xhr.abort(); + } + } + /** + * Initializes the XMLHttpRequest object. + */ + _initRequest() { + const xhr = this.xhr = new XMLHttpRequest(); + xhr.open('POST', this.url, true); + xhr.responseType = 'json'; + } + /** + * Initializes XMLHttpRequest listeners. + * + * @param resolve Callback function to be called when the request is successful. + * @param reject Callback function to be called when the request cannot be completed. + * @param file File instance to be uploaded. + */ + _initListeners(resolve, reject, file) { + const xhr = this.xhr; + const loader = this.loader; + const t = this.t; + const genericError = t('Cannot upload file:') + ` ${file.name}.`; + xhr.addEventListener('error', () => reject(genericError)); + xhr.addEventListener('abort', () => reject()); + xhr.addEventListener('load', () => { + const response = xhr.response; + if (!response || !response.uploaded) { + return reject(response && response.error && response.error.message ? response.error.message : genericError); + } + resolve({ + default: response.url + }); + }); + // Upload progress when it's supported. + /* istanbul ignore else -- @preserve */ + if (xhr.upload) { + xhr.upload.addEventListener('progress', evt => { + if (evt.lengthComputable) { + loader.uploadTotal = evt.total; + loader.uploaded = evt.loaded; + } + }); + } + } + /** + * Prepares the data and sends the request. + * + * @param file File instance to be uploaded. + */ + _sendRequest(file) { + // Prepare form data. + const data = new FormData(); + data.append('upload', file); + data.append('ckCsrfToken', getCsrfToken()); + // Send request. + this.xhr.send(data); + } +} diff --git a/node_modules/@ckeditor/ckeditor5-adapter-ckfinder/src/utils.d.ts b/node_modules/@ckeditor/ckeditor5-adapter-ckfinder/src/utils.d.ts new file mode 100644 index 0000000..bdbacda --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-adapter-ckfinder/src/utils.d.ts @@ -0,0 +1,18 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * Returns the CSRF token value. The value is a hash stored in `document.cookie` + * under the `ckCsrfToken` key. The CSRF token can be used to secure the communication + * between the web browser and the CKFinder server. + */ +export declare function getCsrfToken(): string; +/** + * Returns the value of the cookie with a given name or `null` if the cookie is not found. + */ +export declare function getCookie(name: string): string | null; +/** + * Sets the value of the cookie with a given name. + */ +export declare function setCookie(name: string, value: string): void; diff --git a/node_modules/@ckeditor/ckeditor5-adapter-ckfinder/src/utils.js b/node_modules/@ckeditor/ckeditor5-adapter-ckfinder/src/utils.js new file mode 100644 index 0000000..b9fc0c4 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-adapter-ckfinder/src/utils.js @@ -0,0 +1,58 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/* globals window, document */ +/** + * @module adapter-ckfinder/utils + */ +const TOKEN_COOKIE_NAME = 'ckCsrfToken'; +const TOKEN_LENGTH = 40; +const tokenCharset = 'abcdefghijklmnopqrstuvwxyz0123456789'; +/** + * Returns the CSRF token value. The value is a hash stored in `document.cookie` + * under the `ckCsrfToken` key. The CSRF token can be used to secure the communication + * between the web browser and the CKFinder server. + */ +export function getCsrfToken() { + let token = getCookie(TOKEN_COOKIE_NAME); + if (!token || token.length != TOKEN_LENGTH) { + token = generateToken(TOKEN_LENGTH); + setCookie(TOKEN_COOKIE_NAME, token); + } + return token; +} +/** + * Returns the value of the cookie with a given name or `null` if the cookie is not found. + */ +export function getCookie(name) { + name = name.toLowerCase(); + const parts = document.cookie.split(';'); + for (const part of parts) { + const pair = part.split('='); + const key = decodeURIComponent(pair[0].trim().toLowerCase()); + if (key === name) { + return decodeURIComponent(pair[1]); + } + } + return null; +} +/** + * Sets the value of the cookie with a given name. + */ +export function setCookie(name, value) { + document.cookie = encodeURIComponent(name) + '=' + encodeURIComponent(value) + ';path=/'; +} +/** + * Generates the CSRF token with the given length. + */ +function generateToken(length) { + let result = ''; + const randValues = new Uint8Array(length); + window.crypto.getRandomValues(randValues); + for (let j = 0; j < randValues.length; j++) { + const character = tokenCharset.charAt(randValues[j] % tokenCharset.length); + result += Math.random() > 0.5 ? character.toUpperCase() : character; + } + return result; +} diff --git a/node_modules/@ckeditor/ckeditor5-autoformat/CHANGELOG.md b/node_modules/@ckeditor/ckeditor5-autoformat/CHANGELOG.md new file mode 100644 index 0000000..c42a808 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-autoformat/CHANGELOG.md @@ -0,0 +1,208 @@ +Changelog +========= + +All changes in the package are documented in the main repository. See: https://github.com/ckeditor/ckeditor5/blob/master/CHANGELOG.md. + +Changes for the past releases are available below. + +## [19.0.0](https://github.com/ckeditor/ckeditor5-autoformat/compare/v18.0.0...v19.0.0) (April 29, 2020) + +### Features + +* Added autoformat integration with the strikethrough using `~~` string. Closes [ckeditor/ckeditor5#6412](https://github.com/ckeditor/ckeditor5/issues/6412). ([9c3fd3e](https://github.com/ckeditor/ckeditor5-autoformat/commit/9c3fd3e)) + + +## [18.0.0](https://github.com/ckeditor/ckeditor5-autoformat/compare/v17.0.0...v18.0.0) (March 19, 2020) + +Internal changes only (updated dependencies, documentation, etc.). + + +## [17.0.0](https://github.com/ckeditor/ckeditor5-autoformat/compare/v16.0.0...v17.0.0) (February 18, 2020) + +Internal changes only (updated dependencies, documentation, etc.). + + +## [16.0.0](https://github.com/ckeditor/ckeditor5-autoformat/compare/v15.0.0...v16.0.0) (December 4, 2019) + +### Features + +* Enabled code block autoformatting with the `` ``` `` sequence. Closes [ckeditor/ckeditor5#5672](https://github.com/ckeditor/ckeditor5/issues/5672). ([fb2d1b5](https://github.com/ckeditor/ckeditor5-autoformat/commit/fb2d1b5)) + +### Bug fixes + +* `BlockAutoformat` should not react to text typed after an inline element. Closes [ckeditor/ckeditor5#5671](https://github.com/ckeditor/ckeditor5/issues/5671). ([241c294](https://github.com/ckeditor/ckeditor5-autoformat/commit/241c294)) + + +## [15.0.0](https://github.com/ckeditor/ckeditor5-autoformat/compare/v11.0.5...v15.0.0) (October 23, 2019) + +### Bug fixes + +* Autoformat transformations in blocks containing inline elements. Closes [ckeditor/ckeditor5#1955](https://github.com/ckeditor/ckeditor5/issues/1955). ([133c647](https://github.com/ckeditor/ckeditor5-autoformat/commit/133c647)) + +### Other changes + +* Add `pluginName` property to editing plugins. ([44fcbc7](https://github.com/ckeditor/ckeditor5-autoformat/commit/44fcbc7)) + + +## [11.0.5](https://github.com/ckeditor/ckeditor5-autoformat/compare/v11.0.4...v11.0.5) (August 26, 2019) + +### Other changes + +* The issue tracker for this package was moved to https://github.com/ckeditor/ckeditor5/issues. See [ckeditor/ckeditor5#1988](https://github.com/ckeditor/ckeditor5/issues/1988). ([65f5d11](https://github.com/ckeditor/ckeditor5-autoformat/commit/65f5d11)) + + +## [11.0.4](https://github.com/ckeditor/ckeditor5-autoformat/compare/v11.0.3...v11.0.4) (July 10, 2019) + +Internal changes only (updated dependencies, documentation, etc.). + + +## [11.0.3](https://github.com/ckeditor/ckeditor5-autoformat/compare/v11.0.2...v11.0.3) (July 4, 2019) + +Internal changes only (updated dependencies, documentation, etc.). + + +## [11.0.2](https://github.com/ckeditor/ckeditor5-autoformat/compare/v11.0.1...v11.0.2) (June 6, 2019) + +Internal changes only (updated dependencies, documentation, etc.). + + +## [11.0.1](https://github.com/ckeditor/ckeditor5-autoformat/compare/v11.0.0...v11.0.1) (April 4, 2019) + +### Other changes + +* Any digit followed by a dot will not trigger the numbered list. Now, only `1` is supported by the `Autoformat` plugin. Closes [#60](https://github.com/ckeditor/ckeditor5-autoformat/issues/60). ([c7c4662](https://github.com/ckeditor/ckeditor5-autoformat/commit/c7c4662)) + + +## [11.0.0](https://github.com/ckeditor/ckeditor5-autoformat/compare/v10.0.4...v11.0.0) (February 28, 2019) + +### Features + +* `BlockAutoformatEditing` will not format the text if the command is disabled. `InlineAutoformatEditing` will not format the text if the callback returned `false`. Closes [#64](https://github.com/ckeditor/ckeditor5-autoformat/issues/64). ([cc7f454](https://github.com/ckeditor/ckeditor5-autoformat/commit/cc7f454)) +* Cancel `BlockAutoformatEditing` autoformatting if given callback returned `false`. Closes [#66](https://github.com/ckeditor/ckeditor5-autoformat/issues/66). ([9b066f1](https://github.com/ckeditor/ckeditor5-autoformat/commit/9b066f1)) + +### BREAKING CHANGES + +* Upgraded minimal versions of Node to `8.0.0` and npm to `5.7.1`. See: [ckeditor/ckeditor5#1507](https://github.com/ckeditor/ckeditor5/issues/1507). ([612ea3c](https://github.com/ckeditor/ckeditor5-cloud-services/commit/612ea3c)) + + +## [10.0.4](https://github.com/ckeditor/ckeditor5-autoformat/compare/v10.0.3...v10.0.4) (December 5, 2018) + +Internal changes only (updated dependencies, documentation, etc.). + + +## [10.0.3](https://github.com/ckeditor/ckeditor5-autoformat/compare/v10.0.2...v10.0.3) (October 8, 2018) + +Internal changes only (updated dependencies, documentation, etc.). + + +## [10.0.2](https://github.com/ckeditor/ckeditor5-autoformat/compare/v10.0.1...v10.0.2) (July 18, 2018) + +Internal changes only (updated dependencies, documentation, etc.). + + +## [10.0.1](https://github.com/ckeditor/ckeditor5-autoformat/compare/v10.0.0...v10.0.1) (June 21, 2018) + +Internal changes only (updated dependencies, documentation, etc.). + + +## [10.0.0](https://github.com/ckeditor/ckeditor5-autoformat/compare/v1.0.0-beta.4...v10.0.0) (April 25, 2018) + +### Other changes + +* Changed the license to GPL2+ only. See [ckeditor/ckeditor5#991](https://github.com/ckeditor/ckeditor5/issues/991). ([a9a514a](https://github.com/ckeditor/ckeditor5-autoformat/commit/a9a514a)) + +### BREAKING CHANGES + +* The license under which CKEditor 5 is released has been changed from a triple GPL, LGPL and MPL license to a GPL2+ only. See [ckeditor/ckeditor5#991](https://github.com/ckeditor/ckeditor5/issues/991) for more information. + + +## [1.0.0-beta.4](https://github.com/ckeditor/ckeditor5-autoformat/compare/v1.0.0-beta.2...v1.0.0-beta.4) (April 19, 2018) + +Internal changes only (updated dependencies, documentation, etc.). + + +## [1.0.0-beta.2](https://github.com/ckeditor/ckeditor5-autoformat/compare/v1.0.0-beta.1...v1.0.0-beta.2) (April 10, 2018) + +### Bug fixes + +* Autoformat should ignore transparent batches. Closes [#56](https://github.com/ckeditor/ckeditor5-autoformat/issues/56). ([e42f987](https://github.com/ckeditor/ckeditor5-autoformat/commit/e42f987)) + + +## [1.0.0-beta.1](https://github.com/ckeditor/ckeditor5-autoformat/compare/v1.0.0-alpha.2...v1.0.0-beta.1) (March 15, 2018) + +### Bug fixes + +* Fixed integration with undo. Closes [#53](https://github.com/ckeditor/ckeditor5-autoformat/issues/53). ([f5d68f4](https://github.com/ckeditor/ckeditor5-autoformat/commit/f5d68f4)) +* An ordered list will now be triggered by a number and `.` or `)`. Closes [#42](https://github.com/ckeditor/ckeditor5-autoformat/issues/42). ([bcc4e3b](https://github.com/ckeditor/ckeditor5-autoformat/commit/bcc4e3b)) + + Thanks to [@vladikoff](https://github.com/vladikoff)! + +### Other changes + +* Aligned feature class naming to the new scheme. ([5f5b4a9](https://github.com/ckeditor/ckeditor5-autoformat/commit/5f5b4a9)) + + +## 0.0.1 (October 27, 2017) + +Internal changes only (updated dependencies, documentation, etc.). + + +## [1.0.0-alpha.2](https://github.com/ckeditor/ckeditor5-autoformat/compare/v1.0.0-alpha.1...v1.0.0-alpha.2) (November 14, 2017) + +### Bug fixes + +* `LiveRanges` used by `InlineAutoFormatEngine` are now properly detached. Closes [#39](https://github.com/ckeditor/ckeditor5-autoformat/issues/39). ([5f24ae8](https://github.com/ckeditor/ckeditor5-autoformat/commit/5f24ae8)) + + +## [1.0.0-alpha.1](https://github.com/ckeditor/ckeditor5-autoformat/compare/v0.6.0...v1.0.0-alpha.1) (October 3, 2017) + +### Features + +* Added support for backticks which apply `` to the wrapped fragment of text. Closes [#35](https://github.com/ckeditor/ckeditor5-autoformat/issues/35). ([3e93bf6](https://github.com/ckeditor/ckeditor5-autoformat/commit/3e93bf6)) + + +## [0.6.0](https://github.com/ckeditor/ckeditor5-autoformat/compare/v0.5.1...v0.6.0) (September 3, 2017) + +### Bug fixes + +* The `Autoformat` plugin should not require other features. Closes [#5](https://github.com/ckeditor/ckeditor5-autoformat/issues/5) and [#17](https://github.com/ckeditor/ckeditor5-autoformat/issues/17). ([d22c5b6](https://github.com/ckeditor/ckeditor5-autoformat/commit/d22c5b6)) +* Autoformatting will not be triggered if the batch with changes is `transparent` (for example, it represents other user's changes). ([f1131bc](https://github.com/ckeditor/ckeditor5-autoformat/commit/f1131bc)) + +### Features + +* Added support for block quotes. Closes [#26](https://github.com/ckeditor/ckeditor5-autoformat/issues/26). ([4c1e83e](https://github.com/ckeditor/ckeditor5-autoformat/commit/4c1e83e)) + +### Other changes + +* Aligned the implementation to the new Command API (see https://github.com/ckeditor/ckeditor5-core/issues/88). ([f20ef7d](https://github.com/ckeditor/ckeditor5-autoformat/commit/f20ef7d)) +* The autoformat feature will not depend on the configuration of the heading feature but it will use the available `heading*` commands. Closes [#29](https://github.com/ckeditor/ckeditor5-autoformat/issues/29). ([d0cee1f](https://github.com/ckeditor/ckeditor5-autoformat/commit/d0cee1f)) + +### BREAKING CHANGES + +* The command API has been changed. + +### Note + +* The Autoformat feature does not require Bold, Italic, Heading, etc. any longer. To make the most of the plugin, make sure that relevant features are loaded in your editor. + + +## [0.5.1](https://github.com/ckeditor/ckeditor5-autoformat/compare/v0.5.0...v0.5.1) (May 7, 2017) + +Internal changes only (updated dependencies, documentation, etc.). + +## [0.5.0](https://github.com/ckeditor/ckeditor5-autoformat/compare/v0.4.1...v0.5.0) (April 5, 2017) + +### Features + +* Named existing plugin(s). ([e043947](https://github.com/ckeditor/ckeditor5-autoformat/commit/e043947)) + +### Other changes + +* Updated command names to match the latest API of the Heading feature. Closes [#22](https://github.com/ckeditor/ckeditor5-autoformat/issues/22). ([10b5561](https://github.com/ckeditor/ckeditor5-autoformat/commit/10b5561)) + + +## [0.4.1](https://github.com/ckeditor/ckeditor5-autoformat/compare/v0.4.0...v0.4.1) (March 6, 2017) + +### Other changes + +* Aligned the use of the `heading` command to the changes in the `ckeditor5-heading` package. Closes [#20](https://github.com/ckeditor/ckeditor5/issues/20). ([6b8b759](https://github.com/ckeditor/ckeditor5-autoformat/commit/6b8b759)) diff --git a/node_modules/@ckeditor/ckeditor5-autoformat/LICENSE.md b/node_modules/@ckeditor/ckeditor5-autoformat/LICENSE.md new file mode 100644 index 0000000..bff55b9 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-autoformat/LICENSE.md @@ -0,0 +1,17 @@ +Software License Agreement +========================== + +**CKEditor 5 autoformat feature** – https://github.com/ckeditor/ckeditor5-autoformat
+Copyright (c) 2003–2024, [CKSource Holding sp. z o.o.](https://cksource.com) All rights reserved. + +Licensed under the terms of [GNU General Public License Version 2 or later](http://www.gnu.org/licenses/gpl.html). + +Sources of Intellectual Property Included in CKEditor +----------------------------------------------------- + +Where not otherwise indicated, all CKEditor content is authored by CKSource engineers and consists of CKSource-owned intellectual property. In some specific instances, CKEditor will incorporate work done by developers outside of CKSource with their express permission. + +Trademarks +---------- + +**CKEditor** is a trademark of [CKSource Holding sp. z o.o.](https://cksource.com) All other brand and product names are trademarks, registered trademarks, or service marks of their respective holders. diff --git a/node_modules/@ckeditor/ckeditor5-autoformat/README.md b/node_modules/@ckeditor/ckeditor5-autoformat/README.md new file mode 100644 index 0000000..0647a22 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-autoformat/README.md @@ -0,0 +1,20 @@ +CKEditor 5 autoformat feature +======================================== + +[![npm version](https://badge.fury.io/js/%40ckeditor%2Fckeditor5-autoformat.svg)](https://www.npmjs.com/package/@ckeditor/ckeditor5-autoformat) +[![Coverage Status](https://coveralls.io/repos/github/ckeditor/ckeditor5/badge.svg?branch=master)](https://coveralls.io/github/ckeditor/ckeditor5?branch=master) +[![Build Status](https://travis-ci.com/ckeditor/ckeditor5.svg?branch=master)](https://app.travis-ci.com/github/ckeditor/ckeditor5) + +This package implements the autoformatting feature for CKEditor 5. It allows styling text by typing sequences like `**bold this**`. + +## Demo + +Check out the [demo in the autoformat feature guide](https://ckeditor.com/docs/ckeditor5/latest/features/autoformat.html#demo). + +## Documentation + +See the [`@ckeditor/ckeditor5-autoformat` package](https://ckeditor.com/docs/ckeditor5/latest/api/autoformat.html) page in [CKEditor 5 documentation](https://ckeditor.com/docs/ckeditor5/latest/). + +## License + +Licensed under the terms of [GNU General Public License Version 2 or later](http://www.gnu.org/licenses/gpl.html). For full details about the license, please check the `LICENSE.md` file or [https://ckeditor.com/legal/ckeditor-oss-license](https://ckeditor.com/legal/ckeditor-oss-license). diff --git a/node_modules/@ckeditor/ckeditor5-autoformat/build/autoformat.js b/node_modules/@ckeditor/ckeditor5-autoformat/build/autoformat.js new file mode 100644 index 0000000..b844494 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-autoformat/build/autoformat.js @@ -0,0 +1,5 @@ +!function(t){const e=t.en=t.en||{};e.dictionary=Object.assign(e.dictionary||{},{"Revert autoformatting action":"Revert autoformatting action"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})), +/*! + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md. + */(()=>{var t={782:(t,e,o)=>{t.exports=o(237)("./src/core.js")},783:(t,e,o)=>{t.exports=o(237)("./src/engine.js")},834:(t,e,o)=>{t.exports=o(237)("./src/typing.js")},584:(t,e,o)=>{t.exports=o(237)("./src/utils.js")},237:t=>{"use strict";t.exports=CKEditor5.dll}},e={};function o(i){var s=e[i];if(void 0!==s)return s.exports;var n=e[i]={exports:{}};return t[i](n,n.exports,o),n.exports}o.d=(t,e)=>{for(var i in e)o.o(e,i)&&!o.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},o.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),o.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var i={};(()=>{"use strict";o.r(i),o.d(i,{Autoformat:()=>c});var t=o(782),e=o(834),s=o(783),n=o(584);function r(t,e,o,i){let r,a=null;"function"==typeof i?r=i:(a=t.commands.get(i),r=()=>{t.execute(i)}),t.model.document.on("change:data",((d,c)=>{if(a&&!a.isEnabled||!e.isEnabled)return;const l=(0,n.first)(t.model.document.selection.getRanges());if(!l.isCollapsed)return;if(c.isUndo||!c.isLocal)return;const u=Array.from(t.model.document.differ.getChanges()),g=u[0];if(1!=u.length||"insert"!==g.type||"$text"!=g.name||1!=g.length)return;const h=g.position.parent;if(h.is("element","codeBlock"))return;if(h.is("element","listItem")&&"function"!=typeof i&&!["numberedList","bulletedList","todoList"].includes(i))return;if(a&&!0===a.value)return;const m=h.getChild(0),f=t.model.createRangeOn(m);if(!f.containsRange(l)&&!l.end.isEqual(f.end))return;const p=o.exec(m.data.substr(0,l.end.offset));p&&t.model.enqueueChange((e=>{const o=e.createPositionAt(h,0),i=e.createPositionAt(h,p[0].length),n=new s.LiveRange(o,i);if(!1!==r({match:p})){e.remove(n);const o=t.model.document.selection.getFirstRange(),i=e.createRangeIn(h);!h.isEmpty||i.isEqual(o)||i.containsRange(o,!0)||e.remove(h)}n.detach(),t.model.enqueueChange((()=>{t.plugins.get("Delete").requestUndoOnBackspace()}))}))}))}function a(t,e,o,i){let s,n;o instanceof RegExp?s=o:n=o,n=n||(t=>{let e;const o=[],i=[];for(;null!==(e=s.exec(t))&&!(e&&e.length<4);){let{index:t,1:s,2:n,3:r}=e;const a=s+n+r;t+=e[0].length-a.length;const d=[t,t+s.length],c=[t+s.length+n.length,t+s.length+n.length+r.length];o.push(d),o.push(c),i.push([t+s.length,t+s.length+n.length])}return{remove:o,format:i}}),t.model.document.on("change:data",((o,s)=>{if(s.isUndo||!s.isLocal||!e.isEnabled)return;const r=t.model,a=r.document.selection;if(!a.isCollapsed)return;const c=Array.from(r.document.differ.getChanges()),l=c[0];if(1!=c.length||"insert"!==l.type||"$text"!=l.name||1!=l.length)return;const u=a.focus,g=u.parent,{text:h,range:m}=function(t,e){let o=t.start;const i=Array.from(t.getItems()).reduce(((t,i)=>!i.is("$text")&&!i.is("$textProxy")||i.getAttribute("code")?(o=e.createPositionAfter(i),""):t+i.data),"");return{text:i,range:e.createRange(o,t.end)}}(r.createRange(r.createPositionAt(g,0),u),r),f=n(h),p=d(m.start,f.format,r),b=d(m.start,f.remove,r);p.length&&b.length&&r.enqueueChange((e=>{if(!1!==i(e,p)){for(const t of b.reverse())e.remove(t);r.enqueueChange((()=>{t.plugins.get("Delete").requestUndoOnBackspace()}))}}))}))}function d(t,e,o){return e.filter((t=>void 0!==t[0]&&void 0!==t[1])).map((e=>o.createRange(t.getShiftedBy(e[0]),t.getShiftedBy(e[1]))))}class c extends t.Plugin{static get requires(){return[e.Delete]}static get pluginName(){return"Autoformat"}afterInit(){const t=this.editor,e=this.editor.t;this._addListAutoformats(),this._addBasicStylesAutoformats(),this._addHeadingAutoformats(),this._addBlockQuoteAutoformats(),this._addCodeBlockAutoformats(),this._addHorizontalLineAutoformats(),t.accessibility.addKeystrokeInfos({keystrokes:[{label:e("Revert autoformatting action"),keystroke:"Backspace"}]})}_addListAutoformats(){const t=this.editor.commands;t.get("bulletedList")&&r(this.editor,this,/^[*-]\s$/,"bulletedList"),t.get("numberedList")&&r(this.editor,this,/^1[.|)]\s$/,"numberedList"),t.get("todoList")&&r(this.editor,this,/^\[\s?\]\s$/,"todoList"),t.get("checkTodoList")&&r(this.editor,this,/^\[\s?x\s?\]\s$/,(()=>{this.editor.execute("todoList"),this.editor.execute("checkTodoList")}))}_addBasicStylesAutoformats(){const t=this.editor.commands;if(t.get("bold")){const t=l(this.editor,"bold");a(this.editor,this,/(?:^|\s)(\*\*)([^*]+)(\*\*)$/g,t),a(this.editor,this,/(?:^|\s)(__)([^_]+)(__)$/g,t)}if(t.get("italic")){const t=l(this.editor,"italic");a(this.editor,this,/(?:^|\s)(\*)([^*_]+)(\*)$/g,t),a(this.editor,this,/(?:^|\s)(_)([^_]+)(_)$/g,t)}if(t.get("code")){const t=l(this.editor,"code");a(this.editor,this,/(`)([^`]+)(`)$/g,t)}if(t.get("strikethrough")){const t=l(this.editor,"strikethrough");a(this.editor,this,/(~~)([^~]+)(~~)$/g,t)}}_addHeadingAutoformats(){const t=this.editor.commands.get("heading");t&&t.modelElements.filter((t=>t.match(/^heading[1-6]$/))).forEach((e=>{const o=e[7],i=new RegExp(`^(#{${o}})\\s$`);r(this.editor,this,i,(()=>{if(!t.isEnabled||t.value===e)return!1;this.editor.execute("heading",{value:e})}))}))}_addBlockQuoteAutoformats(){this.editor.commands.get("blockQuote")&&r(this.editor,this,/^>\s$/,"blockQuote")}_addCodeBlockAutoformats(){const t=this.editor,e=t.model.document.selection;t.commands.get("codeBlock")&&r(t,this,/^```$/,(()=>{if(e.getFirstPosition().parent.is("element","listItem"))return!1;this.editor.execute("codeBlock",{usePreviousLanguageChoice:!0})}))}_addHorizontalLineAutoformats(){this.editor.commands.get("horizontalLine")&&r(this.editor,this,/^---$/,"horizontalLine")}}function l(t,e){return(o,i)=>{if(!t.commands.get(e).isEnabled)return!1;const s=t.model.schema.getValidRanges(i,e);for(const t of s)o.setAttribute(e,!0,t);o.removeSelectionAttribute(e)}}})(),(window.CKEditor5=window.CKEditor5||{}).autoformat=i})(); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-autoformat/build/translations/ar.js b/node_modules/@ckeditor/ckeditor5-autoformat/build/translations/ar.js new file mode 100644 index 0000000..2f91e43 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-autoformat/build/translations/ar.js @@ -0,0 +1 @@ +!function(i){const n=i.ar=i.ar||{};n.dictionary=Object.assign(n.dictionary||{},{"Revert autoformatting action":"العودة إلى إجراء التنسيق التلقائي"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-autoformat/build/translations/bg.js b/node_modules/@ckeditor/ckeditor5-autoformat/build/translations/bg.js new file mode 100644 index 0000000..d5a496e --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-autoformat/build/translations/bg.js @@ -0,0 +1 @@ +!function(i){const n=i.bg=i.bg||{};n.dictionary=Object.assign(n.dictionary||{},{"Revert autoformatting action":"Отмяна на действие за автоматично форматиране"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-autoformat/build/translations/bn.js b/node_modules/@ckeditor/ckeditor5-autoformat/build/translations/bn.js new file mode 100644 index 0000000..bca515e --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-autoformat/build/translations/bn.js @@ -0,0 +1 @@ +!function(n){const i=n.bn=n.bn||{};i.dictionary=Object.assign(i.dictionary||{},{"Revert autoformatting action":"অটো ফরম্যাটিংয়ের কাজটি পূর্বাবস্থায় ফিরিয়ে আনুন"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-autoformat/build/translations/ca.js b/node_modules/@ckeditor/ckeditor5-autoformat/build/translations/ca.js new file mode 100644 index 0000000..4dc0f52 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-autoformat/build/translations/ca.js @@ -0,0 +1 @@ +!function(a){const i=a.ca=a.ca||{};i.dictionary=Object.assign(i.dictionary||{},{"Revert autoformatting action":"Desfés l'acció d'autoformatació"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-autoformat/build/translations/cs.js b/node_modules/@ckeditor/ckeditor5-autoformat/build/translations/cs.js new file mode 100644 index 0000000..6805882 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-autoformat/build/translations/cs.js @@ -0,0 +1 @@ +!function(t){const o=t.cs=t.cs||{};o.dictionary=Object.assign(o.dictionary||{},{"Revert autoformatting action":"Vzít zpět akci automatického formátování"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-autoformat/build/translations/da.js b/node_modules/@ckeditor/ckeditor5-autoformat/build/translations/da.js new file mode 100644 index 0000000..8e8245d --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-autoformat/build/translations/da.js @@ -0,0 +1 @@ +!function(t){const o=t.da=t.da||{};o.dictionary=Object.assign(o.dictionary||{},{"Revert autoformatting action":"Fortryd autoformatering"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-autoformat/build/translations/de.js b/node_modules/@ckeditor/ckeditor5-autoformat/build/translations/de.js new file mode 100644 index 0000000..0d1dda9 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-autoformat/build/translations/de.js @@ -0,0 +1 @@ +!function(n){const i=n.de=n.de||{};i.dictionary=Object.assign(i.dictionary||{},{"Revert autoformatting action":"Automatischen Formatierungsvorgang rückgängig machen"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-autoformat/build/translations/el.js b/node_modules/@ckeditor/ckeditor5-autoformat/build/translations/el.js new file mode 100644 index 0000000..69f8b67 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-autoformat/build/translations/el.js @@ -0,0 +1 @@ +!function(i){const n=i.el=i.el||{};n.dictionary=Object.assign(n.dictionary||{},{"Revert autoformatting action":"Επαναφορά ενέργειας αυτόματης μορφοποίησης"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-autoformat/build/translations/es-co.js b/node_modules/@ckeditor/ckeditor5-autoformat/build/translations/es-co.js new file mode 100644 index 0000000..ab2bd58 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-autoformat/build/translations/es-co.js @@ -0,0 +1 @@ +!function(o){const t=o["es-co"]=o["es-co"]||{};t.dictionary=Object.assign(t.dictionary||{},{"Revert autoformatting action":"Revertir la acción de formato automático"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-autoformat/build/translations/es.js b/node_modules/@ckeditor/ckeditor5-autoformat/build/translations/es.js new file mode 100644 index 0000000..d7dfca8 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-autoformat/build/translations/es.js @@ -0,0 +1 @@ +!function(t){const i=t.es=t.es||{};i.dictionary=Object.assign(i.dictionary||{},{"Revert autoformatting action":"Revierte la acción de formato automático"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-autoformat/build/translations/et.js b/node_modules/@ckeditor/ckeditor5-autoformat/build/translations/et.js new file mode 100644 index 0000000..a2eaea5 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-autoformat/build/translations/et.js @@ -0,0 +1 @@ +!function(t){const i=t.et=t.et||{};i.dictionary=Object.assign(i.dictionary||{},{"Revert autoformatting action":"Kustuta automaatse vorminduse toiming"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-autoformat/build/translations/fi.js b/node_modules/@ckeditor/ckeditor5-autoformat/build/translations/fi.js new file mode 100644 index 0000000..9e3c4dd --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-autoformat/build/translations/fi.js @@ -0,0 +1 @@ +!function(t){const i=t.fi=t.fi||{};i.dictionary=Object.assign(i.dictionary||{},{"Revert autoformatting action":"Peruuta automaattimuokkaus"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-autoformat/build/translations/fr.js b/node_modules/@ckeditor/ckeditor5-autoformat/build/translations/fr.js new file mode 100644 index 0000000..1b072b3 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-autoformat/build/translations/fr.js @@ -0,0 +1 @@ +!function(t){const n=t.fr=t.fr||{};n.dictionary=Object.assign(n.dictionary||{},{"Revert autoformatting action":"Annuler l'action de formatage automatique"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-autoformat/build/translations/he.js b/node_modules/@ckeditor/ckeditor5-autoformat/build/translations/he.js new file mode 100644 index 0000000..5ebd401 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-autoformat/build/translations/he.js @@ -0,0 +1 @@ +!function(i){const n=i.he=i.he||{};n.dictionary=Object.assign(n.dictionary||{},{"Revert autoformatting action":"ביטול פעולת העיצוב האוטומטי"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-autoformat/build/translations/hi.js b/node_modules/@ckeditor/ckeditor5-autoformat/build/translations/hi.js new file mode 100644 index 0000000..267e5c8 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-autoformat/build/translations/hi.js @@ -0,0 +1 @@ +!function(i){const n=i.hi=i.hi||{};n.dictionary=Object.assign(n.dictionary||{},{"Revert autoformatting action":"ऑटोफ़ॉर्मैटिंग एक्शन को रिवर्ट करें"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-autoformat/build/translations/hr.js b/node_modules/@ckeditor/ckeditor5-autoformat/build/translations/hr.js new file mode 100644 index 0000000..49007d0 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-autoformat/build/translations/hr.js @@ -0,0 +1 @@ +!function(t){const a=t.hr=t.hr||{};a.dictionary=Object.assign(a.dictionary||{},{"Revert autoformatting action":"Vrati radnju automatskog formatiranja"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-autoformat/build/translations/hu.js b/node_modules/@ckeditor/ckeditor5-autoformat/build/translations/hu.js new file mode 100644 index 0000000..71a6406 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-autoformat/build/translations/hu.js @@ -0,0 +1 @@ +!function(t){const i=t.hu=t.hu||{};i.dictionary=Object.assign(i.dictionary||{},{"Revert autoformatting action":"Automatikus formázási művelet visszaállítása"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-autoformat/build/translations/id.js b/node_modules/@ckeditor/ckeditor5-autoformat/build/translations/id.js new file mode 100644 index 0000000..3b3c510 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-autoformat/build/translations/id.js @@ -0,0 +1 @@ +!function(i){const n=i.id=i.id||{};n.dictionary=Object.assign(n.dictionary||{},{"Revert autoformatting action":"Kembalikan tindakan pemformatan otomatis"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-autoformat/build/translations/it.js b/node_modules/@ckeditor/ckeditor5-autoformat/build/translations/it.js new file mode 100644 index 0000000..c8c2003 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-autoformat/build/translations/it.js @@ -0,0 +1 @@ +!function(i){const t=i.it=i.it||{};t.dictionary=Object.assign(t.dictionary||{},{"Revert autoformatting action":"Annulla l'azione di formattazione automatica"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-autoformat/build/translations/ja.js b/node_modules/@ckeditor/ckeditor5-autoformat/build/translations/ja.js new file mode 100644 index 0000000..4efe30f --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-autoformat/build/translations/ja.js @@ -0,0 +1 @@ +!function(i){const n=i.ja=i.ja||{};n.dictionary=Object.assign(n.dictionary||{},{"Revert autoformatting action":"オートフォーマットによる変更を元に戻す"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-autoformat/build/translations/ko.js b/node_modules/@ckeditor/ckeditor5-autoformat/build/translations/ko.js new file mode 100644 index 0000000..a7da419 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-autoformat/build/translations/ko.js @@ -0,0 +1 @@ +!function(o){const i=o.ko=o.ko||{};i.dictionary=Object.assign(i.dictionary||{},{"Revert autoformatting action":"자동 서식 작업 되돌리기"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-autoformat/build/translations/lt.js b/node_modules/@ckeditor/ckeditor5-autoformat/build/translations/lt.js new file mode 100644 index 0000000..68ce823 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-autoformat/build/translations/lt.js @@ -0,0 +1 @@ +!function(i){const t=i.lt=i.lt||{};t.dictionary=Object.assign(t.dictionary||{},{"Revert autoformatting action":"Sugrąžinti automatinio formatavimo veiksmą"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-autoformat/build/translations/lv.js b/node_modules/@ckeditor/ckeditor5-autoformat/build/translations/lv.js new file mode 100644 index 0000000..324eaef --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-autoformat/build/translations/lv.js @@ -0,0 +1 @@ +!function(t){const a=t.lv=t.lv||{};a.dictionary=Object.assign(a.dictionary||{},{"Revert autoformatting action":"Atjaunot automātiskās formatēšanas darbību"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-autoformat/build/translations/ms.js b/node_modules/@ckeditor/ckeditor5-autoformat/build/translations/ms.js new file mode 100644 index 0000000..cf90a21 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-autoformat/build/translations/ms.js @@ -0,0 +1 @@ +!function(n){const t=n.ms=n.ms||{};t.dictionary=Object.assign(t.dictionary||{},{"Revert autoformatting action":"Pulihkan tindakan pemformatan automatik"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-autoformat/build/translations/nl.js b/node_modules/@ckeditor/ckeditor5-autoformat/build/translations/nl.js new file mode 100644 index 0000000..fc8ccc4 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-autoformat/build/translations/nl.js @@ -0,0 +1 @@ +!function(n){const t=n.nl=n.nl||{};t.dictionary=Object.assign(t.dictionary||{},{"Revert autoformatting action":"Maak automatisch formattering ongedaan"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-autoformat/build/translations/no.js b/node_modules/@ckeditor/ckeditor5-autoformat/build/translations/no.js new file mode 100644 index 0000000..fcdee70 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-autoformat/build/translations/no.js @@ -0,0 +1 @@ +!function(n){const o=n.no=n.no||{};o.dictionary=Object.assign(o.dictionary||{},{"Revert autoformatting action":"Angre autoformatering"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-autoformat/build/translations/pl.js b/node_modules/@ckeditor/ckeditor5-autoformat/build/translations/pl.js new file mode 100644 index 0000000..a70b696 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-autoformat/build/translations/pl.js @@ -0,0 +1 @@ +!function(o){const t=o.pl=o.pl||{};t.dictionary=Object.assign(t.dictionary||{},{"Revert autoformatting action":"Cofa automatyczne formatowanie"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-autoformat/build/translations/pt-br.js b/node_modules/@ckeditor/ckeditor5-autoformat/build/translations/pt-br.js new file mode 100644 index 0000000..93708cf --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-autoformat/build/translations/pt-br.js @@ -0,0 +1 @@ +!function(t){const o=t["pt-br"]=t["pt-br"]||{};o.dictionary=Object.assign(o.dictionary||{},{"Revert autoformatting action":"Reverter ação de autoformatação"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-autoformat/build/translations/pt.js b/node_modules/@ckeditor/ckeditor5-autoformat/build/translations/pt.js new file mode 100644 index 0000000..85424ec --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-autoformat/build/translations/pt.js @@ -0,0 +1 @@ +!function(t){const o=t.pt=t.pt||{};o.dictionary=Object.assign(o.dictionary||{},{"Revert autoformatting action":"Reverter ação de formatação automática"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-autoformat/build/translations/ro.js b/node_modules/@ckeditor/ckeditor5-autoformat/build/translations/ro.js new file mode 100644 index 0000000..d23717a --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-autoformat/build/translations/ro.js @@ -0,0 +1 @@ +!function(a){const o=a.ro=a.ro||{};o.dictionary=Object.assign(o.dictionary||{},{"Revert autoformatting action":"Anulează acțiunea de formatare automată"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-autoformat/build/translations/ru.js b/node_modules/@ckeditor/ckeditor5-autoformat/build/translations/ru.js new file mode 100644 index 0000000..f89e8ab --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-autoformat/build/translations/ru.js @@ -0,0 +1 @@ +!function(i){const n=i.ru=i.ru||{};n.dictionary=Object.assign(n.dictionary||{},{"Revert autoformatting action":"Отменить действие автоформатирования"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-autoformat/build/translations/sk.js b/node_modules/@ckeditor/ckeditor5-autoformat/build/translations/sk.js new file mode 100644 index 0000000..9c5eff7 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-autoformat/build/translations/sk.js @@ -0,0 +1 @@ +!function(t){const i=t.sk=t.sk||{};i.dictionary=Object.assign(i.dictionary||{},{"Revert autoformatting action":"Vrátiť späť automatické formátovanie"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-autoformat/build/translations/sr.js b/node_modules/@ckeditor/ckeditor5-autoformat/build/translations/sr.js new file mode 100644 index 0000000..0100756 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-autoformat/build/translations/sr.js @@ -0,0 +1 @@ +!function(t){const a=t.sr=t.sr||{};a.dictionary=Object.assign(a.dictionary||{},{"Revert autoformatting action":"Vrati na automatsko formatiranje"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-autoformat/build/translations/sv.js b/node_modules/@ckeditor/ckeditor5-autoformat/build/translations/sv.js new file mode 100644 index 0000000..060d7c8 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-autoformat/build/translations/sv.js @@ -0,0 +1 @@ +!function(t){const i=t.sv=t.sv||{};i.dictionary=Object.assign(i.dictionary||{},{"Revert autoformatting action":"Ångra automatisk formatering"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-autoformat/build/translations/th.js b/node_modules/@ckeditor/ckeditor5-autoformat/build/translations/th.js new file mode 100644 index 0000000..15f6ce5 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-autoformat/build/translations/th.js @@ -0,0 +1 @@ +!function(t){const i=t.th=t.th||{};i.dictionary=Object.assign(i.dictionary||{},{"Revert autoformatting action":"ยกเลิกการดำเนินการจัดรูปแบบอัตโนมัติ"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-autoformat/build/translations/tr.js b/node_modules/@ckeditor/ckeditor5-autoformat/build/translations/tr.js new file mode 100644 index 0000000..5df18e5 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-autoformat/build/translations/tr.js @@ -0,0 +1 @@ +!function(i){const t=i.tr=i.tr||{};t.dictionary=Object.assign(t.dictionary||{},{"Revert autoformatting action":"Otomatik biçimlendirme işlemini geri al"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-autoformat/build/translations/uk.js b/node_modules/@ckeditor/ckeditor5-autoformat/build/translations/uk.js new file mode 100644 index 0000000..c528d09 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-autoformat/build/translations/uk.js @@ -0,0 +1 @@ +!function(i){const n=i.uk=i.uk||{};n.dictionary=Object.assign(n.dictionary||{},{"Revert autoformatting action":"Скасувати дію автоформатування"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-autoformat/build/translations/vi.js b/node_modules/@ckeditor/ckeditor5-autoformat/build/translations/vi.js new file mode 100644 index 0000000..2a7a577 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-autoformat/build/translations/vi.js @@ -0,0 +1 @@ +!function(n){const t=n.vi=n.vi||{};t.dictionary=Object.assign(t.dictionary||{},{"Revert autoformatting action":"Hoàn nguyên thao tác tự động định dạng"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-autoformat/build/translations/zh-cn.js b/node_modules/@ckeditor/ckeditor5-autoformat/build/translations/zh-cn.js new file mode 100644 index 0000000..5dd5372 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-autoformat/build/translations/zh-cn.js @@ -0,0 +1 @@ +!function(n){const i=n["zh-cn"]=n["zh-cn"]||{};i.dictionary=Object.assign(i.dictionary||{},{"Revert autoformatting action":"恢复自动格式化操作"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-autoformat/build/translations/zh.js b/node_modules/@ckeditor/ckeditor5-autoformat/build/translations/zh.js new file mode 100644 index 0000000..9e6d088 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-autoformat/build/translations/zh.js @@ -0,0 +1 @@ +!function(i){const n=i.zh=i.zh||{};n.dictionary=Object.assign(n.dictionary||{},{"Revert autoformatting action":"復原自動格式化操作"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-autoformat/ckeditor5-metadata.json b/node_modules/@ckeditor/ckeditor5-autoformat/ckeditor5-metadata.json new file mode 100644 index 0000000..73fa5b5 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-autoformat/ckeditor5-metadata.json @@ -0,0 +1,11 @@ +{ + "plugins": [ + { + "name": "Autoformat", + "className": "Autoformat", + "description": "Enables a set of predefined autoformatting actions. It allows for formatting text by typing sequences like **bold this**.", + "docs": "features/autoformat.html", + "path": "src/autoformat.js" + } + ] +} diff --git a/node_modules/@ckeditor/ckeditor5-autoformat/lang/contexts.json b/node_modules/@ckeditor/ckeditor5-autoformat/lang/contexts.json new file mode 100644 index 0000000..011e968 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-autoformat/lang/contexts.json @@ -0,0 +1,3 @@ +{ + "Revert autoformatting action": "Keystroke description for assistive technologies: keystroke for reverting autoformatting action." +} diff --git a/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/ar.po b/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/ar.po new file mode 100644 index 0000000..d6d565c --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/ar.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Arabic (https://app.transifex.com/ckeditor/teams/11143/ar/)\n" +"Language: ar\n" +"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Keystroke description for assistive technologies: keystroke for reverting autoformatting action." +msgid "Revert autoformatting action" +msgstr "العودة إلى إجراء التنسيق التلقائي" diff --git a/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/bg.po b/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/bg.po new file mode 100644 index 0000000..fb0992f --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/bg.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Bulgarian (https://app.transifex.com/ckeditor/teams/11143/bg/)\n" +"Language: bg\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Keystroke description for assistive technologies: keystroke for reverting autoformatting action." +msgid "Revert autoformatting action" +msgstr "Отмяна на действие за автоматично форматиране" diff --git a/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/bn.po b/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/bn.po new file mode 100644 index 0000000..d5523b4 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/bn.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Bengali (https://app.transifex.com/ckeditor/teams/11143/bn/)\n" +"Language: bn\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Keystroke description for assistive technologies: keystroke for reverting autoformatting action." +msgid "Revert autoformatting action" +msgstr "অটো ফরম্যাটিংয়ের কাজটি পূর্বাবস্থায় ফিরিয়ে আনুন" diff --git a/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/ca.po b/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/ca.po new file mode 100644 index 0000000..e6eadb8 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/ca.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Catalan (https://app.transifex.com/ckeditor/teams/11143/ca/)\n" +"Language: ca\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Keystroke description for assistive technologies: keystroke for reverting autoformatting action." +msgid "Revert autoformatting action" +msgstr "Desfés l'acció d'autoformatació" diff --git a/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/cs.po b/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/cs.po new file mode 100644 index 0000000..ae2897a --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/cs.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Czech (https://app.transifex.com/ckeditor/teams/11143/cs/)\n" +"Language: cs\n" +"Plural-Forms: nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n >= 2 && n <= 4 && n % 1 == 0) ? 1: (n % 1 != 0 ) ? 2 : 3;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Keystroke description for assistive technologies: keystroke for reverting autoformatting action." +msgid "Revert autoformatting action" +msgstr "Vzít zpět akci automatického formátování" diff --git a/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/da.po b/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/da.po new file mode 100644 index 0000000..6f06dcd --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/da.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Danish (https://app.transifex.com/ckeditor/teams/11143/da/)\n" +"Language: da\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Keystroke description for assistive technologies: keystroke for reverting autoformatting action." +msgid "Revert autoformatting action" +msgstr "Fortryd autoformatering" diff --git a/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/de.po b/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/de.po new file mode 100644 index 0000000..5f3cee6 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/de.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: German (https://app.transifex.com/ckeditor/teams/11143/de/)\n" +"Language: de\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Keystroke description for assistive technologies: keystroke for reverting autoformatting action." +msgid "Revert autoformatting action" +msgstr "Automatischen Formatierungsvorgang rückgängig machen" diff --git a/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/el.po b/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/el.po new file mode 100644 index 0000000..5bc38ad --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/el.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Greek (https://app.transifex.com/ckeditor/teams/11143/el/)\n" +"Language: el\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Keystroke description for assistive technologies: keystroke for reverting autoformatting action." +msgid "Revert autoformatting action" +msgstr "Επαναφορά ενέργειας αυτόματης μορφοποίησης" diff --git a/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/en.po b/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/en.po new file mode 100644 index 0000000..f55f63f --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/en.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language: \n" +"Language-Team: \n" +"Plural-Forms: \n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Keystroke description for assistive technologies: keystroke for reverting autoformatting action." +msgid "Revert autoformatting action" +msgstr "Revert autoformatting action" diff --git a/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/es-co.po b/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/es-co.po new file mode 100644 index 0000000..ebbaf65 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/es-co.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Spanish (Colombia) (https://app.transifex.com/ckeditor/teams/11143/es_CO/)\n" +"Language: es_CO\n" +"Plural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Keystroke description for assistive technologies: keystroke for reverting autoformatting action." +msgid "Revert autoformatting action" +msgstr "Revertir la acción de formato automático" diff --git a/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/es.po b/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/es.po new file mode 100644 index 0000000..313160b --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/es.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Spanish (https://app.transifex.com/ckeditor/teams/11143/es/)\n" +"Language: es\n" +"Plural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Keystroke description for assistive technologies: keystroke for reverting autoformatting action." +msgid "Revert autoformatting action" +msgstr "Revierte la acción de formato automático" diff --git a/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/et.po b/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/et.po new file mode 100644 index 0000000..2b34a02 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/et.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Estonian (https://app.transifex.com/ckeditor/teams/11143/et/)\n" +"Language: et\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Keystroke description for assistive technologies: keystroke for reverting autoformatting action." +msgid "Revert autoformatting action" +msgstr "Kustuta automaatse vorminduse toiming" diff --git a/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/fi.po b/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/fi.po new file mode 100644 index 0000000..61f0fad --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/fi.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Finnish (https://app.transifex.com/ckeditor/teams/11143/fi/)\n" +"Language: fi\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Keystroke description for assistive technologies: keystroke for reverting autoformatting action." +msgid "Revert autoformatting action" +msgstr "Peruuta automaattimuokkaus" diff --git a/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/fr.po b/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/fr.po new file mode 100644 index 0000000..b0845d1 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/fr.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: French (https://app.transifex.com/ckeditor/teams/11143/fr/)\n" +"Language: fr\n" +"Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Keystroke description for assistive technologies: keystroke for reverting autoformatting action." +msgid "Revert autoformatting action" +msgstr "Annuler l'action de formatage automatique" diff --git a/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/he.po b/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/he.po new file mode 100644 index 0000000..67bacb3 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/he.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Hebrew (https://app.transifex.com/ckeditor/teams/11143/he/)\n" +"Language: he\n" +"Plural-Forms: nplurals=3; plural=(n == 1 && n % 1 == 0) ? 0 : (n == 2 && n % 1 == 0) ? 1: 2;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Keystroke description for assistive technologies: keystroke for reverting autoformatting action." +msgid "Revert autoformatting action" +msgstr "ביטול פעולת העיצוב האוטומטי" diff --git a/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/hi.po b/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/hi.po new file mode 100644 index 0000000..48ae026 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/hi.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Hindi (https://app.transifex.com/ckeditor/teams/11143/hi/)\n" +"Language: hi\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Keystroke description for assistive technologies: keystroke for reverting autoformatting action." +msgid "Revert autoformatting action" +msgstr "ऑटोफ़ॉर्मैटिंग एक्शन को रिवर्ट करें" diff --git a/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/hr.po b/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/hr.po new file mode 100644 index 0000000..64c2e62 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/hr.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Croatian (https://app.transifex.com/ckeditor/teams/11143/hr/)\n" +"Language: hr\n" +"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Keystroke description for assistive technologies: keystroke for reverting autoformatting action." +msgid "Revert autoformatting action" +msgstr "Vrati radnju automatskog formatiranja" diff --git a/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/hu.po b/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/hu.po new file mode 100644 index 0000000..8de2875 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/hu.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Hungarian (https://app.transifex.com/ckeditor/teams/11143/hu/)\n" +"Language: hu\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Keystroke description for assistive technologies: keystroke for reverting autoformatting action." +msgid "Revert autoformatting action" +msgstr "Automatikus formázási művelet visszaállítása" diff --git a/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/id.po b/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/id.po new file mode 100644 index 0000000..1100f4f --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/id.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Indonesian (https://app.transifex.com/ckeditor/teams/11143/id/)\n" +"Language: id\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Keystroke description for assistive technologies: keystroke for reverting autoformatting action." +msgid "Revert autoformatting action" +msgstr "Kembalikan tindakan pemformatan otomatis" diff --git a/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/it.po b/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/it.po new file mode 100644 index 0000000..ead0b51 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/it.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Italian (https://app.transifex.com/ckeditor/teams/11143/it/)\n" +"Language: it\n" +"Plural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Keystroke description for assistive technologies: keystroke for reverting autoformatting action." +msgid "Revert autoformatting action" +msgstr "Annulla l'azione di formattazione automatica" diff --git a/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/ja.po b/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/ja.po new file mode 100644 index 0000000..b60b4de --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/ja.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Japanese (https://app.transifex.com/ckeditor/teams/11143/ja/)\n" +"Language: ja\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Keystroke description for assistive technologies: keystroke for reverting autoformatting action." +msgid "Revert autoformatting action" +msgstr "オートフォーマットによる変更を元に戻す" diff --git a/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/ko.po b/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/ko.po new file mode 100644 index 0000000..fa4dfa0 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/ko.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Korean (https://app.transifex.com/ckeditor/teams/11143/ko/)\n" +"Language: ko\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Keystroke description for assistive technologies: keystroke for reverting autoformatting action." +msgid "Revert autoformatting action" +msgstr "자동 서식 작업 되돌리기" diff --git a/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/lt.po b/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/lt.po new file mode 100644 index 0000000..2c031b7 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/lt.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Lithuanian (https://app.transifex.com/ckeditor/teams/11143/lt/)\n" +"Language: lt\n" +"Plural-Forms: nplurals=4; plural=(n % 10 == 1 && (n % 100 > 19 || n % 100 < 11) ? 0 : (n % 10 >= 2 && n % 10 <=9) && (n % 100 > 19 || n % 100 < 11) ? 1 : n % 1 != 0 ? 2: 3);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Keystroke description for assistive technologies: keystroke for reverting autoformatting action." +msgid "Revert autoformatting action" +msgstr "Sugrąžinti automatinio formatavimo veiksmą" diff --git a/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/lv.po b/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/lv.po new file mode 100644 index 0000000..81e1e58 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/lv.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Latvian (https://app.transifex.com/ckeditor/teams/11143/lv/)\n" +"Language: lv\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : 2);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Keystroke description for assistive technologies: keystroke for reverting autoformatting action." +msgid "Revert autoformatting action" +msgstr "Atjaunot automātiskās formatēšanas darbību" diff --git a/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/ms.po b/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/ms.po new file mode 100644 index 0000000..219dade --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/ms.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Malay (https://app.transifex.com/ckeditor/teams/11143/ms/)\n" +"Language: ms\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Keystroke description for assistive technologies: keystroke for reverting autoformatting action." +msgid "Revert autoformatting action" +msgstr "Pulihkan tindakan pemformatan automatik" diff --git a/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/nl.po b/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/nl.po new file mode 100644 index 0000000..4261ef0 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/nl.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Dutch (https://app.transifex.com/ckeditor/teams/11143/nl/)\n" +"Language: nl\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Keystroke description for assistive technologies: keystroke for reverting autoformatting action." +msgid "Revert autoformatting action" +msgstr "Maak automatisch formattering ongedaan" diff --git a/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/no.po b/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/no.po new file mode 100644 index 0000000..c34a9df --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/no.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Norwegian (https://app.transifex.com/ckeditor/teams/11143/no/)\n" +"Language: no\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Keystroke description for assistive technologies: keystroke for reverting autoformatting action." +msgid "Revert autoformatting action" +msgstr "Angre autoformatering" diff --git a/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/pl.po b/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/pl.po new file mode 100644 index 0000000..840f3ec --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/pl.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Polish (https://app.transifex.com/ckeditor/teams/11143/pl/)\n" +"Language: pl\n" +"Plural-Forms: nplurals=4; plural=(n==1 ? 0 : (n%10>=2 && n%10<=4) && (n%100<12 || n%100>14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && n%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Keystroke description for assistive technologies: keystroke for reverting autoformatting action." +msgid "Revert autoformatting action" +msgstr "Cofa automatyczne formatowanie" diff --git a/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/pt-br.po b/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/pt-br.po new file mode 100644 index 0000000..ea5a231 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/pt-br.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Portuguese (Brazil) (https://app.transifex.com/ckeditor/teams/11143/pt_BR/)\n" +"Language: pt_BR\n" +"Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Keystroke description for assistive technologies: keystroke for reverting autoformatting action." +msgid "Revert autoformatting action" +msgstr "Reverter ação de autoformatação" diff --git a/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/pt.po b/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/pt.po new file mode 100644 index 0000000..5310974 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/pt.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Portuguese (https://app.transifex.com/ckeditor/teams/11143/pt/)\n" +"Language: pt\n" +"Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Keystroke description for assistive technologies: keystroke for reverting autoformatting action." +msgid "Revert autoformatting action" +msgstr "Reverter ação de formatação automática" diff --git a/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/ro.po b/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/ro.po new file mode 100644 index 0000000..4f29df7 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/ro.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Romanian (https://app.transifex.com/ckeditor/teams/11143/ro/)\n" +"Language: ro\n" +"Plural-Forms: nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?2:1));\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Keystroke description for assistive technologies: keystroke for reverting autoformatting action." +msgid "Revert autoformatting action" +msgstr "Anulează acțiunea de formatare automată" diff --git a/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/ru.po b/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/ru.po new file mode 100644 index 0000000..52f9fe0 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/ru.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Russian (https://app.transifex.com/ckeditor/teams/11143/ru/)\n" +"Language: ru\n" +"Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Keystroke description for assistive technologies: keystroke for reverting autoformatting action." +msgid "Revert autoformatting action" +msgstr "Отменить действие автоформатирования" diff --git a/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/sk.po b/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/sk.po new file mode 100644 index 0000000..361b733 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/sk.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Slovak (https://app.transifex.com/ckeditor/teams/11143/sk/)\n" +"Language: sk\n" +"Plural-Forms: nplurals=4; plural=(n % 1 == 0 && n == 1 ? 0 : n % 1 == 0 && n >= 2 && n <= 4 ? 1 : n % 1 != 0 ? 2: 3);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Keystroke description for assistive technologies: keystroke for reverting autoformatting action." +msgid "Revert autoformatting action" +msgstr "Vrátiť späť automatické formátovanie" diff --git a/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/sr.po b/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/sr.po new file mode 100644 index 0000000..da5258e --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/sr.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Serbian (https://app.transifex.com/ckeditor/teams/11143/sr/)\n" +"Language: sr\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Keystroke description for assistive technologies: keystroke for reverting autoformatting action." +msgid "Revert autoformatting action" +msgstr "Vrati na automatsko formatiranje" diff --git a/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/sv.po b/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/sv.po new file mode 100644 index 0000000..0d91354 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/sv.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Swedish (https://app.transifex.com/ckeditor/teams/11143/sv/)\n" +"Language: sv\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Keystroke description for assistive technologies: keystroke for reverting autoformatting action." +msgid "Revert autoformatting action" +msgstr "Ångra automatisk formatering" diff --git a/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/th.po b/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/th.po new file mode 100644 index 0000000..678471a --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/th.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Thai (https://app.transifex.com/ckeditor/teams/11143/th/)\n" +"Language: th\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Keystroke description for assistive technologies: keystroke for reverting autoformatting action." +msgid "Revert autoformatting action" +msgstr "ยกเลิกการดำเนินการจัดรูปแบบอัตโนมัติ" diff --git a/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/tr.po b/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/tr.po new file mode 100644 index 0000000..acdde98 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/tr.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Turkish (https://app.transifex.com/ckeditor/teams/11143/tr/)\n" +"Language: tr\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Keystroke description for assistive technologies: keystroke for reverting autoformatting action." +msgid "Revert autoformatting action" +msgstr "Otomatik biçimlendirme işlemini geri al" diff --git a/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/uk.po b/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/uk.po new file mode 100644 index 0000000..1ec2de7 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/uk.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Ukrainian (https://app.transifex.com/ckeditor/teams/11143/uk/)\n" +"Language: uk\n" +"Plural-Forms: nplurals=4; plural=(n % 1 == 0 && n % 10 == 1 && n % 100 != 11 ? 0 : n % 1 == 0 && n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14) ? 1 : n % 1 == 0 && (n % 10 ==0 || (n % 10 >=5 && n % 10 <=9) || (n % 100 >=11 && n % 100 <=14 )) ? 2: 3);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Keystroke description for assistive technologies: keystroke for reverting autoformatting action." +msgid "Revert autoformatting action" +msgstr "Скасувати дію автоформатування" diff --git a/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/vi.po b/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/vi.po new file mode 100644 index 0000000..626f49d --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/vi.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Vietnamese (https://app.transifex.com/ckeditor/teams/11143/vi/)\n" +"Language: vi\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Keystroke description for assistive technologies: keystroke for reverting autoformatting action." +msgid "Revert autoformatting action" +msgstr "Hoàn nguyên thao tác tự động định dạng" diff --git a/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/zh-cn.po b/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/zh-cn.po new file mode 100644 index 0000000..1e17685 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/zh-cn.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Chinese (China) (https://app.transifex.com/ckeditor/teams/11143/zh_CN/)\n" +"Language: zh_CN\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Keystroke description for assistive technologies: keystroke for reverting autoformatting action." +msgid "Revert autoformatting action" +msgstr "恢复自动格式化操作" diff --git a/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/zh.po b/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/zh.po new file mode 100644 index 0000000..92ad259 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-autoformat/lang/translations/zh.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Chinese (Taiwan) (https://app.transifex.com/ckeditor/teams/11143/zh_TW/)\n" +"Language: zh_TW\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Keystroke description for assistive technologies: keystroke for reverting autoformatting action." +msgid "Revert autoformatting action" +msgstr "復原自動格式化操作" diff --git a/node_modules/@ckeditor/ckeditor5-autoformat/package.json b/node_modules/@ckeditor/ckeditor5-autoformat/package.json new file mode 100644 index 0000000..b56ab9c --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-autoformat/package.json @@ -0,0 +1,37 @@ +{ + "name": "@ckeditor/ckeditor5-autoformat", + "version": "41.3.1", + "description": "Autoformatting feature for CKEditor 5.", + "keywords": [ + "ckeditor", + "ckeditor5", + "ckeditor 5", + "ckeditor5-feature", + "ckeditor5-plugin", + "ckeditor5-dll" + ], + "type": "module", + "main": "src/index.js", + "dependencies": { + "ckeditor5": "41.3.1" + }, + "author": "CKSource (http://cksource.com/)", + "license": "GPL-2.0-or-later", + "homepage": "https://ckeditor.com/ckeditor-5", + "bugs": "https://github.com/ckeditor/ckeditor5/issues", + "repository": { + "type": "git", + "url": "https://github.com/ckeditor/ckeditor5.git", + "directory": "packages/ckeditor5-autoformat" + }, + "files": [ + "lang", + "src/**/*.js", + "src/**/*.d.ts", + "theme", + "build", + "ckeditor5-metadata.json", + "CHANGELOG.md" + ], + "types": "src/index.d.ts" +} diff --git a/node_modules/@ckeditor/ckeditor5-autoformat/src/augmentation.d.ts b/node_modules/@ckeditor/ckeditor5-autoformat/src/augmentation.d.ts new file mode 100644 index 0000000..2208f12 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-autoformat/src/augmentation.d.ts @@ -0,0 +1,10 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +import type { Autoformat } from './index.js'; +declare module '@ckeditor/ckeditor5-core' { + interface PluginsMap { + [Autoformat.pluginName]: Autoformat; + } +} diff --git a/node_modules/@ckeditor/ckeditor5-autoformat/src/augmentation.js b/node_modules/@ckeditor/ckeditor5-autoformat/src/augmentation.js new file mode 100644 index 0000000..4fffd02 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-autoformat/src/augmentation.js @@ -0,0 +1,5 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +export {}; diff --git a/node_modules/@ckeditor/ckeditor5-autoformat/src/autoformat.d.ts b/node_modules/@ckeditor/ckeditor5-autoformat/src/autoformat.d.ts new file mode 100644 index 0000000..8604a88 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-autoformat/src/autoformat.d.ts @@ -0,0 +1,81 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +import { Plugin } from 'ckeditor5/src/core.js'; +import { Delete } from 'ckeditor5/src/typing.js'; +/** + * Enables a set of predefined autoformatting actions. + * + * For a detailed overview, check the {@glink features/autoformat Autoformatting} feature guide + * and the {@glink api/autoformat package page}. + */ +export default class Autoformat extends Plugin { + /** + * @inheritDoc + */ + static get requires(): readonly [typeof Delete]; + /** + * @inheritDoc + */ + static get pluginName(): "Autoformat"; + /** + * @inheritDoc + */ + afterInit(): void; + /** + * Adds autoformatting related to the {@link module:list/list~List}. + * + * When typed: + * - `* ` or `- ` – A paragraph will be changed into a bulleted list. + * - `1. ` or `1) ` – A paragraph will be changed into a numbered list ("1" can be any digit or a list of digits). + * - `[] ` or `[ ] ` – A paragraph will be changed into a to-do list. + * - `[x] ` or `[ x ] ` – A paragraph will be changed into a checked to-do list. + */ + private _addListAutoformats; + /** + * Adds autoformatting related to the {@link module:basic-styles/bold~Bold}, + * {@link module:basic-styles/italic~Italic}, {@link module:basic-styles/code~Code} + * and {@link module:basic-styles/strikethrough~Strikethrough} + * + * When typed: + * - `**foobar**` – `**` characters are removed and `foobar` is set to bold, + * - `__foobar__` – `__` characters are removed and `foobar` is set to bold, + * - `*foobar*` – `*` characters are removed and `foobar` is set to italic, + * - `_foobar_` – `_` characters are removed and `foobar` is set to italic, + * - ``` `foobar` – ``` ` ``` characters are removed and `foobar` is set to code, + * - `~~foobar~~` – `~~` characters are removed and `foobar` is set to strikethrough. + */ + private _addBasicStylesAutoformats; + /** + * Adds autoformatting related to {@link module:heading/heading~Heading}. + * + * It is using a number at the end of the command name to associate it with the proper trigger: + * + * * `heading` with a `heading1` value will be executed when typing `#`, + * * `heading` with a `heading2` value will be executed when typing `##`, + * * ... up to `heading6` for `######`. + */ + private _addHeadingAutoformats; + /** + * Adds autoformatting related to {@link module:block-quote/blockquote~BlockQuote}. + * + * When typed: + * * `> ` – A paragraph will be changed to a block quote. + */ + private _addBlockQuoteAutoformats; + /** + * Adds autoformatting related to {@link module:code-block/codeblock~CodeBlock}. + * + * When typed: + * - `` ``` `` – A paragraph will be changed to a code block. + */ + private _addCodeBlockAutoformats; + /** + * Adds autoformatting related to {@link module:horizontal-line/horizontalline~HorizontalLine}. + * + * When typed: + * - `` --- `` – Will be replaced with a horizontal line. + */ + private _addHorizontalLineAutoformats; +} diff --git a/node_modules/@ckeditor/ckeditor5-autoformat/src/autoformat.js b/node_modules/@ckeditor/ckeditor5-autoformat/src/autoformat.js new file mode 100644 index 0000000..95a550d --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-autoformat/src/autoformat.js @@ -0,0 +1,200 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +import { Plugin } from 'ckeditor5/src/core.js'; +import { Delete } from 'ckeditor5/src/typing.js'; +import blockAutoformatEditing from './blockautoformatediting.js'; +import inlineAutoformatEditing from './inlineautoformatediting.js'; +/** + * Enables a set of predefined autoformatting actions. + * + * For a detailed overview, check the {@glink features/autoformat Autoformatting} feature guide + * and the {@glink api/autoformat package page}. + */ +export default class Autoformat extends Plugin { + /** + * @inheritDoc + */ + static get requires() { + return [Delete]; + } + /** + * @inheritDoc + */ + static get pluginName() { + return 'Autoformat'; + } + /** + * @inheritDoc + */ + afterInit() { + const editor = this.editor; + const t = this.editor.t; + this._addListAutoformats(); + this._addBasicStylesAutoformats(); + this._addHeadingAutoformats(); + this._addBlockQuoteAutoformats(); + this._addCodeBlockAutoformats(); + this._addHorizontalLineAutoformats(); + // Add the information about the keystroke to the accessibility database. + editor.accessibility.addKeystrokeInfos({ + keystrokes: [ + { + label: t('Revert autoformatting action'), + keystroke: 'Backspace' + } + ] + }); + } + /** + * Adds autoformatting related to the {@link module:list/list~List}. + * + * When typed: + * - `* ` or `- ` – A paragraph will be changed into a bulleted list. + * - `1. ` or `1) ` – A paragraph will be changed into a numbered list ("1" can be any digit or a list of digits). + * - `[] ` or `[ ] ` – A paragraph will be changed into a to-do list. + * - `[x] ` or `[ x ] ` – A paragraph will be changed into a checked to-do list. + */ + _addListAutoformats() { + const commands = this.editor.commands; + if (commands.get('bulletedList')) { + blockAutoformatEditing(this.editor, this, /^[*-]\s$/, 'bulletedList'); + } + if (commands.get('numberedList')) { + blockAutoformatEditing(this.editor, this, /^1[.|)]\s$/, 'numberedList'); + } + if (commands.get('todoList')) { + blockAutoformatEditing(this.editor, this, /^\[\s?\]\s$/, 'todoList'); + } + if (commands.get('checkTodoList')) { + blockAutoformatEditing(this.editor, this, /^\[\s?x\s?\]\s$/, () => { + this.editor.execute('todoList'); + this.editor.execute('checkTodoList'); + }); + } + } + /** + * Adds autoformatting related to the {@link module:basic-styles/bold~Bold}, + * {@link module:basic-styles/italic~Italic}, {@link module:basic-styles/code~Code} + * and {@link module:basic-styles/strikethrough~Strikethrough} + * + * When typed: + * - `**foobar**` – `**` characters are removed and `foobar` is set to bold, + * - `__foobar__` – `__` characters are removed and `foobar` is set to bold, + * - `*foobar*` – `*` characters are removed and `foobar` is set to italic, + * - `_foobar_` – `_` characters are removed and `foobar` is set to italic, + * - ``` `foobar` – ``` ` ``` characters are removed and `foobar` is set to code, + * - `~~foobar~~` – `~~` characters are removed and `foobar` is set to strikethrough. + */ + _addBasicStylesAutoformats() { + const commands = this.editor.commands; + if (commands.get('bold')) { + const boldCallback = getCallbackFunctionForInlineAutoformat(this.editor, 'bold'); + inlineAutoformatEditing(this.editor, this, /(?:^|\s)(\*\*)([^*]+)(\*\*)$/g, boldCallback); + inlineAutoformatEditing(this.editor, this, /(?:^|\s)(__)([^_]+)(__)$/g, boldCallback); + } + if (commands.get('italic')) { + const italicCallback = getCallbackFunctionForInlineAutoformat(this.editor, 'italic'); + // The italic autoformatter cannot be triggered by the bold markers, so we need to check the + // text before the pattern (e.g. `(?:^|[^\*])`). + inlineAutoformatEditing(this.editor, this, /(?:^|\s)(\*)([^*_]+)(\*)$/g, italicCallback); + inlineAutoformatEditing(this.editor, this, /(?:^|\s)(_)([^_]+)(_)$/g, italicCallback); + } + if (commands.get('code')) { + const codeCallback = getCallbackFunctionForInlineAutoformat(this.editor, 'code'); + inlineAutoformatEditing(this.editor, this, /(`)([^`]+)(`)$/g, codeCallback); + } + if (commands.get('strikethrough')) { + const strikethroughCallback = getCallbackFunctionForInlineAutoformat(this.editor, 'strikethrough'); + inlineAutoformatEditing(this.editor, this, /(~~)([^~]+)(~~)$/g, strikethroughCallback); + } + } + /** + * Adds autoformatting related to {@link module:heading/heading~Heading}. + * + * It is using a number at the end of the command name to associate it with the proper trigger: + * + * * `heading` with a `heading1` value will be executed when typing `#`, + * * `heading` with a `heading2` value will be executed when typing `##`, + * * ... up to `heading6` for `######`. + */ + _addHeadingAutoformats() { + const command = this.editor.commands.get('heading'); + if (command) { + command.modelElements + .filter(name => name.match(/^heading[1-6]$/)) + .forEach(modelName => { + const level = modelName[7]; + const pattern = new RegExp(`^(#{${level}})\\s$`); + blockAutoformatEditing(this.editor, this, pattern, () => { + // Should only be active if command is enabled and heading style associated with pattern is inactive. + if (!command.isEnabled || command.value === modelName) { + return false; + } + this.editor.execute('heading', { value: modelName }); + }); + }); + } + } + /** + * Adds autoformatting related to {@link module:block-quote/blockquote~BlockQuote}. + * + * When typed: + * * `> ` – A paragraph will be changed to a block quote. + */ + _addBlockQuoteAutoformats() { + if (this.editor.commands.get('blockQuote')) { + blockAutoformatEditing(this.editor, this, /^>\s$/, 'blockQuote'); + } + } + /** + * Adds autoformatting related to {@link module:code-block/codeblock~CodeBlock}. + * + * When typed: + * - `` ``` `` – A paragraph will be changed to a code block. + */ + _addCodeBlockAutoformats() { + const editor = this.editor; + const selection = editor.model.document.selection; + if (editor.commands.get('codeBlock')) { + blockAutoformatEditing(editor, this, /^```$/, () => { + if (selection.getFirstPosition().parent.is('element', 'listItem')) { + return false; + } + this.editor.execute('codeBlock', { + usePreviousLanguageChoice: true + }); + }); + } + } + /** + * Adds autoformatting related to {@link module:horizontal-line/horizontalline~HorizontalLine}. + * + * When typed: + * - `` --- `` – Will be replaced with a horizontal line. + */ + _addHorizontalLineAutoformats() { + if (this.editor.commands.get('horizontalLine')) { + blockAutoformatEditing(this.editor, this, /^---$/, 'horizontalLine'); + } + } +} +/** + * Helper function for getting `inlineAutoformatEditing` callbacks that checks if command is enabled. + */ +function getCallbackFunctionForInlineAutoformat(editor, attributeKey) { + return (writer, rangesToFormat) => { + const command = editor.commands.get(attributeKey); + if (!command.isEnabled) { + return false; + } + const validRanges = editor.model.schema.getValidRanges(rangesToFormat, attributeKey); + for (const range of validRanges) { + writer.setAttribute(attributeKey, true, range); + } + // After applying attribute to the text, remove given attribute from the selection. + // This way user is able to type a text without attribute used by auto formatter. + writer.removeSelectionAttribute(attributeKey); + }; +} diff --git a/node_modules/@ckeditor/ckeditor5-autoformat/src/blockautoformatediting.d.ts b/node_modules/@ckeditor/ckeditor5-autoformat/src/blockautoformatediting.d.ts new file mode 100644 index 0000000..c27e02b --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-autoformat/src/blockautoformatediting.d.ts @@ -0,0 +1,57 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +import type { Editor } from 'ckeditor5/src/core.js'; +import type Autoformat from './autoformat.js'; +/** + * The block autoformatting engine. It allows to format various block patterns. For example, + * it can be configured to turn a paragraph starting with `*` and followed by a space into a list item. + * + * The autoformatting operation is integrated with the undo manager, + * so the autoformatting step can be undone if the user's intention was not to format the text. + * + * See the {@link module:autoformat/blockautoformatediting~blockAutoformatEditing `blockAutoformatEditing`} documentation + * to learn how to create custom block autoformatters. You can also use + * the {@link module:autoformat/autoformat~Autoformat} feature which enables a set of default autoformatters + * (lists, headings, bold and italic). + * + * @module autoformat/blockautoformatediting + */ +/** + * Creates a listener triggered on {@link module:engine/model/document~Document#event:change:data `change:data`} event in the document. + * Calls the callback when inserted text matches the regular expression or the command name + * if provided instead of the callback. + * + * Examples of usage: + * + * To convert a paragraph into heading 1 when `- ` is typed, using just the command name: + * + * ```ts + * blockAutoformatEditing( editor, plugin, /^\- $/, 'heading1' ); + * ``` + * + * To convert a paragraph into heading 1 when `- ` is typed, using just the callback: + * + * ```ts + * blockAutoformatEditing( editor, plugin, /^\- $/, ( context ) => { + * const { match } = context; + * const headingLevel = match[ 1 ].length; + * + * editor.execute( 'heading', { + * formatId: `heading${ headingLevel }` + * } ); + * } ); + * ``` + * + * @param editor The editor instance. + * @param plugin The autoformat plugin instance. + * @param pattern The regular expression to execute on just inserted text. The regular expression is tested against the text + * from the beginning until the caret position. + * @param callbackOrCommand The callback to execute or the command to run when the text is matched. + * In case of providing the callback, it receives the following parameter: + * * match RegExp.exec() result of matching the pattern to inserted text. + */ +export default function blockAutoformatEditing(editor: Editor, plugin: Autoformat, pattern: RegExp, callbackOrCommand: string | ((context: { + match: RegExpExecArray; +}) => unknown)): void; diff --git a/node_modules/@ckeditor/ckeditor5-autoformat/src/blockautoformatediting.js b/node_modules/@ckeditor/ckeditor5-autoformat/src/blockautoformatediting.js new file mode 100644 index 0000000..881a012 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-autoformat/src/blockautoformatediting.js @@ -0,0 +1,137 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +import { LiveRange } from 'ckeditor5/src/engine.js'; +import { first } from 'ckeditor5/src/utils.js'; +/** + * The block autoformatting engine. It allows to format various block patterns. For example, + * it can be configured to turn a paragraph starting with `*` and followed by a space into a list item. + * + * The autoformatting operation is integrated with the undo manager, + * so the autoformatting step can be undone if the user's intention was not to format the text. + * + * See the {@link module:autoformat/blockautoformatediting~blockAutoformatEditing `blockAutoformatEditing`} documentation + * to learn how to create custom block autoformatters. You can also use + * the {@link module:autoformat/autoformat~Autoformat} feature which enables a set of default autoformatters + * (lists, headings, bold and italic). + * + * @module autoformat/blockautoformatediting + */ +/** + * Creates a listener triggered on {@link module:engine/model/document~Document#event:change:data `change:data`} event in the document. + * Calls the callback when inserted text matches the regular expression or the command name + * if provided instead of the callback. + * + * Examples of usage: + * + * To convert a paragraph into heading 1 when `- ` is typed, using just the command name: + * + * ```ts + * blockAutoformatEditing( editor, plugin, /^\- $/, 'heading1' ); + * ``` + * + * To convert a paragraph into heading 1 when `- ` is typed, using just the callback: + * + * ```ts + * blockAutoformatEditing( editor, plugin, /^\- $/, ( context ) => { + * const { match } = context; + * const headingLevel = match[ 1 ].length; + * + * editor.execute( 'heading', { + * formatId: `heading${ headingLevel }` + * } ); + * } ); + * ``` + * + * @param editor The editor instance. + * @param plugin The autoformat plugin instance. + * @param pattern The regular expression to execute on just inserted text. The regular expression is tested against the text + * from the beginning until the caret position. + * @param callbackOrCommand The callback to execute or the command to run when the text is matched. + * In case of providing the callback, it receives the following parameter: + * * match RegExp.exec() result of matching the pattern to inserted text. + */ +export default function blockAutoformatEditing(editor, plugin, pattern, callbackOrCommand) { + let callback; + let command = null; + if (typeof callbackOrCommand == 'function') { + callback = callbackOrCommand; + } + else { + // We assume that the actual command name was provided. + command = editor.commands.get(callbackOrCommand); + callback = () => { + editor.execute(callbackOrCommand); + }; + } + editor.model.document.on('change:data', (evt, batch) => { + if (command && !command.isEnabled || !plugin.isEnabled) { + return; + } + const range = first(editor.model.document.selection.getRanges()); + if (!range.isCollapsed) { + return; + } + if (batch.isUndo || !batch.isLocal) { + return; + } + const changes = Array.from(editor.model.document.differ.getChanges()); + const entry = changes[0]; + // Typing is represented by only a single change. + if (changes.length != 1 || entry.type !== 'insert' || entry.name != '$text' || entry.length != 1) { + return; + } + const blockToFormat = entry.position.parent; + // Block formatting should be disabled in codeBlocks (#5800). + if (blockToFormat.is('element', 'codeBlock')) { + return; + } + // Only list commands and custom callbacks can be applied inside a list. + if (blockToFormat.is('element', 'listItem') && + typeof callbackOrCommand !== 'function' && + !['numberedList', 'bulletedList', 'todoList'].includes(callbackOrCommand)) { + return; + } + // In case a command is bound, do not re-execute it over an existing block style which would result in a style removal. + // Instead, just drop processing so that autoformat trigger text is not lost. E.g. writing "# " in a level 1 heading. + if (command && command.value === true) { + return; + } + const firstNode = blockToFormat.getChild(0); + const firstNodeRange = editor.model.createRangeOn(firstNode); + // Range is only expected to be within or at the very end of the first text node. + if (!firstNodeRange.containsRange(range) && !range.end.isEqual(firstNodeRange.end)) { + return; + } + const match = pattern.exec(firstNode.data.substr(0, range.end.offset)); + // ...and this text node's data match the pattern. + if (!match) { + return; + } + // Use enqueueChange to create new batch to separate typing batch from the auto-format changes. + editor.model.enqueueChange(writer => { + // Matched range. + const start = writer.createPositionAt(blockToFormat, 0); + const end = writer.createPositionAt(blockToFormat, match[0].length); + const range = new LiveRange(start, end); + const wasChanged = callback({ match }); + // Remove matched text. + if (wasChanged !== false) { + writer.remove(range); + const selectionRange = editor.model.document.selection.getFirstRange(); + const blockRange = writer.createRangeIn(blockToFormat); + // If the block is empty and the document selection has been moved when + // applying formatting (e.g. is now in newly created block). + if (blockToFormat.isEmpty && !blockRange.isEqual(selectionRange) && !blockRange.containsRange(selectionRange, true)) { + writer.remove(blockToFormat); + } + } + range.detach(); + editor.model.enqueueChange(() => { + const deletePlugin = editor.plugins.get('Delete'); + deletePlugin.requestUndoOnBackspace(); + }); + }); + }); +} diff --git a/node_modules/@ckeditor/ckeditor5-autoformat/src/index.d.ts b/node_modules/@ckeditor/ckeditor5-autoformat/src/index.d.ts new file mode 100644 index 0000000..2afe8cc --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-autoformat/src/index.d.ts @@ -0,0 +1,9 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module autoformat + */ +export { default as Autoformat } from './autoformat.js'; +import './augmentation.js'; diff --git a/node_modules/@ckeditor/ckeditor5-autoformat/src/index.js b/node_modules/@ckeditor/ckeditor5-autoformat/src/index.js new file mode 100644 index 0000000..2afe8cc --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-autoformat/src/index.js @@ -0,0 +1,9 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module autoformat + */ +export { default as Autoformat } from './autoformat.js'; +import './augmentation.js'; diff --git a/node_modules/@ckeditor/ckeditor5-autoformat/src/inlineautoformatediting.d.ts b/node_modules/@ckeditor/ckeditor5-autoformat/src/inlineautoformatediting.d.ts new file mode 100644 index 0000000..e0b08e2 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-autoformat/src/inlineautoformatediting.d.ts @@ -0,0 +1,83 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * The inline autoformatting engine. It allows to format various inline patterns. For example, + * it can be configured to make "foo" bold when typed `**foo**` (the `**` markers will be removed). + * + * The autoformatting operation is integrated with the undo manager, + * so the autoformatting step can be undone if the user's intention was not to format the text. + * + * See the {@link module:autoformat/inlineautoformatediting~inlineAutoformatEditing `inlineAutoformatEditing`} documentation + * to learn how to create custom inline autoformatters. You can also use + * the {@link module:autoformat/autoformat~Autoformat} feature which enables a set of default autoformatters + * (lists, headings, bold and italic). + * + * @module autoformat/inlineautoformatediting + */ +import type { Editor } from 'ckeditor5/src/core.js'; +import type { Range, Writer } from 'ckeditor5/src/engine.js'; +import type Autoformat from './autoformat.js'; +export type TestCallback = (text: string) => { + remove: Array>; + format: Array>; +}; +/** + * Enables autoformatting mechanism for a given {@link module:core/editor/editor~Editor}. + * + * It formats the matched text by applying the given model attribute or by running the provided formatting callback. + * On every {@link module:engine/model/document~Document#event:change:data data change} in the model document + * the autoformatting engine checks the text on the left of the selection + * and executes the provided action if the text matches given criteria (regular expression or callback). + * + * @param editor The editor instance. + * @param plugin The autoformat plugin instance. + * @param testRegexpOrCallback The regular expression or callback to execute on text. + * Provided regular expression *must* have three capture groups. The first and the third capture group + * should match opening and closing delimiters. The second capture group should match the text to format. + * + * ```ts + * // Matches the `**bold text**` pattern. + * // There are three capturing groups: + * // - The first to match the starting `**` delimiter. + * // - The second to match the text to format. + * // - The third to match the ending `**` delimiter. + * inlineAutoformatEditing( editor, plugin, /(\*\*)([^\*]+?)(\*\*)$/g, formatCallback ); + * ``` + * + * When a function is provided instead of the regular expression, it will be executed with the text to match as a parameter. + * The function should return proper "ranges" to delete and format. + * + * ```ts + * { + * remove: [ + * [ 0, 1 ], // Remove the first letter from the given text. + * [ 5, 6 ] // Remove the 6th letter from the given text. + * ], + * format: [ + * [ 1, 5 ] // Format all letters from 2nd to 5th. + * ] + * } + * ``` + * + * @param formatCallback A callback to apply actual formatting. + * It should return `false` if changes should not be applied (e.g. if a command is disabled). + * + * ```ts + * inlineAutoformatEditing( editor, plugin, /(\*\*)([^\*]+?)(\*\*)$/g, ( writer, rangesToFormat ) => { + * const command = editor.commands.get( 'bold' ); + * + * if ( !command.isEnabled ) { + * return false; + * } + * + * const validRanges = editor.model.schema.getValidRanges( rangesToFormat, 'bold' ); + * + * for ( let range of validRanges ) { + * writer.setAttribute( 'bold', true, range ); + * } + * } ); + * ``` + */ +export default function inlineAutoformatEditing(editor: Editor, plugin: Autoformat, testRegexpOrCallback: RegExp | TestCallback, formatCallback: (writer: Writer, rangesToFormat: Array) => boolean | undefined): void; diff --git a/node_modules/@ckeditor/ckeditor5-autoformat/src/inlineautoformatediting.js b/node_modules/@ckeditor/ckeditor5-autoformat/src/inlineautoformatediting.js new file mode 100644 index 0000000..88bc322 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-autoformat/src/inlineautoformatediting.js @@ -0,0 +1,174 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * Enables autoformatting mechanism for a given {@link module:core/editor/editor~Editor}. + * + * It formats the matched text by applying the given model attribute or by running the provided formatting callback. + * On every {@link module:engine/model/document~Document#event:change:data data change} in the model document + * the autoformatting engine checks the text on the left of the selection + * and executes the provided action if the text matches given criteria (regular expression or callback). + * + * @param editor The editor instance. + * @param plugin The autoformat plugin instance. + * @param testRegexpOrCallback The regular expression or callback to execute on text. + * Provided regular expression *must* have three capture groups. The first and the third capture group + * should match opening and closing delimiters. The second capture group should match the text to format. + * + * ```ts + * // Matches the `**bold text**` pattern. + * // There are three capturing groups: + * // - The first to match the starting `**` delimiter. + * // - The second to match the text to format. + * // - The third to match the ending `**` delimiter. + * inlineAutoformatEditing( editor, plugin, /(\*\*)([^\*]+?)(\*\*)$/g, formatCallback ); + * ``` + * + * When a function is provided instead of the regular expression, it will be executed with the text to match as a parameter. + * The function should return proper "ranges" to delete and format. + * + * ```ts + * { + * remove: [ + * [ 0, 1 ], // Remove the first letter from the given text. + * [ 5, 6 ] // Remove the 6th letter from the given text. + * ], + * format: [ + * [ 1, 5 ] // Format all letters from 2nd to 5th. + * ] + * } + * ``` + * + * @param formatCallback A callback to apply actual formatting. + * It should return `false` if changes should not be applied (e.g. if a command is disabled). + * + * ```ts + * inlineAutoformatEditing( editor, plugin, /(\*\*)([^\*]+?)(\*\*)$/g, ( writer, rangesToFormat ) => { + * const command = editor.commands.get( 'bold' ); + * + * if ( !command.isEnabled ) { + * return false; + * } + * + * const validRanges = editor.model.schema.getValidRanges( rangesToFormat, 'bold' ); + * + * for ( let range of validRanges ) { + * writer.setAttribute( 'bold', true, range ); + * } + * } ); + * ``` + */ +export default function inlineAutoformatEditing(editor, plugin, testRegexpOrCallback, formatCallback) { + let regExp; + let testCallback; + if (testRegexpOrCallback instanceof RegExp) { + regExp = testRegexpOrCallback; + } + else { + testCallback = testRegexpOrCallback; + } + // A test callback run on changed text. + testCallback = testCallback || (text => { + let result; + const remove = []; + const format = []; + while ((result = regExp.exec(text)) !== null) { + // There should be full match and 3 capture groups. + if (result && result.length < 4) { + break; + } + let { index, '1': leftDel, '2': content, '3': rightDel } = result; + // Real matched string - there might be some non-capturing groups so we need to recalculate starting index. + const found = leftDel + content + rightDel; + index += result[0].length - found.length; + // Start and End offsets of delimiters to remove. + const delStart = [ + index, + index + leftDel.length + ]; + const delEnd = [ + index + leftDel.length + content.length, + index + leftDel.length + content.length + rightDel.length + ]; + remove.push(delStart); + remove.push(delEnd); + format.push([index + leftDel.length, index + leftDel.length + content.length]); + } + return { + remove, + format + }; + }); + editor.model.document.on('change:data', (evt, batch) => { + if (batch.isUndo || !batch.isLocal || !plugin.isEnabled) { + return; + } + const model = editor.model; + const selection = model.document.selection; + // Do nothing if selection is not collapsed. + if (!selection.isCollapsed) { + return; + } + const changes = Array.from(model.document.differ.getChanges()); + const entry = changes[0]; + // Typing is represented by only a single change. + if (changes.length != 1 || entry.type !== 'insert' || entry.name != '$text' || entry.length != 1) { + return; + } + const focus = selection.focus; + const block = focus.parent; + const { text, range } = getTextAfterCode(model.createRange(model.createPositionAt(block, 0), focus), model); + const testOutput = testCallback(text); + const rangesToFormat = testOutputToRanges(range.start, testOutput.format, model); + const rangesToRemove = testOutputToRanges(range.start, testOutput.remove, model); + if (!(rangesToFormat.length && rangesToRemove.length)) { + return; + } + // Use enqueueChange to create new batch to separate typing batch from the auto-format changes. + model.enqueueChange(writer => { + // Apply format. + const hasChanged = formatCallback(writer, rangesToFormat); + // Strict check on `false` to have backward compatibility (when callbacks were returning `undefined`). + if (hasChanged === false) { + return; + } + // Remove delimiters - use reversed order to not mix the offsets while removing. + for (const range of rangesToRemove.reverse()) { + writer.remove(range); + } + model.enqueueChange(() => { + const deletePlugin = editor.plugins.get('Delete'); + deletePlugin.requestUndoOnBackspace(); + }); + }); + }); +} +/** + * Converts output of the test function provided to the inlineAutoformatEditing and converts it to the model ranges + * inside provided block. + */ +function testOutputToRanges(start, arrays, model) { + return arrays + .filter(array => (array[0] !== undefined && array[1] !== undefined)) + .map(array => { + return model.createRange(start.getShiftedBy(array[0]), start.getShiftedBy(array[1])); + }); +} +/** + * Returns the last text line after the last code element from the given range. + * It is similar to {@link module:typing/utils/getlasttextline.getLastTextLine `getLastTextLine()`}, + * but it ignores any text before the last `code`. + */ +function getTextAfterCode(range, model) { + let start = range.start; + const text = Array.from(range.getItems()).reduce((rangeText, node) => { + // Trim text to a last occurrence of an inline element and update range start. + if (!(node.is('$text') || node.is('$textProxy')) || node.getAttribute('code')) { + start = model.createPositionAfter(node); + return ''; + } + return rangeText + node.data; + }, ''); + return { text, range: model.createRange(start, range.end) }; +} diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/CHANGELOG.md b/node_modules/@ckeditor/ckeditor5-basic-styles/CHANGELOG.md new file mode 100644 index 0000000..b130453 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/CHANGELOG.md @@ -0,0 +1,247 @@ +Changelog +========= + +All changes in the package are documented in the main repository. See: https://github.com/ckeditor/ckeditor5/blob/master/CHANGELOG.md. + +Changes for the past releases are available below. + +## [19.0.0](https://github.com/ckeditor/ckeditor5-basic-styles/compare/v18.0.0...v19.0.0) (April 29, 2020) + +Internal changes only (updated dependencies, documentation, etc.). + + +## [18.0.0](https://github.com/ckeditor/ckeditor5-basic-styles/compare/v17.0.0...v18.0.0) (March 19, 2020) + +Internal changes only (updated dependencies, documentation, etc.). + + +## [17.0.0](https://github.com/ckeditor/ckeditor5-basic-styles/compare/v16.0.0...v17.0.0) (February 18, 2020) + +### Bug fixes + +* Focus the editor before executing toolbar buttons' command. See [ckeditor/ckeditor5#353](https://github.com/ckeditor/ckeditor5/issues/353). ([6bbca98](https://github.com/ckeditor/ckeditor5-basic-styles/commit/6bbca98)) + +### Other changes + +* Updated translations. ([4def017](https://github.com/ckeditor/ckeditor5-basic-styles/commit/4def017)) + + +## [16.0.0](https://github.com/ckeditor/ckeditor5-basic-styles/compare/v15.0.0...v16.0.0) (December 4, 2019) + +### Other changes + +* Updated translations. ([9dfd52c](https://github.com/ckeditor/ckeditor5-basic-styles/commit/9dfd52c)) + + +## [15.0.0](https://github.com/ckeditor/ckeditor5-basic-styles/compare/v11.1.4...v15.0.0) (October 23, 2019) + +### Features + +* Provided support for numeric values for the `font-weight` attribute. Closes [#94](https://github.com/ckeditor/ckeditor5-basic-styles/issues/94). Closes [ckeditor/ckeditor5-paste-from-office#74](https://github.com/ckeditor/ckeditor5-paste-from-office/issues/74). ([25a0d7c](https://github.com/ckeditor/ckeditor5-basic-styles/commit/25a0d7c)) + +### Other changes + +* Added `pluginName` property to editing plugins. ([d91773f](https://github.com/ckeditor/ckeditor5-basic-styles/commit/d91773f)) +* Updated translations. ([56d6060](https://github.com/ckeditor/ckeditor5-basic-styles/commit/56d6060)) + + +## [11.1.4](https://github.com/ckeditor/ckeditor5-basic-styles/compare/v11.1.3...v11.1.4) (August 26, 2019) + +### Bug fixes + +* The UI buttons should be marked as toggleable for better assistive technologies support (see [ckeditor/ckeditor5#1403](https://github.com/ckeditor/ckeditor5/issues/1403)). ([b9f5867](https://github.com/ckeditor/ckeditor5-basic-styles/commit/b9f5867)) + +### Other changes + +* The issue tracker for this package was moved to https://github.com/ckeditor/ckeditor5/issues. See [ckeditor/ckeditor5#1988](https://github.com/ckeditor/ckeditor5/issues/1988). ([8293319](https://github.com/ckeditor/ckeditor5-basic-styles/commit/8293319)) +* Mark basic-styles attributes with 'copyOnEnter' property. ([0afbc20](https://github.com/ckeditor/ckeditor5-basic-styles/commit/0afbc20)) +* Updated translations. ([52de3fe](https://github.com/ckeditor/ckeditor5-basic-styles/commit/52de3fe)) + + +## [11.1.3](https://github.com/ckeditor/ckeditor5-basic-styles/compare/v11.1.2...v11.1.3) (July 10, 2019) + +Internal changes only (updated dependencies, documentation, etc.). + + +## [11.1.2](https://github.com/ckeditor/ckeditor5-basic-styles/compare/v11.1.1...v11.1.2) (July 4, 2019) + +### Other changes + +* Updated translations. ([8914cfc](https://github.com/ckeditor/ckeditor5-basic-styles/commit/8914cfc)) ([fb07a45](https://github.com/ckeditor/ckeditor5-basic-styles/commit/fb07a45)) + + +## [11.1.1](https://github.com/ckeditor/ckeditor5-basic-styles/compare/v11.1.0...v11.1.1) (June 6, 2019) + +### Other changes + +* Updated translations. ([c9cdc44](https://github.com/ckeditor/ckeditor5-basic-styles/commit/c9cdc44)) + + +## [11.1.0](https://github.com/ckeditor/ckeditor5-basic-styles/compare/v11.0.0...v11.1.0) (April 4, 2019) + +### Features + +* Marked basic style attributes as a formatting using the `AttributeProperties#isFormatting` property. Closes [ckeditor/ckeditor5#1664](https://github.com/ckeditor/ckeditor5/issues/1664). ([fcfba54](https://github.com/ckeditor/ckeditor5-basic-styles/commit/fcfba54)) + +### Other changes + +* Optimized icons. ([018dda9](https://github.com/ckeditor/ckeditor5-basic-styles/commit/018dda9)) +* Updated translations. ([4365251](https://github.com/ckeditor/ckeditor5-basic-styles/commit/4365251)) + + +## [11.0.0](https://github.com/ckeditor/ckeditor5-basic-styles/compare/v10.1.0...v11.0.0) (February 28, 2019) + +### Other changes + +* Updated translations. ([b96cf6d](https://github.com/ckeditor/ckeditor5-basic-styles/commit/b96cf6d)) ([8223ff2](https://github.com/ckeditor/ckeditor5-basic-styles/commit/8223ff2)) + +### BREAKING CHANGES + +* Upgraded minimal versions of Node to `8.0.0` and npm to `5.7.1`. See: [ckeditor/ckeditor5#1507](https://github.com/ckeditor/ckeditor5/issues/1507). ([612ea3c](https://github.com/ckeditor/ckeditor5-cloud-services/commit/612ea3c)) + + +## [10.1.0](https://github.com/ckeditor/ckeditor5-basic-styles/compare/v10.0.3...v10.1.0) (December 5, 2018) + +### Features + +* Introduced the `Superscript` and the `Subscript` features. Closes [#76](https://github.com/ckeditor/ckeditor5-basic-styles/issues/76). Closes [#74](https://github.com/ckeditor/ckeditor5-basic-styles/issues/74). ([f281e99](https://github.com/ckeditor/ckeditor5-basic-styles/commit/f281e99)) + + Thanks to [@idleb](https://github.com/idleb)! + +### Other changes + +* Improved SVG icons size. See [ckeditor/ckeditor5-theme-lark#206](https://github.com/ckeditor/ckeditor5-theme-lark/issues/206). ([6314191](https://github.com/ckeditor/ckeditor5-basic-styles/commit/6314191)) +* Updated translations. ([f9d3d07](https://github.com/ckeditor/ckeditor5-basic-styles/commit/f9d3d07)) ([67fb2e2](https://github.com/ckeditor/ckeditor5-basic-styles/commit/67fb2e2)) + + +## [10.0.3](https://github.com/ckeditor/ckeditor5-basic-styles/compare/v10.0.2...v10.0.3) (October 8, 2018) + +### Other changes + +* Updated translations. ([cf4e657](https://github.com/ckeditor/ckeditor5-basic-styles/commit/cf4e657)) + + +## [10.0.2](https://github.com/ckeditor/ckeditor5-basic-styles/compare/v10.0.1...v10.0.2) (July 18, 2018) + +### Bug fixes + +* The value of `AttributeCommand` should be taken from the first node on which this style is allowed. Closes [#56](https://github.com/ckeditor/ckeditor5-basic-styles/issues/56). ([64a0dbc](https://github.com/ckeditor/ckeditor5-basic-styles/commit/64a0dbc)) + +### Other changes + +* Updated translations. ([df8bcc4](https://github.com/ckeditor/ckeditor5-basic-styles/commit/df8bcc4)) + + +## [10.0.1](https://github.com/ckeditor/ckeditor5-basic-styles/compare/v10.0.0...v10.0.1) (June 21, 2018) + +### Other changes + +* Updated translations. + + +## [10.0.0](https://github.com/ckeditor/ckeditor5-basic-styles/compare/v1.0.0-beta.4...v10.0.0) (April 25, 2018) + +### Other changes + +* Changed the license to GPL2+ only. See [ckeditor/ckeditor5#991](https://github.com/ckeditor/ckeditor5/issues/991). ([94da24e](https://github.com/ckeditor/ckeditor5-basic-styles/commit/94da24e)) +* Updated translations. ([dbebfe0](https://github.com/ckeditor/ckeditor5-basic-styles/commit/dbebfe0)) + +### BREAKING CHANGES + +* The license under which CKEditor 5 is released has been changed from a triple GPL, LGPL and MPL license to a GPL2+ only. See [ckeditor/ckeditor5#991](https://github.com/ckeditor/ckeditor5/issues/991) for more information. + + +## [1.0.0-beta.4](https://github.com/ckeditor/ckeditor5-basic-styles/compare/v1.0.0-beta.2...v1.0.0-beta.4) (April 19, 2018) + +### Other changes + +* Improved the "strikethrough" icon. Closes [ckeditor/ckeditor5#910](https://github.com/ckeditor/ckeditor5/issues/910). ([d559d8f](https://github.com/ckeditor/ckeditor5-basic-styles/commit/d559d8f)) +* Updated translations. ([b4c8419](https://github.com/ckeditor/ckeditor5-basic-styles/commit/b4c8419)) + + +## [1.0.0-beta.2](https://github.com/ckeditor/ckeditor5-basic-styles/compare/v1.0.0-beta.1...v1.0.0-beta.2) (April 10, 2018) + +Internal changes only (updated dependencies, documentation, etc.). + + +## [1.0.0-beta.1](https://github.com/ckeditor/ckeditor5-basic-styles/compare/v1.0.0-alpha.2...v1.0.0-beta.1) (March 15, 2018) + +### Features + +* Added the strikethrough feature. ([78719c9](https://github.com/ckeditor/ckeditor5-basic-styles/commit/78719c9)) + + Thanks to [@Natim](https://github.com/Natim)! +* Updated icons for compatibility with the refreshed Lark theme (see [ckeditor/ckeditor5#645](https://github.com/ckeditor/ckeditor5/issues/645)). ([170fec2](https://github.com/ckeditor/ckeditor5-basic-styles/commit/170fec2)) + +### Other changes + +* Aligned feature class naming to the new scheme. ([51a4b61](https://github.com/ckeditor/ckeditor5-basic-styles/commit/51a4b61)) +* Migrated package styles to PostCSS. Moved the visual styles to `@ckeditor/ckeditor5-theme-lark` (see [ckeditor/ckeditor5-ui#144](https://github.com/ckeditor/ckeditor5-ui/issues/144)). ([a5d5d9e](https://github.com/ckeditor/ckeditor5-basic-styles/commit/a5d5d9e)) +* Updated translations. ([1ff4312](https://github.com/ckeditor/ckeditor5-basic-styles/commit/1ff4312)) + + +## [1.0.0-alpha.2](https://github.com/ckeditor/ckeditor5-basic-styles/compare/v1.0.0-alpha.1...v1.0.0-alpha.2) (November 14, 2017) + +### Other changes + +* Updated translations. ([398054d](https://github.com/ckeditor/ckeditor5-basic-styles/commit/398054d)) + + +## [1.0.0-alpha.1](https://github.com/ckeditor/ckeditor5-basic-styles/compare/v0.9.0...v1.0.0-alpha.1) (October 3, 2017) + +### Features + +* Introduced the `Code` plugin. Closes [#52](https://github.com/ckeditor/ckeditor5-basic-styles/issues/52). ([d720cb9](https://github.com/ckeditor/ckeditor5-basic-styles/commit/d720cb9)) + + +## [0.9.0](https://github.com/ckeditor/ckeditor5-basic-styles/compare/v0.8.1...v0.9.0) (September 3, 2017) + +### Bug fixes + +* It should be possible to paste basic styles. See https://github.com/ckeditor/ckeditor5/issues/477. ([d2db7fe](https://github.com/ckeditor/ckeditor5-basic-styles/commit/d2db7fe)) + +### Features + +* Introduced `AttributeCommand`. It was moved from `@ckeditor/ckeditor5-core/src/command/toggleattributecommand`. Closes [#47](https://github.com/ckeditor/ckeditor5-basic-styles/issues/47). ([0301d4a](https://github.com/ckeditor/ckeditor5-basic-styles/commit/0301d4a)) +* Introduced the `Underline` plugin. Closes [#51](https://github.com/ckeditor/ckeditor5-basic-styles/issues/51). ([f724ae0](https://github.com/ckeditor/ckeditor5-basic-styles/commit/f724ae0)) + +### Other changes + +* Aligned the implementation to the new Command API (see https://github.com/ckeditor/ckeditor5-core/issues/88). ([36a976e](https://github.com/ckeditor/ckeditor5-basic-styles/commit/36a976e)) +* Cleaned up SVG icons. ([da10131](https://github.com/ckeditor/ckeditor5-basic-styles/commit/da10131)) +* Italic feature will use `` instead of ``. Closes [#28](https://github.com/ckeditor/ckeditor5-basic-styles/issues/28). ([9d1d5e2](https://github.com/ckeditor/ckeditor5-basic-styles/commit/9d1d5e2)) + + Read more in [Editor Recommendations](http://ckeditor.github.io/editor-recommendations/features/italic.html). + +### BREAKING CHANGES + +* The command API has been changed. + + +## [0.8.1](https://github.com/ckeditor/ckeditor5-basic-styles/compare/v0.8.0...v0.8.1) (May 7, 2017) + +### Bug fixes + +* Bold and italic should not be allowed directly in the root element. Closes [#40](https://github.com/ckeditor/ckeditor5-basic-styles/issues/40). ([4a737bf](https://github.com/ckeditor/ckeditor5-basic-styles/commit/4a737bf)) + +### Other changes + +* Updated translations. ([5250bec](https://github.com/ckeditor/ckeditor5-basic-styles/commit/5250bec)) + + +## [0.8.0](https://github.com/ckeditor/ckeditor5-basic-styles/compare/v0.7.1...v0.8.0) (April 5, 2017) + +### Features + +* Named existing plugin(s). ([5f649be](https://github.com/ckeditor/ckeditor5-basic-styles/commit/5f649be)) + +### Other changes + +* Updated translations. ([2aa33fd](https://github.com/ckeditor/ckeditor5-basic-styles/commit/2aa33fd)) + + +## [0.7.1](https://github.com/ckeditor/ckeditor5-basic-styles/compare/v0.7.0...v0.7.1) (March 6, 2017) + +### Other changes + +* Updated translations. ([4fd6e19](https://github.com/ckeditor/ckeditor5-basic-styles/commit/4fd6e19)) diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/LICENSE.md b/node_modules/@ckeditor/ckeditor5-basic-styles/LICENSE.md new file mode 100644 index 0000000..90cd5c5 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/LICENSE.md @@ -0,0 +1,17 @@ +Software License Agreement +========================== + +**CKEditor 5 basic styles feature** – https://github.com/ckeditor/ckeditor5-basic-styles
+Copyright (c) 2003–2024, [CKSource Holding sp. z o.o.](https://cksource.com) All rights reserved. + +Licensed under the terms of [GNU General Public License Version 2 or later](http://www.gnu.org/licenses/gpl.html). + +Sources of Intellectual Property Included in CKEditor +----------------------------------------------------- + +Where not otherwise indicated, all CKEditor content is authored by CKSource engineers and consists of CKSource-owned intellectual property. In some specific instances, CKEditor will incorporate work done by developers outside of CKSource with their express permission. + +Trademarks +---------- + +**CKEditor** is a trademark of [CKSource Holding sp. z o.o.](https://cksource.com) All other brand and product names are trademarks, registered trademarks, or service marks of their respective holders. diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/README.md b/node_modules/@ckeditor/ckeditor5-basic-styles/README.md new file mode 100644 index 0000000..219ac3c --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/README.md @@ -0,0 +1,20 @@ +CKEditor 5 basic styles feature +======================================== + +[![npm version](https://badge.fury.io/js/%40ckeditor%2Fckeditor5-basic-styles.svg)](https://www.npmjs.com/package/@ckeditor/ckeditor5-basic-styles) +[![Coverage Status](https://coveralls.io/repos/github/ckeditor/ckeditor5/badge.svg?branch=master)](https://coveralls.io/github/ckeditor/ckeditor5?branch=master) +[![Build Status](https://travis-ci.com/ckeditor/ckeditor5.svg?branch=master)](https://app.travis-ci.com/github/ckeditor/ckeditor5) + +This package contains CKEditor 5 features allowing to apply basic text formatting such as bold, italic, underline, and code in CKEditor 5. + +## Demo + +Check out the [demo in the basic styles feature guide](https://ckeditor.com/docs/ckeditor5/latest/features/basic-styles.html#demo). + +## Documentation + +See the [`@ckeditor/ckeditor5-basic-styles` package](https://ckeditor.com/docs/ckeditor5/latest/api/basic-styles.html) page in [CKEditor 5 documentation](https://ckeditor.com/docs/ckeditor5/latest/). + +## License + +Licensed under the terms of [GNU General Public License Version 2 or later](http://www.gnu.org/licenses/gpl.html). For full details about the license, please check the `LICENSE.md` file or [https://ckeditor.com/legal/ckeditor-oss-license](https://ckeditor.com/legal/ckeditor-oss-license). diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/build/basic-styles.js b/node_modules/@ckeditor/ckeditor5-basic-styles/build/basic-styles.js new file mode 100644 index 0000000..a2926f5 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/build/basic-styles.js @@ -0,0 +1,5 @@ +!function(t){const e=t.en=t.en||{};e.dictionary=Object.assign(e.dictionary||{},{Bold:"Bold","Bold text":"Bold text",Code:"Code",Italic:"Italic","Italic text":"Italic text","Move out of an inline code style":"Move out of an inline code style",Strikethrough:"Strikethrough","Strikethrough text":"Strikethrough text",Subscript:"Subscript",Superscript:"Superscript",Underline:"Underline","Underline text":"Underline text"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})), +/*! + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md. + */(()=>{var t={598:(t,e,i)=>{"use strict";i.d(e,{A:()=>r});var n=i(935),o=i.n(n)()((function(t){return t[1]}));o.push([t.id,".ck-content code{background-color:hsla(0,0%,78%,.3);border-radius:2px;padding:.15em}.ck.ck-editor__editable .ck-code_selected{background-color:hsla(0,0%,78%,.5)}",""]);const r=o},935:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var i=t(e);return e[2]?"@media ".concat(e[2]," {").concat(i,"}"):i})).join("")},e.i=function(t,i,n){"string"==typeof t&&(t=[[null,t,""]]);var o={};if(n)for(var r=0;r{"use strict";var n,o=function(){return void 0===n&&(n=Boolean(window&&document&&document.all&&!window.atob)),n},r=function(){var t={};return function(e){if(void 0===t[e]){var i=document.querySelector(e);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(t){i=null}t[e]=i}return t[e]}}(),s=[];function a(t){for(var e=-1,i=0;i{t.exports=i(237)("./src/core.js")},834:(t,e,i)=>{t.exports=i(237)("./src/typing.js")},311:(t,e,i)=>{t.exports=i(237)("./src/ui.js")},237:t=>{"use strict";t.exports=CKEditor5.dll}},e={};function i(n){var o=e[n];if(void 0!==o)return o.exports;var r=e[n]={id:n,exports:{}};return t[n](r,r.exports,i),r.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.nc=void 0;var n={};(()=>{"use strict";i.r(n),i.d(n,{Bold:()=>u,BoldEditing:()=>r,BoldUI:()=>l,Code:()=>w,CodeEditing:()=>g,CodeUI:()=>f,Italic:()=>B,ItalicEditing:()=>k,ItalicUI:()=>I,Strikethrough:()=>E,StrikethroughEditing:()=>T,StrikethroughUI:()=>C,Subscript:()=>F,SubscriptEditing:()=>L,SubscriptUI:()=>U,Superscript:()=>j,SuperscriptEditing:()=>V,SuperscriptUI:()=>K,Underline:()=>$,UnderlineEditing:()=>_,UnderlineUI:()=>H});var t=i(782);class e extends t.Command{constructor(t,e){super(t),this.attributeKey=e}refresh(){const t=this.editor.model,e=t.document;this.value=this._getValueFromFirstAllowedNode(),this.isEnabled=t.schema.checkAttributeInSelection(e.selection,this.attributeKey)}execute(t={}){const e=this.editor.model,i=e.document.selection,n=void 0===t.forceValue?!this.value:t.forceValue;e.change((t=>{if(i.isCollapsed)n?t.setSelectionAttribute(this.attributeKey,!0):t.removeSelectionAttribute(this.attributeKey);else{const o=e.schema.getValidRanges(i.getRanges(),this.attributeKey);for(const e of o)n?t.setAttribute(this.attributeKey,n,e):t.removeAttribute(this.attributeKey,e)}}))}_getValueFromFirstAllowedNode(){const t=this.editor.model,e=t.schema,i=t.document.selection;if(i.isCollapsed)return i.hasAttribute(this.attributeKey);for(const t of i.getRanges())for(const i of t.getItems())if(e.checkAttribute(i,this.attributeKey))return i.hasAttribute(this.attributeKey);return!1}}const o="bold";class r extends t.Plugin{static get pluginName(){return"BoldEditing"}init(){const t=this.editor,i=this.editor.t;t.model.schema.extend("$text",{allowAttributes:o}),t.model.schema.setAttributeProperties(o,{isFormatting:!0,copyOnEnter:!0}),t.conversion.attributeToElement({model:o,view:"strong",upcastAlso:["b",t=>{const e=t.getStyle("font-weight");return e&&("bold"==e||Number(e)>=600)?{name:!0,styles:["font-weight"]}:null}]}),t.commands.add(o,new e(t,o)),t.keystrokes.set("CTRL+B",o),t.accessibility.addKeystrokeInfos({keystrokes:[{label:i("Bold text"),keystroke:"CTRL+B"}]})}}var s=i(311);function a({editor:t,commandName:e,plugin:i,icon:n,label:o,keystroke:r}){return s=>{const a=t.commands.get(e),c=new s(t.locale);return c.set({label:o,icon:n,keystroke:r,isToggleable:!0}),c.bind("isEnabled").to(a,"isEnabled"),i.listenTo(c,"execute",(()=>{t.execute(e),t.editing.view.focus()})),c}}const c="bold";class l extends t.Plugin{static get pluginName(){return"BoldUI"}init(){const e=this.editor,i=e.locale.t,n=e.commands.get(c),o=a({editor:e,commandName:c,plugin:this,icon:t.icons.bold,label:i("Bold"),keystroke:"CTRL+B"});e.ui.componentFactory.add(c,(()=>{const t=o(s.ButtonView);return t.set({tooltip:!0}),t.bind("isOn").to(n,"value"),t})),e.ui.componentFactory.add("menuBar:"+c,(()=>o(s.MenuBarMenuListItemButtonView)))}}class u extends t.Plugin{static get requires(){return[r,l]}static get pluginName(){return"Bold"}}var d=i(834);const m="code";class g extends t.Plugin{static get pluginName(){return"CodeEditing"}static get requires(){return[d.TwoStepCaretMovement]}init(){const t=this.editor,i=this.editor.t;t.model.schema.extend("$text",{allowAttributes:m}),t.model.schema.setAttributeProperties(m,{isFormatting:!0,copyOnEnter:!1}),t.conversion.attributeToElement({model:m,view:"code",upcastAlso:{styles:{"word-wrap":"break-word"}}}),t.commands.add(m,new e(t,m)),t.plugins.get(d.TwoStepCaretMovement).registerAttribute(m),(0,d.inlineHighlight)(t,m,"code","ck-code_selected"),t.accessibility.addKeystrokeInfos({keystrokes:[{label:i("Move out of an inline code style"),keystroke:[["arrowleft","arrowleft"],["arrowright","arrowright"]]}]})}}var p=i(591),h=i.n(p),b=i(598),v={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};h()(b.A,v);b.A.locals;const y="code";class f extends t.Plugin{static get pluginName(){return"CodeUI"}init(){const t=this.editor,e=t.locale.t,i=a({editor:t,commandName:y,plugin:this,icon:'',label:e("Code")});t.ui.componentFactory.add(y,(()=>{const e=i(s.ButtonView),n=t.commands.get(y);return e.set({tooltip:!0}),e.bind("isOn").to(n,"value"),e})),t.ui.componentFactory.add("menuBar:"+y,(()=>i(s.MenuBarMenuListItemButtonView)))}}class w extends t.Plugin{static get requires(){return[g,f]}static get pluginName(){return"Code"}}const x="italic";class k extends t.Plugin{static get pluginName(){return"ItalicEditing"}init(){const t=this.editor,i=this.editor.t;t.model.schema.extend("$text",{allowAttributes:x}),t.model.schema.setAttributeProperties(x,{isFormatting:!0,copyOnEnter:!0}),t.conversion.attributeToElement({model:x,view:"i",upcastAlso:["em",{styles:{"font-style":"italic"}}]}),t.commands.add(x,new e(t,x)),t.keystrokes.set("CTRL+I",x),t.accessibility.addKeystrokeInfos({keystrokes:[{label:i("Italic text"),keystroke:"CTRL+I"}]})}}const S="italic";class I extends t.Plugin{static get pluginName(){return"ItalicUI"}init(){const t=this.editor,e=t.commands.get(S),i=t.locale.t,n=a({editor:t,commandName:S,plugin:this,icon:'',keystroke:"CTRL+I",label:i("Italic")});t.ui.componentFactory.add(S,(()=>{const t=n(s.ButtonView);return t.set({tooltip:!0}),t.bind("isOn").to(e,"value"),t})),t.ui.componentFactory.add("menuBar:"+S,(()=>n(s.MenuBarMenuListItemButtonView)))}}class B extends t.Plugin{static get requires(){return[k,I]}static get pluginName(){return"Italic"}}const A="strikethrough";class T extends t.Plugin{static get pluginName(){return"StrikethroughEditing"}init(){const t=this.editor,i=this.editor.t;t.model.schema.extend("$text",{allowAttributes:A}),t.model.schema.setAttributeProperties(A,{isFormatting:!0,copyOnEnter:!0}),t.conversion.attributeToElement({model:A,view:"s",upcastAlso:["del","strike",{styles:{"text-decoration":"line-through"}}]}),t.commands.add(A,new e(t,A)),t.keystrokes.set("CTRL+SHIFT+X","strikethrough"),t.accessibility.addKeystrokeInfos({keystrokes:[{label:i("Strikethrough text"),keystroke:"CTRL+SHIFT+X"}]})}}const N="strikethrough";class C extends t.Plugin{static get pluginName(){return"StrikethroughUI"}init(){const t=this.editor,e=t.locale.t,i=a({editor:t,commandName:N,plugin:this,icon:'',keystroke:"CTRL+SHIFT+X",label:e("Strikethrough")});t.ui.componentFactory.add(N,(()=>{const e=i(s.ButtonView),n=t.commands.get(N);return e.set({tooltip:!0}),e.bind("isOn").to(n,"value"),e})),t.ui.componentFactory.add("menuBar:"+N,(()=>i(s.MenuBarMenuListItemButtonView)))}}class E extends t.Plugin{static get requires(){return[T,C]}static get pluginName(){return"Strikethrough"}}const M="subscript";class L extends t.Plugin{static get pluginName(){return"SubscriptEditing"}init(){const t=this.editor;t.model.schema.extend("$text",{allowAttributes:M}),t.model.schema.setAttributeProperties(M,{isFormatting:!0,copyOnEnter:!0}),t.conversion.attributeToElement({model:M,view:"sub",upcastAlso:[{styles:{"vertical-align":"sub"}}]}),t.commands.add(M,new e(t,M))}}const P="subscript";class U extends t.Plugin{static get pluginName(){return"SubscriptUI"}init(){const t=this.editor,e=t.locale.t,i=a({editor:t,commandName:P,plugin:this,icon:'',label:e("Subscript")});t.ui.componentFactory.add(P,(()=>{const e=i(s.ButtonView),n=t.commands.get(P);return e.set({tooltip:!0}),e.bind("isOn").to(n,"value"),e})),t.ui.componentFactory.add("menuBar:"+P,(()=>i(s.MenuBarMenuListItemButtonView)))}}class F extends t.Plugin{static get requires(){return[L,U]}static get pluginName(){return"Subscript"}}const O="superscript";class V extends t.Plugin{static get pluginName(){return"SuperscriptEditing"}init(){const t=this.editor;t.model.schema.extend("$text",{allowAttributes:O}),t.model.schema.setAttributeProperties(O,{isFormatting:!0,copyOnEnter:!0}),t.conversion.attributeToElement({model:O,view:"sup",upcastAlso:[{styles:{"vertical-align":"super"}}]}),t.commands.add(O,new e(t,O))}}const R="superscript";class K extends t.Plugin{static get pluginName(){return"SuperscriptUI"}init(){const t=this.editor,e=t.locale.t,i=a({editor:t,commandName:R,plugin:this,icon:'',label:e("Superscript")});t.ui.componentFactory.add(R,(()=>{const e=i(s.ButtonView),n=t.commands.get(R);return e.set({tooltip:!0}),e.bind("isOn").to(n,"value"),e})),t.ui.componentFactory.add("menuBar:"+R,(()=>i(s.MenuBarMenuListItemButtonView)))}}class j extends t.Plugin{static get requires(){return[V,K]}static get pluginName(){return"Superscript"}}const z="underline";class _ extends t.Plugin{static get pluginName(){return"UnderlineEditing"}init(){const t=this.editor,i=this.editor.t;t.model.schema.extend("$text",{allowAttributes:z}),t.model.schema.setAttributeProperties(z,{isFormatting:!0,copyOnEnter:!0}),t.conversion.attributeToElement({model:z,view:"u",upcastAlso:{styles:{"text-decoration":"underline"}}}),t.commands.add(z,new e(t,z)),t.keystrokes.set("CTRL+U","underline"),t.accessibility.addKeystrokeInfos({keystrokes:[{label:i("Underline text"),keystroke:"CTRL+U"}]})}}const q="underline";class H extends t.Plugin{static get pluginName(){return"UnderlineUI"}init(){const t=this.editor,e=t.commands.get(q),i=t.locale.t,n=a({editor:t,commandName:q,plugin:this,icon:'',label:i("Underline"),keystroke:"CTRL+U"});t.ui.componentFactory.add(q,(()=>{const t=n(s.ButtonView);return t.set({tooltip:!0}),t.bind("isOn").to(e,"value"),t})),t.ui.componentFactory.add("menuBar:"+q,(()=>n(s.MenuBarMenuListItemButtonView)))}}class $ extends t.Plugin{static get requires(){return[_,H]}static get pluginName(){return"Underline"}}})(),(window.CKEditor5=window.CKEditor5||{}).basicStyles=n})(); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/af.js b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/af.js new file mode 100644 index 0000000..215cd7d --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/af.js @@ -0,0 +1 @@ +!function(e){const t=e.af=e.af||{};t.dictionary=Object.assign(t.dictionary||{},{Bold:"Vet","Bold text":"",Code:"Bronkode",Italic:"Kursief","Italic text":"","Move out of an inline code style":"",Strikethrough:"Deurstreep","Strikethrough text":"",Subscript:"Onderskrif",Superscript:"Boskrif",Underline:"Onderstreep","Underline text":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/ar.js b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/ar.js new file mode 100644 index 0000000..d8c9246 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/ar.js @@ -0,0 +1 @@ +!function(t){const i=t.ar=t.ar||{};i.dictionary=Object.assign(i.dictionary||{},{Bold:"عريض","Bold text":"نص غامق",Code:"شفرة برمجية",Italic:"مائل","Italic text":"نص مائل","Move out of an inline code style":"ابتعدْ عن نمط التعليمات البرمجية المضمّنة",Strikethrough:"يتوسطه خط","Strikethrough text":"توسيط الخط في النص",Subscript:"حرف منخفض",Superscript:"حرف مرتفع",Underline:"تحته خط","Underline text":"تسطير النص"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/ast.js b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/ast.js new file mode 100644 index 0000000..7ce37a3 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/ast.js @@ -0,0 +1 @@ +!function(t){const i=t.ast=t.ast||{};i.dictionary=Object.assign(i.dictionary||{},{Bold:"Negrina","Bold text":"",Code:"",Italic:"Cursiva","Italic text":"","Move out of an inline code style":"",Strikethrough:"","Strikethrough text":"",Subscript:"",Superscript:"",Underline:"","Underline text":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/az.js b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/az.js new file mode 100644 index 0000000..bc716f8 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/az.js @@ -0,0 +1 @@ +!function(t){const i=t.az=t.az||{};i.dictionary=Object.assign(i.dictionary||{},{Bold:"Yarıqalın","Bold text":"",Code:"Kod",Italic:"Maili","Italic text":"","Move out of an inline code style":"",Strikethrough:"Qaralanmış","Strikethrough text":"",Subscript:"Alt yazı",Superscript:"Üst yazı",Underline:"Altdan xətt","Underline text":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/bg.js b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/bg.js new file mode 100644 index 0000000..35decce --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/bg.js @@ -0,0 +1 @@ +!function(t){const i=t.bg=t.bg||{};i.dictionary=Object.assign(i.dictionary||{},{Bold:"Удебелен","Bold text":"Почернен текст",Code:"Код",Italic:"Курсив","Italic text":"Наклонен текст","Move out of an inline code style":"Излизане от подравнен стил на кодиране",Strikethrough:"Зачертаване","Strikethrough text":"Зачертан текст",Subscript:"Долен индекс",Superscript:"Горен индекс",Underline:"Подчертаване","Underline text":"Подчертан текст"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/bn.js b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/bn.js new file mode 100644 index 0000000..38e18df --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/bn.js @@ -0,0 +1 @@ +!function(t){const i=t.bn=t.bn||{};i.dictionary=Object.assign(i.dictionary||{},{Bold:"বোল্ড","Bold text":"বোল্ড টেক্সট",Code:"কোড",Italic:"ইটালিক","Italic text":"ইটালিক টেক্সট","Move out of an inline code style":"ইনলাইন কোড স্টাইল থেকে সরে আসুন",Strikethrough:"স্ট্রাইকথ্রু","Strikethrough text":"স্ট্রাইকথ্রু টেক্সট",Subscript:"সাবস্ক্রিপ্ট",Superscript:"সুপারস্ক্রিপ্ট",Underline:"আন্ডারলাইন","Underline text":"আন্ডারলাইন টেক্সট"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/bs.js b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/bs.js new file mode 100644 index 0000000..45fc61d --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/bs.js @@ -0,0 +1 @@ +!function(t){const o=t.bs=t.bs||{};o.dictionary=Object.assign(o.dictionary||{},{Bold:"Podebljano","Bold text":"",Code:"Kod",Italic:"Zakrivljeno","Italic text":"","Move out of an inline code style":"",Strikethrough:"Precrtano","Strikethrough text":"",Subscript:"",Superscript:"",Underline:"Podcrtano","Underline text":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/ca.js b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/ca.js new file mode 100644 index 0000000..e71a7c7 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/ca.js @@ -0,0 +1 @@ +!function(t){const e=t.ca=t.ca||{};e.dictionary=Object.assign(e.dictionary||{},{Bold:"Negreta","Bold text":"Text en negreta",Code:"Codi",Italic:"Cursiva","Italic text":"Text en cursiva","Move out of an inline code style":"Surt d'un codi d'estil en línia",Strikethrough:"Marcat","Strikethrough text":"Barra el text",Subscript:"Subíndex",Superscript:"Superíndex",Underline:"Subrallat","Underline text":"Subratlla el text"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/cs.js b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/cs.js new file mode 100644 index 0000000..fbbb71d --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/cs.js @@ -0,0 +1 @@ +!function(t){const n=t.cs=t.cs||{};n.dictionary=Object.assign(n.dictionary||{},{Bold:"Tučné","Bold text":"Tučně",Code:"Kódový blok",Italic:"Kurzíva","Italic text":"Kurzíva","Move out of an inline code style":"Odejít ze stylu vloženého kódu",Strikethrough:"Přeškrtnuté","Strikethrough text":"Přešktnutí",Subscript:"Dolní index",Superscript:"Horní index",Underline:"Podtržené","Underline text":"Podtrhnutí"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/da.js b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/da.js new file mode 100644 index 0000000..9573429 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/da.js @@ -0,0 +1 @@ +!function(t){const e=t.da=t.da||{};e.dictionary=Object.assign(e.dictionary||{},{Bold:"Fed","Bold text":"Fed tekst",Code:"Kode",Italic:"Kursiv","Italic text":"Kursiv tekst","Move out of an inline code style":"Flyt ud af en inline-kodestil",Strikethrough:"Gennemstreg","Strikethrough text":"Gennemstreget tekst",Subscript:"Sænket skrift",Superscript:"Hævet skrift",Underline:"Understreget","Underline text":"Understreget tekst"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/de-ch.js b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/de-ch.js new file mode 100644 index 0000000..fd28fdc --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/de-ch.js @@ -0,0 +1 @@ +!function(t){const e=t["de-ch"]=t["de-ch"]||{};e.dictionary=Object.assign(e.dictionary||{},{Bold:"Fett","Bold text":"",Code:"Code",Italic:"Kursiv","Italic text":"","Move out of an inline code style":"",Strikethrough:"Durchgestrichen","Strikethrough text":"",Subscript:"Tiefgestellt",Superscript:"Hochgestellt",Underline:"Unterstrichen","Underline text":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/de.js b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/de.js new file mode 100644 index 0000000..e2f949b --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/de.js @@ -0,0 +1 @@ +!function(e){const t=e.de=e.de||{};t.dictionary=Object.assign(t.dictionary||{},{Bold:"Fett","Bold text":"Fettschrift",Code:"Code",Italic:"Kursiv","Italic text":"Kursivschrift","Move out of an inline code style":"Inline Code Style verlassen",Strikethrough:"Durchgestrichen","Strikethrough text":"Durchgestrichener Text",Subscript:"Tiefgestellt",Superscript:"Hochgestellt",Underline:"Unterstrichen","Underline text":"Text hervorheben"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/el.js b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/el.js new file mode 100644 index 0000000..4e3ad31 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/el.js @@ -0,0 +1 @@ +!function(t){const e=t.el=t.el||{};e.dictionary=Object.assign(e.dictionary||{},{Bold:"Έντονα","Bold text":"Έντονο κείμενο",Code:"Κώδικας",Italic:"Πλάγια","Italic text":"Πλάγιο κείμενο","Move out of an inline code style":"Μετακίνηση από ένα στυλ ενσωματωμένου κώδικα",Strikethrough:"Διακριτή διαγραφή","Strikethrough text":"Διακριτική διαγραφή κειμένου",Subscript:"Δείκτης",Superscript:"Εκθέτης",Underline:"Υπογράμμιση","Underline text":"Υπογράμμιση κειμένου"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/en-au.js b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/en-au.js new file mode 100644 index 0000000..2e7a62e --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/en-au.js @@ -0,0 +1 @@ +!function(t){const e=t["en-au"]=t["en-au"]||{};e.dictionary=Object.assign(e.dictionary||{},{Bold:"Bold","Bold text":"",Code:"Code",Italic:"Italic","Italic text":"","Move out of an inline code style":"",Strikethrough:"Strikethrough","Strikethrough text":"",Subscript:"Subscript",Superscript:"Superscript",Underline:"Underline","Underline text":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/en-gb.js b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/en-gb.js new file mode 100644 index 0000000..9768b83 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/en-gb.js @@ -0,0 +1 @@ +!function(t){const e=t["en-gb"]=t["en-gb"]||{};e.dictionary=Object.assign(e.dictionary||{},{Bold:"Bold","Bold text":"",Code:"Code",Italic:"Italic","Italic text":"","Move out of an inline code style":"",Strikethrough:"Strikethrough","Strikethrough text":"",Subscript:"Subscript",Superscript:"Superscript",Underline:"Underline","Underline text":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/eo.js b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/eo.js new file mode 100644 index 0000000..5d05c58 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/eo.js @@ -0,0 +1 @@ +!function(t){const e=t.eo=t.eo||{};e.dictionary=Object.assign(e.dictionary||{},{Bold:"grasa","Bold text":"",Code:"",Italic:"kursiva","Italic text":"","Move out of an inline code style":"",Strikethrough:"","Strikethrough text":"",Subscript:"",Superscript:"",Underline:"","Underline text":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/es-co.js b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/es-co.js new file mode 100644 index 0000000..c8ea179 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/es-co.js @@ -0,0 +1 @@ +!function(e){const t=e["es-co"]=e["es-co"]||{};t.dictionary=Object.assign(t.dictionary||{},{Bold:"Negrita","Bold text":"",Code:"Código",Italic:"Cursiva","Italic text":"Texto en cursiva","Move out of an inline code style":"",Strikethrough:"Tachado","Strikethrough text":"",Subscript:"Subíndice",Superscript:"Superíndice",Underline:"Subrayado","Underline text":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/es.js b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/es.js new file mode 100644 index 0000000..61efb48 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/es.js @@ -0,0 +1 @@ +!function(e){const t=e.es=e.es||{};t.dictionary=Object.assign(t.dictionary||{},{Bold:"Negrita","Bold text":"Texto en negrita",Code:"Código",Italic:"Cursiva","Italic text":"Texto en cursiva","Move out of an inline code style":"Sale de un estilo de código en línea",Strikethrough:"Tachado","Strikethrough text":"Tacha el texto",Subscript:"Subíndice",Superscript:"Superíndice",Underline:"Subrayado","Underline text":"Subraya el texto"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/et.js b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/et.js new file mode 100644 index 0000000..7635483 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/et.js @@ -0,0 +1 @@ +!function(t){const i=t.et=t.et||{};i.dictionary=Object.assign(i.dictionary||{},{Bold:"Rasvane","Bold text":"Paks tekst",Code:"Kood",Italic:"Kaldkiri","Italic text":"Kaldkirjas tekst","Move out of an inline code style":"Välju reasisese koodi stiilist",Strikethrough:"Läbijoonitud","Strikethrough text":"Läbikriipsutatud tekst",Subscript:"Alaindeks",Superscript:"Ülaindeks",Underline:"Allajoonitud","Underline text":"Allakriipsutatud tekst"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/eu.js b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/eu.js new file mode 100644 index 0000000..08499c2 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/eu.js @@ -0,0 +1 @@ +!function(t){const e=t.eu=t.eu||{};e.dictionary=Object.assign(e.dictionary||{},{Bold:"Lodia","Bold text":"",Code:"Kodea",Italic:"Etzana","Italic text":"","Move out of an inline code style":"",Strikethrough:"","Strikethrough text":"",Subscript:"",Superscript:"",Underline:"Azpimarra","Underline text":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/fa.js b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/fa.js new file mode 100644 index 0000000..7634f72 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/fa.js @@ -0,0 +1 @@ +!function(t){const i=t.fa=t.fa||{};i.dictionary=Object.assign(i.dictionary||{},{Bold:"درشت","Bold text":"",Code:"کد",Italic:"کج","Italic text":"","Move out of an inline code style":"",Strikethrough:"خط خورده","Strikethrough text":"",Subscript:"پایین نویس",Superscript:"بالانویس",Underline:"خط زیر","Underline text":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/fi.js b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/fi.js new file mode 100644 index 0000000..2f862b7 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/fi.js @@ -0,0 +1 @@ +!function(i){const t=i.fi=i.fi||{};t.dictionary=Object.assign(t.dictionary||{},{Bold:"Lihavointi","Bold text":"Lihavoitu teksti",Code:"Koodi",Italic:"Kursivointi","Italic text":"Kursivoitu teksti","Move out of an inline code style":"Siirry pois rivinsisäisestä koodista",Strikethrough:"Yliviivaus","Strikethrough text":"Yliviivattu teksti",Subscript:"Alaindeksi",Superscript:"Yläindeksi",Underline:"Alleviivaus","Underline text":"Alleviivattu teksti"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/fr.js b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/fr.js new file mode 100644 index 0000000..2fdc244 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/fr.js @@ -0,0 +1 @@ +!function(e){const t=e.fr=e.fr||{};t.dictionary=Object.assign(t.dictionary||{},{Bold:"Gras","Bold text":"Texte en gras",Code:"Code",Italic:"Italique","Italic text":"Texte en italique","Move out of an inline code style":"Sortir d'un style de code en ligne",Strikethrough:"Barré","Strikethrough text":"Texte barré",Subscript:"Indice",Superscript:"Exposant",Underline:"Souligné","Underline text":"Souligner le texte"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/gl.js b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/gl.js new file mode 100644 index 0000000..162448a --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/gl.js @@ -0,0 +1 @@ +!function(i){const t=i.gl=i.gl||{};t.dictionary=Object.assign(t.dictionary||{},{Bold:"Negra","Bold text":"",Code:"Código",Italic:"Itálica","Italic text":"","Move out of an inline code style":"",Strikethrough:"Riscado","Strikethrough text":"",Subscript:"Subíndice",Superscript:"Superíndice",Underline:"Subliñado","Underline text":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/gu.js b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/gu.js new file mode 100644 index 0000000..d0f09f0 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/gu.js @@ -0,0 +1 @@ +!function(t){const i=t.gu=t.gu||{};i.dictionary=Object.assign(i.dictionary||{},{Bold:"ઘાટુ - બોલ્ડ્","Bold text":"",Code:"",Italic:"ત્રાંસુ - ઇટલિક્","Italic text":"","Move out of an inline code style":"",Strikethrough:"","Strikethrough text":"",Subscript:"",Superscript:"",Underline:"નીચે લિટી - અન્ડરલાઇન્","Underline text":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/he.js b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/he.js new file mode 100644 index 0000000..763947d --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/he.js @@ -0,0 +1 @@ +!function(t){const e=t.he=t.he||{};e.dictionary=Object.assign(e.dictionary||{},{Bold:"מודגש","Bold text":"טקסט מודגש",Code:"קוד",Italic:"נטוי","Italic text":"טקסט נטוי","Move out of an inline code style":"יציאה מסגנון קוד מוטבע",Strikethrough:"קו חוצה","Strikethrough text":"הוספת קו חוצה לטקסט",Subscript:"כתב תחתי",Superscript:"כתב עילי",Underline:"קו תחתון","Underline text":"הוספת קו תחתון לטקסט"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/hi.js b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/hi.js new file mode 100644 index 0000000..58a10b1 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/hi.js @@ -0,0 +1 @@ +!function(t){const i=t.hi=t.hi||{};i.dictionary=Object.assign(i.dictionary||{},{Bold:"Bold","Bold text":"टेक्स्ट को बोल्ड करें",Code:"Code",Italic:"Italic","Italic text":"इटैलिक टेक्स्ट","Move out of an inline code style":"इनलाइन कोड स्टाइल के बाहर जाएँ",Strikethrough:"Strikethrough","Strikethrough text":"टेक्स्ट को स्ट्राइकथ्रू करें",Subscript:"Subscript",Superscript:"Superscript",Underline:"Underline","Underline text":"टेक्स्ट को अंडरलाइन करें"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/hr.js b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/hr.js new file mode 100644 index 0000000..cfd42e4 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/hr.js @@ -0,0 +1 @@ +!function(t){const e=t.hr=t.hr||{};e.dictionary=Object.assign(e.dictionary||{},{Bold:"Podebljano","Bold text":"",Code:"Kod",Italic:"Ukošeno","Italic text":"","Move out of an inline code style":"",Strikethrough:"Precrtano","Strikethrough text":"",Subscript:"Indeks",Superscript:"Eksponent",Underline:"Podcrtavanje","Underline text":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/hu.js b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/hu.js new file mode 100644 index 0000000..848ae16 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/hu.js @@ -0,0 +1 @@ +!function(t){const e=t.hu=t.hu||{};e.dictionary=Object.assign(e.dictionary||{},{Bold:"Félkövér","Bold text":"Félkövér szöveg",Code:"Forráskód",Italic:"Dőlt","Italic text":"Dőlt szöveg","Move out of an inline code style":"Kilépés egy soron belüli kódstílusból",Strikethrough:"Áthúzott","Strikethrough text":"Áthúzott szöveg",Subscript:"Alsó index",Superscript:"Felső index",Underline:"Aláhúzott","Underline text":"Aláhúzott szöveg"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/hy.js b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/hy.js new file mode 100644 index 0000000..8527290 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/hy.js @@ -0,0 +1 @@ +!function(t){const i=t.hy=t.hy||{};i.dictionary=Object.assign(i.dictionary||{},{Bold:"Թավագիր","Bold text":"",Code:"Կոդ",Italic:"Շեղագիր","Italic text":"","Move out of an inline code style":"",Strikethrough:"Գծանշել","Strikethrough text":"",Subscript:"Ենթատեքստ",Superscript:"Գերագիր",Underline:"Ընդգծել","Underline text":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/id.js b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/id.js new file mode 100644 index 0000000..76c534b --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/id.js @@ -0,0 +1 @@ +!function(e){const i=e.id=e.id||{};i.dictionary=Object.assign(i.dictionary||{},{Bold:"Tebal","Bold text":"Teks tebal",Code:"Kode",Italic:"Miring","Italic text":"Teks miring","Move out of an inline code style":"Keluar dari gaya kode sebaris",Strikethrough:"Coret","Strikethrough text":"Teks yang dicoret",Subscript:"Subskrip",Superscript:"Superskrip",Underline:"Garis bawah","Underline text":"Teks bergaris bawah"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/it.js b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/it.js new file mode 100644 index 0000000..28271c6 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/it.js @@ -0,0 +1 @@ +!function(t){const o=t.it=t.it||{};o.dictionary=Object.assign(o.dictionary||{},{Bold:"Grassetto","Bold text":"Testo in grassetto",Code:"Codice",Italic:"Corsivo","Italic text":"Testo in corsivo","Move out of an inline code style":"Esce da uno stile di codice in linea",Strikethrough:"Barrato","Strikethrough text":"Testo barrato",Subscript:"Pedice",Superscript:"Apice",Underline:"Sottolineato","Underline text":"Testo sottolineato"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/ja.js b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/ja.js new file mode 100644 index 0000000..c7dfb4b --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/ja.js @@ -0,0 +1 @@ +!function(t){const i=t.ja=t.ja||{};i.dictionary=Object.assign(i.dictionary||{},{Bold:"ボールド","Bold text":"太字",Code:"コード",Italic:"イタリック","Italic text":"斜体","Move out of an inline code style":"インラインコードスタイルを終了する",Strikethrough:"取り消し線","Strikethrough text":"取り消し線",Subscript:"下付き文字",Superscript:"上付き文字",Underline:"アンダーライン","Underline text":"下線"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/jv.js b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/jv.js new file mode 100644 index 0000000..87a101b --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/jv.js @@ -0,0 +1 @@ +!function(t){const i=t.jv=t.jv||{};i.dictionary=Object.assign(i.dictionary||{},{Bold:"Kandhel","Bold text":"",Code:"Kode",Italic:"Miring","Italic text":"","Move out of an inline code style":"",Strikethrough:"Seratan dicoret","Strikethrough text":"",Subscript:"",Superscript:"",Underline:"Garis ngandhap","Underline text":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/km.js b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/km.js new file mode 100644 index 0000000..2d25c53 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/km.js @@ -0,0 +1 @@ +!function(t){const i=t.km=t.km||{};i.dictionary=Object.assign(i.dictionary||{},{Bold:"ដិត","Bold text":"",Code:"កូដ",Italic:"ទ្រេត","Italic text":"","Move out of an inline code style":"",Strikethrough:"ឆូតកណ្ដាល","Strikethrough text":"",Subscript:"អក្សរ​តូចក្រោម",Superscript:"អក្សរ​តូចលើ",Underline:"គូស​បន្ទាត់​ក្រោម","Underline text":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/kn.js b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/kn.js new file mode 100644 index 0000000..4401ecb --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/kn.js @@ -0,0 +1 @@ +!function(t){const i=t.kn=t.kn||{};i.dictionary=Object.assign(i.dictionary||{},{Bold:"‍‍ದಪ್ಪ","Bold text":"",Code:"",Italic:"‍ಇಟಾಲಿಕ್","Italic text":"","Move out of an inline code style":"",Strikethrough:"","Strikethrough text":"",Subscript:"",Superscript:"",Underline:"","Underline text":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/ko.js b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/ko.js new file mode 100644 index 0000000..8233608 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/ko.js @@ -0,0 +1 @@ +!function(t){const i=t.ko=t.ko||{};i.dictionary=Object.assign(i.dictionary||{},{Bold:"굵게","Bold text":"굵은 텍스트",Code:"코드",Italic:"기울임꼴","Italic text":"기울인 텍스트","Move out of an inline code style":"인라인 코드 스타일 밖으로 이동",Strikethrough:"취소선","Strikethrough text":"텍스트 취소선",Subscript:"아래 첨자",Superscript:"위 첨자",Underline:"밑줄","Underline text":"텍스트 밑줄"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/ku.js b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/ku.js new file mode 100644 index 0000000..8f3dff1 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/ku.js @@ -0,0 +1 @@ +!function(t){const i=t.ku=t.ku||{};i.dictionary=Object.assign(i.dictionary||{},{Bold:"قەڵەو","Bold text":"",Code:"کۆد",Italic:"لار","Italic text":"","Move out of an inline code style":"",Strikethrough:"هێڵ بەسەرداهاتوو","Strikethrough text":"",Subscript:"ژێرنووس",Superscript:"سەرنووس",Underline:"ژێرهێڵ","Underline text":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/lt.js b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/lt.js new file mode 100644 index 0000000..c8709ad --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/lt.js @@ -0,0 +1 @@ +!function(t){const i=t.lt=t.lt||{};i.dictionary=Object.assign(i.dictionary||{},{Bold:"Paryškintas","Bold text":"Pajuodinti tekstą",Code:"Kodas",Italic:"Kursyvas","Italic text":"Rašyti tekstą kursyvu","Move out of an inline code style":"Perėjimas iš įterptojo kodo stiliaus",Strikethrough:"Perbrauktas","Strikethrough text":"Perbraukti tekstą",Subscript:"Žemiau",Superscript:"Aukščiau",Underline:"Pabrauktas","Underline text":"Pabraukti tekstą"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/lv.js b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/lv.js new file mode 100644 index 0000000..7bee2d6 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/lv.js @@ -0,0 +1 @@ +!function(t){const s=t.lv=t.lv||{};s.dictionary=Object.assign(s.dictionary||{},{Bold:"Trekns","Bold text":"Teksts treknrakstā",Code:"Kods",Italic:"Kursīvs","Italic text":"Teksts slīprakstā","Move out of an inline code style":"Iziet no iekļautā koda stila",Strikethrough:"Nosvītrots","Strikethrough text":"Pārsvītrot teksts",Subscript:"Apakšraksts",Superscript:"Augšraksts",Underline:"Pasvītrots","Underline text":"Pasvītrot tekstu"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/ms.js b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/ms.js new file mode 100644 index 0000000..d686720 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/ms.js @@ -0,0 +1 @@ +!function(e){const i=e.ms=e.ms||{};i.dictionary=Object.assign(i.dictionary||{},{Bold:"Tebal","Bold text":"Teks tebal",Code:"Kod",Italic:"Italik","Italic text":"Teks huruf condong","Move out of an inline code style":"Alih keluar daripada gaya kod sebaris",Strikethrough:"Garis lorek","Strikethrough text":"Teks coretan",Subscript:"Subskrip",Superscript:"Superskrip",Underline:"Garis bawah","Underline text":"Teks garis bawah"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/nb.js b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/nb.js new file mode 100644 index 0000000..e216f1a --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/nb.js @@ -0,0 +1 @@ +!function(t){const e=t.nb=t.nb||{};e.dictionary=Object.assign(e.dictionary||{},{Bold:"Fet","Bold text":"",Code:"Kode",Italic:"Kursiv","Italic text":"","Move out of an inline code style":"",Strikethrough:"Gjennomstreking","Strikethrough text":"",Subscript:"",Superscript:"",Underline:"Understreking","Underline text":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/ne.js b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/ne.js new file mode 100644 index 0000000..c907d17 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/ne.js @@ -0,0 +1 @@ +!function(t){const e=t.ne=t.ne||{};e.dictionary=Object.assign(e.dictionary||{},{Bold:"बोल्ड","Bold text":"",Code:"कोड",Italic:"इटालिक","Italic text":"","Move out of an inline code style":"",Strikethrough:"स्ट्राइकथ्रू","Strikethrough text":"",Subscript:"सबस्क्रिप्ट",Superscript:"सुपरस्क्रिप्ट",Underline:"रेखांकन","Underline text":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/nl.js b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/nl.js new file mode 100644 index 0000000..bae50b7 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/nl.js @@ -0,0 +1 @@ +!function(e){const t=e.nl=e.nl||{};t.dictionary=Object.assign(t.dictionary||{},{Bold:"Vet","Bold text":"Vetgedrukte tekst",Code:"Code",Italic:"Cursief","Italic text":"Cursieve tekst","Move out of an inline code style":"Uit een stijl voor code op één regel gaan",Strikethrough:"Doorhalen","Strikethrough text":"Doorgehaalde tekst",Subscript:"Subscript",Superscript:"Superscript",Underline:"Onderlijnen","Underline text":"Onderstreepte tekst"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/no.js b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/no.js new file mode 100644 index 0000000..37f6152 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/no.js @@ -0,0 +1 @@ +!function(t){const e=t.no=t.no||{};e.dictionary=Object.assign(e.dictionary||{},{Bold:"Fet","Bold text":"Uthevet tekst",Code:"Kode",Italic:"Kursiv","Italic text":"Kursiv tekst","Move out of an inline code style":"Gå ut av en intern kodestil",Strikethrough:"Gjennomstreket","Strikethrough text":"Gjennomstreket tekst",Subscript:"Senket skrift",Superscript:"Hevet skrift",Underline:"Understreket","Underline text":"Understreket tekst"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/oc.js b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/oc.js new file mode 100644 index 0000000..74c87f4 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/oc.js @@ -0,0 +1 @@ +!function(t){const i=t.oc=t.oc||{};i.dictionary=Object.assign(i.dictionary||{},{Bold:"Gras","Bold text":"",Code:"",Italic:"Italica","Italic text":"","Move out of an inline code style":"",Strikethrough:"","Strikethrough text":"",Subscript:"",Superscript:"",Underline:"","Underline text":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/pl.js b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/pl.js new file mode 100644 index 0000000..2bf78fb --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/pl.js @@ -0,0 +1 @@ +!function(e){const t=e.pl=e.pl||{};t.dictionary=Object.assign(t.dictionary||{},{Bold:"Pogrubienie","Bold text":"Pogrubia tekst",Code:"Kod",Italic:"Kursywa","Italic text":"Zmienia tekst na kursywę","Move out of an inline code style":"Przenosi zaznaczenie poza styl kodu inline",Strikethrough:"Przekreślenie","Strikethrough text":"Przekreśla tekst",Subscript:"Indeks dolny",Superscript:"Indeks górny",Underline:"Podkreślenie","Underline text":"Podkreśla tekst"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/pt-br.js b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/pt-br.js new file mode 100644 index 0000000..6eba982 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/pt-br.js @@ -0,0 +1 @@ +!function(t){const i=t["pt-br"]=t["pt-br"]||{};i.dictionary=Object.assign(i.dictionary||{},{Bold:"Negrito","Bold text":"Texto em negrito",Code:"Código",Italic:"Itálico","Italic text":"Texto em itálico","Move out of an inline code style":"Sair de um estilo de código inline",Strikethrough:"Tachado","Strikethrough text":"Texto com riscado",Subscript:"Subscrito",Superscript:"Sobrescrito",Underline:"Sublinhado","Underline text":"Texto sublinhado"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/pt.js b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/pt.js new file mode 100644 index 0000000..e92ee1e --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/pt.js @@ -0,0 +1 @@ +!function(t){const i=t.pt=t.pt||{};i.dictionary=Object.assign(i.dictionary||{},{Bold:"Negrito","Bold text":"Texto em negrito",Code:"Código",Italic:"Itálico","Italic text":"Texto em itálico","Move out of an inline code style":"Sair de um estilo de código inline",Strikethrough:"Rasurar","Strikethrough text":"Texto rasurado",Subscript:"Subscrito",Superscript:"Sobrescrito",Underline:"Sublinhado","Underline text":"Sublinhar texto"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/ro.js b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/ro.js new file mode 100644 index 0000000..6b30521 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/ro.js @@ -0,0 +1 @@ +!function(t){const i=t.ro=t.ro||{};i.dictionary=Object.assign(i.dictionary||{},{Bold:"Îngroșat","Bold text":"Text bold",Code:"Cod",Italic:"Cursiv","Italic text":"Text cursiv","Move out of an inline code style":"Ieșirea dintr-un stil de cod inline",Strikethrough:"Tăiere text cu o linie","Strikethrough text":"Text barat",Subscript:"Indice",Superscript:"Exponent",Underline:"Subliniat","Underline text":"Text subliniat"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/ru.js b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/ru.js new file mode 100644 index 0000000..a25caed --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/ru.js @@ -0,0 +1 @@ +!function(t){const i=t.ru=t.ru||{};i.dictionary=Object.assign(i.dictionary||{},{Bold:"Жирный","Bold text":"Жирный текст",Code:"Исходный код",Italic:"Курсив","Italic text":"Текст курсивом","Move out of an inline code style":"Выйти из встроенного стиля кода",Strikethrough:"Зачеркнутый","Strikethrough text":"Зачеркнутый текст",Subscript:"Подстрочный",Superscript:"Надстрочный",Underline:"Подчеркнутый","Underline text":"Подчеркнутый текст"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/si.js b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/si.js new file mode 100644 index 0000000..5e82b97 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/si.js @@ -0,0 +1 @@ +!function(t){const i=t.si=t.si||{};i.dictionary=Object.assign(i.dictionary||{},{Bold:"තදකුරු","Bold text":"",Code:"",Italic:"ඇලකුරු","Italic text":"","Move out of an inline code style":"",Strikethrough:"","Strikethrough text":"",Subscript:"",Superscript:"",Underline:"","Underline text":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/sk.js b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/sk.js new file mode 100644 index 0000000..2be1e52 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/sk.js @@ -0,0 +1 @@ +!function(t){const n=t.sk=t.sk||{};n.dictionary=Object.assign(n.dictionary||{},{Bold:"Tučné","Bold text":"Tučný text",Code:"Kód",Italic:"Kurzíva","Italic text":"Kurzíva","Move out of an inline code style":"Presunúť mimo vloženého kódu",Strikethrough:"Preškrtnuté","Strikethrough text":"Prečiarknutý text",Subscript:"Dolný index",Superscript:"Horný index",Underline:"Podčiarknuté","Underline text":"Podčiarknutý text"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/sl.js b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/sl.js new file mode 100644 index 0000000..3952040 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/sl.js @@ -0,0 +1 @@ +!function(t){const o=t.sl=t.sl||{};o.dictionary=Object.assign(o.dictionary||{},{Bold:"Krepko","Bold text":"",Code:"Koda",Italic:"Poševno","Italic text":"","Move out of an inline code style":"",Strikethrough:"Prečrtano","Strikethrough text":"",Subscript:"Naročnik",Superscript:"Nadpis",Underline:"Podčrtaj","Underline text":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/sq.js b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/sq.js new file mode 100644 index 0000000..8c236cf --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/sq.js @@ -0,0 +1 @@ +!function(t){const i=t.sq=t.sq||{};i.dictionary=Object.assign(i.dictionary||{},{Bold:"Trash","Bold text":"",Code:"Kod",Italic:"Pjerrtë","Italic text":"","Move out of an inline code style":"",Strikethrough:"Vi në mes","Strikethrough text":"",Subscript:"Abonohu",Superscript:"Mbishkrim",Underline:"Nënvizuar","Underline text":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/sr-latn.js b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/sr-latn.js new file mode 100644 index 0000000..a7d1095 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/sr-latn.js @@ -0,0 +1 @@ +!function(t){const e=t["sr-latn"]=t["sr-latn"]||{};e.dictionary=Object.assign(e.dictionary||{},{Bold:"Podebljano","Bold text":"",Code:"Kod",Italic:"Kurziv","Italic text":"","Move out of an inline code style":"",Strikethrough:"Precrtan","Strikethrough text":"",Subscript:"Index dole",Superscript:"Index gore",Underline:"Podvučen","Underline text":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/sr.js b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/sr.js new file mode 100644 index 0000000..f22f3bd --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/sr.js @@ -0,0 +1 @@ +!function(t){const e=t.sr=t.sr||{};e.dictionary=Object.assign(e.dictionary||{},{Bold:"Подебљано","Bold text":"Podebljan tekst",Code:"Код",Italic:"Курзив","Italic text":"Tekst u kurzivu","Move out of an inline code style":"Izađi iz inline stila",Strikethrough:"Прецртан","Strikethrough text":"Precrtan tekst",Subscript:"Индекс доле",Superscript:"Индекс горе",Underline:"Подвучен","Underline text":"Podvučen tekst"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/sv.js b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/sv.js new file mode 100644 index 0000000..461782a --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/sv.js @@ -0,0 +1 @@ +!function(t){const e=t.sv=t.sv||{};e.dictionary=Object.assign(e.dictionary||{},{Bold:"Fet","Bold text":"Fetstil",Code:"Kod",Italic:"Kursiv","Italic text":"Kursiv stil","Move out of an inline code style":"Flytta bort från inlinekodens stil",Strikethrough:"Genomstruken","Strikethrough text":"Genomstruken text",Subscript:"Nedsänkta tecken",Superscript:"Upphöjda tecken",Underline:"Understrykning","Underline text":"Understruken text"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/th.js b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/th.js new file mode 100644 index 0000000..e591c7b --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/th.js @@ -0,0 +1 @@ +!function(t){const i=t.th=t.th||{};i.dictionary=Object.assign(i.dictionary||{},{Bold:"ตัวหนา","Bold text":"ทำข้อความเป็นตัวหนา",Code:"โค้ด",Italic:"ตัวเอียง","Italic text":"ข้อความเอียง","Move out of an inline code style":"ย้ายออกจากสไตล์โค้ดแบบอินไลน์",Strikethrough:"ขีดทับ","Strikethrough text":"ขีดทับข้อความ",Subscript:"ตัวห้อย",Superscript:"ตัวยก",Underline:"ขีดเส้นใต้","Underline text":"ขีดเส้นใต้ข้อความ"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/tk.js b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/tk.js new file mode 100644 index 0000000..c27da9f --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/tk.js @@ -0,0 +1 @@ +!function(t){const i=t.tk=t.tk||{};i.dictionary=Object.assign(i.dictionary||{},{Bold:"Galyň","Bold text":"",Code:"Kod",Italic:"Italik","Italic text":"","Move out of an inline code style":"",Strikethrough:"Üsti çyzykly","Strikethrough text":"",Subscript:"Aşaky ýazgy",Superscript:"Üst ýazgy",Underline:"Aşagy çyzykly","Underline text":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/tr.js b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/tr.js new file mode 100644 index 0000000..e62e4ee --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/tr.js @@ -0,0 +1 @@ +!function(t){const i=t.tr=t.tr||{};i.dictionary=Object.assign(i.dictionary||{},{Bold:"Kalın","Bold text":"Kalın yazı",Code:"Kod",Italic:"İtalik","Italic text":"İtalik metin","Move out of an inline code style":"Satır içi kod stilinden çık",Strikethrough:"Üstü çizili","Strikethrough text":"Metnin üstünü çiz",Subscript:"Alt Simge",Superscript:"Üst Simge",Underline:"Altı Çizgili","Underline text":"Metnin altını çiz"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/tt.js b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/tt.js new file mode 100644 index 0000000..3da6dfe --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/tt.js @@ -0,0 +1 @@ +!function(t){const i=t.tt=t.tt||{};i.dictionary=Object.assign(i.dictionary||{},{Bold:"Калын","Bold text":"",Code:"Код",Italic:"","Italic text":"","Move out of an inline code style":"",Strikethrough:"","Strikethrough text":"",Subscript:"",Superscript:"",Underline:"","Underline text":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/ug.js b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/ug.js new file mode 100644 index 0000000..e45d1f3 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/ug.js @@ -0,0 +1 @@ +!function(t){const i=t.ug=t.ug||{};i.dictionary=Object.assign(i.dictionary||{},{Bold:"توم","Bold text":"",Code:"كود",Italic:"يانتۇ","Italic text":"","Move out of an inline code style":"",Strikethrough:"ئۆچۈرۈش سىزىقى","Strikethrough text":"",Subscript:"ئاستبەلگە",Superscript:"ئۈستبەلگە",Underline:"ئاستى سىزىق","Underline text":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/uk.js b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/uk.js new file mode 100644 index 0000000..30c0c65 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/uk.js @@ -0,0 +1 @@ +!function(t){const i=t.uk=t.uk||{};i.dictionary=Object.assign(i.dictionary||{},{Bold:"Жирний","Bold text":"Жирний шрифт",Code:"Код",Italic:"Курсив","Italic text":"Курсив","Move out of an inline code style":"Вийти зі стилю вбудованого коду",Strikethrough:"Закреслений","Strikethrough text":"Закреслений",Subscript:"Нижній індекс",Superscript:"Верхній індекс",Underline:"Підкреслений","Underline text":"Підкреслений"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/ur.js b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/ur.js new file mode 100644 index 0000000..a2b4860 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/ur.js @@ -0,0 +1 @@ +!function(t){const i=t.ur=t.ur||{};i.dictionary=Object.assign(i.dictionary||{},{Bold:"جلّی","Bold text":"",Code:"کوڈ",Italic:"ترچھا","Italic text":"","Move out of an inline code style":"",Strikethrough:"خط کشیدہ","Strikethrough text":"",Subscript:"زير نوشت",Superscript:"بالا نوشت",Underline:"ترچھا","Underline text":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/uz.js b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/uz.js new file mode 100644 index 0000000..52532a2 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/uz.js @@ -0,0 +1 @@ +!function(i){const t=i.uz=i.uz||{};t.dictionary=Object.assign(t.dictionary||{},{Bold:"Qalin","Bold text":"",Code:"Manba kodi",Italic:"Kursiv","Italic text":"","Move out of an inline code style":"",Strikethrough:"Chizilgan","Strikethrough text":"",Subscript:"Pastki yozuv",Superscript:"Yuqori yozuv",Underline:"Tagi chizilgan","Underline text":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/vi.js b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/vi.js new file mode 100644 index 0000000..1a7c381 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/vi.js @@ -0,0 +1 @@ +!function(n){const i=n.vi=n.vi||{};i.dictionary=Object.assign(i.dictionary||{},{Bold:"Đậm","Bold text":"In đậm chữ",Code:"Code",Italic:"Nghiêng","Italic text":"In nghiêng chữ","Move out of an inline code style":"Thoát khỏi kiểu mã nội dòng",Strikethrough:"Gạch ngang","Strikethrough text":"Gạch ngang chữ",Subscript:"Chữ nhỏ dưới",Superscript:"Chữ nhỏ trên",Underline:"Gạch dưới","Underline text":"Gạch chân chữ"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/zh-cn.js b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/zh-cn.js new file mode 100644 index 0000000..3e4c71d --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/zh-cn.js @@ -0,0 +1 @@ +!function(t){const i=t["zh-cn"]=t["zh-cn"]||{};i.dictionary=Object.assign(i.dictionary||{},{Bold:"加粗","Bold text":"加粗字体",Code:"代码",Italic:"倾斜","Italic text":"斜体文本","Move out of an inline code style":"摆脱内联代码风格",Strikethrough:"删除线","Strikethrough text":"给文本添加删除线",Subscript:"下标",Superscript:"上标",Underline:"下划线","Underline text":"给文本添加下划线"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/zh.js b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/zh.js new file mode 100644 index 0000000..2595245 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/build/translations/zh.js @@ -0,0 +1 @@ +!function(t){const i=t.zh=t.zh||{};i.dictionary=Object.assign(i.dictionary||{},{Bold:"粗體","Bold text":"粗體文字",Code:"代碼",Italic:"斜體","Italic text":"斜體文字","Move out of an inline code style":"移出行內程式碼樣式",Strikethrough:"刪除線","Strikethrough text":"刪除線文字",Subscript:"下標",Superscript:"上標",Underline:"底線","Underline text":"底線文字"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/ckeditor5-metadata.json b/node_modules/@ckeditor/ckeditor5-basic-styles/ckeditor5-metadata.json new file mode 100644 index 0000000..91308e7 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/ckeditor5-metadata.json @@ -0,0 +1,137 @@ +{ + "plugins": [ + { + "name": "Bold", + "className": "Bold", + "description": "Implements bold formatting support. It is a part of the basic text styles package.", + "docs": "features/basic-styles.html", + "path": "src/bold.js", + "uiComponents": [ + { + "type": "Button", + "name": "bold", + "iconPath": "@ckeditor/ckeditor5-core/theme/icons/bold.svg" + } + ], + "htmlOutput": [ + { + "elements": "strong" + } + ] + }, + { + "name": "Code", + "className": "Code", + "description": "Implements inline code formatting support. It is a part of the basic text styles package.", + "docs": "features/basic-styles.html", + "path": "src/code.js", + "uiComponents": [ + { + "type": "Button", + "name": "code", + "iconPath": "theme/icons/code.svg" + } + ], + "htmlOutput": [ + { + "elements": "code" + } + ] + }, + { + "name": "Italic", + "className": "Italic", + "description": "Implements italic formatting support. It is a part of the basic text styles package.", + "docs": "features/basic-styles.html", + "path": "src/italic.js", + "uiComponents": [ + { + "type": "Button", + "name": "italic", + "iconPath": "theme/icons/italic.svg" + } + ], + "htmlOutput": [ + { + "elements": "i" + } + ] + }, + { + "name": "Strikethrough", + "className": "Strikethrough", + "description": "Implements strikethrough formatting support. It is a part of the basic text styles package.", + "docs": "features/basic-styles.html", + "path": "src/strikethrough.js", + "uiComponents": [ + { + "type": "Button", + "name": "strikethrough", + "iconPath": "theme/icons/strikethrough.svg" + } + ], + "htmlOutput": [ + { + "elements": "s" + } + ] + }, + { + "name": "Subscript", + "className": "Subscript", + "description": "Implements subscript formatting support. It is a part of the basic text styles package.", + "docs": "features/basic-styles.html", + "path": "src/subscript.js", + "uiComponents": [ + { + "type": "Button", + "name": "subscript", + "iconPath": "theme/icons/subscript.svg" + } + ], + "htmlOutput": [ + { + "elements": "sub" + } + ] + }, + { + "name": "Superscript", + "className": "Superscript", + "description": "Implements superscript formatting support. It is a part of the basic text styles package.", + "docs": "features/basic-styles.html", + "path": "src/superscript.js", + "uiComponents": [ + { + "type": "Button", + "name": "superscript", + "iconPath": "theme/icons/superscript.svg" + } + ], + "htmlOutput": [ + { + "elements": "sup" + } + ] + }, + { + "name": "Underline", + "className": "Underline", + "description": "Implements underline formatting support. It is a part of the basic text styles package.", + "docs": "features/basic-styles.html", + "path": "src/underline.js", + "uiComponents": [ + { + "type": "Button", + "name": "underline", + "iconPath": "theme/icons/underline.svg" + } + ], + "htmlOutput": [ + { + "elements": "u" + } + ] + } + ] +} diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/lang/contexts.json b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/contexts.json new file mode 100644 index 0000000..581582c --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/contexts.json @@ -0,0 +1,14 @@ +{ + "Bold": "Toolbar button tooltip for the Bold feature.", + "Italic": "Toolbar button tooltip for the Italic feature.", + "Underline": "Toolbar button tooltip for the Underline feature.", + "Code": "Toolbar button tooltip for the Code feature.", + "Strikethrough": "Toolbar button tooltip for the Strikethrough feature.", + "Subscript": "Toolbar button tooltip for the Subscript feature.", + "Superscript": "Toolbar button tooltip for the Superscript feature.", + "Italic text": "Keystroke description for assistive technologies: keystroke for making text italic.", + "Move out of an inline code style": "Keystroke description for assistive technologies: keystroke for moving selection out of an inline code style.", + "Bold text": "Keystroke description for assistive technologies: keystroke for making text bold.", + "Underline text": "Keystroke description for assistive technologies: keystroke for making text underlined.", + "Strikethrough text": "Keystroke description for assistive technologies: keystroke for making text strikethrough." +} diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/af.po b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/af.po new file mode 100644 index 0000000..b688c17 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/af.po @@ -0,0 +1,66 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Afrikaans (https://app.transifex.com/ckeditor/teams/11143/af/)\n" +"Language: af\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "Vet" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "Kursief" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "Onderstreep" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "Bronkode" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "Deurstreep" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "Onderskrif" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "Boskrif" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text italic." +msgid "Italic text" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for moving selection out of an inline code style." +msgid "Move out of an inline code style" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text bold." +msgid "Bold text" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text underlined." +msgid "Underline text" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text strikethrough." +msgid "Strikethrough text" +msgstr "" diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/ar.po b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/ar.po new file mode 100644 index 0000000..bc8473d --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/ar.po @@ -0,0 +1,66 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Arabic (https://app.transifex.com/ckeditor/teams/11143/ar/)\n" +"Language: ar\n" +"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "عريض" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "مائل" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "تحته خط" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "شفرة برمجية" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "يتوسطه خط" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "حرف منخفض" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "حرف مرتفع" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text italic." +msgid "Italic text" +msgstr "نص مائل" + +msgctxt "Keystroke description for assistive technologies: keystroke for moving selection out of an inline code style." +msgid "Move out of an inline code style" +msgstr "ابتعدْ عن نمط التعليمات البرمجية المضمّنة" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text bold." +msgid "Bold text" +msgstr "نص غامق" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text underlined." +msgid "Underline text" +msgstr "تسطير النص" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text strikethrough." +msgid "Strikethrough text" +msgstr "توسيط الخط في النص" diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/ast.po b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/ast.po new file mode 100644 index 0000000..bb87fc3 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/ast.po @@ -0,0 +1,66 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Asturian (https://app.transifex.com/ckeditor/teams/11143/ast/)\n" +"Language: ast\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "Negrina" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "Cursiva" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text italic." +msgid "Italic text" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for moving selection out of an inline code style." +msgid "Move out of an inline code style" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text bold." +msgid "Bold text" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text underlined." +msgid "Underline text" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text strikethrough." +msgid "Strikethrough text" +msgstr "" diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/az.po b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/az.po new file mode 100644 index 0000000..e478b3d --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/az.po @@ -0,0 +1,66 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Azerbaijani (https://app.transifex.com/ckeditor/teams/11143/az/)\n" +"Language: az\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "Yarıqalın" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "Maili" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "Altdan xətt" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "Kod" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "Qaralanmış" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "Alt yazı" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "Üst yazı" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text italic." +msgid "Italic text" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for moving selection out of an inline code style." +msgid "Move out of an inline code style" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text bold." +msgid "Bold text" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text underlined." +msgid "Underline text" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text strikethrough." +msgid "Strikethrough text" +msgstr "" diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/bg.po b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/bg.po new file mode 100644 index 0000000..b7aa378 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/bg.po @@ -0,0 +1,66 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Bulgarian (https://app.transifex.com/ckeditor/teams/11143/bg/)\n" +"Language: bg\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "Удебелен" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "Курсив" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "Подчертаване" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "Код" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "Зачертаване" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "Долен индекс" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "Горен индекс" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text italic." +msgid "Italic text" +msgstr "Наклонен текст" + +msgctxt "Keystroke description for assistive technologies: keystroke for moving selection out of an inline code style." +msgid "Move out of an inline code style" +msgstr "Излизане от подравнен стил на кодиране" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text bold." +msgid "Bold text" +msgstr "Почернен текст" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text underlined." +msgid "Underline text" +msgstr "Подчертан текст" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text strikethrough." +msgid "Strikethrough text" +msgstr "Зачертан текст" diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/bn.po b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/bn.po new file mode 100644 index 0000000..100604f --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/bn.po @@ -0,0 +1,66 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Bengali (https://app.transifex.com/ckeditor/teams/11143/bn/)\n" +"Language: bn\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "বোল্ড" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "ইটালিক" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "আন্ডারলাইন" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "কোড" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "স্ট্রাইকথ্রু" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "সাবস্ক্রিপ্ট" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "সুপারস্ক্রিপ্ট" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text italic." +msgid "Italic text" +msgstr "ইটালিক টেক্সট" + +msgctxt "Keystroke description for assistive technologies: keystroke for moving selection out of an inline code style." +msgid "Move out of an inline code style" +msgstr "ইনলাইন কোড স্টাইল থেকে সরে আসুন" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text bold." +msgid "Bold text" +msgstr "বোল্ড টেক্সট" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text underlined." +msgid "Underline text" +msgstr "আন্ডারলাইন টেক্সট" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text strikethrough." +msgid "Strikethrough text" +msgstr "স্ট্রাইকথ্রু টেক্সট" diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/bs.po b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/bs.po new file mode 100644 index 0000000..b725395 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/bs.po @@ -0,0 +1,66 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Bosnian (https://app.transifex.com/ckeditor/teams/11143/bs/)\n" +"Language: bs\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "Podebljano" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "Zakrivljeno" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "Podcrtano" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "Kod" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "Precrtano" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text italic." +msgid "Italic text" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for moving selection out of an inline code style." +msgid "Move out of an inline code style" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text bold." +msgid "Bold text" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text underlined." +msgid "Underline text" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text strikethrough." +msgid "Strikethrough text" +msgstr "" diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/ca.po b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/ca.po new file mode 100644 index 0000000..3912d4e --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/ca.po @@ -0,0 +1,66 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Catalan (https://app.transifex.com/ckeditor/teams/11143/ca/)\n" +"Language: ca\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "Negreta" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "Cursiva" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "Subrallat" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "Codi" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "Marcat" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "Subíndex" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "Superíndex" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text italic." +msgid "Italic text" +msgstr "Text en cursiva" + +msgctxt "Keystroke description for assistive technologies: keystroke for moving selection out of an inline code style." +msgid "Move out of an inline code style" +msgstr "Surt d'un codi d'estil en línia" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text bold." +msgid "Bold text" +msgstr "Text en negreta" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text underlined." +msgid "Underline text" +msgstr "Subratlla el text" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text strikethrough." +msgid "Strikethrough text" +msgstr "Barra el text" diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/cs.po b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/cs.po new file mode 100644 index 0000000..d50392a --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/cs.po @@ -0,0 +1,66 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Czech (https://app.transifex.com/ckeditor/teams/11143/cs/)\n" +"Language: cs\n" +"Plural-Forms: nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n >= 2 && n <= 4 && n % 1 == 0) ? 1: (n % 1 != 0 ) ? 2 : 3;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "Tučné" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "Kurzíva" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "Podtržené" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "Kódový blok" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "Přeškrtnuté" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "Dolní index" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "Horní index" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text italic." +msgid "Italic text" +msgstr "Kurzíva" + +msgctxt "Keystroke description for assistive technologies: keystroke for moving selection out of an inline code style." +msgid "Move out of an inline code style" +msgstr "Odejít ze stylu vloženého kódu" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text bold." +msgid "Bold text" +msgstr "Tučně" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text underlined." +msgid "Underline text" +msgstr "Podtrhnutí" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text strikethrough." +msgid "Strikethrough text" +msgstr "Přešktnutí" diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/da.po b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/da.po new file mode 100644 index 0000000..5e9c196 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/da.po @@ -0,0 +1,66 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Danish (https://app.transifex.com/ckeditor/teams/11143/da/)\n" +"Language: da\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "Fed" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "Kursiv" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "Understreget" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "Kode" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "Gennemstreg" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "Sænket skrift" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "Hævet skrift" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text italic." +msgid "Italic text" +msgstr "Kursiv tekst" + +msgctxt "Keystroke description for assistive technologies: keystroke for moving selection out of an inline code style." +msgid "Move out of an inline code style" +msgstr "Flyt ud af en inline-kodestil" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text bold." +msgid "Bold text" +msgstr "Fed tekst" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text underlined." +msgid "Underline text" +msgstr "Understreget tekst" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text strikethrough." +msgid "Strikethrough text" +msgstr "Gennemstreget tekst" diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/de-ch.po b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/de-ch.po new file mode 100644 index 0000000..e0ed0b3 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/de-ch.po @@ -0,0 +1,66 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: German (Switzerland) (https://app.transifex.com/ckeditor/teams/11143/de_CH/)\n" +"Language: de_CH\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "Fett" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "Kursiv" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "Unterstrichen" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "Code" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "Durchgestrichen" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "Tiefgestellt" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "Hochgestellt" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text italic." +msgid "Italic text" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for moving selection out of an inline code style." +msgid "Move out of an inline code style" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text bold." +msgid "Bold text" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text underlined." +msgid "Underline text" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text strikethrough." +msgid "Strikethrough text" +msgstr "" diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/de.po b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/de.po new file mode 100644 index 0000000..29f176c --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/de.po @@ -0,0 +1,66 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: German (https://app.transifex.com/ckeditor/teams/11143/de/)\n" +"Language: de\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "Fett" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "Kursiv" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "Unterstrichen" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "Code" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "Durchgestrichen" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "Tiefgestellt" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "Hochgestellt" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text italic." +msgid "Italic text" +msgstr "Kursivschrift" + +msgctxt "Keystroke description for assistive technologies: keystroke for moving selection out of an inline code style." +msgid "Move out of an inline code style" +msgstr "Inline Code Style verlassen" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text bold." +msgid "Bold text" +msgstr "Fettschrift" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text underlined." +msgid "Underline text" +msgstr "Text hervorheben" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text strikethrough." +msgid "Strikethrough text" +msgstr "Durchgestrichener Text" diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/el.po b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/el.po new file mode 100644 index 0000000..09a5f18 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/el.po @@ -0,0 +1,66 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Greek (https://app.transifex.com/ckeditor/teams/11143/el/)\n" +"Language: el\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "Έντονα" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "Πλάγια" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "Υπογράμμιση" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "Κώδικας" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "Διακριτή διαγραφή" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "Δείκτης" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "Εκθέτης" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text italic." +msgid "Italic text" +msgstr "Πλάγιο κείμενο" + +msgctxt "Keystroke description for assistive technologies: keystroke for moving selection out of an inline code style." +msgid "Move out of an inline code style" +msgstr "Μετακίνηση από ένα στυλ ενσωματωμένου κώδικα" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text bold." +msgid "Bold text" +msgstr "Έντονο κείμενο" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text underlined." +msgid "Underline text" +msgstr "Υπογράμμιση κειμένου" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text strikethrough." +msgid "Strikethrough text" +msgstr "Διακριτική διαγραφή κειμένου" diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/en-au.po b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/en-au.po new file mode 100644 index 0000000..11af4bc --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/en-au.po @@ -0,0 +1,66 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: English (Australia) (https://app.transifex.com/ckeditor/teams/11143/en_AU/)\n" +"Language: en_AU\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "Bold" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "Italic" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "Underline" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "Code" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "Strikethrough" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "Subscript" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "Superscript" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text italic." +msgid "Italic text" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for moving selection out of an inline code style." +msgid "Move out of an inline code style" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text bold." +msgid "Bold text" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text underlined." +msgid "Underline text" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text strikethrough." +msgid "Strikethrough text" +msgstr "" diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/en-gb.po b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/en-gb.po new file mode 100644 index 0000000..ba9a858 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/en-gb.po @@ -0,0 +1,66 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: English (United Kingdom) (https://app.transifex.com/ckeditor/teams/11143/en_GB/)\n" +"Language: en_GB\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "Bold" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "Italic" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "Underline" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "Code" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "Strikethrough" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "Subscript" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "Superscript" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text italic." +msgid "Italic text" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for moving selection out of an inline code style." +msgid "Move out of an inline code style" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text bold." +msgid "Bold text" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text underlined." +msgid "Underline text" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text strikethrough." +msgid "Strikethrough text" +msgstr "" diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/en.po b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/en.po new file mode 100644 index 0000000..1fc08c4 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/en.po @@ -0,0 +1,66 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language: \n" +"Language-Team: \n" +"Plural-Forms: \n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "Bold" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "Italic" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "Underline" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "Code" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "Strikethrough" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "Subscript" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "Superscript" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text italic." +msgid "Italic text" +msgstr "Italic text" + +msgctxt "Keystroke description for assistive technologies: keystroke for moving selection out of an inline code style." +msgid "Move out of an inline code style" +msgstr "Move out of an inline code style" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text bold." +msgid "Bold text" +msgstr "Bold text" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text underlined." +msgid "Underline text" +msgstr "Underline text" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text strikethrough." +msgid "Strikethrough text" +msgstr "Strikethrough text" diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/eo.po b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/eo.po new file mode 100644 index 0000000..f4e7082 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/eo.po @@ -0,0 +1,66 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Esperanto (https://app.transifex.com/ckeditor/teams/11143/eo/)\n" +"Language: eo\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "grasa" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "kursiva" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text italic." +msgid "Italic text" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for moving selection out of an inline code style." +msgid "Move out of an inline code style" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text bold." +msgid "Bold text" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text underlined." +msgid "Underline text" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text strikethrough." +msgid "Strikethrough text" +msgstr "" diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/es-co.po b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/es-co.po new file mode 100644 index 0000000..8ac0449 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/es-co.po @@ -0,0 +1,66 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Spanish (Colombia) (https://app.transifex.com/ckeditor/teams/11143/es_CO/)\n" +"Language: es_CO\n" +"Plural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "Negrita" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "Cursiva" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "Subrayado" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "Código" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "Tachado" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "Subíndice" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "Superíndice" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text italic." +msgid "Italic text" +msgstr "Texto en cursiva" + +msgctxt "Keystroke description for assistive technologies: keystroke for moving selection out of an inline code style." +msgid "Move out of an inline code style" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text bold." +msgid "Bold text" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text underlined." +msgid "Underline text" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text strikethrough." +msgid "Strikethrough text" +msgstr "" diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/es.po b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/es.po new file mode 100644 index 0000000..155b264 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/es.po @@ -0,0 +1,66 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Spanish (https://app.transifex.com/ckeditor/teams/11143/es/)\n" +"Language: es\n" +"Plural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "Negrita" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "Cursiva" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "Subrayado" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "Código" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "Tachado" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "Subíndice" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "Superíndice" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text italic." +msgid "Italic text" +msgstr "Texto en cursiva" + +msgctxt "Keystroke description for assistive technologies: keystroke for moving selection out of an inline code style." +msgid "Move out of an inline code style" +msgstr "Sale de un estilo de código en línea" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text bold." +msgid "Bold text" +msgstr "Texto en negrita" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text underlined." +msgid "Underline text" +msgstr "Subraya el texto" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text strikethrough." +msgid "Strikethrough text" +msgstr "Tacha el texto" diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/et.po b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/et.po new file mode 100644 index 0000000..95f1fe0 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/et.po @@ -0,0 +1,66 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Estonian (https://app.transifex.com/ckeditor/teams/11143/et/)\n" +"Language: et\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "Rasvane" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "Kaldkiri" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "Allajoonitud" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "Kood" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "Läbijoonitud" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "Alaindeks" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "Ülaindeks" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text italic." +msgid "Italic text" +msgstr "Kaldkirjas tekst" + +msgctxt "Keystroke description for assistive technologies: keystroke for moving selection out of an inline code style." +msgid "Move out of an inline code style" +msgstr "Välju reasisese koodi stiilist" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text bold." +msgid "Bold text" +msgstr "Paks tekst" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text underlined." +msgid "Underline text" +msgstr "Allakriipsutatud tekst" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text strikethrough." +msgid "Strikethrough text" +msgstr "Läbikriipsutatud tekst" diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/eu.po b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/eu.po new file mode 100644 index 0000000..54a71e8 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/eu.po @@ -0,0 +1,66 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Basque (https://app.transifex.com/ckeditor/teams/11143/eu/)\n" +"Language: eu\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "Lodia" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "Etzana" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "Azpimarra" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "Kodea" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text italic." +msgid "Italic text" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for moving selection out of an inline code style." +msgid "Move out of an inline code style" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text bold." +msgid "Bold text" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text underlined." +msgid "Underline text" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text strikethrough." +msgid "Strikethrough text" +msgstr "" diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/fa.po b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/fa.po new file mode 100644 index 0000000..ada5120 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/fa.po @@ -0,0 +1,66 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Persian (https://app.transifex.com/ckeditor/teams/11143/fa/)\n" +"Language: fa\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "درشت" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "کج" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "خط زیر" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "کد" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "خط خورده" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "پایین نویس" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "بالانویس" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text italic." +msgid "Italic text" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for moving selection out of an inline code style." +msgid "Move out of an inline code style" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text bold." +msgid "Bold text" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text underlined." +msgid "Underline text" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text strikethrough." +msgid "Strikethrough text" +msgstr "" diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/fi.po b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/fi.po new file mode 100644 index 0000000..dbf4bf8 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/fi.po @@ -0,0 +1,66 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Finnish (https://app.transifex.com/ckeditor/teams/11143/fi/)\n" +"Language: fi\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "Lihavointi" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "Kursivointi" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "Alleviivaus" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "Koodi" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "Yliviivaus" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "Alaindeksi" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "Yläindeksi" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text italic." +msgid "Italic text" +msgstr "Kursivoitu teksti" + +msgctxt "Keystroke description for assistive technologies: keystroke for moving selection out of an inline code style." +msgid "Move out of an inline code style" +msgstr "Siirry pois rivinsisäisestä koodista" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text bold." +msgid "Bold text" +msgstr "Lihavoitu teksti" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text underlined." +msgid "Underline text" +msgstr "Alleviivattu teksti" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text strikethrough." +msgid "Strikethrough text" +msgstr "Yliviivattu teksti" diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/fr.po b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/fr.po new file mode 100644 index 0000000..620fc29 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/fr.po @@ -0,0 +1,66 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: French (https://app.transifex.com/ckeditor/teams/11143/fr/)\n" +"Language: fr\n" +"Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "Gras" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "Italique" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "Souligné" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "Code" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "Barré" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "Indice" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "Exposant" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text italic." +msgid "Italic text" +msgstr "Texte en italique" + +msgctxt "Keystroke description for assistive technologies: keystroke for moving selection out of an inline code style." +msgid "Move out of an inline code style" +msgstr "Sortir d'un style de code en ligne" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text bold." +msgid "Bold text" +msgstr "Texte en gras" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text underlined." +msgid "Underline text" +msgstr "Souligner le texte" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text strikethrough." +msgid "Strikethrough text" +msgstr "Texte barré" diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/gl.po b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/gl.po new file mode 100644 index 0000000..3a128ab --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/gl.po @@ -0,0 +1,66 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Galician (https://app.transifex.com/ckeditor/teams/11143/gl/)\n" +"Language: gl\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "Negra" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "Itálica" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "Subliñado" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "Código" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "Riscado" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "Subíndice" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "Superíndice" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text italic." +msgid "Italic text" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for moving selection out of an inline code style." +msgid "Move out of an inline code style" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text bold." +msgid "Bold text" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text underlined." +msgid "Underline text" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text strikethrough." +msgid "Strikethrough text" +msgstr "" diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/gu.po b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/gu.po new file mode 100644 index 0000000..ac6ca24 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/gu.po @@ -0,0 +1,66 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Gujarati (https://app.transifex.com/ckeditor/teams/11143/gu/)\n" +"Language: gu\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "ઘાટુ - બોલ્ડ્" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "ત્રાંસુ - ઇટલિક્" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "નીચે લિટી - અન્ડરલાઇન્" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text italic." +msgid "Italic text" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for moving selection out of an inline code style." +msgid "Move out of an inline code style" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text bold." +msgid "Bold text" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text underlined." +msgid "Underline text" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text strikethrough." +msgid "Strikethrough text" +msgstr "" diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/he.po b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/he.po new file mode 100644 index 0000000..58e338c --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/he.po @@ -0,0 +1,66 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Hebrew (https://app.transifex.com/ckeditor/teams/11143/he/)\n" +"Language: he\n" +"Plural-Forms: nplurals=3; plural=(n == 1 && n % 1 == 0) ? 0 : (n == 2 && n % 1 == 0) ? 1: 2;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "מודגש" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "נטוי" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "קו תחתון" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "קוד" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "קו חוצה" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "כתב תחתי" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "כתב עילי" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text italic." +msgid "Italic text" +msgstr "טקסט נטוי" + +msgctxt "Keystroke description for assistive technologies: keystroke for moving selection out of an inline code style." +msgid "Move out of an inline code style" +msgstr "יציאה מסגנון קוד מוטבע" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text bold." +msgid "Bold text" +msgstr "טקסט מודגש" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text underlined." +msgid "Underline text" +msgstr "הוספת קו תחתון לטקסט" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text strikethrough." +msgid "Strikethrough text" +msgstr "הוספת קו חוצה לטקסט" diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/hi.po b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/hi.po new file mode 100644 index 0000000..afb3a03 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/hi.po @@ -0,0 +1,66 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Hindi (https://app.transifex.com/ckeditor/teams/11143/hi/)\n" +"Language: hi\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "Bold" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "Italic" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "Underline" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "Code" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "Strikethrough" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "Subscript" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "Superscript" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text italic." +msgid "Italic text" +msgstr "इटैलिक टेक्स्ट" + +msgctxt "Keystroke description for assistive technologies: keystroke for moving selection out of an inline code style." +msgid "Move out of an inline code style" +msgstr "इनलाइन कोड स्टाइल के बाहर जाएँ" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text bold." +msgid "Bold text" +msgstr "टेक्स्ट को बोल्ड करें" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text underlined." +msgid "Underline text" +msgstr "टेक्स्ट को अंडरलाइन करें" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text strikethrough." +msgid "Strikethrough text" +msgstr "टेक्स्ट को स्ट्राइकथ्रू करें" diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/hr.po b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/hr.po new file mode 100644 index 0000000..a91393a --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/hr.po @@ -0,0 +1,66 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Croatian (https://app.transifex.com/ckeditor/teams/11143/hr/)\n" +"Language: hr\n" +"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "Podebljano" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "Ukošeno" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "Podcrtavanje" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "Kod" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "Precrtano" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "Indeks" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "Eksponent" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text italic." +msgid "Italic text" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for moving selection out of an inline code style." +msgid "Move out of an inline code style" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text bold." +msgid "Bold text" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text underlined." +msgid "Underline text" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text strikethrough." +msgid "Strikethrough text" +msgstr "" diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/hu.po b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/hu.po new file mode 100644 index 0000000..2a3b978 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/hu.po @@ -0,0 +1,66 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Hungarian (https://app.transifex.com/ckeditor/teams/11143/hu/)\n" +"Language: hu\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "Félkövér" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "Dőlt" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "Aláhúzott" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "Forráskód" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "Áthúzott" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "Alsó index" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "Felső index" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text italic." +msgid "Italic text" +msgstr "Dőlt szöveg" + +msgctxt "Keystroke description for assistive technologies: keystroke for moving selection out of an inline code style." +msgid "Move out of an inline code style" +msgstr "Kilépés egy soron belüli kódstílusból" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text bold." +msgid "Bold text" +msgstr "Félkövér szöveg" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text underlined." +msgid "Underline text" +msgstr "Aláhúzott szöveg" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text strikethrough." +msgid "Strikethrough text" +msgstr "Áthúzott szöveg" diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/hy.po b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/hy.po new file mode 100644 index 0000000..01d8aa1 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/hy.po @@ -0,0 +1,66 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Armenian (https://app.transifex.com/ckeditor/teams/11143/hy/)\n" +"Language: hy\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "Թավագիր" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "Շեղագիր" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "Ընդգծել" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "Կոդ" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "Գծանշել" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "Ենթատեքստ" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "Գերագիր" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text italic." +msgid "Italic text" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for moving selection out of an inline code style." +msgid "Move out of an inline code style" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text bold." +msgid "Bold text" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text underlined." +msgid "Underline text" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text strikethrough." +msgid "Strikethrough text" +msgstr "" diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/id.po b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/id.po new file mode 100644 index 0000000..4447d1a --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/id.po @@ -0,0 +1,66 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Indonesian (https://app.transifex.com/ckeditor/teams/11143/id/)\n" +"Language: id\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "Tebal" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "Miring" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "Garis bawah" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "Kode" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "Coret" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "Subskrip" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "Superskrip" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text italic." +msgid "Italic text" +msgstr "Teks miring" + +msgctxt "Keystroke description for assistive technologies: keystroke for moving selection out of an inline code style." +msgid "Move out of an inline code style" +msgstr "Keluar dari gaya kode sebaris" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text bold." +msgid "Bold text" +msgstr "Teks tebal" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text underlined." +msgid "Underline text" +msgstr "Teks bergaris bawah" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text strikethrough." +msgid "Strikethrough text" +msgstr "Teks yang dicoret" diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/it.po b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/it.po new file mode 100644 index 0000000..5da3456 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/it.po @@ -0,0 +1,66 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Italian (https://app.transifex.com/ckeditor/teams/11143/it/)\n" +"Language: it\n" +"Plural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "Grassetto" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "Corsivo" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "Sottolineato" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "Codice" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "Barrato" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "Pedice" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "Apice" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text italic." +msgid "Italic text" +msgstr "Testo in corsivo" + +msgctxt "Keystroke description for assistive technologies: keystroke for moving selection out of an inline code style." +msgid "Move out of an inline code style" +msgstr "Esce da uno stile di codice in linea" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text bold." +msgid "Bold text" +msgstr "Testo in grassetto" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text underlined." +msgid "Underline text" +msgstr "Testo sottolineato" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text strikethrough." +msgid "Strikethrough text" +msgstr "Testo barrato" diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/ja.po b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/ja.po new file mode 100644 index 0000000..5eba76a --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/ja.po @@ -0,0 +1,66 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Japanese (https://app.transifex.com/ckeditor/teams/11143/ja/)\n" +"Language: ja\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "ボールド" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "イタリック" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "アンダーライン" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "コード" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "取り消し線" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "下付き文字" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "上付き文字" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text italic." +msgid "Italic text" +msgstr "斜体" + +msgctxt "Keystroke description for assistive technologies: keystroke for moving selection out of an inline code style." +msgid "Move out of an inline code style" +msgstr "インラインコードスタイルを終了する" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text bold." +msgid "Bold text" +msgstr "太字" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text underlined." +msgid "Underline text" +msgstr "下線" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text strikethrough." +msgid "Strikethrough text" +msgstr "取り消し線" diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/jv.po b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/jv.po new file mode 100644 index 0000000..ea3a97e --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/jv.po @@ -0,0 +1,66 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Javanese (https://app.transifex.com/ckeditor/teams/11143/jv/)\n" +"Language: jv\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "Kandhel" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "Miring" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "Garis ngandhap" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "Kode" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "Seratan dicoret" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text italic." +msgid "Italic text" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for moving selection out of an inline code style." +msgid "Move out of an inline code style" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text bold." +msgid "Bold text" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text underlined." +msgid "Underline text" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text strikethrough." +msgid "Strikethrough text" +msgstr "" diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/km.po b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/km.po new file mode 100644 index 0000000..7835f5c --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/km.po @@ -0,0 +1,66 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Khmer (https://app.transifex.com/ckeditor/teams/11143/km/)\n" +"Language: km\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "ដិត" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "ទ្រេត" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "គូស​បន្ទាត់​ក្រោម" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "កូដ" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "ឆូតកណ្ដាល" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "អក្សរ​តូចក្រោម" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "អក្សរ​តូចលើ" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text italic." +msgid "Italic text" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for moving selection out of an inline code style." +msgid "Move out of an inline code style" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text bold." +msgid "Bold text" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text underlined." +msgid "Underline text" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text strikethrough." +msgid "Strikethrough text" +msgstr "" diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/kn.po b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/kn.po new file mode 100644 index 0000000..4786b5c --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/kn.po @@ -0,0 +1,66 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Kannada (https://app.transifex.com/ckeditor/teams/11143/kn/)\n" +"Language: kn\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "‍‍ದಪ್ಪ" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "‍ಇಟಾಲಿಕ್" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text italic." +msgid "Italic text" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for moving selection out of an inline code style." +msgid "Move out of an inline code style" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text bold." +msgid "Bold text" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text underlined." +msgid "Underline text" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text strikethrough." +msgid "Strikethrough text" +msgstr "" diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/ko.po b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/ko.po new file mode 100644 index 0000000..c23055c --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/ko.po @@ -0,0 +1,66 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Korean (https://app.transifex.com/ckeditor/teams/11143/ko/)\n" +"Language: ko\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "굵게" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "기울임꼴" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "밑줄" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "코드" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "취소선" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "아래 첨자" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "위 첨자" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text italic." +msgid "Italic text" +msgstr "기울인 텍스트" + +msgctxt "Keystroke description for assistive technologies: keystroke for moving selection out of an inline code style." +msgid "Move out of an inline code style" +msgstr "인라인 코드 스타일 밖으로 이동" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text bold." +msgid "Bold text" +msgstr "굵은 텍스트" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text underlined." +msgid "Underline text" +msgstr "텍스트 밑줄" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text strikethrough." +msgid "Strikethrough text" +msgstr "텍스트 취소선" diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/ku.po b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/ku.po new file mode 100644 index 0000000..ecf03db --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/ku.po @@ -0,0 +1,66 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Kurdish (https://app.transifex.com/ckeditor/teams/11143/ku/)\n" +"Language: ku\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "قەڵەو" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "لار" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "ژێرهێڵ" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "کۆد" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "هێڵ بەسەرداهاتوو" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "ژێرنووس" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "سەرنووس" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text italic." +msgid "Italic text" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for moving selection out of an inline code style." +msgid "Move out of an inline code style" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text bold." +msgid "Bold text" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text underlined." +msgid "Underline text" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text strikethrough." +msgid "Strikethrough text" +msgstr "" diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/lt.po b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/lt.po new file mode 100644 index 0000000..8bcf010 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/lt.po @@ -0,0 +1,66 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Lithuanian (https://app.transifex.com/ckeditor/teams/11143/lt/)\n" +"Language: lt\n" +"Plural-Forms: nplurals=4; plural=(n % 10 == 1 && (n % 100 > 19 || n % 100 < 11) ? 0 : (n % 10 >= 2 && n % 10 <=9) && (n % 100 > 19 || n % 100 < 11) ? 1 : n % 1 != 0 ? 2: 3);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "Paryškintas" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "Kursyvas" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "Pabrauktas" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "Kodas" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "Perbrauktas" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "Žemiau" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "Aukščiau" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text italic." +msgid "Italic text" +msgstr "Rašyti tekstą kursyvu" + +msgctxt "Keystroke description for assistive technologies: keystroke for moving selection out of an inline code style." +msgid "Move out of an inline code style" +msgstr "Perėjimas iš įterptojo kodo stiliaus" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text bold." +msgid "Bold text" +msgstr "Pajuodinti tekstą" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text underlined." +msgid "Underline text" +msgstr "Pabraukti tekstą" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text strikethrough." +msgid "Strikethrough text" +msgstr "Perbraukti tekstą" diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/lv.po b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/lv.po new file mode 100644 index 0000000..87934df --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/lv.po @@ -0,0 +1,66 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Latvian (https://app.transifex.com/ckeditor/teams/11143/lv/)\n" +"Language: lv\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : 2);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "Trekns" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "Kursīvs" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "Pasvītrots" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "Kods" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "Nosvītrots" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "Apakšraksts" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "Augšraksts" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text italic." +msgid "Italic text" +msgstr "Teksts slīprakstā" + +msgctxt "Keystroke description for assistive technologies: keystroke for moving selection out of an inline code style." +msgid "Move out of an inline code style" +msgstr "Iziet no iekļautā koda stila" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text bold." +msgid "Bold text" +msgstr "Teksts treknrakstā" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text underlined." +msgid "Underline text" +msgstr "Pasvītrot tekstu" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text strikethrough." +msgid "Strikethrough text" +msgstr "Pārsvītrot teksts" diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/ms.po b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/ms.po new file mode 100644 index 0000000..985483f --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/ms.po @@ -0,0 +1,66 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Malay (https://app.transifex.com/ckeditor/teams/11143/ms/)\n" +"Language: ms\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "Tebal" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "Italik" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "Garis bawah" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "Kod" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "Garis lorek" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "Subskrip" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "Superskrip" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text italic." +msgid "Italic text" +msgstr "Teks huruf condong" + +msgctxt "Keystroke description for assistive technologies: keystroke for moving selection out of an inline code style." +msgid "Move out of an inline code style" +msgstr "Alih keluar daripada gaya kod sebaris" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text bold." +msgid "Bold text" +msgstr "Teks tebal" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text underlined." +msgid "Underline text" +msgstr "Teks garis bawah" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text strikethrough." +msgid "Strikethrough text" +msgstr "Teks coretan" diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/nb.po b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/nb.po new file mode 100644 index 0000000..5c8904b --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/nb.po @@ -0,0 +1,66 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Norwegian Bokmål (https://app.transifex.com/ckeditor/teams/11143/nb/)\n" +"Language: nb\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "Fet" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "Kursiv" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "Understreking" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "Kode" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "Gjennomstreking" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text italic." +msgid "Italic text" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for moving selection out of an inline code style." +msgid "Move out of an inline code style" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text bold." +msgid "Bold text" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text underlined." +msgid "Underline text" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text strikethrough." +msgid "Strikethrough text" +msgstr "" diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/ne.po b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/ne.po new file mode 100644 index 0000000..ce38ada --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/ne.po @@ -0,0 +1,66 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Nepali (Nepal) (https://app.transifex.com/ckeditor/teams/11143/ne_NP/)\n" +"Language: ne_NP\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "बोल्ड" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "इटालिक" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "रेखांकन" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "कोड" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "स्ट्राइकथ्रू" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "सबस्क्रिप्ट" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "सुपरस्क्रिप्ट" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text italic." +msgid "Italic text" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for moving selection out of an inline code style." +msgid "Move out of an inline code style" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text bold." +msgid "Bold text" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text underlined." +msgid "Underline text" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text strikethrough." +msgid "Strikethrough text" +msgstr "" diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/nl.po b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/nl.po new file mode 100644 index 0000000..90bd768 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/nl.po @@ -0,0 +1,66 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Dutch (https://app.transifex.com/ckeditor/teams/11143/nl/)\n" +"Language: nl\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "Vet" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "Cursief" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "Onderlijnen" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "Code" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "Doorhalen" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "Subscript" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "Superscript" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text italic." +msgid "Italic text" +msgstr "Cursieve tekst" + +msgctxt "Keystroke description for assistive technologies: keystroke for moving selection out of an inline code style." +msgid "Move out of an inline code style" +msgstr "Uit een stijl voor code op één regel gaan" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text bold." +msgid "Bold text" +msgstr "Vetgedrukte tekst" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text underlined." +msgid "Underline text" +msgstr "Onderstreepte tekst" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text strikethrough." +msgid "Strikethrough text" +msgstr "Doorgehaalde tekst" diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/no.po b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/no.po new file mode 100644 index 0000000..ad9718d --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/no.po @@ -0,0 +1,66 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Norwegian (https://app.transifex.com/ckeditor/teams/11143/no/)\n" +"Language: no\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "Fet" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "Kursiv" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "Understreket" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "Kode" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "Gjennomstreket" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "Senket skrift" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "Hevet skrift" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text italic." +msgid "Italic text" +msgstr "Kursiv tekst" + +msgctxt "Keystroke description for assistive technologies: keystroke for moving selection out of an inline code style." +msgid "Move out of an inline code style" +msgstr "Gå ut av en intern kodestil" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text bold." +msgid "Bold text" +msgstr "Uthevet tekst" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text underlined." +msgid "Underline text" +msgstr "Understreket tekst" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text strikethrough." +msgid "Strikethrough text" +msgstr "Gjennomstreket tekst" diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/oc.po b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/oc.po new file mode 100644 index 0000000..e2d81e3 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/oc.po @@ -0,0 +1,66 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Occitan (post 1500) (https://app.transifex.com/ckeditor/teams/11143/oc/)\n" +"Language: oc\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "Gras" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "Italica" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text italic." +msgid "Italic text" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for moving selection out of an inline code style." +msgid "Move out of an inline code style" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text bold." +msgid "Bold text" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text underlined." +msgid "Underline text" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text strikethrough." +msgid "Strikethrough text" +msgstr "" diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/pl.po b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/pl.po new file mode 100644 index 0000000..fbb50f5 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/pl.po @@ -0,0 +1,66 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Polish (https://app.transifex.com/ckeditor/teams/11143/pl/)\n" +"Language: pl\n" +"Plural-Forms: nplurals=4; plural=(n==1 ? 0 : (n%10>=2 && n%10<=4) && (n%100<12 || n%100>14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && n%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "Pogrubienie" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "Kursywa" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "Podkreślenie" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "Kod" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "Przekreślenie" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "Indeks dolny" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "Indeks górny" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text italic." +msgid "Italic text" +msgstr "Zmienia tekst na kursywę" + +msgctxt "Keystroke description for assistive technologies: keystroke for moving selection out of an inline code style." +msgid "Move out of an inline code style" +msgstr "Przenosi zaznaczenie poza styl kodu inline" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text bold." +msgid "Bold text" +msgstr "Pogrubia tekst" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text underlined." +msgid "Underline text" +msgstr "Podkreśla tekst" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text strikethrough." +msgid "Strikethrough text" +msgstr "Przekreśla tekst" diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/pt-br.po b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/pt-br.po new file mode 100644 index 0000000..2bc5a91 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/pt-br.po @@ -0,0 +1,66 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Portuguese (Brazil) (https://app.transifex.com/ckeditor/teams/11143/pt_BR/)\n" +"Language: pt_BR\n" +"Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "Negrito" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "Itálico" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "Sublinhado" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "Código" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "Tachado" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "Subscrito" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "Sobrescrito" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text italic." +msgid "Italic text" +msgstr "Texto em itálico" + +msgctxt "Keystroke description for assistive technologies: keystroke for moving selection out of an inline code style." +msgid "Move out of an inline code style" +msgstr "Sair de um estilo de código inline" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text bold." +msgid "Bold text" +msgstr "Texto em negrito" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text underlined." +msgid "Underline text" +msgstr "Texto sublinhado" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text strikethrough." +msgid "Strikethrough text" +msgstr "Texto com riscado" diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/pt.po b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/pt.po new file mode 100644 index 0000000..d09d61e --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/pt.po @@ -0,0 +1,66 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Portuguese (https://app.transifex.com/ckeditor/teams/11143/pt/)\n" +"Language: pt\n" +"Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "Negrito" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "Itálico" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "Sublinhado" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "Código" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "Rasurar" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "Subscrito" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "Sobrescrito" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text italic." +msgid "Italic text" +msgstr "Texto em itálico" + +msgctxt "Keystroke description for assistive technologies: keystroke for moving selection out of an inline code style." +msgid "Move out of an inline code style" +msgstr "Sair de um estilo de código inline" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text bold." +msgid "Bold text" +msgstr "Texto em negrito" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text underlined." +msgid "Underline text" +msgstr "Sublinhar texto" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text strikethrough." +msgid "Strikethrough text" +msgstr "Texto rasurado" diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/ro.po b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/ro.po new file mode 100644 index 0000000..3737f99 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/ro.po @@ -0,0 +1,66 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Romanian (https://app.transifex.com/ckeditor/teams/11143/ro/)\n" +"Language: ro\n" +"Plural-Forms: nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?2:1));\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "Îngroșat" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "Cursiv" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "Subliniat" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "Cod" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "Tăiere text cu o linie" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "Indice" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "Exponent" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text italic." +msgid "Italic text" +msgstr "Text cursiv" + +msgctxt "Keystroke description for assistive technologies: keystroke for moving selection out of an inline code style." +msgid "Move out of an inline code style" +msgstr "Ieșirea dintr-un stil de cod inline" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text bold." +msgid "Bold text" +msgstr "Text bold" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text underlined." +msgid "Underline text" +msgstr "Text subliniat" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text strikethrough." +msgid "Strikethrough text" +msgstr "Text barat" diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/ru.po b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/ru.po new file mode 100644 index 0000000..1312664 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/ru.po @@ -0,0 +1,66 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Russian (https://app.transifex.com/ckeditor/teams/11143/ru/)\n" +"Language: ru\n" +"Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "Жирный" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "Курсив" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "Подчеркнутый" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "Исходный код" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "Зачеркнутый" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "Подстрочный" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "Надстрочный" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text italic." +msgid "Italic text" +msgstr "Текст курсивом" + +msgctxt "Keystroke description for assistive technologies: keystroke for moving selection out of an inline code style." +msgid "Move out of an inline code style" +msgstr "Выйти из встроенного стиля кода" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text bold." +msgid "Bold text" +msgstr "Жирный текст" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text underlined." +msgid "Underline text" +msgstr "Подчеркнутый текст" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text strikethrough." +msgid "Strikethrough text" +msgstr "Зачеркнутый текст" diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/si.po b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/si.po new file mode 100644 index 0000000..088a694 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/si.po @@ -0,0 +1,66 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Sinhala (Sri Lanka) (https://app.transifex.com/ckeditor/teams/11143/si_LK/)\n" +"Language: si_LK\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "තදකුරු" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "ඇලකුරු" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text italic." +msgid "Italic text" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for moving selection out of an inline code style." +msgid "Move out of an inline code style" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text bold." +msgid "Bold text" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text underlined." +msgid "Underline text" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text strikethrough." +msgid "Strikethrough text" +msgstr "" diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/sk.po b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/sk.po new file mode 100644 index 0000000..7c4b1d5 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/sk.po @@ -0,0 +1,66 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Slovak (https://app.transifex.com/ckeditor/teams/11143/sk/)\n" +"Language: sk\n" +"Plural-Forms: nplurals=4; plural=(n % 1 == 0 && n == 1 ? 0 : n % 1 == 0 && n >= 2 && n <= 4 ? 1 : n % 1 != 0 ? 2: 3);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "Tučné" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "Kurzíva" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "Podčiarknuté" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "Kód" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "Preškrtnuté" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "Dolný index" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "Horný index" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text italic." +msgid "Italic text" +msgstr "Kurzíva" + +msgctxt "Keystroke description for assistive technologies: keystroke for moving selection out of an inline code style." +msgid "Move out of an inline code style" +msgstr "Presunúť mimo vloženého kódu" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text bold." +msgid "Bold text" +msgstr "Tučný text" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text underlined." +msgid "Underline text" +msgstr "Podčiarknutý text" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text strikethrough." +msgid "Strikethrough text" +msgstr "Prečiarknutý text" diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/sl.po b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/sl.po new file mode 100644 index 0000000..084fea9 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/sl.po @@ -0,0 +1,66 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Slovenian (https://app.transifex.com/ckeditor/teams/11143/sl/)\n" +"Language: sl\n" +"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "Krepko" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "Poševno" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "Podčrtaj" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "Koda" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "Prečrtano" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "Naročnik" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "Nadpis" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text italic." +msgid "Italic text" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for moving selection out of an inline code style." +msgid "Move out of an inline code style" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text bold." +msgid "Bold text" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text underlined." +msgid "Underline text" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text strikethrough." +msgid "Strikethrough text" +msgstr "" diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/sq.po b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/sq.po new file mode 100644 index 0000000..3a3d3a0 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/sq.po @@ -0,0 +1,66 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Albanian (https://app.transifex.com/ckeditor/teams/11143/sq/)\n" +"Language: sq\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "Trash" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "Pjerrtë" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "Nënvizuar" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "Kod" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "Vi në mes" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "Abonohu" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "Mbishkrim" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text italic." +msgid "Italic text" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for moving selection out of an inline code style." +msgid "Move out of an inline code style" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text bold." +msgid "Bold text" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text underlined." +msgid "Underline text" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text strikethrough." +msgid "Strikethrough text" +msgstr "" diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/sr-latn.po b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/sr-latn.po new file mode 100644 index 0000000..fe190aa --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/sr-latn.po @@ -0,0 +1,66 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Serbian (Latin) (https://app.transifex.com/ckeditor/teams/11143/sr@latin/)\n" +"Language: sr@latin\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "Podebljano" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "Kurziv" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "Podvučen" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "Kod" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "Precrtan" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "Index dole" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "Index gore" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text italic." +msgid "Italic text" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for moving selection out of an inline code style." +msgid "Move out of an inline code style" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text bold." +msgid "Bold text" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text underlined." +msgid "Underline text" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text strikethrough." +msgid "Strikethrough text" +msgstr "" diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/sr.po b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/sr.po new file mode 100644 index 0000000..d915620 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/sr.po @@ -0,0 +1,66 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Serbian (https://app.transifex.com/ckeditor/teams/11143/sr/)\n" +"Language: sr\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "Подебљано" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "Курзив" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "Подвучен" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "Код" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "Прецртан" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "Индекс доле" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "Индекс горе" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text italic." +msgid "Italic text" +msgstr "Tekst u kurzivu" + +msgctxt "Keystroke description for assistive technologies: keystroke for moving selection out of an inline code style." +msgid "Move out of an inline code style" +msgstr "Izađi iz inline stila" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text bold." +msgid "Bold text" +msgstr "Podebljan tekst" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text underlined." +msgid "Underline text" +msgstr "Podvučen tekst" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text strikethrough." +msgid "Strikethrough text" +msgstr "Precrtan tekst" diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/sv.po b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/sv.po new file mode 100644 index 0000000..8118746 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/sv.po @@ -0,0 +1,66 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Swedish (https://app.transifex.com/ckeditor/teams/11143/sv/)\n" +"Language: sv\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "Fet" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "Kursiv" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "Understrykning" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "Kod" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "Genomstruken" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "Nedsänkta tecken" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "Upphöjda tecken" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text italic." +msgid "Italic text" +msgstr "Kursiv stil" + +msgctxt "Keystroke description for assistive technologies: keystroke for moving selection out of an inline code style." +msgid "Move out of an inline code style" +msgstr "Flytta bort från inlinekodens stil" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text bold." +msgid "Bold text" +msgstr "Fetstil" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text underlined." +msgid "Underline text" +msgstr "Understruken text" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text strikethrough." +msgid "Strikethrough text" +msgstr "Genomstruken text" diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/th.po b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/th.po new file mode 100644 index 0000000..08ee16d --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/th.po @@ -0,0 +1,66 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Thai (https://app.transifex.com/ckeditor/teams/11143/th/)\n" +"Language: th\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "ตัวหนา" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "ตัวเอียง" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "ขีดเส้นใต้" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "โค้ด" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "ขีดทับ" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "ตัวห้อย" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "ตัวยก" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text italic." +msgid "Italic text" +msgstr "ข้อความเอียง" + +msgctxt "Keystroke description for assistive technologies: keystroke for moving selection out of an inline code style." +msgid "Move out of an inline code style" +msgstr "ย้ายออกจากสไตล์โค้ดแบบอินไลน์" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text bold." +msgid "Bold text" +msgstr "ทำข้อความเป็นตัวหนา" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text underlined." +msgid "Underline text" +msgstr "ขีดเส้นใต้ข้อความ" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text strikethrough." +msgid "Strikethrough text" +msgstr "ขีดทับข้อความ" diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/tk.po b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/tk.po new file mode 100644 index 0000000..6760233 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/tk.po @@ -0,0 +1,66 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Turkmen (https://app.transifex.com/ckeditor/teams/11143/tk/)\n" +"Language: tk\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "Galyň" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "Italik" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "Aşagy çyzykly" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "Kod" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "Üsti çyzykly" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "Aşaky ýazgy" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "Üst ýazgy" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text italic." +msgid "Italic text" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for moving selection out of an inline code style." +msgid "Move out of an inline code style" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text bold." +msgid "Bold text" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text underlined." +msgid "Underline text" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text strikethrough." +msgid "Strikethrough text" +msgstr "" diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/tr.po b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/tr.po new file mode 100644 index 0000000..554a0d6 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/tr.po @@ -0,0 +1,66 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Turkish (https://app.transifex.com/ckeditor/teams/11143/tr/)\n" +"Language: tr\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "Kalın" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "İtalik" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "Altı Çizgili" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "Kod" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "Üstü çizili" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "Alt Simge" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "Üst Simge" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text italic." +msgid "Italic text" +msgstr "İtalik metin" + +msgctxt "Keystroke description for assistive technologies: keystroke for moving selection out of an inline code style." +msgid "Move out of an inline code style" +msgstr "Satır içi kod stilinden çık" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text bold." +msgid "Bold text" +msgstr "Kalın yazı" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text underlined." +msgid "Underline text" +msgstr "Metnin altını çiz" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text strikethrough." +msgid "Strikethrough text" +msgstr "Metnin üstünü çiz" diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/tt.po b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/tt.po new file mode 100644 index 0000000..932189b --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/tt.po @@ -0,0 +1,66 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Tatar (https://app.transifex.com/ckeditor/teams/11143/tt/)\n" +"Language: tt\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "Калын" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "Код" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text italic." +msgid "Italic text" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for moving selection out of an inline code style." +msgid "Move out of an inline code style" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text bold." +msgid "Bold text" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text underlined." +msgid "Underline text" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text strikethrough." +msgid "Strikethrough text" +msgstr "" diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/ug.po b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/ug.po new file mode 100644 index 0000000..d4dc5bb --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/ug.po @@ -0,0 +1,66 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Uyghur (https://app.transifex.com/ckeditor/teams/11143/ug/)\n" +"Language: ug\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "توم" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "يانتۇ" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "ئاستى سىزىق" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "كود" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "ئۆچۈرۈش سىزىقى" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "ئاستبەلگە" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "ئۈستبەلگە" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text italic." +msgid "Italic text" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for moving selection out of an inline code style." +msgid "Move out of an inline code style" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text bold." +msgid "Bold text" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text underlined." +msgid "Underline text" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text strikethrough." +msgid "Strikethrough text" +msgstr "" diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/uk.po b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/uk.po new file mode 100644 index 0000000..6bff7b5 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/uk.po @@ -0,0 +1,66 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Ukrainian (https://app.transifex.com/ckeditor/teams/11143/uk/)\n" +"Language: uk\n" +"Plural-Forms: nplurals=4; plural=(n % 1 == 0 && n % 10 == 1 && n % 100 != 11 ? 0 : n % 1 == 0 && n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14) ? 1 : n % 1 == 0 && (n % 10 ==0 || (n % 10 >=5 && n % 10 <=9) || (n % 100 >=11 && n % 100 <=14 )) ? 2: 3);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "Жирний" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "Курсив" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "Підкреслений" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "Код" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "Закреслений" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "Нижній індекс" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "Верхній індекс" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text italic." +msgid "Italic text" +msgstr "Курсив" + +msgctxt "Keystroke description for assistive technologies: keystroke for moving selection out of an inline code style." +msgid "Move out of an inline code style" +msgstr "Вийти зі стилю вбудованого коду" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text bold." +msgid "Bold text" +msgstr "Жирний шрифт" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text underlined." +msgid "Underline text" +msgstr "Підкреслений" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text strikethrough." +msgid "Strikethrough text" +msgstr "Закреслений" diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/ur.po b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/ur.po new file mode 100644 index 0000000..66087a5 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/ur.po @@ -0,0 +1,66 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Urdu (https://app.transifex.com/ckeditor/teams/11143/ur/)\n" +"Language: ur\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "جلّی" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "ترچھا" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "ترچھا" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "کوڈ" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "خط کشیدہ" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "زير نوشت" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "بالا نوشت" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text italic." +msgid "Italic text" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for moving selection out of an inline code style." +msgid "Move out of an inline code style" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text bold." +msgid "Bold text" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text underlined." +msgid "Underline text" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text strikethrough." +msgid "Strikethrough text" +msgstr "" diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/uz.po b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/uz.po new file mode 100644 index 0000000..ed3de5b --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/uz.po @@ -0,0 +1,66 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Uzbek (https://app.transifex.com/ckeditor/teams/11143/uz/)\n" +"Language: uz\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "Qalin" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "Kursiv" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "Tagi chizilgan" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "Manba kodi" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "Chizilgan" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "Pastki yozuv" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "Yuqori yozuv" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text italic." +msgid "Italic text" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for moving selection out of an inline code style." +msgid "Move out of an inline code style" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text bold." +msgid "Bold text" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text underlined." +msgid "Underline text" +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text strikethrough." +msgid "Strikethrough text" +msgstr "" diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/vi.po b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/vi.po new file mode 100644 index 0000000..925fea1 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/vi.po @@ -0,0 +1,66 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Vietnamese (https://app.transifex.com/ckeditor/teams/11143/vi/)\n" +"Language: vi\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "Đậm" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "Nghiêng" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "Gạch dưới" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "Code" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "Gạch ngang" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "Chữ nhỏ dưới" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "Chữ nhỏ trên" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text italic." +msgid "Italic text" +msgstr "In nghiêng chữ" + +msgctxt "Keystroke description for assistive technologies: keystroke for moving selection out of an inline code style." +msgid "Move out of an inline code style" +msgstr "Thoát khỏi kiểu mã nội dòng" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text bold." +msgid "Bold text" +msgstr "In đậm chữ" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text underlined." +msgid "Underline text" +msgstr "Gạch chân chữ" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text strikethrough." +msgid "Strikethrough text" +msgstr "Gạch ngang chữ" diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/zh-cn.po b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/zh-cn.po new file mode 100644 index 0000000..ce3f136 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/zh-cn.po @@ -0,0 +1,66 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Chinese (China) (https://app.transifex.com/ckeditor/teams/11143/zh_CN/)\n" +"Language: zh_CN\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "加粗" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "倾斜" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "下划线" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "代码" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "删除线" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "下标" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "上标" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text italic." +msgid "Italic text" +msgstr "斜体文本" + +msgctxt "Keystroke description for assistive technologies: keystroke for moving selection out of an inline code style." +msgid "Move out of an inline code style" +msgstr "摆脱内联代码风格" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text bold." +msgid "Bold text" +msgstr "加粗字体" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text underlined." +msgid "Underline text" +msgstr "给文本添加下划线" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text strikethrough." +msgid "Strikethrough text" +msgstr "给文本添加删除线" diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/zh.po b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/zh.po new file mode 100644 index 0000000..723c1ef --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/lang/translations/zh.po @@ -0,0 +1,66 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Chinese (Taiwan) (https://app.transifex.com/ckeditor/teams/11143/zh_TW/)\n" +"Language: zh_TW\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Bold feature." +msgid "Bold" +msgstr "粗體" + +msgctxt "Toolbar button tooltip for the Italic feature." +msgid "Italic" +msgstr "斜體" + +msgctxt "Toolbar button tooltip for the Underline feature." +msgid "Underline" +msgstr "底線" + +msgctxt "Toolbar button tooltip for the Code feature." +msgid "Code" +msgstr "代碼" + +msgctxt "Toolbar button tooltip for the Strikethrough feature." +msgid "Strikethrough" +msgstr "刪除線" + +msgctxt "Toolbar button tooltip for the Subscript feature." +msgid "Subscript" +msgstr "下標" + +msgctxt "Toolbar button tooltip for the Superscript feature." +msgid "Superscript" +msgstr "上標" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text italic." +msgid "Italic text" +msgstr "斜體文字" + +msgctxt "Keystroke description for assistive technologies: keystroke for moving selection out of an inline code style." +msgid "Move out of an inline code style" +msgstr "移出行內程式碼樣式" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text bold." +msgid "Bold text" +msgstr "粗體文字" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text underlined." +msgid "Underline text" +msgstr "底線文字" + +msgctxt "Keystroke description for assistive technologies: keystroke for making text strikethrough." +msgid "Strikethrough text" +msgstr "刪除線文字" diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/package.json b/node_modules/@ckeditor/ckeditor5-basic-styles/package.json new file mode 100644 index 0000000..a4f392d --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/package.json @@ -0,0 +1,37 @@ +{ + "name": "@ckeditor/ckeditor5-basic-styles", + "version": "41.3.1", + "description": "Basic styles feature for CKEditor 5.", + "keywords": [ + "ckeditor", + "ckeditor5", + "ckeditor 5", + "ckeditor5-feature", + "ckeditor5-plugin", + "ckeditor5-dll" + ], + "type": "module", + "main": "src/index.js", + "dependencies": { + "ckeditor5": "41.3.1" + }, + "author": "CKSource (http://cksource.com/)", + "license": "GPL-2.0-or-later", + "homepage": "https://ckeditor.com/ckeditor-5", + "bugs": "https://github.com/ckeditor/ckeditor5/issues", + "repository": { + "type": "git", + "url": "https://github.com/ckeditor/ckeditor5.git", + "directory": "packages/ckeditor5-basic-styles" + }, + "files": [ + "lang", + "src/**/*.js", + "src/**/*.d.ts", + "theme", + "build", + "ckeditor5-metadata.json", + "CHANGELOG.md" + ], + "types": "src/index.d.ts" +} diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/src/attributecommand.d.ts b/node_modules/@ckeditor/ckeditor5-basic-styles/src/attributecommand.d.ts new file mode 100644 index 0000000..d8d2007 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/src/attributecommand.d.ts @@ -0,0 +1,74 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module basic-styles/attributecommand + */ +import { Command, type Editor } from 'ckeditor5/src/core.js'; +/** + * An extension of the base {@link module:core/command~Command} class, which provides utilities for a command + * that toggles a single attribute on a text or an element. + * + * `AttributeCommand` uses {@link module:engine/model/document~Document#selection} + * to decide which nodes (if any) should be changed, and applies or removes the attribute from them. + * + * The command checks the {@link module:engine/model/model~Model#schema} to decide if it can be enabled + * for the current selection and to which nodes the attribute can be applied. + */ +export default class AttributeCommand extends Command { + /** + * Flag indicating whether the command is active. The command is active when the + * {@link module:engine/model/selection~Selection#hasAttribute selection has the attribute} which means that: + * + * * If the selection is not empty – That the attribute is set on the first node in the selection that allows this attribute. + * * If the selection is empty – That the selection has the attribute itself (which means that newly typed + * text will have this attribute, too). + * + * @observable + * @readonly + */ + value: boolean; + /** + * The attribute that will be set by the command. + */ + readonly attributeKey: string; + /** + * @param attributeKey Attribute that will be set by the command. + */ + constructor(editor: Editor, attributeKey: string); + /** + * Updates the command's {@link #value} and {@link #isEnabled} based on the current selection. + */ + refresh(): void; + /** + * Executes the command – applies the attribute to the selection or removes it from the selection. + * + * If the command is active (`value == true`), it will remove attributes. Otherwise, it will set attributes. + * + * The execution result differs, depending on the {@link module:engine/model/document~Document#selection}: + * + * * If the selection is on a range, the command applies the attribute to all nodes in that range + * (if they are allowed to have this attribute by the {@link module:engine/model/schema~Schema schema}). + * * If the selection is collapsed in a non-empty node, the command applies the attribute to the + * {@link module:engine/model/document~Document#selection} itself (note that typed characters copy attributes from the selection). + * * If the selection is collapsed in an empty node, the command applies the attribute to the parent node of the selection (note + * that the selection inherits all attributes from a node if it is in an empty node). + * + * @fires execute + * @param options Command options. + * @param options.forceValue If set, it will force the command behavior. If `true`, + * the command will apply the attribute, otherwise the command will remove the attribute. + * If not set, the command will look for its current value to decide what it should do. + */ + execute(options?: { + forceValue?: boolean; + }): void; + /** + * Checks the attribute value of the first node in the selection that allows the attribute. + * For the collapsed selection returns the selection attribute. + * + * @returns The attribute value. + */ + private _getValueFromFirstAllowedNode; +} diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/src/attributecommand.js b/node_modules/@ckeditor/ckeditor5-basic-styles/src/attributecommand.js new file mode 100644 index 0000000..83ec996 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/src/attributecommand.js @@ -0,0 +1,105 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module basic-styles/attributecommand + */ +import { Command } from 'ckeditor5/src/core.js'; +/** + * An extension of the base {@link module:core/command~Command} class, which provides utilities for a command + * that toggles a single attribute on a text or an element. + * + * `AttributeCommand` uses {@link module:engine/model/document~Document#selection} + * to decide which nodes (if any) should be changed, and applies or removes the attribute from them. + * + * The command checks the {@link module:engine/model/model~Model#schema} to decide if it can be enabled + * for the current selection and to which nodes the attribute can be applied. + */ +export default class AttributeCommand extends Command { + /** + * @param attributeKey Attribute that will be set by the command. + */ + constructor(editor, attributeKey) { + super(editor); + this.attributeKey = attributeKey; + } + /** + * Updates the command's {@link #value} and {@link #isEnabled} based on the current selection. + */ + refresh() { + const model = this.editor.model; + const doc = model.document; + this.value = this._getValueFromFirstAllowedNode(); + this.isEnabled = model.schema.checkAttributeInSelection(doc.selection, this.attributeKey); + } + /** + * Executes the command – applies the attribute to the selection or removes it from the selection. + * + * If the command is active (`value == true`), it will remove attributes. Otherwise, it will set attributes. + * + * The execution result differs, depending on the {@link module:engine/model/document~Document#selection}: + * + * * If the selection is on a range, the command applies the attribute to all nodes in that range + * (if they are allowed to have this attribute by the {@link module:engine/model/schema~Schema schema}). + * * If the selection is collapsed in a non-empty node, the command applies the attribute to the + * {@link module:engine/model/document~Document#selection} itself (note that typed characters copy attributes from the selection). + * * If the selection is collapsed in an empty node, the command applies the attribute to the parent node of the selection (note + * that the selection inherits all attributes from a node if it is in an empty node). + * + * @fires execute + * @param options Command options. + * @param options.forceValue If set, it will force the command behavior. If `true`, + * the command will apply the attribute, otherwise the command will remove the attribute. + * If not set, the command will look for its current value to decide what it should do. + */ + execute(options = {}) { + const model = this.editor.model; + const doc = model.document; + const selection = doc.selection; + const value = (options.forceValue === undefined) ? !this.value : options.forceValue; + model.change(writer => { + if (selection.isCollapsed) { + if (value) { + writer.setSelectionAttribute(this.attributeKey, true); + } + else { + writer.removeSelectionAttribute(this.attributeKey); + } + } + else { + const ranges = model.schema.getValidRanges(selection.getRanges(), this.attributeKey); + for (const range of ranges) { + if (value) { + writer.setAttribute(this.attributeKey, value, range); + } + else { + writer.removeAttribute(this.attributeKey, range); + } + } + } + }); + } + /** + * Checks the attribute value of the first node in the selection that allows the attribute. + * For the collapsed selection returns the selection attribute. + * + * @returns The attribute value. + */ + _getValueFromFirstAllowedNode() { + const model = this.editor.model; + const schema = model.schema; + const selection = model.document.selection; + if (selection.isCollapsed) { + return selection.hasAttribute(this.attributeKey); + } + for (const range of selection.getRanges()) { + for (const item of range.getItems()) { + if (schema.checkAttribute(item, this.attributeKey)) { + return item.hasAttribute(this.attributeKey); + } + } + } + return false; + } +} diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/src/augmentation.d.ts b/node_modules/@ckeditor/ckeditor5-basic-styles/src/augmentation.d.ts new file mode 100644 index 0000000..86664eb --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/src/augmentation.d.ts @@ -0,0 +1,40 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +import type { Superscript, Subscript, Bold, Code, AttributeCommand, BoldUI, CodeEditing, CodeUI, Italic, ItalicEditing, ItalicUI, Strikethrough, StrikethroughEditing, StrikethroughUI, SubscriptEditing, SubscriptUI, SuperscriptEditing, SuperscriptUI, Underline, UnderlineEditing, UnderlineUI } from './index.js'; +declare module '@ckeditor/ckeditor5-core' { + interface PluginsMap { + [Superscript.pluginName]: Superscript; + [Subscript.pluginName]: Subscript; + [Bold.pluginName]: Bold; + [Code.pluginName]: Code; + [Code.pluginName]: Code; + [Code.pluginName]: Code; + [BoldUI.pluginName]: BoldUI; + [CodeEditing.pluginName]: CodeEditing; + [CodeUI.pluginName]: CodeUI; + [Italic.pluginName]: Italic; + [ItalicEditing.pluginName]: ItalicEditing; + [ItalicUI.pluginName]: ItalicUI; + [Strikethrough.pluginName]: Strikethrough; + [StrikethroughEditing.pluginName]: StrikethroughEditing; + [StrikethroughUI.pluginName]: StrikethroughUI; + [SubscriptEditing.pluginName]: SubscriptEditing; + [SubscriptUI.pluginName]: SubscriptUI; + [SuperscriptEditing.pluginName]: SuperscriptEditing; + [SuperscriptUI.pluginName]: SuperscriptUI; + [Underline.pluginName]: Underline; + [UnderlineEditing.pluginName]: UnderlineEditing; + [UnderlineUI.pluginName]: UnderlineUI; + } + interface CommandsMap { + bold: AttributeCommand; + code: AttributeCommand; + italic: AttributeCommand; + strikethrough: AttributeCommand; + subscript: AttributeCommand; + superscript: AttributeCommand; + underline: AttributeCommand; + } +} diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/src/augmentation.js b/node_modules/@ckeditor/ckeditor5-basic-styles/src/augmentation.js new file mode 100644 index 0000000..4fffd02 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/src/augmentation.js @@ -0,0 +1,5 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +export {}; diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/src/bold.d.ts b/node_modules/@ckeditor/ckeditor5-basic-styles/src/bold.d.ts new file mode 100644 index 0000000..8ef5bea --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/src/bold.d.ts @@ -0,0 +1,29 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module basic-styles/bold + */ +import { Plugin } from 'ckeditor5/src/core.js'; +import BoldEditing from './bold/boldediting.js'; +import BoldUI from './bold/boldui.js'; +/** + * The bold feature. + * + * For a detailed overview check the {@glink features/basic-styles Basic styles feature} guide + * and the {@glink api/basic-styles package page}. + * + * This is a "glue" plugin which loads the {@link module:basic-styles/bold/boldediting~BoldEditing bold editing feature} + * and {@link module:basic-styles/bold/boldui~BoldUI bold UI feature}. + */ +export default class Bold extends Plugin { + /** + * @inheritDoc + */ + static get requires(): readonly [typeof BoldEditing, typeof BoldUI]; + /** + * @inheritDoc + */ + static get pluginName(): "Bold"; +} diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/src/bold.js b/node_modules/@ckeditor/ckeditor5-basic-styles/src/bold.js new file mode 100644 index 0000000..f551b3a --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/src/bold.js @@ -0,0 +1,33 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module basic-styles/bold + */ +import { Plugin } from 'ckeditor5/src/core.js'; +import BoldEditing from './bold/boldediting.js'; +import BoldUI from './bold/boldui.js'; +/** + * The bold feature. + * + * For a detailed overview check the {@glink features/basic-styles Basic styles feature} guide + * and the {@glink api/basic-styles package page}. + * + * This is a "glue" plugin which loads the {@link module:basic-styles/bold/boldediting~BoldEditing bold editing feature} + * and {@link module:basic-styles/bold/boldui~BoldUI bold UI feature}. + */ +export default class Bold extends Plugin { + /** + * @inheritDoc + */ + static get requires() { + return [BoldEditing, BoldUI]; + } + /** + * @inheritDoc + */ + static get pluginName() { + return 'Bold'; + } +} diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/src/bold/boldediting.d.ts b/node_modules/@ckeditor/ckeditor5-basic-styles/src/bold/boldediting.d.ts new file mode 100644 index 0000000..d22130e --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/src/bold/boldediting.d.ts @@ -0,0 +1,24 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module basic-styles/bold/boldediting + */ +import { Plugin } from 'ckeditor5/src/core.js'; +/** + * The bold editing feature. + * + * It registers the `'bold'` command and introduces the `bold` attribute in the model which renders to the view + * as a `` element. + */ +export default class BoldEditing extends Plugin { + /** + * @inheritDoc + */ + static get pluginName(): "BoldEditing"; + /** + * @inheritDoc + */ + init(): void; +} diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/src/bold/boldediting.js b/node_modules/@ckeditor/ckeditor5-basic-styles/src/bold/boldediting.js new file mode 100644 index 0000000..f64de93 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/src/bold/boldediting.js @@ -0,0 +1,72 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module basic-styles/bold/boldediting + */ +import { Plugin } from 'ckeditor5/src/core.js'; +import AttributeCommand from '../attributecommand.js'; +const BOLD = 'bold'; +/** + * The bold editing feature. + * + * It registers the `'bold'` command and introduces the `bold` attribute in the model which renders to the view + * as a `` element. + */ +export default class BoldEditing extends Plugin { + /** + * @inheritDoc + */ + static get pluginName() { + return 'BoldEditing'; + } + /** + * @inheritDoc + */ + init() { + const editor = this.editor; + const t = this.editor.t; + // Allow bold attribute on text nodes. + editor.model.schema.extend('$text', { allowAttributes: BOLD }); + editor.model.schema.setAttributeProperties(BOLD, { + isFormatting: true, + copyOnEnter: true + }); + // Build converter from model to view for data and editing pipelines. + editor.conversion.attributeToElement({ + model: BOLD, + view: 'strong', + upcastAlso: [ + 'b', + viewElement => { + const fontWeight = viewElement.getStyle('font-weight'); + if (!fontWeight) { + return null; + } + // Value of the `font-weight` attribute can be defined as a string or a number. + if (fontWeight == 'bold' || Number(fontWeight) >= 600) { + return { + name: true, + styles: ['font-weight'] + }; + } + return null; + } + ] + }); + // Create bold command. + editor.commands.add(BOLD, new AttributeCommand(editor, BOLD)); + // Set the Ctrl+B keystroke. + editor.keystrokes.set('CTRL+B', BOLD); + // Add the information about the keystroke to the accessibility database. + editor.accessibility.addKeystrokeInfos({ + keystrokes: [ + { + label: t('Bold text'), + keystroke: 'CTRL+B' + } + ] + }); + } +} diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/src/bold/boldui.d.ts b/node_modules/@ckeditor/ckeditor5-basic-styles/src/bold/boldui.d.ts new file mode 100644 index 0000000..c0c5625 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/src/bold/boldui.d.ts @@ -0,0 +1,21 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module basic-styles/bold/boldui + */ +import { Plugin } from 'ckeditor5/src/core.js'; +/** + * The bold UI feature. It introduces the Bold button. + */ +export default class BoldUI extends Plugin { + /** + * @inheritDoc + */ + static get pluginName(): "BoldUI"; + /** + * @inheritDoc + */ + init(): void; +} diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/src/bold/boldui.js b/node_modules/@ckeditor/ckeditor5-basic-styles/src/bold/boldui.js new file mode 100644 index 0000000..c8ecd53 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/src/bold/boldui.js @@ -0,0 +1,50 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module basic-styles/bold/boldui + */ +import { Plugin, icons } from 'ckeditor5/src/core.js'; +import { ButtonView, MenuBarMenuListItemButtonView } from 'ckeditor5/src/ui.js'; +import { getButtonCreator } from '../utils.js'; +const BOLD = 'bold'; +/** + * The bold UI feature. It introduces the Bold button. + */ +export default class BoldUI extends Plugin { + /** + * @inheritDoc + */ + static get pluginName() { + return 'BoldUI'; + } + /** + * @inheritDoc + */ + init() { + const editor = this.editor; + const t = editor.locale.t; + const command = editor.commands.get(BOLD); + const createButton = getButtonCreator({ + editor, + commandName: BOLD, + plugin: this, + icon: icons.bold, + label: t('Bold'), + keystroke: 'CTRL+B' + }); + // Add bold button to feature components. + editor.ui.componentFactory.add(BOLD, () => { + const buttonView = createButton(ButtonView); + buttonView.set({ + tooltip: true + }); + buttonView.bind('isOn').to(command, 'value'); + return buttonView; + }); + editor.ui.componentFactory.add('menuBar:' + BOLD, () => { + return createButton(MenuBarMenuListItemButtonView); + }); + } +} diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/src/code.d.ts b/node_modules/@ckeditor/ckeditor5-basic-styles/src/code.d.ts new file mode 100644 index 0000000..9973296 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/src/code.d.ts @@ -0,0 +1,30 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module basic-styles/code + */ +import { Plugin } from 'ckeditor5/src/core.js'; +import CodeEditing from './code/codeediting.js'; +import CodeUI from './code/codeui.js'; +import '../theme/code.css'; +/** + * The code feature. + * + * For a detailed overview check the {@glink features/basic-styles Basic styles feature} guide + * and the {@glink api/basic-styles package page}. + * + * This is a "glue" plugin which loads the {@link module:basic-styles/code/codeediting~CodeEditing code editing feature} + * and {@link module:basic-styles/code/codeui~CodeUI code UI feature}. + */ +export default class Code extends Plugin { + /** + * @inheritDoc + */ + static get requires(): readonly [typeof CodeEditing, typeof CodeUI]; + /** + * @inheritDoc + */ + static get pluginName(): "Code"; +} diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/src/code.js b/node_modules/@ckeditor/ckeditor5-basic-styles/src/code.js new file mode 100644 index 0000000..38c3174 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/src/code.js @@ -0,0 +1,34 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module basic-styles/code + */ +import { Plugin } from 'ckeditor5/src/core.js'; +import CodeEditing from './code/codeediting.js'; +import CodeUI from './code/codeui.js'; +import '../theme/code.css'; +/** + * The code feature. + * + * For a detailed overview check the {@glink features/basic-styles Basic styles feature} guide + * and the {@glink api/basic-styles package page}. + * + * This is a "glue" plugin which loads the {@link module:basic-styles/code/codeediting~CodeEditing code editing feature} + * and {@link module:basic-styles/code/codeui~CodeUI code UI feature}. + */ +export default class Code extends Plugin { + /** + * @inheritDoc + */ + static get requires() { + return [CodeEditing, CodeUI]; + } + /** + * @inheritDoc + */ + static get pluginName() { + return 'Code'; + } +} diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/src/code/codeediting.d.ts b/node_modules/@ckeditor/ckeditor5-basic-styles/src/code/codeediting.d.ts new file mode 100644 index 0000000..7ccd5d7 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/src/code/codeediting.d.ts @@ -0,0 +1,29 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module basic-styles/code/codeediting + */ +import { Plugin } from 'ckeditor5/src/core.js'; +import { TwoStepCaretMovement } from 'ckeditor5/src/typing.js'; +/** + * The code editing feature. + * + * It registers the `'code'` command and introduces the `code` attribute in the model which renders to the view + * as a `` element. + */ +export default class CodeEditing extends Plugin { + /** + * @inheritDoc + */ + static get pluginName(): "CodeEditing"; + /** + * @inheritDoc + */ + static get requires(): readonly [typeof TwoStepCaretMovement]; + /** + * @inheritDoc + */ + init(): void; +} diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/src/code/codeediting.js b/node_modules/@ckeditor/ckeditor5-basic-styles/src/code/codeediting.js new file mode 100644 index 0000000..ff7d0ed --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/src/code/codeediting.js @@ -0,0 +1,72 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module basic-styles/code/codeediting + */ +import { Plugin } from 'ckeditor5/src/core.js'; +import { TwoStepCaretMovement, inlineHighlight } from 'ckeditor5/src/typing.js'; +import AttributeCommand from '../attributecommand.js'; +const CODE = 'code'; +const HIGHLIGHT_CLASS = 'ck-code_selected'; +/** + * The code editing feature. + * + * It registers the `'code'` command and introduces the `code` attribute in the model which renders to the view + * as a `` element. + */ +export default class CodeEditing extends Plugin { + /** + * @inheritDoc + */ + static get pluginName() { + return 'CodeEditing'; + } + /** + * @inheritDoc + */ + static get requires() { + return [TwoStepCaretMovement]; + } + /** + * @inheritDoc + */ + init() { + const editor = this.editor; + const t = this.editor.t; + // Allow code attribute on text nodes. + editor.model.schema.extend('$text', { allowAttributes: CODE }); + editor.model.schema.setAttributeProperties(CODE, { + isFormatting: true, + copyOnEnter: false + }); + editor.conversion.attributeToElement({ + model: CODE, + view: 'code', + upcastAlso: { + styles: { + 'word-wrap': 'break-word' + } + } + }); + // Create code command. + editor.commands.add(CODE, new AttributeCommand(editor, CODE)); + // Enable two-step caret movement for `code` attribute. + editor.plugins.get(TwoStepCaretMovement).registerAttribute(CODE); + // Setup highlight over selected element. + inlineHighlight(editor, CODE, 'code', HIGHLIGHT_CLASS); + // Add the information about the keystroke to the accessibility database. + editor.accessibility.addKeystrokeInfos({ + keystrokes: [ + { + label: t('Move out of an inline code style'), + keystroke: [ + ['arrowleft', 'arrowleft'], + ['arrowright', 'arrowright'] + ] + } + ] + }); + } +} diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/src/code/codeui.d.ts b/node_modules/@ckeditor/ckeditor5-basic-styles/src/code/codeui.d.ts new file mode 100644 index 0000000..3a4e1c6 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/src/code/codeui.d.ts @@ -0,0 +1,22 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module basic-styles/code/codeui + */ +import { Plugin } from 'ckeditor5/src/core.js'; +import '../../theme/code.css'; +/** + * The code UI feature. It introduces the Code button. + */ +export default class CodeUI extends Plugin { + /** + * @inheritDoc + */ + static get pluginName(): "CodeUI"; + /** + * @inheritDoc + */ + init(): void; +} diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/src/code/codeui.js b/node_modules/@ckeditor/ckeditor5-basic-styles/src/code/codeui.js new file mode 100644 index 0000000..f0b88a8 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/src/code/codeui.js @@ -0,0 +1,52 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module basic-styles/code/codeui + */ +import { Plugin } from 'ckeditor5/src/core.js'; +import { ButtonView, MenuBarMenuListItemButtonView } from 'ckeditor5/src/ui.js'; +import { getButtonCreator } from '../utils.js'; +import codeIcon from '../../theme/icons/code.svg'; +import '../../theme/code.css'; +const CODE = 'code'; +/** + * The code UI feature. It introduces the Code button. + */ +export default class CodeUI extends Plugin { + /** + * @inheritDoc + */ + static get pluginName() { + return 'CodeUI'; + } + /** + * @inheritDoc + */ + init() { + const editor = this.editor; + const t = editor.locale.t; + const createButton = getButtonCreator({ + editor, + commandName: CODE, + plugin: this, + icon: codeIcon, + label: t('Code') + }); + // Add code button to feature components. + editor.ui.componentFactory.add(CODE, () => { + const buttonView = createButton(ButtonView); + const command = editor.commands.get(CODE); + buttonView.set({ + tooltip: true + }); + // Bind button model to command. + buttonView.bind('isOn').to(command, 'value'); + return buttonView; + }); + editor.ui.componentFactory.add('menuBar:' + CODE, () => { + return createButton(MenuBarMenuListItemButtonView); + }); + } +} diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/src/index.d.ts b/node_modules/@ckeditor/ckeditor5-basic-styles/src/index.d.ts new file mode 100644 index 0000000..4b91956 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/src/index.d.ts @@ -0,0 +1,30 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module basic-styles + */ +export { default as Bold } from './bold.js'; +export { default as BoldEditing } from './bold/boldediting.js'; +export { default as BoldUI } from './bold/boldui.js'; +export { default as Code } from './code.js'; +export { default as CodeEditing } from './code/codeediting.js'; +export { default as CodeUI } from './code/codeui.js'; +export { default as Italic } from './italic.js'; +export { default as ItalicEditing } from './italic/italicediting.js'; +export { default as ItalicUI } from './italic/italicui.js'; +export { default as Strikethrough } from './strikethrough.js'; +export { default as StrikethroughEditing } from './strikethrough/strikethroughediting.js'; +export { default as StrikethroughUI } from './strikethrough/strikethroughui.js'; +export { default as Subscript } from './subscript.js'; +export { default as SubscriptEditing } from './subscript/subscriptediting.js'; +export { default as SubscriptUI } from './subscript/subscriptui.js'; +export { default as Superscript } from './superscript.js'; +export { default as SuperscriptEditing } from './superscript/superscriptediting.js'; +export { default as SuperscriptUI } from './superscript/superscriptui.js'; +export { default as Underline } from './underline.js'; +export { default as UnderlineEditing } from './underline/underlineediting.js'; +export { default as UnderlineUI } from './underline/underlineui.js'; +export type { default as AttributeCommand } from './attributecommand.js'; +import './augmentation.js'; diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/src/index.js b/node_modules/@ckeditor/ckeditor5-basic-styles/src/index.js new file mode 100644 index 0000000..6605158 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/src/index.js @@ -0,0 +1,29 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module basic-styles + */ +export { default as Bold } from './bold.js'; +export { default as BoldEditing } from './bold/boldediting.js'; +export { default as BoldUI } from './bold/boldui.js'; +export { default as Code } from './code.js'; +export { default as CodeEditing } from './code/codeediting.js'; +export { default as CodeUI } from './code/codeui.js'; +export { default as Italic } from './italic.js'; +export { default as ItalicEditing } from './italic/italicediting.js'; +export { default as ItalicUI } from './italic/italicui.js'; +export { default as Strikethrough } from './strikethrough.js'; +export { default as StrikethroughEditing } from './strikethrough/strikethroughediting.js'; +export { default as StrikethroughUI } from './strikethrough/strikethroughui.js'; +export { default as Subscript } from './subscript.js'; +export { default as SubscriptEditing } from './subscript/subscriptediting.js'; +export { default as SubscriptUI } from './subscript/subscriptui.js'; +export { default as Superscript } from './superscript.js'; +export { default as SuperscriptEditing } from './superscript/superscriptediting.js'; +export { default as SuperscriptUI } from './superscript/superscriptui.js'; +export { default as Underline } from './underline.js'; +export { default as UnderlineEditing } from './underline/underlineediting.js'; +export { default as UnderlineUI } from './underline/underlineui.js'; +import './augmentation.js'; diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/src/italic.d.ts b/node_modules/@ckeditor/ckeditor5-basic-styles/src/italic.d.ts new file mode 100644 index 0000000..c068cd0 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/src/italic.d.ts @@ -0,0 +1,29 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module basic-styles/italic + */ +import { Plugin } from 'ckeditor5/src/core.js'; +import ItalicEditing from './italic/italicediting.js'; +import ItalicUI from './italic/italicui.js'; +/** + * The italic feature. + * + * For a detailed overview check the {@glink features/basic-styles Basic styles feature} guide + * and the {@glink api/basic-styles package page}. + * + * This is a "glue" plugin which loads the {@link module:basic-styles/italic/italicediting~ItalicEditing} and + * {@link module:basic-styles/italic/italicui~ItalicUI} plugins. + */ +export default class Italic extends Plugin { + /** + * @inheritDoc + */ + static get requires(): readonly [typeof ItalicEditing, typeof ItalicUI]; + /** + * @inheritDoc + */ + static get pluginName(): "Italic"; +} diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/src/italic.js b/node_modules/@ckeditor/ckeditor5-basic-styles/src/italic.js new file mode 100644 index 0000000..6baf314 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/src/italic.js @@ -0,0 +1,33 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module basic-styles/italic + */ +import { Plugin } from 'ckeditor5/src/core.js'; +import ItalicEditing from './italic/italicediting.js'; +import ItalicUI from './italic/italicui.js'; +/** + * The italic feature. + * + * For a detailed overview check the {@glink features/basic-styles Basic styles feature} guide + * and the {@glink api/basic-styles package page}. + * + * This is a "glue" plugin which loads the {@link module:basic-styles/italic/italicediting~ItalicEditing} and + * {@link module:basic-styles/italic/italicui~ItalicUI} plugins. + */ +export default class Italic extends Plugin { + /** + * @inheritDoc + */ + static get requires() { + return [ItalicEditing, ItalicUI]; + } + /** + * @inheritDoc + */ + static get pluginName() { + return 'Italic'; + } +} diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/src/italic/italicediting.d.ts b/node_modules/@ckeditor/ckeditor5-basic-styles/src/italic/italicediting.d.ts new file mode 100644 index 0000000..cbf71e9 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/src/italic/italicediting.d.ts @@ -0,0 +1,24 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module basic-styles/italic/italicediting + */ +import { Plugin } from 'ckeditor5/src/core.js'; +/** + * The italic editing feature. + * + * It registers the `'italic'` command, the Ctrl+I keystroke and introduces the `italic` attribute in the model + * which renders to the view as an `` element. + */ +export default class ItalicEditing extends Plugin { + /** + * @inheritDoc + */ + static get pluginName(): "ItalicEditing"; + /** + * @inheritDoc + */ + init(): void; +} diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/src/italic/italicediting.js b/node_modules/@ckeditor/ckeditor5-basic-styles/src/italic/italicediting.js new file mode 100644 index 0000000..a69c1e6 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/src/italic/italicediting.js @@ -0,0 +1,62 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module basic-styles/italic/italicediting + */ +import { Plugin } from 'ckeditor5/src/core.js'; +import AttributeCommand from '../attributecommand.js'; +const ITALIC = 'italic'; +/** + * The italic editing feature. + * + * It registers the `'italic'` command, the Ctrl+I keystroke and introduces the `italic` attribute in the model + * which renders to the view as an `` element. + */ +export default class ItalicEditing extends Plugin { + /** + * @inheritDoc + */ + static get pluginName() { + return 'ItalicEditing'; + } + /** + * @inheritDoc + */ + init() { + const editor = this.editor; + const t = this.editor.t; + // Allow italic attribute on text nodes. + editor.model.schema.extend('$text', { allowAttributes: ITALIC }); + editor.model.schema.setAttributeProperties(ITALIC, { + isFormatting: true, + copyOnEnter: true + }); + editor.conversion.attributeToElement({ + model: ITALIC, + view: 'i', + upcastAlso: [ + 'em', + { + styles: { + 'font-style': 'italic' + } + } + ] + }); + // Create italic command. + editor.commands.add(ITALIC, new AttributeCommand(editor, ITALIC)); + // Set the Ctrl+I keystroke. + editor.keystrokes.set('CTRL+I', ITALIC); + // Add the information about the keystroke to the accessibility database. + editor.accessibility.addKeystrokeInfos({ + keystrokes: [ + { + label: t('Italic text'), + keystroke: 'CTRL+I' + } + ] + }); + } +} diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/src/italic/italicui.d.ts b/node_modules/@ckeditor/ckeditor5-basic-styles/src/italic/italicui.d.ts new file mode 100644 index 0000000..9c43e63 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/src/italic/italicui.d.ts @@ -0,0 +1,21 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module basic-styles/italic/italicui + */ +import { Plugin } from 'ckeditor5/src/core.js'; +/** + * The italic UI feature. It introduces the Italic button. + */ +export default class ItalicUI extends Plugin { + /** + * @inheritDoc + */ + static get pluginName(): "ItalicUI"; + /** + * @inheritDoc + */ + init(): void; +} diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/src/italic/italicui.js b/node_modules/@ckeditor/ckeditor5-basic-styles/src/italic/italicui.js new file mode 100644 index 0000000..c4ade01 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/src/italic/italicui.js @@ -0,0 +1,51 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module basic-styles/italic/italicui + */ +import { Plugin } from 'ckeditor5/src/core.js'; +import { MenuBarMenuListItemButtonView, ButtonView } from 'ckeditor5/src/ui.js'; +import { getButtonCreator } from '../utils.js'; +import italicIcon from '../../theme/icons/italic.svg'; +const ITALIC = 'italic'; +/** + * The italic UI feature. It introduces the Italic button. + */ +export default class ItalicUI extends Plugin { + /** + * @inheritDoc + */ + static get pluginName() { + return 'ItalicUI'; + } + /** + * @inheritDoc + */ + init() { + const editor = this.editor; + const command = editor.commands.get(ITALIC); + const t = editor.locale.t; + const createButton = getButtonCreator({ + editor, + commandName: ITALIC, + plugin: this, + icon: italicIcon, + keystroke: 'CTRL+I', + label: t('Italic') + }); + // Add bold button to feature components. + editor.ui.componentFactory.add(ITALIC, () => { + const buttonView = createButton(ButtonView); + buttonView.set({ + tooltip: true + }); + buttonView.bind('isOn').to(command, 'value'); + return buttonView; + }); + editor.ui.componentFactory.add('menuBar:' + ITALIC, () => { + return createButton(MenuBarMenuListItemButtonView); + }); + } +} diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/src/strikethrough.d.ts b/node_modules/@ckeditor/ckeditor5-basic-styles/src/strikethrough.d.ts new file mode 100644 index 0000000..16730ae --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/src/strikethrough.d.ts @@ -0,0 +1,29 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module basic-styles/strikethrough + */ +import { Plugin } from 'ckeditor5/src/core.js'; +import StrikethroughEditing from './strikethrough/strikethroughediting.js'; +import StrikethroughUI from './strikethrough/strikethroughui.js'; +/** + * The strikethrough feature. + * + * For a detailed overview check the {@glink features/basic-styles Basic styles feature} guide + * and the {@glink api/basic-styles package page}. + * + * This is a "glue" plugin which loads the {@link module:basic-styles/strikethrough/strikethroughediting~StrikethroughEditing} and + * {@link module:basic-styles/strikethrough/strikethroughui~StrikethroughUI} plugins. + */ +export default class Strikethrough extends Plugin { + /** + * @inheritDoc + */ + static get requires(): readonly [typeof StrikethroughEditing, typeof StrikethroughUI]; + /** + * @inheritDoc + */ + static get pluginName(): "Strikethrough"; +} diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/src/strikethrough.js b/node_modules/@ckeditor/ckeditor5-basic-styles/src/strikethrough.js new file mode 100644 index 0000000..c5f061d --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/src/strikethrough.js @@ -0,0 +1,33 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module basic-styles/strikethrough + */ +import { Plugin } from 'ckeditor5/src/core.js'; +import StrikethroughEditing from './strikethrough/strikethroughediting.js'; +import StrikethroughUI from './strikethrough/strikethroughui.js'; +/** + * The strikethrough feature. + * + * For a detailed overview check the {@glink features/basic-styles Basic styles feature} guide + * and the {@glink api/basic-styles package page}. + * + * This is a "glue" plugin which loads the {@link module:basic-styles/strikethrough/strikethroughediting~StrikethroughEditing} and + * {@link module:basic-styles/strikethrough/strikethroughui~StrikethroughUI} plugins. + */ +export default class Strikethrough extends Plugin { + /** + * @inheritDoc + */ + static get requires() { + return [StrikethroughEditing, StrikethroughUI]; + } + /** + * @inheritDoc + */ + static get pluginName() { + return 'Strikethrough'; + } +} diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/src/strikethrough/strikethroughediting.d.ts b/node_modules/@ckeditor/ckeditor5-basic-styles/src/strikethrough/strikethroughediting.d.ts new file mode 100644 index 0000000..3e51c77 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/src/strikethrough/strikethroughediting.d.ts @@ -0,0 +1,25 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module basic-styles/strikethrough/strikethroughediting + */ +import { Plugin } from 'ckeditor5/src/core.js'; +/** + * The strikethrough editing feature. + * + * It registers the `'strikethrough'` command, the Ctrl+Shift+X keystroke and introduces the + * `strikethroughsthrough` attribute in the model which renders to the view + * as a `` element. + */ +export default class StrikethroughEditing extends Plugin { + /** + * @inheritDoc + */ + static get pluginName(): "StrikethroughEditing"; + /** + * @inheritDoc + */ + init(): void; +} diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/src/strikethrough/strikethroughediting.js b/node_modules/@ckeditor/ckeditor5-basic-styles/src/strikethrough/strikethroughediting.js new file mode 100644 index 0000000..776b5ff --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/src/strikethrough/strikethroughediting.js @@ -0,0 +1,64 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module basic-styles/strikethrough/strikethroughediting + */ +import { Plugin } from 'ckeditor5/src/core.js'; +import AttributeCommand from '../attributecommand.js'; +const STRIKETHROUGH = 'strikethrough'; +/** + * The strikethrough editing feature. + * + * It registers the `'strikethrough'` command, the Ctrl+Shift+X keystroke and introduces the + * `strikethroughsthrough` attribute in the model which renders to the view + * as a `` element. + */ +export default class StrikethroughEditing extends Plugin { + /** + * @inheritDoc + */ + static get pluginName() { + return 'StrikethroughEditing'; + } + /** + * @inheritDoc + */ + init() { + const editor = this.editor; + const t = this.editor.t; + // Allow strikethrough attribute on text nodes. + editor.model.schema.extend('$text', { allowAttributes: STRIKETHROUGH }); + editor.model.schema.setAttributeProperties(STRIKETHROUGH, { + isFormatting: true, + copyOnEnter: true + }); + editor.conversion.attributeToElement({ + model: STRIKETHROUGH, + view: 's', + upcastAlso: [ + 'del', + 'strike', + { + styles: { + 'text-decoration': 'line-through' + } + } + ] + }); + // Create strikethrough command. + editor.commands.add(STRIKETHROUGH, new AttributeCommand(editor, STRIKETHROUGH)); + // Set the Ctrl+Shift+X keystroke. + editor.keystrokes.set('CTRL+SHIFT+X', 'strikethrough'); + // Add the information about the keystroke to the accessibility database. + editor.accessibility.addKeystrokeInfos({ + keystrokes: [ + { + label: t('Strikethrough text'), + keystroke: 'CTRL+SHIFT+X' + } + ] + }); + } +} diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/src/strikethrough/strikethroughui.d.ts b/node_modules/@ckeditor/ckeditor5-basic-styles/src/strikethrough/strikethroughui.d.ts new file mode 100644 index 0000000..366a48a --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/src/strikethrough/strikethroughui.d.ts @@ -0,0 +1,21 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module basic-styles/strikethrough/strikethroughui + */ +import { Plugin } from 'ckeditor5/src/core.js'; +/** + * The strikethrough UI feature. It introduces the Strikethrough button. + */ +export default class StrikethroughUI extends Plugin { + /** + * @inheritDoc + */ + static get pluginName(): "StrikethroughUI"; + /** + * @inheritDoc + */ + init(): void; +} diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/src/strikethrough/strikethroughui.js b/node_modules/@ckeditor/ckeditor5-basic-styles/src/strikethrough/strikethroughui.js new file mode 100644 index 0000000..419e53e --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/src/strikethrough/strikethroughui.js @@ -0,0 +1,52 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module basic-styles/strikethrough/strikethroughui + */ +import { Plugin } from 'ckeditor5/src/core.js'; +import { ButtonView, MenuBarMenuListItemButtonView } from 'ckeditor5/src/ui.js'; +import { getButtonCreator } from '../utils.js'; +import strikethroughIcon from '../../theme/icons/strikethrough.svg'; +const STRIKETHROUGH = 'strikethrough'; +/** + * The strikethrough UI feature. It introduces the Strikethrough button. + */ +export default class StrikethroughUI extends Plugin { + /** + * @inheritDoc + */ + static get pluginName() { + return 'StrikethroughUI'; + } + /** + * @inheritDoc + */ + init() { + const editor = this.editor; + const t = editor.locale.t; + const createButton = getButtonCreator({ + editor, + commandName: STRIKETHROUGH, + plugin: this, + icon: strikethroughIcon, + keystroke: 'CTRL+SHIFT+X', + label: t('Strikethrough') + }); + // Add strikethrough button to feature components. + editor.ui.componentFactory.add(STRIKETHROUGH, () => { + const buttonView = createButton(ButtonView); + const command = editor.commands.get(STRIKETHROUGH); + buttonView.set({ + tooltip: true + }); + // Bind button model to command. + buttonView.bind('isOn').to(command, 'value'); + return buttonView; + }); + editor.ui.componentFactory.add('menuBar:' + STRIKETHROUGH, () => { + return createButton(MenuBarMenuListItemButtonView); + }); + } +} diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/src/subscript.d.ts b/node_modules/@ckeditor/ckeditor5-basic-styles/src/subscript.d.ts new file mode 100644 index 0000000..d51f085 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/src/subscript.d.ts @@ -0,0 +1,26 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module basic-styles/subscript + */ +import { Plugin } from 'ckeditor5/src/core.js'; +import SubscriptEditing from './subscript/subscriptediting.js'; +import SubscriptUI from './subscript/subscriptui.js'; +/** + * The subscript feature. + * + * It loads the {@link module:basic-styles/subscript/subscriptediting~SubscriptEditing} and + * {@link module:basic-styles/subscript/subscriptui~SubscriptUI} plugins. + */ +export default class Subscript extends Plugin { + /** + * @inheritDoc + */ + static get requires(): readonly [typeof SubscriptEditing, typeof SubscriptUI]; + /** + * @inheritDoc + */ + static get pluginName(): "Subscript"; +} diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/src/subscript.js b/node_modules/@ckeditor/ckeditor5-basic-styles/src/subscript.js new file mode 100644 index 0000000..a47da16 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/src/subscript.js @@ -0,0 +1,30 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module basic-styles/subscript + */ +import { Plugin } from 'ckeditor5/src/core.js'; +import SubscriptEditing from './subscript/subscriptediting.js'; +import SubscriptUI from './subscript/subscriptui.js'; +/** + * The subscript feature. + * + * It loads the {@link module:basic-styles/subscript/subscriptediting~SubscriptEditing} and + * {@link module:basic-styles/subscript/subscriptui~SubscriptUI} plugins. + */ +export default class Subscript extends Plugin { + /** + * @inheritDoc + */ + static get requires() { + return [SubscriptEditing, SubscriptUI]; + } + /** + * @inheritDoc + */ + static get pluginName() { + return 'Subscript'; + } +} diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/src/subscript/subscriptediting.d.ts b/node_modules/@ckeditor/ckeditor5-basic-styles/src/subscript/subscriptediting.d.ts new file mode 100644 index 0000000..43a736d --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/src/subscript/subscriptediting.d.ts @@ -0,0 +1,24 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module basic-styles/subscript/subscriptediting + */ +import { Plugin } from 'ckeditor5/src/core.js'; +/** + * The subscript editing feature. + * + * It registers the `sub` command and introduces the `sub` attribute in the model which renders to the view + * as a `` element. + */ +export default class SubscriptEditing extends Plugin { + /** + * @inheritDoc + */ + static get pluginName(): "SubscriptEditing"; + /** + * @inheritDoc + */ + init(): void; +} diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/src/subscript/subscriptediting.js b/node_modules/@ckeditor/ckeditor5-basic-styles/src/subscript/subscriptediting.js new file mode 100644 index 0000000..4c786e4 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/src/subscript/subscriptediting.js @@ -0,0 +1,50 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module basic-styles/subscript/subscriptediting + */ +import { Plugin } from 'ckeditor5/src/core.js'; +import AttributeCommand from '../attributecommand.js'; +const SUBSCRIPT = 'subscript'; +/** + * The subscript editing feature. + * + * It registers the `sub` command and introduces the `sub` attribute in the model which renders to the view + * as a `` element. + */ +export default class SubscriptEditing extends Plugin { + /** + * @inheritDoc + */ + static get pluginName() { + return 'SubscriptEditing'; + } + /** + * @inheritDoc + */ + init() { + const editor = this.editor; + // Allow sub attribute on text nodes. + editor.model.schema.extend('$text', { allowAttributes: SUBSCRIPT }); + editor.model.schema.setAttributeProperties(SUBSCRIPT, { + isFormatting: true, + copyOnEnter: true + }); + // Build converter from model to view for data and editing pipelines. + editor.conversion.attributeToElement({ + model: SUBSCRIPT, + view: 'sub', + upcastAlso: [ + { + styles: { + 'vertical-align': 'sub' + } + } + ] + }); + // Create sub command. + editor.commands.add(SUBSCRIPT, new AttributeCommand(editor, SUBSCRIPT)); + } +} diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/src/subscript/subscriptui.d.ts b/node_modules/@ckeditor/ckeditor5-basic-styles/src/subscript/subscriptui.d.ts new file mode 100644 index 0000000..b3f25d8 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/src/subscript/subscriptui.d.ts @@ -0,0 +1,21 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module basic-styles/subscript/subscriptui + */ +import { Plugin } from 'ckeditor5/src/core.js'; +/** + * The subscript UI feature. It introduces the Subscript button. + */ +export default class SubscriptUI extends Plugin { + /** + * @inheritDoc + */ + static get pluginName(): "SubscriptUI"; + /** + * @inheritDoc + */ + init(): void; +} diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/src/subscript/subscriptui.js b/node_modules/@ckeditor/ckeditor5-basic-styles/src/subscript/subscriptui.js new file mode 100644 index 0000000..5eee2f7 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/src/subscript/subscriptui.js @@ -0,0 +1,51 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module basic-styles/subscript/subscriptui + */ +import { Plugin } from 'ckeditor5/src/core.js'; +import { ButtonView, MenuBarMenuListItemButtonView } from 'ckeditor5/src/ui.js'; +import { getButtonCreator } from '../utils.js'; +import subscriptIcon from '../../theme/icons/subscript.svg'; +const SUBSCRIPT = 'subscript'; +/** + * The subscript UI feature. It introduces the Subscript button. + */ +export default class SubscriptUI extends Plugin { + /** + * @inheritDoc + */ + static get pluginName() { + return 'SubscriptUI'; + } + /** + * @inheritDoc + */ + init() { + const editor = this.editor; + const t = editor.locale.t; + const createButton = getButtonCreator({ + editor, + commandName: SUBSCRIPT, + plugin: this, + icon: subscriptIcon, + label: t('Subscript') + }); + // Add subscript button to feature components. + editor.ui.componentFactory.add(SUBSCRIPT, () => { + const buttonView = createButton(ButtonView); + const command = editor.commands.get(SUBSCRIPT); + buttonView.set({ + tooltip: true + }); + // Bind button model to command. + buttonView.bind('isOn').to(command, 'value'); + return buttonView; + }); + editor.ui.componentFactory.add('menuBar:' + SUBSCRIPT, () => { + return createButton(MenuBarMenuListItemButtonView); + }); + } +} diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/src/superscript.d.ts b/node_modules/@ckeditor/ckeditor5-basic-styles/src/superscript.d.ts new file mode 100644 index 0000000..6f9cf21 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/src/superscript.d.ts @@ -0,0 +1,26 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module basic-styles/superscript + */ +import { Plugin } from 'ckeditor5/src/core.js'; +import SuperscriptEditing from './superscript/superscriptediting.js'; +import SuperscriptUI from './superscript/superscriptui.js'; +/** + * The superscript feature. + * + * It loads the {@link module:basic-styles/superscript/superscriptediting~SuperscriptEditing} and + * {@link module:basic-styles/superscript/superscriptui~SuperscriptUI} plugins. + */ +export default class Superscript extends Plugin { + /** + * @inheritDoc + */ + static get requires(): readonly [typeof SuperscriptEditing, typeof SuperscriptUI]; + /** + * @inheritDoc + */ + static get pluginName(): "Superscript"; +} diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/src/superscript.js b/node_modules/@ckeditor/ckeditor5-basic-styles/src/superscript.js new file mode 100644 index 0000000..de85ebe --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/src/superscript.js @@ -0,0 +1,30 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module basic-styles/superscript + */ +import { Plugin } from 'ckeditor5/src/core.js'; +import SuperscriptEditing from './superscript/superscriptediting.js'; +import SuperscriptUI from './superscript/superscriptui.js'; +/** + * The superscript feature. + * + * It loads the {@link module:basic-styles/superscript/superscriptediting~SuperscriptEditing} and + * {@link module:basic-styles/superscript/superscriptui~SuperscriptUI} plugins. + */ +export default class Superscript extends Plugin { + /** + * @inheritDoc + */ + static get requires() { + return [SuperscriptEditing, SuperscriptUI]; + } + /** + * @inheritDoc + */ + static get pluginName() { + return 'Superscript'; + } +} diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/src/superscript/superscriptediting.d.ts b/node_modules/@ckeditor/ckeditor5-basic-styles/src/superscript/superscriptediting.d.ts new file mode 100644 index 0000000..9274abf --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/src/superscript/superscriptediting.d.ts @@ -0,0 +1,24 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module basic-styles/superscript/superscriptediting + */ +import { Plugin } from 'ckeditor5/src/core.js'; +/** + * The superscript editing feature. + * + * It registers the `super` command and introduces the `super` attribute in the model which renders to the view + * as a `` element. + */ +export default class SuperscriptEditing extends Plugin { + /** + * @inheritDoc + */ + static get pluginName(): "SuperscriptEditing"; + /** + * @inheritDoc + */ + init(): void; +} diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/src/superscript/superscriptediting.js b/node_modules/@ckeditor/ckeditor5-basic-styles/src/superscript/superscriptediting.js new file mode 100644 index 0000000..f386016 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/src/superscript/superscriptediting.js @@ -0,0 +1,50 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module basic-styles/superscript/superscriptediting + */ +import { Plugin } from 'ckeditor5/src/core.js'; +import AttributeCommand from '../attributecommand.js'; +const SUPERSCRIPT = 'superscript'; +/** + * The superscript editing feature. + * + * It registers the `super` command and introduces the `super` attribute in the model which renders to the view + * as a `` element. + */ +export default class SuperscriptEditing extends Plugin { + /** + * @inheritDoc + */ + static get pluginName() { + return 'SuperscriptEditing'; + } + /** + * @inheritDoc + */ + init() { + const editor = this.editor; + // Allow super attribute on text nodes. + editor.model.schema.extend('$text', { allowAttributes: SUPERSCRIPT }); + editor.model.schema.setAttributeProperties(SUPERSCRIPT, { + isFormatting: true, + copyOnEnter: true + }); + // Build converter from model to view for data and editing pipelines. + editor.conversion.attributeToElement({ + model: SUPERSCRIPT, + view: 'sup', + upcastAlso: [ + { + styles: { + 'vertical-align': 'super' + } + } + ] + }); + // Create super command. + editor.commands.add(SUPERSCRIPT, new AttributeCommand(editor, SUPERSCRIPT)); + } +} diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/src/superscript/superscriptui.d.ts b/node_modules/@ckeditor/ckeditor5-basic-styles/src/superscript/superscriptui.d.ts new file mode 100644 index 0000000..170f6fc --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/src/superscript/superscriptui.d.ts @@ -0,0 +1,21 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module basic-styles/superscript/superscriptui + */ +import { Plugin } from 'ckeditor5/src/core.js'; +/** + * The superscript UI feature. It introduces the Superscript button. + */ +export default class SuperscriptUI extends Plugin { + /** + * @inheritDoc + */ + static get pluginName(): "SuperscriptUI"; + /** + * @inheritDoc + */ + init(): void; +} diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/src/superscript/superscriptui.js b/node_modules/@ckeditor/ckeditor5-basic-styles/src/superscript/superscriptui.js new file mode 100644 index 0000000..60e4864 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/src/superscript/superscriptui.js @@ -0,0 +1,51 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module basic-styles/superscript/superscriptui + */ +import { Plugin } from 'ckeditor5/src/core.js'; +import { ButtonView, MenuBarMenuListItemButtonView } from 'ckeditor5/src/ui.js'; +import { getButtonCreator } from '../utils.js'; +import superscriptIcon from '../../theme/icons/superscript.svg'; +const SUPERSCRIPT = 'superscript'; +/** + * The superscript UI feature. It introduces the Superscript button. + */ +export default class SuperscriptUI extends Plugin { + /** + * @inheritDoc + */ + static get pluginName() { + return 'SuperscriptUI'; + } + /** + * @inheritDoc + */ + init() { + const editor = this.editor; + const t = editor.locale.t; + const createButton = getButtonCreator({ + editor, + commandName: SUPERSCRIPT, + plugin: this, + icon: superscriptIcon, + label: t('Superscript') + }); + // Add superscript button to feature components. + editor.ui.componentFactory.add(SUPERSCRIPT, () => { + const buttonView = createButton(ButtonView); + const command = editor.commands.get(SUPERSCRIPT); + buttonView.set({ + tooltip: true + }); + // Bind button model to command. + buttonView.bind('isOn').to(command, 'value'); + return buttonView; + }); + editor.ui.componentFactory.add('menuBar:' + SUPERSCRIPT, () => { + return createButton(MenuBarMenuListItemButtonView); + }); + } +} diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/src/underline.d.ts b/node_modules/@ckeditor/ckeditor5-basic-styles/src/underline.d.ts new file mode 100644 index 0000000..75b9038 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/src/underline.d.ts @@ -0,0 +1,29 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module basic-styles/underline + */ +import { Plugin } from 'ckeditor5/src/core.js'; +import UnderlineEditing from './underline/underlineediting.js'; +import UnderlineUI from './underline/underlineui.js'; +/** + * The underline feature. + * + * For a detailed overview check the {@glink features/basic-styles Basic styles feature} guide + * and the {@glink api/basic-styles package page}. + * + * This is a "glue" plugin which loads the {@link module:basic-styles/underline/underlineediting~UnderlineEditing} and + * {@link module:basic-styles/underline/underlineui~UnderlineUI} plugins. + */ +export default class Underline extends Plugin { + /** + * @inheritDoc + */ + static get requires(): readonly [typeof UnderlineEditing, typeof UnderlineUI]; + /** + * @inheritDoc + */ + static get pluginName(): "Underline"; +} diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/src/underline.js b/node_modules/@ckeditor/ckeditor5-basic-styles/src/underline.js new file mode 100644 index 0000000..a6e01e4 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/src/underline.js @@ -0,0 +1,33 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module basic-styles/underline + */ +import { Plugin } from 'ckeditor5/src/core.js'; +import UnderlineEditing from './underline/underlineediting.js'; +import UnderlineUI from './underline/underlineui.js'; +/** + * The underline feature. + * + * For a detailed overview check the {@glink features/basic-styles Basic styles feature} guide + * and the {@glink api/basic-styles package page}. + * + * This is a "glue" plugin which loads the {@link module:basic-styles/underline/underlineediting~UnderlineEditing} and + * {@link module:basic-styles/underline/underlineui~UnderlineUI} plugins. + */ +export default class Underline extends Plugin { + /** + * @inheritDoc + */ + static get requires() { + return [UnderlineEditing, UnderlineUI]; + } + /** + * @inheritDoc + */ + static get pluginName() { + return 'Underline'; + } +} diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/src/underline/underlineediting.d.ts b/node_modules/@ckeditor/ckeditor5-basic-styles/src/underline/underlineediting.d.ts new file mode 100644 index 0000000..3eee4f0 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/src/underline/underlineediting.d.ts @@ -0,0 +1,24 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module basic-styles/underline/underlineediting + */ +import { Plugin } from 'ckeditor5/src/core.js'; +/** + * The underline editing feature. + * + * It registers the `'underline'` command, the Ctrl+U keystroke + * and introduces the `underline` attribute in the model which renders to the view as an `` element. + */ +export default class UnderlineEditing extends Plugin { + /** + * @inheritDoc + */ + static get pluginName(): "UnderlineEditing"; + /** + * @inheritDoc + */ + init(): void; +} diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/src/underline/underlineediting.js b/node_modules/@ckeditor/ckeditor5-basic-styles/src/underline/underlineediting.js new file mode 100644 index 0000000..c9f2660 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/src/underline/underlineediting.js @@ -0,0 +1,59 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module basic-styles/underline/underlineediting + */ +import { Plugin } from 'ckeditor5/src/core.js'; +import AttributeCommand from '../attributecommand.js'; +const UNDERLINE = 'underline'; +/** + * The underline editing feature. + * + * It registers the `'underline'` command, the Ctrl+U keystroke + * and introduces the `underline` attribute in the model which renders to the view as an `` element. + */ +export default class UnderlineEditing extends Plugin { + /** + * @inheritDoc + */ + static get pluginName() { + return 'UnderlineEditing'; + } + /** + * @inheritDoc + */ + init() { + const editor = this.editor; + const t = this.editor.t; + // Allow strikethrough attribute on text nodes. + editor.model.schema.extend('$text', { allowAttributes: UNDERLINE }); + editor.model.schema.setAttributeProperties(UNDERLINE, { + isFormatting: true, + copyOnEnter: true + }); + editor.conversion.attributeToElement({ + model: UNDERLINE, + view: 'u', + upcastAlso: { + styles: { + 'text-decoration': 'underline' + } + } + }); + // Create underline command. + editor.commands.add(UNDERLINE, new AttributeCommand(editor, UNDERLINE)); + // Set the Ctrl+U keystroke. + editor.keystrokes.set('CTRL+U', 'underline'); + // Add the information about the keystroke to the accessibility database. + editor.accessibility.addKeystrokeInfos({ + keystrokes: [ + { + label: t('Underline text'), + keystroke: 'CTRL+U' + } + ] + }); + } +} diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/src/underline/underlineui.d.ts b/node_modules/@ckeditor/ckeditor5-basic-styles/src/underline/underlineui.d.ts new file mode 100644 index 0000000..5f5709b --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/src/underline/underlineui.d.ts @@ -0,0 +1,21 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module basic-styles/underline/underlineui + */ +import { Plugin } from 'ckeditor5/src/core.js'; +/** + * The underline UI feature. It introduces the Underline button. + */ +export default class UnderlineUI extends Plugin { + /** + * @inheritDoc + */ + static get pluginName(): "UnderlineUI"; + /** + * @inheritDoc + */ + init(): void; +} diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/src/underline/underlineui.js b/node_modules/@ckeditor/ckeditor5-basic-styles/src/underline/underlineui.js new file mode 100644 index 0000000..ca6e64c --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/src/underline/underlineui.js @@ -0,0 +1,51 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module basic-styles/underline/underlineui + */ +import { Plugin } from 'ckeditor5/src/core.js'; +import { ButtonView, MenuBarMenuListItemButtonView } from 'ckeditor5/src/ui.js'; +import { getButtonCreator } from '../utils.js'; +import underlineIcon from '../../theme/icons/underline.svg'; +const UNDERLINE = 'underline'; +/** + * The underline UI feature. It introduces the Underline button. + */ +export default class UnderlineUI extends Plugin { + /** + * @inheritDoc + */ + static get pluginName() { + return 'UnderlineUI'; + } + /** + * @inheritDoc + */ + init() { + const editor = this.editor; + const command = editor.commands.get(UNDERLINE); + const t = editor.locale.t; + const createButton = getButtonCreator({ + editor, + commandName: UNDERLINE, + plugin: this, + icon: underlineIcon, + label: t('Underline'), + keystroke: 'CTRL+U' + }); + // Add bold button to feature components. + editor.ui.componentFactory.add(UNDERLINE, () => { + const buttonView = createButton(ButtonView); + buttonView.set({ + tooltip: true + }); + buttonView.bind('isOn').to(command, 'value'); + return buttonView; + }); + editor.ui.componentFactory.add('menuBar:' + UNDERLINE, () => { + return createButton(MenuBarMenuListItemButtonView); + }); + } +} diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/src/utils.d.ts b/node_modules/@ckeditor/ckeditor5-basic-styles/src/utils.d.ts new file mode 100644 index 0000000..02837f5 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/src/utils.d.ts @@ -0,0 +1,20 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module basic-styles/utils + */ +import type { Editor, Plugin } from 'ckeditor5/src/core.js'; +import type { ButtonView, MenuBarMenuListItemButtonView } from 'ckeditor5/src/ui.js'; +/** + * Returns a function that creates a (toolbar or menu bar) button for a basic style feature. + */ +export declare function getButtonCreator({ editor, commandName, plugin, icon, label, keystroke }: { + editor: Editor; + commandName: string; + icon: string; + label: string; + plugin: Plugin; + keystroke?: string; +}): (ButtonClass: T) => InstanceType; diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/src/utils.js b/node_modules/@ckeditor/ckeditor5-basic-styles/src/utils.js new file mode 100644 index 0000000..a18e36a --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/src/utils.js @@ -0,0 +1,26 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * Returns a function that creates a (toolbar or menu bar) button for a basic style feature. + */ +export function getButtonCreator({ editor, commandName, plugin, icon, label, keystroke }) { + return (ButtonClass) => { + const command = editor.commands.get(commandName); + const view = new ButtonClass(editor.locale); + view.set({ + label, + icon, + keystroke, + isToggleable: true + }); + view.bind('isEnabled').to(command, 'isEnabled'); + // Execute the command. + plugin.listenTo(view, 'execute', () => { + editor.execute(commandName); + editor.editing.view.focus(); + }); + return view; + }; +} diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/theme/code.css b/node_modules/@ckeditor/ckeditor5-basic-styles/theme/code.css new file mode 100644 index 0000000..5fa2d8a --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/theme/code.css @@ -0,0 +1,14 @@ +/* + * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ + +.ck-content code { + background-color: hsla(0, 0%, 78%, 0.3); + padding: .15em; + border-radius: 2px; +} + +.ck.ck-editor__editable .ck-code_selected { + background-color: hsla(0, 0%, 78%, 0.5); +} diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/theme/icons/code.svg b/node_modules/@ckeditor/ckeditor5-basic-styles/theme/icons/code.svg new file mode 100644 index 0000000..0cd08e1 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/theme/icons/code.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/theme/icons/italic.svg b/node_modules/@ckeditor/ckeditor5-basic-styles/theme/icons/italic.svg new file mode 100644 index 0000000..efd83d1 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/theme/icons/italic.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/theme/icons/strikethrough.svg b/node_modules/@ckeditor/ckeditor5-basic-styles/theme/icons/strikethrough.svg new file mode 100644 index 0000000..9b307bc --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/theme/icons/strikethrough.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/theme/icons/subscript.svg b/node_modules/@ckeditor/ckeditor5-basic-styles/theme/icons/subscript.svg new file mode 100644 index 0000000..0cb413e --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/theme/icons/subscript.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/theme/icons/superscript.svg b/node_modules/@ckeditor/ckeditor5-basic-styles/theme/icons/superscript.svg new file mode 100644 index 0000000..92b5eb1 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/theme/icons/superscript.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-basic-styles/theme/icons/underline.svg b/node_modules/@ckeditor/ckeditor5-basic-styles/theme/icons/underline.svg new file mode 100644 index 0000000..149b64f --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-basic-styles/theme/icons/underline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/CHANGELOG.md b/node_modules/@ckeditor/ckeditor5-block-quote/CHANGELOG.md new file mode 100644 index 0000000..5ab47ca --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/CHANGELOG.md @@ -0,0 +1,204 @@ +Changelog +========= + +All changes in the package are documented in the main repository. See: https://github.com/ckeditor/ckeditor5/blob/master/CHANGELOG.md. + +Changes for the past releases are available below. + +## [19.0.0](https://github.com/ckeditor/ckeditor5-block-quote/compare/v18.0.0...v19.0.0) (April 29, 2020) + +Internal changes only (updated dependencies, documentation, etc.). + + +## [18.0.0](https://github.com/ckeditor/ckeditor5-block-quote/compare/v17.0.0...v18.0.0) (March 19, 2020) + +Internal changes only (updated dependencies, documentation, etc.). + + +## [17.0.0](https://github.com/ckeditor/ckeditor5-block-quote/compare/v16.0.0...v17.0.0) (February 18, 2020) + +### Bug fixes + +* Focus the editor before executing toolbar buttons' command. See [ckeditor/ckeditor5#353](https://github.com/ckeditor/ckeditor5/issues/353). ([4223ff2](https://github.com/ckeditor/ckeditor5-block-quote/commit/4223ff2)) + +### Other changes + +* Updated translations. ([77fbbad](https://github.com/ckeditor/ckeditor5-block-quote/commit/77fbbad)) + + +## [16.0.0](https://github.com/ckeditor/ckeditor5-block-quote/compare/v15.0.0...v16.0.0) (December 4, 2019) + +### Other changes + +* Updated translations. ([e49b7b0](https://github.com/ckeditor/ckeditor5-block-quote/commit/e49b7b0)) + + +## [15.0.0](https://github.com/ckeditor/ckeditor5-block-quote/compare/v11.1.3...v15.0.0) (October 23, 2019) + +### Other changes + +* Add `pluginName` property to editing plugins. ([3d6b419](https://github.com/ckeditor/ckeditor5-block-quote/commit/3d6b419)) +* Updated translations. ([47acb53](https://github.com/ckeditor/ckeditor5-block-quote/commit/47acb53)) + + +## [11.1.3](https://github.com/ckeditor/ckeditor5-block-quote/compare/v11.1.2...v11.1.3) (August 26, 2019) + +### Bug fixes + +* The UI buttons should be marked as toggleable for better assistive technologies support (see [ckeditor/ckeditor5#1403](https://github.com/ckeditor/ckeditor5/issues/1403)). ([aa24686](https://github.com/ckeditor/ckeditor5-block-quote/commit/aa24686)) + +### Other changes + +* Adjusted blockquote content styles for better compatibility with RTL languages. See [ckeditor/ckeditor5#1151](https://github.com/ckeditor/ckeditor5/issues/1151). ([c48b703](https://github.com/ckeditor/ckeditor5-block-quote/commit/c48b703)) +* The issue tracker for this package was moved to https://github.com/ckeditor/ckeditor5/issues. See [ckeditor/ckeditor5#1988](https://github.com/ckeditor/ckeditor5/issues/1988). ([ffcbcfc](https://github.com/ckeditor/ckeditor5-block-quote/commit/ffcbcfc)) +* Updated translations. ([537f761](https://github.com/ckeditor/ckeditor5-block-quote/commit/537f761)) + + +## [11.1.2](https://github.com/ckeditor/ckeditor5-block-quote/compare/v11.1.1...v11.1.2) (July 10, 2019) + +Internal changes only (updated dependencies, documentation, etc.). + + +## [11.1.1](https://github.com/ckeditor/ckeditor5-block-quote/compare/v11.1.0...v11.1.1) (July 4, 2019) + +### Other changes + +* Updated translations. ([3ab78f2](https://github.com/ckeditor/ckeditor5-block-quote/commit/3ab78f2)) + + +## [11.1.0](https://github.com/ckeditor/ckeditor5-block-quote/compare/v11.0.1...v11.1.0) (June 6, 2019) + +### Features + +* Added possibility to force quoting or un-quoting in `execute()`. Closes: [#35](https://github.com/ckeditor/ckeditor5-block-quote/issues/35). ([e9a5027](https://github.com/ckeditor/ckeditor5-block-quote/commit/e9a5027)) + +### Other changes + +* Updated translations. ([eb15fc6](https://github.com/ckeditor/ckeditor5-block-quote/commit/eb15fc6)) + + +## [11.0.1](https://github.com/ckeditor/ckeditor5-block-quote/compare/v11.0.0...v11.0.1) (April 4, 2019) + +### Other changes + +* Updated translations. ([c524349](https://github.com/ckeditor/ckeditor5-block-quote/commit/c524349)) + + +## [11.0.0](https://github.com/ckeditor/ckeditor5-block-quote/compare/v10.1.1...v11.0.0) (February 28, 2019) + +### Other changes + +* Make `BlockQuoteCommand` wrap only top-most blocks. ([17c9d3b](https://github.com/ckeditor/ckeditor5-block-quote/commit/17c9d3b)) +* Updated translations. ([f452b45](https://github.com/ckeditor/ckeditor5-block-quote/commit/f452b45)) ([8d8fde2](https://github.com/ckeditor/ckeditor5-block-quote/commit/8d8fde2)) ([cb7ec44](https://github.com/ckeditor/ckeditor5-block-quote/commit/cb7ec44)) + +### BREAKING CHANGES + +* Upgraded minimal versions of Node to `8.0.0` and npm to `5.7.1`. See: [ckeditor/ckeditor5#1507](https://github.com/ckeditor/ckeditor5/issues/1507). ([612ea3c](https://github.com/ckeditor/ckeditor5-cloud-services/commit/612ea3c)) + + +## [10.1.1](https://github.com/ckeditor/ckeditor5-block-quote/compare/v10.1.0...v10.1.1) (December 5, 2018) + +Internal changes only (updated dependencies, documentation, etc.). + + +## [10.1.0](https://github.com/ckeditor/ckeditor5-block-quote/compare/v10.0.2...v10.1.0) (October 8, 2018) + +### Features + +* Implemented a post-fixer for cleaning incorrect blockquotes. ([fcb00c0](https://github.com/ckeditor/ckeditor5-block-quote/commit/fcb00c0)) + +### Other changes + +* Updated translations. ([a0078f3](https://github.com/ckeditor/ckeditor5-block-quote/commit/a0078f3)) + + +## [10.0.2](https://github.com/ckeditor/ckeditor5-block-quote/compare/v10.0.1...v10.0.2) (July 18, 2018) + +### Other changes + +* Updated translations. ([170a8fd](https://github.com/ckeditor/ckeditor5-block-quote/commit/170a8fd)) + + +## [10.0.1](https://github.com/ckeditor/ckeditor5-block-quote/compare/v10.0.0...v10.0.1) (June 21, 2018) + +### Other changes + +* Updated translations. ([4a51fd8](https://github.com/ckeditor/ckeditor5-block-quote/commit/4a51fd8)) + + +## [10.0.0](https://github.com/ckeditor/ckeditor5-block-quote/compare/v1.0.0-beta.4...v10.0.0) (April 25, 2018) + +### Other changes + +* Changed the license to GPL2+ only. See [ckeditor/ckeditor5#991](https://github.com/ckeditor/ckeditor5/issues/991). ([a4fa6e7](https://github.com/ckeditor/ckeditor5-block-quote/commit/a4fa6e7)) + +### BREAKING CHANGES + +* The license under which CKEditor 5 is released has been changed from a triple GPL, LGPL and MPL license to a GPL2+ only. See [ckeditor/ckeditor5#991](https://github.com/ckeditor/ckeditor5/issues/991) for more information. + + +## [1.0.0-beta.4](https://github.com/ckeditor/ckeditor5-block-quote/compare/v1.0.0-beta.2...v1.0.0-beta.4) (April 19, 2018) + +Internal changes only (updated dependencies, documentation, etc.). + + +## [1.0.0-beta.2](https://github.com/ckeditor/ckeditor5-block-quote/compare/v1.0.0-beta.1...v1.0.0-beta.2) (April 10, 2018) + +### Bug fixes + +* The outline of a quoted image should not be cropped. Closes [#15](https://github.com/ckeditor/ckeditor5-block-quote/issues/15). ([1512135](https://github.com/ckeditor/ckeditor5-block-quote/commit/1512135)) + + +## [1.0.0-beta.1](https://github.com/ckeditor/ckeditor5-block-quote/compare/v1.0.0-alpha.2...v1.0.0-beta.1) (March 15, 2018) + +### Other changes + +* Aligned feature class naming to the new scheme. ([cc723c3](https://github.com/ckeditor/ckeditor5-block-quote/commit/cc723c3)) +* Migrated package styles to PostCSS. Moved the visual styles to `@ckeditor/ckeditor5-theme-lark` (see [ckeditor/ckeditor5-ui#144](https://github.com/ckeditor/ckeditor5-ui/issues/144)). ([c973931](https://github.com/ckeditor/ckeditor5-block-quote/commit/c973931)) + + +## [1.0.0-alpha.2](https://github.com/ckeditor/ckeditor5-block-quote/compare/v1.0.0-alpha.1...v1.0.0-alpha.2) (November 14, 2017) + +### Other changes + +* Updated translations. ([e150fe2](https://github.com/ckeditor/ckeditor5-block-quote/commit/e150fe2)) + + +## [1.0.0-alpha.1](https://github.com/ckeditor/ckeditor5-block-quote/compare/v0.2.0...v1.0.0-alpha.1) (October 3, 2017) + +### Other changes + +* Improved default blockquote styling so it does not overlap with floated images. Closes [#12](https://github.com/ckeditor/ckeditor5-block-quote/issues/12). ([fb09418](https://github.com/ckeditor/ckeditor5-block-quote/commit/fb09418)) + + +## [0.2.0](https://github.com/ckeditor/ckeditor5-block-quote/compare/v0.1.1...v0.2.0) (September 3, 2017) + +### Features + +* Enter in the block quote will scroll the viewport to the selection. See ckeditor/ckeditor5-engine#660. ([09dc740](https://github.com/ckeditor/ckeditor5-block-quote/commit/09dc740)) + +### Other changes + +* Aligned the implementation to the new Command API (see https://github.com/ckeditor/ckeditor5-core/issues/88). ([627510a](https://github.com/ckeditor/ckeditor5-block-quote/commit/627510a)) + +### BREAKING CHANGES + +* The command API has been changed. + + +## [0.1.1](https://github.com/ckeditor/ckeditor5-block-quote/compare/v0.1.0...v0.1.1) (May 7, 2017) + +### Bug fixes + +* Block quote should not be applied to image's caption. Closes: [#10](https://github.com/ckeditor/ckeditor5-block-quote/issues/10). ([06de874](https://github.com/ckeditor/ckeditor5-block-quote/commit/06de874)) + +### Other changes + +* Updated translations. ([5e23f86](https://github.com/ckeditor/ckeditor5-block-quote/commit/5e23f86)) + + +## 0.1.0 (April 5, 2017) + +### Features + +* Introduced the block quote feature. Closes [#1](https://github.com/ckeditor/ckeditor5-block-quote/issues/1). ([239015b](https://github.com/ckeditor/ckeditor5-block-quote/commit/239015b)) diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/LICENSE.md b/node_modules/@ckeditor/ckeditor5-block-quote/LICENSE.md new file mode 100644 index 0000000..106d679 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/LICENSE.md @@ -0,0 +1,17 @@ +Software License Agreement +========================== + +**CKEditor 5 block quote feature** – https://github.com/ckeditor/ckeditor5-block-quote
+Copyright (c) 2003–2024, [CKSource Holding sp. z o.o.](https://cksource.com) All rights reserved. + +Licensed under the terms of [GNU General Public License Version 2 or later](http://www.gnu.org/licenses/gpl.html). + +Sources of Intellectual Property Included in CKEditor +----------------------------------------------------- + +Where not otherwise indicated, all CKEditor content is authored by CKSource engineers and consists of CKSource-owned intellectual property. In some specific instances, CKEditor will incorporate work done by developers outside of CKSource with their express permission. + +Trademarks +---------- + +**CKEditor** is a trademark of [CKSource Holding sp. z o.o.](https://cksource.com) All other brand and product names are trademarks, registered trademarks, or service marks of their respective holders. diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/README.md b/node_modules/@ckeditor/ckeditor5-block-quote/README.md new file mode 100644 index 0000000..f63ea38 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/README.md @@ -0,0 +1,20 @@ +CKEditor 5 block quote feature +======================================== + +[![npm version](https://badge.fury.io/js/%40ckeditor%2Fckeditor5-block-quote.svg)](https://www.npmjs.com/package/@ckeditor/ckeditor5-block-quote) +[![Coverage Status](https://coveralls.io/repos/github/ckeditor/ckeditor5/badge.svg?branch=master)](https://coveralls.io/github/ckeditor/ckeditor5?branch=master) +[![Build Status](https://travis-ci.com/ckeditor/ckeditor5.svg?branch=master)](https://app.travis-ci.com/github/ckeditor/ckeditor5) + +This package implements block quote support for CKEditor 5. + +## Demo + +Check out the [demo in the block quote feature guide](https://ckeditor.com/docs/ckeditor5/latest/features/block-quote.html#demo). + +## Documentation + +See the [`@ckeditor/ckeditor5-block-quote` package](https://ckeditor.com/docs/ckeditor5/latest/api/block-quote.html) page in [CKEditor 5 documentation](https://ckeditor.com/docs/ckeditor5/latest/). + +## License + +Licensed under the terms of [GNU General Public License Version 2 or later](http://www.gnu.org/licenses/gpl.html). For full details about the license, please check the `LICENSE.md` file or [https://ckeditor.com/legal/ckeditor-oss-license](https://ckeditor.com/legal/ckeditor-oss-license). diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/build/block-quote.js b/node_modules/@ckeditor/ckeditor5-block-quote/build/block-quote.js new file mode 100644 index 0000000..98352ec --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/build/block-quote.js @@ -0,0 +1,5 @@ +!function(e){const t=e.en=e.en||{};t.dictionary=Object.assign(t.dictionary||{},{"Block quote":"Block quote"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})), +/*! + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md. + */(()=>{var e={28:(e,t,o)=>{"use strict";o.d(t,{A:()=>i});var n=o(935),r=o.n(n)()((function(e){return e[1]}));r.push([e.id,".ck-content blockquote{border-left:5px solid #ccc;font-style:italic;margin-left:0;margin-right:0;overflow:hidden;padding-left:1.5em;padding-right:1.5em}.ck-content[dir=rtl] blockquote{border-left:0;border-right:5px solid #ccc}",""]);const i=r},935:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var o=e(t);return t[2]?"@media ".concat(t[2]," {").concat(o,"}"):o})).join("")},t.i=function(e,o,n){"string"==typeof e&&(e=[[null,e,""]]);var r={};if(n)for(var i=0;i{"use strict";var n,r=function(){return void 0===n&&(n=Boolean(window&&document&&document.all&&!window.atob)),n},i=function(){var e={};return function(t){if(void 0===e[t]){var o=document.querySelector(t);if(window.HTMLIFrameElement&&o instanceof window.HTMLIFrameElement)try{o=o.contentDocument.head}catch(e){o=null}e[t]=o}return e[t]}}(),c=[];function s(e){for(var t=-1,o=0;o{e.exports=o(237)("./src/core.js")},507:(e,t,o)=>{e.exports=o(237)("./src/enter.js")},834:(e,t,o)=>{e.exports=o(237)("./src/typing.js")},311:(e,t,o)=>{e.exports=o(237)("./src/ui.js")},584:(e,t,o)=>{e.exports=o(237)("./src/utils.js")},237:e=>{"use strict";e.exports=CKEditor5.dll}},t={};function o(n){var r=t[n];if(void 0!==r)return r.exports;var i=t[n]={id:n,exports:{}};return e[n](i,i.exports,o),i.exports}o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.nc=void 0;var n={};(()=>{"use strict";o.r(n),o.d(n,{BlockQuote:()=>g,BlockQuoteEditing:()=>u,BlockQuoteUI:()=>v});var e=o(782),t=o(507),r=o(834),i=o(584);class c extends e.Command{refresh(){this.value=this._getValue(),this.isEnabled=this._checkEnabled()}execute(e={}){const t=this.editor.model,o=t.schema,n=t.document.selection,r=Array.from(n.getSelectedBlocks()),i=void 0===e.forceValue?!this.value:e.forceValue;t.change((e=>{if(i){const t=r.filter((e=>s(e)||l(o,e)));this._applyQuote(e,t)}else this._removeQuote(e,r.filter(s))}))}_getValue(){const e=this.editor.model.document.selection,t=(0,i.first)(e.getSelectedBlocks());return!(!t||!s(t))}_checkEnabled(){if(this.value)return!0;const e=this.editor.model.document.selection,t=this.editor.model.schema,o=(0,i.first)(e.getSelectedBlocks());return!!o&&l(t,o)}_removeQuote(e,t){a(e,t).reverse().forEach((t=>{if(t.start.isAtStart&&t.end.isAtEnd)return void e.unwrap(t.start.parent);if(t.start.isAtStart){const o=e.createPositionBefore(t.start.parent);return void e.move(t,o)}t.end.isAtEnd||e.split(t.end);const o=e.createPositionAfter(t.end.parent);e.move(t,o)}))}_applyQuote(e,t){const o=[];a(e,t).reverse().forEach((t=>{let n=s(t.start);n||(n=e.createElement("blockQuote"),e.wrap(t,n)),o.push(n)})),o.reverse().reduce(((t,o)=>t.nextSibling==o?(e.merge(e.createPositionAfter(t)),t):o))}}function s(e){return"blockQuote"==e.parent.name?e.parent:null}function a(e,t){let o,n=0;const r=[];for(;n{const n=e.model.document.differ.getChanges();for(const e of n)if("insert"==e.type){const n=e.position.nodeAfter;if(!n)continue;if(n.is("element","blockQuote")&&n.isEmpty)return o.remove(n),!0;if(n.is("element","blockQuote")&&!t.checkChild(e.position,n))return o.unwrap(n),!0;if(n.is("element")){const e=o.createRangeIn(n);for(const n of e.getItems())if(n.is("element","blockQuote")&&!t.checkChild(o.createPositionBefore(n),n))return o.unwrap(n),!0}}else if("remove"==e.type){const t=e.position.parent;if(t.is("element","blockQuote")&&t.isEmpty)return o.remove(t),!0}return!1}));const o=this.editor.editing.view.document,n=e.model.document.selection,r=e.commands.get("blockQuote");this.listenTo(o,"enter",((t,o)=>{if(!n.isCollapsed||!r.value)return;n.getLastPosition().parent.isEmpty&&(e.execute("blockQuote"),e.editing.view.scrollToTheSelection(),o.preventDefault(),t.stop())}),{context:"blockquote"}),this.listenTo(o,"delete",((t,o)=>{if("backward"!=o.direction||!n.isCollapsed||!r.value)return;const i=n.getLastPosition().parent;i.isEmpty&&!i.previousSibling&&(e.execute("blockQuote"),e.editing.view.scrollToTheSelection(),o.preventDefault(),t.stop())}),{context:"blockquote"})}}var d=o(311),f=o(591),p=o.n(f),m=o(28),h={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};p()(m.A,h);m.A.locals;class v extends e.Plugin{static get pluginName(){return"BlockQuoteUI"}init(){const e=this.editor,t=e.commands.get("blockQuote");e.ui.componentFactory.add("blockQuote",(()=>{const e=this._createButton(d.ButtonView);return e.set({tooltip:!0}),e.bind("isOn").to(t,"value"),e})),e.ui.componentFactory.add("menuBar:blockQuote",(()=>this._createButton(d.MenuBarMenuListItemButtonView)))}_createButton(t){const o=this.editor,n=o.locale,r=o.commands.get("blockQuote"),i=new t(o.locale),c=n.t;return i.set({label:c("Block quote"),icon:e.icons.quote,isToggleable:!0}),i.bind("isEnabled").to(r,"isEnabled"),this.listenTo(i,"execute",(()=>{o.execute("blockQuote"),o.editing.view.focus()})),i}}class g extends e.Plugin{static get requires(){return[u,v]}static get pluginName(){return"BlockQuote"}}})(),(window.CKEditor5=window.CKEditor5||{}).blockQuote=n})(); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/af.js b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/af.js new file mode 100644 index 0000000..e35bd01 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/af.js @@ -0,0 +1 @@ +!function(n){const i=n.af=n.af||{};i.dictionary=Object.assign(i.dictionary||{},{"Block quote":"Verwysingsaanhaling"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/ar.js b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/ar.js new file mode 100644 index 0000000..a6df1fe --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/ar.js @@ -0,0 +1 @@ +!function(i){const n=i.ar=i.ar||{};n.dictionary=Object.assign(n.dictionary||{},{"Block quote":"اقتباس"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/az.js b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/az.js new file mode 100644 index 0000000..22158de --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/az.js @@ -0,0 +1 @@ +!function(i){const o=i.az=i.az||{};o.dictionary=Object.assign(o.dictionary||{},{"Block quote":"Sitat bloku"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/bg.js b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/bg.js new file mode 100644 index 0000000..f8b2a45 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/bg.js @@ -0,0 +1 @@ +!function(i){const n=i.bg=i.bg||{};n.dictionary=Object.assign(n.dictionary||{},{"Block quote":"Цитат"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/bn.js b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/bn.js new file mode 100644 index 0000000..7b319b2 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/bn.js @@ -0,0 +1 @@ +!function(n){const i=n.bn=n.bn||{};i.dictionary=Object.assign(i.dictionary||{},{"Block quote":"ব্লক কোট"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/bs.js b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/bs.js new file mode 100644 index 0000000..0a20b71 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/bs.js @@ -0,0 +1 @@ +!function(i){const n=i.bs=i.bs||{};n.dictionary=Object.assign(n.dictionary||{},{"Block quote":"Citat"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/ca.js b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/ca.js new file mode 100644 index 0000000..e3f5bfd --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/ca.js @@ -0,0 +1 @@ +!function(c){const i=c.ca=c.ca||{};i.dictionary=Object.assign(i.dictionary||{},{"Block quote":"Cita de bloc"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/cs.js b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/cs.js new file mode 100644 index 0000000..6bf6efd --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/cs.js @@ -0,0 +1 @@ +!function(c){const i=c.cs=c.cs||{};i.dictionary=Object.assign(i.dictionary||{},{"Block quote":"Citace"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/da.js b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/da.js new file mode 100644 index 0000000..517b5cb --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/da.js @@ -0,0 +1 @@ +!function(i){const o=i.da=i.da||{};o.dictionary=Object.assign(o.dictionary||{},{"Block quote":"Blot citat"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/de-ch.js b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/de-ch.js new file mode 100644 index 0000000..d021ce3 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/de-ch.js @@ -0,0 +1 @@ +!function(c){const i=c["de-ch"]=c["de-ch"]||{};i.dictionary=Object.assign(i.dictionary||{},{"Block quote":"Blockzitat"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/de.js b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/de.js new file mode 100644 index 0000000..5bafd44 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/de.js @@ -0,0 +1 @@ +!function(i){const o=i.de=i.de||{};o.dictionary=Object.assign(o.dictionary||{},{"Block quote":"Blockzitat"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/el.js b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/el.js new file mode 100644 index 0000000..2e7cea9 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/el.js @@ -0,0 +1 @@ +!function(i){const n=i.el=i.el||{};n.dictionary=Object.assign(n.dictionary||{},{"Block quote":"Περιοχή παράθεσης"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/en-au.js b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/en-au.js new file mode 100644 index 0000000..a44520c --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/en-au.js @@ -0,0 +1 @@ +!function(n){const o=n["en-au"]=n["en-au"]||{};o.dictionary=Object.assign(o.dictionary||{},{"Block quote":"Block quote"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/en-gb.js b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/en-gb.js new file mode 100644 index 0000000..3fd172f --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/en-gb.js @@ -0,0 +1 @@ +!function(n){const o=n["en-gb"]=n["en-gb"]||{};o.dictionary=Object.assign(o.dictionary||{},{"Block quote":"Block quote"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/es-co.js b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/es-co.js new file mode 100644 index 0000000..370b102 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/es-co.js @@ -0,0 +1 @@ +!function(o){const i=o["es-co"]=o["es-co"]||{};i.dictionary=Object.assign(i.dictionary||{},{"Block quote":"Cita de bloque"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/es.js b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/es.js new file mode 100644 index 0000000..659c580 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/es.js @@ -0,0 +1 @@ +!function(i){const o=i.es=i.es||{};o.dictionary=Object.assign(o.dictionary||{},{"Block quote":"Bloque de cita"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/et.js b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/et.js new file mode 100644 index 0000000..2a02d6a --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/et.js @@ -0,0 +1 @@ +!function(t){const i=t.et=t.et||{};i.dictionary=Object.assign(i.dictionary||{},{"Block quote":"Tsitaat"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/eu.js b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/eu.js new file mode 100644 index 0000000..80be33c --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/eu.js @@ -0,0 +1 @@ +!function(i){const n=i.eu=i.eu||{};n.dictionary=Object.assign(n.dictionary||{},{"Block quote":"Aipua"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/fa.js b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/fa.js new file mode 100644 index 0000000..f508a10 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/fa.js @@ -0,0 +1 @@ +!function(i){const n=i.fa=i.fa||{};n.dictionary=Object.assign(n.dictionary||{},{"Block quote":" بلوک نقل قول"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/fi.js b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/fi.js new file mode 100644 index 0000000..173289c --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/fi.js @@ -0,0 +1 @@ +!function(i){const n=i.fi=i.fi||{};n.dictionary=Object.assign(n.dictionary||{},{"Block quote":"Lainaus"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/fr.js b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/fr.js new file mode 100644 index 0000000..002cb15 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/fr.js @@ -0,0 +1 @@ +!function(i){const n=i.fr=i.fr||{};n.dictionary=Object.assign(n.dictionary||{},{"Block quote":"Citation"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/gl.js b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/gl.js new file mode 100644 index 0000000..943c041 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/gl.js @@ -0,0 +1 @@ +!function(i){const o=i.gl=i.gl||{};o.dictionary=Object.assign(o.dictionary||{},{"Block quote":"Cita de bloque"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/gu.js b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/gu.js new file mode 100644 index 0000000..2ead639 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/gu.js @@ -0,0 +1 @@ +!function(i){const n=i.gu=i.gu||{};n.dictionary=Object.assign(n.dictionary||{},{"Block quote":" વિચાર ટાંકો"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/he.js b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/he.js new file mode 100644 index 0000000..3b71162 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/he.js @@ -0,0 +1 @@ +!function(i){const n=i.he=i.he||{};n.dictionary=Object.assign(n.dictionary||{},{"Block quote":"בלוק ציטוט"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/hi.js b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/hi.js new file mode 100644 index 0000000..02ad5ca --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/hi.js @@ -0,0 +1 @@ +!function(i){const o=i.hi=i.hi||{};o.dictionary=Object.assign(o.dictionary||{},{"Block quote":"Block quote"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/hr.js b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/hr.js new file mode 100644 index 0000000..98514f6 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/hr.js @@ -0,0 +1 @@ +!function(i){const o=i.hr=i.hr||{};o.dictionary=Object.assign(o.dictionary||{},{"Block quote":"Blok citat"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/hu.js b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/hu.js new file mode 100644 index 0000000..a7f2c85 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/hu.js @@ -0,0 +1 @@ +!function(i){const n=i.hu=i.hu||{};n.dictionary=Object.assign(n.dictionary||{},{"Block quote":"Idézet"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/id.js b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/id.js new file mode 100644 index 0000000..061777f --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/id.js @@ -0,0 +1 @@ +!function(i){const n=i.id=i.id||{};n.dictionary=Object.assign(n.dictionary||{},{"Block quote":"Kutipan"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/it.js b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/it.js new file mode 100644 index 0000000..aaa7054 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/it.js @@ -0,0 +1 @@ +!function(i){const o=i.it=i.it||{};o.dictionary=Object.assign(o.dictionary||{},{"Block quote":"Blocco citazione"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/ja.js b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/ja.js new file mode 100644 index 0000000..7978b9f --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/ja.js @@ -0,0 +1 @@ +!function(i){const n=i.ja=i.ja||{};n.dictionary=Object.assign(n.dictionary||{},{"Block quote":"ブロッククオート(引用)"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/km.js b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/km.js new file mode 100644 index 0000000..d6dcaaf --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/km.js @@ -0,0 +1 @@ +!function(i){const n=i.km=i.km||{};n.dictionary=Object.assign(n.dictionary||{},{"Block quote":"ប្លុក​ពាក្យ​សម្រង់"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/kn.js b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/kn.js new file mode 100644 index 0000000..47f43c7 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/kn.js @@ -0,0 +1 @@ +!function(n){const i=n.kn=n.kn||{};i.dictionary=Object.assign(i.dictionary||{},{"Block quote":"‍‍‍‍ಗುರುತಿಸಲಾದ ‍‍ಉಲ್ಲೇಖ"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/ko.js b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/ko.js new file mode 100644 index 0000000..3ed9283 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/ko.js @@ -0,0 +1 @@ +!function(o){const i=o.ko=o.ko||{};i.dictionary=Object.assign(i.dictionary||{},{"Block quote":"인용 단락"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/ku.js b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/ku.js new file mode 100644 index 0000000..a0a5d05 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/ku.js @@ -0,0 +1 @@ +!function(i){const n=i.ku=i.ku||{};n.dictionary=Object.assign(n.dictionary||{},{"Block quote":"وتەی وەرگیراو"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/lt.js b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/lt.js new file mode 100644 index 0000000..e7a9e1a --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/lt.js @@ -0,0 +1 @@ +!function(t){const i=t.lt=t.lt||{};i.dictionary=Object.assign(i.dictionary||{},{"Block quote":"Citata"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/lv.js b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/lv.js new file mode 100644 index 0000000..aa87169 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/lv.js @@ -0,0 +1 @@ +!function(i){const n=i.lv=i.lv||{};n.dictionary=Object.assign(n.dictionary||{},{"Block quote":"Citāts"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/ms.js b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/ms.js new file mode 100644 index 0000000..384ac23 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/ms.js @@ -0,0 +1 @@ +!function(i){const n=i.ms=i.ms||{};n.dictionary=Object.assign(n.dictionary||{},{"Block quote":"Blok petikan"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/nb.js b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/nb.js new file mode 100644 index 0000000..8b6ff6f --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/nb.js @@ -0,0 +1 @@ +!function(n){const i=n.nb=n.nb||{};i.dictionary=Object.assign(i.dictionary||{},{"Block quote":"Blokksitat"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/ne.js b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/ne.js new file mode 100644 index 0000000..3f9e689 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/ne.js @@ -0,0 +1 @@ +!function(n){const i=n.ne=n.ne||{};i.dictionary=Object.assign(i.dictionary||{},{"Block quote":"ब्लक उद्धरण"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/nl.js b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/nl.js new file mode 100644 index 0000000..5104493 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/nl.js @@ -0,0 +1 @@ +!function(n){const i=n.nl=n.nl||{};i.dictionary=Object.assign(i.dictionary||{},{"Block quote":"Blok citaat"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/no.js b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/no.js new file mode 100644 index 0000000..92ac633 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/no.js @@ -0,0 +1 @@ +!function(o){const n=o.no=o.no||{};n.dictionary=Object.assign(n.dictionary||{},{"Block quote":"Blokksitat"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/pl.js b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/pl.js new file mode 100644 index 0000000..db1f5a8 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/pl.js @@ -0,0 +1 @@ +!function(o){const i=o.pl=o.pl||{};i.dictionary=Object.assign(i.dictionary||{},{"Block quote":"Cytat blokowy"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/pt-br.js b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/pt-br.js new file mode 100644 index 0000000..5e48dbe --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/pt-br.js @@ -0,0 +1 @@ +!function(o){const i=o["pt-br"]=o["pt-br"]||{};i.dictionary=Object.assign(i.dictionary||{},{"Block quote":"Bloco de citação"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/pt.js b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/pt.js new file mode 100644 index 0000000..2c3449e --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/pt.js @@ -0,0 +1 @@ +!function(o){const i=o.pt=o.pt||{};i.dictionary=Object.assign(i.dictionary||{},{"Block quote":"Bloco de citação"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/ro.js b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/ro.js new file mode 100644 index 0000000..d6671e1 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/ro.js @@ -0,0 +1 @@ +!function(o){const i=o.ro=o.ro||{};i.dictionary=Object.assign(i.dictionary||{},{"Block quote":"Bloc citat"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/ru.js b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/ru.js new file mode 100644 index 0000000..4591608 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/ru.js @@ -0,0 +1 @@ +!function(i){const n=i.ru=i.ru||{};n.dictionary=Object.assign(n.dictionary||{},{"Block quote":"Цитата"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/sk.js b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/sk.js new file mode 100644 index 0000000..6ccea39 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/sk.js @@ -0,0 +1 @@ +!function(i){const n=i.sk=i.sk||{};n.dictionary=Object.assign(n.dictionary||{},{"Block quote":"Citát"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/sl.js b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/sl.js new file mode 100644 index 0000000..dd31080 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/sl.js @@ -0,0 +1 @@ +!function(i){const o=i.sl=i.sl||{};o.dictionary=Object.assign(o.dictionary||{},{"Block quote":"Blokiraj citat"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/sq.js b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/sq.js new file mode 100644 index 0000000..1e47d02 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/sq.js @@ -0,0 +1 @@ +!function(n){const o=n.sq=n.sq||{};o.dictionary=Object.assign(o.dictionary||{},{"Block quote":"Thonjëzat"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/sr-latn.js b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/sr-latn.js new file mode 100644 index 0000000..b630bc6 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/sr-latn.js @@ -0,0 +1 @@ +!function(n){const t=n["sr-latn"]=n["sr-latn"]||{};t.dictionary=Object.assign(t.dictionary||{},{"Block quote":"Citat"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/sr.js b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/sr.js new file mode 100644 index 0000000..516a7a8 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/sr.js @@ -0,0 +1 @@ +!function(i){const n=i.sr=i.sr||{};n.dictionary=Object.assign(n.dictionary||{},{"Block quote":"Цитат"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/sv.js b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/sv.js new file mode 100644 index 0000000..e2a0869 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/sv.js @@ -0,0 +1 @@ +!function(i){const o=i.sv=i.sv||{};o.dictionary=Object.assign(o.dictionary||{},{"Block quote":"Blockcitat"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/th.js b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/th.js new file mode 100644 index 0000000..2305940 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/th.js @@ -0,0 +1 @@ +!function(i){const n=i.th=i.th||{};n.dictionary=Object.assign(n.dictionary||{},{"Block quote":"คำพูดบล็อก"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/tk.js b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/tk.js new file mode 100644 index 0000000..98d5f38 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/tk.js @@ -0,0 +1 @@ +!function(i){const t=i.tk=i.tk||{};t.dictionary=Object.assign(t.dictionary||{},{"Block quote":"Sitata blokirläň"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/tr.js b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/tr.js new file mode 100644 index 0000000..afef9da --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/tr.js @@ -0,0 +1 @@ +!function(n){const t=n.tr=n.tr||{};t.dictionary=Object.assign(t.dictionary||{},{"Block quote":"Alıntı"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/ug.js b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/ug.js new file mode 100644 index 0000000..41f4bff --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/ug.js @@ -0,0 +1 @@ +!function(i){const n=i.ug=i.ug||{};n.dictionary=Object.assign(n.dictionary||{},{"Block quote":"نەقىل"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/uk.js b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/uk.js new file mode 100644 index 0000000..9678c69 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/uk.js @@ -0,0 +1 @@ +!function(i){const n=i.uk=i.uk||{};n.dictionary=Object.assign(n.dictionary||{},{"Block quote":"Цитата"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/ur.js b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/ur.js new file mode 100644 index 0000000..be45717 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/ur.js @@ -0,0 +1 @@ +!function(i){const n=i.ur=i.ur||{};n.dictionary=Object.assign(n.dictionary||{},{"Block quote":"خانہ اقتباس"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/uz.js b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/uz.js new file mode 100644 index 0000000..af1a4af --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/uz.js @@ -0,0 +1 @@ +!function(i){const o=i.uz=i.uz||{};o.dictionary=Object.assign(o.dictionary||{},{"Block quote":"Iqtibos"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/vi.js b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/vi.js new file mode 100644 index 0000000..0593468 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/vi.js @@ -0,0 +1 @@ +!function(i){const n=i.vi=i.vi||{};n.dictionary=Object.assign(n.dictionary||{},{"Block quote":"Trích dẫn"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/zh-cn.js b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/zh-cn.js new file mode 100644 index 0000000..8e83d4b --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/zh-cn.js @@ -0,0 +1 @@ +!function(n){const c=n["zh-cn"]=n["zh-cn"]||{};c.dictionary=Object.assign(c.dictionary||{},{"Block quote":"块引用"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/zh.js b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/zh.js new file mode 100644 index 0000000..0877dc5 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/build/translations/zh.js @@ -0,0 +1 @@ +!function(i){const n=i.zh=i.zh||{};n.dictionary=Object.assign(n.dictionary||{},{"Block quote":"段落引用"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})); \ No newline at end of file diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/ckeditor5-metadata.json b/node_modules/@ckeditor/ckeditor5-block-quote/ckeditor5-metadata.json new file mode 100644 index 0000000..6668d46 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/ckeditor5-metadata.json @@ -0,0 +1,23 @@ +{ + "plugins": [ + { + "name": "Block quote", + "className": "BlockQuote", + "description": "Implements the block quote support to easily include quotations and passages in the rich-text content.", + "docs": "features/block-quote.html", + "path": "src/blockquote.js", + "uiComponents": [ + { + "type": "Button", + "name": "blockQuote", + "iconPath": "@ckeditor/ckeditor5-core/theme/icons/quote.svg" + } + ], + "htmlOutput": [ + { + "elements": "blockquote" + } + ] + } + ] +} diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/lang/contexts.json b/node_modules/@ckeditor/ckeditor5-block-quote/lang/contexts.json new file mode 100644 index 0000000..163affa --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/lang/contexts.json @@ -0,0 +1,3 @@ +{ + "Block quote": "Toolbar button tooltip for the Block quote feature." +} diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/af.po b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/af.po new file mode 100644 index 0000000..3103dc6 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/af.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Afrikaans (https://app.transifex.com/ckeditor/teams/11143/af/)\n" +"Language: af\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "Verwysingsaanhaling" diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/ar.po b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/ar.po new file mode 100644 index 0000000..d4b47f7 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/ar.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Arabic (https://app.transifex.com/ckeditor/teams/11143/ar/)\n" +"Language: ar\n" +"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "اقتباس" diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/az.po b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/az.po new file mode 100644 index 0000000..f7aada9 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/az.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Azerbaijani (https://app.transifex.com/ckeditor/teams/11143/az/)\n" +"Language: az\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "Sitat bloku" diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/bg.po b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/bg.po new file mode 100644 index 0000000..d0fce37 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/bg.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Bulgarian (https://app.transifex.com/ckeditor/teams/11143/bg/)\n" +"Language: bg\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "Цитат" diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/bn.po b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/bn.po new file mode 100644 index 0000000..eb6c91a --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/bn.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Bengali (https://app.transifex.com/ckeditor/teams/11143/bn/)\n" +"Language: bn\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "ব্লক কোট" diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/bs.po b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/bs.po new file mode 100644 index 0000000..434f98d --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/bs.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Bosnian (https://app.transifex.com/ckeditor/teams/11143/bs/)\n" +"Language: bs\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "Citat" diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/ca.po b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/ca.po new file mode 100644 index 0000000..14f3999 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/ca.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Catalan (https://app.transifex.com/ckeditor/teams/11143/ca/)\n" +"Language: ca\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "Cita de bloc" diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/cs.po b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/cs.po new file mode 100644 index 0000000..768fc20 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/cs.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Czech (https://app.transifex.com/ckeditor/teams/11143/cs/)\n" +"Language: cs\n" +"Plural-Forms: nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n >= 2 && n <= 4 && n % 1 == 0) ? 1: (n % 1 != 0 ) ? 2 : 3;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "Citace" diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/da.po b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/da.po new file mode 100644 index 0000000..9167145 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/da.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Danish (https://app.transifex.com/ckeditor/teams/11143/da/)\n" +"Language: da\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "Blot citat" diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/de-ch.po b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/de-ch.po new file mode 100644 index 0000000..438580c --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/de-ch.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: German (Switzerland) (https://app.transifex.com/ckeditor/teams/11143/de_CH/)\n" +"Language: de_CH\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "Blockzitat" diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/de.po b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/de.po new file mode 100644 index 0000000..38a92d4 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/de.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: German (https://app.transifex.com/ckeditor/teams/11143/de/)\n" +"Language: de\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "Blockzitat" diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/el.po b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/el.po new file mode 100644 index 0000000..fd23cff --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/el.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Greek (https://app.transifex.com/ckeditor/teams/11143/el/)\n" +"Language: el\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "Περιοχή παράθεσης" diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/en-au.po b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/en-au.po new file mode 100644 index 0000000..2daa3d8 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/en-au.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: English (Australia) (https://app.transifex.com/ckeditor/teams/11143/en_AU/)\n" +"Language: en_AU\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "Block quote" diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/en-gb.po b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/en-gb.po new file mode 100644 index 0000000..8a3acc7 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/en-gb.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: English (United Kingdom) (https://app.transifex.com/ckeditor/teams/11143/en_GB/)\n" +"Language: en_GB\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "Block quote" diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/en.po b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/en.po new file mode 100644 index 0000000..17bbb20 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/en.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language: \n" +"Language-Team: \n" +"Plural-Forms: \n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "Block quote" diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/es-co.po b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/es-co.po new file mode 100644 index 0000000..3ec1e1a --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/es-co.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Spanish (Colombia) (https://app.transifex.com/ckeditor/teams/11143/es_CO/)\n" +"Language: es_CO\n" +"Plural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "Cita de bloque" diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/es.po b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/es.po new file mode 100644 index 0000000..f898563 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/es.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Spanish (https://app.transifex.com/ckeditor/teams/11143/es/)\n" +"Language: es\n" +"Plural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "Bloque de cita" diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/et.po b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/et.po new file mode 100644 index 0000000..763ff9a --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/et.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Estonian (https://app.transifex.com/ckeditor/teams/11143/et/)\n" +"Language: et\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "Tsitaat" diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/eu.po b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/eu.po new file mode 100644 index 0000000..30d8797 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/eu.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Basque (https://app.transifex.com/ckeditor/teams/11143/eu/)\n" +"Language: eu\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "Aipua" diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/fa.po b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/fa.po new file mode 100644 index 0000000..9919ff2 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/fa.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Persian (https://app.transifex.com/ckeditor/teams/11143/fa/)\n" +"Language: fa\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr " بلوک نقل قول" diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/fi.po b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/fi.po new file mode 100644 index 0000000..a43e53b --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/fi.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Finnish (https://app.transifex.com/ckeditor/teams/11143/fi/)\n" +"Language: fi\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "Lainaus" diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/fr.po b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/fr.po new file mode 100644 index 0000000..9710d7b --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/fr.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: French (https://app.transifex.com/ckeditor/teams/11143/fr/)\n" +"Language: fr\n" +"Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "Citation" diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/gl.po b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/gl.po new file mode 100644 index 0000000..a25dc18 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/gl.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Galician (https://app.transifex.com/ckeditor/teams/11143/gl/)\n" +"Language: gl\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "Cita de bloque" diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/gu.po b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/gu.po new file mode 100644 index 0000000..1fd205b --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/gu.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Gujarati (https://app.transifex.com/ckeditor/teams/11143/gu/)\n" +"Language: gu\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr " વિચાર ટાંકો" diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/he.po b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/he.po new file mode 100644 index 0000000..de0f3e1 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/he.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Hebrew (https://app.transifex.com/ckeditor/teams/11143/he/)\n" +"Language: he\n" +"Plural-Forms: nplurals=3; plural=(n == 1 && n % 1 == 0) ? 0 : (n == 2 && n % 1 == 0) ? 1: 2;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "בלוק ציטוט" diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/hi.po b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/hi.po new file mode 100644 index 0000000..2b56158 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/hi.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Hindi (https://app.transifex.com/ckeditor/teams/11143/hi/)\n" +"Language: hi\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "Block quote" diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/hr.po b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/hr.po new file mode 100644 index 0000000..01d579a --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/hr.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Croatian (https://app.transifex.com/ckeditor/teams/11143/hr/)\n" +"Language: hr\n" +"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "Blok citat" diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/hu.po b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/hu.po new file mode 100644 index 0000000..40fc0dd --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/hu.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Hungarian (https://app.transifex.com/ckeditor/teams/11143/hu/)\n" +"Language: hu\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "Idézet" diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/id.po b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/id.po new file mode 100644 index 0000000..27c9bb3 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/id.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Indonesian (https://app.transifex.com/ckeditor/teams/11143/id/)\n" +"Language: id\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "Kutipan" diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/it.po b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/it.po new file mode 100644 index 0000000..8737841 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/it.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Italian (https://app.transifex.com/ckeditor/teams/11143/it/)\n" +"Language: it\n" +"Plural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "Blocco citazione" diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/ja.po b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/ja.po new file mode 100644 index 0000000..7958657 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/ja.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Japanese (https://app.transifex.com/ckeditor/teams/11143/ja/)\n" +"Language: ja\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "ブロッククオート(引用)" diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/km.po b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/km.po new file mode 100644 index 0000000..adef2e6 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/km.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Khmer (https://app.transifex.com/ckeditor/teams/11143/km/)\n" +"Language: km\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "ប្លុក​ពាក្យ​សម្រង់" diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/kn.po b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/kn.po new file mode 100644 index 0000000..05eddd9 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/kn.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Kannada (https://app.transifex.com/ckeditor/teams/11143/kn/)\n" +"Language: kn\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "‍‍‍‍ಗುರುತಿಸಲಾದ ‍‍ಉಲ್ಲೇಖ" diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/ko.po b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/ko.po new file mode 100644 index 0000000..b7f51b6 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/ko.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Korean (https://app.transifex.com/ckeditor/teams/11143/ko/)\n" +"Language: ko\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "인용 단락" diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/ku.po b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/ku.po new file mode 100644 index 0000000..c0ab93c --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/ku.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Kurdish (https://app.transifex.com/ckeditor/teams/11143/ku/)\n" +"Language: ku\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "وتەی وەرگیراو" diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/lt.po b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/lt.po new file mode 100644 index 0000000..857f45a --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/lt.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Lithuanian (https://app.transifex.com/ckeditor/teams/11143/lt/)\n" +"Language: lt\n" +"Plural-Forms: nplurals=4; plural=(n % 10 == 1 && (n % 100 > 19 || n % 100 < 11) ? 0 : (n % 10 >= 2 && n % 10 <=9) && (n % 100 > 19 || n % 100 < 11) ? 1 : n % 1 != 0 ? 2: 3);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "Citata" diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/lv.po b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/lv.po new file mode 100644 index 0000000..68b8707 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/lv.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Latvian (https://app.transifex.com/ckeditor/teams/11143/lv/)\n" +"Language: lv\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : 2);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "Citāts" diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/ms.po b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/ms.po new file mode 100644 index 0000000..703bf83 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/ms.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Malay (https://app.transifex.com/ckeditor/teams/11143/ms/)\n" +"Language: ms\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "Blok petikan" diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/nb.po b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/nb.po new file mode 100644 index 0000000..be64e8a --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/nb.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Norwegian Bokmål (https://app.transifex.com/ckeditor/teams/11143/nb/)\n" +"Language: nb\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "Blokksitat" diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/ne.po b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/ne.po new file mode 100644 index 0000000..0681f80 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/ne.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Nepali (Nepal) (https://app.transifex.com/ckeditor/teams/11143/ne_NP/)\n" +"Language: ne_NP\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "ब्लक उद्धरण" diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/nl.po b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/nl.po new file mode 100644 index 0000000..96d891b --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/nl.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Dutch (https://app.transifex.com/ckeditor/teams/11143/nl/)\n" +"Language: nl\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "Blok citaat" diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/no.po b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/no.po new file mode 100644 index 0000000..5eda198 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/no.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Norwegian (https://app.transifex.com/ckeditor/teams/11143/no/)\n" +"Language: no\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "Blokksitat" diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/pl.po b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/pl.po new file mode 100644 index 0000000..a9a2abf --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/pl.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Polish (https://app.transifex.com/ckeditor/teams/11143/pl/)\n" +"Language: pl\n" +"Plural-Forms: nplurals=4; plural=(n==1 ? 0 : (n%10>=2 && n%10<=4) && (n%100<12 || n%100>14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && n%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "Cytat blokowy" diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/pt-br.po b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/pt-br.po new file mode 100644 index 0000000..92ae869 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/pt-br.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Portuguese (Brazil) (https://app.transifex.com/ckeditor/teams/11143/pt_BR/)\n" +"Language: pt_BR\n" +"Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "Bloco de citação" diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/pt.po b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/pt.po new file mode 100644 index 0000000..c4c0db1 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/pt.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Portuguese (https://app.transifex.com/ckeditor/teams/11143/pt/)\n" +"Language: pt\n" +"Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "Bloco de citação" diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/ro.po b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/ro.po new file mode 100644 index 0000000..441fcc2 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/ro.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Romanian (https://app.transifex.com/ckeditor/teams/11143/ro/)\n" +"Language: ro\n" +"Plural-Forms: nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?2:1));\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "Bloc citat" diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/ru.po b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/ru.po new file mode 100644 index 0000000..4a4025b --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/ru.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Russian (https://app.transifex.com/ckeditor/teams/11143/ru/)\n" +"Language: ru\n" +"Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "Цитата" diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/sk.po b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/sk.po new file mode 100644 index 0000000..63239f4 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/sk.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Slovak (https://app.transifex.com/ckeditor/teams/11143/sk/)\n" +"Language: sk\n" +"Plural-Forms: nplurals=4; plural=(n % 1 == 0 && n == 1 ? 0 : n % 1 == 0 && n >= 2 && n <= 4 ? 1 : n % 1 != 0 ? 2: 3);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "Citát" diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/sl.po b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/sl.po new file mode 100644 index 0000000..a451015 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/sl.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Slovenian (https://app.transifex.com/ckeditor/teams/11143/sl/)\n" +"Language: sl\n" +"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "Blokiraj citat" diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/sq.po b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/sq.po new file mode 100644 index 0000000..a745b3c --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/sq.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Albanian (https://app.transifex.com/ckeditor/teams/11143/sq/)\n" +"Language: sq\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "Thonjëzat" diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/sr-latn.po b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/sr-latn.po new file mode 100644 index 0000000..6067dba --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/sr-latn.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Serbian (Latin) (https://app.transifex.com/ckeditor/teams/11143/sr@latin/)\n" +"Language: sr@latin\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "Citat" diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/sr.po b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/sr.po new file mode 100644 index 0000000..d0b5be4 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/sr.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Serbian (https://app.transifex.com/ckeditor/teams/11143/sr/)\n" +"Language: sr\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "Цитат" diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/sv.po b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/sv.po new file mode 100644 index 0000000..48ba49c --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/sv.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Swedish (https://app.transifex.com/ckeditor/teams/11143/sv/)\n" +"Language: sv\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "Blockcitat" diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/th.po b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/th.po new file mode 100644 index 0000000..fd3b721 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/th.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Thai (https://app.transifex.com/ckeditor/teams/11143/th/)\n" +"Language: th\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "คำพูดบล็อก" diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/tk.po b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/tk.po new file mode 100644 index 0000000..0fa386a --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/tk.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Turkmen (https://app.transifex.com/ckeditor/teams/11143/tk/)\n" +"Language: tk\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "Sitata blokirläň" diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/tr.po b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/tr.po new file mode 100644 index 0000000..caba274 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/tr.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Turkish (https://app.transifex.com/ckeditor/teams/11143/tr/)\n" +"Language: tr\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "Alıntı" diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/ug.po b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/ug.po new file mode 100644 index 0000000..5816d3f --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/ug.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Uyghur (https://app.transifex.com/ckeditor/teams/11143/ug/)\n" +"Language: ug\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "نەقىل" diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/uk.po b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/uk.po new file mode 100644 index 0000000..329193c --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/uk.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Ukrainian (https://app.transifex.com/ckeditor/teams/11143/uk/)\n" +"Language: uk\n" +"Plural-Forms: nplurals=4; plural=(n % 1 == 0 && n % 10 == 1 && n % 100 != 11 ? 0 : n % 1 == 0 && n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14) ? 1 : n % 1 == 0 && (n % 10 ==0 || (n % 10 >=5 && n % 10 <=9) || (n % 100 >=11 && n % 100 <=14 )) ? 2: 3);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "Цитата" diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/ur.po b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/ur.po new file mode 100644 index 0000000..9e471e0 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/ur.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Urdu (https://app.transifex.com/ckeditor/teams/11143/ur/)\n" +"Language: ur\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "خانہ اقتباس" diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/uz.po b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/uz.po new file mode 100644 index 0000000..f7f4045 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/uz.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Uzbek (https://app.transifex.com/ckeditor/teams/11143/uz/)\n" +"Language: uz\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "Iqtibos" diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/vi.po b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/vi.po new file mode 100644 index 0000000..e229468 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/vi.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Vietnamese (https://app.transifex.com/ckeditor/teams/11143/vi/)\n" +"Language: vi\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "Trích dẫn" diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/zh-cn.po b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/zh-cn.po new file mode 100644 index 0000000..461cc95 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/zh-cn.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Chinese (China) (https://app.transifex.com/ckeditor/teams/11143/zh_CN/)\n" +"Language: zh_CN\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "块引用" diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/zh.po b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/zh.po new file mode 100644 index 0000000..9b496b3 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/lang/translations/zh.po @@ -0,0 +1,22 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Chinese (Taiwan) (https://app.transifex.com/ckeditor/teams/11143/zh_TW/)\n" +"Language: zh_TW\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Toolbar button tooltip for the Block quote feature." +msgid "Block quote" +msgstr "段落引用" diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/package.json b/node_modules/@ckeditor/ckeditor5-block-quote/package.json new file mode 100644 index 0000000..6eeb093 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/package.json @@ -0,0 +1,37 @@ +{ + "name": "@ckeditor/ckeditor5-block-quote", + "version": "41.3.1", + "description": "Block quote feature for CKEditor 5.", + "keywords": [ + "ckeditor", + "ckeditor5", + "ckeditor 5", + "ckeditor5-feature", + "ckeditor5-plugin", + "ckeditor5-dll" + ], + "type": "module", + "main": "src/index.js", + "dependencies": { + "ckeditor5": "41.3.1" + }, + "author": "CKSource (http://cksource.com/)", + "license": "GPL-2.0-or-later", + "homepage": "https://ckeditor.com/ckeditor-5", + "bugs": "https://github.com/ckeditor/ckeditor5/issues", + "repository": { + "type": "git", + "url": "https://github.com/ckeditor/ckeditor5.git", + "directory": "packages/ckeditor5-block-quote" + }, + "files": [ + "lang", + "src/**/*.js", + "src/**/*.d.ts", + "theme", + "build", + "ckeditor5-metadata.json", + "CHANGELOG.md" + ], + "types": "src/index.d.ts" +} diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/src/augmentation.d.ts b/node_modules/@ckeditor/ckeditor5-block-quote/src/augmentation.d.ts new file mode 100644 index 0000000..cad633e --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/src/augmentation.d.ts @@ -0,0 +1,15 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +import type { BlockQuote, BlockQuoteCommand, BlockQuoteEditing, BlockQuoteUI } from './index.js'; +declare module '@ckeditor/ckeditor5-core' { + interface PluginsMap { + [BlockQuote.pluginName]: BlockQuote; + [BlockQuoteEditing.pluginName]: BlockQuoteEditing; + [BlockQuoteUI.pluginName]: BlockQuoteUI; + } + interface CommandsMap { + blockQuote: BlockQuoteCommand; + } +} diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/src/augmentation.js b/node_modules/@ckeditor/ckeditor5-block-quote/src/augmentation.js new file mode 100644 index 0000000..4fffd02 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/src/augmentation.js @@ -0,0 +1,5 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +export {}; diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/src/blockquote.d.ts b/node_modules/@ckeditor/ckeditor5-block-quote/src/blockquote.d.ts new file mode 100644 index 0000000..487ca1b --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/src/blockquote.d.ts @@ -0,0 +1,30 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module block-quote/blockquote + */ +import { Plugin } from 'ckeditor5/src/core.js'; +import BlockQuoteEditing from './blockquoteediting.js'; +import BlockQuoteUI from './blockquoteui.js'; +/** + * The block quote plugin. + * + * For more information about this feature check the {@glink api/block-quote package page}. + * + * This is a "glue" plugin which loads the {@link module:block-quote/blockquoteediting~BlockQuoteEditing block quote editing feature} + * and {@link module:block-quote/blockquoteui~BlockQuoteUI block quote UI feature}. + * + * @extends module:core/plugin~Plugin + */ +export default class BlockQuote extends Plugin { + /** + * @inheritDoc + */ + static get requires(): readonly [typeof BlockQuoteEditing, typeof BlockQuoteUI]; + /** + * @inheritDoc + */ + static get pluginName(): "BlockQuote"; +} diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/src/blockquote.js b/node_modules/@ckeditor/ckeditor5-block-quote/src/blockquote.js new file mode 100644 index 0000000..b442a78 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/src/blockquote.js @@ -0,0 +1,34 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module block-quote/blockquote + */ +import { Plugin } from 'ckeditor5/src/core.js'; +import BlockQuoteEditing from './blockquoteediting.js'; +import BlockQuoteUI from './blockquoteui.js'; +/** + * The block quote plugin. + * + * For more information about this feature check the {@glink api/block-quote package page}. + * + * This is a "glue" plugin which loads the {@link module:block-quote/blockquoteediting~BlockQuoteEditing block quote editing feature} + * and {@link module:block-quote/blockquoteui~BlockQuoteUI block quote UI feature}. + * + * @extends module:core/plugin~Plugin + */ +export default class BlockQuote extends Plugin { + /** + * @inheritDoc + */ + static get requires() { + return [BlockQuoteEditing, BlockQuoteUI]; + } + /** + * @inheritDoc + */ + static get pluginName() { + return 'BlockQuote'; + } +} diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/src/blockquotecommand.d.ts b/node_modules/@ckeditor/ckeditor5-block-quote/src/blockquotecommand.d.ts new file mode 100644 index 0000000..8b13e13 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/src/blockquotecommand.d.ts @@ -0,0 +1,61 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module block-quote/blockquotecommand + */ +import { Command } from 'ckeditor5/src/core.js'; +/** + * The block quote command plugin. + * + * @extends module:core/command~Command + */ +export default class BlockQuoteCommand extends Command { + /** + * Whether the selection starts in a block quote. + * + * @observable + * @readonly + */ + value: boolean; + /** + * @inheritDoc + */ + refresh(): void; + /** + * Executes the command. When the command {@link #value is on}, all top-most block quotes within + * the selection will be removed. If it is off, all selected blocks will be wrapped with + * a block quote. + * + * @fires execute + * @param options Command options. + * @param options.forceValue If set, it will force the command behavior. If `true`, the command will apply a block quote, + * otherwise the command will remove the block quote. If not set, the command will act basing on its current value. + */ + execute(options?: { + forceValue?: boolean; + }): void; + /** + * Checks the command's {@link #value}. + */ + private _getValue; + /** + * Checks whether the command can be enabled in the current context. + * + * @returns Whether the command should be enabled. + */ + private _checkEnabled; + /** + * Removes the quote from given blocks. + * + * If blocks which are supposed to be "unquoted" are in the middle of a quote, + * start it or end it, then the quote will be split (if needed) and the blocks + * will be moved out of it, so other quoted blocks remained quoted. + */ + private _removeQuote; + /** + * Applies the quote to given blocks. + */ + private _applyQuote; +} diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/src/blockquotecommand.js b/node_modules/@ckeditor/ckeditor5-block-quote/src/blockquotecommand.js new file mode 100644 index 0000000..6af531e --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/src/blockquotecommand.js @@ -0,0 +1,172 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module block-quote/blockquotecommand + */ +import { Command } from 'ckeditor5/src/core.js'; +import { first } from 'ckeditor5/src/utils.js'; +/** + * The block quote command plugin. + * + * @extends module:core/command~Command + */ +export default class BlockQuoteCommand extends Command { + /** + * @inheritDoc + */ + refresh() { + this.value = this._getValue(); + this.isEnabled = this._checkEnabled(); + } + /** + * Executes the command. When the command {@link #value is on}, all top-most block quotes within + * the selection will be removed. If it is off, all selected blocks will be wrapped with + * a block quote. + * + * @fires execute + * @param options Command options. + * @param options.forceValue If set, it will force the command behavior. If `true`, the command will apply a block quote, + * otherwise the command will remove the block quote. If not set, the command will act basing on its current value. + */ + execute(options = {}) { + const model = this.editor.model; + const schema = model.schema; + const selection = model.document.selection; + const blocks = Array.from(selection.getSelectedBlocks()); + const value = (options.forceValue === undefined) ? !this.value : options.forceValue; + model.change(writer => { + if (!value) { + this._removeQuote(writer, blocks.filter(findQuote)); + } + else { + const blocksToQuote = blocks.filter(block => { + // Already quoted blocks needs to be considered while quoting too + // in order to reuse their elements. + return findQuote(block) || checkCanBeQuoted(schema, block); + }); + this._applyQuote(writer, blocksToQuote); + } + }); + } + /** + * Checks the command's {@link #value}. + */ + _getValue() { + const selection = this.editor.model.document.selection; + const firstBlock = first(selection.getSelectedBlocks()); + // In the current implementation, the block quote must be an immediate parent of a block element. + return !!(firstBlock && findQuote(firstBlock)); + } + /** + * Checks whether the command can be enabled in the current context. + * + * @returns Whether the command should be enabled. + */ + _checkEnabled() { + if (this.value) { + return true; + } + const selection = this.editor.model.document.selection; + const schema = this.editor.model.schema; + const firstBlock = first(selection.getSelectedBlocks()); + if (!firstBlock) { + return false; + } + return checkCanBeQuoted(schema, firstBlock); + } + /** + * Removes the quote from given blocks. + * + * If blocks which are supposed to be "unquoted" are in the middle of a quote, + * start it or end it, then the quote will be split (if needed) and the blocks + * will be moved out of it, so other quoted blocks remained quoted. + */ + _removeQuote(writer, blocks) { + // Unquote all groups of block. Iterate in the reverse order to not break following ranges. + getRangesOfBlockGroups(writer, blocks).reverse().forEach(groupRange => { + if (groupRange.start.isAtStart && groupRange.end.isAtEnd) { + writer.unwrap(groupRange.start.parent); + return; + } + // The group of blocks are at the beginning of an so let's move them left (out of the ). + if (groupRange.start.isAtStart) { + const positionBefore = writer.createPositionBefore(groupRange.start.parent); + writer.move(groupRange, positionBefore); + return; + } + // The blocks are in the middle of an so we need to split the after the last block + // so we move the items there. + if (!groupRange.end.isAtEnd) { + writer.split(groupRange.end); + } + // Now we are sure that groupRange.end.isAtEnd is true, so let's move the blocks right. + const positionAfter = writer.createPositionAfter(groupRange.end.parent); + writer.move(groupRange, positionAfter); + }); + } + /** + * Applies the quote to given blocks. + */ + _applyQuote(writer, blocks) { + const quotesToMerge = []; + // Quote all groups of block. Iterate in the reverse order to not break following ranges. + getRangesOfBlockGroups(writer, blocks).reverse().forEach(groupRange => { + let quote = findQuote(groupRange.start); + if (!quote) { + quote = writer.createElement('blockQuote'); + writer.wrap(groupRange, quote); + } + quotesToMerge.push(quote); + }); + // Merge subsequent elements. Reverse the order again because this time we want to go through + // the elements in the source order (due to how merge works – it moves the right element's content + // to the first element and removes the right one. Since we may need to merge a couple of subsequent `` elements + // we want to keep the reference to the first (furthest left) one. + quotesToMerge.reverse().reduce((currentQuote, nextQuote) => { + if (currentQuote.nextSibling == nextQuote) { + writer.merge(writer.createPositionAfter(currentQuote)); + return currentQuote; + } + return nextQuote; + }); + } +} +function findQuote(elementOrPosition) { + return elementOrPosition.parent.name == 'blockQuote' ? elementOrPosition.parent : null; +} +/** + * Returns a minimal array of ranges containing groups of subsequent blocks. + * + * content: abcdefgh + * blocks: [ a, b, d, f, g, h ] + * output ranges: [ab]c[d]e[fgh] + */ +function getRangesOfBlockGroups(writer, blocks) { + let startPosition; + let i = 0; + const ranges = []; + while (i < blocks.length) { + const block = blocks[i]; + const nextBlock = blocks[i + 1]; + if (!startPosition) { + startPosition = writer.createPositionBefore(block); + } + if (!nextBlock || block.nextSibling != nextBlock) { + ranges.push(writer.createRange(startPosition, writer.createPositionAfter(block))); + startPosition = null; + } + i++; + } + return ranges; +} +/** + * Checks whether can wrap the block. + */ +function checkCanBeQuoted(schema, block) { + // TMP will be replaced with schema.checkWrap(). + const isBQAllowed = schema.checkChild(block.parent, 'blockQuote'); + const isBlockAllowedInBQ = schema.checkChild(['$root', 'blockQuote'], block); + return isBQAllowed && isBlockAllowedInBQ; +} diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/src/blockquoteediting.d.ts b/node_modules/@ckeditor/ckeditor5-block-quote/src/blockquoteediting.d.ts new file mode 100644 index 0000000..ac83c81 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/src/blockquoteediting.d.ts @@ -0,0 +1,31 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module block-quote/blockquoteediting + */ +import { Plugin } from 'ckeditor5/src/core.js'; +import { Enter } from 'ckeditor5/src/enter.js'; +import { Delete } from 'ckeditor5/src/typing.js'; +/** + * The block quote editing. + * + * Introduces the `'blockQuote'` command and the `'blockQuote'` model element. + * + * @extends module:core/plugin~Plugin + */ +export default class BlockQuoteEditing extends Plugin { + /** + * @inheritDoc + */ + static get pluginName(): "BlockQuoteEditing"; + /** + * @inheritDoc + */ + static get requires(): readonly [typeof Enter, typeof Delete]; + /** + * @inheritDoc + */ + init(): void; +} diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/src/blockquoteediting.js b/node_modules/@ckeditor/ckeditor5-block-quote/src/blockquoteediting.js new file mode 100644 index 0000000..f6031b6 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/src/blockquoteediting.js @@ -0,0 +1,118 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module block-quote/blockquoteediting + */ +import { Plugin } from 'ckeditor5/src/core.js'; +import { Enter } from 'ckeditor5/src/enter.js'; +import { Delete } from 'ckeditor5/src/typing.js'; +import BlockQuoteCommand from './blockquotecommand.js'; +/** + * The block quote editing. + * + * Introduces the `'blockQuote'` command and the `'blockQuote'` model element. + * + * @extends module:core/plugin~Plugin + */ +export default class BlockQuoteEditing extends Plugin { + /** + * @inheritDoc + */ + static get pluginName() { + return 'BlockQuoteEditing'; + } + /** + * @inheritDoc + */ + static get requires() { + return [Enter, Delete]; + } + /** + * @inheritDoc + */ + init() { + const editor = this.editor; + const schema = editor.model.schema; + editor.commands.add('blockQuote', new BlockQuoteCommand(editor)); + schema.register('blockQuote', { + inheritAllFrom: '$container' + }); + editor.conversion.elementToElement({ model: 'blockQuote', view: 'blockquote' }); + // Postfixer which cleans incorrect model states connected with block quotes. + editor.model.document.registerPostFixer(writer => { + const changes = editor.model.document.differ.getChanges(); + for (const entry of changes) { + if (entry.type == 'insert') { + const element = entry.position.nodeAfter; + if (!element) { + // We are inside a text node. + continue; + } + if (element.is('element', 'blockQuote') && element.isEmpty) { + // Added an empty blockQuote - remove it. + writer.remove(element); + return true; + } + else if (element.is('element', 'blockQuote') && !schema.checkChild(entry.position, element)) { + // Added a blockQuote in incorrect place. Unwrap it so the content inside is not lost. + writer.unwrap(element); + return true; + } + else if (element.is('element')) { + // Just added an element. Check that all children meet the scheme rules. + const range = writer.createRangeIn(element); + for (const child of range.getItems()) { + if (child.is('element', 'blockQuote') && + !schema.checkChild(writer.createPositionBefore(child), child)) { + writer.unwrap(child); + return true; + } + } + } + } + else if (entry.type == 'remove') { + const parent = entry.position.parent; + if (parent.is('element', 'blockQuote') && parent.isEmpty) { + // Something got removed and now blockQuote is empty. Remove the blockQuote as well. + writer.remove(parent); + return true; + } + } + } + return false; + }); + const viewDocument = this.editor.editing.view.document; + const selection = editor.model.document.selection; + const blockQuoteCommand = editor.commands.get('blockQuote'); + // Overwrite default Enter key behavior. + // If Enter key is pressed with selection collapsed in empty block inside a quote, break the quote. + this.listenTo(viewDocument, 'enter', (evt, data) => { + if (!selection.isCollapsed || !blockQuoteCommand.value) { + return; + } + const positionParent = selection.getLastPosition().parent; + if (positionParent.isEmpty) { + editor.execute('blockQuote'); + editor.editing.view.scrollToTheSelection(); + data.preventDefault(); + evt.stop(); + } + }, { context: 'blockquote' }); + // Overwrite default Backspace key behavior. + // If Backspace key is pressed with selection collapsed in first empty block inside a quote, break the quote. + this.listenTo(viewDocument, 'delete', (evt, data) => { + if (data.direction != 'backward' || !selection.isCollapsed || !blockQuoteCommand.value) { + return; + } + const positionParent = selection.getLastPosition().parent; + if (positionParent.isEmpty && !positionParent.previousSibling) { + editor.execute('blockQuote'); + editor.editing.view.scrollToTheSelection(); + data.preventDefault(); + evt.stop(); + } + }, { context: 'blockquote' }); + } +} diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/src/blockquoteui.d.ts b/node_modules/@ckeditor/ckeditor5-block-quote/src/blockquoteui.d.ts new file mode 100644 index 0000000..940963f --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/src/blockquoteui.d.ts @@ -0,0 +1,30 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module block-quote/blockquoteui + */ +import { Plugin } from 'ckeditor5/src/core.js'; +import '../theme/blockquote.css'; +/** + * The block quote UI plugin. + * + * It introduces the `'blockQuote'` button. + * + * @extends module:core/plugin~Plugin + */ +export default class BlockQuoteUI extends Plugin { + /** + * @inheritDoc + */ + static get pluginName(): "BlockQuoteUI"; + /** + * @inheritDoc + */ + init(): void; + /** + * Creates a button for block quote command to use either in toolbar or in menu bar. + */ + private _createButton; +} diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/src/blockquoteui.js b/node_modules/@ckeditor/ckeditor5-block-quote/src/blockquoteui.js new file mode 100644 index 0000000..e0111ac --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/src/blockquoteui.js @@ -0,0 +1,64 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module block-quote/blockquoteui + */ +import { Plugin, icons } from 'ckeditor5/src/core.js'; +import { ButtonView, MenuBarMenuListItemButtonView } from 'ckeditor5/src/ui.js'; +import '../theme/blockquote.css'; +/** + * The block quote UI plugin. + * + * It introduces the `'blockQuote'` button. + * + * @extends module:core/plugin~Plugin + */ +export default class BlockQuoteUI extends Plugin { + /** + * @inheritDoc + */ + static get pluginName() { + return 'BlockQuoteUI'; + } + /** + * @inheritDoc + */ + init() { + const editor = this.editor; + const command = editor.commands.get('blockQuote'); + editor.ui.componentFactory.add('blockQuote', () => { + const buttonView = this._createButton(ButtonView); + buttonView.set({ + tooltip: true + }); + // Bind button model to command. + buttonView.bind('isOn').to(command, 'value'); + return buttonView; + }); + editor.ui.componentFactory.add('menuBar:blockQuote', () => this._createButton(MenuBarMenuListItemButtonView)); + } + /** + * Creates a button for block quote command to use either in toolbar or in menu bar. + */ + _createButton(ButtonClass) { + const editor = this.editor; + const locale = editor.locale; + const command = editor.commands.get('blockQuote'); + const view = new ButtonClass(editor.locale); + const t = locale.t; + view.set({ + label: t('Block quote'), + icon: icons.quote, + isToggleable: true + }); + view.bind('isEnabled').to(command, 'isEnabled'); + // Execute the command. + this.listenTo(view, 'execute', () => { + editor.execute('blockQuote'); + editor.editing.view.focus(); + }); + return view; + } +} diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/src/index.d.ts b/node_modules/@ckeditor/ckeditor5-block-quote/src/index.d.ts new file mode 100644 index 0000000..4e16385 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/src/index.d.ts @@ -0,0 +1,12 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module block-quote + */ +export { default as BlockQuote } from './blockquote.js'; +export { default as BlockQuoteEditing } from './blockquoteediting.js'; +export { default as BlockQuoteUI } from './blockquoteui.js'; +export type { default as BlockQuoteCommand } from './blockquotecommand.js'; +import './augmentation.js'; diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/src/index.js b/node_modules/@ckeditor/ckeditor5-block-quote/src/index.js new file mode 100644 index 0000000..418b5fa --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/src/index.js @@ -0,0 +1,11 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module block-quote + */ +export { default as BlockQuote } from './blockquote.js'; +export { default as BlockQuoteEditing } from './blockquoteediting.js'; +export { default as BlockQuoteUI } from './blockquoteui.js'; +import './augmentation.js'; diff --git a/node_modules/@ckeditor/ckeditor5-block-quote/theme/blockquote.css b/node_modules/@ckeditor/ckeditor5-block-quote/theme/blockquote.css new file mode 100644 index 0000000..e456acb --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-block-quote/theme/blockquote.css @@ -0,0 +1,23 @@ +/* + * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ + +.ck-content blockquote { + /* See #12 */ + overflow: hidden; + + /* https://github.com/ckeditor/ckeditor5-block-quote/issues/15 */ + padding-right: 1.5em; + padding-left: 1.5em; + + margin-left: 0; + margin-right: 0; + font-style: italic; + border-left: solid 5px hsl(0, 0%, 80%); +} + +.ck-content[dir="rtl"] blockquote { + border-left: 0; + border-right: solid 5px hsl(0, 0%, 80%); +} diff --git a/node_modules/@ckeditor/ckeditor5-build-classic/CHANGELOG.md b/node_modules/@ckeditor/ckeditor5-build-classic/CHANGELOG.md new file mode 100644 index 0000000..0ad3bec --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-build-classic/CHANGELOG.md @@ -0,0 +1,1058 @@ +Changelog +========= + +All changes in the package are documented in the main repository. See: https://github.com/ckeditor/ckeditor5/blob/master/CHANGELOG.md. + +Changes for the past releases are available below. + +## [19.0.0](https://github.com/ckeditor/ckeditor5-build-classic/compare/v18.0.0...v19.0.0) (April 29, 2020) + +We are happy to announce the release of CKEditor 5 v19.0.0. + +Refer to the [main changelog](https://github.com/ckeditor/ckeditor5/releases/tag/v19.0.0) to find out about all the new features, improvements and possible breaking changes. + +Read more in the blog post: https://ckeditor.com/blog/CKEditor-5-v19.0.0-with-table-enhancements-improved-performance-and-select-all-feature/ + +### Dependencies + +New packages: + +* [@ckeditor/ckeditor5-select-all](https://www.npmjs.com/package/@ckeditor/ckeditor5-select-all): [v19.0.0](https://github.com/ckeditor/ckeditor5-select-all/releases/tag/v19.0.0) + +Major releases (contain major breaking changes): + +* [@ckeditor/ckeditor5-ui](https://www.npmjs.com/package/@ckeditor/ckeditor5-ui): v18.0.0 => [v19.0.0](https://github.com/ckeditor/ckeditor5-ui/releases/tag/v19.0.0) +* [@ckeditor/ckeditor5-utils](https://www.npmjs.com/package/@ckeditor/ckeditor5-utils): v18.0.0 => [v19.0.0](https://github.com/ckeditor/ckeditor5-utils/releases/tag/v19.0.0) + +Major releases (contain minor breaking changes): + +* [@ckeditor/ckeditor5-ui](https://www.npmjs.com/package/@ckeditor/ckeditor5-ui): v18.0.0 => [v19.0.0](https://github.com/ckeditor/ckeditor5-ui/releases/tag/v19.0.0) +* [@ckeditor/ckeditor5-utils](https://www.npmjs.com/package/@ckeditor/ckeditor5-utils): v18.0.0 => [v19.0.0](https://github.com/ckeditor/ckeditor5-utils/releases/tag/v19.0.0) +* [@ckeditor/ckeditor5-widget](https://www.npmjs.com/package/@ckeditor/ckeditor5-widget): v18.0.0 => [v19.0.0](https://github.com/ckeditor/ckeditor5-widget/releases/tag/v19.0.0) + +Major releases (dependencies of those packages have breaking changes): + +* [@ckeditor/ckeditor-cloud-services-core](https://www.npmjs.com/package/@ckeditor/ckeditor-cloud-services-core): v18.0.0 => [v19.0.0](https://github.com/ckeditor/ckeditor-cloud-services-core/releases/tag/v19.0.0) +* [@ckeditor/ckeditor5-adapter-ckfinder](https://www.npmjs.com/package/@ckeditor/ckeditor5-adapter-ckfinder): v18.0.0 => [v19.0.0](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/releases/tag/v19.0.0) +* [@ckeditor/ckeditor5-autoformat](https://www.npmjs.com/package/@ckeditor/ckeditor5-autoformat): v18.0.0 => [v19.0.0](https://github.com/ckeditor/ckeditor5-autoformat/releases/tag/v19.0.0) +* [@ckeditor/ckeditor5-basic-styles](https://www.npmjs.com/package/@ckeditor/ckeditor5-basic-styles): v18.0.0 => [v19.0.0](https://github.com/ckeditor/ckeditor5-basic-styles/releases/tag/v19.0.0) +* [@ckeditor/ckeditor5-block-quote](https://www.npmjs.com/package/@ckeditor/ckeditor5-block-quote): v18.0.0 => [v19.0.0](https://github.com/ckeditor/ckeditor5-block-quote/releases/tag/v19.0.0) +* [@ckeditor/ckeditor5-ckfinder](https://www.npmjs.com/package/@ckeditor/ckeditor5-ckfinder): v18.0.0 => [v19.0.0](https://github.com/ckeditor/ckeditor5-ckfinder/releases/tag/v19.0.0) +* [@ckeditor/ckeditor5-clipboard](https://www.npmjs.com/package/@ckeditor/ckeditor5-clipboard): v18.0.0 => [v19.0.0](https://github.com/ckeditor/ckeditor5-clipboard/releases/tag/v19.0.0) +* [@ckeditor/ckeditor5-cloud-services](https://www.npmjs.com/package/@ckeditor/ckeditor5-cloud-services): v18.0.0 => [v19.0.0](https://github.com/ckeditor/ckeditor5-cloud-services/releases/tag/v19.0.0) +* [@ckeditor/ckeditor5-core](https://www.npmjs.com/package/@ckeditor/ckeditor5-core): v18.0.0 => [v19.0.0](https://github.com/ckeditor/ckeditor5-core/releases/tag/v19.0.0) +* [@ckeditor/ckeditor5-easy-image](https://www.npmjs.com/package/@ckeditor/ckeditor5-easy-image): v18.0.0 => [v19.0.0](https://github.com/ckeditor/ckeditor5-easy-image/releases/tag/v19.0.0) +* [@ckeditor/ckeditor5-editor-classic](https://www.npmjs.com/package/@ckeditor/ckeditor5-editor-classic): v18.0.0 => [v19.0.0](https://github.com/ckeditor/ckeditor5-editor-classic/releases/tag/v19.0.0) +* [@ckeditor/ckeditor5-engine](https://www.npmjs.com/package/@ckeditor/ckeditor5-engine): v18.0.0 => [v19.0.0](https://github.com/ckeditor/ckeditor5-engine/releases/tag/v19.0.0) +* [@ckeditor/ckeditor5-enter](https://www.npmjs.com/package/@ckeditor/ckeditor5-enter): v18.0.0 => [v19.0.0](https://github.com/ckeditor/ckeditor5-enter/releases/tag/v19.0.0) +* [@ckeditor/ckeditor5-essentials](https://www.npmjs.com/package/@ckeditor/ckeditor5-essentials): v18.0.0 => [v19.0.0](https://github.com/ckeditor/ckeditor5-essentials/releases/tag/v19.0.0) +* [@ckeditor/ckeditor5-heading](https://www.npmjs.com/package/@ckeditor/ckeditor5-heading): v18.0.0 => [v19.0.0](https://github.com/ckeditor/ckeditor5-heading/releases/tag/v19.0.0) +* [@ckeditor/ckeditor5-image](https://www.npmjs.com/package/@ckeditor/ckeditor5-image): v18.0.0 => [v19.0.0](https://github.com/ckeditor/ckeditor5-image/releases/tag/v19.0.0) +* [@ckeditor/ckeditor5-indent](https://www.npmjs.com/package/@ckeditor/ckeditor5-indent): v18.0.0 => [v19.0.0](https://github.com/ckeditor/ckeditor5-indent/releases/tag/v19.0.0) +* [@ckeditor/ckeditor5-link](https://www.npmjs.com/package/@ckeditor/ckeditor5-link): v18.0.0 => [v19.0.0](https://github.com/ckeditor/ckeditor5-link/releases/tag/v19.0.0) +* [@ckeditor/ckeditor5-list](https://www.npmjs.com/package/@ckeditor/ckeditor5-list): v18.0.0 => [v19.0.0](https://github.com/ckeditor/ckeditor5-list/releases/tag/v19.0.0) +* [@ckeditor/ckeditor5-media-embed](https://www.npmjs.com/package/@ckeditor/ckeditor5-media-embed): v18.0.0 => [v19.0.0](https://github.com/ckeditor/ckeditor5-media-embed/releases/tag/v19.0.0) +* [@ckeditor/ckeditor5-paragraph](https://www.npmjs.com/package/@ckeditor/ckeditor5-paragraph): v18.0.0 => [v19.0.0](https://github.com/ckeditor/ckeditor5-paragraph/releases/tag/v19.0.0) +* [@ckeditor/ckeditor5-paste-from-office](https://www.npmjs.com/package/@ckeditor/ckeditor5-paste-from-office): v18.0.0 => [v19.0.0](https://github.com/ckeditor/ckeditor5-paste-from-office/releases/tag/v19.0.0) +* [@ckeditor/ckeditor5-table](https://www.npmjs.com/package/@ckeditor/ckeditor5-table): v18.0.0 => [v19.0.0](https://github.com/ckeditor/ckeditor5-table/releases/tag/v19.0.0) +* [@ckeditor/ckeditor5-theme-lark](https://www.npmjs.com/package/@ckeditor/ckeditor5-theme-lark): v18.0.0 => [v19.0.0](https://github.com/ckeditor/ckeditor5-theme-lark/releases/tag/v19.0.0) +* [@ckeditor/ckeditor5-typing](https://www.npmjs.com/package/@ckeditor/ckeditor5-typing): v18.0.0 => [v19.0.0](https://github.com/ckeditor/ckeditor5-typing/releases/tag/v19.0.0) +* [@ckeditor/ckeditor5-undo](https://www.npmjs.com/package/@ckeditor/ckeditor5-undo): v18.0.0 => [v19.0.0](https://github.com/ckeditor/ckeditor5-undo/releases/tag/v19.0.0) +* [@ckeditor/ckeditor5-upload](https://www.npmjs.com/package/@ckeditor/ckeditor5-upload): v18.0.0 => [v19.0.0](https://github.com/ckeditor/ckeditor5-upload/releases/tag/v19.0.0) + + +## [18.0.0](https://github.com/ckeditor/ckeditor5-build-classic/compare/v17.0.0...v18.0.0) (March 19, 2020) + +We are happy to announce the release of CKEditor 5 v18.0.0. + +Refer to the [main changelog](https://github.com/ckeditor/ckeditor5/releases/tag/v18.0.0) to find out about all the new features, improvements and possible breaking changes. + +Read more in the blog post: https://ckeditor.com/blog/CKEditor-5-v18.0.0-with-custom-table-selection-and-pasting-nested-lists-from-Word/ + +### Features + +Besides new features introduced by the dependencies, this version also introduces the following features: + +* Added the [Automatic text transformation](https://ckeditor.com/docs/ckeditor5/latest/features/text-transformation.html) feature to the build. See [ckeditor/ckeditor5#6304](https://github.com/ckeditor/ckeditor5/issues/6304). ([af021aa](https://github.com/ckeditor/ckeditor5-build-classic/commit/af021aa)) + +### Dependencies + +Major releases (contain major breaking changes): + +* [@ckeditor/ckeditor5-engine](https://www.npmjs.com/package/@ckeditor/ckeditor5-engine): v17.0.0 => [v18.0.0](https://github.com/ckeditor/ckeditor5-engine/releases/tag/v18.0.0) +* [@ckeditor/ckeditor5-ui](https://www.npmjs.com/package/@ckeditor/ckeditor5-ui): v17.0.0 => [v18.0.0](https://github.com/ckeditor/ckeditor5-ui/releases/tag/v18.0.0) + +Major releases (contain minor breaking changes): + +* [@ckeditor/ckeditor5-engine](https://www.npmjs.com/package/@ckeditor/ckeditor5-engine): v17.0.0 => [v18.0.0](https://github.com/ckeditor/ckeditor5-engine/releases/tag/v18.0.0) + +Major releases (dependencies of those packages have breaking changes): + +* [@ckeditor/ckeditor-cloud-services-core](https://www.npmjs.com/package/@ckeditor/ckeditor-cloud-services-core): v17.0.0 => [v18.0.0](https://github.com/ckeditor/ckeditor-cloud-services-core/releases/tag/v18.0.0) +* [@ckeditor/ckeditor5-adapter-ckfinder](https://www.npmjs.com/package/@ckeditor/ckeditor5-adapter-ckfinder): v17.0.0 => [v18.0.0](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/releases/tag/v18.0.0) +* [@ckeditor/ckeditor5-autoformat](https://www.npmjs.com/package/@ckeditor/ckeditor5-autoformat): v17.0.0 => [v18.0.0](https://github.com/ckeditor/ckeditor5-autoformat/releases/tag/v18.0.0) +* [@ckeditor/ckeditor5-basic-styles](https://www.npmjs.com/package/@ckeditor/ckeditor5-basic-styles): v17.0.0 => [v18.0.0](https://github.com/ckeditor/ckeditor5-basic-styles/releases/tag/v18.0.0) +* [@ckeditor/ckeditor5-block-quote](https://www.npmjs.com/package/@ckeditor/ckeditor5-block-quote): v17.0.0 => [v18.0.0](https://github.com/ckeditor/ckeditor5-block-quote/releases/tag/v18.0.0) +* [@ckeditor/ckeditor5-ckfinder](https://www.npmjs.com/package/@ckeditor/ckeditor5-ckfinder): v17.0.0 => [v18.0.0](https://github.com/ckeditor/ckeditor5-ckfinder/releases/tag/v18.0.0) +* [@ckeditor/ckeditor5-clipboard](https://www.npmjs.com/package/@ckeditor/ckeditor5-clipboard): v17.0.0 => [v18.0.0](https://github.com/ckeditor/ckeditor5-clipboard/releases/tag/v18.0.0) +* [@ckeditor/ckeditor5-cloud-services](https://www.npmjs.com/package/@ckeditor/ckeditor5-cloud-services): v17.0.0 => [v18.0.0](https://github.com/ckeditor/ckeditor5-cloud-services/releases/tag/v18.0.0) +* [@ckeditor/ckeditor5-core](https://www.npmjs.com/package/@ckeditor/ckeditor5-core): v17.0.0 => [v18.0.0](https://github.com/ckeditor/ckeditor5-core/releases/tag/v18.0.0) +* [@ckeditor/ckeditor5-easy-image](https://www.npmjs.com/package/@ckeditor/ckeditor5-easy-image): v17.0.0 => [v18.0.0](https://github.com/ckeditor/ckeditor5-easy-image/releases/tag/v18.0.0) +* [@ckeditor/ckeditor5-editor-classic](https://www.npmjs.com/package/@ckeditor/ckeditor5-editor-classic): v17.0.0 => [v18.0.0](https://github.com/ckeditor/ckeditor5-editor-classic/releases/tag/v18.0.0) +* [@ckeditor/ckeditor5-enter](https://www.npmjs.com/package/@ckeditor/ckeditor5-enter): v17.0.0 => [v18.0.0](https://github.com/ckeditor/ckeditor5-enter/releases/tag/v18.0.0) +* [@ckeditor/ckeditor5-essentials](https://www.npmjs.com/package/@ckeditor/ckeditor5-essentials): v17.0.0 => [v18.0.0](https://github.com/ckeditor/ckeditor5-essentials/releases/tag/v18.0.0) +* [@ckeditor/ckeditor5-heading](https://www.npmjs.com/package/@ckeditor/ckeditor5-heading): v17.0.0 => [v18.0.0](https://github.com/ckeditor/ckeditor5-heading/releases/tag/v18.0.0) +* [@ckeditor/ckeditor5-image](https://www.npmjs.com/package/@ckeditor/ckeditor5-image): v17.0.0 => [v18.0.0](https://github.com/ckeditor/ckeditor5-image/releases/tag/v18.0.0) +* [@ckeditor/ckeditor5-indent](https://www.npmjs.com/package/@ckeditor/ckeditor5-indent): v17.0.0 => [v18.0.0](https://github.com/ckeditor/ckeditor5-indent/releases/tag/v18.0.0) +* [@ckeditor/ckeditor5-link](https://www.npmjs.com/package/@ckeditor/ckeditor5-link): v17.0.0 => [v18.0.0](https://github.com/ckeditor/ckeditor5-link/releases/tag/v18.0.0) +* [@ckeditor/ckeditor5-list](https://www.npmjs.com/package/@ckeditor/ckeditor5-list): v17.0.0 => [v18.0.0](https://github.com/ckeditor/ckeditor5-list/releases/tag/v18.0.0) +* [@ckeditor/ckeditor5-media-embed](https://www.npmjs.com/package/@ckeditor/ckeditor5-media-embed): v17.0.0 => [v18.0.0](https://github.com/ckeditor/ckeditor5-media-embed/releases/tag/v18.0.0) +* [@ckeditor/ckeditor5-paragraph](https://www.npmjs.com/package/@ckeditor/ckeditor5-paragraph): v17.0.0 => [v18.0.0](https://github.com/ckeditor/ckeditor5-paragraph/releases/tag/v18.0.0) +* [@ckeditor/ckeditor5-paste-from-office](https://www.npmjs.com/package/@ckeditor/ckeditor5-paste-from-office): v17.0.0 => [v18.0.0](https://github.com/ckeditor/ckeditor5-paste-from-office/releases/tag/v18.0.0) +* [@ckeditor/ckeditor5-table](https://www.npmjs.com/package/@ckeditor/ckeditor5-table): v17.0.0 => [v18.0.0](https://github.com/ckeditor/ckeditor5-table/releases/tag/v18.0.0) +* [@ckeditor/ckeditor5-theme-lark](https://www.npmjs.com/package/@ckeditor/ckeditor5-theme-lark): v17.0.0 => [v18.0.0](https://github.com/ckeditor/ckeditor5-theme-lark/releases/tag/v18.0.0) +* [@ckeditor/ckeditor5-typing](https://www.npmjs.com/package/@ckeditor/ckeditor5-typing): v17.0.0 => [v18.0.0](https://github.com/ckeditor/ckeditor5-typing/releases/tag/v18.0.0) +* [@ckeditor/ckeditor5-undo](https://www.npmjs.com/package/@ckeditor/ckeditor5-undo): v17.0.0 => [v18.0.0](https://github.com/ckeditor/ckeditor5-undo/releases/tag/v18.0.0) +* [@ckeditor/ckeditor5-upload](https://www.npmjs.com/package/@ckeditor/ckeditor5-upload): v17.0.0 => [v18.0.0](https://github.com/ckeditor/ckeditor5-upload/releases/tag/v18.0.0) +* [@ckeditor/ckeditor5-utils](https://www.npmjs.com/package/@ckeditor/ckeditor5-utils): v17.0.0 => [v18.0.0](https://github.com/ckeditor/ckeditor5-utils/releases/tag/v18.0.0) +* [@ckeditor/ckeditor5-widget](https://www.npmjs.com/package/@ckeditor/ckeditor5-widget): v17.0.0 => [v18.0.0](https://github.com/ckeditor/ckeditor5-widget/releases/tag/v18.0.0) + + +## [17.0.0](https://github.com/ckeditor/ckeditor5-build-classic/compare/v16.0.0...v17.0.0) (February 19, 2020) + +We are happy to announce the release of CKEditor 5 v17.0.0. + +Refer to the [main changelog](https://github.com/ckeditor/ckeditor5/releases/tag/v17.0.0) to find out about all the new features, improvements and possible breaking changes. + +https://ckeditor.com/blog/CKEditor-5-v17.0.0-with-table-styles-special-characters-and-performance-improvements/ + +### Dependencies + +Major releases (contain major breaking changes): + +* [@ckeditor/ckeditor5-theme-lark](https://www.npmjs.com/package/@ckeditor/ckeditor5-theme-lark): v16.0.0 => [v17.0.0](https://github.com/ckeditor/ckeditor5-theme-lark/releases/tag/v17.0.0) + +Major releases (contain minor breaking changes): + +* [@ckeditor/ckeditor5-image](https://www.npmjs.com/package/@ckeditor/ckeditor5-image): v16.0.0 => [v17.0.0](https://github.com/ckeditor/ckeditor5-image/releases/tag/v17.0.0) +* [@ckeditor/ckeditor5-utils](https://www.npmjs.com/package/@ckeditor/ckeditor5-utils): v16.0.0 => [v17.0.0](https://github.com/ckeditor/ckeditor5-utils/releases/tag/v17.0.0) +* [@ckeditor/ckeditor5-widget](https://www.npmjs.com/package/@ckeditor/ckeditor5-widget): v16.0.0 => [v17.0.0](https://github.com/ckeditor/ckeditor5-widget/releases/tag/v17.0.0) + +Releases containing new features: + +* [@ckeditor/ckeditor5-engine](https://www.npmjs.com/package/@ckeditor/ckeditor5-engine): v16.0.0 => [v17.0.0](https://github.com/ckeditor/ckeditor5-engine/releases/tag/v17.0.0) +* [@ckeditor/ckeditor5-table](https://www.npmjs.com/package/@ckeditor/ckeditor5-table): v16.0.0 => [v17.0.0](https://github.com/ckeditor/ckeditor5-table/releases/tag/v17.0.0) +* [@ckeditor/ckeditor5-typing](https://www.npmjs.com/package/@ckeditor/ckeditor5-typing): v16.0.0 => [v17.0.0](https://github.com/ckeditor/ckeditor5-typing/releases/tag/v17.0.0) +* [@ckeditor/ckeditor5-ui](https://www.npmjs.com/package/@ckeditor/ckeditor5-ui): v16.0.0 => [v17.0.0](https://github.com/ckeditor/ckeditor5-ui/releases/tag/v17.0.0) + +Major releases (dependencies of those packages have breaking changes): + +* [@ckeditor/ckeditor-cloud-services-core](https://www.npmjs.com/package/@ckeditor/ckeditor-cloud-services-core): v16.0.0 => [v17.0.0](https://github.com/ckeditor/ckeditor-cloud-services-core/releases/tag/v17.0.0) +* [@ckeditor/ckeditor5-adapter-ckfinder](https://www.npmjs.com/package/@ckeditor/ckeditor5-adapter-ckfinder): v16.0.0 => [v17.0.0](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/releases/tag/v17.0.0) +* [@ckeditor/ckeditor5-autoformat](https://www.npmjs.com/package/@ckeditor/ckeditor5-autoformat): v16.0.0 => [v17.0.0](https://github.com/ckeditor/ckeditor5-autoformat/releases/tag/v17.0.0) +* [@ckeditor/ckeditor5-basic-styles](https://www.npmjs.com/package/@ckeditor/ckeditor5-basic-styles): v16.0.0 => [v17.0.0](https://github.com/ckeditor/ckeditor5-basic-styles/releases/tag/v17.0.0) +* [@ckeditor/ckeditor5-block-quote](https://www.npmjs.com/package/@ckeditor/ckeditor5-block-quote): v16.0.0 => [v17.0.0](https://github.com/ckeditor/ckeditor5-block-quote/releases/tag/v17.0.0) +* [@ckeditor/ckeditor5-ckfinder](https://www.npmjs.com/package/@ckeditor/ckeditor5-ckfinder): v16.0.0 => [v17.0.0](https://github.com/ckeditor/ckeditor5-ckfinder/releases/tag/v17.0.0) +* [@ckeditor/ckeditor5-clipboard](https://www.npmjs.com/package/@ckeditor/ckeditor5-clipboard): v16.0.0 => [v17.0.0](https://github.com/ckeditor/ckeditor5-clipboard/releases/tag/v17.0.0) +* [@ckeditor/ckeditor5-cloud-services](https://www.npmjs.com/package/@ckeditor/ckeditor5-cloud-services): v16.0.0 => [v17.0.0](https://github.com/ckeditor/ckeditor5-cloud-services/releases/tag/v17.0.0) +* [@ckeditor/ckeditor5-core](https://www.npmjs.com/package/@ckeditor/ckeditor5-core): v16.0.0 => [v17.0.0](https://github.com/ckeditor/ckeditor5-core/releases/tag/v17.0.0) +* [@ckeditor/ckeditor5-easy-image](https://www.npmjs.com/package/@ckeditor/ckeditor5-easy-image): v16.0.0 => [v17.0.0](https://github.com/ckeditor/ckeditor5-easy-image/releases/tag/v17.0.0) +* [@ckeditor/ckeditor5-editor-classic](https://www.npmjs.com/package/@ckeditor/ckeditor5-editor-classic): v16.0.0 => [v17.0.0](https://github.com/ckeditor/ckeditor5-editor-classic/releases/tag/v17.0.0) +* [@ckeditor/ckeditor5-enter](https://www.npmjs.com/package/@ckeditor/ckeditor5-enter): v16.0.0 => [v17.0.0](https://github.com/ckeditor/ckeditor5-enter/releases/tag/v17.0.0) +* [@ckeditor/ckeditor5-essentials](https://www.npmjs.com/package/@ckeditor/ckeditor5-essentials): v16.0.0 => [v17.0.0](https://github.com/ckeditor/ckeditor5-essentials/releases/tag/v17.0.0) +* [@ckeditor/ckeditor5-heading](https://www.npmjs.com/package/@ckeditor/ckeditor5-heading): v16.0.0 => [v17.0.0](https://github.com/ckeditor/ckeditor5-heading/releases/tag/v17.0.0) +* [@ckeditor/ckeditor5-indent](https://www.npmjs.com/package/@ckeditor/ckeditor5-indent): v16.0.0 => [v17.0.0](https://github.com/ckeditor/ckeditor5-indent/releases/tag/v17.0.0) +* [@ckeditor/ckeditor5-link](https://www.npmjs.com/package/@ckeditor/ckeditor5-link): v16.0.0 => [v17.0.0](https://github.com/ckeditor/ckeditor5-link/releases/tag/v17.0.0) +* [@ckeditor/ckeditor5-list](https://www.npmjs.com/package/@ckeditor/ckeditor5-list): v16.0.0 => [v17.0.0](https://github.com/ckeditor/ckeditor5-list/releases/tag/v17.0.0) +* [@ckeditor/ckeditor5-media-embed](https://www.npmjs.com/package/@ckeditor/ckeditor5-media-embed): v16.0.0 => [v17.0.0](https://github.com/ckeditor/ckeditor5-media-embed/releases/tag/v17.0.0) +* [@ckeditor/ckeditor5-paragraph](https://www.npmjs.com/package/@ckeditor/ckeditor5-paragraph): v16.0.0 => [v17.0.0](https://github.com/ckeditor/ckeditor5-paragraph/releases/tag/v17.0.0) +* [@ckeditor/ckeditor5-paste-from-office](https://www.npmjs.com/package/@ckeditor/ckeditor5-paste-from-office): v16.0.0 => [v17.0.0](https://github.com/ckeditor/ckeditor5-paste-from-office/releases/tag/v17.0.0) +* [@ckeditor/ckeditor5-undo](https://www.npmjs.com/package/@ckeditor/ckeditor5-undo): v16.0.0 => [v17.0.0](https://github.com/ckeditor/ckeditor5-undo/releases/tag/v17.0.0) +* [@ckeditor/ckeditor5-upload](https://www.npmjs.com/package/@ckeditor/ckeditor5-upload): v16.0.0 => [v17.0.0](https://github.com/ckeditor/ckeditor5-upload/releases/tag/v17.0.0) + + +## [16.0.0](https://github.com/ckeditor/ckeditor5-build-classic/compare/v15.0.0...v16.0.0) (December 4, 2019) + +We are happy to announce the release of CKEditor 5 v16.0.0. This release introduces one of the most community-requested features: [code blocks](https://ckeditor.com/docs/ckeditor5/latest/features/code-blocks.html). We included a new [restricted editing](https://ckeditor.com/docs/ckeditor5/latest/features/restricted-editing.html) plugin, too. + +We also did some changes in the default UI colors to improve accessibility. In addition to that, as always, the release contains many [more improvements and bug fixes](https://github.com/ckeditor/ckeditor5/issues?q=is%3Aissue+milestone%3A%22iteration+28%22+is%3Aclosed+-label%3Atype%3Adocs+-label%3Atype%3Atask+-label%3Apackage%3Arestricted-editing+-label%3Apackage%3Acode-block+-label%3Atype%3Afeature). + +Read more in the blog post: https://ckeditor.com/blog/CKEditor-5-v16.0.0-with-code-blocks-and-restricted-editing/ + +### Other changes + +* Replaced UglifyJS with Terser. See [ckeditor/ckeditor5#1353](https://github.com/ckeditor/ckeditor5/issues/1353). ([6d387bd](https://github.com/ckeditor/ckeditor5-build-classic/commit/6d387bd)) + +### Dependencies + +Major releases (contain major breaking changes): + +* [@ckeditor/ckeditor5-theme-lark](https://www.npmjs.com/package/@ckeditor/ckeditor5-theme-lark): v15.0.0 => [v16.0.0](https://github.com/ckeditor/ckeditor5-theme-lark/releases/tag/v16.0.0) + +Major releases (dependencies of those packages have breaking changes): + +* [@ckeditor/ckeditor-cloud-services-core](https://www.npmjs.com/package/@ckeditor/ckeditor-cloud-services-core): v15.0.0 => [v16.0.0](https://github.com/ckeditor/ckeditor-cloud-services-core/releases/tag/v16.0.0) +* [@ckeditor/ckeditor5-adapter-ckfinder](https://www.npmjs.com/package/@ckeditor/ckeditor5-adapter-ckfinder): v15.0.0 => [v16.0.0](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/releases/tag/v16.0.0) +* [@ckeditor/ckeditor5-autoformat](https://www.npmjs.com/package/@ckeditor/ckeditor5-autoformat): v15.0.0 => [v16.0.0](https://github.com/ckeditor/ckeditor5-autoformat/releases/tag/v16.0.0) +* [@ckeditor/ckeditor5-basic-styles](https://www.npmjs.com/package/@ckeditor/ckeditor5-basic-styles): v15.0.0 => [v16.0.0](https://github.com/ckeditor/ckeditor5-basic-styles/releases/tag/v16.0.0) +* [@ckeditor/ckeditor5-block-quote](https://www.npmjs.com/package/@ckeditor/ckeditor5-block-quote): v15.0.0 => [v16.0.0](https://github.com/ckeditor/ckeditor5-block-quote/releases/tag/v16.0.0) +* [@ckeditor/ckeditor5-ckfinder](https://www.npmjs.com/package/@ckeditor/ckeditor5-ckfinder): v15.0.0 => [v16.0.0](https://github.com/ckeditor/ckeditor5-ckfinder/releases/tag/v16.0.0) +* [@ckeditor/ckeditor5-clipboard](https://www.npmjs.com/package/@ckeditor/ckeditor5-clipboard): v15.0.0 => [v16.0.0](https://github.com/ckeditor/ckeditor5-clipboard/releases/tag/v16.0.0) +* [@ckeditor/ckeditor5-cloud-services](https://www.npmjs.com/package/@ckeditor/ckeditor5-cloud-services): v15.0.0 => [v16.0.0](https://github.com/ckeditor/ckeditor5-cloud-services/releases/tag/v16.0.0) +* [@ckeditor/ckeditor5-core](https://www.npmjs.com/package/@ckeditor/ckeditor5-core): v15.0.0 => [v16.0.0](https://github.com/ckeditor/ckeditor5-core/releases/tag/v16.0.0) +* [@ckeditor/ckeditor5-easy-image](https://www.npmjs.com/package/@ckeditor/ckeditor5-easy-image): v15.0.0 => [v16.0.0](https://github.com/ckeditor/ckeditor5-easy-image/releases/tag/v16.0.0) +* [@ckeditor/ckeditor5-editor-classic](https://www.npmjs.com/package/@ckeditor/ckeditor5-editor-classic): v15.0.0 => [v16.0.0](https://github.com/ckeditor/ckeditor5-editor-classic/releases/tag/v16.0.0) +* [@ckeditor/ckeditor5-engine](https://www.npmjs.com/package/@ckeditor/ckeditor5-engine): v15.0.0 => [v16.0.0](https://github.com/ckeditor/ckeditor5-engine/releases/tag/v16.0.0) +* [@ckeditor/ckeditor5-enter](https://www.npmjs.com/package/@ckeditor/ckeditor5-enter): v15.0.0 => [v16.0.0](https://github.com/ckeditor/ckeditor5-enter/releases/tag/v16.0.0) +* [@ckeditor/ckeditor5-essentials](https://www.npmjs.com/package/@ckeditor/ckeditor5-essentials): v15.0.0 => [v16.0.0](https://github.com/ckeditor/ckeditor5-essentials/releases/tag/v16.0.0) +* [@ckeditor/ckeditor5-heading](https://www.npmjs.com/package/@ckeditor/ckeditor5-heading): v15.0.0 => [v16.0.0](https://github.com/ckeditor/ckeditor5-heading/releases/tag/v16.0.0) +* [@ckeditor/ckeditor5-image](https://www.npmjs.com/package/@ckeditor/ckeditor5-image): v15.0.0 => [v16.0.0](https://github.com/ckeditor/ckeditor5-image/releases/tag/v16.0.0) +* [@ckeditor/ckeditor5-indent](https://www.npmjs.com/package/@ckeditor/ckeditor5-indent): v15.0.0 => [v16.0.0](https://github.com/ckeditor/ckeditor5-indent/releases/tag/v16.0.0) +* [@ckeditor/ckeditor5-link](https://www.npmjs.com/package/@ckeditor/ckeditor5-link): v15.0.0 => [v16.0.0](https://github.com/ckeditor/ckeditor5-link/releases/tag/v16.0.0) +* [@ckeditor/ckeditor5-list](https://www.npmjs.com/package/@ckeditor/ckeditor5-list): v15.0.0 => [v16.0.0](https://github.com/ckeditor/ckeditor5-list/releases/tag/v16.0.0) +* [@ckeditor/ckeditor5-media-embed](https://www.npmjs.com/package/@ckeditor/ckeditor5-media-embed): v15.0.0 => [v16.0.0](https://github.com/ckeditor/ckeditor5-media-embed/releases/tag/v16.0.0) +* [@ckeditor/ckeditor5-paragraph](https://www.npmjs.com/package/@ckeditor/ckeditor5-paragraph): v15.0.0 => [v16.0.0](https://github.com/ckeditor/ckeditor5-paragraph/releases/tag/v16.0.0) +* [@ckeditor/ckeditor5-paste-from-office](https://www.npmjs.com/package/@ckeditor/ckeditor5-paste-from-office): v15.0.0 => [v16.0.0](https://github.com/ckeditor/ckeditor5-paste-from-office/releases/tag/v16.0.0) +* [@ckeditor/ckeditor5-table](https://www.npmjs.com/package/@ckeditor/ckeditor5-table): v15.0.0 => [v16.0.0](https://github.com/ckeditor/ckeditor5-table/releases/tag/v16.0.0) +* [@ckeditor/ckeditor5-typing](https://www.npmjs.com/package/@ckeditor/ckeditor5-typing): v15.0.0 => [v16.0.0](https://github.com/ckeditor/ckeditor5-typing/releases/tag/v16.0.0) +* [@ckeditor/ckeditor5-ui](https://www.npmjs.com/package/@ckeditor/ckeditor5-ui): v15.0.0 => [v16.0.0](https://github.com/ckeditor/ckeditor5-ui/releases/tag/v16.0.0) +* [@ckeditor/ckeditor5-undo](https://www.npmjs.com/package/@ckeditor/ckeditor5-undo): v15.0.0 => [v16.0.0](https://github.com/ckeditor/ckeditor5-undo/releases/tag/v16.0.0) +* [@ckeditor/ckeditor5-upload](https://www.npmjs.com/package/@ckeditor/ckeditor5-upload): v15.0.0 => [v16.0.0](https://github.com/ckeditor/ckeditor5-upload/releases/tag/v16.0.0) +* [@ckeditor/ckeditor5-utils](https://www.npmjs.com/package/@ckeditor/ckeditor5-utils): v15.0.0 => [v16.0.0](https://github.com/ckeditor/ckeditor5-utils/releases/tag/v16.0.0) +* [@ckeditor/ckeditor5-widget](https://www.npmjs.com/package/@ckeditor/ckeditor5-widget): v15.0.0 => [v16.0.0](https://github.com/ckeditor/ckeditor5-widget/releases/tag/v16.0.0) + + +## [15.0.0](https://github.com/ckeditor/ckeditor5-build-classic/compare/v12.4.0...v15.0.0) (October 23, 2019) + +We are happy to announce the release of CKEditor 5 v15.0.0. This editor version introduces support for inserting [horizontal lines](https://ckeditor.com/docs/ckeditor5/latest/features/horizontal-line.html), [page breaks](https://ckeditor.com/docs/ckeditor5/latest/features/page-break.html) and [SVG images](https://ckeditor.com/docs/ckeditor5/latest/api/module_image_imageupload-ImageUploadConfig.html#member-types) into the WYSIWYG editor. It also allows you to define the [document title section](https://ckeditor.com/docs/ckeditor5/latest/features/title.html) thanks to the new title plugin. The editor toolbar is now responsive which improves the UX, especially for mobile devices. + +Regarding the build itself, we added the [list indentation](https://ckeditor.com/docs/ckeditor5/latest/features/indent.html#indenting-lists) button to the build's default setup. See [ckeditor/ckeditor5#1844](https://github.com/ckeditor/ckeditor5/issues/1844). ([5dc1e87](https://github.com/ckeditor/ckeditor5-build-classic/commit/5dc1e87)) + +In other news, we changed the versioning policy. Now, all packages will have the same major version, hence, we needed to release this one as v15.0.0 (we skipped versions 13.0.0 and 14.0.0). Read more about the [new versioning policy](https://ckeditor.com/docs/ckeditor5/latest/updating/versioning-policy.html). + +Read more in the blog post: https://ckeditor.com/blog/CKEditor-5-v15.0.0-with-horizontal-line-page-break-responsive-toolbar-and-SVG-upload-support/ + +### Dependencies + +Major releases (contain major breaking changes): + +* [@ckeditor/ckeditor5-engine](https://www.npmjs.com/package/@ckeditor/ckeditor5-engine): v14.0.0 => [v15.0.0](https://github.com/ckeditor/ckeditor5-engine/releases/tag/v15.0.0) +* [@ckeditor/ckeditor5-image](https://www.npmjs.com/package/@ckeditor/ckeditor5-image): v14.0.0 => [v15.0.0](https://github.com/ckeditor/ckeditor5-image/releases/tag/v15.0.0) +* [@ckeditor/ckeditor5-list](https://www.npmjs.com/package/@ckeditor/ckeditor5-list): v12.1.0 => [v15.0.0](https://github.com/ckeditor/ckeditor5-list/releases/tag/v15.0.0) +* [@ckeditor/ckeditor5-ui](https://www.npmjs.com/package/@ckeditor/ckeditor5-ui): v14.0.0 => [v15.0.0](https://github.com/ckeditor/ckeditor5-ui/releases/tag/v15.0.0) +* [@ckeditor/ckeditor5-widget](https://www.npmjs.com/package/@ckeditor/ckeditor5-widget): v11.1.0 => [v15.0.0](https://github.com/ckeditor/ckeditor5-widget/releases/tag/v15.0.0) + +Major releases (dependencies of those packages have breaking changes): + +* [@ckeditor/ckeditor-cloud-services-core](https://www.npmjs.com/package/@ckeditor/ckeditor-cloud-services-core): v3.0.1 => [v15.0.0](https://github.com/ckeditor/ckeditor-cloud-services-core/releases/tag/v15.0.0) +* [@ckeditor/ckeditor5-adapter-ckfinder](https://www.npmjs.com/package/@ckeditor/ckeditor5-adapter-ckfinder): v11.0.5 => [v15.0.0](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/releases/tag/v15.0.0) +* [@ckeditor/ckeditor5-autoformat](https://www.npmjs.com/package/@ckeditor/ckeditor5-autoformat): v11.0.5 => [v15.0.0](https://github.com/ckeditor/ckeditor5-autoformat/releases/tag/v15.0.0) +* [@ckeditor/ckeditor5-basic-styles](https://www.npmjs.com/package/@ckeditor/ckeditor5-basic-styles): v11.1.4 => [v15.0.0](https://github.com/ckeditor/ckeditor5-basic-styles/releases/tag/v15.0.0) +* [@ckeditor/ckeditor5-block-quote](https://www.npmjs.com/package/@ckeditor/ckeditor5-block-quote): v11.1.3 => [v15.0.0](https://github.com/ckeditor/ckeditor5-block-quote/releases/tag/v15.0.0) +* [@ckeditor/ckeditor5-ckfinder](https://www.npmjs.com/package/@ckeditor/ckeditor5-ckfinder): v11.0.5 => [v15.0.0](https://github.com/ckeditor/ckeditor5-ckfinder/releases/tag/v15.0.0) +* [@ckeditor/ckeditor5-clipboard](https://www.npmjs.com/package/@ckeditor/ckeditor5-clipboard): v12.0.2 => [v15.0.0](https://github.com/ckeditor/ckeditor5-clipboard/releases/tag/v15.0.0) +* [@ckeditor/ckeditor5-cloud-services](https://www.npmjs.com/package/@ckeditor/ckeditor5-cloud-services): v11.0.5 => [v15.0.0](https://github.com/ckeditor/ckeditor5-cloud-services/releases/tag/v15.0.0) +* [@ckeditor/ckeditor5-core](https://www.npmjs.com/package/@ckeditor/ckeditor5-core): v12.3.0 => [v15.0.0](https://github.com/ckeditor/ckeditor5-core/releases/tag/v15.0.0) +* [@ckeditor/ckeditor5-easy-image](https://www.npmjs.com/package/@ckeditor/ckeditor5-easy-image): v11.0.5 => [v15.0.0](https://github.com/ckeditor/ckeditor5-easy-image/releases/tag/v15.0.0) +* [@ckeditor/ckeditor5-editor-classic](https://www.npmjs.com/package/@ckeditor/ckeditor5-editor-classic): v12.1.4 => [v15.0.0](https://github.com/ckeditor/ckeditor5-editor-classic/releases/tag/v15.0.0) +* [@ckeditor/ckeditor5-enter](https://www.npmjs.com/package/@ckeditor/ckeditor5-enter): v11.1.0 => [v15.0.0](https://github.com/ckeditor/ckeditor5-enter/releases/tag/v15.0.0) +* [@ckeditor/ckeditor5-essentials](https://www.npmjs.com/package/@ckeditor/ckeditor5-essentials): v11.0.5 => [v15.0.0](https://github.com/ckeditor/ckeditor5-essentials/releases/tag/v15.0.0) +* [@ckeditor/ckeditor5-heading](https://www.npmjs.com/package/@ckeditor/ckeditor5-heading): v11.0.5 => [v15.0.0](https://github.com/ckeditor/ckeditor5-heading/releases/tag/v15.0.0) +* [@ckeditor/ckeditor5-indent](https://www.npmjs.com/package/@ckeditor/ckeditor5-indent): v10.1.0 => [v15.0.0](https://github.com/ckeditor/ckeditor5-indent/releases/tag/v15.0.0) +* [@ckeditor/ckeditor5-link](https://www.npmjs.com/package/@ckeditor/ckeditor5-link): v11.1.2 => [v15.0.0](https://github.com/ckeditor/ckeditor5-link/releases/tag/v15.0.0) +* [@ckeditor/ckeditor5-media-embed](https://www.npmjs.com/package/@ckeditor/ckeditor5-media-embed): v11.1.4 => [v15.0.0](https://github.com/ckeditor/ckeditor5-media-embed/releases/tag/v15.0.0) +* [@ckeditor/ckeditor5-paragraph](https://www.npmjs.com/package/@ckeditor/ckeditor5-paragraph): v11.0.5 => [v15.0.0](https://github.com/ckeditor/ckeditor5-paragraph/releases/tag/v15.0.0) +* [@ckeditor/ckeditor5-paste-from-office](https://www.npmjs.com/package/@ckeditor/ckeditor5-paste-from-office): v11.1.0 => [v15.0.0](https://github.com/ckeditor/ckeditor5-paste-from-office/releases/tag/v15.0.0) +* [@ckeditor/ckeditor5-table](https://www.npmjs.com/package/@ckeditor/ckeditor5-table): v14.0.0 => [v15.0.0](https://github.com/ckeditor/ckeditor5-table/releases/tag/v15.0.0) +* [@ckeditor/ckeditor5-theme-lark](https://www.npmjs.com/package/@ckeditor/ckeditor5-theme-lark): v14.2.0 => [v15.0.0](https://github.com/ckeditor/ckeditor5-theme-lark/releases/tag/v15.0.0) +* [@ckeditor/ckeditor5-typing](https://www.npmjs.com/package/@ckeditor/ckeditor5-typing): v12.2.0 => [v15.0.0](https://github.com/ckeditor/ckeditor5-typing/releases/tag/v15.0.0) +* [@ckeditor/ckeditor5-undo](https://www.npmjs.com/package/@ckeditor/ckeditor5-undo): v11.0.5 => [v15.0.0](https://github.com/ckeditor/ckeditor5-undo/releases/tag/v15.0.0) +* [@ckeditor/ckeditor5-upload](https://www.npmjs.com/package/@ckeditor/ckeditor5-upload): v12.0.0 => [v15.0.0](https://github.com/ckeditor/ckeditor5-upload/releases/tag/v15.0.0) +* [@ckeditor/ckeditor5-utils](https://www.npmjs.com/package/@ckeditor/ckeditor5-utils): v14.0.0 => [v15.0.0](https://github.com/ckeditor/ckeditor5-utils/releases/tag/v15.0.0) + + +## [12.4.0](https://github.com/ckeditor/ckeditor5-build-classic/compare/v12.3.1...v12.4.0) (August 26, 2019) + +This release brings a huge set of new features: [image resizing](https://ckeditor.com/ckeditor5/build/docs/ckeditor5/latest/features/image.html#resizing-images), [to-do lists](https://ckeditor.com/ckeditor5/build/docs/ckeditor5/latest/features/todo-lists.html), [support for RTL languages](https://ckeditor.com/ckeditor5/build/docs/ckeditor5/latest/features/ui-language.html), [simple upload adapter](https://ckeditor.com/ckeditor5/build/docs/ckeditor5/latest/features/images/image-upload/simple-upload-adapter.html), [support for pasting from Google Docs](https://ckeditor.com/ckeditor5/build/docs/ckeditor5/latest/features/paste-from-office/paste-from-google-docs.html), [mathematic formulas](https://ckeditor.com/ckeditor5/build/docs/ckeditor5/latest/features/mathtype.html), and [spelling and grammar checking](https://ckeditor.com/ckeditor5/build/docs/ckeditor5/latest/features/spell-checker.html). In addition to that, as always, it contains many improvements and bug fixes. + +### Dependencies + +Major releases (contain breaking changes): + +* [@ckeditor/ckeditor5-engine](https://www.npmjs.com/package/@ckeditor/ckeditor5-engine): v13.2.1 => [v14.0.0](https://github.com/ckeditor/ckeditor5-engine/releases/tag/v14.0.0) +* [@ckeditor/ckeditor5-image](https://www.npmjs.com/package/@ckeditor/ckeditor5-image): v13.1.2 => [v14.0.0](https://github.com/ckeditor/ckeditor5-image/releases/tag/v14.0.0) +* [@ckeditor/ckeditor5-table](https://www.npmjs.com/package/@ckeditor/ckeditor5-table): v13.0.2 => [v14.0.0](https://github.com/ckeditor/ckeditor5-table/releases/tag/v14.0.0) +* [@ckeditor/ckeditor5-ui](https://www.npmjs.com/package/@ckeditor/ckeditor5-ui): v13.0.2 => [v14.0.0](https://github.com/ckeditor/ckeditor5-ui/releases/tag/v14.0.0) +* [@ckeditor/ckeditor5-upload](https://www.npmjs.com/package/@ckeditor/ckeditor5-upload): v11.1.1 => [v12.0.0](https://github.com/ckeditor/ckeditor5-upload/releases/tag/v12.0.0) +* [@ckeditor/ckeditor5-utils](https://www.npmjs.com/package/@ckeditor/ckeditor5-utils): v13.0.1 => [v14.0.0](https://github.com/ckeditor/ckeditor5-utils/releases/tag/v14.0.0) + +Minor releases: + +* [@ckeditor/ckeditor5-core](https://www.npmjs.com/package/@ckeditor/ckeditor5-core): v12.2.1 => [v12.3.0](https://github.com/ckeditor/ckeditor5-core/releases/tag/v12.3.0) +* [@ckeditor/ckeditor5-enter](https://www.npmjs.com/package/@ckeditor/ckeditor5-enter): v11.0.4 => [v11.1.0](https://github.com/ckeditor/ckeditor5-enter/releases/tag/v11.1.0) +* [@ckeditor/ckeditor5-list](https://www.npmjs.com/package/@ckeditor/ckeditor5-list): v12.0.4 => [v12.1.0](https://github.com/ckeditor/ckeditor5-list/releases/tag/v12.1.0) +* [@ckeditor/ckeditor5-paste-from-office](https://www.npmjs.com/package/@ckeditor/ckeditor5-paste-from-office): v11.0.4 => [v11.1.0](https://github.com/ckeditor/ckeditor5-paste-from-office/releases/tag/v11.1.0) +* [@ckeditor/ckeditor5-theme-lark](https://www.npmjs.com/package/@ckeditor/ckeditor5-theme-lark): v14.1.1 => [v14.2.0](https://github.com/ckeditor/ckeditor5-theme-lark/releases/tag/v14.2.0) +* [@ckeditor/ckeditor5-typing](https://www.npmjs.com/package/@ckeditor/ckeditor5-typing): v12.1.1 => [v12.2.0](https://github.com/ckeditor/ckeditor5-typing/releases/tag/v12.2.0) +* [@ckeditor/ckeditor5-widget](https://www.npmjs.com/package/@ckeditor/ckeditor5-widget): v11.0.4 => [v11.1.0](https://github.com/ckeditor/ckeditor5-widget/releases/tag/v11.1.0) + +Patch releases (bug fixes, internal changes): + +* [@ckeditor/ckeditor5-adapter-ckfinder](https://www.npmjs.com/package/@ckeditor/ckeditor5-adapter-ckfinder): v11.0.4 => [v11.0.5](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/releases/tag/v11.0.5) +* [@ckeditor/ckeditor5-autoformat](https://www.npmjs.com/package/@ckeditor/ckeditor5-autoformat): v11.0.4 => [v11.0.5](https://github.com/ckeditor/ckeditor5-autoformat/releases/tag/v11.0.5) +* [@ckeditor/ckeditor5-basic-styles](https://www.npmjs.com/package/@ckeditor/ckeditor5-basic-styles): v11.1.3 => [v11.1.4](https://github.com/ckeditor/ckeditor5-basic-styles/releases/tag/v11.1.4) +* [@ckeditor/ckeditor5-block-quote](https://www.npmjs.com/package/@ckeditor/ckeditor5-block-quote): v11.1.2 => [v11.1.3](https://github.com/ckeditor/ckeditor5-block-quote/releases/tag/v11.1.3) +* [@ckeditor/ckeditor5-ckfinder](https://www.npmjs.com/package/@ckeditor/ckeditor5-ckfinder): v11.0.4 => [v11.0.5](https://github.com/ckeditor/ckeditor5-ckfinder/releases/tag/v11.0.5) +* [@ckeditor/ckeditor5-clipboard](https://www.npmjs.com/package/@ckeditor/ckeditor5-clipboard): v12.0.1 => [v12.0.2](https://github.com/ckeditor/ckeditor5-clipboard/releases/tag/v12.0.2) +* [@ckeditor/ckeditor5-cloud-services](https://www.npmjs.com/package/@ckeditor/ckeditor5-cloud-services): v11.0.4 => [v11.0.5](https://github.com/ckeditor/ckeditor5-cloud-services/releases/tag/v11.0.5) +* [@ckeditor/ckeditor5-easy-image](https://www.npmjs.com/package/@ckeditor/ckeditor5-easy-image): v11.0.4 => [v11.0.5](https://github.com/ckeditor/ckeditor5-easy-image/releases/tag/v11.0.5) +* [@ckeditor/ckeditor5-editor-classic](https://www.npmjs.com/package/@ckeditor/ckeditor5-editor-classic): v12.1.3 => [v12.1.4](https://github.com/ckeditor/ckeditor5-editor-classic/releases/tag/v12.1.4) +* [@ckeditor/ckeditor5-essentials](https://www.npmjs.com/package/@ckeditor/ckeditor5-essentials): v11.0.4 => [v11.0.5](https://github.com/ckeditor/ckeditor5-essentials/releases/tag/v11.0.5) +* [@ckeditor/ckeditor5-heading](https://www.npmjs.com/package/@ckeditor/ckeditor5-heading): v11.0.4 => [v11.0.5](https://github.com/ckeditor/ckeditor5-heading/releases/tag/v11.0.5) +* [@ckeditor/ckeditor5-link](https://www.npmjs.com/package/@ckeditor/ckeditor5-link): v11.1.1 => [v11.1.2](https://github.com/ckeditor/ckeditor5-link/releases/tag/v11.1.2) +* [@ckeditor/ckeditor5-media-embed](https://www.npmjs.com/package/@ckeditor/ckeditor5-media-embed): v11.1.3 => [v11.1.4](https://github.com/ckeditor/ckeditor5-media-embed/releases/tag/v11.1.4) +* [@ckeditor/ckeditor5-paragraph](https://www.npmjs.com/package/@ckeditor/ckeditor5-paragraph): v11.0.4 => [v11.0.5](https://github.com/ckeditor/ckeditor5-paragraph/releases/tag/v11.0.5) +* [@ckeditor/ckeditor5-undo](https://www.npmjs.com/package/@ckeditor/ckeditor5-undo): v11.0.4 => [v11.0.5](https://github.com/ckeditor/ckeditor5-undo/releases/tag/v11.0.5) + +### Other changes + +* Bumped style-loader to v1.0.0. Aligned the webpack configuration to the new loader API. See [ckeditor/ckeditor5#1945](https://github.com/ckeditor/ckeditor5/issues/1945). ([9e69c1e](https://github.com/ckeditor/ckeditor5-build-classic/commit/9e69c1e)) +* The issue tracker for this package was moved to https://github.com/ckeditor/ckeditor5/issues. See [ckeditor/ckeditor5#1988](https://github.com/ckeditor/ckeditor5/issues/1988). ([8b4af5d](https://github.com/ckeditor/ckeditor5-build-classic/commit/8b4af5d)) + + +## [12.3.1](https://github.com/ckeditor/ckeditor5-build-classic/compare/v12.3.0...v12.3.1) (July 10, 2019) + +We are happy to report the release of CKEditor 5 v12.3.0 (and v12.3.1 with a small fix). This release introduces several new features ([word count](https://ckeditor.com/docs/ckeditor5/latest/features/word-count.html), [automatic text transformations](https://ckeditor.com/docs/ckeditor5/latest/features/text-transformation.html), [ability to control link attributes such as `target`](https://ckeditor.com/docs/ckeditor5/latest/features/link.html#custom-link-attributes-decorators) and [block indentation](https://ckeditor.com/docs/ckeditor5/latest/features/indent.html)). It also brings improvements to existing features (like the ["document colors" section](https://ckeditor.com/docs/ckeditor5/latest/features/font.html#documents-colors) in the font color picker dropdowns) and many bug fixes. + +### Dependencies + +Patch releases (bug fixes, internal changes): + +* [@ckeditor/ckeditor5-adapter-ckfinder](https://www.npmjs.com/package/@ckeditor/ckeditor5-adapter-ckfinder): v11.0.3 => [v11.0.4](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/releases/tag/v11.0.4) +* [@ckeditor/ckeditor5-autoformat](https://www.npmjs.com/package/@ckeditor/ckeditor5-autoformat): v11.0.3 => [v11.0.4](https://github.com/ckeditor/ckeditor5-autoformat/releases/tag/v11.0.4) +* [@ckeditor/ckeditor5-basic-styles](https://www.npmjs.com/package/@ckeditor/ckeditor5-basic-styles): v11.1.2 => [v11.1.3](https://github.com/ckeditor/ckeditor5-basic-styles/releases/tag/v11.1.3) +* [@ckeditor/ckeditor5-block-quote](https://www.npmjs.com/package/@ckeditor/ckeditor5-block-quote): v11.1.1 => [v11.1.2](https://github.com/ckeditor/ckeditor5-block-quote/releases/tag/v11.1.2) +* [@ckeditor/ckeditor5-ckfinder](https://www.npmjs.com/package/@ckeditor/ckeditor5-ckfinder): v11.0.3 => [v11.0.4](https://github.com/ckeditor/ckeditor5-ckfinder/releases/tag/v11.0.4) +* [@ckeditor/ckeditor5-clipboard](https://www.npmjs.com/package/@ckeditor/ckeditor5-clipboard): v12.0.0 => [v12.0.1](https://github.com/ckeditor/ckeditor5-clipboard/releases/tag/v12.0.1) +* [@ckeditor/ckeditor5-cloud-services](https://www.npmjs.com/package/@ckeditor/ckeditor5-cloud-services): v11.0.3 => [v11.0.4](https://github.com/ckeditor/ckeditor5-cloud-services/releases/tag/v11.0.4) +* [@ckeditor/ckeditor5-core](https://www.npmjs.com/package/@ckeditor/ckeditor5-core): v12.2.0 => [v12.2.1](https://github.com/ckeditor/ckeditor5-core/releases/tag/v12.2.1) +* [@ckeditor/ckeditor5-easy-image](https://www.npmjs.com/package/@ckeditor/ckeditor5-easy-image): v11.0.3 => [v11.0.4](https://github.com/ckeditor/ckeditor5-easy-image/releases/tag/v11.0.4) +* [@ckeditor/ckeditor5-editor-classic](https://www.npmjs.com/package/@ckeditor/ckeditor5-editor-classic): v12.1.2 => [v12.1.3](https://github.com/ckeditor/ckeditor5-editor-classic/releases/tag/v12.1.3) +* [@ckeditor/ckeditor5-engine](https://www.npmjs.com/package/@ckeditor/ckeditor5-engine): v13.2.0 => [v13.2.1](https://github.com/ckeditor/ckeditor5-engine/releases/tag/v13.2.1) +* [@ckeditor/ckeditor5-enter](https://www.npmjs.com/package/@ckeditor/ckeditor5-enter): v11.0.3 => [v11.0.4](https://github.com/ckeditor/ckeditor5-enter/releases/tag/v11.0.4) +* [@ckeditor/ckeditor5-essentials](https://www.npmjs.com/package/@ckeditor/ckeditor5-essentials): v11.0.3 => [v11.0.4](https://github.com/ckeditor/ckeditor5-essentials/releases/tag/v11.0.4) +* [@ckeditor/ckeditor5-heading](https://www.npmjs.com/package/@ckeditor/ckeditor5-heading): v11.0.3 => [v11.0.4](https://github.com/ckeditor/ckeditor5-heading/releases/tag/v11.0.4) +* [@ckeditor/ckeditor5-image](https://www.npmjs.com/package/@ckeditor/ckeditor5-image): v13.1.1 => [v13.1.2](https://github.com/ckeditor/ckeditor5-image/releases/tag/v13.1.2) +* [@ckeditor/ckeditor5-link](https://www.npmjs.com/package/@ckeditor/ckeditor5-link): v11.1.0 => [v11.1.1](https://github.com/ckeditor/ckeditor5-link/releases/tag/v11.1.1) +* [@ckeditor/ckeditor5-list](https://www.npmjs.com/package/@ckeditor/ckeditor5-list): v12.0.3 => [v12.0.4](https://github.com/ckeditor/ckeditor5-list/releases/tag/v12.0.4) +* [@ckeditor/ckeditor5-media-embed](https://www.npmjs.com/package/@ckeditor/ckeditor5-media-embed): v11.1.2 => [v11.1.3](https://github.com/ckeditor/ckeditor5-media-embed/releases/tag/v11.1.3) +* [@ckeditor/ckeditor5-paragraph](https://www.npmjs.com/package/@ckeditor/ckeditor5-paragraph): v11.0.3 => [v11.0.4](https://github.com/ckeditor/ckeditor5-paragraph/releases/tag/v11.0.4) +* [@ckeditor/ckeditor5-paste-from-office](https://www.npmjs.com/package/@ckeditor/ckeditor5-paste-from-office): v11.0.3 => [v11.0.4](https://github.com/ckeditor/ckeditor5-paste-from-office/releases/tag/v11.0.4) +* [@ckeditor/ckeditor5-table](https://www.npmjs.com/package/@ckeditor/ckeditor5-table): v13.0.1 => [v13.0.2](https://github.com/ckeditor/ckeditor5-table/releases/tag/v13.0.2) +* [@ckeditor/ckeditor5-theme-lark](https://www.npmjs.com/package/@ckeditor/ckeditor5-theme-lark): v14.1.0 => [v14.1.1](https://github.com/ckeditor/ckeditor5-theme-lark/releases/tag/v14.1.1) +* [@ckeditor/ckeditor5-typing](https://www.npmjs.com/package/@ckeditor/ckeditor5-typing): v12.1.0 => [v12.1.1](https://github.com/ckeditor/ckeditor5-typing/releases/tag/v12.1.1) +* [@ckeditor/ckeditor5-ui](https://www.npmjs.com/package/@ckeditor/ckeditor5-ui): v13.0.1 => [v13.0.2](https://github.com/ckeditor/ckeditor5-ui/releases/tag/v13.0.2) +* [@ckeditor/ckeditor5-undo](https://www.npmjs.com/package/@ckeditor/ckeditor5-undo): v11.0.3 => [v11.0.4](https://github.com/ckeditor/ckeditor5-undo/releases/tag/v11.0.4) +* [@ckeditor/ckeditor5-upload](https://www.npmjs.com/package/@ckeditor/ckeditor5-upload): v11.1.0 => [v11.1.1](https://github.com/ckeditor/ckeditor5-upload/releases/tag/v11.1.1) +* [@ckeditor/ckeditor5-utils](https://www.npmjs.com/package/@ckeditor/ckeditor5-utils): v13.0.0 => [v13.0.1](https://github.com/ckeditor/ckeditor5-utils/releases/tag/v13.0.1) +* [@ckeditor/ckeditor5-widget](https://www.npmjs.com/package/@ckeditor/ckeditor5-widget): v11.0.3 => [v11.0.4](https://github.com/ckeditor/ckeditor5-widget/releases/tag/v11.0.4) + + +## [12.3.0](https://github.com/ckeditor/ckeditor5-build-classic/compare/v12.2.0...v12.3.0) (July 4, 2019) + +We are happy to report the release of CKEditor 5 v12.3.0. This release introduces several new features ([word count](https://ckeditor.com/docs/ckeditor5/latest/features/word-count.html), [automatic text transformations](https://ckeditor.com/docs/ckeditor5/latest/features/text-transformation.html), [ability to control link attributes such as `target`](https://ckeditor.com/docs/ckeditor5/latest/features/link.html#custom-link-attributes-decorators) and [block indentation](https://ckeditor.com/docs/ckeditor5/latest/features/indent.html)). It also brings improvements to existing features (like the ["document colors" section](https://ckeditor.com/docs/ckeditor5/latest/features/font.html#documents-colors) in the font color picker dropdowns) and many bug fixes. + +### Dependencies + +Major releases (contain breaking changes): + +* [@ckeditor/ckeditor5-clipboard](https://www.npmjs.com/package/@ckeditor/ckeditor5-clipboard): v11.0.2 => [v12.0.0](https://github.com/ckeditor/ckeditor5-clipboard/releases/tag/v12.0.0) +* [@ckeditor/ckeditor5-utils](https://www.npmjs.com/package/@ckeditor/ckeditor5-utils): v12.1.1 => [v13.0.0](https://github.com/ckeditor/ckeditor5-utils/releases/tag/v13.0.0) + +Minor releases: + +* [@ckeditor/ckeditor5-core](https://www.npmjs.com/package/@ckeditor/ckeditor5-core): v12.1.1 => [v12.2.0](https://github.com/ckeditor/ckeditor5-core/releases/tag/v12.2.0) +* [@ckeditor/ckeditor5-engine](https://www.npmjs.com/package/@ckeditor/ckeditor5-engine): v13.1.1 => [v13.2.0](https://github.com/ckeditor/ckeditor5-engine/releases/tag/v13.2.0) +* [@ckeditor/ckeditor5-link](https://www.npmjs.com/package/@ckeditor/ckeditor5-link): v11.0.2 => [v11.1.0](https://github.com/ckeditor/ckeditor5-link/releases/tag/v11.1.0) +* [@ckeditor/ckeditor5-theme-lark](https://www.npmjs.com/package/@ckeditor/ckeditor5-theme-lark): v14.0.0 => [v14.1.0](https://github.com/ckeditor/ckeditor5-theme-lark/releases/tag/v14.1.0) +* [@ckeditor/ckeditor5-typing](https://www.npmjs.com/package/@ckeditor/ckeditor5-typing): v12.0.2 => [v12.1.0](https://github.com/ckeditor/ckeditor5-typing/releases/tag/v12.1.0) +* [@ckeditor/ckeditor5-upload](https://www.npmjs.com/package/@ckeditor/ckeditor5-upload): v11.0.2 => [v11.1.0](https://github.com/ckeditor/ckeditor5-upload/releases/tag/v11.1.0) + +Patch releases (bug fixes, internal changes): + +* [@ckeditor/ckeditor5-adapter-ckfinder](https://www.npmjs.com/package/@ckeditor/ckeditor5-adapter-ckfinder): v11.0.2 => [v11.0.3](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/releases/tag/v11.0.3) +* [@ckeditor/ckeditor5-autoformat](https://www.npmjs.com/package/@ckeditor/ckeditor5-autoformat): v11.0.2 => [v11.0.3](https://github.com/ckeditor/ckeditor5-autoformat/releases/tag/v11.0.3) +* [@ckeditor/ckeditor5-basic-styles](https://www.npmjs.com/package/@ckeditor/ckeditor5-basic-styles): v11.1.1 => [v11.1.2](https://github.com/ckeditor/ckeditor5-basic-styles/releases/tag/v11.1.2) +* [@ckeditor/ckeditor5-block-quote](https://www.npmjs.com/package/@ckeditor/ckeditor5-block-quote): v11.1.0 => [v11.1.1](https://github.com/ckeditor/ckeditor5-block-quote/releases/tag/v11.1.1) +* [@ckeditor/ckeditor5-ckfinder](https://www.npmjs.com/package/@ckeditor/ckeditor5-ckfinder): v11.0.2 => [v11.0.3](https://github.com/ckeditor/ckeditor5-ckfinder/releases/tag/v11.0.3) +* [@ckeditor/ckeditor5-cloud-services](https://www.npmjs.com/package/@ckeditor/ckeditor5-cloud-services): v11.0.2 => [v11.0.3](https://github.com/ckeditor/ckeditor5-cloud-services/releases/tag/v11.0.3) +* [@ckeditor/ckeditor5-easy-image](https://www.npmjs.com/package/@ckeditor/ckeditor5-easy-image): v11.0.2 => [v11.0.3](https://github.com/ckeditor/ckeditor5-easy-image/releases/tag/v11.0.3) +* [@ckeditor/ckeditor5-editor-classic](https://www.npmjs.com/package/@ckeditor/ckeditor5-editor-classic): v12.1.1 => [v12.1.2](https://github.com/ckeditor/ckeditor5-editor-classic/releases/tag/v12.1.2) +* [@ckeditor/ckeditor5-enter](https://www.npmjs.com/package/@ckeditor/ckeditor5-enter): v11.0.2 => [v11.0.3](https://github.com/ckeditor/ckeditor5-enter/releases/tag/v11.0.3) +* [@ckeditor/ckeditor5-essentials](https://www.npmjs.com/package/@ckeditor/ckeditor5-essentials): v11.0.2 => [v11.0.3](https://github.com/ckeditor/ckeditor5-essentials/releases/tag/v11.0.3) +* [@ckeditor/ckeditor5-heading](https://www.npmjs.com/package/@ckeditor/ckeditor5-heading): v11.0.2 => [v11.0.3](https://github.com/ckeditor/ckeditor5-heading/releases/tag/v11.0.3) +* [@ckeditor/ckeditor5-image](https://www.npmjs.com/package/@ckeditor/ckeditor5-image): v13.1.0 => [v13.1.1](https://github.com/ckeditor/ckeditor5-image/releases/tag/v13.1.1) +* [@ckeditor/ckeditor5-list](https://www.npmjs.com/package/@ckeditor/ckeditor5-list): v12.0.2 => [v12.0.3](https://github.com/ckeditor/ckeditor5-list/releases/tag/v12.0.3) +* [@ckeditor/ckeditor5-media-embed](https://www.npmjs.com/package/@ckeditor/ckeditor5-media-embed): v11.1.1 => [v11.1.2](https://github.com/ckeditor/ckeditor5-media-embed/releases/tag/v11.1.2) +* [@ckeditor/ckeditor5-paragraph](https://www.npmjs.com/package/@ckeditor/ckeditor5-paragraph): v11.0.2 => [v11.0.3](https://github.com/ckeditor/ckeditor5-paragraph/releases/tag/v11.0.3) +* [@ckeditor/ckeditor5-paste-from-office](https://www.npmjs.com/package/@ckeditor/ckeditor5-paste-from-office): v11.0.2 => [v11.0.3](https://github.com/ckeditor/ckeditor5-paste-from-office/releases/tag/v11.0.3) +* [@ckeditor/ckeditor5-table](https://www.npmjs.com/package/@ckeditor/ckeditor5-table): v13.0.0 => [v13.0.1](https://github.com/ckeditor/ckeditor5-table/releases/tag/v13.0.1) +* [@ckeditor/ckeditor5-ui](https://www.npmjs.com/package/@ckeditor/ckeditor5-ui): v13.0.0 => [v13.0.1](https://github.com/ckeditor/ckeditor5-ui/releases/tag/v13.0.1) +* [@ckeditor/ckeditor5-undo](https://www.npmjs.com/package/@ckeditor/ckeditor5-undo): v11.0.2 => [v11.0.3](https://github.com/ckeditor/ckeditor5-undo/releases/tag/v11.0.3) +* [@ckeditor/ckeditor5-widget](https://www.npmjs.com/package/@ckeditor/ckeditor5-widget): v11.0.2 => [v11.0.3](https://github.com/ckeditor/ckeditor5-widget/releases/tag/v11.0.3) + + +## [12.2.0](https://github.com/ckeditor/ckeditor5-build-classic/compare/v12.1.0...v12.2.0) (June 6, 2019) + +We are happy to report the release of CKEditor 5 v12.2.0. This is a minor release with many bug fixes and a new UI feature which allows to navigating between multiple balloons. + +**Note:** The `config.table.toolbar` property that had been deprecated last year has now been completely removed. Use [`config.table.contentToolbar`](https://ckeditor.com/docs/ckeditor5/latest/api/module_table_table-TableConfig.html#member-contentToolbar) instead. + +### Dependencies + +Major releases (contain breaking changes): + +* [@ckeditor/ckeditor5-table](https://www.npmjs.com/package/@ckeditor/ckeditor5-table): v12.0.1 => [v13.0.0](https://github.com/ckeditor/ckeditor5-table/releases/tag/v13.0.0) +* [@ckeditor/ckeditor5-theme-lark](https://www.npmjs.com/package/@ckeditor/ckeditor5-theme-lark): v13.0.1 => [v14.0.0](https://github.com/ckeditor/ckeditor5-theme-lark/releases/tag/v14.0.0) +* [@ckeditor/ckeditor5-ui](https://www.npmjs.com/package/@ckeditor/ckeditor5-ui): v12.1.0 => [v13.0.0](https://github.com/ckeditor/ckeditor5-ui/releases/tag/v13.0.0) + +Minor releases: + +* [@ckeditor/ckeditor5-block-quote](https://www.npmjs.com/package/@ckeditor/ckeditor5-block-quote): v11.0.1 => [v11.1.0](https://github.com/ckeditor/ckeditor5-block-quote/releases/tag/v11.1.0) +* [@ckeditor/ckeditor5-image](https://www.npmjs.com/package/@ckeditor/ckeditor5-image): v13.0.1 => [v13.1.0](https://github.com/ckeditor/ckeditor5-image/releases/tag/v13.1.0) + +Patch releases (bug fixes, internal changes): + +* [@ckeditor/ckeditor5-adapter-ckfinder](https://www.npmjs.com/package/@ckeditor/ckeditor5-adapter-ckfinder): v11.0.1 => [v11.0.2](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/releases/tag/v11.0.2) +* [@ckeditor/ckeditor5-autoformat](https://www.npmjs.com/package/@ckeditor/ckeditor5-autoformat): v11.0.1 => [v11.0.2](https://github.com/ckeditor/ckeditor5-autoformat/releases/tag/v11.0.2) +* [@ckeditor/ckeditor5-basic-styles](https://www.npmjs.com/package/@ckeditor/ckeditor5-basic-styles): v11.1.0 => [v11.1.1](https://github.com/ckeditor/ckeditor5-basic-styles/releases/tag/v11.1.1) +* [@ckeditor/ckeditor5-ckfinder](https://www.npmjs.com/package/@ckeditor/ckeditor5-ckfinder): v11.0.1 => [v11.0.2](https://github.com/ckeditor/ckeditor5-ckfinder/releases/tag/v11.0.2) +* [@ckeditor/ckeditor5-clipboard](https://www.npmjs.com/package/@ckeditor/ckeditor5-clipboard): v11.0.1 => [v11.0.2](https://github.com/ckeditor/ckeditor5-clipboard/releases/tag/v11.0.2) +* [@ckeditor/ckeditor5-cloud-services](https://www.npmjs.com/package/@ckeditor/ckeditor5-cloud-services): v11.0.1 => [v11.0.2](https://github.com/ckeditor/ckeditor5-cloud-services/releases/tag/v11.0.2) +* [@ckeditor/ckeditor5-core](https://www.npmjs.com/package/@ckeditor/ckeditor5-core): v12.1.0 => [v12.1.1](https://github.com/ckeditor/ckeditor5-core/releases/tag/v12.1.1) +* [@ckeditor/ckeditor5-easy-image](https://www.npmjs.com/package/@ckeditor/ckeditor5-easy-image): v11.0.1 => [v11.0.2](https://github.com/ckeditor/ckeditor5-easy-image/releases/tag/v11.0.2) +* [@ckeditor/ckeditor5-editor-classic](https://www.npmjs.com/package/@ckeditor/ckeditor5-editor-classic): v12.1.0 => [v12.1.1](https://github.com/ckeditor/ckeditor5-editor-classic/releases/tag/v12.1.1) +* [@ckeditor/ckeditor5-engine](https://www.npmjs.com/package/@ckeditor/ckeditor5-engine): v13.1.0 => [v13.1.1](https://github.com/ckeditor/ckeditor5-engine/releases/tag/v13.1.1) +* [@ckeditor/ckeditor5-enter](https://www.npmjs.com/package/@ckeditor/ckeditor5-enter): v11.0.1 => [v11.0.2](https://github.com/ckeditor/ckeditor5-enter/releases/tag/v11.0.2) +* [@ckeditor/ckeditor5-essentials](https://www.npmjs.com/package/@ckeditor/ckeditor5-essentials): v11.0.1 => [v11.0.2](https://github.com/ckeditor/ckeditor5-essentials/releases/tag/v11.0.2) +* [@ckeditor/ckeditor5-heading](https://www.npmjs.com/package/@ckeditor/ckeditor5-heading): v11.0.1 => [v11.0.2](https://github.com/ckeditor/ckeditor5-heading/releases/tag/v11.0.2) +* [@ckeditor/ckeditor5-link](https://www.npmjs.com/package/@ckeditor/ckeditor5-link): v11.0.1 => [v11.0.2](https://github.com/ckeditor/ckeditor5-link/releases/tag/v11.0.2) +* [@ckeditor/ckeditor5-list](https://www.npmjs.com/package/@ckeditor/ckeditor5-list): v12.0.1 => [v12.0.2](https://github.com/ckeditor/ckeditor5-list/releases/tag/v12.0.2) +* [@ckeditor/ckeditor5-media-embed](https://www.npmjs.com/package/@ckeditor/ckeditor5-media-embed): v11.1.0 => [v11.1.1](https://github.com/ckeditor/ckeditor5-media-embed/releases/tag/v11.1.1) +* [@ckeditor/ckeditor5-paragraph](https://www.npmjs.com/package/@ckeditor/ckeditor5-paragraph): v11.0.1 => [v11.0.2](https://github.com/ckeditor/ckeditor5-paragraph/releases/tag/v11.0.2) +* [@ckeditor/ckeditor5-paste-from-office](https://www.npmjs.com/package/@ckeditor/ckeditor5-paste-from-office): v11.0.1 => [v11.0.2](https://github.com/ckeditor/ckeditor5-paste-from-office/releases/tag/v11.0.2) +* [@ckeditor/ckeditor5-typing](https://www.npmjs.com/package/@ckeditor/ckeditor5-typing): v12.0.1 => [v12.0.2](https://github.com/ckeditor/ckeditor5-typing/releases/tag/v12.0.2) +* [@ckeditor/ckeditor5-undo](https://www.npmjs.com/package/@ckeditor/ckeditor5-undo): v11.0.1 => [v11.0.2](https://github.com/ckeditor/ckeditor5-undo/releases/tag/v11.0.2) +* [@ckeditor/ckeditor5-upload](https://www.npmjs.com/package/@ckeditor/ckeditor5-upload): v11.0.1 => [v11.0.2](https://github.com/ckeditor/ckeditor5-upload/releases/tag/v11.0.2) +* [@ckeditor/ckeditor5-utils](https://www.npmjs.com/package/@ckeditor/ckeditor5-utils): v12.1.0 => [v12.1.1](https://github.com/ckeditor/ckeditor5-utils/releases/tag/v12.1.1) +* [@ckeditor/ckeditor5-widget](https://www.npmjs.com/package/@ckeditor/ckeditor5-widget): v11.0.1 => [v11.0.2](https://github.com/ckeditor/ckeditor5-widget/releases/tag/v11.0.2) + + +## [12.1.0](https://github.com/ckeditor/ckeditor5-build-classic/compare/v12.0.0...v12.1.0) (April 4, 2019) + +We are happy to report the release of CKEditor 5 v12.1.0. This release introduces 3 new features ([mentions](https://ckeditor.com/docs/ckeditor5/latest/features/mentions.html), [font color and background color](https://ckeditor.com/docs/ckeditor5/latest/features/font.html) and [remove format](https://ckeditor.com/docs/ckeditor5/latest/features/remove-format.html)). + +Check out the linked guides for information how to install and configure those features in your editor. + +### Dependencies + +Minor releases: + +* [@ckeditor/ckeditor5-basic-styles](https://www.npmjs.com/package/@ckeditor/ckeditor5-basic-styles): v11.0.0 => [v11.1.0](https://github.com/ckeditor/ckeditor5-basic-styles/releases/tag/v11.1.0) +* [@ckeditor/ckeditor5-core](https://www.npmjs.com/package/@ckeditor/ckeditor5-core): v12.0.0 => [v12.1.0](https://github.com/ckeditor/ckeditor5-core/releases/tag/v12.1.0) +* [@ckeditor/ckeditor5-editor-classic](https://www.npmjs.com/package/@ckeditor/ckeditor5-editor-classic): v12.0.0 => [v12.1.0](https://github.com/ckeditor/ckeditor5-editor-classic/releases/tag/v12.1.0) +* [@ckeditor/ckeditor5-engine](https://www.npmjs.com/package/@ckeditor/ckeditor5-engine): v13.0.0 => [v13.1.0](https://github.com/ckeditor/ckeditor5-engine/releases/tag/v13.1.0) +* [@ckeditor/ckeditor5-media-embed](https://www.npmjs.com/package/@ckeditor/ckeditor5-media-embed): v11.0.0 => [v11.1.0](https://github.com/ckeditor/ckeditor5-media-embed/releases/tag/v11.1.0) +* [@ckeditor/ckeditor5-ui](https://www.npmjs.com/package/@ckeditor/ckeditor5-ui): v12.0.0 => [v12.1.0](https://github.com/ckeditor/ckeditor5-ui/releases/tag/v12.1.0) +* [@ckeditor/ckeditor5-utils](https://www.npmjs.com/package/@ckeditor/ckeditor5-utils): v12.0.0 => [v12.1.0](https://github.com/ckeditor/ckeditor5-utils/releases/tag/v12.1.0) + +Patch releases (bug fixes, internal changes): + +* [@ckeditor/ckeditor5-adapter-ckfinder](https://www.npmjs.com/package/@ckeditor/ckeditor5-adapter-ckfinder): v11.0.0 => [v11.0.1](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/releases/tag/v11.0.1) +* [@ckeditor/ckeditor5-autoformat](https://www.npmjs.com/package/@ckeditor/ckeditor5-autoformat): v11.0.0 => [v11.0.1](https://github.com/ckeditor/ckeditor5-autoformat/releases/tag/v11.0.1) +* [@ckeditor/ckeditor5-block-quote](https://www.npmjs.com/package/@ckeditor/ckeditor5-block-quote): v11.0.0 => [v11.0.1](https://github.com/ckeditor/ckeditor5-block-quote/releases/tag/v11.0.1) +* [@ckeditor/ckeditor5-ckfinder](https://www.npmjs.com/package/@ckeditor/ckeditor5-ckfinder): v11.0.0 => [v11.0.1](https://github.com/ckeditor/ckeditor5-ckfinder/releases/tag/v11.0.1) +* [@ckeditor/ckeditor5-clipboard](https://www.npmjs.com/package/@ckeditor/ckeditor5-clipboard): v11.0.0 => [v11.0.1](https://github.com/ckeditor/ckeditor5-clipboard/releases/tag/v11.0.1) +* [@ckeditor/ckeditor5-cloud-services](https://www.npmjs.com/package/@ckeditor/ckeditor5-cloud-services): v11.0.0 => [v11.0.1](https://github.com/ckeditor/ckeditor5-cloud-services/releases/tag/v11.0.1) +* [@ckeditor/ckeditor5-easy-image](https://www.npmjs.com/package/@ckeditor/ckeditor5-easy-image): v11.0.0 => [v11.0.1](https://github.com/ckeditor/ckeditor5-easy-image/releases/tag/v11.0.1) +* [@ckeditor/ckeditor5-enter](https://www.npmjs.com/package/@ckeditor/ckeditor5-enter): v11.0.0 => [v11.0.1](https://github.com/ckeditor/ckeditor5-enter/releases/tag/v11.0.1) +* [@ckeditor/ckeditor5-essentials](https://www.npmjs.com/package/@ckeditor/ckeditor5-essentials): v11.0.0 => [v11.0.1](https://github.com/ckeditor/ckeditor5-essentials/releases/tag/v11.0.1) +* [@ckeditor/ckeditor5-heading](https://www.npmjs.com/package/@ckeditor/ckeditor5-heading): v11.0.0 => [v11.0.1](https://github.com/ckeditor/ckeditor5-heading/releases/tag/v11.0.1) +* [@ckeditor/ckeditor5-image](https://www.npmjs.com/package/@ckeditor/ckeditor5-image): v13.0.0 => [v13.0.1](https://github.com/ckeditor/ckeditor5-image/releases/tag/v13.0.1) +* [@ckeditor/ckeditor5-link](https://www.npmjs.com/package/@ckeditor/ckeditor5-link): v11.0.0 => [v11.0.1](https://github.com/ckeditor/ckeditor5-link/releases/tag/v11.0.1) +* [@ckeditor/ckeditor5-list](https://www.npmjs.com/package/@ckeditor/ckeditor5-list): v12.0.0 => [v12.0.1](https://github.com/ckeditor/ckeditor5-list/releases/tag/v12.0.1) +* [@ckeditor/ckeditor5-paragraph](https://www.npmjs.com/package/@ckeditor/ckeditor5-paragraph): v11.0.0 => [v11.0.1](https://github.com/ckeditor/ckeditor5-paragraph/releases/tag/v11.0.1) +* [@ckeditor/ckeditor5-paste-from-office](https://www.npmjs.com/package/@ckeditor/ckeditor5-paste-from-office): v11.0.0 => [v11.0.1](https://github.com/ckeditor/ckeditor5-paste-from-office/releases/tag/v11.0.1) +* [@ckeditor/ckeditor5-table](https://www.npmjs.com/package/@ckeditor/ckeditor5-table): v12.0.0 => [v12.0.1](https://github.com/ckeditor/ckeditor5-table/releases/tag/v12.0.1) +* [@ckeditor/ckeditor5-theme-lark](https://www.npmjs.com/package/@ckeditor/ckeditor5-theme-lark): v13.0.0 => [v13.0.1](https://github.com/ckeditor/ckeditor5-theme-lark/releases/tag/v13.0.1) +* [@ckeditor/ckeditor5-typing](https://www.npmjs.com/package/@ckeditor/ckeditor5-typing): v12.0.0 => [v12.0.1](https://github.com/ckeditor/ckeditor5-typing/releases/tag/v12.0.1) +* [@ckeditor/ckeditor5-undo](https://www.npmjs.com/package/@ckeditor/ckeditor5-undo): v11.0.0 => [v11.0.1](https://github.com/ckeditor/ckeditor5-undo/releases/tag/v11.0.1) +* [@ckeditor/ckeditor5-upload](https://www.npmjs.com/package/@ckeditor/ckeditor5-upload): v11.0.0 => [v11.0.1](https://github.com/ckeditor/ckeditor5-upload/releases/tag/v11.0.1) +* [@ckeditor/ckeditor5-widget](https://www.npmjs.com/package/@ckeditor/ckeditor5-widget): v11.0.0 => [v11.0.1](https://github.com/ckeditor/ckeditor5-widget/releases/tag/v11.0.1) + + +## [12.0.0](https://github.com/ckeditor/ckeditor5-build-classic/compare/v11.2.0...v12.0.0) (February 28, 2019) + +We are happy to report the release of CKEditor 5 v12.0.0. This release introduces a new editor (called "[Balloon block editor](https://ckeditor.com/docs/ckeditor5/latest/examples/builds/balloon-block-editor.html)"), the [editor content placeholder](https://ckeditor.com/docs/ckeditor5/latest/features/editor-placeholder.html) and support for inline widgets (watch [this PR](https://github.com/ckeditor/ckeditor5/pull/1587) for updates). In addition to that we enabled media embeds and images in tables and resolved the issue where `editor.getData()` returned `

 

` for empty content (now it returns an empty string in this case). + +Besides new features, this release contains many improvements to stability, [performance](https://github.com/ckeditor/ckeditor5-utils/issues/269) and API. The last group of changes contain many breaking ones. Make sure to read the [main package's changelog](https://github.com/ckeditor/ckeditor5/releases/tag/v12.0.0). + +### Dependencies + +Major releases (contain breaking changes): + +* [@ckeditor/ckeditor5-adapter-ckfinder](https://www.npmjs.com/package/@ckeditor/ckeditor5-adapter-ckfinder): v10.0.4 => [v11.0.0](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/releases/tag/v11.0.0) +* [@ckeditor/ckeditor5-autoformat](https://www.npmjs.com/package/@ckeditor/ckeditor5-autoformat): v10.0.4 => [v11.0.0](https://github.com/ckeditor/ckeditor5-autoformat/releases/tag/v11.0.0) +* [@ckeditor/ckeditor5-basic-styles](https://www.npmjs.com/package/@ckeditor/ckeditor5-basic-styles): v10.1.0 => [v11.0.0](https://github.com/ckeditor/ckeditor5-basic-styles/releases/tag/v11.0.0) +* [@ckeditor/ckeditor5-block-quote](https://www.npmjs.com/package/@ckeditor/ckeditor5-block-quote): v10.1.1 => [v11.0.0](https://github.com/ckeditor/ckeditor5-block-quote/releases/tag/v11.0.0) +* [@ckeditor/ckeditor5-ckfinder](https://www.npmjs.com/package/@ckeditor/ckeditor5-ckfinder): v10.0.0 => [v11.0.0](https://github.com/ckeditor/ckeditor5-ckfinder/releases/tag/v11.0.0) +* [@ckeditor/ckeditor5-clipboard](https://www.npmjs.com/package/@ckeditor/ckeditor5-clipboard): v10.0.4 => [v11.0.0](https://github.com/ckeditor/ckeditor5-clipboard/releases/tag/v11.0.0) +* [@ckeditor/ckeditor5-cloud-services](https://www.npmjs.com/package/@ckeditor/ckeditor5-cloud-services): v10.1.1 => [v11.0.0](https://github.com/ckeditor/ckeditor5-cloud-services/releases/tag/v11.0.0) +* [@ckeditor/ckeditor5-core](https://www.npmjs.com/package/@ckeditor/ckeditor5-core): v11.1.0 => [v12.0.0](https://github.com/ckeditor/ckeditor5-core/releases/tag/v12.0.0) +* [@ckeditor/ckeditor5-easy-image](https://www.npmjs.com/package/@ckeditor/ckeditor5-easy-image): v10.0.4 => [v11.0.0](https://github.com/ckeditor/ckeditor5-easy-image/releases/tag/v11.0.0) +* [@ckeditor/ckeditor5-editor-classic](https://www.npmjs.com/package/@ckeditor/ckeditor5-editor-classic): v11.0.2 => [v12.0.0](https://github.com/ckeditor/ckeditor5-editor-classic/releases/tag/v12.0.0) +* [@ckeditor/ckeditor5-engine](https://www.npmjs.com/package/@ckeditor/ckeditor5-engine): v12.0.0 => [v13.0.0](https://github.com/ckeditor/ckeditor5-engine/releases/tag/v13.0.0) +* [@ckeditor/ckeditor5-enter](https://www.npmjs.com/package/@ckeditor/ckeditor5-enter): v10.1.3 => [v11.0.0](https://github.com/ckeditor/ckeditor5-enter/releases/tag/v11.0.0) +* [@ckeditor/ckeditor5-essentials](https://www.npmjs.com/package/@ckeditor/ckeditor5-essentials): v10.1.3 => [v11.0.0](https://github.com/ckeditor/ckeditor5-essentials/releases/tag/v11.0.0) +* [@ckeditor/ckeditor5-heading](https://www.npmjs.com/package/@ckeditor/ckeditor5-heading): v10.1.1 => [v11.0.0](https://github.com/ckeditor/ckeditor5-heading/releases/tag/v11.0.0) +* [@ckeditor/ckeditor5-image](https://www.npmjs.com/package/@ckeditor/ckeditor5-image): v12.0.0 => [v13.0.0](https://github.com/ckeditor/ckeditor5-image/releases/tag/v13.0.0) +* [@ckeditor/ckeditor5-link](https://www.npmjs.com/package/@ckeditor/ckeditor5-link): v10.1.0 => [v11.0.0](https://github.com/ckeditor/ckeditor5-link/releases/tag/v11.0.0) +* [@ckeditor/ckeditor5-list](https://www.npmjs.com/package/@ckeditor/ckeditor5-list): v11.0.3 => [v12.0.0](https://github.com/ckeditor/ckeditor5-list/releases/tag/v12.0.0) +* [@ckeditor/ckeditor5-media-embed](https://www.npmjs.com/package/@ckeditor/ckeditor5-media-embed): v10.1.0 => [v11.0.0](https://github.com/ckeditor/ckeditor5-media-embed/releases/tag/v11.0.0) +* [@ckeditor/ckeditor5-paragraph](https://www.npmjs.com/package/@ckeditor/ckeditor5-paragraph): v10.0.4 => [v11.0.0](https://github.com/ckeditor/ckeditor5-paragraph/releases/tag/v11.0.0) +* [@ckeditor/ckeditor5-paste-from-office](https://www.npmjs.com/package/@ckeditor/ckeditor5-paste-from-office): v10.0.0 => [v11.0.0](https://github.com/ckeditor/ckeditor5-paste-from-office/releases/tag/v11.0.0) +* [@ckeditor/ckeditor5-table](https://www.npmjs.com/package/@ckeditor/ckeditor5-table): v11.0.1 => [v12.0.0](https://github.com/ckeditor/ckeditor5-table/releases/tag/v12.0.0) +* [@ckeditor/ckeditor5-theme-lark](https://www.npmjs.com/package/@ckeditor/ckeditor5-theme-lark): v12.0.0 => [v13.0.0](https://github.com/ckeditor/ckeditor5-theme-lark/releases/tag/v13.0.0) +* [@ckeditor/ckeditor5-typing](https://www.npmjs.com/package/@ckeditor/ckeditor5-typing): v11.0.2 => [v12.0.0](https://github.com/ckeditor/ckeditor5-typing/releases/tag/v12.0.0) +* [@ckeditor/ckeditor5-ui](https://www.npmjs.com/package/@ckeditor/ckeditor5-ui): v11.2.0 => [v12.0.0](https://github.com/ckeditor/ckeditor5-ui/releases/tag/v12.0.0) +* [@ckeditor/ckeditor5-undo](https://www.npmjs.com/package/@ckeditor/ckeditor5-undo): v10.0.4 => [v11.0.0](https://github.com/ckeditor/ckeditor5-undo/releases/tag/v11.0.0) +* [@ckeditor/ckeditor5-upload](https://www.npmjs.com/package/@ckeditor/ckeditor5-upload): v10.0.4 => [v11.0.0](https://github.com/ckeditor/ckeditor5-upload/releases/tag/v11.0.0) +* [@ckeditor/ckeditor5-utils](https://www.npmjs.com/package/@ckeditor/ckeditor5-utils): v11.1.0 => [v12.0.0](https://github.com/ckeditor/ckeditor5-utils/releases/tag/v12.0.0) +* [@ckeditor/ckeditor5-widget](https://www.npmjs.com/package/@ckeditor/ckeditor5-widget): v10.3.1 => [v11.0.0](https://github.com/ckeditor/ckeditor5-widget/releases/tag/v11.0.0) + +### BREAKING CHANGES + +* Upgraded minimal versions of Node to `8.0.0` and npm to `5.7.1`. See: [ckeditor/ckeditor5#1507](https://github.com/ckeditor/ckeditor5/issues/1507). ([612ea3c](https://github.com/ckeditor/ckeditor5-cloud-services/commit/612ea3c)) + + +## [11.2.0](https://github.com/ckeditor/ckeditor5-build-classic/compare/v11.1.1...v11.2.0) (December 5, 2018) + +We are happy to report the release of CKEditor 5 v11.2.0. This editor version brings the long-awaited [support for paste from Office](https://ckeditor.com/docs/ckeditor5/latest/features/paste-from-word.html) (for example, from Microsoft Word), [integration with CKFinder file manager](https://ckeditor.com/docs/ckeditor5/latest/features/ckfinder.html), improved [image upload documentation](https://ckeditor.com/docs/ckeditor5/latest/features/image-upload.html), improved [editor UI on mobile devices](https://github.com/ckeditor/ckeditor5/issues/416#issuecomment-430246472), as well as many smaller features and improvements. + +Blog post is coming soon... + +### Dependencies + +New packages: + +* [@ckeditor/ckeditor5-ckfinder](https://www.npmjs.com/package/@ckeditor/ckeditor5-ckfinder): [v10.0.0](https://github.com/ckeditor/ckeditor5-ckfinder/releases/tag/v10.0.0) +* [@ckeditor/ckeditor5-paste-from-office](https://www.npmjs.com/package/@ckeditor/ckeditor5-paste-from-office): [v10.0.0](https://github.com/ckeditor/ckeditor5-paste-from-office/releases/tag/v10.0.0) + +Major releases (contain breaking changes): + +* [@ckeditor/ckeditor5-engine](https://www.npmjs.com/package/@ckeditor/ckeditor5-engine): v11.0.0 => [v12.0.0](https://github.com/ckeditor/ckeditor5-engine/releases/tag/v12.0.0) +* [@ckeditor/ckeditor5-image](https://www.npmjs.com/package/@ckeditor/ckeditor5-image): v11.0.0 => [v12.0.0](https://github.com/ckeditor/ckeditor5-image/releases/tag/v12.0.0) +* [@ckeditor/ckeditor5-theme-lark](https://www.npmjs.com/package/@ckeditor/ckeditor5-theme-lark): v11.1.0 => [v12.0.0](https://github.com/ckeditor/ckeditor5-theme-lark/releases/tag/v12.0.0) + +Minor releases: + +* [@ckeditor/ckeditor5-basic-styles](https://www.npmjs.com/package/@ckeditor/ckeditor5-basic-styles): v10.0.3 => [v10.1.0](https://github.com/ckeditor/ckeditor5-basic-styles/releases/tag/v10.1.0) +* [@ckeditor/ckeditor5-core](https://www.npmjs.com/package/@ckeditor/ckeditor5-core): v11.0.1 => [v11.1.0](https://github.com/ckeditor/ckeditor5-core/releases/tag/v11.1.0) +* [@ckeditor/ckeditor5-link](https://www.npmjs.com/package/@ckeditor/ckeditor5-link): v10.0.4 => [v10.1.0](https://github.com/ckeditor/ckeditor5-link/releases/tag/v10.1.0) +* [@ckeditor/ckeditor5-media-embed](https://www.npmjs.com/package/@ckeditor/ckeditor5-media-embed): v10.0.0 => [v10.1.0](https://github.com/ckeditor/ckeditor5-media-embed/releases/tag/v10.1.0) +* [@ckeditor/ckeditor5-ui](https://www.npmjs.com/package/@ckeditor/ckeditor5-ui): v11.1.0 => [v11.2.0](https://github.com/ckeditor/ckeditor5-ui/releases/tag/v11.2.0) +* [@ckeditor/ckeditor5-utils](https://www.npmjs.com/package/@ckeditor/ckeditor5-utils): v11.0.0 => [v11.1.0](https://github.com/ckeditor/ckeditor5-utils/releases/tag/v11.1.0) + +Patch releases (bug fixes, internal changes): + +* [@ckeditor/ckeditor5-adapter-ckfinder](https://www.npmjs.com/package/@ckeditor/ckeditor5-adapter-ckfinder): v10.0.3 => [v10.0.4](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/releases/tag/v10.0.4) +* [@ckeditor/ckeditor5-autoformat](https://www.npmjs.com/package/@ckeditor/ckeditor5-autoformat): v10.0.3 => [v10.0.4](https://github.com/ckeditor/ckeditor5-autoformat/releases/tag/v10.0.4) +* [@ckeditor/ckeditor5-block-quote](https://www.npmjs.com/package/@ckeditor/ckeditor5-block-quote): v10.1.0 => [v10.1.1](https://github.com/ckeditor/ckeditor5-block-quote/releases/tag/v10.1.1) +* [@ckeditor/ckeditor5-clipboard](https://www.npmjs.com/package/@ckeditor/ckeditor5-clipboard): v10.0.3 => [v10.0.4](https://github.com/ckeditor/ckeditor5-clipboard/releases/tag/v10.0.4) +* [@ckeditor/ckeditor5-cloud-services](https://www.npmjs.com/package/@ckeditor/ckeditor5-cloud-services): v10.1.0 => [v10.1.1](https://github.com/ckeditor/ckeditor5-cloud-services/releases/tag/v10.1.1) +* [@ckeditor/ckeditor5-easy-image](https://www.npmjs.com/package/@ckeditor/ckeditor5-easy-image): v10.0.3 => [v10.0.4](https://github.com/ckeditor/ckeditor5-easy-image/releases/tag/v10.0.4) +* [@ckeditor/ckeditor5-editor-classic](https://www.npmjs.com/package/@ckeditor/ckeditor5-editor-classic): v11.0.1 => [v11.0.2](https://github.com/ckeditor/ckeditor5-editor-classic/releases/tag/v11.0.2) +* [@ckeditor/ckeditor5-enter](https://www.npmjs.com/package/@ckeditor/ckeditor5-enter): v10.1.2 => [v10.1.3](https://github.com/ckeditor/ckeditor5-enter/releases/tag/v10.1.3) +* [@ckeditor/ckeditor5-essentials](https://www.npmjs.com/package/@ckeditor/ckeditor5-essentials): v10.1.2 => [v10.1.3](https://github.com/ckeditor/ckeditor5-essentials/releases/tag/v10.1.3) +* [@ckeditor/ckeditor5-heading](https://www.npmjs.com/package/@ckeditor/ckeditor5-heading): v10.1.0 => [v10.1.1](https://github.com/ckeditor/ckeditor5-heading/releases/tag/v10.1.1) +* [@ckeditor/ckeditor5-list](https://www.npmjs.com/package/@ckeditor/ckeditor5-list): v11.0.2 => [v11.0.3](https://github.com/ckeditor/ckeditor5-list/releases/tag/v11.0.3) +* [@ckeditor/ckeditor5-paragraph](https://www.npmjs.com/package/@ckeditor/ckeditor5-paragraph): v10.0.3 => [v10.0.4](https://github.com/ckeditor/ckeditor5-paragraph/releases/tag/v10.0.4) +* [@ckeditor/ckeditor5-table](https://www.npmjs.com/package/@ckeditor/ckeditor5-table): v11.0.0 => [v11.0.1](https://github.com/ckeditor/ckeditor5-table/releases/tag/v11.0.1) +* [@ckeditor/ckeditor5-typing](https://www.npmjs.com/package/@ckeditor/ckeditor5-typing): v11.0.1 => [v11.0.2](https://github.com/ckeditor/ckeditor5-typing/releases/tag/v11.0.2) +* [@ckeditor/ckeditor5-undo](https://www.npmjs.com/package/@ckeditor/ckeditor5-undo): v10.0.3 => [v10.0.4](https://github.com/ckeditor/ckeditor5-undo/releases/tag/v10.0.4) +* [@ckeditor/ckeditor5-upload](https://www.npmjs.com/package/@ckeditor/ckeditor5-upload): v10.0.3 => [v10.0.4](https://github.com/ckeditor/ckeditor5-upload/releases/tag/v10.0.4) +* [@ckeditor/ckeditor5-widget](https://www.npmjs.com/package/@ckeditor/ckeditor5-widget): v10.3.0 => [v10.3.1](https://github.com/ckeditor/ckeditor5-widget/releases/tag/v10.3.1) + + +## [11.1.1](https://github.com/ckeditor/ckeditor5-build-classic/compare/v11.1.0...v11.1.1) (October 11, 2018) + +This releases fixes the README of this package on npm. + + +## [11.1.0](https://github.com/ckeditor/ckeditor5-build-classic/compare/v11.0.1...v11.1.0) (October 8, 2018) + +This is a minor release. Besides updating all used CKEditor 5 packages to their latest versions it brings two new features: the [Table](https://ckeditor.com/docs/ckeditor5/latest/features/table.html) and [Media embed](https://ckeditor.com/docs/ckeditor5/latest/features/media-embed.html) features which are now enabled in this build by default. + +Read more in the blog post: https://ckeditor.com/blog/CKEditor-5-v11.1.0-released/ + +### Dependencies + +Major releases (contain breaking changes): + +* [@ckeditor/ckeditor5-engine](https://www.npmjs.com/package/@ckeditor/ckeditor5-engine): v10.2.0 => [v11.0.0](https://github.com/ckeditor/ckeditor5-engine/releases/tag/v11.0.0) +* [@ckeditor/ckeditor5-image](https://www.npmjs.com/package/@ckeditor/ckeditor5-image): v10.2.0 => [v11.0.0](https://github.com/ckeditor/ckeditor5-image/releases/tag/v11.0.0) +* [@ckeditor/ckeditor5-table](https://www.npmjs.com/package/@ckeditor/ckeditor5-table): v10.1.0 => [v11.0.0](https://github.com/ckeditor/ckeditor5-table/releases/tag/v11.0.0) + +Minor releases: + +* [@ckeditor/ckeditor5-cloud-services](https://www.npmjs.com/package/@ckeditor/ckeditor5-cloud-services): v10.0.2 => [v10.1.0](https://github.com/ckeditor/ckeditor5-cloud-services/releases/tag/v10.1.0) +* [@ckeditor/ckeditor5-theme-lark](https://www.npmjs.com/package/@ckeditor/ckeditor5-theme-lark): v11.0.0 => [v11.1.0](https://github.com/ckeditor/ckeditor5-theme-lark/releases/tag/v11.1.0) +* [@ckeditor/ckeditor5-ui](https://www.npmjs.com/package/@ckeditor/ckeditor5-ui): v11.0.0 => [v11.1.0](https://github.com/ckeditor/ckeditor5-ui/releases/tag/v11.1.0) +* [@ckeditor/ckeditor5-widget](https://www.npmjs.com/package/@ckeditor/ckeditor5-widget): v10.2.0 => [v10.3.0](https://github.com/ckeditor/ckeditor5-widget/releases/tag/v10.3.0) + +Patch releases (bug fixes, internal changes): + +* [@ckeditor/ckeditor5-adapter-ckfinder](https://www.npmjs.com/package/@ckeditor/ckeditor5-adapter-ckfinder): v10.0.2 => [v10.0.3](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/releases/tag/v10.0.3) +* [@ckeditor/ckeditor5-autoformat](https://www.npmjs.com/package/@ckeditor/ckeditor5-autoformat): v10.0.2 => [v10.0.3](https://github.com/ckeditor/ckeditor5-autoformat/releases/tag/v10.0.3) +* [@ckeditor/ckeditor5-basic-styles](https://www.npmjs.com/package/@ckeditor/ckeditor5-basic-styles): v10.0.2 => [v10.0.3](https://github.com/ckeditor/ckeditor5-basic-styles/releases/tag/v10.0.3) +* [@ckeditor/ckeditor5-block-quote](https://www.npmjs.com/package/@ckeditor/ckeditor5-block-quote): v10.0.2 => [v10.0.3](https://github.com/ckeditor/ckeditor5-block-quote/releases/tag/v10.0.3) +* [@ckeditor/ckeditor5-clipboard](https://www.npmjs.com/package/@ckeditor/ckeditor5-clipboard): v10.0.2 => [v10.0.3](https://github.com/ckeditor/ckeditor5-clipboard/releases/tag/v10.0.3) +* [@ckeditor/ckeditor5-core](https://www.npmjs.com/package/@ckeditor/ckeditor5-core): v11.0.0 => [v11.0.1](https://github.com/ckeditor/ckeditor5-core/releases/tag/v11.0.1) +* [@ckeditor/ckeditor5-easy-image](https://www.npmjs.com/package/@ckeditor/ckeditor5-easy-image): v10.0.2 => [v10.0.3](https://github.com/ckeditor/ckeditor5-easy-image/releases/tag/v10.0.3) +* [@ckeditor/ckeditor5-editor-classic](https://www.npmjs.com/package/@ckeditor/ckeditor5-editor-classic): v11.0.0 => [v11.0.1](https://github.com/ckeditor/ckeditor5-editor-classic/releases/tag/v11.0.1) +* [@ckeditor/ckeditor5-enter](https://www.npmjs.com/package/@ckeditor/ckeditor5-enter): v10.1.1 => [v10.1.2](https://github.com/ckeditor/ckeditor5-enter/releases/tag/v10.1.2) +* [@ckeditor/ckeditor5-essentials](https://www.npmjs.com/package/@ckeditor/ckeditor5-essentials): v10.1.1 => [v10.1.2](https://github.com/ckeditor/ckeditor5-essentials/releases/tag/v10.1.2) +* [@ckeditor/ckeditor5-heading](https://www.npmjs.com/package/@ckeditor/ckeditor5-heading): v10.0.2 => [v10.0.3](https://github.com/ckeditor/ckeditor5-heading/releases/tag/v10.0.3) +* [@ckeditor/ckeditor5-link](https://www.npmjs.com/package/@ckeditor/ckeditor5-link): v10.0.3 => [v10.0.4](https://github.com/ckeditor/ckeditor5-link/releases/tag/v10.0.4) +* [@ckeditor/ckeditor5-list](https://www.npmjs.com/package/@ckeditor/ckeditor5-list): v11.0.1 => [v11.0.2](https://github.com/ckeditor/ckeditor5-list/releases/tag/v11.0.2) +* [@ckeditor/ckeditor5-paragraph](https://www.npmjs.com/package/@ckeditor/ckeditor5-paragraph): v10.0.2 => [v10.0.3](https://github.com/ckeditor/ckeditor5-paragraph/releases/tag/v10.0.3) +* [@ckeditor/ckeditor5-typing](https://www.npmjs.com/package/@ckeditor/ckeditor5-typing): v11.0.0 => [v11.0.1](https://github.com/ckeditor/ckeditor5-typing/releases/tag/v11.0.1) +* [@ckeditor/ckeditor5-undo](https://www.npmjs.com/package/@ckeditor/ckeditor5-undo): v10.0.2 => [v10.0.3](https://github.com/ckeditor/ckeditor5-undo/releases/tag/v10.0.3) +* [@ckeditor/ckeditor5-upload](https://www.npmjs.com/package/@ckeditor/ckeditor5-upload): v10.0.2 => [v10.0.3](https://github.com/ckeditor/ckeditor5-upload/releases/tag/v10.0.3) +* [@ckeditor/ckeditor5-utils](https://www.npmjs.com/package/@ckeditor/ckeditor5-utils): v10.2.1 => [v10.2.2](https://github.com/ckeditor/ckeditor5-utils/releases/tag/v10.2.2) + +### Features + +Besides new features introduced by the dependencies, this version also introduces the following features: + +* Added the table and media embed features to the build. See [ckeditor/ckeditor5#1247](https://github.com/ckeditor/ckeditor5/issues/1247). ([01281a1](https://github.com/ckeditor/ckeditor5-build-classic/commit/01281a1)) + + +## [11.0.1](https://github.com/ckeditor/ckeditor5-build-classic/compare/v11.0.0...v11.0.1) (July 18, 2018) + +Internal changes only (updated dependencies, documentation, etc.). + + +## [11.0.0](https://github.com/ckeditor/ckeditor5-build-classic/compare/v10.1.0...v11.0.0) (July 18, 2018) + +### Release notes + +This is a major releases that introduces many smaller features, dozens of bug fixes and a couple of infrastructure changes (an upgrade to `webpack@4`, simplified structure of the build repository). Additionally, the `ClassicEditor#element` property was renamed to `ClassicEditor#sourceElement` and the `ClassicEditor#updateElement()` method was renamed to `ClassicEditor#updateSourceElement()`. + +If you maintain a [custom build of CKEditor 5](https://ckeditor.com/docs/ckeditor5/latest/installation/advanced/alternative-setups/custom-builds.html) or [integrate CKEditor 5 from source](https://ckeditor.com/docs/ckeditor5/latest/installation/advanced/alternative-setups/integrating-from-source-webpack.html), we recommend reading the [migration guide](https://github.com/ckeditor/ckeditor5/issues/1136). + +Read more in the blog post: https://ckeditor.com/blog/CKEditor-5-v11.0.0-released/ + +### Dependencies + +Major releases (contain breaking changes): + +* [@ckeditor/ckeditor5-core](https://www.npmjs.com/package/@ckeditor/ckeditor5-core): v10.1.0 => [v11.0.0](https://github.com/ckeditor/ckeditor5-core/releases/tag/v11.0.0) +* [@ckeditor/ckeditor5-editor-classic](https://www.npmjs.com/package/@ckeditor/ckeditor5-editor-classic): v10.0.1 => [v11.0.0](https://github.com/ckeditor/ckeditor5-editor-classic/releases/tag/v11.0.0) +* [@ckeditor/ckeditor5-theme-lark](https://www.npmjs.com/package/@ckeditor/ckeditor5-theme-lark): v10.1.0 => [v11.0.0](https://github.com/ckeditor/ckeditor5-theme-lark/releases/tag/v11.0.0) +* [@ckeditor/ckeditor5-typing](https://www.npmjs.com/package/@ckeditor/ckeditor5-typing): v10.0.1 => [v11.0.0](https://github.com/ckeditor/ckeditor5-typing/releases/tag/v11.0.0) +* [@ckeditor/ckeditor5-ui](https://www.npmjs.com/package/@ckeditor/ckeditor5-ui): v10.1.0 => [v11.0.0](https://github.com/ckeditor/ckeditor5-ui/releases/tag/v11.0.0) + +Minor releases: + +* [@ckeditor/ckeditor5-engine](https://www.npmjs.com/package/@ckeditor/ckeditor5-engine): v10.1.0 => [v10.2.0](https://github.com/ckeditor/ckeditor5-engine/releases/tag/v10.2.0) +* [@ckeditor/ckeditor5-image](https://www.npmjs.com/package/@ckeditor/ckeditor5-image): v10.1.0 => [v10.2.0](https://github.com/ckeditor/ckeditor5-image/releases/tag/v10.2.0) +* [@ckeditor/ckeditor5-utils](https://www.npmjs.com/package/@ckeditor/ckeditor5-utils): v10.1.0 => [v10.2.0](https://github.com/ckeditor/ckeditor5-utils/releases/tag/v10.2.0) +* [@ckeditor/ckeditor5-widget](https://www.npmjs.com/package/@ckeditor/ckeditor5-widget): v10.1.0 => [v10.2.0](https://github.com/ckeditor/ckeditor5-widget/releases/tag/v10.2.0) + +Patch releases (bug fixes, internal changes): + +* [@ckeditor/ckeditor5-adapter-ckfinder](https://www.npmjs.com/package/@ckeditor/ckeditor5-adapter-ckfinder): v10.0.1 => [v10.0.2](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/releases/tag/v10.0.2) +* [@ckeditor/ckeditor5-autoformat](https://www.npmjs.com/package/@ckeditor/ckeditor5-autoformat): v10.0.1 => [v10.0.2](https://github.com/ckeditor/ckeditor5-autoformat/releases/tag/v10.0.2) +* [@ckeditor/ckeditor5-basic-styles](https://www.npmjs.com/package/@ckeditor/ckeditor5-basic-styles): v10.0.1 => [v10.0.2](https://github.com/ckeditor/ckeditor5-basic-styles/releases/tag/v10.0.2) +* [@ckeditor/ckeditor5-block-quote](https://www.npmjs.com/package/@ckeditor/ckeditor5-block-quote): v10.0.1 => [v10.0.2](https://github.com/ckeditor/ckeditor5-block-quote/releases/tag/v10.0.2) +* [@ckeditor/ckeditor5-clipboard](https://www.npmjs.com/package/@ckeditor/ckeditor5-clipboard): v10.0.1 => [v10.0.2](https://github.com/ckeditor/ckeditor5-clipboard/releases/tag/v10.0.2) +* [@ckeditor/ckeditor5-cloud-services](https://www.npmjs.com/package/@ckeditor/ckeditor5-cloud-services): v10.0.1 => [v10.0.2](https://github.com/ckeditor/ckeditor5-cloud-services/releases/tag/v10.0.2) +* [@ckeditor/ckeditor5-easy-image](https://www.npmjs.com/package/@ckeditor/ckeditor5-easy-image): v10.0.1 => [v10.0.2](https://github.com/ckeditor/ckeditor5-easy-image/releases/tag/v10.0.2) +* [@ckeditor/ckeditor5-enter](https://www.npmjs.com/package/@ckeditor/ckeditor5-enter): v10.1.0 => [v10.1.1](https://github.com/ckeditor/ckeditor5-enter/releases/tag/v10.1.1) +* [@ckeditor/ckeditor5-essentials](https://www.npmjs.com/package/@ckeditor/ckeditor5-essentials): v10.1.0 => [v10.1.1](https://github.com/ckeditor/ckeditor5-essentials/releases/tag/v10.1.1) +* [@ckeditor/ckeditor5-heading](https://www.npmjs.com/package/@ckeditor/ckeditor5-heading): v10.0.1 => [v10.0.2](https://github.com/ckeditor/ckeditor5-heading/releases/tag/v10.0.2) +* [@ckeditor/ckeditor5-link](https://www.npmjs.com/package/@ckeditor/ckeditor5-link): v10.0.2 => [v10.0.3](https://github.com/ckeditor/ckeditor5-link/releases/tag/v10.0.3) +* [@ckeditor/ckeditor5-list](https://www.npmjs.com/package/@ckeditor/ckeditor5-list): v11.0.0 => [v11.0.1](https://github.com/ckeditor/ckeditor5-list/releases/tag/v11.0.1) +* [@ckeditor/ckeditor5-paragraph](https://www.npmjs.com/package/@ckeditor/ckeditor5-paragraph): v10.0.1 => [v10.0.2](https://github.com/ckeditor/ckeditor5-paragraph/releases/tag/v10.0.2) +* [@ckeditor/ckeditor5-undo](https://www.npmjs.com/package/@ckeditor/ckeditor5-undo): v10.0.1 => [v10.0.2](https://github.com/ckeditor/ckeditor5-undo/releases/tag/v10.0.2) +* [@ckeditor/ckeditor5-upload](https://www.npmjs.com/package/@ckeditor/ckeditor5-upload): v10.0.1 => [v10.0.2](https://github.com/ckeditor/ckeditor5-upload/releases/tag/v10.0.2) + +### Other changes + +* Changed the structure of the build repository. Closes [ckeditor/ckeditor5#1038](https://github.com/ckeditor/ckeditor5/issues/1038). ([623c871](https://github.com/ckeditor/ckeditor5-build-classic/commit/623c871)) +* Updated `webpack` to version 4 (applies to custom builds only). ([9392b43](https://github.com/ckeditor/ckeditor5-build-classic/commit/9392b43)) + +### BREAKING CHANGES + +If you maintain a custom build, we recommend reading the [migration guide](https://github.com/ckeditor/ckeditor5/issues/1136). Closes [ckeditor/ckeditor5#1038](https://github.com/ckeditor/ckeditor5/issues/1038). + +* CKEditor 5 environment was updated to use `webpack@4`. `webpack@4` introduced major changes in its configuration and plugin system. CKEditor 5 tools and build configuration were updated to work with `webpack@4` and will not work with `webpack@3`. +* The structure of the build repository was changed. The `build-config.js` file was removed and the build configuration is now kept only in the `src/ckeditor.js` file. + + +## [10.1.0](https://github.com/ckeditor/ckeditor5-build-classic/compare/v10.0.1...v10.1.0) (June 21, 2018) + +This is a minor release that introduces many bug fixes and new features (most notable one is support for inserting soft breaks with Shift+Enter). + +You can read more in the [blog post](https://ckeditor.com/blog/CKEditor-5-v10.1.0-released/). + +### Dependencies + +Major releases (contain breaking changes): + +* [@ckeditor/ckeditor5-list](https://www.npmjs.com/package/@ckeditor/ckeditor5-list): v10.0.0 => [v11.0.0](https://github.com/ckeditor/ckeditor5-list/releases/tag/v11.0.0) + +Minor releases: + +* [@ckeditor/ckeditor5-core](https://www.npmjs.com/package/@ckeditor/ckeditor5-core): v10.0.0 => [v10.1.0](https://github.com/ckeditor/ckeditor5-core/releases/tag/v10.1.0) +* [@ckeditor/ckeditor5-engine](https://www.npmjs.com/package/@ckeditor/ckeditor5-engine): v10.0.0 => [v10.1.0](https://github.com/ckeditor/ckeditor5-engine/releases/tag/v10.1.0) +* [@ckeditor/ckeditor5-enter](https://www.npmjs.com/package/@ckeditor/ckeditor5-enter): v10.0.0 => [v10.1.0](https://github.com/ckeditor/ckeditor5-enter/releases/tag/v10.1.0) +* [@ckeditor/ckeditor5-essentials](https://www.npmjs.com/package/@ckeditor/ckeditor5-essentials): v10.0.0 => [v10.1.0](https://github.com/ckeditor/ckeditor5-essentials/releases/tag/v10.1.0) +* [@ckeditor/ckeditor5-image](https://www.npmjs.com/package/@ckeditor/ckeditor5-image): v10.0.0 => [v10.1.0](https://github.com/ckeditor/ckeditor5-image/releases/tag/v10.1.0) +* [@ckeditor/ckeditor5-theme-lark](https://www.npmjs.com/package/@ckeditor/ckeditor5-theme-lark): v10.0.0 => [v10.1.0](https://github.com/ckeditor/ckeditor5-theme-lark/releases/tag/v10.1.0) +* [@ckeditor/ckeditor5-ui](https://www.npmjs.com/package/@ckeditor/ckeditor5-ui): v10.0.0 => [v10.1.0](https://github.com/ckeditor/ckeditor5-ui/releases/tag/v10.1.0) +* [@ckeditor/ckeditor5-upload](https://www.npmjs.com/package/@ckeditor/ckeditor5-upload): v10.0.0 => [v10.1.0](https://github.com/ckeditor/ckeditor5-upload/releases/tag/v10.1.0) +* [@ckeditor/ckeditor5-utils](https://www.npmjs.com/package/@ckeditor/ckeditor5-utils): v10.0.0 => [v10.1.0](https://github.com/ckeditor/ckeditor5-utils/releases/tag/v10.1.0) +* [@ckeditor/ckeditor5-widget](https://www.npmjs.com/package/@ckeditor/ckeditor5-widget): v10.0.0 => [v10.1.0](https://github.com/ckeditor/ckeditor5-widget/releases/tag/v10.1.0) + +Patch releases (bug fixes, internal changes): + +* [@ckeditor/ckeditor5-adapter-ckfinder](https://www.npmjs.com/package/@ckeditor/ckeditor5-adapter-ckfinder): v10.0.0 => [v10.0.1](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/releases/tag/v10.0.1) +* [@ckeditor/ckeditor5-autoformat](https://www.npmjs.com/package/@ckeditor/ckeditor5-autoformat): v10.0.0 => [v10.0.1](https://github.com/ckeditor/ckeditor5-autoformat/releases/tag/v10.0.1) +* [@ckeditor/ckeditor5-basic-styles](https://www.npmjs.com/package/@ckeditor/ckeditor5-basic-styles): v10.0.0 => [v10.0.1](https://github.com/ckeditor/ckeditor5-basic-styles/releases/tag/v10.0.1) +* [@ckeditor/ckeditor5-block-quote](https://www.npmjs.com/package/@ckeditor/ckeditor5-block-quote): v10.0.0 => [v10.0.1](https://github.com/ckeditor/ckeditor5-block-quote/releases/tag/v10.0.1) +* [@ckeditor/ckeditor5-clipboard](https://www.npmjs.com/package/@ckeditor/ckeditor5-clipboard): v10.0.0 => [v10.0.1](https://github.com/ckeditor/ckeditor5-clipboard/releases/tag/v10.0.1) +* [@ckeditor/ckeditor5-cloud-services](https://www.npmjs.com/package/@ckeditor/ckeditor5-cloud-services): v10.0.0 => [v10.0.1](https://github.com/ckeditor/ckeditor5-cloud-services/releases/tag/v10.0.1) +* [@ckeditor/ckeditor5-easy-image](https://www.npmjs.com/package/@ckeditor/ckeditor5-easy-image): v10.0.0 => [v10.0.1](https://github.com/ckeditor/ckeditor5-easy-image/releases/tag/v10.0.1) +* [@ckeditor/ckeditor5-editor-classic](https://www.npmjs.com/package/@ckeditor/ckeditor5-editor-classic): v10.0.0 => [v10.0.1](https://github.com/ckeditor/ckeditor5-editor-classic/releases/tag/v10.0.1) +* [@ckeditor/ckeditor5-heading](https://www.npmjs.com/package/@ckeditor/ckeditor5-heading): v10.0.0 => [v10.0.1](https://github.com/ckeditor/ckeditor5-heading/releases/tag/v10.0.1) +* [@ckeditor/ckeditor5-link](https://www.npmjs.com/package/@ckeditor/ckeditor5-link): v10.0.1 => [v10.0.2](https://github.com/ckeditor/ckeditor5-link/releases/tag/v10.0.2) +* [@ckeditor/ckeditor5-paragraph](https://www.npmjs.com/package/@ckeditor/ckeditor5-paragraph): v10.0.0 => [v10.0.1](https://github.com/ckeditor/ckeditor5-paragraph/releases/tag/v10.0.1) +* [@ckeditor/ckeditor5-typing](https://www.npmjs.com/package/@ckeditor/ckeditor5-typing): v10.0.0 => [v10.0.1](https://github.com/ckeditor/ckeditor5-typing/releases/tag/v10.0.1) +* [@ckeditor/ckeditor5-undo](https://www.npmjs.com/package/@ckeditor/ckeditor5-undo): v10.0.0 => [v10.0.1](https://github.com/ckeditor/ckeditor5-undo/releases/tag/v10.0.1) + + +## [10.0.1](https://github.com/ckeditor/ckeditor5-build-classic/compare/v10.0.0...v10.0.1) (May 22, 2018) + +### Dependencies + +Patch releases (bug fixes, internal changes): + +* [@ckeditor/ckeditor5-link](https://www.npmjs.com/package/@ckeditor/ckeditor5-link): v10.0.0 => [v10.0.1](https://github.com/ckeditor/ckeditor5-link/releases/tag/v10.0.1) + + +## [10.0.0](https://github.com/ckeditor/ckeditor5-build-classic/compare/v1.0.0-beta.4...v10.0.0) (April 25, 2018) + +### Dependencies + +Major releases (contain breaking changes): + +* [@ckeditor/ckeditor5-adapter-ckfinder](https://www.npmjs.com/package/@ckeditor/ckeditor5-adapter-ckfinder): v1.0.0-beta.4 => [v10.0.0](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/releases/tag/v10.0.0) +* [@ckeditor/ckeditor5-autoformat](https://www.npmjs.com/package/@ckeditor/ckeditor5-autoformat): v1.0.0-beta.4 => [v10.0.0](https://github.com/ckeditor/ckeditor5-autoformat/releases/tag/v10.0.0) +* [@ckeditor/ckeditor5-basic-styles](https://www.npmjs.com/package/@ckeditor/ckeditor5-basic-styles): v1.0.0-beta.4 => [v10.0.0](https://github.com/ckeditor/ckeditor5-basic-styles/releases/tag/v10.0.0) +* [@ckeditor/ckeditor5-block-quote](https://www.npmjs.com/package/@ckeditor/ckeditor5-block-quote): v1.0.0-beta.4 => [v10.0.0](https://github.com/ckeditor/ckeditor5-block-quote/releases/tag/v10.0.0) +* [@ckeditor/ckeditor5-clipboard](https://www.npmjs.com/package/@ckeditor/ckeditor5-clipboard): v1.0.0-beta.4 => [v10.0.0](https://github.com/ckeditor/ckeditor5-clipboard/releases/tag/v10.0.0) +* [@ckeditor/ckeditor5-cloud-services](https://www.npmjs.com/package/@ckeditor/ckeditor5-cloud-services): v1.0.0-beta.4 => [v10.0.0](https://github.com/ckeditor/ckeditor5-cloud-services/releases/tag/v10.0.0) +* [@ckeditor/ckeditor5-core](https://www.npmjs.com/package/@ckeditor/ckeditor5-core): v1.0.0-beta.4 => [v10.0.0](https://github.com/ckeditor/ckeditor5-core/releases/tag/v10.0.0) +* [@ckeditor/ckeditor5-easy-image](https://www.npmjs.com/package/@ckeditor/ckeditor5-easy-image): v1.0.0-beta.4 => [v10.0.0](https://github.com/ckeditor/ckeditor5-easy-image/releases/tag/v10.0.0) +* [@ckeditor/ckeditor5-editor-classic](https://www.npmjs.com/package/@ckeditor/ckeditor5-editor-classic): v1.0.0-beta.4 => [v10.0.0](https://github.com/ckeditor/ckeditor5-editor-classic/releases/tag/v10.0.0) +* [@ckeditor/ckeditor5-engine](https://www.npmjs.com/package/@ckeditor/ckeditor5-engine): v1.0.0-beta.4 => [v10.0.0](https://github.com/ckeditor/ckeditor5-engine/releases/tag/v10.0.0) +* [@ckeditor/ckeditor5-enter](https://www.npmjs.com/package/@ckeditor/ckeditor5-enter): v1.0.0-beta.4 => [v10.0.0](https://github.com/ckeditor/ckeditor5-enter/releases/tag/v10.0.0) +* [@ckeditor/ckeditor5-essentials](https://www.npmjs.com/package/@ckeditor/ckeditor5-essentials): v1.0.0-beta.4 => [v10.0.0](https://github.com/ckeditor/ckeditor5-essentials/releases/tag/v10.0.0) +* [@ckeditor/ckeditor5-heading](https://www.npmjs.com/package/@ckeditor/ckeditor5-heading): v1.0.0-beta.4 => [v10.0.0](https://github.com/ckeditor/ckeditor5-heading/releases/tag/v10.0.0) +* [@ckeditor/ckeditor5-image](https://www.npmjs.com/package/@ckeditor/ckeditor5-image): v1.0.0-beta.4 => [v10.0.0](https://github.com/ckeditor/ckeditor5-image/releases/tag/v10.0.0) +* [@ckeditor/ckeditor5-link](https://www.npmjs.com/package/@ckeditor/ckeditor5-link): v1.0.0-beta.4 => [v10.0.0](https://github.com/ckeditor/ckeditor5-link/releases/tag/v10.0.0) +* [@ckeditor/ckeditor5-list](https://www.npmjs.com/package/@ckeditor/ckeditor5-list): v1.0.0-beta.4 => [v10.0.0](https://github.com/ckeditor/ckeditor5-list/releases/tag/v10.0.0) +* [@ckeditor/ckeditor5-paragraph](https://www.npmjs.com/package/@ckeditor/ckeditor5-paragraph): v1.0.0-beta.4 => [v10.0.0](https://github.com/ckeditor/ckeditor5-paragraph/releases/tag/v10.0.0) +* [@ckeditor/ckeditor5-theme-lark](https://www.npmjs.com/package/@ckeditor/ckeditor5-theme-lark): v1.0.0-beta.4 => [v10.0.0](https://github.com/ckeditor/ckeditor5-theme-lark/releases/tag/v10.0.0) +* [@ckeditor/ckeditor5-typing](https://www.npmjs.com/package/@ckeditor/ckeditor5-typing): v1.0.0-beta.4 => [v10.0.0](https://github.com/ckeditor/ckeditor5-typing/releases/tag/v10.0.0) +* [@ckeditor/ckeditor5-ui](https://www.npmjs.com/package/@ckeditor/ckeditor5-ui): v1.0.0-beta.4 => [v10.0.0](https://github.com/ckeditor/ckeditor5-ui/releases/tag/v10.0.0) +* [@ckeditor/ckeditor5-undo](https://www.npmjs.com/package/@ckeditor/ckeditor5-undo): v1.0.0-beta.4 => [v10.0.0](https://github.com/ckeditor/ckeditor5-undo/releases/tag/v10.0.0) +* [@ckeditor/ckeditor5-upload](https://www.npmjs.com/package/@ckeditor/ckeditor5-upload): v1.0.0-beta.4 => [v10.0.0](https://github.com/ckeditor/ckeditor5-upload/releases/tag/v10.0.0) +* [@ckeditor/ckeditor5-utils](https://www.npmjs.com/package/@ckeditor/ckeditor5-utils): v1.0.0-beta.4 => [v10.0.0](https://github.com/ckeditor/ckeditor5-utils/releases/tag/v10.0.0) +* [@ckeditor/ckeditor5-widget](https://www.npmjs.com/package/@ckeditor/ckeditor5-widget): v1.0.0-beta.4 => [v10.0.0](https://github.com/ckeditor/ckeditor5-widget/releases/tag/v10.0.0) + +### Other changes + +* Changed the license to GPL2+ only. See [ckeditor/ckeditor5#991](https://github.com/ckeditor/ckeditor5/issues/991). ([379c31f](https://github.com/ckeditor/ckeditor5-build-classic/commit/379c31f)) + +### BREAKING CHANGES + +* The license under which CKEditor 5 is released has been changed from a triple GPL, LGPL and MPL license to a GPL2+ only. See [ckeditor/ckeditor5#991](https://github.com/ckeditor/ckeditor5/issues/991) for more information. + + +## [1.0.0-beta.4](https://github.com/ckeditor/ckeditor5-build-classic/compare/v1.0.0-beta.3...v1.0.0-beta.4) (April 19, 2018) + +### Dependencies + +Major releases (contain breaking changes): + +* [@ckeditor/ckeditor5-adapter-ckfinder](https://www.npmjs.com/package/@ckeditor/ckeditor5-adapter-ckfinder): v1.0.0-beta.2 => [v1.0.0-beta.4](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/releases/tag/v1.0.0-beta.4) +* [@ckeditor/ckeditor5-autoformat](https://www.npmjs.com/package/@ckeditor/ckeditor5-autoformat): v1.0.0-beta.2 => [v1.0.0-beta.4](https://github.com/ckeditor/ckeditor5-autoformat/releases/tag/v1.0.0-beta.4) +* [@ckeditor/ckeditor5-basic-styles](https://www.npmjs.com/package/@ckeditor/ckeditor5-basic-styles): v1.0.0-beta.2 => [v1.0.0-beta.4](https://github.com/ckeditor/ckeditor5-basic-styles/releases/tag/v1.0.0-beta.4) +* [@ckeditor/ckeditor5-block-quote](https://www.npmjs.com/package/@ckeditor/ckeditor5-block-quote): v1.0.0-beta.2 => [v1.0.0-beta.4](https://github.com/ckeditor/ckeditor5-block-quote/releases/tag/v1.0.0-beta.4) +* [@ckeditor/ckeditor5-clipboard](https://www.npmjs.com/package/@ckeditor/ckeditor5-clipboard): v1.0.0-beta.2 => [v1.0.0-beta.4](https://github.com/ckeditor/ckeditor5-clipboard/releases/tag/v1.0.0-beta.4) +* [@ckeditor/ckeditor5-cloud-services](https://www.npmjs.com/package/@ckeditor/ckeditor5-cloud-services): v1.0.0-beta.2 => [v1.0.0-beta.4](https://github.com/ckeditor/ckeditor5-cloud-services/releases/tag/v1.0.0-beta.4) +* [@ckeditor/ckeditor5-core](https://www.npmjs.com/package/@ckeditor/ckeditor5-core): v1.0.0-beta.2 => [v1.0.0-beta.4](https://github.com/ckeditor/ckeditor5-core/releases/tag/v1.0.0-beta.4) +* [@ckeditor/ckeditor5-easy-image](https://www.npmjs.com/package/@ckeditor/ckeditor5-easy-image): v1.0.0-beta.2 => [v1.0.0-beta.4](https://github.com/ckeditor/ckeditor5-easy-image/releases/tag/v1.0.0-beta.4) +* [@ckeditor/ckeditor5-editor-classic](https://www.npmjs.com/package/@ckeditor/ckeditor5-editor-classic): v1.0.0-beta.2 => [v1.0.0-beta.4](https://github.com/ckeditor/ckeditor5-editor-classic/releases/tag/v1.0.0-beta.4) +* [@ckeditor/ckeditor5-engine](https://www.npmjs.com/package/@ckeditor/ckeditor5-engine): v1.0.0-beta.2 => [v1.0.0-beta.4](https://github.com/ckeditor/ckeditor5-engine/releases/tag/v1.0.0-beta.4) +* [@ckeditor/ckeditor5-enter](https://www.npmjs.com/package/@ckeditor/ckeditor5-enter): v1.0.0-beta.2 => [v1.0.0-beta.4](https://github.com/ckeditor/ckeditor5-enter/releases/tag/v1.0.0-beta.4) +* [@ckeditor/ckeditor5-essentials](https://www.npmjs.com/package/@ckeditor/ckeditor5-essentials): v1.0.0-beta.2 => [v1.0.0-beta.4](https://github.com/ckeditor/ckeditor5-essentials/releases/tag/v1.0.0-beta.4) +* [@ckeditor/ckeditor5-heading](https://www.npmjs.com/package/@ckeditor/ckeditor5-heading): v1.0.0-beta.2 => [v1.0.0-beta.4](https://github.com/ckeditor/ckeditor5-heading/releases/tag/v1.0.0-beta.4) +* [@ckeditor/ckeditor5-image](https://www.npmjs.com/package/@ckeditor/ckeditor5-image): v1.0.0-beta.2 => [v1.0.0-beta.4](https://github.com/ckeditor/ckeditor5-image/releases/tag/v1.0.0-beta.4) +* [@ckeditor/ckeditor5-link](https://www.npmjs.com/package/@ckeditor/ckeditor5-link): v1.0.0-beta.2 => [v1.0.0-beta.4](https://github.com/ckeditor/ckeditor5-link/releases/tag/v1.0.0-beta.4) +* [@ckeditor/ckeditor5-list](https://www.npmjs.com/package/@ckeditor/ckeditor5-list): v1.0.0-beta.2 => [v1.0.0-beta.4](https://github.com/ckeditor/ckeditor5-list/releases/tag/v1.0.0-beta.4) +* [@ckeditor/ckeditor5-paragraph](https://www.npmjs.com/package/@ckeditor/ckeditor5-paragraph): v1.0.0-beta.2 => [v1.0.0-beta.4](https://github.com/ckeditor/ckeditor5-paragraph/releases/tag/v1.0.0-beta.4) +* [@ckeditor/ckeditor5-theme-lark](https://www.npmjs.com/package/@ckeditor/ckeditor5-theme-lark): v1.0.0-beta.2 => [v1.0.0-beta.4](https://github.com/ckeditor/ckeditor5-theme-lark/releases/tag/v1.0.0-beta.4) +* [@ckeditor/ckeditor5-typing](https://www.npmjs.com/package/@ckeditor/ckeditor5-typing): v1.0.0-beta.2 => [v1.0.0-beta.4](https://github.com/ckeditor/ckeditor5-typing/releases/tag/v1.0.0-beta.4) +* [@ckeditor/ckeditor5-ui](https://www.npmjs.com/package/@ckeditor/ckeditor5-ui): v1.0.0-beta.2 => [v1.0.0-beta.4](https://github.com/ckeditor/ckeditor5-ui/releases/tag/v1.0.0-beta.4) +* [@ckeditor/ckeditor5-undo](https://www.npmjs.com/package/@ckeditor/ckeditor5-undo): v1.0.0-beta.2 => [v1.0.0-beta.4](https://github.com/ckeditor/ckeditor5-undo/releases/tag/v1.0.0-beta.4) +* [@ckeditor/ckeditor5-upload](https://www.npmjs.com/package/@ckeditor/ckeditor5-upload): v1.0.0-beta.2 => [v1.0.0-beta.4](https://github.com/ckeditor/ckeditor5-upload/releases/tag/v1.0.0-beta.4) +* [@ckeditor/ckeditor5-utils](https://www.npmjs.com/package/@ckeditor/ckeditor5-utils): v1.0.0-beta.2 => [v1.0.0-beta.4](https://github.com/ckeditor/ckeditor5-utils/releases/tag/v1.0.0-beta.4) +* [@ckeditor/ckeditor5-widget](https://www.npmjs.com/package/@ckeditor/ckeditor5-widget): v1.0.0-beta.2 => [v1.0.0-beta.4](https://github.com/ckeditor/ckeditor5-widget/releases/tag/v1.0.0-beta.4) + + +## [1.0.0-beta.3](https://github.com/ckeditor/ckeditor5-build-classic/compare/v1.0.0-beta.2...v1.0.0-beta.3) (April 10, 2018) + +### Note + +This release followed `v1.0.0-beta.2` immediately to fix the issue mentioned below. Therefore, when upgrading from `v1.0.0-beta.1` make sure to also check [`v1.0.0-beta.2` release notes](https://github.com/ckeditor/ckeditor5-build-classic/releases/tag/v1.0.0-beta.2). + +### Bug fixes + +* Translations should work when CKEditor was loaded using RequireJS. See [ckeditor/ckeditor5#914](https://github.com/ckeditor/ckeditor5/issues/914). ([16cba07](https://github.com/ckeditor/ckeditor5-build-classic/commit/16cba07)) + + +## [1.0.0-beta.2](https://github.com/ckeditor/ckeditor5-build-classic/compare/v1.0.0-beta.1...v1.0.0-beta.2) (April 10, 2018) + +### Dependencies + +Major releases (contain breaking changes): + +* [@ckeditor/ckeditor5-adapter-ckfinder](https://www.npmjs.com/package/@ckeditor/ckeditor5-adapter-ckfinder): v1.0.0-beta.1 => [v1.0.0-beta.2](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/releases/tag/v1.0.0-beta.2) +* [@ckeditor/ckeditor5-autoformat](https://www.npmjs.com/package/@ckeditor/ckeditor5-autoformat): v1.0.0-beta.1 => [v1.0.0-beta.2](https://github.com/ckeditor/ckeditor5-autoformat/releases/tag/v1.0.0-beta.2) +* [@ckeditor/ckeditor5-basic-styles](https://www.npmjs.com/package/@ckeditor/ckeditor5-basic-styles): v1.0.0-beta.1 => [v1.0.0-beta.2](https://github.com/ckeditor/ckeditor5-basic-styles/releases/tag/v1.0.0-beta.2) +* [@ckeditor/ckeditor5-block-quote](https://www.npmjs.com/package/@ckeditor/ckeditor5-block-quote): v1.0.0-beta.1 => [v1.0.0-beta.2](https://github.com/ckeditor/ckeditor5-block-quote/releases/tag/v1.0.0-beta.2) +* [@ckeditor/ckeditor5-clipboard](https://www.npmjs.com/package/@ckeditor/ckeditor5-clipboard): v1.0.0-beta.1 => [v1.0.0-beta.2](https://github.com/ckeditor/ckeditor5-clipboard/releases/tag/v1.0.0-beta.2) +* [@ckeditor/ckeditor5-cloud-services](https://www.npmjs.com/package/@ckeditor/ckeditor5-cloud-services): v1.0.0-beta.1 => [v1.0.0-beta.2](https://github.com/ckeditor/ckeditor5-cloud-services/releases/tag/v1.0.0-beta.2) +* [@ckeditor/ckeditor5-core](https://www.npmjs.com/package/@ckeditor/ckeditor5-core): v1.0.0-beta.1 => [v1.0.0-beta.2](https://github.com/ckeditor/ckeditor5-core/releases/tag/v1.0.0-beta.2) +* [@ckeditor/ckeditor5-easy-image](https://www.npmjs.com/package/@ckeditor/ckeditor5-easy-image): v1.0.0-beta.1 => [v1.0.0-beta.2](https://github.com/ckeditor/ckeditor5-easy-image/releases/tag/v1.0.0-beta.2) +* [@ckeditor/ckeditor5-editor-classic](https://www.npmjs.com/package/@ckeditor/ckeditor5-editor-classic): v1.0.0-beta.1 => [v1.0.0-beta.2](https://github.com/ckeditor/ckeditor5-editor-classic/releases/tag/v1.0.0-beta.2) +* [@ckeditor/ckeditor5-engine](https://www.npmjs.com/package/@ckeditor/ckeditor5-engine): v1.0.0-beta.1 => [v1.0.0-beta.2](https://github.com/ckeditor/ckeditor5-engine/releases/tag/v1.0.0-beta.2) +* [@ckeditor/ckeditor5-enter](https://www.npmjs.com/package/@ckeditor/ckeditor5-enter): v1.0.0-beta.1 => [v1.0.0-beta.2](https://github.com/ckeditor/ckeditor5-enter/releases/tag/v1.0.0-beta.2) +* [@ckeditor/ckeditor5-essentials](https://www.npmjs.com/package/@ckeditor/ckeditor5-essentials): v1.0.0-beta.1 => [v1.0.0-beta.2](https://github.com/ckeditor/ckeditor5-essentials/releases/tag/v1.0.0-beta.2) +* [@ckeditor/ckeditor5-heading](https://www.npmjs.com/package/@ckeditor/ckeditor5-heading): v1.0.0-beta.1 => [v1.0.0-beta.2](https://github.com/ckeditor/ckeditor5-heading/releases/tag/v1.0.0-beta.2) +* [@ckeditor/ckeditor5-image](https://www.npmjs.com/package/@ckeditor/ckeditor5-image): v1.0.0-beta.1 => [v1.0.0-beta.2](https://github.com/ckeditor/ckeditor5-image/releases/tag/v1.0.0-beta.2) +* [@ckeditor/ckeditor5-link](https://www.npmjs.com/package/@ckeditor/ckeditor5-link): v1.0.0-beta.1 => [v1.0.0-beta.2](https://github.com/ckeditor/ckeditor5-link/releases/tag/v1.0.0-beta.2) +* [@ckeditor/ckeditor5-list](https://www.npmjs.com/package/@ckeditor/ckeditor5-list): v1.0.0-beta.1 => [v1.0.0-beta.2](https://github.com/ckeditor/ckeditor5-list/releases/tag/v1.0.0-beta.2) +* [@ckeditor/ckeditor5-paragraph](https://www.npmjs.com/package/@ckeditor/ckeditor5-paragraph): v1.0.0-beta.1 => [v1.0.0-beta.2](https://github.com/ckeditor/ckeditor5-paragraph/releases/tag/v1.0.0-beta.2) +* [@ckeditor/ckeditor5-theme-lark](https://www.npmjs.com/package/@ckeditor/ckeditor5-theme-lark): v1.0.0-beta.1 => [v1.0.0-beta.2](https://github.com/ckeditor/ckeditor5-theme-lark/releases/tag/v1.0.0-beta.2) +* [@ckeditor/ckeditor5-typing](https://www.npmjs.com/package/@ckeditor/ckeditor5-typing): v1.0.0-beta.1 => [v1.0.0-beta.2](https://github.com/ckeditor/ckeditor5-typing/releases/tag/v1.0.0-beta.2) +* [@ckeditor/ckeditor5-ui](https://www.npmjs.com/package/@ckeditor/ckeditor5-ui): v1.0.0-beta.1 => [v1.0.0-beta.2](https://github.com/ckeditor/ckeditor5-ui/releases/tag/v1.0.0-beta.2) +* [@ckeditor/ckeditor5-undo](https://www.npmjs.com/package/@ckeditor/ckeditor5-undo): v1.0.0-beta.1 => [v1.0.0-beta.2](https://github.com/ckeditor/ckeditor5-undo/releases/tag/v1.0.0-beta.2) +* [@ckeditor/ckeditor5-upload](https://www.npmjs.com/package/@ckeditor/ckeditor5-upload): v1.0.0-beta.1 => [v1.0.0-beta.2](https://github.com/ckeditor/ckeditor5-upload/releases/tag/v1.0.0-beta.2) +* [@ckeditor/ckeditor5-utils](https://www.npmjs.com/package/@ckeditor/ckeditor5-utils): v1.0.0-beta.1 => [v1.0.0-beta.2](https://github.com/ckeditor/ckeditor5-utils/releases/tag/v1.0.0-beta.2) +* [@ckeditor/ckeditor5-widget](https://www.npmjs.com/package/@ckeditor/ckeditor5-widget): v1.0.0-beta.1 => [v1.0.0-beta.2](https://github.com/ckeditor/ckeditor5-widget/releases/tag/v1.0.0-beta.2) + +### Bug fixes + +Besides changes in the dependencies, this version also contains the following bug fixes: + +* Removed duplicated `ImageUpload` plugin. See [ckeditor/ckeditor5#909](https://github.com/ckeditor/ckeditor5/issues/909). ([8553d0f](https://github.com/ckeditor/ckeditor5-build-classic/commit/8553d0f)) + + +## [1.0.0-beta.1](https://github.com/ckeditor/ckeditor5-build-classic/compare/v1.0.0-alpha.2...v1.0.0-beta.1) (March 15, 2018) + +### Dependencies + +Major releases (contain breaking changes): + +* [@ckeditor/ckeditor5-adapter-ckfinder](https://www.npmjs.com/package/@ckeditor/ckeditor5-adapter-ckfinder): v1.0.0-alpha.2 => [v1.0.0-beta.1](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/releases/tag/v1.0.0-beta.1) +* [@ckeditor/ckeditor5-autoformat](https://www.npmjs.com/package/@ckeditor/ckeditor5-autoformat): v1.0.0-alpha.2 => [v1.0.0-beta.1](https://github.com/ckeditor/ckeditor5-autoformat/releases/tag/v1.0.0-beta.1) +* [@ckeditor/ckeditor5-basic-styles](https://www.npmjs.com/package/@ckeditor/ckeditor5-basic-styles): v1.0.0-alpha.2 => [v1.0.0-beta.1](https://github.com/ckeditor/ckeditor5-basic-styles/releases/tag/v1.0.0-beta.1) +* [@ckeditor/ckeditor5-block-quote](https://www.npmjs.com/package/@ckeditor/ckeditor5-block-quote): v1.0.0-alpha.2 => [v1.0.0-beta.1](https://github.com/ckeditor/ckeditor5-block-quote/releases/tag/v1.0.0-beta.1) +* [@ckeditor/ckeditor5-clipboard](https://www.npmjs.com/package/@ckeditor/ckeditor5-clipboard): v1.0.0-alpha.2 => [v1.0.0-beta.1](https://github.com/ckeditor/ckeditor5-clipboard/releases/tag/v1.0.0-beta.1) +* [@ckeditor/ckeditor5-cloudservices](https://www.npmjs.com/package/@ckeditor/ckeditor5-cloudservices): v1.0.0-alpha.1 => [v1.0.0-beta.1](https://github.com/ckeditor/ckeditor5-cloudservices/releases/tag/v1.0.0-beta.1) +* [@ckeditor/ckeditor5-core](https://www.npmjs.com/package/@ckeditor/ckeditor5-core): v1.0.0-alpha.2 => [v1.0.0-beta.1](https://github.com/ckeditor/ckeditor5-core/releases/tag/v1.0.0-beta.1) +* [@ckeditor/ckeditor5-easy-image](https://www.npmjs.com/package/@ckeditor/ckeditor5-easy-image): v1.0.0-alpha.2 => [v1.0.0-beta.1](https://github.com/ckeditor/ckeditor5-easy-image/releases/tag/v1.0.0-beta.1) +* [@ckeditor/ckeditor5-editor-classic](https://www.npmjs.com/package/@ckeditor/ckeditor5-editor-classic): v1.0.0-alpha.2 => [v1.0.0-beta.1](https://github.com/ckeditor/ckeditor5-editor-classic/releases/tag/v1.0.0-beta.1) +* [@ckeditor/ckeditor5-engine](https://www.npmjs.com/package/@ckeditor/ckeditor5-engine): v1.0.0-alpha.2 => [v1.0.0-beta.1](https://github.com/ckeditor/ckeditor5-engine/releases/tag/v1.0.0-beta.1) +* [@ckeditor/ckeditor5-enter](https://www.npmjs.com/package/@ckeditor/ckeditor5-enter): v1.0.0-alpha.2 => [v1.0.0-beta.1](https://github.com/ckeditor/ckeditor5-enter/releases/tag/v1.0.0-beta.1) +* [@ckeditor/ckeditor5-essentials](https://www.npmjs.com/package/@ckeditor/ckeditor5-essentials): v1.0.0-alpha.2 => [v1.0.0-beta.1](https://github.com/ckeditor/ckeditor5-essentials/releases/tag/v1.0.0-beta.1) +* [@ckeditor/ckeditor5-heading](https://www.npmjs.com/package/@ckeditor/ckeditor5-heading): v1.0.0-alpha.2 => [v1.0.0-beta.1](https://github.com/ckeditor/ckeditor5-heading/releases/tag/v1.0.0-beta.1) +* [@ckeditor/ckeditor5-image](https://www.npmjs.com/package/@ckeditor/ckeditor5-image): v1.0.0-alpha.2 => [v1.0.0-beta.1](https://github.com/ckeditor/ckeditor5-image/releases/tag/v1.0.0-beta.1) +* [@ckeditor/ckeditor5-link](https://www.npmjs.com/package/@ckeditor/ckeditor5-link): v1.0.0-alpha.2 => [v1.0.0-beta.1](https://github.com/ckeditor/ckeditor5-link/releases/tag/v1.0.0-beta.1) +* [@ckeditor/ckeditor5-list](https://www.npmjs.com/package/@ckeditor/ckeditor5-list): v1.0.0-alpha.2 => [v1.0.0-beta.1](https://github.com/ckeditor/ckeditor5-list/releases/tag/v1.0.0-beta.1) +* [@ckeditor/ckeditor5-paragraph](https://www.npmjs.com/package/@ckeditor/ckeditor5-paragraph): v1.0.0-alpha.2 => [v1.0.0-beta.1](https://github.com/ckeditor/ckeditor5-paragraph/releases/tag/v1.0.0-beta.1) +* [@ckeditor/ckeditor5-theme-lark](https://www.npmjs.com/package/@ckeditor/ckeditor5-theme-lark): v1.0.0-alpha.2 => [v1.0.0-beta.1](https://github.com/ckeditor/ckeditor5-theme-lark/releases/tag/v1.0.0-beta.1) +* [@ckeditor/ckeditor5-typing](https://www.npmjs.com/package/@ckeditor/ckeditor5-typing): v1.0.0-alpha.2 => [v1.0.0-beta.1](https://github.com/ckeditor/ckeditor5-typing/releases/tag/v1.0.0-beta.1) +* [@ckeditor/ckeditor5-ui](https://www.npmjs.com/package/@ckeditor/ckeditor5-ui): v1.0.0-alpha.2 => [v1.0.0-beta.1](https://github.com/ckeditor/ckeditor5-ui/releases/tag/v1.0.0-beta.1) +* [@ckeditor/ckeditor5-undo](https://www.npmjs.com/package/@ckeditor/ckeditor5-undo): v1.0.0-alpha.2 => [v1.0.0-beta.1](https://github.com/ckeditor/ckeditor5-undo/releases/tag/v1.0.0-beta.1) +* [@ckeditor/ckeditor5-upload](https://www.npmjs.com/package/@ckeditor/ckeditor5-upload): v1.0.0-alpha.2 => [v1.0.0-beta.1](https://github.com/ckeditor/ckeditor5-upload/releases/tag/v1.0.0-beta.1) +* [@ckeditor/ckeditor5-utils](https://www.npmjs.com/package/@ckeditor/ckeditor5-utils): v1.0.0-alpha.2 => [v1.0.0-beta.1](https://github.com/ckeditor/ckeditor5-utils/releases/tag/v1.0.0-beta.1) +* [@ckeditor/ckeditor5-widget](https://www.npmjs.com/package/@ckeditor/ckeditor5-widget): v1.0.0-alpha.2 => [v1.0.0-beta.1](https://github.com/ckeditor/ckeditor5-widget/releases/tag/v1.0.0-beta.1) + +### Features + +Besides new features introduced by the dependencies, this version also introduces the following features: + +* Added the image upload button to the build. See [ckeditor/ckeditor5#870](https://github.com/ckeditor/ckeditor5/issues/870). ([f6cab12](https://github.com/ckeditor/ckeditor5-build-classic/commit/f6cab12)) + +### Other changes + +* Aligned build and `webpack.config.js` to the new Translation Service ([ckeditor/ckeditor5#624](https://github.com/ckeditor/ckeditor5/issues/624)). ([a349ffb](https://github.com/ckeditor/ckeditor5-build-classic/commit/a349ffb)) +* Changed the webpack configuration so the styles are processed using PostCSS instead of SASS (see [ckeditor/ckeditor5-ui#144](https://github.com/ckeditor/ckeditor5-ui/issues/144)). ([040b92f](https://github.com/ckeditor/ckeditor5-build-classic/commit/040b92f)) + + +## [1.0.0-alpha.2](https://github.com/ckeditor/ckeditor5-build-classic.git/compare/v1.0.0-alpha.1...v1.0.0-alpha.2) (November 14, 2017) + +### Dependencies + +New packages: + +* [@ckeditor/ckeditor5-cloudservices](https://www.npmjs.com/package/@ckeditor/ckeditor5-cloudservices): [v1.0.0-alpha.1](https://github.com/ckeditor/ckeditor5-cloudservices/releases/tag/v1.0.0-alpha.1) + +Major releases (contain breaking changes): + +* [@ckeditor/ckeditor5-adapter-ckfinder](https://www.npmjs.com/package/@ckeditor/ckeditor5-adapter-ckfinder): v1.0.0-alpha.1 => [v1.0.0-alpha.2](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/releases/tag/v1.0.0-alpha.2) +* [@ckeditor/ckeditor5-autoformat](https://www.npmjs.com/package/@ckeditor/ckeditor5-autoformat): v1.0.0-alpha.1 => [v1.0.0-alpha.2](https://github.com/ckeditor/ckeditor5-autoformat/releases/tag/v1.0.0-alpha.2) +* [@ckeditor/ckeditor5-basic-styles](https://www.npmjs.com/package/@ckeditor/ckeditor5-basic-styles): v1.0.0-alpha.1 => [v1.0.0-alpha.2](https://github.com/ckeditor/ckeditor5-basic-styles/releases/tag/v1.0.0-alpha.2) +* [@ckeditor/ckeditor5-block-quote](https://www.npmjs.com/package/@ckeditor/ckeditor5-block-quote): v1.0.0-alpha.1 => [v1.0.0-alpha.2](https://github.com/ckeditor/ckeditor5-block-quote/releases/tag/v1.0.0-alpha.2) +* [@ckeditor/ckeditor5-clipboard](https://www.npmjs.com/package/@ckeditor/ckeditor5-clipboard): v1.0.0-alpha.1 => [v1.0.0-alpha.2](https://github.com/ckeditor/ckeditor5-clipboard/releases/tag/v1.0.0-alpha.2) +* [@ckeditor/ckeditor5-core](https://www.npmjs.com/package/@ckeditor/ckeditor5-core): v1.0.0-alpha.1 => [v1.0.0-alpha.2](https://github.com/ckeditor/ckeditor5-core/releases/tag/v1.0.0-alpha.2) +* [@ckeditor/ckeditor5-easy-image](https://www.npmjs.com/package/@ckeditor/ckeditor5-easy-image): v1.0.0-alpha.1 => [v1.0.0-alpha.2](https://github.com/ckeditor/ckeditor5-easy-image/releases/tag/v1.0.0-alpha.2) +* [@ckeditor/ckeditor5-editor-classic](https://www.npmjs.com/package/@ckeditor/ckeditor5-editor-classic): v1.0.0-alpha.1 => [v1.0.0-alpha.2](https://github.com/ckeditor/ckeditor5-editor-classic/releases/tag/v1.0.0-alpha.2) +* [@ckeditor/ckeditor5-engine](https://www.npmjs.com/package/@ckeditor/ckeditor5-engine): v1.0.0-alpha.1 => [v1.0.0-alpha.2](https://github.com/ckeditor/ckeditor5-engine/releases/tag/v1.0.0-alpha.2) +* [@ckeditor/ckeditor5-enter](https://www.npmjs.com/package/@ckeditor/ckeditor5-enter): v1.0.0-alpha.1 => [v1.0.0-alpha.2](https://github.com/ckeditor/ckeditor5-enter/releases/tag/v1.0.0-alpha.2) +* [@ckeditor/ckeditor5-essentials](https://www.npmjs.com/package/@ckeditor/ckeditor5-essentials): v1.0.0-alpha.1 => [v1.0.0-alpha.2](https://github.com/ckeditor/ckeditor5-essentials/releases/tag/v1.0.0-alpha.2) +* [@ckeditor/ckeditor5-heading](https://www.npmjs.com/package/@ckeditor/ckeditor5-heading): v1.0.0-alpha.1 => [v1.0.0-alpha.2](https://github.com/ckeditor/ckeditor5-heading/releases/tag/v1.0.0-alpha.2) +* [@ckeditor/ckeditor5-image](https://www.npmjs.com/package/@ckeditor/ckeditor5-image): v1.0.0-alpha.1 => [v1.0.0-alpha.2](https://github.com/ckeditor/ckeditor5-image/releases/tag/v1.0.0-alpha.2) +* [@ckeditor/ckeditor5-link](https://www.npmjs.com/package/@ckeditor/ckeditor5-link): v1.0.0-alpha.1 => [v1.0.0-alpha.2](https://github.com/ckeditor/ckeditor5-link/releases/tag/v1.0.0-alpha.2) +* [@ckeditor/ckeditor5-list](https://www.npmjs.com/package/@ckeditor/ckeditor5-list): v1.0.0-alpha.1 => [v1.0.0-alpha.2](https://github.com/ckeditor/ckeditor5-list/releases/tag/v1.0.0-alpha.2) +* [@ckeditor/ckeditor5-paragraph](https://www.npmjs.com/package/@ckeditor/ckeditor5-paragraph): v1.0.0-alpha.1 => [v1.0.0-alpha.2](https://github.com/ckeditor/ckeditor5-paragraph/releases/tag/v1.0.0-alpha.2) +* [@ckeditor/ckeditor5-theme-lark](https://www.npmjs.com/package/@ckeditor/ckeditor5-theme-lark): v1.0.0-alpha.1 => [v1.0.0-alpha.2](https://github.com/ckeditor/ckeditor5-theme-lark/releases/tag/v1.0.0-alpha.2) +* [@ckeditor/ckeditor5-typing](https://www.npmjs.com/package/@ckeditor/ckeditor5-typing): v1.0.0-alpha.1 => [v1.0.0-alpha.2](https://github.com/ckeditor/ckeditor5-typing/releases/tag/v1.0.0-alpha.2) +* [@ckeditor/ckeditor5-ui](https://www.npmjs.com/package/@ckeditor/ckeditor5-ui): v1.0.0-alpha.1 => [v1.0.0-alpha.2](https://github.com/ckeditor/ckeditor5-ui/releases/tag/v1.0.0-alpha.2) +* [@ckeditor/ckeditor5-undo](https://www.npmjs.com/package/@ckeditor/ckeditor5-undo): v1.0.0-alpha.1 => [v1.0.0-alpha.2](https://github.com/ckeditor/ckeditor5-undo/releases/tag/v1.0.0-alpha.2) +* [@ckeditor/ckeditor5-upload](https://www.npmjs.com/package/@ckeditor/ckeditor5-upload): v1.0.0-alpha.1 => [v1.0.0-alpha.2](https://github.com/ckeditor/ckeditor5-upload/releases/tag/v1.0.0-alpha.2) +* [@ckeditor/ckeditor5-utils](https://www.npmjs.com/package/@ckeditor/ckeditor5-utils): v1.0.0-alpha.1 => [v1.0.0-alpha.2](https://github.com/ckeditor/ckeditor5-utils/releases/tag/v1.0.0-alpha.2) +* [@ckeditor/ckeditor5-widget](https://www.npmjs.com/package/@ckeditor/ckeditor5-widget): v1.0.0-alpha.1 => [v1.0.0-alpha.2](https://github.com/ckeditor/ckeditor5-widget/releases/tag/v1.0.0-alpha.2) + +### Bug fixes + +Besides changes in the dependencies, this version also contains the following bug fixes: + +* Build scripts will work on Windows. Closes [#26](https://github.com/ckeditor/ckeditor5-build-classic/issues/26). ([6c980fd](https://github.com/ckeditor/ckeditor5-build-classic/commit/6c980fd)) + +### Other changes + +* Optimized the bundle size (~10%) by enabling webpack's `ModuleConcatenationPlugin` plugin. Read more https://github.com/ckeditor/ckeditor5/issues/475. ([d25def7](https://github.com/ckeditor/ckeditor5-build-classic/commit/d25def7)) + + +## [1.0.0-alpha.1](https://github.com/ckeditor/ckeditor5-build-classic/compare/v0.4.0...v1.0.0-alpha.1) (October 3, 2017) + +### Dependencies + +New packages: + +* [@ckeditor/ckeditor5-easy-image](https://www.npmjs.com/package/@ckeditor/ckeditor5-easy-image): [v1.0.0-alpha.1](https://github.com/ckeditor/ckeditor5-easy-image/releases/tag/v1.0.0-alpha.1) +* [@ckeditor/ckeditor5-adapter-ckfinder](https://www.npmjs.com/package/@ckeditor/ckeditor5-adapter-ckfinder): [v1.0.0-alpha.1](https://github.com/ckeditor/ckeditor5-adapter-ckfinder/releases/tag/v1.0.0-alpha.1) + +Major releases (possible breaking changes): + +* [@ckeditor/ckeditor5-autoformat](https://www.npmjs.com/package/@ckeditor/ckeditor5-autoformat): v0.1.0 => [v1.0.0-alpha.1](https://github.com/ckeditor/ckeditor5-autoformat/releases/tag/v1.0.0-alpha.1) +* [@ckeditor/ckeditor5-basic-styles](https://www.npmjs.com/package/@ckeditor/ckeditor5-basic-styles): v0.9.0 => [v1.0.0-alpha.1](https://github.com/ckeditor/ckeditor5-basic-styles/releases/tag/v1.0.0-alpha.1) +* [@ckeditor/ckeditor5-block-quote](https://www.npmjs.com/package/@ckeditor/ckeditor5-block-quote): v0.2.0 => [v1.0.0-alpha.1](https://github.com/ckeditor/ckeditor5-block-quote/releases/tag/v1.0.0-alpha.1) +* [@ckeditor/ckeditor5-clipboard](https://www.npmjs.com/package/@ckeditor/ckeditor5-clipboard): v0.7.0 => [v1.0.0-alpha.1](https://github.com/ckeditor/ckeditor5-clipboard/releases/tag/v1.0.0-alpha.1) +* [@ckeditor/ckeditor5-core](https://www.npmjs.com/package/@ckeditor/ckeditor5-core): v0.9.0 => [v1.0.0-alpha.1](https://github.com/ckeditor/ckeditor5-core/releases/tag/v1.0.0-alpha.1) +* [@ckeditor/ckeditor5-editor-classic](https://www.npmjs.com/package/@ckeditor/ckeditor5-editor-classic): v0.8.0 => [v1.0.0-alpha.1](https://github.com/ckeditor/ckeditor5-editor-classic/releases/tag/v1.0.0-alpha.1) +* [@ckeditor/ckeditor5-engine](https://www.npmjs.com/package/@ckeditor/ckeditor5-engine): v0.11.0 => [v1.0.0-alpha.1](https://github.com/ckeditor/ckeditor5-engine/releases/tag/v1.0.0-alpha.1) +* [@ckeditor/ckeditor5-enter](https://www.npmjs.com/package/@ckeditor/ckeditor5-enter): v0.10.0 => [v1.0.0-alpha.1](https://github.com/ckeditor/ckeditor5-enter/releases/tag/v1.0.0-alpha.1) +* [@ckeditor/ckeditor5-heading](https://www.npmjs.com/package/@ckeditor/ckeditor5-heading): v0.10.0 => [v1.0.0-alpha.1](https://github.com/ckeditor/ckeditor5-heading/releases/tag/v1.0.0-alpha.1) +* [@ckeditor/ckeditor5-image](https://www.npmjs.com/package/@ckeditor/ckeditor5-image): v0.7.0 => [v1.0.0-alpha.1](https://github.com/ckeditor/ckeditor5-image/releases/tag/v1.0.0-alpha.1) +* [@ckeditor/ckeditor5-link](https://www.npmjs.com/package/@ckeditor/ckeditor5-link): v0.8.0 => [v1.0.0-alpha.1](https://github.com/ckeditor/ckeditor5-link/releases/tag/v1.0.0-alpha.1) +* [@ckeditor/ckeditor5-list](https://www.npmjs.com/package/@ckeditor/ckeditor5-list): v0.7.0 => [v1.0.0-alpha.1](https://github.com/ckeditor/ckeditor5-list/releases/tag/v1.0.0-alpha.1) +* [@ckeditor/ckeditor5-paragraph](https://www.npmjs.com/package/@ckeditor/ckeditor5-paragraph): v0.9.0 => [v1.0.0-alpha.1](https://github.com/ckeditor/ckeditor5-paragraph/releases/tag/v1.0.0-alpha.1) +* [@ckeditor/ckeditor5-theme-lark](https://www.npmjs.com/package/@ckeditor/ckeditor5-theme-lark): v0.9.0 => [v1.0.0-alpha.1](https://github.com/ckeditor/ckeditor5-theme-lark/releases/tag/v1.0.0-alpha.1) +* [@ckeditor/ckeditor5-typing](https://www.npmjs.com/package/@ckeditor/ckeditor5-typing): v0.10.0 => [v1.0.0-alpha.1](https://github.com/ckeditor/ckeditor5-typing/releases/tag/v1.0.0-alpha.1) +* [@ckeditor/ckeditor5-ui](https://www.npmjs.com/package/@ckeditor/ckeditor5-ui): v0.10.0 => [v1.0.0-alpha.1](https://github.com/ckeditor/ckeditor5-ui/releases/tag/v1.0.0-alpha.1) +* [@ckeditor/ckeditor5-undo](https://www.npmjs.com/package/@ckeditor/ckeditor5-undo): v0.9.0 => [v1.0.0-alpha.1](https://github.com/ckeditor/ckeditor5-undo/releases/tag/v1.0.0-alpha.1) +* [@ckeditor/ckeditor5-upload](https://www.npmjs.com/package/@ckeditor/ckeditor5-upload): v0.2.0 => [v1.0.0-alpha.1](https://github.com/ckeditor/ckeditor5-upload/releases/tag/v1.0.0-alpha.1) +* [@ckeditor/ckeditor5-utils](https://www.npmjs.com/package/@ckeditor/ckeditor5-utils): v0.10.0 => [v1.0.0-alpha.1](https://github.com/ckeditor/ckeditor5-utils/releases/tag/v1.0.0-alpha.1) +* [@ckeditor/ckeditor5-widget](https://www.npmjs.com/package/@ckeditor/ckeditor5-widget): v0.2.0 => [v1.0.0-alpha.1](https://github.com/ckeditor/ckeditor5-widget/releases/tag/v1.0.0-alpha.1) + +### Bug fixes + +Besides changes in the dependencies, this build also contains these bug fixes: + +* It will be possible to configure toolbar offset without overriding pre-configured toolbar items. See [ckeditor/ckeditor5#572](https://github.com/ckeditor/ckeditor5/issues/572). ([e7fbda9](https://github.com/ckeditor/ckeditor5-build-classic/commit/e7fbda9)) + +### Features + +Besides new features introduced in the dependencies, this build also introduces these features: + +* Added Easy Image with Cloud Services and CKFinder adapter. See [ckeditor/ckeditor5#567](https://github.com/ckeditor/ckeditor5/issues/567). ([668691f](https://github.com/ckeditor/ckeditor5-build-classic/commit/668691f)) + + +## [0.4.0](https://github.com/ckeditor/ckeditor5-build-classic/compare/v0.3.0...v0.4.0) (September 7, 2017) + +### Other changes + +* The build now defines the editor as its default export. This makes requiring the build easier when using AMD, CJS or ES6 modules. See [ckeditor/ckeditor5#545](https://github.com/ckeditor/ckeditor5/issues/545). ([e5c7511](https://github.com/ckeditor/ckeditor5-build-classic/commit/e5c7511)) + +### BREAKING CHANGES + +* The build now defines a default export instead of named export. See [ckeditor/ckeditor5#545](https://github.com/ckeditor/ckeditor5/issues/545). + + +## [0.3.0](https://github.com/ckeditor/ckeditor5-build-classic/compare/v0.2.0...v0.3.0) (September 3, 2017) + +### Features + +* Support for building the editor in another language than `en`. Closes [#11](https://github.com/ckeditor/ckeditor5-build-classic/issues/11). ([f4233a5](https://github.com/ckeditor/ckeditor5-build-classic/commit/f4233a5)) + +### Other changes + +* Removed the compat-type of build. Closes [#20](https://github.com/ckeditor/ckeditor5-build-classic/issues/20). ([529a319](https://github.com/ckeditor/ckeditor5-build-classic/commit/529a319)) + + +## [0.2.0](https://github.com/ckeditor/ckeditor5-build-classic/compare/v0.1.1...v0.2.0) (May 7, 2017) + +### Bug fixes + +* CSS should be minified. Closes [#7](https://github.com/ckeditor/ckeditor5-build-classic/issues/7). ([ae2da32](https://github.com/ckeditor/ckeditor5-build-classic/commit/ae2da32)) + +### Features + +* Added the block quotes feature. Closes [#5](https://github.com/ckeditor/ckeditor5-build-classic/issues/5). ([ab5db32](https://github.com/ckeditor/ckeditor5-build-classic/commit/ab5db32)) + +### Other changes + +* Changed the order of buttons in the image toolbar. See https://github.com/ckeditor/ckeditor5-image/issues/60. ([131cbe7](https://github.com/ckeditor/ckeditor5-build-classic/commit/131cbe7)) +* Use the essentials preset instead of low level features like typing and enter. Closes [#9](https://github.com/ckeditor/ckeditor5-build-classic/issues/9). ([80314bf](https://github.com/ckeditor/ckeditor5-build-classic/commit/80314bf)) + + +## [0.1.1](https://github.com/ckeditor/ckeditor5-build-classic/compare/v0.1.0...v0.1.1) (April 6, 2017) + +### Other + +* Updated the bundles (the previous release contained an outdated bundles). ([0ac7b07](https://github.com/ckeditor/ckeditor5-build-classic/commit/0ac7b07)) + + +## 0.1.0 (April 5, 2017) + +### Features + +* Initial implementation. Closes [#1](https://github.com/ckeditor/ckeditor5-build-classic/issues/1). ([f88bc52](https://github.com/ckeditor/ckeditor5-build-classic/commit/f88bc52)) diff --git a/node_modules/@ckeditor/ckeditor5-build-classic/LICENSE.md b/node_modules/@ckeditor/ckeditor5-build-classic/LICENSE.md new file mode 100644 index 0000000..5c91102 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-build-classic/LICENSE.md @@ -0,0 +1,21 @@ +Software License Agreement +========================== + +**CKEditor 5 classic editor build** – https://github.com/ckeditor/ckeditor5-build-classic
+Copyright (c) 2003–2024, [CKSource Holding sp. z o.o.](https://cksource.com) All rights reserved. + +Licensed under the terms of [GNU General Public License Version 2 or later](http://www.gnu.org/licenses/gpl.html). + +Sources of Intellectual Property Included in CKEditor +----------------------------------------------------- + +Where not otherwise indicated, all CKEditor content is authored by CKSource engineers and consists of CKSource-owned intellectual property. In some specific instances, CKEditor will incorporate work done by developers outside of CKSource with their express permission. + +The following libraries are included in CKEditor under the [MIT license](https://opensource.org/licenses/MIT): + +* Lodash - Copyright (c) JS Foundation and other contributors https://js.foundation/. Based on Underscore.js, copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors http://underscorejs.org/. + +Trademarks +---------- + +**CKEditor** is a trademark of [CKSource Holding sp. z o.o.](https://cksource.com) All other brand and product names are trademarks, registered trademarks, or service marks of their respective holders. diff --git a/node_modules/@ckeditor/ckeditor5-build-classic/README.md b/node_modules/@ckeditor/ckeditor5-build-classic/README.md new file mode 100644 index 0000000..0f8f55a --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-build-classic/README.md @@ -0,0 +1,70 @@ +CKEditor 5 classic editor build +======================================== + +[![npm version](https://badge.fury.io/js/%40ckeditor%2Fckeditor5-build-classic.svg)](https://www.npmjs.com/package/@ckeditor/ckeditor5-build-classic) +[![Coverage Status](https://coveralls.io/repos/github/ckeditor/ckeditor5/badge.svg?branch=master)](https://coveralls.io/github/ckeditor/ckeditor5?branch=master) +[![Build Status](https://travis-ci.com/ckeditor/ckeditor5.svg?branch=master)](https://app.travis-ci.com/github/ckeditor/ckeditor5) + +The classic editor build for CKEditor 5. Read more about the [classic editor build](https://ckeditor.com/docs/ckeditor5/latest/installation/getting-started/predefined-builds.html#classic-editor) and see the [demo](https://ckeditor.com/docs/ckeditor5/latest/examples/builds/classic-editor.html). + +![CKEditor 5 classic editor build screenshot](https://c.cksource.com/a/1/img/npm/ckeditor5-build-classic.png) + +## Documentation + +See: + +* [Installation](https://ckeditor.com/docs/ckeditor5/latest/installation/getting-started/quick-start.html) for how to install this package and what it contains. +* [Editor lifecycle](https://ckeditor.com/docs/ckeditor5/latest/installation/getting-started/editor-lifecycle.html) for how to create an editor and interact with it. +* [Configuration](https://ckeditor.com/docs/ckeditor5/latest/installation/getting-started/configuration.html) for how to configure the editor. +* [Creating custom builds](https://ckeditor.com/docs/ckeditor5/latest/installation/getting-started/quick-start.html#building-the-editor-from-source) for how to customize the build (configure and rebuild the editor bundle). + +## Quick start + +First, install the build from npm: + +```bash +npm install --save @ckeditor/ckeditor5-build-classic +``` + +And use it in your website: + +```html +
+

This is the editor content.

+
+ + +``` + +Or in your JavaScript application: + +```js +import ClassicEditor from '@ckeditor/ckeditor5-build-classic'; + +// Or using the CommonJS version: +// const ClassicEditor = require( '@ckeditor/ckeditor5-build-classic' ); + +ClassicEditor + .create( document.querySelector( '#editor' ) ) + .then( editor => { + window.editor = editor; + } ) + .catch( error => { + console.error( 'There was a problem initializing the editor.', error ); + } ); +``` + +**Note:** If you are planning to integrate CKEditor 5 deep into your application, it is actually more convenient and recommended to install and import the source modules directly (like it happens in `ckeditor.js`). Read more in the [Advanced setup guide](https://ckeditor.com/docs/ckeditor5/latest/installation/advanced/alternative-setups/integrating-from-source-webpack.html). + +## License + +Licensed under the terms of [GNU General Public License Version 2 or later](http://www.gnu.org/licenses/gpl.html). For full details about the license, please check the `LICENSE.md` file or [https://ckeditor.com/legal/ckeditor-oss-license](https://ckeditor.com/legal/ckeditor-oss-license). diff --git a/node_modules/@ckeditor/ckeditor5-build-classic/build/ckeditor.d.ts b/node_modules/@ckeditor/ckeditor5-build-classic/build/ckeditor.d.ts new file mode 100644 index 0000000..01b53a5 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-build-classic/build/ckeditor.d.ts @@ -0,0 +1,39 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +import { ClassicEditor as ClassicEditorBase } from '@ckeditor/ckeditor5-editor-classic'; +import { Essentials } from '@ckeditor/ckeditor5-essentials'; +import { CKFinderUploadAdapter } from '@ckeditor/ckeditor5-adapter-ckfinder'; +import { Autoformat } from '@ckeditor/ckeditor5-autoformat'; +import { Bold, Italic } from '@ckeditor/ckeditor5-basic-styles'; +import { BlockQuote } from '@ckeditor/ckeditor5-block-quote'; +import { CKBox } from '@ckeditor/ckeditor5-ckbox'; +import { CKFinder } from '@ckeditor/ckeditor5-ckfinder'; +import { EasyImage } from '@ckeditor/ckeditor5-easy-image'; +import { Heading } from '@ckeditor/ckeditor5-heading'; +import { Image, ImageCaption, ImageStyle, ImageToolbar, ImageUpload, PictureEditing } from '@ckeditor/ckeditor5-image'; +import { Indent } from '@ckeditor/ckeditor5-indent'; +import { Link } from '@ckeditor/ckeditor5-link'; +import { List } from '@ckeditor/ckeditor5-list'; +import { MediaEmbed } from '@ckeditor/ckeditor5-media-embed'; +import { Paragraph } from '@ckeditor/ckeditor5-paragraph'; +import { PasteFromOffice } from '@ckeditor/ckeditor5-paste-from-office'; +import { Table, TableToolbar } from '@ckeditor/ckeditor5-table'; +import { TextTransformation } from '@ckeditor/ckeditor5-typing'; +import { CloudServices } from '@ckeditor/ckeditor5-cloud-services'; +export default class ClassicEditor extends ClassicEditorBase { + static builtinPlugins: (typeof TextTransformation | typeof Essentials | typeof CKFinderUploadAdapter | typeof Paragraph | typeof Heading | typeof Autoformat | typeof Bold | typeof Italic | typeof BlockQuote | typeof Image | typeof ImageCaption | typeof ImageStyle | typeof ImageToolbar | typeof ImageUpload | typeof CloudServices | typeof CKBox | typeof CKFinder | typeof EasyImage | typeof List | typeof Indent | typeof Link | typeof MediaEmbed | typeof PasteFromOffice | typeof Table | typeof TableToolbar | typeof PictureEditing)[]; + static defaultConfig: { + toolbar: { + items: string[]; + }; + image: { + toolbar: string[]; + }; + table: { + contentToolbar: string[]; + }; + language: string; + }; +} diff --git a/node_modules/@ckeditor/ckeditor5-build-classic/build/ckeditor.js b/node_modules/@ckeditor/ckeditor5-build-classic/build/ckeditor.js new file mode 100644 index 0000000..aebe97d --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-build-classic/build/ckeditor.js @@ -0,0 +1,7 @@ +!function(t){const e=t.en=t.en||{};e.dictionary=Object.assign(e.dictionary||{},{"(may require Fn)":"(may require Fn)","%0 of %1":"%0 of %1",Accept:"Accept",Accessibility:"Accessibility","Accessibility help":"Accessibility help","Align cell text to the bottom":"Align cell text to the bottom","Align cell text to the center":"Align cell text to the center","Align cell text to the left":"Align cell text to the left","Align cell text to the middle":"Align cell text to the middle","Align cell text to the right":"Align cell text to the right","Align cell text to the top":"Align cell text to the top","Align table to the left":"Align table to the left","Align table to the right":"Align table to the right",Alignment:"Alignment",Aquamarine:"Aquamarine",Background:"Background","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"Below, you can find a list of keyboard shortcuts that can be used in the editor.",Black:"Black","Block quote":"Block quote",Blue:"Blue",Bold:"Bold","Bold text":"Bold text",Border:"Border","Break text":"Break text","Bulleted List":"Bulleted List","Bulleted list styles toolbar":"Bulleted list styles toolbar",Cancel:"Cancel","Cannot access default workspace.":"Cannot access default workspace.","Cannot determine a category for the uploaded file.":"Cannot determine a category for the uploaded file.","Cannot upload file:":"Cannot upload file:","Caption for image: %0":"Caption for image: %0","Caption for the image":"Caption for the image","Cell properties":"Cell properties","Center table":"Center table","Centered image":"Centered image","Change image text alternative":"Change image text alternative","Choose heading":"Choose heading",Circle:"Circle",Clear:"Clear","Click to edit block":"Click to edit block",Close:"Close","Close contextual balloons, dropdowns, and dialogs":"Close contextual balloons, dropdowns, and dialogs",Code:"Code",Color:"Color","Color picker":"Color picker",Column:"Column","Content editing keystrokes":"Content editing keystrokes","Copy selected content":"Copy selected content","Could not insert image at the current position.":"Could not insert image at the current position.","Could not obtain resized image URL.":"Could not obtain resized image URL.","Create link":"Create link",Dashed:"Dashed",Decimal:"Decimal","Decimal with leading zero":"Decimal with leading zero","Decrease indent":"Decrease indent","Decrease list item indent":"Decrease list item indent","Delete column":"Delete column","Delete row":"Delete row","Dim grey":"Dim grey",Dimensions:"Dimensions",Disc:"Disc",Dotted:"Dotted",Double:"Double",Downloadable:"Downloadable","Drag to move":"Drag to move","Dropdown toolbar":"Dropdown toolbar","Edit block":"Edit block","Edit image":"Edit image","Edit link":"Edit link","Editor block content toolbar":"Editor block content toolbar","Editor contextual toolbar":"Editor contextual toolbar","Editor dialog":"Editor dialog","Editor editing area: %0":"Editor editing area: %0","Editor menu bar":"Editor menu bar","Editor toolbar":"Editor toolbar","Enter image caption":"Enter image caption","Enter table caption":"Enter table caption","Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.":"Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content.","Failed to determine category of edited image.":"Failed to determine category of edited image.","Full size image":"Full size image",Green:"Green",Grey:"Grey",Groove:"Groove","Header column":"Header column","Header row":"Header row",Heading:"Heading","Heading 1":"Heading 1","Heading 2":"Heading 2","Heading 3":"Heading 3","Heading 4":"Heading 4","Heading 5":"Heading 5","Heading 6":"Heading 6",Height:"Height","Help Contents. To close this dialog press ESC.":"Help Contents. To close this dialog press ESC.",HEX:"HEX","Horizontal text alignment toolbar":"Horizontal text alignment toolbar","Image from computer":"Image from computer","Image resize list":"Image resize list","Image toolbar":"Image toolbar","image widget":"image widget","In line":"In line","Increase indent":"Increase indent","Increase list item indent":"Increase list item indent",Insert:"Insert","Insert a hard break (a new paragraph)":"Insert a hard break (a new paragraph)","Insert a new paragraph directly after a widget":"Insert a new paragraph directly after a widget","Insert a new paragraph directly before a widget":"Insert a new paragraph directly before a widget","Insert a new table row (when in the last cell of a table)":"Insert a new table row (when in the last cell of a table)","Insert a soft break (a <br> element)":"Insert a soft break (a <br> element)","Insert column left":"Insert column left","Insert column right":"Insert column right","Insert image":"Insert image","Insert image via URL":"Insert image via URL","Insert image with file manager":"Insert image with file manager","Insert media":"Insert media","Insert paragraph after block":"Insert paragraph after block","Insert paragraph before block":"Insert paragraph before block","Insert row above":"Insert row above","Insert row below":"Insert row below","Insert table":"Insert table","Insert with file manager":"Insert with file manager","Inserting image failed":"Inserting image failed",Inset:"Inset","Invalid start index value.":"Invalid start index value.",Italic:"Italic","Italic text":"Italic text","Justify cell text":"Justify cell text","Keystrokes that can be used in a list":"Keystrokes that can be used in a list","Keystrokes that can be used in a table cell":"Keystrokes that can be used in a table cell","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"Keystrokes that can be used when a widget is selected (for example: image, table, etc.)","Left aligned image":"Left aligned image","Light blue":"Light blue","Light green":"Light green","Light grey":"Light grey",Link:"Link","Link image":"Link image","Link URL":"Link URL","List properties":"List properties","Lower-latin":"Lower-latin","Lower–roman":"Lower–roman","Media toolbar":"Media toolbar","Media URL":"Media URL","media widget":"media widget",MENU_BAR_MENU_EDIT:"Edit",MENU_BAR_MENU_FILE:"File",MENU_BAR_MENU_FONT:"Font",MENU_BAR_MENU_FORMAT:"Format",MENU_BAR_MENU_HELP:"Help",MENU_BAR_MENU_INSERT:"Insert",MENU_BAR_MENU_TEXT:"Text",MENU_BAR_MENU_TOOLS:"Tools",MENU_BAR_MENU_VIEW:"View","Merge cell down":"Merge cell down","Merge cell left":"Merge cell left","Merge cell right":"Merge cell right","Merge cell up":"Merge cell up","Merge cells":"Merge cells","Move focus between form fields (inputs, buttons, etc.)":"Move focus between form fields (inputs, buttons, etc.)","Move focus in and out of an active dialog window":"Move focus in and out of an active dialog window","Move focus to the menu bar, navigate between menu bars":"Move focus to the menu bar, navigate between menu bars","Move focus to the toolbar, navigate between toolbars":"Move focus to the toolbar, navigate between toolbars","Move out of a link":"Move out of a link","Move out of an inline code style":"Move out of an inline code style","Move the caret to allow typing directly after a widget":"Move the caret to allow typing directly after a widget","Move the caret to allow typing directly before a widget":"Move the caret to allow typing directly before a widget","Move the selection to the next cell":"Move the selection to the next cell","Move the selection to the previous cell":"Move the selection to the previous cell","Navigate through the table":"Navigate through the table","Navigate through the toolbar or menu bar":"Navigate through the toolbar or menu bar",Next:"Next","No results found":"No results found","No searchable items":"No searchable items",None:"None","Numbered List":"Numbered List","Numbered list styles toolbar":"Numbered list styles toolbar","Open file manager":"Open file manager","Open in a new tab":"Open in a new tab","Open link in new tab":"Open link in new tab","Open media in new tab":"Open media in new tab","Open the accessibility help dialog":"Open the accessibility help dialog",Orange:"Orange",Original:"Original",Outset:"Outset",Padding:"Padding",Paragraph:"Paragraph","Paste content":"Paste content","Paste content as plain text":"Paste content as plain text","Paste the media URL in the input.":"Paste the media URL in the input.","Press %0 for help.":"Press %0 for help.","Press Enter to type after or press Shift + Enter to type before the widget":"Press Enter to type after or press Shift + Enter to type before the widget",Previous:"Previous","Processing the edited image.":"Processing the edited image.",Purple:"Purple",Red:"Red",Redo:"Redo","Remove color":"Remove color","Replace from computer":"Replace from computer","Replace image":"Replace image","Replace image from computer":"Replace image from computer","Replace image with file manager":"Replace image with file manager","Replace with file manager":"Replace with file manager","Resize image":"Resize image","Resize image to %0":"Resize image to %0","Resize image to the original size":"Resize image to the original size","Restore default":"Restore default","Reversed order":"Reversed order","Revert autoformatting action":"Revert autoformatting action","Rich Text Editor":"Rich Text Editor",Ridge:"Ridge","Right aligned image":"Right aligned image",Row:"Row",Save:"Save","Select all":"Select all","Select column":"Select column","Select row":"Select row","Selecting resized image failed":"Selecting resized image failed","Server failed to process the image.":"Server failed to process the image.","Show more items":"Show more items","Side image":"Side image",Solid:"Solid","Split cell horizontally":"Split cell horizontally","Split cell vertically":"Split cell vertically",Square:"Square","Start at":"Start at","Start index must be greater than 0.":"Start index must be greater than 0.",Strikethrough:"Strikethrough","Strikethrough text":"Strikethrough text",Style:"Style",Subscript:"Subscript",Superscript:"Superscript",Table:"Table","Table alignment toolbar":"Table alignment toolbar","Table cell text alignment":"Table cell text alignment","Table properties":"Table properties","Table toolbar":"Table toolbar","Text alternative":"Text alternative",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".',"The URL must not be empty.":"The URL must not be empty.",'The value is invalid. Try "10px" or "2em" or simply "2".':'The value is invalid. Try "10px" or "2em" or simply "2".',"These keyboard shortcuts allow for quick access to content editing features.":"These keyboard shortcuts allow for quick access to content editing features.","This link has no URL":"This link has no URL","This media URL is not supported.":"This media URL is not supported.","Tip: Paste the URL into the content to embed faster.":"Tip: Paste the URL into the content to embed faster.","To-do List":"To-do List","Toggle caption off":"Toggle caption off","Toggle caption on":"Toggle caption on","Toggle the circle list style":"Toggle the circle list style","Toggle the decimal list style":"Toggle the decimal list style","Toggle the decimal with leading zero list style":"Toggle the decimal with leading zero list style","Toggle the disc list style":"Toggle the disc list style","Toggle the lower–latin list style":"Toggle the lower–latin list style","Toggle the lower–roman list style":"Toggle the lower–roman list style","Toggle the square list style":"Toggle the square list style","Toggle the upper–latin list style":"Toggle the upper–latin list style","Toggle the upper–roman list style":"Toggle the upper–roman list style",Turquoise:"Turquoise","Type or paste your content here.":"Type or paste your content here.","Type your title":"Type your title",Underline:"Underline","Underline text":"Underline text",Undo:"Undo",Unlink:"Unlink",Update:"Update","Update image URL":"Update image URL","Upload failed":"Upload failed","Upload from computer":"Upload from computer","Upload image from computer":"Upload image from computer","Upload in progress":"Upload in progress","Upper-latin":"Upper-latin","Upper-roman":"Upper-roman","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.","User interface and content navigation keystrokes":"User interface and content navigation keystrokes","Vertical text alignment toolbar":"Vertical text alignment toolbar",White:"White","Widget toolbar":"Widget toolbar",Width:"Width","Wrap text":"Wrap text",Yellow:"Yellow"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})), +/*! + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md. + */ +function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.ClassicEditor=e():t.ClassicEditor=e()}(self,(()=>(()=>{var t={9246:(t,e,n)=>{const o=n(6931),i={};for(const t of Object.keys(o))i[o[t]]=t;const r={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};t.exports=r;for(const t of Object.keys(r)){if(!("channels"in r[t]))throw new Error("missing channels property: "+t);if(!("labels"in r[t]))throw new Error("missing channel labels property: "+t);if(r[t].labels.length!==r[t].channels)throw new Error("channel and label counts mismatch: "+t);const{channels:e,labels:n}=r[t];delete r[t].channels,delete r[t].labels,Object.defineProperty(r[t],"channels",{value:e}),Object.defineProperty(r[t],"labels",{value:n})}r.rgb.hsl=function(t){const e=t[0]/255,n=t[1]/255,o=t[2]/255,i=Math.min(e,n,o),r=Math.max(e,n,o),s=r-i;let a,c;r===i?a=0:e===r?a=(n-o)/s:n===r?a=2+(o-e)/s:o===r&&(a=4+(e-n)/s),a=Math.min(60*a,360),a<0&&(a+=360);const l=(i+r)/2;return c=r===i?0:l<=.5?s/(r+i):s/(2-r-i),[a,100*c,100*l]},r.rgb.hsv=function(t){let e,n,o,i,r;const s=t[0]/255,a=t[1]/255,c=t[2]/255,l=Math.max(s,a,c),d=l-Math.min(s,a,c),u=function(t){return(l-t)/6/d+.5};return 0===d?(i=0,r=0):(r=d/l,e=u(s),n=u(a),o=u(c),s===l?i=o-n:a===l?i=1/3+e-o:c===l&&(i=2/3+n-e),i<0?i+=1:i>1&&(i-=1)),[360*i,100*r,100*l]},r.rgb.hwb=function(t){const e=t[0],n=t[1];let o=t[2];const i=r.rgb.hsl(t)[0],s=1/255*Math.min(e,Math.min(n,o));return o=1-1/255*Math.max(e,Math.max(n,o)),[i,100*s,100*o]},r.rgb.cmyk=function(t){const e=t[0]/255,n=t[1]/255,o=t[2]/255,i=Math.min(1-e,1-n,1-o);return[100*((1-e-i)/(1-i)||0),100*((1-n-i)/(1-i)||0),100*((1-o-i)/(1-i)||0),100*i]},r.rgb.keyword=function(t){const e=i[t];if(e)return e;let n,r=1/0;for(const e of Object.keys(o)){const i=o[e],c=(a=i,((s=t)[0]-a[0])**2+(s[1]-a[1])**2+(s[2]-a[2])**2);c.04045?((e+.055)/1.055)**2.4:e/12.92,n=n>.04045?((n+.055)/1.055)**2.4:n/12.92,o=o>.04045?((o+.055)/1.055)**2.4:o/12.92;return[100*(.4124*e+.3576*n+.1805*o),100*(.2126*e+.7152*n+.0722*o),100*(.0193*e+.1192*n+.9505*o)]},r.rgb.lab=function(t){const e=r.rgb.xyz(t);let n=e[0],o=e[1],i=e[2];n/=95.047,o/=100,i/=108.883,n=n>.008856?n**(1/3):7.787*n+16/116,o=o>.008856?o**(1/3):7.787*o+16/116,i=i>.008856?i**(1/3):7.787*i+16/116;return[116*o-16,500*(n-o),200*(o-i)]},r.hsl.rgb=function(t){const e=t[0]/360,n=t[1]/100,o=t[2]/100;let i,r,s;if(0===n)return s=255*o,[s,s,s];i=o<.5?o*(1+n):o+n-o*n;const a=2*o-i,c=[0,0,0];for(let t=0;t<3;t++)r=e+1/3*-(t-1),r<0&&r++,r>1&&r--,s=6*r<1?a+6*(i-a)*r:2*r<1?i:3*r<2?a+(i-a)*(2/3-r)*6:a,c[t]=255*s;return c},r.hsl.hsv=function(t){const e=t[0];let n=t[1]/100,o=t[2]/100,i=n;const r=Math.max(o,.01);o*=2,n*=o<=1?o:2-o,i*=r<=1?r:2-r;return[e,100*(0===o?2*i/(r+i):2*n/(o+n)),100*((o+n)/2)]},r.hsv.rgb=function(t){const e=t[0]/60,n=t[1]/100;let o=t[2]/100;const i=Math.floor(e)%6,r=e-Math.floor(e),s=255*o*(1-n),a=255*o*(1-n*r),c=255*o*(1-n*(1-r));switch(o*=255,i){case 0:return[o,c,s];case 1:return[a,o,s];case 2:return[s,o,c];case 3:return[s,a,o];case 4:return[c,s,o];case 5:return[o,s,a]}},r.hsv.hsl=function(t){const e=t[0],n=t[1]/100,o=t[2]/100,i=Math.max(o,.01);let r,s;s=(2-n)*o;const a=(2-n)*i;return r=n*i,r/=a<=1?a:2-a,r=r||0,s/=2,[e,100*r,100*s]},r.hwb.rgb=function(t){const e=t[0]/360;let n=t[1]/100,o=t[2]/100;const i=n+o;let r;i>1&&(n/=i,o/=i);const s=Math.floor(6*e),a=1-o;r=6*e-s,1&s&&(r=1-r);const c=n+r*(a-n);let l,d,u;switch(s){default:case 6:case 0:l=a,d=c,u=n;break;case 1:l=c,d=a,u=n;break;case 2:l=n,d=a,u=c;break;case 3:l=n,d=c,u=a;break;case 4:l=c,d=n,u=a;break;case 5:l=a,d=n,u=c}return[255*l,255*d,255*u]},r.cmyk.rgb=function(t){const e=t[0]/100,n=t[1]/100,o=t[2]/100,i=t[3]/100;return[255*(1-Math.min(1,e*(1-i)+i)),255*(1-Math.min(1,n*(1-i)+i)),255*(1-Math.min(1,o*(1-i)+i))]},r.xyz.rgb=function(t){const e=t[0]/100,n=t[1]/100,o=t[2]/100;let i,r,s;return i=3.2406*e+-1.5372*n+-.4986*o,r=-.9689*e+1.8758*n+.0415*o,s=.0557*e+-.204*n+1.057*o,i=i>.0031308?1.055*i**(1/2.4)-.055:12.92*i,r=r>.0031308?1.055*r**(1/2.4)-.055:12.92*r,s=s>.0031308?1.055*s**(1/2.4)-.055:12.92*s,i=Math.min(Math.max(0,i),1),r=Math.min(Math.max(0,r),1),s=Math.min(Math.max(0,s),1),[255*i,255*r,255*s]},r.xyz.lab=function(t){let e=t[0],n=t[1],o=t[2];e/=95.047,n/=100,o/=108.883,e=e>.008856?e**(1/3):7.787*e+16/116,n=n>.008856?n**(1/3):7.787*n+16/116,o=o>.008856?o**(1/3):7.787*o+16/116;return[116*n-16,500*(e-n),200*(n-o)]},r.lab.xyz=function(t){let e,n,o;n=(t[0]+16)/116,e=t[1]/500+n,o=n-t[2]/200;const i=n**3,r=e**3,s=o**3;return n=i>.008856?i:(n-16/116)/7.787,e=r>.008856?r:(e-16/116)/7.787,o=s>.008856?s:(o-16/116)/7.787,e*=95.047,n*=100,o*=108.883,[e,n,o]},r.lab.lch=function(t){const e=t[0],n=t[1],o=t[2];let i;i=360*Math.atan2(o,n)/2/Math.PI,i<0&&(i+=360);return[e,Math.sqrt(n*n+o*o),i]},r.lch.lab=function(t){const e=t[0],n=t[1],o=t[2]/360*2*Math.PI;return[e,n*Math.cos(o),n*Math.sin(o)]},r.rgb.ansi16=function(t,e=null){const[n,o,i]=t;let s=null===e?r.rgb.hsv(t)[2]:e;if(s=Math.round(s/50),0===s)return 30;let a=30+(Math.round(i/255)<<2|Math.round(o/255)<<1|Math.round(n/255));return 2===s&&(a+=60),a},r.hsv.ansi16=function(t){return r.rgb.ansi16(r.hsv.rgb(t),t[2])},r.rgb.ansi256=function(t){const e=t[0],n=t[1],o=t[2];if(e===n&&n===o)return e<8?16:e>248?231:Math.round((e-8)/247*24)+232;return 16+36*Math.round(e/255*5)+6*Math.round(n/255*5)+Math.round(o/255*5)},r.ansi16.rgb=function(t){let e=t%10;if(0===e||7===e)return t>50&&(e+=3.5),e=e/10.5*255,[e,e,e];const n=.5*(1+~~(t>50));return[(1&e)*n*255,(e>>1&1)*n*255,(e>>2&1)*n*255]},r.ansi256.rgb=function(t){if(t>=232){const e=10*(t-232)+8;return[e,e,e]}let e;t-=16;return[Math.floor(t/36)/5*255,Math.floor((e=t%36)/6)/5*255,e%6/5*255]},r.rgb.hex=function(t){const e=(((255&Math.round(t[0]))<<16)+((255&Math.round(t[1]))<<8)+(255&Math.round(t[2]))).toString(16).toUpperCase();return"000000".substring(e.length)+e},r.hex.rgb=function(t){const e=t.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!e)return[0,0,0];let n=e[0];3===e[0].length&&(n=n.split("").map((t=>t+t)).join(""));const o=parseInt(n,16);return[o>>16&255,o>>8&255,255&o]},r.rgb.hcg=function(t){const e=t[0]/255,n=t[1]/255,o=t[2]/255,i=Math.max(Math.max(e,n),o),r=Math.min(Math.min(e,n),o),s=i-r;let a,c;return a=s<1?r/(1-s):0,c=s<=0?0:i===e?(n-o)/s%6:i===n?2+(o-e)/s:4+(e-n)/s,c/=6,c%=1,[360*c,100*s,100*a]},r.hsl.hcg=function(t){const e=t[1]/100,n=t[2]/100,o=n<.5?2*e*n:2*e*(1-n);let i=0;return o<1&&(i=(n-.5*o)/(1-o)),[t[0],100*o,100*i]},r.hsv.hcg=function(t){const e=t[1]/100,n=t[2]/100,o=e*n;let i=0;return o<1&&(i=(n-o)/(1-o)),[t[0],100*o,100*i]},r.hcg.rgb=function(t){const e=t[0]/360,n=t[1]/100,o=t[2]/100;if(0===n)return[255*o,255*o,255*o];const i=[0,0,0],r=e%1*6,s=r%1,a=1-s;let c=0;switch(Math.floor(r)){case 0:i[0]=1,i[1]=s,i[2]=0;break;case 1:i[0]=a,i[1]=1,i[2]=0;break;case 2:i[0]=0,i[1]=1,i[2]=s;break;case 3:i[0]=0,i[1]=a,i[2]=1;break;case 4:i[0]=s,i[1]=0,i[2]=1;break;default:i[0]=1,i[1]=0,i[2]=a}return c=(1-n)*o,[255*(n*i[0]+c),255*(n*i[1]+c),255*(n*i[2]+c)]},r.hcg.hsv=function(t){const e=t[1]/100,n=e+t[2]/100*(1-e);let o=0;return n>0&&(o=e/n),[t[0],100*o,100*n]},r.hcg.hsl=function(t){const e=t[1]/100,n=t[2]/100*(1-e)+.5*e;let o=0;return n>0&&n<.5?o=e/(2*n):n>=.5&&n<1&&(o=e/(2*(1-n))),[t[0],100*o,100*n]},r.hcg.hwb=function(t){const e=t[1]/100,n=e+t[2]/100*(1-e);return[t[0],100*(n-e),100*(1-n)]},r.hwb.hcg=function(t){const e=t[1]/100,n=1-t[2]/100,o=n-e;let i=0;return o<1&&(i=(n-o)/(1-o)),[t[0],100*o,100*i]},r.apple.rgb=function(t){return[t[0]/65535*255,t[1]/65535*255,t[2]/65535*255]},r.rgb.apple=function(t){return[t[0]/255*65535,t[1]/255*65535,t[2]/255*65535]},r.gray.rgb=function(t){return[t[0]/100*255,t[0]/100*255,t[0]/100*255]},r.gray.hsl=function(t){return[0,0,t[0]]},r.gray.hsv=r.gray.hsl,r.gray.hwb=function(t){return[0,100,t[0]]},r.gray.cmyk=function(t){return[0,0,0,t[0]]},r.gray.lab=function(t){return[t[0],0,0]},r.gray.hex=function(t){const e=255&Math.round(t[0]/100*255),n=((e<<16)+(e<<8)+e).toString(16).toUpperCase();return"000000".substring(n.length)+n},r.rgb.gray=function(t){return[(t[0]+t[1]+t[2])/3/255*100]}},9047:(t,e,n)=>{const o=n(9246),i=n(802),r={};Object.keys(o).forEach((t=>{r[t]={},Object.defineProperty(r[t],"channels",{value:o[t].channels}),Object.defineProperty(r[t],"labels",{value:o[t].labels});const e=i(t);Object.keys(e).forEach((n=>{const o=e[n];r[t][n]=function(t){const e=function(...e){const n=e[0];if(null==n)return n;n.length>1&&(e=n);const o=t(e);if("object"==typeof o)for(let t=o.length,e=0;e1&&(e=n),t(e))};return"conversion"in t&&(e.conversion=t.conversion),e}(o)}))})),t.exports=r},802:(t,e,n)=>{const o=n(9246);function i(t){const e=function(){const t={},e=Object.keys(o);for(let n=e.length,o=0;o{"use strict";t.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},4199:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var o=n(9372),i=n.n(o),r=n(935),s=n.n(r)()(i());s.push([t.id,".ck-content code{background-color:hsla(0,0%,78%,.3);border-radius:2px;padding:.15em}.ck.ck-editor__editable .ck-code_selected{background-color:hsla(0,0%,78%,.5)}","",{version:3,sources:["webpack://./../ckeditor5-basic-styles/theme/code.css"],names:[],mappings:"AAKA,iBACC,kCAAuC,CAEvC,iBAAkB,CADlB,aAED,CAEA,0CACC,kCACD",sourcesContent:["/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck-content code {\n\tbackground-color: hsla(0, 0%, 78%, 0.3);\n\tpadding: .15em;\n\tborder-radius: 2px;\n}\n\n.ck.ck-editor__editable .ck-code_selected {\n\tbackground-color: hsla(0, 0%, 78%, 0.5);\n}\n"],sourceRoot:""}]);const a=s},8708:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var o=n(9372),i=n.n(o),r=n(935),s=n.n(r)()(i());s.push([t.id,".ck-content blockquote{border-left:5px solid #ccc;font-style:italic;margin-left:0;margin-right:0;overflow:hidden;padding-left:1.5em;padding-right:1.5em}.ck-content[dir=rtl] blockquote{border-left:0;border-right:5px solid #ccc}","",{version:3,sources:["webpack://./../ckeditor5-block-quote/theme/blockquote.css"],names:[],mappings:"AAKA,uBAWC,0BAAsC,CADtC,iBAAkB,CAFlB,aAAc,CACd,cAAe,CAPf,eAAgB,CAIhB,kBAAmB,CADnB,mBAOD,CAEA,gCACC,aAAc,CACd,2BACD",sourcesContent:['/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck-content blockquote {\n\t/* See #12 */\n\toverflow: hidden;\n\n\t/* https://github.com/ckeditor/ckeditor5-block-quote/issues/15 */\n\tpadding-right: 1.5em;\n\tpadding-left: 1.5em;\n\n\tmargin-left: 0;\n\tmargin-right: 0;\n\tfont-style: italic;\n\tborder-left: solid 5px hsl(0, 0%, 80%);\n}\n\n.ck-content[dir="rtl"] blockquote {\n\tborder-left: 0;\n\tborder-right: solid 5px hsl(0, 0%, 80%);\n}\n'],sourceRoot:""}]);const a=s},1866:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var o=n(9372),i=n.n(o),r=n(935),s=n.n(r)()(i());s.push([t.id,':root{--ck-image-processing-highlight-color:#f9fafa;--ck-image-processing-background-color:#e3e5e8}.ck.ck-editor__editable .image.image-processing{position:relative}.ck.ck-editor__editable .image.image-processing:before{animation:ck-image-processing-animation 2s linear infinite;background:linear-gradient(90deg,var(--ck-image-processing-background-color),var(--ck-image-processing-highlight-color),var(--ck-image-processing-background-color));background-size:200% 100%;content:"";height:100%;left:0;position:absolute;top:0;width:100%;z-index:1}.ck.ck-editor__editable .image.image-processing img{height:100%}@keyframes ck-image-processing-animation{0%{background-position:200% 0}to{background-position:-200% 0}}',"",{version:3,sources:["webpack://./../ckeditor5-ckbox/theme/ckboximageedit.css"],names:[],mappings:"AAKA,MAEC,6CAAyD,CACzD,8CACD,CAIE,gDACC,iBA2BD,CAzBC,uDAmBC,0DAA2D,CAR3D,oKAKC,CACD,yBAA0B,CAhB1B,UAAW,CAOX,WAAY,CAHZ,MAAO,CAFP,iBAAkB,CAClB,KAAM,CAKN,UAAW,CAHX,SAcD,CAEA,oDACC,WACD,CAKH,yCACC,GACC,0BACD,CACA,GACC,2BACD,CACD",sourcesContent:["/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t/* Based on default CKBox theme colors */\n\t--ck-image-processing-highlight-color: hsl(220, 10%, 98%);\n\t--ck-image-processing-background-color: hsl(220, 10%, 90%);\n}\n\n.ck.ck-editor__editable {\n\t& .image {\n\t\t&.image-processing {\n\t\t\tposition: relative;\n\n\t\t\t&:before {\n\t\t\t\tcontent: '';\n\n\t\t\t\tposition: absolute;\n\t\t\t\ttop: 0;\n\t\t\t\tleft: 0;\n\t\t\t\tz-index: 1;\n\n\t\t\t\theight: 100%;\n\t\t\t\twidth: 100%;\n\n\t\t\t\tbackground: linear-gradient(\n\t\t\t\t\t90deg,\n\t\t\t\t\tvar(--ck-image-processing-background-color),\n\t\t\t\t\tvar(--ck-image-processing-highlight-color),\n\t\t\t\t\tvar(--ck-image-processing-background-color)\n\t\t\t\t);\n\t\t\t\tbackground-size: 200% 100%;\n\n\t\t\t\tanimation: ck-image-processing-animation 2s linear infinite;\n\t\t\t}\n\n\t\t\t& img {\n\t\t\t\theight: 100%;\n\t\t\t}\n\t\t}\n\t}\n}\n\n@keyframes ck-image-processing-animation {\n\t0% {\n\t\tbackground-position: 200% 0;\n\t}\n\t100% {\n\t\tbackground-position: -200% 0;\n\t}\n}\n"],sourceRoot:""}]);const a=s},7793:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var o=n(9372),i=n.n(o),r=n(935),s=n.n(r)()(i());s.push([t.id,'.ck.ck-editor__editable .ck.ck-clipboard-drop-target-position{display:inline;pointer-events:none;position:relative}.ck.ck-editor__editable .ck.ck-clipboard-drop-target-position span{position:absolute;width:0}.ck.ck-editor__editable .ck-widget:-webkit-drag>.ck-widget__selection-handle,.ck.ck-editor__editable .ck-widget:-webkit-drag>.ck-widget__type-around{display:none}.ck.ck-clipboard-drop-target-line{pointer-events:none;position:absolute}:root{--ck-clipboard-drop-target-dot-width:12px;--ck-clipboard-drop-target-dot-height:8px;--ck-clipboard-drop-target-color:var(--ck-color-focus-border)}.ck.ck-editor__editable .ck.ck-clipboard-drop-target-position span{background:var(--ck-clipboard-drop-target-color);border:1px solid var(--ck-clipboard-drop-target-color);bottom:calc(var(--ck-clipboard-drop-target-dot-height)*-.5);margin-left:-1px;top:calc(var(--ck-clipboard-drop-target-dot-height)*-.5)}.ck.ck-editor__editable .ck.ck-clipboard-drop-target-position span:after{border-color:var(--ck-clipboard-drop-target-color) transparent transparent transparent;border-style:solid;border-width:calc(var(--ck-clipboard-drop-target-dot-height)) calc(var(--ck-clipboard-drop-target-dot-width)*.5) 0 calc(var(--ck-clipboard-drop-target-dot-width)*.5);content:"";display:block;height:0;left:50%;position:absolute;top:calc(var(--ck-clipboard-drop-target-dot-height)*-.5);transform:translateX(-50%);width:0}.ck.ck-editor__editable .ck-widget.ck-clipboard-drop-target-range{outline:var(--ck-widget-outline-thickness) solid var(--ck-clipboard-drop-target-color)!important}.ck.ck-editor__editable .ck-widget:-webkit-drag{zoom:.6;outline:none!important}.ck.ck-clipboard-drop-target-line{background:var(--ck-clipboard-drop-target-color);border:1px solid var(--ck-clipboard-drop-target-color);height:0;margin-top:-1px}.ck.ck-clipboard-drop-target-line:before{border-style:solid;content:"";height:0;position:absolute;top:calc(var(--ck-clipboard-drop-target-dot-width)*-.5);width:0}[dir=ltr] .ck.ck-clipboard-drop-target-line:before{border-color:transparent transparent transparent var(--ck-clipboard-drop-target-color);border-width:calc(var(--ck-clipboard-drop-target-dot-width)*.5) 0 calc(var(--ck-clipboard-drop-target-dot-width)*.5) var(--ck-clipboard-drop-target-dot-height);left:-1px}[dir=rtl] .ck.ck-clipboard-drop-target-line:before{border-color:transparent var(--ck-clipboard-drop-target-color) transparent transparent;border-width:calc(var(--ck-clipboard-drop-target-dot-width)*.5) var(--ck-clipboard-drop-target-dot-height) calc(var(--ck-clipboard-drop-target-dot-width)*.5) 0;right:-1px}',"",{version:3,sources:["webpack://./../ckeditor5-clipboard/theme/clipboard.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-clipboard/clipboard.css"],names:[],mappings:"AASC,8DACC,cAAe,CAEf,mBAAoB,CADpB,iBAOD,CAJC,mEACC,iBAAkB,CAClB,OACD,CAWA,qJACC,YACD,CAIF,kCAEC,mBAAoB,CADpB,iBAED,CC9BA,MACC,yCAA0C,CAC1C,yCAA0C,CAC1C,6DACD,CAOE,mEAIC,gDAAiD,CADjD,sDAAuD,CAFvD,2DAA8D,CAI9D,gBAAiB,CAHjB,wDAqBD,CAfC,yEAWC,sFAAuF,CAEvF,kBAAmB,CADnB,qKAA0K,CAX1K,UAAW,CAIX,aAAc,CAFd,QAAS,CAIT,QAAS,CADT,iBAAkB,CAElB,wDAA2D,CAE3D,0BAA2B,CAR3B,OAYD,CAOF,kEACC,gGACD,CAKA,gDACC,OAAS,CACT,sBACD,CAGD,kCAGC,gDAAiD,CADjD,sDAAuD,CADvD,QAAS,CAGT,eAwBD,CAtBC,yCAMC,kBAAmB,CALnB,UAAW,CAIX,QAAS,CAHT,iBAAkB,CAClB,uDAA0D,CAC1D,OAiBD,CArBA,mDAYE,sFAAuF,CADvF,+JAAoK,CAFpK,SAYF,CArBA,mDAmBE,sFAAuF,CADvF,+JAAmK,CAFnK,UAKF",sourcesContent:["/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-editor__editable {\n\t/*\n\t * Vertical drop target (in text).\n\t */\n\t& .ck.ck-clipboard-drop-target-position {\n\t\tdisplay: inline;\n\t\tposition: relative;\n\t\tpointer-events: none;\n\n\t\t& span {\n\t\t\tposition: absolute;\n\t\t\twidth: 0;\n\t\t}\n\t}\n\n\t/*\n\t * Styles of the widget being dragged (its preview).\n\t */\n\t& .ck-widget:-webkit-drag {\n\t\t& > .ck-widget__selection-handle {\n\t\t\tdisplay: none;\n\t\t}\n\n\t\t& > .ck-widget__type-around {\n\t\t\tdisplay: none;\n\t\t}\n\t}\n}\n\n.ck.ck-clipboard-drop-target-line {\n\tposition: absolute;\n\tpointer-events: none;\n}\n","/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import \"@ckeditor/ckeditor5-ui/theme/mixins/_dir.css\";\n\n:root {\n\t--ck-clipboard-drop-target-dot-width: 12px;\n\t--ck-clipboard-drop-target-dot-height: 8px;\n\t--ck-clipboard-drop-target-color: var(--ck-color-focus-border);\n}\n\n.ck.ck-editor__editable {\n\t/*\n\t * Vertical drop target (in text).\n\t */\n\t& .ck.ck-clipboard-drop-target-position {\n\t\t& span {\n\t\t\tbottom: calc(-.5 * var(--ck-clipboard-drop-target-dot-height));\n\t\t\ttop: calc(-.5 * var(--ck-clipboard-drop-target-dot-height));\n\t\t\tborder: 1px solid var(--ck-clipboard-drop-target-color);\n\t\t\tbackground: var(--ck-clipboard-drop-target-color);\n\t\t\tmargin-left: -1px;\n\n\t\t\t/* The triangle above the marker */\n\t\t\t&::after {\n\t\t\t\tcontent: '';\n\t\t\t\twidth: 0;\n\t\t\t\theight: 0;\n\n\t\t\t\tdisplay: block;\n\t\t\t\tposition: absolute;\n\t\t\t\tleft: 50%;\n\t\t\t\ttop: calc(-.5 * var(--ck-clipboard-drop-target-dot-height));\n\n\t\t\t\ttransform: translateX(-50%);\n\t\t\t\tborder-color: var(--ck-clipboard-drop-target-color) transparent transparent transparent;\n\t\t\t\tborder-width: calc(var(--ck-clipboard-drop-target-dot-height)) calc(.5 * var(--ck-clipboard-drop-target-dot-width)) 0 calc(.5 * var(--ck-clipboard-drop-target-dot-width));\n\t\t\t\tborder-style: solid;\n\t\t\t}\n\t\t}\n\t}\n\n\t/*\n\t * Styles of the widget that it a drop target.\n\t */\n\t& .ck-widget.ck-clipboard-drop-target-range {\n\t\toutline: var(--ck-widget-outline-thickness) solid var(--ck-clipboard-drop-target-color) !important;\n\t}\n\n\t/*\n\t * Styles of the widget being dragged (its preview).\n\t */\n\t& .ck-widget:-webkit-drag {\n\t\tzoom: 0.6;\n\t\toutline: none !important;\n\t}\n}\n\n.ck.ck-clipboard-drop-target-line {\n\theight: 0;\n\tborder: 1px solid var(--ck-clipboard-drop-target-color);\n\tbackground: var(--ck-clipboard-drop-target-color);\n\tmargin-top: -1px;\n\n\t&::before {\n\t\tcontent: '';\n\t\tposition: absolute;\n\t\ttop: calc(-.5 * var(--ck-clipboard-drop-target-dot-width));\n\t\twidth: 0;\n\t\theight: 0;\n\t\tborder-style: solid;\n\n\t\t@mixin ck-dir ltr {\n\t\t\tleft: -1px;\n\n\t\t\tborder-width: calc(.5 * var(--ck-clipboard-drop-target-dot-width)) 0 calc(.5 * var(--ck-clipboard-drop-target-dot-width)) var(--ck-clipboard-drop-target-dot-height);\n\t\t\tborder-color: transparent transparent transparent var(--ck-clipboard-drop-target-color);\n\t\t}\n\n\t\t@mixin ck-dir rtl {\n\t\t\tright: -1px;\n\n\t\t\tborder-width:calc(.5 * var(--ck-clipboard-drop-target-dot-width)) var(--ck-clipboard-drop-target-dot-height) calc(.5 * var(--ck-clipboard-drop-target-dot-width)) 0;\n\t\t\tborder-color: transparent var(--ck-clipboard-drop-target-color) transparent transparent;\n\t\t}\n\t}\n}\n"],sourceRoot:""}]);const a=s},7388:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var o=n(9372),i=n.n(o),r=n(935),s=n.n(r)()(i());s.push([t.id,".ck.ck-editor{position:relative}.ck.ck-editor .ck-editor__top .ck-sticky-panel .ck-toolbar{z-index:var(--ck-z-panel)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content{border-radius:0}.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content,.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-rounded-corners{border-radius:var(--ck-border-radius);border-bottom-left-radius:0;border-bottom-right-radius:0}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content{border:solid var(--ck-color-base-border);border-width:1px 1px 0}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-sticky-panel__content_sticky{border-bottom-width:1px}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-menu-bar,.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-toolbar{border:0}.ck.ck-editor__main>.ck-editor__editable{background:var(--ck-color-base-background);border-radius:0}.ck-rounded-corners .ck.ck-editor__main>.ck-editor__editable,.ck.ck-editor__main>.ck-editor__editable.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0;border-top-right-radius:0}.ck.ck-editor__main>.ck-editor__editable:not(.ck-focused){border-color:var(--ck-color-base-border)}","",{version:3,sources:["webpack://./../ckeditor5-editor-classic/theme/classiceditor.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-editor-classic/classiceditor.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_rounded.css"],names:[],mappings:"AAKA,cAIC,iBAMD,CAJC,2DAEC,yBACD,CCLC,8DCED,eDeC,CAjBA,mKCMA,qCAAsC,CDJpC,2BAA4B,CAC5B,4BAcF,CAjBA,8DAOC,wCAAsB,CAAtB,sBAUD,CARC,8FACC,uBACD,CAEA,qJAEC,QACD,CAMH,yCAEC,0CAA2C,CCtB3C,eDgCD,CAZA,yHChBE,qCAAsC,CDqBtC,wBAAyB,CACzB,yBAMF,CAHC,0DACC,wCACD",sourcesContent:["/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-editor {\n\t/* All the elements within `.ck-editor` are positioned relatively to it.\n\t If any element needs to be positioned with respect to the , etc.,\n\t it must land outside of the `.ck-editor` in DOM. */\n\tposition: relative;\n\n\t& .ck-editor__top .ck-sticky-panel .ck-toolbar {\n\t\t/* https://github.com/ckeditor/ckeditor5-editor-classic/issues/62 */\n\t\tz-index: var(--ck-z-panel);\n\t}\n}\n",'/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../mixins/_rounded.css";\n\n.ck.ck-editor__top {\n\t& .ck-sticky-panel {\n\t\t& .ck-sticky-panel__content {\n\t\t\t@mixin ck-rounded-corners {\n\t\t\t\tborder-bottom-left-radius: 0;\n\t\t\t\tborder-bottom-right-radius: 0;\n\t\t\t}\n\n\t\t\tborder: 1px solid var(--ck-color-base-border);\n\t\t\tborder-bottom-width: 0;\n\n\t\t\t&.ck-sticky-panel__content_sticky {\n\t\t\t\tborder-bottom-width: 1px;\n\t\t\t}\n\n\t\t\t& .ck-menu-bar,\n\t\t\t& .ck-toolbar {\n\t\t\t\tborder: 0;\n\t\t\t}\n\t\t}\n\t}\n}\n\n/* Note: Use ck-editor__main to make sure these styles don\'t apply to other editor types */\n.ck.ck-editor__main > .ck-editor__editable {\n\t/* https://github.com/ckeditor/ckeditor5-theme-lark/issues/113 */\n\tbackground: var(--ck-color-base-background);\n\n\t@mixin ck-rounded-corners {\n\t\tborder-top-left-radius: 0;\n\t\tborder-top-right-radius: 0;\n\t}\n\n\t&:not(.ck-focused) {\n\t\tborder-color: var(--ck-color-base-border);\n\t}\n}\n',"/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Implements rounded corner interface for .ck-rounded-corners class.\n *\n * @see $ck-border-radius\n */\n@define-mixin ck-rounded-corners {\n\tborder-radius: 0;\n\n\t@nest .ck-rounded-corners &,\n\t&.ck-rounded-corners {\n\t\tborder-radius: var(--ck-border-radius);\n\t\t@mixin-content;\n\t}\n}\n"],sourceRoot:""}]);const a=s},4098:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var o=n(9372),i=n.n(o),r=n(935),s=n.n(r)()(i());s.push([t.id,".ck .ck-placeholder,.ck.ck-placeholder{position:relative}.ck .ck-placeholder:before,.ck.ck-placeholder:before{content:attr(data-placeholder);left:0;pointer-events:none;position:absolute;right:0}.ck.ck-read-only .ck-placeholder:before{display:none}.ck.ck-reset_all .ck-placeholder{position:relative}.ck .ck-placeholder:before,.ck.ck-placeholder:before{color:var(--ck-color-engine-placeholder-text);cursor:text}","",{version:3,sources:["webpack://./../ckeditor5-engine/theme/placeholder.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-engine/placeholder.css"],names:[],mappings:"AAMA,uCAEC,iBAWD,CATC,qDAIC,8BAA+B,CAF/B,MAAO,CAKP,mBAAoB,CANpB,iBAAkB,CAElB,OAKD,CAKA,wCACC,YACD,CAQD,iCACC,iBACD,CC5BC,qDAEC,6CAA8C,CAD9C,WAED",sourcesContent:["/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/* See ckeditor/ckeditor5#936. */\n.ck.ck-placeholder,\n.ck .ck-placeholder {\n\tposition: relative;\n\n\t&::before {\n\t\tposition: absolute;\n\t\tleft: 0;\n\t\tright: 0;\n\t\tcontent: attr(data-placeholder);\n\n\t\t/* See ckeditor/ckeditor5#469. */\n\t\tpointer-events: none;\n\t}\n}\n\n/* See ckeditor/ckeditor5#1987. */\n.ck.ck-read-only .ck-placeholder {\n\t&::before {\n\t\tdisplay: none;\n\t}\n}\n\n/*\n * Rules for the `ck-placeholder` are loaded before the rules for `ck-reset_all` in the base CKEditor 5 DLL build.\n * This fix overwrites the incorrectly set `position: static` from `ck-reset_all`.\n * See https://github.com/ckeditor/ckeditor5/issues/11418.\n */\n.ck.ck-reset_all .ck-placeholder {\n\tposition: relative;\n}\n","/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/* See ckeditor/ckeditor5#936. */\n.ck.ck-placeholder, .ck .ck-placeholder {\n\t&::before {\n\t\tcursor: text;\n\t\tcolor: var(--ck-color-engine-placeholder-text);\n\t}\n}\n"],sourceRoot:""}]);const a=s},8264:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var o=n(9372),i=n.n(o),r=n(935),s=n.n(r)()(i());s.push([t.id,".ck.ck-editor__editable span[data-ck-unsafe-element]{display:none}","",{version:3,sources:["webpack://./../ckeditor5-engine/theme/renderer.css"],names:[],mappings:"AAMA,qDACC,YACD",sourcesContent:["/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/* Elements marked by the Renderer as hidden should be invisible in the editor. */\n.ck.ck-editor__editable span[data-ck-unsafe-element] {\n\tdisplay: none;\n}\n"],sourceRoot:""}]);const a=s},6269:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var o=n(9372),i=n.n(o),r=n(935),s=n.n(r)()(i());s.push([t.id,".ck.ck-heading_heading1{font-size:20px}.ck.ck-heading_heading2{font-size:17px}.ck.ck-heading_heading3{font-size:14px}.ck[class*=ck-heading_heading]{font-weight:700}.ck.ck-dropdown.ck-heading-dropdown .ck-dropdown__button .ck-button__label{width:8em}.ck.ck-dropdown.ck-heading-dropdown .ck-dropdown__panel .ck-list__item{min-width:18em}","",{version:3,sources:["webpack://./../ckeditor5-heading/theme/heading.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-heading/heading.css"],names:[],mappings:"AAKA,wBACC,cACD,CAEA,wBACC,cACD,CAEA,wBACC,cACD,CAEA,+BACC,eACD,CCZC,2EACC,SACD,CAEA,uEACC,cACD",sourcesContent:['/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-heading_heading1 {\n\tfont-size: 20px;\n}\n\n.ck.ck-heading_heading2 {\n\tfont-size: 17px;\n}\n\n.ck.ck-heading_heading3 {\n\tfont-size: 14px;\n}\n\n.ck[class*="ck-heading_heading"] {\n\tfont-weight: bold;\n}\n',"/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/* Resize dropdown's button label. */\n.ck.ck-dropdown.ck-heading-dropdown {\n\t& .ck-dropdown__button .ck-button__label {\n\t\twidth: 8em;\n\t}\n\n\t& .ck-dropdown__panel .ck-list__item {\n\t\tmin-width: 18em;\n\t}\n}\n"],sourceRoot:""}]);const a=s},265:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var o=n(9372),i=n.n(o),r=n(935),s=n.n(r)()(i());s.push([t.id,".ck-content .image{clear:both;display:table;margin:.9em auto;min-width:50px;text-align:center}.ck-content .image img{display:block;height:auto;margin:0 auto;max-width:100%;min-width:100%}.ck-content .image-inline{align-items:flex-start;display:inline-flex;max-width:100%}.ck-content .image-inline picture{display:flex}.ck-content .image-inline img,.ck-content .image-inline picture{flex-grow:1;flex-shrink:1;max-width:100%}.ck.ck-editor__editable .image>figcaption.ck-placeholder:before{overflow:hidden;padding-left:inherit;padding-right:inherit;text-overflow:ellipsis;white-space:nowrap}.ck.ck-editor__editable .image{z-index:1}.ck.ck-editor__editable .image.ck-widget_selected{z-index:2}.ck.ck-editor__editable .image-inline{z-index:1}.ck.ck-editor__editable .image-inline.ck-widget_selected{z-index:2}.ck.ck-editor__editable .image-inline.ck-widget_selected ::selection{display:none}.ck.ck-editor__editable .image-inline img{height:auto}.ck.ck-editor__editable td .image-inline img,.ck.ck-editor__editable th .image-inline img{max-width:none}","",{version:3,sources:["webpack://./../ckeditor5-image/theme/image.css"],names:[],mappings:"AAMC,mBAEC,UAAW,CADX,aAAc,CAOd,gBAAkB,CAGlB,cAAe,CARf,iBA2BD,CAjBC,uBAEC,aAAc,CAad,WAAY,CAVZ,aAAc,CAGd,cAAe,CAGf,cAKD,CAGD,0BAYC,sBAAuB,CANvB,mBAAoB,CAGpB,cAoBD,CAdC,kCACC,YACD,CAGA,gEAGC,WAAY,CACZ,aAAc,CAGd,cACD,CAUD,gEASC,eAAgB,CARhB,oBAAqB,CACrB,qBAAsB,CAQtB,sBAAuB,CAFvB,kBAGD,CAKA,+BACC,SASD,CAHC,kDACC,SACD,CAMD,sCACC,SAkBD,CAZC,yDACC,SAUD,CAHC,qEACC,YACD,CAMF,0CACC,WACD,CAMC,0FACC,cACD",sourcesContent:['/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck-content {\n\t& .image {\n\t\tdisplay: table;\n\t\tclear: both;\n\t\ttext-align: center;\n\n\t\t/* Make sure there is some space between the content and the image. Center image by default. */\n\t\t/* The first value should be equal to --ck-spacing-large variable if used in the editor context\n\t \tto avoid the content jumping (See https://github.com/ckeditor/ckeditor5/issues/9825). */\n\t\tmargin: 0.9em auto;\n\n\t\t/* Make sure the caption will be displayed properly (See: https://github.com/ckeditor/ckeditor5/issues/1870). */\n\t\tmin-width: 50px;\n\n\t\t& img {\n\t\t\t/* Prevent unnecessary margins caused by line-height (see #44). */\n\t\t\tdisplay: block;\n\n\t\t\t/* Center the image if its width is smaller than the content\'s width. */\n\t\t\tmargin: 0 auto;\n\n\t\t\t/* Make sure the image never exceeds the size of the parent container (ckeditor/ckeditor5-ui#67). */\n\t\t\tmax-width: 100%;\n\n\t\t\t/* Make sure the image is never smaller than the parent container (See: https://github.com/ckeditor/ckeditor5/issues/9300). */\n\t\t\tmin-width: 100%;\n\n\t\t\t/* Keep proportions of the block image if the height is set and the image is wider than the editor width.\n\t\t\tSee https://github.com/ckeditor/ckeditor5/issues/14542. */\n\t\t\theight: auto;\n\t\t}\n\t}\n\n\t& .image-inline {\n\t\t/*\n\t\t * Normally, the .image-inline would have "display: inline-block" and "img { width: 100% }" (to follow the wrapper while resizing).\n\t\t * Unfortunately, together with "srcset", it gets automatically stretched up to the width of the editing root.\n\t\t * This strange behavior does not happen with inline-flex.\n\t\t */\n\t\tdisplay: inline-flex;\n\n\t\t/* While being resized, don\'t allow the image to exceed the width of the editing root. */\n\t\tmax-width: 100%;\n\n\t\t/* This is required by Safari to resize images in a sensible way. Without this, the browser breaks the ratio. */\n\t\talign-items: flex-start;\n\n\t\t/* When the picture is present it must act as a flex container to let the img resize properly */\n\t\t& picture {\n\t\t\tdisplay: flex;\n\t\t}\n\n\t\t/* When the picture is present, it must act like a resizable img. */\n\t\t& picture,\n\t\t& img {\n\t\t\t/* This is necessary for the img to span the entire .image-inline wrapper and to resize properly. */\n\t\t\tflex-grow: 1;\n\t\t\tflex-shrink: 1;\n\n\t\t\t/* Prevents overflowing the editing root boundaries when an inline image is very wide. */\n\t\t\tmax-width: 100%;\n\t\t}\n\t}\n}\n\n.ck.ck-editor__editable {\n\t/*\n\t * Inhertit the content styles padding of the
in case the integration overrides `text-align: center`\n\t * of `.image` (e.g. to the left/right). This ensures the placeholder stays at the padding just like the native\n\t * caret does, and not at the edge of
.\n\t */\n\t& .image > figcaption.ck-placeholder::before {\n\t\tpadding-left: inherit;\n\t\tpadding-right: inherit;\n\n\t\t/*\n\t\t * Make sure the image caption placeholder doesn\'t overflow the placeholder area.\n\t\t * See https://github.com/ckeditor/ckeditor5/issues/9162.\n\t\t */\n\t\twhite-space: nowrap;\n\t\toverflow: hidden;\n\t\ttext-overflow: ellipsis;\n\t}\n\n\t/*\n\t * See https://github.com/ckeditor/ckeditor5/issues/15115.\n\t */\n\t& .image {\n\t\tz-index: 1;\n\n\t\t/*\n\t\t * Make sure the selected image always stays on top of its siblings.\n\t\t * See https://github.com/ckeditor/ckeditor5/issues/9108.\n\t\t */\n\t\t&.ck-widget_selected {\n\t\t\tz-index: 2;\n\t\t}\n\t}\n\n\t/*\n\t * See https://github.com/ckeditor/ckeditor5/issues/15115.\n\t */\n\t& .image-inline {\n\t\tz-index: 1;\n\n\t\t/*\n\t\t * Make sure the selected inline image always stays on top of its siblings.\n\t\t * See https://github.com/ckeditor/ckeditor5/issues/9108.\n\t\t */\n\t\t&.ck-widget_selected {\n\t\t\tz-index: 2;\n\n\t\t\t/*\n\t\t\t * Make sure the native browser selection style is not displayed.\n\t\t\t * Inline image widgets have their own styles for the selected state and\n\t\t\t * leaving this up to the browser is asking for a visual collision.\n\t\t\t */\n\t\t\t& ::selection {\n\t\t\t\tdisplay: none;\n\t\t\t}\n\t\t}\n\t}\n\n\t/* Keep proportions of the inline image if the height is set and the image is wider than the editor width.\n\tSee https://github.com/ckeditor/ckeditor5/issues/14542. */\n\t& .image-inline img {\n\t\theight: auto;\n\t}\n\n\t/* The inline image nested in the table should have its original size if not resized.\n\tSee https://github.com/ckeditor/ckeditor5/issues/9117. */\n\t& td,\n\t& th {\n\t\t& .image-inline img {\n\t\t\tmax-width: none;\n\t\t}\n\t}\n}\n'],sourceRoot:""}]);const a=s},5247:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var o=n(9372),i=n.n(o),r=n(935),s=n.n(r)()(i());s.push([t.id,":root{--ck-color-image-caption-background:#f7f7f7;--ck-color-image-caption-text:#333;--ck-color-image-caption-highlighted-background:#fd0}.ck-content .image>figcaption{background-color:var(--ck-color-image-caption-background);caption-side:bottom;color:var(--ck-color-image-caption-text);display:table-caption;font-size:.75em;outline-offset:-1px;padding:.6em;word-break:break-word}.ck.ck-editor__editable .image>figcaption.image__caption_highlighted{animation:ck-image-caption-highlight .6s ease-out}@keyframes ck-image-caption-highlight{0%{background-color:var(--ck-color-image-caption-highlighted-background)}to{background-color:var(--ck-color-image-caption-background)}}","",{version:3,sources:["webpack://./../ckeditor5-image/theme/imagecaption.css"],names:[],mappings:"AAKA,MACC,2CAAoD,CACpD,kCAA8C,CAC9C,oDACD,CAGA,8BAKC,yDAA0D,CAH1D,mBAAoB,CAEpB,wCAAyC,CAHzC,qBAAsB,CAMtB,eAAgB,CAChB,mBAAoB,CAFpB,YAAa,CAHb,qBAMD,CAGA,qEACC,iDACD,CAEA,sCACC,GACC,qEACD,CAEA,GACC,yDACD,CACD",sourcesContent:["/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-color-image-caption-background: hsl(0, 0%, 97%);\n\t--ck-color-image-caption-text: hsl(0, 0%, 20%);\n\t--ck-color-image-caption-highlighted-background: hsl(52deg 100% 50%);\n}\n\n/* Content styles */\n.ck-content .image > figcaption {\n\tdisplay: table-caption;\n\tcaption-side: bottom;\n\tword-break: break-word;\n\tcolor: var(--ck-color-image-caption-text);\n\tbackground-color: var(--ck-color-image-caption-background);\n\tpadding: .6em;\n\tfont-size: .75em;\n\toutline-offset: -1px;\n}\n\n/* Editing styles */\n.ck.ck-editor__editable .image > figcaption.image__caption_highlighted {\n\tanimation: ck-image-caption-highlight .6s ease-out;\n}\n\n@keyframes ck-image-caption-highlight {\n\t0% {\n\t\tbackground-color: var(--ck-color-image-caption-highlighted-background);\n\t}\n\n\t100% {\n\t\tbackground-color: var(--ck-color-image-caption-background);\n\t}\n}\n"],sourceRoot:""}]);const a=s},3350:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var o=n(9372),i=n.n(o),r=n(935),s=n.n(r)()(i());s.push([t.id,".ck.ck-image-insert-url .ck-image-insert-url__action-row{display:grid;grid-template-columns:repeat(2,1fr)}:root{--ck-image-insert-insert-by-url-width:250px}.ck.ck-image-insert-url{--ck-input-width:100%}.ck.ck-image-insert-url .ck-image-insert-url__action-row{grid-column-gap:var(--ck-spacing-large);margin-top:var(--ck-spacing-large)}.ck.ck-image-insert-url .ck-image-insert-url__action-row .ck-button-cancel,.ck.ck-image-insert-url .ck-image-insert-url__action-row .ck-button-save{justify-content:center;min-width:auto}.ck.ck-image-insert-url .ck-image-insert-url__action-row .ck-button .ck-button__label{color:var(--ck-color-text)}.ck.ck-image-insert-form>.ck.ck-button{display:block;padding:var(--ck-list-button-padding);width:100%}[dir=ltr] .ck.ck-image-insert-form>.ck.ck-button{text-align:left}[dir=rtl] .ck.ck-image-insert-form>.ck.ck-button{text-align:right}.ck.ck-image-insert-form>.ck.ck-collapsible:not(:first-child){border-top:1px solid var(--ck-color-base-border)}.ck.ck-image-insert-form>.ck.ck-collapsible:not(:last-child){border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-image-insert-form>.ck.ck-collapsible,.ck.ck-image-insert-form>.ck.ck-image-insert-url{min-width:var(--ck-image-insert-insert-by-url-width)}.ck.ck-image-insert-form>.ck.ck-image-insert-url{padding:var(--ck-spacing-large)}.ck.ck-image-insert-form:focus{outline:none}","",{version:3,sources:["webpack://./../ckeditor5-image/theme/imageinsert.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-image/imageinsert.css"],names:[],mappings:"AAMC,yDACC,YAAa,CACb,mCACD,CCFD,MACC,2CACD,CAEA,wBACC,qBAgBD,CAdC,yDACC,uCAAwC,CACxC,kCAWD,CATC,oJAEC,sBAAuB,CACvB,cACD,CAEA,sFACC,0BACD,CAKD,uCACC,aAAc,CAEd,qCAAsC,CADtC,UAUD,CAZA,iDAME,eAMF,CAZA,iDAUE,gBAEF,CAGC,8DACC,gDACD,CAEA,6DACC,mDACD,CAMD,6FAJC,oDAOD,CAHA,iDAEC,+BACD,CAEA,+BACC,YACD",sourcesContent:["/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-image-insert-url {\n\t& .ck-image-insert-url__action-row {\n\t\tdisplay: grid;\n\t\tgrid-template-columns: repeat(2, 1fr);\n\t}\n}\n",'/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";\n\n:root {\n\t--ck-image-insert-insert-by-url-width: 250px;\n}\n\n.ck.ck-image-insert-url {\n\t--ck-input-width: 100%;\n\n\t& .ck-image-insert-url__action-row {\n\t\tgrid-column-gap: var(--ck-spacing-large);\n\t\tmargin-top: var(--ck-spacing-large);\n\n\t\t& .ck-button-save,\n\t\t& .ck-button-cancel {\n\t\t\tjustify-content: center;\n\t\t\tmin-width: auto;\n\t\t}\n\n\t\t& .ck-button .ck-button__label {\n\t\t\tcolor: var(--ck-color-text);\n\t\t}\n\t}\n}\n\n.ck.ck-image-insert-form {\n\t& > .ck.ck-button {\n\t\tdisplay: block;\n\t\twidth: 100%;\n\t\tpadding: var(--ck-list-button-padding);\n\n\t\t@mixin ck-dir ltr {\n\t\t\ttext-align: left;\n\t\t}\n\n\t\t@mixin ck-dir rtl {\n\t\t\ttext-align: right;\n\t\t}\n\t}\n\n\t& > .ck.ck-collapsible {\n\t\t&:not(:first-child) {\n\t\t\tborder-top: 1px solid var(--ck-color-base-border);\n\t\t}\n\n\t\t&:not(:last-child) {\n\t\t\tborder-bottom: 1px solid var(--ck-color-base-border);\n\t\t}\n\n\t\tmin-width: var(--ck-image-insert-insert-by-url-width);\n\t}\n\n\t/* This is the case when there are no other integrations configured than insert by URL */\n\t& > .ck.ck-image-insert-url {\n\t\tmin-width: var(--ck-image-insert-insert-by-url-width);\n\t\tpadding: var(--ck-spacing-large);\n\t}\n\n\t&:focus {\n\t\toutline: none;\n\t}\n}\n'],sourceRoot:""}]);const a=s},7378:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var o=n(9372),i=n.n(o),r=n(935),s=n.n(r)()(i());s.push([t.id,".ck.ck-editor__editable img.image_placeholder{background-size:100% 100%}","",{version:3,sources:["webpack://./../ckeditor5-image/theme/imageplaceholder.css"],names:[],mappings:"AAMC,8CACC,yBACD",sourcesContent:["/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-editor__editable {\n\t& img.image_placeholder {\n\t\tbackground-size: 100% 100%;\n\t}\n}\n"],sourceRoot:""}]);const a=s},3469:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var o=n(9372),i=n.n(o),r=n(935),s=n.n(r)()(i());s.push([t.id,".ck-content img.image_resized{height:auto}.ck-content .image.image_resized{box-sizing:border-box;display:block;max-width:100%}.ck-content .image.image_resized img{width:100%}.ck-content .image.image_resized>figcaption{display:block}.ck.ck-editor__editable td .image-inline.image_resized img,.ck.ck-editor__editable th .image-inline.image_resized img{max-width:100%}[dir=ltr] .ck.ck-button.ck-button_with-text.ck-resize-image-button .ck-button__icon{margin-right:var(--ck-spacing-standard)}[dir=rtl] .ck.ck-button.ck-button_with-text.ck-resize-image-button .ck-button__icon{margin-left:var(--ck-spacing-standard)}.ck.ck-dropdown .ck-button.ck-resize-image-button .ck-button__label{width:4em}","",{version:3,sources:["webpack://./../ckeditor5-image/theme/imageresize.css"],names:[],mappings:"AAMA,8BACC,WACD,CAEA,iCAQC,qBAAsB,CADtB,aAAc,CANd,cAkBD,CATC,qCAEC,UACD,CAEA,4CAEC,aACD,CAQC,sHACC,cACD,CAIF,oFACC,uCACD,CAEA,oFACC,sCACD,CAEA,oEACC,SACD",sourcesContent:['/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/* Preserve aspect ratio of the resized image after introducing image height attribute. */\n.ck-content img.image_resized {\n\theight: auto;\n}\n\n.ck-content .image.image_resized {\n\tmax-width: 100%;\n\t/*\n\tThe `
` element for resized images must not use `display:table` as browsers do not support `max-width` for it well.\n\tSee https://stackoverflow.com/questions/4019604/chrome-safari-ignoring-max-width-in-table/14420691#14420691 for more.\n\tFortunately, since we control the width, there is no risk that the image will look bad.\n\t*/\n\tdisplay: block;\n\tbox-sizing: border-box;\n\n\t& img {\n\t\t/* For resized images it is the `
` element that determines the image width. */\n\t\twidth: 100%;\n\t}\n\n\t& > figcaption {\n\t\t/* The `
` element uses `display:block`, so `
` also has to. */\n\t\tdisplay: block;\n\t}\n}\n\n.ck.ck-editor__editable {\n\t/* The resized inline image nested in the table should respect its parent size.\n\tSee https://github.com/ckeditor/ckeditor5/issues/9117. */\n\t& td,\n\t& th {\n\t\t& .image-inline.image_resized img {\n\t\t\tmax-width: 100%;\n\t\t}\n\t}\n}\n\n[dir="ltr"] .ck.ck-button.ck-button_with-text.ck-resize-image-button .ck-button__icon {\n\tmargin-right: var(--ck-spacing-standard);\n}\n\n[dir="rtl"] .ck.ck-button.ck-button_with-text.ck-resize-image-button .ck-button__icon {\n\tmargin-left: var(--ck-spacing-standard);\n}\n\n.ck.ck-dropdown .ck-button.ck-resize-image-button .ck-button__label {\n\twidth: 4em;\n}\n'],sourceRoot:""}]);const a=s},6386:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var o=n(9372),i=n.n(o),r=n(935),s=n.n(r)()(i());s.push([t.id,":root{--ck-image-style-spacing:1.5em;--ck-inline-image-style-spacing:calc(var(--ck-image-style-spacing)/2)}.ck-content .image-style-block-align-left,.ck-content .image-style-block-align-right{max-width:calc(100% - var(--ck-image-style-spacing))}.ck-content .image-style-align-left,.ck-content .image-style-align-right{clear:none}.ck-content .image-style-side{float:right;margin-left:var(--ck-image-style-spacing);max-width:50%}.ck-content .image-style-align-left{float:left;margin-right:var(--ck-image-style-spacing)}.ck-content .image-style-align-center{margin-left:auto;margin-right:auto}.ck-content .image-style-align-right{float:right;margin-left:var(--ck-image-style-spacing)}.ck-content .image-style-block-align-right{margin-left:auto;margin-right:0}.ck-content .image-style-block-align-left{margin-left:0;margin-right:auto}.ck-content p+.image-style-align-left,.ck-content p+.image-style-align-right,.ck-content p+.image-style-side{margin-top:0}.ck-content .image-inline.image-style-align-left,.ck-content .image-inline.image-style-align-right{margin-bottom:var(--ck-inline-image-style-spacing);margin-top:var(--ck-inline-image-style-spacing)}.ck-content .image-inline.image-style-align-left{margin-right:var(--ck-inline-image-style-spacing)}.ck-content .image-inline.image-style-align-right{margin-left:var(--ck-inline-image-style-spacing)}.ck.ck-splitbutton.ck-splitbutton_flatten.ck-splitbutton_open>.ck-splitbutton__action:not(.ck-disabled),.ck.ck-splitbutton.ck-splitbutton_flatten.ck-splitbutton_open>.ck-splitbutton__arrow:not(.ck-disabled),.ck.ck-splitbutton.ck-splitbutton_flatten.ck-splitbutton_open>.ck-splitbutton__arrow:not(.ck-disabled):not(:hover),.ck.ck-splitbutton.ck-splitbutton_flatten:hover>.ck-splitbutton__action:not(.ck-disabled),.ck.ck-splitbutton.ck-splitbutton_flatten:hover>.ck-splitbutton__arrow:not(.ck-disabled),.ck.ck-splitbutton.ck-splitbutton_flatten:hover>.ck-splitbutton__arrow:not(.ck-disabled):not(:hover){background-color:var(--ck-color-button-on-background)}.ck.ck-splitbutton.ck-splitbutton_flatten.ck-splitbutton_open>.ck-splitbutton__action:not(.ck-disabled):after,.ck.ck-splitbutton.ck-splitbutton_flatten.ck-splitbutton_open>.ck-splitbutton__arrow:not(.ck-disabled):after,.ck.ck-splitbutton.ck-splitbutton_flatten.ck-splitbutton_open>.ck-splitbutton__arrow:not(.ck-disabled):not(:hover):after,.ck.ck-splitbutton.ck-splitbutton_flatten:hover>.ck-splitbutton__action:not(.ck-disabled):after,.ck.ck-splitbutton.ck-splitbutton_flatten:hover>.ck-splitbutton__arrow:not(.ck-disabled):after,.ck.ck-splitbutton.ck-splitbutton_flatten:hover>.ck-splitbutton__arrow:not(.ck-disabled):not(:hover):after{display:none}.ck.ck-splitbutton.ck-splitbutton_flatten.ck-splitbutton_open:hover>.ck-splitbutton__action:not(.ck-disabled),.ck.ck-splitbutton.ck-splitbutton_flatten.ck-splitbutton_open:hover>.ck-splitbutton__arrow:not(.ck-disabled),.ck.ck-splitbutton.ck-splitbutton_flatten.ck-splitbutton_open:hover>.ck-splitbutton__arrow:not(.ck-disabled):not(:hover){background-color:var(--ck-color-button-on-hover-background)}","",{version:3,sources:["webpack://./../ckeditor5-image/theme/imagestyle.css"],names:[],mappings:"AAKA,MACC,8BAA+B,CAC/B,qEACD,CAMC,qFAEC,oDACD,CAIA,yEAEC,UACD,CAEA,8BACC,WAAY,CACZ,yCAA0C,CAC1C,aACD,CAEA,oCACC,UAAW,CACX,0CACD,CAEA,sCACC,gBAAiB,CACjB,iBACD,CAEA,qCACC,WAAY,CACZ,yCACD,CAEA,2CAEC,gBAAiB,CADjB,cAED,CAEA,0CACC,aAAc,CACd,iBACD,CAGA,6GAGC,YACD,CAGC,mGAGC,kDAAmD,CADnD,+CAED,CAEA,iDACC,iDACD,CAEA,kDACC,gDACD,CAUC,0lBAGC,qDAKD,CAHC,8nBACC,YACD,CAKD,oVAGC,2DACD",sourcesContent:["/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-image-style-spacing: 1.5em;\n\t--ck-inline-image-style-spacing: calc(var(--ck-image-style-spacing) / 2);\n}\n\n.ck-content {\n\t/* Provides a minimal side margin for the left and right aligned images, so that the user has a visual feedback\n\tconfirming successful application of the style if image width exceeds the editor's size.\n\tSee https://github.com/ckeditor/ckeditor5/issues/9342 */\n\t& .image-style-block-align-left,\n\t& .image-style-block-align-right {\n\t\tmax-width: calc(100% - var(--ck-image-style-spacing));\n\t}\n\n\t/* Allows displaying multiple floating images in the same line.\n\tSee https://github.com/ckeditor/ckeditor5/issues/9183#issuecomment-804988132 */\n\t& .image-style-align-left,\n\t& .image-style-align-right {\n\t\tclear: none;\n\t}\n\n\t& .image-style-side {\n\t\tfloat: right;\n\t\tmargin-left: var(--ck-image-style-spacing);\n\t\tmax-width: 50%;\n\t}\n\n\t& .image-style-align-left {\n\t\tfloat: left;\n\t\tmargin-right: var(--ck-image-style-spacing);\n\t}\n\n\t& .image-style-align-center {\n\t\tmargin-left: auto;\n\t\tmargin-right: auto;\n\t}\n\n\t& .image-style-align-right {\n\t\tfloat: right;\n\t\tmargin-left: var(--ck-image-style-spacing);\n\t}\n\n\t& .image-style-block-align-right {\n\t\tmargin-right: 0;\n\t\tmargin-left: auto;\n\t}\n\n\t& .image-style-block-align-left {\n\t\tmargin-left: 0;\n\t\tmargin-right: auto;\n\t}\n\n\t/* Simulates margin collapsing with the preceding paragraph, which does not work for the floating elements. */\n\t& p + .image-style-align-left,\n\t& p + .image-style-align-right,\n\t& p + .image-style-side {\n\t\tmargin-top: 0;\n\t}\n\n\t& .image-inline {\n\t\t&.image-style-align-left,\n\t\t&.image-style-align-right {\n\t\t\tmargin-top: var(--ck-inline-image-style-spacing);\n\t\t\tmargin-bottom: var(--ck-inline-image-style-spacing);\n\t\t}\n\n\t\t&.image-style-align-left {\n\t\t\tmargin-right: var(--ck-inline-image-style-spacing);\n\t\t}\n\n\t\t&.image-style-align-right {\n\t\t\tmargin-left: var(--ck-inline-image-style-spacing);\n\t\t}\n\t}\n}\n\n.ck.ck-splitbutton {\n\t/* The button should display as a regular drop-down if the action button\n\tis forced to fire the same action as the arrow button. */\n\t&.ck-splitbutton_flatten {\n\t\t&:hover,\n\t\t&.ck-splitbutton_open {\n\t\t\t& > .ck-splitbutton__action:not(.ck-disabled),\n\t\t\t& > .ck-splitbutton__arrow:not(.ck-disabled),\n\t\t\t& > .ck-splitbutton__arrow:not(.ck-disabled):not(:hover) {\n\t\t\t\tbackground-color: var(--ck-color-button-on-background);\n\n\t\t\t\t&::after {\n\t\t\t\t\tdisplay: none;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t&.ck-splitbutton_open:hover {\n\t\t\t& > .ck-splitbutton__action:not(.ck-disabled),\n\t\t\t& > .ck-splitbutton__arrow:not(.ck-disabled),\n\t\t\t& > .ck-splitbutton__arrow:not(.ck-disabled):not(:hover) {\n\t\t\t\tbackground-color: var(--ck-color-button-on-hover-background);\n\t\t\t}\n\t\t}\n\t}\n}\n"],sourceRoot:""}]);const a=s},7693:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var o=n(9372),i=n.n(o),r=n(935),s=n.n(r)()(i());s.push([t.id,'.ck-image-upload-complete-icon{border-radius:50%;display:block;position:absolute;right:min(var(--ck-spacing-medium),6%);top:min(var(--ck-spacing-medium),6%);z-index:1}.ck-image-upload-complete-icon:after{content:"";position:absolute}:root{--ck-color-image-upload-icon:#fff;--ck-color-image-upload-icon-background:#008a00;--ck-image-upload-icon-size:20;--ck-image-upload-icon-width:2px;--ck-image-upload-icon-is-visible:clamp(0px,100% - 50px,1px)}.ck-image-upload-complete-icon{animation-delay:0ms,3s;animation-duration:.5s,.5s;animation-fill-mode:forwards,forwards;animation-name:ck-upload-complete-icon-show,ck-upload-complete-icon-hide;background:var(--ck-color-image-upload-icon-background);font-size:calc(1px*var(--ck-image-upload-icon-size));height:calc(var(--ck-image-upload-icon-is-visible)*var(--ck-image-upload-icon-size));opacity:0;overflow:hidden;width:calc(var(--ck-image-upload-icon-is-visible)*var(--ck-image-upload-icon-size))}.ck-image-upload-complete-icon:after{animation-delay:.5s;animation-duration:.5s;animation-fill-mode:forwards;animation-name:ck-upload-complete-icon-check;border-right:var(--ck-image-upload-icon-width) solid var(--ck-color-image-upload-icon);border-top:var(--ck-image-upload-icon-width) solid var(--ck-color-image-upload-icon);box-sizing:border-box;height:0;left:25%;opacity:0;top:50%;transform:scaleX(-1) rotate(135deg);transform-origin:left top;width:0}@keyframes ck-upload-complete-icon-show{0%{opacity:0}to{opacity:1}}@keyframes ck-upload-complete-icon-hide{0%{opacity:1}to{opacity:0}}@keyframes ck-upload-complete-icon-check{0%{height:0;opacity:1;width:0}33%{height:0;width:.3em}to{height:.45em;opacity:1;width:.3em}}',"",{version:3,sources:["webpack://./../ckeditor5-image/theme/imageuploadicon.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-image/imageuploadicon.css"],names:[],mappings:"AAKA,+BAUC,iBAAkB,CATlB,aAAc,CACd,iBAAkB,CAOlB,sCAAwC,CADxC,oCAAsC,CAGtC,SAMD,CAJC,qCACC,UAAW,CACX,iBACD,CChBD,MACC,iCAA8C,CAC9C,+CAA4D,CAG5D,8BAA+B,CAC/B,gCAAiC,CACjC,4DACD,CAEA,+BAWC,sBAA4B,CAN5B,0BAAgC,CADhC,qCAAuC,CADvC,wEAA0E,CAD1E,uDAAwD,CAMxD,oDAAuD,CAWvD,oFAAuF,CAlBvF,SAAU,CAgBV,eAAgB,CAChB,mFA0BD,CAtBC,qCAgBC,mBAAsB,CADtB,sBAAyB,CAEzB,4BAA6B,CAH7B,4CAA6C,CAF7C,sFAAuF,CADvF,oFAAqF,CASrF,qBAAsB,CAdtB,QAAS,CAJT,QAAS,CAGT,SAAU,CADV,OAAQ,CAKR,mCAAoC,CACpC,yBAA0B,CAH1B,OAcD,CAGD,wCACC,GACC,SACD,CAEA,GACC,SACD,CACD,CAEA,wCACC,GACC,SACD,CAEA,GACC,SACD,CACD,CAEA,yCACC,GAGC,QAAS,CAFT,SAAU,CACV,OAED,CACA,IAEC,QAAS,CADT,UAED,CACA,GAGC,YAAc,CAFd,SAAU,CACV,UAED,CACD",sourcesContent:['/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck-image-upload-complete-icon {\n\tdisplay: block;\n\tposition: absolute;\n\n\t/*\n\t * Smaller images should have the icon closer to the border.\n\t * Match the icon position with the linked image indicator brought by the link image feature.\n\t */\n\ttop: min(var(--ck-spacing-medium), 6%);\n\tright: min(var(--ck-spacing-medium), 6%);\n\tborder-radius: 50%;\n\tz-index: 1;\n\n\t&::after {\n\t\tcontent: "";\n\t\tposition: absolute;\n\t}\n}\n','/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-color-image-upload-icon: hsl(0, 0%, 100%);\n\t--ck-color-image-upload-icon-background: hsl(120, 100%, 27%);\n\n\t/* Match the icon size with the linked image indicator brought by the link image feature. */\n\t--ck-image-upload-icon-size: 20;\n\t--ck-image-upload-icon-width: 2px;\n\t--ck-image-upload-icon-is-visible: clamp(0px, 100% - 50px, 1px);\n}\n\n.ck-image-upload-complete-icon {\n\topacity: 0;\n\tbackground: var(--ck-color-image-upload-icon-background);\n\tanimation-name: ck-upload-complete-icon-show, ck-upload-complete-icon-hide;\n\tanimation-fill-mode: forwards, forwards;\n\tanimation-duration: 500ms, 500ms;\n\n\t/* To make animation scalable. */\n\tfont-size: calc(1px * var(--ck-image-upload-icon-size));\n\n\t/* Hide completed upload icon after 3 seconds. */\n\tanimation-delay: 0ms, 3000ms;\n\n\t/*\n\t * Use CSS math to simulate container queries.\n\t * https://css-tricks.com/the-raven-technique-one-step-closer-to-container-queries/#what-about-showing-and-hiding-things\n\t */\n\toverflow: hidden;\n\twidth: calc(var(--ck-image-upload-icon-is-visible) * var(--ck-image-upload-icon-size));\n\theight: calc(var(--ck-image-upload-icon-is-visible) * var(--ck-image-upload-icon-size));\n\n\t/* This is check icon element made from border-width mixed with animations. */\n\t&::after {\n\t\t/* Because of border transformation we need to "hard code" left position. */\n\t\tleft: 25%;\n\n\t\ttop: 50%;\n\t\topacity: 0;\n\t\theight: 0;\n\t\twidth: 0;\n\n\t\ttransform: scaleX(-1) rotate(135deg);\n\t\ttransform-origin: left top;\n\t\tborder-top: var(--ck-image-upload-icon-width) solid var(--ck-color-image-upload-icon);\n\t\tborder-right: var(--ck-image-upload-icon-width) solid var(--ck-color-image-upload-icon);\n\n\t\tanimation-name: ck-upload-complete-icon-check;\n\t\tanimation-duration: 500ms;\n\t\tanimation-delay: 500ms;\n\t\tanimation-fill-mode: forwards;\n\n\t\t/* #1095. While reset is not providing proper box-sizing for pseudoelements, we need to handle it. */\n\t\tbox-sizing: border-box;\n\t}\n}\n\n@keyframes ck-upload-complete-icon-show {\n\tfrom {\n\t\topacity: 0;\n\t}\n\n\tto {\n\t\topacity: 1;\n\t}\n}\n\n@keyframes ck-upload-complete-icon-hide {\n\tfrom {\n\t\topacity: 1;\n\t}\n\n\tto {\n\t\topacity: 0;\n\t}\n}\n\n@keyframes ck-upload-complete-icon-check {\n\t0% {\n\t\topacity: 1;\n\t\twidth: 0;\n\t\theight: 0;\n\t}\n\t33% {\n\t\twidth: 0.3em;\n\t\theight: 0;\n\t}\n\t100% {\n\t\topacity: 1;\n\t\twidth: 0.3em;\n\t\theight: 0.45em;\n\t}\n}\n'],sourceRoot:""}]);const a=s},1559:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var o=n(9372),i=n.n(o),r=n(935),s=n.n(r)()(i());s.push([t.id,'.ck .ck-upload-placeholder-loader{align-items:center;display:flex;justify-content:center;left:0;position:absolute;top:0}.ck .ck-upload-placeholder-loader:before{content:"";position:relative}:root{--ck-color-upload-placeholder-loader:#b3b3b3;--ck-upload-placeholder-loader-size:32px;--ck-upload-placeholder-image-aspect-ratio:2.8}.ck .ck-image-upload-placeholder{margin:0;width:100%}.ck .ck-image-upload-placeholder.image-inline{width:calc(var(--ck-upload-placeholder-loader-size)*2*var(--ck-upload-placeholder-image-aspect-ratio))}.ck .ck-image-upload-placeholder img{aspect-ratio:var(--ck-upload-placeholder-image-aspect-ratio)}.ck .ck-upload-placeholder-loader{height:100%;width:100%}.ck .ck-upload-placeholder-loader:before{animation:ck-upload-placeholder-loader 1s linear infinite;border-radius:50%;border-right:2px solid transparent;border-top:3px solid var(--ck-color-upload-placeholder-loader);height:var(--ck-upload-placeholder-loader-size);width:var(--ck-upload-placeholder-loader-size)}@keyframes ck-upload-placeholder-loader{to{transform:rotate(1turn)}}',"",{version:3,sources:["webpack://./../ckeditor5-image/theme/imageuploadloader.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-image/imageuploadloader.css"],names:[],mappings:"AAKA,kCAGC,kBAAmB,CADnB,YAAa,CAEb,sBAAuB,CAEvB,MAAO,CALP,iBAAkB,CAIlB,KAOD,CAJC,yCACC,UAAW,CACX,iBACD,CCXD,MACC,4CAAqD,CACrD,wCAAyC,CACzC,8CACD,CAEA,iCAGC,QAAS,CADT,UAgBD,CAbC,8CACC,sGACD,CAEA,qCAOC,4DACD,CAGD,kCAEC,WAAY,CADZ,UAWD,CARC,yCAMC,yDAA0D,CAH1D,iBAAkB,CAElB,kCAAmC,CADnC,8DAA+D,CAF/D,+CAAgD,CADhD,8CAMD,CAGD,wCACC,GACC,uBACD,CACD",sourcesContent:["/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck .ck-upload-placeholder-loader {\n\tposition: absolute;\n\tdisplay: flex;\n\talign-items: center;\n\tjustify-content: center;\n\ttop: 0;\n\tleft: 0;\n\n\t&::before {\n\t\tcontent: '';\n\t\tposition: relative;\n\t}\n}\n","/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-color-upload-placeholder-loader: hsl(0, 0%, 70%);\n\t--ck-upload-placeholder-loader-size: 32px;\n\t--ck-upload-placeholder-image-aspect-ratio: 2.8;\n}\n\n.ck .ck-image-upload-placeholder {\n\t/* We need to control the full width of the SVG gray background. */\n\twidth: 100%;\n\tmargin: 0;\n\n\t&.image-inline {\n\t\twidth: calc( 2 * var(--ck-upload-placeholder-loader-size) * var(--ck-upload-placeholder-image-aspect-ratio) );\n\t}\n\n\t& img {\n\t\t/*\n\t\t * This is an arbitrary aspect for a 1x1 px GIF to display to the user. Not too tall, not too short.\n\t\t * There's nothing special about this number except that it should make the image placeholder look like\n\t\t * a real image during this short period after the upload started and before the image was read from the\n\t\t * file system (and a rich preview was loaded).\n\t\t */\n\t\taspect-ratio: var(--ck-upload-placeholder-image-aspect-ratio);\n\t}\n}\n\n.ck .ck-upload-placeholder-loader {\n\twidth: 100%;\n\theight: 100%;\n\n\t&::before {\n\t\twidth: var(--ck-upload-placeholder-loader-size);\n\t\theight: var(--ck-upload-placeholder-loader-size);\n\t\tborder-radius: 50%;\n\t\tborder-top: 3px solid var(--ck-color-upload-placeholder-loader);\n\t\tborder-right: 2px solid transparent;\n\t\tanimation: ck-upload-placeholder-loader 1s linear infinite;\n\t}\n}\n\n@keyframes ck-upload-placeholder-loader {\n\tto {\n\t\ttransform: rotate( 360deg );\n\t}\n}\n"],sourceRoot:""}]);const a=s},2267:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var o=n(9372),i=n.n(o),r=n(935),s=n.n(r)()(i());s.push([t.id,".ck.ck-editor__editable .image,.ck.ck-editor__editable .image-inline{position:relative}.ck.ck-editor__editable .image .ck-progress-bar,.ck.ck-editor__editable .image-inline .ck-progress-bar{left:0;position:absolute;top:0}.ck.ck-editor__editable .image-inline.ck-appear,.ck.ck-editor__editable .image.ck-appear{animation:fadeIn .7s}.ck.ck-editor__editable .image .ck-progress-bar,.ck.ck-editor__editable .image-inline .ck-progress-bar{background:var(--ck-color-upload-bar-background);height:2px;transition:width .1s;width:0}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}","",{version:3,sources:["webpack://./../ckeditor5-image/theme/imageuploadprogress.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-image/imageuploadprogress.css"],names:[],mappings:"AAMC,qEAEC,iBACD,CAGA,uGAIC,MAAO,CAFP,iBAAkB,CAClB,KAED,CCRC,yFACC,oBACD,CAID,uGAIC,gDAAiD,CAFjD,UAAW,CAGX,oBAAuB,CAFvB,OAGD,CAGD,kBACC,GAAO,SAAY,CACnB,GAAO,SAAY,CACpB",sourcesContent:["/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-editor__editable {\n\t& .image,\n\t& .image-inline {\n\t\tposition: relative;\n\t}\n\n\t/* Upload progress bar. */\n\t& .image .ck-progress-bar,\n\t& .image-inline .ck-progress-bar {\n\t\tposition: absolute;\n\t\ttop: 0;\n\t\tleft: 0;\n\t}\n}\n","/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-editor__editable {\n\t& .image,\n\t& .image-inline {\n\t\t/* Showing animation. */\n\t\t&.ck-appear {\n\t\t\tanimation: fadeIn 700ms;\n\t\t}\n\t}\n\n\t/* Upload progress bar. */\n\t& .image .ck-progress-bar,\n\t& .image-inline .ck-progress-bar {\n\t\theight: 2px;\n\t\twidth: 0;\n\t\tbackground: var(--ck-color-upload-bar-background);\n\t\ttransition: width 100ms;\n\t}\n}\n\n@keyframes fadeIn {\n\tfrom { opacity: 0; }\n\tto { opacity: 1; }\n}\n"],sourceRoot:""}]);const a=s},4062:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var o=n(9372),i=n.n(o),r=n(935),s=n.n(r)()(i());s.push([t.id,".ck.ck-text-alternative-form{display:flex;flex-direction:row;flex-wrap:nowrap}.ck.ck-text-alternative-form .ck-labeled-field-view{display:inline-block}.ck.ck-text-alternative-form .ck-label{display:none}@media screen and (max-width:600px){.ck.ck-text-alternative-form{flex-wrap:wrap}.ck.ck-text-alternative-form .ck-labeled-field-view{flex-basis:100%}.ck.ck-text-alternative-form .ck-button{flex-basis:50%}}","",{version:3,sources:["webpack://./../ckeditor5-image/theme/textalternativeform.css","webpack://./../ckeditor5-ui/theme/mixins/_rwd.css"],names:[],mappings:"AAOA,6BACC,YAAa,CACb,kBAAmB,CACnB,gBAqBD,CAnBC,oDACC,oBACD,CAEA,uCACC,YACD,CCZA,oCDCD,6BAcE,cAUF,CARE,oDACC,eACD,CAEA,wCACC,cACD,CCrBD",sourcesContent:['/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_rwd.css";\n\n.ck.ck-text-alternative-form {\n\tdisplay: flex;\n\tflex-direction: row;\n\tflex-wrap: nowrap;\n\n\t& .ck-labeled-field-view {\n\t\tdisplay: inline-block;\n\t}\n\n\t& .ck-label {\n\t\tdisplay: none;\n\t}\n\n\t@mixin ck-media-phone {\n\t\tflex-wrap: wrap;\n\n\t\t& .ck-labeled-field-view {\n\t\t\tflex-basis: 100%;\n\t\t}\n\n\t\t& .ck-button {\n\t\t\tflex-basis: 50%;\n\t\t}\n\t}\n}\n',"/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@define-mixin ck-media-phone {\n\t@media screen and (max-width: 600px) {\n\t\t@mixin-content;\n\t}\n}\n"],sourceRoot:""}]);const a=s},7719:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var o=n(9372),i=n.n(o),r=n(935),s=n.n(r)()(i());s.push([t.id,".ck .ck-link_selected{background:var(--ck-color-link-selected-background)}.ck .ck-link_selected span.image-inline{outline:var(--ck-widget-outline-thickness) solid var(--ck-color-link-selected-background)}.ck .ck-fake-link-selection{background:var(--ck-color-link-fake-selection)}.ck .ck-fake-link-selection_collapsed{border-right:1px solid var(--ck-color-base-text);height:100%;margin-right:-1px;outline:1px solid hsla(0,0%,100%,.5)}","",{version:3,sources:["webpack://./../ckeditor5-theme-lark/theme/ckeditor5-link/link.css"],names:[],mappings:"AAMA,sBACC,mDAMD,CAHC,wCACC,yFACD,CAOD,4BACC,8CACD,CAGA,sCAEC,gDAAiD,CADjD,WAAY,CAEZ,iBAAkB,CAClB,oCACD",sourcesContent:['/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/* Class added to span element surrounding currently selected link. */\n.ck .ck-link_selected {\n\tbackground: var(--ck-color-link-selected-background);\n\n\t/* Give linked inline images some outline to let the user know they are also part of the link. */\n\t& span.image-inline {\n\t\toutline: var(--ck-widget-outline-thickness) solid var(--ck-color-link-selected-background);\n\t}\n}\n\n/*\n * Classes used by the "fake visual selection" displayed in the content when an input\n * in the link UI has focus (the browser does not render the native selection in this state).\n */\n.ck .ck-fake-link-selection {\n\tbackground: var(--ck-color-link-fake-selection);\n}\n\n/* A collapsed fake visual selection. */\n.ck .ck-fake-link-selection_collapsed {\n\theight: 100%;\n\tborder-right: 1px solid var(--ck-color-base-text);\n\tmargin-right: -1px;\n\toutline: solid 1px hsla(0, 0%, 100%, .5);\n}\n'],sourceRoot:""}]);const a=s},8762:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var o=n(9372),i=n.n(o),r=n(935),s=n.n(r)()(i());s.push([t.id,".ck.ck-link-actions{display:flex;flex-direction:row;flex-wrap:nowrap}.ck.ck-link-actions .ck-link-actions__preview{display:inline-block}.ck.ck-link-actions .ck-link-actions__preview .ck-button__label{overflow:hidden}@media screen and (max-width:600px){.ck.ck-link-actions{flex-wrap:wrap}.ck.ck-link-actions .ck-link-actions__preview{flex-basis:100%}.ck.ck-link-actions .ck-button:not(.ck-link-actions__preview){flex-basis:50%}}.ck.ck-link-actions .ck-button.ck-link-actions__preview{padding-left:0;padding-right:0}.ck.ck-link-actions .ck-button.ck-link-actions__preview .ck-button__label{color:var(--ck-color-link-default);cursor:pointer;max-width:var(--ck-input-width);min-width:3em;padding:0 var(--ck-spacing-medium);text-align:center;text-overflow:ellipsis}.ck.ck-link-actions .ck-button.ck-link-actions__preview .ck-button__label:hover{text-decoration:underline}.ck.ck-link-actions .ck-button.ck-link-actions__preview,.ck.ck-link-actions .ck-button.ck-link-actions__preview:active,.ck.ck-link-actions .ck-button.ck-link-actions__preview:focus,.ck.ck-link-actions .ck-button.ck-link-actions__preview:hover{background:none}.ck.ck-link-actions .ck-button.ck-link-actions__preview:active{box-shadow:none}.ck.ck-link-actions .ck-button.ck-link-actions__preview:focus .ck-button__label{text-decoration:underline}[dir=ltr] .ck.ck-link-actions .ck-button:not(:first-child),[dir=rtl] .ck.ck-link-actions .ck-button:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-link-actions .ck-button.ck-link-actions__preview{margin:var(--ck-spacing-standard) var(--ck-spacing-standard) 0}.ck.ck-link-actions .ck-button.ck-link-actions__preview .ck-button__label{max-width:100%;min-width:0}[dir=ltr] .ck.ck-link-actions .ck-button:not(.ck-link-actions__preview),[dir=rtl] .ck.ck-link-actions .ck-button:not(.ck-link-actions__preview){margin-left:0}}","",{version:3,sources:["webpack://./../ckeditor5-link/theme/linkactions.css","webpack://./../ckeditor5-ui/theme/mixins/_rwd.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-link/linkactions.css"],names:[],mappings:"AAOA,oBACC,YAAa,CACb,kBAAmB,CACnB,gBAqBD,CAnBC,8CACC,oBAKD,CAHC,gEACC,eACD,CCXD,oCDCD,oBAcE,cAUF,CARE,8CACC,eACD,CAEA,8DACC,cACD,CCrBD,CCIA,wDACC,cAAe,CACf,eAmCD,CAjCC,0EAEC,kCAAmC,CAEnC,cAAe,CAIf,+BAAgC,CAChC,aAAc,CARd,kCAAmC,CASnC,iBAAkB,CAPlB,sBAYD,CAHC,gFACC,yBACD,CAGD,mPAIC,eACD,CAEA,+DACC,eACD,CAGC,gFACC,yBACD,CAWD,qHACC,sCACD,CDtDD,oCC0DC,wDACC,8DAMD,CAJC,0EAEC,cAAe,CADf,WAED,CAGD,gJAME,aAEF,CDzED",sourcesContent:['/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_rwd.css";\n\n.ck.ck-link-actions {\n\tdisplay: flex;\n\tflex-direction: row;\n\tflex-wrap: nowrap;\n\n\t& .ck-link-actions__preview {\n\t\tdisplay: inline-block;\n\n\t\t& .ck-button__label {\n\t\t\toverflow: hidden;\n\t\t}\n\t}\n\n\t@mixin ck-media-phone {\n\t\tflex-wrap: wrap;\n\n\t\t& .ck-link-actions__preview {\n\t\t\tflex-basis: 100%;\n\t\t}\n\n\t\t& .ck-button:not(.ck-link-actions__preview) {\n\t\t\tflex-basis: 50%;\n\t\t}\n\t}\n}\n',"/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@define-mixin ck-media-phone {\n\t@media screen and (max-width: 600px) {\n\t\t@mixin-content;\n\t}\n}\n",'/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_unselectable.css";\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";\n@import "../mixins/_focus.css";\n@import "../mixins/_shadow.css";\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_rwd.css";\n\n.ck.ck-link-actions {\n\t& .ck-button.ck-link-actions__preview {\n\t\tpadding-left: 0;\n\t\tpadding-right: 0;\n\n\t\t& .ck-button__label {\n\t\t\tpadding: 0 var(--ck-spacing-medium);\n\t\t\tcolor: var(--ck-color-link-default);\n\t\t\ttext-overflow: ellipsis;\n\t\t\tcursor: pointer;\n\n\t\t\t/* Match the box model of the link editor form\'s input so the balloon\n\t\t\tdoes not change width when moving between actions and the form. */\n\t\t\tmax-width: var(--ck-input-width);\n\t\t\tmin-width: 3em;\n\t\t\ttext-align: center;\n\n\t\t\t&:hover {\n\t\t\t\ttext-decoration: underline;\n\t\t\t}\n\t\t}\n\n\t\t&,\n\t\t&:hover,\n\t\t&:focus,\n\t\t&:active {\n\t\t\tbackground: none;\n\t\t}\n\n\t\t&:active {\n\t\t\tbox-shadow: none;\n\t\t}\n\n\t\t&:focus {\n\t\t\t& .ck-button__label {\n\t\t\t\ttext-decoration: underline;\n\t\t\t}\n\t\t}\n\t}\n\n\t@mixin ck-dir ltr {\n\t\t& .ck-button:not(:first-child) {\n\t\t\tmargin-left: var(--ck-spacing-standard);\n\t\t}\n\t}\n\n\t@mixin ck-dir rtl {\n\t\t& .ck-button:not(:last-child) {\n\t\t\tmargin-left: var(--ck-spacing-standard);\n\t\t}\n\t}\n\n\t@mixin ck-media-phone {\n\t\t& .ck-button.ck-link-actions__preview {\n\t\t\tmargin: var(--ck-spacing-standard) var(--ck-spacing-standard) 0;\n\n\t\t\t& .ck-button__label {\n\t\t\t\tmin-width: 0;\n\t\t\t\tmax-width: 100%;\n\t\t\t}\n\t\t}\n\n\t\t& .ck-button:not(.ck-link-actions__preview) {\n\t\t\t@mixin ck-dir ltr {\n\t\t\t\tmargin-left: 0;\n\t\t\t}\n\n\t\t\t@mixin ck-dir rtl {\n\t\t\t\tmargin-left: 0;\n\t\t\t}\n\t\t}\n\t}\n}\n'],sourceRoot:""}]);const a=s},3817:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var o=n(9372),i=n.n(o),r=n(935),s=n.n(r)()(i());s.push([t.id,".ck.ck-link-form{display:flex}.ck.ck-link-form .ck-label{display:none}@media screen and (max-width:600px){.ck.ck-link-form{flex-wrap:wrap}.ck.ck-link-form .ck-labeled-field-view{flex-basis:100%}.ck.ck-link-form .ck-button{flex-basis:50%}}.ck.ck-link-form_layout-vertical{display:block}.ck.ck-link-form_layout-vertical .ck-button.ck-button-cancel,.ck.ck-link-form_layout-vertical .ck-button.ck-button-save{margin-top:var(--ck-spacing-medium)}.ck.ck-link-form_layout-vertical{min-width:var(--ck-input-width);padding:0}.ck.ck-link-form_layout-vertical .ck-labeled-field-view{margin:var(--ck-spacing-large) var(--ck-spacing-large) var(--ck-spacing-small)}.ck.ck-link-form_layout-vertical .ck-labeled-field-view .ck-input-text{min-width:0;width:100%}.ck.ck-link-form_layout-vertical>.ck-button{border-radius:0;margin:0;padding:var(--ck-spacing-standard);width:50%}.ck.ck-link-form_layout-vertical>.ck-button:not(:focus){border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-link-form_layout-vertical>.ck-button,[dir=rtl] .ck.ck-link-form_layout-vertical>.ck-button{margin-left:0}[dir=rtl] .ck.ck-link-form_layout-vertical>.ck-button:last-of-type{border-right:1px solid var(--ck-color-base-border)}.ck.ck-link-form_layout-vertical .ck.ck-list{margin:var(--ck-spacing-standard) var(--ck-spacing-large)}.ck.ck-link-form_layout-vertical .ck.ck-list .ck-button.ck-switchbutton{padding:0;width:100%}.ck.ck-link-form_layout-vertical .ck.ck-list .ck-button.ck-switchbutton:hover{background:none}","",{version:3,sources:["webpack://./../ckeditor5-link/theme/linkform.css","webpack://./../ckeditor5-ui/theme/mixins/_rwd.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-link/linkform.css"],names:[],mappings:"AAOA,iBACC,YAiBD,CAfC,2BACC,YACD,CCNA,oCDCD,iBAQE,cAUF,CARE,wCACC,eACD,CAEA,4BACC,cACD,CCfD,CDuBD,iCACC,aAYD,CALE,wHAEC,mCACD,CE/BF,iCAEC,+BAAgC,CADhC,SAgDD,CA7CC,wDACC,8EAMD,CAJC,uEACC,WAAY,CACZ,UACD,CAGD,4CAIC,eAAgB,CAFhB,QAAS,CADT,kCAAmC,CAEnC,SAkBD,CAfC,wDACC,gDACD,CARD,4GAeE,aAMF,CAJE,mEACC,kDACD,CAKF,6CACC,yDAUD,CARC,wEACC,SAAU,CACV,UAKD,CAHC,8EACC,eACD",sourcesContent:['/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_rwd.css";\n\n.ck.ck-link-form {\n\tdisplay: flex;\n\n\t& .ck-label {\n\t\tdisplay: none;\n\t}\n\n\t@mixin ck-media-phone {\n\t\tflex-wrap: wrap;\n\n\t\t& .ck-labeled-field-view {\n\t\t\tflex-basis: 100%;\n\t\t}\n\n\t\t& .ck-button {\n\t\t\tflex-basis: 50%;\n\t\t}\n\t}\n}\n\n/*\n * Style link form differently when manual decorators are available.\n * See: https://github.com/ckeditor/ckeditor5-link/issues/186.\n */\n.ck.ck-link-form_layout-vertical {\n\tdisplay: block;\n\n\t/*\n\t * Whether the form is in the responsive mode or not, if there are decorator buttons\n\t * keep the top margin of action buttons medium.\n\t */\n\t& .ck-button {\n\t\t&.ck-button-save,\n\t\t&.ck-button-cancel {\n\t\t\tmargin-top: var(--ck-spacing-medium);\n\t\t}\n\t}\n}\n',"/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@define-mixin ck-media-phone {\n\t@media screen and (max-width: 600px) {\n\t\t@mixin-content;\n\t}\n}\n",'/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";\n\n/*\n * Style link form differently when manual decorators are available.\n * See: https://github.com/ckeditor/ckeditor5-link/issues/186.\n */\n.ck.ck-link-form_layout-vertical {\n\tpadding: 0;\n\tmin-width: var(--ck-input-width);\n\n\t& .ck-labeled-field-view {\n\t\tmargin: var(--ck-spacing-large) var(--ck-spacing-large) var(--ck-spacing-small);\n\n\t\t& .ck-input-text {\n\t\t\tmin-width: 0;\n\t\t\twidth: 100%;\n\t\t}\n\t}\n\n\t& > .ck-button {\n\t\tpadding: var(--ck-spacing-standard);\n\t\tmargin: 0;\n\t\twidth: 50%;\n\t\tborder-radius: 0;\n\n\t\t&:not(:focus) {\n\t\t\tborder-top: 1px solid var(--ck-color-base-border);\n\t\t}\n\n\t\t@mixin ck-dir ltr {\n\t\t\tmargin-left: 0;\n\t\t}\n\n\t\t@mixin ck-dir rtl {\n\t\t\tmargin-left: 0;\n\n\t\t\t&:last-of-type {\n\t\t\t\tborder-right: 1px solid var(--ck-color-base-border);\n\t\t\t}\n\t\t}\n\t}\n\n\t/* Using additional `.ck` class for stronger CSS specificity than `.ck.ck-link-form > :not(:first-child)`. */\n\t& .ck.ck-list {\n\t\tmargin: var(--ck-spacing-standard) var(--ck-spacing-large);\n\n\t\t& .ck-button.ck-switchbutton {\n\t\t\tpadding: 0;\n\t\t\twidth: 100%;\n\n\t\t\t&:hover {\n\t\t\t\tbackground: none;\n\t\t\t}\n\t\t}\n\t}\n}\n'],sourceRoot:""}]);const a=s},4808:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var o=n(9372),i=n.n(o),r=n(935),s=n.n(r)()(i());s.push([t.id,'.ck.ck-editor__editable a span.image-inline:after,.ck.ck-editor__editable figure.image>a:after{display:block;position:absolute}:root{--ck-link-image-indicator-icon-size:20;--ck-link-image-indicator-icon-is-visible:clamp(0px,100% - 50px,1px)}.ck.ck-editor__editable a span.image-inline:after,.ck.ck-editor__editable figure.image>a:after{background-color:rgba(0,0,0,.4);background-image:url("data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMjAgMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZmlsbD0iI2ZmZiIgZD0ibTExLjA3NyAxNSAuOTkxLTEuNDE2YS43NS43NSAwIDEgMSAxLjIyOS44NmwtMS4xNDggMS42NGEuNzQ4Ljc0OCAwIDAgMS0uMjE3LjIwNiA1LjI1MSA1LjI1MSAwIDAgMS04LjUwMy01Ljk1NS43NDEuNzQxIDAgMCAxIC4xMi0uMjc0bDEuMTQ3LTEuNjM5YS43NS43NSAwIDEgMSAxLjIyOC44Nkw0LjkzMyAxMC43bC4wMDYuMDAzYTMuNzUgMy43NSAwIDAgMCA2LjEzMiA0LjI5NGwuMDA2LjAwNHptNS40OTQtNS4zMzVhLjc0OC43NDggMCAwIDEtLjEyLjI3NGwtMS4xNDcgMS42MzlhLjc1Ljc1IDAgMSAxLTEuMjI4LS44NmwuODYtMS4yM2EzLjc1IDMuNzUgMCAwIDAtNi4xNDQtNC4zMDFsLS44NiAxLjIyOWEuNzUuNzUgMCAwIDEtMS4yMjktLjg2bDEuMTQ4LTEuNjRhLjc0OC43NDggMCAwIDEgLjIxNy0uMjA2IDUuMjUxIDUuMjUxIDAgMCAxIDguNTAzIDUuOTU1em0tNC41NjMtMi41MzJhLjc1Ljc1IDAgMCAxIC4xODQgMS4wNDVsLTMuMTU1IDQuNTA1YS43NS43NSAwIDEgMS0xLjIyOS0uODZsMy4xNTUtNC41MDZhLjc1Ljc1IDAgMCAxIDEuMDQ1LS4xODR6Ii8+PC9zdmc+");background-position:50%;background-repeat:no-repeat;background-size:14px;border-radius:100%;content:"";height:calc(var(--ck-link-image-indicator-icon-is-visible)*var(--ck-link-image-indicator-icon-size));overflow:hidden;right:min(var(--ck-spacing-medium),6%);top:min(var(--ck-spacing-medium),6%);width:calc(var(--ck-link-image-indicator-icon-is-visible)*var(--ck-link-image-indicator-icon-size))}',"",{version:3,sources:["webpack://./../ckeditor5-link/theme/linkimage.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-link/linkimage.css"],names:[],mappings:"AASE,+FACC,aAAc,CACd,iBACD,CCPF,MAEC,sCAAuC,CACvC,oEACD,CAME,+FAUC,+BAAqC,CACrC,83BAA+3B,CAG/3B,uBAA2B,CAD3B,2BAA4B,CAD5B,oBAAqB,CAGrB,kBAAmB,CAdnB,UAAW,CAsBX,oGAAuG,CAFvG,eAAgB,CAbhB,sCAAwC,CADxC,oCAAsC,CAetC,mGAED",sourcesContent:["/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-editor__editable {\n\t/* Linked image indicator */\n\t& figure.image > a,\n\t& a span.image-inline {\n\t\t&::after {\n\t\t\tdisplay: block;\n\t\t\tposition: absolute;\n\t\t}\n\t}\n}\n\n",'/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t/* Match the icon size with the upload indicator brought by the image upload feature. */\n\t--ck-link-image-indicator-icon-size: 20;\n\t--ck-link-image-indicator-icon-is-visible: clamp(0px, 100% - 50px, 1px);\n}\n\n.ck.ck-editor__editable {\n\t/* Linked image indicator */\n\t& figure.image > a,\n\t& a span.image-inline {\n\t\t&::after {\n\t\t\tcontent: "";\n\n\t\t\t/*\n\t\t\t * Smaller images should have the icon closer to the border.\n\t\t\t * Match the icon position with the upload indicator brought by the image upload feature.\n\t\t\t */\n\t\t\ttop: min(var(--ck-spacing-medium), 6%);\n\t\t\tright: min(var(--ck-spacing-medium), 6%);\n\n\t\t\tbackground-color: hsla(0, 0%, 0%, .4);\n\t\t\tbackground-image: url("data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMjAgMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZmlsbD0iI2ZmZiIgZD0ibTExLjA3NyAxNSAuOTkxLTEuNDE2YS43NS43NSAwIDEgMSAxLjIyOS44NmwtMS4xNDggMS42NGEuNzQ4Ljc0OCAwIDAgMS0uMjE3LjIwNiA1LjI1MSA1LjI1MSAwIDAgMS04LjUwMy01Ljk1NS43NDEuNzQxIDAgMCAxIC4xMi0uMjc0bDEuMTQ3LTEuNjM5YS43NS43NSAwIDEgMSAxLjIyOC44Nkw0LjkzMyAxMC43bC4wMDYuMDAzYTMuNzUgMy43NSAwIDAgMCA2LjEzMiA0LjI5NGwuMDA2LjAwNHptNS40OTQtNS4zMzVhLjc0OC43NDggMCAwIDEtLjEyLjI3NGwtMS4xNDcgMS42MzlhLjc1Ljc1IDAgMSAxLTEuMjI4LS44NmwuODYtMS4yM2EzLjc1IDMuNzUgMCAwIDAtNi4xNDQtNC4zMDFsLS44NiAxLjIyOWEuNzUuNzUgMCAwIDEtMS4yMjktLjg2bDEuMTQ4LTEuNjRhLjc0OC43NDggMCAwIDEgLjIxNy0uMjA2IDUuMjUxIDUuMjUxIDAgMCAxIDguNTAzIDUuOTU1em0tNC41NjMtMi41MzJhLjc1Ljc1IDAgMCAxIC4xODQgMS4wNDVsLTMuMTU1IDQuNTA1YS43NS43NSAwIDEgMS0xLjIyOS0uODZsMy4xNTUtNC41MDZhLjc1Ljc1IDAgMCAxIDEuMDQ1LS4xODR6Ii8+PC9zdmc+");\n\t\t\tbackground-size: 14px;\n\t\t\tbackground-repeat: no-repeat;\n\t\t\tbackground-position: center;\n\t\t\tborder-radius: 100%;\n\n\t\t\t/*\n\t\t\t* Use CSS math to simulate container queries.\n\t\t\t* https://css-tricks.com/the-raven-technique-one-step-closer-to-container-queries/#what-about-showing-and-hiding-things\n\t\t\t*/\n\t\t\toverflow: hidden;\n\t\t\twidth: calc(var(--ck-link-image-indicator-icon-is-visible) * var(--ck-link-image-indicator-icon-size));\n\t\t\theight: calc(var(--ck-link-image-indicator-icon-is-visible) * var(--ck-link-image-indicator-icon-size));\n\t\t}\n\t}\n}\n\n'],sourceRoot:""}]);const a=s},1232:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var o=n(9372),i=n.n(o),r=n(935),s=n.n(r)()(i());s.push([t.id,".ck-editor__editable .ck-list-bogus-paragraph{display:block}","",{version:3,sources:["webpack://./../ckeditor5-list/theme/documentlist.css"],names:[],mappings:"AAKA,8CACC,aACD",sourcesContent:["/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck-editor__editable .ck-list-bogus-paragraph {\n\tdisplay: block;\n}\n"],sourceRoot:""}]);const a=s},6903:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var o=n(9372),i=n.n(o),r=n(935),s=n.n(r)()(i());s.push([t.id,".ck-content ol{list-style-type:decimal}.ck-content ol ol{list-style-type:lower-latin}.ck-content ol ol ol{list-style-type:lower-roman}.ck-content ol ol ol ol{list-style-type:upper-latin}.ck-content ol ol ol ol ol{list-style-type:upper-roman}.ck-content ul{list-style-type:disc}.ck-content ul ul{list-style-type:circle}.ck-content ul ul ul,.ck-content ul ul ul ul{list-style-type:square}","",{version:3,sources:["webpack://./../ckeditor5-list/theme/list.css"],names:[],mappings:"AAKA,eACC,uBAiBD,CAfC,kBACC,2BAaD,CAXC,qBACC,2BASD,CAPC,wBACC,2BAKD,CAHC,2BACC,2BACD,CAMJ,eACC,oBAaD,CAXC,kBACC,sBASD,CAJE,6CACC,sBACD",sourcesContent:["/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck-content ol {\n\tlist-style-type: decimal;\n\n\t& ol {\n\t\tlist-style-type: lower-latin;\n\n\t\t& ol {\n\t\t\tlist-style-type: lower-roman;\n\n\t\t\t& ol {\n\t\t\t\tlist-style-type: upper-latin;\n\n\t\t\t\t& ol {\n\t\t\t\t\tlist-style-type: upper-roman;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}\n\n.ck-content ul {\n\tlist-style-type: disc;\n\n\t& ul {\n\t\tlist-style-type: circle;\n\n\t\t& ul {\n\t\t\tlist-style-type: square;\n\n\t\t\t& ul {\n\t\t\t\tlist-style-type: square;\n\t\t\t}\n\t\t}\n\t}\n}\n"],sourceRoot:""}]);const a=s},9968:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var o=n(9372),i=n.n(o),r=n(935),s=n.n(r)()(i());s.push([t.id,".ck.ck-list-properties.ck-list-properties_without-styles{padding:var(--ck-spacing-large)}.ck.ck-list-properties.ck-list-properties_without-styles>*{min-width:14em}.ck.ck-list-properties.ck-list-properties_without-styles>*+*{margin-top:var(--ck-spacing-standard)}.ck.ck-list-properties.ck-list-properties_with-numbered-properties>.ck-list-styles-list{grid-template-columns:repeat(4,auto)}.ck.ck-list-properties.ck-list-properties_with-numbered-properties>.ck-collapsible{border-top:1px solid var(--ck-color-base-border)}.ck.ck-list-properties.ck-list-properties_with-numbered-properties>.ck-collapsible>.ck-collapsible__children>*{width:100%}.ck.ck-list-properties.ck-list-properties_with-numbered-properties>.ck-collapsible>.ck-collapsible__children>*+*{margin-top:var(--ck-spacing-standard)}.ck.ck-list-properties .ck.ck-numbered-list-properties__start-index .ck-input{min-width:auto;width:100%}.ck.ck-list-properties .ck.ck-numbered-list-properties__reversed-order{background:transparent;margin-bottom:calc(var(--ck-spacing-tiny)*-1);padding-left:0;padding-right:0}.ck.ck-list-properties .ck.ck-numbered-list-properties__reversed-order:active,.ck.ck-list-properties .ck.ck-numbered-list-properties__reversed-order:hover{background:none;border-color:transparent;box-shadow:none}","",{version:3,sources:["webpack://./../ckeditor5-theme-lark/theme/ckeditor5-list/listproperties.css"],names:[],mappings:"AAOC,yDACC,+BASD,CAPC,2DACC,cAKD,CAHC,6DACC,qCACD,CASD,wFACC,oCACD,CAGA,mFACC,gDAWD,CARE,+GACC,UAKD,CAHC,iHACC,qCACD,CAMJ,8EACC,cAAe,CACf,UACD,CAEA,uEACC,sBAAuB,CAGvB,6CAAgD,CAFhD,cAAe,CACf,eAQD,CALC,2JAGC,eAAgB,CADhB,wBAAyB,CADzB,eAGD",sourcesContent:["/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-list-properties {\n\t/* When there are no list styles and there is no collapsible. */\n\t&.ck-list-properties_without-styles {\n\t\tpadding: var(--ck-spacing-large);\n\n\t\t& > * {\n\t\t\tmin-width: 14em;\n\n\t\t\t& + * {\n\t\t\t\tmargin-top: var(--ck-spacing-standard);\n\t\t\t}\n\t\t}\n\t}\n\n\t/*\n\t * When the numbered list property fields (start at, reversed) should be displayed,\n\t * more horizontal space is needed. Reconfigure the style grid to create that space.\n\t */\n\t&.ck-list-properties_with-numbered-properties {\n\t\t& > .ck-list-styles-list {\n\t\t\tgrid-template-columns: repeat( 4, auto );\n\t\t}\n\n\t\t/* When list styles are rendered and property fields are in a collapsible. */\n\t\t& > .ck-collapsible {\n\t\t\tborder-top: 1px solid var(--ck-color-base-border);\n\n\t\t\t& > .ck-collapsible__children {\n\t\t\t\t& > * {\n\t\t\t\t\twidth: 100%;\n\n\t\t\t\t\t& + * {\n\t\t\t\t\t\tmargin-top: var(--ck-spacing-standard);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t& .ck.ck-numbered-list-properties__start-index .ck-input {\n\t\tmin-width: auto;\n\t\twidth: 100%;\n\t}\n\n\t& .ck.ck-numbered-list-properties__reversed-order {\n\t\tbackground: transparent;\n\t\tpadding-left: 0;\n\t\tpadding-right: 0;\n\t\tmargin-bottom: calc(-1 * var(--ck-spacing-tiny));\n\n\t\t&:active, &:hover {\n\t\t\tbox-shadow: none;\n\t\t\tborder-color: transparent;\n\t\t\tbackground: none;\n\t\t}\n\t}\n}\n"],sourceRoot:""}]);const a=s},7141:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var o=n(9372),i=n.n(o),r=n(935),s=n.n(r)()(i());s.push([t.id,".ck.ck-list-styles-list{display:grid}:root{--ck-list-style-button-size:44px}.ck.ck-list-styles-list{column-gap:var(--ck-spacing-medium);grid-template-columns:repeat(3,auto);padding:var(--ck-spacing-large);row-gap:var(--ck-spacing-medium)}.ck.ck-list-styles-list .ck-button{box-sizing:content-box;margin:0;padding:0}.ck.ck-list-styles-list .ck-button,.ck.ck-list-styles-list .ck-button .ck-icon{height:var(--ck-list-style-button-size);width:var(--ck-list-style-button-size)}","",{version:3,sources:["webpack://./../ckeditor5-list/theme/liststyles.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-list/liststyles.css"],names:[],mappings:"AAKA,wBACC,YACD,CCFA,MACC,gCACD,CAEA,wBAGC,mCAAoC,CAFpC,oCAAwC,CAGxC,+BAAgC,CAFhC,gCA4BD,CAxBC,mCAiBC,sBAAuB,CAPvB,QAAS,CANT,SAmBD,CAJC,+EAhBA,uCAAwC,CADxC,sCAoBA",sourcesContent:["/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-list-styles-list {\n\tdisplay: grid;\n}\n",'/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-list-style-button-size: 44px;\n}\n\n.ck.ck-list-styles-list {\n\tgrid-template-columns: repeat( 3, auto );\n\trow-gap: var(--ck-spacing-medium);\n\tcolumn-gap: var(--ck-spacing-medium);\n\tpadding: var(--ck-spacing-large);\n\n\t& .ck-button {\n\t\t/* Make the button look like a thumbnail (the icon "takes it all"). */\n\t\twidth: var(--ck-list-style-button-size);\n\t\theight: var(--ck-list-style-button-size);\n\t\tpadding: 0;\n\n\t\t/*\n\t\t * Buttons are aligned by the grid so disable default button margins to not collide with the\n\t\t * gaps in the grid.\n\t\t */\n\t\tmargin: 0;\n\n\t\t/*\n\t\t * Make sure the button border (which is displayed on focus, BTW) does not steal pixels\n\t\t * from the button dimensions and, as a result, decrease the size of the icon\n\t\t * (which becomes blurry as it scales down).\n\t\t */\n\t\tbox-sizing: content-box;\n\n\t\t& .ck-icon {\n\t\t\twidth: var(--ck-list-style-button-size);\n\t\t\theight: var(--ck-list-style-button-size);\n\t\t}\n\t}\n}\n'],sourceRoot:""}]);const a=s},8991:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var o=n(9372),i=n.n(o),r=n(935),s=n.n(r)()(i());s.push([t.id,':root{--ck-todo-list-checkmark-size:16px}.ck-content .todo-list{list-style:none}.ck-content .todo-list li{margin-bottom:5px;position:relative}.ck-content .todo-list li .todo-list{margin-top:5px}.ck-content .todo-list .todo-list__label>input{-webkit-appearance:none;border:0;display:inline-block;height:var(--ck-todo-list-checkmark-size);left:-25px;margin-left:0;margin-right:-15px;position:relative;right:0;vertical-align:middle;width:var(--ck-todo-list-checkmark-size)}.ck-content[dir=rtl] .todo-list .todo-list__label>input{left:0;margin-left:-15px;margin-right:0;right:-25px}.ck-content .todo-list .todo-list__label>input:before{border:1px solid #333;border-radius:2px;box-sizing:border-box;content:"";display:block;height:100%;position:absolute;transition:box-shadow .25s ease-in-out;width:100%}.ck-content .todo-list .todo-list__label>input:after{border-color:transparent;border-style:solid;border-width:0 calc(var(--ck-todo-list-checkmark-size)/8) calc(var(--ck-todo-list-checkmark-size)/8) 0;box-sizing:content-box;content:"";display:block;height:calc(var(--ck-todo-list-checkmark-size)/2.6);left:calc(var(--ck-todo-list-checkmark-size)/3);pointer-events:none;position:absolute;top:calc(var(--ck-todo-list-checkmark-size)/5.3);transform:rotate(45deg);width:calc(var(--ck-todo-list-checkmark-size)/5.3)}.ck-content .todo-list .todo-list__label>input[checked]:before{background:#26ab33;border-color:#26ab33}.ck-content .todo-list .todo-list__label>input[checked]:after{border-color:#fff}.ck-content .todo-list .todo-list__label .todo-list__label__description{vertical-align:middle}.ck-content .todo-list .todo-list__label.todo-list__label_without-description input[type=checkbox]{position:absolute}.ck-editor__editable.ck-content .todo-list .todo-list__label>input,.ck-editor__editable.ck-content .todo-list .todo-list__label>span[contenteditable=false]>input{cursor:pointer}.ck-editor__editable.ck-content .todo-list .todo-list__label>input:hover:before,.ck-editor__editable.ck-content .todo-list .todo-list__label>span[contenteditable=false]>input:hover:before{box-shadow:0 0 0 5px rgba(0,0,0,.1)}.ck-editor__editable.ck-content .todo-list .todo-list__label>span[contenteditable=false]>input{-webkit-appearance:none;border:0;display:inline-block;height:var(--ck-todo-list-checkmark-size);left:-25px;margin-left:0;margin-right:-15px;position:relative;right:0;vertical-align:middle;width:var(--ck-todo-list-checkmark-size)}.ck-editor__editable.ck-content[dir=rtl] .todo-list .todo-list__label>span[contenteditable=false]>input{left:0;margin-left:-15px;margin-right:0;right:-25px}.ck-editor__editable.ck-content .todo-list .todo-list__label>span[contenteditable=false]>input:before{border:1px solid #333;border-radius:2px;box-sizing:border-box;content:"";display:block;height:100%;position:absolute;transition:box-shadow .25s ease-in-out;width:100%}.ck-editor__editable.ck-content .todo-list .todo-list__label>span[contenteditable=false]>input:after{border-color:transparent;border-style:solid;border-width:0 calc(var(--ck-todo-list-checkmark-size)/8) calc(var(--ck-todo-list-checkmark-size)/8) 0;box-sizing:content-box;content:"";display:block;height:calc(var(--ck-todo-list-checkmark-size)/2.6);left:calc(var(--ck-todo-list-checkmark-size)/3);pointer-events:none;position:absolute;top:calc(var(--ck-todo-list-checkmark-size)/5.3);transform:rotate(45deg);width:calc(var(--ck-todo-list-checkmark-size)/5.3)}.ck-editor__editable.ck-content .todo-list .todo-list__label>span[contenteditable=false]>input[checked]:before{background:#26ab33;border-color:#26ab33}.ck-editor__editable.ck-content .todo-list .todo-list__label>span[contenteditable=false]>input[checked]:after{border-color:#fff}.ck-editor__editable.ck-content .todo-list .todo-list__label.todo-list__label_without-description input[type=checkbox]{position:absolute}',"",{version:3,sources:["webpack://./../ckeditor5-list/theme/todolist.css"],names:[],mappings:"AAKA,MACC,kCACD,CAwEA,uBACC,eAwBD,CAtBC,0BAEC,iBAAkB,CADlB,iBAMD,CAHC,qCACC,cACD,CAIA,+CAlFD,uBAAwB,CAQxB,QAAS,CAPT,oBAAqB,CAGrB,yCAA0C,CAO1C,UAAW,CAGX,aAAc,CAFd,kBAAmB,CAVnB,iBAAkB,CAWlB,OAAQ,CARR,qBAAsB,CAFtB,wCAiFC,CAFA,wDAhEA,MAAO,CAGP,iBAAkB,CAFlB,cAAe,CACf,WAgEA,CA5DD,sDAOC,qBAAiC,CACjC,iBAAkB,CALlB,qBAAsB,CACtB,UAAW,CAHX,aAAc,CAKd,WAAY,CAJZ,iBAAkB,CAOlB,sCAAwC,CAJxC,UAKD,CAEA,qDAaC,wBAAyB,CADzB,kBAAmB,CAEnB,sGAA+G,CAX/G,sBAAuB,CAEvB,UAAW,CAJX,aAAc,CAUd,mDAAwD,CAHxD,+CAAoD,CAJpD,mBAAoB,CAFpB,iBAAkB,CAOlB,gDAAqD,CAMrD,uBAAwB,CALxB,kDAMD,CAGC,+DACC,kBAA8B,CAC9B,oBACD,CAEA,8DACC,iBACD,CAwBA,wEACC,qBACD,CAEA,mGACC,iBACD,CAYD,kKAEC,cAKD,CAHC,4LACC,mCACD,CAMD,+FApHA,uBAAwB,CAQxB,QAAS,CAPT,oBAAqB,CAGrB,yCAA0C,CAO1C,UAAW,CAGX,aAAc,CAFd,kBAAmB,CAVnB,iBAAkB,CAWlB,OAAQ,CARR,qBAAsB,CAFtB,wCAmHA,CAFA,wGAlGC,MAAO,CAGP,iBAAkB,CAFlB,cAAe,CACf,WAkGD,CA9FA,sGAOC,qBAAiC,CACjC,iBAAkB,CALlB,qBAAsB,CACtB,UAAW,CAHX,aAAc,CAKd,WAAY,CAJZ,iBAAkB,CAOlB,sCAAwC,CAJxC,UAKD,CAEA,qGAaC,wBAAyB,CADzB,kBAAmB,CAEnB,sGAA+G,CAX/G,sBAAuB,CAEvB,UAAW,CAJX,aAAc,CAUd,mDAAwD,CAHxD,+CAAoD,CAJpD,mBAAoB,CAFpB,iBAAkB,CAOlB,gDAAqD,CAMrD,uBAAwB,CALxB,kDAMD,CAGC,+GACC,kBAA8B,CAC9B,oBACD,CAEA,8GACC,iBACD,CA2DA,uHACC,iBACD",sourcesContent:["/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-todo-list-checkmark-size: 16px;\n}\n\n@define-mixin todo-list-checkbox {\n\t-webkit-appearance: none;\n\tdisplay: inline-block;\n\tposition: relative;\n\twidth: var(--ck-todo-list-checkmark-size);\n\theight: var(--ck-todo-list-checkmark-size);\n\tvertical-align: middle;\n\n\t/* Needed on iOS */\n\tborder: 0;\n\n\t/* LTR styles */\n\tleft: -25px;\n\tmargin-right: -15px;\n\tright: 0;\n\tmargin-left: 0;\n\n\t/* RTL styles */\n\t@nest [dir=rtl]& {\n\t\tleft: 0;\n\t\tmargin-right: 0;\n\t\tright: -25px;\n\t\tmargin-left: -15px;\n\t}\n\n\t&::before {\n\t\tdisplay: block;\n\t\tposition: absolute;\n\t\tbox-sizing: border-box;\n\t\tcontent: '';\n\t\twidth: 100%;\n\t\theight: 100%;\n\t\tborder: 1px solid hsl(0, 0%, 20%);\n\t\tborder-radius: 2px;\n\t\ttransition: 250ms ease-in-out box-shadow;\n\t}\n\n\t&::after {\n\t\tdisplay: block;\n\t\tposition: absolute;\n\t\tbox-sizing: content-box;\n\t\tpointer-events: none;\n\t\tcontent: '';\n\n\t\t/* Calculate tick position, size and border-width proportional to the checkmark size. */\n\t\tleft: calc( var(--ck-todo-list-checkmark-size) / 3 );\n\t\ttop: calc( var(--ck-todo-list-checkmark-size) / 5.3 );\n\t\twidth: calc( var(--ck-todo-list-checkmark-size) / 5.3 );\n\t\theight: calc( var(--ck-todo-list-checkmark-size) / 2.6 );\n\t\tborder-style: solid;\n\t\tborder-color: transparent;\n\t\tborder-width: 0 calc( var(--ck-todo-list-checkmark-size) / 8 ) calc( var(--ck-todo-list-checkmark-size) / 8 ) 0;\n\t\ttransform: rotate(45deg);\n\t}\n\n\t&[checked] {\n\t\t&::before {\n\t\t\tbackground: hsl(126, 64%, 41%);\n\t\t\tborder-color: hsl(126, 64%, 41%);\n\t\t}\n\n\t\t&::after {\n\t\t\tborder-color: hsl(0, 0%, 100%);\n\t\t}\n\t}\n}\n\n/*\n * To-do list content styles.\n */\n.ck-content .todo-list {\n\tlist-style: none;\n\n\t& li {\n\t\tposition: relative;\n\t\tmargin-bottom: 5px;\n\n\t\t& .todo-list {\n\t\t\tmargin-top: 5px;\n\t\t}\n\t}\n\n\t& .todo-list__label {\n\t\t& > input {\n\t\t\t@mixin todo-list-checkbox;\n\t\t}\n\n\t\t& .todo-list__label__description {\n\t\t\tvertical-align: middle;\n\t\t}\n\n\t\t&.todo-list__label_without-description input[type=checkbox] {\n\t\t\tposition: absolute;\n\t\t}\n\t}\n}\n\n/*\n * To-do list editing view styles.\n */\n.ck-editor__editable.ck-content .todo-list .todo-list__label {\n\t/*\n\t * To-do list should be interactive only during the editing\n\t * (https://github.com/ckeditor/ckeditor5/issues/2090).\n\t */\n\t& > input,\n\t& > span[contenteditable=false] > input {\n\t\tcursor: pointer;\n\n\t\t&:hover::before {\n\t\t\tbox-shadow: 0 0 0 5px hsla(0, 0%, 0%, 0.1);\n\t\t}\n\t}\n\n\t/*\n\t * Document Lists - editing view has an additional span around checkbox.\n\t */\n\t& > span[contenteditable=false] > input {\n\t\t@mixin todo-list-checkbox;\n\t}\n\n\t&.todo-list__label_without-description {\n\t\t& input[type=checkbox] {\n\t\t\tposition: absolute;\n\t\t}\n\t}\n}\n"],sourceRoot:""}]);const a=s},70:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var o=n(9372),i=n.n(o),r=n(935),s=n.n(r)()(i());s.push([t.id,".ck-content .media{clear:both;display:block;margin:.9em 0;min-width:15em}","",{version:3,sources:["webpack://./../ckeditor5-media-embed/theme/mediaembed.css"],names:[],mappings:"AAKA,mBAGC,UAAW,CASX,aAAc,CAJd,aAAe,CAQf,cACD",sourcesContent:['/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck-content .media {\n\t/* Don\'t allow floated content overlap the media.\n\thttps://github.com/ckeditor/ckeditor5-media-embed/issues/53 */\n\tclear: both;\n\n\t/* Make sure there is some space between the content and the media. */\n\t/* The first value should be equal to --ck-spacing-large variable if used in the editor context\n\tto avoid the content jumping (See https://github.com/ckeditor/ckeditor5/issues/9825). */\n\tmargin: 0.9em 0;\n\n\t/* Make sure media is not overriden with Bootstrap default `flex` value.\n\tSee: https://github.com/ckeditor/ckeditor5/issues/1373. */\n\tdisplay: block;\n\n\t/* Give the media some minimal width in the content to prevent them\n\tfrom being "squashed" in tight spaces, e.g. in table cells (#44) */\n\tmin-width: 15em;\n}\n'],sourceRoot:""}]);const a=s},7048:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var o=n(9372),i=n.n(o),r=n(935),s=n.n(r)()(i());s.push([t.id,'.ck-media__wrapper .ck-media__placeholder{align-items:center;display:flex;flex-direction:column}.ck-media__wrapper .ck-media__placeholder .ck-media__placeholder__url{max-width:100%;position:relative}.ck-media__wrapper .ck-media__placeholder .ck-media__placeholder__url .ck-media__placeholder__url__text{display:block;overflow:hidden}.ck-media__wrapper[data-oembed-url*="facebook.com"] .ck-media__placeholder__icon *,.ck-media__wrapper[data-oembed-url*="goo.gl/maps"] .ck-media__placeholder__icon *,.ck-media__wrapper[data-oembed-url*="google.com/maps"] .ck-media__placeholder__icon *,.ck-media__wrapper[data-oembed-url*="instagram.com"] .ck-media__placeholder__icon *,.ck-media__wrapper[data-oembed-url*="maps.app.goo.gl"] .ck-media__placeholder__icon *,.ck-media__wrapper[data-oembed-url*="maps.google.com"] .ck-media__placeholder__icon *,.ck-media__wrapper[data-oembed-url*="twitter.com"] .ck-media__placeholder__icon *{display:none}.ck-editor__editable:not(.ck-read-only) .ck-media__wrapper>:not(.ck-media__placeholder),.ck-editor__editable:not(.ck-read-only) .ck-widget:not(.ck-widget_selected) .ck-media__placeholder{pointer-events:none}:root{--ck-media-embed-placeholder-icon-size:3em;--ck-color-media-embed-placeholder-url-text:#757575;--ck-color-media-embed-placeholder-url-text-hover:var(--ck-color-base-text)}.ck-media__wrapper{margin:0 auto}.ck-media__wrapper .ck-media__placeholder{background:var(--ck-color-base-foreground);padding:calc(var(--ck-spacing-standard)*3)}.ck-media__wrapper .ck-media__placeholder .ck-media__placeholder__icon{background-position:50%;background-size:cover;height:var(--ck-media-embed-placeholder-icon-size);margin-bottom:var(--ck-spacing-large);min-width:var(--ck-media-embed-placeholder-icon-size)}.ck-media__wrapper .ck-media__placeholder .ck-media__placeholder__icon .ck-icon{height:100%;width:100%}.ck-media__wrapper .ck-media__placeholder .ck-media__placeholder__url__text{color:var(--ck-color-media-embed-placeholder-url-text);font-style:italic;text-align:center;text-overflow:ellipsis;white-space:nowrap}.ck-media__wrapper .ck-media__placeholder .ck-media__placeholder__url__text:hover{color:var(--ck-color-media-embed-placeholder-url-text-hover);cursor:pointer;text-decoration:underline}.ck-media__wrapper[data-oembed-url*="open.spotify.com"]{max-height:380px;max-width:300px}.ck-media__wrapper[data-oembed-url*="goo.gl/maps"] .ck-media__placeholder__icon,.ck-media__wrapper[data-oembed-url*="google.com/maps"] .ck-media__placeholder__icon,.ck-media__wrapper[data-oembed-url*="maps.app.goo.gl"] .ck-media__placeholder__icon,.ck-media__wrapper[data-oembed-url*="maps.google.com"] .ck-media__placeholder__icon{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNTAuMzc4IiBoZWlnaHQ9IjI1NC4xNjciIHZpZXdCb3g9IjAgMCA2Ni4yNDYgNjcuMjQ4Ij48ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMTcyLjUzMSAtMjE4LjQ1NSkgc2NhbGUoLjk4MDEyKSI+PHJlY3Qgcnk9IjUuMjM4IiByeD0iNS4yMzgiIHk9IjIzMS4zOTkiIHg9IjE3Ni4wMzEiIGhlaWdodD0iNjAuMDk5IiB3aWR0aD0iNjAuMDk5IiBmaWxsPSIjMzRhNjY4IiBwYWludC1vcmRlcj0ibWFya2VycyBzdHJva2UgZmlsbCIvPjxwYXRoIGQ9Im0yMDYuNDc3IDI2MC45LTI4Ljk4NyAyOC45ODdhNS4yMTggNS4yMTggMCAwIDAgMy43OCAxLjYxaDQ5LjYyMWMxLjY5NCAwIDMuMTktLjc5OCA0LjE0Ni0yLjAzN3oiIGZpbGw9IiM1Yzg4YzUiLz48cGF0aCBkPSJNMjI2Ljc0MiAyMjIuOTg4Yy05LjI2NiAwLTE2Ljc3NyA3LjE3LTE2Ljc3NyAxNi4wMTQuMDA3IDIuNzYyLjY2MyA1LjQ3NCAyLjA5MyA3Ljg3NS40My43MDMuODMgMS40MDggMS4xOSAyLjEwNy4zMzMuNTAyLjY1IDEuMDA1Ljk1IDEuNTA4LjM0My40NzcuNjczLjk1Ny45ODggMS40NCAxLjMxIDEuNzY5IDIuNSAzLjUwMiAzLjYzNyA1LjE2OC43OTMgMS4yNzUgMS42ODMgMi42NCAyLjQ2NiAzLjk5IDIuMzYzIDQuMDk0IDQuMDA3IDguMDkyIDQuNiAxMy45MTR2LjAxMmMuMTgyLjQxMi41MTYuNjY2Ljg3OS42NjcuNDAzLS4wMDEuNzY4LS4zMTQuOTMtLjc5OS42MDMtNS43NTYgMi4yMzgtOS43MjkgNC41ODUtMTMuNzk0Ljc4Mi0xLjM1IDEuNjczLTIuNzE1IDIuNDY1LTMuOTkgMS4xMzctMS42NjYgMi4zMjgtMy40IDMuNjM4LTUuMTY5LjMxNS0uNDgyLjY0NS0uOTYyLjk4OC0xLjQzOS4zLS41MDMuNjE3LTEuMDA2Ljk1LTEuNTA4LjM1OS0uNy43Ni0xLjQwNCAxLjE5LTIuMTA3IDEuNDI2LTIuNDAyIDItNS4xMTQgMi4wMDQtNy44NzUgMC04Ljg0NC03LjUxMS0xNi4wMTQtMTYuNzc2LTE2LjAxNHoiIGZpbGw9IiNkZDRiM2UiIHBhaW50LW9yZGVyPSJtYXJrZXJzIHN0cm9rZSBmaWxsIi8+PGVsbGlwc2Ugcnk9IjUuNTY0IiByeD0iNS44MjgiIGN5PSIyMzkuMDAyIiBjeD0iMjI2Ljc0MiIgZmlsbD0iIzgwMmQyNyIgcGFpbnQtb3JkZXI9Im1hcmtlcnMgc3Ryb2tlIGZpbGwiLz48cGF0aCBkPSJNMTkwLjMwMSAyMzcuMjgzYy00LjY3IDAtOC40NTcgMy44NTMtOC40NTcgOC42MDZzMy43ODYgOC42MDcgOC40NTcgOC42MDdjMy4wNDMgMCA0LjgwNi0uOTU4IDYuMzM3LTIuNTE2IDEuNTMtMS41NTcgMi4wODctMy45MTMgMi4wODctNi4yOSAwLS4zNjItLjAyMy0uNzIyLS4wNjQtMS4wNzloLTguMjU3djMuMDQzaDQuODVjLS4xOTcuNzU5LS41MzEgMS40NS0xLjA1OCAxLjk4Ni0uOTQyLjk1OC0yLjAyOCAxLjU0OC0zLjkwMSAxLjU0OC0yLjg3NiAwLTUuMjA4LTIuMzcyLTUuMjA4LTUuMjk5IDAtMi45MjYgMi4zMzItNS4yOTkgNS4yMDgtNS4yOTkgMS4zOTkgMCAyLjYxOC40MDcgMy41ODQgMS4yOTNsMi4zODEtMi4zOGMwLS4wMDItLjAwMy0uMDA0LS4wMDQtLjAwNS0xLjU4OC0xLjUyNC0zLjYyLTIuMjE1LTUuOTU1LTIuMjE1em00LjQzIDUuNjYuMDAzLjAwNnYtLjAwM3oiIGZpbGw9IiNmZmYiIHBhaW50LW9yZGVyPSJtYXJrZXJzIHN0cm9rZSBmaWxsIi8+PHBhdGggZD0ibTIxNS4xODQgMjUxLjkyOS03Ljk4IDcuOTc5IDI4LjQ3NyAyOC40NzVhNS4yMzMgNS4yMzMgMCAwIDAgLjQ0OS0yLjEyM3YtMzEuMTY1Yy0uNDY5LjY3NS0uOTM0IDEuMzQ5LTEuMzgyIDIuMDA1LS43OTIgMS4yNzUtMS42ODIgMi42NC0yLjQ2NSAzLjk5LTIuMzQ3IDQuMDY1LTMuOTgyIDguMDM4LTQuNTg1IDEzLjc5NC0uMTYyLjQ4NS0uNTI3Ljc5OC0uOTMuNzk5LS4zNjMtLjAwMS0uNjk3LS4yNTUtLjg3OS0uNjY3di0uMDEyYy0uNTkzLTUuODIyLTIuMjM3LTkuODItNC42LTEzLjkxNC0uNzgzLTEuMzUtMS42NzMtMi43MTUtMi40NjYtMy45OS0xLjEzNy0xLjY2Ni0yLjMyNy0zLjQtMy42MzctNS4xNjlsLS4wMDItLjAwM3oiIGZpbGw9IiNjM2MzYzMiLz48cGF0aCBkPSJtMjEyLjk4MyAyNDguNDk1LTM2Ljk1MiAzNi45NTN2LjgxMmE1LjIyNyA1LjIyNyAwIDAgMCA1LjIzOCA1LjIzOGgxLjAxNWwzNS42NjYtMzUuNjY2YTEzNi4yNzUgMTM2LjI3NSAwIDAgMC0yLjc2NC0zLjkgMzcuNTc1IDM3LjU3NSAwIDAgMC0uOTg5LTEuNDQgMzUuMTI3IDM1LjEyNyAwIDAgMC0uOTUtMS41MDhjLS4wODMtLjE2Mi0uMTc2LS4zMjYtLjI2NC0uNDg5eiIgZmlsbD0iI2ZkZGM0ZiIgcGFpbnQtb3JkZXI9Im1hcmtlcnMgc3Ryb2tlIGZpbGwiLz48cGF0aCBkPSJtMjExLjk5OCAyNjEuMDgzLTYuMTUyIDYuMTUxIDI0LjI2NCAyNC4yNjRoLjc4MWE1LjIyNyA1LjIyNyAwIDAgMCA1LjIzOS01LjIzOHYtMS4wNDV6IiBmaWxsPSIjZmZmIiBwYWludC1vcmRlcj0ibWFya2VycyBzdHJva2UgZmlsbCIvPjwvZz48L3N2Zz4=)}.ck-media__wrapper[data-oembed-url*="facebook.com"] .ck-media__placeholder{background:#4268b3}.ck-media__wrapper[data-oembed-url*="facebook.com"] .ck-media__placeholder .ck-media__placeholder__icon{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAyNCIgaGVpZ2h0PSIxMDI0IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGQ9Ik05NjcuNDg0IDBINTYuNTE3QzI1LjMwNCAwIDAgMjUuMzA0IDAgNTYuNTE3djkxMC45NjZDMCA5OTguNjk0IDI1LjI5NyAxMDI0IDU2LjUyMiAxMDI0SDU0N1Y2MjhINDE0VjQ3M2gxMzNWMzU5LjAyOWMwLTEzMi4yNjIgODAuNzczLTIwNC4yODIgMTk4Ljc1Ni0yMDQuMjgyIDU2LjUxMyAwIDEwNS4wODYgNC4yMDggMTE5LjI0NCA2LjA4OVYyOTlsLTgxLjYxNi4wMzdjLTYzLjk5MyAwLTc2LjM4NCAzMC40OTItNzYuMzg0IDc1LjIzNlY0NzNoMTUzLjQ4N2wtMTkuOTg2IDE1NUg3MDd2Mzk2aDI2MC40ODRjMzEuMjEzIDAgNTYuNTE2LTI1LjMwMyA1Ni41MTYtNTYuNTE2VjU2LjUxNUMxMDI0IDI1LjMwMyA5OTguNjk3IDAgOTY3LjQ4NCAwIiBmaWxsPSIjRkZGRkZFIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiLz48L3N2Zz4=)}.ck-media__wrapper[data-oembed-url*="facebook.com"] .ck-media__placeholder .ck-media__placeholder__url__text{color:#cdf}.ck-media__wrapper[data-oembed-url*="facebook.com"] .ck-media__placeholder .ck-media__placeholder__url__text:hover{color:#fff}.ck-media__wrapper[data-oembed-url*="instagram.com"] .ck-media__placeholder{background:linear-gradient(-135deg,#1400c7,#b800b1,#f50000)}.ck-media__wrapper[data-oembed-url*="instagram.com"] .ck-media__placeholder .ck-media__placeholder__icon{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTA0IiBoZWlnaHQ9IjUwNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+PGRlZnM+PHBhdGggaWQ9ImEiIGQ9Ik0wIC4xNTloNTAzLjg0MVY1MDMuOTRIMHoiLz48L2RlZnM+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48bWFzayBpZD0iYiIgZmlsbD0iI2ZmZiI+PHVzZSB4bGluazpocmVmPSIjYSIvPjwvbWFzaz48cGF0aCBkPSJNMjUxLjkyMS4xNTljLTY4LjQxOCAwLTc2Ljk5Ny4yOS0xMDMuODY3IDEuNTE2LTI2LjgxNCAxLjIyMy00NS4xMjcgNS40ODItNjEuMTUxIDExLjcxLTE2LjU2NiA2LjQzNy0zMC42MTUgMTUuMDUxLTQ0LjYyMSAyOS4wNTYtMTQuMDA1IDE0LjAwNi0yMi42MTkgMjguMDU1LTI5LjA1NiA0NC42MjEtNi4yMjggMTYuMDI0LTEwLjQ4NyAzNC4zMzctMTEuNzEgNjEuMTUxQy4yOSAxNzUuMDgzIDAgMTgzLjY2MiAwIDI1Mi4wOGMwIDY4LjQxNy4yOSA3Ni45OTYgMS41MTYgMTAzLjg2NiAxLjIyMyAyNi44MTQgNS40ODIgNDUuMTI3IDExLjcxIDYxLjE1MSA2LjQzNyAxNi41NjYgMTUuMDUxIDMwLjYxNSAyOS4wNTYgNDQuNjIxIDE0LjAwNiAxNC4wMDUgMjguMDU1IDIyLjYxOSA0NC42MjEgMjkuMDU3IDE2LjAyNCA2LjIyNyAzNC4zMzcgMTAuNDg2IDYxLjE1MSAxMS43MDkgMjYuODcgMS4yMjYgMzUuNDQ5IDEuNTE2IDEwMy44NjcgMS41MTYgNjguNDE3IDAgNzYuOTk2LS4yOSAxMDMuODY2LTEuNTE2IDI2LjgxNC0xLjIyMyA0NS4xMjctNS40ODIgNjEuMTUxLTExLjcwOSAxNi41NjYtNi40MzggMzAuNjE1LTE1LjA1MiA0NC42MjEtMjkuMDU3IDE0LjAwNS0xNC4wMDYgMjIuNjE5LTI4LjA1NSAyOS4wNTctNDQuNjIxIDYuMjI3LTE2LjAyNCAxMC40ODYtMzQuMzM3IDExLjcwOS02MS4xNTEgMS4yMjYtMjYuODcgMS41MTYtMzUuNDQ5IDEuNTE2LTEwMy44NjYgMC02OC40MTgtLjI5LTc2Ljk5Ny0xLjUxNi0xMDMuODY3LTEuMjIzLTI2LjgxNC01LjQ4Mi00NS4xMjctMTEuNzA5LTYxLjE1MS02LjQzOC0xNi41NjYtMTUuMDUyLTMwLjYxNS0yOS4wNTctNDQuNjIxLTE0LjAwNi0xNC4wMDUtMjguMDU1LTIyLjYxOS00NC42MjEtMjkuMDU2LTE2LjAyNC02LjIyOC0zNC4zMzctMTAuNDg3LTYxLjE1MS0xMS43MUMzMjguOTE3LjQ0OSAzMjAuMzM4LjE1OSAyNTEuOTIxLjE1OVptMCA0NS4zOTFjNjcuMjY1IDAgNzUuMjMzLjI1NyAxMDEuNzk3IDEuNDY5IDI0LjU2MiAxLjEyIDM3LjkwMSA1LjIyNCA0Ni43NzggOC42NzQgMTEuNzU5IDQuNTcgMjAuMTUxIDEwLjAyOSAyOC45NjYgMTguODQ1IDguODE2IDguODE1IDE0LjI3NSAxNy4yMDcgMTguODQ1IDI4Ljk2NiAzLjQ1IDguODc3IDcuNTU0IDIyLjIxNiA4LjY3NCA0Ni43NzggMS4yMTIgMjYuNTY0IDEuNDY5IDM0LjUzMiAxLjQ2OSAxMDEuNzk4IDAgNjcuMjY1LS4yNTcgNzUuMjMzLTEuNDY5IDEwMS43OTctMS4xMiAyNC41NjItNS4yMjQgMzcuOTAxLTguNjc0IDQ2Ljc3OC00LjU3IDExLjc1OS0xMC4wMjkgMjAuMTUxLTE4Ljg0NSAyOC45NjYtOC44MTUgOC44MTYtMTcuMjA3IDE0LjI3NS0yOC45NjYgMTguODQ1LTguODc3IDMuNDUtMjIuMjE2IDcuNTU0LTQ2Ljc3OCA4LjY3NC0yNi41NiAxLjIxMi0zNC41MjcgMS40NjktMTAxLjc5NyAxLjQ2OS02Ny4yNzEgMC03NS4yMzctLjI1Ny0xMDEuNzk4LTEuNDY5LTI0LjU2Mi0xLjEyLTM3LjkwMS01LjIyNC00Ni43NzgtOC42NzQtMTEuNzU5LTQuNTctMjAuMTUxLTEwLjAyOS0yOC45NjYtMTguODQ1LTguODE1LTguODE1LTE0LjI3NS0xNy4yMDctMTguODQ1LTI4Ljk2Ni0zLjQ1LTguODc3LTcuNTU0LTIyLjIxNi04LjY3NC00Ni43NzgtMS4yMTItMjYuNTY0LTEuNDY5LTM0LjUzMi0xLjQ2OS0xMDEuNzk3IDAtNjcuMjY2LjI1Ny03NS4yMzQgMS40NjktMTAxLjc5OCAxLjEyLTI0LjU2MiA1LjIyNC0zNy45MDEgOC42NzQtNDYuNzc4IDQuNTctMTEuNzU5IDEwLjAyOS0yMC4xNTEgMTguODQ1LTI4Ljk2NiA4LjgxNS04LjgxNiAxNy4yMDctMTQuMjc1IDI4Ljk2Ni0xOC44NDUgOC44NzctMy40NSAyMi4yMTYtNy41NTQgNDYuNzc4LTguNjc0IDI2LjU2NC0xLjIxMiAzNC41MzItMS40NjkgMTAxLjc5OC0xLjQ2OVoiIGZpbGw9IiNGRkYiIG1hc2s9InVybCgjYikiLz48cGF0aCBkPSJNMjUxLjkyMSAzMzYuMDUzYy00Ni4zNzggMC04My45NzQtMzcuNTk2LTgzLjk3NC04My45NzMgMC00Ni4zNzggMzcuNTk2LTgzLjk3NCA4My45NzQtODMuOTc0IDQ2LjM3NyAwIDgzLjk3MyAzNy41OTYgODMuOTczIDgzLjk3NCAwIDQ2LjM3Ny0zNy41OTYgODMuOTczLTgzLjk3MyA4My45NzNabTAtMjEzLjMzOGMtNzEuNDQ3IDAtMTI5LjM2NSA1Ny45MTgtMTI5LjM2NSAxMjkuMzY1IDAgNzEuNDQ2IDU3LjkxOCAxMjkuMzY0IDEyOS4zNjUgMTI5LjM2NCA3MS40NDYgMCAxMjkuMzY0LTU3LjkxOCAxMjkuMzY0LTEyOS4zNjQgMC03MS40NDctNTcuOTE4LTEyOS4zNjUtMTI5LjM2NC0xMjkuMzY1Wk00MTYuNjI3IDExNy42MDRjMCAxNi42OTYtMTMuNTM1IDMwLjIzLTMwLjIzMSAzMC4yMy0xNi42OTUgMC0zMC4yMy0xMy41MzQtMzAuMjMtMzAuMjMgMC0xNi42OTYgMTMuNTM1LTMwLjIzMSAzMC4yMy0zMC4yMzEgMTYuNjk2IDAgMzAuMjMxIDEzLjUzNSAzMC4yMzEgMzAuMjMxIiBmaWxsPSIjRkZGIi8+PC9nPjwvc3ZnPg==)}.ck-media__wrapper[data-oembed-url*="instagram.com"] .ck-media__placeholder .ck-media__placeholder__url__text{color:#ffe0fe}.ck-media__wrapper[data-oembed-url*="instagram.com"] .ck-media__placeholder .ck-media__placeholder__url__text:hover{color:#fff}.ck-media__wrapper[data-oembed-url*="twitter.com"] .ck.ck-media__placeholder{background:linear-gradient(90deg,#71c6f4,#0d70a5)}.ck-media__wrapper[data-oembed-url*="twitter.com"] .ck.ck-media__placeholder .ck-media__placeholder__icon{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0MDAgNDAwIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCA0MDAgNDAwIiB4bWw6c3BhY2U9InByZXNlcnZlIj48cGF0aCBkPSJNNDAwIDIwMGMwIDExMC41LTg5LjUgMjAwLTIwMCAyMDBTMCAzMTAuNSAwIDIwMCA4OS41IDAgMjAwIDBzMjAwIDg5LjUgMjAwIDIwMHpNMTYzLjQgMzA1LjVjODguNyAwIDEzNy4yLTczLjUgMTM3LjItMTM3LjIgMC0yLjEgMC00LjItLjEtNi4yIDkuNC02LjggMTcuNi0xNS4zIDI0LjEtMjUtOC42IDMuOC0xNy45IDYuNC0yNy43IDcuNiAxMC02IDE3LjYtMTUuNCAyMS4yLTI2LjctOS4zIDUuNS0xOS42IDkuNS0zMC42IDExLjctOC44LTkuNC0yMS4zLTE1LjItMzUuMi0xNS4yLTI2LjYgMC00OC4yIDIxLjYtNDguMiA0OC4yIDAgMy44LjQgNy41IDEuMyAxMS00MC4xLTItNzUuNi0yMS4yLTk5LjQtNTAuNC00LjEgNy4xLTYuNSAxNS40LTYuNSAyNC4yIDAgMTYuNyA4LjUgMzEuNSAyMS41IDQwLjEtNy45LS4yLTE1LjMtMi40LTIxLjgtNnYuNmMwIDIzLjQgMTYuNiA0Mi44IDM4LjcgNDcuMy00IDEuMS04LjMgMS43LTEyLjcgMS43LTMuMSAwLTYuMS0uMy05LjEtLjkgNi4xIDE5LjIgMjMuOSAzMy4xIDQ1IDMzLjUtMTYuNSAxMi45LTM3LjMgMjAuNi01OS45IDIwLjYtMy45IDAtNy43LS4yLTExLjUtLjcgMjEuMSAxMy44IDQ2LjUgMjEuOCA3My43IDIxLjgiIHN0eWxlPSJmaWxsOiNmZmYiLz48L3N2Zz4=)}.ck-media__wrapper[data-oembed-url*="twitter.com"] .ck.ck-media__placeholder .ck-media__placeholder__url__text{color:#b8e6ff}.ck-media__wrapper[data-oembed-url*="twitter.com"] .ck.ck-media__placeholder .ck-media__placeholder__url__text:hover{color:#fff}',"",{version:3,sources:["webpack://./../ckeditor5-media-embed/theme/mediaembedediting.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-media-embed/mediaembedediting.css"],names:[],mappings:"AAMC,0CAGC,kBAAmB,CAFnB,YAAa,CACb,qBAcD,CAXC,sEAEC,cAAe,CAEf,iBAMD,CAJC,wGAEC,aAAc,CADd,eAED,CAWD,6kBACC,YACD,CAYF,2LACC,mBACD,CC1CA,MACC,0CAA2C,CAE3C,mDAA4D,CAC5D,2EACD,CAEA,mBACC,aA+FD,CA7FC,0CAEC,0CAA2C,CAD3C,0CA6BD,CA1BC,uEAIC,uBAA2B,CAC3B,qBAAsB,CAHtB,kDAAmD,CACnD,qCAAsC,CAFtC,qDAUD,CAJC,gFAEC,WAAY,CADZ,UAED,CAGD,4EACC,sDAAuD,CAGvD,iBAAkB,CADlB,iBAAkB,CAElB,sBAAuB,CAHvB,kBAUD,CALC,kFACC,4DAA6D,CAC7D,cAAe,CACf,yBACD,CAIF,wDAEC,gBAAiB,CADjB,eAED,CAEA,4UAIC,wvGACD,CAEA,2EACC,kBAaD,CAXC,wGACC,orBACD,CAEA,6GACC,UAKD,CAHC,mHACC,UACD,CAIF,4EACC,2DAcD,CAZC,yGACC,4jHACD,CAGA,8GACC,aAKD,CAHC,oHACC,UACD,CAIF,6EAEC,iDAaD,CAXC,0GACC,wiCACD,CAEA,+GACC,aAKD,CAHC,qHACC,UACD",sourcesContent:['/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck-media__wrapper {\n\t& .ck-media__placeholder {\n\t\tdisplay: flex;\n\t\tflex-direction: column;\n\t\talign-items: center;\n\n\t\t& .ck-media__placeholder__url {\n\t\t\t/* Otherwise the URL will overflow when the content is very narrow. */\n\t\t\tmax-width: 100%;\n\n\t\t\tposition: relative;\n\n\t\t\t& .ck-media__placeholder__url__text {\n\t\t\t\toverflow: hidden;\n\t\t\t\tdisplay: block;\n\t\t\t}\n\t\t}\n\t}\n\n\t&[data-oembed-url*="twitter.com"],\n\t&[data-oembed-url*="google.com/maps"],\n\t&[data-oembed-url*="goo.gl/maps"],\n\t&[data-oembed-url*="maps.google.com"],\n\t&[data-oembed-url*="maps.app.goo.gl"],\n\t&[data-oembed-url*="facebook.com"],\n\t&[data-oembed-url*="instagram.com"] {\n\t\t& .ck-media__placeholder__icon * {\n\t\t\tdisplay: none;\n\t\t}\n\t}\n}\n\n/* Disable all mouse interaction as long as the editor is not read–only.\n https://github.com/ckeditor/ckeditor5-media-embed/issues/58 */\n.ck-editor__editable:not(.ck-read-only) .ck-media__wrapper > *:not(.ck-media__placeholder) {\n\tpointer-events: none;\n}\n\n/* Disable all mouse interaction when the widget is not selected (e.g. to avoid opening links by accident).\n https://github.com/ckeditor/ckeditor5-media-embed/issues/18 */\n.ck-editor__editable:not(.ck-read-only) .ck-widget:not(.ck-widget_selected) .ck-media__placeholder {\n\tpointer-events: none;\n}\n','/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-media-embed-placeholder-icon-size: 3em;\n\n\t--ck-color-media-embed-placeholder-url-text: hsl(0, 0%, 46%);\n\t--ck-color-media-embed-placeholder-url-text-hover: var(--ck-color-base-text);\n}\n\n.ck-media__wrapper {\n\tmargin: 0 auto;\n\n\t& .ck-media__placeholder {\n\t\tpadding: calc( 3 * var(--ck-spacing-standard) );\n\t\tbackground: var(--ck-color-base-foreground);\n\n\t\t& .ck-media__placeholder__icon {\n\t\t\tmin-width: var(--ck-media-embed-placeholder-icon-size);\n\t\t\theight: var(--ck-media-embed-placeholder-icon-size);\n\t\t\tmargin-bottom: var(--ck-spacing-large);\n\t\t\tbackground-position: center;\n\t\t\tbackground-size: cover;\n\n\t\t\t& .ck-icon {\n\t\t\t\twidth: 100%;\n\t\t\t\theight: 100%;\n\t\t\t}\n\t\t}\n\n\t\t& .ck-media__placeholder__url__text {\n\t\t\tcolor: var(--ck-color-media-embed-placeholder-url-text);\n\t\t\twhite-space: nowrap;\n\t\t\ttext-align: center;\n\t\t\tfont-style: italic;\n\t\t\ttext-overflow: ellipsis;\n\n\t\t\t&:hover {\n\t\t\t\tcolor: var(--ck-color-media-embed-placeholder-url-text-hover);\n\t\t\t\tcursor: pointer;\n\t\t\t\ttext-decoration: underline;\n\t\t\t}\n\t\t}\n\t}\n\n\t&[data-oembed-url*="open.spotify.com"] {\n\t\tmax-width: 300px;\n\t\tmax-height: 380px;\n\t}\n\n\t&[data-oembed-url*="google.com/maps"] .ck-media__placeholder__icon,\n\t&[data-oembed-url*="goo.gl/maps"] .ck-media__placeholder__icon,\n\t&[data-oembed-url*="maps.google.com"] .ck-media__placeholder__icon,\n\t&[data-oembed-url*="maps.app.goo.gl"] .ck-media__placeholder__icon {\n\t\tbackground-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNTAuMzc4IiBoZWlnaHQ9IjI1NC4xNjciIHZpZXdCb3g9IjAgMCA2Ni4yNDYgNjcuMjQ4Ij48ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMTcyLjUzMSAtMjE4LjQ1NSkgc2NhbGUoLjk4MDEyKSI+PHJlY3Qgcnk9IjUuMjM4IiByeD0iNS4yMzgiIHk9IjIzMS4zOTkiIHg9IjE3Ni4wMzEiIGhlaWdodD0iNjAuMDk5IiB3aWR0aD0iNjAuMDk5IiBmaWxsPSIjMzRhNjY4IiBwYWludC1vcmRlcj0ibWFya2VycyBzdHJva2UgZmlsbCIvPjxwYXRoIGQ9Ik0yMDYuNDc3IDI2MC45bC0yOC45ODcgMjguOTg3YTUuMjE4IDUuMjE4IDAgMCAwIDMuNzggMS42MWg0OS42MjFjMS42OTQgMCAzLjE5LS43OTggNC4xNDYtMi4wMzd6IiBmaWxsPSIjNWM4OGM1Ii8+PHBhdGggZD0iTTIyNi43NDIgMjIyLjk4OGMtOS4yNjYgMC0xNi43NzcgNy4xNy0xNi43NzcgMTYuMDE0LjAwNyAyLjc2Mi42NjMgNS40NzQgMi4wOTMgNy44NzUuNDMuNzAzLjgzIDEuNDA4IDEuMTkgMi4xMDcuMzMzLjUwMi42NSAxLjAwNS45NSAxLjUwOC4zNDMuNDc3LjY3My45NTcuOTg4IDEuNDQgMS4zMSAxLjc2OSAyLjUgMy41MDIgMy42MzcgNS4xNjguNzkzIDEuMjc1IDEuNjgzIDIuNjQgMi40NjYgMy45OSAyLjM2MyA0LjA5NCA0LjAwNyA4LjA5MiA0LjYgMTMuOTE0di4wMTJjLjE4Mi40MTIuNTE2LjY2Ni44NzkuNjY3LjQwMy0uMDAxLjc2OC0uMzE0LjkzLS43OTkuNjAzLTUuNzU2IDIuMjM4LTkuNzI5IDQuNTg1LTEzLjc5NC43ODItMS4zNSAxLjY3My0yLjcxNSAyLjQ2NS0zLjk5IDEuMTM3LTEuNjY2IDIuMzI4LTMuNCAzLjYzOC01LjE2OS4zMTUtLjQ4Mi42NDUtLjk2Mi45ODgtMS40MzkuMy0uNTAzLjYxNy0xLjAwNi45NS0xLjUwOC4zNTktLjcuNzYtMS40MDQgMS4xOS0yLjEwNyAxLjQyNi0yLjQwMiAyLTUuMTE0IDIuMDA0LTcuODc1IDAtOC44NDQtNy41MTEtMTYuMDE0LTE2Ljc3Ni0xNi4wMTR6IiBmaWxsPSIjZGQ0YjNlIiBwYWludC1vcmRlcj0ibWFya2VycyBzdHJva2UgZmlsbCIvPjxlbGxpcHNlIHJ5PSI1LjU2NCIgcng9IjUuODI4IiBjeT0iMjM5LjAwMiIgY3g9IjIyNi43NDIiIGZpbGw9IiM4MDJkMjciIHBhaW50LW9yZGVyPSJtYXJrZXJzIHN0cm9rZSBmaWxsIi8+PHBhdGggZD0iTTE5MC4zMDEgMjM3LjI4M2MtNC42NyAwLTguNDU3IDMuODUzLTguNDU3IDguNjA2czMuNzg2IDguNjA3IDguNDU3IDguNjA3YzMuMDQzIDAgNC44MDYtLjk1OCA2LjMzNy0yLjUxNiAxLjUzLTEuNTU3IDIuMDg3LTMuOTEzIDIuMDg3LTYuMjkgMC0uMzYyLS4wMjMtLjcyMi0uMDY0LTEuMDc5aC04LjI1N3YzLjA0M2g0Ljg1Yy0uMTk3Ljc1OS0uNTMxIDEuNDUtMS4wNTggMS45ODYtLjk0Mi45NTgtMi4wMjggMS41NDgtMy45MDEgMS41NDgtMi44NzYgMC01LjIwOC0yLjM3Mi01LjIwOC01LjI5OSAwLTIuOTI2IDIuMzMyLTUuMjk5IDUuMjA4LTUuMjk5IDEuMzk5IDAgMi42MTguNDA3IDMuNTg0IDEuMjkzbDIuMzgxLTIuMzhjMC0uMDAyLS4wMDMtLjAwNC0uMDA0LS4wMDUtMS41ODgtMS41MjQtMy42Mi0yLjIxNS01Ljk1NS0yLjIxNXptNC40MyA1LjY2bC4wMDMuMDA2di0uMDAzeiIgZmlsbD0iI2ZmZiIgcGFpbnQtb3JkZXI9Im1hcmtlcnMgc3Ryb2tlIGZpbGwiLz48cGF0aCBkPSJNMjE1LjE4NCAyNTEuOTI5bC03Ljk4IDcuOTc5IDI4LjQ3NyAyOC40NzVjLjI4Ny0uNjQ5LjQ0OS0xLjM2Ni40NDktMi4xMjN2LTMxLjE2NWMtLjQ2OS42NzUtLjkzNCAxLjM0OS0xLjM4MiAyLjAwNS0uNzkyIDEuMjc1LTEuNjgyIDIuNjQtMi40NjUgMy45OS0yLjM0NyA0LjA2NS0zLjk4MiA4LjAzOC00LjU4NSAxMy43OTQtLjE2Mi40ODUtLjUyNy43OTgtLjkzLjc5OS0uMzYzLS4wMDEtLjY5Ny0uMjU1LS44NzktLjY2N3YtLjAxMmMtLjU5My01LjgyMi0yLjIzNy05LjgyLTQuNi0xMy45MTQtLjc4My0xLjM1LTEuNjczLTIuNzE1LTIuNDY2LTMuOTktMS4xMzctMS42NjYtMi4zMjctMy40LTMuNjM3LTUuMTY5bC0uMDAyLS4wMDN6IiBmaWxsPSIjYzNjM2MzIi8+PHBhdGggZD0iTTIxMi45ODMgMjQ4LjQ5NWwtMzYuOTUyIDM2Ljk1M3YuODEyYTUuMjI3IDUuMjI3IDAgMCAwIDUuMjM4IDUuMjM4aDEuMDE1bDM1LjY2Ni0zNS42NjZhMTM2LjI3NSAxMzYuMjc1IDAgMCAwLTIuNzY0LTMuOSAzNy41NzUgMzcuNTc1IDAgMCAwLS45ODktMS40NGMtLjI5OS0uNTAzLS42MTYtMS4wMDYtLjk1LTEuNTA4LS4wODMtLjE2Mi0uMTc2LS4zMjYtLjI2NC0uNDg5eiIgZmlsbD0iI2ZkZGM0ZiIgcGFpbnQtb3JkZXI9Im1hcmtlcnMgc3Ryb2tlIGZpbGwiLz48cGF0aCBkPSJNMjExLjk5OCAyNjEuMDgzbC02LjE1MiA2LjE1MSAyNC4yNjQgMjQuMjY0aC43ODFhNS4yMjcgNS4yMjcgMCAwIDAgNS4yMzktNS4yMzh2LTEuMDQ1eiIgZmlsbD0iI2ZmZiIgcGFpbnQtb3JkZXI9Im1hcmtlcnMgc3Ryb2tlIGZpbGwiLz48L2c+PC9zdmc+);\n\t}\n\n\t&[data-oembed-url*="facebook.com"] .ck-media__placeholder {\n\t\tbackground: hsl(220, 46%, 48%);\n\n\t\t& .ck-media__placeholder__icon {\n\t\t\tbackground-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48c3ZnIHdpZHRoPSIxMDI0cHgiIGhlaWdodD0iMTAyNHB4IiB2aWV3Qm94PSIwIDAgMTAyNCAxMDI0IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPiAgICAgICAgPHRpdGxlPkZpbGwgMTwvdGl0bGU+ICAgIDxkZXNjPkNyZWF0ZWQgd2l0aCBTa2V0Y2guPC9kZXNjPiAgICA8ZGVmcz48L2RlZnM+ICAgIDxnIGlkPSJQYWdlLTEiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPiAgICAgICAgPGcgaWQ9ImZMb2dvX1doaXRlIiBmaWxsPSIjRkZGRkZFIj4gICAgICAgICAgICA8cGF0aCBkPSJNOTY3LjQ4NCwwIEw1Ni41MTcsMCBDMjUuMzA0LDAgMCwyNS4zMDQgMCw1Ni41MTcgTDAsOTY3LjQ4MyBDMCw5OTguNjk0IDI1LjI5NywxMDI0IDU2LjUyMiwxMDI0IEw1NDcsMTAyNCBMNTQ3LDYyOCBMNDE0LDYyOCBMNDE0LDQ3MyBMNTQ3LDQ3MyBMNTQ3LDM1OS4wMjkgQzU0NywyMjYuNzY3IDYyNy43NzMsMTU0Ljc0NyA3NDUuNzU2LDE1NC43NDcgQzgwMi4yNjksMTU0Ljc0NyA4NTAuODQyLDE1OC45NTUgODY1LDE2MC44MzYgTDg2NSwyOTkgTDc4My4zODQsMjk5LjAzNyBDNzE5LjM5MSwyOTkuMDM3IDcwNywzMjkuNTI5IDcwNywzNzQuMjczIEw3MDcsNDczIEw4NjAuNDg3LDQ3MyBMODQwLjUwMSw2MjggTDcwNyw2MjggTDcwNywxMDI0IEw5NjcuNDg0LDEwMjQgQzk5OC42OTcsMTAyNCAxMDI0LDk5OC42OTcgMTAyNCw5NjcuNDg0IEwxMDI0LDU2LjUxNSBDMTAyNCwyNS4zMDMgOTk4LjY5NywwIDk2Ny40ODQsMCIgaWQ9IkZpbGwtMSI+PC9wYXRoPiAgICAgICAgPC9nPiAgICA8L2c+PC9zdmc+);\n\t\t}\n\n\t\t& .ck-media__placeholder__url__text {\n\t\t\tcolor: hsl(220, 100%, 90%);\n\n\t\t\t&:hover {\n\t\t\t\tcolor: hsl(0, 0%, 100%);\n\t\t\t}\n\t\t}\n\t}\n\n\t&[data-oembed-url*="instagram.com"] .ck-media__placeholder {\n\t\tbackground: linear-gradient(-135deg,hsl(246, 100%, 39%),hsl(302, 100%, 36%),hsl(0, 100%, 48%));\n\n\t\t& .ck-media__placeholder__icon {\n\t\t\tbackground-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48c3ZnIHdpZHRoPSI1MDRweCIgaGVpZ2h0PSI1MDRweCIgdmlld0JveD0iMCAwIDUwNCA1MDQiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+ICAgICAgICA8dGl0bGU+Z2x5cGgtbG9nb19NYXkyMDE2PC90aXRsZT4gICAgPGRlc2M+Q3JlYXRlZCB3aXRoIFNrZXRjaC48L2Rlc2M+ICAgIDxkZWZzPiAgICAgICAgPHBvbHlnb24gaWQ9InBhdGgtMSIgcG9pbnRzPSIwIDAuMTU5IDUwMy44NDEgMC4xNTkgNTAzLjg0MSA1MDMuOTQgMCA1MDMuOTQiPjwvcG9seWdvbj4gICAgPC9kZWZzPiAgICA8ZyBpZD0iZ2x5cGgtbG9nb19NYXkyMDE2IiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4gICAgICAgIDxnIGlkPSJHcm91cC0zIj4gICAgICAgICAgICA8bWFzayBpZD0ibWFzay0yIiBmaWxsPSJ3aGl0ZSI+ICAgICAgICAgICAgICAgIDx1c2UgeGxpbms6aHJlZj0iI3BhdGgtMSI+PC91c2U+ICAgICAgICAgICAgPC9tYXNrPiAgICAgICAgICAgIDxnIGlkPSJDbGlwLTIiPjwvZz4gICAgICAgICAgICA8cGF0aCBkPSJNMjUxLjkyMSwwLjE1OSBDMTgzLjUwMywwLjE1OSAxNzQuOTI0LDAuNDQ5IDE0OC4wNTQsMS42NzUgQzEyMS4yNCwyLjg5OCAxMDIuOTI3LDcuMTU3IDg2LjkwMywxMy4zODUgQzcwLjMzNywxOS44MjIgNTYuMjg4LDI4LjQzNiA0Mi4yODIsNDIuNDQxIEMyOC4yNzcsNTYuNDQ3IDE5LjY2Myw3MC40OTYgMTMuMjI2LDg3LjA2MiBDNi45OTgsMTAzLjA4NiAyLjczOSwxMjEuMzk5IDEuNTE2LDE0OC4yMTMgQzAuMjksMTc1LjA4MyAwLDE4My42NjIgMCwyNTIuMDggQzAsMzIwLjQ5NyAwLjI5LDMyOS4wNzYgMS41MTYsMzU1Ljk0NiBDMi43MzksMzgyLjc2IDYuOTk4LDQwMS4wNzMgMTMuMjI2LDQxNy4wOTcgQzE5LjY2Myw0MzMuNjYzIDI4LjI3Nyw0NDcuNzEyIDQyLjI4Miw0NjEuNzE4IEM1Ni4yODgsNDc1LjcyMyA3MC4zMzcsNDg0LjMzNyA4Ni45MDMsNDkwLjc3NSBDMTAyLjkyNyw0OTcuMDAyIDEyMS4yNCw1MDEuMjYxIDE0OC4wNTQsNTAyLjQ4NCBDMTc0LjkyNCw1MDMuNzEgMTgzLjUwMyw1MDQgMjUxLjkyMSw1MDQgQzMyMC4zMzgsNTA0IDMyOC45MTcsNTAzLjcxIDM1NS43ODcsNTAyLjQ4NCBDMzgyLjYwMSw1MDEuMjYxIDQwMC45MTQsNDk3LjAwMiA0MTYuOTM4LDQ5MC43NzUgQzQzMy41MDQsNDg0LjMzNyA0NDcuNTUzLDQ3NS43MjMgNDYxLjU1OSw0NjEuNzE4IEM0NzUuNTY0LDQ0Ny43MTIgNDg0LjE3OCw0MzMuNjYzIDQ5MC42MTYsNDE3LjA5NyBDNDk2Ljg0Myw0MDEuMDczIDUwMS4xMDIsMzgyLjc2IDUwMi4zMjUsMzU1Ljk0NiBDNTAzLjU1MSwzMjkuMDc2IDUwMy44NDEsMzIwLjQ5NyA1MDMuODQxLDI1Mi4wOCBDNTAzLjg0MSwxODMuNjYyIDUwMy41NTEsMTc1LjA4MyA1MDIuMzI1LDE0OC4yMTMgQzUwMS4xMDIsMTIxLjM5OSA0OTYuODQzLDEwMy4wODYgNDkwLjYxNiw4Ny4wNjIgQzQ4NC4xNzgsNzAuNDk2IDQ3NS41NjQsNTYuNDQ3IDQ2MS41NTksNDIuNDQxIEM0NDcuNTUzLDI4LjQzNiA0MzMuNTA0LDE5LjgyMiA0MTYuOTM4LDEzLjM4NSBDNDAwLjkxNCw3LjE1NyAzODIuNjAxLDIuODk4IDM1NS43ODcsMS42NzUgQzMyOC45MTcsMC40NDkgMzIwLjMzOCwwLjE1OSAyNTEuOTIxLDAuMTU5IFogTTI1MS45MjEsNDUuNTUgQzMxOS4xODYsNDUuNTUgMzI3LjE1NCw0NS44MDcgMzUzLjcxOCw0Ny4wMTkgQzM3OC4yOCw0OC4xMzkgMzkxLjYxOSw1Mi4yNDMgNDAwLjQ5Niw1NS42OTMgQzQxMi4yNTUsNjAuMjYzIDQyMC42NDcsNjUuNzIyIDQyOS40NjIsNzQuNTM4IEM0MzguMjc4LDgzLjM1MyA0NDMuNzM3LDkxLjc0NSA0NDguMzA3LDEwMy41MDQgQzQ1MS43NTcsMTEyLjM4MSA0NTUuODYxLDEyNS43MiA0NTYuOTgxLDE1MC4yODIgQzQ1OC4xOTMsMTc2Ljg0NiA0NTguNDUsMTg0LjgxNCA0NTguNDUsMjUyLjA4IEM0NTguNDUsMzE5LjM0NSA0NTguMTkzLDMyNy4zMTMgNDU2Ljk4MSwzNTMuODc3IEM0NTUuODYxLDM3OC40MzkgNDUxLjc1NywzOTEuNzc4IDQ0OC4zMDcsNDAwLjY1NSBDNDQzLjczNyw0MTIuNDE0IDQzOC4yNzgsNDIwLjgwNiA0MjkuNDYyLDQyOS42MjEgQzQyMC42NDcsNDM4LjQzNyA0MTIuMjU1LDQ0My44OTYgNDAwLjQ5Niw0NDguNDY2IEMzOTEuNjE5LDQ1MS45MTYgMzc4LjI4LDQ1Ni4wMiAzNTMuNzE4LDQ1Ny4xNCBDMzI3LjE1OCw0NTguMzUyIDMxOS4xOTEsNDU4LjYwOSAyNTEuOTIxLDQ1OC42MDkgQzE4NC42NSw0NTguNjA5IDE3Ni42ODQsNDU4LjM1MiAxNTAuMTIzLDQ1Ny4xNCBDMTI1LjU2MSw0NTYuMDIgMTEyLjIyMiw0NTEuOTE2IDEwMy4zNDUsNDQ4LjQ2NiBDOTEuNTg2LDQ0My44OTYgODMuMTk0LDQzOC40MzcgNzQuMzc5LDQyOS42MjEgQzY1LjU2NCw0MjAuODA2IDYwLjEwNCw0MTIuNDE0IDU1LjUzNCw0MDAuNjU1IEM1Mi4wODQsMzkxLjc3OCA0Ny45OCwzNzguNDM5IDQ2Ljg2LDM1My44NzcgQzQ1LjY0OCwzMjcuMzEzIDQ1LjM5MSwzMTkuMzQ1IDQ1LjM5MSwyNTIuMDggQzQ1LjM5MSwxODQuODE0IDQ1LjY0OCwxNzYuODQ2IDQ2Ljg2LDE1MC4yODIgQzQ3Ljk4LDEyNS43MiA1Mi4wODQsMTEyLjM4MSA1NS41MzQsMTAzLjUwNCBDNjAuMTA0LDkxLjc0NSA2NS41NjMsODMuMzUzIDc0LjM3OSw3NC41MzggQzgzLjE5NCw2NS43MjIgOTEuNTg2LDYwLjI2MyAxMDMuMzQ1LDU1LjY5MyBDMTEyLjIyMiw1Mi4yNDMgMTI1LjU2MSw0OC4xMzkgMTUwLjEyMyw0Ny4wMTkgQzE3Ni42ODcsNDUuODA3IDE4NC42NTUsNDUuNTUgMjUxLjkyMSw0NS41NSBaIiBpZD0iRmlsbC0xIiBmaWxsPSIjRkZGRkZGIiBtYXNrPSJ1cmwoI21hc2stMikiPjwvcGF0aD4gICAgICAgIDwvZz4gICAgICAgIDxwYXRoIGQ9Ik0yNTEuOTIxLDMzNi4wNTMgQzIwNS41NDMsMzM2LjA1MyAxNjcuOTQ3LDI5OC40NTcgMTY3Ljk0NywyNTIuMDggQzE2Ny45NDcsMjA1LjcwMiAyMDUuNTQzLDE2OC4xMDYgMjUxLjkyMSwxNjguMTA2IEMyOTguMjk4LDE2OC4xMDYgMzM1Ljg5NCwyMDUuNzAyIDMzNS44OTQsMjUyLjA4IEMzMzUuODk0LDI5OC40NTcgMjk4LjI5OCwzMzYuMDUzIDI1MS45MjEsMzM2LjA1MyBaIE0yNTEuOTIxLDEyMi43MTUgQzE4MC40NzQsMTIyLjcxNSAxMjIuNTU2LDE4MC42MzMgMTIyLjU1NiwyNTIuMDggQzEyMi41NTYsMzIzLjUyNiAxODAuNDc0LDM4MS40NDQgMjUxLjkyMSwzODEuNDQ0IEMzMjMuMzY3LDM4MS40NDQgMzgxLjI4NSwzMjMuNTI2IDM4MS4yODUsMjUyLjA4IEMzODEuMjg1LDE4MC42MzMgMzIzLjM2NywxMjIuNzE1IDI1MS45MjEsMTIyLjcxNSBaIiBpZD0iRmlsbC00IiBmaWxsPSIjRkZGRkZGIj48L3BhdGg+ICAgICAgICA8cGF0aCBkPSJNNDE2LjYyNywxMTcuNjA0IEM0MTYuNjI3LDEzNC4zIDQwMy4wOTIsMTQ3LjgzNCAzODYuMzk2LDE0Ny44MzQgQzM2OS43MDEsMTQ3LjgzNCAzNTYuMTY2LDEzNC4zIDM1Ni4xNjYsMTE3LjYwNCBDMzU2LjE2NiwxMDAuOTA4IDM2OS43MDEsODcuMzczIDM4Ni4zOTYsODcuMzczIEM0MDMuMDkyLDg3LjM3MyA0MTYuNjI3LDEwMC45MDggNDE2LjYyNywxMTcuNjA0IiBpZD0iRmlsbC01IiBmaWxsPSIjRkZGRkZGIj48L3BhdGg+ICAgIDwvZz48L3N2Zz4=);\n\t\t}\n\n\t\t/* stylelint-disable-next-line no-descending-specificity */\n\t\t& .ck-media__placeholder__url__text {\n\t\t\tcolor: hsl(302, 100%, 94%);\n\n\t\t\t&:hover {\n\t\t\t\tcolor: hsl(0, 0%, 100%);\n\t\t\t}\n\t\t}\n\t}\n\n\t&[data-oembed-url*="twitter.com"] .ck.ck-media__placeholder {\n\t\t/* Use gradient to contrast with focused widget (ckeditor/ckeditor5-media-embed#22). */\n\t\tbackground: linear-gradient( to right, hsl(201, 85%, 70%), hsl(201, 85%, 35%) );\n\n\t\t& .ck-media__placeholder__icon {\n\t\t\tbackground-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48c3ZnIHZlcnNpb249IjEuMSIgaWQ9IldoaXRlIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIgdmlld0JveD0iMCAwIDQwMCA0MDAiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDQwMCA0MDA7IiB4bWw6c3BhY2U9InByZXNlcnZlIj48c3R5bGUgdHlwZT0idGV4dC9jc3MiPi5zdDB7ZmlsbDojRkZGRkZGO308L3N0eWxlPjxwYXRoIGNsYXNzPSJzdDAiIGQ9Ik00MDAsMjAwYzAsMTEwLjUtODkuNSwyMDAtMjAwLDIwMFMwLDMxMC41LDAsMjAwUzg5LjUsMCwyMDAsMFM0MDAsODkuNSw0MDAsMjAweiBNMTYzLjQsMzA1LjVjODguNywwLDEzNy4yLTczLjUsMTM3LjItMTM3LjJjMC0yLjEsMC00LjItMC4xLTYuMmM5LjQtNi44LDE3LjYtMTUuMywyNC4xLTI1Yy04LjYsMy44LTE3LjksNi40LTI3LjcsNy42YzEwLTYsMTcuNi0xNS40LDIxLjItMjYuN2MtOS4zLDUuNS0xOS42LDkuNS0zMC42LDExLjdjLTguOC05LjQtMjEuMy0xNS4yLTM1LjItMTUuMmMtMjYuNiwwLTQ4LjIsMjEuNi00OC4yLDQ4LjJjMCwzLjgsMC40LDcuNSwxLjMsMTFjLTQwLjEtMi03NS42LTIxLjItOTkuNC01MC40Yy00LjEsNy4xLTYuNSwxNS40LTYuNSwyNC4yYzAsMTYuNyw4LjUsMzEuNSwyMS41LDQwLjFjLTcuOS0wLjItMTUuMy0yLjQtMjEuOC02YzAsMC4yLDAsMC40LDAsMC42YzAsMjMuNCwxNi42LDQyLjgsMzguNyw0Ny4zYy00LDEuMS04LjMsMS43LTEyLjcsMS43Yy0zLjEsMC02LjEtMC4zLTkuMS0wLjljNi4xLDE5LjIsMjMuOSwzMy4xLDQ1LDMzLjVjLTE2LjUsMTIuOS0zNy4zLDIwLjYtNTkuOSwyMC42Yy0zLjksMC03LjctMC4yLTExLjUtMC43QzExMC44LDI5Ny41LDEzNi4yLDMwNS41LDE2My40LDMwNS41Ii8+PC9zdmc+);\n\t\t}\n\n\t\t& .ck-media__placeholder__url__text {\n\t\t\tcolor: hsl(201, 100%, 86%);\n\n\t\t\t&:hover {\n\t\t\t\tcolor: hsl(0, 0%, 100%);\n\t\t\t}\n\t\t}\n\t}\n}\n'],sourceRoot:""}]);const a=s},5651:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var o=n(9372),i=n.n(o),r=n(935),s=n.n(r)()(i());s.push([t.id,".ck.ck-media-form{align-items:flex-start;display:flex;flex-direction:row;flex-wrap:nowrap}.ck.ck-media-form .ck-labeled-field-view{display:inline-block}.ck.ck-media-form .ck-label{display:none}@media screen and (max-width:600px){.ck.ck-media-form{flex-wrap:wrap}.ck.ck-media-form .ck-labeled-field-view{flex-basis:100%}.ck.ck-media-form .ck-button{flex-basis:50%}}","",{version:3,sources:["webpack://./../ckeditor5-media-embed/theme/mediaform.css","webpack://./../ckeditor5-ui/theme/mixins/_rwd.css"],names:[],mappings:"AAOA,kBAEC,sBAAuB,CADvB,YAAa,CAEb,kBAAmB,CACnB,gBAqBD,CAnBC,yCACC,oBACD,CAEA,4BACC,YACD,CCbA,oCDCD,kBAeE,cAUF,CARE,yCACC,eACD,CAEA,6BACC,cACD,CCtBD",sourcesContent:['/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_rwd.css";\n\n.ck.ck-media-form {\n\tdisplay: flex;\n\talign-items: flex-start;\n\tflex-direction: row;\n\tflex-wrap: nowrap;\n\n\t& .ck-labeled-field-view {\n\t\tdisplay: inline-block;\n\t}\n\n\t& .ck-label {\n\t\tdisplay: none;\n\t}\n\n\t@mixin ck-media-phone {\n\t\tflex-wrap: wrap;\n\n\t\t& .ck-labeled-field-view {\n\t\t\tflex-basis: 100%;\n\t\t}\n\n\t\t& .ck-button {\n\t\t\tflex-basis: 50%;\n\t\t}\n\t}\n}\n',"/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@define-mixin ck-media-phone {\n\t@media screen and (max-width: 600px) {\n\t\t@mixin-content;\n\t}\n}\n"],sourceRoot:""}]);const a=s},5506:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var o=n(9372),i=n.n(o),r=n(935),s=n.n(r)()(i());s.push([t.id,".ck.ck-input-color{display:flex;flex-direction:row-reverse;width:100%}.ck.ck-input-color>input.ck.ck-input-text{flex-grow:1;min-width:auto}.ck.ck-input-color>div.ck.ck-dropdown{min-width:auto}.ck.ck-input-color>div.ck.ck-dropdown>.ck-input-color__button .ck-dropdown__arrow{display:none}.ck.ck-input-color .ck.ck-input-color__button{display:flex}.ck.ck-input-color .ck.ck-input-color__button .ck.ck-input-color__button__preview{overflow:hidden;position:relative}.ck.ck-input-color .ck.ck-input-color__button .ck.ck-input-color__button__preview>.ck.ck-input-color__button__preview__no-color-indicator{display:block;position:absolute}[dir=ltr] .ck.ck-input-color>.ck.ck-input-text{border-bottom-right-radius:0;border-top-right-radius:0}[dir=rtl] .ck.ck-input-color>.ck.ck-input-text{border-bottom-left-radius:0;border-top-left-radius:0}.ck.ck-input-color>.ck.ck-input-text:focus{z-index:0}.ck.ck-input-color>.ck.ck-dropdown>.ck.ck-button.ck-input-color__button{padding:0}[dir=ltr] .ck.ck-input-color>.ck.ck-dropdown>.ck.ck-button.ck-input-color__button{border-bottom-left-radius:0;border-top-left-radius:0}[dir=ltr] .ck.ck-input-color>.ck.ck-dropdown>.ck.ck-button.ck-input-color__button:not(:focus){border-left:1px solid transparent}[dir=rtl] .ck.ck-input-color>.ck.ck-dropdown>.ck.ck-button.ck-input-color__button{border-bottom-right-radius:0;border-top-right-radius:0}[dir=rtl] .ck.ck-input-color>.ck.ck-dropdown>.ck.ck-button.ck-input-color__button:not(:focus){border-right:1px solid transparent}.ck.ck-input-color>.ck.ck-dropdown>.ck.ck-button.ck-input-color__button.ck-disabled{background:var(--ck-color-input-disabled-background)}.ck.ck-input-color>.ck.ck-dropdown>.ck.ck-button.ck-input-color__button>.ck.ck-input-color__button__preview{border-radius:0}.ck-rounded-corners .ck.ck-input-color>.ck.ck-dropdown>.ck.ck-button.ck-input-color__button>.ck.ck-input-color__button__preview,.ck.ck-input-color>.ck.ck-dropdown>.ck.ck-button.ck-input-color__button>.ck.ck-input-color__button__preview.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck.ck-input-color>.ck.ck-dropdown>.ck.ck-button.ck-input-color__button>.ck.ck-input-color__button__preview{border:1px solid var(--ck-color-input-border);height:20px;width:20px}.ck.ck-input-color>.ck.ck-dropdown>.ck.ck-button.ck-input-color__button>.ck.ck-input-color__button__preview>.ck.ck-input-color__button__preview__no-color-indicator{background:red;border-radius:2px;height:150%;left:50%;top:-30%;transform:rotate(45deg);transform-origin:50%;width:8%}.ck.ck-input-color .ck.ck-input-color__remove-color{border-bottom-left-radius:0;border-bottom-right-radius:0;padding:calc(var(--ck-spacing-standard)/2) var(--ck-spacing-standard);width:100%}.ck.ck-input-color .ck.ck-input-color__remove-color:not(:focus){border-bottom:1px solid var(--ck-color-input-border)}[dir=ltr] .ck.ck-input-color .ck.ck-input-color__remove-color{border-top-right-radius:0}[dir=rtl] .ck.ck-input-color .ck.ck-input-color__remove-color{border-top-left-radius:0}.ck.ck-input-color .ck.ck-input-color__remove-color .ck.ck-icon{margin-right:var(--ck-spacing-standard)}[dir=rtl] .ck.ck-input-color .ck.ck-input-color__remove-color .ck.ck-icon{margin-left:var(--ck-spacing-standard);margin-right:0}","",{version:3,sources:["webpack://./../ckeditor5-table/theme/colorinput.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-table/colorinput.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_rounded.css"],names:[],mappings:"AAKA,mBAEC,YAAa,CACb,0BAA2B,CAF3B,UAgCD,CA5BC,0CAEC,WAAY,CADZ,cAED,CAEA,sCACC,cAMD,CAHC,kFACC,YACD,CAGD,8CAEC,YAWD,CATC,kFAEC,eAAgB,CADhB,iBAOD,CAJC,0IAEC,aAAc,CADd,iBAED,CC1BF,+CAGE,4BAA6B,CAD7B,yBAcF,CAhBA,+CAQE,2BAA4B,CAD5B,wBASF,CAHC,2CACC,SACD,CAIA,wEACC,SA0CD,CA3CA,kFAKE,2BAA4B,CAD5B,wBAuCF,CApCE,8FACC,iCACD,CATF,kFAcE,4BAA6B,CAD7B,yBA8BF,CA3BE,8FACC,kCACD,CAGD,oFACC,oDACD,CAEA,4GC1CF,eD2DE,CAjBA,+PCtCD,qCDuDC,CAjBA,4GAKC,6CAA8C,CAD9C,WAAY,CADZ,UAcD,CAVC,oKAKC,cAA6B,CAC7B,iBAAkB,CAHlB,WAAY,CADZ,QAAS,CADT,QAAS,CAMT,uBAAwB,CACxB,oBAAqB,CAJrB,QAKD,CAKH,oDAIC,2BAA4B,CAC5B,4BAA6B,CAH7B,qEAAwE,CADxE,UA0BD,CApBC,gEACC,oDACD,CATD,8DAYE,yBAeF,CA3BA,8DAgBE,wBAWF,CARC,gEACC,uCAMD,CAPA,0EAKE,sCAAuC,CADvC,cAGF",sourcesContent:["/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-input-color {\n\twidth: 100%;\n\tdisplay: flex;\n\tflex-direction: row-reverse;\n\n\t& > input.ck.ck-input-text {\n\t\tmin-width: auto;\n\t\tflex-grow: 1;\n\t}\n\n\t& > div.ck.ck-dropdown {\n\t\tmin-width: auto;\n\n\t\t/* This dropdown has no arrow but a color preview instead. */\n\t\t& > .ck-input-color__button .ck-dropdown__arrow {\n\t\t\tdisplay: none;\n\t\t}\n\t}\n\n\t& .ck.ck-input-color__button {\n\t\t/* Resolving issue with misaligned buttons on Safari (see #10589) */\n\t\tdisplay: flex;\n\n\t\t& .ck.ck-input-color__button__preview {\n\t\t\tposition: relative;\n\t\t\toverflow: hidden;\n\n\t\t\t& > .ck.ck-input-color__button__preview__no-color-indicator {\n\t\t\t\tposition: absolute;\n\t\t\t\tdisplay: block;\n\t\t\t}\n\t\t}\n\t}\n}\n",'/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";\n@import "../mixins/_rounded.css";\n\n.ck.ck-input-color {\n\t& > .ck.ck-input-text {\n\t\t@mixin ck-dir ltr {\n\t\t\tborder-top-right-radius: 0;\n\t\t\tborder-bottom-right-radius: 0;\n\t\t}\n\n\t\t@mixin ck-dir rtl {\n\t\t\tborder-top-left-radius: 0;\n\t\t\tborder-bottom-left-radius: 0;\n\t\t}\n\n\t\t/* Make sure the focused input is always on top of the dropdown button so its\n\t\t outline and border are never cropped (also when the input is read-only). */\n\t\t&:focus {\n\t\t\tz-index: 0;\n\t\t}\n\t}\n\n\t& > .ck.ck-dropdown {\n\t\t& > .ck.ck-button.ck-input-color__button {\n\t\t\tpadding: 0;\n\n\t\t\t@mixin ck-dir ltr {\n\t\t\t\tborder-top-left-radius: 0;\n\t\t\t\tborder-bottom-left-radius: 0;\n\n\t\t\t\t&:not(:focus) {\n\t\t\t\t\tborder-left: 1px solid transparent;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t@mixin ck-dir rtl {\n\t\t\t\tborder-top-right-radius: 0;\n\t\t\t\tborder-bottom-right-radius: 0;\n\n\t\t\t\t&:not(:focus) {\n\t\t\t\t\tborder-right: 1px solid transparent;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t&.ck-disabled {\n\t\t\t\tbackground: var(--ck-color-input-disabled-background);\n\t\t\t}\n\n\t\t\t& > .ck.ck-input-color__button__preview {\n\t\t\t\t@mixin ck-rounded-corners;\n\n\t\t\t\twidth: 20px;\n\t\t\t\theight: 20px;\n\t\t\t\tborder: 1px solid var(--ck-color-input-border);\n\n\t\t\t\t& > .ck.ck-input-color__button__preview__no-color-indicator {\n\t\t\t\t\ttop: -30%;\n\t\t\t\t\tleft: 50%;\n\t\t\t\t\theight: 150%;\n\t\t\t\t\twidth: 8%;\n\t\t\t\t\tbackground: hsl(0, 100%, 50%);\n\t\t\t\t\tborder-radius: 2px;\n\t\t\t\t\ttransform: rotate(45deg);\n\t\t\t\t\ttransform-origin: 50%;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t& .ck.ck-input-color__remove-color {\n\t\twidth: 100%;\n\t\tpadding: calc(var(--ck-spacing-standard) / 2) var(--ck-spacing-standard);\n\n\t\tborder-bottom-left-radius: 0;\n\t\tborder-bottom-right-radius: 0;\n\n\t\t&:not(:focus) {\n\t\t\tborder-bottom: 1px solid var(--ck-color-input-border);\n\t\t}\n\n\t\t@mixin ck-dir ltr {\n\t\t\tborder-top-right-radius: 0;\n\t\t}\n\n\t\t@mixin ck-dir rtl {\n\t\t\tborder-top-left-radius: 0;\n\t\t}\n\n\t\t& .ck.ck-icon {\n\t\t\tmargin-right: var(--ck-spacing-standard);\n\n\t\t\t@mixin ck-dir rtl {\n\t\t\t\tmargin-right: 0;\n\t\t\t\tmargin-left: var(--ck-spacing-standard);\n\t\t\t}\n\t\t}\n\t}\n}\n',"/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Implements rounded corner interface for .ck-rounded-corners class.\n *\n * @see $ck-border-radius\n */\n@define-mixin ck-rounded-corners {\n\tborder-radius: 0;\n\n\t@nest .ck-rounded-corners &,\n\t&.ck-rounded-corners {\n\t\tborder-radius: var(--ck-border-radius);\n\t\t@mixin-content;\n\t}\n}\n"],sourceRoot:""}]);const a=s},4043:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var o=n(9372),i=n.n(o),r=n(935),s=n.n(r)()(i());s.push([t.id,".ck.ck-form{padding:0 0 var(--ck-spacing-large)}.ck.ck-form:focus{outline:none}.ck.ck-form .ck.ck-input-text{min-width:100%;width:0}.ck.ck-form .ck.ck-dropdown{min-width:100%}.ck.ck-form .ck.ck-dropdown .ck-dropdown__button:not(:focus){border:1px solid var(--ck-color-base-border)}.ck.ck-form .ck.ck-dropdown .ck-dropdown__button .ck-button__label{width:100%}","",{version:3,sources:["webpack://./../ckeditor5-theme-lark/theme/ckeditor5-table/form.css"],names:[],mappings:"AAKA,YACC,mCAyBD,CAvBC,kBAEC,YACD,CAEA,8BACC,cAAe,CACf,OACD,CAEA,4BACC,cAWD,CARE,6DACC,4CACD,CAEA,mEACC,UACD",sourcesContent:["/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-form {\n\tpadding: 0 0 var(--ck-spacing-large);\n\n\t&:focus {\n\t\t/* See: https://github.com/ckeditor/ckeditor5/issues/4773 */\n\t\toutline: none;\n\t}\n\n\t& .ck.ck-input-text {\n\t\tmin-width: 100%;\n\t\twidth: 0;\n\t}\n\n\t& .ck.ck-dropdown {\n\t\tmin-width: 100%;\n\n\t\t& .ck-dropdown__button {\n\t\t\t&:not(:focus) {\n\t\t\t\tborder: 1px solid var(--ck-color-base-border);\n\t\t\t}\n\n\t\t\t& .ck-button__label {\n\t\t\t\twidth: 100%;\n\t\t\t}\n\t\t}\n\t}\n}\n"],sourceRoot:""}]);const a=s},2655:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var o=n(9372),i=n.n(o),r=n(935),s=n.n(r)()(i());s.push([t.id,".ck.ck-form__row{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between}.ck.ck-form__row>:not(.ck-label){flex-grow:1}.ck.ck-form__row.ck-table-form__action-row .ck-button-cancel,.ck.ck-form__row.ck-table-form__action-row .ck-button-save{justify-content:center}.ck.ck-form__row{padding:var(--ck-spacing-standard) var(--ck-spacing-large) 0}[dir=ltr] .ck.ck-form__row>:not(.ck-label)+*{margin-left:var(--ck-spacing-large)}[dir=rtl] .ck.ck-form__row>:not(.ck-label)+*{margin-right:var(--ck-spacing-large)}.ck.ck-form__row>.ck-label{min-width:100%;width:100%}.ck.ck-form__row.ck-table-form__action-row{margin-top:var(--ck-spacing-large)}.ck.ck-form__row.ck-table-form__action-row .ck-button .ck-button__label{color:var(--ck-color-text)}","",{version:3,sources:["webpack://./../ckeditor5-table/theme/formrow.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-table/formrow.css"],names:[],mappings:"AAKA,iBACC,YAAa,CACb,kBAAmB,CACnB,gBAAiB,CACjB,6BAaD,CAVC,iCACC,WACD,CAGC,wHAEC,sBACD,CCbF,iBACC,4DA2BD,CAvBE,6CAEE,mCAMF,CARA,6CAME,oCAEF,CAGD,2BAEC,cAAe,CADf,UAED,CAEA,2CACC,kCAKD,CAHC,wEACC,0BACD",sourcesContent:["/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-form__row {\n\tdisplay: flex;\n\tflex-direction: row;\n\tflex-wrap: nowrap;\n\tjustify-content: space-between;\n\n\t/* Ignore labels that work as fieldset legends */\n\t& > *:not(.ck-label) {\n\t\tflex-grow: 1;\n\t}\n\n\t&.ck-table-form__action-row {\n\t\t& .ck-button-save,\n\t\t& .ck-button-cancel {\n\t\t\tjustify-content: center;\n\t\t}\n\t}\n}\n",'/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";\n\n.ck.ck-form__row {\n\tpadding: var(--ck-spacing-standard) var(--ck-spacing-large) 0;\n\n\t/* Ignore labels that work as fieldset legends */\n\t& > *:not(.ck-label) {\n\t\t& + * {\n\t\t\t@mixin ck-dir ltr {\n\t\t\t\tmargin-left: var(--ck-spacing-large);\n\t\t\t}\n\n\t\t\t@mixin ck-dir rtl {\n\t\t\t\tmargin-right: var(--ck-spacing-large);\n\t\t\t}\n\t\t}\n\t}\n\n\t& > .ck-label {\n\t\twidth: 100%;\n\t\tmin-width: 100%;\n\t}\n\n\t&.ck-table-form__action-row {\n\t\tmargin-top: var(--ck-spacing-large);\n\n\t\t& .ck-button .ck-button__label {\n\t\t\tcolor: var(--ck-color-text);\n\t\t}\n\t}\n}\n'],sourceRoot:""}]);const a=s},5032:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var o=n(9372),i=n.n(o),r=n(935),s=n.n(r)()(i());s.push([t.id,".ck .ck-insert-table-dropdown__grid{display:flex;flex-direction:row;flex-wrap:wrap}:root{--ck-insert-table-dropdown-padding:10px;--ck-insert-table-dropdown-box-height:11px;--ck-insert-table-dropdown-box-width:12px;--ck-insert-table-dropdown-box-margin:1px}.ck .ck-insert-table-dropdown__grid{padding:var(--ck-insert-table-dropdown-padding) var(--ck-insert-table-dropdown-padding) 0;width:calc(var(--ck-insert-table-dropdown-box-width)*10 + var(--ck-insert-table-dropdown-box-margin)*20 + var(--ck-insert-table-dropdown-padding)*2)}.ck .ck-insert-table-dropdown__label,.ck[dir=rtl] .ck-insert-table-dropdown__label{text-align:center}.ck .ck-insert-table-dropdown-grid-box{border:1px solid var(--ck-color-base-border);border-radius:1px;margin:var(--ck-insert-table-dropdown-box-margin);min-height:var(--ck-insert-table-dropdown-box-height);min-width:var(--ck-insert-table-dropdown-box-width);outline:none;transition:none}.ck .ck-insert-table-dropdown-grid-box:focus{box-shadow:none}.ck .ck-insert-table-dropdown-grid-box.ck-on{background:var(--ck-color-focus-outer-shadow);border-color:var(--ck-color-focus-border)}","",{version:3,sources:["webpack://./../ckeditor5-table/theme/inserttable.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-table/inserttable.css"],names:[],mappings:"AAKA,oCACC,YAAa,CACb,kBAAmB,CACnB,cACD,CCJA,MACC,uCAAwC,CACxC,0CAA2C,CAC3C,yCAA0C,CAC1C,yCACD,CAEA,oCAGC,yFAA0F,CAD1F,oJAED,CAEA,mFAEC,iBACD,CAEA,uCAIC,4CAA6C,CAC7C,iBAAkB,CAFlB,iDAAkD,CADlD,qDAAsD,CADtD,mDAAoD,CAKpD,YAAa,CACb,eAUD,CARC,6CACC,eACD,CAEA,6CAEC,6CAA8C,CAD9C,yCAED",sourcesContent:["/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck .ck-insert-table-dropdown__grid {\n\tdisplay: flex;\n\tflex-direction: row;\n\tflex-wrap: wrap;\n}\n","/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-insert-table-dropdown-padding: 10px;\n\t--ck-insert-table-dropdown-box-height: 11px;\n\t--ck-insert-table-dropdown-box-width: 12px;\n\t--ck-insert-table-dropdown-box-margin: 1px;\n}\n\n.ck .ck-insert-table-dropdown__grid {\n\t/* The width of a container should match 10 items in a row so there will be a 10x10 grid. */\n\twidth: calc(var(--ck-insert-table-dropdown-box-width) * 10 + var(--ck-insert-table-dropdown-box-margin) * 20 + var(--ck-insert-table-dropdown-padding) * 2);\n\tpadding: var(--ck-insert-table-dropdown-padding) var(--ck-insert-table-dropdown-padding) 0;\n}\n\n.ck .ck-insert-table-dropdown__label,\n.ck[dir=rtl] .ck-insert-table-dropdown__label {\n\ttext-align: center;\n}\n\n.ck .ck-insert-table-dropdown-grid-box {\n\tmin-width: var(--ck-insert-table-dropdown-box-width);\n\tmin-height: var(--ck-insert-table-dropdown-box-height);\n\tmargin: var(--ck-insert-table-dropdown-box-margin);\n\tborder: 1px solid var(--ck-color-base-border);\n\tborder-radius: 1px;\n\toutline: none;\n\ttransition: none;\n\n\t&:focus {\n\t\tbox-shadow: none;\n\t}\n\n\t&.ck-on {\n\t\tborder-color: var(--ck-color-focus-border);\n\t\tbackground: var(--ck-color-focus-outer-shadow);\n\t}\n}\n\n"],sourceRoot:""}]);const a=s},2329:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var o=n(9372),i=n.n(o),r=n(935),s=n.n(r)()(i());s.push([t.id,".ck-content .table{display:table;margin:.9em auto}.ck-content .table table{border:1px double #b3b3b3;border-collapse:collapse;border-spacing:0;height:100%;width:100%}.ck-content .table table td,.ck-content .table table th{border:1px solid #bfbfbf;min-width:2em;padding:.4em}.ck-content .table table th{background:rgba(0,0,0,.05);font-weight:700}.ck-content[dir=rtl] .table th{text-align:right}.ck-content[dir=ltr] .table th{text-align:left}.ck-editor__editable .ck-table-bogus-paragraph{display:inline-block;width:100%}","",{version:3,sources:["webpack://./../ckeditor5-table/theme/table.css"],names:[],mappings:"AAKA,mBAKC,aAAc,CADd,gBAiCD,CA9BC,yBAYC,yBAAkC,CAVlC,wBAAyB,CACzB,gBAAiB,CAKjB,WAAY,CADZ,UAsBD,CAfC,wDAQC,wBAAiC,CANjC,aAAc,CACd,YAMD,CAEA,4BAEC,0BAA+B,CAD/B,eAED,CAMF,+BACC,gBACD,CAEA,+BACC,eACD,CAEA,+CAKC,oBAAqB,CAMrB,UACD",sourcesContent:['/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck-content .table {\n\t/* Give the table widget some air and center it horizontally */\n\t/* The first value should be equal to --ck-spacing-large variable if used in the editor context\n\tto avoid the content jumping (See https://github.com/ckeditor/ckeditor5/issues/9825). */\n\tmargin: 0.9em auto;\n\tdisplay: table;\n\n\t& table {\n\t\t/* The table cells should have slight borders */\n\t\tborder-collapse: collapse;\n\t\tborder-spacing: 0;\n\n\t\t/* Table width and height are set on the parent
. Make sure the table inside stretches\n\t\tto the full dimensions of the container (https://github.com/ckeditor/ckeditor5/issues/6186). */\n\t\twidth: 100%;\n\t\theight: 100%;\n\n\t\t/* The outer border of the table should be slightly darker than the inner lines.\n\t\tAlso see https://github.com/ckeditor/ckeditor5-table/issues/50. */\n\t\tborder: 1px double hsl(0, 0%, 70%);\n\n\t\t& td,\n\t\t& th {\n\t\t\tmin-width: 2em;\n\t\t\tpadding: .4em;\n\n\t\t\t/* The border is inherited from .ck-editor__nested-editable styles, so theoretically it\'s not necessary here.\n\t\t\tHowever, the border is a content style, so it should use .ck-content (so it works outside the editor).\n\t\t\tHence, the duplication. See https://github.com/ckeditor/ckeditor5/issues/6314 */\n\t\t\tborder: 1px solid hsl(0, 0%, 75%);\n\t\t}\n\n\t\t& th {\n\t\t\tfont-weight: bold;\n\t\t\tbackground: hsla(0, 0%, 0%, 5%);\n\t\t}\n\t}\n}\n\n/* Text alignment of the table header should match the editor settings and override the native browser styling,\nwhen content is available outside the editor. See https://github.com/ckeditor/ckeditor5/issues/6638 */\n.ck-content[dir="rtl"] .table th {\n\ttext-align: right;\n}\n\n.ck-content[dir="ltr"] .table th {\n\ttext-align: left;\n}\n\n.ck-editor__editable .ck-table-bogus-paragraph {\n\t/*\n\t * Use display:inline-block to force Chrome/Safari to limit text mutations to this element.\n\t * See https://github.com/ckeditor/ckeditor5/issues/6062.\n\t */\n\tdisplay: inline-block;\n\n\t/*\n\t * Inline HTML elements nested in the span should always be dimensioned in relation to the whole cell width.\n\t * See https://github.com/ckeditor/ckeditor5/issues/9117.\n\t */\n\twidth: 100%;\n}\n'],sourceRoot:""}]);const a=s},4143:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var o=n(9372),i=n.n(o),r=n(935),s=n.n(r)()(i());s.push([t.id,":root{--ck-color-selector-caption-background:#f7f7f7;--ck-color-selector-caption-text:#333;--ck-color-selector-caption-highlighted-background:#fd0}.ck-content .table>figcaption{background-color:var(--ck-color-selector-caption-background);caption-side:top;color:var(--ck-color-selector-caption-text);display:table-caption;font-size:.75em;outline-offset:-1px;padding:.6em;text-align:center;word-break:break-word}.ck.ck-editor__editable .table>figcaption.table__caption_highlighted{animation:ck-table-caption-highlight .6s ease-out}.ck.ck-editor__editable .table>figcaption.ck-placeholder:before{overflow:hidden;padding-left:inherit;padding-right:inherit;text-overflow:ellipsis;white-space:nowrap}@keyframes ck-table-caption-highlight{0%{background-color:var(--ck-color-selector-caption-highlighted-background)}to{background-color:var(--ck-color-selector-caption-background)}}","",{version:3,sources:["webpack://./../ckeditor5-table/theme/tablecaption.css"],names:[],mappings:"AAKA,MACC,8CAAuD,CACvD,qCAAiD,CACjD,uDACD,CAGA,8BAMC,4DAA6D,CAJ7D,gBAAiB,CAGjB,2CAA4C,CAJ5C,qBAAsB,CAOtB,eAAgB,CAChB,mBAAoB,CAFpB,YAAa,CAHb,iBAAkB,CADlB,qBAOD,CAIC,qEACC,iDACD,CAEA,gEASC,eAAgB,CARhB,oBAAqB,CACrB,qBAAsB,CAQtB,sBAAuB,CAFvB,kBAGD,CAGD,sCACC,GACC,wEACD,CAEA,GACC,4DACD,CACD",sourcesContent:["/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-color-selector-caption-background: hsl(0, 0%, 97%);\n\t--ck-color-selector-caption-text: hsl(0, 0%, 20%);\n\t--ck-color-selector-caption-highlighted-background: hsl(52deg 100% 50%);\n}\n\n/* Content styles */\n.ck-content .table > figcaption {\n\tdisplay: table-caption;\n\tcaption-side: top;\n\tword-break: break-word;\n\ttext-align: center;\n\tcolor: var(--ck-color-selector-caption-text);\n\tbackground-color: var(--ck-color-selector-caption-background);\n\tpadding: .6em;\n\tfont-size: .75em;\n\toutline-offset: -1px;\n}\n\n/* Editing styles */\n.ck.ck-editor__editable .table > figcaption {\n\t&.table__caption_highlighted {\n\t\tanimation: ck-table-caption-highlight .6s ease-out;\n\t}\n\n\t&.ck-placeholder::before {\n\t\tpadding-left: inherit;\n\t\tpadding-right: inherit;\n\n\t\t/*\n\t\t * Make sure the table caption placeholder doesn't overflow the placeholder area.\n\t\t * See https://github.com/ckeditor/ckeditor5/issues/9162.\n\t\t */\n\t\twhite-space: nowrap;\n\t\toverflow: hidden;\n\t\ttext-overflow: ellipsis;\n\t}\n}\n\n@keyframes ck-table-caption-highlight {\n\t0% {\n\t\tbackground-color: var(--ck-color-selector-caption-highlighted-background);\n\t}\n\n\t100% {\n\t\tbackground-color: var(--ck-color-selector-caption-background);\n\t}\n}\n"],sourceRoot:""}]);const a=s},8986:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var o=n(9372),i=n.n(o),r=n(935),s=n.n(r)()(i());s.push([t.id,".ck.ck-table-cell-properties-form .ck-form__row.ck-table-cell-properties-form__alignment-row{flex-wrap:wrap}.ck.ck-table-cell-properties-form .ck-form__row.ck-table-cell-properties-form__alignment-row .ck.ck-toolbar:first-of-type{flex-grow:0.57}.ck.ck-table-cell-properties-form .ck-form__row.ck-table-cell-properties-form__alignment-row .ck.ck-toolbar:last-of-type{flex-grow:0.43}.ck.ck-table-cell-properties-form .ck-form__row.ck-table-cell-properties-form__alignment-row .ck.ck-toolbar .ck-button{flex-grow:1}.ck.ck-table-cell-properties-form{width:320px}.ck.ck-table-cell-properties-form .ck-form__row.ck-table-cell-properties-form__padding-row{align-self:flex-end;padding:0;width:25%}.ck.ck-table-cell-properties-form .ck-form__row.ck-table-cell-properties-form__alignment-row .ck.ck-toolbar{background:none;margin-top:var(--ck-spacing-standard)}","",{version:3,sources:["webpack://./../ckeditor5-table/theme/tablecellproperties.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-table/tablecellproperties.css"],names:[],mappings:"AAOE,6FACC,cAiBD,CAdE,0HAEC,cACD,CAEA,yHAEC,cACD,CAEA,uHACC,WACD,CClBJ,kCACC,WAkBD,CAfE,2FACC,mBAAoB,CACpB,SAAU,CACV,SACD,CAGC,4GACC,eAAgB,CAGhB,qCACD",sourcesContent:["/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-table-cell-properties-form {\n\t& .ck-form__row {\n\t\t&.ck-table-cell-properties-form__alignment-row {\n\t\t\tflex-wrap: wrap;\n\n\t\t\t& .ck.ck-toolbar {\n\t\t\t\t&:first-of-type {\n\t\t\t\t\t/* 4 buttons out of 7 (h-alignment + v-alignment) = 0.57 */\n\t\t\t\t\tflex-grow: 0.57;\n\t\t\t\t}\n\n\t\t\t\t&:last-of-type {\n\t\t\t\t\t/* 3 buttons out of 7 (h-alignment + v-alignment) = 0.43 */\n\t\t\t\t\tflex-grow: 0.43;\n\t\t\t\t}\n\n\t\t\t\t& .ck-button {\n\t\t\t\t\tflex-grow: 1;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}\n","/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-table-cell-properties-form {\n\twidth: 320px;\n\n\t& .ck-form__row {\n\t\t&.ck-table-cell-properties-form__padding-row {\n\t\t\talign-self: flex-end;\n\t\t\tpadding: 0;\n\t\t\twidth: 25%;\n\t\t}\n\n\t\t&.ck-table-cell-properties-form__alignment-row {\n\t\t\t& .ck.ck-toolbar {\n\t\t\t\tbackground: none;\n\n\t\t\t\t/* Compensate for missing input label that would push the margin (toolbar has no inputs). */\n\t\t\t\tmargin-top: var(--ck-spacing-standard);\n\t\t\t}\n\t\t}\n\t}\n}\n"],sourceRoot:""}]);const a=s},8795:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var o=n(9372),i=n.n(o),r=n(935),s=n.n(r)()(i());s.push([t.id,":root{--ck-color-selector-column-resizer-hover:var(--ck-color-base-active);--ck-table-column-resizer-width:7px;--ck-table-column-resizer-position-offset:calc(var(--ck-table-column-resizer-width)*-0.5 - 0.5px)}.ck-content .table .ck-table-resized{table-layout:fixed}.ck-content .table table{overflow:hidden}.ck-content .table td,.ck-content .table th{overflow-wrap:break-word;position:relative}.ck.ck-editor__editable .table .ck-table-column-resizer{bottom:0;cursor:col-resize;position:absolute;right:var(--ck-table-column-resizer-position-offset);top:0;user-select:none;width:var(--ck-table-column-resizer-width);z-index:var(--ck-z-default)}.ck.ck-editor__editable .table[draggable] .ck-table-column-resizer,.ck.ck-editor__editable.ck-column-resize_disabled .table .ck-table-column-resizer{display:none}.ck.ck-editor__editable .table .ck-table-column-resizer:hover,.ck.ck-editor__editable .table .ck-table-column-resizer__active{background-color:var(--ck-color-selector-column-resizer-hover);bottom:-999999px;opacity:.25;top:-999999px}.ck.ck-editor__editable[dir=rtl] .table .ck-table-column-resizer{left:var(--ck-table-column-resizer-position-offset);right:unset}","",{version:3,sources:["webpack://./../ckeditor5-table/theme/tablecolumnresize.css"],names:[],mappings:"AAKA,MACC,oEAAqE,CACrE,mCAAoC,CAIpC,iGACD,CAEA,qCACC,kBACD,CAEA,yBACC,eACD,CAEA,4CAIC,wBAAyB,CACzB,iBACD,CAEA,wDAGC,QAAS,CAGT,iBAAkB,CALlB,iBAAkB,CAGlB,oDAAqD,CAFrD,KAAM,CAKN,gBAAiB,CAFjB,0CAA2C,CAG3C,2BACD,CAQA,qJACC,YACD,CAEA,8HAEC,8DAA+D,CAO/D,gBAAiB,CANjB,WAAa,CAKb,aAED,CAEA,iEACC,mDAAoD,CACpD,WACD",sourcesContent:["/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-color-selector-column-resizer-hover: var(--ck-color-base-active);\n\t--ck-table-column-resizer-width: 7px;\n\n\t/* The offset used for absolute positioning of the resizer element, so that it is placed exactly above the cell border.\n\t The value is: minus half the width of the resizer decreased additionaly by the half the width of the border (0.5px). */\n\t--ck-table-column-resizer-position-offset: calc(var(--ck-table-column-resizer-width) * -0.5 - 0.5px);\n}\n\n.ck-content .table .ck-table-resized {\n\ttable-layout: fixed;\n}\n\n.ck-content .table table {\n\toverflow: hidden;\n}\n\n.ck-content .table td,\n.ck-content .table th {\n\t/* To prevent text overflowing beyond its cell when columns are resized by resize handler\n\t(https://github.com/ckeditor/ckeditor5/pull/14379#issuecomment-1589460978). */\n\toverflow-wrap: break-word;\n\tposition: relative;\n}\n\n.ck.ck-editor__editable .table .ck-table-column-resizer {\n\tposition: absolute;\n\ttop: 0;\n\tbottom: 0;\n\tright: var(--ck-table-column-resizer-position-offset);\n\twidth: var(--ck-table-column-resizer-width);\n\tcursor: col-resize;\n\tuser-select: none;\n\tz-index: var(--ck-z-default);\n}\n\n.ck.ck-editor__editable.ck-column-resize_disabled .table .ck-table-column-resizer {\n\tdisplay: none;\n}\n\n/* The resizer elements, which are extended to an extremely high height, break the drag & drop feature in Chrome. To make it work again,\n all resizers must be hidden while the table is dragged. */\n.ck.ck-editor__editable .table[draggable] .ck-table-column-resizer {\n\tdisplay: none;\n}\n\n.ck.ck-editor__editable .table .ck-table-column-resizer:hover,\n.ck.ck-editor__editable .table .ck-table-column-resizer__active {\n\tbackground-color: var(--ck-color-selector-column-resizer-hover);\n\topacity: 0.25;\n\t/* The resizer element resides in each cell so to occupy the entire height of the table, which is unknown from a CSS point of view,\n\t it is extended to an extremely high height. Even for screens with a very high pixel density, the resizer will fulfill its role as\n\t it should, i.e. for a screen of 476 ppi the total height of the resizer will take over 350 sheets of A4 format, which is totally\n\t unrealistic height for a single table. */\n\ttop: -999999px;\n\tbottom: -999999px;\n}\n\n.ck.ck-editor__editable[dir=rtl] .table .ck-table-column-resizer {\n\tleft: var(--ck-table-column-resizer-position-offset);\n\tright: unset;\n}\n"],sourceRoot:""}]);const a=s},8137:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var o=n(9372),i=n.n(o),r=n(935),s=n.n(r)()(i());s.push([t.id,":root{--ck-color-selector-focused-cell-background:rgba(158,201,250,.3)}.ck-widget.table td.ck-editor__nested-editable.ck-editor__nested-editable_focused,.ck-widget.table td.ck-editor__nested-editable:focus,.ck-widget.table th.ck-editor__nested-editable.ck-editor__nested-editable_focused,.ck-widget.table th.ck-editor__nested-editable:focus{background:var(--ck-color-selector-focused-cell-background);border-style:none;outline:1px solid var(--ck-color-focus-border);outline-offset:-1px}","",{version:3,sources:["webpack://./../ckeditor5-theme-lark/theme/ckeditor5-table/tableediting.css"],names:[],mappings:"AAKA,MACC,gEACD,CAKE,8QAGC,2DAA4D,CAK5D,iBAAkB,CAClB,8CAA+C,CAC/C,mBACD",sourcesContent:["/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-color-selector-focused-cell-background: hsla(212, 90%, 80%, .3);\n}\n\n.ck-widget.table {\n\t& td,\n\t& th {\n\t\t&.ck-editor__nested-editable.ck-editor__nested-editable_focused,\n\t\t&.ck-editor__nested-editable:focus {\n\t\t\t/* A very slight background to highlight the focused cell */\n\t\t\tbackground: var(--ck-color-selector-focused-cell-background);\n\n\t\t\t/* Fixes the problem where surrounding cells cover the focused cell's border.\n\t\t\tIt does not fix the problem in all places but the UX is improved.\n\t\t\tSee https://github.com/ckeditor/ckeditor5-table/issues/29. */\n\t\t\tborder-style: none;\n\t\t\toutline: 1px solid var(--ck-color-focus-border);\n\t\t\toutline-offset: -1px; /* progressive enhancement - no IE support */\n\t\t}\n\t}\n}\n"],sourceRoot:""}]);const a=s},1623:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var o=n(9372),i=n.n(o),r=n(935),s=n.n(r)()(i());s.push([t.id,'.ck.ck-table-form .ck-form__row.ck-table-form__background-row,.ck.ck-table-form .ck-form__row.ck-table-form__border-row{flex-wrap:wrap}.ck.ck-table-form .ck-form__row.ck-table-form__dimensions-row{align-items:center;flex-wrap:wrap}.ck.ck-table-form .ck-form__row.ck-table-form__dimensions-row .ck-labeled-field-view{align-items:center;display:flex;flex-direction:column-reverse}.ck.ck-table-form .ck-form__row.ck-table-form__dimensions-row .ck-labeled-field-view .ck.ck-dropdown,.ck.ck-table-form .ck-form__row.ck-table-form__dimensions-row .ck-table-form__dimension-operator{flex-grow:0}.ck.ck-table-form .ck.ck-labeled-field-view{position:relative}.ck.ck-table-form .ck.ck-labeled-field-view .ck.ck-labeled-field-view__status{bottom:calc(var(--ck-table-properties-error-arrow-size)*-1);left:50%;position:absolute;transform:translate(-50%,100%);z-index:1}.ck.ck-table-form .ck.ck-labeled-field-view .ck.ck-labeled-field-view__status:after{content:"";left:50%;position:absolute;top:calc(var(--ck-table-properties-error-arrow-size)*-1);transform:translateX(-50%)}:root{--ck-table-properties-error-arrow-size:6px;--ck-table-properties-min-error-width:150px}.ck.ck-table-form .ck-form__row.ck-table-form__border-row .ck-labeled-field-view>.ck-label{font-size:var(--ck-font-size-tiny);text-align:center}.ck.ck-table-form .ck-form__row.ck-table-form__border-row .ck-table-form__border-style,.ck.ck-table-form .ck-form__row.ck-table-form__border-row .ck-table-form__border-width{max-width:80px;min-width:80px;width:80px}.ck.ck-table-form .ck-form__row.ck-table-form__dimensions-row{padding:0}.ck.ck-table-form .ck-form__row.ck-table-form__dimensions-row .ck-table-form__dimensions-row__height,.ck.ck-table-form .ck-form__row.ck-table-form__dimensions-row .ck-table-form__dimensions-row__width{margin:0}.ck.ck-table-form .ck-form__row.ck-table-form__dimensions-row .ck-table-form__dimension-operator{align-self:flex-end;display:inline-block;height:var(--ck-ui-component-min-height);line-height:var(--ck-ui-component-min-height);margin:0 var(--ck-spacing-small)}.ck.ck-table-form .ck.ck-labeled-field-view{padding-top:var(--ck-spacing-standard)}.ck.ck-table-form .ck.ck-labeled-field-view .ck.ck-labeled-field-view__status{border-radius:0}.ck-rounded-corners .ck.ck-table-form .ck.ck-labeled-field-view .ck.ck-labeled-field-view__status,.ck.ck-table-form .ck.ck-labeled-field-view .ck.ck-labeled-field-view__status.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck.ck-table-form .ck.ck-labeled-field-view .ck.ck-labeled-field-view__status{background:var(--ck-color-base-error);color:var(--ck-color-base-background);min-width:var(--ck-table-properties-min-error-width);padding:var(--ck-spacing-small) var(--ck-spacing-medium);text-align:center}.ck.ck-table-form .ck.ck-labeled-field-view .ck.ck-labeled-field-view__status:after{border-color:transparent transparent var(--ck-color-base-error) transparent;border-style:solid;border-width:0 var(--ck-table-properties-error-arrow-size) var(--ck-table-properties-error-arrow-size) var(--ck-table-properties-error-arrow-size)}.ck.ck-table-form .ck.ck-labeled-field-view .ck.ck-labeled-field-view__status{animation:ck-table-form-labeled-view-status-appear .15s ease both}.ck.ck-table-form .ck.ck-labeled-field-view .ck-input.ck-error:not(:focus)+.ck.ck-labeled-field-view__status{display:none}@keyframes ck-table-form-labeled-view-status-appear{0%{opacity:0}to{opacity:1}}',"",{version:3,sources:["webpack://./../ckeditor5-table/theme/tableform.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-table/tableform.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_rounded.css"],names:[],mappings:"AAWE,wHACC,cACD,CAEA,8DAEC,kBAAmB,CADnB,cAgBD,CAbC,qFAGC,kBAAmB,CAFnB,YAAa,CACb,6BAMD,CAEA,sMACC,WACD,CAIF,4CAEC,iBAoBD,CAlBC,8EAGC,2DAAgE,CADhE,QAAS,CADT,iBAAkB,CAGlB,8BAA+B,CAG/B,SAUD,CAPC,oFACC,UAAW,CAGX,QAAS,CAFT,iBAAkB,CAClB,wDAA6D,CAE7D,0BACD,CChDH,MACC,0CAA2C,CAC3C,2CACD,CAMI,2FACC,kCAAmC,CACnC,iBACD,CAGD,8KAIC,cAAe,CADf,cAAe,CADf,UAGD,CAGD,8DACC,SAcD,CAZC,yMAEC,QACD,CAEA,iGACC,mBAAoB,CACpB,oBAAqB,CACrB,wCAAyC,CACzC,6CAA8C,CAC9C,gCACD,CAIF,4CACC,sCAyBD,CAvBC,8ECxCD,eDyDC,CAjBA,mMCpCA,qCDqDA,CAjBA,8EAGC,qCAAsC,CACtC,qCAAsC,CAEtC,oDAAqD,CADrD,wDAAyD,CAEzD,iBAUD,CAPC,oFACC,2EAA4E,CAE5E,kBAAmB,CADnB,kJAED,CAdD,8EAgBC,iEACD,CAGA,6GACC,YACD,CAIF,oDACC,GACC,SACD,CAEA,GACC,SACD,CACD",sourcesContent:['/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-table-form {\n\t& .ck-form__row {\n\t\t&.ck-table-form__border-row {\n\t\t\tflex-wrap: wrap;\n\t\t}\n\n\t\t&.ck-table-form__background-row {\n\t\t\tflex-wrap: wrap;\n\t\t}\n\n\t\t&.ck-table-form__dimensions-row {\n\t\t\tflex-wrap: wrap;\n\t\t\talign-items: center;\n\n\t\t\t& .ck-labeled-field-view {\n\t\t\t\tdisplay: flex;\n\t\t\t\tflex-direction: column-reverse;\n\t\t\t\talign-items: center;\n\n\t\t\t\t& .ck.ck-dropdown {\n\t\t\t\t\tflex-grow: 0;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t& .ck-table-form__dimension-operator {\n\t\t\t\tflex-grow: 0;\n\t\t\t}\n\t\t}\n\t}\n\n\t& .ck.ck-labeled-field-view {\n\t\t/* Allow absolute positioning of the status (error) balloons. */\n\t\tposition: relative;\n\n\t\t& .ck.ck-labeled-field-view__status {\n\t\t\tposition: absolute;\n\t\t\tleft: 50%;\n\t\t\tbottom: calc( -1 * var(--ck-table-properties-error-arrow-size) );\n\t\t\ttransform: translate(-50%,100%);\n\n\t\t\t/* Make sure the balloon status stays on top of other form elements. */\n\t\t\tz-index: 1;\n\n\t\t\t/* The arrow pointing towards the field. */\n\t\t\t&::after {\n\t\t\t\tcontent: "";\n\t\t\t\tposition: absolute;\n\t\t\t\ttop: calc( -1 * var(--ck-table-properties-error-arrow-size) );\n\t\t\t\tleft: 50%;\n\t\t\t\ttransform: translateX( -50% );\n\t\t\t}\n\t\t}\n\t}\n}\n','/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../mixins/_rounded.css";\n\n:root {\n\t--ck-table-properties-error-arrow-size: 6px;\n\t--ck-table-properties-min-error-width: 150px;\n}\n\n.ck.ck-table-form {\n\t& .ck-form__row {\n\t\t&.ck-table-form__border-row {\n\t\t\t& .ck-labeled-field-view {\n\t\t\t\t& > .ck-label {\n\t\t\t\t\tfont-size: var(--ck-font-size-tiny);\n\t\t\t\t\ttext-align: center;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t& .ck-table-form__border-style,\n\t\t\t& .ck-table-form__border-width {\n\t\t\t\twidth: 80px;\n\t\t\t\tmin-width: 80px;\n\t\t\t\tmax-width: 80px;\n\t\t\t}\n\t\t}\n\n\t\t&.ck-table-form__dimensions-row {\n\t\t\tpadding: 0;\n\n\t\t\t& .ck-table-form__dimensions-row__width,\n\t\t\t& .ck-table-form__dimensions-row__height {\n\t\t\t\tmargin: 0\n\t\t\t}\n\n\t\t\t& .ck-table-form__dimension-operator {\n\t\t\t\talign-self: flex-end;\n\t\t\t\tdisplay: inline-block;\n\t\t\t\theight: var(--ck-ui-component-min-height);\n\t\t\t\tline-height: var(--ck-ui-component-min-height);\n\t\t\t\tmargin: 0 var(--ck-spacing-small);\n\t\t\t}\n\t\t}\n\t}\n\n\t& .ck.ck-labeled-field-view {\n\t\tpadding-top: var(--ck-spacing-standard);\n\n\t\t& .ck.ck-labeled-field-view__status {\n\t\t\t@mixin ck-rounded-corners;\n\n\t\t\tbackground: var(--ck-color-base-error);\n\t\t\tcolor: var(--ck-color-base-background);\n\t\t\tpadding: var(--ck-spacing-small) var(--ck-spacing-medium);\n\t\t\tmin-width: var(--ck-table-properties-min-error-width);\n\t\t\ttext-align: center;\n\n\t\t\t/* The arrow pointing towards the field. */\n\t\t\t&::after {\n\t\t\t\tborder-color: transparent transparent var(--ck-color-base-error) transparent;\n\t\t\t\tborder-width: 0 var(--ck-table-properties-error-arrow-size) var(--ck-table-properties-error-arrow-size) var(--ck-table-properties-error-arrow-size);\n\t\t\t\tborder-style: solid;\n\t\t\t}\n\n\t\t\tanimation: ck-table-form-labeled-view-status-appear .15s ease both;\n\t\t}\n\n\t\t/* Hide the error balloon when the field is blurred. Makes the experience much more clear. */\n\t\t& .ck-input.ck-error:not(:focus) + .ck.ck-labeled-field-view__status {\n\t\t\tdisplay: none;\n\t\t}\n\t}\n}\n\n@keyframes ck-table-form-labeled-view-status-appear {\n\t0% {\n\t\topacity: 0;\n\t}\n\n\t100% {\n\t\topacity: 1;\n\t}\n}\n',"/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Implements rounded corner interface for .ck-rounded-corners class.\n *\n * @see $ck-border-radius\n */\n@define-mixin ck-rounded-corners {\n\tborder-radius: 0;\n\n\t@nest .ck-rounded-corners &,\n\t&.ck-rounded-corners {\n\t\tborder-radius: var(--ck-border-radius);\n\t\t@mixin-content;\n\t}\n}\n"],sourceRoot:""}]);const a=s},5562:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var o=n(9372),i=n.n(o),r=n(935),s=n.n(r)()(i());s.push([t.id,".ck.ck-table-properties-form .ck-form__row.ck-table-properties-form__alignment-row{align-content:baseline;flex-basis:0;flex-wrap:wrap}.ck.ck-table-properties-form .ck-form__row.ck-table-properties-form__alignment-row .ck.ck-toolbar .ck-toolbar__items{flex-wrap:nowrap}.ck.ck-table-properties-form{width:320px}.ck.ck-table-properties-form .ck-form__row.ck-table-properties-form__alignment-row{align-self:flex-end;padding:0}.ck.ck-table-properties-form .ck-form__row.ck-table-properties-form__alignment-row .ck.ck-toolbar{background:none;margin-top:var(--ck-spacing-standard)}.ck.ck-table-properties-form .ck-form__row.ck-table-properties-form__alignment-row .ck.ck-toolbar .ck-toolbar__items>*{width:40px}","",{version:3,sources:["webpack://./../ckeditor5-table/theme/tableproperties.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-table/tableproperties.css"],names:[],mappings:"AAOE,mFAGC,sBAAuB,CADvB,YAAa,CADb,cAOD,CAHC,qHACC,gBACD,CCTH,6BACC,WAmBD,CAhBE,mFACC,mBAAoB,CACpB,SAYD,CAVC,kGACC,eAAgB,CAGhB,qCAKD,CAHC,uHACC,UACD",sourcesContent:["/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-table-properties-form {\n\t& .ck-form__row {\n\t\t&.ck-table-properties-form__alignment-row {\n\t\t\tflex-wrap: wrap;\n\t\t\tflex-basis: 0;\n\t\t\talign-content: baseline;\n\n\t\t\t& .ck.ck-toolbar .ck-toolbar__items {\n\t\t\t\tflex-wrap: nowrap;\n\t\t\t}\n\t\t}\n\t}\n}\n","/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-table-properties-form {\n\twidth: 320px;\n\n\t& .ck-form__row {\n\t\t&.ck-table-properties-form__alignment-row {\n\t\t\talign-self: flex-end;\n\t\t\tpadding: 0;\n\n\t\t\t& .ck.ck-toolbar {\n\t\t\t\tbackground: none;\n\n\t\t\t\t/* Compensate for missing input label that would push the margin (toolbar has no inputs). */\n\t\t\t\tmargin-top: var(--ck-spacing-standard);\n\n\t\t\t\t& .ck-toolbar__items > * {\n\t\t\t\t\twidth: 40px;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}\n"],sourceRoot:""}]);const a=s},8423:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var o=n(9372),i=n.n(o),r=n(935),s=n.n(r)()(i());s.push([t.id,':root{--ck-table-selected-cell-background:rgba(158,207,250,.3)}.ck.ck-editor__editable .table table td.ck-editor__editable_selected,.ck.ck-editor__editable .table table th.ck-editor__editable_selected{box-shadow:unset;caret-color:transparent;outline:unset;position:relative}.ck.ck-editor__editable .table table td.ck-editor__editable_selected:after,.ck.ck-editor__editable .table table th.ck-editor__editable_selected:after{background-color:var(--ck-table-selected-cell-background);bottom:0;content:"";left:0;pointer-events:none;position:absolute;right:0;top:0}.ck.ck-editor__editable .table table td.ck-editor__editable_selected ::selection,.ck.ck-editor__editable .table table td.ck-editor__editable_selected:focus,.ck.ck-editor__editable .table table th.ck-editor__editable_selected ::selection,.ck.ck-editor__editable .table table th.ck-editor__editable_selected:focus{background-color:transparent}.ck.ck-editor__editable .table table td.ck-editor__editable_selected .ck-widget,.ck.ck-editor__editable .table table th.ck-editor__editable_selected .ck-widget{outline:unset}.ck.ck-editor__editable .table table td.ck-editor__editable_selected .ck-widget>.ck-widget__selection-handle,.ck.ck-editor__editable .table table th.ck-editor__editable_selected .ck-widget>.ck-widget__selection-handle{display:none}',"",{version:3,sources:["webpack://./../ckeditor5-theme-lark/theme/ckeditor5-table/tableselection.css"],names:[],mappings:"AAKA,MACC,wDACD,CAGC,0IAKC,gBAAiB,CAFjB,uBAAwB,CACxB,aAAc,CAFd,iBAiCD,CA3BC,sJAGC,yDAA0D,CAK1D,QAAS,CAPT,UAAW,CAKX,MAAO,CAJP,mBAAoB,CAEpB,iBAAkB,CAGlB,OAAQ,CAFR,KAID,CAEA,wTAEC,4BACD,CAMA,gKACC,aAKD,CAHC,0NACC,YACD",sourcesContent:["/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-table-selected-cell-background: hsla(208, 90%, 80%, .3);\n}\n\n.ck.ck-editor__editable .table table {\n\t& td.ck-editor__editable_selected,\n\t& th.ck-editor__editable_selected {\n\t\tposition: relative;\n\t\tcaret-color: transparent;\n\t\toutline: unset;\n\t\tbox-shadow: unset;\n\n\t\t/* https://github.com/ckeditor/ckeditor5/issues/6446 */\n\t\t&:after {\n\t\t\tcontent: '';\n\t\t\tpointer-events: none;\n\t\t\tbackground-color: var(--ck-table-selected-cell-background);\n\t\t\tposition: absolute;\n\t\t\ttop: 0;\n\t\t\tleft: 0;\n\t\t\tright: 0;\n\t\t\tbottom: 0;\n\t\t}\n\n\t\t& ::selection,\n\t\t&:focus {\n\t\t\tbackground-color: transparent;\n\t\t}\n\n\t\t/*\n\t\t * To reduce the amount of noise, all widgets in the table selection have no outline and no selection handle.\n\t\t * See https://github.com/ckeditor/ckeditor5/issues/9491.\n\t\t */\n\t\t& .ck-widget {\n\t\t\toutline: unset;\n\n\t\t\t& > .ck-widget__selection-handle {\n\t\t\t\tdisplay: none;\n\t\t\t}\n\t\t}\n\t}\n}\n"],sourceRoot:""}]);const a=s},1801:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var o=n(9372),i=n.n(o),r=n(935),s=n.n(r)()(i());s.push([t.id,".ck.ck-aria-live-announcer{left:-10000px;position:absolute;top:-10000px}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/arialiveannouncer/arialiveannouncer.css"],names:[],mappings:"AAKA,2BAEC,aAAc,CADd,iBAAkB,CAElB,YACD",sourcesContent:["/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-aria-live-announcer {\n\tposition: absolute;\n\tleft: -10000px;\n\ttop: -10000px;\n}\n"],sourceRoot:""}]);const a=s},5727:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var o=n(9372),i=n.n(o),r=n(935),s=n.n(r)()(i());s.push([t.id,".ck.ck-autocomplete{position:relative}.ck.ck-autocomplete>.ck-search__results{position:absolute;z-index:var(--ck-z-panel)}.ck.ck-autocomplete>.ck-search__results.ck-search__results_n{bottom:100%}.ck.ck-autocomplete>.ck-search__results.ck-search__results_s{bottom:auto;top:100%}.ck.ck-autocomplete>.ck-search__results{border-radius:0}.ck-rounded-corners .ck.ck-autocomplete>.ck-search__results,.ck.ck-autocomplete>.ck-search__results.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck.ck-autocomplete>.ck-search__results{background:var(--ck-color-base-background);border:1px solid var(--ck-color-dropdown-panel-border);box-shadow:var(--ck-drop-shadow),0 0;max-height:200px;min-width:auto;overflow-y:auto}.ck.ck-autocomplete>.ck-search__results.ck-search__results_n{border-bottom-left-radius:0;border-bottom-right-radius:0;margin-bottom:-1px}.ck.ck-autocomplete>.ck-search__results.ck-search__results_s{border-top-left-radius:0;border-top-right-radius:0;margin-top:-1px}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/autocomplete/autocomplete.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/autocomplete/autocomplete.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_rounded.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_shadow.css"],names:[],mappings:"AAKA,oBACC,iBAeD,CAbC,wCACC,iBAAkB,CAClB,yBAUD,CARC,6DACC,WACD,CAEA,6DAEC,WAAY,CADZ,QAED,CCVD,wCCEA,eDuBA,CAzBA,uHCMC,qCDmBD,CAzBA,wCAMC,0CAA2C,CAC3C,sDAAuD,CEPxD,oCAA8B,CFI7B,gBAAiB,CAIjB,cAAe,CAHf,eAoBD,CAfC,6DACC,2BAA4B,CAC5B,4BAA6B,CAG7B,kBACD,CAEA,6DACC,wBAAyB,CACzB,yBAA0B,CAG1B,eACD",sourcesContent:["/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-autocomplete {\n\tposition: relative;\n\n\t& > .ck-search__results {\n\t\tposition: absolute;\n\t\tz-index: var(--ck-z-panel);\n\n\t\t&.ck-search__results_n {\n\t\t\tbottom: 100%;\n\t\t}\n\n\t\t&.ck-search__results_s {\n\t\t\ttop: 100%;\n\t\t\tbottom: auto;\n\t\t}\n\t}\n}\n",'/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "@ckeditor/ckeditor5-theme-lark/theme/mixins/_rounded.css";\n@import "@ckeditor/ckeditor5-theme-lark/theme/mixins/_shadow.css";\n\n.ck.ck-autocomplete {\n\t& > .ck-search__results {\n\t\t@mixin ck-rounded-corners;\n\t\t@mixin ck-drop-shadow;\n\n\t\tmax-height: 200px;\n\t\toverflow-y: auto;\n\t\tbackground: var(--ck-color-base-background);\n\t\tborder: 1px solid var(--ck-color-dropdown-panel-border);\n\t\tmin-width: auto;\n\n\t\t&.ck-search__results_n {\n\t\t\tborder-bottom-left-radius: 0;\n\t\t\tborder-bottom-right-radius: 0;\n\n\t\t\t/* Prevent duplicated borders between the input and the results pane. */\n\t\t\tmargin-bottom: -1px;\n\t\t}\n\n\t\t&.ck-search__results_s {\n\t\t\tborder-top-left-radius: 0;\n\t\t\tborder-top-right-radius: 0;\n\n\t\t\t/* Prevent duplicated borders between the input and the results pane. */\n\t\t\tmargin-top: -1px;\n\t\t}\n\t}\n}\n',"/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Implements rounded corner interface for .ck-rounded-corners class.\n *\n * @see $ck-border-radius\n */\n@define-mixin ck-rounded-corners {\n\tborder-radius: 0;\n\n\t@nest .ck-rounded-corners &,\n\t&.ck-rounded-corners {\n\t\tborder-radius: var(--ck-border-radius);\n\t\t@mixin-content;\n\t}\n}\n","/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * A helper to combine multiple shadows.\n */\n@define-mixin ck-box-shadow $shadowA, $shadowB: 0 0 {\n\tbox-shadow: $shadowA, $shadowB;\n}\n\n/**\n * Gives an element a drop shadow so it looks like a floating panel.\n */\n@define-mixin ck-drop-shadow {\n\t@mixin ck-box-shadow var(--ck-drop-shadow);\n}\n"],sourceRoot:""}]);const a=s},9715:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var o=n(9372),i=n.n(o),r=n(935),s=n.n(r)()(i());s.push([t.id,".ck.ck-button,a.ck.ck-button{align-items:center;display:inline-flex;position:relative;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}[dir=ltr] .ck.ck-button,[dir=ltr] a.ck.ck-button{justify-content:left}[dir=rtl] .ck.ck-button,[dir=rtl] a.ck.ck-button{justify-content:right}.ck.ck-button .ck-button__label,a.ck.ck-button .ck-button__label{display:none}.ck.ck-button.ck-button_with-text .ck-button__label,a.ck.ck-button.ck-button_with-text .ck-button__label{display:inline-block}.ck.ck-button:not(.ck-button_with-text),a.ck.ck-button:not(.ck-button_with-text){justify-content:center}.ck.ck-button,a.ck.ck-button{background:var(--ck-color-button-default-background)}.ck.ck-button:not(.ck-disabled):hover,a.ck.ck-button:not(.ck-disabled):hover{background:var(--ck-color-button-default-hover-background)}.ck.ck-button:not(.ck-disabled):active,a.ck.ck-button:not(.ck-disabled):active{background:var(--ck-color-button-default-active-background)}.ck.ck-button.ck-disabled,a.ck.ck-button.ck-disabled{background:var(--ck-color-button-default-disabled-background)}.ck.ck-button,a.ck.ck-button{border-radius:0}.ck-rounded-corners .ck.ck-button,.ck-rounded-corners a.ck.ck-button,.ck.ck-button.ck-rounded-corners,a.ck.ck-button.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck.ck-button,a.ck.ck-button{-webkit-appearance:none;border:1px solid transparent;cursor:default;font-size:inherit;line-height:1;min-height:var(--ck-ui-component-min-height);min-width:var(--ck-ui-component-min-height);padding:var(--ck-spacing-tiny);text-align:center;transition:box-shadow .2s ease-in-out,border .2s ease-in-out;vertical-align:middle;white-space:nowrap}.ck.ck-button:active,.ck.ck-button:focus,a.ck.ck-button:active,a.ck.ck-button:focus{border:var(--ck-focus-ring);box-shadow:var(--ck-focus-outer-shadow),0 0;outline:none}.ck.ck-button .ck-button__icon use,.ck.ck-button .ck-button__icon use *,a.ck.ck-button .ck-button__icon use,a.ck.ck-button .ck-button__icon use *{color:inherit}.ck.ck-button .ck-button__label,a.ck.ck-button .ck-button__label{color:inherit;cursor:inherit;font-size:inherit;font-weight:inherit;vertical-align:middle}[dir=ltr] .ck.ck-button .ck-button__label,[dir=ltr] a.ck.ck-button .ck-button__label{text-align:left}[dir=rtl] .ck.ck-button .ck-button__label,[dir=rtl] a.ck.ck-button .ck-button__label{text-align:right}.ck.ck-button .ck-button__keystroke,a.ck.ck-button .ck-button__keystroke{color:inherit}[dir=ltr] .ck.ck-button .ck-button__keystroke,[dir=ltr] a.ck.ck-button .ck-button__keystroke{margin-left:var(--ck-spacing-large)}[dir=rtl] .ck.ck-button .ck-button__keystroke,[dir=rtl] a.ck.ck-button .ck-button__keystroke{margin-right:var(--ck-spacing-large)}.ck.ck-button .ck-button__keystroke,a.ck.ck-button .ck-button__keystroke{opacity:.5}.ck.ck-button.ck-disabled:active,.ck.ck-button.ck-disabled:focus,a.ck.ck-button.ck-disabled:active,a.ck.ck-button.ck-disabled:focus{box-shadow:var(--ck-focus-disabled-outer-shadow),0 0}.ck.ck-button.ck-disabled .ck-button__icon,.ck.ck-button.ck-disabled .ck-button__label,a.ck.ck-button.ck-disabled .ck-button__icon,a.ck.ck-button.ck-disabled .ck-button__label{opacity:var(--ck-disabled-opacity)}.ck.ck-button.ck-disabled .ck-button__keystroke,a.ck.ck-button.ck-disabled .ck-button__keystroke{opacity:.3}.ck.ck-button.ck-button_with-text,a.ck.ck-button.ck-button_with-text{padding:var(--ck-spacing-tiny) var(--ck-spacing-standard)}[dir=ltr] .ck.ck-button.ck-button_with-text .ck-button__icon,[dir=ltr] a.ck.ck-button.ck-button_with-text .ck-button__icon{margin-left:calc(var(--ck-spacing-small)*-1);margin-right:var(--ck-spacing-small)}[dir=rtl] .ck.ck-button.ck-button_with-text .ck-button__icon,[dir=rtl] a.ck.ck-button.ck-button_with-text .ck-button__icon{margin-left:var(--ck-spacing-small);margin-right:calc(var(--ck-spacing-small)*-1)}.ck.ck-button.ck-button_with-keystroke .ck-button__label,a.ck.ck-button.ck-button_with-keystroke .ck-button__label{flex-grow:1}.ck.ck-button.ck-on,a.ck.ck-button.ck-on{background:var(--ck-color-button-on-background)}.ck.ck-button.ck-on:not(.ck-disabled):hover,a.ck.ck-button.ck-on:not(.ck-disabled):hover{background:var(--ck-color-button-on-hover-background)}.ck.ck-button.ck-on:not(.ck-disabled):active,a.ck.ck-button.ck-on:not(.ck-disabled):active{background:var(--ck-color-button-on-active-background)}.ck.ck-button.ck-on.ck-disabled,a.ck.ck-button.ck-on.ck-disabled{background:var(--ck-color-button-on-disabled-background)}.ck.ck-button.ck-on,a.ck.ck-button.ck-on{color:var(--ck-color-button-on-color)}.ck.ck-button.ck-button-save,a.ck.ck-button.ck-button-save{color:var(--ck-color-button-save)}.ck.ck-button.ck-button-cancel,a.ck.ck-button.ck-button-cancel{color:var(--ck-color-button-cancel)}.ck.ck-button-action,a.ck.ck-button-action{background:var(--ck-color-button-action-background)}.ck.ck-button-action:not(.ck-disabled):hover,a.ck.ck-button-action:not(.ck-disabled):hover{background:var(--ck-color-button-action-hover-background)}.ck.ck-button-action:not(.ck-disabled):active,a.ck.ck-button-action:not(.ck-disabled):active{background:var(--ck-color-button-action-active-background)}.ck.ck-button-action.ck-disabled,a.ck.ck-button-action.ck-disabled{background:var(--ck-color-button-action-disabled-background)}.ck.ck-button-action,a.ck.ck-button-action{color:var(--ck-color-button-action-text)}.ck.ck-button-bold,a.ck.ck-button-bold{font-weight:700}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/button/button.css","webpack://./../ckeditor5-ui/theme/mixins/_unselectable.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/button/button.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/mixins/_button.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_rounded.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_focus.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_shadow.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_disabled.css"],names:[],mappings:"AAQA,6BAMC,kBAAmB,CADnB,mBAAoB,CADpB,iBAAkB,CCHlB,qBAAsB,CACtB,wBAAyB,CACzB,oBAAqB,CACrB,gBD0BD,CA9BA,iDASE,oBAqBF,CA9BA,iDAaE,qBAiBF,CAdC,iEACC,YACD,CAGC,yGACC,oBACD,CAID,iFACC,sBACD,CEzBD,6BCAC,oDD2ID,CCxIE,6EACC,0DACD,CAEA,+EACC,2DACD,CAID,qDACC,6DACD,CDfD,6BEDC,eF4ID,CA3IA,wIEGE,qCFwIF,CA3IA,6BA6BC,uBAAwB,CANxB,4BAA6B,CAjB7B,cAAe,CAcf,iBAAkB,CAHlB,aAAc,CAJd,4CAA6C,CAD7C,2CAA4C,CAJ5C,8BAA+B,CAC/B,iBAAkB,CAiBlB,4DAA8D,CAnB9D,qBAAsB,CAFtB,kBAsID,CA5GC,oFGhCA,2BAA2B,CCF3B,2CAA8B,CDC9B,YHqCA,CAIC,kJAEC,aACD,CAGD,iEAIC,aAAc,CACd,cAAe,CAHf,iBAAkB,CAClB,mBAAoB,CAMpB,qBASD,CAlBA,qFAYE,eAMF,CAlBA,qFAgBE,gBAEF,CAEA,yEACC,aAWD,CAZA,6FAIE,mCAQF,CAZA,6FAQE,oCAIF,CAZA,yEAWC,UACD,CAIC,oIIpFD,oDJwFC,CAOA,gLK/FD,kCLiGC,CAEA,iGACC,UACD,CAGD,qEACC,yDAcD,CAXC,2HAEE,4CAA+C,CAC/C,oCAOF,CAVA,2HAQE,mCAAoC,CADpC,6CAGF,CAKA,mHACC,WACD,CAID,yCC9HA,+CDkIA,CC/HC,yFACC,qDACD,CAEA,2FACC,sDACD,CAID,iEACC,wDACD,CD+GA,yCAGC,qCACD,CAEA,2DACC,iCACD,CAEA,+DACC,mCACD,CAID,2CC9IC,mDDmJD,CChJE,2FACC,yDACD,CAEA,6FACC,0DACD,CAID,mEACC,4DACD,CD+HD,2CAIC,wCACD,CAEA,uCAEC,eACD",sourcesContent:['/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../../mixins/_unselectable.css";\n@import "../../mixins/_dir.css";\n\n.ck.ck-button,\na.ck.ck-button {\n\t@mixin ck-unselectable;\n\n\tposition: relative;\n\tdisplay: inline-flex;\n\talign-items: center;\n\n\t@mixin ck-dir ltr {\n\t\tjustify-content: left;\n\t}\n\n\t@mixin ck-dir rtl {\n\t\tjustify-content: right;\n\t}\n\n\t& .ck-button__label {\n\t\tdisplay: none;\n\t}\n\n\t&.ck-button_with-text {\n\t\t& .ck-button__label {\n\t\t\tdisplay: inline-block;\n\t\t}\n\t}\n\n\t/* Center the icon horizontally in a button without text. */\n\t&:not(.ck-button_with-text) {\n\t\tjustify-content: center;\n\t}\n}\n',"/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Makes element unselectable.\n */\n@define-mixin ck-unselectable {\n\t-moz-user-select: none;\n\t-webkit-user-select: none;\n\t-ms-user-select: none;\n\tuser-select: none\n}\n",'/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../../../mixins/_focus.css";\n@import "../../../mixins/_shadow.css";\n@import "../../../mixins/_disabled.css";\n@import "../../../mixins/_rounded.css";\n@import "../../mixins/_button.css";\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";\n\n.ck.ck-button,\na.ck.ck-button {\n\t@mixin ck-button-colors --ck-color-button-default;\n\t@mixin ck-rounded-corners;\n\n\twhite-space: nowrap;\n\tcursor: default;\n\tvertical-align: middle;\n\tpadding: var(--ck-spacing-tiny);\n\ttext-align: center;\n\n\t/* A very important piece of styling. Go to variable declaration to learn more. */\n\tmin-width: var(--ck-ui-component-min-height);\n\tmin-height: var(--ck-ui-component-min-height);\n\n\t/* Normalize the height of the line. Removing this will break consistent height\n\tamong text and text-less buttons (with icons). */\n\tline-height: 1;\n\n\t/* Enable font size inheritance, which allows fluid UI scaling. */\n\tfont-size: inherit;\n\n\t/* Avoid flickering when the foucs border shows up. */\n\tborder: 1px solid transparent;\n\n\t/* Apply some smooth transition to the box-shadow and border. */\n\ttransition: box-shadow .2s ease-in-out, border .2s ease-in-out;\n\n\t/* https://github.com/ckeditor/ckeditor5-theme-lark/issues/189 */\n\t-webkit-appearance: none;\n\n\t&:active,\n\t&:focus {\n\t\t@mixin ck-focus-ring;\n\t\t@mixin ck-box-shadow var(--ck-focus-outer-shadow);\n\t}\n\n\t/* Allow icon coloring using the text "color" property. */\n\t& .ck-button__icon {\n\t\t& use,\n\t\t& use * {\n\t\t\tcolor: inherit;\n\t\t}\n\t}\n\n\t& .ck-button__label {\n\t\t/* Enable font size inheritance, which allows fluid UI scaling. */\n\t\tfont-size: inherit;\n\t\tfont-weight: inherit;\n\t\tcolor: inherit;\n\t\tcursor: inherit;\n\n\t\t/* Must be consistent with .ck-icon\'s vertical align. Otherwise, buttons with and\n\t\twithout labels (but with icons) have different sizes in Chrome */\n\t\tvertical-align: middle;\n\n\t\t@mixin ck-dir ltr {\n\t\t\ttext-align: left;\n\t\t}\n\n\t\t@mixin ck-dir rtl {\n\t\t\ttext-align: right;\n\t\t}\n\t}\n\n\t& .ck-button__keystroke {\n\t\tcolor: inherit;\n\n\t\t@mixin ck-dir ltr {\n\t\t\tmargin-left: var(--ck-spacing-large);\n\t\t}\n\n\t\t@mixin ck-dir rtl {\n\t\t\tmargin-right: var(--ck-spacing-large);\n\t\t}\n\n\t\topacity: .5;\n\t}\n\n\t/* https://github.com/ckeditor/ckeditor5-theme-lark/issues/70 */\n\t&.ck-disabled {\n\t\t&:active,\n\t\t&:focus {\n\t\t\t/* The disabled button should have a slightly less visible shadow when focused. */\n\t\t\t@mixin ck-box-shadow var(--ck-focus-disabled-outer-shadow);\n\t\t}\n\n\t\t& .ck-button__icon {\n\t\t\t@mixin ck-disabled;\n\t\t}\n\n\t\t/* https://github.com/ckeditor/ckeditor5-theme-lark/issues/98 */\n\t\t& .ck-button__label {\n\t\t\t@mixin ck-disabled;\n\t\t}\n\n\t\t& .ck-button__keystroke {\n\t\t\topacity: .3;\n\t\t}\n\t}\n\n\t&.ck-button_with-text {\n\t\tpadding: var(--ck-spacing-tiny) var(--ck-spacing-standard);\n\n\t\t/* stylelint-disable-next-line no-descending-specificity */\n\t\t& .ck-button__icon {\n\t\t\t@mixin ck-dir ltr {\n\t\t\t\tmargin-left: calc(-1 * var(--ck-spacing-small));\n\t\t\t\tmargin-right: var(--ck-spacing-small);\n\t\t\t}\n\n\t\t\t@mixin ck-dir rtl {\n\t\t\t\tmargin-right: calc(-1 * var(--ck-spacing-small));\n\t\t\t\tmargin-left: var(--ck-spacing-small);\n\t\t\t}\n\t\t}\n\t}\n\n\t&.ck-button_with-keystroke {\n\t\t/* stylelint-disable-next-line no-descending-specificity */\n\t\t& .ck-button__label {\n\t\t\tflex-grow: 1;\n\t\t}\n\t}\n\n\t/* A style of the button which is currently on, e.g. its feature is active. */\n\t&.ck-on {\n\t\t@mixin ck-button-colors --ck-color-button-on;\n\n\t\tcolor: var(--ck-color-button-on-color);\n\t}\n\n\t&.ck-button-save {\n\t\tcolor: var(--ck-color-button-save);\n\t}\n\n\t&.ck-button-cancel {\n\t\tcolor: var(--ck-color-button-cancel);\n\t}\n}\n\n/* A style of the button which handles the primary action. */\n.ck.ck-button-action,\na.ck.ck-button-action {\n\t@mixin ck-button-colors --ck-color-button-action;\n\n\tcolor: var(--ck-color-button-action-text);\n}\n\n.ck.ck-button-bold,\na.ck.ck-button-bold {\n\tfont-weight: bold;\n}\n',"/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Implements a button of given background color.\n *\n * @param {String} $background - Background color of the button.\n * @param {String} $border - Border color of the button.\n */\n@define-mixin ck-button-colors $prefix {\n\tbackground: var($(prefix)-background);\n\n\t&:not(.ck-disabled) {\n\t\t&:hover {\n\t\t\tbackground: var($(prefix)-hover-background);\n\t\t}\n\n\t\t&:active {\n\t\t\tbackground: var($(prefix)-active-background);\n\t\t}\n\t}\n\n\t/* https://github.com/ckeditor/ckeditor5-theme-lark/issues/98 */\n\t&.ck-disabled {\n\t\tbackground: var($(prefix)-disabled-background);\n\t}\n}\n","/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Implements rounded corner interface for .ck-rounded-corners class.\n *\n * @see $ck-border-radius\n */\n@define-mixin ck-rounded-corners {\n\tborder-radius: 0;\n\n\t@nest .ck-rounded-corners &,\n\t&.ck-rounded-corners {\n\t\tborder-radius: var(--ck-border-radius);\n\t\t@mixin-content;\n\t}\n}\n","/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * A visual style of focused element's border.\n */\n@define-mixin ck-focus-ring {\n\t/* Disable native outline. */\n\toutline: none;\n\tborder: var(--ck-focus-ring)\n}\n","/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * A helper to combine multiple shadows.\n */\n@define-mixin ck-box-shadow $shadowA, $shadowB: 0 0 {\n\tbox-shadow: $shadowA, $shadowB;\n}\n\n/**\n * Gives an element a drop shadow so it looks like a floating panel.\n */\n@define-mixin ck-drop-shadow {\n\t@mixin ck-box-shadow var(--ck-drop-shadow);\n}\n","/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * A class which indicates that an element holding it is disabled.\n */\n@define-mixin ck-disabled {\n\topacity: var(--ck-disabled-opacity);\n}\n"],sourceRoot:""}]);const a=s},4391:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var o=n(9372),i=n.n(o),r=n(935),s=n.n(r)()(i());s.push([t.id,".ck.ck-button.ck-switchbutton .ck-button__toggle,.ck.ck-button.ck-switchbutton .ck-button__toggle .ck-button__toggle__inner{display:block}:root{--ck-switch-button-toggle-width:2.6153846154em;--ck-switch-button-toggle-inner-size:calc(1.07692em + 1px);--ck-switch-button-translation:calc(var(--ck-switch-button-toggle-width) - var(--ck-switch-button-toggle-inner-size) - 2px);--ck-switch-button-inner-hover-shadow:0 0 0 5px var(--ck-color-switch-button-inner-shadow)}.ck.ck-button.ck-switchbutton,.ck.ck-button.ck-switchbutton.ck-on:active,.ck.ck-button.ck-switchbutton.ck-on:focus,.ck.ck-button.ck-switchbutton.ck-on:hover,.ck.ck-button.ck-switchbutton:active,.ck.ck-button.ck-switchbutton:focus,.ck.ck-button.ck-switchbutton:hover{background:transparent;color:inherit}[dir=ltr] .ck.ck-button.ck-switchbutton .ck-button__label{margin-right:calc(var(--ck-spacing-large)*2)}[dir=rtl] .ck.ck-button.ck-switchbutton .ck-button__label{margin-left:calc(var(--ck-spacing-large)*2)}.ck.ck-button.ck-switchbutton .ck-button__toggle{border-radius:0}.ck-rounded-corners .ck.ck-button.ck-switchbutton .ck-button__toggle,.ck.ck-button.ck-switchbutton .ck-button__toggle.ck-rounded-corners{border-radius:var(--ck-border-radius)}[dir=ltr] .ck.ck-button.ck-switchbutton .ck-button__toggle{margin-left:auto}[dir=rtl] .ck.ck-button.ck-switchbutton .ck-button__toggle{margin-right:auto}.ck.ck-button.ck-switchbutton .ck-button__toggle{background:var(--ck-color-switch-button-off-background);border:1px solid transparent;transition:background .4s ease,box-shadow .2s ease-in-out,outline .2s ease-in-out;width:var(--ck-switch-button-toggle-width)}.ck.ck-button.ck-switchbutton .ck-button__toggle .ck-button__toggle__inner{border-radius:0}.ck-rounded-corners .ck.ck-button.ck-switchbutton .ck-button__toggle .ck-button__toggle__inner,.ck.ck-button.ck-switchbutton .ck-button__toggle .ck-button__toggle__inner.ck-rounded-corners{border-radius:var(--ck-border-radius);border-radius:calc(var(--ck-border-radius)*.5)}.ck.ck-button.ck-switchbutton .ck-button__toggle .ck-button__toggle__inner{background:var(--ck-color-switch-button-inner-background);height:var(--ck-switch-button-toggle-inner-size);transition:all .3s ease;width:var(--ck-switch-button-toggle-inner-size)}.ck.ck-button.ck-switchbutton .ck-button__toggle:hover{background:var(--ck-color-switch-button-off-hover-background)}.ck.ck-button.ck-switchbutton .ck-button__toggle:hover .ck-button__toggle__inner{box-shadow:var(--ck-switch-button-inner-hover-shadow)}.ck.ck-button.ck-switchbutton.ck-disabled .ck-button__toggle{opacity:var(--ck-disabled-opacity)}.ck.ck-button.ck-switchbutton:focus{border-color:transparent;box-shadow:none;outline:none}.ck.ck-button.ck-switchbutton:focus .ck-button__toggle{box-shadow:0 0 0 1px var(--ck-color-base-background),0 0 0 5px var(--ck-color-focus-outer-shadow);outline:var(--ck-focus-ring);outline-offset:1px}.ck.ck-button.ck-switchbutton.ck-on .ck-button__toggle{background:var(--ck-color-switch-button-on-background)}.ck.ck-button.ck-switchbutton.ck-on .ck-button__toggle:hover{background:var(--ck-color-switch-button-on-hover-background)}[dir=ltr] .ck.ck-button.ck-switchbutton.ck-on .ck-button__toggle .ck-button__toggle__inner{transform:translateX(var( --ck-switch-button-translation ))}[dir=rtl] .ck.ck-button.ck-switchbutton.ck-on .ck-button__toggle .ck-button__toggle__inner{transform:translateX(calc(var( --ck-switch-button-translation )*-1))}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/button/switchbutton.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/button/switchbutton.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_rounded.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_disabled.css"],names:[],mappings:"AASE,4HACC,aACD,CCCF,MAEC,8CAA+C,CAE/C,0DAAgE,CAChE,2HAIC,CACD,0FACD,CAOC,0QAEC,sBAAuB,CADvB,aAED,CAEA,0DAGE,4CAOF,CAVA,0DAQE,2CAEF,CAEA,iDCpCA,eD4EA,CAxCA,yIChCC,qCDwED,CAxCA,2DAKE,gBAmCF,CAxCA,2DAUE,iBA8BF,CAxCA,iDAkBC,uDAAwD,CAFxD,4BAA6B,CAD7B,iFAAsF,CAEtF,0CAuBD,CApBC,2ECxDD,eDmEC,CAXA,6LCpDA,qCAAsC,CDsDpC,8CASF,CAXA,2EAOC,yDAA0D,CAD1D,gDAAiD,CAIjD,uBAA0B,CAL1B,+CAMD,CAEA,uDACC,6DAKD,CAHC,iFACC,qDACD,CAIF,6DEhFA,kCFkFA,CAGA,oCACC,wBAAyB,CAEzB,eAAgB,CADhB,YAQD,CALC,uDACC,iGAAmG,CAEnG,4BAA6B,CAD7B,kBAED,CAKA,uDACC,sDAkBD,CAhBC,6DACC,4DACD,CAEA,2FAKE,2DAMF,CAXA,2FASE,oEAEF",sourcesContent:["/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-button.ck-switchbutton {\n\t& .ck-button__toggle {\n\t\tdisplay: block;\n\n\t\t& .ck-button__toggle__inner {\n\t\t\tdisplay: block;\n\t\t}\n\t}\n}\n",'/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../../../mixins/_rounded.css";\n@import "../../../mixins/_disabled.css";\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";\n\n/* Note: To avoid rendering issues (aliasing) but to preserve the responsive nature\nof the component, floating–point numbers have been used which, for the default font size\n(see: --ck-font-size-base), will generate simple integers. */\n:root {\n\t/* 34px at 13px font-size */\n\t--ck-switch-button-toggle-width: 2.6153846154em;\n\t/* 14px at 13px font-size */\n\t--ck-switch-button-toggle-inner-size: calc(1.0769230769em + 1px);\n\t--ck-switch-button-translation: calc(\n\t\tvar(--ck-switch-button-toggle-width) -\n\t\tvar(--ck-switch-button-toggle-inner-size) -\n\t\t2px /* Border */\n\t);\n\t--ck-switch-button-inner-hover-shadow: 0 0 0 5px var(--ck-color-switch-button-inner-shadow);\n}\n\n.ck.ck-button.ck-switchbutton {\n\t/* Unlike a regular button, the switch button text color and background should never change.\n\t * Changing toggle switch (background, outline) is enough to carry the information about the\n\t * state of the entire component (https://github.com/ckeditor/ckeditor5/issues/12519)\n\t */\n\t&, &:hover, &:focus, &:active, &.ck-on:hover, &.ck-on:focus, &.ck-on:active {\n\t\tcolor: inherit;\n\t\tbackground: transparent;\n\t}\n\n\t& .ck-button__label {\n\t\t@mixin ck-dir ltr {\n\t\t\t/* Separate the label from the switch */\n\t\t\tmargin-right: calc(2 * var(--ck-spacing-large));\n\t\t}\n\n\t\t@mixin ck-dir rtl {\n\t\t\t/* Separate the label from the switch */\n\t\t\tmargin-left: calc(2 * var(--ck-spacing-large));\n\t\t}\n\t}\n\n\t& .ck-button__toggle {\n\t\t@mixin ck-rounded-corners;\n\n\t\t@mixin ck-dir ltr {\n\t\t\t/* Make sure the toggle is always to the right as far as possible. */\n\t\t\tmargin-left: auto;\n\t\t}\n\n\t\t@mixin ck-dir rtl {\n\t\t\t/* Make sure the toggle is always to the left as far as possible. */\n\t\t\tmargin-right: auto;\n\t\t}\n\n\t\t/* Apply some smooth transition to the box-shadow and border. */\n\t\t/* Gently animate the background color of the toggle switch */\n\t\ttransition: background 400ms ease, box-shadow .2s ease-in-out, outline .2s ease-in-out;\n\t\tborder: 1px solid transparent;\n\t\twidth: var(--ck-switch-button-toggle-width);\n\t\tbackground: var(--ck-color-switch-button-off-background);\n\n\t\t& .ck-button__toggle__inner {\n\t\t\t@mixin ck-rounded-corners {\n\t\t\t\tborder-radius: calc(.5 * var(--ck-border-radius));\n\t\t\t}\n\n\t\t\twidth: var(--ck-switch-button-toggle-inner-size);\n\t\t\theight: var(--ck-switch-button-toggle-inner-size);\n\t\t\tbackground: var(--ck-color-switch-button-inner-background);\n\n\t\t\t/* Gently animate the inner part of the toggle switch */\n\t\t\ttransition: all 300ms ease;\n\t\t}\n\n\t\t&:hover {\n\t\t\tbackground: var(--ck-color-switch-button-off-hover-background);\n\n\t\t\t& .ck-button__toggle__inner {\n\t\t\t\tbox-shadow: var(--ck-switch-button-inner-hover-shadow);\n\t\t\t}\n\t\t}\n\t}\n\n\t&.ck-disabled .ck-button__toggle {\n\t\t@mixin ck-disabled;\n\t}\n\n\t/* Overriding default .ck-button:focus styles + an outline around the toogle */\n\t&:focus {\n\t\tborder-color: transparent;\n\t\toutline: none;\n\t\tbox-shadow: none;\n\n\t\t& .ck-button__toggle {\n\t\t\tbox-shadow: 0 0 0 1px var(--ck-color-base-background), 0 0 0 5px var(--ck-color-focus-outer-shadow);\n\t\t\toutline-offset: 1px;\n\t\t\toutline: var(--ck-focus-ring);\n\t\t}\n\t}\n\n\t/* stylelint-disable-next-line no-descending-specificity */\n\t&.ck-on {\n\t\t& .ck-button__toggle {\n\t\t\tbackground: var(--ck-color-switch-button-on-background);\n\n\t\t\t&:hover {\n\t\t\t\tbackground: var(--ck-color-switch-button-on-hover-background);\n\t\t\t}\n\n\t\t\t& .ck-button__toggle__inner {\n\t\t\t\t/*\n\t\t\t\t* Move the toggle switch to the right. It will be animated.\n\t\t\t\t*/\n\t\t\t\t@mixin ck-dir ltr {\n\t\t\t\t\ttransform: translateX( var( --ck-switch-button-translation ) );\n\t\t\t\t}\n\n\t\t\t\t@mixin ck-dir rtl {\n\t\t\t\t\ttransform: translateX( calc( -1 * var( --ck-switch-button-translation ) ) );\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}\n',"/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Implements rounded corner interface for .ck-rounded-corners class.\n *\n * @see $ck-border-radius\n */\n@define-mixin ck-rounded-corners {\n\tborder-radius: 0;\n\n\t@nest .ck-rounded-corners &,\n\t&.ck-rounded-corners {\n\t\tborder-radius: var(--ck-border-radius);\n\t\t@mixin-content;\n\t}\n}\n","/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * A class which indicates that an element holding it is disabled.\n */\n@define-mixin ck-disabled {\n\topacity: var(--ck-disabled-opacity);\n}\n"],sourceRoot:""}]);const a=s},25:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var o=n(9372),i=n.n(o),r=n(935),s=n.n(r)()(i());s.push([t.id,".ck.ck-collapsible.ck-collapsible_collapsed>.ck-collapsible__children{display:none}:root{--ck-collapsible-arrow-size:calc(var(--ck-icon-size)*0.5)}.ck.ck-collapsible>.ck.ck-button{border-radius:0;color:inherit;font-weight:700;padding:var(--ck-list-button-padding);width:100%}.ck.ck-collapsible>.ck.ck-button:focus{background:transparent}.ck.ck-collapsible>.ck.ck-button:active,.ck.ck-collapsible>.ck.ck-button:hover:not(:focus),.ck.ck-collapsible>.ck.ck-button:not(:focus){background:transparent;border-color:transparent;box-shadow:none}.ck.ck-collapsible>.ck.ck-button>.ck-icon{margin-right:var(--ck-spacing-medium);width:var(--ck-collapsible-arrow-size)}.ck.ck-collapsible>.ck-collapsible__children{padding:var(--ck-spacing-medium) var(--ck-spacing-large) var(--ck-spacing-large)}.ck.ck-collapsible.ck-collapsible_collapsed>.ck.ck-button .ck-icon{transform:rotate(-90deg)}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/collapsible/collapsible.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/collapsible/collapsible.css"],names:[],mappings:"AAMC,sEACC,YACD,CCHD,MACC,yDACD,CAGC,iCAIC,eAAgB,CAChB,aAAc,CAHd,eAAiB,CACjB,qCAAsC,CAFtC,UAoBD,CAdC,uCACC,sBACD,CAEA,wIACC,sBAAuB,CACvB,wBAAyB,CACzB,eACD,CAEA,0CACC,qCAAsC,CACtC,sCACD,CAGD,6CACC,gFACD,CAGC,mEACC,wBACD",sourcesContent:["/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-collapsible.ck-collapsible_collapsed {\n\t& > .ck-collapsible__children {\n\t\tdisplay: none;\n\t}\n}\n","/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-collapsible-arrow-size: calc(0.5 * var(--ck-icon-size));\n}\n\n.ck.ck-collapsible {\n\t& > .ck.ck-button {\n\t\twidth: 100%;\n\t\tfont-weight: bold;\n\t\tpadding: var(--ck-list-button-padding);\n\t\tborder-radius: 0;\n\t\tcolor: inherit;\n\n\t\t&:focus {\n\t\t\tbackground: transparent;\n\t\t}\n\n\t\t&:active, &:not(:focus), &:hover:not(:focus) {\n\t\t\tbackground: transparent;\n\t\t\tborder-color: transparent;\n\t\t\tbox-shadow: none;\n\t\t}\n\n\t\t& > .ck-icon {\n\t\t\tmargin-right: var(--ck-spacing-medium);\n\t\t\twidth: var(--ck-collapsible-arrow-size);\n\t\t}\n\t}\n\n\t& > .ck-collapsible__children {\n\t\tpadding: var(--ck-spacing-medium) var(--ck-spacing-large) var(--ck-spacing-large);\n\t}\n\n\t&.ck-collapsible_collapsed {\n\t\t& > .ck.ck-button .ck-icon {\n\t\t\ttransform: rotate(-90deg);\n\t\t}\n\t}\n}\n"],sourceRoot:""}]);const a=s},7317:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var o=n(9372),i=n.n(o),r=n(935),s=n.n(r)()(i());s.push([t.id,".ck.ck-color-grid{display:grid}:root{--ck-color-grid-tile-size:24px;--ck-color-color-grid-check-icon:#166fd4}.ck.ck-color-grid{grid-gap:5px;padding:8px}.ck.ck-color-grid__tile{border:0;height:var(--ck-color-grid-tile-size);min-height:var(--ck-color-grid-tile-size);min-width:var(--ck-color-grid-tile-size);padding:0;transition:box-shadow .2s ease;width:var(--ck-color-grid-tile-size)}.ck.ck-color-grid__tile.ck-disabled{cursor:unset;transition:unset}.ck.ck-color-grid__tile.ck-color-selector__color-tile_bordered{box-shadow:0 0 0 1px var(--ck-color-base-border)}.ck.ck-color-grid__tile .ck.ck-icon{color:var(--ck-color-color-grid-check-icon);display:none}.ck.ck-color-grid__tile.ck-on{box-shadow:inset 0 0 0 1px var(--ck-color-base-background),0 0 0 2px var(--ck-color-base-text)}.ck.ck-color-grid__tile.ck-on .ck.ck-icon{display:block}.ck.ck-color-grid__tile.ck-on,.ck.ck-color-grid__tile:focus:not(.ck-disabled),.ck.ck-color-grid__tile:hover:not(.ck-disabled){border:0}.ck.ck-color-grid__tile:focus:not(.ck-disabled),.ck.ck-color-grid__tile:hover:not(.ck-disabled){box-shadow:inset 0 0 0 1px var(--ck-color-base-background),0 0 0 2px var(--ck-color-focus-border)}.ck.ck-color-grid__label{padding:0 var(--ck-spacing-standard)}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/colorgrid/colorgrid.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/colorgrid/colorgrid.css"],names:[],mappings:"AAKA,kBACC,YACD,CCAA,MACC,8BAA+B,CAK/B,wCACD,CAEA,kBACC,YAAa,CACb,WACD,CAEA,wBAOC,QAAS,CALT,qCAAsC,CAEtC,yCAA0C,CAD1C,wCAAyC,CAEzC,SAAU,CACV,8BAA+B,CAL/B,oCAyCD,CAjCC,oCACC,YAAa,CACb,gBACD,CAEA,+DACC,gDACD,CAEA,oCAEC,2CAA4C,CAD5C,YAED,CAEA,8BACC,8FAKD,CAHC,0CACC,aACD,CAGD,8HAIC,QACD,CAEA,gGAEC,iGACD,CAGD,yBACC,oCACD",sourcesContent:["/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-color-grid {\n\tdisplay: grid;\n}\n",'/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../../../mixins/_rounded.css";\n\n:root {\n\t--ck-color-grid-tile-size: 24px;\n\n\t/* Not using global colors here because these may change but some colors in a pallette\n\t * require special treatment. For instance, this ensures no matter what the UI text color is,\n\t * the check icon will look good on the black color tile. */\n\t--ck-color-color-grid-check-icon: hsl(212, 81%, 46%);\n}\n\n.ck.ck-color-grid {\n\tgrid-gap: 5px;\n\tpadding: 8px;\n}\n\n.ck.ck-color-grid__tile {\n\twidth: var(--ck-color-grid-tile-size);\n\theight: var(--ck-color-grid-tile-size);\n\tmin-width: var(--ck-color-grid-tile-size);\n\tmin-height: var(--ck-color-grid-tile-size);\n\tpadding: 0;\n\ttransition: .2s ease box-shadow;\n\tborder: 0;\n\n\t&.ck-disabled {\n\t\tcursor: unset;\n\t\ttransition: unset;\n\t}\n\n\t&.ck-color-selector__color-tile_bordered {\n\t\tbox-shadow: 0 0 0 1px var(--ck-color-base-border);\n\t}\n\n\t& .ck.ck-icon {\n\t\tdisplay: none;\n\t\tcolor: var(--ck-color-color-grid-check-icon);\n\t}\n\n\t&.ck-on {\n\t\tbox-shadow: inset 0 0 0 1px var(--ck-color-base-background), 0 0 0 2px var(--ck-color-base-text);\n\n\t\t& .ck.ck-icon {\n\t\t\tdisplay: block;\n\t\t}\n\t}\n\n\t&.ck-on,\n\t&:focus:not( .ck-disabled ),\n\t&:hover:not( .ck-disabled ) {\n\t\t/* Disable the default .ck-button\'s border ring. */\n\t\tborder: 0;\n\t}\n\n\t&:focus:not( .ck-disabled ),\n\t&:hover:not( .ck-disabled ) {\n\t\tbox-shadow: inset 0 0 0 1px var(--ck-color-base-background), 0 0 0 2px var(--ck-color-focus-border);\n\t}\n}\n\n.ck.ck-color-grid__label {\n\tpadding: 0 var(--ck-spacing-standard);\n}\n'],sourceRoot:""}]);const a=s},1905:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var o=n(9372),i=n.n(o),r=n(935),s=n.n(r)()(i());s.push([t.id,".color-picker-hex-input{width:max-content}.color-picker-hex-input .ck.ck-input{min-width:unset}.ck.ck-color-picker__row{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;margin:var(--ck-spacing-large) 0 0;width:unset}.ck.ck-color-picker__row .ck.ck-labeled-field-view{padding-top:unset}.ck.ck-color-picker__row .ck.ck-input-text{width:unset}.ck.ck-color-picker__row .ck-color-picker__hash-view{padding-right:var(--ck-spacing-medium);padding-top:var(--ck-spacing-tiny)}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/colorpicker/colorpicker.css"],names:[],mappings:"AAKA,wBACC,iBAKD,CAHC,qCACC,eACD,CAGD,yBACC,YAAa,CACb,kBAAmB,CACnB,gBAAiB,CACjB,6BAA8B,CAC9B,kCAAmC,CACnC,WAcD,CAZC,mDACC,iBACD,CAEA,2CACC,WACD,CAEA,qDAEC,sCAAuC,CADvC,kCAED",sourcesContent:["/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.color-picker-hex-input {\n\twidth: max-content;\n\n\t& .ck.ck-input {\n\t\tmin-width: unset;\n\t}\n}\n\n.ck.ck-color-picker__row {\n\tdisplay: flex;\n\tflex-direction: row;\n\tflex-wrap: nowrap;\n\tjustify-content: space-between;\n\tmargin: var(--ck-spacing-large) 0 0;\n\twidth: unset;\n\n\t& .ck.ck-labeled-field-view {\n\t\tpadding-top: unset;\n\t}\n\n\t& .ck.ck-input-text {\n\t\twidth: unset;\n\t}\n\n\t& .ck-color-picker__hash-view {\n\t\tpadding-top: var(--ck-spacing-tiny);\n\t\tpadding-right: var(--ck-spacing-medium);\n\t}\n}\n"],sourceRoot:""}]);const a=s},6309:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var o=n(9372),i=n.n(o),r=n(935),s=n.n(r)()(i());s.push([t.id,".ck.ck-color-selector .ck-color-grids-fragment .ck-button.ck-color-selector__color-picker,.ck.ck-color-selector .ck-color-grids-fragment .ck-button.ck-color-selector__remove-color{align-items:center;display:flex}[dir=rtl] .ck.ck-color-selector .ck-color-grids-fragment .ck-button.ck-color-selector__color-picker,[dir=rtl] .ck.ck-color-selector .ck-color-grids-fragment .ck-button.ck-color-selector__remove-color{justify-content:flex-start}.ck.ck-color-selector .ck-color-picker-fragment .ck.ck-color-selector_action-bar{display:flex;flex-direction:row;justify-content:space-around}.ck.ck-color-selector .ck-color-picker-fragment .ck.ck-color-selector_action-bar .ck-button-cancel,.ck.ck-color-selector .ck-color-picker-fragment .ck.ck-color-selector_action-bar .ck-button-save{flex:1}.ck.ck-color-selector .ck-color-grids-fragment .ck-button.ck-color-selector__color-picker,.ck.ck-color-selector .ck-color-grids-fragment .ck-button.ck-color-selector__remove-color{width:100%}.ck.ck-color-selector .ck-color-grids-fragment .ck-button.ck-color-selector__color-picker{border-bottom-left-radius:0;border-bottom-right-radius:0;padding:calc(var(--ck-spacing-standard)/2) var(--ck-spacing-standard)}.ck.ck-color-selector .ck-color-grids-fragment .ck-button.ck-color-selector__color-picker:not(:focus){border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-color-selector .ck-color-grids-fragment .ck-button.ck-color-selector__color-picker .ck.ck-icon{margin-right:var(--ck-spacing-standard)}[dir=rtl] .ck.ck-color-selector .ck-color-grids-fragment .ck-button.ck-color-selector__color-picker .ck.ck-icon{margin-left:var(--ck-spacing-standard)}.ck.ck-color-selector .ck-color-grids-fragment label.ck.ck-color-grid__label{font-weight:unset}.ck.ck-color-selector .ck-color-picker-fragment .ck.ck-color-picker{padding:8px}.ck.ck-color-selector .ck-color-picker-fragment .ck.ck-color-picker .hex-color-picker{height:100px;min-width:180px}.ck.ck-color-selector .ck-color-picker-fragment .ck.ck-color-picker .hex-color-picker::part(saturation){border-radius:var(--ck-border-radius) var(--ck-border-radius) 0 0}.ck.ck-color-selector .ck-color-picker-fragment .ck.ck-color-picker .hex-color-picker::part(hue){border-radius:0 0 var(--ck-border-radius) var(--ck-border-radius)}.ck.ck-color-selector .ck-color-picker-fragment .ck.ck-color-picker .hex-color-picker::part(hue-pointer),.ck.ck-color-selector .ck-color-picker-fragment .ck.ck-color-picker .hex-color-picker::part(saturation-pointer){height:15px;width:15px}.ck.ck-color-selector .ck-color-picker-fragment .ck.ck-color-selector_action-bar{padding:0 8px 8px}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/colorselector/colorselector.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/colorselector/colorselector.css"],names:[],mappings:"AAUE,oLAGC,kBAAmB,CADnB,YAMD,CARA,wMAME,0BAEF,CAKA,iFACC,YAAa,CACb,kBAAmB,CACnB,4BAMD,CAJC,oMAEC,MACD,CCrBD,oLAEC,UACD,CAEA,0FAEC,2BAA4B,CAC5B,4BAA6B,CAF7B,qEAiBD,CAbC,sGACC,gDACD,CAEA,gHAEE,uCAMF,CARA,gHAME,sCAEF,CAGD,6EACC,iBACD,CAKA,oEACC,WAoBD,CAlBC,sFACC,YAAa,CACb,eAeD,CAbC,wGACC,iEACD,CAEA,iGACC,iEACD,CAEA,yNAGC,WAAY,CADZ,UAED,CAIF,iFACC,iBACD",sourcesContent:['/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";\n\n.ck.ck-color-selector {\n\t/* View fragment with color grids. */\n\t& .ck-color-grids-fragment {\n\t\t& .ck-button.ck-color-selector__remove-color,\n\t\t& .ck-button.ck-color-selector__color-picker {\n\t\t\tdisplay: flex;\n\t\t\talign-items: center;\n\n\t\t\t@mixin ck-dir rtl {\n\t\t\t\tjustify-content: flex-start;\n\t\t\t}\n\t\t}\n\t}\n\n\t/* View fragment with a color picker. */\n\t& .ck-color-picker-fragment {\n\t\t& .ck.ck-color-selector_action-bar {\n\t\t\tdisplay: flex;\n\t\t\tflex-direction: row;\n\t\t\tjustify-content: space-around;\n\n\t\t\t& .ck-button-save,\n\t\t\t& .ck-button-cancel {\n\t\t\t\tflex: 1\n\t\t\t}\n\t\t}\n\t}\n}\n','/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";\n\n.ck.ck-color-selector {\n\t/* View fragment with color grids. */\n\t& .ck-color-grids-fragment {\n\t\t& .ck-button.ck-color-selector__remove-color,\n\t\t& .ck-button.ck-color-selector__color-picker {\n\t\t\twidth: 100%;\n\t\t}\n\n\t\t& .ck-button.ck-color-selector__color-picker {\n\t\t\tpadding: calc(var(--ck-spacing-standard) / 2) var(--ck-spacing-standard);\n\t\t\tborder-bottom-left-radius: 0;\n\t\t\tborder-bottom-right-radius: 0;\n\n\t\t\t&:not(:focus) {\n\t\t\t\tborder-top: 1px solid var(--ck-color-base-border);\n\t\t\t}\n\n\t\t\t& .ck.ck-icon {\n\t\t\t\t@mixin ck-dir ltr {\n\t\t\t\t\tmargin-right: var(--ck-spacing-standard);\n\t\t\t\t}\n\n\t\t\t\t@mixin ck-dir rtl {\n\t\t\t\t\tmargin-left: var(--ck-spacing-standard);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t& label.ck.ck-color-grid__label {\n\t\t\tfont-weight: unset;\n\t\t}\n\t}\n\n\t/* View fragment with a color picker. */\n\t& .ck-color-picker-fragment {\n\t\t& .ck.ck-color-picker {\n\t\t\tpadding: 8px;\n\n\t\t\t& .hex-color-picker {\n\t\t\t\theight: 100px;\n\t\t\t\tmin-width: 180px;\n\n\t\t\t\t&::part(saturation) {\n\t\t\t\t\tborder-radius: var(--ck-border-radius) var(--ck-border-radius) 0 0;\n\t\t\t\t}\n\n\t\t\t\t&::part(hue) {\n\t\t\t\t\tborder-radius: 0 0 var(--ck-border-radius) var(--ck-border-radius);\n\t\t\t\t}\n\n\t\t\t\t&::part(saturation-pointer),\n\t\t\t\t&::part(hue-pointer) {\n\t\t\t\t\twidth: 15px;\n\t\t\t\t\theight: 15px;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t& .ck.ck-color-selector_action-bar {\n\t\t\tpadding: 0 8px 8px;\n\t\t}\n\t}\n}\n'],sourceRoot:""}]);const a=s},9819:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var o=n(9372),i=n.n(o),r=n(935),s=n.n(r)()(i());s.push([t.id,".ck.ck-dialog-overlay{bottom:0;left:0;overscroll-behavior:none;position:fixed;right:0;top:0;user-select:none}.ck.ck-dialog-overlay.ck-dialog-overlay__transparent{animation:none;background:none;pointer-events:none}.ck.ck-dialog{overscroll-behavior:none;position:absolute;width:fit-content}.ck.ck-dialog .ck.ck-form__header{flex-shrink:0}.ck.ck-dialog .ck.ck-form__header .ck-form__header__label{cursor:grab}.ck.ck-dialog-overlay.ck-dialog-overlay__transparent .ck.ck-dialog{pointer-events:all}:root{--ck-dialog-overlay-background-color:rgba(0,0,0,.5);--ck-dialog-drop-shadow:0px 0px 6px 2px rgba(0,0,0,.15);--ck-dialog-max-width:100vw;--ck-dialog-max-height:90vh;--ck-color-dialog-background:var(--ck-color-base-background);--ck-color-dialog-form-header-border:var(--ck-color-base-border)}.ck.ck-dialog-overlay{animation:ck-dialog-fade-in .3s;background:var(--ck-dialog-overlay-background-color);z-index:var(--ck-z-dialog)}.ck.ck-dialog{border-radius:0}.ck-rounded-corners .ck.ck-dialog,.ck.ck-dialog.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck.ck-dialog{--ck-drop-shadow:var(--ck-dialog-drop-shadow);background:var(--ck-color-dialog-background);border:1px solid var(--ck-color-base-border);box-shadow:var(--ck-drop-shadow),0 0;max-height:var(--ck-dialog-max-height);max-width:var(--ck-dialog-max-width)}.ck.ck-dialog .ck.ck-form__header{border-bottom:1px solid var(--ck-color-dialog-form-header-border)}@keyframes ck-dialog-fade-in{0%{background:transparent}to{background:var(--ck-dialog-overlay-background-color)}}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/dialog/dialog.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/dialog/dialog.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_rounded.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_shadow.css"],names:[],mappings:"AAKA,sBAKC,QAAS,CACT,MAAO,CAJP,wBAAyB,CAEzB,cAAe,CAGf,OAAQ,CACR,KAAM,CAPN,gBAcD,CALC,qDAEC,cAAe,CACf,eAAgB,CAFhB,mBAGD,CAGD,cACC,wBAAyB,CAEzB,iBAAkB,CADlB,iBAcD,CAXC,kCACC,aAKD,CAHC,0DACC,WACD,CAVF,mEAcE,kBAEF,CC7BA,MACC,mDAA2D,CAC3D,uDAA8D,CAC9D,2BAA4B,CAC5B,2BAA4B,CAC5B,4DAA6D,CAC7D,gEACD,CAEA,sBACC,+BAAgC,CAChC,oDAAqD,CACrD,0BACD,CAEA,cCbC,eD2BD,CAdA,mECTE,qCDuBF,CAdA,cAIC,6CAA8C,CAE9C,4CAA6C,CAG7C,4CAA6C,CExB7C,oCAA8B,CFsB9B,sCAAuC,CACvC,oCAMD,CAHC,kCACC,iEACD,CAGD,6BACC,GACC,sBACD,CAEA,GACC,oDACD,CACD",sourcesContent:["/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-dialog-overlay {\n\tuser-select: none;\n\toverscroll-behavior: none;\n\n\tposition: fixed;\n\tbottom: 0;\n\tleft: 0;\n\tright: 0;\n\ttop: 0;\n\n\t&.ck-dialog-overlay__transparent {\n\t\tpointer-events: none;\n\t\tanimation: none;\n\t\tbackground: none;\n\t}\n}\n\n.ck.ck-dialog {\n\toverscroll-behavior: none;\n\twidth: fit-content;\n\tposition: absolute;\n\n\t& .ck.ck-form__header {\n\t\tflex-shrink: 0;\n\n\t\t& .ck-form__header__label {\n\t\t\tcursor: grab;\n\t\t}\n\t}\n\n\t@nest .ck.ck-dialog-overlay.ck-dialog-overlay__transparent & {\n\t\tpointer-events: all;\n\t}\n}\n",'/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../../../mixins/_rounded.css";\n@import "../../../mixins/_shadow.css";\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_rwd.css";\n\n:root {\n\t--ck-dialog-overlay-background-color: hsla( 0, 0%, 0%, .5 );\n\t--ck-dialog-drop-shadow: 0px 0px 6px 2px hsl(0deg 0% 0% / 15%);\n\t--ck-dialog-max-width: 100vw;\n\t--ck-dialog-max-height: 90vh;\n\t--ck-color-dialog-background: var(--ck-color-base-background);\n\t--ck-color-dialog-form-header-border: var(--ck-color-base-border);\n}\n\n.ck.ck-dialog-overlay {\n\tanimation: ck-dialog-fade-in .3s;\n\tbackground: var(--ck-dialog-overlay-background-color);\n\tz-index: var(--ck-z-dialog);\n}\n\n.ck.ck-dialog {\n\t@mixin ck-rounded-corners;\n\t@mixin ck-drop-shadow;\n\n\t--ck-drop-shadow: var(--ck-dialog-drop-shadow);\n\n\tbackground: var(--ck-color-dialog-background);\n\tmax-height: var(--ck-dialog-max-height);\n\tmax-width: var(--ck-dialog-max-width);\n\tborder: 1px solid var(--ck-color-base-border);\n\n\t& .ck.ck-form__header {\n\t\tborder-bottom: 1px solid var(--ck-color-dialog-form-header-border);\n\t}\n}\n\n@keyframes ck-dialog-fade-in {\n\t0% {\n\t\tbackground: hsla( 0, 0%, 0%, 0 );\n\t}\n\n\t100% {\n\t\tbackground: var(--ck-dialog-overlay-background-color);\n\t}\n}\n',"/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Implements rounded corner interface for .ck-rounded-corners class.\n *\n * @see $ck-border-radius\n */\n@define-mixin ck-rounded-corners {\n\tborder-radius: 0;\n\n\t@nest .ck-rounded-corners &,\n\t&.ck-rounded-corners {\n\t\tborder-radius: var(--ck-border-radius);\n\t\t@mixin-content;\n\t}\n}\n","/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * A helper to combine multiple shadows.\n */\n@define-mixin ck-box-shadow $shadowA, $shadowB: 0 0 {\n\tbox-shadow: $shadowA, $shadowB;\n}\n\n/**\n * Gives an element a drop shadow so it looks like a floating panel.\n */\n@define-mixin ck-drop-shadow {\n\t@mixin ck-box-shadow var(--ck-drop-shadow);\n}\n"],sourceRoot:""}]);const a=s},9822:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var o=n(9372),i=n.n(o),r=n(935),s=n.n(r)()(i());s.push([t.id,".ck.ck-dialog .ck.ck-dialog__actions{display:flex;justify-content:flex-end;padding:var(--ck-spacing-large)}.ck.ck-dialog .ck.ck-dialog__actions>*+*{margin-left:var(--ck-spacing-large)}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/dialog/dialogactions.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/dialog/dialogactions.css"],names:[],mappings:"AAMC,qCACC,YAAa,CACb,wBAAyB,CCDzB,+BDED,CCAC,yCACC,mCACD",sourcesContent:["/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-dialog {\n\t& .ck.ck-dialog__actions {\n\t\tdisplay: flex;\n\t\tjustify-content: flex-end;\n\t}\n}\n","/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-dialog {\n\t& .ck.ck-dialog__actions {\n\t\tpadding: var(--ck-spacing-large);\n\n\t\t& > * + * {\n\t\t\tmargin-left: var(--ck-spacing-large);\n\t\t}\n\t}\n}\n"],sourceRoot:""}]);const a=s},8149:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var o=n(9372),i=n.n(o),r=n(935),s=n.n(r)()(i());s.push([t.id,":root{--ck-dropdown-max-width:75vw}.ck.ck-dropdown{display:inline-block;position:relative}.ck.ck-dropdown .ck-dropdown__arrow{pointer-events:none;z-index:var(--ck-z-default)}.ck.ck-dropdown .ck-button.ck-dropdown__button{width:100%}.ck.ck-dropdown .ck-dropdown__panel{display:none;max-width:var(--ck-dropdown-max-width);position:absolute;z-index:var(--ck-z-panel)}.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel-visible{display:inline-block}.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_n,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_ne,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_nme,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_nmw,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_nw{bottom:100%}.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_s,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_se,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_sme,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_smw,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_sw{bottom:auto;top:100%}.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_ne,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_se{left:0}.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_nw,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_sw{right:0}.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_n,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_s{left:50%;transform:translateX(-50%)}.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_nmw,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_smw{left:75%;transform:translateX(-75%)}.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_nme,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_sme{left:25%;transform:translateX(-25%)}.ck.ck-toolbar .ck-dropdown__panel{z-index:calc(var(--ck-z-panel) + 1)}:root{--ck-dropdown-arrow-size:calc(var(--ck-icon-size)*0.5)}.ck.ck-dropdown{font-size:inherit}.ck.ck-dropdown .ck-dropdown__arrow{width:var(--ck-dropdown-arrow-size)}[dir=ltr] .ck.ck-dropdown .ck-dropdown__arrow{margin-left:var(--ck-spacing-standard);right:var(--ck-spacing-standard)}[dir=rtl] .ck.ck-dropdown .ck-dropdown__arrow{left:var(--ck-spacing-standard);margin-right:var(--ck-spacing-small)}.ck.ck-dropdown.ck-disabled .ck-dropdown__arrow{opacity:var(--ck-disabled-opacity)}[dir=ltr] .ck.ck-dropdown .ck-button.ck-dropdown__button:not(.ck-button_with-text){padding-left:var(--ck-spacing-small)}[dir=rtl] .ck.ck-dropdown .ck-button.ck-dropdown__button:not(.ck-button_with-text){padding-right:var(--ck-spacing-small)}.ck.ck-dropdown .ck-button.ck-dropdown__button .ck-button__label{overflow:hidden;text-overflow:ellipsis;width:7em}.ck.ck-dropdown .ck-button.ck-dropdown__button.ck-disabled .ck-button__label{opacity:var(--ck-disabled-opacity)}.ck.ck-dropdown .ck-button.ck-dropdown__button.ck-on{border-bottom-left-radius:0;border-bottom-right-radius:0}.ck.ck-dropdown .ck-button.ck-dropdown__button.ck-dropdown__button_label-width_auto .ck-button__label{width:auto}.ck.ck-dropdown .ck-button.ck-dropdown__button.ck-off:active,.ck.ck-dropdown .ck-button.ck-dropdown__button.ck-on:active{box-shadow:none}.ck.ck-dropdown .ck-button.ck-dropdown__button.ck-off:active:focus,.ck.ck-dropdown .ck-button.ck-dropdown__button.ck-on:active:focus{box-shadow:var(--ck-focus-outer-shadow),0 0}.ck.ck-dropdown__panel{border-radius:0}.ck-rounded-corners .ck.ck-dropdown__panel,.ck.ck-dropdown__panel.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck.ck-dropdown__panel{background:var(--ck-color-dropdown-panel-background);border:1px solid var(--ck-color-dropdown-panel-border);bottom:0;box-shadow:var(--ck-drop-shadow),0 0;min-width:100%}.ck.ck-dropdown__panel.ck-dropdown__panel_se{border-top-left-radius:0}.ck.ck-dropdown__panel.ck-dropdown__panel_sw{border-top-right-radius:0}.ck.ck-dropdown__panel.ck-dropdown__panel_ne{border-bottom-left-radius:0}.ck.ck-dropdown__panel.ck-dropdown__panel_nw{border-bottom-right-radius:0}.ck.ck-dropdown__panel:focus{outline:none}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/dropdown/dropdown.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/dropdown/dropdown.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_disabled.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_shadow.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_rounded.css"],names:[],mappings:"AAKA,MACC,4BACD,CAEA,gBACC,oBAAqB,CACrB,iBA2ED,CAzEC,oCACC,mBAAoB,CACpB,2BACD,CAGA,+CACC,UACD,CAEA,oCACC,YAAa,CAEb,sCAAuC,CAEvC,iBAAkB,CAHlB,yBA4DD,CAvDC,+DACC,oBACD,CAEA,mSAKC,WACD,CAEA,mSAUC,WAAY,CADZ,QAED,CAEA,oHAEC,MACD,CAEA,oHAEC,OACD,CAEA,kHAGC,QAAS,CACT,0BACD,CAEA,sHAGC,QAAS,CACT,0BACD,CAEA,sHAGC,QAAS,CACT,0BACD,CAQF,mCACC,mCACD,CCpFA,MACC,sDACD,CAEA,gBAEC,iBA2ED,CAzEC,oCACC,mCACD,CAGC,8CAIC,sCAAuC,CAHvC,gCAID,CAIA,8CACC,+BAAgC,CAGhC,oCACD,CAGD,gDC/BA,kCDiCA,CAIE,mFAEC,oCACD,CAIA,mFAEC,qCACD,CAID,iEAEC,eAAgB,CAChB,sBAAuB,CAFvB,SAGD,CAGA,6EC1DD,kCD4DC,CAGA,qDACC,2BAA4B,CAC5B,4BACD,CAEA,sGACC,UACD,CAGA,yHAEC,eAKD,CAHC,qIE7EF,2CF+EE,CAKH,uBGlFC,eHkHD,CAhCA,qFG9EE,qCH8GF,CAhCA,uBAIC,oDAAqD,CACrD,sDAAuD,CACvD,QAAS,CE1FT,oCAA8B,CF6F9B,cAuBD,CAnBC,6CACC,wBACD,CAEA,6CACC,yBACD,CAEA,6CACC,2BACD,CAEA,6CACC,4BACD,CAEA,6BACC,YACD",sourcesContent:["/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-dropdown-max-width: 75vw;\n}\n\n.ck.ck-dropdown {\n\tdisplay: inline-block;\n\tposition: relative;\n\n\t& .ck-dropdown__arrow {\n\t\tpointer-events: none;\n\t\tz-index: var(--ck-z-default);\n\t}\n\n\t/* Dropdown button should span horizontally, e.g. in vertical toolbars */\n\t& .ck-button.ck-dropdown__button {\n\t\twidth: 100%;\n\t}\n\n\t& .ck-dropdown__panel {\n\t\tdisplay: none;\n\t\tz-index: var(--ck-z-panel);\n\t\tmax-width: var(--ck-dropdown-max-width);\n\n\t\tposition: absolute;\n\n\t\t&.ck-dropdown__panel-visible {\n\t\t\tdisplay: inline-block;\n\t\t}\n\n\t\t&.ck-dropdown__panel_ne,\n\t\t&.ck-dropdown__panel_nw,\n\t\t&.ck-dropdown__panel_n,\n\t\t&.ck-dropdown__panel_nmw,\n\t\t&.ck-dropdown__panel_nme {\n\t\t\tbottom: 100%;\n\t\t}\n\n\t\t&.ck-dropdown__panel_se,\n\t\t&.ck-dropdown__panel_sw,\n\t\t&.ck-dropdown__panel_smw,\n\t\t&.ck-dropdown__panel_sme,\n\t\t&.ck-dropdown__panel_s {\n\t\t\t/*\n\t\t\t * Using transform: translate3d( 0, 100%, 0 ) causes blurry dropdown on Chrome 67-78+ on non-retina displays.\n\t\t\t * See https://github.com/ckeditor/ckeditor5/issues/1053.\n\t\t\t */\n\t\t\ttop: 100%;\n\t\t\tbottom: auto;\n\t\t}\n\n\t\t&.ck-dropdown__panel_ne,\n\t\t&.ck-dropdown__panel_se {\n\t\t\tleft: 0px;\n\t\t}\n\n\t\t&.ck-dropdown__panel_nw,\n\t\t&.ck-dropdown__panel_sw {\n\t\t\tright: 0px;\n\t\t}\n\n\t\t&.ck-dropdown__panel_s,\n\t\t&.ck-dropdown__panel_n {\n\t\t\t/* Positioning panels relative to the center of the button */\n\t\t\tleft: 50%;\n\t\t\ttransform: translateX(-50%);\n\t\t}\n\n\t\t&.ck-dropdown__panel_nmw,\n\t\t&.ck-dropdown__panel_smw {\n\t\t\t/* Positioning panels relative to the middle-west of the button */\n\t\t\tleft: 75%;\n\t\t\ttransform: translateX(-75%);\n\t\t}\n\n\t\t&.ck-dropdown__panel_nme,\n\t\t&.ck-dropdown__panel_sme {\n\t\t\t/* Positioning panels relative to the middle-east of the button */\n\t\t\tleft: 25%;\n\t\t\ttransform: translateX(-25%);\n\t\t}\n\t}\n}\n\n/*\n * Toolbar dropdown panels should be always above the UI (eg. other dropdown panels) from the editor's content.\n * See https://github.com/ckeditor/ckeditor5/issues/7874\n */\n.ck.ck-toolbar .ck-dropdown__panel {\n\tz-index: calc( var(--ck-z-panel) + 1 );\n}\n",'/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../../../mixins/_rounded.css";\n@import "../../../mixins/_disabled.css";\n@import "../../../mixins/_shadow.css";\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";\n\n:root {\n\t--ck-dropdown-arrow-size: calc(0.5 * var(--ck-icon-size));\n}\n\n.ck.ck-dropdown {\n\t/* Enable font size inheritance, which allows fluid UI scaling. */\n\tfont-size: inherit;\n\n\t& .ck-dropdown__arrow {\n\t\twidth: var(--ck-dropdown-arrow-size);\n\t}\n\n\t@mixin ck-dir ltr {\n\t\t& .ck-dropdown__arrow {\n\t\t\tright: var(--ck-spacing-standard);\n\n\t\t\t/* A space to accommodate the triangle. */\n\t\t\tmargin-left: var(--ck-spacing-standard);\n\t\t}\n\t}\n\n\t@mixin ck-dir rtl {\n\t\t& .ck-dropdown__arrow {\n\t\t\tleft: var(--ck-spacing-standard);\n\n\t\t\t/* A space to accommodate the triangle. */\n\t\t\tmargin-right: var(--ck-spacing-small);\n\t\t}\n\t}\n\n\t&.ck-disabled .ck-dropdown__arrow {\n\t\t@mixin ck-disabled;\n\t}\n\n\t& .ck-button.ck-dropdown__button {\n\t\t@mixin ck-dir ltr {\n\t\t\t&:not(.ck-button_with-text) {\n\t\t\t\t/* Make sure dropdowns with just an icon have the right inner spacing */\n\t\t\t\tpadding-left: var(--ck-spacing-small);\n\t\t\t}\n\t\t}\n\n\t\t@mixin ck-dir rtl {\n\t\t\t&:not(.ck-button_with-text) {\n\t\t\t\t/* Make sure dropdowns with just an icon have the right inner spacing */\n\t\t\t\tpadding-right: var(--ck-spacing-small);\n\t\t\t}\n\t\t}\n\n\t\t/* #23 */\n\t\t& .ck-button__label {\n\t\t\twidth: 7em;\n\t\t\toverflow: hidden;\n\t\t\ttext-overflow: ellipsis;\n\t\t}\n\n\t\t/* https://github.com/ckeditor/ckeditor5-theme-lark/issues/70 */\n\t\t&.ck-disabled .ck-button__label {\n\t\t\t@mixin ck-disabled;\n\t\t}\n\n\t\t/* https://github.com/ckeditor/ckeditor5/issues/816 */\n\t\t&.ck-on {\n\t\t\tborder-bottom-left-radius: 0;\n\t\t\tborder-bottom-right-radius: 0;\n\t\t}\n\n\t\t&.ck-dropdown__button_label-width_auto .ck-button__label {\n\t\t\twidth: auto;\n\t\t}\n\n\t\t/* https://github.com/ckeditor/ckeditor5/issues/8699 */\n\t\t&.ck-off:active,\n\t\t&.ck-on:active {\n\t\t\tbox-shadow: none;\n\n\t\t\t&:focus {\n\t\t\t\t@mixin ck-box-shadow var(--ck-focus-outer-shadow);\n\t\t\t}\n\t\t}\n\t}\n}\n\n.ck.ck-dropdown__panel {\n\t@mixin ck-rounded-corners;\n\t@mixin ck-drop-shadow;\n\n\tbackground: var(--ck-color-dropdown-panel-background);\n\tborder: 1px solid var(--ck-color-dropdown-panel-border);\n\tbottom: 0;\n\n\t/* Make sure the panel is at least as wide as the drop-down\'s button. */\n\tmin-width: 100%;\n\n\t/* Disabled corner border radius to be consistent with the .dropdown__button\n\thttps://github.com/ckeditor/ckeditor5/issues/816 */\n\t&.ck-dropdown__panel_se {\n\t\tborder-top-left-radius: 0;\n\t}\n\n\t&.ck-dropdown__panel_sw {\n\t\tborder-top-right-radius: 0;\n\t}\n\n\t&.ck-dropdown__panel_ne {\n\t\tborder-bottom-left-radius: 0;\n\t}\n\n\t&.ck-dropdown__panel_nw {\n\t\tborder-bottom-right-radius: 0;\n\t}\n\n\t&:focus {\n\t\toutline: none;\n\t}\n}\n',"/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * A class which indicates that an element holding it is disabled.\n */\n@define-mixin ck-disabled {\n\topacity: var(--ck-disabled-opacity);\n}\n","/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * A helper to combine multiple shadows.\n */\n@define-mixin ck-box-shadow $shadowA, $shadowB: 0 0 {\n\tbox-shadow: $shadowA, $shadowB;\n}\n\n/**\n * Gives an element a drop shadow so it looks like a floating panel.\n */\n@define-mixin ck-drop-shadow {\n\t@mixin ck-box-shadow var(--ck-drop-shadow);\n}\n","/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Implements rounded corner interface for .ck-rounded-corners class.\n *\n * @see $ck-border-radius\n */\n@define-mixin ck-rounded-corners {\n\tborder-radius: 0;\n\n\t@nest .ck-rounded-corners &,\n\t&.ck-rounded-corners {\n\t\tborder-radius: var(--ck-border-radius);\n\t\t@mixin-content;\n\t}\n}\n"],sourceRoot:""}]);const a=s},3629:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var o=n(9372),i=n.n(o),r=n(935),s=n.n(r)()(i());s.push([t.id,".ck.ck-dropdown>.ck-dropdown__panel>.ck-list{border-radius:0}.ck-rounded-corners .ck.ck-dropdown>.ck-dropdown__panel>.ck-list,.ck.ck-dropdown>.ck-dropdown__panel>.ck-list.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0}.ck.ck-dropdown>.ck-dropdown__panel>.ck-list .ck-list__item:first-child>.ck-button{border-radius:0}.ck-rounded-corners .ck.ck-dropdown>.ck-dropdown__panel>.ck-list .ck-list__item:first-child>.ck-button,.ck.ck-dropdown>.ck-dropdown__panel>.ck-list .ck-list__item:first-child>.ck-button.ck-rounded-corners{border-radius:var(--ck-border-radius);border-bottom-left-radius:0;border-bottom-right-radius:0;border-top-left-radius:0}.ck.ck-dropdown>.ck-dropdown__panel>.ck-list .ck-list__item:last-child>.ck-button{border-radius:0}.ck-rounded-corners .ck.ck-dropdown>.ck-dropdown__panel>.ck-list .ck-list__item:last-child>.ck-button,.ck.ck-dropdown>.ck-dropdown__panel>.ck-list .ck-list__item:last-child>.ck-button.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0;border-top-right-radius:0}","",{version:3,sources:["webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/dropdown/listdropdown.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_rounded.css"],names:[],mappings:"AAOA,6CCIC,eDqBD,CAzBA,iICQE,qCAAsC,CDJtC,wBAqBF,CAfE,mFCND,eDYC,CANA,6MCFA,qCAAsC,CDKpC,2BAA4B,CAC5B,4BAA6B,CAF7B,wBAIF,CAEA,kFCdD,eDmBC,CALA,2MCVA,qCAAsC,CDYpC,wBAAyB,CACzB,yBAEF",sourcesContent:['/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../../../mixins/_rounded.css";\n\n.ck.ck-dropdown > .ck-dropdown__panel > .ck-list {\n\t/* Disabled radius of top-left border to be consistent with .dropdown__button\n\thttps://github.com/ckeditor/ckeditor5/issues/816 */\n\t@mixin ck-rounded-corners {\n\t\tborder-top-left-radius: 0;\n\t}\n\n\t/* Make sure the button belonging to the first/last child of the list goes well with the\n\tborder radius of the entire panel. */\n\t& .ck-list__item {\n\t\t&:first-child > .ck-button {\n\t\t\t@mixin ck-rounded-corners {\n\t\t\t\tborder-top-left-radius: 0;\n\t\t\t\tborder-bottom-left-radius: 0;\n\t\t\t\tborder-bottom-right-radius: 0;\n\t\t\t}\n\t\t}\n\n\t\t&:last-child > .ck-button {\n\t\t\t@mixin ck-rounded-corners {\n\t\t\t\tborder-top-left-radius: 0;\n\t\t\t\tborder-top-right-radius: 0;\n\t\t\t}\n\t\t}\n\t}\n}\n',"/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Implements rounded corner interface for .ck-rounded-corners class.\n *\n * @see $ck-border-radius\n */\n@define-mixin ck-rounded-corners {\n\tborder-radius: 0;\n\n\t@nest .ck-rounded-corners &,\n\t&.ck-rounded-corners {\n\t\tborder-radius: var(--ck-border-radius);\n\t\t@mixin-content;\n\t}\n}\n"],sourceRoot:""}]);const a=s},1792:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var o=n(9372),i=n.n(o),r=n(935),s=n.n(r)()(i());s.push([t.id,'.ck.ck-splitbutton{font-size:inherit}.ck.ck-splitbutton .ck-splitbutton__action:focus{z-index:calc(var(--ck-z-default) + 1)}:root{--ck-color-split-button-hover-background:#ebebeb;--ck-color-split-button-hover-border:#b3b3b3}[dir=ltr] .ck.ck-splitbutton.ck-splitbutton_open>.ck-splitbutton__action,[dir=ltr] .ck.ck-splitbutton:hover>.ck-splitbutton__action{border-bottom-right-radius:unset;border-top-right-radius:unset}[dir=rtl] .ck.ck-splitbutton.ck-splitbutton_open>.ck-splitbutton__action,[dir=rtl] .ck.ck-splitbutton:hover>.ck-splitbutton__action{border-bottom-left-radius:unset;border-top-left-radius:unset}.ck.ck-splitbutton>.ck-splitbutton__arrow{min-width:unset}[dir=ltr] .ck.ck-splitbutton>.ck-splitbutton__arrow{border-bottom-left-radius:unset;border-top-left-radius:unset}[dir=rtl] .ck.ck-splitbutton>.ck-splitbutton__arrow{border-bottom-right-radius:unset;border-top-right-radius:unset}.ck.ck-splitbutton>.ck-splitbutton__arrow svg{width:var(--ck-dropdown-arrow-size)}.ck.ck-splitbutton>.ck-splitbutton__arrow:not(:focus){border-bottom-width:0;border-top-width:0}.ck.ck-splitbutton.ck-splitbutton_open>.ck-button:not(.ck-on):not(.ck-disabled):not(:hover),.ck.ck-splitbutton:hover>.ck-button:not(.ck-on):not(.ck-disabled):not(:hover){background:var(--ck-color-split-button-hover-background)}.ck.ck-splitbutton.ck-splitbutton_open>.ck-splitbutton__arrow:not(.ck-disabled):after,.ck.ck-splitbutton:hover>.ck-splitbutton__arrow:not(.ck-disabled):after{background-color:var(--ck-color-split-button-hover-border);content:"";height:100%;position:absolute;width:1px}.ck.ck-splitbutton.ck-splitbutton_open>.ck-splitbutton__arrow:focus:after,.ck.ck-splitbutton:hover>.ck-splitbutton__arrow:focus:after{--ck-color-split-button-hover-border:var(--ck-color-focus-border)}[dir=ltr] .ck.ck-splitbutton.ck-splitbutton_open>.ck-splitbutton__arrow:not(.ck-disabled):after,[dir=ltr] .ck.ck-splitbutton:hover>.ck-splitbutton__arrow:not(.ck-disabled):after{left:-1px}[dir=rtl] .ck.ck-splitbutton.ck-splitbutton_open>.ck-splitbutton__arrow:not(.ck-disabled):after,[dir=rtl] .ck.ck-splitbutton:hover>.ck-splitbutton__arrow:not(.ck-disabled):after{right:-1px}.ck.ck-splitbutton.ck-splitbutton_open{border-radius:0}.ck-rounded-corners .ck.ck-splitbutton.ck-splitbutton_open,.ck.ck-splitbutton.ck-splitbutton_open.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck-rounded-corners .ck.ck-splitbutton.ck-splitbutton_open>.ck-splitbutton__action,.ck.ck-splitbutton.ck-splitbutton_open.ck-rounded-corners>.ck-splitbutton__action{border-bottom-left-radius:0}.ck-rounded-corners .ck.ck-splitbutton.ck-splitbutton_open>.ck-splitbutton__arrow,.ck.ck-splitbutton.ck-splitbutton_open.ck-rounded-corners>.ck-splitbutton__arrow{border-bottom-right-radius:0}',"",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/dropdown/splitbutton.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/dropdown/splitbutton.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_rounded.css"],names:[],mappings:"AAKA,mBAEC,iBAKD,CAHC,iDACC,qCACD,CCJD,MACC,gDAAyD,CACzD,4CACD,CAMC,oIAKE,gCAAiC,CADjC,6BASF,CAbA,oIAWE,+BAAgC,CADhC,4BAGF,CAEA,0CAGC,eAiBD,CApBA,oDAQE,+BAAgC,CADhC,4BAaF,CApBA,oDAcE,gCAAiC,CADjC,6BAOF,CAHC,8CACC,mCACD,CAKD,sDAEC,qBAAwB,CADxB,kBAED,CAQC,0KACC,wDACD,CAIA,8JAKC,0DAA2D,CAJ3D,UAAW,CAGX,WAAY,CAFZ,iBAAkB,CAClB,SAGD,CAGA,sIACC,iEACD,CAGC,kLACC,SACD,CAIA,kLACC,UACD,CAMF,uCCzFA,eDmGA,CAVA,qHCrFC,qCD+FD,CARE,qKACC,2BACD,CAEA,mKACC,4BACD",sourcesContent:["/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-splitbutton {\n\t/* Enable font size inheritance, which allows fluid UI scaling. */\n\tfont-size: inherit;\n\n\t& .ck-splitbutton__action:focus {\n\t\tz-index: calc(var(--ck-z-default) + 1);\n\t}\n}\n\n",'/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../../../mixins/_rounded.css";\n\n:root {\n\t--ck-color-split-button-hover-background: hsl(0, 0%, 92%);\n\t--ck-color-split-button-hover-border: hsl(0, 0%, 70%);\n}\n\n.ck.ck-splitbutton {\n\t/*\n\t * Note: ck-rounded and ck-dir mixins don\'t go together (because they both use @nest).\n\t */\n\t&:hover > .ck-splitbutton__action,\n\t&.ck-splitbutton_open > .ck-splitbutton__action {\n\t\t@nest [dir="ltr"] & {\n\t\t\t/* Don\'t round the action button on the right side */\n\t\t\tborder-top-right-radius: unset;\n\t\t\tborder-bottom-right-radius: unset;\n\t\t}\n\n\t\t@nest [dir="rtl"] & {\n\t\t\t/* Don\'t round the action button on the left side */\n\t\t\tborder-top-left-radius: unset;\n\t\t\tborder-bottom-left-radius: unset;\n\t\t}\n\t}\n\n\t& > .ck-splitbutton__arrow {\n\t\t/* It\'s a text-less button and since the icon is positioned absolutely in such situation,\n\t\tit must get some arbitrary min-width. */\n\t\tmin-width: unset;\n\n\t\t@nest [dir="ltr"] & {\n\t\t\t/* Don\'t round the arrow button on the left side */\n\t\t\tborder-top-left-radius: unset;\n\t\t\tborder-bottom-left-radius: unset;\n\t\t}\n\n\t\t@nest [dir="rtl"] & {\n\t\t\t/* Don\'t round the arrow button on the right side */\n\t\t\tborder-top-right-radius: unset;\n\t\t\tborder-bottom-right-radius: unset;\n\t\t}\n\n\t\t& svg {\n\t\t\twidth: var(--ck-dropdown-arrow-size);\n\t\t}\n\t}\n\n\t/* Make sure the divider stretches 100% height of the button\n\thttps://github.com/ckeditor/ckeditor5/issues/10936 */\n\t& > .ck-splitbutton__arrow:not(:focus) {\n\t\tborder-top-width: 0px;\n\t\tborder-bottom-width: 0px;\n\t}\n\n\t/* When the split button is "open" (the arrow is on) or being hovered, it should get some styling\n\tas a whole. The background of both buttons should stand out and there should be a visual\n\tseparation between both buttons. */\n\t&.ck-splitbutton_open,\n\t&:hover {\n\t\t/* When the split button hovered as a whole, not as individual buttons. */\n\t\t& > .ck-button:not(.ck-on):not(.ck-disabled):not(:hover) {\n\t\t\tbackground: var(--ck-color-split-button-hover-background);\n\t\t}\n\n\t\t/* Splitbutton separator needs to be set with the ::after pseudoselector\n\t\tto display properly the borders on focus */\n\t\t& > .ck-splitbutton__arrow:not(.ck-disabled)::after {\n\t\t\tcontent: \'\';\n\t\t\tposition: absolute;\n\t\t\twidth: 1px;\n\t\t\theight: 100%;\n\t\t\tbackground-color: var(--ck-color-split-button-hover-border);\n\t\t}\n\n\t\t/* Make sure the divider between the buttons looks fine when the button is focused */\n\t\t& > .ck-splitbutton__arrow:focus::after {\n\t\t\t--ck-color-split-button-hover-border: var(--ck-color-focus-border);\n\t\t}\n\n\t\t@nest [dir="ltr"] & {\n\t\t\t& > .ck-splitbutton__arrow:not(.ck-disabled)::after {\n\t\t\t\tleft: -1px;\n\t\t\t}\n\t\t}\n\n\t\t@nest [dir="rtl"] & {\n\t\t\t& > .ck-splitbutton__arrow:not(.ck-disabled)::after {\n\t\t\t\tright: -1px;\n\t\t\t}\n\t\t}\n\t}\n\n\t/* Don\'t round the bottom left and right corners of the buttons when "open"\n\thttps://github.com/ckeditor/ckeditor5/issues/816 */\n\t&.ck-splitbutton_open {\n\t\t@mixin ck-rounded-corners {\n\t\t\t& > .ck-splitbutton__action {\n\t\t\t\tborder-bottom-left-radius: 0;\n\t\t\t}\n\n\t\t\t& > .ck-splitbutton__arrow {\n\t\t\t\tborder-bottom-right-radius: 0;\n\t\t\t}\n\t\t}\n\t}\n}\n',"/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Implements rounded corner interface for .ck-rounded-corners class.\n *\n * @see $ck-border-radius\n */\n@define-mixin ck-rounded-corners {\n\tborder-radius: 0;\n\n\t@nest .ck-rounded-corners &,\n\t&.ck-rounded-corners {\n\t\tborder-radius: var(--ck-border-radius);\n\t\t@mixin-content;\n\t}\n}\n"],sourceRoot:""}]);const a=s},1666:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var o=n(9372),i=n.n(o),r=n(935),s=n.n(r)()(i());s.push([t.id,":root{--ck-toolbar-dropdown-max-width:60vw}.ck.ck-toolbar-dropdown>.ck-dropdown__panel{max-width:var(--ck-toolbar-dropdown-max-width);width:max-content}.ck.ck-toolbar-dropdown>.ck-dropdown__panel .ck-button:focus{z-index:calc(var(--ck-z-default) + 1)}.ck.ck-toolbar-dropdown .ck-toolbar{border:0}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/dropdown/toolbardropdown.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/dropdown/toolbardropdown.css"],names:[],mappings:"AAKA,MACC,oCACD,CAEA,4CAGC,8CAA+C,CAD/C,iBAQD,CAJE,6DACC,qCACD,CCZF,oCACC,QACD",sourcesContent:["/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-toolbar-dropdown-max-width: 60vw;\n}\n\n.ck.ck-toolbar-dropdown > .ck-dropdown__panel {\n\t/* https://github.com/ckeditor/ckeditor5/issues/5586 */\n\twidth: max-content;\n\tmax-width: var(--ck-toolbar-dropdown-max-width);\n\n\t& .ck-button {\n\t\t&:focus {\n\t\t\tz-index: calc(var(--ck-z-default) + 1);\n\t\t}\n\t}\n}\n","/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-toolbar-dropdown .ck-toolbar {\n\tborder: 0;\n}\n"],sourceRoot:""}]);const a=s},8527:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var o=n(9372),i=n.n(o),r=n(935),s=n.n(r)()(i());s.push([t.id,":root{--ck-accessibility-help-dialog-max-width:600px;--ck-accessibility-help-dialog-max-height:400px;--ck-accessibility-help-dialog-border-color:#ccced1;--ck-accessibility-help-dialog-code-background-color:#ededed;--ck-accessibility-help-dialog-kbd-shadow-color:#9c9c9c}.ck.ck-accessibility-help-dialog .ck-accessibility-help-dialog__content{border:1px solid transparent;max-height:var(--ck-accessibility-help-dialog-max-height);max-width:var(--ck-accessibility-help-dialog-max-width);overflow:auto;padding:var(--ck-spacing-large);user-select:text}.ck.ck-accessibility-help-dialog .ck-accessibility-help-dialog__content:focus{border:var(--ck-focus-ring);box-shadow:var(--ck-focus-outer-shadow),0 0;outline:none}.ck.ck-accessibility-help-dialog .ck-accessibility-help-dialog__content{*{white-space:normal}}.ck.ck-accessibility-help-dialog .ck-accessibility-help-dialog__content .ck-label{display:none}.ck.ck-accessibility-help-dialog .ck-accessibility-help-dialog__content h3{font-size:1.2em;font-weight:700}.ck.ck-accessibility-help-dialog .ck-accessibility-help-dialog__content h4{font-size:1em;font-weight:700}.ck.ck-accessibility-help-dialog .ck-accessibility-help-dialog__content h3,.ck.ck-accessibility-help-dialog .ck-accessibility-help-dialog__content h4,.ck.ck-accessibility-help-dialog .ck-accessibility-help-dialog__content p,.ck.ck-accessibility-help-dialog .ck-accessibility-help-dialog__content table{margin:1em 0}.ck.ck-accessibility-help-dialog .ck-accessibility-help-dialog__content dl{border-bottom:none;border-top:1px solid var(--ck-accessibility-help-dialog-border-color);display:grid;grid-template-columns:2fr 1fr}.ck.ck-accessibility-help-dialog .ck-accessibility-help-dialog__content dl dd,.ck.ck-accessibility-help-dialog .ck-accessibility-help-dialog__content dl dt{border-bottom:1px solid var(--ck-accessibility-help-dialog-border-color);padding:.4em 0}.ck.ck-accessibility-help-dialog .ck-accessibility-help-dialog__content dl dt{grid-column-start:1}.ck.ck-accessibility-help-dialog .ck-accessibility-help-dialog__content dl dd{grid-column-start:2;text-align:right}.ck.ck-accessibility-help-dialog .ck-accessibility-help-dialog__content code,.ck.ck-accessibility-help-dialog .ck-accessibility-help-dialog__content kbd{background:var(--ck-accessibility-help-dialog-code-background-color);border-radius:2px;display:inline-block;font-size:.9em;line-height:1;padding:.4em;text-align:center;vertical-align:middle}.ck.ck-accessibility-help-dialog .ck-accessibility-help-dialog__content code{font-family:monospace}.ck.ck-accessibility-help-dialog .ck-accessibility-help-dialog__content kbd{box-shadow:0 1px 1px var(--ck-accessibility-help-dialog-kbd-shadow-color);margin:0 1px;min-width:1.8em}.ck.ck-accessibility-help-dialog .ck-accessibility-help-dialog__content kbd+kbd{margin-left:2px}","",{version:3,sources:["webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/editorui/accessibilityhelp.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_focus.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_shadow.css"],names:[],mappings:"AAQA,MACC,8CAA+C,CAC/C,+CAAgD,CAChD,mDAA8D,CAC9D,4DAAyE,CACzE,uDACD,CAEA,wEAOC,4BAA6B,CAJ7B,yDAA0D,CAD1D,uDAAwD,CAExD,aAAc,CAHd,+BAAgC,CAIhC,gBAgFD,CA5EC,8ECdA,2BAA2B,CCF3B,2CAA8B,CDC9B,YDkBA,CAZD,wEAcC,EACC,kBACD,CAqED,CAlEC,kFACC,YACD,CAEA,2EAEC,eAAgB,CADhB,eAED,CAEA,2EAEC,aAAc,CADd,eAED,CAEA,8SAIC,YACD,CAEA,2EAIC,kBAAmB,CADnB,qEAAsE,CAFtE,YAAa,CACb,6BAiBD,CAbC,4JACC,wEAAyE,CACzE,cACD,CAEA,8EACC,mBACD,CAEA,8EACC,mBAAoB,CACpB,gBACD,CAGD,yJAEC,oEAAqE,CAIrE,iBAAkB,CALlB,oBAAqB,CAOrB,cAAe,CAHf,aAAc,CAFd,YAAa,CAIb,iBAAkB,CAHlB,qBAKD,CAEA,6EACC,qBACD,CAEA,4EAEC,yEAA4E,CAC5E,YAAa,CAFb,eAOD,CAHC,gFACC,eACD",sourcesContent:['/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../../../mixins/_focus.css";\n@import "../../../mixins/_shadow.css";\n\n:root {\n\t--ck-accessibility-help-dialog-max-width: 600px;\n\t--ck-accessibility-help-dialog-max-height: 400px;\n\t--ck-accessibility-help-dialog-border-color: hsl(220, 6%, 81%);\n\t--ck-accessibility-help-dialog-code-background-color: hsl(0deg 0% 92.94%);\n\t--ck-accessibility-help-dialog-kbd-shadow-color: hsl(0deg 0% 61%);\n}\n\n.ck.ck-accessibility-help-dialog .ck-accessibility-help-dialog__content {\n\tpadding: var(--ck-spacing-large);\n\tmax-width: var(--ck-accessibility-help-dialog-max-width);\n\tmax-height: var(--ck-accessibility-help-dialog-max-height);\n\toverflow: auto;\n\tuser-select: text;\n\n\tborder: 1px solid transparent;\n\n\t&:focus {\n\t\t@mixin ck-focus-ring;\n\t\t@mixin ck-box-shadow var(--ck-focus-outer-shadow);\n\t}\n\n\t* {\n\t\twhite-space: normal;\n\t}\n\n\t/* Hide the main label of the content container. */\n\t& .ck-label {\n\t\tdisplay: none;\n\t}\n\n\t& h3 {\n\t\tfont-weight: bold;\n\t\tfont-size: 1.2em;\n\t}\n\n\t& h4 {\n\t\tfont-weight: bold;\n\t\tfont-size: 1em;\n\t}\n\n\t& p,\n\t& h3,\n\t& h4,\n\t& table {\n\t\tmargin: 1em 0;\n\t}\n\n\t& dl {\n\t\tdisplay: grid;\n\t\tgrid-template-columns: 2fr 1fr;\n\t\tborder-top: 1px solid var(--ck-accessibility-help-dialog-border-color);\n\t\tborder-bottom: none;\n\n\t\t& dt, & dd {\n\t\t\tborder-bottom: 1px solid var(--ck-accessibility-help-dialog-border-color);\n\t\t\tpadding: .4em 0;\n\t\t}\n\n\t\t& dt {\n\t\t\tgrid-column-start: 1;\n\t\t}\n\n\t\t& dd {\n\t\t\tgrid-column-start: 2;\n\t\t\ttext-align: right;\n\t\t}\n\t}\n\n\t& kbd, & code {\n\t\tdisplay: inline-block;\n\t\tbackground: var(--ck-accessibility-help-dialog-code-background-color);\n\t\tpadding: .4em;\n\t\tvertical-align: middle;\n\t\tline-height: 1;\n\t\tborder-radius: 2px;\n\t\ttext-align: center;\n\t\tfont-size: .9em;\n\t}\n\n\t& code {\n\t\tfont-family: monospace;\n\t}\n\n\t& kbd {\n\t\tmin-width: 1.8em;\n\t\tbox-shadow: 0px 1px 1px var(--ck-accessibility-help-dialog-kbd-shadow-color);\n\t\tmargin: 0 1px;\n\n\t\t& + kbd {\n\t\t\tmargin-left: 2px;\n\t\t}\n\t}\n}\n\n',"/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * A visual style of focused element's border.\n */\n@define-mixin ck-focus-ring {\n\t/* Disable native outline. */\n\toutline: none;\n\tborder: var(--ck-focus-ring)\n}\n","/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * A helper to combine multiple shadows.\n */\n@define-mixin ck-box-shadow $shadowA, $shadowB: 0 0 {\n\tbox-shadow: $shadowA, $shadowB;\n}\n\n/**\n * Gives an element a drop shadow so it looks like a floating panel.\n */\n@define-mixin ck-drop-shadow {\n\t@mixin ck-box-shadow var(--ck-drop-shadow);\n}\n"],sourceRoot:""}]);const a=s},1185:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var o=n(9372),i=n.n(o),r=n(935),s=n.n(r)()(i());s.push([t.id,":root{--ck-color-editable-blur-selection:#d9d9d9}.ck.ck-editor__editable:not(.ck-editor__nested-editable){border-radius:0}.ck-rounded-corners .ck.ck-editor__editable:not(.ck-editor__nested-editable),.ck.ck-editor__editable.ck-rounded-corners:not(.ck-editor__nested-editable){border-radius:var(--ck-border-radius)}.ck.ck-editor__editable.ck-focused:not(.ck-editor__nested-editable){border:var(--ck-focus-ring);box-shadow:var(--ck-inner-shadow),0 0;outline:none}.ck.ck-editor__editable_inline{border:1px solid transparent;overflow:auto;padding:0 var(--ck-spacing-standard)}.ck.ck-editor__editable_inline[dir=ltr]{text-align:left}.ck.ck-editor__editable_inline[dir=rtl]{text-align:right}.ck.ck-editor__editable_inline>:first-child{margin-top:var(--ck-spacing-large)}.ck.ck-editor__editable_inline>:last-child{margin-bottom:var(--ck-spacing-large)}.ck.ck-editor__editable_inline.ck-blurred ::selection{background:var(--ck-color-editable-blur-selection)}.ck.ck-balloon-panel.ck-toolbar-container[class*=arrow_n]:after{border-bottom-color:var(--ck-color-panel-background)}.ck.ck-balloon-panel.ck-toolbar-container[class*=arrow_s]:after{border-top-color:var(--ck-color-panel-background)}","",{version:3,sources:["webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/editorui/editorui.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_rounded.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_focus.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_shadow.css"],names:[],mappings:"AAWA,MACC,0CACD,CAEA,yDCJC,eDWD,CAPA,yJCAE,qCDOF,CAJC,oEEPA,2BAA2B,CCF3B,qCAA8B,CDC9B,YFWA,CAGD,+BAGC,4BAA6B,CAF7B,aAAc,CACd,oCA6BD,CA1BC,wCACC,eACD,CAEA,wCACC,gBACD,CAGA,4CACC,kCACD,CAGA,2CAKC,qCACD,CAGA,sDACC,kDACD,CAKA,gEACC,oDACD,CAIA,gEACC,iDACD",sourcesContent:['/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../../../mixins/_rounded.css";\n@import "../../../mixins/_disabled.css";\n@import "../../../mixins/_shadow.css";\n@import "../../../mixins/_focus.css";\n@import "../../mixins/_button.css";\n\n:root {\n\t--ck-color-editable-blur-selection: hsl(0, 0%, 85%);\n}\n\n.ck.ck-editor__editable:not(.ck-editor__nested-editable) {\n\t@mixin ck-rounded-corners;\n\n\t&.ck-focused {\n\t\t@mixin ck-focus-ring;\n\t\t@mixin ck-box-shadow var(--ck-inner-shadow);\n\t}\n}\n\n.ck.ck-editor__editable_inline {\n\toverflow: auto;\n\tpadding: 0 var(--ck-spacing-standard);\n\tborder: 1px solid transparent;\n\n\t&[dir="ltr"] {\n\t\ttext-align: left;\n\t}\n\n\t&[dir="rtl"] {\n\t\ttext-align: right;\n\t}\n\n\t/* https://github.com/ckeditor/ckeditor5-theme-lark/issues/116 */\n\t& > *:first-child {\n\t\tmargin-top: var(--ck-spacing-large);\n\t}\n\n\t/* https://github.com/ckeditor/ckeditor5/issues/847 */\n\t& > *:last-child {\n\t\t/*\n\t\t * This value should match with the default margins of the block elements (like .media or .image)\n\t\t * to avoid a content jumping when the fake selection container shows up (See https://github.com/ckeditor/ckeditor5/issues/9825).\n\t\t */\n\t\tmargin-bottom: var(--ck-spacing-large);\n\t}\n\n\t/* https://github.com/ckeditor/ckeditor5/issues/6517 */\n\t&.ck-blurred ::selection {\n\t\tbackground: var(--ck-color-editable-blur-selection);\n\t}\n}\n\n/* https://github.com/ckeditor/ckeditor5-theme-lark/issues/111 */\n.ck.ck-balloon-panel.ck-toolbar-container[class*="arrow_n"] {\n\t&::after {\n\t\tborder-bottom-color: var(--ck-color-panel-background);\n\t}\n}\n\n.ck.ck-balloon-panel.ck-toolbar-container[class*="arrow_s"] {\n\t&::after {\n\t\tborder-top-color: var(--ck-color-panel-background);\n\t}\n}\n',"/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Implements rounded corner interface for .ck-rounded-corners class.\n *\n * @see $ck-border-radius\n */\n@define-mixin ck-rounded-corners {\n\tborder-radius: 0;\n\n\t@nest .ck-rounded-corners &,\n\t&.ck-rounded-corners {\n\t\tborder-radius: var(--ck-border-radius);\n\t\t@mixin-content;\n\t}\n}\n","/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * A visual style of focused element's border.\n */\n@define-mixin ck-focus-ring {\n\t/* Disable native outline. */\n\toutline: none;\n\tborder: var(--ck-focus-ring)\n}\n","/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * A helper to combine multiple shadows.\n */\n@define-mixin ck-box-shadow $shadowA, $shadowB: 0 0 {\n\tbox-shadow: $shadowA, $shadowB;\n}\n\n/**\n * Gives an element a drop shadow so it looks like a floating panel.\n */\n@define-mixin ck-drop-shadow {\n\t@mixin ck-box-shadow var(--ck-drop-shadow);\n}\n"],sourceRoot:""}]);const a=s},7913:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var o=n(9372),i=n.n(o),r=n(935),s=n.n(r)()(i());s.push([t.id,".ck.ck-form__header{align-items:center;display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between}.ck.ck-form__header h2.ck-form__header__label{flex-grow:1}:root{--ck-form-header-height:44px}.ck.ck-form__header{border-bottom:1px solid var(--ck-color-base-border);height:var(--ck-form-header-height);line-height:var(--ck-form-header-height);padding:var(--ck-spacing-small) var(--ck-spacing-large)}[dir=ltr] .ck.ck-form__header>.ck-icon{margin-right:var(--ck-spacing-medium)}[dir=rtl] .ck.ck-form__header>.ck-icon{margin-left:var(--ck-spacing-medium)}.ck.ck-form__header .ck-form__header__label{--ck-font-size-base:15px;font-weight:700}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/formheader/formheader.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/formheader/formheader.css"],names:[],mappings:"AAKA,oBAIC,kBAAmB,CAHnB,YAAa,CACb,kBAAmB,CACnB,gBAAiB,CAEjB,6BAKD,CAHC,8CACC,WACD,CCPD,MACC,4BACD,CAEA,oBAIC,mDAAoD,CAFpD,mCAAoC,CACpC,wCAAyC,CAFzC,uDAmBD,CAdC,uCAEE,qCAMF,CARA,uCAME,oCAEF,CAEA,4CACC,wBAAyB,CACzB,eACD",sourcesContent:["/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-form__header {\n\tdisplay: flex;\n\tflex-direction: row;\n\tflex-wrap: nowrap;\n\talign-items: center;\n\tjustify-content: space-between;\n\n\t& h2.ck-form__header__label {\n\t\tflex-grow: 1;\n\t}\n}\n",'/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";\n\n:root {\n\t--ck-form-header-height: 44px;\n}\n\n.ck.ck-form__header {\n\tpadding: var(--ck-spacing-small) var(--ck-spacing-large);\n\theight: var(--ck-form-header-height);\n\tline-height: var(--ck-form-header-height);\n\tborder-bottom: 1px solid var(--ck-color-base-border);\n\n\t& > .ck-icon {\n\t\t@mixin ck-dir ltr {\n\t\t\tmargin-right: var(--ck-spacing-medium);\n\t\t}\n\n\t\t@mixin ck-dir rtl {\n\t\t\tmargin-left: var(--ck-spacing-medium);\n\t\t}\n\t}\n\n\t& .ck-form__header__label {\n\t\t--ck-font-size-base: 15px;\n\t\tfont-weight: bold;\n\t}\n}\n'],sourceRoot:""}]);const a=s},9529:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var o=n(9372),i=n.n(o),r=n(935),s=n.n(r)()(i());s.push([t.id,".ck.ck-highlighted-text mark{background:var(--ck-color-highlight-background);font-size:inherit;font-weight:inherit;line-height:inherit;vertical-align:initial}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/highlightedtext/highlightedtext.css"],names:[],mappings:"AAKA,6BACC,+CAAgD,CAIhD,iBAAkB,CAFlB,mBAAoB,CACpB,mBAAoB,CAFpB,sBAID",sourcesContent:["/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-highlighted-text mark {\n\tbackground: var(--ck-color-highlight-background);\n\tvertical-align: initial;\n\tfont-weight: inherit;\n\tline-height: inherit;\n\tfont-size: inherit;\n}\n"],sourceRoot:""}]);const a=s},7621:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var o=n(9372),i=n.n(o),r=n(935),s=n.n(r)()(i());s.push([t.id,".ck.ck-icon{vertical-align:middle}:root{--ck-icon-size:calc(var(--ck-line-height-base)*var(--ck-font-size-normal))}.ck.ck-icon{font-size:.8333350694em;height:var(--ck-icon-size);width:var(--ck-icon-size);will-change:transform}.ck.ck-icon,.ck.ck-icon *{cursor:inherit}.ck.ck-icon.ck-icon_inherit-color,.ck.ck-icon.ck-icon_inherit-color *{color:inherit}.ck.ck-icon.ck-icon_inherit-color :not([fill]){fill:currentColor}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/icon/icon.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/icon/icon.css"],names:[],mappings:"AAKA,YACC,qBACD,CCFA,MACC,0EACD,CAEA,YAKC,uBAAwB,CAHxB,0BAA2B,CAD3B,yBAA0B,CAU1B,qBAoBD,CAlBC,0BALA,cAQA,CAMC,sEACC,aAMD,CAJC,+CAEC,iBACD",sourcesContent:["/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-icon {\n\tvertical-align: middle;\n}\n",'/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-icon-size: calc(var(--ck-line-height-base) * var(--ck-font-size-normal));\n}\n\n.ck.ck-icon {\n\twidth: var(--ck-icon-size);\n\theight: var(--ck-icon-size);\n\n\t/* Multiplied by the height of the line in "px" should give SVG "viewport" dimensions */\n\tfont-size: .8333350694em;\n\n\t/* Inherit cursor style (#5). */\n\tcursor: inherit;\n\n\t/* This will prevent blurry icons on Firefox. See #340. */\n\twill-change: transform;\n\n\t& * {\n\t\t/* Inherit cursor style (#5). */\n\t\tcursor: inherit;\n\t}\n\n\t/* Allows dynamic coloring of an icon by inheriting its color from the parent. */\n\t&.ck-icon_inherit-color {\n\t\tcolor: inherit;\n\n\t\t& * {\n\t\t\tcolor: inherit;\n\n\t\t\t&:not([fill]) {\n\t\t\t\t/* Needed by FF. */\n\t\t\t\tfill: currentColor;\n\t\t\t}\n\t\t}\n\t}\n}\n'],sourceRoot:""}]);const a=s},253:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var o=n(9372),i=n.n(o),r=n(935),s=n.n(r)()(i());s.push([t.id,":root{--ck-input-width:18em;--ck-input-text-width:var(--ck-input-width)}.ck.ck-input{border-radius:0}.ck-rounded-corners .ck.ck-input,.ck.ck-input.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck.ck-input{background:var(--ck-color-input-background);border:1px solid var(--ck-color-input-border);min-height:var(--ck-ui-component-min-height);min-width:var(--ck-input-width);padding:var(--ck-spacing-extra-tiny) var(--ck-spacing-medium);transition:box-shadow .1s ease-in-out,border .1s ease-in-out}.ck.ck-input:focus{border:var(--ck-focus-ring);box-shadow:var(--ck-focus-outer-shadow),0 0;outline:none}.ck.ck-input[readonly]{background:var(--ck-color-input-disabled-background);border:1px solid var(--ck-color-input-disabled-border);color:var(--ck-color-input-disabled-text)}.ck.ck-input[readonly]:focus{box-shadow:var(--ck-focus-disabled-outer-shadow),0 0}.ck.ck-input.ck-error{animation:ck-input-shake .3s ease both;border-color:var(--ck-color-input-error-border)}.ck.ck-input.ck-error:focus{box-shadow:var(--ck-focus-error-outer-shadow),0 0}@keyframes ck-input-shake{20%{transform:translateX(-2px)}40%{transform:translateX(2px)}60%{transform:translateX(-1px)}80%{transform:translateX(1px)}}","",{version:3,sources:["webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/input/input.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_rounded.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_focus.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_shadow.css"],names:[],mappings:"AASA,MACC,qBAAsB,CAGtB,2CACD,CAEA,aCLC,eD2CD,CAtCA,iECDE,qCDuCF,CAtCA,aAGC,2CAA4C,CAC5C,6CAA8C,CAK9C,4CAA6C,CAH7C,+BAAgC,CADhC,6DAA8D,CAO9D,4DA0BD,CAxBC,mBEnBA,2BAA2B,CCF3B,2CAA8B,CDC9B,YFuBA,CAEA,uBAEC,oDAAqD,CADrD,sDAAuD,CAEvD,yCAMD,CAJC,6BG/BD,oDHkCC,CAGD,sBAEC,sCAAuC,CADvC,+CAMD,CAHC,4BGzCD,iDH2CC,CAIF,0BACC,IACC,0BACD,CAEA,IACC,yBACD,CAEA,IACC,0BACD,CAEA,IACC,yBACD,CACD",sourcesContent:['/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../../../mixins/_rounded.css";\n@import "../../../mixins/_focus.css";\n@import "../../../mixins/_shadow.css";\n\n:root {\n\t--ck-input-width: 18em;\n\n\t/* Backward compatibility. */\n\t--ck-input-text-width: var(--ck-input-width);\n}\n\n.ck.ck-input {\n\t@mixin ck-rounded-corners;\n\n\tbackground: var(--ck-color-input-background);\n\tborder: 1px solid var(--ck-color-input-border);\n\tpadding: var(--ck-spacing-extra-tiny) var(--ck-spacing-medium);\n\tmin-width: var(--ck-input-width);\n\n\t/* This is important to stay of the same height as surrounding buttons */\n\tmin-height: var(--ck-ui-component-min-height);\n\n\t/* Apply some smooth transition to the box-shadow and border. */\n\ttransition: box-shadow .1s ease-in-out, border .1s ease-in-out;\n\n\t&:focus {\n\t\t@mixin ck-focus-ring;\n\t\t@mixin ck-box-shadow var(--ck-focus-outer-shadow);\n\t}\n\n\t&[readonly] {\n\t\tborder: 1px solid var(--ck-color-input-disabled-border);\n\t\tbackground: var(--ck-color-input-disabled-background);\n\t\tcolor: var(--ck-color-input-disabled-text);\n\n\t\t&:focus {\n\t\t\t/* The read-only input should have a slightly less visible shadow when focused. */\n\t\t\t@mixin ck-box-shadow var(--ck-focus-disabled-outer-shadow);\n\t\t}\n\t}\n\n\t&.ck-error {\n\t\tborder-color: var(--ck-color-input-error-border);\n\t\tanimation: ck-input-shake .3s ease both;\n\n\t\t&:focus {\n\t\t\t@mixin ck-box-shadow var(--ck-focus-error-outer-shadow);\n\t\t}\n\t}\n}\n\n@keyframes ck-input-shake {\n\t20% {\n\t\ttransform: translateX(-2px);\n\t}\n\n\t40% {\n\t\ttransform: translateX(2px);\n\t}\n\n\t60% {\n\t\ttransform: translateX(-1px);\n\t}\n\n\t80% {\n\t\ttransform: translateX(1px);\n\t}\n}\n',"/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Implements rounded corner interface for .ck-rounded-corners class.\n *\n * @see $ck-border-radius\n */\n@define-mixin ck-rounded-corners {\n\tborder-radius: 0;\n\n\t@nest .ck-rounded-corners &,\n\t&.ck-rounded-corners {\n\t\tborder-radius: var(--ck-border-radius);\n\t\t@mixin-content;\n\t}\n}\n","/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * A visual style of focused element's border.\n */\n@define-mixin ck-focus-ring {\n\t/* Disable native outline. */\n\toutline: none;\n\tborder: var(--ck-focus-ring)\n}\n","/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * A helper to combine multiple shadows.\n */\n@define-mixin ck-box-shadow $shadowA, $shadowB: 0 0 {\n\tbox-shadow: $shadowA, $shadowB;\n}\n\n/**\n * Gives an element a drop shadow so it looks like a floating panel.\n */\n@define-mixin ck-drop-shadow {\n\t@mixin ck-box-shadow var(--ck-drop-shadow);\n}\n"],sourceRoot:""}]);const a=s},7801:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var o=n(9372),i=n.n(o),r=n(935),s=n.n(r)()(i());s.push([t.id,".ck.ck-label{display:block}.ck.ck-voice-label{display:none}.ck.ck-label{font-weight:700}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/label/label.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/label/label.css"],names:[],mappings:"AAKA,aACC,aACD,CAEA,mBACC,YACD,CCNA,aACC,eACD",sourcesContent:["/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-label {\n\tdisplay: block;\n}\n\n.ck.ck-voice-label {\n\tdisplay: none;\n}\n","/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-label {\n\tfont-weight: bold;\n}\n"],sourceRoot:""}]);const a=s},4962:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var o=n(9372),i=n.n(o),r=n(935),s=n.n(r)()(i());s.push([t.id,".ck.ck-labeled-field-view>.ck.ck-labeled-field-view__input-wrapper{display:flex;position:relative}.ck.ck-labeled-field-view .ck.ck-label{display:block;position:absolute}:root{--ck-labeled-field-view-transition:.1s cubic-bezier(0,0,0.24,0.95);--ck-labeled-field-empty-unfocused-max-width:100% - 2 * var(--ck-spacing-medium);--ck-labeled-field-label-default-position-x:var(--ck-spacing-medium);--ck-labeled-field-label-default-position-y:calc(var(--ck-font-size-base)*0.6);--ck-color-labeled-field-label-background:var(--ck-color-base-background)}.ck.ck-labeled-field-view{border-radius:0}.ck-rounded-corners .ck.ck-labeled-field-view,.ck.ck-labeled-field-view.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck.ck-labeled-field-view>.ck.ck-labeled-field-view__input-wrapper{width:100%}.ck.ck-labeled-field-view>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label{top:0}[dir=ltr] .ck.ck-labeled-field-view>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label{left:0;transform:translate(var(--ck-spacing-medium),-6px) scale(.75);transform-origin:0 0}[dir=rtl] .ck.ck-labeled-field-view>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label{right:0;transform:translate(calc(var(--ck-spacing-medium)*-1),-6px) scale(.75);transform-origin:100% 0}.ck.ck-labeled-field-view>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label{background:var(--ck-color-labeled-field-label-background);font-weight:400;line-height:normal;max-width:100%;overflow:hidden;padding:0 calc(var(--ck-font-size-tiny)*.5);pointer-events:none;text-overflow:ellipsis;transition:transform var(--ck-labeled-field-view-transition),padding var(--ck-labeled-field-view-transition),background var(--ck-labeled-field-view-transition)}.ck.ck-labeled-field-view.ck-error .ck-input:not([readonly])+.ck.ck-label,.ck.ck-labeled-field-view.ck-error>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label{color:var(--ck-color-base-error)}.ck.ck-labeled-field-view .ck-labeled-field-view__status{font-size:var(--ck-font-size-small);margin-top:var(--ck-spacing-small);white-space:normal}.ck.ck-labeled-field-view .ck-labeled-field-view__status.ck-labeled-field-view__status_error{color:var(--ck-color-base-error)}.ck.ck-labeled-field-view.ck-disabled>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label,.ck.ck-labeled-field-view.ck-labeled-field-view_empty:not(.ck-labeled-field-view_focused)>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label{color:var(--ck-color-input-disabled-text)}[dir=ltr] .ck.ck-labeled-field-view.ck-disabled.ck-labeled-field-view_empty:not(.ck-labeled-field-view_placeholder)>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label,[dir=ltr] .ck.ck-labeled-field-view.ck-labeled-field-view_empty:not(.ck-labeled-field-view_focused):not(.ck-labeled-field-view_placeholder):not(.ck-error)>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label{transform:translate(var(--ck-labeled-field-label-default-position-x),var(--ck-labeled-field-label-default-position-y)) scale(1)}[dir=rtl] .ck.ck-labeled-field-view.ck-disabled.ck-labeled-field-view_empty:not(.ck-labeled-field-view_placeholder)>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label,[dir=rtl] .ck.ck-labeled-field-view.ck-labeled-field-view_empty:not(.ck-labeled-field-view_focused):not(.ck-labeled-field-view_placeholder):not(.ck-error)>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label{transform:translate(calc(var(--ck-labeled-field-label-default-position-x)*-1),var(--ck-labeled-field-label-default-position-y)) scale(1)}.ck.ck-labeled-field-view.ck-disabled.ck-labeled-field-view_empty:not(.ck-labeled-field-view_placeholder)>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label,.ck.ck-labeled-field-view.ck-labeled-field-view_empty:not(.ck-labeled-field-view_focused):not(.ck-labeled-field-view_placeholder):not(.ck-error)>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label{background:transparent;max-width:calc(var(--ck-labeled-field-empty-unfocused-max-width));padding:0}.ck.ck-labeled-field-view>.ck.ck-labeled-field-view__input-wrapper>.ck-dropdown>.ck.ck-button{background:transparent}.ck.ck-labeled-field-view.ck-labeled-field-view_empty>.ck.ck-labeled-field-view__input-wrapper>.ck-dropdown>.ck-button>.ck-button__label{opacity:0}.ck.ck-labeled-field-view.ck-labeled-field-view_empty:not(.ck-labeled-field-view_focused):not(.ck-labeled-field-view_placeholder)>.ck.ck-labeled-field-view__input-wrapper>.ck-dropdown+.ck-label{max-width:calc(var(--ck-labeled-field-empty-unfocused-max-width) - var(--ck-dropdown-arrow-size) - var(--ck-spacing-standard))}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/labeledfield/labeledfieldview.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/labeledfield/labeledfieldview.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_rounded.css"],names:[],mappings:"AAMC,mEACC,YAAa,CACb,iBACD,CAEA,uCACC,aAAc,CACd,iBACD,CCND,MACC,kEAAsE,CACtE,gFAAiF,CACjF,oEAAqE,CACrE,8EAAiF,CACjF,yEACD,CAEA,0BCLC,eD+GD,CA1GA,2FCDE,qCD2GF,CAvGC,mEACC,UAoCD,CAlCC,gFACC,KAgCD,CAjCA,0FAIE,MAAS,CAGT,6DAA+D,CAF/D,oBA4BF,CAjCA,0FAWE,OAAU,CAEV,sEAA0E,CAD1E,uBAqBF,CAjCA,gFAkBC,yDAA0D,CAG1D,eAAmB,CADnB,kBAAoB,CAOpB,cAAe,CAFf,eAAgB,CANhB,2CAA8C,CAH9C,mBAAoB,CAQpB,sBAAuB,CAKvB,+JAID,CAQA,mKACC,gCACD,CAGD,yDACC,mCAAoC,CACpC,kCAAmC,CAInC,kBAKD,CAHC,6FACC,gCACD,CAID,4OAEC,yCACD,CAIA,2XAGE,+HAYF,CAfA,2XAOE,wIAQF,CAfA,uWAaC,sBAAuB,CAFvB,iEAAkE,CAGlE,SACD,CAKA,8FACC,sBACD,CAGA,yIACC,SACD,CAGA,kMACC,8HACD",sourcesContent:["/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-labeled-field-view {\n\t& > .ck.ck-labeled-field-view__input-wrapper {\n\t\tdisplay: flex;\n\t\tposition: relative;\n\t}\n\n\t& .ck.ck-label {\n\t\tdisplay: block;\n\t\tposition: absolute;\n\t}\n}\n",'/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";\n@import "../../../mixins/_rounded.css";\n\n:root {\n\t--ck-labeled-field-view-transition: .1s cubic-bezier(0, 0, 0.24, 0.95);\n\t--ck-labeled-field-empty-unfocused-max-width: 100% - 2 * var(--ck-spacing-medium);\n\t--ck-labeled-field-label-default-position-x: var(--ck-spacing-medium);\n\t--ck-labeled-field-label-default-position-y: calc(0.6 * var(--ck-font-size-base));\n\t--ck-color-labeled-field-label-background: var(--ck-color-base-background);\n}\n\n.ck.ck-labeled-field-view {\n\t@mixin ck-rounded-corners;\n\n\t& > .ck.ck-labeled-field-view__input-wrapper {\n\t\twidth: 100%;\n\n\t\t& > .ck.ck-label {\n\t\t\ttop: 0px;\n\n\t\t\t@mixin ck-dir ltr {\n\t\t\t\tleft: 0px;\n\t\t\t\ttransform-origin: 0 0;\n\t\t\t\t/* By default, display the label scaled down above the field. */\n\t\t\t\ttransform: translate(var(--ck-spacing-medium), -6px) scale(.75);\n\t\t\t}\n\n\t\t\t@mixin ck-dir rtl {\n\t\t\t\tright: 0px;\n\t\t\t\ttransform-origin: 100% 0;\n\t\t\t\ttransform: translate(calc(-1 * var(--ck-spacing-medium)), -6px) scale(.75);\n\t\t\t}\n\n\t\t\tpointer-events: none;\n\n\t\t\tbackground: var(--ck-color-labeled-field-label-background);\n\t\t\tpadding: 0 calc(.5 * var(--ck-font-size-tiny));\n\t\t\tline-height: initial;\n\t\t\tfont-weight: normal;\n\n\t\t\t/* Prevent overflow when the label is longer than the input */\n\t\t\ttext-overflow: ellipsis;\n\t\t\toverflow: hidden;\n\n\t\t\tmax-width: 100%;\n\n\t\t\ttransition:\n\t\t\t\ttransform var(--ck-labeled-field-view-transition),\n\t\t\t\tpadding var(--ck-labeled-field-view-transition),\n\t\t\t\tbackground var(--ck-labeled-field-view-transition);\n\t\t}\n\t}\n\n\t&.ck-error {\n\t\t& > .ck.ck-labeled-field-view__input-wrapper > .ck.ck-label {\n\t\t\tcolor: var(--ck-color-base-error);\n\t\t}\n\n\t\t& .ck-input:not([readonly]) + .ck.ck-label {\n\t\t\tcolor: var(--ck-color-base-error);\n\t\t}\n\t}\n\n\t& .ck-labeled-field-view__status {\n\t\tfont-size: var(--ck-font-size-small);\n\t\tmargin-top: var(--ck-spacing-small);\n\n\t\t/* Let the info wrap to the next line to avoid stretching the layout horizontally.\n\t\tThe status could be very long. */\n\t\twhite-space: normal;\n\n\t\t&.ck-labeled-field-view__status_error {\n\t\t\tcolor: var(--ck-color-base-error);\n\t\t}\n\t}\n\n\t/* Disabled fields and fields that have no focus should fade out. */\n\t&.ck-disabled > .ck.ck-labeled-field-view__input-wrapper > .ck.ck-label,\n\t&.ck-labeled-field-view_empty:not(.ck-labeled-field-view_focused) > .ck.ck-labeled-field-view__input-wrapper > .ck.ck-label {\n\t\tcolor: var(--ck-color-input-disabled-text);\n\t}\n\n\t/* Fields that are disabled or not focused and without a placeholder should have full-sized labels. */\n\t/* stylelint-disable-next-line no-descending-specificity */\n\t&.ck-disabled.ck-labeled-field-view_empty:not(.ck-labeled-field-view_placeholder) > .ck.ck-labeled-field-view__input-wrapper > .ck.ck-label,\n\t&.ck-labeled-field-view_empty:not(.ck-labeled-field-view_focused):not(.ck-labeled-field-view_placeholder):not(.ck-error) > .ck.ck-labeled-field-view__input-wrapper > .ck.ck-label {\n\t\t@mixin ck-dir ltr {\n\t\t\ttransform: translate(var(--ck-labeled-field-label-default-position-x), var(--ck-labeled-field-label-default-position-y)) scale(1);\n\t\t}\n\n\t\t@mixin ck-dir rtl {\n\t\t\ttransform: translate(calc(-1 * var(--ck-labeled-field-label-default-position-x)), var(--ck-labeled-field-label-default-position-y)) scale(1);\n\t\t}\n\n\t\t/* Compensate for the default translate position. */\n\t\tmax-width: calc(var(--ck-labeled-field-empty-unfocused-max-width));\n\n\t\tbackground: transparent;\n\t\tpadding: 0;\n\t}\n\n\t/*------ DropdownView integration ----------------------------------------------------------------------------------- */\n\n\t/* Make sure dropdown\' background color in any of dropdown\'s state does not collide with labeled field. */\n\t& > .ck.ck-labeled-field-view__input-wrapper > .ck-dropdown > .ck.ck-button {\n\t\tbackground: transparent;\n\t}\n\n\t/* When the dropdown is "empty", the labeled field label replaces its label. */\n\t&.ck-labeled-field-view_empty > .ck.ck-labeled-field-view__input-wrapper > .ck-dropdown > .ck-button > .ck-button__label {\n\t\topacity: 0;\n\t}\n\n\t/* Make sure the label of the empty, unfocused input does not cover the dropdown arrow. */\n\t&.ck-labeled-field-view_empty:not(.ck-labeled-field-view_focused):not(.ck-labeled-field-view_placeholder) > .ck.ck-labeled-field-view__input-wrapper > .ck-dropdown + .ck-label {\n\t\tmax-width: calc(var(--ck-labeled-field-empty-unfocused-max-width) - var(--ck-dropdown-arrow-size) - var(--ck-spacing-standard));\n\t}\n}\n',"/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Implements rounded corner interface for .ck-rounded-corners class.\n *\n * @see $ck-border-radius\n */\n@define-mixin ck-rounded-corners {\n\tborder-radius: 0;\n\n\t@nest .ck-rounded-corners &,\n\t&.ck-rounded-corners {\n\t\tborder-radius: var(--ck-border-radius);\n\t\t@mixin-content;\n\t}\n}\n"],sourceRoot:""}]);const a=s},5199:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var o=n(9372),i=n.n(o),r=n(935),s=n.n(r)()(i());s.push([t.id,".ck.ck-list{display:flex;flex-direction:column;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ck.ck-list .ck-list__item,.ck.ck-list .ck-list__separator{display:block}.ck.ck-list .ck-list__item>:focus{position:relative;z-index:var(--ck-z-default)}:root{--ck-list-button-padding:calc(var(--ck-line-height-base)*0.11*var(--ck-font-size-base)) calc(var(--ck-line-height-base)*0.4*var(--ck-font-size-base))}.ck.ck-list{border-radius:0}.ck-rounded-corners .ck.ck-list,.ck.ck-list.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck.ck-list{background:var(--ck-color-list-background);list-style-type:none}.ck.ck-list__item{cursor:default;min-width:12em}.ck.ck-list__item>.ck-button{border-radius:0;min-height:unset;width:100%}[dir=ltr] .ck.ck-list__item>.ck-button{text-align:left}[dir=rtl] .ck.ck-list__item>.ck-button{text-align:right}.ck.ck-list__item>.ck-button{padding:var(--ck-list-button-padding)}.ck.ck-list__item>.ck-button:active{box-shadow:none}.ck.ck-list__item>.ck-button.ck-on{background:var(--ck-color-list-button-on-background);color:var(--ck-color-list-button-on-text)}.ck.ck-list__item>.ck-button.ck-on:active{box-shadow:none}.ck.ck-list__item>.ck-button.ck-on:hover:not(.ck-disabled){background:var(--ck-color-list-button-on-background-focus)}.ck.ck-list__item>.ck-button.ck-on:focus:not(.ck-switchbutton):not(.ck-disabled){border-color:var(--ck-color-base-background)}.ck.ck-list__item>.ck-button:hover:not(.ck-disabled){background:var(--ck-color-list-button-hover-background)}.ck.ck-list__item>.ck-switchbutton.ck-on{background:var(--ck-color-list-background);color:inherit}.ck.ck-list__item>.ck-switchbutton.ck-on:hover:not(.ck-disabled){background:var(--ck-color-list-button-hover-background);color:inherit}.ck-list .ck-list__group{padding-top:var(--ck-spacing-medium);:not(.ck-hidden)~&{border-top:1px solid var(--ck-color-base-border)}}.ck-list .ck-list__group>.ck-label{font-size:11px;font-weight:700;padding:var(--ck-spacing-medium) var(--ck-spacing-medium) 0 var(--ck-spacing-medium)}.ck.ck-list__separator{background:var(--ck-color-base-border);height:1px;width:100%}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/list/list.css","webpack://./../ckeditor5-ui/theme/mixins/_unselectable.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/list/list.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_rounded.css"],names:[],mappings:"AAOA,YAGC,YAAa,CACb,qBAAsB,CCFtB,qBAAsB,CACtB,wBAAyB,CACzB,oBAAqB,CACrB,gBDaD,CAZC,2DAEC,aACD,CAKA,kCACC,iBAAkB,CAClB,2BACD,CEdD,MACC,qJAGD,CAEA,YCLC,eDUD,CALA,+DCDE,qCDMF,CALA,YAIC,0CAA2C,CAD3C,oBAED,CAEA,kBACC,cAAe,CACf,cA2DD,CAzDC,6BAGC,eAAgB,CAFhB,gBAAiB,CACjB,UAwCD,CA1CA,uCAME,eAoCF,CA1CA,uCAUE,gBAgCF,CA1CA,6BAgBC,qCA0BD,CAxBC,oCACC,eACD,CAEA,mCACC,oDAAqD,CACrD,yCAaD,CAXC,0CACC,eACD,CAEA,2DACC,0DACD,CAEA,iFACC,4CACD,CAGD,qDACC,uDACD,CAMA,yCACC,0CAA2C,CAC3C,aAMD,CAJC,iEACC,uDAAwD,CACxD,aACD,CAKH,yBACC,oCAAqC,CAGrC,mBACC,gDACD,CAOD,CALC,mCACC,cAAe,CACf,eAAiB,CACjB,oFACD,CAGD,uBAGC,sCAAuC,CAFvC,UAAW,CACX,UAED",sourcesContent:['/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../../mixins/_unselectable.css";\n\n.ck.ck-list {\n\t@mixin ck-unselectable;\n\n\tdisplay: flex;\n\tflex-direction: column;\n\n\t& .ck-list__item,\n\t& .ck-list__separator {\n\t\tdisplay: block;\n\t}\n\n\t/* Make sure that whatever child of the list item gets focus, it remains on the\n\ttop. Thanks to that, styles like box-shadow, outline, etc. are not masked by\n\tadjacent list items. */\n\t& .ck-list__item > *:focus {\n\t\tposition: relative;\n\t\tz-index: var(--ck-z-default);\n\t}\n}\n',"/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Makes element unselectable.\n */\n@define-mixin ck-unselectable {\n\t-moz-user-select: none;\n\t-webkit-user-select: none;\n\t-ms-user-select: none;\n\tuser-select: none\n}\n",'/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../../../mixins/_disabled.css";\n@import "../../../mixins/_rounded.css";\n@import "../../../mixins/_shadow.css";\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";\n\n:root {\n\t--ck-list-button-padding:\n\t\tcalc(.11 * var(--ck-line-height-base) * var(--ck-font-size-base))\n\t\tcalc(.4 * var(--ck-line-height-base) * var(--ck-font-size-base));\n}\n\n.ck.ck-list {\n\t@mixin ck-rounded-corners;\n\n\tlist-style-type: none;\n\tbackground: var(--ck-color-list-background);\n}\n\n.ck.ck-list__item {\n\tcursor: default;\n\tmin-width: 12em;\n\n\t& > .ck-button {\n\t\tmin-height: unset;\n\t\twidth: 100%;\n\t\tborder-radius: 0;\n\n\t\t@mixin ck-dir ltr {\n\t\t\ttext-align: left;\n\t\t}\n\n\t\t@mixin ck-dir rtl {\n\t\t\ttext-align: right;\n\t\t}\n\n\t\t/* List items should have the same height. Use absolute units to make sure it is so\n\t\t because e.g. different heading styles may have different height\n\t\t https://github.com/ckeditor/ckeditor5-heading/issues/63 */\n\t\tpadding: var(--ck-list-button-padding);\n\n\t\t&:active {\n\t\t\tbox-shadow: none;\n\t\t}\n\n\t\t&.ck-on {\n\t\t\tbackground: var(--ck-color-list-button-on-background);\n\t\t\tcolor: var(--ck-color-list-button-on-text);\n\n\t\t\t&:active {\n\t\t\t\tbox-shadow: none;\n\t\t\t}\n\n\t\t\t&:hover:not(.ck-disabled) {\n\t\t\t\tbackground: var(--ck-color-list-button-on-background-focus);\n\t\t\t}\n\n\t\t\t&:focus:not(.ck-switchbutton):not(.ck-disabled) {\n\t\t\t\tborder-color: var(--ck-color-base-background);\n\t\t\t}\n\t\t}\n\n\t\t&:hover:not(.ck-disabled) {\n\t\t\tbackground: var(--ck-color-list-button-hover-background);\n\t\t}\n\t}\n\n\t/* It\'s unnecessary to change the background/text of a switch toggle; it has different ways\n\tof conveying its state (like the switcher) */\n\t& > .ck-switchbutton {\n\t\t&.ck-on {\n\t\t\tbackground: var(--ck-color-list-background);\n\t\t\tcolor: inherit;\n\n\t\t\t&:hover:not(.ck-disabled) {\n\t\t\t\tbackground: var(--ck-color-list-button-hover-background);\n\t\t\t\tcolor: inherit;\n\t\t\t}\n\t\t}\n\t}\n}\n\n.ck-list .ck-list__group {\n\tpadding-top: var(--ck-spacing-medium);\n\n\t/* The group should have a border when it\'s not the first item. */\n\t*:not(.ck-hidden) ~ & {\n\t\tborder-top: 1px solid var(--ck-color-base-border);\n\t}\n\n\t& > .ck-label {\n\t\tfont-size: 11px;\n\t\tfont-weight: bold;\n\t\tpadding: var(--ck-spacing-medium) var(--ck-spacing-medium) 0 var(--ck-spacing-medium);\n\t}\n}\n\n.ck.ck-list__separator {\n\theight: 1px;\n\twidth: 100%;\n\tbackground: var(--ck-color-base-border);\n}\n',"/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Implements rounded corner interface for .ck-rounded-corners class.\n *\n * @see $ck-border-radius\n */\n@define-mixin ck-rounded-corners {\n\tborder-radius: 0;\n\n\t@nest .ck-rounded-corners &,\n\t&.ck-rounded-corners {\n\t\tborder-radius: var(--ck-border-radius);\n\t\t@mixin-content;\n\t}\n}\n"],sourceRoot:""}]);const a=s},497:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var o=n(9372),i=n.n(o),r=n(935),s=n.n(r)()(i());s.push([t.id,".ck.ck-menu-bar{background:var(--ck-color-base-background);border:1px solid var(--ck-color-toolbar-border);display:flex;flex-wrap:wrap;gap:var(--ck-spacing-small);justify-content:flex-start;padding:var(--ck-spacing-small);width:100%}","",{version:3,sources:["webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/menubar/menubar.css"],names:[],mappings:"AAKA,gBAIC,0CAA2C,CAG3C,+CAAgD,CANhD,YAAa,CACb,cAAe,CAIf,2BAA4B,CAH5B,0BAA2B,CAE3B,+BAAgC,CAGhC,UACD",sourcesContent:["/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-menu-bar {\n\tdisplay: flex;\n\tflex-wrap: wrap;\n\tjustify-content: flex-start;\n\tbackground: var(--ck-color-base-background);\n\tpadding: var(--ck-spacing-small);\n\tgap: var(--ck-spacing-small);\n\tborder: 1px solid var(--ck-color-toolbar-border);\n\twidth: 100%;\n}\n"],sourceRoot:""}]);const a=s},4:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var o=n(9372),i=n.n(o),r=n(935),s=n.n(r)()(i());s.push([t.id,".ck.ck-menu-bar__menu{display:block;font-size:inherit;position:relative}.ck.ck-menu-bar__menu.ck-menu-bar__menu_top-level{max-width:100%}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/menubar/menubarmenu.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/menubar/menubarmenu.css"],names:[],mappings:"AAKA,sBACC,aAAc,CCCd,iBAAkB,CDAlB,iBACD,CCCC,kDACC,cACD",sourcesContent:["/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-menu-bar__menu {\n\tdisplay: block;\n\tposition: relative;\n}\n","/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-menu-bar__menu {\n\t/* Enable font size inheritance, which allows fluid UI scaling. */\n\tfont-size: inherit;\n\n\t&.ck-menu-bar__menu_top-level {\n\t\tmax-width: 100%;\n\t}\n}\n"],sourceRoot:""}]);const a=s},3344:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var o=n(9372),i=n.n(o),r=n(935),s=n.n(r)()(i());s.push([t.id,".ck.ck-menu-bar__menu>.ck-menu-bar__menu__button>.ck-menu-bar__menu__button__arrow{pointer-events:none;z-index:var(--ck-z-default)}.ck.ck-menu-bar__menu>.ck-menu-bar__menu__button{padding:var(--ck-list-button-padding);width:100%}.ck.ck-menu-bar__menu>.ck-menu-bar__menu__button>.ck-button__label{flex-grow:1;overflow:hidden;text-overflow:ellipsis}.ck.ck-menu-bar__menu>.ck-menu-bar__menu__button.ck-disabled>.ck-button__label{opacity:var(--ck-disabled-opacity)}[dir=ltr] .ck.ck-menu-bar__menu>.ck-menu-bar__menu__button:not(.ck-button_with-text){padding-left:var(--ck-spacing-small)}[dir=rtl] .ck.ck-menu-bar__menu>.ck-menu-bar__menu__button:not(.ck-button_with-text){padding-right:var(--ck-spacing-small)}.ck.ck-menu-bar__menu.ck-menu-bar__menu_top-level>.ck-menu-bar__menu__button{min-height:unset;padding:var(--ck-spacing-small) var(--ck-spacing-medium)}.ck.ck-menu-bar__menu.ck-menu-bar__menu_top-level>.ck-menu-bar__menu__button .ck-button__label{line-height:unset;width:unset}.ck.ck-menu-bar__menu.ck-menu-bar__menu_top-level>.ck-menu-bar__menu__button.ck-on{border-bottom-left-radius:0;border-bottom-right-radius:0}.ck.ck-menu-bar__menu.ck-menu-bar__menu_top-level>.ck-menu-bar__menu__button .ck-icon{display:none}.ck.ck-menu-bar__menu:not(.ck-menu-bar__menu_top-level) .ck-menu-bar__menu__button{border-radius:0}.ck.ck-menu-bar__menu:not(.ck-menu-bar__menu_top-level) .ck-menu-bar__menu__button:focus{border-color:transparent;box-shadow:none}.ck.ck-menu-bar__menu:not(.ck-menu-bar__menu_top-level) .ck-menu-bar__menu__button:focus:not(.ck-on){background:var(--ck-color-button-default-hover-background)}.ck.ck-menu-bar__menu:not(.ck-menu-bar__menu_top-level) .ck-menu-bar__menu__button:not(:has(.ck-button__icon))>.ck-button__label{margin-left:calc(var(--ck-icon-size) - var(--ck-spacing-small))}.ck.ck-menu-bar__menu:not(.ck-menu-bar__menu_top-level) .ck-menu-bar__menu__button>.ck-menu-bar__menu__button__arrow{width:var(--ck-dropdown-arrow-size)}[dir=ltr] .ck.ck-menu-bar__menu:not(.ck-menu-bar__menu_top-level) .ck-menu-bar__menu__button>.ck-menu-bar__menu__button__arrow{transform:rotate(-90deg)}[dir=rtl] .ck.ck-menu-bar__menu:not(.ck-menu-bar__menu_top-level) .ck-menu-bar__menu__button>.ck-menu-bar__menu__button__arrow{transform:rotate(90deg)}.ck.ck-menu-bar__menu:not(.ck-menu-bar__menu_top-level) .ck-menu-bar__menu__button.ck-disabled>.ck-menu-bar__menu__button__arrow{opacity:var(--ck-disabled-opacity)}[dir=ltr] .ck.ck-menu-bar__menu:not(.ck-menu-bar__menu_top-level) .ck-menu-bar__menu__button>.ck-menu-bar__menu__button__arrow{margin-left:var(--ck-spacing-standard);right:var(--ck-spacing-standard)}[dir=rtl] .ck.ck-menu-bar__menu:not(.ck-menu-bar__menu_top-level) .ck-menu-bar__menu__button>.ck-menu-bar__menu__button__arrow{left:var(--ck-spacing-standard);margin-right:var(--ck-spacing-small)}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/menubar/menubarmenubutton.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/menubar/menubarmenubutton.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_disabled.css"],names:[],mappings:"AAMC,mFACC,mBAAoB,CACpB,2BACD,CCIA,iDACC,qCAAsC,CACtC,UAuBD,CArBC,mEACC,WAAY,CACZ,eAAgB,CAChB,sBACD,CAEA,+ECdD,kCDgBC,CAGC,qFACC,oCACD,CAIA,qFACC,qCACD,CAOF,6EAEC,gBAAiB,CADjB,wDAgBD,CAbC,+FAEC,iBAAkB,CADlB,WAED,CAEA,mFACC,2BAA4B,CAC5B,4BACD,CAEA,sFACC,YACD,CAMD,mFACC,eAiDD,CA/CC,yFACC,wBAAyB,CACzB,eAKD,CAHC,qGACC,0DACD,CAID,iIACC,+DACD,CAEA,qHACC,mCASD,CAVA,+HAIE,wBAMF,CAVA,+HAQE,uBAEF,CAEA,iICrFD,kCDuFC,CAGC,+HAIC,sCAAuC,CAHvC,gCAID,CAIA,+HACC,+BAAgC,CAGhC,oCACD",sourcesContent:["/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-menu-bar__menu {\n\t& > .ck-menu-bar__menu__button > .ck-menu-bar__menu__button__arrow {\n\t\tpointer-events: none;\n\t\tz-index: var(--ck-z-default);\n\t}\n}\n",'/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../../../mixins/_disabled.css";\n@import "../../mixins/_button.css";\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";\n\n.ck.ck-menu-bar__menu {\n\t/*\n\t * All menu buttons.\n\t */\n\t& > .ck-menu-bar__menu__button {\n\t\tpadding: var(--ck-list-button-padding);\n\t\twidth: 100%;\n\n\t\t& > .ck-button__label {\n\t\t\tflex-grow: 1;\n\t\t\toverflow: hidden;\n\t\t\ttext-overflow: ellipsis;\n\t\t}\n\n\t\t&.ck-disabled > .ck-button__label {\n\t\t\t@mixin ck-disabled;\n\t\t}\n\n\t\t@mixin ck-dir ltr {\n\t\t\t&:not(.ck-button_with-text) {\n\t\t\t\tpadding-left: var(--ck-spacing-small);\n\t\t\t}\n\t\t}\n\n\t\t@mixin ck-dir rtl {\n\t\t\t&:not(.ck-button_with-text) {\n\t\t\t\tpadding-right: var(--ck-spacing-small);\n\t\t\t}\n\t\t}\n\t}\n\n\t/*\n\t * Top-level menu buttons only.\n\t */\n\t&.ck-menu-bar__menu_top-level > .ck-menu-bar__menu__button {\n\t\tpadding: var(--ck-spacing-small) var(--ck-spacing-medium);\n\t\tmin-height: unset;\n\n\t\t& .ck-button__label {\n\t\t\twidth: unset;\n\t\t\tline-height: unset;\n\t\t}\n\n\t\t&.ck-on {\n\t\t\tborder-bottom-left-radius: 0;\n\t\t\tborder-bottom-right-radius: 0;\n\t\t}\n\n\t\t& .ck-icon {\n\t\t\tdisplay: none;\n\t\t}\n\t}\n\n\t/*\n\t * Sub-menu buttons.\n\t */\n\t&:not(.ck-menu-bar__menu_top-level) .ck-menu-bar__menu__button {\n\t\tborder-radius: 0;\n\n\t\t&:focus {\n\t\t\tborder-color: transparent;\n\t\t\tbox-shadow: none;\n\n\t\t\t&:not(.ck-on) {\n\t\t\t\tbackground: var(--ck-color-button-default-hover-background);\n\t\t\t}\n\t\t}\n\n\t\t/* Spacing in buttons that miss the icon. */\n\t\t&:not(:has(.ck-button__icon)) > .ck-button__label {\n\t\t\tmargin-left: calc(var(--ck-icon-size) - var(--ck-spacing-small));\n\t\t}\n\n\t\t& > .ck-menu-bar__menu__button__arrow {\n\t\t\twidth: var(--ck-dropdown-arrow-size);\n\n\t\t\t@mixin ck-dir ltr {\n\t\t\t\ttransform: rotate(-90deg);\n\t\t\t}\n\n\t\t\t@mixin ck-dir rtl {\n\t\t\t\ttransform: rotate(90deg);\n\t\t\t}\n\t\t}\n\n\t\t&.ck-disabled > .ck-menu-bar__menu__button__arrow {\n\t\t\t@mixin ck-disabled;\n\t\t}\n\n\t\t@mixin ck-dir ltr {\n\t\t\t& > .ck-menu-bar__menu__button__arrow {\n\t\t\t\tright: var(--ck-spacing-standard);\n\n\t\t\t\t/* A space to accommodate the triangle. */\n\t\t\t\tmargin-left: var(--ck-spacing-standard);\n\t\t\t}\n\t\t}\n\n\t\t@mixin ck-dir rtl {\n\t\t\t& > .ck-menu-bar__menu__button__arrow {\n\t\t\t\tleft: var(--ck-spacing-standard);\n\n\t\t\t\t/* A space to accommodate the triangle. */\n\t\t\t\tmargin-right: var(--ck-spacing-small);\n\t\t\t}\n\t\t}\n\t}\n}\n',"/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * A class which indicates that an element holding it is disabled.\n */\n@define-mixin ck-disabled {\n\topacity: var(--ck-disabled-opacity);\n}\n"],sourceRoot:""}]);const a=s},9481:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var o=n(9372),i=n.n(o),r=n(935),s=n.n(r)()(i());s.push([t.id,":root{--ck-menu-bar-menu-item-min-width:18em}.ck.ck-menu-bar__menu .ck.ck-menu-bar__menu__item{min-width:var(--ck-menu-bar-menu-item-min-width)}","",{version:3,sources:["webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/menubar/menubarmenulistitem.css"],names:[],mappings:"AAKA,MACC,sCACD,CAEA,kDACC,gDACD",sourcesContent:["/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-menu-bar-menu-item-min-width: 18em;\n}\n\n.ck.ck-menu-bar__menu .ck.ck-menu-bar__menu__item {\n\tmin-width: var(--ck-menu-bar-menu-item-min-width);\n}\n"],sourceRoot:""}]);const a=s},977:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var o=n(9372),i=n.n(o),r=n(935),s=n.n(r)()(i());s.push([t.id,".ck.ck-menu-bar__menu .ck-button.ck-menu-bar__menu__item__button{border-radius:0}.ck.ck-menu-bar__menu .ck-button.ck-menu-bar__menu__item__button>.ck-spinner-container,.ck.ck-menu-bar__menu .ck-button.ck-menu-bar__menu__item__button>.ck-spinner-container .ck-spinner{--ck-toolbar-spinner-size:20px}.ck.ck-menu-bar__menu .ck-button.ck-menu-bar__menu__item__button>.ck-spinner-container{margin-left:calc(var(--ck-spacing-small)*-1);margin-right:var(--ck-spacing-small)}.ck.ck-menu-bar__menu .ck-button.ck-menu-bar__menu__item__button:focus{border-color:transparent;box-shadow:none}.ck.ck-menu-bar__menu .ck-button.ck-menu-bar__menu__item__button:focus:not(.ck-on){background:var(--ck-color-button-default-hover-background)}.ck.ck-menu-bar__menu.ck-menu-bar__menu_top-level>.ck-menu-bar__menu__panel>ul>.ck-menu-bar__menu__item>.ck-menu-bar__menu__item__button:not(:has(.ck-button__icon))>.ck-button__label{margin-left:calc(var(--ck-icon-size) - var(--ck-spacing-small))}","",{version:3,sources:["webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/menubar/menubarmenulistitembutton.css"],names:[],mappings:"AASC,iEACC,eA0BD,CAxBC,0LAGC,8BACD,CAEA,uFAEC,4CAA+C,CAC/C,oCACD,CAMA,uEACC,wBAAyB,CACzB,eAKD,CAHC,mFACC,0DACD,CASD,uLACC,+DACD",sourcesContent:["/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-menu-bar__menu {\n\t/*\n\t * List item buttons.\n\t */\n\t& .ck-button.ck-menu-bar__menu__item__button {\n\t\tborder-radius: 0;\n\n\t\t& > .ck-spinner-container,\n\t\t& > .ck-spinner-container .ck-spinner {\n\t\t\t/* These styles correspond to .ck-icon so that the spinner seamlessly replaces the icon. */\n\t\t\t--ck-toolbar-spinner-size: 20px;\n\t\t}\n\n\t\t& > .ck-spinner-container {\n\t\t\t/* These margins are the same as for .ck-icon. */\n\t\t\tmargin-left: calc(-1 * var(--ck-spacing-small));\n\t\t\tmargin-right: var(--ck-spacing-small);\n\t\t}\n\n\t\t/*\n\t\t * Hovered items automatically get focused. Default focus styles look odd\n\t\t * while moving across a huge list of items so let's get rid of them\n\t\t */\n\t\t&:focus {\n\t\t\tborder-color: transparent;\n\t\t\tbox-shadow: none;\n\n\t\t\t&:not(.ck-on) {\n\t\t\t\tbackground: var(--ck-color-button-default-hover-background);\n\t\t\t}\n\t\t}\n\t}\n\n\t/*\n\t * First-level sub-menu item buttons.\n\t */\n\t&.ck-menu-bar__menu_top-level > .ck-menu-bar__menu__panel > ul > .ck-menu-bar__menu__item > .ck-menu-bar__menu__item__button {\n\t\t/* Spacing in buttons that miss the icon. */\n\t\t&:not(:has(.ck-button__icon)) > .ck-button__label {\n\t\t\tmargin-left: calc(var(--ck-icon-size) - var(--ck-spacing-small));\n\t\t}\n\t}\n}\n\n\n"],sourceRoot:""}]);const a=s},9108:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var o=n(9372),i=n.n(o),r=n(935),s=n.n(r)()(i());s.push([t.id,":root{--ck-menu-bar-menu-max-width:75vw;--ck-menu-bar-nested-menu-horizontal-offset:5px}.ck.ck-menu-bar__menu>.ck.ck-menu-bar__menu__panel{max-width:var(--ck-menu-bar-menu-max-width);position:absolute;z-index:var(--ck-z-panel)}.ck.ck-menu-bar__menu>.ck.ck-menu-bar__menu__panel.ck-menu-bar__menu__panel_position_ne,.ck.ck-menu-bar__menu>.ck.ck-menu-bar__menu__panel.ck-menu-bar__menu__panel_position_nw{bottom:100%}.ck.ck-menu-bar__menu>.ck.ck-menu-bar__menu__panel.ck-menu-bar__menu__panel_position_se,.ck.ck-menu-bar__menu>.ck.ck-menu-bar__menu__panel.ck-menu-bar__menu__panel_position_sw{bottom:auto;top:100%}.ck.ck-menu-bar__menu>.ck.ck-menu-bar__menu__panel.ck-menu-bar__menu__panel_position_ne,.ck.ck-menu-bar__menu>.ck.ck-menu-bar__menu__panel.ck-menu-bar__menu__panel_position_se{left:0}.ck.ck-menu-bar__menu>.ck.ck-menu-bar__menu__panel.ck-menu-bar__menu__panel_position_nw,.ck.ck-menu-bar__menu>.ck.ck-menu-bar__menu__panel.ck-menu-bar__menu__panel_position_sw{right:0}.ck.ck-menu-bar__menu>.ck.ck-menu-bar__menu__panel.ck-menu-bar__menu__panel_position_en,.ck.ck-menu-bar__menu>.ck.ck-menu-bar__menu__panel.ck-menu-bar__menu__panel_position_es{left:calc(100% - var(--ck-menu-bar-nested-menu-horizontal-offset))}.ck.ck-menu-bar__menu>.ck.ck-menu-bar__menu__panel.ck-menu-bar__menu__panel_position_es{top:0}.ck.ck-menu-bar__menu>.ck.ck-menu-bar__menu__panel.ck-menu-bar__menu__panel_position_en{bottom:0}.ck.ck-menu-bar__menu>.ck.ck-menu-bar__menu__panel.ck-menu-bar__menu__panel_position_wn,.ck.ck-menu-bar__menu>.ck.ck-menu-bar__menu__panel.ck-menu-bar__menu__panel_position_ws{right:calc(100% - var(--ck-menu-bar-nested-menu-horizontal-offset))}.ck.ck-menu-bar__menu>.ck.ck-menu-bar__menu__panel.ck-menu-bar__menu__panel_position_ws{top:0}.ck.ck-menu-bar__menu>.ck.ck-menu-bar__menu__panel.ck-menu-bar__menu__panel_position_wn{bottom:0}:root{--ck-menu-bar-menu-panel-max-width:75vw}.ck.ck-menu-bar__menu>.ck.ck-menu-bar__menu__panel{border-radius:0}.ck-rounded-corners .ck.ck-menu-bar__menu>.ck.ck-menu-bar__menu__panel,.ck.ck-menu-bar__menu>.ck.ck-menu-bar__menu__panel.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck.ck-menu-bar__menu>.ck.ck-menu-bar__menu__panel{background:var(--ck-color-dropdown-panel-background);border:1px solid var(--ck-color-dropdown-panel-border);bottom:0;box-shadow:var(--ck-drop-shadow),0 0;height:fit-content;max-width:var(--ck-menu-bar-menu-panel-max-width)}.ck.ck-menu-bar__menu>.ck.ck-menu-bar__menu__panel.ck-menu-bar__menu__panel_position_es,.ck.ck-menu-bar__menu>.ck.ck-menu-bar__menu__panel.ck-menu-bar__menu__panel_position_se{border-top-left-radius:0}.ck.ck-menu-bar__menu>.ck.ck-menu-bar__menu__panel.ck-menu-bar__menu__panel_position_sw,.ck.ck-menu-bar__menu>.ck.ck-menu-bar__menu__panel.ck-menu-bar__menu__panel_position_ws{border-top-right-radius:0}.ck.ck-menu-bar__menu>.ck.ck-menu-bar__menu__panel.ck-menu-bar__menu__panel_position_en,.ck.ck-menu-bar__menu>.ck.ck-menu-bar__menu__panel.ck-menu-bar__menu__panel_position_ne{border-bottom-left-radius:0}.ck.ck-menu-bar__menu>.ck.ck-menu-bar__menu__panel.ck-menu-bar__menu__panel_position_nw,.ck.ck-menu-bar__menu>.ck.ck-menu-bar__menu__panel.ck-menu-bar__menu__panel_position_wn{border-bottom-right-radius:0}.ck.ck-menu-bar__menu>.ck.ck-menu-bar__menu__panel:focus{outline:none}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/menubar/menubarmenupanel.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/menubar/menubarmenupanel.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_rounded.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_shadow.css"],names:[],mappings:"AAKA,MACC,iCAAkC,CAClC,+CACD,CAEA,mDAEC,2CAA4C,CAC5C,iBAAkB,CAFlB,yBAkDD,CA9CC,gLAEC,WACD,CAEA,gLAGC,WAAY,CADZ,QAED,CAEA,gLAEC,MACD,CAEA,gLAEC,OACD,CAEA,gLAEC,kEACD,CAEA,wFACC,KACD,CAEA,wFACC,QACD,CAEA,gLAEC,mEACD,CAEA,wFACC,KACD,CAEA,wFACC,QACD,CCpDD,MACC,uCACD,CAEA,mDCDC,eDmCD,CAlCA,6ICGE,qCD+BF,CAlCA,mDAIC,oDAAqD,CACrD,sDAAuD,CACvD,QAAS,CETT,oCAA8B,CFU9B,kBAAmB,CACnB,iDA0BD,CAvBC,gLAEC,wBACD,CAEA,gLAEC,yBACD,CAEA,gLAEC,2BACD,CAEA,gLAEC,4BACD,CAEA,yDACC,YACD",sourcesContent:["/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-menu-bar-menu-max-width: 75vw;\n\t--ck-menu-bar-nested-menu-horizontal-offset: 5px;\n}\n\n.ck.ck-menu-bar__menu > .ck.ck-menu-bar__menu__panel {\n\tz-index: var(--ck-z-panel);\n\tmax-width: var(--ck-menu-bar-menu-max-width);\n\tposition: absolute;\n\n\t&.ck-menu-bar__menu__panel_position_ne,\n\t&.ck-menu-bar__menu__panel_position_nw {\n\t\tbottom: 100%;\n\t}\n\n\t&.ck-menu-bar__menu__panel_position_se,\n\t&.ck-menu-bar__menu__panel_position_sw {\n\t\ttop: 100%;\n\t\tbottom: auto;\n\t}\n\n\t&.ck-menu-bar__menu__panel_position_ne,\n\t&.ck-menu-bar__menu__panel_position_se {\n\t\tleft: 0px;\n\t}\n\n\t&.ck-menu-bar__menu__panel_position_nw,\n\t&.ck-menu-bar__menu__panel_position_sw {\n\t\tright: 0px;\n\t}\n\n\t&.ck-menu-bar__menu__panel_position_es,\n\t&.ck-menu-bar__menu__panel_position_en {\n\t\tleft: calc( 100% - var(--ck-menu-bar-nested-menu-horizontal-offset) );\n\t}\n\n\t&.ck-menu-bar__menu__panel_position_es {\n\t\ttop: 0px;\n\t}\n\n\t&.ck-menu-bar__menu__panel_position_en {\n\t\tbottom: 0px;\n\t}\n\n\t&.ck-menu-bar__menu__panel_position_ws,\n\t&.ck-menu-bar__menu__panel_position_wn {\n\t\tright: calc( 100% - var(--ck-menu-bar-nested-menu-horizontal-offset) );\n\t}\n\n\t&.ck-menu-bar__menu__panel_position_ws {\n\t\ttop: 0px;\n\t}\n\n\t&.ck-menu-bar__menu__panel_position_wn {\n\t\tbottom: 0px;\n\t}\n}\n",'/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../../../mixins/_rounded.css";\n@import "../../../mixins/_shadow.css";\n\n:root {\n\t--ck-menu-bar-menu-panel-max-width: 75vw;\n}\n\n.ck.ck-menu-bar__menu > .ck.ck-menu-bar__menu__panel {\n\t@mixin ck-rounded-corners;\n\t@mixin ck-drop-shadow;\n\n\tbackground: var(--ck-color-dropdown-panel-background);\n\tborder: 1px solid var(--ck-color-dropdown-panel-border);\n\tbottom: 0;\n\theight: fit-content;\n\tmax-width: var(--ck-menu-bar-menu-panel-max-width);\n\n\t/* Corner border radius consistent with the button. */\n\t&.ck-menu-bar__menu__panel_position_es,\n\t&.ck-menu-bar__menu__panel_position_se {\n\t\tborder-top-left-radius: 0;\n\t}\n\n\t&.ck-menu-bar__menu__panel_position_ws,\n\t&.ck-menu-bar__menu__panel_position_sw {\n\t\tborder-top-right-radius: 0;\n\t}\n\n\t&.ck-menu-bar__menu__panel_position_en,\n\t&.ck-menu-bar__menu__panel_position_ne {\n\t\tborder-bottom-left-radius: 0;\n\t}\n\n\t&.ck-menu-bar__menu__panel_position_wn,\n\t&.ck-menu-bar__menu__panel_position_nw {\n\t\tborder-bottom-right-radius: 0;\n\t}\n\n\t&:focus {\n\t\toutline: none;\n\t}\n}\n',"/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Implements rounded corner interface for .ck-rounded-corners class.\n *\n * @see $ck-border-radius\n */\n@define-mixin ck-rounded-corners {\n\tborder-radius: 0;\n\n\t@nest .ck-rounded-corners &,\n\t&.ck-rounded-corners {\n\t\tborder-radius: var(--ck-border-radius);\n\t\t@mixin-content;\n\t}\n}\n","/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * A helper to combine multiple shadows.\n */\n@define-mixin ck-box-shadow $shadowA, $shadowB: 0 0 {\n\tbox-shadow: $shadowA, $shadowB;\n}\n\n/**\n * Gives an element a drop shadow so it looks like a floating panel.\n */\n@define-mixin ck-drop-shadow {\n\t@mixin ck-box-shadow var(--ck-drop-shadow);\n}\n"],sourceRoot:""}]);const a=s},3710:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var o=n(9372),i=n.n(o),r=n(935),s=n.n(r)()(i());s.push([t.id,':root{--ck-balloon-panel-arrow-z-index:calc(var(--ck-z-default) - 3)}.ck.ck-balloon-panel{display:none;position:absolute;z-index:var(--ck-z-panel)}.ck.ck-balloon-panel.ck-balloon-panel_with-arrow:after,.ck.ck-balloon-panel.ck-balloon-panel_with-arrow:before{content:"";position:absolute}.ck.ck-balloon-panel.ck-balloon-panel_with-arrow:before{z-index:var(--ck-balloon-panel-arrow-z-index)}.ck.ck-balloon-panel.ck-balloon-panel_with-arrow:after{z-index:calc(var(--ck-balloon-panel-arrow-z-index) + 1)}.ck.ck-balloon-panel[class*=arrow_n]:before{z-index:var(--ck-balloon-panel-arrow-z-index)}.ck.ck-balloon-panel[class*=arrow_n]:after{z-index:calc(var(--ck-balloon-panel-arrow-z-index) + 1)}.ck.ck-balloon-panel[class*=arrow_s]:before{z-index:var(--ck-balloon-panel-arrow-z-index)}.ck.ck-balloon-panel[class*=arrow_s]:after{z-index:calc(var(--ck-balloon-panel-arrow-z-index) + 1)}.ck.ck-balloon-panel.ck-balloon-panel_visible{display:block}:root{--ck-balloon-border-width:1px;--ck-balloon-arrow-offset:2px;--ck-balloon-arrow-height:10px;--ck-balloon-arrow-half-width:8px;--ck-balloon-arrow-drop-shadow:0 2px 2px var(--ck-color-shadow-drop)}.ck.ck-balloon-panel{border-radius:0}.ck-rounded-corners .ck.ck-balloon-panel,.ck.ck-balloon-panel.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck.ck-balloon-panel{background:var(--ck-color-panel-background);border:var(--ck-balloon-border-width) solid var(--ck-color-panel-border);box-shadow:var(--ck-drop-shadow),0 0;min-height:15px}.ck.ck-balloon-panel.ck-balloon-panel_with-arrow:after,.ck.ck-balloon-panel.ck-balloon-panel_with-arrow:before{border-style:solid;height:0;width:0}.ck.ck-balloon-panel[class*=arrow_n]:after,.ck.ck-balloon-panel[class*=arrow_n]:before{border-width:0 var(--ck-balloon-arrow-half-width) var(--ck-balloon-arrow-height) var(--ck-balloon-arrow-half-width)}.ck.ck-balloon-panel[class*=arrow_n]:before{border-color:transparent transparent var(--ck-color-panel-border) transparent;margin-top:calc(var(--ck-balloon-border-width)*-1)}.ck.ck-balloon-panel[class*=arrow_n]:after{border-color:transparent transparent var(--ck-color-panel-background) transparent;margin-top:calc(var(--ck-balloon-arrow-offset) - var(--ck-balloon-border-width))}.ck.ck-balloon-panel[class*=arrow_s]:after,.ck.ck-balloon-panel[class*=arrow_s]:before{border-width:var(--ck-balloon-arrow-height) var(--ck-balloon-arrow-half-width) 0 var(--ck-balloon-arrow-half-width)}.ck.ck-balloon-panel[class*=arrow_s]:before{border-color:var(--ck-color-panel-border) transparent transparent;filter:drop-shadow(var(--ck-balloon-arrow-drop-shadow));margin-bottom:calc(var(--ck-balloon-border-width)*-1)}.ck.ck-balloon-panel[class*=arrow_s]:after{border-color:var(--ck-color-panel-background) transparent transparent transparent;margin-bottom:calc(var(--ck-balloon-arrow-offset) - var(--ck-balloon-border-width))}.ck.ck-balloon-panel[class*=arrow_e]:after,.ck.ck-balloon-panel[class*=arrow_e]:before{border-width:var(--ck-balloon-arrow-half-width) 0 var(--ck-balloon-arrow-half-width) var(--ck-balloon-arrow-height)}.ck.ck-balloon-panel[class*=arrow_e]:before{border-color:transparent transparent transparent var(--ck-color-panel-border);margin-right:calc(var(--ck-balloon-border-width)*-1)}.ck.ck-balloon-panel[class*=arrow_e]:after{border-color:transparent transparent transparent var(--ck-color-panel-background);margin-right:calc(var(--ck-balloon-arrow-offset) - var(--ck-balloon-border-width))}.ck.ck-balloon-panel[class*=arrow_w]:after,.ck.ck-balloon-panel[class*=arrow_w]:before{border-width:var(--ck-balloon-arrow-half-width) var(--ck-balloon-arrow-height) var(--ck-balloon-arrow-half-width) 0}.ck.ck-balloon-panel[class*=arrow_w]:before{border-color:transparent var(--ck-color-panel-border) transparent transparent;margin-left:calc(var(--ck-balloon-border-width)*-1)}.ck.ck-balloon-panel[class*=arrow_w]:after{border-color:transparent var(--ck-color-panel-background) transparent transparent;margin-left:calc(var(--ck-balloon-arrow-offset) - var(--ck-balloon-border-width))}.ck.ck-balloon-panel.ck-balloon-panel_arrow_n:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_n:before{left:50%;margin-left:calc(var(--ck-balloon-arrow-half-width)*-1);top:calc(var(--ck-balloon-arrow-height)*-1)}.ck.ck-balloon-panel.ck-balloon-panel_arrow_nw:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_nw:before{left:calc(var(--ck-balloon-arrow-half-width)*2);top:calc(var(--ck-balloon-arrow-height)*-1)}.ck.ck-balloon-panel.ck-balloon-panel_arrow_ne:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_ne:before{right:calc(var(--ck-balloon-arrow-half-width)*2);top:calc(var(--ck-balloon-arrow-height)*-1)}.ck.ck-balloon-panel.ck-balloon-panel_arrow_s:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_s:before{bottom:calc(var(--ck-balloon-arrow-height)*-1);left:50%;margin-left:calc(var(--ck-balloon-arrow-half-width)*-1)}.ck.ck-balloon-panel.ck-balloon-panel_arrow_sw:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_sw:before{bottom:calc(var(--ck-balloon-arrow-height)*-1);left:calc(var(--ck-balloon-arrow-half-width)*2)}.ck.ck-balloon-panel.ck-balloon-panel_arrow_se:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_se:before{bottom:calc(var(--ck-balloon-arrow-height)*-1);right:calc(var(--ck-balloon-arrow-half-width)*2)}.ck.ck-balloon-panel.ck-balloon-panel_arrow_sme:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_sme:before{bottom:calc(var(--ck-balloon-arrow-height)*-1);margin-right:calc(var(--ck-balloon-arrow-half-width)*2);right:25%}.ck.ck-balloon-panel.ck-balloon-panel_arrow_smw:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_smw:before{bottom:calc(var(--ck-balloon-arrow-height)*-1);left:25%;margin-left:calc(var(--ck-balloon-arrow-half-width)*2)}.ck.ck-balloon-panel.ck-balloon-panel_arrow_nme:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_nme:before{margin-right:calc(var(--ck-balloon-arrow-half-width)*2);right:25%;top:calc(var(--ck-balloon-arrow-height)*-1)}.ck.ck-balloon-panel.ck-balloon-panel_arrow_nmw:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_nmw:before{left:25%;margin-left:calc(var(--ck-balloon-arrow-half-width)*2);top:calc(var(--ck-balloon-arrow-height)*-1)}.ck.ck-balloon-panel.ck-balloon-panel_arrow_e:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_e:before{margin-top:calc(var(--ck-balloon-arrow-half-width)*-1);right:calc(var(--ck-balloon-arrow-height)*-1);top:50%}.ck.ck-balloon-panel.ck-balloon-panel_arrow_w:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_w:before{left:calc(var(--ck-balloon-arrow-height)*-1);margin-top:calc(var(--ck-balloon-arrow-half-width)*-1);top:50%}',"",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/panel/balloonpanel.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/panel/balloonpanel.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_rounded.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_shadow.css"],names:[],mappings:"AAKA,MAEC,8DACD,CAEA,qBACC,YAAa,CACb,iBAAkB,CAElB,yBAyCD,CAtCE,+GAEC,UAAW,CACX,iBACD,CAEA,wDACC,6CACD,CAEA,uDACC,uDACD,CAIA,4CACC,6CACD,CAEA,2CACC,uDACD,CAIA,4CACC,6CACD,CAEA,2CACC,uDACD,CAGD,8CACC,aACD,CC9CD,MACC,6BAA8B,CAC9B,6BAA8B,CAC9B,8BAA+B,CAC/B,iCAAkC,CAClC,oEACD,CAEA,qBCLC,eDmMD,CA9LA,iFCDE,qCD+LF,CA9LA,qBAMC,2CAA4C,CAC5C,wEAAyE,CEdzE,oCAA8B,CFW9B,eA0LD,CApLE,+GAIC,kBAAmB,CADnB,QAAS,CADT,OAGD,CAIA,uFAEC,mHACD,CAEA,4CACC,6EAA8E,CAC9E,kDACD,CAEA,2CACC,iFAAkF,CAClF,gFACD,CAIA,uFAEC,mHACD,CAEA,4CACC,iEAAkE,CAClE,uDAAwD,CACxD,qDACD,CAEA,2CACC,iFAAkF,CAClF,mFACD,CAIA,uFAEC,mHACD,CAEA,4CACC,6EAA8E,CAC9E,oDACD,CAEA,2CACC,iFAAkF,CAClF,kFACD,CAIA,uFAEC,mHACD,CAEA,4CACC,6EAA8E,CAC9E,mDACD,CAEA,2CACC,iFAAkF,CAClF,iFACD,CAIA,yGAEC,QAAS,CACT,uDAA0D,CAC1D,2CACD,CAIA,2GAEC,+CAAkD,CAClD,2CACD,CAIA,2GAEC,gDAAmD,CACnD,2CACD,CAIA,yGAIC,8CAAiD,CAFjD,QAAS,CACT,uDAED,CAIA,2GAGC,8CAAiD,CADjD,+CAED,CAIA,2GAGC,8CAAiD,CADjD,gDAED,CAIA,6GAIC,8CAAiD,CADjD,uDAA0D,CAD1D,SAGD,CAIA,6GAIC,8CAAiD,CAFjD,QAAS,CACT,sDAED,CAIA,6GAGC,uDAA0D,CAD1D,SAAU,CAEV,2CACD,CAIA,6GAEC,QAAS,CACT,sDAAyD,CACzD,2CACD,CAIA,yGAGC,sDAAyD,CADzD,6CAAgD,CAEhD,OACD,CAIA,yGAEC,4CAA+C,CAC/C,sDAAyD,CACzD,OACD",sourcesContent:['/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t/* Make sure the balloon arrow does not float over its children. */\n\t--ck-balloon-panel-arrow-z-index: calc(var(--ck-z-default) - 3);\n}\n\n.ck.ck-balloon-panel {\n\tdisplay: none;\n\tposition: absolute;\n\n\tz-index: var(--ck-z-panel);\n\n\t&.ck-balloon-panel_with-arrow {\n\t\t&::before,\n\t\t&::after {\n\t\t\tcontent: "";\n\t\t\tposition: absolute;\n\t\t}\n\n\t\t&::before {\n\t\t\tz-index: var(--ck-balloon-panel-arrow-z-index);\n\t\t}\n\n\t\t&::after {\n\t\t\tz-index: calc(var(--ck-balloon-panel-arrow-z-index) + 1);\n\t\t}\n\t}\n\n\t&[class*="arrow_n"] {\n\t\t&::before {\n\t\t\tz-index: var(--ck-balloon-panel-arrow-z-index);\n\t\t}\n\n\t\t&::after {\n\t\t\tz-index: calc(var(--ck-balloon-panel-arrow-z-index) + 1);\n\t\t}\n\t}\n\n\t&[class*="arrow_s"] {\n\t\t&::before {\n\t\t\tz-index: var(--ck-balloon-panel-arrow-z-index);\n\t\t}\n\n\t\t&::after {\n\t\t\tz-index: calc(var(--ck-balloon-panel-arrow-z-index) + 1);\n\t\t}\n\t}\n\n\t&.ck-balloon-panel_visible {\n\t\tdisplay: block;\n\t}\n}\n','/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../../../mixins/_rounded.css";\n@import "../../../mixins/_shadow.css";\n\n:root {\n\t--ck-balloon-border-width: 1px;\n\t--ck-balloon-arrow-offset: 2px;\n\t--ck-balloon-arrow-height: 10px;\n\t--ck-balloon-arrow-half-width: 8px;\n\t--ck-balloon-arrow-drop-shadow: 0 2px 2px var(--ck-color-shadow-drop);\n}\n\n.ck.ck-balloon-panel {\n\t@mixin ck-rounded-corners;\n\t@mixin ck-drop-shadow;\n\n\tmin-height: 15px;\n\n\tbackground: var(--ck-color-panel-background);\n\tborder: var(--ck-balloon-border-width) solid var(--ck-color-panel-border);\n\n\t&.ck-balloon-panel_with-arrow {\n\t\t&::before,\n\t\t&::after {\n\t\t\twidth: 0;\n\t\t\theight: 0;\n\t\t\tborder-style: solid;\n\t\t}\n\t}\n\n\t&[class*="arrow_n"] {\n\t\t&::before,\n\t\t&::after {\n\t\t\tborder-width: 0 var(--ck-balloon-arrow-half-width) var(--ck-balloon-arrow-height) var(--ck-balloon-arrow-half-width);\n\t\t}\n\n\t\t&::before {\n\t\t\tborder-color: transparent transparent var(--ck-color-panel-border) transparent;\n\t\t\tmargin-top: calc( -1 * var(--ck-balloon-border-width) );\n\t\t}\n\n\t\t&::after {\n\t\t\tborder-color: transparent transparent var(--ck-color-panel-background) transparent;\n\t\t\tmargin-top: calc( var(--ck-balloon-arrow-offset) - var(--ck-balloon-border-width) );\n\t\t}\n\t}\n\n\t&[class*="arrow_s"] {\n\t\t&::before,\n\t\t&::after {\n\t\t\tborder-width: var(--ck-balloon-arrow-height) var(--ck-balloon-arrow-half-width) 0 var(--ck-balloon-arrow-half-width);\n\t\t}\n\n\t\t&::before {\n\t\t\tborder-color: var(--ck-color-panel-border) transparent transparent;\n\t\t\tfilter: drop-shadow(var(--ck-balloon-arrow-drop-shadow));\n\t\t\tmargin-bottom: calc( -1 * var(--ck-balloon-border-width) );\n\t\t}\n\n\t\t&::after {\n\t\t\tborder-color: var(--ck-color-panel-background) transparent transparent transparent;\n\t\t\tmargin-bottom: calc( var(--ck-balloon-arrow-offset) - var(--ck-balloon-border-width) );\n\t\t}\n\t}\n\n\t&[class*="arrow_e"] {\n\t\t&::before,\n\t\t&::after {\n\t\t\tborder-width: var(--ck-balloon-arrow-half-width) 0 var(--ck-balloon-arrow-half-width) var(--ck-balloon-arrow-height);\n\t\t}\n\n\t\t&::before {\n\t\t\tborder-color: transparent transparent transparent var(--ck-color-panel-border);\n\t\t\tmargin-right: calc( -1 * var(--ck-balloon-border-width) );\n\t\t}\n\n\t\t&::after {\n\t\t\tborder-color: transparent transparent transparent var(--ck-color-panel-background);\n\t\t\tmargin-right: calc( var(--ck-balloon-arrow-offset) - var(--ck-balloon-border-width) );\n\t\t}\n\t}\n\n\t&[class*="arrow_w"] {\n\t\t&::before,\n\t\t&::after {\n\t\t\tborder-width: var(--ck-balloon-arrow-half-width) var(--ck-balloon-arrow-height) var(--ck-balloon-arrow-half-width) 0;\n\t\t}\n\n\t\t&::before {\n\t\t\tborder-color: transparent var(--ck-color-panel-border) transparent transparent;\n\t\t\tmargin-left: calc( -1 * var(--ck-balloon-border-width) );\n\t\t}\n\n\t\t&::after {\n\t\t\tborder-color: transparent var(--ck-color-panel-background) transparent transparent;\n\t\t\tmargin-left: calc( var(--ck-balloon-arrow-offset) - var(--ck-balloon-border-width) );\n\t\t}\n\t}\n\n\t&.ck-balloon-panel_arrow_n {\n\t\t&::before,\n\t\t&::after {\n\t\t\tleft: 50%;\n\t\t\tmargin-left: calc(-1 * var(--ck-balloon-arrow-half-width));\n\t\t\ttop: calc(-1 * var(--ck-balloon-arrow-height));\n\t\t}\n\t}\n\n\t&.ck-balloon-panel_arrow_nw {\n\t\t&::before,\n\t\t&::after {\n\t\t\tleft: calc(2 * var(--ck-balloon-arrow-half-width));\n\t\t\ttop: calc(-1 * var(--ck-balloon-arrow-height));\n\t\t}\n\t}\n\n\t&.ck-balloon-panel_arrow_ne {\n\t\t&::before,\n\t\t&::after {\n\t\t\tright: calc(2 * var(--ck-balloon-arrow-half-width));\n\t\t\ttop: calc(-1 * var(--ck-balloon-arrow-height));\n\t\t}\n\t}\n\n\t&.ck-balloon-panel_arrow_s {\n\t\t&::before,\n\t\t&::after {\n\t\t\tleft: 50%;\n\t\t\tmargin-left: calc(-1 * var(--ck-balloon-arrow-half-width));\n\t\t\tbottom: calc(-1 * var(--ck-balloon-arrow-height));\n\t\t}\n\t}\n\n\t&.ck-balloon-panel_arrow_sw {\n\t\t&::before,\n\t\t&::after {\n\t\t\tleft: calc(2 * var(--ck-balloon-arrow-half-width));\n\t\t\tbottom: calc(-1 * var(--ck-balloon-arrow-height));\n\t\t}\n\t}\n\n\t&.ck-balloon-panel_arrow_se {\n\t\t&::before,\n\t\t&::after {\n\t\t\tright: calc(2 * var(--ck-balloon-arrow-half-width));\n\t\t\tbottom: calc(-1 * var(--ck-balloon-arrow-height));\n\t\t}\n\t}\n\n\t&.ck-balloon-panel_arrow_sme {\n\t\t&::before,\n\t\t&::after {\n\t\t\tright: 25%;\n\t\t\tmargin-right: calc(2 * var(--ck-balloon-arrow-half-width));\n\t\t\tbottom: calc(-1 * var(--ck-balloon-arrow-height));\n\t\t}\n\t}\n\n\t&.ck-balloon-panel_arrow_smw {\n\t\t&::before,\n\t\t&::after {\n\t\t\tleft: 25%;\n\t\t\tmargin-left: calc(2 * var(--ck-balloon-arrow-half-width));\n\t\t\tbottom: calc(-1 * var(--ck-balloon-arrow-height));\n\t\t}\n\t}\n\n\t&.ck-balloon-panel_arrow_nme {\n\t\t&::before,\n\t\t&::after {\n\t\t\tright: 25%;\n\t\t\tmargin-right: calc(2 * var(--ck-balloon-arrow-half-width));\n\t\t\ttop: calc(-1 * var(--ck-balloon-arrow-height));\n\t\t}\n\t}\n\n\t&.ck-balloon-panel_arrow_nmw {\n\t\t&::before,\n\t\t&::after {\n\t\t\tleft: 25%;\n\t\t\tmargin-left: calc(2 * var(--ck-balloon-arrow-half-width));\n\t\t\ttop: calc(-1 * var(--ck-balloon-arrow-height));\n\t\t}\n\t}\n\n\t&.ck-balloon-panel_arrow_e {\n\t\t&::before,\n\t\t&::after {\n\t\t\tright: calc(-1 * var(--ck-balloon-arrow-height));\n\t\t\tmargin-top: calc(-1 * var(--ck-balloon-arrow-half-width));\n\t\t\ttop: 50%;\n\t\t}\n\t}\n\n\t&.ck-balloon-panel_arrow_w {\n\t\t&::before,\n\t\t&::after {\n\t\t\tleft: calc(-1 * var(--ck-balloon-arrow-height));\n\t\t\tmargin-top: calc(-1 * var(--ck-balloon-arrow-half-width));\n\t\t\ttop: 50%;\n\t\t}\n\t}\n}\n',"/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Implements rounded corner interface for .ck-rounded-corners class.\n *\n * @see $ck-border-radius\n */\n@define-mixin ck-rounded-corners {\n\tborder-radius: 0;\n\n\t@nest .ck-rounded-corners &,\n\t&.ck-rounded-corners {\n\t\tborder-radius: var(--ck-border-radius);\n\t\t@mixin-content;\n\t}\n}\n","/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * A helper to combine multiple shadows.\n */\n@define-mixin ck-box-shadow $shadowA, $shadowB: 0 0 {\n\tbox-shadow: $shadowA, $shadowB;\n}\n\n/**\n * Gives an element a drop shadow so it looks like a floating panel.\n */\n@define-mixin ck-drop-shadow {\n\t@mixin ck-box-shadow var(--ck-drop-shadow);\n}\n"],sourceRoot:""}]);const a=s},991:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var o=n(9372),i=n.n(o),r=n(935),s=n.n(r)()(i());s.push([t.id,".ck .ck-balloon-rotator__navigation{align-items:center;display:flex;justify-content:center}.ck .ck-balloon-rotator__content .ck-toolbar{justify-content:center}.ck .ck-balloon-rotator__navigation{background:var(--ck-color-toolbar-background);border-bottom:1px solid var(--ck-color-toolbar-border);padding:0 var(--ck-spacing-small)}.ck .ck-balloon-rotator__navigation>*{margin-bottom:var(--ck-spacing-small);margin-right:var(--ck-spacing-small);margin-top:var(--ck-spacing-small)}.ck .ck-balloon-rotator__navigation .ck-balloon-rotator__counter{margin-left:var(--ck-spacing-small);margin-right:var(--ck-spacing-standard)}.ck .ck-balloon-rotator__content .ck.ck-annotation-wrapper{box-shadow:none}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/panel/balloonrotator.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/panel/balloonrotator.css"],names:[],mappings:"AAKA,oCAEC,kBAAmB,CADnB,YAAa,CAEb,sBACD,CAKA,6CACC,sBACD,CCXA,oCACC,6CAA8C,CAC9C,sDAAuD,CACvD,iCAgBD,CAbC,sCAGC,qCAAsC,CAFtC,oCAAqC,CACrC,kCAED,CAGA,iEAIC,mCAAoC,CAHpC,uCAID,CAMA,2DACC,eACD",sourcesContent:["/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck .ck-balloon-rotator__navigation {\n\tdisplay: flex;\n\talign-items: center;\n\tjustify-content: center;\n}\n\n/* Buttons inside a toolbar should be centered when rotator bar is wider.\n * See: https://github.com/ckeditor/ckeditor5-ui/issues/495\n */\n.ck .ck-balloon-rotator__content .ck-toolbar {\n\tjustify-content: center;\n}\n","/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck .ck-balloon-rotator__navigation {\n\tbackground: var(--ck-color-toolbar-background);\n\tborder-bottom: 1px solid var(--ck-color-toolbar-border);\n\tpadding: 0 var(--ck-spacing-small);\n\n\t/* Let's keep similar appearance to `ck-toolbar`. */\n\t& > * {\n\t\tmargin-right: var(--ck-spacing-small);\n\t\tmargin-top: var(--ck-spacing-small);\n\t\tmargin-bottom: var(--ck-spacing-small);\n\t}\n\n\t/* Gives counter more breath than buttons. */\n\t& .ck-balloon-rotator__counter {\n\t\tmargin-right: var(--ck-spacing-standard);\n\n\t\t/* We need to use smaller margin because of previous button's right margin. */\n\t\tmargin-left: var(--ck-spacing-small);\n\t}\n}\n\n.ck .ck-balloon-rotator__content {\n\n\t/* Disable default annotation shadow inside rotator with fake panels. */\n\t& .ck.ck-annotation-wrapper {\n\t\tbox-shadow: none;\n\t}\n}\n"],sourceRoot:""}]);const a=s},5380:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var o=n(9372),i=n.n(o),r=n(935),s=n.n(r)()(i());s.push([t.id,".ck .ck-fake-panel{position:absolute;z-index:calc(var(--ck-z-panel) - 1)}.ck .ck-fake-panel div{position:absolute}.ck .ck-fake-panel div:first-child{z-index:2}.ck .ck-fake-panel div:nth-child(2){z-index:1}:root{--ck-balloon-fake-panel-offset-horizontal:6px;--ck-balloon-fake-panel-offset-vertical:6px}.ck .ck-fake-panel div{background:var(--ck-color-panel-background);border:1px solid var(--ck-color-panel-border);border-radius:var(--ck-border-radius);box-shadow:var(--ck-drop-shadow),0 0;height:100%;min-height:15px;width:100%}.ck .ck-fake-panel div:first-child{margin-left:var(--ck-balloon-fake-panel-offset-horizontal);margin-top:var(--ck-balloon-fake-panel-offset-vertical)}.ck .ck-fake-panel div:nth-child(2){margin-left:calc(var(--ck-balloon-fake-panel-offset-horizontal)*2);margin-top:calc(var(--ck-balloon-fake-panel-offset-vertical)*2)}.ck .ck-fake-panel div:nth-child(3){margin-left:calc(var(--ck-balloon-fake-panel-offset-horizontal)*3);margin-top:calc(var(--ck-balloon-fake-panel-offset-vertical)*3)}.ck .ck-balloon-panel_arrow_s+.ck-fake-panel,.ck .ck-balloon-panel_arrow_se+.ck-fake-panel,.ck .ck-balloon-panel_arrow_sw+.ck-fake-panel{--ck-balloon-fake-panel-offset-vertical:-6px}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/panel/fakepanel.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/panel/fakepanel.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_shadow.css"],names:[],mappings:"AAKA,mBACC,iBAAkB,CAGlB,mCACD,CAEA,uBACC,iBACD,CAEA,mCACC,SACD,CAEA,oCACC,SACD,CCfA,MACC,6CAA8C,CAC9C,2CACD,CAGA,uBAKC,2CAA4C,CAC5C,6CAA8C,CAC9C,qCAAsC,CCXtC,oCAA8B,CDc9B,WAAY,CAPZ,eAAgB,CAMhB,UAED,CAEA,mCACC,0DAA2D,CAC3D,uDACD,CAEA,oCACC,kEAAqE,CACrE,+DACD,CACA,oCACC,kEAAqE,CACrE,+DACD,CAGA,yIAGC,4CACD",sourcesContent:["/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck .ck-fake-panel {\n\tposition: absolute;\n\n\t/* Fake panels should be placed under main balloon content. */\n\tz-index: calc(var(--ck-z-panel) - 1);\n}\n\n.ck .ck-fake-panel div {\n\tposition: absolute;\n}\n\n.ck .ck-fake-panel div:nth-child( 1 ) {\n\tz-index: 2;\n}\n\n.ck .ck-fake-panel div:nth-child( 2 ) {\n\tz-index: 1;\n}\n",'/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../../../mixins/_shadow.css";\n\n:root {\n\t--ck-balloon-fake-panel-offset-horizontal: 6px;\n\t--ck-balloon-fake-panel-offset-vertical: 6px;\n}\n\n/* Let\'s use `.ck-balloon-panel` appearance. See: balloonpanel.css. */\n.ck .ck-fake-panel div {\n\t@mixin ck-drop-shadow;\n\n\tmin-height: 15px;\n\n\tbackground: var(--ck-color-panel-background);\n\tborder: 1px solid var(--ck-color-panel-border);\n\tborder-radius: var(--ck-border-radius);\n\n\twidth: 100%;\n\theight: 100%;\n}\n\n.ck .ck-fake-panel div:nth-child( 1 ) {\n\tmargin-left: var(--ck-balloon-fake-panel-offset-horizontal);\n\tmargin-top: var(--ck-balloon-fake-panel-offset-vertical);\n}\n\n.ck .ck-fake-panel div:nth-child( 2 ) {\n\tmargin-left: calc(var(--ck-balloon-fake-panel-offset-horizontal) * 2);\n\tmargin-top: calc(var(--ck-balloon-fake-panel-offset-vertical) * 2);\n}\n.ck .ck-fake-panel div:nth-child( 3 ) {\n\tmargin-left: calc(var(--ck-balloon-fake-panel-offset-horizontal) * 3);\n\tmargin-top: calc(var(--ck-balloon-fake-panel-offset-vertical) * 3);\n}\n\n/* If balloon is positioned above element, we need to move fake panel to the top. */\n.ck .ck-balloon-panel_arrow_s + .ck-fake-panel,\n.ck .ck-balloon-panel_arrow_se + .ck-fake-panel,\n.ck .ck-balloon-panel_arrow_sw + .ck-fake-panel {\n\t--ck-balloon-fake-panel-offset-vertical: -6px;\n}\n',"/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * A helper to combine multiple shadows.\n */\n@define-mixin ck-box-shadow $shadowA, $shadowB: 0 0 {\n\tbox-shadow: $shadowA, $shadowB;\n}\n\n/**\n * Gives an element a drop shadow so it looks like a floating panel.\n */\n@define-mixin ck-drop-shadow {\n\t@mixin ck-box-shadow var(--ck-drop-shadow);\n}\n"],sourceRoot:""}]);const a=s},8298:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var o=n(9372),i=n.n(o),r=n(935),s=n.n(r)()(i());s.push([t.id,".ck.ck-sticky-panel .ck-sticky-panel__content_sticky{position:fixed;top:0;z-index:var(--ck-z-panel)}.ck.ck-sticky-panel .ck-sticky-panel__content_sticky_bottom-limit{position:absolute;top:auto}.ck.ck-sticky-panel .ck-sticky-panel__content_sticky{border-top-left-radius:0;border-top-right-radius:0;border-width:0 1px 1px;box-shadow:var(--ck-drop-shadow),0 0}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/panel/stickypanel.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/panel/stickypanel.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_shadow.css"],names:[],mappings:"AAMC,qDAEC,cAAe,CACf,KAAM,CAFN,yBAGD,CAEA,kEAEC,iBAAkB,CADlB,QAED,CCPA,qDAIC,wBAAyB,CACzB,yBAA0B,CAF1B,sBAAuB,CCFxB,oCDKA",sourcesContent:["/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-sticky-panel {\n\t& .ck-sticky-panel__content_sticky {\n\t\tz-index: var(--ck-z-panel); /* #315 */\n\t\tposition: fixed;\n\t\ttop: 0;\n\t}\n\n\t& .ck-sticky-panel__content_sticky_bottom-limit {\n\t\ttop: auto;\n\t\tposition: absolute;\n\t}\n}\n",'/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../../../mixins/_shadow.css";\n\n.ck.ck-sticky-panel {\n\t& .ck-sticky-panel__content_sticky {\n\t\t@mixin ck-drop-shadow;\n\n\t\tborder-width: 0 1px 1px;\n\t\tborder-top-left-radius: 0;\n\t\tborder-top-right-radius: 0;\n\t}\n}\n',"/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * A helper to combine multiple shadows.\n */\n@define-mixin ck-box-shadow $shadowA, $shadowB: 0 0 {\n\tbox-shadow: $shadowA, $shadowB;\n}\n\n/**\n * Gives an element a drop shadow so it looks like a floating panel.\n */\n@define-mixin ck-drop-shadow {\n\t@mixin ck-box-shadow var(--ck-drop-shadow);\n}\n"],sourceRoot:""}]);const a=s},2722:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var o=n(9372),i=n.n(o),r=n(935),s=n.n(r)()(i());s.push([t.id,'.ck-vertical-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck-vertical-form .ck-button:focus:after{display:none}@media screen and (max-width:600px){.ck.ck-responsive-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck.ck-responsive-form .ck-button:focus:after{display:none}}.ck-vertical-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form{padding:var(--ck-spacing-large)}.ck.ck-responsive-form:focus{outline:none}[dir=ltr] .ck.ck-responsive-form>:not(:first-child),[dir=rtl] .ck.ck-responsive-form>:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-responsive-form{padding:0;width:calc(var(--ck-input-width)*.8)}.ck.ck-responsive-form .ck-labeled-field-view{margin:var(--ck-spacing-large) var(--ck-spacing-large) 0}.ck.ck-responsive-form .ck-labeled-field-view .ck-input-text{min-width:0;width:100%}.ck.ck-responsive-form .ck-labeled-field-view .ck-labeled-field-view__error{white-space:normal}.ck.ck-responsive-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form>.ck-button:last-child,.ck.ck-responsive-form>.ck-button:nth-last-child(2){border-radius:0;margin-top:var(--ck-spacing-large);padding:var(--ck-spacing-standard)}.ck.ck-responsive-form>.ck-button:last-child:not(:focus),.ck.ck-responsive-form>.ck-button:nth-last-child(2):not(:focus){border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-responsive-form>.ck-button:last-child,[dir=ltr] .ck.ck-responsive-form>.ck-button:nth-last-child(2),[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2){margin-left:0}[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child:last-of-type,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2):last-of-type{border-right:1px solid var(--ck-color-base-border)}}',"",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/responsive-form/responsiveform.css","webpack://./../ckeditor5-ui/theme/mixins/_rwd.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/responsive-form/responsiveform.css"],names:[],mappings:"AAQC,mCAMC,WAAY,CALZ,UAAW,CAEX,iBAAkB,CAClB,UAAW,CACX,QAAS,CAHT,OAAQ,CAKR,SACD,CAEA,yCACC,YACD,CCdA,oCDoBE,wCAMC,WAAY,CALZ,UAAW,CAEX,iBAAkB,CAClB,UAAW,CACX,QAAS,CAHT,OAAQ,CAKR,SACD,CAEA,8CACC,YACD,CC9BF,CCAD,qDACC,kDACD,CAEA,uBACC,+BAmED,CAjEC,6BAEC,YACD,CASC,uGACC,sCACD,CDvBD,oCCMD,uBAqBE,SAAU,CACV,oCA8CF,CA5CE,8CACC,wDAWD,CATC,6DACC,WAAY,CACZ,UACD,CAGA,4EACC,kBACD,CAKA,0DACC,kDACD,CAGD,iGAIC,eAAgB,CADhB,kCAAmC,CADnC,kCAmBD,CAfC,yHACC,gDACD,CARD,0OAeE,aAMF,CAJE,+IACC,kDACD,CDpEH",sourcesContent:['/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_rwd.css";\n\n.ck-vertical-form .ck-button {\n\t&::after {\n\t\tcontent: "";\n\t\twidth: 0;\n\t\tposition: absolute;\n\t\tright: -1px;\n\t\ttop: -1px;\n\t\tbottom: -1px;\n\t\tz-index: 1;\n\t}\n\n\t&:focus::after {\n\t\tdisplay: none;\n\t}\n}\n\n.ck.ck-responsive-form {\n\t@mixin ck-media-phone {\n\t\t& .ck-button {\n\t\t\t&::after {\n\t\t\t\tcontent: "";\n\t\t\t\twidth: 0;\n\t\t\t\tposition: absolute;\n\t\t\t\tright: -1px;\n\t\t\t\ttop: -1px;\n\t\t\t\tbottom: -1px;\n\t\t\t\tz-index: 1;\n\t\t\t}\n\n\t\t\t&:focus::after {\n\t\t\t\tdisplay: none;\n\t\t\t}\n\t\t}\n\t}\n}\n',"/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@define-mixin ck-media-phone {\n\t@media screen and (max-width: 600px) {\n\t\t@mixin-content;\n\t}\n}\n",'/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_rwd.css";\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";\n\n.ck-vertical-form > .ck-button:nth-last-child(2)::after {\n\tborder-right: 1px solid var(--ck-color-base-border);\n}\n\n.ck.ck-responsive-form {\n\tpadding: var(--ck-spacing-large);\n\n\t&:focus {\n\t\t/* See: https://github.com/ckeditor/ckeditor5/issues/4773 */\n\t\toutline: none;\n\t}\n\n\t@mixin ck-dir ltr {\n\t\t& > :not(:first-child) {\n\t\t\tmargin-left: var(--ck-spacing-standard);\n\t\t}\n\t}\n\n\t@mixin ck-dir rtl {\n\t\t& > :not(:last-child) {\n\t\t\tmargin-left: var(--ck-spacing-standard);\n\t\t}\n\t}\n\n\t@mixin ck-media-phone {\n\t\tpadding: 0;\n\t\twidth: calc(.8 * var(--ck-input-width));\n\n\t\t& .ck-labeled-field-view {\n\t\t\tmargin: var(--ck-spacing-large) var(--ck-spacing-large) 0;\n\n\t\t\t& .ck-input-text {\n\t\t\t\tmin-width: 0;\n\t\t\t\twidth: 100%;\n\t\t\t}\n\n\t\t\t/* Let the long error messages wrap in the narrow form. */\n\t\t\t& .ck-labeled-field-view__error {\n\t\t\t\twhite-space: normal;\n\t\t\t}\n\t\t}\n\n\t\t/* Styles for two last buttons in the form (save&cancel, edit&unlink, etc.). */\n\t\t& > .ck-button:nth-last-child(2) {\n\t\t\t&::after {\n\t\t\t\tborder-right: 1px solid var(--ck-color-base-border);\n\t\t\t}\n\t\t}\n\n\t\t& > .ck-button:nth-last-child(1),\n\t\t& > .ck-button:nth-last-child(2) {\n\t\t\tpadding: var(--ck-spacing-standard);\n\t\t\tmargin-top: var(--ck-spacing-large);\n\t\t\tborder-radius: 0;\n\n\t\t\t&:not(:focus) {\n\t\t\t\tborder-top: 1px solid var(--ck-color-base-border);\n\t\t\t}\n\n\t\t\t@mixin ck-dir ltr {\n\t\t\t\tmargin-left: 0;\n\t\t\t}\n\n\t\t\t@mixin ck-dir rtl {\n\t\t\t\tmargin-left: 0;\n\n\t\t\t\t&:last-of-type {\n\t\t\t\t\tborder-right: 1px solid var(--ck-color-base-border);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}\n'],sourceRoot:""}]);const a=s},8107:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var o=n(9372),i=n.n(o),r=n(935),s=n.n(r)()(i());s.push([t.id,".ck.ck-search>.ck-labeled-field-view>.ck-labeled-field-view__input-wrapper>.ck-icon{position:absolute;top:50%;transform:translateY(-50%)}[dir=ltr] .ck.ck-search>.ck-labeled-field-view>.ck-labeled-field-view__input-wrapper>.ck-icon{left:var(--ck-spacing-medium)}[dir=rtl] .ck.ck-search>.ck-labeled-field-view>.ck-labeled-field-view__input-wrapper>.ck-icon{right:var(--ck-spacing-medium)}.ck.ck-search>.ck-labeled-field-view .ck-search__reset{position:absolute;top:50%;transform:translateY(-50%)}.ck.ck-search>.ck-search__results>.ck-search__info>span:first-child{display:block}.ck.ck-search>.ck-search__results>.ck-search__info:not(.ck-hidden)~*{display:none}:root{--ck-search-field-view-horizontal-spacing:calc(var(--ck-icon-size) + var(--ck-spacing-medium))}.ck.ck-search>.ck-labeled-field-view .ck-input{width:100%}.ck.ck-search>.ck-labeled-field-view.ck-search__query_with-icon{--ck-labeled-field-label-default-position-x:var(--ck-search-field-view-horizontal-spacing)}.ck.ck-search>.ck-labeled-field-view.ck-search__query_with-icon>.ck-labeled-field-view__input-wrapper>.ck-icon{opacity:.5;pointer-events:none}.ck.ck-search>.ck-labeled-field-view.ck-search__query_with-icon .ck-input{width:100%}[dir=ltr] .ck.ck-search>.ck-labeled-field-view.ck-search__query_with-icon .ck-input,[dir=rtl] .ck.ck-search>.ck-labeled-field-view.ck-search__query_with-icon .ck-input:not(.ck-input-text_empty){padding-left:var(--ck-search-field-view-horizontal-spacing)}.ck.ck-search>.ck-labeled-field-view.ck-search__query_with-reset{--ck-labeled-field-empty-unfocused-max-width:100% - 2 * var(--ck-search-field-view-horizontal-spacing)}.ck.ck-search>.ck-labeled-field-view.ck-search__query_with-reset.ck-labeled-field-view_empty{--ck-labeled-field-empty-unfocused-max-width:100% - var(--ck-search-field-view-horizontal-spacing) - var(--ck-spacing-medium)}.ck.ck-search>.ck-labeled-field-view.ck-search__query_with-reset .ck-search__reset{background:none;min-height:auto;min-width:auto;opacity:.5;padding:0}[dir=ltr] .ck.ck-search>.ck-labeled-field-view.ck-search__query_with-reset .ck-search__reset{right:var(--ck-spacing-medium)}[dir=rtl] .ck.ck-search>.ck-labeled-field-view.ck-search__query_with-reset .ck-search__reset{left:var(--ck-spacing-medium)}.ck.ck-search>.ck-labeled-field-view.ck-search__query_with-reset .ck-search__reset:hover{opacity:1}.ck.ck-search>.ck-labeled-field-view.ck-search__query_with-reset .ck-input{width:100%}[dir=ltr] .ck.ck-search>.ck-labeled-field-view.ck-search__query_with-reset .ck-input:not(.ck-input-text_empty),[dir=rtl] .ck.ck-search>.ck-labeled-field-view.ck-search__query_with-reset .ck-input{padding-right:var(--ck-search-field-view-horizontal-spacing)}.ck.ck-search>.ck-search__results{min-width:100%}.ck.ck-search>.ck-search__results>.ck-search__info{padding:var(--ck-spacing-medium) var(--ck-spacing-large);width:100%}.ck.ck-search>.ck-search__results>.ck-search__info *{white-space:normal}.ck.ck-search>.ck-search__results>.ck-search__info>span:first-child{font-weight:700}.ck.ck-search>.ck-search__results>.ck-search__info>span:last-child{margin-top:var(--ck-spacing-medium)}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/search/search.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/search/search.css"],names:[],mappings:"AASE,oFACC,iBAAkB,CAClB,OAAQ,CACR,0BASD,CAZA,8FAME,6BAMF,CAZA,8FAUE,8BAEF,CAEA,uDACC,iBAAkB,CAClB,OAAQ,CACR,0BACD,CAKC,oEACC,aACD,CAGA,qEACC,YACD,CChCH,MACC,8FACD,CAIE,+CACC,UACD,CAEA,gEACC,0FAoBD,CAlBC,+GACC,UAAW,CACX,mBACD,CAEA,0EACC,UAWD,CAJE,kMACC,2DACD,CAKH,iEACC,sGAwCD,CAtCC,6FACC,6HACD,CAEA,mFAIC,eAAgB,CAFhB,eAAgB,CADhB,cAAe,CAIf,UAAW,CACX,SAaD,CAnBA,6FASE,8BAUF,CAnBA,6FAaE,6BAMF,CAHC,yFACC,SACD,CAGD,2EACC,UAWD,CAZA,oMAUE,4DAEF,CAIF,kCACC,cAkBD,CAhBC,mDAEC,wDAAyD,CADzD,UAcD,CAXC,qDACC,kBACD,CAEA,oEACC,eACD,CAEA,mEACC,mCACD",sourcesContent:['/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";\n\n.ck.ck-search {\n\t& > .ck-labeled-field-view {\n\t\t& > .ck-labeled-field-view__input-wrapper > .ck-icon {\n\t\t\tposition: absolute;\n\t\t\ttop: 50%;\n\t\t\ttransform: translateY(-50%);\n\n\t\t\t@mixin ck-dir ltr {\n\t\t\t\tleft: var(--ck-spacing-medium);\n\t\t\t}\n\n\t\t\t@mixin ck-dir rtl {\n\t\t\t\tright: var(--ck-spacing-medium);\n\t\t\t}\n\t\t}\n\n\t\t& .ck-search__reset {\n\t\t\tposition: absolute;\n\t\t\ttop: 50%;\n\t\t\ttransform: translateY(-50%);\n\t\t}\n\t}\n\n\t& > .ck-search__results {\n\t\t& > .ck-search__info {\n\t\t\t& > span:first-child {\n\t\t\t\tdisplay: block;\n\t\t\t}\n\n\t\t\t/* Hide the filtered view when nothing was found */\n\t\t\t&:not(.ck-hidden) ~ * {\n\t\t\t\tdisplay: none;\n\t\t\t}\n\t\t}\n\t}\n}\n','/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";\n\n:root {\n\t--ck-search-field-view-horizontal-spacing: calc(var(--ck-icon-size) + var(--ck-spacing-medium));\n}\n\n.ck.ck-search {\n\t& > .ck-labeled-field-view {\n\t\t& .ck-input {\n\t\t\twidth: 100%;\n\t\t}\n\n\t\t&.ck-search__query_with-icon {\n\t\t\t--ck-labeled-field-label-default-position-x: var(--ck-search-field-view-horizontal-spacing);\n\n\t\t\t& > .ck-labeled-field-view__input-wrapper > .ck-icon {\n\t\t\t\topacity: .5;\n\t\t\t\tpointer-events: none;\n\t\t\t}\n\n\t\t\t& .ck-input {\n\t\t\t\twidth: 100%;\n\n\t\t\t\t@mixin ck-dir ltr {\n\t\t\t\t\tpadding-left: var(--ck-search-field-view-horizontal-spacing);\n\t\t\t\t}\n\n\t\t\t\t@mixin ck-dir rtl {\n\t\t\t\t\t&:not(.ck-input-text_empty) {\n\t\t\t\t\t\tpadding-left: var(--ck-search-field-view-horizontal-spacing);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t&.ck-search__query_with-reset {\n\t\t\t--ck-labeled-field-empty-unfocused-max-width: 100% - 2 * var(--ck-search-field-view-horizontal-spacing);\n\n\t\t\t&.ck-labeled-field-view_empty {\n\t\t\t\t--ck-labeled-field-empty-unfocused-max-width: 100% - var(--ck-search-field-view-horizontal-spacing) - var(--ck-spacing-medium);\n\t\t\t}\n\n\t\t\t& .ck-search__reset {\n\t\t\t\tmin-width: auto;\n\t\t\t\tmin-height: auto;\n\n\t\t\t\tbackground: none;\n\t\t\t\topacity: .5;\n\t\t\t\tpadding: 0;\n\n\t\t\t\t@mixin ck-dir ltr {\n\t\t\t\t\tright: var(--ck-spacing-medium);\n\t\t\t\t}\n\n\t\t\t\t@mixin ck-dir rtl {\n\t\t\t\t\tleft: var(--ck-spacing-medium);\n\t\t\t\t}\n\n\t\t\t\t&:hover {\n\t\t\t\t\topacity: 1;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t& .ck-input {\n\t\t\t\twidth: 100%;\n\n\t\t\t\t@mixin ck-dir ltr {\n\t\t\t\t\t&:not(.ck-input-text_empty) {\n\t\t\t\t\t\tpadding-right: var(--ck-search-field-view-horizontal-spacing);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t@mixin ck-dir rtl {\n\t\t\t\t\tpadding-right: var(--ck-search-field-view-horizontal-spacing);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t& > .ck-search__results {\n\t\tmin-width: 100%;\n\n\t\t& > .ck-search__info {\n\t\t\twidth: 100%;\n\t\t\tpadding: var(--ck-spacing-medium) var(--ck-spacing-large);\n\n\t\t\t& * {\n\t\t\t\twhite-space: normal;\n\t\t\t}\n\n\t\t\t& > span:first-child {\n\t\t\t\tfont-weight: bold;\n\t\t\t}\n\n\t\t\t& > span:last-child {\n\t\t\t\tmargin-top: var(--ck-spacing-medium);\n\t\t\t}\n\t\t}\n\t}\n}\n\n'],sourceRoot:""}]);const a=s},109:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var o=n(9372),i=n.n(o),r=n(935),s=n.n(r)()(i());s.push([t.id,".ck.ck-spinner-container{display:block;position:relative}.ck.ck-spinner{left:0;margin:0 auto;position:absolute;right:0;top:50%;transform:translateY(-50%);z-index:1}:root{--ck-toolbar-spinner-size:18px}.ck.ck-spinner-container{animation:rotate 1.5s linear infinite}.ck.ck-spinner,.ck.ck-spinner-container{height:var(--ck-toolbar-spinner-size);width:var(--ck-toolbar-spinner-size)}.ck.ck-spinner{border:2px solid var(--ck-color-text);border-radius:50%;border-top:2px solid transparent}@keyframes rotate{to{transform:rotate(1turn)}}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/spinner/spinner.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/spinner/spinner.css"],names:[],mappings:"AASA,yBACC,aAAc,CACd,iBACD,CAEA,eAGC,MAAO,CAEP,aAAc,CAJd,iBAAkB,CAGlB,OAAQ,CAFR,OAAQ,CAIR,0BAA2B,CAC3B,SACD,CCjBA,MACC,8BACD,CAEA,yBAGC,qCACD,CAEA,wCAJC,qCAAsC,CADtC,oCAWD,CANA,eAKC,qCAA6B,CAF7B,iBAAkB,CAElB,gCACD,CAEA,kBACC,GACC,uBACD,CACD",sourcesContent:["/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-toolbar-spinner-size: 18px;\n}\n\n.ck.ck-spinner-container {\n\tdisplay: block;\n\tposition: relative;\n}\n\n.ck.ck-spinner {\n\tposition: absolute;\n\ttop: 50%;\n\tleft: 0;\n\tright: 0;\n\tmargin: 0 auto;\n\ttransform: translateY(-50%);\n\tz-index: 1;\n}\n","/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-toolbar-spinner-size: 18px;\n}\n\n.ck.ck-spinner-container {\n\twidth: var(--ck-toolbar-spinner-size);\n\theight: var(--ck-toolbar-spinner-size);\n\tanimation: 1.5s infinite rotate linear;\n}\n\n.ck.ck-spinner {\n\twidth: var(--ck-toolbar-spinner-size);\n\theight: var(--ck-toolbar-spinner-size);\n\tborder-radius: 50%;\n\tborder: 2px solid var(--ck-color-text);\n\tborder-top-color: transparent;\n}\n\n@keyframes rotate {\n\tto {\n\t\ttransform: rotate(360deg)\n\t}\n}\n\n"],sourceRoot:""}]);const a=s},1671:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var o=n(9372),i=n.n(o),r=n(935),s=n.n(r)()(i());s.push([t.id,".ck-textarea{overflow-x:hidden}","",{version:3,sources:["webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/textarea/textarea.css"],names:[],mappings:"AASA,aACC,iBACD",sourcesContent:["/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/*\n * This fixes a problem in Firefox when the initial height of the complement does not match the number of rows.\n * This bug is especially visible when rows=1.\n */\n.ck-textarea {\n\toverflow-x: hidden\n}\n"],sourceRoot:""}]);const a=s},2710:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var o=n(9372),i=n.n(o),r=n(935),s=n.n(r)()(i());s.push([t.id,".ck.ck-block-toolbar-button{position:absolute;z-index:var(--ck-z-default)}:root{--ck-color-block-toolbar-button:var(--ck-color-text);--ck-block-toolbar-button-size:var(--ck-font-size-normal)}.ck.ck-block-toolbar-button{color:var(--ck-color-block-toolbar-button);font-size:var(--ck-block-toolbar-size)}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/toolbar/blocktoolbar.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/toolbar/blocktoolbar.css"],names:[],mappings:"AAKA,4BACC,iBAAkB,CAClB,2BACD,CCHA,MACC,oDAAqD,CACrD,yDACD,CAEA,4BACC,0CAA2C,CAC3C,sCACD",sourcesContent:["/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-block-toolbar-button {\n\tposition: absolute;\n\tz-index: var(--ck-z-default);\n}\n","/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-color-block-toolbar-button: var(--ck-color-text);\n\t--ck-block-toolbar-button-size: var(--ck-font-size-normal);\n}\n\n.ck.ck-block-toolbar-button {\n\tcolor: var(--ck-color-block-toolbar-button);\n\tfont-size: var(--ck-block-toolbar-size);\n}\n"],sourceRoot:""}]);const a=s},9677:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var o=n(9372),i=n.n(o),r=n(935),s=n.n(r)()(i());s.push([t.id,".ck.ck-toolbar{align-items:center;display:flex;flex-flow:row nowrap;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ck.ck-toolbar>.ck-toolbar__items{align-items:center;display:flex;flex-flow:row wrap;flex-grow:1}.ck.ck-toolbar .ck.ck-toolbar__separator{display:inline-block}.ck.ck-toolbar .ck.ck-toolbar__separator:first-child,.ck.ck-toolbar .ck.ck-toolbar__separator:last-child{display:none}.ck.ck-toolbar .ck-toolbar__line-break{flex-basis:100%}.ck.ck-toolbar.ck-toolbar_grouping>.ck-toolbar__items{flex-wrap:nowrap}.ck.ck-toolbar.ck-toolbar_vertical>.ck-toolbar__items{flex-direction:column}.ck.ck-toolbar.ck-toolbar_floating>.ck-toolbar__items{flex-wrap:nowrap}.ck.ck-toolbar>.ck.ck-toolbar__grouped-dropdown>.ck-dropdown__button .ck-dropdown__arrow{display:none}.ck.ck-toolbar{border-radius:0}.ck-rounded-corners .ck.ck-toolbar,.ck.ck-toolbar.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck.ck-toolbar{background:var(--ck-color-toolbar-background);border:1px solid var(--ck-color-toolbar-border);padding:0 var(--ck-spacing-small)}.ck.ck-toolbar .ck.ck-toolbar__separator{align-self:stretch;background:var(--ck-color-toolbar-border);margin-bottom:var(--ck-spacing-small);margin-top:var(--ck-spacing-small);min-width:1px;width:1px}.ck.ck-toolbar .ck-toolbar__line-break{height:0}.ck.ck-toolbar>.ck-toolbar__items>:not(.ck-toolbar__line-break){margin-right:var(--ck-spacing-small)}.ck.ck-toolbar>.ck-toolbar__items:empty+.ck.ck-toolbar__separator{display:none}.ck.ck-toolbar>.ck-toolbar__items>:not(.ck-toolbar__line-break),.ck.ck-toolbar>.ck.ck-toolbar__grouped-dropdown{margin-bottom:var(--ck-spacing-small);margin-top:var(--ck-spacing-small)}.ck.ck-toolbar.ck-toolbar_vertical{padding:0}.ck.ck-toolbar.ck-toolbar_vertical>.ck-toolbar__items>.ck{border-radius:0;margin:0;width:100%}.ck.ck-toolbar.ck-toolbar_compact{padding:0}.ck.ck-toolbar.ck-toolbar_compact>.ck-toolbar__items>*{margin:0}.ck.ck-toolbar.ck-toolbar_compact>.ck-toolbar__items>:not(:first-child):not(:last-child){border-radius:0}.ck.ck-toolbar>.ck.ck-toolbar__grouped-dropdown>.ck.ck-button.ck-dropdown__button{padding-left:var(--ck-spacing-tiny)}.ck.ck-toolbar .ck-toolbar__nested-toolbar-dropdown>.ck-dropdown__panel{min-width:auto}.ck.ck-toolbar .ck-toolbar__nested-toolbar-dropdown>.ck-button>.ck-button__label{max-width:7em;width:auto}.ck.ck-toolbar:focus{outline:none}.ck-toolbar-container .ck.ck-toolbar{border:0}.ck.ck-toolbar[dir=rtl]>.ck-toolbar__items>.ck,[dir=rtl] .ck.ck-toolbar>.ck-toolbar__items>.ck{margin-right:0}.ck.ck-toolbar[dir=rtl]:not(.ck-toolbar_compact)>.ck-toolbar__items>.ck,[dir=rtl] .ck.ck-toolbar:not(.ck-toolbar_compact)>.ck-toolbar__items>.ck{margin-left:var(--ck-spacing-small)}.ck.ck-toolbar[dir=rtl]>.ck-toolbar__items>.ck:last-child,[dir=rtl] .ck.ck-toolbar>.ck-toolbar__items>.ck:last-child{margin-left:0}.ck.ck-toolbar.ck-toolbar_compact[dir=rtl]>.ck-toolbar__items>.ck:first-child,[dir=rtl] .ck.ck-toolbar.ck-toolbar_compact>.ck-toolbar__items>.ck:first-child{border-bottom-left-radius:0;border-top-left-radius:0}.ck.ck-toolbar.ck-toolbar_compact[dir=rtl]>.ck-toolbar__items>.ck:last-child,[dir=rtl] .ck.ck-toolbar.ck-toolbar_compact>.ck-toolbar__items>.ck:last-child{border-bottom-right-radius:0;border-top-right-radius:0}.ck.ck-toolbar.ck-toolbar_grouping[dir=rtl]>.ck-toolbar__items:not(:empty):not(:only-child),.ck.ck-toolbar[dir=rtl]>.ck.ck-toolbar__separator,[dir=rtl] .ck.ck-toolbar.ck-toolbar_grouping>.ck-toolbar__items:not(:empty):not(:only-child),[dir=rtl] .ck.ck-toolbar>.ck.ck-toolbar__separator{margin-left:var(--ck-spacing-small)}.ck.ck-toolbar[dir=ltr]>.ck-toolbar__items>.ck:last-child,[dir=ltr] .ck.ck-toolbar>.ck-toolbar__items>.ck:last-child{margin-right:0}.ck.ck-toolbar.ck-toolbar_compact[dir=ltr]>.ck-toolbar__items>.ck:first-child,[dir=ltr] .ck.ck-toolbar.ck-toolbar_compact>.ck-toolbar__items>.ck:first-child{border-bottom-right-radius:0;border-top-right-radius:0}.ck.ck-toolbar.ck-toolbar_compact[dir=ltr]>.ck-toolbar__items>.ck:last-child,[dir=ltr] .ck.ck-toolbar.ck-toolbar_compact>.ck-toolbar__items>.ck:last-child{border-bottom-left-radius:0;border-top-left-radius:0}.ck.ck-toolbar.ck-toolbar_grouping[dir=ltr]>.ck-toolbar__items:not(:empty):not(:only-child),.ck.ck-toolbar[dir=ltr]>.ck.ck-toolbar__separator,[dir=ltr] .ck.ck-toolbar.ck-toolbar_grouping>.ck-toolbar__items:not(:empty):not(:only-child),[dir=ltr] .ck.ck-toolbar>.ck.ck-toolbar__separator{margin-right:var(--ck-spacing-small)}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/toolbar/toolbar.css","webpack://./../ckeditor5-ui/theme/mixins/_unselectable.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/toolbar/toolbar.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_rounded.css"],names:[],mappings:"AAOA,eAKC,kBAAmB,CAFnB,YAAa,CACb,oBAAqB,CCFrB,qBAAsB,CACtB,wBAAyB,CACzB,oBAAqB,CACrB,gBD6CD,CA3CC,kCAGC,kBAAmB,CAFnB,YAAa,CACb,kBAAmB,CAEnB,WAED,CAEA,yCACC,oBAWD,CAJC,yGAEC,YACD,CAGD,uCACC,eACD,CAEA,sDACC,gBACD,CAEA,sDACC,qBACD,CAEA,sDACC,gBACD,CAGC,yFACC,YACD,CE/CF,eCGC,eDwGD,CA3GA,qECOE,qCDoGF,CA3GA,eAGC,6CAA8C,CAE9C,+CAAgD,CADhD,iCAuGD,CApGC,yCACC,kBAAmB,CAGnB,yCAA0C,CAO1C,qCAAsC,CADtC,kCAAmC,CAPnC,aAAc,CADd,SAUD,CAEA,uCACC,QACD,CAGC,gEAEC,oCACD,CAIA,kEACC,YACD,CAGD,gHAIC,qCAAsC,CADtC,kCAED,CAEA,mCAEC,SAaD,CAVC,0DAQC,eAAgB,CAHhB,QAAS,CAHT,UAOD,CAGD,kCAEC,SAWD,CATC,uDAEC,QAMD,CAHC,yFACC,eACD,CASD,kFACC,mCACD,CAMA,wEACC,cACD,CAEA,iFACC,aAAc,CACd,UACD,CAGD,qBACC,YACD,CAtGD,qCAyGE,QAEF,CAYC,+FACC,cACD,CAEA,iJAEC,mCACD,CAEA,qHACC,aACD,CAIC,6JAEC,2BAA4B,CAD5B,wBAED,CAGA,2JAEC,4BAA6B,CAD7B,yBAED,CASD,8RACC,mCACD,CAWA,qHACC,cACD,CAIC,6JAEC,4BAA6B,CAD7B,yBAED,CAGA,2JAEC,2BAA4B,CAD5B,wBAED,CASD,8RACC,oCACD",sourcesContent:['/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../../mixins/_unselectable.css";\n\n.ck.ck-toolbar {\n\t@mixin ck-unselectable;\n\n\tdisplay: flex;\n\tflex-flow: row nowrap;\n\talign-items: center;\n\n\t& > .ck-toolbar__items {\n\t\tdisplay: flex;\n\t\tflex-flow: row wrap;\n\t\talign-items: center;\n\t\tflex-grow: 1;\n\n\t}\n\n\t& .ck.ck-toolbar__separator {\n\t\tdisplay: inline-block;\n\n\t\t/*\n\t\t * A leading or trailing separator makes no sense (separates from nothing on one side).\n\t\t * For instance, it can happen when toolbar items (also separators) are getting grouped one by one and\n\t\t * moved to another toolbar in the dropdown.\n\t\t */\n\t\t&:first-child,\n\t\t&:last-child {\n\t\t\tdisplay: none;\n\t\t}\n\t}\n\n\t& .ck-toolbar__line-break {\n\t\tflex-basis: 100%;\n\t}\n\n\t&.ck-toolbar_grouping > .ck-toolbar__items {\n\t\tflex-wrap: nowrap;\n\t}\n\n\t&.ck-toolbar_vertical > .ck-toolbar__items {\n\t\tflex-direction: column;\n\t}\n\n\t&.ck-toolbar_floating > .ck-toolbar__items {\n\t\tflex-wrap: nowrap;\n\t}\n\n\t& > .ck.ck-toolbar__grouped-dropdown {\n\t\t& > .ck-dropdown__button .ck-dropdown__arrow {\n\t\t\tdisplay: none;\n\t\t}\n\t}\n}\n',"/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Makes element unselectable.\n */\n@define-mixin ck-unselectable {\n\t-moz-user-select: none;\n\t-webkit-user-select: none;\n\t-ms-user-select: none;\n\tuser-select: none\n}\n",'/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../../../mixins/_rounded.css";\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";\n\n.ck.ck-toolbar {\n\t@mixin ck-rounded-corners;\n\n\tbackground: var(--ck-color-toolbar-background);\n\tpadding: 0 var(--ck-spacing-small);\n\tborder: 1px solid var(--ck-color-toolbar-border);\n\n\t& .ck.ck-toolbar__separator {\n\t\talign-self: stretch;\n\t\twidth: 1px;\n\t\tmin-width: 1px;\n\t\tbackground: var(--ck-color-toolbar-border);\n\n\t\t/*\n\t\t * These margins make the separators look better in balloon toolbars (when aligned with the "tip").\n\t\t * See https://github.com/ckeditor/ckeditor5/issues/7493.\n\t\t */\n\t\tmargin-top: var(--ck-spacing-small);\n\t\tmargin-bottom: var(--ck-spacing-small);\n\t}\n\n\t& .ck-toolbar__line-break {\n\t\theight: 0;\n\t}\n\n\t& > .ck-toolbar__items {\n\t\t& > *:not(.ck-toolbar__line-break) {\n\t\t\t/* (#11) Separate toolbar items. */\n\t\t\tmargin-right: var(--ck-spacing-small);\n\t\t}\n\n\t\t/* Don\'t display a separator after an empty items container, for instance,\n\t\twhen all items were grouped */\n\t\t&:empty + .ck.ck-toolbar__separator {\n\t\t\tdisplay: none;\n\t\t}\n\t}\n\n\t& > .ck-toolbar__items > *:not(.ck-toolbar__line-break),\n\t& > .ck.ck-toolbar__grouped-dropdown {\n\t\t/* Make sure items wrapped to the next line have v-spacing */\n\t\tmargin-top: var(--ck-spacing-small);\n\t\tmargin-bottom: var(--ck-spacing-small);\n\t}\n\n\t&.ck-toolbar_vertical {\n\t\t/* Items in a vertical toolbar span the entire width. */\n\t\tpadding: 0;\n\n\t\t/* Specificity matters here. See https://github.com/ckeditor/ckeditor5-theme-lark/issues/168. */\n\t\t& > .ck-toolbar__items > .ck {\n\t\t\t/* Items in a vertical toolbar should span the horizontal space. */\n\t\t\twidth: 100%;\n\n\t\t\t/* Items in a vertical toolbar should have no margin. */\n\t\t\tmargin: 0;\n\n\t\t\t/* Items in a vertical toolbar span the entire width so rounded corners are pointless. */\n\t\t\tborder-radius: 0;\n\t\t}\n\t}\n\n\t&.ck-toolbar_compact {\n\t\t/* No spacing around items. */\n\t\tpadding: 0;\n\n\t\t& > .ck-toolbar__items > * {\n\t\t\t/* Compact toolbar items have no spacing between them. */\n\t\t\tmargin: 0;\n\n\t\t\t/* "Middle" children should have no rounded corners. */\n\t\t\t&:not(:first-child):not(:last-child) {\n\t\t\t\tborder-radius: 0;\n\t\t\t}\n\t\t}\n\t}\n\n\t& > .ck.ck-toolbar__grouped-dropdown {\n\t\t/*\n\t\t * Dropdown button has asymmetric padding to fit the arrow.\n\t\t * This button has no arrow so let\'s revert that padding back to normal.\n\t\t */\n\t\t& > .ck.ck-button.ck-dropdown__button {\n\t\t\tpadding-left: var(--ck-spacing-tiny);\n\t\t}\n\t}\n\n\t/* A drop-down containing the nested toolbar with configured items. */\n\t& .ck-toolbar__nested-toolbar-dropdown {\n\t\t/* Prevent empty space in the panel when the dropdown label is visible and long but the toolbar has few items. */\n\t\t& > .ck-dropdown__panel {\n\t\t\tmin-width: auto;\n\t\t}\n\n\t\t& > .ck-button > .ck-button__label {\n\t\t\tmax-width: 7em;\n\t\t\twidth: auto;\n\t\t}\n\t}\n\n\t&:focus {\n\t\toutline: none;\n\t}\n\n\t@nest .ck-toolbar-container & {\n\t\tborder: 0;\n\t}\n}\n\n/* stylelint-disable */\n\n/*\n * Styles for RTL toolbars.\n *\n * Note: In some cases (e.g. a decoupled editor), the toolbar has its own "dir"\n * because its parent is not controlled by the editor framework.\n */\n[dir="rtl"] .ck.ck-toolbar,\n.ck.ck-toolbar[dir="rtl"] {\n\t& > .ck-toolbar__items > .ck {\n\t\tmargin-right: 0;\n\t}\n\n\t&:not(.ck-toolbar_compact) > .ck-toolbar__items > .ck {\n\t\t/* (#11) Separate toolbar items. */\n\t\tmargin-left: var(--ck-spacing-small);\n\t}\n\n\t& > .ck-toolbar__items > .ck:last-child {\n\t\tmargin-left: 0;\n\t}\n\n\t&.ck-toolbar_compact > .ck-toolbar__items > .ck {\n\t\t/* No rounded corners on the right side of the first child. */\n\t\t&:first-child {\n\t\t\tborder-top-left-radius: 0;\n\t\t\tborder-bottom-left-radius: 0;\n\t\t}\n\n\t\t/* No rounded corners on the left side of the last child. */\n\t\t&:last-child {\n\t\t\tborder-top-right-radius: 0;\n\t\t\tborder-bottom-right-radius: 0;\n\t\t}\n\t}\n\n\t/* Separate the the separator form the grouping dropdown when some items are grouped. */\n\t& > .ck.ck-toolbar__separator {\n\t\tmargin-left: var(--ck-spacing-small);\n\t}\n\n\t/* Some spacing between the items and the separator before the grouped items dropdown. */\n\t&.ck-toolbar_grouping > .ck-toolbar__items:not(:empty):not(:only-child) {\n\t\tmargin-left: var(--ck-spacing-small);\n\t}\n}\n\n/*\n * Styles for LTR toolbars.\n *\n * Note: In some cases (e.g. a decoupled editor), the toolbar has its own "dir"\n * because its parent is not controlled by the editor framework.\n */\n[dir="ltr"] .ck.ck-toolbar,\n.ck.ck-toolbar[dir="ltr"] {\n\t& > .ck-toolbar__items > .ck:last-child {\n\t\tmargin-right: 0;\n\t}\n\n\t&.ck-toolbar_compact > .ck-toolbar__items > .ck {\n\t\t/* No rounded corners on the right side of the first child. */\n\t\t&:first-child {\n\t\t\tborder-top-right-radius: 0;\n\t\t\tborder-bottom-right-radius: 0;\n\t\t}\n\n\t\t/* No rounded corners on the left side of the last child. */\n\t\t&:last-child {\n\t\t\tborder-top-left-radius: 0;\n\t\t\tborder-bottom-left-radius: 0;\n\t\t}\n\t}\n\n\t/* Separate the the separator form the grouping dropdown when some items are grouped. */\n\t& > .ck.ck-toolbar__separator {\n\t\tmargin-right: var(--ck-spacing-small);\n\t}\n\n\t/* Some spacing between the items and the separator before the grouped items dropdown. */\n\t&.ck-toolbar_grouping > .ck-toolbar__items:not(:empty):not(:only-child) {\n\t\tmargin-right: var(--ck-spacing-small);\n\t}\n}\n\n/* stylelint-enable */\n',"/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Implements rounded corner interface for .ck-rounded-corners class.\n *\n * @see $ck-border-radius\n */\n@define-mixin ck-rounded-corners {\n\tborder-radius: 0;\n\n\t@nest .ck-rounded-corners &,\n\t&.ck-rounded-corners {\n\t\tborder-radius: var(--ck-border-radius);\n\t\t@mixin-content;\n\t}\n}\n"],sourceRoot:""}]);const a=s},9205:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var o=n(9372),i=n.n(o),r=n(935),s=n.n(r)()(i());s.push([t.id,".ck.ck-balloon-panel.ck-tooltip{--ck-balloon-border-width:0px;--ck-balloon-arrow-offset:0px;--ck-balloon-arrow-half-width:4px;--ck-balloon-arrow-height:4px;--ck-tooltip-text-padding:4px;--ck-color-panel-background:var(--ck-color-tooltip-background);padding:0 var(--ck-spacing-medium);z-index:calc(var(--ck-z-dialog) + 100)}.ck.ck-balloon-panel.ck-tooltip .ck-tooltip__text{color:var(--ck-color-tooltip-text);font-size:.9em;line-height:1.5}.ck.ck-balloon-panel.ck-tooltip.ck-tooltip_multi-line .ck-tooltip__text{display:inline-block;max-width:200px;padding:var(--ck-tooltip-text-padding) 0;white-space:break-spaces}.ck.ck-balloon-panel.ck-tooltip{box-shadow:none}.ck.ck-balloon-panel.ck-tooltip:before{display:none}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/tooltip/tooltip.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/tooltip/tooltip.css"],names:[],mappings:"AAKA,gCCGC,6BAA8B,CAC9B,6BAA8B,CAC9B,iCAAkC,CAClC,6BAA8B,CAC9B,6BAA8B,CAC9B,8DAA+D,CAE/D,kCAAmC,CDTnC,sCACD,CCUC,kDAGC,kCAAmC,CAFnC,cAAe,CACf,eAED,CAEA,wEAEC,oBAAqB,CAErB,eAAgB,CADhB,wCAAyC,CAFzC,wBAID,CArBD,gCAwBC,eAMD,CAHC,uCACC,YACD",sourcesContent:["/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-balloon-panel.ck-tooltip {\n\tz-index: calc( var(--ck-z-dialog) + 100 );\n}\n",'/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../../../mixins/_rounded.css";\n\n.ck.ck-balloon-panel.ck-tooltip {\n\t--ck-balloon-border-width: 0px;\n\t--ck-balloon-arrow-offset: 0px;\n\t--ck-balloon-arrow-half-width: 4px;\n\t--ck-balloon-arrow-height: 4px;\n\t--ck-tooltip-text-padding: 4px;\n\t--ck-color-panel-background: var(--ck-color-tooltip-background);\n\n\tpadding: 0 var(--ck-spacing-medium);\n\n\t& .ck-tooltip__text {\n\t\tfont-size: .9em;\n\t\tline-height: 1.5;\n\t\tcolor: var(--ck-color-tooltip-text);\n\t}\n\n\t&.ck-tooltip_multi-line .ck-tooltip__text {\n\t\twhite-space: break-spaces;\n\t\tdisplay: inline-block;\n\t\tpadding: var(--ck-tooltip-text-padding) 0;\n\t\tmax-width: 200px;\n\t}\n\n\t/* Reset balloon panel styles */\n\tbox-shadow: none;\n\n\t/* Hide the default shadow of the .ck-balloon-panel tip */\n\t&::before {\n\t\tdisplay: none;\n\t}\n}\n'],sourceRoot:""}]);const a=s},7676:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var o=n(9372),i=n.n(o),r=n(935),s=n.n(r)()(i());s.push([t.id,".ck-hidden{display:none!important}.ck-reset_all :not(.ck-reset_all-excluded *),.ck.ck-reset,.ck.ck-reset_all{box-sizing:border-box;height:auto;position:static;width:auto}:root{--ck-z-default:1;--ck-z-panel:calc(var(--ck-z-default) + 999);--ck-z-dialog:9999}.ck-transitions-disabled,.ck-transitions-disabled *{transition:none!important}:root{--ck-powered-by-line-height:10px;--ck-powered-by-padding-vertical:2px;--ck-powered-by-padding-horizontal:4px;--ck-powered-by-text-color:#4f4f4f;--ck-powered-by-border-radius:var(--ck-border-radius);--ck-powered-by-background:#fff;--ck-powered-by-border-color:var(--ck-color-focus-border)}.ck.ck-balloon-panel.ck-powered-by-balloon{--ck-border-radius:var(--ck-powered-by-border-radius);background:var(--ck-powered-by-background);box-shadow:none;min-height:unset;z-index:calc(var(--ck-z-panel) - 1)}.ck.ck-balloon-panel.ck-powered-by-balloon .ck.ck-powered-by{line-height:var(--ck-powered-by-line-height)}.ck.ck-balloon-panel.ck-powered-by-balloon .ck.ck-powered-by a{align-items:center;cursor:pointer;display:flex;filter:grayscale(80%);line-height:var(--ck-powered-by-line-height);opacity:.66;padding:var(--ck-powered-by-padding-vertical) var(--ck-powered-by-padding-horizontal)}.ck.ck-balloon-panel.ck-powered-by-balloon .ck.ck-powered-by .ck-powered-by__label{color:var(--ck-powered-by-text-color);cursor:pointer;font-size:7.5px;font-weight:700;letter-spacing:-.2px;line-height:normal;margin-right:4px;padding-left:2px;text-transform:uppercase}.ck.ck-balloon-panel.ck-powered-by-balloon .ck.ck-powered-by .ck-icon{cursor:pointer;display:block}.ck.ck-balloon-panel.ck-powered-by-balloon .ck.ck-powered-by:hover a{filter:grayscale(0);opacity:1}.ck.ck-balloon-panel.ck-powered-by-balloon[class*=position_inside]{border-color:transparent}.ck.ck-balloon-panel.ck-powered-by-balloon[class*=position_border]{border:var(--ck-focus-ring);border-color:var(--ck-powered-by-border-color)}:root{--ck-color-base-foreground:#fafafa;--ck-color-base-background:#fff;--ck-color-base-border:#ccced1;--ck-color-base-action:#53a336;--ck-color-base-focus:#6cb5f9;--ck-color-base-text:#333;--ck-color-base-active:#2977ff;--ck-color-base-active-focus:#0d65ff;--ck-color-base-error:#db3700;--ck-color-focus-border-coordinates:218,81.8%,56.9%;--ck-color-focus-border:hsl(var(--ck-color-focus-border-coordinates));--ck-color-focus-outer-shadow:#cae1fc;--ck-color-focus-disabled-shadow:rgba(119,186,248,.3);--ck-color-focus-error-shadow:rgba(255,64,31,.3);--ck-color-text:var(--ck-color-base-text);--ck-color-shadow-drop:rgba(0,0,0,.15);--ck-color-shadow-drop-active:rgba(0,0,0,.2);--ck-color-shadow-inner:rgba(0,0,0,.1);--ck-color-button-default-background:transparent;--ck-color-button-default-hover-background:#f0f0f0;--ck-color-button-default-active-background:#f0f0f0;--ck-color-button-default-disabled-background:transparent;--ck-color-button-on-background:#f0f7ff;--ck-color-button-on-hover-background:#dbecff;--ck-color-button-on-active-background:#dbecff;--ck-color-button-on-disabled-background:#f0f2f4;--ck-color-button-on-color:#2977ff;--ck-color-button-action-background:var(--ck-color-base-action);--ck-color-button-action-hover-background:#4d9d30;--ck-color-button-action-active-background:#4d9d30;--ck-color-button-action-disabled-background:#7ec365;--ck-color-button-action-text:var(--ck-color-base-background);--ck-color-button-save:#008a00;--ck-color-button-cancel:#db3700;--ck-color-switch-button-off-background:#939393;--ck-color-switch-button-off-hover-background:#7d7d7d;--ck-color-switch-button-on-background:var(--ck-color-button-action-background);--ck-color-switch-button-on-hover-background:#4d9d30;--ck-color-switch-button-inner-background:var(--ck-color-base-background);--ck-color-switch-button-inner-shadow:rgba(0,0,0,.1);--ck-color-dropdown-panel-background:var(--ck-color-base-background);--ck-color-dropdown-panel-border:var(--ck-color-base-border);--ck-color-dialog-background:var(--ck-custom-background);--ck-color-dialog-form-header-border:var(--ck-custom-border);--ck-color-input-background:var(--ck-color-base-background);--ck-color-input-border:var(--ck-color-base-border);--ck-color-input-error-border:var(--ck-color-base-error);--ck-color-input-text:var(--ck-color-base-text);--ck-color-input-disabled-background:#f2f2f2;--ck-color-input-disabled-border:var(--ck-color-base-border);--ck-color-input-disabled-text:#757575;--ck-color-list-background:var(--ck-color-base-background);--ck-color-list-button-hover-background:var(--ck-color-button-default-hover-background);--ck-color-list-button-on-background:var(--ck-color-button-on-color);--ck-color-list-button-on-background-focus:var(--ck-color-button-on-color);--ck-color-list-button-on-text:var(--ck-color-base-background);--ck-color-panel-background:var(--ck-color-base-background);--ck-color-panel-border:var(--ck-color-base-border);--ck-color-toolbar-background:var(--ck-color-base-background);--ck-color-toolbar-border:var(--ck-color-base-border);--ck-color-tooltip-background:var(--ck-color-base-text);--ck-color-tooltip-text:var(--ck-color-base-background);--ck-color-engine-placeholder-text:#707070;--ck-color-upload-bar-background:#6cb5f9;--ck-color-link-default:#0000f0;--ck-color-link-selected-background:rgba(31,176,255,.1);--ck-color-link-fake-selection:rgba(31,176,255,.3);--ck-color-highlight-background:#ff0;--ck-color-light-red:#fcc;--ck-disabled-opacity:.5;--ck-focus-outer-shadow-geometry:0 0 0 3px;--ck-focus-outer-shadow:var(--ck-focus-outer-shadow-geometry) var(--ck-color-focus-outer-shadow);--ck-focus-disabled-outer-shadow:var(--ck-focus-outer-shadow-geometry) var(--ck-color-focus-disabled-shadow);--ck-focus-error-outer-shadow:var(--ck-focus-outer-shadow-geometry) var(--ck-color-focus-error-shadow);--ck-focus-ring:1px solid var(--ck-color-focus-border);--ck-font-size-base:13px;--ck-line-height-base:1.84615;--ck-font-face:Helvetica,Arial,Tahoma,Verdana,Sans-Serif;--ck-font-size-tiny:0.7em;--ck-font-size-small:0.75em;--ck-font-size-normal:1em;--ck-font-size-big:1.4em;--ck-font-size-large:1.8em;--ck-ui-component-min-height:2.3em}.ck-reset_all :not(.ck-reset_all-excluded *),.ck.ck-reset,.ck.ck-reset_all{word-wrap:break-word;background:transparent;border:0;margin:0;padding:0;text-decoration:none;transition:none;vertical-align:middle}.ck-reset_all :not(.ck-reset_all-excluded *),.ck.ck-reset_all{border-collapse:collapse;color:var(--ck-color-text);cursor:auto;float:none;font:normal normal normal var(--ck-font-size-base)/var(--ck-line-height-base) var(--ck-font-face);text-align:left;white-space:nowrap}.ck-reset_all .ck-rtl :not(.ck-reset_all-excluded *){text-align:right}.ck-reset_all iframe:not(.ck-reset_all-excluded *){vertical-align:inherit}.ck-reset_all textarea:not(.ck-reset_all-excluded *){white-space:pre-wrap}.ck-reset_all input[type=password]:not(.ck-reset_all-excluded *),.ck-reset_all input[type=text]:not(.ck-reset_all-excluded *),.ck-reset_all textarea:not(.ck-reset_all-excluded *){cursor:text}.ck-reset_all input[type=password][disabled]:not(.ck-reset_all-excluded *),.ck-reset_all input[type=text][disabled]:not(.ck-reset_all-excluded *),.ck-reset_all textarea[disabled]:not(.ck-reset_all-excluded *){cursor:default}.ck-reset_all fieldset:not(.ck-reset_all-excluded *){border:2px groove #dfdee3;padding:10px}.ck-reset_all button:not(.ck-reset_all-excluded *)::-moz-focus-inner{border:0;padding:0}.ck[dir=rtl],.ck[dir=rtl] .ck{text-align:right}:root{--ck-border-radius:2px;--ck-inner-shadow:2px 2px 3px var(--ck-color-shadow-inner) inset;--ck-drop-shadow:0 1px 2px 1px var(--ck-color-shadow-drop);--ck-drop-shadow-active:0 3px 6px 1px var(--ck-color-shadow-drop-active);--ck-spacing-unit:0.6em;--ck-spacing-large:calc(var(--ck-spacing-unit)*1.5);--ck-spacing-standard:var(--ck-spacing-unit);--ck-spacing-medium:calc(var(--ck-spacing-unit)*0.8);--ck-spacing-small:calc(var(--ck-spacing-unit)*0.5);--ck-spacing-tiny:calc(var(--ck-spacing-unit)*0.3);--ck-spacing-extra-tiny:calc(var(--ck-spacing-unit)*0.16)}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/globals/_hidden.css","webpack://./../ckeditor5-ui/theme/globals/_reset.css","webpack://./../ckeditor5-ui/theme/globals/_zindex.css","webpack://./../ckeditor5-ui/theme/globals/_transition.css","webpack://./../ckeditor5-ui/theme/globals/_poweredby.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/globals/_colors.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/globals/_disabled.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/globals/_focus.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/globals/_fonts.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/globals/_reset.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/globals/_rounded.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/globals/_shadow.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/globals/_spacing.css"],names:[],mappings:"AAQA,WAGC,sBACD,CCPA,2EAGC,qBAAsB,CAEtB,WAAY,CACZ,eAAgB,CAFhB,UAGD,CCPA,MACC,gBAAiB,CACjB,4CAA+C,CAC/C,kBACD,CCDA,oDAEC,yBACD,CCNA,MACC,gCAAiC,CACjC,oCAAqC,CACrC,sCAAuC,CACvC,kCAA2C,CAC3C,qDAAsD,CACtD,+BAA4C,CAC5C,yDACD,CAEA,2CACC,qDAAsD,CAGtD,0CAA2C,CAD3C,eAAgB,CAEhB,gBAAiB,CACjB,mCAiDD,CA/CC,6DACC,4CAoCD,CAlCC,+DAGC,kBAAmB,CAFnB,cAAe,CACf,YAAa,CAGb,qBAAsB,CACtB,4CAA6C,CAF7C,WAAY,CAGZ,qFACD,CAEA,mFASC,qCAAsC,CAFtC,cAAe,CANf,eAAgB,CAIhB,eAAiB,CAHjB,oBAAqB,CAMrB,kBAAmB,CAFnB,gBAAiB,CAHjB,gBAAiB,CACjB,wBAOD,CAEA,sEAEC,cAAe,CADf,aAED,CAGC,qEACC,mBAAqB,CACrB,SACD,CAIF,mEACC,wBACD,CAEA,mEACC,2BAA4B,CAC5B,8CACD,CChED,MACC,kCAAmD,CACnD,+BAAoD,CACpD,8BAAkD,CAClD,8BAAuD,CACvD,6BAAmD,CACnD,yBAA+C,CAC/C,8BAAsD,CACtD,oCAA4D,CAC5D,6BAAkD,CAIlD,mDAA4D,CAC5D,qEAA+E,CAC/E,qCAA4D,CAC5D,qDAA8D,CAC9D,gDAAyD,CACzD,yCAAqD,CACrD,sCAAsD,CACtD,4CAA0D,CAC1D,sCAAsD,CAItD,gDAAuD,CACvD,kDAAiE,CACjE,mDAAkE,CAClE,yDAA8D,CAE9D,uCAA6D,CAC7D,6CAAoE,CACpE,8CAAoE,CACpE,gDAAiE,CACjE,kCAAyD,CAGzD,+DAAsE,CACtE,iDAAsE,CACtE,kDAAsE,CACtE,oDAAoE,CACpE,6DAAsE,CAEtE,8BAAoD,CACpD,gCAAqD,CAErD,+CAA8D,CAC9D,qDAAiE,CACjE,+EAAqF,CACrF,oDAAuE,CACvE,yEAA8E,CAC9E,oDAAgE,CAIhE,oEAA2E,CAC3E,4DAAoE,CAIpE,wDAAiE,CACjE,4DAAmE,CAInE,2DAAoE,CACpE,mDAA6D,CAC7D,wDAAgE,CAChE,+CAA0D,CAC1D,4CAA2D,CAC3D,4DAAoE,CACpE,sCAAsD,CAItD,0DAAmE,CACnE,uFAA6F,CAC7F,oEAA2E,CAC3E,0EAA+E,CAC/E,8DAAsE,CAItE,2DAAoE,CACpE,mDAA6D,CAI7D,6DAAsE,CACtE,qDAA+D,CAI/D,uDAAgE,CAChE,uDAAiE,CAIjE,0CAAyD,CAIzD,wCAA2D,CAI3D,+BAAoD,CACpD,uDAAmE,CACnE,kDAAgE,CAIhE,oCAAyD,CAIzD,yBAAgD,CChHhD,wBAAyB,CCAzB,0CAA2C,CAK3C,gGAAiG,CAKjG,4GAA6G,CAK7G,sGAAuG,CAKvG,sDAAuD,CCvBvD,wBAAyB,CACzB,6BAA8B,CAC9B,wDAA6D,CAE7D,yBAA0B,CAC1B,2BAA4B,CAC5B,yBAA0B,CAC1B,wBAAyB,CACzB,0BAA2B,CCJ3B,kCJgHD,CI1GA,2EAaC,oBAAqB,CANrB,sBAAuB,CADvB,QAAS,CAFT,QAAS,CACT,SAAU,CAGV,oBAAqB,CAErB,eAAgB,CADhB,qBAKD,CAKA,8DAGC,wBAAyB,CAEzB,0BAA2B,CAG3B,WAAY,CACZ,UAAW,CALX,iGAAkG,CAElG,eAAgB,CAChB,kBAGD,CAGC,qDACC,gBACD,CAEA,mDAEC,sBACD,CAEA,qDACC,oBACD,CAEA,mLAGC,WACD,CAEA,iNAGC,cACD,CAEA,qDAEC,yBAAoC,CADpC,YAED,CAEA,qEAGC,QAAQ,CADR,SAED,CAMD,8BAEC,gBACD,CCnFA,MACC,sBAAuB,CCAvB,gEAAiE,CAKjE,0DAA2D,CAK3D,wEAAyE,CCbzE,uBAA8B,CAC9B,mDAA2D,CAC3D,4CAAkD,CAClD,oDAA4D,CAC5D,mDAA2D,CAC3D,kDAA2D,CAC3D,yDFFD",sourcesContent:["/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * A class which hides an element in DOM.\n */\n.ck-hidden {\n\t/* Override selector specificity. Otherwise, all elements with some display\n\tstyle defined will override this one, which is not a desired result. */\n\tdisplay: none !important;\n}\n","/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-reset,\n.ck.ck-reset_all,\n.ck-reset_all *:not(.ck-reset_all-excluded *) {\n\tbox-sizing: border-box;\n\twidth: auto;\n\theight: auto;\n\tposition: static;\n}\n","/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-z-default: 1;\n\t--ck-z-panel: calc( var(--ck-z-default) + 999 );\n\t--ck-z-dialog: 9999;\n}\n","/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * A class that disables all transitions of the element and its children.\n */\n.ck-transitions-disabled,\n.ck-transitions-disabled * {\n\ttransition: none !important;\n}\n",'/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-powered-by-line-height: 10px;\n\t--ck-powered-by-padding-vertical: 2px;\n\t--ck-powered-by-padding-horizontal: 4px;\n\t--ck-powered-by-text-color: hsl(0, 0%, 31%);\n\t--ck-powered-by-border-radius: var(--ck-border-radius);\n\t--ck-powered-by-background: hsl(0, 0%, 100%);\n\t--ck-powered-by-border-color: var(--ck-color-focus-border);\n}\n\n.ck.ck-balloon-panel.ck-powered-by-balloon {\n\t--ck-border-radius: var(--ck-powered-by-border-radius);\n\n\tbox-shadow: none;\n\tbackground: var(--ck-powered-by-background);\n\tmin-height: unset;\n\tz-index: calc( var(--ck-z-panel) - 1 );\n\n\t& .ck.ck-powered-by {\n\t\tline-height: var(--ck-powered-by-line-height);\n\n\t\t& a {\n\t\t\tcursor: pointer;\n\t\t\tdisplay: flex;\n\t\t\talign-items: center;\n\t\t\topacity: .66;\n\t\t\tfilter: grayscale(80%);\n\t\t\tline-height: var(--ck-powered-by-line-height);\n\t\t\tpadding: var(--ck-powered-by-padding-vertical) var(--ck-powered-by-padding-horizontal);\n\t\t}\n\n\t\t& .ck-powered-by__label {\n\t\t\tfont-size: 7.5px;\n\t\t\tletter-spacing: -.2px;\n\t\t\tpadding-left: 2px;\n\t\t\ttext-transform: uppercase;\n\t\t\tfont-weight: bold;\n\t\t\tmargin-right: 4px;\n\t\t\tcursor: pointer;\n\t\t\tline-height: normal;\n\t\t\tcolor: var(--ck-powered-by-text-color);\n\n\t\t}\n\n\t\t& .ck-icon {\n\t\t\tdisplay: block;\n\t\t\tcursor: pointer;\n\t\t}\n\n\t\t&:hover {\n\t\t\t& a {\n\t\t\t\tfilter: grayscale(0%);\n\t\t\t\topacity: 1;\n\t\t\t}\n\t\t}\n\t}\n\n\t&[class*="position_inside"] {\n\t\tborder-color: transparent;\n\t}\n\n\t&[class*="position_border"] {\n\t\tborder: var(--ck-focus-ring);\n\t\tborder-color: var(--ck-powered-by-border-color);\n\t}\n}\n\n',"/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-color-base-foreground: \t\t\t\t\t\t\t\thsl(0, 0%, 98%);\n\t--ck-color-base-background: \t\t\t\t\t\t\t\thsl(0, 0%, 100%);\n\t--ck-color-base-border: \t\t\t\t\t\t\t\t\thsl(220, 6%, 81%);\n\t--ck-color-base-action: \t\t\t\t\t\t\t\t\thsl(104, 50.2%, 42.5%);\n\t--ck-color-base-focus: \t\t\t\t\t\t\t\t\t\thsl(209, 92%, 70%);\n\t--ck-color-base-text: \t\t\t\t\t\t\t\t\t\thsl(0, 0%, 20%);\n\t--ck-color-base-active: \t\t\t\t\t\t\t\t\thsl(218.1, 100%, 58%);\n\t--ck-color-base-active-focus:\t\t\t\t\t\t\t\thsl(218.2, 100%, 52.5%);\n\t--ck-color-base-error:\t\t\t\t\t\t\t\t\t\thsl(15, 100%, 43%);\n\n\t/* -- Generic colors ------------------------------------------------------------------------ */\n\n\t--ck-color-focus-border-coordinates: \t\t\t\t\t\t218, 81.8%, 56.9%;\n\t--ck-color-focus-border: \t\t\t\t\t\t\t\t\thsl(var(--ck-color-focus-border-coordinates));\n\t--ck-color-focus-outer-shadow:\t\t\t\t\t\t\t\thsl(212.4, 89.3%, 89%);\n\t--ck-color-focus-disabled-shadow:\t\t\t\t\t\t\thsla(209, 90%, 72%,.3);\n\t--ck-color-focus-error-shadow:\t\t\t\t\t\t\t\thsla(9,100%,56%,.3);\n\t--ck-color-text: \t\t\t\t\t\t\t\t\t\t\tvar(--ck-color-base-text);\n\t--ck-color-shadow-drop: \t\t\t\t\t\t\t\t\thsla(0, 0%, 0%, 0.15);\n\t--ck-color-shadow-drop-active:\t\t\t\t\t\t\t\thsla(0, 0%, 0%, 0.2);\n\t--ck-color-shadow-inner: \t\t\t\t\t\t\t\t\thsla(0, 0%, 0%, 0.1);\n\n\t/* -- Buttons ------------------------------------------------------------------------------- */\n\n\t--ck-color-button-default-background: \t\t\t\t\t\ttransparent;\n\t--ck-color-button-default-hover-background: \t\t\t\thsl(0, 0%, 94.1%);\n\t--ck-color-button-default-active-background: \t\t\t\thsl(0, 0%, 94.1%);\n\t--ck-color-button-default-disabled-background: \t\t\t\ttransparent;\n\n\t--ck-color-button-on-background: \t\t\t\t\t\t\thsl(212, 100%, 97.1%);\n\t--ck-color-button-on-hover-background: \t\t\t\t\t\thsl(211.7, 100%, 92.9%);\n\t--ck-color-button-on-active-background: \t\t\t\t\thsl(211.7, 100%, 92.9%);\n\t--ck-color-button-on-disabled-background: \t\t\t\t\thsl(211, 15%, 95%);\n\t--ck-color-button-on-color:\t\t\t\t\t\t\t\t\thsl(218.1, 100%, 58%);\n\n\n\t--ck-color-button-action-background: \t\t\t\t\t\tvar(--ck-color-base-action);\n\t--ck-color-button-action-hover-background: \t\t\t\t\thsl(104, 53.2%, 40.2%);\n\t--ck-color-button-action-active-background: \t\t\t\thsl(104, 53.2%, 40.2%);\n\t--ck-color-button-action-disabled-background: \t\t\t\thsl(104, 44%, 58%);\n\t--ck-color-button-action-text: \t\t\t\t\t\t\t\tvar(--ck-color-base-background);\n\n\t--ck-color-button-save: \t\t\t\t\t\t\t\t\thsl(120, 100%, 27%);\n\t--ck-color-button-cancel: \t\t\t\t\t\t\t\t\thsl(15, 100%, 43%);\n\n\t--ck-color-switch-button-off-background:\t\t\t\t\thsl(0, 0%, 57.6%);\n\t--ck-color-switch-button-off-hover-background:\t\t\t\thsl(0, 0%, 49%);\n\t--ck-color-switch-button-on-background:\t\t\t\t\t\tvar(--ck-color-button-action-background);\n\t--ck-color-switch-button-on-hover-background:\t\t\t\thsl(104, 53.2%, 40.2%);\n\t--ck-color-switch-button-inner-background:\t\t\t\t\tvar(--ck-color-base-background);\n\t--ck-color-switch-button-inner-shadow:\t\t\t\t\t\thsla(0, 0%, 0%, 0.1);\n\n\t/* -- Dropdown ------------------------------------------------------------------------------ */\n\n\t--ck-color-dropdown-panel-background: \t\t\t\t\t\tvar(--ck-color-base-background);\n\t--ck-color-dropdown-panel-border: \t\t\t\t\t\t\tvar(--ck-color-base-border);\n\n\t/* -- Dialog -------------------------------------------------------------------------------- */\n\n\t--ck-color-dialog-background: \t\t\t\t\t\t\t\tvar(--ck-custom-background);\n\t--ck-color-dialog-form-header-border: \t\t\t\t\t\tvar(--ck-custom-border);\n\n\t/* -- Input --------------------------------------------------------------------------------- */\n\n\t--ck-color-input-background: \t\t\t\t\t\t\t\tvar(--ck-color-base-background);\n\t--ck-color-input-border: \t\t\t\t\t\t\t\t\tvar(--ck-color-base-border);\n\t--ck-color-input-error-border:\t\t\t\t\t\t\t\tvar(--ck-color-base-error);\n\t--ck-color-input-text: \t\t\t\t\t\t\t\t\t\tvar(--ck-color-base-text);\n\t--ck-color-input-disabled-background: \t\t\t\t\t\thsl(0, 0%, 95%);\n\t--ck-color-input-disabled-border: \t\t\t\t\t\t\tvar(--ck-color-base-border);\n\t--ck-color-input-disabled-text: \t\t\t\t\t\t\thsl(0, 0%, 46%);\n\n\t/* -- List ---------------------------------------------------------------------------------- */\n\n\t--ck-color-list-background: \t\t\t\t\t\t\t\tvar(--ck-color-base-background);\n\t--ck-color-list-button-hover-background: \t\t\t\t\tvar(--ck-color-button-default-hover-background);\n\t--ck-color-list-button-on-background: \t\t\t\t\t\tvar(--ck-color-button-on-color);\n\t--ck-color-list-button-on-background-focus: \t\t\t\tvar(--ck-color-button-on-color);\n\t--ck-color-list-button-on-text:\t\t\t\t\t\t\t\tvar(--ck-color-base-background);\n\n\t/* -- Panel --------------------------------------------------------------------------------- */\n\n\t--ck-color-panel-background: \t\t\t\t\t\t\t\tvar(--ck-color-base-background);\n\t--ck-color-panel-border: \t\t\t\t\t\t\t\t\tvar(--ck-color-base-border);\n\n\t/* -- Toolbar ------------------------------------------------------------------------------- */\n\n\t--ck-color-toolbar-background: \t\t\t\t\t\t\t\tvar(--ck-color-base-background);\n\t--ck-color-toolbar-border: \t\t\t\t\t\t\t\t\tvar(--ck-color-base-border);\n\n\t/* -- Tooltip ------------------------------------------------------------------------------- */\n\n\t--ck-color-tooltip-background: \t\t\t\t\t\t\t\tvar(--ck-color-base-text);\n\t--ck-color-tooltip-text: \t\t\t\t\t\t\t\t\tvar(--ck-color-base-background);\n\n\t/* -- Engine -------------------------------------------------------------------------------- */\n\n\t--ck-color-engine-placeholder-text: \t\t\t\t\t\thsl(0, 0%, 44%);\n\n\t/* -- Upload -------------------------------------------------------------------------------- */\n\n\t--ck-color-upload-bar-background:\t\t \t\t\t\t\thsl(209, 92%, 70%);\n\n\t/* -- Link -------------------------------------------------------------------------------- */\n\n\t--ck-color-link-default:\t\t\t\t\t\t\t\t\thsl(240, 100%, 47%);\n\t--ck-color-link-selected-background:\t\t\t\t\t\thsla(201, 100%, 56%, 0.1);\n\t--ck-color-link-fake-selection:\t\t\t\t\t\t\t\thsla(201, 100%, 56%, 0.3);\n\n\t/* -- Search result highlight ---------------------------------------------------------------- */\n\n\t--ck-color-highlight-background:\t\t\t\t\t\t\thsl(60, 100%, 50%);\n\n\t/* -- Generic colors ------------------------------------------------------------------------- */\n\n\t--ck-color-light-red:\t\t\t\t\t\t\t\t\t\thsl(0, 100%, 90%);\n}\n","/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t/**\n\t * An opacity value of disabled UI item.\n\t */\n\t--ck-disabled-opacity: .5;\n}\n","/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t/**\n\t * The geometry of the of focused element's outer shadow.\n\t */\n\t--ck-focus-outer-shadow-geometry: 0 0 0 3px;\n\n\t/**\n\t * A visual style of focused element's outer shadow.\n\t */\n\t--ck-focus-outer-shadow: var(--ck-focus-outer-shadow-geometry) var(--ck-color-focus-outer-shadow);\n\n\t/**\n\t * A visual style of focused element's outer shadow (when disabled).\n\t */\n\t--ck-focus-disabled-outer-shadow: var(--ck-focus-outer-shadow-geometry) var(--ck-color-focus-disabled-shadow);\n\n\t/**\n\t * A visual style of focused element's outer shadow (when has errors).\n\t */\n\t--ck-focus-error-outer-shadow: var(--ck-focus-outer-shadow-geometry) var(--ck-color-focus-error-shadow);\n\n\t/**\n\t * A visual style of focused element's border or outline.\n\t */\n\t--ck-focus-ring: 1px solid var(--ck-color-focus-border);\n}\n","/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-font-size-base: 13px;\n\t--ck-line-height-base: 1.84615;\n\t--ck-font-face: Helvetica, Arial, Tahoma, Verdana, Sans-Serif;\n\n\t--ck-font-size-tiny: 0.7em;\n\t--ck-font-size-small: 0.75em;\n\t--ck-font-size-normal: 1em;\n\t--ck-font-size-big: 1.4em;\n\t--ck-font-size-large: 1.8em;\n}\n",'/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t/* This is super-important. This is **manually** adjusted so a button without an icon\n\tis never smaller than a button with icon, additionally making sure that text-less buttons\n\tare perfect squares. The value is also shared by other components which should stay "in-line"\n\twith buttons. */\n\t--ck-ui-component-min-height: 2.3em;\n}\n\n/**\n * Resets an element, ignoring its children.\n */\n.ck.ck-reset,\n.ck.ck-reset_all,\n.ck-reset_all *:not(.ck-reset_all-excluded *) {\n\t/* Do not include inheritable rules here. */\n\tmargin: 0;\n\tpadding: 0;\n\tborder: 0;\n\tbackground: transparent;\n\ttext-decoration: none;\n\tvertical-align: middle;\n\ttransition: none;\n\n\t/* https://github.com/ckeditor/ckeditor5-theme-lark/issues/105 */\n\tword-wrap: break-word;\n}\n\n/**\n * Resets an element AND its children.\n */\n.ck.ck-reset_all,\n.ck-reset_all *:not(.ck-reset_all-excluded *) {\n\t/* These are rule inherited by all children elements. */\n\tborder-collapse: collapse;\n\tfont: normal normal normal var(--ck-font-size-base)/var(--ck-line-height-base) var(--ck-font-face);\n\tcolor: var(--ck-color-text);\n\ttext-align: left;\n\twhite-space: nowrap;\n\tcursor: auto;\n\tfloat: none;\n}\n\n.ck-reset_all {\n\t& .ck-rtl *:not(.ck-reset_all-excluded *) {\n\t\ttext-align: right;\n\t}\n\n\t& iframe:not(.ck-reset_all-excluded *) {\n\t\t/* For IE */\n\t\tvertical-align: inherit;\n\t}\n\n\t& textarea:not(.ck-reset_all-excluded *) {\n\t\twhite-space: pre-wrap;\n\t}\n\n\t& textarea:not(.ck-reset_all-excluded *),\n\t& input[type="text"]:not(.ck-reset_all-excluded *),\n\t& input[type="password"]:not(.ck-reset_all-excluded *) {\n\t\tcursor: text;\n\t}\n\n\t& textarea[disabled]:not(.ck-reset_all-excluded *),\n\t& input[type="text"][disabled]:not(.ck-reset_all-excluded *),\n\t& input[type="password"][disabled]:not(.ck-reset_all-excluded *) {\n\t\tcursor: default;\n\t}\n\n\t& fieldset:not(.ck-reset_all-excluded *) {\n\t\tpadding: 10px;\n\t\tborder: 2px groove hsl(255, 7%, 88%);\n\t}\n\n\t& button:not(.ck-reset_all-excluded *)::-moz-focus-inner {\n\t\t/* See http://stackoverflow.com/questions/5517744/remove-extra-button-spacing-padding-in-firefox */\n\t\tpadding: 0;\n\t\tborder: 0\n\t}\n}\n\n/**\n * Default UI rules for RTL languages.\n */\n.ck[dir="rtl"],\n.ck[dir="rtl"] .ck {\n\ttext-align: right;\n}\n',"/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Default border-radius value.\n */\n:root{\n\t--ck-border-radius: 2px;\n}\n","/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t/**\n\t * A visual style of element's inner shadow (i.e. input).\n\t */\n\t--ck-inner-shadow: 2px 2px 3px var(--ck-color-shadow-inner) inset;\n\n\t/**\n\t * A visual style of element's drop shadow (i.e. panel).\n\t */\n\t--ck-drop-shadow: 0 1px 2px 1px var(--ck-color-shadow-drop);\n\n\t/**\n\t * A visual style of element's active shadow (i.e. comment or suggestion).\n\t */\n\t--ck-drop-shadow-active: 0 3px 6px 1px var(--ck-color-shadow-drop-active);\n}\n","/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-spacing-unit: \t\t\t\t\t\t0.6em;\n\t--ck-spacing-large: \t\t\t\t\tcalc(var(--ck-spacing-unit) * 1.5);\n\t--ck-spacing-standard: \t\t\t\t\tvar(--ck-spacing-unit);\n\t--ck-spacing-medium: \t\t\t\t\tcalc(var(--ck-spacing-unit) * 0.8);\n\t--ck-spacing-small: \t\t\t\t\tcalc(var(--ck-spacing-unit) * 0.5);\n\t--ck-spacing-tiny: \t\t\t\t\t\tcalc(var(--ck-spacing-unit) * 0.3);\n\t--ck-spacing-extra-tiny: \t\t\t\tcalc(var(--ck-spacing-unit) * 0.16);\n}\n"],sourceRoot:""}]);const a=s},695:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var o=n(9372),i=n.n(o),r=n(935),s=n.n(r)()(i());s.push([t.id,":root{--ck-color-resizer:var(--ck-color-focus-border);--ck-color-resizer-tooltip-background:#262626;--ck-color-resizer-tooltip-text:#f2f2f2;--ck-resizer-border-radius:var(--ck-border-radius);--ck-resizer-tooltip-offset:10px;--ck-resizer-tooltip-height:calc(var(--ck-spacing-small)*2 + 10px)}.ck .ck-widget,.ck .ck-widget.ck-widget_with-selection-handle{position:relative}.ck .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle{position:absolute}.ck .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle .ck-icon{display:block}.ck .ck-widget.ck-widget_with-selection-handle.ck-widget_selected>.ck-widget__selection-handle,.ck .ck-widget.ck-widget_with-selection-handle:hover>.ck-widget__selection-handle{visibility:visible}.ck .ck-size-view{background:var(--ck-color-resizer-tooltip-background);border:1px solid var(--ck-color-resizer-tooltip-text);border-radius:var(--ck-resizer-border-radius);color:var(--ck-color-resizer-tooltip-text);display:block;font-size:var(--ck-font-size-tiny);height:var(--ck-resizer-tooltip-height);line-height:var(--ck-resizer-tooltip-height);padding:0 var(--ck-spacing-small)}.ck .ck-size-view.ck-orientation-above-center,.ck .ck-size-view.ck-orientation-bottom-left,.ck .ck-size-view.ck-orientation-bottom-right,.ck .ck-size-view.ck-orientation-top-left,.ck .ck-size-view.ck-orientation-top-right{position:absolute}.ck .ck-size-view.ck-orientation-top-left{left:var(--ck-resizer-tooltip-offset);top:var(--ck-resizer-tooltip-offset)}.ck .ck-size-view.ck-orientation-top-right{right:var(--ck-resizer-tooltip-offset);top:var(--ck-resizer-tooltip-offset)}.ck .ck-size-view.ck-orientation-bottom-right{bottom:var(--ck-resizer-tooltip-offset);right:var(--ck-resizer-tooltip-offset)}.ck .ck-size-view.ck-orientation-bottom-left{bottom:var(--ck-resizer-tooltip-offset);left:var(--ck-resizer-tooltip-offset)}.ck .ck-size-view.ck-orientation-above-center{left:50%;top:calc(var(--ck-resizer-tooltip-height)*-1);transform:translate(-50%)}:root{--ck-widget-outline-thickness:3px;--ck-widget-handler-icon-size:16px;--ck-widget-handler-animation-duration:200ms;--ck-widget-handler-animation-curve:ease;--ck-color-widget-blurred-border:#dedede;--ck-color-widget-hover-border:#ffc83d;--ck-color-widget-editable-focus-background:var(--ck-color-base-background);--ck-color-widget-drag-handler-icon-color:var(--ck-color-base-background)}.ck .ck-widget{outline-color:transparent;outline-style:solid;outline-width:var(--ck-widget-outline-thickness);transition:outline-color var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve)}.ck .ck-widget.ck-widget_selected,.ck .ck-widget.ck-widget_selected:hover{outline:var(--ck-widget-outline-thickness) solid var(--ck-color-focus-border)}.ck .ck-widget:hover{outline-color:var(--ck-color-widget-hover-border)}.ck .ck-editor__nested-editable{border:1px solid transparent}.ck .ck-editor__nested-editable.ck-editor__nested-editable_focused,.ck .ck-editor__nested-editable:focus{background-color:var(--ck-color-widget-editable-focus-background);border:var(--ck-focus-ring);box-shadow:var(--ck-inner-shadow),0 0;outline:none}.ck .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle{background-color:transparent;border-radius:var(--ck-border-radius) var(--ck-border-radius) 0 0;box-sizing:border-box;left:calc(0px - var(--ck-widget-outline-thickness));opacity:0;padding:4px;top:0;transform:translateY(-100%);transition:background-color var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve),visibility var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve),opacity var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve)}.ck .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle .ck-icon{color:var(--ck-color-widget-drag-handler-icon-color);height:var(--ck-widget-handler-icon-size);width:var(--ck-widget-handler-icon-size)}.ck .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle .ck-icon .ck-icon__selected-indicator{opacity:0;transition:opacity .3s var(--ck-widget-handler-animation-curve)}.ck .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle:hover .ck-icon .ck-icon__selected-indicator{opacity:1}.ck .ck-widget.ck-widget_with-selection-handle:hover>.ck-widget__selection-handle{background-color:var(--ck-color-widget-hover-border);opacity:1}.ck .ck-widget.ck-widget_with-selection-handle.ck-widget_selected:hover>.ck-widget__selection-handle,.ck .ck-widget.ck-widget_with-selection-handle.ck-widget_selected>.ck-widget__selection-handle{background-color:var(--ck-color-focus-border);opacity:1}.ck .ck-widget.ck-widget_with-selection-handle.ck-widget_selected:hover>.ck-widget__selection-handle .ck-icon .ck-icon__selected-indicator,.ck .ck-widget.ck-widget_with-selection-handle.ck-widget_selected>.ck-widget__selection-handle .ck-icon .ck-icon__selected-indicator{opacity:1}.ck[dir=rtl] .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle{left:auto;right:calc(0px - var(--ck-widget-outline-thickness))}.ck.ck-editor__editable.ck-read-only .ck-widget{transition:none}.ck.ck-editor__editable.ck-read-only .ck-widget:not(.ck-widget_selected){--ck-widget-outline-thickness:0px}.ck.ck-editor__editable.ck-read-only .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle,.ck.ck-editor__editable.ck-read-only .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle:hover{background:var(--ck-color-widget-blurred-border)}.ck.ck-editor__editable.ck-blurred .ck-widget.ck-widget_selected,.ck.ck-editor__editable.ck-blurred .ck-widget.ck-widget_selected:hover{outline-color:var(--ck-color-widget-blurred-border)}.ck.ck-editor__editable.ck-blurred .ck-widget.ck-widget_selected.ck-widget_with-selection-handle:hover>.ck-widget__selection-handle,.ck.ck-editor__editable.ck-blurred .ck-widget.ck-widget_selected.ck-widget_with-selection-handle:hover>.ck-widget__selection-handle:hover,.ck.ck-editor__editable.ck-blurred .ck-widget.ck-widget_selected.ck-widget_with-selection-handle>.ck-widget__selection-handle,.ck.ck-editor__editable.ck-blurred .ck-widget.ck-widget_selected.ck-widget_with-selection-handle>.ck-widget__selection-handle:hover{background:var(--ck-color-widget-blurred-border)}.ck.ck-editor__editable blockquote>.ck-widget.ck-widget_with-selection-handle:first-child,.ck.ck-editor__editable>.ck-widget.ck-widget_with-selection-handle:first-child{margin-top:calc(1em + var(--ck-widget-handler-icon-size))}","",{version:3,sources:["webpack://./../ckeditor5-widget/theme/widget.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-widget/widget.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_focus.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_shadow.css"],names:[],mappings:"AAKA,MACC,+CAAgD,CAChD,6CAAsD,CACtD,uCAAgD,CAEhD,kDAAmD,CACnD,gCAAiC,CACjC,kEACD,CAOA,8DAEC,iBAqBD,CAnBC,4EACC,iBAOD,CALC,qFAGC,aACD,CASD,iLACC,kBACD,CAGD,kBACC,qDAAsD,CAEtD,qDAAsD,CACtD,6CAA8C,CAF9C,0CAA2C,CAI3C,aAAc,CADd,kCAAmC,CAGnC,uCAAwC,CACxC,4CAA6C,CAF7C,iCAsCD,CAlCC,8NAKC,iBACD,CAEA,0CAEC,qCAAsC,CADtC,oCAED,CAEA,2CAEC,sCAAuC,CADvC,oCAED,CAEA,8CACC,uCAAwC,CACxC,sCACD,CAEA,6CACC,uCAAwC,CACxC,qCACD,CAGA,8CAEC,QAAS,CADT,6CAAgD,CAEhD,yBACD,CCjFD,MACC,iCAAkC,CAClC,kCAAmC,CACnC,4CAA6C,CAC7C,wCAAyC,CAEzC,wCAAiD,CACjD,sCAAkD,CAClD,2EAA4E,CAC5E,yEACD,CAEA,eAGC,yBAA0B,CAD1B,mBAAoB,CADpB,gDAAiD,CAGjD,6GAUD,CARC,0EAEC,6EACD,CAEA,qBACC,iDACD,CAGD,gCACC,4BAWD,CAPC,yGAKC,iEAAkE,CCnCnE,2BAA2B,CCF3B,qCAA8B,CDC9B,YDqCA,CAIA,4EAKC,4BAA6B,CAa7B,iEAAkE,CAhBlE,qBAAsB,CAoBtB,mDAAoD,CAhBpD,SAAU,CALV,WAAY,CAsBZ,KAAM,CAFN,2BAA4B,CAT5B,6SAgCD,CAnBC,qFAIC,oDAAqD,CADrD,yCAA0C,CAD1C,wCAWD,CANC,kHACC,SAAU,CAGV,+DACD,CAID,wHACC,SACD,CAID,kFAEC,oDAAqD,CADrD,SAED,CAKC,oMAEC,6CAA8C,CAD9C,SAOD,CAHC,gRACC,SACD,CAOH,qFACC,SAAU,CACV,oDACD,CAGA,gDAEC,eAkBD,CAhBC,yEAOC,iCACD,CAGC,gOAEC,gDACD,CAOD,wIAEC,mDAQD,CALE,ghBAEC,gDACD,CAKH,yKAOC,yDACD",sourcesContent:["/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-color-resizer: var(--ck-color-focus-border);\n\t--ck-color-resizer-tooltip-background: hsl(0, 0%, 15%);\n\t--ck-color-resizer-tooltip-text: hsl(0, 0%, 95%);\n\n\t--ck-resizer-border-radius: var(--ck-border-radius);\n\t--ck-resizer-tooltip-offset: 10px;\n\t--ck-resizer-tooltip-height: calc(var(--ck-spacing-small) * 2 + 10px);\n}\n\n.ck .ck-widget {\n\t/* This is neccessary for type around UI to be positioned properly. */\n\tposition: relative;\n}\n\n.ck .ck-widget.ck-widget_with-selection-handle {\n\t/* Make the widget wrapper a relative positioning container for the drag handle. */\n\tposition: relative;\n\n\t& .ck-widget__selection-handle {\n\t\tposition: absolute;\n\n\t\t& .ck-icon {\n\t\t\t/* Make sure the icon in not a subject to font-size or line-height to avoid\n\t\t\tunnecessary spacing around it. */\n\t\t\tdisplay: block;\n\t\t}\n\t}\n\n\t/* Show the selection handle on mouse hover over the widget, but not for nested widgets. */\n\t&:hover > .ck-widget__selection-handle {\n\t\tvisibility: visible;\n\t}\n\n\t/* Show the selection handle when the widget is selected, but not for nested widgets. */\n\t&.ck-widget_selected > .ck-widget__selection-handle {\n\t\tvisibility: visible;\n\t}\n}\n\n.ck .ck-size-view {\n\tbackground: var(--ck-color-resizer-tooltip-background);\n\tcolor: var(--ck-color-resizer-tooltip-text);\n\tborder: 1px solid var(--ck-color-resizer-tooltip-text);\n\tborder-radius: var(--ck-resizer-border-radius);\n\tfont-size: var(--ck-font-size-tiny);\n\tdisplay: block;\n\tpadding: 0 var(--ck-spacing-small);\n\theight: var(--ck-resizer-tooltip-height);\n\tline-height: var(--ck-resizer-tooltip-height);\n\n\t&.ck-orientation-top-left,\n\t&.ck-orientation-top-right,\n\t&.ck-orientation-bottom-right,\n\t&.ck-orientation-bottom-left,\n\t&.ck-orientation-above-center {\n\t\tposition: absolute;\n\t}\n\n\t&.ck-orientation-top-left {\n\t\ttop: var(--ck-resizer-tooltip-offset);\n\t\tleft: var(--ck-resizer-tooltip-offset);\n\t}\n\n\t&.ck-orientation-top-right {\n\t\ttop: var(--ck-resizer-tooltip-offset);\n\t\tright: var(--ck-resizer-tooltip-offset);\n\t}\n\n\t&.ck-orientation-bottom-right {\n\t\tbottom: var(--ck-resizer-tooltip-offset);\n\t\tright: var(--ck-resizer-tooltip-offset);\n\t}\n\n\t&.ck-orientation-bottom-left {\n\t\tbottom: var(--ck-resizer-tooltip-offset);\n\t\tleft: var(--ck-resizer-tooltip-offset);\n\t}\n\n\t/* Class applied if the widget is too small to contain the size label */\n\t&.ck-orientation-above-center {\n\t\ttop: calc(var(--ck-resizer-tooltip-height) * -1);\n\t\tleft: 50%;\n\t\ttransform: translate(-50%);\n\t}\n}\n",'/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../mixins/_focus.css";\n@import "../mixins/_shadow.css";\n\n:root {\n\t--ck-widget-outline-thickness: 3px;\n\t--ck-widget-handler-icon-size: 16px;\n\t--ck-widget-handler-animation-duration: 200ms;\n\t--ck-widget-handler-animation-curve: ease;\n\n\t--ck-color-widget-blurred-border: hsl(0, 0%, 87%);\n\t--ck-color-widget-hover-border: hsl(43, 100%, 62%);\n\t--ck-color-widget-editable-focus-background: var(--ck-color-base-background);\n\t--ck-color-widget-drag-handler-icon-color: var(--ck-color-base-background);\n}\n\n.ck .ck-widget {\n\toutline-width: var(--ck-widget-outline-thickness);\n\toutline-style: solid;\n\toutline-color: transparent;\n\ttransition: outline-color var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve);\n\n\t&.ck-widget_selected,\n\t&.ck-widget_selected:hover {\n\t\toutline: var(--ck-widget-outline-thickness) solid var(--ck-color-focus-border);\n\t}\n\n\t&:hover {\n\t\toutline-color: var(--ck-color-widget-hover-border);\n\t}\n}\n\n.ck .ck-editor__nested-editable {\n\tborder: 1px solid transparent;\n\n\t/* The :focus style is applied before .ck-editor__nested-editable_focused class is rendered in the view.\n\tThese styles show a different border for a blink of an eye, so `:focus` need to have same styles applied. */\n\t&.ck-editor__nested-editable_focused,\n\t&:focus {\n\t\t@mixin ck-focus-ring;\n\t\t@mixin ck-box-shadow var(--ck-inner-shadow);\n\n\t\tbackground-color: var(--ck-color-widget-editable-focus-background);\n\t}\n}\n\n.ck .ck-widget.ck-widget_with-selection-handle {\n\t& .ck-widget__selection-handle {\n\t\tpadding: 4px;\n\t\tbox-sizing: border-box;\n\n\t\t/* Background and opacity will be animated as the handler shows up or the widget gets selected. */\n\t\tbackground-color: transparent;\n\t\topacity: 0;\n\n\t\t/* Transition:\n\t\t * background-color for the .ck-widget_selected state change,\n\t\t * visibility for hiding the handler,\n\t\t * opacity for the proper look of the icon when the handler disappears. */\n\t\ttransition:\n\t\t\tbackground-color var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve),\n\t\t\tvisibility var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve),\n\t\t\topacity var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve);\n\n\t\t/* Make only top corners round. */\n\t\tborder-radius: var(--ck-border-radius) var(--ck-border-radius) 0 0;\n\n\t\t/* Place the drag handler outside the widget wrapper. */\n\t\ttransform: translateY(-100%);\n\t\tleft: calc(0px - var(--ck-widget-outline-thickness));\n\t\ttop: 0;\n\n\t\t& .ck-icon {\n\t\t\t/* Make sure the dimensions of the icon are independent of the fon-size of the content. */\n\t\t\twidth: var(--ck-widget-handler-icon-size);\n\t\t\theight: var(--ck-widget-handler-icon-size);\n\t\t\tcolor: var(--ck-color-widget-drag-handler-icon-color);\n\n\t\t\t/* The "selected" part of the icon is invisible by default */\n\t\t\t& .ck-icon__selected-indicator {\n\t\t\t\topacity: 0;\n\n\t\t\t\t/* Note: The animation is longer on purpose. Simply feels better. */\n\t\t\t\ttransition: opacity 300ms var(--ck-widget-handler-animation-curve);\n\t\t\t}\n\t\t}\n\n\t\t/* Advertise using the look of the icon that once clicked the handler, the widget will be selected. */\n\t\t&:hover .ck-icon .ck-icon__selected-indicator {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\n\t/* Show the selection handler on mouse hover over the widget, but not for nested widgets. */\n\t&:hover > .ck-widget__selection-handle {\n\t\topacity: 1;\n\t\tbackground-color: var(--ck-color-widget-hover-border);\n\t}\n\n\t/* Show the selection handler when the widget is selected, but not for nested widgets. */\n\t&.ck-widget_selected,\n\t&.ck-widget_selected:hover {\n\t\t& > .ck-widget__selection-handle {\n\t\t\topacity: 1;\n\t\t\tbackground-color: var(--ck-color-focus-border);\n\n\t\t\t/* When the widget is selected, notify the user using the proper look of the icon. */\n\t\t\t& .ck-icon .ck-icon__selected-indicator {\n\t\t\t\topacity: 1;\n\t\t\t}\n\t\t}\n\t}\n}\n\n/* In a RTL environment, align the selection handler to the right side of the widget */\n/* stylelint-disable-next-line no-descending-specificity */\n.ck[dir="rtl"] .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle {\n\tleft: auto;\n\tright: calc(0px - var(--ck-widget-outline-thickness));\n}\n\n/* https://github.com/ckeditor/ckeditor5/issues/6415 */\n.ck.ck-editor__editable.ck-read-only .ck-widget {\n\t/* Prevent the :hover outline from showing up because of the used outline-color transition. */\n\ttransition: none;\n\n\t&:not(.ck-widget_selected) {\n\t\t/* Disable visual effects of hover/active widget when CKEditor is in readOnly mode.\n\t\t * See: https://github.com/ckeditor/ckeditor5/issues/1261\n\t\t *\n\t\t * Leave the unit because this custom property is used in calc() by other features.\n\t\t * See: https://github.com/ckeditor/ckeditor5/issues/6775\n\t\t */\n\t\t--ck-widget-outline-thickness: 0px;\n\t}\n\n\t&.ck-widget_with-selection-handle {\n\t\t& .ck-widget__selection-handle,\n\t\t& .ck-widget__selection-handle:hover {\n\t\t\tbackground: var(--ck-color-widget-blurred-border);\n\t\t}\n\t}\n}\n\n/* Style the widget when it\'s selected but the editable it belongs to lost focus. */\n/* stylelint-disable-next-line no-descending-specificity */\n.ck.ck-editor__editable.ck-blurred .ck-widget {\n\t&.ck-widget_selected,\n\t&.ck-widget_selected:hover {\n\t\toutline-color: var(--ck-color-widget-blurred-border);\n\n\t\t&.ck-widget_with-selection-handle {\n\t\t\t& > .ck-widget__selection-handle,\n\t\t\t& > .ck-widget__selection-handle:hover {\n\t\t\t\tbackground: var(--ck-color-widget-blurred-border);\n\t\t\t}\n\t\t}\n\t}\n}\n\n.ck.ck-editor__editable > .ck-widget.ck-widget_with-selection-handle:first-child,\n.ck.ck-editor__editable blockquote > .ck-widget.ck-widget_with-selection-handle:first-child {\n\t/* Do not crop selection handler if a widget is a first-child in the blockquote or in the root editable.\n\tIn fact, anything with overflow: hidden.\n\thttps://github.com/ckeditor/ckeditor5-block-quote/issues/28\n\thttps://github.com/ckeditor/ckeditor5-widget/issues/44\n\thttps://github.com/ckeditor/ckeditor5-widget/issues/66 */\n\tmargin-top: calc(1em + var(--ck-widget-handler-icon-size));\n}\n',"/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * A visual style of focused element's border.\n */\n@define-mixin ck-focus-ring {\n\t/* Disable native outline. */\n\toutline: none;\n\tborder: var(--ck-focus-ring)\n}\n","/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * A helper to combine multiple shadows.\n */\n@define-mixin ck-box-shadow $shadowA, $shadowB: 0 0 {\n\tbox-shadow: $shadowA, $shadowB;\n}\n\n/**\n * Gives an element a drop shadow so it looks like a floating panel.\n */\n@define-mixin ck-drop-shadow {\n\t@mixin ck-box-shadow var(--ck-drop-shadow);\n}\n"],sourceRoot:""}]);const a=s},4095:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var o=n(9372),i=n.n(o),r=n(935),s=n.n(r)()(i());s.push([t.id,".ck .ck-widget_with-resizer{position:relative}.ck .ck-widget__resizer{display:none;left:0;pointer-events:none;position:absolute;top:0}.ck-focused .ck-widget_with-resizer.ck-widget_selected>.ck-widget__resizer{display:block}.ck .ck-widget__resizer__handle{pointer-events:all;position:absolute}.ck .ck-widget__resizer__handle.ck-widget__resizer__handle-bottom-right,.ck .ck-widget__resizer__handle.ck-widget__resizer__handle-top-left{cursor:nwse-resize}.ck .ck-widget__resizer__handle.ck-widget__resizer__handle-bottom-left,.ck .ck-widget__resizer__handle.ck-widget__resizer__handle-top-right{cursor:nesw-resize}:root{--ck-resizer-size:10px;--ck-resizer-offset:calc(var(--ck-resizer-size)/-2 - 2px);--ck-resizer-border-width:1px}.ck .ck-widget__resizer{outline:1px solid var(--ck-color-resizer)}.ck .ck-widget__resizer__handle{background:var(--ck-color-focus-border);border:var(--ck-resizer-border-width) solid #fff;border-radius:var(--ck-resizer-border-radius);height:var(--ck-resizer-size);width:var(--ck-resizer-size)}.ck .ck-widget__resizer__handle.ck-widget__resizer__handle-top-left{left:var(--ck-resizer-offset);top:var(--ck-resizer-offset)}.ck .ck-widget__resizer__handle.ck-widget__resizer__handle-top-right{right:var(--ck-resizer-offset);top:var(--ck-resizer-offset)}.ck .ck-widget__resizer__handle.ck-widget__resizer__handle-bottom-right{bottom:var(--ck-resizer-offset);right:var(--ck-resizer-offset)}.ck .ck-widget__resizer__handle.ck-widget__resizer__handle-bottom-left{bottom:var(--ck-resizer-offset);left:var(--ck-resizer-offset)}","",{version:3,sources:["webpack://./../ckeditor5-widget/theme/widgetresize.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-widget/widgetresize.css"],names:[],mappings:"AAKA,4BAEC,iBACD,CAEA,wBACC,YAAa,CAMb,MAAO,CAFP,mBAAoB,CAHpB,iBAAkB,CAMlB,KACD,CAGC,2EACC,aACD,CAGD,gCAIC,kBAAmB,CAHnB,iBAcD,CATC,4IAEC,kBACD,CAEA,4IAEC,kBACD,CCpCD,MACC,sBAAuB,CAGvB,yDAAiE,CACjE,6BACD,CAEA,wBACC,yCACD,CAEA,gCAGC,uCAAwC,CACxC,gDAA6D,CAC7D,6CAA8C,CAH9C,6BAA8B,CAD9B,4BAyBD,CAnBC,oEAEC,6BAA8B,CAD9B,4BAED,CAEA,qEAEC,8BAA+B,CAD/B,4BAED,CAEA,wEACC,+BAAgC,CAChC,8BACD,CAEA,uEACC,+BAAgC,CAChC,6BACD",sourcesContent:["/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck .ck-widget_with-resizer {\n\t/* Make the widget wrapper a relative positioning container for the drag handle. */\n\tposition: relative;\n}\n\n.ck .ck-widget__resizer {\n\tdisplay: none;\n\tposition: absolute;\n\n\t/* The wrapper itself should not interfere with the pointer device, only the handles should. */\n\tpointer-events: none;\n\n\tleft: 0;\n\ttop: 0;\n}\n\n.ck-focused .ck-widget_with-resizer.ck-widget_selected {\n\t& > .ck-widget__resizer {\n\t\tdisplay: block;\n\t}\n}\n\n.ck .ck-widget__resizer__handle {\n\tposition: absolute;\n\n\t/* Resizers are the only UI elements that should interfere with a pointer device. */\n\tpointer-events: all;\n\n\t&.ck-widget__resizer__handle-top-left,\n\t&.ck-widget__resizer__handle-bottom-right {\n\t\tcursor: nwse-resize;\n\t}\n\n\t&.ck-widget__resizer__handle-top-right,\n\t&.ck-widget__resizer__handle-bottom-left {\n\t\tcursor: nesw-resize;\n\t}\n}\n","/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-resizer-size: 10px;\n\n\t/* Set the resizer with a 50% offset. */\n\t--ck-resizer-offset: calc( ( var(--ck-resizer-size) / -2 ) - 2px);\n\t--ck-resizer-border-width: 1px;\n}\n\n.ck .ck-widget__resizer {\n\toutline: 1px solid var(--ck-color-resizer);\n}\n\n.ck .ck-widget__resizer__handle {\n\twidth: var(--ck-resizer-size);\n\theight: var(--ck-resizer-size);\n\tbackground: var(--ck-color-focus-border);\n\tborder: var(--ck-resizer-border-width) solid hsl(0, 0%, 100%);\n\tborder-radius: var(--ck-resizer-border-radius);\n\n\t&.ck-widget__resizer__handle-top-left {\n\t\ttop: var(--ck-resizer-offset);\n\t\tleft: var(--ck-resizer-offset);\n\t}\n\n\t&.ck-widget__resizer__handle-top-right {\n\t\ttop: var(--ck-resizer-offset);\n\t\tright: var(--ck-resizer-offset);\n\t}\n\n\t&.ck-widget__resizer__handle-bottom-right {\n\t\tbottom: var(--ck-resizer-offset);\n\t\tright: var(--ck-resizer-offset);\n\t}\n\n\t&.ck-widget__resizer__handle-bottom-left {\n\t\tbottom: var(--ck-resizer-offset);\n\t\tleft: var(--ck-resizer-offset);\n\t}\n}\n"],sourceRoot:""}]);const a=s},8508:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var o=n(9372),i=n.n(o),r=n(935),s=n.n(r)()(i());s.push([t.id,'.ck .ck-widget .ck-widget__type-around__button{display:block;overflow:hidden;position:absolute;z-index:var(--ck-z-default)}.ck .ck-widget .ck-widget__type-around__button svg{left:50%;position:absolute;top:50%;z-index:calc(var(--ck-z-default) + 2)}.ck .ck-widget .ck-widget__type-around__button.ck-widget__type-around__button_before{left:min(10%,30px);top:calc(var(--ck-widget-outline-thickness)*-.5);transform:translateY(-50%)}.ck .ck-widget .ck-widget__type-around__button.ck-widget__type-around__button_after{bottom:calc(var(--ck-widget-outline-thickness)*-.5);right:min(10%,30px);transform:translateY(50%)}.ck .ck-widget.ck-widget_selected>.ck-widget__type-around>.ck-widget__type-around__button:after,.ck .ck-widget>.ck-widget__type-around>.ck-widget__type-around__button:hover:after{content:"";display:block;left:1px;position:absolute;top:1px;z-index:calc(var(--ck-z-default) + 1)}.ck .ck-widget>.ck-widget__type-around>.ck-widget__type-around__fake-caret{display:none;left:0;position:absolute;right:0}.ck .ck-widget:hover>.ck-widget__type-around>.ck-widget__type-around__fake-caret{left:calc(var(--ck-widget-outline-thickness)*-1);right:calc(var(--ck-widget-outline-thickness)*-1)}.ck .ck-widget.ck-widget_type-around_show-fake-caret_before>.ck-widget__type-around>.ck-widget__type-around__fake-caret{display:block;top:calc(var(--ck-widget-outline-thickness)*-1 - 1px)}.ck .ck-widget.ck-widget_type-around_show-fake-caret_after>.ck-widget__type-around>.ck-widget__type-around__fake-caret{bottom:calc(var(--ck-widget-outline-thickness)*-1 - 1px);display:block}.ck.ck-editor__editable.ck-read-only .ck-widget__type-around,.ck.ck-editor__editable.ck-restricted-editing_mode_restricted .ck-widget__type-around,.ck.ck-editor__editable.ck-widget__type-around_disabled .ck-widget__type-around{display:none}:root{--ck-widget-type-around-button-size:20px;--ck-color-widget-type-around-button-active:var(--ck-color-focus-border);--ck-color-widget-type-around-button-hover:var(--ck-color-widget-hover-border);--ck-color-widget-type-around-button-blurred-editable:var(--ck-color-widget-blurred-border);--ck-color-widget-type-around-button-radar-start-alpha:0;--ck-color-widget-type-around-button-radar-end-alpha:.3;--ck-color-widget-type-around-button-icon:var(--ck-color-base-background)}.ck .ck-widget .ck-widget__type-around__button{background:var(--ck-color-widget-type-around-button);border-radius:100px;height:var(--ck-widget-type-around-button-size);opacity:0;pointer-events:none;transition:opacity var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve),background var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve);width:var(--ck-widget-type-around-button-size)}.ck .ck-widget .ck-widget__type-around__button svg{height:8px;margin-top:1px;transform:translate(-50%,-50%);transition:transform .5s ease;width:10px}.ck .ck-widget .ck-widget__type-around__button svg *{stroke-dasharray:10;stroke-dashoffset:0;fill:none;stroke:var(--ck-color-widget-type-around-button-icon);stroke-width:1.5px;stroke-linecap:round;stroke-linejoin:round}.ck .ck-widget .ck-widget__type-around__button svg line{stroke-dasharray:7}.ck .ck-widget .ck-widget__type-around__button:hover{animation:ck-widget-type-around-button-sonar 1s ease infinite}.ck .ck-widget .ck-widget__type-around__button:hover svg polyline{animation:ck-widget-type-around-arrow-dash 2s linear}.ck .ck-widget .ck-widget__type-around__button:hover svg line{animation:ck-widget-type-around-arrow-tip-dash 2s linear}.ck .ck-widget.ck-widget_selected>.ck-widget__type-around>.ck-widget__type-around__button,.ck .ck-widget:hover>.ck-widget__type-around>.ck-widget__type-around__button{opacity:1;pointer-events:auto}.ck .ck-widget:not(.ck-widget_selected)>.ck-widget__type-around>.ck-widget__type-around__button{background:var(--ck-color-widget-type-around-button-hover)}.ck .ck-widget.ck-widget_selected>.ck-widget__type-around>.ck-widget__type-around__button,.ck .ck-widget>.ck-widget__type-around>.ck-widget__type-around__button:hover{background:var(--ck-color-widget-type-around-button-active)}.ck .ck-widget.ck-widget_selected>.ck-widget__type-around>.ck-widget__type-around__button:after,.ck .ck-widget>.ck-widget__type-around>.ck-widget__type-around__button:hover:after{background:linear-gradient(135deg,hsla(0,0%,100%,0),hsla(0,0%,100%,.3));border-radius:100px;height:calc(var(--ck-widget-type-around-button-size) - 2px);width:calc(var(--ck-widget-type-around-button-size) - 2px)}.ck .ck-widget.ck-widget_with-selection-handle>.ck-widget__type-around>.ck-widget__type-around__button_before{margin-left:20px}.ck .ck-widget .ck-widget__type-around__fake-caret{animation:ck-widget-type-around-fake-caret-pulse 1s linear infinite normal forwards;background:var(--ck-color-base-text);height:1px;outline:1px solid hsla(0,0%,100%,.5);pointer-events:none}.ck .ck-widget.ck-widget_selected.ck-widget_type-around_show-fake-caret_after,.ck .ck-widget.ck-widget_selected.ck-widget_type-around_show-fake-caret_before{outline-color:transparent}.ck .ck-widget.ck-widget_type-around_show-fake-caret_after.ck-widget_selected:hover,.ck .ck-widget.ck-widget_type-around_show-fake-caret_before.ck-widget_selected:hover{outline-color:var(--ck-color-widget-hover-border)}.ck .ck-widget.ck-widget_type-around_show-fake-caret_after>.ck-widget__type-around>.ck-widget__type-around__button,.ck .ck-widget.ck-widget_type-around_show-fake-caret_before>.ck-widget__type-around>.ck-widget__type-around__button{opacity:0;pointer-events:none}.ck .ck-widget.ck-widget_type-around_show-fake-caret_after.ck-widget_selected.ck-widget_with-resizer>.ck-widget__resizer,.ck .ck-widget.ck-widget_type-around_show-fake-caret_after.ck-widget_with-selection-handle.ck-widget_selected:hover>.ck-widget__selection-handle,.ck .ck-widget.ck-widget_type-around_show-fake-caret_after.ck-widget_with-selection-handle.ck-widget_selected>.ck-widget__selection-handle,.ck .ck-widget.ck-widget_type-around_show-fake-caret_before.ck-widget_selected.ck-widget_with-resizer>.ck-widget__resizer,.ck .ck-widget.ck-widget_type-around_show-fake-caret_before.ck-widget_with-selection-handle.ck-widget_selected:hover>.ck-widget__selection-handle,.ck .ck-widget.ck-widget_type-around_show-fake-caret_before.ck-widget_with-selection-handle.ck-widget_selected>.ck-widget__selection-handle{opacity:0}.ck[dir=rtl] .ck-widget.ck-widget_with-selection-handle .ck-widget__type-around>.ck-widget__type-around__button_before{margin-left:0;margin-right:20px}.ck-editor__nested-editable.ck-editor__editable_selected .ck-widget.ck-widget_selected>.ck-widget__type-around>.ck-widget__type-around__button,.ck-editor__nested-editable.ck-editor__editable_selected .ck-widget:hover>.ck-widget__type-around>.ck-widget__type-around__button{opacity:0;pointer-events:none}.ck-editor__editable.ck-blurred .ck-widget.ck-widget_selected>.ck-widget__type-around>.ck-widget__type-around__button:not(:hover){background:var(--ck-color-widget-type-around-button-blurred-editable)}.ck-editor__editable.ck-blurred .ck-widget.ck-widget_selected>.ck-widget__type-around>.ck-widget__type-around__button:not(:hover) svg *{stroke:#999}@keyframes ck-widget-type-around-arrow-dash{0%{stroke-dashoffset:10}20%,to{stroke-dashoffset:0}}@keyframes ck-widget-type-around-arrow-tip-dash{0%,20%{stroke-dashoffset:7}40%,to{stroke-dashoffset:0}}@keyframes ck-widget-type-around-button-sonar{0%{box-shadow:0 0 0 0 hsla(var(--ck-color-focus-border-coordinates),var(--ck-color-widget-type-around-button-radar-start-alpha))}50%{box-shadow:0 0 0 5px hsla(var(--ck-color-focus-border-coordinates),var(--ck-color-widget-type-around-button-radar-end-alpha))}to{box-shadow:0 0 0 5px hsla(var(--ck-color-focus-border-coordinates),var(--ck-color-widget-type-around-button-radar-start-alpha))}}@keyframes ck-widget-type-around-fake-caret-pulse{0%{opacity:1}49%{opacity:1}50%{opacity:0}99%{opacity:0}to{opacity:1}}',"",{version:3,sources:["webpack://./../ckeditor5-widget/theme/widgettypearound.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-widget/widgettypearound.css"],names:[],mappings:"AASC,+CACC,aAAc,CAEd,eAAgB,CADhB,iBAAkB,CAElB,2BAwBD,CAtBC,mDAGC,QAAS,CAFT,iBAAkB,CAClB,OAAQ,CAER,qCACD,CAEA,qFAGC,kBAAoB,CADpB,gDAAoD,CAGpD,0BACD,CAEA,oFAEC,mDAAuD,CACvD,mBAAqB,CAErB,yBACD,CAUA,mLACC,UAAW,CACX,aAAc,CAGd,QAAS,CAFT,iBAAkB,CAClB,OAAQ,CAER,qCACD,CAMD,2EACC,YAAa,CAEb,MAAO,CADP,iBAAkB,CAElB,OACD,CAOA,iFACC,gDAAqD,CACrD,iDACD,CAKA,wHAEC,aAAc,CADd,qDAED,CAKA,uHACC,wDAA6D,CAC7D,aACD,CAoBD,mOACC,YACD,CC3GA,MACC,wCAAyC,CACzC,wEAAyE,CACzE,8EAA+E,CAC/E,2FAA4F,CAC5F,wDAAyD,CACzD,uDAAwD,CACxD,yEACD,CAgBC,+CAGC,oDAAqD,CACrD,mBAAoB,CAFpB,+CAAgD,CAVjD,SAAU,CACV,mBAAoB,CAYnB,uMAAyM,CAJzM,8CAkDD,CA1CC,mDAEC,UAAW,CAGX,cAAe,CAFf,8BAA+B,CAC/B,6BAA8B,CAH9B,UAoBD,CAdC,qDACC,mBAAoB,CACpB,mBAAoB,CAEpB,SAAU,CACV,qDAAsD,CACtD,kBAAmB,CACnB,oBAAqB,CACrB,qBACD,CAEA,wDACC,kBACD,CAGD,qDAIC,6DAcD,CARE,kEACC,oDACD,CAEA,8DACC,wDACD,CAUF,uKAvED,SAAU,CACV,mBAwEC,CAOD,gGACC,0DACD,CAOA,uKAEC,2DAQD,CANC,mLAIC,uEAAkF,CADlF,mBAAoB,CADpB,2DAA4D,CAD5D,0DAID,CAOD,8GACC,gBACD,CAKA,mDAGC,mFAAoF,CAOpF,oCAAqC,CARrC,UAAW,CAOX,oCAAwC,CARxC,mBAUD,CAOC,6JAEC,yBACD,CAUA,yKACC,iDACD,CAMA,uOAlJD,SAAU,CACV,mBAmJC,CAoBA,6yBACC,SACD,CASF,uHACC,aAAc,CACd,iBACD,CAYG,iRAlMF,SAAU,CACV,mBAmME,CAQH,kIACC,qEAKD,CAHC,wIACC,WACD,CAGD,4CACC,GACC,oBACD,CACA,OACC,mBACD,CACD,CAEA,gDACC,OACC,mBACD,CACA,OACC,mBACD,CACD,CAEA,8CACC,GACC,6HACD,CACA,IACC,6HACD,CACA,GACC,+HACD,CACD,CAEA,kDACC,GACC,SACD,CACA,IACC,SACD,CACA,IACC,SACD,CACA,IACC,SACD,CACA,GACC,SACD,CACD",sourcesContent:['/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck .ck-widget {\n\t/*\n\t * Styles of the type around buttons\n\t */\n\t& .ck-widget__type-around__button {\n\t\tdisplay: block;\n\t\tposition: absolute;\n\t\toverflow: hidden;\n\t\tz-index: var(--ck-z-default);\n\n\t\t& svg {\n\t\t\tposition: absolute;\n\t\t\ttop: 50%;\n\t\t\tleft: 50%;\n\t\t\tz-index: calc(var(--ck-z-default) + 2);\n\t\t}\n\n\t\t&.ck-widget__type-around__button_before {\n\t\t\t/* Place it in the middle of the outline */\n\t\t\ttop: calc(-0.5 * var(--ck-widget-outline-thickness));\n\t\t\tleft: min(10%, 30px);\n\n\t\t\ttransform: translateY(-50%);\n\t\t}\n\n\t\t&.ck-widget__type-around__button_after {\n\t\t\t/* Place it in the middle of the outline */\n\t\t\tbottom: calc(-0.5 * var(--ck-widget-outline-thickness));\n\t\t\tright: min(10%, 30px);\n\n\t\t\ttransform: translateY(50%);\n\t\t}\n\t}\n\n\t/*\n\t * Styles for the buttons when:\n\t * - the widget is selected,\n\t * - or the button is being hovered (regardless of the widget state).\n\t */\n\t&.ck-widget_selected > .ck-widget__type-around > .ck-widget__type-around__button,\n\t& > .ck-widget__type-around > .ck-widget__type-around__button:hover {\n\t\t&::after {\n\t\t\tcontent: "";\n\t\t\tdisplay: block;\n\t\t\tposition: absolute;\n\t\t\ttop: 1px;\n\t\t\tleft: 1px;\n\t\t\tz-index: calc(var(--ck-z-default) + 1);\n\t\t}\n\t}\n\n\t/*\n\t * Styles for the horizontal "fake caret" which is displayed when the user navigates using the keyboard.\n\t */\n\t& > .ck-widget__type-around > .ck-widget__type-around__fake-caret {\n\t\tdisplay: none;\n\t\tposition: absolute;\n\t\tleft: 0;\n\t\tright: 0;\n\t}\n\n\t/*\n\t * When the widget is hovered the "fake caret" would normally be narrower than the\n\t * extra outline displayed around the widget. Let\'s extend the "fake caret" to match\n\t * the full width of the widget.\n\t */\n\t&:hover > .ck-widget__type-around > .ck-widget__type-around__fake-caret {\n\t\tleft: calc( -1 * var(--ck-widget-outline-thickness) );\n\t\tright: calc( -1 * var(--ck-widget-outline-thickness) );\n\t}\n\n\t/*\n\t * Styles for the horizontal "fake caret" when it should be displayed before the widget (backward keyboard navigation).\n\t */\n\t&.ck-widget_type-around_show-fake-caret_before > .ck-widget__type-around > .ck-widget__type-around__fake-caret {\n\t\ttop: calc( -1 * var(--ck-widget-outline-thickness) - 1px );\n\t\tdisplay: block;\n\t}\n\n\t/*\n\t * Styles for the horizontal "fake caret" when it should be displayed after the widget (forward keyboard navigation).\n\t */\n\t&.ck-widget_type-around_show-fake-caret_after > .ck-widget__type-around > .ck-widget__type-around__fake-caret {\n\t\tbottom: calc( -1 * var(--ck-widget-outline-thickness) - 1px );\n\t\tdisplay: block;\n\t}\n}\n\n/*\n * Integration with the read-only mode of the editor.\n */\n.ck.ck-editor__editable.ck-read-only .ck-widget__type-around {\n\tdisplay: none;\n}\n\n/*\n * Integration with the restricted editing mode (feature) of the editor.\n */\n.ck.ck-editor__editable.ck-restricted-editing_mode_restricted .ck-widget__type-around {\n\tdisplay: none;\n}\n\n/*\n * Integration with the #isEnabled property of the WidgetTypeAround plugin.\n */\n.ck.ck-editor__editable.ck-widget__type-around_disabled .ck-widget__type-around {\n\tdisplay: none;\n}\n','/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-widget-type-around-button-size: 20px;\n\t--ck-color-widget-type-around-button-active: var(--ck-color-focus-border);\n\t--ck-color-widget-type-around-button-hover: var(--ck-color-widget-hover-border);\n\t--ck-color-widget-type-around-button-blurred-editable: var(--ck-color-widget-blurred-border);\n\t--ck-color-widget-type-around-button-radar-start-alpha: 0;\n\t--ck-color-widget-type-around-button-radar-end-alpha: .3;\n\t--ck-color-widget-type-around-button-icon: var(--ck-color-base-background);\n}\n\n@define-mixin ck-widget-type-around-button-visible {\n\topacity: 1;\n\tpointer-events: auto;\n}\n\n@define-mixin ck-widget-type-around-button-hidden {\n\topacity: 0;\n\tpointer-events: none;\n}\n\n.ck .ck-widget {\n\t/*\n\t * Styles of the type around buttons\n\t */\n\t& .ck-widget__type-around__button {\n\t\twidth: var(--ck-widget-type-around-button-size);\n\t\theight: var(--ck-widget-type-around-button-size);\n\t\tbackground: var(--ck-color-widget-type-around-button);\n\t\tborder-radius: 100px;\n\t\ttransition: opacity var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve), background var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve);\n\n\t\t@mixin ck-widget-type-around-button-hidden;\n\n\t\t& svg {\n\t\t\twidth: 10px;\n\t\t\theight: 8px;\n\t\t\ttransform: translate(-50%,-50%);\n\t\t\ttransition: transform .5s ease;\n\t\t\tmargin-top: 1px;\n\n\t\t\t& * {\n\t\t\t\tstroke-dasharray: 10;\n\t\t\t\tstroke-dashoffset: 0;\n\n\t\t\t\tfill: none;\n\t\t\t\tstroke: var(--ck-color-widget-type-around-button-icon);\n\t\t\t\tstroke-width: 1.5px;\n\t\t\t\tstroke-linecap: round;\n\t\t\t\tstroke-linejoin: round;\n\t\t\t}\n\n\t\t\t& line {\n\t\t\t\tstroke-dasharray: 7;\n\t\t\t}\n\t\t}\n\n\t\t&:hover {\n\t\t\t/*\n\t\t\t * Display the "sonar" around the button when hovered.\n\t\t\t */\n\t\t\tanimation: ck-widget-type-around-button-sonar 1s ease infinite;\n\n\t\t\t/*\n\t\t\t * Animate active button\'s icon.\n\t\t\t */\n\t\t\t& svg {\n\t\t\t\t& polyline {\n\t\t\t\t\tanimation: ck-widget-type-around-arrow-dash 2s linear;\n\t\t\t\t}\n\n\t\t\t\t& line {\n\t\t\t\t\tanimation: ck-widget-type-around-arrow-tip-dash 2s linear;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t/*\n\t * Show type around buttons when the widget gets selected or being hovered.\n\t */\n\t&.ck-widget_selected,\n\t&:hover {\n\t\t& > .ck-widget__type-around > .ck-widget__type-around__button {\n\t\t\t@mixin ck-widget-type-around-button-visible;\n\t\t}\n\t}\n\n\t/*\n\t * Styles for the buttons when the widget is NOT selected (but the buttons are visible\n\t * and still can be hovered).\n\t */\n\t&:not(.ck-widget_selected) > .ck-widget__type-around > .ck-widget__type-around__button {\n\t\tbackground: var(--ck-color-widget-type-around-button-hover);\n\t}\n\n\t/*\n\t * Styles for the buttons when:\n\t * - the widget is selected,\n\t * - or the button is being hovered (regardless of the widget state).\n\t */\n\t&.ck-widget_selected > .ck-widget__type-around > .ck-widget__type-around__button,\n\t& > .ck-widget__type-around > .ck-widget__type-around__button:hover {\n\t\tbackground: var(--ck-color-widget-type-around-button-active);\n\n\t\t&::after {\n\t\t\twidth: calc(var(--ck-widget-type-around-button-size) - 2px);\n\t\t\theight: calc(var(--ck-widget-type-around-button-size) - 2px);\n\t\t\tborder-radius: 100px;\n\t\t\tbackground: linear-gradient(135deg, hsla(0,0%,100%,0) 0%, hsla(0,0%,100%,.3) 100%);\n\t\t}\n\t}\n\n\t/*\n\t * Styles for the "before" button when the widget has a selection handle. Because some space\n\t * is consumed by the handle, the button must be moved slightly to the right to let it breathe.\n\t */\n\t&.ck-widget_with-selection-handle > .ck-widget__type-around > .ck-widget__type-around__button_before {\n\t\tmargin-left: 20px;\n\t}\n\n\t/*\n\t * Styles for the horizontal "fake caret" which is displayed when the user navigates using the keyboard.\n\t */\n\t& .ck-widget__type-around__fake-caret {\n\t\tpointer-events: none;\n\t\theight: 1px;\n\t\tanimation: ck-widget-type-around-fake-caret-pulse linear 1s infinite normal forwards;\n\n\t\t/*\n\t\t * The semi-transparent-outline+background combo improves the contrast\n\t\t * when the background underneath the fake caret is dark.\n\t\t */\n\t\toutline: solid 1px hsla(0, 0%, 100%, .5);\n\t\tbackground: var(--ck-color-base-text);\n\t}\n\n\t/*\n\t * Styles of the widget when the "fake caret" is blinking (e.g. upon keyboard navigation).\n\t * Despite the widget being physically selected in the model, its outline should disappear.\n\t */\n\t&.ck-widget_selected {\n\t\t&.ck-widget_type-around_show-fake-caret_before,\n\t\t&.ck-widget_type-around_show-fake-caret_after {\n\t\t\toutline-color: transparent;\n\t\t}\n\t}\n\n\t&.ck-widget_type-around_show-fake-caret_before,\n\t&.ck-widget_type-around_show-fake-caret_after {\n\t\t/*\n\t\t * When the "fake caret" is visible we simulate that the widget is not selected\n\t\t * (despite being physically selected), so the outline color should be for the\n\t\t * unselected widget.\n\t\t */\n\t\t&.ck-widget_selected:hover {\n\t\t\toutline-color: var(--ck-color-widget-hover-border);\n\t\t}\n\n\t\t/*\n\t\t * Styles of the type around buttons when the "fake caret" is blinking (e.g. upon keyboard navigation).\n\t\t * In this state, the type around buttons would collide with the fake carets so they should disappear.\n\t\t */\n\t\t& > .ck-widget__type-around > .ck-widget__type-around__button {\n\t\t\t@mixin ck-widget-type-around-button-hidden;\n\t\t}\n\n\t\t/*\n\t\t * Fake horizontal caret integration with the selection handle. When the caret is visible, simply\n\t\t * hide the handle because it intersects with the caret (and does not make much sense anyway).\n\t\t */\n\t\t&.ck-widget_with-selection-handle {\n\t\t\t&.ck-widget_selected,\n\t\t\t&.ck-widget_selected:hover {\n\t\t\t\t& > .ck-widget__selection-handle {\n\t\t\t\t\topacity: 0\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t/*\n\t\t * Fake horizontal caret integration with the resize UI. When the caret is visible, simply\n\t\t * hide the resize UI because it creates too much noise. It can be visible when the user\n\t\t * hovers the widget, though.\n\t\t */\n\t\t&.ck-widget_selected.ck-widget_with-resizer > .ck-widget__resizer {\n\t\t\topacity: 0\n\t\t}\n\t}\n}\n\n/*\n * Styles for the "before" button when the widget has a selection handle in an RTL environment.\n * The selection handler is aligned to the right side of the widget so there is no need to create\n * additional space for it next to the "before" button.\n */\n.ck[dir="rtl"] .ck-widget.ck-widget_with-selection-handle .ck-widget__type-around > .ck-widget__type-around__button_before {\n\tmargin-left: 0;\n\tmargin-right: 20px;\n}\n\n/*\n * Hide type around buttons when the widget is selected as a child of a selected\n * nested editable (e.g. mulit-cell table selection).\n *\n * See https://github.com/ckeditor/ckeditor5/issues/7263.\n */\n.ck-editor__nested-editable.ck-editor__editable_selected {\n\t& .ck-widget {\n\t\t&.ck-widget_selected,\n\t\t&:hover {\n\t\t\t& > .ck-widget__type-around > .ck-widget__type-around__button {\n\t\t\t\t@mixin ck-widget-type-around-button-hidden;\n\t\t\t}\n\t\t}\n\t}\n}\n\n/*\n * Styles for the buttons when the widget is selected but the user clicked outside of the editor (blurred the editor).\n */\n.ck-editor__editable.ck-blurred .ck-widget.ck-widget_selected > .ck-widget__type-around > .ck-widget__type-around__button:not(:hover) {\n\tbackground: var(--ck-color-widget-type-around-button-blurred-editable);\n\n\t& svg * {\n\t\tstroke: hsl(0,0%,60%);\n\t}\n}\n\n@keyframes ck-widget-type-around-arrow-dash {\n\t0% {\n\t\tstroke-dashoffset: 10;\n\t}\n\t20%, 100% {\n\t\tstroke-dashoffset: 0;\n\t}\n}\n\n@keyframes ck-widget-type-around-arrow-tip-dash {\n\t0%, 20% {\n\t\tstroke-dashoffset: 7;\n\t}\n\t40%, 100% {\n\t\tstroke-dashoffset: 0;\n\t}\n}\n\n@keyframes ck-widget-type-around-button-sonar {\n\t0% {\n\t\tbox-shadow: 0 0 0 0 hsla(var(--ck-color-focus-border-coordinates), var(--ck-color-widget-type-around-button-radar-start-alpha));\n\t}\n\t50% {\n\t\tbox-shadow: 0 0 0 5px hsla(var(--ck-color-focus-border-coordinates), var(--ck-color-widget-type-around-button-radar-end-alpha));\n\t}\n\t100% {\n\t\tbox-shadow: 0 0 0 5px hsla(var(--ck-color-focus-border-coordinates), var(--ck-color-widget-type-around-button-radar-start-alpha));\n\t}\n}\n\n@keyframes ck-widget-type-around-fake-caret-pulse {\n\t0% {\n\t\topacity: 1;\n\t}\n\t49% {\n\t\topacity: 1;\n\t}\n\t50% {\n\t\topacity: 0;\n\t}\n\t99% {\n\t\topacity: 0;\n\t}\n\t100% {\n\t\topacity: 1;\n\t}\n}\n'],sourceRoot:""}]);const a=s},935:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n=t(e);return e[2]?"@media ".concat(e[2]," {").concat(n,"}"):n})).join("")},e.i=function(t,n,o){"string"==typeof t&&(t=[[null,t,""]]);var i={};if(o)for(var r=0;r{"use strict";function e(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=t&&("undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"]);if(null==n)return;var o,i,r=[],s=!0,a=!1;try{for(n=n.call(t);!(s=(o=n.next()).done)&&(r.push(o.value),!e||r.length!==e);s=!0);}catch(t){a=!0,i=t}finally{try{s||null==n.return||n.return()}finally{if(a)throw i}}return r}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return n(t,e);var o=Object.prototype.toString.call(t).slice(8,-1);"Object"===o&&t.constructor&&(o=t.constructor.name);if("Map"===o||"Set"===o)return Array.from(t);if("Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return n(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function n(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n{"use strict";var o,i=function(){return void 0===o&&(o=Boolean(window&&document&&document.all&&!window.atob)),o},r=function(){var t={};return function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}t[e]=n}return t[e]}}(),s=[];function a(t){for(var e=-1,n=0;n{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var o in e)n.o(e,o)&&!n.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.nc=void 0;var o={};return(()=>{"use strict";function t({emitter:t,activator:e,callback:n,contextElements:o}){t.listenTo(document,"mousedown",((t,i)=>{if(!e())return;const r="function"==typeof i.composedPath?i.composedPath():[],s="function"==typeof o?o():o;for(const t of s)if(t.contains(i.target)||r.includes(t))return;n()}))}function e(t){return class extends t{disableCssTransitions(){this._isCssTransitionsDisabled=!0}enableCssTransitions(){this._isCssTransitionsDisabled=!1}constructor(...t){super(...t),this.set("_isCssTransitionsDisabled",!1),this.initializeCssTransitionDisablerMixin()}initializeCssTransitionDisablerMixin(){this.extendTemplate({attributes:{class:[this.bindTemplate.if("_isCssTransitionsDisabled","ck-transitions-disabled")]}})}}}function i({view:t}){t.listenTo(t.element,"submit",((e,n)=>{n.preventDefault(),t.fire("submit")}),{useCapture:!0})}function r({keystrokeHandler:t,focusTracker:e,gridItems:n,numberOfColumns:o,uiLanguageDirection:i}){const r="number"==typeof o?()=>o:o;function s(t){return o=>{const i=n.find((t=>t.element===e.focusedElement)),r=n.getIndex(i),s=t(r,n);n.get(s).focus(),o.stopPropagation(),o.preventDefault()}}function a(t,e){return t===e-1?0:t+1}function c(t,e){return 0===t?e-1:t-1}t.set("arrowright",s(((t,e)=>"rtl"===i?c(t,e.length):a(t,e.length)))),t.set("arrowleft",s(((t,e)=>"rtl"===i?a(t,e.length):c(t,e.length)))),t.set("arrowup",s(((t,e)=>{let n=t-r();return n<0&&(n=t+r()*Math.floor(e.length/r()),n>e.length-1&&(n-=r())),n}))),t.set("arrowdown",s(((t,e)=>{let n=t+r();return n>e.length-1&&(n=t%r()),n})))}n.d(o,{default:()=>NT});const s=function(){try{return navigator.userAgent.toLowerCase()}catch(t){return""}}();var a;const c={isMac:l(s),isWindows:(a=s,a.indexOf("windows")>-1),isGecko:function(t){return!!t.match(/gecko\/\d+/)}(s),isSafari:function(t){return t.indexOf(" applewebkit/")>-1&&-1===t.indexOf("chrome")}(s),isiOS:function(t){return!!t.match(/iphone|ipad/i)||l(t)&&navigator.maxTouchPoints>0}(s),isAndroid:function(t){return t.indexOf("android")>-1}(s),isBlink:function(t){return t.indexOf("chrome/")>-1&&t.indexOf("edge/")<0}(s),features:{isRegExpUnicodePropertySupported:function(){let t=!1;try{t=0==="ć".search(new RegExp("[\\p{L}]","u"))}catch(t){}return t}()}};function l(t){return t.indexOf("macintosh")>-1}function d(t,e,n,o){n=n||function(t,e){return t===e};const i=Array.isArray(t)?t:Array.prototype.slice.call(t),r=Array.isArray(e)?e:Array.prototype.slice.call(e),s=function(t,e,n){const o=u(t,e,n);if(-1===o)return{firstIndex:-1,lastIndexOld:-1,lastIndexNew:-1};const i=h(t,o),r=h(e,o),s=u(i,r,n),a=t.length-s,c=e.length-s;return{firstIndex:o,lastIndexOld:a,lastIndexNew:c}}(i,r,n),a=o?function(t,e){const{firstIndex:n,lastIndexOld:o,lastIndexNew:i}=t;if(-1===n)return Array(e).fill("equal");let r=[];n>0&&(r=r.concat(Array(n).fill("equal")));i-n>0&&(r=r.concat(Array(i-n).fill("insert")));o-n>0&&(r=r.concat(Array(o-n).fill("delete")));i0&&n.push({index:o,type:"insert",values:t.slice(o,r)});i-o>0&&n.push({index:o+(r-o),type:"delete",howMany:i-o});return n}(r,s);return a}function u(t,e,n){for(let o=0;o200||i>200||o+i>300)return g.fastDiff(t,e,n,!0);let r,s;if(il?-1:1;d[o+h]&&(d[o]=d[o+h].slice(0)),d[o]||(d[o]=[]),d[o].push(i>l?r:s);let g=Math.max(i,l),m=g-o;for(;ml;m--)u[m]=h(m);u[l]=h(l),p++}while(u[l]!==c);return d[l].slice(1)}g.fastDiff=d;const m=function(){return function t(){t.called=!0}};class p{constructor(t,e){this.source=t,this.name=e,this.path=[],this.stop=m(),this.off=m()}}const f=new Array(256).fill("").map(((t,e)=>("0"+e.toString(16)).slice(-2)));function k(){const t=4294967296*Math.random()>>>0,e=4294967296*Math.random()>>>0,n=4294967296*Math.random()>>>0,o=4294967296*Math.random()>>>0;return"e"+f[255&t]+f[t>>8&255]+f[t>>16&255]+f[t>>24&255]+f[255&e]+f[e>>8&255]+f[e>>16&255]+f[e>>24&255]+f[255&n]+f[n>>8&255]+f[n>>16&255]+f[n>>24&255]+f[255&o]+f[o>>8&255]+f[o>>16&255]+f[o>>24&255]}const b={get(t="normal"){return"number"!=typeof t?this[t]||this.normal:t},highest:1e5,high:1e3,normal:0,low:-1e3,lowest:-1e5};function w(t,e){const n=b.get(e.priority);for(let o=0;o{if("object"==typeof e&&null!==e){if(n.has(e))return`[object ${e.constructor.name}]`;n.add(e)}return e},i=e?` ${JSON.stringify(e,o)}`:"",r=y(t);return t+i+r}(t,n)),this.name="CKEditorError",this.context=e,this.data=n}is(t){return"CKEditorError"===t}static rethrowUnexpectedError(t,e){if(t.is&&t.is("CKEditorError"))throw t;const n=new _(t.message,e);throw n.stack=t.stack,n}}function C(t,e){console.warn(...x(t,e))}function v(t,e){console.error(...x(t,e))}function y(t){return`\nRead more: ${A}#error-${t}`}function x(t,e){const n=y(t);return e?[t,e,n]:[t,n]}const E="41.3.1",D=new Date(2024,3,16);if(globalThis.CKEDITOR_VERSION)throw new _("ckeditor-duplicated-modules",null);globalThis.CKEDITOR_VERSION=E;const I=Symbol("listeningTo"),M=Symbol("emitterId"),T=Symbol("delegations"),S=B(Object);function B(t){if(!t)return S;return class extends t{on(t,e,n){this.listenTo(this,t,e,n)}once(t,e,n){let o=!1;this.listenTo(this,t,((t,...n)=>{o||(o=!0,t.off(),e.call(this,t,...n))}),n)}off(t,e){this.stopListening(this,t,e)}listenTo(t,e,n,o={}){let i,r;this[I]||(this[I]={});const s=this[I];P(t)||N(t);const a=P(t);(i=s[a])||(i=s[a]={emitter:t,callbacks:{}}),(r=i.callbacks[e])||(r=i.callbacks[e]=[]),r.push(n),function(t,e,n,o,i){e._addEventListener?e._addEventListener(n,o,i):t._addEventListener.call(e,n,o,i)}(this,t,e,n,o)}stopListening(t,e,n){const o=this[I];let i=t&&P(t);const r=o&&i?o[i]:void 0,s=r&&e?r.callbacks[e]:void 0;if(!(!o||t&&!r||e&&!s))if(n){j(this,t,e,n);-1!==s.indexOf(n)&&(1===s.length?delete r.callbacks[e]:j(this,t,e,n))}else if(s){for(;n=s.pop();)j(this,t,e,n);delete r.callbacks[e]}else if(r){for(e in r.callbacks)this.stopListening(t,e);delete o[i]}else{for(i in o)this.stopListening(o[i].emitter);delete this[I]}}fire(t,...e){try{const n=t instanceof p?t:new p(this,t),o=n.name;let i=z(this,o);if(n.path.push(this),i){const t=[n,...e];i=Array.from(i);for(let e=0;e{this[T]||(this[T]=new Map),t.forEach((t=>{const o=this[T].get(t);o?o.set(e,n):this[T].set(t,new Map([[e,n]]))}))}}}stopDelegating(t,e){if(this[T])if(t)if(e){const n=this[T].get(t);n&&n.delete(e)}else this[T].delete(t);else this[T].clear()}_addEventListener(t,e,n){!function(t,e){const n=O(t);if(n[e])return;let o=e,i=null;const r=[];for(;""!==o&&!n[o];)n[o]={callbacks:[],childEvents:[]},r.push(n[o]),i&&n[o].childEvents.push(i),i=o,o=o.substr(0,o.lastIndexOf(":"));if(""!==o){for(const t of r)t.callbacks=n[o].callbacks.slice();n[o].childEvents.push(i)}}(this,t);const o=L(this,t),i={callback:e,priority:b.get(n.priority)};for(const t of o)w(t,i)}_removeEventListener(t,e){const n=L(this,t);for(const t of n)for(let n=0;n-1?z(t,e.substr(0,e.lastIndexOf(":"))):null}function R(t,e,n){for(let[o,i]of t){i?"function"==typeof i&&(i=i(e.name)):i=e.name;const t=new p(e.source,i);t.path=[...e.path],o.fire(t,...n)}}function j(t,e,n,o){e._removeEventListener?e._removeEventListener(n,o):t._removeEventListener.call(e,n,o)}["on","once","off","listenTo","stopListening","fire","delegate","stopDelegating","_addEventListener","_removeEventListener"].forEach((t=>{B[t]=S.prototype[t]}));const F=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)},V=Symbol("observableProperties"),H=Symbol("boundObservables"),U=Symbol("boundProperties"),q=Symbol("decoratedMethods"),G=Symbol("decoratedOriginal"),W=K(B());function K(t){if(!t)return W;return class extends t{set(t,e){if(F(t))return void Object.keys(t).forEach((e=>{this.set(e,t[e])}),this);$(this);const n=this[V];if(t in this&&!n.has(t))throw new _("observable-set-cannot-override",this);Object.defineProperty(this,t,{enumerable:!0,configurable:!0,get:()=>n.get(t),set(e){const o=n.get(t);let i=this.fire(`set:${t}`,t,e,o);void 0===i&&(i=e),o===i&&n.has(t)||(n.set(t,i),this.fire(`change:${t}`,t,i,o))}}),this[t]=e}bind(...t){if(!t.length||!Z(t))throw new _("observable-bind-wrong-properties",this);if(new Set(t).size!==t.length)throw new _("observable-bind-duplicate-properties",this);$(this);const e=this[U];t.forEach((t=>{if(e.has(t))throw new _("observable-bind-rebind",this)}));const n=new Map;return t.forEach((t=>{const o={property:t,to:[]};e.set(t,o),n.set(t,o)})),{to:Y,toMany:Q,_observable:this,_bindProperties:t,_to:[],_bindings:n}}unbind(...t){if(!this[V])return;const e=this[U],n=this[H];if(t.length){if(!Z(t))throw new _("observable-unbind-wrong-properties",this);t.forEach((t=>{const o=e.get(t);o&&(o.to.forEach((([t,e])=>{const i=n.get(t),r=i[e];r.delete(o),r.size||delete i[e],Object.keys(i).length||(n.delete(t),this.stopListening(t,"change"))})),e.delete(t))}))}else n.forEach(((t,e)=>{this.stopListening(e,"change")})),n.clear(),e.clear()}decorate(t){$(this);const e=this[t];if(!e)throw new _("observablemixin-cannot-decorate-undefined",this,{object:this,methodName:t});this.on(t,((t,n)=>{t.return=e.apply(this,n)})),this[t]=function(...e){return this.fire(t,e)},this[t][G]=e,this[q]||(this[q]=[]),this[q].push(t)}stopListening(t,e,n){if(!t&&this[q]){for(const t of this[q])this[t]=this[t][G];delete this[q]}super.stopListening(t,e,n)}}}function $(t){t[V]||(Object.defineProperty(t,V,{value:new Map}),Object.defineProperty(t,H,{value:new Map}),Object.defineProperty(t,U,{value:new Map}))}function Y(...t){const e=function(...t){if(!t.length)throw new _("observable-bind-to-parse-error",null);const e={to:[]};let n;"function"==typeof t[t.length-1]&&(e.callback=t.pop());return t.forEach((t=>{if("string"==typeof t)n.properties.push(t);else{if("object"!=typeof t)throw new _("observable-bind-to-parse-error",null);n={observable:t,properties:[]},e.to.push(n)}})),e}(...t),n=Array.from(this._bindings.keys()),o=n.length;if(!e.callback&&e.to.length>1)throw new _("observable-bind-to-no-callback",this);if(o>1&&e.callback)throw new _("observable-bind-to-extra-callback",this);var i;e.to.forEach((t=>{if(t.properties.length&&t.properties.length!==o)throw new _("observable-bind-to-properties-length",this);t.properties.length||(t.properties=this._bindProperties)})),this._to=e.to,e.callback&&(this._bindings.get(n[0]).callback=e.callback),i=this._observable,this._to.forEach((t=>{const e=i[H];let n;e.get(t.observable)||i.listenTo(t.observable,"change",((o,r)=>{n=e.get(t.observable)[r],n&&n.forEach((t=>{J(i,t.property)}))}))})),function(t){let e;t._bindings.forEach(((n,o)=>{t._to.forEach((i=>{e=i.properties[n.callback?0:t._bindProperties.indexOf(o)],n.to.push([i.observable,e]),function(t,e,n,o){const i=t[H],r=i.get(n),s=r||{};s[o]||(s[o]=new Set);s[o].add(e),r||i.set(n,s)}(t._observable,n,i.observable,e)}))}))}(this),this._bindProperties.forEach((t=>{J(this._observable,t)}))}function Q(t,e,n){if(this._bindings.size>1)throw new _("observable-bind-to-many-not-one-binding",this);this.to(...function(t,e){const n=t.map((t=>[t,e]));return Array.prototype.concat.apply([],n)}(t,e),n)}function Z(t){return t.every((t=>"string"==typeof t))}function J(t,e){const n=t[U].get(e);let o;n.callback?o=n.callback.apply(t,n.to.map((t=>t[0][t[1]]))):(o=n.to[0],o=o[0][o[1]]),Object.prototype.hasOwnProperty.call(t,e)?t[e]=o:t.set(e,o)}["set","bind","unbind","decorate","on","once","off","listenTo","stopListening","fire","delegate","stopDelegating","_addEventListener","_removeEventListener"].forEach((t=>{K[t]=W.prototype[t]}));class X{constructor(){this._replacedElements=[]}replace(t,e){this._replacedElements.push({element:t,newElement:e}),t.style.display="none",e&&t.parentNode.insertBefore(e,t.nextSibling)}restore(){this._replacedElements.forEach((({element:t,newElement:e})=>{t.style.display="",e&&e.remove()})),this._replacedElements=[]}}function tt(t){let e=0;for(const n of t)e++;return e}function et(t,e){const n=Math.min(t.length,e.length);for(let o=0;o-1};const Ot=function(t,e){var n=this.__data__,o=Tt(n,t);return o<0?(++this.size,n.push([t,e])):n[o][1]=e,this};function Lt(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e-1&&t%1==0&&t-1&&t%1==0&&t<=9007199254740991};var We={};We["[object Float32Array]"]=We["[object Float64Array]"]=We["[object Int8Array]"]=We["[object Int16Array]"]=We["[object Int32Array]"]=We["[object Uint8Array]"]=We["[object Uint8ClampedArray]"]=We["[object Uint16Array]"]=We["[object Uint32Array]"]=!0,We["[object Arguments]"]=We["[object Array]"]=We["[object ArrayBuffer]"]=We["[object Boolean]"]=We["[object DataView]"]=We["[object Date]"]=We["[object Error]"]=We["[object Function]"]=We["[object Map]"]=We["[object Number]"]=We["[object Object]"]=We["[object RegExp]"]=We["[object Set]"]=We["[object String]"]=We["[object WeakMap]"]=!1;const Ke=function(t){return kt(t)&&Ge(t.length)&&!!We[pt(t)]};const $e=function(t){return function(e){return t(e)}};var Ye="object"==typeof exports&&exports&&!exports.nodeType&&exports,Qe=Ye&&"object"==typeof module&&module&&!module.nodeType&&module,Ze=Qe&&Qe.exports===Ye&&ot.process;const Je=function(){try{var t=Qe&&Qe.require&&Qe.require("util").types;return t||Ze&&Ze.binding&&Ze.binding("util")}catch(t){}}();var Xe=Je&&Je.isTypedArray;const tn=Xe?$e(Xe):Ke;var en=Object.prototype.hasOwnProperty;const nn=function(t,e){var n=ft(t),o=!n&&ze(t),i=!n&&!o&&He(t),r=!n&&!o&&!i&&tn(t),s=n||o||i||r,a=s?Be(t.length,String):[],c=a.length;for(var l in t)!e&&!en.call(t,l)||s&&("length"==l||i&&("offset"==l||"parent"==l)||r&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||qe(l,c))||a.push(l);return a};var on=Object.prototype;const rn=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||on)};const sn=At(Object.keys,Object);var an=Object.prototype.hasOwnProperty;const cn=function(t){if(!rn(t))return sn(t);var e=[];for(var n in Object(t))an.call(t,n)&&"constructor"!=n&&e.push(n);return e};const ln=function(t){return null!=t&&Ge(t.length)&&!Ht(t)};const dn=function(t){return ln(t)?nn(t):cn(t)};const un=function(t,e){return t&&Se(e,dn(e),t)};const hn=function(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e};var gn=Object.prototype.hasOwnProperty;const mn=function(t){if(!F(t))return hn(t);var e=rn(t),n=[];for(var o in t)("constructor"!=o||!e&&gn.call(t,o))&&n.push(o);return n};const pn=function(t){return ln(t)?nn(t,!0):mn(t)};const fn=function(t,e){return t&&Se(e,pn(e),t)};var kn="object"==typeof exports&&exports&&!exports.nodeType&&exports,bn=kn&&"object"==typeof module&&module&&!module.nodeType&&module,wn=bn&&bn.exports===kn?rt.Buffer:void 0,An=wn?wn.allocUnsafe:void 0;const _n=function(t,e){if(e)return t.slice();var n=t.length,o=An?An(n):new t.constructor(n);return t.copy(o),o};const Cn=function(t,e){var n=-1,o=t.length;for(e||(e=Array(o));++n{this._setToTarget(t,o,e[o],n)}))}}function Do(t){return yo(t,Io)}function Io(t){return xo(t)||"function"==typeof t?t:void 0}function Mo(t){if(t){if(t.defaultView)return t instanceof t.defaultView.Document;if(t.ownerDocument&&t.ownerDocument.defaultView)return t instanceof t.ownerDocument.defaultView.Node}return!1}function To(t){const e=Object.prototype.toString.apply(t);return"[object Window]"==e||"[object global]"==e}const So=Bo(B());function Bo(t){if(!t)return So;return class extends t{listenTo(t,e,n,o={}){if(Mo(t)||To(t)){const i={capture:!!o.useCapture,passive:!!o.usePassive},r=this._getProxyEmitter(t,i)||new No(t,i);this.listenTo(r,e,n,o)}else super.listenTo(t,e,n,o)}stopListening(t,e,n){if(Mo(t)||To(t)){const o=this._getAllProxyEmitters(t);for(const t of o)this.stopListening(t,e,n)}else super.stopListening(t,e,n)}_getProxyEmitter(t,e){return function(t,e){const n=t[I];return n&&n[e]?n[e].emitter:null}(this,Po(t,e))}_getAllProxyEmitters(t){return[{capture:!1,passive:!1},{capture:!1,passive:!0},{capture:!0,passive:!1},{capture:!0,passive:!0}].map((e=>this._getProxyEmitter(t,e))).filter((t=>!!t))}}}["_getProxyEmitter","_getAllProxyEmitters","on","once","off","listenTo","stopListening","fire","delegate","stopDelegating","_addEventListener","_removeEventListener"].forEach((t=>{Bo[t]=So.prototype[t]}));class No extends(B()){constructor(t,e){super(),N(this,Po(t,e)),this._domNode=t,this._options=e}attach(t){if(this._domListeners&&this._domListeners[t])return;const e=this._createDomListener(t);this._domNode.addEventListener(t,e,this._options),this._domListeners||(this._domListeners={}),this._domListeners[t]=e}detach(t){let e;!this._domListeners[t]||(e=this._events[t])&&e.callbacks.length||this._domListeners[t].removeListener()}_addEventListener(t,e,n){this.attach(t),B().prototype._addEventListener.call(this,t,e,n)}_removeEventListener(t,e){B().prototype._removeEventListener.call(this,t,e),this.detach(t)}_createDomListener(t){const e=e=>{this.fire(t,e)};return e.removeListener=()=>{this._domNode.removeEventListener(t,e,this._options),delete this._domListeners[t]},e}}function Po(t,e){let n=function(t){return t["data-ck-expando"]||(t["data-ck-expando"]=k())}(t);for(const t of Object.keys(e).sort())e[t]&&(n+="-"+t);return n}let Oo;try{Oo={window,document}}catch(t){Oo={window:{},document:{}}}const Lo=Oo;function zo(t){const e=t.ownerDocument.defaultView.getComputedStyle(t);return{top:parseInt(e.borderTopWidth,10),right:parseInt(e.borderRightWidth,10),bottom:parseInt(e.borderBottomWidth,10),left:parseInt(e.borderLeftWidth,10)}}function Ro(t){return"[object Text]"==Object.prototype.toString.call(t)}function jo(t){return"[object Range]"==Object.prototype.toString.apply(t)}function Fo(t){return t&&t.parentNode?t.offsetParent===Lo.document.body?null:t.offsetParent:null}const Vo=["top","right","bottom","left","width","height"];class Ho{constructor(t){const e=jo(t);if(Object.defineProperty(this,"_source",{value:t._source||t,writable:!0,enumerable:!1}),Go(t)||e)if(e){const e=Ho.getDomRangeRects(t);Uo(this,Ho.getBoundingRect(e))}else Uo(this,t.getBoundingClientRect());else if(To(t)){const{innerWidth:e,innerHeight:n}=t;Uo(this,{top:0,right:e,bottom:n,left:0,width:e,height:n})}else Uo(this,t)}clone(){return new Ho(this)}moveTo(t,e){return this.top=e,this.right=t+this.width,this.bottom=e+this.height,this.left=t,this}moveBy(t,e){return this.top+=e,this.right+=t,this.left+=t,this.bottom+=e,this}getIntersection(t){const e={top:Math.max(this.top,t.top),right:Math.min(this.right,t.right),bottom:Math.min(this.bottom,t.bottom),left:Math.max(this.left,t.left),width:0,height:0};if(e.width=e.right-e.left,e.height=e.bottom-e.top,e.width<0||e.height<0)return null;{const t=new Ho(e);return t._source=this._source,t}}getIntersectionArea(t){const e=this.getIntersection(t);return e?e.getArea():0}getArea(){return this.width*this.height}getVisible(){const t=this._source;let e=this.clone();if(qo(t))return e;let n,o=t,i=t.parentNode||t.commonAncestorContainer;for(;i&&!qo(i);){const t="visible"===((r=i)instanceof HTMLElement?r.ownerDocument.defaultView.getComputedStyle(r).overflow:"visible");o instanceof HTMLElement&&"absolute"===Wo(o)&&(n=o);const s=Wo(i);if(t||n&&("relative"===s&&t||"relative"!==s)){o=i,i=i.parentNode;continue}const a=new Ho(i),c=e.getIntersection(a);if(!c)return null;c.getArea(){for(const e of t){const t=Ko._getElementCallbacks(e.target);if(t)for(const n of t)n(e)}}))}};let $o=Ko;function Yo(t,e){t instanceof HTMLTextAreaElement&&(t.value=e),t.innerHTML=e}function Qo(t){return e=>e+t}function Zo(t){let e=0;for(;t.previousSibling;)t=t.previousSibling,e++;return e}function Jo(t,e,n){t.insertBefore(n,t.childNodes[e]||null)}function Xo(t){return t&&t.nodeType===Node.COMMENT_NODE}function ti(t){return!!(t&&t.getClientRects&&t.getClientRects().length)}$o._observerInstance=null,$o._elementCallbacks=null;var ei=Math.pow;function ni({element:t,target:e,positions:n,limiter:o,fitInViewport:i,viewportOffsetConfig:r}){Ht(e)&&(e=e()),Ht(o)&&(o=o());const s=Fo(t),a=function(t){t=Object.assign({top:0,bottom:0,left:0,right:0},t);const e=new Ho(Lo.window);return e.top+=t.top,e.height-=t.top,e.bottom-=t.bottom,e.height-=t.bottom,e}(r),c=new Ho(t),l=oi(e,a);let d;if(!l||!a.getIntersection(l))return null;const u={targetRect:l,elementRect:c,positionedElementAncestor:s,viewportRect:a};if(o||i){if(o){const t=oi(o,a);t&&(u.limiterRect=t)}d=function(t,e){const{elementRect:n}=e,o=n.getArea(),i=t.map((t=>new ii(t,e))).filter((t=>!!t.name));let r=0,s=null;for(const t of i){const{limiterIntersectionArea:e,viewportIntersectionArea:n}=t;if(e===o)return t;const i=ei(n,2)+ei(e,2);i>r&&(r=i,s=t)}return s}(n,u)}else d=new ii(n[0],u);return d}function oi(t,e){const n=new Ho(t).getVisible();return n?n.getIntersection(e):null}class ii{constructor(t,e){const n=t(e.targetRect,e.elementRect,e.viewportRect,e.limiterRect);if(!n)return;const{left:o,top:i,name:r,config:s}=n;this.name=r,this.config=s,this._positioningFunctionCoordinates={left:o,top:i},this._options=e}get left(){return this._absoluteRect.left}get top(){return this._absoluteRect.top}get limiterIntersectionArea(){const t=this._options.limiterRect;return t?t.getIntersectionArea(this._rect):0}get viewportIntersectionArea(){return this._options.viewportRect.getIntersectionArea(this._rect)}get _rect(){return this._cachedRect||(this._cachedRect=this._options.elementRect.clone().moveTo(this._positioningFunctionCoordinates.left,this._positioningFunctionCoordinates.top)),this._cachedRect}get _absoluteRect(){return this._cachedAbsoluteRect||(this._cachedAbsoluteRect=this._rect.toAbsoluteRect()),this._cachedAbsoluteRect}}function ri(t){const e=t.parentNode;e&&e.removeChild(t)}function si({window:t,rect:e,alignToTop:n,forceScroll:o,viewportOffset:i}){const r=e.clone().moveBy(0,i.bottom),s=e.clone().moveBy(0,-i.top),a=new Ho(t).excludeScrollbarsAndBorders(),c=n&&o,l=[s,r].every((t=>a.contains(t)));let{scrollX:d,scrollY:u}=t;const h=d,g=u;c?u-=a.top-e.top+i.top:l||(li(s,a)?u-=a.top-e.top+i.top:ci(r,a)&&(u+=n?e.top-a.top-i.top:e.bottom-a.bottom+i.bottom)),l||(di(e,a)?d-=a.left-e.left+i.left:ui(e,a)&&(d+=e.right-a.right+i.right)),d==h&&u===g||t.scrollTo(d,u)}function ai({parent:t,getRect:e,alignToTop:n,forceScroll:o,ancestorOffset:i=0,limiterElement:r}){const s=hi(t),a=n&&o;let c,l,d;const u=r||s.document.body;for(;t!=u;)l=e(),c=new Ho(t).excludeScrollbarsAndBorders(),d=c.contains(l),a?t.scrollTop-=c.top-l.top+i:d||(li(l,c)?t.scrollTop-=c.top-l.top+i:ci(l,c)&&(t.scrollTop+=n?l.top-c.top-i:l.bottom-c.bottom+i)),d||(di(l,c)?t.scrollLeft-=c.left-l.left+i:ui(l,c)&&(t.scrollLeft+=l.right-c.right+i)),t=t.parentNode}function ci(t,e){return t.bottom>e.bottom}function li(t,e){return t.tope.right}function hi(t){return jo(t)?t.startContainer.ownerDocument.defaultView:t.ownerDocument.defaultView}function gi(t){if(jo(t)){let e=t.commonAncestorContainer;return Ro(e)&&(e=e.parentNode),e}return t.parentNode}function mi(t,e){const n=hi(t),o=new Ho(t);if(n===e)return o;{let t=n;for(;t!=e;){const e=t.frameElement,n=new Ho(e).excludeScrollbarsAndBorders();o.moveBy(n.left,n.top),t=t.parent}}return o}const pi={ctrl:"⌃",cmd:"⌘",alt:"⌥",shift:"⇧"},fi={ctrl:"Ctrl+",alt:"Alt+",shift:"Shift+"},ki={37:"←",38:"↑",39:"→",40:"↓",9:"⇥",33:"Page Up",34:"Page Down"},bi=function(){const t={pageup:33,pagedown:34,arrowleft:37,arrowup:38,arrowright:39,arrowdown:40,backspace:8,delete:46,enter:13,space:32,esc:27,tab:9,ctrl:1114112,shift:2228224,alt:4456448,cmd:8912896};for(let e=65;e<=90;e++){t[String.fromCharCode(e).toLowerCase()]=e}for(let e=48;e<=57;e++)t[e-48]=e;for(let e=112;e<=123;e++)t["f"+(e-111)]=e;return Object.assign(t,{"'":222,",":108,"-":109,".":110,"/":111,";":186,"=":187,"[":219,"\\":220,"]":221,"`":223}),t}(),wi=Object.fromEntries(Object.entries(bi).map((([t,e])=>{let n;return n=e in ki?ki[e]:t.charAt(0).toUpperCase()+t.slice(1),[e,n]})));function Ai(t){let e;if("string"==typeof t){if(e=bi[t.toLowerCase()],!e)throw new _("keyboard-unknown-key",null,{key:t})}else e=t.keyCode+(t.altKey?bi.alt:0)+(t.ctrlKey?bi.ctrl:0)+(t.shiftKey?bi.shift:0)+(t.metaKey?bi.cmd:0);return e}function _i(t){return"string"==typeof t&&(t=function(t){return t.split("+").map((t=>t.trim()))}(t)),t.map((t=>"string"==typeof t?function(t){if(t.endsWith("!"))return Ai(t.slice(0,-1));const e=Ai(t);return(c.isMac||c.isiOS)&&e==bi.ctrl?bi.cmd:e}(t):t)).reduce(((t,e)=>e+t),0)}function Ci(t){let e=_i(t);return Object.entries(c.isMac||c.isiOS?pi:fi).reduce(((t,[n,o])=>(e&bi[n]&&(e&=~bi[n],t+=o),t)),"")+(e?wi[e]:"")}function vi(t,e){const n="ltr"===e;switch(t){case bi.arrowleft:return n?"left":"right";case bi.arrowright:return n?"right":"left";case bi.arrowup:return"up";case bi.arrowdown:return"down"}}function yi(t){return Array.isArray(t)?t:[t]}const xi=function(t,e,n){(void 0!==n&&!Mt(t[e],n)||void 0===n&&!(e in t))&&Ie(t,e,n)};const Ei=function(t){return function(e,n,o){for(var i=-1,r=Object(e),s=o(e),a=s.length;a--;){var c=s[t?a:++i];if(!1===n(r[c],c,r))break}return e}}();const Di=function(t){return kt(t)&&ln(t)};const Ii=function(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]};const Mi=function(t){return Se(t,pn(t))};const Ti=function(t,e,n,o,i,r,s){var a=Ii(t,n),c=Ii(e,n),l=s.get(c);if(l)xi(t,n,l);else{var d=r?r(a,c,n+"",t,e,s):void 0,u=void 0===d;if(u){var h=ft(c),g=!h&&He(c),m=!h&&!g&&tn(c);d=c,h||g||m?ft(a)?d=a:Di(a)?d=Cn(a):g?(u=!1,d=_n(c,!0)):m?(u=!1,d=ao(c,!0)):d=[]:Dt(c)||ze(c)?(d=a,ze(a)?d=Mi(a):F(a)&&!Ht(a)||(d=ho(c))):u=!1}u&&(s.set(c,d),i(d,c,o,r,s),s.delete(c)),xi(t,n,d)}};const Si=function t(e,n,o,i,r){e!==n&&Ei(n,(function(s,a){if(r||(r=new xe),F(s))Ti(e,n,a,o,t,i,r);else{var c=i?i(Ii(e,a),s,a+"",e,n,r):void 0;void 0===c&&(c=s),xi(e,a,c)}}),pn)};const Bi=function(t){return t};const Ni=function(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)};var Pi=Math.max;const Oi=function(t,e,n){return e=Pi(void 0===e?t.length-1:e,0),function(){for(var o=arguments,i=-1,r=Pi(o.length-e,0),s=Array(r);++i0){if(++e>=800)return arguments[0]}else e=0;return t.apply(void 0,arguments)}};const Fi=ji(zi);const Vi=function(t,e){return Fi(Oi(t,e,Bi),t+"")};const Hi=function(t,e,n){if(!F(n))return!1;var o=typeof e;return!!("number"==o?ln(n)&&qe(e,n.length):"string"==o&&e in n)&&Mt(n[e],t)};const Ui=function(t){return Vi((function(e,n){var o=-1,i=n.length,r=i>1?n[i-1]:void 0,s=i>2?n[2]:void 0;for(r=t.length>3&&"function"==typeof r?(i--,r):void 0,s&&Hi(n[0],n[1],s)&&(r=i<3?void 0:r,i=1),e=Object(e);++o1===t?0:1),l=a[s];if("string"==typeof l)return l;return l[Number(c(n))]}Lo.window.CKEDITOR_TRANSLATIONS||(Lo.window.CKEDITOR_TRANSLATIONS={});const Wi=["ar","ara","dv","div","fa","per","fas","he","heb","ku","kur","ug","uig"];function Ki(t){return Wi.includes(t)?"rtl":"ltr"}class $i{constructor({uiLanguage:t="en",contentLanguage:e,translations:n}={}){this.uiLanguage=t,this.contentLanguage=e||this.uiLanguage,this.uiLanguageDirection=Ki(this.uiLanguage),this.contentLanguageDirection=Ki(this.contentLanguage),this.translations=function(t){return Array.isArray(t)?t.reduce(((t,e)=>qi(t,e))):t}(n),this.t=(t,e)=>this._t(t,e)}get language(){return console.warn("locale-deprecated-language-property: The Locale#language property has been deprecated and will be removed in the near future. Please use #uiLanguage and #contentLanguage properties instead."),this.uiLanguage}_t(t,e=[]){e=yi(e),"string"==typeof t&&(t={string:t});const n=!!t.plural?e[0]:1;return function(t,e){return t.replace(/%(\d+)/g,((t,n)=>nthis._items.length||e<0)throw new _("collection-add-item-invalid-index",this);let n=0;for(const o of t){const t=this._getItemIdBeforeAdding(o),i=e+n;this._items.splice(i,0,o),this._itemMap.set(t,o),this.fire("add",o,i),n++}return this.fire("change",{added:t,removed:[],index:e}),this}get(t){let e;if("string"==typeof t)e=this._itemMap.get(t);else{if("number"!=typeof t)throw new _("collection-get-invalid-arg",this);e=this._items[t]}return e||null}has(t){if("string"==typeof t)return this._itemMap.has(t);{const e=t[this._idProperty];return e&&this._itemMap.has(e)}}getIndex(t){let e;return e="string"==typeof t?this._itemMap.get(t):t,e?this._items.indexOf(e):-1}remove(t){const[e,n]=this._remove(t);return this.fire("change",{added:[],removed:[e],index:n}),e}map(t,e){return this._items.map(t,e)}forEach(t,e){this._items.forEach(t,e)}find(t,e){return this._items.find(t,e)}filter(t,e){return this._items.filter(t,e)}clear(){this._bindToCollection&&(this.stopListening(this._bindToCollection),this._bindToCollection=null);const t=Array.from(this._items);for(;this.length;)this._remove(0);this.fire("change",{added:[],removed:t,index:0})}bindTo(t){if(this._bindToCollection)throw new _("collection-bind-to-rebind",this);return this._bindToCollection=t,{as:t=>{this._setUpBindToBinding((e=>new t(e)))},using:t=>{"function"==typeof t?this._setUpBindToBinding(t):this._setUpBindToBinding((e=>e[t]))}}}_setUpBindToBinding(t){const e=this._bindToCollection,n=(n,o,i)=>{const r=e._bindToCollection==this,s=e._bindToInternalToExternalMap.get(o);if(r&&s)this._bindToExternalToInternalMap.set(o,s),this._bindToInternalToExternalMap.set(s,o);else{const n=t(o);if(!n)return void this._skippedIndexesFromExternal.push(i);let r=i;for(const t of this._skippedIndexesFromExternal)i>t&&r--;for(const t of e._skippedIndexesFromExternal)r>=t&&r++;this._bindToExternalToInternalMap.set(o,n),this._bindToInternalToExternalMap.set(n,o),this.add(n,r);for(let t=0;t{const o=this._bindToExternalToInternalMap.get(e);o&&this.remove(o),this._skippedIndexesFromExternal=this._skippedIndexesFromExternal.reduce(((t,e)=>(ne&&t.push(e),t)),[])}))}_getItemIdBeforeAdding(t){const e=this._idProperty;let n;if(e in t){if(n=t[e],"string"!=typeof n)throw new _("collection-add-invalid-id",this);if(this.get(n))throw new _("collection-add-item-already-exists",this)}else t[e]=n=k();return n}_remove(t){let e,n,o,i=!1;const r=this._idProperty;if("string"==typeof t?(n=t,o=this._itemMap.get(n),i=!o,o&&(e=this._items.indexOf(o))):"number"==typeof t?(e=t,o=this._items[e],i=!o,o&&(n=o[r])):(o=t,n=o[r],e=this._items.indexOf(o),i=-1==e||!this._itemMap.get(n)),i)throw new _("collection-remove-404",this);this._items.splice(e,1),this._itemMap.delete(n);const s=this._bindToInternalToExternalMap.get(o);return this._bindToInternalToExternalMap.delete(o),this._bindToExternalToInternalMap.delete(s),this.fire("remove",o,e),[o,e]}[Symbol.iterator](){return this._items[Symbol.iterator]()}}function Qi(t){const e=t.next();return e.done?null:e.value}class Zi extends(Bo(K())){constructor(){super(),this._elements=new Set,this._nextEventLoopTimeout=null,this.set("isFocused",!1),this.set("focusedElement",null)}add(t){if(this._elements.has(t))throw new _("focustracker-add-element-already-exist",this);this.listenTo(t,"focus",(()=>this._focus(t)),{useCapture:!0}),this.listenTo(t,"blur",(()=>this._blur()),{useCapture:!0}),this._elements.add(t)}remove(t){t===this.focusedElement&&this._blur(),this._elements.has(t)&&(this.stopListening(t),this._elements.delete(t))}destroy(){this.stopListening()}_focus(t){clearTimeout(this._nextEventLoopTimeout),this.focusedElement=t,this.isFocused=!0}_blur(){clearTimeout(this._nextEventLoopTimeout),this._nextEventLoopTimeout=setTimeout((()=>{this.focusedElement=null,this.isFocused=!1}),0)}}class Ji{constructor(){this._listener=new(Bo())}listenTo(t){this._listener.listenTo(t,"keydown",((t,e)=>{this._listener.fire("_keydown:"+Ai(e),e)}))}set(t,e,n={}){const o=_i(t),i=n.priority;this._listener.listenTo(this._listener,"_keydown:"+o,((t,n)=>{e(n,(()=>{n.preventDefault(),n.stopPropagation(),t.stop()})),t.return=!0}),{priority:i})}press(t){return!!this._listener.fire("_keydown:"+Ai(t),t)}stopListening(t){this._listener.stopListening(t)}destroy(){this.stopListening()}}function Xi(t){return nt(t)?new Map(t):function(t){const e=new Map;for(const n in t)e.set(n,t[n]);return e}(t)}Math.pow;function tr(t,e){let n;function o(...i){o.cancel(),n=setTimeout((()=>t(...i)),e)}return o.cancel=()=>{clearTimeout(n)},o}function er(t,e){return!!(n=t.charAt(e-1))&&1==n.length&&/[\ud800-\udbff]/.test(n)&&function(t){return!!t&&1==t.length&&/[\udc00-\udfff]/.test(t)}(t.charAt(e));var n}function nr(t,e){return!!(n=t.charAt(e))&&1==n.length&&/[\u0300-\u036f\u1ab0-\u1aff\u1dc0-\u1dff\u20d0-\u20ff\ufe20-\ufe2f]/.test(n);var n}const or=function(){const t=[new RegExp("\\p{Emoji}[\\u{E0020}-\\u{E007E}]+\\u{E007F}","u"),new RegExp("\\p{Emoji}\\u{FE0F}?\\u{20E3}","u"),new RegExp("\\p{Emoji}\\u{FE0F}","u"),new RegExp("(?=\\p{General_Category=Other_Symbol})\\p{Emoji}\\p{Emoji_Modifier}*","u")],e=new RegExp("\\p{Regional_Indicator}{2}","u").source,n="(?:"+t.map((t=>t.source)).join("|")+")";return new RegExp(`${e}|${n}(?:‍${n})*`,"ug")}();function ir(t,e){const n=String(t).matchAll(or);return Array.from(n).some((t=>t.index{this.refresh()})),this.listenTo(t,"change:isReadOnly",(()=>{this.refresh()})),this.on("set:isEnabled",(e=>{if(!this.affectsData)return;const n=t.model.document.selection,o=!("$graveyard"==n.getFirstPosition().root.rootName)&&t.model.canEditAt(n);(t.isReadOnly||this._isEnabledBasedOnSelection&&!o)&&(e.return=!1,e.stop())}),{priority:"highest"}),this.on("execute",(t=>{this.isEnabled||t.stop()}),{priority:"high"})}get affectsData(){return this._affectsData}set affectsData(t){this._affectsData=t}refresh(){this.isEnabled=!0}forceDisabled(t){this._disableStack.add(t),1==this._disableStack.size&&(this.on("set:isEnabled",cr,{priority:"highest"}),this.isEnabled=!1)}clearForceDisabled(t){this._disableStack.delete(t),0==this._disableStack.size&&(this.off("set:isEnabled",cr),this.refresh())}execute(...t){}destroy(){this.stopListening()}}function cr(t){t.return=!1,t.stop()}class lr extends ar{constructor(){super(...arguments),this._childCommandsDefinitions=[]}refresh(){}execute(...t){const e=this._getFirstEnabledCommand();return!!e&&e.execute(t)}registerChildCommand(t,e={}){w(this._childCommandsDefinitions,{command:t,priority:e.priority||"normal"}),t.on("change:isEnabled",(()=>this._checkEnabled())),this._checkEnabled()}_checkEnabled(){this.isEnabled=!!this._getFirstEnabledCommand()}_getFirstEnabledCommand(){const t=this._childCommandsDefinitions.find((({command:t})=>t.isEnabled));return t&&t.command}}class dr extends(B()){constructor(t,e=[],n=[]){super(),this._plugins=new Map,this._context=t,this._availablePlugins=new Map;for(const t of e)t.pluginName&&this._availablePlugins.set(t.pluginName,t);this._contextPlugins=new Map;for(const[t,e]of n)this._contextPlugins.set(t,e),this._contextPlugins.set(e,t),t.pluginName&&this._availablePlugins.set(t.pluginName,t)}*[Symbol.iterator](){for(const t of this._plugins)"function"==typeof t[0]&&(yield t)}get(t){const e=this._plugins.get(t);if(!e){let e=t;throw"function"==typeof t&&(e=t.pluginName||t.name),new _("plugincollection-plugin-not-loaded",this._context,{plugin:e})}return e}has(t){return this._plugins.has(t)}init(t,e=[],n=[]){const o=this,i=this._context;!function t(e,n=new Set){e.forEach((e=>{a(e)&&(n.has(e)||(n.add(e),e.pluginName&&!o._availablePlugins.has(e.pluginName)&&o._availablePlugins.set(e.pluginName,e),e.requires&&t(e.requires,n)))}))}(t),u(t);const r=[...function t(e,n=new Set){return e.map((t=>a(t)?t:o._availablePlugins.get(t))).reduce(((e,o)=>n.has(o)?e:(n.add(o),o.requires&&(u(o.requires,o),t(o.requires,n).forEach((t=>e.add(t)))),e.add(o))),new Set)}(t.filter((t=>!l(t,e))))];!function(t,e){for(const n of e){if("function"!=typeof n)throw new _("plugincollection-replace-plugin-invalid-type",null,{pluginItem:n});const e=n.pluginName;if(!e)throw new _("plugincollection-replace-plugin-missing-name",null,{pluginItem:n});if(n.requires&&n.requires.length)throw new _("plugincollection-plugin-for-replacing-cannot-have-dependencies",null,{pluginName:e});const i=o._availablePlugins.get(e);if(!i)throw new _("plugincollection-plugin-for-replacing-not-exist",null,{pluginName:e});const r=t.indexOf(i);if(-1===r){if(o._contextPlugins.has(i))return;throw new _("plugincollection-plugin-for-replacing-not-loaded",null,{pluginName:e})}if(i.requires&&i.requires.length)throw new _("plugincollection-replaced-plugin-cannot-have-dependencies",null,{pluginName:e});t.splice(r,1,n),o._availablePlugins.set(e,n)}}(r,n);const s=r.map((t=>{let e=o._contextPlugins.get(t);return e=e||new t(i),o._add(t,e),e}));return h(s,"init").then((()=>h(s,"afterInit"))).then((()=>s));function a(t){return"function"==typeof t}function c(t){return a(t)&&!!t.isContextPlugin}function l(t,e){return e.some((e=>e===t||(d(t)===e||d(e)===t)))}function d(t){return a(t)?t.pluginName||t.name:t}function u(t,n=null){t.map((t=>a(t)?t:o._availablePlugins.get(t)||t)).forEach((t=>{!function(t,e){if(a(t))return;if(e)throw new _("plugincollection-soft-required",i,{missingPlugin:t,requiredBy:d(e)});throw new _("plugincollection-plugin-not-found",i,{plugin:t})}(t,n),function(t,e){if(!c(e))return;if(c(t))return;throw new _("plugincollection-context-required",i,{plugin:d(t),requiredBy:d(e)})}(t,n),function(t,n){if(!n)return;if(!l(t,e))return;throw new _("plugincollection-required",i,{plugin:d(t),requiredBy:d(n)})}(t,n)}))}function h(t,e){return t.reduce(((t,n)=>n[e]?o._contextPlugins.has(n)?t:t.then(n[e].bind(n)):t),Promise.resolve())}}destroy(){const t=[];for(const[,e]of this)"function"!=typeof e.destroy||this._contextPlugins.has(e)||t.push(e.destroy());return Promise.all(t)}_add(t,e){this._plugins.set(t,e);const n=t.pluginName;if(n){if(this._plugins.has(n))throw new _("plugincollection-plugin-name-conflict",null,{pluginName:n,plugin1:this._plugins.get(n).constructor,plugin2:t});this._plugins.set(n,e)}}}var ur=Object.getOwnPropertySymbols,hr=Object.prototype.hasOwnProperty,gr=Object.prototype.propertyIsEnumerable;class mr{constructor(t){this._contextOwner=null;const e=t||{},{translations:n}=e,o=((t,e)=>{var n={};for(var o in t)hr.call(t,o)&&e.indexOf(o)<0&&(n[o]=t[o]);if(null!=t&&ur)for(var o of ur(t))e.indexOf(o)<0&&gr.call(t,o)&&(n[o]=t[o]);return n})(e,["translations"]);this.config=new Eo(o,this.constructor.defaultConfig);const i=this.constructor.builtinPlugins;this.config.define("plugins",i),this.plugins=new dr(this,i);const r=this.config.get("language")||{};this.locale=new $i({uiLanguage:"string"==typeof r?r:r.ui,contentLanguage:this.config.get("language.content"),translations:n}),this.t=this.locale.t,this.editors=new Yi}initPlugins(){const t=this.config.get("plugins")||[],e=this.config.get("substitutePlugins")||[];for(const n of t.concat(e)){if("function"!=typeof n)throw new _("context-initplugins-constructor-only",null,{Plugin:n});if(!0!==n.isContextPlugin)throw new _("context-initplugins-invalid-plugin",null,{Plugin:n})}return this.plugins.init(t,[],e)}destroy(){return Promise.all(Array.from(this.editors,(t=>t.destroy()))).then((()=>this.plugins.destroy()))}_addEditor(t,e){if(this._contextOwner)throw new _("context-addeditor-private-context");this.editors.add(t),e&&(this._contextOwner=t)}_removeEditor(t){return this.editors.has(t)&&this.editors.remove(t),this._contextOwner===t?this.destroy():Promise.resolve()}_getEditorConfig(){const t={};for(const e of this.config.names())["plugins","removePlugins","extraPlugins"].includes(e)||(t[e]=this.config.get(e));return t}static create(t){return new Promise((e=>{const n=new this(t);e(n.initPlugins().then((()=>n)))}))}}class pr extends(K()){constructor(t){super(),this.context=t}destroy(){this.stopListening()}static get isContextPlugin(){return!0}}class fr extends Ji{constructor(t){super(),this.editor=t}set(t,e,n={}){if("string"==typeof e){const t=e;e=(e,n)=>{this.editor.execute(t),n()}}super.set(t,e,n)}}var kr=n(2591),br=n.n(kr),wr=n(4098),Ar={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};br()(wr.A,Ar);wr.A.locals;const _r=new WeakMap;let Cr=!1;function vr({view:t,element:e,text:n,isDirectHost:o=!0,keepOnFocus:i=!1}){const r=t.document;function s(n){_r.get(r).set(e,{text:n,isDirectHost:o,keepOnFocus:i,hostElement:o?e:null}),t.change((t=>Dr(r,t)))}_r.has(r)||(_r.set(r,new Map),r.registerPostFixer((t=>Dr(r,t))),r.on("change:isComposing",(()=>{t.change((t=>Dr(r,t)))}),{priority:"high"})),e.is("editableElement")&&e.on("change:placeholder",((t,e,n)=>{s(n)})),e.placeholder?s(e.placeholder):n&&s(n),n&&function(){Cr||C("enableplaceholder-deprecated-text-option");Cr=!0}()}function yr(t,e){return!e.hasClass("ck-placeholder")&&(t.addClass("ck-placeholder",e),!0)}function xr(t,e){return!!e.hasClass("ck-placeholder")&&(t.removeClass("ck-placeholder",e),!0)}function Er(t,e){if(!t.isAttached())return!1;if(Array.from(t.getChildren()).some((t=>!t.is("uiElement"))))return!1;const n=t.document,o=n.selection.anchor;return(!n.isComposing||!o||o.parent!==t)&&(!!e||(!n.isFocused||!!o&&o.parent!==t))}function Dr(t,e){const n=_r.get(t),o=[];let i=!1;for(const[t,r]of n)r.isDirectHost&&(o.push(t),Ir(e,t,r)&&(i=!0));for(const[t,r]of n){if(r.isDirectHost)continue;const n=Mr(t);n&&(o.includes(n)||(r.hostElement=n,Ir(e,t,r)&&(i=!0)))}return i}function Ir(t,e,n){const{text:o,isDirectHost:i,hostElement:r}=n;let s=!1;r.getAttribute("data-placeholder")!==o&&(t.setAttribute("data-placeholder",o,r),s=!0);return(i||1==e.childCount)&&Er(r,n.keepOnFocus)?yr(t,r)&&(s=!0):xr(t,r)&&(s=!0),s}function Mr(t){if(t.childCount){const e=t.getChild(0);if(e.is("element")&&!e.is("uiElement")&&!e.is("attributeElement"))return e}return null}class Tr{is(){throw new Error("is() method is abstract")}}const Sr=function(t){return vo(t,4)};class Br extends(B(Tr)){constructor(t){super(),this.document=t,this.parent=null}get index(){let t;if(!this.parent)return null;if(-1==(t=this.parent.getChildIndex(this)))throw new _("view-node-not-found-in-parent",this);return t}get nextSibling(){const t=this.index;return null!==t&&this.parent.getChild(t+1)||null}get previousSibling(){const t=this.index;return null!==t&&this.parent.getChild(t-1)||null}get root(){let t=this;for(;t.parent;)t=t.parent;return t}isAttached(){return this.root.is("rootElement")}getPath(){const t=[];let e=this;for(;e.parent;)t.unshift(e.index),e=e.parent;return t}getAncestors(t={}){const e=[];let n=t.includeSelf?this:this.parent;for(;n;)e[t.parentFirst?"push":"unshift"](n),n=n.parent;return e}getCommonAncestor(t,e={}){const n=this.getAncestors(e),o=t.getAncestors(e);let i=0;for(;n[i]==o[i]&&n[i];)i++;return 0===i?null:n[i-1]}isBefore(t){if(this==t)return!1;if(this.root!==t.root)return!1;const e=this.getPath(),n=t.getPath(),o=et(e,n);switch(o){case"prefix":return!0;case"extension":return!1;default:return e[o]t.data.length)throw new _("view-textproxy-wrong-offsetintext",this);if(n<0||e+n>t.data.length)throw new _("view-textproxy-wrong-length",this);this.data=t.data.substring(e,e+n),this.offsetInText=e}get offsetSize(){return this.data.length}get isPartial(){return this.data.length!==this.textNode.data.length}get parent(){return this.textNode.parent}get root(){return this.textNode.root}get document(){return this.textNode.document}getAncestors(t={}){const e=[];let n=t.includeSelf?this.textNode:this.parent;for(;null!==n;)e[t.parentFirst?"push":"unshift"](n),n=n.parent;return e}}Pr.prototype.is=function(t){return"$textProxy"===t||"view:$textProxy"===t||"textProxy"===t||"view:textProxy"===t};class Or{constructor(...t){this._patterns=[],this.add(...t)}add(...t){for(let e of t)("string"==typeof e||e instanceof RegExp)&&(e={name:e}),this._patterns.push(e)}match(...t){for(const e of t)for(const t of this._patterns){const n=Lr(e,t);if(n)return{element:e,pattern:t,match:n}}return null}matchAll(...t){const e=[];for(const n of t)for(const t of this._patterns){const o=Lr(n,t);o&&e.push({element:n,pattern:t,match:o})}return e.length>0?e:null}getElementName(){if(1!==this._patterns.length)return null;const t=this._patterns[0],e=t.name;return"function"==typeof t||!e||e instanceof RegExp?null:e}}function Lr(t,e){if("function"==typeof e)return e(t);const n={};return e.name&&(n.name=function(t,e){if(t instanceof RegExp)return!!e.match(t);return t===e}(e.name,t.name),!n.name)||e.attributes&&(n.attributes=function(t,e){const n=new Set(e.getAttributeKeys());Dt(t)?(void 0!==t.style&&C("matcher-pattern-deprecated-attributes-style-key",t),void 0!==t.class&&C("matcher-pattern-deprecated-attributes-class-key",t)):(n.delete("style"),n.delete("class"));return zr(t,n,(t=>e.getAttribute(t)))}(e.attributes,t),!n.attributes)||e.classes&&(n.classes=function(t,e){return zr(t,e.getClassNames(),(()=>{}))}(e.classes,t),!n.classes)||e.styles&&(n.styles=function(t,e){return zr(t,e.getStyleNames(!0),(t=>e.getStyle(t)))}(e.styles,t),!n.styles)?null:n}function zr(t,e,n){const o=function(t){if(Array.isArray(t))return t.map((t=>Dt(t)?(void 0!==t.key&&void 0!==t.value||C("matcher-pattern-missing-key-or-value",t),[t.key,t.value]):[t,!0]));if(Dt(t))return Object.entries(t);return[[t,!0]]}(t),i=Array.from(e),r=[];if(o.forEach((([t,e])=>{i.forEach((o=>{(function(t,e){return!0===t||t===e||t instanceof RegExp&&e.match(t)})(t,o)&&function(t,e,n){if(!0===t)return!0;const o=n(e);return t===o||t instanceof RegExp&&!!String(o).match(t)}(e,o,n)&&r.push(o)}))})),o.length&&!(r.lengthi?0:i+e),(n=n>i?i:n)<0&&(n+=i),i=e>n?0:n-e>>>0,e>>>=0;for(var r=Array(i);++oe===t));return Array.isArray(e)}set(t,e){if(F(t))for(const[e,n]of Object.entries(t))this._styleProcessor.toNormalizedForm(e,n,this._styles);else this._styleProcessor.toNormalizedForm(t,e,this._styles)}remove(t){const e=gs(t);as(this._styles,e),delete this._styles[t],this._cleanEmptyObjectsOnPath(e)}getNormalized(t){return this._styleProcessor.getNormalized(t,this._styles)}toString(){return this.isEmpty?"":this.getStylesEntries().map((t=>t.join(":"))).sort().join(";")+";"}getAsString(t){if(this.isEmpty)return;if(this._styles[t]&&!F(this._styles[t]))return this._styles[t];const e=this._styleProcessor.getReducedForm(t,this._styles).find((([e])=>e===t));return Array.isArray(e)?e[1]:void 0}getStyleNames(t=!1){if(this.isEmpty)return[];if(t)return this._styleProcessor.getStyleNames(this._styles);return this.getStylesEntries().map((([t])=>t))}clear(){this._styles={}}getStylesEntries(){const t=[],e=Object.keys(this._styles);for(const n of e)t.push(...this._styleProcessor.getReducedForm(n,this._styles));return t}_cleanEmptyObjectsOnPath(t){const e=t.split(".");if(!(e.length>1))return;const n=e.splice(0,e.length-1).join("."),o=cs(this._styles,n);if(!o)return;!Object.keys(o).length&&this.remove(n)}}class hs{constructor(){this._normalizers=new Map,this._extractors=new Map,this._reducers=new Map,this._consumables=new Map}toNormalizedForm(t,e,n){if(F(e))ms(n,gs(t),e);else if(this._normalizers.has(t)){const o=this._normalizers.get(t),{path:i,value:r}=o(e);ms(n,i,r)}else ms(n,t,e)}getNormalized(t,e){if(!t)return qi({},e);if(void 0!==e[t])return e[t];if(this._extractors.has(t)){const n=this._extractors.get(t);if("string"==typeof n)return cs(e,n);const o=n(t,e);if(o)return o}return cs(e,gs(t))}getReducedForm(t,e){const n=this.getNormalized(t,e);if(void 0===n)return[];if(this._reducers.has(t)){return this._reducers.get(t)(n)}return[[t,n]]}getStyleNames(t){const e=Array.from(this._consumables.keys()).filter((e=>{const n=this.getNormalized(e,t);return n&&"object"==typeof n?Object.keys(n).length:n})),n=new Set([...e,...Object.keys(t)]);return Array.from(n)}getRelatedStyles(t){return this._consumables.get(t)||[]}setNormalizer(t,e){this._normalizers.set(t,e)}setExtractor(t,e){this._extractors.set(t,e)}setReducer(t,e){this._reducers.set(t,e)}setStyleRelation(t,e){this._mapStyleNames(t,e);for(const n of e)this._mapStyleNames(n,[t])}_mapStyleNames(t,e){this._consumables.has(t)||this._consumables.set(t,[]),this._consumables.get(t).push(...e)}}function gs(t){return t.replace("-",".")}function ms(t,e,n){let o=n;F(n)&&(o=qi({},cs(t,e),n)),ds(t,e,o)}class ps extends Br{constructor(t,e,n,o){if(super(t),this._unsafeAttributesToRender=[],this._customProperties=new Map,this.name=e,this._attrs=function(t){const e=Xi(t);for(const[t,n]of e)null===n?e.delete(t):"string"!=typeof n&&e.set(t,String(n));return e}(n),this._children=[],o&&this._insertChild(0,o),this._classes=new Set,this._attrs.has("class")){const t=this._attrs.get("class");fs(this._classes,t),this._attrs.delete("class")}this._styles=new us(this.document.stylesProcessor),this._attrs.has("style")&&(this._styles.setTo(this._attrs.get("style")),this._attrs.delete("style"))}get childCount(){return this._children.length}get isEmpty(){return 0===this._children.length}getChild(t){return this._children[t]}getChildIndex(t){return this._children.indexOf(t)}getChildren(){return this._children[Symbol.iterator]()}*getAttributeKeys(){this._classes.size>0&&(yield"class"),this._styles.isEmpty||(yield"style"),yield*this._attrs.keys()}*getAttributes(){yield*this._attrs.entries(),this._classes.size>0&&(yield["class",this.getAttribute("class")]),this._styles.isEmpty||(yield["style",this.getAttribute("style")])}getAttribute(t){if("class"==t)return this._classes.size>0?[...this._classes].join(" "):void 0;if("style"==t){const t=this._styles.toString();return""==t?void 0:t}return this._attrs.get(t)}hasAttribute(t){return"class"==t?this._classes.size>0:"style"==t?!this._styles.isEmpty:this._attrs.has(t)}isSimilar(t){if(!(t instanceof ps))return!1;if(this===t)return!0;if(this.name!=t.name)return!1;if(this._attrs.size!==t._attrs.size||this._classes.size!==t._classes.size||this._styles.size!==t._styles.size)return!1;for(const[e,n]of this._attrs)if(!t._attrs.has(e)||t._attrs.get(e)!==n)return!1;for(const e of this._classes)if(!t._classes.has(e))return!1;for(const e of this._styles.getStyleNames())if(!t._styles.has(e)||t._styles.getAsString(e)!==this._styles.getAsString(e))return!1;return!0}hasClass(...t){for(const e of t)if(!this._classes.has(e))return!1;return!0}getClassNames(){return this._classes.keys()}getStyle(t){return this._styles.getAsString(t)}getNormalizedStyle(t){return this._styles.getNormalized(t)}getStyleNames(t){return this._styles.getStyleNames(t)}hasStyle(...t){for(const e of t)if(!this._styles.has(e))return!1;return!0}findAncestor(...t){const e=new Or(...t);let n=this.parent;for(;n&&!n.is("documentFragment");){if(e.match(n))return n;n=n.parent}return null}getCustomProperty(t){return this._customProperties.get(t)}*getCustomProperties(){yield*this._customProperties.entries()}getIdentity(){const t=Array.from(this._classes).sort().join(","),e=this._styles.toString(),n=Array.from(this._attrs).map((t=>`${t[0]}="${t[1]}"`)).sort().join(" ");return this.name+(""==t?"":` class="${t}"`)+(e?` style="${e}"`:"")+(""==n?"":` ${n}`)}shouldRenderUnsafeAttribute(t){return this._unsafeAttributesToRender.includes(t)}_clone(t=!1){const e=[];if(t)for(const n of this.getChildren())e.push(n._clone(t));const n=new this.constructor(this.document,this.name,this._attrs,e);return n._classes=new Set(this._classes),n._styles.set(this._styles.getNormalized()),n._customProperties=new Map(this._customProperties),n.getFillerOffset=this.getFillerOffset,n._unsafeAttributesToRender=this._unsafeAttributesToRender,n}_appendChild(t){return this._insertChild(this.childCount,t)}_insertChild(t,e){this._fireChange("children",this);let n=0;const o=function(t,e){if("string"==typeof e)return[new Nr(t,e)];nt(e)||(e=[e]);return Array.from(e).map((e=>"string"==typeof e?new Nr(t,e):e instanceof Pr?new Nr(t,e.data):e))}(this.document,e);for(const e of o)null!==e.parent&&e._remove(),e.parent=this,e.document=this.document,this._children.splice(t,0,e),t++,n++;return n}_removeChildren(t,e=1){this._fireChange("children",this);for(let n=t;n0&&(this._classes.clear(),!0):"style"==t?!this._styles.isEmpty&&(this._styles.clear(),!0):this._attrs.delete(t)}_addClass(t){this._fireChange("attributes",this);for(const e of yi(t))this._classes.add(e)}_removeClass(t){this._fireChange("attributes",this);for(const e of yi(t))this._classes.delete(e)}_setStyle(t,e){this._fireChange("attributes",this),"string"!=typeof t?this._styles.set(t):this._styles.set(t,e)}_removeStyle(t){this._fireChange("attributes",this);for(const e of yi(t))this._styles.remove(e)}_setCustomProperty(t,e){this._customProperties.set(t,e)}_removeCustomProperty(t){return this._customProperties.delete(t)}}function fs(t,e){const n=e.split(/\s+/);t.clear(),n.forEach((e=>t.add(e)))}ps.prototype.is=function(t,e){return e?e===this.name&&("element"===t||"view:element"===t):"element"===t||"view:element"===t||"node"===t||"view:node"===t};class ks extends ps{constructor(t,e,n,o){super(t,e,n,o),this.getFillerOffset=bs}}function bs(){const t=[...this.getChildren()],e=t[this.childCount-1];if(e&&e.is("element","br"))return this.childCount;for(const e of t)if(!e.is("uiElement"))return null;return this.childCount}ks.prototype.is=function(t,e){return e?e===this.name&&("containerElement"===t||"view:containerElement"===t||"element"===t||"view:element"===t):"containerElement"===t||"view:containerElement"===t||"element"===t||"view:element"===t||"node"===t||"view:node"===t};class ws extends(K(ks)){constructor(t,e,n,o){super(t,e,n,o),this.set("isReadOnly",!1),this.set("isFocused",!1),this.set("placeholder",void 0),this.bind("isReadOnly").to(t),this.bind("isFocused").to(t,"isFocused",(e=>e&&t.selection.editableElement==this)),this.listenTo(t.selection,"change",(()=>{this.isFocused=t.isFocused&&t.selection.editableElement==this}))}destroy(){this.stopListening()}}ws.prototype.is=function(t,e){return e?e===this.name&&("editableElement"===t||"view:editableElement"===t||"containerElement"===t||"view:containerElement"===t||"element"===t||"view:element"===t):"editableElement"===t||"view:editableElement"===t||"containerElement"===t||"view:containerElement"===t||"element"===t||"view:element"===t||"node"===t||"view:node"===t};const As=Symbol("rootName");class _s extends ws{constructor(t,e){super(t,e),this.rootName="main"}get rootName(){return this.getCustomProperty(As)}set rootName(t){this._setCustomProperty(As,t)}set _name(t){this.name=t}}_s.prototype.is=function(t,e){return e?e===this.name&&("rootElement"===t||"view:rootElement"===t||"editableElement"===t||"view:editableElement"===t||"containerElement"===t||"view:containerElement"===t||"element"===t||"view:element"===t):"rootElement"===t||"view:rootElement"===t||"editableElement"===t||"view:editableElement"===t||"containerElement"===t||"view:containerElement"===t||"element"===t||"view:element"===t||"node"===t||"view:node"===t};class Cs{constructor(t={}){if(!t.boundaries&&!t.startPosition)throw new _("view-tree-walker-no-start-position",null);if(t.direction&&"forward"!=t.direction&&"backward"!=t.direction)throw new _("view-tree-walker-unknown-direction",t.startPosition,{direction:t.direction});this.boundaries=t.boundaries||null,t.startPosition?this._position=vs._createAt(t.startPosition):this._position=vs._createAt(t.boundaries["backward"==t.direction?"end":"start"]),this.direction=t.direction||"forward",this.singleCharacters=!!t.singleCharacters,this.shallow=!!t.shallow,this.ignoreElementEnd=!!t.ignoreElementEnd,this._boundaryStartParent=this.boundaries?this.boundaries.start.parent:null,this._boundaryEndParent=this.boundaries?this.boundaries.end.parent:null}[Symbol.iterator](){return this}get position(){return this._position}skip(t){let e,n;do{n=this.position,e=this.next()}while(!e.done&&t(e.value));e.done||(this._position=n)}next(){return"forward"==this.direction?this._next():this._previous()}_next(){let t=this.position.clone();const e=this.position,n=t.parent;if(null===n.parent&&t.offset===n.childCount)return{done:!0,value:void 0};if(n===this._boundaryEndParent&&t.offset==this.boundaries.end.offset)return{done:!0,value:void 0};let o;if(n instanceof Nr){if(t.isAtEnd)return this._position=vs._createAfter(n),this._next();o=n.data[t.offset]}else o=n.getChild(t.offset);if(o instanceof ps){if(this.shallow){if(this.boundaries&&this.boundaries.end.isBefore(t))return{done:!0,value:void 0};t.offset++}else t=new vs(o,0);return this._position=t,this._formatReturnValue("elementStart",o,e,t,1)}if(o instanceof Nr){if(this.singleCharacters)return t=new vs(o,0),this._position=t,this._next();let n,i=o.data.length;return o==this._boundaryEndParent?(i=this.boundaries.end.offset,n=new Pr(o,0,i),t=vs._createAfter(n)):(n=new Pr(o,0,o.data.length),t.offset++),this._position=t,this._formatReturnValue("text",n,e,t,i)}if("string"==typeof o){let o;if(this.singleCharacters)o=1;else{o=(n===this._boundaryEndParent?this.boundaries.end.offset:n.data.length)-t.offset}const i=new Pr(n,t.offset,o);return t.offset+=o,this._position=t,this._formatReturnValue("text",i,e,t,o)}return t=vs._createAfter(n),this._position=t,this.ignoreElementEnd?this._next():this._formatReturnValue("elementEnd",n,e,t)}_previous(){let t=this.position.clone();const e=this.position,n=t.parent;if(null===n.parent&&0===t.offset)return{done:!0,value:void 0};if(n==this._boundaryStartParent&&t.offset==this.boundaries.start.offset)return{done:!0,value:void 0};let o;if(n instanceof Nr){if(t.isAtStart)return this._position=vs._createBefore(n),this._previous();o=n.data[t.offset-1]}else o=n.getChild(t.offset-1);if(o instanceof ps)return this.shallow?(t.offset--,this._position=t,this._formatReturnValue("elementStart",o,e,t,1)):(t=new vs(o,o.childCount),this._position=t,this.ignoreElementEnd?this._previous():this._formatReturnValue("elementEnd",o,e,t));if(o instanceof Nr){if(this.singleCharacters)return t=new vs(o,o.data.length),this._position=t,this._previous();let n,i=o.data.length;if(o==this._boundaryStartParent){const e=this.boundaries.start.offset;n=new Pr(o,e,o.data.length-e),i=n.data.length,t=vs._createBefore(n)}else n=new Pr(o,0,o.data.length),t.offset--;return this._position=t,this._formatReturnValue("text",n,e,t,i)}if("string"==typeof o){let o;if(this.singleCharacters)o=1;else{const e=n===this._boundaryStartParent?this.boundaries.start.offset:0;o=t.offset-e}t.offset-=o;const i=new Pr(n,t.offset,o);return this._position=t,this._formatReturnValue("text",i,e,t,o)}return t=vs._createBefore(n),this._position=t,this._formatReturnValue("elementStart",n,e,t,1)}_formatReturnValue(t,e,n,o,i){return e instanceof Pr&&(e.offsetInText+e.data.length==e.textNode.data.length&&("forward"!=this.direction||this.boundaries&&this.boundaries.end.isEqual(this.position)?n=vs._createAfter(e.textNode):(o=vs._createAfter(e.textNode),this._position=o)),0===e.offsetInText&&("backward"!=this.direction||this.boundaries&&this.boundaries.start.isEqual(this.position)?n=vs._createBefore(e.textNode):(o=vs._createBefore(e.textNode),this._position=o))),{done:!1,value:{type:t,item:e,previousPosition:n,nextPosition:o,length:i}}}}class vs extends Tr{constructor(t,e){super(),this.parent=t,this.offset=e}get nodeAfter(){return this.parent.is("$text")?null:this.parent.getChild(this.offset)||null}get nodeBefore(){return this.parent.is("$text")?null:this.parent.getChild(this.offset-1)||null}get isAtStart(){return 0===this.offset}get isAtEnd(){const t=this.parent.is("$text")?this.parent.data.length:this.parent.childCount;return this.offset===t}get root(){return this.parent.root}get editableElement(){let t=this.parent;for(;!(t instanceof ws);){if(!t.parent)return null;t=t.parent}return t}getShiftedBy(t){const e=vs._createAt(this),n=e.offset+t;return e.offset=n<0?0:n,e}getLastMatchingPosition(t,e={}){e.startPosition=this;const n=new Cs(e);return n.skip(t),n.position}getAncestors(){return this.parent.is("documentFragment")?[this.parent]:this.parent.getAncestors({includeSelf:!0})}getCommonAncestor(t){const e=this.getAncestors(),n=t.getAncestors();let o=0;for(;e[o]==n[o]&&e[o];)o++;return 0===o?null:e[o-1]}isEqual(t){return this.parent==t.parent&&this.offset==t.offset}isBefore(t){return"before"==this.compareWith(t)}isAfter(t){return"after"==this.compareWith(t)}compareWith(t){if(this.root!==t.root)return"different";if(this.isEqual(t))return"same";const e=this.parent.is("node")?this.parent.getPath():[],n=t.parent.is("node")?t.parent.getPath():[];e.push(this.offset),n.push(t.offset);const o=et(e,n);switch(o){case"prefix":return"before";case"extension":return"after";default:return e[o]0?new this(n,o):new this(o,n)}static _createIn(t){return this._createFromParentsAndOffsets(t,0,t,t.childCount)}static _createOn(t){const e=t.is("$textProxy")?t.offsetSize:1;return this._createFromPositionAndShift(vs._createBefore(t),e)}}function xs(t){return!(!t.item.is("attributeElement")&&!t.item.is("uiElement"))}ys.prototype.is=function(t){return"range"===t||"view:range"===t};class Es extends(B(Tr)){constructor(...t){super(),this._ranges=[],this._lastRangeBackward=!1,this._isFake=!1,this._fakeSelectionLabel="",t.length&&this.setTo(...t)}get isFake(){return this._isFake}get fakeSelectionLabel(){return this._fakeSelectionLabel}get anchor(){if(!this._ranges.length)return null;const t=this._ranges[this._ranges.length-1];return(this._lastRangeBackward?t.end:t.start).clone()}get focus(){if(!this._ranges.length)return null;const t=this._ranges[this._ranges.length-1];return(this._lastRangeBackward?t.start:t.end).clone()}get isCollapsed(){return 1===this.rangeCount&&this._ranges[0].isCollapsed}get rangeCount(){return this._ranges.length}get isBackward(){return!this.isCollapsed&&this._lastRangeBackward}get editableElement(){return this.anchor?this.anchor.editableElement:null}*getRanges(){for(const t of this._ranges)yield t.clone()}getFirstRange(){let t=null;for(const e of this._ranges)t&&!e.start.isBefore(t.start)||(t=e);return t?t.clone():null}getLastRange(){let t=null;for(const e of this._ranges)t&&!e.end.isAfter(t.end)||(t=e);return t?t.clone():null}getFirstPosition(){const t=this.getFirstRange();return t?t.start.clone():null}getLastPosition(){const t=this.getLastRange();return t?t.end.clone():null}isEqual(t){if(this.isFake!=t.isFake)return!1;if(this.isFake&&this.fakeSelectionLabel!=t.fakeSelectionLabel)return!1;if(this.rangeCount!=t.rangeCount)return!1;if(0===this.rangeCount)return!0;if(!this.anchor.isEqual(t.anchor)||!this.focus.isEqual(t.focus))return!1;for(const e of this._ranges){let n=!1;for(const o of t._ranges)if(e.isEqual(o)){n=!0;break}if(!n)return!1}return!0}isSimilar(t){if(this.isBackward!=t.isBackward)return!1;const e=tt(this.getRanges());if(e!=tt(t.getRanges()))return!1;if(0==e)return!0;for(let e of this.getRanges()){e=e.getTrimmed();let n=!1;for(let o of t.getRanges())if(o=o.getTrimmed(),e.start.isEqual(o.start)&&e.end.isEqual(o.end)){n=!0;break}if(!n)return!1}return!0}getSelectedElement(){return 1!==this.rangeCount?null:this.getFirstRange().getContainedElement()}setTo(...t){let[e,n,o]=t;if("object"==typeof n&&(o=n,n=void 0),null===e)this._setRanges([]),this._setFakeOptions(o);else if(e instanceof Es||e instanceof Ds)this._setRanges(e.getRanges(),e.isBackward),this._setFakeOptions({fake:e.isFake,label:e.fakeSelectionLabel});else if(e instanceof ys)this._setRanges([e],o&&o.backward),this._setFakeOptions(o);else if(e instanceof vs)this._setRanges([new ys(e)]),this._setFakeOptions(o);else if(e instanceof Br){const t=!!o&&!!o.backward;let i;if(void 0===n)throw new _("view-selection-setto-required-second-parameter",this);i="in"==n?ys._createIn(e):"on"==n?ys._createOn(e):new ys(vs._createAt(e,n)),this._setRanges([i],t),this._setFakeOptions(o)}else{if(!nt(e))throw new _("view-selection-setto-not-selectable",this);this._setRanges(e,o&&o.backward),this._setFakeOptions(o)}this.fire("change")}setFocus(t,e){if(null===this.anchor)throw new _("view-selection-setfocus-no-ranges",this);const n=vs._createAt(t,e);if("same"==n.compareWith(this.focus))return;const o=this.anchor;this._ranges.pop(),"before"==n.compareWith(o)?this._addRange(new ys(n,o),!0):this._addRange(new ys(o,n)),this.fire("change")}_setRanges(t,e=!1){t=Array.from(t),this._ranges=[];for(const e of t)this._addRange(e);this._lastRangeBackward=!!e}_setFakeOptions(t={}){this._isFake=!!t.fake,this._fakeSelectionLabel=t.fake&&t.label||""}_addRange(t,e=!1){if(!(t instanceof ys))throw new _("view-selection-add-range-not-range",this);this._pushRange(t),this._lastRangeBackward=!!e}_pushRange(t){for(const e of this._ranges)if(t.isIntersecting(e))throw new _("view-selection-range-intersects",this,{addedRange:t,intersectingRange:e});this._ranges.push(new ys(t.start,t.end))}}Es.prototype.is=function(t){return"selection"===t||"view:selection"===t};class Ds extends(B(Tr)){constructor(...t){super(),this._selection=new Es,this._selection.delegate("change").to(this),t.length&&this._selection.setTo(...t)}get isFake(){return this._selection.isFake}get fakeSelectionLabel(){return this._selection.fakeSelectionLabel}get anchor(){return this._selection.anchor}get focus(){return this._selection.focus}get isCollapsed(){return this._selection.isCollapsed}get rangeCount(){return this._selection.rangeCount}get isBackward(){return this._selection.isBackward}get editableElement(){return this._selection.editableElement}get _ranges(){return this._selection._ranges}*getRanges(){yield*this._selection.getRanges()}getFirstRange(){return this._selection.getFirstRange()}getLastRange(){return this._selection.getLastRange()}getFirstPosition(){return this._selection.getFirstPosition()}getLastPosition(){return this._selection.getLastPosition()}getSelectedElement(){return this._selection.getSelectedElement()}isEqual(t){return this._selection.isEqual(t)}isSimilar(t){return this._selection.isSimilar(t)}_setTo(...t){this._selection.setTo(...t)}_setFocus(t,e){this._selection.setFocus(t,e)}}Ds.prototype.is=function(t){return"selection"===t||"documentSelection"==t||"view:selection"==t||"view:documentSelection"==t};class Is extends p{constructor(t,e,n){super(t,e),this.startRange=n,this._eventPhase="none",this._currentTarget=null}get eventPhase(){return this._eventPhase}get currentTarget(){return this._currentTarget}}const Ms=Symbol("bubbling contexts");function Ts(t){return class extends t{fire(t,...e){try{const n=t instanceof p?t:new p(this,t),o=Ps(this);if(!o.size)return;if(Ss(n,"capturing",this),Bs(o,"$capture",n,...e))return n.return;const i=n.startRange||this.selection.getFirstRange(),r=i?i.getContainedElement():null,s=!!r&&Boolean(Ns(o,r));let a=r||function(t){if(!t)return null;const e=t.start.parent,n=t.end.parent,o=e.getPath(),i=n.getPath();return o.length>i.length?e:n}(i);if(Ss(n,"atTarget",a),!s){if(Bs(o,"$text",n,...e))return n.return;Ss(n,"bubbling",a)}for(;a;){if(a.is("rootElement")){if(Bs(o,"$root",n,...e))return n.return}else if(a.is("element")&&Bs(o,a.name,n,...e))return n.return;if(Bs(o,a,n,...e))return n.return;a=a.parent,Ss(n,"bubbling",a)}return Ss(n,"bubbling",this),Bs(o,"$document",n,...e),n.return}catch(t){_.rethrowUnexpectedError(t,this)}}_addEventListener(t,e,n){const o=yi(n.context||"$document"),i=Ps(this);for(const r of o){let o=i.get(r);o||(o=new(B()),i.set(r,o)),this.listenTo(o,t,e,n)}}_removeEventListener(t,e){const n=Ps(this);for(const o of n.values())this.stopListening(o,t,e)}}}{const t=Ts(Object);["fire","_addEventListener","_removeEventListener"].forEach((e=>{Ts[e]=t.prototype[e]}))}function Ss(t,e,n){t instanceof Is&&(t._eventPhase=e,t._currentTarget=n)}function Bs(t,e,n,...o){const i="string"==typeof e?t.get(e):Ns(t,e);return!!i&&(i.fire(n,...o),n.stop.called)}function Ns(t,e){for(const[n,o]of t)if("function"==typeof n&&n(e))return o;return null}function Ps(t){return t[Ms]||(t[Ms]=new Map),t[Ms]}class Os extends(Ts(K())){constructor(t){super(),this._postFixers=new Set,this.selection=new Ds,this.roots=new Yi({idProperty:"rootName"}),this.stylesProcessor=t,this.set("isReadOnly",!1),this.set("isFocused",!1),this.set("isSelecting",!1),this.set("isComposing",!1)}getRoot(t="main"){return this.roots.get(t)}registerPostFixer(t){this._postFixers.add(t)}destroy(){this.roots.forEach((t=>t.destroy())),this.stopListening()}_callPostFixers(t){let e=!1;do{for(const n of this._postFixers)if(e=n(t),e)break}while(e)}}class Ls extends ps{constructor(t,e,n,o){super(t,e,n,o),this._priority=10,this._id=null,this._clonesGroup=null,this.getFillerOffset=zs}get priority(){return this._priority}get id(){return this._id}getElementsWithSameId(){if(null===this.id)throw new _("attribute-element-get-elements-with-same-id-no-id",this);return new Set(this._clonesGroup)}isSimilar(t){return null!==this.id||null!==t.id?this.id===t.id:super.isSimilar(t)&&this.priority==t.priority}_clone(t=!1){const e=super._clone(t);return e._priority=this._priority,e._id=this._id,e}}function zs(){if(Rs(this))return null;let t=this.parent;for(;t&&t.is("attributeElement");){if(Rs(t)>1)return null;t=t.parent}return!t||Rs(t)>1?null:this.childCount}function Rs(t){return Array.from(t.getChildren()).filter((t=>!t.is("uiElement"))).length}Ls.DEFAULT_PRIORITY=10,Ls.prototype.is=function(t,e){return e?e===this.name&&("attributeElement"===t||"view:attributeElement"===t||"element"===t||"view:element"===t):"attributeElement"===t||"view:attributeElement"===t||"element"===t||"view:element"===t||"node"===t||"view:node"===t};class js extends ps{constructor(t,e,n,o){super(t,e,n,o),this.getFillerOffset=Fs}_insertChild(t,e){if(e&&(e instanceof Br||Array.from(e).length>0))throw new _("view-emptyelement-cannot-add",[this,e]);return 0}}function Fs(){return null}js.prototype.is=function(t,e){return e?e===this.name&&("emptyElement"===t||"view:emptyElement"===t||"element"===t||"view:element"===t):"emptyElement"===t||"view:emptyElement"===t||"element"===t||"view:element"===t||"node"===t||"view:node"===t};class Vs extends ps{constructor(t,e,n,o){super(t,e,n,o),this.getFillerOffset=Us}_insertChild(t,e){if(e&&(e instanceof Br||Array.from(e).length>0))throw new _("view-uielement-cannot-add",[this,e]);return 0}render(t,e){return this.toDomElement(t)}toDomElement(t){const e=t.createElement(this.name);for(const t of this.getAttributeKeys())e.setAttribute(t,this.getAttribute(t));return e}}function Hs(t){t.document.on("arrowKey",((e,n)=>function(t,e,n){if(e.keyCode==bi.arrowright){const t=e.domTarget.ownerDocument.defaultView.getSelection(),o=1==t.rangeCount&&t.getRangeAt(0).collapsed;if(o||e.shiftKey){const e=t.focusNode,i=t.focusOffset,r=n.domPositionToView(e,i);if(null===r)return;let s=!1;const a=r.getLastMatchingPosition((t=>(t.item.is("uiElement")&&(s=!0),!(!t.item.is("uiElement")&&!t.item.is("attributeElement")))));if(s){const e=n.viewPositionToDom(a);o?t.collapse(e.parent,e.offset):t.extend(e.parent,e.offset)}}}}(0,n,t.domConverter)),{priority:"low"})}function Us(){return null}Vs.prototype.is=function(t,e){return e?e===this.name&&("uiElement"===t||"view:uiElement"===t||"element"===t||"view:element"===t):"uiElement"===t||"view:uiElement"===t||"element"===t||"view:element"===t||"node"===t||"view:node"===t};class qs extends ps{constructor(t,e,n,o){super(t,e,n,o),this.getFillerOffset=Gs}_insertChild(t,e){if(e&&(e instanceof Br||Array.from(e).length>0))throw new _("view-rawelement-cannot-add",[this,e]);return 0}render(t,e){}}function Gs(){return null}qs.prototype.is=function(t,e){return e?e===this.name&&("rawElement"===t||"view:rawElement"===t||"element"===t||"view:element"===t):"rawElement"===t||"view:rawElement"===t||t===this.name||t==="view:"+this.name||"element"===t||"view:element"===t||"node"===t||"view:node"===t};class Ws extends(B(Tr)){constructor(t,e){super(),this._children=[],this._customProperties=new Map,this.document=t,e&&this._insertChild(0,e)}[Symbol.iterator](){return this._children[Symbol.iterator]()}get childCount(){return this._children.length}get isEmpty(){return 0===this.childCount}get root(){return this}get parent(){return null}get name(){}get getFillerOffset(){}getCustomProperty(t){return this._customProperties.get(t)}*getCustomProperties(){yield*this._customProperties.entries()}_appendChild(t){return this._insertChild(this.childCount,t)}getChild(t){return this._children[t]}getChildIndex(t){return this._children.indexOf(t)}getChildren(){return this._children[Symbol.iterator]()}_insertChild(t,e){this._fireChange("children",this);let n=0;const o=function(t,e){if("string"==typeof e)return[new Nr(t,e)];nt(e)||(e=[e]);return Array.from(e).map((e=>"string"==typeof e?new Nr(t,e):e instanceof Pr?new Nr(t,e.data):e))}(this.document,e);for(const e of o)null!==e.parent&&e._remove(),e.parent=this,this._children.splice(t,0,e),t++,n++;return n}_removeChildren(t,e=1){this._fireChange("children",this);for(let n=t;n{const n=t[t.length-1],o=!e.is("uiElement");return n&&n.breakAttributes==o?n.nodes.push(e):t.push({breakAttributes:o,nodes:[e]}),t}),[]);let o=null,i=t;for(const{nodes:t,breakAttributes:e}of n){const n=this._insertNodes(i,t,e);o||(o=n.start),i=n.end}return o?new ys(o,i):new ys(t)}remove(t){const e=t instanceof ys?t:ys._createOn(t);if(na(e,this.document),e.isCollapsed)return new Ws(this.document);const{start:n,end:o}=this._breakAttributesRange(e,!0),i=n.parent,r=o.offset-n.offset,s=i._removeChildren(n.offset,r);for(const t of s)this._removeFromClonedElementsGroup(t);const a=this.mergeAttributes(n);return e.start=a,e.end=a.clone(),new Ws(this.document,s)}clear(t,e){na(t,this.document);const n=t.getWalker({direction:"backward",ignoreElementEnd:!0});for(const o of n){const n=o.item;let i;if(n.is("element")&&e.isSimilar(n))i=ys._createOn(n);else if(!o.nextPosition.isAfter(t.start)&&n.is("$textProxy")){const t=n.getAncestors().find((t=>t.is("element")&&e.isSimilar(t)));t&&(i=ys._createIn(t))}i&&(i.end.isAfter(t.end)&&(i.end=t.end),i.start.isBefore(t.start)&&(i.start=t.start),this.remove(i))}}move(t,e){let n;if(e.isAfter(t.end)){const o=(e=this._breakAttributes(e,!0)).parent,i=o.childCount;t=this._breakAttributesRange(t,!0),n=this.remove(t),e.offset+=o.childCount-i}else n=this.remove(t);return this.insert(e,n)}wrap(t,e){if(!(e instanceof Ls))throw new _("view-writer-wrap-invalid-attribute",this.document);if(na(t,this.document),t.isCollapsed){let o=t.start;o.parent.is("element")&&(n=o.parent,!Array.from(n.getChildren()).some((t=>!t.is("uiElement"))))&&(o=o.getLastMatchingPosition((t=>t.item.is("uiElement")))),o=this._wrapPosition(o,e);const i=this.document.selection;return i.isCollapsed&&i.getFirstPosition().isEqual(t.start)&&this.setSelection(o),new ys(o)}return this._wrapRange(t,e);var n}unwrap(t,e){if(!(e instanceof Ls))throw new _("view-writer-unwrap-invalid-attribute",this.document);if(na(t,this.document),t.isCollapsed)return t;const{start:n,end:o}=this._breakAttributesRange(t,!0),i=n.parent,r=this._unwrapChildren(i,n.offset,o.offset,e),s=this.mergeAttributes(r.start);s.isEqual(r.start)||r.end.offset--;const a=this.mergeAttributes(r.end);return new ys(s,a)}rename(t,e){const n=new ks(this.document,t,e.getAttributes());return this.insert(vs._createAfter(e),n),this.move(ys._createIn(e),vs._createAt(n,0)),this.remove(ys._createOn(e)),n}clearClonedElementsGroup(t){this._cloneGroups.delete(t)}createPositionAt(t,e){return vs._createAt(t,e)}createPositionAfter(t){return vs._createAfter(t)}createPositionBefore(t){return vs._createBefore(t)}createRange(t,e){return new ys(t,e)}createRangeOn(t){return ys._createOn(t)}createRangeIn(t){return ys._createIn(t)}createSelection(...t){return new Es(...t)}createSlot(t="children"){if(!this._slotFactory)throw new _("view-writer-invalid-create-slot-context",this.document);return this._slotFactory(this,t)}_registerSlotFactory(t){this._slotFactory=t}_clearSlotFactory(){this._slotFactory=null}_insertNodes(t,e,n){let o,i;if(o=n?$s(t):t.parent.is("$text")?t.parent.parent:t.parent,!o)throw new _("view-writer-invalid-position-container",this.document);i=n?this._breakAttributes(t,!0):t.parent.is("$text")?Zs(t):t;const r=o._insertChild(i.offset,e);for(const t of e)this._addToClonedElementsGroup(t);const s=i.getShiftedBy(r),a=this.mergeAttributes(i);a.isEqual(i)||s.offset--;const c=this.mergeAttributes(s);return new ys(a,c)}_wrapChildren(t,e,n,o){let i=e;const r=[];for(;i!1,t.parent._insertChild(t.offset,n);const o=new ys(t,t.getShiftedBy(1));this.wrap(o,e);const i=new vs(n.parent,n.index);n._remove();const r=i.nodeBefore,s=i.nodeAfter;return r instanceof Nr&&s instanceof Nr?Js(r,s):Qs(i)}_wrapAttributeElement(t,e){if(!oa(t,e))return!1;if(t.name!==e.name||t.priority!==e.priority)return!1;for(const n of t.getAttributeKeys())if("class"!==n&&"style"!==n&&e.hasAttribute(n)&&e.getAttribute(n)!==t.getAttribute(n))return!1;for(const n of t.getStyleNames())if(e.hasStyle(n)&&e.getStyle(n)!==t.getStyle(n))return!1;for(const n of t.getAttributeKeys())"class"!==n&&"style"!==n&&(e.hasAttribute(n)||this.setAttribute(n,t.getAttribute(n),e));for(const n of t.getStyleNames())e.hasStyle(n)||this.setStyle(n,t.getStyle(n),e);for(const n of t.getClassNames())e.hasClass(n)||this.addClass(n,e);return!0}_unwrapAttributeElement(t,e){if(!oa(t,e))return!1;if(t.name!==e.name||t.priority!==e.priority)return!1;for(const n of t.getAttributeKeys())if("class"!==n&&"style"!==n&&(!e.hasAttribute(n)||e.getAttribute(n)!==t.getAttribute(n)))return!1;if(!e.hasClass(...t.getClassNames()))return!1;for(const n of t.getStyleNames())if(!e.hasStyle(n)||e.getStyle(n)!==t.getStyle(n))return!1;for(const n of t.getAttributeKeys())"class"!==n&&"style"!==n&&this.removeAttribute(n,e);return this.removeClass(Array.from(t.getClassNames()),e),this.removeStyle(Array.from(t.getStyleNames()),e),!0}_breakAttributesRange(t,e=!1){const n=t.start,o=t.end;if(na(t,this.document),t.isCollapsed){const n=this._breakAttributes(t.start,e);return new ys(n,n)}const i=this._breakAttributes(o,e),r=i.parent.childCount,s=this._breakAttributes(n,e);return i.offset+=i.parent.childCount-r,new ys(s,i)}_breakAttributes(t,e=!1){const n=t.offset,o=t.parent;if(t.parent.is("emptyElement"))throw new _("view-writer-cannot-break-empty-element",this.document);if(t.parent.is("uiElement"))throw new _("view-writer-cannot-break-ui-element",this.document);if(t.parent.is("rawElement"))throw new _("view-writer-cannot-break-raw-element",this.document);if(!e&&o.is("$text")&&ea(o.parent))return t.clone();if(ea(o))return t.clone();if(o.is("$text"))return this._breakAttributes(Zs(t),e);if(n==o.childCount){const t=new vs(o.parent,o.index+1);return this._breakAttributes(t,e)}if(0===n){const t=new vs(o.parent,o.index);return this._breakAttributes(t,e)}{const t=o.index+1,i=o._clone();o.parent._insertChild(t,i),this._addToClonedElementsGroup(i);const r=o.childCount-n,s=o._removeChildren(n,r);i._appendChild(s);const a=new vs(o.parent,t);return this._breakAttributes(a,e)}}_addToClonedElementsGroup(t){if(!t.root.is("rootElement"))return;if(t.is("element"))for(const e of t.getChildren())this._addToClonedElementsGroup(e);const e=t.id;if(!e)return;let n=this._cloneGroups.get(e);n||(n=new Set,this._cloneGroups.set(e,n)),n.add(t),t._clonesGroup=n}_removeFromClonedElementsGroup(t){if(t.is("element"))for(const e of t.getChildren())this._removeFromClonedElementsGroup(e);const e=t.id;if(!e)return;const n=this._cloneGroups.get(e);n&&n.delete(t)}}function $s(t){let e=t.parent;for(;!ea(e);){if(!e)return;e=e.parent}return e}function Ys(t,e){return t.prioritye.priority)&&t.getIdentity()n instanceof t)))throw new _("view-writer-insert-invalid-node-type",e);n.is("$text")||ta(n.getChildren(),e)}}function ea(t){return t&&(t.is("containerElement")||t.is("documentFragment"))}function na(t,e){const n=$s(t.start),o=$s(t.end);if(!n||!o||n!==o)throw new _("view-writer-invalid-range-container",e)}function oa(t,e){return null===t.id&&null===e.id}const ia=t=>t.createTextNode(" "),ra=t=>{const e=t.createElement("span");return e.dataset.ckeFiller="true",e.innerText=" ",e},sa=t=>{const e=t.createElement("br");return e.dataset.ckeFiller="true",e},aa=7,ca="⁠".repeat(aa);function la(t){return"string"==typeof t?t.substr(0,aa)===ca:Ro(t)&&t.data.substr(0,aa)===ca}function da(t){return t.data.length==aa&&la(t)}function ua(t){const e="string"==typeof t?t:t.data;return la(t)?e.slice(aa):e}function ha(t,e){if(e.keyCode==bi.arrowleft){const t=e.domTarget.ownerDocument.defaultView.getSelection();if(1==t.rangeCount&&t.getRangeAt(0).collapsed){const e=t.getRangeAt(0).startContainer,n=t.getRangeAt(0).startOffset;la(e)&&n<=aa&&t.collapse(e,0)}}}var ga=n(8264),ma={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};br()(ga.A,ma);ga.A.locals;class pa extends(K()){constructor(t,e){super(),this.domDocuments=new Set,this.markedAttributes=new Set,this.markedChildren=new Set,this.markedTexts=new Set,this._inlineFiller=null,this._fakeSelectionContainer=null,this.domConverter=t,this.selection=e,this.set("isFocused",!1),this.set("isSelecting",!1),c.isBlink&&!c.isAndroid&&this.on("change:isSelecting",(()=>{this.isSelecting||this.render()})),this.set("isComposing",!1),this.on("change:isComposing",(()=>{this.isComposing||this.render()}))}markToSync(t,e){if("text"===t)this.domConverter.mapViewToDom(e.parent)&&this.markedTexts.add(e);else{if(!this.domConverter.mapViewToDom(e))return;if("attributes"===t)this.markedAttributes.add(e);else{if("children"!==t){throw new _("view-renderer-unknown-type",this)}this.markedChildren.add(e)}}}render(){if(this.isComposing&&!c.isAndroid)return;let t=null;const e=!(c.isBlink&&!c.isAndroid)||!this.isSelecting;for(const t of this.markedChildren)this._updateChildrenMappings(t);e?(this._inlineFiller&&!this._isSelectionInInlineFiller()&&this._removeInlineFiller(),this._inlineFiller?t=this._getInlineFillerPosition():this._needsInlineFillerAtSelection()&&(t=this.selection.getFirstPosition(),this.markedChildren.add(t.parent))):this._inlineFiller&&this._inlineFiller.parentNode&&(t=this.domConverter.domPositionToView(this._inlineFiller),t&&t.parent.is("$text")&&(t=vs._createBefore(t.parent)));for(const t of this.markedAttributes)this._updateAttrs(t);for(const e of this.markedChildren)this._updateChildren(e,{inlineFillerPosition:t});for(const e of this.markedTexts)!this.markedChildren.has(e.parent)&&this.domConverter.mapViewToDom(e.parent)&&this._updateText(e,{inlineFillerPosition:t});if(e)if(t){const e=this.domConverter.viewPositionToDom(t),n=e.parent.ownerDocument;la(e.parent)?this._inlineFiller=e.parent:this._inlineFiller=fa(n,e.parent,e.offset)}else this._inlineFiller=null;this._updateFocus(),this._updateSelection(),this.domConverter._clearTemporaryCustomProperties(),this.markedTexts.clear(),this.markedAttributes.clear(),this.markedChildren.clear()}_updateChildrenMappings(t){const e=this.domConverter.mapViewToDom(t);if(!e)return;const n=Array.from(e.childNodes),o=Array.from(this.domConverter.viewChildrenToDom(t,{withChildren:!1})),i=this._diffNodeLists(n,o),r=this._findUpdateActions(i,n,o,ka);if(-1!==r.indexOf("update")){const e={equal:0,insert:0,delete:0};for(const i of r)if("update"===i){const i=e.equal+e.insert,r=e.equal+e.delete,s=t.getChild(i);!s||s.is("uiElement")||s.is("rawElement")||this._updateElementMappings(s,n[r]),ri(o[i]),e.equal++}else e[i]++}}_updateElementMappings(t,e){this.domConverter.unbindDomElement(e),this.domConverter.bindElements(e,t),this.markedChildren.add(t),this.markedAttributes.add(t)}_getInlineFillerPosition(){const t=this.selection.getFirstPosition();return t.parent.is("$text")?vs._createBefore(t.parent):t}_isSelectionInInlineFiller(){if(1!=this.selection.rangeCount||!this.selection.isCollapsed)return!1;const t=this.selection.getFirstPosition(),e=this.domConverter.viewPositionToDom(t);return!!(e&&Ro(e.parent)&&la(e.parent))}_removeInlineFiller(){const t=this._inlineFiller;if(!la(t))throw new _("view-renderer-filler-was-lost",this);da(t)?t.remove():t.data=t.data.substr(aa),this._inlineFiller=null}_needsInlineFillerAtSelection(){if(1!=this.selection.rangeCount||!this.selection.isCollapsed)return!1;const t=this.selection.getFirstPosition(),e=t.parent,n=t.offset;if(!this.domConverter.mapViewToDom(e.root))return!1;if(!e.is("element"))return!1;if(!function(t){if("false"==t.getAttribute("contenteditable"))return!1;const e=t.findAncestor((t=>t.hasAttribute("contenteditable")));return!e||"true"==e.getAttribute("contenteditable")}(e))return!1;if(n===e.getFillerOffset())return!1;const o=t.nodeBefore,i=t.nodeAfter;return!(o instanceof Nr||i instanceof Nr)&&(!c.isAndroid||!o&&!i)}_updateText(t,e){const n=this.domConverter.findCorrespondingDomText(t);let o=this.domConverter.viewToDom(t).data;const i=e.inlineFillerPosition;i&&i.parent==t.parent&&i.offset==t.index&&(o=ca+o),Aa(n,o)}_updateAttrs(t){const e=this.domConverter.mapViewToDom(t);if(!e)return;const n=Array.from(e.attributes).map((t=>t.name)),o=t.getAttributeKeys();for(const n of o)this.domConverter.setDomElementAttribute(e,n,t.getAttribute(n),t);for(const o of n)t.hasAttribute(o)||this.domConverter.removeDomElementAttribute(e,o)}_updateChildren(t,e){const n=this.domConverter.mapViewToDom(t);if(!n)return;if(c.isAndroid){let t=null;for(const e of Array.from(n.childNodes)){if(t&&Ro(t)&&Ro(e)){n.normalize();break}t=e}}const o=e.inlineFillerPosition,i=n.childNodes,r=Array.from(this.domConverter.viewChildrenToDom(t,{bind:!0}));o&&o.parent===t&&fa(n.ownerDocument,r,o.offset);const s=this._diffNodeLists(i,r),a=this._findUpdateActions(s,i,r,ba);let l=0;const d=new Set;for(const t of a)"delete"===t?(d.add(i[l]),ri(i[l])):"equal"!==t&&"update"!==t||l++;l=0;for(const t of a)"insert"===t?(Jo(n,l,r[l]),l++):"update"===t?(Aa(i[l],r[l].data),l++):"equal"===t&&(this._markDescendantTextToSync(this.domConverter.domToView(r[l])),l++);for(const t of d)t.parentNode||this.domConverter.unbindDomElement(t)}_diffNodeLists(t,e){return t=function(t,e){const n=Array.from(t);if(0==n.length||!e)return n;const o=n[n.length-1];o==e&&n.pop();return n}(t,this._fakeSelectionContainer),g(t,e,wa.bind(null,this.domConverter))}_findUpdateActions(t,e,n,o){if(-1===t.indexOf("insert")||-1===t.indexOf("delete"))return t;let i=[],r=[],s=[];const a={equal:0,insert:0,delete:0};for(const c of t)"insert"===c?s.push(n[a.equal+a.insert]):"delete"===c?r.push(e[a.equal+a.delete]):(i=i.concat(g(r,s,o).map((t=>"equal"===t?"update":t))),i.push("equal"),r=[],s=[]),a[c]++;return i.concat(g(r,s,o).map((t=>"equal"===t?"update":t)))}_markDescendantTextToSync(t){if(t)if(t.is("$text"))this.markedTexts.add(t);else if(t.is("element"))for(const e of t.getChildren())this._markDescendantTextToSync(e)}_updateSelection(){if(c.isBlink&&!c.isAndroid&&this.isSelecting&&!this.markedChildren.size)return;if(0===this.selection.rangeCount)return this._removeDomSelection(),void this._removeFakeSelection();const t=this.domConverter.mapViewToDom(this.selection.editableElement);this.isFocused&&t&&(this.selection.isFake?this._updateFakeSelection(t):this._fakeSelectionContainer&&this._fakeSelectionContainer.isConnected?(this._removeFakeSelection(),this._updateDomSelection(t)):this.isComposing&&c.isAndroid||this._updateDomSelection(t))}_updateFakeSelection(t){const e=t.ownerDocument;this._fakeSelectionContainer||(this._fakeSelectionContainer=function(t){const e=t.createElement("div");return e.className="ck-fake-selection-container",Object.assign(e.style,{position:"fixed",top:0,left:"-9999px",width:"42px"}),e.textContent=" ",e}(e));const n=this._fakeSelectionContainer;if(this.domConverter.bindFakeSelection(n,this.selection),!this._fakeSelectionNeedsUpdate(t))return;n.parentElement&&n.parentElement==t||t.appendChild(n),n.textContent=this.selection.fakeSelectionLabel||" ";const o=e.getSelection(),i=e.createRange();o.removeAllRanges(),i.selectNodeContents(n),o.addRange(i)}_updateDomSelection(t){const e=t.ownerDocument.defaultView.getSelection();if(!this._domSelectionNeedsUpdate(e))return;const n=this.domConverter.viewPositionToDom(this.selection.anchor),o=this.domConverter.viewPositionToDom(this.selection.focus);e.setBaseAndExtent(n.parent,n.offset,o.parent,o.offset),c.isGecko&&function(t,e){const n=t.parent;if(n.nodeType!=Node.ELEMENT_NODE||t.offset!=n.childNodes.length-1)return;const o=n.childNodes[t.offset];o&&"BR"==o.tagName&&e.addRange(e.getRangeAt(0))}(o,e)}_domSelectionNeedsUpdate(t){if(!this.domConverter.isDomSelectionCorrect(t))return!0;const e=t&&this.domConverter.domSelectionToView(t);return(!e||!this.selection.isEqual(e))&&!(!this.selection.isCollapsed&&this.selection.isSimilar(e))}_fakeSelectionNeedsUpdate(t){const e=this._fakeSelectionContainer,n=t.ownerDocument.getSelection();return!e||e.parentElement!==t||(n.anchorNode!==e&&!e.contains(n.anchorNode)||e.textContent!==this.selection.fakeSelectionLabel)}_removeDomSelection(){for(const t of this.domDocuments){const e=t.getSelection();if(e.rangeCount){const n=t.activeElement,o=this.domConverter.mapDomToView(n);n&&o&&e.removeAllRanges()}}}_removeFakeSelection(){const t=this._fakeSelectionContainer;t&&t.remove()}_updateFocus(){if(this.isFocused){const t=this.selection.editableElement;t&&this.domConverter.focus(t)}}}function fa(t,e,n){const o=e instanceof Array?e:e.childNodes,i=o[n];if(Ro(i))return i.data=ca+i.data,i;{const i=t.createTextNode(ca);return Array.isArray(e)?o.splice(n,0,i):Jo(e,n,i),i}}function ka(t,e){return Mo(t)&&Mo(e)&&!Ro(t)&&!Ro(e)&&!Xo(t)&&!Xo(e)&&t.tagName.toLowerCase()===e.tagName.toLowerCase()}function ba(t,e){return Mo(t)&&Mo(e)&&Ro(t)&&Ro(e)}function wa(t,e,n){return e===n||(Ro(e)&&Ro(n)?e.data===n.data:!(!t.isBlockFiller(e)||!t.isBlockFiller(n)))}function Aa(t,e){const n=t.data;if(n==e)return;const o=d(n,e);for(const e of o)"insert"===e.type?t.insertData(e.index,e.values.join("")):t.deleteData(e.index,e.howMany)}const _a=sa(Lo.document),Ca=ia(Lo.document),va=ra(Lo.document),ya="data-ck-unsafe-attribute-",xa="data-ck-unsafe-element";class Ea{constructor(t,{blockFillerMode:e,renderingMode:n="editing"}={}){this._domToViewMapping=new WeakMap,this._viewToDomMapping=new WeakMap,this._fakeSelectionMapping=new WeakMap,this._rawContentElementMatcher=new Or,this._inlineObjectElementMatcher=new Or,this._elementsWithTemporaryCustomProperties=new Set,this.document=t,this.renderingMode=n,this.blockFillerMode=e||("editing"===n?"br":"nbsp"),this.preElements=["pre"],this.blockElements=["address","article","aside","blockquote","caption","center","dd","details","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","legend","li","main","menu","nav","ol","p","pre","section","summary","table","tbody","td","tfoot","th","thead","tr","ul"],this.inlineObjectElements=["object","iframe","input","button","textarea","select","option","video","embed","audio","img","canvas"],this.unsafeElements=["script","style"],this._domDocument="editing"===this.renderingMode?Lo.document:Lo.document.implementation.createHTMLDocument("")}bindFakeSelection(t,e){this._fakeSelectionMapping.set(t,new Es(e))}fakeSelectionToView(t){return this._fakeSelectionMapping.get(t)}bindElements(t,e){this._domToViewMapping.set(t,e),this._viewToDomMapping.set(e,t)}unbindDomElement(t){const e=this._domToViewMapping.get(t);if(e){this._domToViewMapping.delete(t),this._viewToDomMapping.delete(e);for(const e of Array.from(t.children))this.unbindDomElement(e)}}bindDocumentFragments(t,e){this._domToViewMapping.set(t,e),this._viewToDomMapping.set(e,t)}shouldRenderAttribute(t,e,n){return"data"===this.renderingMode||!(t=t.toLowerCase()).startsWith("on")&&(("srcdoc"!==t||!e.match(/\bon\S+\s*=|javascript:|<\s*\/*script/i))&&("img"===n&&("src"===t||"srcset"===t)||("source"===n&&"srcset"===t||!e.match(/^\s*(javascript:|data:(image\/svg|text\/x?html))/i))))}setContentOf(t,e){if("data"===this.renderingMode)return void(t.innerHTML=e);const n=(new DOMParser).parseFromString(e,"text/html"),o=n.createDocumentFragment(),i=n.body.childNodes;for(;i.length>0;)o.appendChild(i[0]);const r=n.createTreeWalker(o,NodeFilter.SHOW_ELEMENT),s=[];let a;for(;a=r.nextNode();)s.push(a);for(const t of s){for(const e of t.getAttributeNames())this.setDomElementAttribute(t,e,t.getAttribute(e));const e=t.tagName.toLowerCase();this._shouldRenameElement(e)&&(Ta(e),t.replaceWith(this._createReplacementDomElement(e,t)))}for(;t.firstChild;)t.firstChild.remove();t.append(o)}viewToDom(t,e={}){if(t.is("$text")){const e=this._processDataFromViewText(t);return this._domDocument.createTextNode(e)}{const n=t;if(this.mapViewToDom(n)){if(!n.getCustomProperty("editingPipeline:doNotReuseOnce"))return this.mapViewToDom(n);this._elementsWithTemporaryCustomProperties.add(n)}let o;if(n.is("documentFragment"))o=this._domDocument.createDocumentFragment(),e.bind&&this.bindDocumentFragments(o,n);else{if(n.is("uiElement"))return o="$comment"===n.name?this._domDocument.createComment(n.getCustomProperty("$rawContent")):n.render(this._domDocument,this),e.bind&&this.bindElements(o,n),o;this._shouldRenameElement(n.name)?(Ta(n.name),o=this._createReplacementDomElement(n.name)):o=n.hasAttribute("xmlns")?this._domDocument.createElementNS(n.getAttribute("xmlns"),n.name):this._domDocument.createElement(n.name),n.is("rawElement")&&n.render(o,this),e.bind&&this.bindElements(o,n);for(const t of n.getAttributeKeys())this.setDomElementAttribute(o,t,n.getAttribute(t),n)}if(!1!==e.withChildren)for(const t of this.viewChildrenToDom(n,e))o.appendChild(t);return o}}setDomElementAttribute(t,e,n,o){const i=this.shouldRenderAttribute(e,n,t.tagName.toLowerCase())||o&&o.shouldRenderUnsafeAttribute(e);i||C("domconverter-unsafe-attribute-detected",{domElement:t,key:e,value:n}),function(t){try{Lo.document.createAttribute(t)}catch(t){return!1}return!0}(e)?(t.hasAttribute(e)&&!i?t.removeAttribute(e):t.hasAttribute(ya+e)&&i&&t.removeAttribute(ya+e),t.setAttribute(i?e:ya+e,n)):C("domconverter-invalid-attribute-detected",{domElement:t,key:e,value:n})}removeDomElementAttribute(t,e){e!=xa&&(t.removeAttribute(e),t.removeAttribute(ya+e))}*viewChildrenToDom(t,e={}){const n=t.getFillerOffset&&t.getFillerOffset();let o=0;for(const i of t.getChildren()){n===o&&(yield this._getBlockFiller());const t=i.is("element")&&!!i.getCustomProperty("dataPipeline:transparentRendering")&&!Qi(i.getAttributes());t&&"data"==this.renderingMode?yield*this.viewChildrenToDom(i,e):(t&&C("domconverter-transparent-rendering-unsupported-in-editing-pipeline",{viewElement:i}),yield this.viewToDom(i,e)),o++}n===o&&(yield this._getBlockFiller())}viewRangeToDom(t){const e=this.viewPositionToDom(t.start),n=this.viewPositionToDom(t.end),o=this._domDocument.createRange();return o.setStart(e.parent,e.offset),o.setEnd(n.parent,n.offset),o}viewPositionToDom(t){const e=t.parent;if(e.is("$text")){const n=this.findCorrespondingDomText(e);if(!n)return null;let o=t.offset;return la(n)&&(o+=aa),{parent:n,offset:o}}{let n,o,i;if(0===t.offset){if(n=this.mapViewToDom(e),!n)return null;i=n.childNodes[0]}else{const e=t.nodeBefore;if(o=e.is("$text")?this.findCorrespondingDomText(e):this.mapViewToDom(e),!o)return null;n=o.parentNode,i=o.nextSibling}if(Ro(i)&&la(i))return{parent:i,offset:aa};return{parent:n,offset:o?Zo(o)+1:0}}}domToView(t,e={}){const n=[],o=this._domToView(t,e,n),i=o.next().value;return i?(o.next(),this._processDomInlineNodes(null,n,e),i.is("$text")&&0==i.data.length?null:i):null}*domChildrenToView(t,e={},n=[]){for(let o=0;o{const{scrollLeft:e,scrollTop:n}=t;o.push([e,n])})),e.focus(),Ia(e,(t=>{const[e,n]=o.shift();t.scrollLeft=e,t.scrollTop=n})),Lo.window.scrollTo(t,n)}}_clearDomSelection(){const t=this.mapViewToDom(this.document.selection.editableElement);if(!t)return;const e=t.ownerDocument.defaultView.getSelection(),n=this.domSelectionToView(e);n&&n.rangeCount>0&&e.removeAllRanges()}isElement(t){return t&&t.nodeType==Node.ELEMENT_NODE}isDocumentFragment(t){return t&&t.nodeType==Node.DOCUMENT_FRAGMENT_NODE}isBlockFiller(t){return"br"==this.blockFillerMode?t.isEqualNode(_a):!("BR"!==t.tagName||!Ma(t,this.blockElements)||1!==t.parentNode.childNodes.length)||(t.isEqualNode(va)||function(t,e){const n=t.isEqualNode(Ca);return n&&Ma(t,e)&&1===t.parentNode.childNodes.length}(t,this.blockElements))}isDomSelectionBackward(t){if(t.isCollapsed)return!1;const e=this._domDocument.createRange();try{e.setStart(t.anchorNode,t.anchorOffset),e.setEnd(t.focusNode,t.focusOffset)}catch(t){return!1}const n=e.collapsed;return e.detach(),n}getHostViewElement(t){const e=function(t){const e=[];let n=t;for(;n&&n.nodeType!=Node.DOCUMENT_NODE;)e.unshift(n),n=n.parentNode;return e}(t);for(e.pop();e.length;){const t=e.pop(),n=this._domToViewMapping.get(t);if(n&&(n.is("uiElement")||n.is("rawElement")))return n}return null}isDomSelectionCorrect(t){return this._isDomSelectionPositionCorrect(t.anchorNode,t.anchorOffset)&&this._isDomSelectionPositionCorrect(t.focusNode,t.focusOffset)}registerRawContentMatcher(t){this._rawContentElementMatcher.add(t)}registerInlineObjectMatcher(t){this._inlineObjectElementMatcher.add(t)}_clearTemporaryCustomProperties(){for(const t of this._elementsWithTemporaryCustomProperties)t._removeCustomProperty("editingPipeline:doNotReuseOnce");this._elementsWithTemporaryCustomProperties.clear()}_getBlockFiller(){switch(this.blockFillerMode){case"nbsp":return ia(this._domDocument);case"markedNbsp":return ra(this._domDocument);case"br":return sa(this._domDocument)}}_isDomSelectionPositionCorrect(t,e){if(Ro(t)&&la(t)&&e0?e[t-1]:null,c=t+1this.preElements.includes(t.name))))return e;if(" "==e.charAt(0)){const n=this._getTouchingInlineViewNode(t,!1);!(n&&n.is("$textProxy")&&this._nodeEndsWithSpace(n))&&n||(e=" "+e.substr(1))}if(" "==e.charAt(e.length-1)){const n=this._getTouchingInlineViewNode(t,!0),o=n&&n.is("$textProxy")&&" "==n.data.charAt(0);" "!=e.charAt(e.length-2)&&n&&!o||(e=e.substr(0,e.length-1)+" ")}return e.replace(/ {2}/g,"  ")}_nodeEndsWithSpace(t){if(t.getAncestors().some((t=>this.preElements.includes(t.name))))return!1;const e=this._processDataFromViewText(t);return" "==e.charAt(e.length-1)}_getTouchingInlineViewNode(t,e){const n=new Cs({startPosition:e?vs._createAfter(t):vs._createBefore(t),direction:e?"forward":"backward"});for(const t of n){if(t.item.is("element","br"))return null;if(this._isInlineObjectElement(t.item))return t.item;if(t.item.is("containerElement"))return null;if(t.item.is("$textProxy"))return t.item}return null}_isBlockDomElement(t){return this.isElement(t)&&this.blockElements.includes(t.tagName.toLowerCase())}_isBlockViewElement(t){return t.is("element")&&this.blockElements.includes(t.name)}_isInlineObjectElement(t){return!!t.is("element")&&("br"==t.name||this.inlineObjectElements.includes(t.name)||!!this._inlineObjectElementMatcher.match(t))}_createViewElement(t,e){if(Xo(t))return new Vs(this.document,"$comment");const n=e.keepOriginalCase?t.tagName:t.tagName.toLowerCase();return new ps(this.document,n)}_isViewElementWithRawContent(t,e){return!1!==e.withChildren&&t.is("element")&&!!this._rawContentElementMatcher.match(t)}_shouldRenameElement(t){const e=t.toLowerCase();return"editing"===this.renderingMode&&this.unsafeElements.includes(e)}_createReplacementDomElement(t,e){const n=this._domDocument.createElement("span");if(n.setAttribute(xa,t),e){for(;e.firstChild;)n.appendChild(e.firstChild);for(const t of e.getAttributeNames())n.setAttribute(t,e.getAttribute(t))}return n}}function Da(t,e){return t.getAncestors().some((t=>t.is("element")&&e.includes(t.name)))}function Ia(t,e){let n=t;for(;n;)e(n),n=n.parentElement}function Ma(t,e){const n=t.parentNode;return!!n&&!!n.tagName&&e.includes(n.tagName.toLowerCase())}function Ta(t){"script"===t&&C("domconverter-unsafe-script-element-detected"),"style"===t&&C("domconverter-unsafe-style-element-detected")}class Sa extends(Bo()){constructor(t){super(),this._isEnabled=!1,this.view=t,this.document=t.document}get isEnabled(){return this._isEnabled}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}destroy(){this.disable(),this.stopListening()}checkShouldIgnoreEventFromTarget(t){return t&&3===t.nodeType&&(t=t.parentNode),!(!t||1!==t.nodeType)&&t.matches("[data-cke-ignore-events], [data-cke-ignore-events] *")}}const Ba=Ui((function(t,e){Se(e,pn(e),t)}));class Na{constructor(t,e,n){this.view=t,this.document=t.document,this.domEvent=e,this.domTarget=e.target,Ba(this,n)}get target(){return this.view.domConverter.mapDomToView(this.domTarget)}preventDefault(){this.domEvent.preventDefault()}stopPropagation(){this.domEvent.stopPropagation()}}class Pa extends Sa{constructor(){super(...arguments),this.useCapture=!1}observe(t){("string"==typeof this.domEventType?[this.domEventType]:this.domEventType).forEach((e=>{this.listenTo(t,e,((t,e)=>{this.isEnabled&&!this.checkShouldIgnoreEventFromTarget(e.target)&&this.onDomEvent(e)}),{useCapture:this.useCapture})}))}stopObserving(t){this.stopListening(t)}fire(t,e,n){this.isEnabled&&this.document.fire(t,new Na(this.view,e,n))}}class Oa extends Pa{constructor(){super(...arguments),this.domEventType=["keydown","keyup"]}onDomEvent(t){const e={keyCode:t.keyCode,altKey:t.altKey,ctrlKey:t.ctrlKey,shiftKey:t.shiftKey,metaKey:t.metaKey,get keystroke(){return Ai(this)}};this.fire(t.type,t,e)}}const La=function(){return rt.Date.now()};var za=/\s/;const Ra=function(t){for(var e=t.length;e--&&za.test(t.charAt(e)););return e};var ja=/^\s+/;const Fa=function(t){return t?t.slice(0,Ra(t)+1).replace(ja,""):t};var Va=/^[-+]0x[0-9a-f]+$/i,Ha=/^0b[01]+$/i,Ua=/^0o[0-7]+$/i,qa=parseInt;const Ga=function(t){if("number"==typeof t)return t;if(Rr(t))return NaN;if(F(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=F(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=Fa(t);var n=Ha.test(t);return n||Ua.test(t)?qa(t.slice(2),n?2:8):Va.test(t)?NaN:+t};var Wa=Math.max,Ka=Math.min;const $a=function(t,e,n){var o,i,r,s,a,c,l=0,d=!1,u=!1,h=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function g(e){var n=o,r=i;return o=i=void 0,l=e,s=t.apply(r,n)}function m(t){var n=t-c;return void 0===c||n>=e||n<0||u&&t-l>=r}function p(){var t=La();if(m(t))return f(t);a=setTimeout(p,function(t){var n=e-(t-c);return u?Ka(n,r-(t-l)):n}(t))}function f(t){return a=void 0,h&&o?g(t):(o=i=void 0,s)}function k(){var t=La(),n=m(t);if(o=arguments,i=this,c=t,n){if(void 0===a)return function(t){return l=t,a=setTimeout(p,e),d?g(t):s}(c);if(u)return clearTimeout(a),a=setTimeout(p,e),g(c)}return void 0===a&&(a=setTimeout(p,e)),s}return e=Ga(e)||0,F(n)&&(d=!!n.leading,r=(u="maxWait"in n)?Wa(Ga(n.maxWait)||0,e):r,h="trailing"in n?!!n.trailing:h),k.cancel=function(){void 0!==a&&clearTimeout(a),l=0,o=c=i=a=void 0},k.flush=function(){return void 0===a?s:f(La())},k};class Ya extends Sa{constructor(t){super(t),this._fireSelectionChangeDoneDebounced=$a((t=>{this.document.fire("selectionChangeDone",t)}),200)}observe(){const t=this.document;t.on("arrowKey",((e,n)=>{t.selection.isFake&&this.isEnabled&&n.preventDefault()}),{context:"$capture"}),t.on("arrowKey",((e,n)=>{t.selection.isFake&&this.isEnabled&&this._handleSelectionMove(n.keyCode)}),{priority:"lowest"})}stopObserving(){}destroy(){super.destroy(),this._fireSelectionChangeDoneDebounced.cancel()}_handleSelectionMove(t){const e=this.document.selection,n=new Es(e.getRanges(),{backward:e.isBackward,fake:!1});t!=bi.arrowleft&&t!=bi.arrowup||n.setTo(n.getFirstPosition()),t!=bi.arrowright&&t!=bi.arrowdown||n.setTo(n.getLastPosition());const o={oldSelection:e,newSelection:n,domSelection:null};this.document.fire("selectionChange",o),this._fireSelectionChangeDoneDebounced(o)}}const Qa=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this};const Za=function(t){return this.__data__.has(t)};function Ja(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new Ce;++ea))return!1;var l=r.get(t),d=r.get(e);if(l&&d)return l==e&&d==t;var u=-1,h=!0,g=2&n?new Xa:void 0;for(r.set(t,e),r.set(e,t);++u{this._isFocusChanging=!0,this._renderTimeoutId=setTimeout((()=>{this.flush(),t.change((()=>{}))}),50)})),e.on("blur",((n,o)=>{const i=e.selection.editableElement;null!==i&&i!==o.target||(e.isFocused=!1,this._isFocusChanging=!1,t.change((()=>{})))}))}flush(){this._isFocusChanging&&(this._isFocusChanging=!1,this.document.isFocused=!0)}onDomEvent(t){this.fire(t.type,t)}destroy(){this._renderTimeoutId&&clearTimeout(this._renderTimeoutId),super.destroy()}}class Ac extends Sa{constructor(t){super(t),this.mutationObserver=t.getObserver(kc),this.focusObserver=t.getObserver(wc),this.selection=this.document.selection,this.domConverter=t.domConverter,this._documents=new WeakSet,this._fireSelectionChangeDoneDebounced=$a((t=>{this.document.fire("selectionChangeDone",t)}),200),this._clearInfiniteLoopInterval=setInterval((()=>this._clearInfiniteLoop()),1e3),this._documentIsSelectingInactivityTimeoutDebounced=$a((()=>this.document.isSelecting=!1),5e3),this._loopbackCounter=0}observe(t){const e=t.ownerDocument,n=()=>{this.document.isSelecting&&(this._handleSelectionChange(null,e),this.document.isSelecting=!1,this._documentIsSelectingInactivityTimeoutDebounced.cancel())};this.listenTo(t,"selectstart",(()=>{this.document.isSelecting=!0,this._documentIsSelectingInactivityTimeoutDebounced()}),{priority:"highest"}),this.listenTo(t,"keydown",n,{priority:"highest",useCapture:!0}),this.listenTo(t,"keyup",n,{priority:"highest",useCapture:!0}),this._documents.has(e)||(this.listenTo(e,"mouseup",n,{priority:"highest",useCapture:!0}),this.listenTo(e,"selectionchange",((t,n)=>{this.document.isComposing&&!c.isAndroid||(this._handleSelectionChange(n,e),this._documentIsSelectingInactivityTimeoutDebounced())})),this._documents.add(e))}stopObserving(t){this.stopListening(t)}destroy(){super.destroy(),clearInterval(this._clearInfiniteLoopInterval),this._fireSelectionChangeDoneDebounced.cancel(),this._documentIsSelectingInactivityTimeoutDebounced.cancel()}_reportInfiniteLoop(){}_handleSelectionChange(t,e){if(!this.isEnabled)return;const n=e.defaultView.getSelection();if(this.checkShouldIgnoreEventFromTarget(n.anchorNode))return;this.mutationObserver.flush();const o=this.domConverter.domSelectionToView(n);if(0!=o.rangeCount){if(this.view.hasDomSelection=!0,this.focusObserver.flush(),!this.selection.isEqual(o)||!this.domConverter.isDomSelectionCorrect(n))if(++this._loopbackCounter>60)this._reportInfiniteLoop();else if(this.selection.isSimilar(o))this.view.forceRender();else{const t={oldSelection:this.selection,newSelection:o,domSelection:n};this.document.fire("selectionChange",t),this._fireSelectionChangeDoneDebounced(t)}}else this.view.hasDomSelection=!1}_clearInfiniteLoop(){this._loopbackCounter=0}}class _c extends Pa{constructor(t){super(t),this.domEventType=["compositionstart","compositionupdate","compositionend"];const e=this.document;e.on("compositionstart",(()=>{e.isComposing=!0}),{priority:"low"}),e.on("compositionend",(()=>{e.isComposing=!1}),{priority:"low"})}onDomEvent(t){this.fire(t.type,t,{data:t.data})}}class Cc{constructor(t,e={}){this._files=e.cacheFiles?vc(t):null,this._native=t}get files(){return this._files||(this._files=vc(this._native)),this._files}get types(){return this._native.types}getData(t){return this._native.getData(t)}setData(t,e){this._native.setData(t,e)}set effectAllowed(t){this._native.effectAllowed=t}get effectAllowed(){return this._native.effectAllowed}set dropEffect(t){this._native.dropEffect=t}get dropEffect(){return this._native.dropEffect}setDragImage(t,e,n){this._native.setDragImage(t,e,n)}get isCanceled(){return"none"==this._native.dropEffect||!!this._native.mozUserCancelled}}function vc(t){const e=Array.from(t.files||[]),n=Array.from(t.items||[]);return e.length?e:n.filter((t=>"file"===t.kind)).map((t=>t.getAsFile()))}class yc extends Pa{constructor(){super(...arguments),this.domEventType="beforeinput"}onDomEvent(t){const e=t.getTargetRanges(),n=this.view,o=n.document;let i=null,r=null,s=[];if(t.dataTransfer&&(i=new Cc(t.dataTransfer)),null!==t.data?r=t.data:i&&(r=i.getData("text/plain")),o.selection.isFake)s=Array.from(o.selection.getRanges());else if(e.length)s=e.map((t=>{const e=n.domConverter.domPositionToView(t.startContainer,t.startOffset),o=n.domConverter.domPositionToView(t.endContainer,t.endOffset);return e?n.createRange(e,o):o?n.createRange(o):void 0})).filter((t=>!!t));else if(c.isAndroid){const e=t.target.ownerDocument.defaultView.getSelection();s=Array.from(n.domConverter.domSelectionToView(e).getRanges())}if(c.isAndroid&&"insertCompositionText"==t.inputType&&r&&r.endsWith("\n"))this.fire(t.type,t,{inputType:"insertParagraph",targetRanges:[n.createRange(s[0].end)]});else if("insertText"==t.inputType&&r&&r.includes("\n")){const e=r.split(/\n{1,2}/g);let n=s;for(let r=0;r{if(this.isEnabled&&((n=e.keyCode)==bi.arrowright||n==bi.arrowleft||n==bi.arrowup||n==bi.arrowdown)){const n=new Is(this.document,"arrowKey",this.document.selection.getFirstRange());this.document.fire(n,e),n.stop.called&&t.stop()}var n}))}observe(){}stopObserving(){}}class Ec extends Sa{constructor(t){super(t);const e=this.document;e.on("keydown",((t,n)=>{if(!this.isEnabled||n.keyCode!=bi.tab||n.ctrlKey)return;const o=new Is(e,"tab",e.selection.getFirstRange());e.fire(o,n),o.stop.called&&t.stop()}))}observe(){}stopObserving(){}}const Dc=function(t){return vo(t,5)};class Ic extends(K()){constructor(t){super(),this.domRoots=new Map,this._initialDomRootAttributes=new WeakMap,this._observers=new Map,this._ongoingChange=!1,this._postFixersInProgress=!1,this._renderingDisabled=!1,this._hasChangedSinceTheLastRendering=!1,this.document=new Os(t),this.domConverter=new Ea(this.document),this.set("isRenderingInProgress",!1),this.set("hasDomSelection",!1),this._renderer=new pa(this.domConverter,this.document.selection),this._renderer.bind("isFocused","isSelecting","isComposing").to(this.document,"isFocused","isSelecting","isComposing"),this._writer=new Ks(this.document),this.addObserver(kc),this.addObserver(wc),this.addObserver(Ac),this.addObserver(Oa),this.addObserver(Ya),this.addObserver(_c),this.addObserver(xc),this.addObserver(yc),this.addObserver(Ec),this.document.on("arrowKey",ha,{priority:"low"}),Hs(this),this.on("render",(()=>{this._render(),this.document.fire("layoutChanged"),this._hasChangedSinceTheLastRendering=!1})),this.listenTo(this.document.selection,"change",(()=>{this._hasChangedSinceTheLastRendering=!0})),this.listenTo(this.document,"change:isFocused",(()=>{this._hasChangedSinceTheLastRendering=!0})),c.isiOS&&this.listenTo(this.document,"blur",((t,e)=>{this.domConverter.mapDomToView(e.domEvent.relatedTarget)||this.domConverter._clearDomSelection()}))}attachDomRoot(t,e="main"){const n=this.document.getRoot(e);n._name=t.tagName.toLowerCase();const o={};for(const{name:e,value:i}of Array.from(t.attributes))o[e]=i,"class"===e?this._writer.addClass(i.split(" "),n):this._writer.setAttribute(e,i,n);this._initialDomRootAttributes.set(t,o);const i=()=>{this._writer.setAttribute("contenteditable",(!n.isReadOnly).toString(),n),n.isReadOnly?this._writer.addClass("ck-read-only",n):this._writer.removeClass("ck-read-only",n)};i(),this.domRoots.set(e,t),this.domConverter.bindElements(t,n),this._renderer.markToSync("children",n),this._renderer.markToSync("attributes",n),this._renderer.domDocuments.add(t.ownerDocument),n.on("change:children",((t,e)=>this._renderer.markToSync("children",e))),n.on("change:attributes",((t,e)=>this._renderer.markToSync("attributes",e))),n.on("change:text",((t,e)=>this._renderer.markToSync("text",e))),n.on("change:isReadOnly",(()=>this.change(i))),n.on("change",(()=>{this._hasChangedSinceTheLastRendering=!0}));for(const n of this._observers.values())n.observe(t,e)}detachDomRoot(t){const e=this.domRoots.get(t);Array.from(e.attributes).forEach((({name:t})=>e.removeAttribute(t)));const n=this._initialDomRootAttributes.get(e);for(const t in n)e.setAttribute(t,n[t]);this.domRoots.delete(t),this.domConverter.unbindDomElement(e);for(const t of this._observers.values())t.stopObserving(e)}getDomRoot(t="main"){return this.domRoots.get(t)}addObserver(t){let e=this._observers.get(t);if(e)return e;e=new t(this),this._observers.set(t,e);for(const[t,n]of this.domRoots)e.observe(n,t);return e.enable(),e}getObserver(t){return this._observers.get(t)}disableObservers(){for(const t of this._observers.values())t.disable()}enableObservers(){for(const t of this._observers.values())t.enable()}scrollToTheSelection({alignToTop:t,forceScroll:e,viewportOffset:n=20,ancestorOffset:o=20}={}){const i=this.document.selection.getFirstRange();if(!i)return;const r=Dc({alignToTop:t,forceScroll:e,viewportOffset:n,ancestorOffset:o});"number"==typeof n&&(n={top:n,bottom:n,left:n,right:n});const s={target:this.domConverter.viewRangeToDom(i),viewportOffset:n,ancestorOffset:o,alignToTop:t,forceScroll:e};this.fire("scrollToTheSelection",s,r),function({target:t,viewportOffset:e=0,ancestorOffset:n=0,alignToTop:o,forceScroll:i}){const r=hi(t);let s=r,a=null;for(e=function(t){return"number"==typeof t?{top:t,bottom:t,left:t,right:t}:t}(e);s;){let c;c=gi(s==r?t:a),ai({parent:c,getRect:()=>mi(t,s),alignToTop:o,ancestorOffset:n,forceScroll:i});const l=mi(t,s);if(si({window:s,rect:l,viewportOffset:e,alignToTop:o,forceScroll:i}),s.parent!=s){if(a=s.frameElement,s=s.parent,!a)return}else s=null}}(s)}focus(){if(!this.document.isFocused){const t=this.document.selection.editableElement;t&&(this.domConverter.focus(t),this.forceRender())}}change(t){if(this.isRenderingInProgress||this._postFixersInProgress)throw new _("cannot-change-view-tree",this);try{if(this._ongoingChange)return t(this._writer);this._ongoingChange=!0;const e=t(this._writer);return this._ongoingChange=!1,!this._renderingDisabled&&this._hasChangedSinceTheLastRendering&&(this._postFixersInProgress=!0,this.document._callPostFixers(this._writer),this._postFixersInProgress=!1,this.fire("render")),e}catch(t){_.rethrowUnexpectedError(t,this)}}forceRender(){this._hasChangedSinceTheLastRendering=!0,this.getObserver(wc).flush(),this.change((()=>{}))}destroy(){for(const t of this._observers.values())t.destroy();this.document.destroy(),this.stopListening()}createPositionAt(t,e){return vs._createAt(t,e)}createPositionAfter(t){return vs._createAfter(t)}createPositionBefore(t){return vs._createBefore(t)}createRange(t,e){return new ys(t,e)}createRangeOn(t){return ys._createOn(t)}createRangeIn(t){return ys._createIn(t)}createSelection(...t){return new Es(...t)}_disableRendering(t){this._renderingDisabled=t,0==t&&this.change((()=>{}))}_render(){this.isRenderingInProgress=!0,this.disableObservers(),this._renderer.render(),this.enableObservers(),this.isRenderingInProgress=!1}}class Mc{is(){throw new Error("is() method is abstract")}}class Tc extends Mc{constructor(t){super(),this.parent=null,this._attrs=Xi(t)}get document(){return null}get index(){let t;if(!this.parent)return null;if(null===(t=this.parent.getChildIndex(this)))throw new _("model-node-not-found-in-parent",this);return t}get startOffset(){let t;if(!this.parent)return null;if(null===(t=this.parent.getChildStartOffset(this)))throw new _("model-node-not-found-in-parent",this);return t}get offsetSize(){return 1}get endOffset(){return this.parent?this.startOffset+this.offsetSize:null}get nextSibling(){const t=this.index;return null!==t&&this.parent.getChild(t+1)||null}get previousSibling(){const t=this.index;return null!==t&&this.parent.getChild(t-1)||null}get root(){let t=this;for(;t.parent;)t=t.parent;return t}isAttached(){return null!==this.parent&&this.root.isAttached()}getPath(){const t=[];let e=this;for(;e.parent;)t.unshift(e.startOffset),e=e.parent;return t}getAncestors(t={}){const e=[];let n=t.includeSelf?this:this.parent;for(;n;)e[t.parentFirst?"push":"unshift"](n),n=n.parent;return e}getCommonAncestor(t,e={}){const n=this.getAncestors(e),o=t.getAncestors(e);let i=0;for(;n[i]==o[i]&&n[i];)i++;return 0===i?null:n[i-1]}isBefore(t){if(this==t)return!1;if(this.root!==t.root)return!1;const e=this.getPath(),n=t.getPath(),o=et(e,n);switch(o){case"prefix":return!0;case"extension":return!1;default:return e[o](t[e[0]]=e[1],t)),{})),t}_clone(t){return new this.constructor(this._attrs)}_remove(){this.parent._removeChildren(this.index)}_setAttribute(t,e){this._attrs.set(t,e)}_setAttributesTo(t){this._attrs=Xi(t)}_removeAttribute(t){return this._attrs.delete(t)}_clearAttributes(){this._attrs.clear()}}Tc.prototype.is=function(t){return"node"===t||"model:node"===t};class Sc{constructor(t){this._nodes=[],t&&this._insertNodes(0,t)}[Symbol.iterator](){return this._nodes[Symbol.iterator]()}get length(){return this._nodes.length}get maxOffset(){return this._nodes.reduce(((t,e)=>t+e.offsetSize),0)}getNode(t){return this._nodes[t]||null}getNodeIndex(t){const e=this._nodes.indexOf(t);return-1==e?null:e}getNodeStartOffset(t){const e=this.getNodeIndex(t);return null===e?null:this._nodes.slice(0,e).reduce(((t,e)=>t+e.offsetSize),0)}indexToOffset(t){if(t==this._nodes.length)return this.maxOffset;const e=this._nodes[t];if(!e)throw new _("model-nodelist-index-out-of-bounds",this);return this.getNodeStartOffset(e)}offsetToIndex(t){let e=0;for(const n of this._nodes){if(t>=e&&t1e4)return t.slice(0,n).concat(e).concat(t.slice(n+o,t.length));{const i=Array.from(t);return i.splice(n,o,...e),i}}(this._nodes,Array.from(e),t,0)}_removeNodes(t,e=1){return this._nodes.splice(t,e)}toJSON(){return this._nodes.map((t=>t.toJSON()))}}class Bc extends Tc{constructor(t,e){super(e),this._data=t||""}get offsetSize(){return this.data.length}get data(){return this._data}toJSON(){const t=super.toJSON();return t.data=this.data,t}_clone(){return new Bc(this.data,this.getAttributes())}static fromJSON(t){return new Bc(t.data,t.attributes)}}Bc.prototype.is=function(t){return"$text"===t||"model:$text"===t||"text"===t||"model:text"===t||"node"===t||"model:node"===t};class Nc extends Mc{constructor(t,e,n){if(super(),this.textNode=t,e<0||e>t.offsetSize)throw new _("model-textproxy-wrong-offsetintext",this);if(n<0||e+n>t.offsetSize)throw new _("model-textproxy-wrong-length",this);this.data=t.data.substring(e,e+n),this.offsetInText=e}get startOffset(){return null!==this.textNode.startOffset?this.textNode.startOffset+this.offsetInText:null}get offsetSize(){return this.data.length}get endOffset(){return null!==this.startOffset?this.startOffset+this.offsetSize:null}get isPartial(){return this.offsetSize!==this.textNode.offsetSize}get parent(){return this.textNode.parent}get root(){return this.textNode.root}getPath(){const t=this.textNode.getPath();return t.length>0&&(t[t.length-1]+=this.offsetInText),t}getAncestors(t={}){const e=[];let n=t.includeSelf?this:this.parent;for(;n;)e[t.parentFirst?"push":"unshift"](n),n=n.parent;return e}hasAttribute(t){return this.textNode.hasAttribute(t)}getAttribute(t){return this.textNode.getAttribute(t)}getAttributes(){return this.textNode.getAttributes()}getAttributeKeys(){return this.textNode.getAttributeKeys()}}Nc.prototype.is=function(t){return"$textProxy"===t||"model:$textProxy"===t||"textProxy"===t||"model:textProxy"===t};class Pc extends Tc{constructor(t,e,n){super(e),this._children=new Sc,this.name=t,n&&this._insertChild(0,n)}get childCount(){return this._children.length}get maxOffset(){return this._children.maxOffset}get isEmpty(){return 0===this.childCount}getChild(t){return this._children.getNode(t)}getChildren(){return this._children[Symbol.iterator]()}getChildIndex(t){return this._children.getNodeIndex(t)}getChildStartOffset(t){return this._children.getNodeStartOffset(t)}offsetToIndex(t){return this._children.offsetToIndex(t)}getNodeByPath(t){let e=this;for(const n of t)e=e.getChild(e.offsetToIndex(n));return e}findAncestor(t,e={}){let n=e.includeSelf?this:this.parent;for(;n;){if(n.name===t)return n;n=n.parent}return null}toJSON(){const t=super.toJSON();if(t.name=this.name,this._children.length>0){t.children=[];for(const e of this._children)t.children.push(e.toJSON())}return t}_clone(t=!1){const e=t?Array.from(this._children).map((t=>t._clone(!0))):void 0;return new Pc(this.name,this.getAttributes(),e)}_appendChild(t){this._insertChild(this.childCount,t)}_insertChild(t,e){const n=function(t){if("string"==typeof t)return[new Bc(t)];nt(t)||(t=[t]);return Array.from(t).map((t=>"string"==typeof t?new Bc(t):t instanceof Nc?new Bc(t.data,t.getAttributes()):t))}(e);for(const t of n)null!==t.parent&&t._remove(),t.parent=this;this._children._insertNodes(t,n)}_removeChildren(t,e=1){const n=this._children._removeNodes(t,e);for(const t of n)t.parent=null;return n}static fromJSON(t){let e;if(t.children){e=[];for(const n of t.children)n.name?e.push(Pc.fromJSON(n)):e.push(Bc.fromJSON(n))}return new Pc(t.name,t.attributes,e)}}Pc.prototype.is=function(t,e){return e?e===this.name&&("element"===t||"model:element"===t):"element"===t||"model:element"===t||"node"===t||"model:node"===t};class Oc{constructor(t){if(!t||!t.boundaries&&!t.startPosition)throw new _("model-tree-walker-no-start-position",null);const e=t.direction||"forward";if("forward"!=e&&"backward"!=e)throw new _("model-tree-walker-unknown-direction",t,{direction:e});this.direction=e,this.boundaries=t.boundaries||null,t.startPosition?this._position=t.startPosition.clone():this._position=zc._createAt(this.boundaries["backward"==this.direction?"end":"start"]),this.position.stickiness="toNone",this.singleCharacters=!!t.singleCharacters,this.shallow=!!t.shallow,this.ignoreElementEnd=!!t.ignoreElementEnd,this._boundaryStartParent=this.boundaries?this.boundaries.start.parent:null,this._boundaryEndParent=this.boundaries?this.boundaries.end.parent:null,this._visitedParent=this.position.parent}[Symbol.iterator](){return this}get position(){return this._position}skip(t){let e,n,o,i;do{o=this.position,i=this._visitedParent,({done:e,value:n}=this.next())}while(!e&&t(n));e||(this._position=o,this._visitedParent=i)}next(){return"forward"==this.direction?this._next():this._previous()}_next(){const t=this.position,e=this.position.clone(),n=this._visitedParent;if(null===n.parent&&e.offset===n.maxOffset)return{done:!0,value:void 0};if(n===this._boundaryEndParent&&e.offset==this.boundaries.end.offset)return{done:!0,value:void 0};const o=Rc(e,n),i=o||jc(e,n,o);if(i instanceof Pc){if(this.shallow){if(this.boundaries&&this.boundaries.end.isBefore(e))return{done:!0,value:void 0};e.offset++}else e.path.push(0),this._visitedParent=i;return this._position=e,Lc("elementStart",i,t,e,1)}if(i instanceof Bc){let o;if(this.singleCharacters)o=1;else{let t=i.endOffset;this._boundaryEndParent==n&&this.boundaries.end.offsett&&(t=this.boundaries.start.offset),o=e.offset-t}const i=e.offset-r.startOffset,s=new Nc(r,i-o,o);return e.offset-=o,this._position=e,Lc("text",s,t,e,o)}return e.path.pop(),this._position=e,this._visitedParent=n.parent,Lc("elementStart",n,t,e,1)}}function Lc(t,e,n,o,i){return{done:!1,value:{type:t,item:e,previousPosition:n,nextPosition:o,length:i}}}class zc extends Mc{constructor(t,e,n="toNone"){if(super(),!t.is("element")&&!t.is("documentFragment"))throw new _("model-position-root-invalid",t);if(!(e instanceof Array)||0===e.length)throw new _("model-position-path-incorrect-format",t,{path:e});t.is("rootElement")?e=e.slice():(e=[...t.getPath(),...e],t=t.root),this.root=t,this.path=e,this.stickiness=n}get offset(){return this.path[this.path.length-1]}set offset(t){this.path[this.path.length-1]=t}get parent(){let t=this.root;for(let e=0;e1)return!1;if(1===e)return Vc(t,this,n);if(-1===e)return Vc(this,t,n)}return this.path.length===t.path.length||(this.path.length>t.path.length?Hc(this.path,e):Hc(t.path,e))}hasSameParentAs(t){if(this.root!==t.root)return!1;return"same"==et(this.getParentPath(),t.getParentPath())}getTransformedByOperation(t){let e;switch(t.type){case"insert":e=this._getTransformedByInsertOperation(t);break;case"move":case"remove":case"reinsert":e=this._getTransformedByMoveOperation(t);break;case"split":e=this._getTransformedBySplitOperation(t);break;case"merge":e=this._getTransformedByMergeOperation(t);break;default:e=zc._createAt(this)}return e}_getTransformedByInsertOperation(t){return this._getTransformedByInsertion(t.position,t.howMany)}_getTransformedByMoveOperation(t){return this._getTransformedByMove(t.sourcePosition,t.targetPosition,t.howMany)}_getTransformedBySplitOperation(t){const e=t.movedRange;return e.containsPosition(this)||e.start.isEqual(this)&&"toNext"==this.stickiness?this._getCombined(t.splitPosition,t.moveTargetPosition):t.graveyardPosition?this._getTransformedByMove(t.graveyardPosition,t.insertionPosition,1):this._getTransformedByInsertion(t.insertionPosition,1)}_getTransformedByMergeOperation(t){const e=t.movedRange;let n;return e.containsPosition(this)||e.start.isEqual(this)?(n=this._getCombined(t.sourcePosition,t.targetPosition),t.sourcePosition.isBefore(t.targetPosition)&&(n=n._getTransformedByDeletion(t.deletionPosition,1))):n=this.isEqual(t.deletionPosition)?zc._createAt(t.deletionPosition):this._getTransformedByMove(t.deletionPosition,t.graveyardPosition,1),n}_getTransformedByDeletion(t,e){const n=zc._createAt(this);if(this.root!=t.root)return n;if("same"==et(t.getParentPath(),this.getParentPath())){if(t.offsetthis.offset)return null;n.offset-=e}}else if("prefix"==et(t.getParentPath(),this.getParentPath())){const o=t.path.length-1;if(t.offset<=this.path[o]){if(t.offset+e>this.path[o])return null;n.path[o]-=e}}return n}_getTransformedByInsertion(t,e){const n=zc._createAt(this);if(this.root!=t.root)return n;if("same"==et(t.getParentPath(),this.getParentPath()))(t.offset=e;){if(t.path[o]+i!==n.maxOffset)return!1;i=1,o--,n=n.parent}return!0}(t,n+1))}function Hc(t,e){for(;ee+1;){const e=o.maxOffset-n.offset;0!==e&&t.push(new Uc(n,n.getShiftedBy(e))),n.path=n.path.slice(0,-1),n.offset++,o=o.parent}for(;n.path.length<=this.end.path.length;){const e=this.end.path[n.path.length-1],o=e-n.offset;0!==o&&t.push(new Uc(n,n.getShiftedBy(o))),n.offset=e,n.path.push(0)}return t}getWalker(t={}){return t.boundaries=this,new Oc(t)}*getItems(t={}){t.boundaries=this,t.ignoreElementEnd=!0;const e=new Oc(t);for(const t of e)yield t.item}*getPositions(t={}){t.boundaries=this;const e=new Oc(t);yield e.position;for(const t of e)yield t.nextPosition}getTransformedByOperation(t){switch(t.type){case"insert":return this._getTransformedByInsertOperation(t);case"move":case"remove":case"reinsert":return this._getTransformedByMoveOperation(t);case"split":return[this._getTransformedBySplitOperation(t)];case"merge":return[this._getTransformedByMergeOperation(t)]}return[new Uc(this.start,this.end)]}getTransformedByOperations(t){const e=[new Uc(this.start,this.end)];for(const n of t)for(let t=0;t0?new this(n,o):new this(o,n)}static _createIn(t){return new this(zc._createAt(t,0),zc._createAt(t,t.maxOffset))}static _createOn(t){return this._createFromPositionAndShift(zc._createBefore(t),t.offsetSize)}static _createFromRanges(t){if(0===t.length)throw new _("range-create-from-ranges-empty-array",null);if(1==t.length)return t[0].clone();const e=t[0];t.sort(((t,e)=>t.start.isAfter(e.start)?1:-1));const n=t.indexOf(e),o=new this(e.start,e.end);if(n>0)for(let e=n-1;t[e].end.isEqual(o.start);e++)o.start=zc._createAt(t[e].start);for(let e=n+1;e{if(e.viewPosition)return;const n=this._modelToViewMapping.get(e.modelPosition.parent);if(!n)throw new _("mapping-model-position-view-parent-not-found",this,{modelPosition:e.modelPosition});e.viewPosition=this.findPositionIn(n,e.modelPosition.offset)}),{priority:"low"}),this.on("viewToModelPosition",((t,e)=>{if(e.modelPosition)return;const n=this.findMappedViewAncestor(e.viewPosition),o=this._viewToModelMapping.get(n),i=this._toModelOffset(e.viewPosition.parent,e.viewPosition.offset,n);e.modelPosition=zc._createAt(o,i)}),{priority:"low"})}bindElements(t,e){this._modelToViewMapping.set(t,e),this._viewToModelMapping.set(e,t)}unbindViewElement(t,e={}){const n=this.toModelElement(t);if(this._elementToMarkerNames.has(t))for(const e of this._elementToMarkerNames.get(t))this._unboundMarkerNames.add(e);e.defer?this._deferredBindingRemovals.set(t,t.root):(this._viewToModelMapping.delete(t),this._modelToViewMapping.get(n)==t&&this._modelToViewMapping.delete(n))}unbindModelElement(t){const e=this.toViewElement(t);this._modelToViewMapping.delete(t),this._viewToModelMapping.get(e)==t&&this._viewToModelMapping.delete(e)}bindElementToMarker(t,e){const n=this._markerNameToElements.get(e)||new Set;n.add(t);const o=this._elementToMarkerNames.get(t)||new Set;o.add(e),this._markerNameToElements.set(e,n),this._elementToMarkerNames.set(t,o)}unbindElementFromMarkerName(t,e){const n=this._markerNameToElements.get(e);n&&(n.delete(t),0==n.size&&this._markerNameToElements.delete(e));const o=this._elementToMarkerNames.get(t);o&&(o.delete(e),0==o.size&&this._elementToMarkerNames.delete(t))}flushUnboundMarkerNames(){const t=Array.from(this._unboundMarkerNames);return this._unboundMarkerNames.clear(),t}flushDeferredBindings(){for(const[t,e]of this._deferredBindingRemovals)t.root==e&&this.unbindViewElement(t);this._deferredBindingRemovals=new Map}clearBindings(){this._modelToViewMapping=new WeakMap,this._viewToModelMapping=new WeakMap,this._markerNameToElements=new Map,this._elementToMarkerNames=new Map,this._unboundMarkerNames=new Set,this._deferredBindingRemovals=new Map}toModelElement(t){return this._viewToModelMapping.get(t)}toViewElement(t){return this._modelToViewMapping.get(t)}toModelRange(t){return new Uc(this.toModelPosition(t.start),this.toModelPosition(t.end))}toViewRange(t){return new ys(this.toViewPosition(t.start),this.toViewPosition(t.end))}toModelPosition(t){const e={viewPosition:t,mapper:this};return this.fire("viewToModelPosition",e),e.modelPosition}toViewPosition(t,e={}){const n={modelPosition:t,mapper:this,isPhantom:e.isPhantom};return this.fire("modelToViewPosition",n),n.viewPosition}markerNameToElements(t){const e=this._markerNameToElements.get(t);if(!e)return null;const n=new Set;for(const t of e)if(t.is("attributeElement"))for(const e of t.getElementsWithSameId())n.add(e);else n.add(t);return n}registerViewToModelLength(t,e){this._viewToModelLengthCallbacks.set(t,e)}findMappedViewAncestor(t){let e=t.parent;for(;!this._viewToModelMapping.has(e);)e=e.parent;return e}_toModelOffset(t,e,n){if(n!=t){return this._toModelOffset(t.parent,t.index,n)+this._toModelOffset(t,e,t)}if(t.is("$text"))return e;let o=0;for(let n=0;n1?e[0]+":"+e[1]:e[0]}var Kc=Object.defineProperty,$c=Object.defineProperties,Yc=Object.getOwnPropertyDescriptors,Qc=Object.getOwnPropertySymbols,Zc=Object.prototype.hasOwnProperty,Jc=Object.prototype.propertyIsEnumerable,Xc=(t,e,n)=>e in t?Kc(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,tl=(t,e)=>{for(var n in e||(e={}))Zc.call(e,n)&&Xc(t,n,e[n]);if(Qc)for(var n of Qc(e))Jc.call(e,n)&&Xc(t,n,e[n]);return t},el=(t,e)=>$c(t,Yc(e));class nl extends(B()){constructor(t){super(),this._conversionApi=tl({dispatcher:this},t),this._firedEventsMap=new WeakMap}convertChanges(t,e,n){const o=this._createConversionApi(n,t.getRefreshedItems());for(const e of t.getMarkersToRemove())this._convertMarkerRemove(e.name,e.range,o);const i=this._reduceChanges(t.getChanges());for(const t of i)"insert"===t.type?this._convertInsert(Uc._createFromPositionAndShift(t.position,t.length),o):"reinsert"===t.type?this._convertReinsert(Uc._createFromPositionAndShift(t.position,t.length),o):"remove"===t.type?this._convertRemove(t.position,t.length,t.name,o):this._convertAttribute(t.range,t.attributeKey,t.attributeOldValue,t.attributeNewValue,o);o.mapper.flushDeferredBindings();for(const t of o.mapper.flushUnboundMarkerNames()){const n=e.get(t).getRange();this._convertMarkerRemove(t,n,o),this._convertMarkerAdd(t,n,o)}for(const e of t.getMarkersToAdd())this._convertMarkerAdd(e.name,e.range,o);o.consumable.verifyAllConsumed("insert")}convert(t,e,n,o={}){const i=this._createConversionApi(n,void 0,o);this._convertInsert(t,i);for(const[t,n]of e)this._convertMarkerAdd(t,n,i);i.consumable.verifyAllConsumed("insert")}convertSelection(t,e,n){const o=this._createConversionApi(n);this.fire("cleanSelection",{selection:t},o);const i=t.getFirstPosition().root;if(!o.mapper.toViewElement(i))return;const r=Array.from(e.getMarkersAtPosition(t.getFirstPosition()));if(this._addConsumablesForSelection(o.consumable,t,r),this.fire("selection",{selection:t},o),t.isCollapsed){for(const e of r)if(o.consumable.test(t,"addMarker:"+e.name)){const n=e.getRange();if(!ol(t.getFirstPosition(),e,o.mapper))continue;const i={item:t,markerName:e.name,markerRange:n};this.fire(`addMarker:${e.name}`,i,o)}for(const e of t.getAttributeKeys())if(o.consumable.test(t,"attribute:"+e)){const n={item:t,range:t.getFirstRange(),attributeKey:e,attributeOldValue:null,attributeNewValue:t.getAttribute(e)};this.fire(`attribute:${e}:$text`,n,o)}}}_convertInsert(t,e,n={}){n.doNotAddConsumables||this._addConsumablesForInsert(e.consumable,t);for(const n of Array.from(t.getWalker({shallow:!0})).map(il))this._testAndFire("insert",n,e)}_convertRemove(t,e,n,o){this.fire(`remove:${n}`,{position:t,length:e},o)}_convertAttribute(t,e,n,o,i){this._addConsumablesForRange(i.consumable,t,`attribute:${e}`);for(const r of t){const t={item:r.item,range:Uc._createFromPositionAndShift(r.previousPosition,r.length),attributeKey:e,attributeOldValue:n,attributeNewValue:o};this._testAndFire(`attribute:${e}`,t,i)}}_convertReinsert(t,e){const n=Array.from(t.getWalker({shallow:!0}));this._addConsumablesForInsert(e.consumable,n);for(const t of n.map(il))this._testAndFire("insert",el(tl({},t),{reconversion:!0}),e)}_convertMarkerAdd(t,e,n){if("$graveyard"==e.root.rootName)return;const o=`addMarker:${t}`;if(n.consumable.add(e,o),this.fire(o,{markerName:t,markerRange:e},n),n.consumable.consume(e,o)){this._addConsumablesForRange(n.consumable,e,o);for(const i of e.getItems()){if(!n.consumable.test(i,o))continue;const r={item:i,range:Uc._createOn(i),markerName:t,markerRange:e};this.fire(o,r,n)}}}_convertMarkerRemove(t,e,n){"$graveyard"!=e.root.rootName&&this.fire(`removeMarker:${t}`,{markerName:t,markerRange:e},n)}_reduceChanges(t){const e={changes:t};return this.fire("reduceChanges",e),e.changes}_addConsumablesForInsert(t,e){for(const n of e){const e=n.item;if(null===t.test(e,"insert")){t.add(e,"insert");for(const n of e.getAttributeKeys())t.add(e,"attribute:"+n)}}return t}_addConsumablesForRange(t,e,n){for(const o of e.getItems())t.add(o,n);return t}_addConsumablesForSelection(t,e,n){t.add(e,"selection");for(const o of n)t.add(e,"addMarker:"+o.name);for(const n of e.getAttributeKeys())t.add(e,"attribute:"+n);return t}_testAndFire(t,e,n){const o=function(t,e){const n=e.item.is("element")?e.item.name:"$text";return`${t}:${n}`}(t,e),i=e.item.is("$textProxy")?n.consumable._getSymbolForTextProxy(e.item):e.item,r=this._firedEventsMap.get(n),s=r.get(i);if(s){if(s.has(o))return;s.add(o)}else r.set(i,new Set([o]));this.fire(o,e,n)}_testAndFireAddAttributes(t,e){const n={item:t,range:Uc._createOn(t)};for(const t of n.item.getAttributeKeys())n.attributeKey=t,n.attributeOldValue=null,n.attributeNewValue=n.item.getAttribute(t),this._testAndFire(`attribute:${t}`,n,e)}_createConversionApi(t,e=new Set,n={}){const o=el(tl({},this._conversionApi),{consumable:new Gc,writer:t,options:n,convertItem:t=>this._convertInsert(Uc._createOn(t),o),convertChildren:t=>this._convertInsert(Uc._createIn(t),o,{doNotAddConsumables:!0}),convertAttributes:t=>this._testAndFireAddAttributes(t,o),canReuseView:t=>!e.has(o.mapper.toModelElement(t))});return this._firedEventsMap.set(o,new Map),o}}function ol(t,e,n){const o=e.getRange(),i=Array.from(t.getAncestors());i.shift(),i.reverse();return!i.some((t=>{if(o.containsItem(t)){return!!n.toViewElement(t).getCustomProperty("addHighlight")}}))}function il(t){return{item:t.item,range:Uc._createFromPositionAndShift(t.previousPosition,t.length)}}class rl extends(B(Mc)){constructor(...t){super(),this._lastRangeBackward=!1,this._attrs=new Map,this._ranges=[],t.length&&this.setTo(...t)}get anchor(){if(this._ranges.length>0){const t=this._ranges[this._ranges.length-1];return this._lastRangeBackward?t.end:t.start}return null}get focus(){if(this._ranges.length>0){const t=this._ranges[this._ranges.length-1];return this._lastRangeBackward?t.start:t.end}return null}get isCollapsed(){return 1===this._ranges.length&&this._ranges[0].isCollapsed}get rangeCount(){return this._ranges.length}get isBackward(){return!this.isCollapsed&&this._lastRangeBackward}isEqual(t){if(this.rangeCount!=t.rangeCount)return!1;if(0===this.rangeCount)return!0;if(!this.anchor.isEqual(t.anchor)||!this.focus.isEqual(t.focus))return!1;for(const e of this._ranges){let n=!1;for(const o of t._ranges)if(e.isEqual(o)){n=!0;break}if(!n)return!1}return!0}*getRanges(){for(const t of this._ranges)yield new Uc(t.start,t.end)}getFirstRange(){let t=null;for(const e of this._ranges)t&&!e.start.isBefore(t.start)||(t=e);return t?new Uc(t.start,t.end):null}getLastRange(){let t=null;for(const e of this._ranges)t&&!e.end.isAfter(t.end)||(t=e);return t?new Uc(t.start,t.end):null}getFirstPosition(){const t=this.getFirstRange();return t?t.start.clone():null}getLastPosition(){const t=this.getLastRange();return t?t.end.clone():null}setTo(...t){let[e,n,o]=t;if("object"==typeof n&&(o=n,n=void 0),null===e)this._setRanges([]);else if(e instanceof rl)this._setRanges(e.getRanges(),e.isBackward);else if(e&&"function"==typeof e.getRanges)this._setRanges(e.getRanges(),e.isBackward);else if(e instanceof Uc)this._setRanges([e],!!o&&!!o.backward);else if(e instanceof zc)this._setRanges([new Uc(e)]);else if(e instanceof Tc){const t=!!o&&!!o.backward;let i;if("in"==n)i=Uc._createIn(e);else if("on"==n)i=Uc._createOn(e);else{if(void 0===n)throw new _("model-selection-setto-required-second-parameter",[this,e]);i=new Uc(zc._createAt(e,n))}this._setRanges([i],t)}else{if(!nt(e))throw new _("model-selection-setto-not-selectable",[this,e]);this._setRanges(e,o&&!!o.backward)}}_setRanges(t,e=!1){const n=Array.from(t),o=n.some((e=>{if(!(e instanceof Uc))throw new _("model-selection-set-ranges-not-range",[this,t]);return this._ranges.every((t=>!t.isEqual(e)))}));(n.length!==this._ranges.length||o)&&(this._replaceAllRanges(n),this._lastRangeBackward=!!e,this.fire("change:range",{directChange:!0}))}setFocus(t,e){if(null===this.anchor)throw new _("model-selection-setfocus-no-ranges",[this,t]);const n=zc._createAt(t,e);if("same"==n.compareWith(this.focus))return;const o=this.anchor;this._ranges.length&&this._popRange(),"before"==n.compareWith(o)?(this._pushRange(new Uc(n,o)),this._lastRangeBackward=!0):(this._pushRange(new Uc(o,n)),this._lastRangeBackward=!1),this.fire("change:range",{directChange:!0})}getAttribute(t){return this._attrs.get(t)}getAttributes(){return this._attrs.entries()}getAttributeKeys(){return this._attrs.keys()}hasAttribute(t){return this._attrs.has(t)}removeAttribute(t){this.hasAttribute(t)&&(this._attrs.delete(t),this.fire("change:attribute",{attributeKeys:[t],directChange:!0}))}setAttribute(t,e){this.getAttribute(t)!==e&&(this._attrs.set(t,e),this.fire("change:attribute",{attributeKeys:[t],directChange:!0}))}getSelectedElement(){return 1!==this.rangeCount?null:this.getFirstRange().getContainedElement()}*getSelectedBlocks(){const t=new WeakSet;for(const e of this.getRanges()){const n=cl(e.start,t);dl(n,e)&&(yield n);for(const n of e.getWalker()){const o=n.item;"elementEnd"==n.type&&al(o,t,e)&&(yield o)}const o=cl(e.end,t);ul(o,e)&&(yield o)}}containsEntireContent(t=this.anchor.root){const e=zc._createAt(t,0),n=zc._createAt(t,"end");return e.isTouching(this.getFirstPosition())&&n.isTouching(this.getLastPosition())}_pushRange(t){this._checkRange(t),this._ranges.push(new Uc(t.start,t.end))}_checkRange(t){for(let e=0;e0;)this._popRange()}_popRange(){this._ranges.pop()}}function sl(t,e){return!e.has(t)&&(e.add(t),t.root.document.model.schema.isBlock(t)&&!!t.parent)}function al(t,e,n){return sl(t,e)&&ll(t,n)}function cl(t,e){const n=t.parent.root.document.model.schema,o=t.parent.getAncestors({parentFirst:!0,includeSelf:!0});let i=!1;const r=o.find((t=>!i&&(i=n.isLimit(t),!i&&sl(t,e))));return o.forEach((t=>e.add(t))),r}function ll(t,e){const n=function(t){const e=t.root.document.model.schema;let n=t.parent;for(;n;){if(e.isBlock(n))return n;n=n.parent}}(t);if(!n)return!0;return!e.containsRange(Uc._createOn(n),!0)}function dl(t,e){return!!t&&(!(!e.isCollapsed&&!t.isEmpty)||!e.start.isTouching(zc._createAt(t,t.maxOffset))&&ll(t,e))}function ul(t,e){return!!t&&(!(!e.isCollapsed&&!t.isEmpty)||!e.end.isTouching(zc._createAt(t,0))&&ll(t,e))}rl.prototype.is=function(t){return"selection"===t||"model:selection"===t};class hl extends(B(Uc)){constructor(t,e){super(t,e),gl.call(this)}detach(){this.stopListening()}toRange(){return new Uc(this.start,this.end)}static fromRange(t){return new hl(t.start,t.end)}}function gl(){this.listenTo(this.root.document.model,"applyOperation",((t,e)=>{const n=e[0];n.isDocumentOperation&&ml.call(this,n)}),{priority:"low"})}function ml(t){const e=this.getTransformedByOperation(t),n=Uc._createFromRanges(e),o=!n.isEqual(this),i=function(t,e){switch(e.type){case"insert":return t.containsPosition(e.position);case"move":case"remove":case"reinsert":case"merge":return t.containsPosition(e.sourcePosition)||t.start.isEqual(e.sourcePosition)||t.containsPosition(e.targetPosition);case"split":return t.containsPosition(e.splitPosition)||t.containsPosition(e.insertionPosition)}return!1}(this,t);let r=null;if(o){"$graveyard"==n.root.rootName&&(r="remove"==t.type?t.sourcePosition:t.deletionPosition);const e=this.toRange();this.start=n.start,this.end=n.end,this.fire("change:range",e,{deletionPosition:r})}else i&&this.fire("change:content",this.toRange(),{deletionPosition:r})}hl.prototype.is=function(t){return"liveRange"===t||"model:liveRange"===t||"range"==t||"model:range"===t};const pl="selection:";class fl extends(B(Mc)){constructor(t){super(),this._selection=new kl(t),this._selection.delegate("change:range").to(this),this._selection.delegate("change:attribute").to(this),this._selection.delegate("change:marker").to(this)}get isCollapsed(){return this._selection.isCollapsed}get anchor(){return this._selection.anchor}get focus(){return this._selection.focus}get rangeCount(){return this._selection.rangeCount}get hasOwnRange(){return this._selection.hasOwnRange}get isBackward(){return this._selection.isBackward}get isGravityOverridden(){return this._selection.isGravityOverridden}get markers(){return this._selection.markers}get _ranges(){return this._selection._ranges}getRanges(){return this._selection.getRanges()}getFirstPosition(){return this._selection.getFirstPosition()}getLastPosition(){return this._selection.getLastPosition()}getFirstRange(){return this._selection.getFirstRange()}getLastRange(){return this._selection.getLastRange()}getSelectedBlocks(){return this._selection.getSelectedBlocks()}getSelectedElement(){return this._selection.getSelectedElement()}containsEntireContent(t){return this._selection.containsEntireContent(t)}destroy(){this._selection.destroy()}getAttributeKeys(){return this._selection.getAttributeKeys()}getAttributes(){return this._selection.getAttributes()}getAttribute(t){return this._selection.getAttribute(t)}hasAttribute(t){return this._selection.hasAttribute(t)}refresh(){this._selection.updateMarkers(),this._selection._updateAttributes(!1)}observeMarkers(t){this._selection.observeMarkers(t)}_setFocus(t,e){this._selection.setFocus(t,e)}_setTo(...t){this._selection.setTo(...t)}_setAttribute(t,e){this._selection.setAttribute(t,e)}_removeAttribute(t){this._selection.removeAttribute(t)}_getStoredAttributes(){return this._selection.getStoredAttributes()}_overrideGravity(){return this._selection.overrideGravity()}_restoreGravity(t){this._selection.restoreGravity(t)}static _getStoreAttributeKey(t){return pl+t}static _isStoreAttributeKey(t){return t.startsWith(pl)}}fl.prototype.is=function(t){return"selection"===t||"model:selection"==t||"documentSelection"==t||"model:documentSelection"==t};class kl extends rl{constructor(t){super(),this.markers=new Yi({idProperty:"name"}),this._attributePriority=new Map,this._selectionRestorePosition=null,this._hasChangedRange=!1,this._overriddenGravityRegister=new Set,this._observedMarkers=new Set,this._model=t.model,this._document=t,this.listenTo(this._model,"applyOperation",((t,e)=>{const n=e[0];n.isDocumentOperation&&"marker"!=n.type&&"rename"!=n.type&&"noop"!=n.type&&(0==this._ranges.length&&this._selectionRestorePosition&&this._fixGraveyardSelection(this._selectionRestorePosition),this._selectionRestorePosition=null,this._hasChangedRange&&(this._hasChangedRange=!1,this.fire("change:range",{directChange:!1})))}),{priority:"lowest"}),this.on("change:range",(()=>{this._validateSelectionRanges(this.getRanges())})),this.listenTo(this._model.markers,"update",((t,e,n,o)=>{this._updateMarker(e,o)})),this.listenTo(this._document,"change",((t,e)=>{!function(t,e){const n=t.document.differ;for(const o of n.getChanges()){if("insert"!=o.type)continue;const n=o.position.parent;o.length===n.maxOffset&&t.enqueueChange(e,(t=>{const e=Array.from(n.getAttributeKeys()).filter((t=>t.startsWith(pl)));for(const o of e)t.removeAttribute(o,n)}))}}(this._model,e)}))}get isCollapsed(){return 0===this._ranges.length?this._document._getDefaultRange().isCollapsed:super.isCollapsed}get anchor(){return super.anchor||this._document._getDefaultRange().start}get focus(){return super.focus||this._document._getDefaultRange().end}get rangeCount(){return this._ranges.length?this._ranges.length:1}get hasOwnRange(){return this._ranges.length>0}get isGravityOverridden(){return!!this._overriddenGravityRegister.size}destroy(){for(let t=0;t{if(this._hasChangedRange=!0,e.root==this._document.graveyard){this._selectionRestorePosition=o.deletionPosition;const t=this._ranges.indexOf(e);this._ranges.splice(t,1),e.detach()}})),e}updateMarkers(){if(!this._observedMarkers.size)return;const t=[];let e=!1;for(const e of this._model.markers){const n=e.name.split(":",1)[0];if(!this._observedMarkers.has(n))continue;const o=e.getRange();for(const n of this.getRanges())o.containsRange(n,!n.isCollapsed)&&t.push(e)}const n=Array.from(this.markers);for(const n of t)this.markers.has(n)||(this.markers.add(n),e=!0);for(const n of Array.from(this.markers))t.includes(n)||(this.markers.remove(n),e=!0);e&&this.fire("change:marker",{oldMarkers:n,directChange:!1})}_updateMarker(t,e){const n=t.name.split(":",1)[0];if(!this._observedMarkers.has(n))return;let o=!1;const i=Array.from(this.markers),r=this.markers.has(t);if(e){let n=!1;for(const t of this.getRanges())if(e.containsRange(t,!t.isCollapsed)){n=!0;break}n&&!r?(this.markers.add(t),o=!0):!n&&r&&(this.markers.remove(t),o=!0)}else r&&(this.markers.remove(t),o=!0);o&&this.fire("change:marker",{oldMarkers:i,directChange:!1})}_updateAttributes(t){const e=Xi(this._getSurroundingAttributes()),n=Xi(this.getAttributes());if(t)this._attributePriority=new Map,this._attrs=new Map;else for(const[t,e]of this._attributePriority)"low"==e&&(this._attrs.delete(t),this._attributePriority.delete(t));this._setAttributesTo(e);const o=[];for(const[t,e]of this.getAttributes())n.has(t)&&n.get(t)===e||o.push(t);for(const[t]of n)this.hasAttribute(t)||o.push(t);o.length>0&&this.fire("change:attribute",{attributeKeys:o,directChange:!1})}_setAttribute(t,e,n=!0){const o=n?"normal":"low";if("low"==o&&"normal"==this._attributePriority.get(t))return!1;return super.getAttribute(t)!==e&&(this._attrs.set(t,e),this._attributePriority.set(t,o),!0)}_removeAttribute(t,e=!0){const n=e?"normal":"low";return("low"!=n||"normal"!=this._attributePriority.get(t))&&(this._attributePriority.set(t,n),!!super.hasAttribute(t)&&(this._attrs.delete(t),!0))}_setAttributesTo(t){const e=new Set;for(const[e,n]of this.getAttributes())t.get(e)!==n&&this._removeAttribute(e,!1);for(const[n,o]of t){this._setAttribute(n,o,!1)&&e.add(n)}return e}*getStoredAttributes(){const t=this.getFirstPosition().parent;if(this.isCollapsed&&t.isEmpty)for(const e of t.getAttributeKeys())if(e.startsWith(pl)){const n=e.substr(10);yield[n,t.getAttribute(e)]}}_getSurroundingAttributes(){const t=this.getFirstPosition(),e=this._model.schema;if("$graveyard"==t.root.rootName)return null;let n=null;if(this.isCollapsed){const o=t.textNode?t.textNode:t.nodeBefore,i=t.textNode?t.textNode:t.nodeAfter;if(this.isGravityOverridden||(n=bl(o,e)),n||(n=bl(i,e)),!this.isGravityOverridden&&!n){let t=o;for(;t&&!n;)t=t.previousSibling,n=bl(t,e)}if(!n){let t=i;for(;t&&!n;)t=t.nextSibling,n=bl(t,e)}n||(n=this.getStoredAttributes())}else{const t=this.getFirstRange();for(const o of t){if(o.item.is("element")&&e.isObject(o.item)){n=bl(o.item,e);break}if("text"==o.type){n=o.item.getAttributes();break}}}return n}_fixGraveyardSelection(t){const e=this._model.schema.getNearestSelectionRange(t);e&&this._pushRange(e)}}function bl(t,e){if(!t)return null;if(t instanceof Nc||t instanceof Bc)return t.getAttributes();if(!e.isInline(t))return null;if(!e.isObject(t))return[];const n=[];for(const[o,i]of t.getAttributes())e.checkAttribute("$text",o)&&!1!==e.getAttributeProperties(o).copyFromObject&&n.push([o,i]);return n}class wl{constructor(t){this._dispatchers=t}add(t){for(const e of this._dispatchers)t(e);return this}}class Al extends wl{elementToElement(t){return this.add(function(t){const e=vl(t.model),n=yl(t.view,"container");e.attributes.length&&(e.children=!0);return o=>{o.on(`insert:${e.name}`,function(t,e=Bl){return(n,o,i)=>{if(!e(o.item,i.consumable,{preflight:!0}))return;const r=t(o.item,i,o);if(!r)return;e(o.item,i.consumable);const s=i.mapper.toViewPosition(o.range.start);i.mapper.bindElements(o.item,r),i.writer.insert(s,r),i.convertAttributes(o.item),Tl(r,o.item.getChildren(),i,{reconversion:o.reconversion})}}(n,Ml(e)),{priority:t.converterPriority||"normal"}),(e.children||e.attributes.length)&&o.on("reduceChanges",Il(e),{priority:"low"})}}(t))}elementToStructure(t){return this.add(function(t){const e=vl(t.model),n=yl(t.view,"container");return e.children=!0,o=>{if(o._conversionApi.schema.checkChild(e.name,"$text"))throw new _("conversion-element-to-structure-disallowed-text",o,{elementName:e.name});var i,r;o.on(`insert:${e.name}`,(i=n,r=Ml(e),(t,e,n)=>{if(!r(e.item,n.consumable,{preflight:!0}))return;const o=new Map;n.writer._registerSlotFactory(function(t,e,n){return(o,i)=>{const r=o.createContainerElement("$slot");let s=null;if("children"===i)s=Array.from(t.getChildren());else{if("function"!=typeof i)throw new _("conversion-slot-mode-unknown",n.dispatcher,{modeOrFilter:i});s=Array.from(t.getChildren()).filter((t=>i(t)))}return e.set(r,s),r}}(e.item,o,n));const s=i(e.item,n,e);if(n.writer._clearSlotFactory(),!s)return;!function(t,e,n){const o=Array.from(e.values()).flat(),i=new Set(o);if(i.size!=o.length)throw new _("conversion-slot-filter-overlap",n.dispatcher,{element:t});if(i.size!=t.childCount)throw new _("conversion-slot-filter-incomplete",n.dispatcher,{element:t})}(e.item,o,n),r(e.item,n.consumable);const a=n.mapper.toViewPosition(e.range.start);n.mapper.bindElements(e.item,s),n.writer.insert(a,s),n.convertAttributes(e.item),function(t,e,n,o){n.mapper.on("modelToViewPosition",s,{priority:"highest"});let i=null,r=null;for([i,r]of e)Tl(t,r,n,o),n.writer.move(n.writer.createRangeIn(i),n.writer.createPositionBefore(i)),n.writer.remove(i);function s(t,e){const n=e.modelPosition.nodeAfter,o=r.indexOf(n);o<0||(e.viewPosition=e.mapper.findPositionIn(i,o))}n.mapper.off("modelToViewPosition",s)}(s,o,n,{reconversion:e.reconversion})}),{priority:t.converterPriority||"normal"}),o.on("reduceChanges",Il(e),{priority:"low"})}}(t))}attributeToElement(t){return this.add(function(t){t=Dc(t);let e=t.model;"string"==typeof e&&(e={key:e});let n=`attribute:${e.key}`;e.name&&(n+=":"+e.name);if(e.values)for(const n of e.values)t.view[n]=yl(t.view[n],"attribute");else t.view=yl(t.view,"attribute");const o=xl(t);return e=>{e.on(n,function(t){return(e,n,o)=>{if(!o.consumable.test(n.item,e.name))return;const i=t(n.attributeOldValue,o,n),r=t(n.attributeNewValue,o,n);if(!i&&!r)return;o.consumable.consume(n.item,e.name);const s=o.writer,a=s.document.selection;if(n.item instanceof rl||n.item instanceof fl)s.wrap(a.getFirstRange(),r);else{let t=o.mapper.toViewRange(n.range);null!==n.attributeOldValue&&i&&(t=s.unwrap(t,i)),null!==n.attributeNewValue&&r&&s.wrap(t,r)}}}(o),{priority:t.converterPriority||"normal"})}}(t))}attributeToAttribute(t){return this.add(function(t){t=Dc(t);let e=t.model;"string"==typeof e&&(e={key:e});let n=`attribute:${e.key}`;e.name&&(n+=":"+e.name);if(e.values)for(const n of e.values)t.view[n]=El(t.view[n]);else t.view=El(t.view);const o=xl(t);return e=>{var i;e.on(n,(i=o,(t,e,n)=>{if(!n.consumable.test(e.item,t.name))return;const o=i(e.attributeOldValue,n,e),r=i(e.attributeNewValue,n,e);if(!o&&!r)return;n.consumable.consume(e.item,t.name);const s=n.mapper.toViewElement(e.item),a=n.writer;if(!s)throw new _("conversion-attribute-to-attribute-on-text",n.dispatcher,e);if(null!==e.attributeOldValue&&o)if("class"==o.key){const t="string"==typeof o.value?o.value.split(/\s+/):o.value;for(const e of t)a.removeClass(e,s)}else if("style"==o.key)if("string"==typeof o.value){const t=new us(a.document.stylesProcessor);t.setTo(o.value);for(const[e]of t.getStylesEntries())a.removeStyle(e,s)}else{const t=Object.keys(o.value);for(const e of t)a.removeStyle(e,s)}else a.removeAttribute(o.key,s);if(null!==e.attributeNewValue&&r)if("class"==r.key){const t="string"==typeof r.value?r.value.split(/\s+/):r.value;for(const e of t)a.addClass(e,s)}else if("style"==r.key)if("string"==typeof r.value){const t=new us(a.document.stylesProcessor);t.setTo(r.value);for(const[e,n]of t.getStylesEntries())a.setStyle(e,n,s)}else{const t=Object.keys(r.value);for(const e of t)a.setStyle(e,r.value[e],s)}else a.setAttribute(r.key,r.value,s)}),{priority:t.converterPriority||"normal"})}}(t))}markerToElement(t){return this.add(function(t){const e=yl(t.view,"ui");return n=>{var o;n.on(`addMarker:${t.model}`,(o=e,(t,e,n)=>{e.isOpening=!0;const i=o(e,n);e.isOpening=!1;const r=o(e,n);if(!i||!r)return;const s=e.markerRange;if(s.isCollapsed&&!n.consumable.consume(s,t.name))return;for(const e of s)if(!n.consumable.consume(e.item,t.name))return;const a=n.mapper,c=n.writer;c.insert(a.toViewPosition(s.start),i),n.mapper.bindElementToMarker(i,e.markerName),s.isCollapsed||(c.insert(a.toViewPosition(s.end),r),n.mapper.bindElementToMarker(r,e.markerName)),t.stop()}),{priority:t.converterPriority||"normal"}),n.on(`removeMarker:${t.model}`,((t,e,n)=>{const o=n.mapper.markerNameToElements(e.markerName);if(o){for(const t of o)n.mapper.unbindElementFromMarkerName(t,e.markerName),n.writer.clear(n.writer.createRangeOn(t),t);n.writer.clearClonedElementsGroup(e.markerName),t.stop()}}),{priority:t.converterPriority||"normal"})}}(t))}markerToHighlight(t){return this.add(function(t){return e=>{var n;e.on(`addMarker:${t.model}`,(n=t.view,(t,e,o)=>{if(!e.item)return;if(!(e.item instanceof rl||e.item instanceof fl||e.item.is("$textProxy")))return;const i=Dl(n,e,o);if(!i)return;if(!o.consumable.consume(e.item,t.name))return;const r=o.writer,s=_l(r,i),a=r.document.selection;if(e.item instanceof rl||e.item instanceof fl)r.wrap(a.getFirstRange(),s);else{const t=o.mapper.toViewRange(e.range),n=r.wrap(t,s);for(const t of n.getItems())if(t.is("attributeElement")&&t.isSimilar(s)){o.mapper.bindElementToMarker(t,e.markerName);break}}}),{priority:t.converterPriority||"normal"}),e.on(`addMarker:${t.model}`,function(t){return(e,n,o)=>{if(!n.item)return;if(!(n.item instanceof Pc))return;const i=Dl(t,n,o);if(!i)return;if(!o.consumable.test(n.item,e.name))return;const r=o.mapper.toViewElement(n.item);if(r&&r.getCustomProperty("addHighlight")){o.consumable.consume(n.item,e.name);for(const t of Uc._createIn(n.item))o.consumable.consume(t.item,e.name);r.getCustomProperty("addHighlight")(r,i,o.writer),o.mapper.bindElementToMarker(r,n.markerName)}}}(t.view),{priority:t.converterPriority||"normal"}),e.on(`removeMarker:${t.model}`,function(t){return(e,n,o)=>{if(n.markerRange.isCollapsed)return;const i=Dl(t,n,o);if(!i)return;const r=_l(o.writer,i),s=o.mapper.markerNameToElements(n.markerName);if(s){for(const t of s)if(o.mapper.unbindElementFromMarkerName(t,n.markerName),t.is("attributeElement"))o.writer.unwrap(o.writer.createRangeOn(t),r);else{t.getCustomProperty("removeHighlight")(t,i.id,o.writer)}o.writer.clearClonedElementsGroup(n.markerName),e.stop()}}}(t.view),{priority:t.converterPriority||"normal"})}}(t))}markerToData(t){return this.add(function(t){t=Dc(t);const e=t.model;let n=t.view;n||(n=n=>({group:e,name:n.substr(t.model.length+1)}));return o=>{var i;o.on(`addMarker:${e}`,(i=n,(t,e,n)=>{const o=i(e.markerName,n);if(!o)return;const r=e.markerRange;n.consumable.consume(r,t.name)&&(Cl(r,!1,n,e,o),Cl(r,!0,n,e,o),t.stop())}),{priority:t.converterPriority||"normal"}),o.on(`removeMarker:${e}`,function(t){return(e,n,o)=>{const i=t(n.markerName,o);if(!i)return;const r=o.mapper.markerNameToElements(n.markerName);if(r){for(const t of r)o.mapper.unbindElementFromMarkerName(t,n.markerName),t.is("containerElement")?(s(`data-${i.group}-start-before`,t),s(`data-${i.group}-start-after`,t),s(`data-${i.group}-end-before`,t),s(`data-${i.group}-end-after`,t)):o.writer.clear(o.writer.createRangeOn(t),t);o.writer.clearClonedElementsGroup(n.markerName),e.stop()}function s(t,e){if(e.hasAttribute(t)){const n=new Set(e.getAttribute(t).split(","));n.delete(i.name),0==n.size?o.writer.removeAttribute(t,e):o.writer.setAttribute(t,Array.from(n).join(","),e)}}}}(n),{priority:t.converterPriority||"normal"})}}(t))}}function _l(t,e){const n=t.createAttributeElement("span",e.attributes);return e.classes&&n._addClass(e.classes),"number"==typeof e.priority&&(n._priority=e.priority),n._id=e.id,n}function Cl(t,e,n,o,i){const r=e?t.start:t.end,s=r.nodeAfter&&r.nodeAfter.is("element")?r.nodeAfter:null,a=r.nodeBefore&&r.nodeBefore.is("element")?r.nodeBefore:null;if(s||a){let t,r;e&&s||!e&&!a?(t=s,r=!0):(t=a,r=!1);const c=n.mapper.toViewElement(t);if(c)return void function(t,e,n,o,i,r){const s=`data-${r.group}-${e?"start":"end"}-${n?"before":"after"}`,a=t.hasAttribute(s)?t.getAttribute(s).split(","):[];a.unshift(r.name),o.writer.setAttribute(s,a.join(","),t),o.mapper.bindElementToMarker(t,i.markerName)}(c,e,r,n,o,i)}!function(t,e,n,o,i){const r=`${i.group}-${e?"start":"end"}`,s=i.name?{name:i.name}:null,a=n.writer.createUIElement(r,s);n.writer.insert(t,a),n.mapper.bindElementToMarker(a,o.markerName)}(n.mapper.toViewPosition(r),e,n,o,i)}function vl(t){return"string"==typeof t&&(t={name:t}),{name:t.name,attributes:t.attributes?yi(t.attributes):[],children:!!t.children}}function yl(t,e){return"function"==typeof t?t:(n,o)=>function(t,e,n){"string"==typeof t&&(t={name:t});let o;const i=e.writer,r=Object.assign({},t.attributes);if("container"==n)o=i.createContainerElement(t.name,r);else if("attribute"==n){const e={priority:t.priority||Ls.DEFAULT_PRIORITY};o=i.createAttributeElement(t.name,r,e)}else o=i.createUIElement(t.name,r);if(t.styles){const e=Object.keys(t.styles);for(const n of e)i.setStyle(n,t.styles[n],o)}if(t.classes){const e=t.classes;if("string"==typeof e)i.addClass(e,o);else for(const t of e)i.addClass(t,o)}return o}(t,o,e)}function xl(t){return t.model.values?(e,n,o)=>{const i=t.view[e];return i?i(e,n,o):null}:t.view}function El(t){return"string"==typeof t?e=>({key:t,value:e}):"object"==typeof t?t.value?()=>t:e=>({key:t.key,value:e}):t}function Dl(t,e,n){const o="function"==typeof t?t(e,n):t;return o?(o.priority||(o.priority=10),o.id||(o.id=e.markerName),o):null}function Il(t){const e=function(t){return(e,n)=>{if(!e.is("element",t.name))return!1;if("attribute"==n.type){if(t.attributes.includes(n.attributeKey))return!0}else if(t.children)return!0;return!1}}(t);return(t,n)=>{const o=[];n.reconvertedElements||(n.reconvertedElements=new Set);for(const t of n.changes){const i="attribute"==t.type?t.range.start.nodeAfter:t.position.parent;if(i&&e(i,t)){if(!n.reconvertedElements.has(i)){n.reconvertedElements.add(i);const t=zc._createBefore(i);let e=o.length;for(let n=o.length-1;n>=0;n--){const i=o[n],r=("attribute"==i.type?i.range.start:i.position).compareWith(t);if("before"==r||"remove"==i.type&&"same"==r)break;e=n}o.splice(e,0,{type:"remove",name:i.name,position:t,length:1},{type:"reinsert",name:i.name,position:t,length:1})}}else o.push(t)}n.changes=o}}function Ml(t){return(e,n,o={})=>{const i=["insert"];for(const n of t.attributes)e.hasAttribute(n)&&i.push(`attribute:${n}`);return!!i.every((t=>n.test(e,t)))&&(o.preflight||i.forEach((t=>n.consume(e,t))),!0)}}function Tl(t,e,n,o){for(const i of e)Sl(t.root,i,n,o)||n.convertItem(i)}function Sl(t,e,n,o){const{writer:i,mapper:r}=n;if(!o.reconversion)return!1;const s=r.toViewElement(e);return!(!s||s.root==t)&&(!!n.canReuseView(s)&&(i.move(i.createRangeOn(s),r.toViewPosition(zc._createBefore(e))),!0))}function Bl(t,e,{preflight:n}={}){return n?e.test(t,"insert"):e.consume(t,"insert")}function Nl(t){const{schema:e,document:n}=t.model;for(const o of n.getRoots())if(o.isEmpty&&!e.checkChild(o,"$text")&&e.checkChild(o,"paragraph"))return t.insertElement("paragraph",o),!0;return!1}function Pl(t,e,n){const o=n.createContext(t);return!!n.checkChild(o,"paragraph")&&!!n.checkChild(o.push("paragraph"),e)}function Ol(t,e){const n=e.createElement("paragraph");return e.insert(n,t),e.createPositionAt(n,0)}var Ll=Object.defineProperty,zl=Object.defineProperties,Rl=Object.getOwnPropertyDescriptors,jl=Object.getOwnPropertySymbols,Fl=Object.prototype.hasOwnProperty,Vl=Object.prototype.propertyIsEnumerable,Hl=(t,e,n)=>e in t?Ll(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;class Ul extends wl{elementToElement(t){return this.add(ql(t))}elementToAttribute(t){return this.add(function(t){t=Dc(t),Kl(t);const e=$l(t,!1),n=Gl(t.view),o=n?`element:${n}`:"element";return n=>{n.on(o,e,{priority:t.converterPriority||"low"})}}(t))}attributeToAttribute(t){return this.add(function(t){t=Dc(t);let e=null;("string"==typeof t.view||t.view.key)&&(e=function(t){"string"==typeof t.view&&(t.view={key:t.view});const e=t.view.key,n=void 0===t.view.value?/[\s\S]*/:t.view.value;let o;if("class"==e||"style"==e){const t="class"==e?"classes":"styles";o={[t]:n}}else o={attributes:{[e]:n}};t.view.name&&(o.name=t.view.name);return t.view=o,e}(t));Kl(t,e);const n=$l(t,!0);return e=>{e.on("element",n,{priority:t.converterPriority||"low"})}}(t))}elementToMarker(t){return this.add(function(t){const e=function(t){return(e,n)=>{const o="string"==typeof t?t:t(e,n);return n.writer.createElement("$marker",{"data-name":o})}}(t.model);return ql((n=((t,e)=>{for(var n in e||(e={}))Fl.call(e,n)&&Hl(t,n,e[n]);if(jl)for(var n of jl(e))Vl.call(e,n)&&Hl(t,n,e[n]);return t})({},t),o={model:e},zl(n,Rl(o))));var n,o}(t))}dataToMarker(t){return this.add(function(t){t=Dc(t),t.model||(t.model=e=>e?t.view+":"+e:t.view);const e={view:t.view,model:t.model},n=Wl(Yl(e,"start")),o=Wl(Yl(e,"end"));return i=>{i.on(`element:${t.view}-start`,n,{priority:t.converterPriority||"normal"}),i.on(`element:${t.view}-end`,o,{priority:t.converterPriority||"normal"});const r=b.low,s=b.highest,a=b.get(t.converterPriority)/s;i.on("element",function(t){return(e,n,o)=>{const i=`data-${t.view}`;function r(e,i){for(const r of i){const i=t.model(r,o),s=o.writer.createElement("$marker",{"data-name":i});o.writer.insert(s,e),n.modelCursor.isEqual(e)?n.modelCursor=n.modelCursor.getShiftedBy(1):n.modelCursor=n.modelCursor._getTransformedByInsertion(e,1),n.modelRange=n.modelRange._getTransformedByInsertion(e,1)[0]}}(o.consumable.test(n.viewItem,{attributes:i+"-end-after"})||o.consumable.test(n.viewItem,{attributes:i+"-start-after"})||o.consumable.test(n.viewItem,{attributes:i+"-end-before"})||o.consumable.test(n.viewItem,{attributes:i+"-start-before"}))&&(n.modelRange||Object.assign(n,o.convertChildren(n.viewItem,n.modelCursor)),o.consumable.consume(n.viewItem,{attributes:i+"-end-after"})&&r(n.modelRange.end,n.viewItem.getAttribute(i+"-end-after").split(",")),o.consumable.consume(n.viewItem,{attributes:i+"-start-after"})&&r(n.modelRange.end,n.viewItem.getAttribute(i+"-start-after").split(",")),o.consumable.consume(n.viewItem,{attributes:i+"-end-before"})&&r(n.modelRange.start,n.viewItem.getAttribute(i+"-end-before").split(",")),o.consumable.consume(n.viewItem,{attributes:i+"-start-before"})&&r(n.modelRange.start,n.viewItem.getAttribute(i+"-start-before").split(",")))}}(e),{priority:r+a})}}(t))}}function ql(t){const e=Wl(t=Dc(t)),n=Gl(t.view),o=n?`element:${n}`:"element";return n=>{n.on(o,e,{priority:t.converterPriority||"normal"})}}function Gl(t){return"string"==typeof t?t:"object"==typeof t&&"string"==typeof t.name?t.name:null}function Wl(t){const e=new Or(t.view);return(n,o,i)=>{const r=e.match(o.viewItem);if(!r)return;const s=r.match;if(s.name=!0,!i.consumable.test(o.viewItem,s))return;const a=function(t,e,n){return t instanceof Function?t(e,n):n.writer.createElement(t)}(t.model,o.viewItem,i);a&&i.safeInsert(a,o.modelCursor)&&(i.consumable.consume(o.viewItem,s),i.convertChildren(o.viewItem,a),i.updateConversionResult(a,o))}}function Kl(t,e=null){const n=null===e||(t=>t.getAttribute(e)),o="object"!=typeof t.model?t.model:t.model.key,i="object"!=typeof t.model||void 0===t.model.value?n:t.model.value;t.model={key:o,value:i}}function $l(t,e){const n=new Or(t.view);return(o,i,r)=>{if(!i.modelRange&&e)return;const s=n.match(i.viewItem);if(!s)return;if(!function(t,e){const n="function"==typeof t?t(e):t;if("object"==typeof n&&!Gl(n))return!1;return!n.classes&&!n.attributes&&!n.styles}(t.view,i.viewItem)?delete s.match.name:s.match.name=!0,!r.consumable.test(i.viewItem,s.match))return;const a=t.model.key,c="function"==typeof t.model.value?t.model.value(i.viewItem,r):t.model.value;if(null===c)return;i.modelRange||Object.assign(i,r.convertChildren(i.viewItem,i.modelCursor));const l=function(t,e,n,o){let i=!1;for(const r of Array.from(t.getItems({shallow:n})))o.schema.checkAttribute(r,e.key)&&(i=!0,r.hasAttribute(e.key)||o.writer.setAttribute(e.key,e.value,r));return i}(i.modelRange,{key:a,value:c},e,r);l&&(r.consumable.test(i.viewItem,{name:!0})&&(s.match.name=!0),r.consumable.consume(i.viewItem,s.match))}}function Yl(t,e){return{view:`${t.view}-${e}`,model:(e,n)=>{const o=e.getAttribute("name"),i=t.model(o,n);return n.writer.createElement("$marker",{"data-name":i})}}}function Ql(t){t.document.registerPostFixer((e=>function(t,e){const n=e.document.selection,o=e.schema,i=[];let r=!1;for(const t of n.getRanges()){const e=Zl(t,o);e&&!e.isEqual(t)?(i.push(e),r=!0):i.push(t)}r&&t.setSelection(function(t){const e=[...t],n=new Set;let o=1;for(;o!n.has(e)))}(i),{backward:n.isBackward});return!1}(e,t)))}function Zl(t,e){return t.isCollapsed?function(t,e){const n=t.start,o=e.getNearestSelectionRange(n);if(!o){const t=n.getAncestors().reverse().find((t=>e.isObject(t)));return t?Uc._createOn(t):null}if(!o.isCollapsed)return o;const i=o.start;if(n.isEqual(i))return null;return new Uc(i)}(t,e):function(t,e){const{start:n,end:o}=t,i=e.checkChild(n,"$text"),r=e.checkChild(o,"$text"),s=e.getLimitElement(n),a=e.getLimitElement(o);if(s===a){if(i&&r)return null;if(function(t,e,n){const o=t.nodeAfter&&!n.isLimit(t.nodeAfter)||n.checkChild(t,"$text"),i=e.nodeBefore&&!n.isLimit(e.nodeBefore)||n.checkChild(e,"$text");return o||i}(n,o,e)){const t=n.nodeAfter&&e.isSelectable(n.nodeAfter)?null:e.getNearestSelectionRange(n,"forward"),i=o.nodeBefore&&e.isSelectable(o.nodeBefore)?null:e.getNearestSelectionRange(o,"backward"),r=t?t.start:n,s=i?i.end:o;return new Uc(r,s)}}const c=s&&!s.is("rootElement"),l=a&&!a.is("rootElement");if(c||l){const t=n.nodeAfter&&o.nodeBefore&&n.nodeAfter.parent===o.nodeBefore.parent,i=c&&(!t||!Xl(n.nodeAfter,e)),r=l&&(!t||!Xl(o.nodeBefore,e));let d=n,u=o;return i&&(d=zc._createBefore(Jl(s,e))),r&&(u=zc._createAfter(Jl(a,e))),new Uc(d,u)}return null}(t,e)}function Jl(t,e){let n=t,o=n;for(;e.isLimit(o)&&o.parent;)n=o,o=o.parent;return n}function Xl(t,e){return t&&e.isSelectable(t)}class td extends(K()){constructor(t,e){super(),this.model=t,this.view=new Ic(e),this.mapper=new qc,this.downcastDispatcher=new nl({mapper:this.mapper,schema:t.schema});const n=this.model.document,o=n.selection,i=this.model.markers;var r,s,a;this.listenTo(this.model,"_beforeChanges",(()=>{this.view._disableRendering(!0)}),{priority:"highest"}),this.listenTo(this.model,"_afterChanges",(()=>{this.view._disableRendering(!1)}),{priority:"lowest"}),this.listenTo(n,"change",(()=>{this.view.change((t=>{this.downcastDispatcher.convertChanges(n.differ,i,t),this.downcastDispatcher.convertSelection(o,i,t)}))}),{priority:"low"}),this.listenTo(this.view.document,"selectionChange",function(t,e){return(n,o)=>{const i=o.newSelection,r=[];for(const t of i.getRanges())r.push(e.toModelRange(t));const s=t.createSelection(r,{backward:i.isBackward});s.isEqual(t.document.selection)||t.change((t=>{t.setSelection(s)}))}}(this.model,this.mapper)),this.listenTo(this.view.document,"beforeinput",(r=this.mapper,s=this.model.schema,a=this.view,(t,e)=>{if(!a.document.isComposing||c.isAndroid)for(let t=0;t{if(!n.consumable.consume(e.item,t.name))return;const o=n.writer,i=n.mapper.toViewPosition(e.range.start),r=o.createText(e.item.data);o.insert(i,r)}),{priority:"lowest"}),this.downcastDispatcher.on("insert",((t,e,n)=>{n.convertAttributes(e.item),e.reconversion||!e.item.is("element")||e.item.isEmpty||n.convertChildren(e.item)}),{priority:"lowest"}),this.downcastDispatcher.on("remove",((t,e,n)=>{const o=n.mapper.toViewPosition(e.position),i=e.position.getShiftedBy(e.length),r=n.mapper.toViewPosition(i,{isPhantom:!0}),s=n.writer.createRange(o,r),a=n.writer.remove(s.getTrimmed());for(const t of n.writer.createRangeIn(a).getItems())n.mapper.unbindViewElement(t,{defer:!0})}),{priority:"low"}),this.downcastDispatcher.on("cleanSelection",((t,e,n)=>{const o=n.writer,i=o.document.selection;for(const t of i.getRanges())t.isCollapsed&&t.end.parent.isAttached()&&n.writer.mergeAttributes(t.start);o.setSelection(null)})),this.downcastDispatcher.on("selection",((t,e,n)=>{const o=e.selection;if(o.isCollapsed)return;if(!n.consumable.consume(o,"selection"))return;const i=[];for(const t of o.getRanges())i.push(n.mapper.toViewRange(t));n.writer.setSelection(i,{backward:o.isBackward})}),{priority:"low"}),this.downcastDispatcher.on("selection",((t,e,n)=>{const o=e.selection;if(!o.isCollapsed)return;if(!n.consumable.consume(o,"selection"))return;const i=n.writer,r=o.getFirstPosition(),s=n.mapper.toViewPosition(r),a=i.breakAttributes(s);i.setSelection(a)}),{priority:"low"}),this.view.document.roots.bindTo(this.model.document.roots).using((t=>{if("$graveyard"==t.rootName)return null;const e=new _s(this.view.document,t.name);return e.rootName=t.rootName,this.mapper.bindElements(t,e),e}))}destroy(){this.view.destroy(),this.stopListening()}reconvertMarker(t){const e="string"==typeof t?t:t.name,n=this.model.markers.get(e);if(!n)throw new _("editingcontroller-reconvertmarker-marker-not-exist",this,{markerName:e});this.model.change((()=>{this.model.markers._refresh(n)}))}reconvertItem(t){this.model.change((()=>{this.model.document.differ._refreshItem(t)}))}}class ed{constructor(){this._consumables=new Map}add(t,e){let n;t.is("$text")||t.is("documentFragment")?this._consumables.set(t,!0):(this._consumables.has(t)?n=this._consumables.get(t):(n=new od(t),this._consumables.set(t,n)),n.add(e))}test(t,e){const n=this._consumables.get(t);return void 0===n?null:t.is("$text")||t.is("documentFragment")?n:n.test(e)}consume(t,e){return!!this.test(t,e)&&(t.is("$text")||t.is("documentFragment")?this._consumables.set(t,!1):this._consumables.get(t).consume(e),!0)}revert(t,e){const n=this._consumables.get(t);void 0!==n&&(t.is("$text")||t.is("documentFragment")?this._consumables.set(t,!0):n.revert(e))}static consumablesFromElement(t){const e={element:t,name:!0,attributes:[],classes:[],styles:[]},n=t.getAttributeKeys();for(const t of n)"style"!=t&&"class"!=t&&e.attributes.push(t);const o=t.getClassNames();for(const t of o)e.classes.push(t);const i=t.getStyleNames();for(const t of i)e.styles.push(t);return e}static createFrom(t,e){if(e||(e=new ed),t.is("$text"))return e.add(t),e;t.is("element")&&e.add(t,ed.consumablesFromElement(t)),t.is("documentFragment")&&e.add(t);for(const n of t.getChildren())e=ed.createFrom(n,e);return e}}const nd=["attributes","classes","styles"];class od{constructor(t){this.element=t,this._canConsumeName=null,this._consumables={attributes:new Map,styles:new Map,classes:new Map}}add(t){t.name&&(this._canConsumeName=!0);for(const e of nd)e in t&&this._add(e,t[e])}test(t){if(t.name&&!this._canConsumeName)return this._canConsumeName;for(const e of nd)if(e in t){const n=this._test(e,t[e]);if(!0!==n)return n}return!0}consume(t){t.name&&(this._canConsumeName=!1);for(const e of nd)e in t&&this._consume(e,t[e])}revert(t){t.name&&(this._canConsumeName=!0);for(const e of nd)e in t&&this._revert(e,t[e])}_add(t,e){const n=yi(e),o=this._consumables[t];for(const e of n){if("attributes"===t&&("class"===e||"style"===e))throw new _("viewconsumable-invalid-attribute",this);if(o.set(e,!0),"styles"===t)for(const t of this.element.document.stylesProcessor.getRelatedStyles(e))o.set(t,!0)}}_test(t,e){const n=yi(e),o=this._consumables[t];for(const e of n)if("attributes"!==t||"class"!==e&&"style"!==e){const t=o.get(e);if(void 0===t)return null;if(!t)return!1}else{const t="class"==e?"classes":"styles",n=this._test(t,[...this._consumables[t].keys()]);if(!0!==n)return n}return!0}_consume(t,e){const n=yi(e),o=this._consumables[t];for(const e of n)if("attributes"!==t||"class"!==e&&"style"!==e){if(o.set(e,!1),"styles"==t)for(const t of this.element.document.stylesProcessor.getRelatedStyles(e))o.set(t,!1)}else{const t="class"==e?"classes":"styles";this._consume(t,[...this._consumables[t].keys()])}}_revert(t,e){const n=yi(e),o=this._consumables[t];for(const e of n)if("attributes"!==t||"class"!==e&&"style"!==e){!1===o.get(e)&&o.set(e,!0)}else{const t="class"==e?"classes":"styles";this._revert(t,[...this._consumables[t].keys()])}}}class id extends(K()){constructor(){super(),this._sourceDefinitions={},this._attributeProperties={},this.decorate("checkChild"),this.decorate("checkAttribute"),this.on("checkAttribute",((t,e)=>{e[0]=new rd(e[0])}),{priority:"highest"}),this.on("checkChild",((t,e)=>{e[0]=new rd(e[0]),e[1]=this.getDefinition(e[1])}),{priority:"highest"})}register(t,e){if(this._sourceDefinitions[t])throw new _("schema-cannot-register-item-twice",this,{itemName:t});this._sourceDefinitions[t]=[Object.assign({},e)],this._clearCache()}extend(t,e){if(!this._sourceDefinitions[t])throw new _("schema-cannot-extend-missing-item",this,{itemName:t});this._sourceDefinitions[t].push(Object.assign({},e)),this._clearCache()}getDefinitions(){return this._compiledDefinitions||this._compile(),this._compiledDefinitions}getDefinition(t){let e;return e="string"==typeof t?t:"is"in t&&(t.is("$text")||t.is("$textProxy"))?"$text":t.name,this.getDefinitions()[e]}isRegistered(t){return!!this.getDefinition(t)}isBlock(t){const e=this.getDefinition(t);return!(!e||!e.isBlock)}isLimit(t){const e=this.getDefinition(t);return!!e&&!(!e.isLimit&&!e.isObject)}isObject(t){const e=this.getDefinition(t);return!!e&&!!(e.isObject||e.isLimit&&e.isSelectable&&e.isContent)}isInline(t){const e=this.getDefinition(t);return!(!e||!e.isInline)}isSelectable(t){const e=this.getDefinition(t);return!!e&&!(!e.isSelectable&&!e.isObject)}isContent(t){const e=this.getDefinition(t);return!!e&&!(!e.isContent&&!e.isObject)}checkChild(t,e){return!!e&&this._checkContextMatch(e,t)}checkAttribute(t,e){const n=this.getDefinition(t.last);return!!n&&n.allowAttributes.includes(e)}checkMerge(t,e){if(t instanceof zc){const e=t.nodeBefore,n=t.nodeAfter;if(!(e instanceof Pc))throw new _("schema-check-merge-no-element-before",this);if(!(n instanceof Pc))throw new _("schema-check-merge-no-element-after",this);return this.checkMerge(e,n)}for(const n of e.getChildren())if(!this.checkChild(t,n))return!1;return!0}addChildCheck(t){this.on("checkChild",((e,[n,o])=>{if(!o)return;const i=t(n,o);"boolean"==typeof i&&(e.stop(),e.return=i)}),{priority:"high"})}addAttributeCheck(t){this.on("checkAttribute",((e,[n,o])=>{const i=t(n,o);"boolean"==typeof i&&(e.stop(),e.return=i)}),{priority:"high"})}setAttributeProperties(t,e){this._attributeProperties[t]=Object.assign(this.getAttributeProperties(t),e)}getAttributeProperties(t){return this._attributeProperties[t]||{}}getLimitElement(t){let e;if(t instanceof zc)e=t.parent;else{e=(t instanceof Uc?[t]:Array.from(t.getRanges())).reduce(((t,e)=>{const n=e.getCommonAncestor();return t?t.getCommonAncestor(n,{includeSelf:!0}):n}),null)}for(;!this.isLimit(e)&&e.parent;)e=e.parent;return e}checkAttributeInSelection(t,e){if(t.isCollapsed){const n=[...t.getFirstPosition().getAncestors(),new Bc("",t.getAttributes())];return this.checkAttribute(n,e)}{const n=t.getRanges();for(const t of n)for(const n of t)if(this.checkAttribute(n.item,e))return!0}return!1}*getValidRanges(t,e){t=function*(t){for(const e of t)yield*e.getMinimalFlatRanges()}(t);for(const n of t)yield*this._getValidRangesForRange(n,e)}getNearestSelectionRange(t,e="both"){if("$graveyard"==t.root.rootName)return null;if(this.checkChild(t,"$text"))return new Uc(t);let n,o;const i=t.getAncestors().reverse().find((t=>this.isLimit(t)))||t.root;"both"!=e&&"backward"!=e||(n=new Oc({boundaries:Uc._createIn(i),startPosition:t,direction:"backward"})),"both"!=e&&"forward"!=e||(o=new Oc({boundaries:Uc._createIn(i),startPosition:t}));for(const t of function*(t,e){let n=!1;for(;!n;){if(n=!0,t){const e=t.next();e.done||(n=!1,yield{walker:t,value:e.value})}if(e){const t=e.next();t.done||(n=!1,yield{walker:e,value:t.value})}}}(n,o)){const e=t.walker==n?"elementEnd":"elementStart",o=t.value;if(o.type==e&&this.isObject(o.item))return Uc._createOn(o.item);if(this.checkChild(o.nextPosition,"$text"))return new Uc(o.nextPosition)}return null}findAllowedParent(t,e){let n=t.parent;for(;n;){if(this.checkChild(n,e))return n;if(this.isLimit(n))return null;n=n.parent}return null}setAllowedAttributes(t,e,n){const o=n.model;for(const[i,r]of Object.entries(e))o.schema.checkAttribute(t,i)&&n.setAttribute(i,r,t)}removeDisallowedAttributes(t,e){for(const n of t)if(n.is("$text"))bd(this,n,e);else{const t=Uc._createIn(n).getPositions();for(const n of t){bd(this,n.nodeBefore||n.parent,e)}}}getAttributesWithProperty(t,e,n){const o={};for(const[i,r]of t.getAttributes()){const t=this.getAttributeProperties(i);void 0!==t[e]&&(void 0!==n&&n!==t[e]||(o[i]=r))}return o}createContext(t){return new rd(t)}_clearCache(){this._compiledDefinitions=null}_compile(){const t={},e=this._sourceDefinitions,n=Object.keys(e);for(const o of n)t[o]=sd(e[o],o);for(const e of n)ad(t,e);for(const e of n)cd(t,e);for(const e of n)ld(t,e);for(const e of n)dd(t,e),ud(t,e);for(const e of n)hd(t,e),gd(t,e),md(t,e);this._compiledDefinitions=t}_checkContextMatch(t,e,n=e.length-1){const o=e.getItem(n);if(t.allowIn.includes(o.name)){if(0==n)return!0;{const t=this.getDefinition(o);return this._checkContextMatch(t,e,n-1)}}return!1}*_getValidRangesForRange(t,e){let n=t.start,o=t.start;for(const i of t.getItems({shallow:!0}))i.is("element")&&(yield*this._getValidRangesForRange(Uc._createIn(i),e)),this.checkAttribute(i,e)||(n.isEqual(o)||(yield new Uc(n,o)),n=zc._createAfter(i)),o=zc._createAfter(i);n.isEqual(o)||(yield new Uc(n,o))}findOptimalInsertionRange(t,e){const n=t.getSelectedElement();if(n&&this.isObject(n)&&!this.isInline(n))return"before"==e||"after"==e?new Uc(zc._createAt(n,e)):Uc._createOn(n);const o=Qi(t.getSelectedBlocks());if(!o)return new Uc(t.focus);if(o.isEmpty)return new Uc(zc._createAt(o,0));const i=zc._createAfter(o);return t.focus.isTouching(i)?new Uc(i):new Uc(zc._createBefore(o))}}class rd{constructor(t){if(t instanceof rd)return t;let e;e="string"==typeof t?[t]:Array.isArray(t)?t:t.getAncestors({includeSelf:!0}),this._items=e.map(kd)}get length(){return this._items.length}get last(){return this._items[this._items.length-1]}[Symbol.iterator](){return this._items[Symbol.iterator]()}push(t){const e=new rd([t]);return e._items=[...this._items,...e._items],e}getItem(t){return this._items[t]}*getNames(){yield*this._items.map((t=>t.name))}endsWith(t){return Array.from(this.getNames()).join(" ").endsWith(t)}startsWith(t){return Array.from(this.getNames()).join(" ").startsWith(t)}}function sd(t,e){const n={name:e,allowIn:[],allowContentOf:[],allowWhere:[],allowAttributes:[],allowAttributesOf:[],allowChildren:[],inheritTypesFrom:[]};return function(t,e){for(const n of t){const t=Object.keys(n).filter((t=>t.startsWith("is")));for(const o of t)e[o]=!!n[o]}}(t,n),pd(t,n,"allowIn"),pd(t,n,"allowContentOf"),pd(t,n,"allowWhere"),pd(t,n,"allowAttributes"),pd(t,n,"allowAttributesOf"),pd(t,n,"allowChildren"),pd(t,n,"inheritTypesFrom"),function(t,e){for(const n of t){const t=n.inheritAllFrom;t&&(e.allowContentOf.push(t),e.allowWhere.push(t),e.allowAttributesOf.push(t),e.inheritTypesFrom.push(t))}}(t,n),n}function ad(t,e){const n=t[e];for(const o of n.allowChildren){const n=t[o];n&&n.allowIn.push(e)}n.allowChildren.length=0}function cd(t,e){for(const n of t[e].allowContentOf)if(t[n]){fd(t,n).forEach((t=>{t.allowIn.push(e)}))}delete t[e].allowContentOf}function ld(t,e){for(const n of t[e].allowWhere){const o=t[n];if(o){const n=o.allowIn;t[e].allowIn.push(...n)}}delete t[e].allowWhere}function dd(t,e){for(const n of t[e].allowAttributesOf){const o=t[n];if(o){const n=o.allowAttributes;t[e].allowAttributes.push(...n)}}delete t[e].allowAttributesOf}function ud(t,e){const n=t[e];for(const e of n.inheritTypesFrom){const o=t[e];if(o){const t=Object.keys(o).filter((t=>t.startsWith("is")));for(const e of t)e in n||(n[e]=o[e])}}delete n.inheritTypesFrom}function hd(t,e){const n=t[e],o=n.allowIn.filter((e=>t[e]));n.allowIn=Array.from(new Set(o))}function gd(t,e){const n=t[e];for(const o of n.allowIn){t[o].allowChildren.push(e)}}function md(t,e){const n=t[e];n.allowAttributes=Array.from(new Set(n.allowAttributes))}function pd(t,e,n){for(const o of t){const t=o[n];"string"==typeof t?e[n].push(t):Array.isArray(t)&&e[n].push(...t)}}function fd(t,e){const n=t[e];return(o=t,Object.keys(o).map((t=>o[t]))).filter((t=>t.allowIn.includes(n.name)));var o}function kd(t){return"string"==typeof t||t.is("documentFragment")?{name:"string"==typeof t?t:"$documentFragment",*getAttributeKeys(){},getAttribute(){}}:{name:t.is("element")?t.name:"$text",*getAttributeKeys(){yield*t.getAttributeKeys()},getAttribute:e=>t.getAttribute(e)}}function bd(t,e,n){for(const o of e.getAttributeKeys())t.checkAttribute(e,o)||n.removeAttribute(o,e)}var wd=Object.defineProperty,Ad=Object.defineProperties,_d=Object.getOwnPropertyDescriptors,Cd=Object.getOwnPropertySymbols,vd=Object.prototype.hasOwnProperty,yd=Object.prototype.propertyIsEnumerable,xd=(t,e,n)=>e in t?wd(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;class Ed extends(B()){constructor(t){var e;super(),this._splitParts=new Map,this._cursorParents=new Map,this._modelCursor=null,this._emptyElementsToKeep=new Set,this.conversionApi=(e=((t,e)=>{for(var n in e||(e={}))vd.call(e,n)&&xd(t,n,e[n]);if(Cd)for(var n of Cd(e))yd.call(e,n)&&xd(t,n,e[n]);return t})({},t),Ad(e,_d({consumable:null,writer:null,store:null,convertItem:(t,e)=>this._convertItem(t,e),convertChildren:(t,e)=>this._convertChildren(t,e),safeInsert:(t,e)=>this._safeInsert(t,e),updateConversionResult:(t,e)=>this._updateConversionResult(t,e),splitToAllowedParent:(t,e)=>this._splitToAllowedParent(t,e),getSplitParts:t=>this._getSplitParts(t),keepEmptyElement:t=>this._keepEmptyElement(t)})))}convert(t,e,n=["$root"]){this.fire("viewCleanup",t),this._modelCursor=function(t,e){let n;for(const o of new rd(t)){const t={};for(const e of o.getAttributeKeys())t[e]=o.getAttribute(e);const i=e.createElement(o.name,t);n&&e.insert(i,n),n=zc._createAt(i,0)}return n}(n,e),this.conversionApi.writer=e,this.conversionApi.consumable=ed.createFrom(t),this.conversionApi.store={};const{modelRange:o}=this._convertItem(t,this._modelCursor),i=e.createDocumentFragment();if(o){this._removeEmptyElements();for(const t of Array.from(this._modelCursor.parent.getChildren()))e.append(t,i);i.markers=function(t,e){const n=new Set,o=new Map,i=Uc._createIn(t).getItems();for(const t of i)t.is("element","$marker")&&n.add(t);for(const t of n){const n=t.getAttribute("data-name"),i=e.createPositionBefore(t);o.has(n)?o.get(n).end=i.clone():o.set(n,new Uc(i.clone())),e.remove(t)}return o}(i,e)}return this._modelCursor=null,this._splitParts.clear(),this._cursorParents.clear(),this._emptyElementsToKeep.clear(),this.conversionApi.writer=null,this.conversionApi.store=null,i}_convertItem(t,e){const n={viewItem:t,modelCursor:e,modelRange:null};if(t.is("element")?this.fire(`element:${t.name}`,n,this.conversionApi):t.is("$text")?this.fire("text",n,this.conversionApi):this.fire("documentFragment",n,this.conversionApi),n.modelRange&&!(n.modelRange instanceof Uc))throw new _("view-conversion-dispatcher-incorrect-result",this);return{modelRange:n.modelRange,modelCursor:n.modelCursor}}_convertChildren(t,e){let n=e.is("position")?e:zc._createAt(e,0);const o=new Uc(n);for(const e of Array.from(t.getChildren())){const t=this._convertItem(e,n);t.modelRange instanceof Uc&&(o.end=t.modelRange.end,n=t.modelCursor)}return{modelRange:o,modelCursor:n}}_safeInsert(t,e){const n=this._splitToAllowedParent(t,e);return!!n&&(this.conversionApi.writer.insert(t,n.position),!0)}_updateConversionResult(t,e){const n=this._getSplitParts(t),o=this.conversionApi.writer;e.modelRange||(e.modelRange=o.createRange(o.createPositionBefore(t),o.createPositionAfter(n[n.length-1])));const i=this._cursorParents.get(t);e.modelCursor=i?o.createPositionAt(i,0):e.modelRange.end}_splitToAllowedParent(t,e){const{schema:n,writer:o}=this.conversionApi;let i=n.findAllowedParent(e,t);if(i){if(i===e.parent)return{position:e};this._modelCursor.parent.getAncestors().includes(i)&&(i=null)}if(!i)return Pl(e,t,n)?{position:Ol(e,o)}:null;const r=this.conversionApi.writer.split(e,i),s=[];for(const t of r.range.getWalker())if("elementEnd"==t.type)s.push(t.item);else{const e=s.pop(),n=t.item;this._registerSplitPair(e,n)}const a=r.range.end.parent;return this._cursorParents.set(t,a),{position:r.position,cursorParent:a}}_registerSplitPair(t,e){this._splitParts.has(t)||this._splitParts.set(t,[t]);const n=this._splitParts.get(t);this._splitParts.set(e,n),n.push(e)}_getSplitParts(t){let e;return e=this._splitParts.has(t)?this._splitParts.get(t):[t],e}_keepEmptyElement(t){this._emptyElementsToKeep.add(t)}_removeEmptyElements(){let t=!1;for(const e of this._splitParts.keys())e.isEmpty&&!this._emptyElementsToKeep.has(e)&&(this.conversionApi.writer.remove(e),this._splitParts.delete(e),t=!0);t&&this._removeEmptyElements()}}class Dd{getHtml(t){const e=Lo.document.implementation.createHTMLDocument("").createElement("div");return e.appendChild(t),e.innerHTML}}class Id{constructor(t){this.skipComments=!0,this.domParser=new DOMParser,this.domConverter=new Ea(t,{renderingMode:"data"}),this.htmlWriter=new Dd}toData(t){const e=this.domConverter.viewToDom(t);return this.htmlWriter.getHtml(e)}toView(t){const e=this._toDom(t);return this.domConverter.domToView(e,{skipComments:this.skipComments})}registerRawContentMatcher(t){this.domConverter.registerRawContentMatcher(t)}useFillerType(t){this.domConverter.blockFillerMode="marked"==t?"markedNbsp":"nbsp"}_toDom(t){t.match(/<(?:html|body|head|meta)(?:\s[^>]*)?>/i)||(t=`${t}`);const e=this.domParser.parseFromString(t,"text/html"),n=e.createDocumentFragment(),o=e.body.childNodes;for(;o.length>0;)n.appendChild(o[0]);return n}}class Md extends(B()){constructor(t,e){super(),this.model=t,this.mapper=new qc,this.downcastDispatcher=new nl({mapper:this.mapper,schema:t.schema}),this.downcastDispatcher.on("insert:$text",((t,e,n)=>{if(!n.consumable.consume(e.item,t.name))return;const o=n.writer,i=n.mapper.toViewPosition(e.range.start),r=o.createText(e.item.data);o.insert(i,r)}),{priority:"lowest"}),this.downcastDispatcher.on("insert",((t,e,n)=>{n.convertAttributes(e.item),e.reconversion||!e.item.is("element")||e.item.isEmpty||n.convertChildren(e.item)}),{priority:"lowest"}),this.upcastDispatcher=new Ed({schema:t.schema}),this.viewDocument=new Os(e),this.stylesProcessor=e,this.htmlProcessor=new Id(this.viewDocument),this.processor=this.htmlProcessor,this._viewWriter=new Ks(this.viewDocument),this.upcastDispatcher.on("text",((t,e,{schema:n,consumable:o,writer:i})=>{let r=e.modelCursor;if(!o.test(e.viewItem))return;if(!n.checkChild(r,"$text")){if(!Pl(r,"$text",n))return;if(0==e.viewItem.data.trim().length)return;const t=r.nodeBefore;r=Ol(r,i),t&&t.is("element","$marker")&&(i.move(i.createRangeOn(t),r),r=i.createPositionAfter(t))}o.consume(e.viewItem);const s=i.createText(e.viewItem.data);i.insert(s,r),e.modelRange=i.createRange(r,r.getShiftedBy(s.offsetSize)),e.modelCursor=e.modelRange.end}),{priority:"lowest"}),this.upcastDispatcher.on("element",((t,e,n)=>{if(!e.modelRange&&n.consumable.consume(e.viewItem,{name:!0})){const{modelRange:t,modelCursor:o}=n.convertChildren(e.viewItem,e.modelCursor);e.modelRange=t,e.modelCursor=o}}),{priority:"lowest"}),this.upcastDispatcher.on("documentFragment",((t,e,n)=>{if(!e.modelRange&&n.consumable.consume(e.viewItem,{name:!0})){const{modelRange:t,modelCursor:o}=n.convertChildren(e.viewItem,e.modelCursor);e.modelRange=t,e.modelCursor=o}}),{priority:"lowest"}),K().prototype.decorate.call(this,"init"),K().prototype.decorate.call(this,"set"),K().prototype.decorate.call(this,"get"),K().prototype.decorate.call(this,"toView"),K().prototype.decorate.call(this,"toModel"),this.on("init",(()=>{this.fire("ready")}),{priority:"lowest"}),this.on("ready",(()=>{this.model.enqueueChange({isUndoable:!1},Nl)}),{priority:"lowest"})}get(t={}){const{rootName:e="main",trim:n="empty"}=t;if(!this._checkIfRootsExists([e]))throw new _("datacontroller-get-non-existent-root",this);const o=this.model.document.getRoot(e);return o.isAttached()||C("datacontroller-get-detached-root",this),"empty"!==n||this.model.hasContent(o,{ignoreWhitespaces:!0})?this.stringify(o,t):""}stringify(t,e={}){const n=this.toView(t,e);return this.processor.toData(n)}toView(t,e={}){const n=this.viewDocument,o=this._viewWriter;this.mapper.clearBindings();const i=Uc._createIn(t),r=new Ws(n);this.mapper.bindElements(t,r);const s=t.is("documentFragment")?t.markers:function(t){const e=[],n=t.root.document;if(!n)return new Map;const o=Uc._createIn(t);for(const t of n.model.markers){const n=t.getRange(),i=n.isCollapsed,r=n.start.isEqual(o.start)||n.end.isEqual(o.end);if(i&&r)e.push([t.name,n]);else{const i=o.getIntersection(n);i&&e.push([t.name,i])}}return e.sort((([t,e],[n,o])=>{if("after"!==e.end.compareWith(o.start))return 1;if("before"!==e.start.compareWith(o.end))return-1;switch(e.start.compareWith(o.start)){case"before":return 1;case"after":return-1;default:switch(e.end.compareWith(o.end)){case"before":return 1;case"after":return-1;default:return n.localeCompare(t)}}})),new Map(e)}(t);return this.downcastDispatcher.convert(i,s,o,e),r}init(t){if(this.model.document.version)throw new _("datacontroller-init-document-not-empty",this);let e={};if("string"==typeof t?e.main=t:e=t,!this._checkIfRootsExists(Object.keys(e)))throw new _("datacontroller-init-non-existent-root",this);return this.model.enqueueChange({isUndoable:!1},(t=>{for(const n of Object.keys(e)){const o=this.model.document.getRoot(n);t.insert(this.parse(e[n],o),o,0)}})),Promise.resolve()}set(t,e={}){let n={};if("string"==typeof t?n.main=t:n=t,!this._checkIfRootsExists(Object.keys(n)))throw new _("datacontroller-set-non-existent-root",this);this.model.enqueueChange(e.batchType||{},(t=>{t.setSelection(null),t.removeSelectionAttribute(this.model.document.selection.getAttributeKeys());for(const e of Object.keys(n)){const o=this.model.document.getRoot(e);t.remove(t.createRangeIn(o)),t.insert(this.parse(n[e],o),o,0)}}))}parse(t,e="$root"){const n=this.processor.toView(t);return this.toModel(n,e)}toModel(t,e="$root"){return this.model.change((n=>this.upcastDispatcher.convert(t,n,e)))}addStyleProcessorRules(t){t(this.stylesProcessor)}registerRawContentMatcher(t){this.processor&&this.processor!==this.htmlProcessor&&this.processor.registerRawContentMatcher(t),this.htmlProcessor.registerRawContentMatcher(t)}destroy(){this.stopListening()}_checkIfRootsExists(t){for(const e of t)if(!this.model.document.getRoot(e))return!1;return!0}}class Td{constructor(t,e){this._helpers=new Map,this._downcast=yi(t),this._createConversionHelpers({name:"downcast",dispatchers:this._downcast,isDowncast:!0}),this._upcast=yi(e),this._createConversionHelpers({name:"upcast",dispatchers:this._upcast,isDowncast:!1})}addAlias(t,e){const n=this._downcast.includes(e);if(!this._upcast.includes(e)&&!n)throw new _("conversion-add-alias-dispatcher-not-registered",this);this._createConversionHelpers({name:t,dispatchers:[e],isDowncast:n})}for(t){if(!this._helpers.has(t))throw new _("conversion-for-unknown-group",this);return this._helpers.get(t)}elementToElement(t){this.for("downcast").elementToElement(t);for(const{model:e,view:n}of Sd(t))this.for("upcast").elementToElement({model:e,view:n,converterPriority:t.converterPriority})}attributeToElement(t){this.for("downcast").attributeToElement(t);for(const{model:e,view:n}of Sd(t))this.for("upcast").elementToAttribute({view:n,model:e,converterPriority:t.converterPriority})}attributeToAttribute(t){this.for("downcast").attributeToAttribute(t);for(const{model:e,view:n}of Sd(t))this.for("upcast").attributeToAttribute({view:n,model:e})}_createConversionHelpers({name:t,dispatchers:e,isDowncast:n}){if(this._helpers.has(t))throw new _("conversion-group-exists",this);const o=n?new Al(e):new Ul(e);this._helpers.set(t,o)}}function*Sd(t){if(t.model.values)for(const e of t.model.values){const n={key:t.model.key,value:e},o=t.view[e],i=t.upcastAlso?t.upcastAlso[e]:void 0;yield*Bd(n,o,i)}else yield*Bd(t.model,t.view,t.upcastAlso)}function*Bd(t,e,n){if(yield{model:t,view:e},n)for(const e of yi(n))yield{model:t,view:e}}class Nd{constructor(t){this.baseVersion=t,this.isDocumentOperation=null!==this.baseVersion,this.batch=null}_validate(){}toJSON(){const t=Object.assign({},this);return t.__className=this.constructor.className,delete t.batch,delete t.isDocumentOperation,t}static get className(){return"Operation"}static fromJSON(t,e){return new this(t.baseVersion)}}function Pd(t,e){const n=zd(e),o=n.reduce(((t,e)=>t+e.offsetSize),0),i=t.parent;jd(t);const r=t.index;return i._insertChild(r,n),Rd(i,r+n.length),Rd(i,r),new Uc(t,t.getShiftedBy(o))}function Od(t){if(!t.isFlat)throw new _("operation-utils-remove-range-not-flat",this);const e=t.start.parent;jd(t.start),jd(t.end);const n=e._removeChildren(t.start.index,t.end.index-t.start.index);return Rd(e,t.start.index),n}function Ld(t,e){if(!t.isFlat)throw new _("operation-utils-move-range-not-flat",this);const n=Od(t);return Pd(e=e._getTransformedByDeletion(t.start,t.end.offset-t.start.offset),n)}function zd(t){const e=[];!function t(n){if("string"==typeof n)e.push(new Bc(n));else if(n instanceof Nc)e.push(new Bc(n.data,n.getAttributes()));else if(n instanceof Tc)e.push(n);else if(nt(n))for(const e of n)t(e);else{}}(t);for(let t=1;tt.maxOffset)throw new _("move-operation-nodes-do-not-exist",this);if(t===e&&n=n&&this.targetPosition.path[t]t._clone(!0)))),e=new Hd(this.position,t,this.baseVersion);return e.shouldReceiveAttributes=this.shouldReceiveAttributes,e}getReversed(){const t=this.position.root.document.graveyard,e=new zc(t,[0]);return new Vd(this.position,this.nodes.maxOffset,e,this.baseVersion+1)}_validate(){const t=this.position.parent;if(!t||t.maxOffsett._clone(!0)))),Pd(this.position,t)}toJSON(){const t=super.toJSON();return t.position=this.position.toJSON(),t.nodes=this.nodes.toJSON(),t}static get className(){return"InsertOperation"}static fromJSON(t,e){const n=[];for(const e of t.nodes)e.name?n.push(Pc.fromJSON(e)):n.push(Bc.fromJSON(e));const o=new Hd(zc.fromJSON(t.position,e),n,t.baseVersion);return o.shouldReceiveAttributes=t.shouldReceiveAttributes,o}}class Ud extends Nd{constructor(t,e,n,o,i){super(i),this.splitPosition=t.clone(),this.splitPosition.stickiness="toNext",this.howMany=e,this.insertionPosition=n,this.graveyardPosition=o?o.clone():null,this.graveyardPosition&&(this.graveyardPosition.stickiness="toNext")}get type(){return"split"}get moveTargetPosition(){const t=this.insertionPosition.path.slice();return t.push(0),new zc(this.insertionPosition.root,t)}get movedRange(){const t=this.splitPosition.getShiftedBy(Number.POSITIVE_INFINITY);return new Uc(this.splitPosition,t)}get affectedSelectable(){const t=[Uc._createFromPositionAndShift(this.splitPosition,0),Uc._createFromPositionAndShift(this.insertionPosition,0)];return this.graveyardPosition&&t.push(Uc._createFromPositionAndShift(this.graveyardPosition,0)),t}clone(){return new Ud(this.splitPosition,this.howMany,this.insertionPosition,this.graveyardPosition,this.baseVersion)}getReversed(){const t=this.splitPosition.root.document.graveyard,e=new zc(t,[0]);return new qd(this.moveTargetPosition,this.howMany,this.splitPosition,e,this.baseVersion+1)}_validate(){const t=this.splitPosition.parent,e=this.splitPosition.offset;if(!t||t.maxOffset0&&(t.sourcePosition.isEqual(e.sourcePosition.getShiftedBy(e.howMany))&&this._setRelation(t,e,"mergeSourceAffected"),t.targetPosition.isEqual(e.sourcePosition)&&this._setRelation(t,e,"mergeTargetWasBefore"));else if(t instanceof Gd){const n=t.newRange;if(!n)return;if(e instanceof Vd){const o=Uc._createFromPositionAndShift(e.sourcePosition,e.howMany),i=o.containsPosition(n.start)||o.start.isEqual(n.start),r=o.containsPosition(n.end)||o.end.isEqual(n.end);!i&&!r||o.containsRange(n)||this._setRelation(t,e,{side:i?"left":"right",path:i?n.start.path.slice():n.end.path.slice()})}else if(e instanceof qd){const o=n.start.isEqual(e.targetPosition),i=n.start.isEqual(e.deletionPosition),r=n.end.isEqual(e.deletionPosition),s=n.end.isEqual(e.sourcePosition);(o||i||r||s)&&this._setRelation(t,e,{wasInLeftElement:o,wasStartBeforeMergedElement:i,wasEndBeforeMergedElement:r,wasInRightElement:s})}}}getContext(t,e,n){return{aIsStrong:n,aWasUndone:this._wasUndone(t),bWasUndone:this._wasUndone(e),abRelation:this._useRelations?this._getRelation(t,e):null,baRelation:this._useRelations?this._getRelation(e,t):null,forceWeakRemove:this._forceWeakRemove}}_wasUndone(t){const e=this.originalOperations.get(t);return e.wasUndone||this._history.isUndoneOperation(e)}_getRelation(t,e){const n=this.originalOperations.get(e),o=this._history.getUndoneOperation(n);if(!o)return null;const i=this.originalOperations.get(t),r=this._relations.get(i);return r&&r.get(o)||null}_setRelation(t,e,n){const o=this.originalOperations.get(t),i=this.originalOperations.get(e);let r=this._relations.get(o);r||(r=new Map,this._relations.set(o,r)),r.set(i,n)}}function su(t,e){for(const n of t)n.baseVersion=e++}function au(t,e){for(let n=0;n{if(t.key===e.key&&t.range.start.hasSameParentAs(e.range.start)){const o=t.range.getDifference(e.range).map((e=>new Kd(e,t.key,t.oldValue,t.newValue,0))),i=t.range.getIntersection(e.range);return i&&n.aIsStrong&&o.push(new Kd(i,e.key,e.newValue,t.newValue,0)),0==o.length?[new $d(0)]:o}return[t]})),eu(Kd,Hd,((t,e)=>{if(t.range.start.hasSameParentAs(e.position)&&t.range.containsPosition(e.position)){const n=t.range._getTransformedByInsertion(e.position,e.howMany,!e.shouldReceiveAttributes).map((e=>new Kd(e,t.key,t.oldValue,t.newValue,t.baseVersion)));if(e.shouldReceiveAttributes){const o=cu(e,t.key,t.oldValue);o&&n.unshift(o)}return n}return t.range=t.range._getTransformedByInsertion(e.position,e.howMany,!1)[0],[t]})),eu(Kd,qd,((t,e)=>{const n=[];t.range.start.hasSameParentAs(e.deletionPosition)&&(t.range.containsPosition(e.deletionPosition)||t.range.start.isEqual(e.deletionPosition))&&n.push(Uc._createFromPositionAndShift(e.graveyardPosition,1));const o=t.range._getTransformedByMergeOperation(e);return o.isCollapsed||n.push(o),n.map((e=>new Kd(e,t.key,t.oldValue,t.newValue,t.baseVersion)))})),eu(Kd,Vd,((t,e)=>{const n=function(t,e){const n=Uc._createFromPositionAndShift(e.sourcePosition,e.howMany);let o=null,i=[];n.containsRange(t,!0)?o=t:t.start.hasSameParentAs(n.start)?(i=t.getDifference(n),o=t.getIntersection(n)):i=[t];const r=[];for(let t of i){t=t._getTransformedByDeletion(e.sourcePosition,e.howMany);const n=e.getMovedRangeStart(),o=t.start.hasSameParentAs(n),i=t._getTransformedByInsertion(n,e.howMany,o);r.push(...i)}o&&r.push(o._getTransformedByMove(e.sourcePosition,e.targetPosition,e.howMany,!1)[0]);return r}(t.range,e);return n.map((e=>new Kd(e,t.key,t.oldValue,t.newValue,t.baseVersion)))})),eu(Kd,Ud,((t,e)=>{if(t.range.end.isEqual(e.insertionPosition))return e.graveyardPosition||t.range.end.offset++,[t];if(t.range.start.hasSameParentAs(e.splitPosition)&&t.range.containsPosition(e.splitPosition)){const n=t.clone();return n.range=new Uc(e.moveTargetPosition.clone(),t.range.end._getCombined(e.splitPosition,e.moveTargetPosition)),t.range.end=e.splitPosition.clone(),t.range.end.stickiness="toPrevious",[t,n]}return t.range=t.range._getTransformedBySplitOperation(e),[t]})),eu(Hd,Kd,((t,e)=>{const n=[t];if(t.shouldReceiveAttributes&&t.position.hasSameParentAs(e.range.start)&&e.range.containsPosition(t.position)){const o=cu(t,e.key,e.newValue);o&&n.push(o)}return n})),eu(Hd,Hd,((t,e,n)=>(t.position.isEqual(e.position)&&n.aIsStrong||(t.position=t.position._getTransformedByInsertOperation(e)),[t]))),eu(Hd,Vd,((t,e)=>(t.position=t.position._getTransformedByMoveOperation(e),[t]))),eu(Hd,Ud,((t,e)=>(t.position=t.position._getTransformedBySplitOperation(e),[t]))),eu(Hd,qd,((t,e)=>(t.position=t.position._getTransformedByMergeOperation(e),[t]))),eu(Gd,Hd,((t,e)=>(t.oldRange&&(t.oldRange=t.oldRange._getTransformedByInsertOperation(e)[0]),t.newRange&&(t.newRange=t.newRange._getTransformedByInsertOperation(e)[0]),[t]))),eu(Gd,Gd,((t,e,n)=>{if(t.name==e.name){if(!n.aIsStrong)return[new $d(0)];t.oldRange=e.newRange?e.newRange.clone():null}return[t]})),eu(Gd,qd,((t,e)=>(t.oldRange&&(t.oldRange=t.oldRange._getTransformedByMergeOperation(e)),t.newRange&&(t.newRange=t.newRange._getTransformedByMergeOperation(e)),[t]))),eu(Gd,Vd,((t,e,n)=>{if(t.oldRange&&(t.oldRange=Uc._createFromRanges(t.oldRange._getTransformedByMoveOperation(e))),t.newRange){if(n.abRelation){const o=Uc._createFromRanges(t.newRange._getTransformedByMoveOperation(e));if("left"==n.abRelation.side&&e.targetPosition.isEqual(t.newRange.start))return t.newRange.end=o.end,t.newRange.start.path=n.abRelation.path,[t];if("right"==n.abRelation.side&&e.targetPosition.isEqual(t.newRange.end))return t.newRange.start=o.start,t.newRange.end.path=n.abRelation.path,[t]}t.newRange=Uc._createFromRanges(t.newRange._getTransformedByMoveOperation(e))}return[t]})),eu(Gd,Ud,((t,e,n)=>{if(t.oldRange&&(t.oldRange=t.oldRange._getTransformedBySplitOperation(e)),t.newRange){if(n.abRelation){const o=t.newRange._getTransformedBySplitOperation(e);return t.newRange.start.isEqual(e.splitPosition)&&n.abRelation.wasStartBeforeMergedElement?t.newRange.start=zc._createAt(e.insertionPosition):t.newRange.start.isEqual(e.splitPosition)&&!n.abRelation.wasInLeftElement&&(t.newRange.start=zc._createAt(e.moveTargetPosition)),t.newRange.end.isEqual(e.splitPosition)&&n.abRelation.wasInRightElement?t.newRange.end=zc._createAt(e.moveTargetPosition):t.newRange.end.isEqual(e.splitPosition)&&n.abRelation.wasEndBeforeMergedElement?t.newRange.end=zc._createAt(e.insertionPosition):t.newRange.end=o.end,[t]}t.newRange=t.newRange._getTransformedBySplitOperation(e)}return[t]})),eu(qd,Hd,((t,e)=>(t.sourcePosition.hasSameParentAs(e.position)&&(t.howMany+=e.howMany),t.sourcePosition=t.sourcePosition._getTransformedByInsertOperation(e),t.targetPosition=t.targetPosition._getTransformedByInsertOperation(e),[t]))),eu(qd,qd,((t,e,n)=>{if(t.sourcePosition.isEqual(e.sourcePosition)&&t.targetPosition.isEqual(e.targetPosition)){if(n.bWasUndone){const n=e.graveyardPosition.path.slice();return n.push(0),t.sourcePosition=new zc(e.graveyardPosition.root,n),t.howMany=0,[t]}return[new $d(0)]}if(t.sourcePosition.isEqual(e.sourcePosition)&&!t.targetPosition.isEqual(e.targetPosition)&&!n.bWasUndone&&"splitAtSource"!=n.abRelation){const o="$graveyard"==t.targetPosition.root.rootName,i="$graveyard"==e.targetPosition.root.rootName;if(i&&!o||!(o&&!i)&&n.aIsStrong){const n=e.targetPosition._getTransformedByMergeOperation(e),o=t.targetPosition._getTransformedByMergeOperation(e);return[new Vd(n,t.howMany,o,0)]}return[new $d(0)]}return t.sourcePosition.hasSameParentAs(e.targetPosition)&&(t.howMany+=e.howMany),t.sourcePosition=t.sourcePosition._getTransformedByMergeOperation(e),t.targetPosition=t.targetPosition._getTransformedByMergeOperation(e),t.graveyardPosition.isEqual(e.graveyardPosition)&&n.aIsStrong||(t.graveyardPosition=t.graveyardPosition._getTransformedByMergeOperation(e)),[t]})),eu(qd,Vd,((t,e,n)=>{const o=Uc._createFromPositionAndShift(e.sourcePosition,e.howMany);return"remove"==e.type&&!n.bWasUndone&&!n.forceWeakRemove&&t.deletionPosition.hasSameParentAs(e.sourcePosition)&&o.containsPosition(t.sourcePosition)?[new $d(0)]:(e.sourcePosition.getShiftedBy(e.howMany).isEqual(t.sourcePosition)?t.sourcePosition.stickiness="toNone":e.targetPosition.isEqual(t.sourcePosition)&&"mergeSourceAffected"==n.abRelation?t.sourcePosition.stickiness="toNext":e.sourcePosition.isEqual(t.targetPosition)?(t.targetPosition.stickiness="toNone",t.howMany-=e.howMany):e.targetPosition.isEqual(t.targetPosition)&&"mergeTargetWasBefore"==n.abRelation?(t.targetPosition.stickiness="toPrevious",t.howMany+=e.howMany):(t.sourcePosition.hasSameParentAs(e.targetPosition)&&(t.howMany+=e.howMany),t.sourcePosition.hasSameParentAs(e.sourcePosition)&&(t.howMany-=e.howMany)),t.sourcePosition=t.sourcePosition._getTransformedByMoveOperation(e),t.targetPosition=t.targetPosition._getTransformedByMoveOperation(e),t.sourcePosition.stickiness="toPrevious",t.targetPosition.stickiness="toNext",t.graveyardPosition.isEqual(e.targetPosition)||(t.graveyardPosition=t.graveyardPosition._getTransformedByMoveOperation(e)),[t])})),eu(qd,Ud,((t,e,n)=>{if(e.graveyardPosition&&(t.graveyardPosition=t.graveyardPosition._getTransformedByDeletion(e.graveyardPosition,1),t.deletionPosition.isEqual(e.graveyardPosition)&&(t.howMany=e.howMany)),t.targetPosition.isEqual(e.splitPosition)){const o=0!=e.howMany,i=e.graveyardPosition&&t.deletionPosition.isEqual(e.graveyardPosition);if(o||i||"mergeTargetNotMoved"==n.abRelation)return t.sourcePosition=t.sourcePosition._getTransformedBySplitOperation(e),[t]}if(t.sourcePosition.isEqual(e.splitPosition)){if("mergeSourceNotMoved"==n.abRelation)return t.howMany=0,t.targetPosition=t.targetPosition._getTransformedBySplitOperation(e),[t];if("mergeSameElement"==n.abRelation||t.sourcePosition.offset>0)return t.sourcePosition=e.moveTargetPosition.clone(),t.targetPosition=t.targetPosition._getTransformedBySplitOperation(e),[t]}return t.sourcePosition.hasSameParentAs(e.splitPosition)&&(t.howMany=e.splitPosition.offset),t.sourcePosition=t.sourcePosition._getTransformedBySplitOperation(e),t.targetPosition=t.targetPosition._getTransformedBySplitOperation(e),[t]})),eu(Vd,Hd,((t,e)=>{const n=Uc._createFromPositionAndShift(t.sourcePosition,t.howMany)._getTransformedByInsertOperation(e,!1)[0];return t.sourcePosition=n.start,t.howMany=n.end.offset-n.start.offset,t.targetPosition.isEqual(e.position)||(t.targetPosition=t.targetPosition._getTransformedByInsertOperation(e)),[t]})),eu(Vd,Vd,((t,e,n)=>{const o=Uc._createFromPositionAndShift(t.sourcePosition,t.howMany),i=Uc._createFromPositionAndShift(e.sourcePosition,e.howMany);let r,s=n.aIsStrong,a=!n.aIsStrong;if("insertBefore"==n.abRelation||"insertAfter"==n.baRelation?a=!0:"insertAfter"!=n.abRelation&&"insertBefore"!=n.baRelation||(a=!1),r=t.targetPosition.isEqual(e.targetPosition)&&a?t.targetPosition._getTransformedByDeletion(e.sourcePosition,e.howMany):t.targetPosition._getTransformedByMove(e.sourcePosition,e.targetPosition,e.howMany),lu(t,e)&&lu(e,t))return[e.getReversed()];if(o.containsPosition(e.targetPosition)&&o.containsRange(i,!0))return o.start=o.start._getTransformedByMove(e.sourcePosition,e.targetPosition,e.howMany),o.end=o.end._getTransformedByMove(e.sourcePosition,e.targetPosition,e.howMany),du([o],r);if(i.containsPosition(t.targetPosition)&&i.containsRange(o,!0))return o.start=o.start._getCombined(e.sourcePosition,e.getMovedRangeStart()),o.end=o.end._getCombined(e.sourcePosition,e.getMovedRangeStart()),du([o],r);const c=et(t.sourcePosition.getParentPath(),e.sourcePosition.getParentPath());if("prefix"==c||"extension"==c)return o.start=o.start._getTransformedByMove(e.sourcePosition,e.targetPosition,e.howMany),o.end=o.end._getTransformedByMove(e.sourcePosition,e.targetPosition,e.howMany),du([o],r);"remove"!=t.type||"remove"==e.type||n.aWasUndone||n.forceWeakRemove?"remove"==t.type||"remove"!=e.type||n.bWasUndone||n.forceWeakRemove||(s=!1):s=!0;const l=[],d=o.getDifference(i);for(const t of d){t.start=t.start._getTransformedByDeletion(e.sourcePosition,e.howMany),t.end=t.end._getTransformedByDeletion(e.sourcePosition,e.howMany);const n="same"==et(t.start.getParentPath(),e.getMovedRangeStart().getParentPath()),o=t._getTransformedByInsertion(e.getMovedRangeStart(),e.howMany,n);l.push(...o)}const u=o.getIntersection(i);return null!==u&&s&&(u.start=u.start._getCombined(e.sourcePosition,e.getMovedRangeStart()),u.end=u.end._getCombined(e.sourcePosition,e.getMovedRangeStart()),0===l.length?l.push(u):1==l.length?i.start.isBefore(o.start)||i.start.isEqual(o.start)?l.unshift(u):l.push(u):l.splice(1,0,u)),0===l.length?[new $d(t.baseVersion)]:du(l,r)})),eu(Vd,Ud,((t,e,n)=>{let o=t.targetPosition.clone();t.targetPosition.isEqual(e.insertionPosition)&&e.graveyardPosition&&"moveTargetAfter"!=n.abRelation||(o=t.targetPosition._getTransformedBySplitOperation(e));const i=Uc._createFromPositionAndShift(t.sourcePosition,t.howMany);if(i.end.isEqual(e.insertionPosition))return e.graveyardPosition||t.howMany++,t.targetPosition=o,[t];if(i.start.hasSameParentAs(e.splitPosition)&&i.containsPosition(e.splitPosition)){let t=new Uc(e.splitPosition,i.end);t=t._getTransformedBySplitOperation(e);return du([new Uc(i.start,e.splitPosition),t],o)}t.targetPosition.isEqual(e.splitPosition)&&"insertAtSource"==n.abRelation&&(o=e.moveTargetPosition),t.targetPosition.isEqual(e.insertionPosition)&&"insertBetween"==n.abRelation&&(o=t.targetPosition);const r=[i._getTransformedBySplitOperation(e)];if(e.graveyardPosition){const o=i.start.isEqual(e.graveyardPosition)||i.containsPosition(e.graveyardPosition);t.howMany>1&&o&&!n.aWasUndone&&r.push(Uc._createFromPositionAndShift(e.insertionPosition,1))}return du(r,o)})),eu(Vd,qd,((t,e,n)=>{const o=Uc._createFromPositionAndShift(t.sourcePosition,t.howMany);if(e.deletionPosition.hasSameParentAs(t.sourcePosition)&&o.containsPosition(e.sourcePosition))if("remove"!=t.type||n.forceWeakRemove){if(1==t.howMany)return n.bWasUndone?(t.sourcePosition=e.graveyardPosition.clone(),t.targetPosition=t.targetPosition._getTransformedByMergeOperation(e),[t]):[new $d(0)]}else if(!n.aWasUndone){const n=[];let o=e.graveyardPosition.clone(),i=e.targetPosition._getTransformedByMergeOperation(e);t.howMany>1&&(n.push(new Vd(t.sourcePosition,t.howMany-1,t.targetPosition,0)),o=o._getTransformedByMove(t.sourcePosition,t.targetPosition,t.howMany-1),i=i._getTransformedByMove(t.sourcePosition,t.targetPosition,t.howMany-1));const r=e.deletionPosition._getCombined(t.sourcePosition,t.targetPosition),s=new Vd(o,1,r,0),a=s.getMovedRangeStart().path.slice();a.push(0);const c=new zc(s.targetPosition.root,a);i=i._getTransformedByMove(o,r,1);const l=new Vd(i,e.howMany,c,0);return n.push(s),n.push(l),n}const i=Uc._createFromPositionAndShift(t.sourcePosition,t.howMany)._getTransformedByMergeOperation(e);return t.sourcePosition=i.start,t.howMany=i.end.offset-i.start.offset,t.targetPosition=t.targetPosition._getTransformedByMergeOperation(e),[t]})),eu(Yd,Hd,((t,e)=>(t.position=t.position._getTransformedByInsertOperation(e),[t]))),eu(Yd,qd,((t,e)=>t.position.isEqual(e.deletionPosition)?(t.position=e.graveyardPosition.clone(),t.position.stickiness="toNext",[t]):(t.position=t.position._getTransformedByMergeOperation(e),[t]))),eu(Yd,Vd,((t,e)=>(t.position=t.position._getTransformedByMoveOperation(e),[t]))),eu(Yd,Yd,((t,e,n)=>{if(t.position.isEqual(e.position)){if(!n.aIsStrong)return[new $d(0)];t.oldName=e.newName}return[t]})),eu(Yd,Ud,((t,e)=>{if("same"==et(t.position.path,e.splitPosition.getParentPath())&&!e.graveyardPosition){const e=new Yd(t.position.getShiftedBy(1),t.oldName,t.newName,0);return[t,e]}return t.position=t.position._getTransformedBySplitOperation(e),[t]})),eu(Qd,Qd,((t,e,n)=>{if(t.root===e.root&&t.key===e.key){if(!n.aIsStrong||t.newValue===e.newValue)return[new $d(0)];t.oldValue=e.newValue}return[t]})),eu(Zd,Zd,((t,e)=>t.rootName===e.rootName&&t.isAdd===e.isAdd?[new $d(0)]:[t])),eu(Ud,Hd,((t,e)=>(t.splitPosition.hasSameParentAs(e.position)&&t.splitPosition.offset{if(!t.graveyardPosition&&!n.bWasUndone&&t.splitPosition.hasSameParentAs(e.sourcePosition)){const n=e.graveyardPosition.path.slice();n.push(0);const o=new zc(e.graveyardPosition.root,n),i=Ud.getInsertionPosition(new zc(e.graveyardPosition.root,n)),r=new Ud(o,0,i,null,0);return t.splitPosition=t.splitPosition._getTransformedByMergeOperation(e),t.insertionPosition=Ud.getInsertionPosition(t.splitPosition),t.graveyardPosition=r.insertionPosition.clone(),t.graveyardPosition.stickiness="toNext",[r,t]}return t.splitPosition.hasSameParentAs(e.deletionPosition)&&!t.splitPosition.isAfter(e.deletionPosition)&&t.howMany--,t.splitPosition.hasSameParentAs(e.targetPosition)&&(t.howMany+=e.howMany),t.splitPosition=t.splitPosition._getTransformedByMergeOperation(e),t.insertionPosition=Ud.getInsertionPosition(t.splitPosition),t.graveyardPosition&&(t.graveyardPosition=t.graveyardPosition._getTransformedByMergeOperation(e)),[t]})),eu(Ud,Vd,((t,e,n)=>{const o=Uc._createFromPositionAndShift(e.sourcePosition,e.howMany);if(t.graveyardPosition){const i=o.start.isEqual(t.graveyardPosition)||o.containsPosition(t.graveyardPosition);if(!n.bWasUndone&&i){const n=t.splitPosition._getTransformedByMoveOperation(e),o=t.graveyardPosition._getTransformedByMoveOperation(e),i=o.path.slice();i.push(0);const r=new zc(o.root,i);return[new Vd(n,t.howMany,r,0)]}t.graveyardPosition=t.graveyardPosition._getTransformedByMoveOperation(e)}const i=t.splitPosition.isEqual(e.targetPosition);if(i&&("insertAtSource"==n.baRelation||"splitBefore"==n.abRelation))return t.howMany+=e.howMany,t.splitPosition=t.splitPosition._getTransformedByDeletion(e.sourcePosition,e.howMany),t.insertionPosition=Ud.getInsertionPosition(t.splitPosition),[t];if(i&&n.abRelation&&n.abRelation.howMany){const{howMany:e,offset:o}=n.abRelation;return t.howMany+=e,t.splitPosition=t.splitPosition.getShiftedBy(o),[t]}if(t.splitPosition.hasSameParentAs(e.sourcePosition)&&o.containsPosition(t.splitPosition)){const n=e.howMany-(t.splitPosition.offset-e.sourcePosition.offset);return t.howMany-=n,t.splitPosition.hasSameParentAs(e.targetPosition)&&t.splitPosition.offset{if(t.splitPosition.isEqual(e.splitPosition)){if(!t.graveyardPosition&&!e.graveyardPosition)return[new $d(0)];if(t.graveyardPosition&&e.graveyardPosition&&t.graveyardPosition.isEqual(e.graveyardPosition))return[new $d(0)];if("splitBefore"==n.abRelation)return t.howMany=0,t.graveyardPosition=t.graveyardPosition._getTransformedBySplitOperation(e),[t]}if(t.graveyardPosition&&e.graveyardPosition&&t.graveyardPosition.isEqual(e.graveyardPosition)){const o="$graveyard"==t.splitPosition.root.rootName,i="$graveyard"==e.splitPosition.root.rootName;if(i&&!o||!(o&&!i)&&n.aIsStrong){const n=[];return e.howMany&&n.push(new Vd(e.moveTargetPosition,e.howMany,e.splitPosition,0)),t.howMany&&n.push(new Vd(t.splitPosition,t.howMany,t.moveTargetPosition,0)),n}return[new $d(0)]}if(t.graveyardPosition&&(t.graveyardPosition=t.graveyardPosition._getTransformedBySplitOperation(e)),t.splitPosition.isEqual(e.insertionPosition)&&"splitBefore"==n.abRelation)return t.howMany++,[t];if(e.splitPosition.isEqual(t.insertionPosition)&&"splitBefore"==n.baRelation){const n=e.insertionPosition.path.slice();n.push(0);const o=new zc(e.insertionPosition.root,n);return[t,new Vd(t.insertionPosition,1,o,0)]}return t.splitPosition.hasSameParentAs(e.splitPosition)&&t.splitPosition.offset{const n=e[0];n.isDocumentOperation&&gu.call(this,n)}),{priority:"low"})}function gu(t){const e=this.getTransformedByOperation(t);if(!this.isEqual(e)){const t=this.toPosition();this.path=e.path,this.root=e.root,this.fire("change",t)}}uu.prototype.is=function(t){return"livePosition"===t||"model:livePosition"===t||"position"==t||"model:position"===t};class mu{constructor(t={}){"string"==typeof t&&(t="transparent"===t?{isUndoable:!1}:{},C("batch-constructor-deprecated-string-type"));const{isUndoable:e=!0,isLocal:n=!0,isUndo:o=!1,isTyping:i=!1}=t;this.operations=[],this.isUndoable=e,this.isLocal=n,this.isUndo=o,this.isTyping=i}get type(){return C("batch-type-deprecated"),"default"}get baseVersion(){for(const t of this.operations)if(null!==t.baseVersion)return t.baseVersion;return null}addOperation(t){return t.batch=this,this.operations.push(t),t}}var pu=Object.defineProperty,fu=Object.defineProperties,ku=Object.getOwnPropertyDescriptors,bu=Object.getOwnPropertySymbols,wu=Object.prototype.hasOwnProperty,Au=Object.prototype.propertyIsEnumerable,_u=(t,e,n)=>e in t?pu(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Cu=(t,e)=>{for(var n in e||(e={}))wu.call(e,n)&&_u(t,n,e[n]);if(bu)for(var n of bu(e))Au.call(e,n)&&_u(t,n,e[n]);return t};class vu{constructor(t){this._changesInElement=new Map,this._elementSnapshots=new Map,this._changedMarkers=new Map,this._changedRoots=new Map,this._changeCount=0,this._cachedChanges=null,this._cachedChangesWithGraveyard=null,this._refreshedItems=new Set,this._markerCollection=t}get isEmpty(){return 0==this._changesInElement.size&&0==this._changedMarkers.size&&0==this._changedRoots.size}bufferOperation(t){const e=t;switch(e.type){case"insert":if(this._isInInsertedElement(e.position.parent))return;this._markInsert(e.position.parent,e.position.offset,e.nodes.maxOffset);break;case"addAttribute":case"removeAttribute":case"changeAttribute":for(const t of e.range.getItems({shallow:!0}))this._isInInsertedElement(t.parent)||this._markAttribute(t);break;case"remove":case"move":case"reinsert":{if(e.sourcePosition.isEqual(e.targetPosition)||e.sourcePosition.getShiftedBy(e.howMany).isEqual(e.targetPosition))return;const t=this._isInInsertedElement(e.sourcePosition.parent),n=this._isInInsertedElement(e.targetPosition.parent);t||this._markRemove(e.sourcePosition.parent,e.sourcePosition.offset,e.howMany),n||this._markInsert(e.targetPosition.parent,e.getMovedRangeStart().offset,e.howMany);break}case"rename":{if(this._isInInsertedElement(e.position.parent))return;this._markRemove(e.position.parent,e.position.offset,1),this._markInsert(e.position.parent,e.position.offset,1);const t=Uc._createFromPositionAndShift(e.position,1);for(const e of this._markerCollection.getMarkersIntersectingRange(t)){const t=e.getData();this.bufferMarkerChange(e.name,t,t)}break}case"split":{const t=e.splitPosition.parent;this._isInInsertedElement(t)||this._markRemove(t,e.splitPosition.offset,e.howMany),this._isInInsertedElement(e.insertionPosition.parent)||this._markInsert(e.insertionPosition.parent,e.insertionPosition.offset,1),e.graveyardPosition&&this._markRemove(e.graveyardPosition.parent,e.graveyardPosition.offset,1);break}case"merge":{const t=e.sourcePosition.parent;this._isInInsertedElement(t.parent)||this._markRemove(t.parent,t.startOffset,1);const n=e.graveyardPosition.parent;this._markInsert(n,e.graveyardPosition.offset,1);const o=e.targetPosition.parent;this._isInInsertedElement(o)||this._markInsert(o,e.targetPosition.offset,t.maxOffset);break}case"detachRoot":case"addRoot":{const t=e.affectedSelectable;if(!t._isLoaded)return;if(t.isAttached()==e.isAdd)return;this._bufferRootStateChange(e.rootName,e.isAdd);break}case"addRootAttribute":case"removeRootAttribute":case"changeRootAttribute":{if(!e.root._isLoaded)return;const t=e.root.rootName;this._bufferRootAttributeChange(t,e.key,e.oldValue,e.newValue);break}}this._cachedChanges=null}bufferMarkerChange(t,e,n){e.range&&e.range.root.is("rootElement")&&!e.range.root._isLoaded&&(e.range=null),n.range&&n.range.root.is("rootElement")&&!n.range.root._isLoaded&&(n.range=null);let o=this._changedMarkers.get(t);o?o.newMarkerData=n:(o={newMarkerData:n,oldMarkerData:e},this._changedMarkers.set(t,o)),null==o.oldMarkerData.range&&null==n.range&&this._changedMarkers.delete(t)}getMarkersToRemove(){const t=[];for(const[e,n]of this._changedMarkers)null!=n.oldMarkerData.range&&t.push({name:e,range:n.oldMarkerData.range});return t}getMarkersToAdd(){const t=[];for(const[e,n]of this._changedMarkers)null!=n.newMarkerData.range&&t.push({name:e,range:n.newMarkerData.range});return t}getChangedMarkers(){return Array.from(this._changedMarkers).map((([t,e])=>({name:t,data:{oldRange:e.oldMarkerData.range,newRange:e.newMarkerData.range}})))}hasDataChanges(){if(this.getChanges().length)return!0;if(this._changedRoots.size>0)return!0;for(const{newMarkerData:t,oldMarkerData:e}of this._changedMarkers.values()){if(t.affectsData!==e.affectsData)return!0;if(t.affectsData){const n=t.range&&!e.range,o=!t.range&&e.range,i=t.range&&e.range&&!t.range.isEqual(e.range);if(n||o||i)return!0}}return!1}getChanges(t={}){if(this._cachedChanges)return t.includeChangesInGraveyard?this._cachedChangesWithGraveyard.slice():this._cachedChanges.slice();let e=[];for(const t of this._changesInElement.keys()){const n=this._changesInElement.get(t).sort(((t,e)=>t.offset===e.offset?t.type!=e.type?"remove"==t.type?-1:1:0:t.offsett.position.root!=e.position.root?t.position.root.rootNamet));for(const t of e)delete t.changeCount,"attribute"==t.type&&(delete t.position,delete t.length);return this._changeCount=0,this._cachedChangesWithGraveyard=e,this._cachedChanges=e.filter(Eu),t.includeChangesInGraveyard?this._cachedChangesWithGraveyard.slice():this._cachedChanges.slice()}getChangedRoots(){return Array.from(this._changedRoots.values()).map((t=>{const e=Cu({},t);return void 0!==e.state&&delete e.attributes,e}))}getRefreshedItems(){return new Set(this._refreshedItems)}reset(){this._changesInElement.clear(),this._elementSnapshots.clear(),this._changedMarkers.clear(),this._changedRoots.clear(),this._refreshedItems=new Set,this._cachedChanges=null}_bufferRootStateChange(t,e){if(!this._changedRoots.has(t))return void this._changedRoots.set(t,{name:t,state:e?"attached":"detached"});const n=this._changedRoots.get(t);void 0!==n.state?(delete n.state,void 0===n.attributes&&this._changedRoots.delete(t)):n.state=e?"attached":"detached"}_bufferRootAttributeChange(t,e,n,o){const i=this._changedRoots.get(t)||{name:t},r=i.attributes||{};if(r[e]){const t=r[e];o===t.oldValue?delete r[e]:t.newValue=o}else r[e]={oldValue:n,newValue:o};0===Object.entries(r).length?(delete i.attributes,void 0===i.state&&this._changedRoots.delete(t)):(i.attributes=r,this._changedRoots.set(t,i))}_refreshItem(t){if(this._isInInsertedElement(t.parent))return;this._markRemove(t.parent,t.startOffset,t.offsetSize),this._markInsert(t.parent,t.startOffset,t.offsetSize),this._refreshedItems.add(t);const e=Uc._createOn(t);for(const t of this._markerCollection.getMarkersIntersectingRange(e)){const e=t.getData();this.bufferMarkerChange(t.name,e,e)}this._cachedChanges=null}_bufferRootLoad(t){if(t.isAttached()){this._bufferRootStateChange(t.rootName,!0),this._markInsert(t,0,t.maxOffset);for(const e of t.getAttributeKeys())this._bufferRootAttributeChange(t.rootName,e,null,t.getAttribute(e));for(const n of this._markerCollection)if(n.getRange().root==t){const t=n.getData();this.bufferMarkerChange(n.name,(e=Cu({},t),fu(e,ku({range:null}))),t)}var e}}_markInsert(t,e,n){if(t.root.is("rootElement")&&!t.root._isLoaded)return;const o={type:"insert",offset:e,howMany:n,count:this._changeCount++};this._markChange(t,o)}_markRemove(t,e,n){if(t.root.is("rootElement")&&!t.root._isLoaded)return;const o={type:"remove",offset:e,howMany:n,count:this._changeCount++};this._markChange(t,o),this._removeAllNestedChanges(t,e,n)}_markAttribute(t){if(t.root.is("rootElement")&&!t.root._isLoaded)return;const e={type:"attribute",offset:t.startOffset,howMany:t.offsetSize,count:this._changeCount++};this._markChange(t.parent,e)}_markChange(t,e){this._makeSnapshot(t);const n=this._getChangesForElement(t);this._handleChange(e,n),n.push(e);for(let t=0;tn.offset){if(o>i){const t={type:"attribute",offset:i,howMany:o-i,count:this._changeCount++};this._handleChange(t,e),e.push(t)}t.nodesToHandle=n.offset-t.offset,t.howMany=t.nodesToHandle}else t.offset>=n.offset&&t.offseti?(t.nodesToHandle=o-i,t.offset=i):t.nodesToHandle=0);if("remove"==n.type&&t.offsetn.offset){const i={type:"attribute",offset:n.offset,howMany:o-n.offset,count:this._changeCount++};this._handleChange(i,e),e.push(i),t.nodesToHandle=n.offset-t.offset,t.howMany=t.nodesToHandle}"attribute"==n.type&&(t.offset>=n.offset&&o<=i?(t.nodesToHandle=0,t.howMany=0,t.offset=0):t.offset<=n.offset&&o>=i&&(n.howMany=0))}}t.howMany=t.nodesToHandle,delete t.nodesToHandle}_getInsertDiff(t,e,n){return{type:"insert",position:zc._createAt(t,e),name:n.name,attributes:new Map(n.attributes),length:1,changeCount:this._changeCount++,_element:n.element}}_getRemoveDiff(t,e,n){return{type:"remove",position:zc._createAt(t,e),name:n.name,attributes:new Map(n.attributes),length:1,changeCount:this._changeCount++,_element:n.element}}_getAttributesDiff(t,e,n){const o=[];n=new Map(n);for(const[i,r]of e){const e=n.has(i)?n.get(i):null;e!==r&&o.push({type:"attribute",position:t.start,range:t.clone(),length:1,attributeKey:i,attributeOldValue:r,attributeNewValue:e,changeCount:this._changeCount++}),n.delete(i)}for(const[e,i]of n)o.push({type:"attribute",position:t.start,range:t.clone(),length:1,attributeKey:e,attributeOldValue:null,attributeNewValue:i,changeCount:this._changeCount++});return o}_isInInsertedElement(t){const e=t.parent;if(!e)return!1;const n=this._changesInElement.get(e),o=t.startOffset;if(n)for(const t of n)if("insert"==t.type&&o>=t.offset&&oo){for(let e=0;ethis._version+1&&this._gaps.set(this._version,t),this._version=t}get lastOperation(){return this._operations[this._operations.length-1]}addOperation(t){if(t.baseVersion!==this.version)throw new _("model-document-history-addoperation-incorrect-version",this,{operation:t,historyVersion:this.version});this._operations.push(t),this._version++,this._baseVersionToOperationIndex.set(t.baseVersion,this._operations.length-1)}getOperations(t,e=this.version){if(!this._operations.length)return[];const n=this._operations[0];void 0===t&&(t=n.baseVersion);let o=e-1;for(const[e,n]of this._gaps)t>e&&te&&othis.lastOperation.baseVersion)return[];let i=this._baseVersionToOperationIndex.get(t);void 0===i&&(i=0);let r=this._baseVersionToOperationIndex.get(o);return void 0===r&&(r=this._operations.length-1),this._operations.slice(i,r+1)}getOperation(t){const e=this._baseVersionToOperationIndex.get(t);if(void 0!==e)return this._operations[e]}setOperationAsUndone(t,e){this._undoPairs.set(e,t),this._undoneOperations.add(t)}isUndoingOperation(t){return this._undoPairs.has(t)}isUndoneOperation(t){return this._undoneOperations.has(t)}getUndoneOperation(t){return this._undoPairs.get(t)}reset(){this._version=0,this._undoPairs=new Map,this._operations=[],this._undoneOperations=new Set,this._gaps=new Map,this._baseVersionToOperationIndex=new Map}}class Iu extends Pc{constructor(t,e,n="main"){super(e),this._isAttached=!0,this._isLoaded=!0,this._document=t,this.rootName=n}get document(){return this._document}isAttached(){return this._isAttached}toJSON(){return this.rootName}}Iu.prototype.is=function(t,e){return e?e===this.name&&("rootElement"===t||"model:rootElement"===t||"element"===t||"model:element"===t):"rootElement"===t||"model:rootElement"===t||"element"===t||"model:element"===t||"node"===t||"model:node"===t};var Mu=Object.defineProperty,Tu=Object.defineProperties,Su=Object.getOwnPropertyDescriptors,Bu=Object.getOwnPropertySymbols,Nu=Object.prototype.hasOwnProperty,Pu=Object.prototype.propertyIsEnumerable,Ou=(t,e,n)=>e in t?Mu(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Lu=(t,e)=>{for(var n in e||(e={}))Nu.call(e,n)&&Ou(t,n,e[n]);if(Bu)for(var n of Bu(e))Pu.call(e,n)&&Ou(t,n,e[n]);return t},zu=(t,e)=>Tu(t,Su(e));const Ru="$graveyard";class ju extends(B()){constructor(t){super(),this.model=t,this.history=new Du,this.selection=new fl(this),this.roots=new Yi({idProperty:"rootName"}),this.differ=new vu(t.markers),this.isReadOnly=!1,this._postFixers=new Set,this._hasSelectionChangedFromTheLastChangeBlock=!1,this.createRoot("$root",Ru),this.listenTo(t,"applyOperation",((t,e)=>{const n=e[0];n.isDocumentOperation&&this.differ.bufferOperation(n)}),{priority:"high"}),this.listenTo(t,"applyOperation",((t,e)=>{const n=e[0];n.isDocumentOperation&&this.history.addOperation(n)}),{priority:"low"}),this.listenTo(this.selection,"change",(()=>{this._hasSelectionChangedFromTheLastChangeBlock=!0})),this.listenTo(t.markers,"update",((t,e,n,o,i)=>{const r=zu(Lu({},e.getData()),{range:o});this.differ.bufferMarkerChange(e.name,i,r),null===n&&e.on("change",((t,n)=>{const o=e.getData();this.differ.bufferMarkerChange(e.name,zu(Lu({},o),{range:n}),o)}))})),this.registerPostFixer((t=>{let e=!1;for(const n of this.roots)n.isAttached()||n.isEmpty||(t.remove(t.createRangeIn(n)),e=!0);for(const n of this.model.markers)n.getRange().root.isAttached()||(t.removeMarker(n),e=!0);return e}))}get version(){return this.history.version}set version(t){this.history.version=t}get graveyard(){return this.getRoot(Ru)}createRoot(t="$root",e="main"){if(this.roots.get(e))throw new _("model-document-createroot-name-exists",this,{name:e});const n=new Iu(this,t,e);return this.roots.add(n),n}destroy(){this.selection.destroy(),this.stopListening()}getRoot(t="main"){return this.roots.get(t)}getRootNames(t=!1){return this.getRoots(t).map((t=>t.rootName))}getRoots(t=!1){return this.roots.filter((e=>e!=this.graveyard&&(t||e.isAttached())&&e._isLoaded))}registerPostFixer(t){this._postFixers.add(t)}toJSON(){const t=Sr(this);return t.selection="[engine.model.DocumentSelection]",t.model="[engine.model.Model]",t}_handleChangeBlock(t){this._hasDocumentChangedFromTheLastChangeBlock()&&(this._callPostFixers(t),this.selection.refresh(),this.differ.hasDataChanges()?this.fire("change:data",t.batch):this.fire("change",t.batch),this.selection.refresh(),this.differ.reset()),this._hasSelectionChangedFromTheLastChangeBlock=!1}_hasDocumentChangedFromTheLastChangeBlock(){return!this.differ.isEmpty||this._hasSelectionChangedFromTheLastChangeBlock}_getDefaultRoot(){const t=this.getRoots();return t.length?t[0]:this.graveyard}_getDefaultRange(){const t=this._getDefaultRoot(),e=this.model,n=e.schema,o=e.createPositionFromPath(t,[0]);return n.getNearestSelectionRange(o)||e.createRange(o)}_validateSelectionRange(t){return Fu(t.start)&&Fu(t.end)}_callPostFixers(t){let e=!1;do{for(const n of this._postFixers)if(this.selection.refresh(),e=n(t),e)break}while(e)}}function Fu(t){const e=t.textNode;if(e){const n=e.data,o=t.offset-e.startOffset;return!er(n,o)&&!nr(n,o)}return!0}var Vu=Object.defineProperty,Hu=Object.defineProperties,Uu=Object.getOwnPropertyDescriptors,qu=Object.getOwnPropertySymbols,Gu=Object.prototype.hasOwnProperty,Wu=Object.prototype.propertyIsEnumerable,Ku=(t,e,n)=>e in t?Vu(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;class $u extends(B()){constructor(){super(...arguments),this._markers=new Map}[Symbol.iterator](){return this._markers.values()}has(t){const e=t instanceof Yu?t.name:t;return this._markers.has(e)}get(t){return this._markers.get(t)||null}_set(t,e,n=!1,o=!1){const i=t instanceof Yu?t.name:t;if(i.includes(","))throw new _("markercollection-incorrect-marker-name",this);const r=this._markers.get(i);if(r){const t=r.getData(),s=r.getRange();let a=!1;return s.isEqual(e)||(r._attachLiveRange(hl.fromRange(e)),a=!0),n!=r.managedUsingOperations&&(r._managedUsingOperations=n,a=!0),"boolean"==typeof o&&o!=r.affectsData&&(r._affectsData=o,a=!0),a&&this.fire(`update:${i}`,r,s,e,t),r}const s=hl.fromRange(e),a=new Yu(i,s,n,o);var c;return this._markers.set(i,a),this.fire(`update:${i}`,a,null,e,(c=((t,e)=>{for(var n in e||(e={}))Gu.call(e,n)&&Ku(t,n,e[n]);if(qu)for(var n of qu(e))Wu.call(e,n)&&Ku(t,n,e[n]);return t})({},a.getData()),Hu(c,Uu({range:null})))),a}_remove(t){const e=t instanceof Yu?t.name:t,n=this._markers.get(e);return!!n&&(this._markers.delete(e),this.fire(`update:${e}`,n,n.getRange(),null,n.getData()),this._destroyMarker(n),!0)}_refresh(t){const e=t instanceof Yu?t.name:t,n=this._markers.get(e);if(!n)throw new _("markercollection-refresh-marker-not-exists",this);const o=n.getRange();this.fire(`update:${e}`,n,o,o,n.getData())}*getMarkersAtPosition(t){for(const e of this)e.getRange().containsPosition(t)&&(yield e)}*getMarkersIntersectingRange(t){for(const e of this)null!==e.getRange().getIntersection(t)&&(yield e)}destroy(){for(const t of this._markers.values())this._destroyMarker(t);this._markers=null,this.stopListening()}*getMarkersGroup(t){for(const e of this._markers.values())e.name.startsWith(t+":")&&(yield e)}_destroyMarker(t){t.stopListening(),t._detachLiveRange()}}class Yu extends(B(Mc)){constructor(t,e,n,o){super(),this.name=t,this._liveRange=this._attachLiveRange(e),this._managedUsingOperations=n,this._affectsData=o}get managedUsingOperations(){if(!this._liveRange)throw new _("marker-destroyed",this);return this._managedUsingOperations}get affectsData(){if(!this._liveRange)throw new _("marker-destroyed",this);return this._affectsData}getData(){return{range:this.getRange(),affectsData:this.affectsData,managedUsingOperations:this.managedUsingOperations}}getStart(){if(!this._liveRange)throw new _("marker-destroyed",this);return this._liveRange.start.clone()}getEnd(){if(!this._liveRange)throw new _("marker-destroyed",this);return this._liveRange.end.clone()}getRange(){if(!this._liveRange)throw new _("marker-destroyed",this);return this._liveRange.toRange()}_attachLiveRange(t){return this._liveRange&&this._detachLiveRange(),t.delegate("change:range").to(this),t.delegate("change:content").to(this),this._liveRange=t,t}_detachLiveRange(){this._liveRange.stopDelegating("change:range",this),this._liveRange.stopDelegating("change:content",this),this._liveRange.detach(),this._liveRange=null}}Yu.prototype.is=function(t){return"marker"===t||"model:marker"===t};class Qu extends Nd{constructor(t,e){super(null),this.sourcePosition=t.clone(),this.howMany=e}get type(){return"detach"}get affectedSelectable(){return null}toJSON(){const t=super.toJSON();return t.sourcePosition=this.sourcePosition.toJSON(),t}_validate(){if(this.sourcePosition.root.document)throw new _("detach-operation-on-document-node",this)}_execute(){Od(Uc._createFromPositionAndShift(this.sourcePosition,this.howMany))}static get className(){return"DetachOperation"}}class Zu extends Mc{constructor(t){super(),this.markers=new Map,this._children=new Sc,t&&this._insertChild(0,t)}[Symbol.iterator](){return this.getChildren()}get childCount(){return this._children.length}get maxOffset(){return this._children.maxOffset}get isEmpty(){return 0===this.childCount}get nextSibling(){return null}get previousSibling(){return null}get root(){return this}get parent(){return null}get document(){return null}isAttached(){return!1}getAncestors(){return[]}getChild(t){return this._children.getNode(t)}getChildren(){return this._children[Symbol.iterator]()}getChildIndex(t){return this._children.getNodeIndex(t)}getChildStartOffset(t){return this._children.getNodeStartOffset(t)}getPath(){return[]}getNodeByPath(t){let e=this;for(const n of t)e=e.getChild(e.offsetToIndex(n));return e}offsetToIndex(t){return this._children.offsetToIndex(t)}toJSON(){const t=[];for(const e of this._children)t.push(e.toJSON());return t}static fromJSON(t){const e=[];for(const n of t)n.name?e.push(Pc.fromJSON(n)):e.push(Bc.fromJSON(n));return new Zu(e)}_appendChild(t){this._insertChild(this.childCount,t)}_insertChild(t,e){const n=function(t){if("string"==typeof t)return[new Bc(t)];nt(t)||(t=[t]);return Array.from(t).map((t=>"string"==typeof t?new Bc(t):t instanceof Nc?new Bc(t.data,t.getAttributes()):t))}(e);for(const t of n)null!==t.parent&&t._remove(),t.parent=this;this._children._insertNodes(t,n)}_removeChildren(t,e=1){const n=this._children._removeNodes(t,e);for(const t of n)t.parent=null;return n}}Zu.prototype.is=function(t){return"documentFragment"===t||"model:documentFragment"===t};class Ju{constructor(t,e){this.model=t,this.batch=e}createText(t,e){return new Bc(t,e)}createElement(t,e){return new Pc(t,e)}createDocumentFragment(){return new Zu}cloneElement(t,e=!0){return t._clone(e)}insert(t,e,n=0){if(this._assertWriterUsedCorrectly(),t instanceof Bc&&""==t.data)return;const o=zc._createAt(e,n);if(t.parent){if(oh(t.root,o.root))return void this.move(Uc._createOn(t),o);if(t.root.document)throw new _("model-writer-insert-forbidden-move",this);this.remove(t)}const i=o.root.document?o.root.document.version:null,r=new Hd(o,t,i);if(t instanceof Bc&&(r.shouldReceiveAttributes=!0),this.batch.addOperation(r),this.model.applyOperation(r),t instanceof Zu)for(const[e,n]of t.markers){const t=zc._createAt(n.root,0),i={range:new Uc(n.start._getCombined(t,o),n.end._getCombined(t,o)),usingOperation:!0,affectsData:!0};this.model.markers.has(e)?this.updateMarker(e,i):this.addMarker(e,i)}}insertText(t,e,n,o){e instanceof Zu||e instanceof Pc||e instanceof zc?this.insert(this.createText(t),e,n):this.insert(this.createText(t,e),n,o)}insertElement(t,e,n,o){e instanceof Zu||e instanceof Pc||e instanceof zc?this.insert(this.createElement(t),e,n):this.insert(this.createElement(t,e),n,o)}append(t,e){this.insert(t,e,"end")}appendText(t,e,n){e instanceof Zu||e instanceof Pc?this.insert(this.createText(t),e,"end"):this.insert(this.createText(t,e),n,"end")}appendElement(t,e,n){e instanceof Zu||e instanceof Pc?this.insert(this.createElement(t),e,"end"):this.insert(this.createElement(t,e),n,"end")}setAttribute(t,e,n){if(this._assertWriterUsedCorrectly(),n instanceof Uc){const o=n.getMinimalFlatRanges();for(const n of o)Xu(this,t,e,n)}else th(this,t,e,n)}setAttributes(t,e){for(const[n,o]of Xi(t))this.setAttribute(n,o,e)}removeAttribute(t,e){if(this._assertWriterUsedCorrectly(),e instanceof Uc){const n=e.getMinimalFlatRanges();for(const e of n)Xu(this,t,null,e)}else th(this,t,null,e)}clearAttributes(t){this._assertWriterUsedCorrectly();const e=t=>{for(const e of t.getAttributeKeys())this.removeAttribute(e,t)};if(t instanceof Uc)for(const n of t.getItems())e(n);else e(t)}move(t,e,n){if(this._assertWriterUsedCorrectly(),!(t instanceof Uc))throw new _("writer-move-invalid-range",this);if(!t.isFlat)throw new _("writer-move-range-not-flat",this);const o=zc._createAt(e,n);if(o.isEqual(t.start))return;if(this._addOperationForAffectedMarkers("move",t),!oh(t.root,o.root))throw new _("writer-move-different-document",this);const i=t.root.document?t.root.document.version:null,r=new Vd(t.start,t.end.offset-t.start.offset,o,i);this.batch.addOperation(r),this.model.applyOperation(r)}remove(t){this._assertWriterUsedCorrectly();const e=(t instanceof Uc?t:Uc._createOn(t)).getMinimalFlatRanges().reverse();for(const t of e)this._addOperationForAffectedMarkers("move",t),nh(t.start,t.end.offset-t.start.offset,this.batch,this.model)}merge(t){this._assertWriterUsedCorrectly();const e=t.nodeBefore,n=t.nodeAfter;if(this._addOperationForAffectedMarkers("merge",t),!(e instanceof Pc))throw new _("writer-merge-no-element-before",this);if(!(n instanceof Pc))throw new _("writer-merge-no-element-after",this);t.root.document?this._merge(t):this._mergeDetached(t)}createPositionFromPath(t,e,n){return this.model.createPositionFromPath(t,e,n)}createPositionAt(t,e){return this.model.createPositionAt(t,e)}createPositionAfter(t){return this.model.createPositionAfter(t)}createPositionBefore(t){return this.model.createPositionBefore(t)}createRange(t,e){return this.model.createRange(t,e)}createRangeIn(t){return this.model.createRangeIn(t)}createRangeOn(t){return this.model.createRangeOn(t)}createSelection(...t){return this.model.createSelection(...t)}_mergeDetached(t){const e=t.nodeBefore,n=t.nodeAfter;this.move(Uc._createIn(n),zc._createAt(e,"end")),this.remove(n)}_merge(t){const e=zc._createAt(t.nodeBefore,"end"),n=zc._createAt(t.nodeAfter,0),o=t.root.document.graveyard,i=new zc(o,[0]),r=t.root.document.version,s=new qd(n,t.nodeAfter.maxOffset,e,i,r);this.batch.addOperation(s),this.model.applyOperation(s)}rename(t,e){if(this._assertWriterUsedCorrectly(),!(t instanceof Pc))throw new _("writer-rename-not-element-instance",this);const n=t.root.document?t.root.document.version:null,o=new Yd(zc._createBefore(t),t.name,e,n);this.batch.addOperation(o),this.model.applyOperation(o)}split(t,e){this._assertWriterUsedCorrectly();let n,o,i=t.parent;if(!i.parent)throw new _("writer-split-element-no-parent",this);if(e||(e=i.parent),!t.parent.getAncestors({includeSelf:!0}).includes(e))throw new _("writer-split-invalid-limit-element",this);do{const e=i.root.document?i.root.document.version:null,r=i.maxOffset-t.offset,s=Ud.getInsertionPosition(t),a=new Ud(t,r,s,null,e);this.batch.addOperation(a),this.model.applyOperation(a),n||o||(n=i,o=t.parent.nextSibling),i=(t=this.createPositionAfter(t.parent)).parent}while(i!==e);return{position:t,range:new Uc(zc._createAt(n,"end"),zc._createAt(o,0))}}wrap(t,e){if(this._assertWriterUsedCorrectly(),!t.isFlat)throw new _("writer-wrap-range-not-flat",this);const n=e instanceof Pc?e:new Pc(e);if(n.childCount>0)throw new _("writer-wrap-element-not-empty",this);if(null!==n.parent)throw new _("writer-wrap-element-attached",this);this.insert(n,t.start);const o=new Uc(t.start.getShiftedBy(1),t.end.getShiftedBy(1));this.move(o,zc._createAt(n,0))}unwrap(t){if(this._assertWriterUsedCorrectly(),null===t.parent)throw new _("writer-unwrap-element-no-parent",this);this.move(Uc._createIn(t),this.createPositionAfter(t)),this.remove(t)}addMarker(t,e){if(this._assertWriterUsedCorrectly(),!e||"boolean"!=typeof e.usingOperation)throw new _("writer-addmarker-no-usingoperation",this);const n=e.usingOperation,o=e.range,i=void 0!==e.affectsData&&e.affectsData;if(this.model.markers.has(t))throw new _("writer-addmarker-marker-exists",this);if(!o)throw new _("writer-addmarker-no-range",this);return n?(eh(this,t,null,o,i),this.model.markers.get(t)):this.model.markers._set(t,o,n,i)}updateMarker(t,e){this._assertWriterUsedCorrectly();const n="string"==typeof t?t:t.name,o=this.model.markers.get(n);if(!o)throw new _("writer-updatemarker-marker-not-exists",this);if(!e)return C("writer-updatemarker-reconvert-using-editingcontroller",{markerName:n}),void this.model.markers._refresh(o);const i="boolean"==typeof e.usingOperation,r="boolean"==typeof e.affectsData,s=r?e.affectsData:o.affectsData;if(!i&&!e.range&&!r)throw new _("writer-updatemarker-wrong-options",this);const a=o.getRange(),c=e.range?e.range:a;i&&e.usingOperation!==o.managedUsingOperations?e.usingOperation?eh(this,n,null,c,s):(eh(this,n,a,null,s),this.model.markers._set(n,c,void 0,s)):o.managedUsingOperations?eh(this,n,a,c,s):this.model.markers._set(n,c,void 0,s)}removeMarker(t){this._assertWriterUsedCorrectly();const e="string"==typeof t?t:t.name;if(!this.model.markers.has(e))throw new _("writer-removemarker-no-marker",this);const n=this.model.markers.get(e);if(!n.managedUsingOperations)return void this.model.markers._remove(e);eh(this,e,n.getRange(),null,n.affectsData)}addRoot(t,e="$root"){this._assertWriterUsedCorrectly();const n=this.model.document.getRoot(t);if(n&&n.isAttached())throw new _("writer-addroot-root-exists",this);const o=this.model.document,i=new Zd(t,e,!0,o,o.version);return this.batch.addOperation(i),this.model.applyOperation(i),this.model.document.getRoot(t)}detachRoot(t){this._assertWriterUsedCorrectly();const e="string"==typeof t?this.model.document.getRoot(t):t;if(!e||!e.isAttached())throw new _("writer-detachroot-no-root",this);for(const t of this.model.markers)t.getRange().root===e&&this.removeMarker(t);for(const t of e.getAttributeKeys())this.removeAttribute(t,e);this.remove(this.createRangeIn(e));const n=this.model.document,o=new Zd(e.rootName,e.name,!1,n,n.version);this.batch.addOperation(o),this.model.applyOperation(o)}setSelection(...t){this._assertWriterUsedCorrectly(),this.model.document.selection._setTo(...t)}setSelectionFocus(t,e){this._assertWriterUsedCorrectly(),this.model.document.selection._setFocus(t,e)}setSelectionAttribute(t,e){if(this._assertWriterUsedCorrectly(),"string"==typeof t)this._setSelectionAttribute(t,e);else for(const[e,n]of Xi(t))this._setSelectionAttribute(e,n)}removeSelectionAttribute(t){if(this._assertWriterUsedCorrectly(),"string"==typeof t)this._removeSelectionAttribute(t);else for(const e of t)this._removeSelectionAttribute(e)}overrideSelectionGravity(){return this.model.document.selection._overrideGravity()}restoreSelectionGravity(t){this.model.document.selection._restoreGravity(t)}_setSelectionAttribute(t,e){const n=this.model.document.selection;if(n.isCollapsed&&n.anchor.parent.isEmpty){const o=fl._getStoreAttributeKey(t);this.setAttribute(o,e,n.anchor.parent)}n._setAttribute(t,e)}_removeSelectionAttribute(t){const e=this.model.document.selection;if(e.isCollapsed&&e.anchor.parent.isEmpty){const n=fl._getStoreAttributeKey(t);this.removeAttribute(n,e.anchor.parent)}e._removeAttribute(t)}_assertWriterUsedCorrectly(){if(this.model._currentWriter!==this)throw new _("writer-incorrect-use",this)}_addOperationForAffectedMarkers(t,e){for(const n of this.model.markers){if(!n.managedUsingOperations)continue;const o=n.getRange();let i=!1;if("move"===t){const t=e;i=t.containsPosition(o.start)||t.start.isEqual(o.start)||t.containsPosition(o.end)||t.end.isEqual(o.end)}else{const t=e,n=t.nodeBefore,r=t.nodeAfter,s=o.start.parent==n&&o.start.isAtEnd,a=o.end.parent==r&&0==o.end.offset,c=o.end.nodeAfter==r,l=o.start.nodeAfter==r;i=s||a||c||l}i&&this.updateMarker(n.name,{range:o})}}}function Xu(t,e,n,o){const i=t.model,r=i.document;let s,a,c,l=o.start;for(const t of o.getWalker({shallow:!0}))c=t.item.getAttribute(e),s&&a!=c&&(a!=n&&d(),l=s),s=t.nextPosition,a=c;function d(){const o=new Uc(l,s),c=o.root.document?r.version:null,d=new Kd(o,e,a,n,c);t.batch.addOperation(d),i.applyOperation(d)}s instanceof zc&&s!=l&&a!=n&&d()}function th(t,e,n,o){const i=t.model,r=i.document,s=o.getAttribute(e);let a,c;if(s!=n){if(o.root===o){const t=o.document?r.version:null;c=new Qd(o,e,s,n,t)}else{a=new Uc(zc._createBefore(o),t.createPositionAfter(o));const i=a.root.document?r.version:null;c=new Kd(a,e,s,n,i)}t.batch.addOperation(c),i.applyOperation(c)}}function eh(t,e,n,o,i){const r=t.model,s=r.document,a=new Gd(e,n,o,r.markers,!!i,s.version);t.batch.addOperation(a),r.applyOperation(a)}function nh(t,e,n,o){let i;if(t.root.document){const n=o.document,r=new zc(n.graveyard,[0]);i=new Vd(t,e,r,n.version)}else i=new Qu(t,e);n.addOperation(i),o.applyOperation(i)}function oh(t,e){return t===e||t instanceof Iu&&e instanceof Iu}function ih(t,e,n={}){if(e.isCollapsed)return;const o=e.getFirstRange();if("$graveyard"==o.root.rootName)return;const i=t.schema;t.change((t=>{if(!n.doNotResetEntireContent&&function(t,e){const n=t.getLimitElement(e);if(!e.containsEntireContent(n))return!1;const o=e.getFirstRange();if(o.start.parent==o.end.parent)return!1;return t.checkChild(n,"paragraph")}(i,e))return void function(t,e){const n=t.model.schema.getLimitElement(e);t.remove(t.createRangeIn(n)),ch(t,t.createPositionAt(n,0),e)}(t,e);const r={};if(!n.doNotAutoparagraph){const t=e.getSelectedElement();t&&Object.assign(r,i.getAttributesWithProperty(t,"copyOnReplace",!0))}const[s,a]=function(t){const e=t.root.document.model,n=t.start;let o=t.end;if(e.hasContent(t,{ignoreMarkers:!0})){const n=function(t){const e=t.parent,n=e.root.document.model.schema,o=e.getAncestors({parentFirst:!0,includeSelf:!0});for(const t of o){if(n.isLimit(t))return null;if(n.isBlock(t))return t}}(o);if(n&&o.isTouching(e.createPositionAt(n,0))){const n=e.createSelection(t);e.modifySelection(n,{direction:"backward"});const i=n.getLastPosition(),r=e.createRange(i,o);e.hasContent(r,{ignoreMarkers:!0})||(o=i)}}return[uu.fromPosition(n,"toPrevious"),uu.fromPosition(o,"toNext")]}(o);s.isTouching(a)||t.remove(t.createRange(s,a)),n.leaveUnmerged||(!function(t,e,n){const o=t.model;if(!ah(t.model.schema,e,n))return;const[i,r]=function(t,e){const n=t.getAncestors(),o=e.getAncestors();let i=0;for(;n[i]&&n[i]==o[i];)i++;return[n[i],o[i]]}(e,n);if(!i||!r)return;!o.hasContent(i,{ignoreMarkers:!0})&&o.hasContent(r,{ignoreMarkers:!0})?sh(t,e,n,i.parent):rh(t,e,n,i.parent)}(t,s,a),i.removeDisallowedAttributes(s.parent.getChildren(),t)),lh(t,e,s),!n.doNotAutoparagraph&&function(t,e){const n=t.checkChild(e,"$text"),o=t.checkChild(e,"paragraph");return!n&&o}(i,s)&&ch(t,s,e,r),s.detach(),a.detach()}))}function rh(t,e,n,o){const i=e.parent,r=n.parent;if(i!=o&&r!=o){for(e=t.createPositionAfter(i),(n=t.createPositionBefore(r)).isEqual(e)||t.insert(r,e),t.merge(e);n.parent.isEmpty;){const e=n.parent;n=t.createPositionBefore(e),t.remove(e)}ah(t.model.schema,e,n)&&rh(t,e,n,o)}}function sh(t,e,n,o){const i=e.parent,r=n.parent;if(i!=o&&r!=o){for(e=t.createPositionAfter(i),(n=t.createPositionBefore(r)).isEqual(e)||t.insert(i,n);e.parent.isEmpty;){const n=e.parent;e=t.createPositionBefore(n),t.remove(n)}n=t.createPositionBefore(r),function(t,e){const n=e.nodeBefore,o=e.nodeAfter;n.name!=o.name&&t.rename(n,o.name);t.clearAttributes(n),t.setAttributes(Object.fromEntries(o.getAttributes()),n),t.merge(e)}(t,n),ah(t.model.schema,e,n)&&sh(t,e,n,o)}}function ah(t,e,n){const o=e.parent,i=n.parent;return o!=i&&(!t.isLimit(o)&&!t.isLimit(i)&&function(t,e,n){const o=new Uc(t,e);for(const t of o.getWalker())if(n.isLimit(t.item))return!1;return!0}(e,n,t))}function ch(t,e,n,o={}){const i=t.createElement("paragraph");t.model.schema.setAllowedAttributes(i,o,t),t.insert(i,e),lh(t,n,t.createPositionAt(i,0))}function lh(t,e,n){e instanceof fl?t.setSelection(n):e.setTo(n)}function dh(t,e){const n=[];Array.from(t.getItems({direction:"backward"})).map((t=>e.createRangeOn(t))).filter((e=>(e.start.isAfter(t.start)||e.start.isEqual(t.start))&&(e.end.isBefore(t.end)||e.end.isEqual(t.end)))).forEach((t=>{n.push(t.start.parent),e.remove(t)})),n.forEach((t=>{let n=t;for(;n.parent&&n.isEmpty;){const t=e.createRangeOn(n);n=n.parent,e.remove(t)}}))}class uh{constructor(t,e,n){this._firstNode=null,this._lastNode=null,this._lastAutoParagraph=null,this._filterAttributesOf=[],this._affectedStart=null,this._affectedEnd=null,this._nodeToSelect=null,this.model=t,this.writer=e,this.position=n,this.canMergeWith=new Set([this.position.parent]),this.schema=t.schema,this._documentFragment=e.createDocumentFragment(),this._documentFragmentPosition=e.createPositionAt(this._documentFragment,0)}handleNodes(t){for(const e of Array.from(t))this._handleNode(e);this._insertPartialFragment(),this._lastAutoParagraph&&this._updateLastNodeFromAutoParagraph(this._lastAutoParagraph),this._mergeOnRight(),this.schema.removeDisallowedAttributes(this._filterAttributesOf,this.writer),this._filterAttributesOf=[]}_updateLastNodeFromAutoParagraph(t){const e=this.writer.createPositionAfter(this._lastNode),n=this.writer.createPositionAfter(t);if(n.isAfter(e)){if(this._lastNode=t,this.position.parent!=t||!this.position.isAtEnd)throw new _("insertcontent-invalid-insertion-position",this);this.position=n,this._setAffectedBoundaries(this.position)}}getSelectionRange(){return this._nodeToSelect?Uc._createOn(this._nodeToSelect):this.model.schema.getNearestSelectionRange(this.position)}getAffectedRange(){return this._affectedStart?new Uc(this._affectedStart,this._affectedEnd):null}destroy(){this._affectedStart&&this._affectedStart.detach(),this._affectedEnd&&this._affectedEnd.detach()}_handleNode(t){if(this.schema.isObject(t))return void this._handleObject(t);let e=this._checkAndAutoParagraphToAllowedPosition(t);e||(e=this._checkAndSplitToAllowedPosition(t),e)?(this._appendToFragment(t),this._firstNode||(this._firstNode=t),this._lastNode=t):this._handleDisallowedNode(t)}_insertPartialFragment(){if(this._documentFragment.isEmpty)return;const t=uu.fromPosition(this.position,"toNext");this._setAffectedBoundaries(this.position),this._documentFragment.getChild(0)==this._firstNode&&(this.writer.insert(this._firstNode,this.position),this._mergeOnLeft(),this.position=t.toPosition()),this._documentFragment.isEmpty||this.writer.insert(this._documentFragment,this.position),this._documentFragmentPosition=this.writer.createPositionAt(this._documentFragment,0),this.position=t.toPosition(),t.detach()}_handleObject(t){this._checkAndSplitToAllowedPosition(t)?this._appendToFragment(t):this._tryAutoparagraphing(t)}_handleDisallowedNode(t){t.is("element")?this.handleNodes(t.getChildren()):this._tryAutoparagraphing(t)}_appendToFragment(t){if(!this.schema.checkChild(this.position,t))throw new _("insertcontent-wrong-position",this,{node:t,position:this.position});this.writer.insert(t,this._documentFragmentPosition),this._documentFragmentPosition=this._documentFragmentPosition.getShiftedBy(t.offsetSize),this.schema.isObject(t)&&!this.schema.checkChild(this.position,"$text")?this._nodeToSelect=t:this._nodeToSelect=null,this._filterAttributesOf.push(t)}_setAffectedBoundaries(t){this._affectedStart||(this._affectedStart=uu.fromPosition(t,"toPrevious")),this._affectedEnd&&!this._affectedEnd.isBefore(t)||(this._affectedEnd&&this._affectedEnd.detach(),this._affectedEnd=uu.fromPosition(t,"toNext"))}_mergeOnLeft(){const t=this._firstNode;if(!(t instanceof Pc))return;if(!this._canMergeLeft(t))return;const e=uu._createBefore(t);e.stickiness="toNext";const n=uu.fromPosition(this.position,"toNext");this._affectedStart.isEqual(e)&&(this._affectedStart.detach(),this._affectedStart=uu._createAt(e.nodeBefore,"end","toPrevious")),this._firstNode===this._lastNode&&(this._firstNode=e.nodeBefore,this._lastNode=e.nodeBefore),this.writer.merge(e),e.isEqual(this._affectedEnd)&&this._firstNode===this._lastNode&&(this._affectedEnd.detach(),this._affectedEnd=uu._createAt(e.nodeBefore,"end","toNext")),this.position=n.toPosition(),n.detach(),this._filterAttributesOf.push(this.position.parent),e.detach()}_mergeOnRight(){const t=this._lastNode;if(!(t instanceof Pc))return;if(!this._canMergeRight(t))return;const e=uu._createAfter(t);if(e.stickiness="toNext",!this.position.isEqual(e))throw new _("insertcontent-invalid-insertion-position",this);this.position=zc._createAt(e.nodeBefore,"end");const n=uu.fromPosition(this.position,"toPrevious");this._affectedEnd.isEqual(e)&&(this._affectedEnd.detach(),this._affectedEnd=uu._createAt(e.nodeBefore,"end","toNext")),this._firstNode===this._lastNode&&(this._firstNode=e.nodeBefore,this._lastNode=e.nodeBefore),this.writer.merge(e),e.getShiftedBy(-1).isEqual(this._affectedStart)&&this._firstNode===this._lastNode&&(this._affectedStart.detach(),this._affectedStart=uu._createAt(e.nodeBefore,0,"toPrevious")),this.position=n.toPosition(),n.detach(),this._filterAttributesOf.push(this.position.parent),e.detach()}_canMergeLeft(t){const e=t.previousSibling;return e instanceof Pc&&this.canMergeWith.has(e)&&this.model.schema.checkMerge(e,t)}_canMergeRight(t){const e=t.nextSibling;return e instanceof Pc&&this.canMergeWith.has(e)&&this.model.schema.checkMerge(t,e)}_tryAutoparagraphing(t){const e=this.writer.createElement("paragraph");this._getAllowedIn(this.position.parent,e)&&this.schema.checkChild(e,t)&&(e._appendChild(t),this._handleNode(e))}_checkAndAutoParagraphToAllowedPosition(t){if(this.schema.checkChild(this.position.parent,t))return!0;if(!this.schema.checkChild(this.position.parent,"paragraph")||!this.schema.checkChild("paragraph",t))return!1;this._insertPartialFragment();const e=this.writer.createElement("paragraph");return this.writer.insert(e,this.position),this._setAffectedBoundaries(this.position),this._lastAutoParagraph=e,this.position=this.writer.createPositionAt(e,0),!0}_checkAndSplitToAllowedPosition(t){const e=this._getAllowedIn(this.position.parent,t);if(!e)return!1;for(e!=this.position.parent&&this._insertPartialFragment();e!=this.position.parent;)if(this.position.isAtStart){const t=this.position.parent;this.position=this.writer.createPositionBefore(t),t.isEmpty&&t.parent===e&&this.writer.remove(t)}else if(this.position.isAtEnd)this.position=this.writer.createPositionAfter(this.position.parent);else{const t=this.writer.createPositionAfter(this.position.parent);this._setAffectedBoundaries(this.position),this.writer.split(this.position),this.position=t,this.canMergeWith.add(this.position.nodeAfter)}return!0}_getAllowedIn(t,e){return this.schema.checkChild(t,e)?t:this.schema.isLimit(t)?null:this._getAllowedIn(t.parent,e)}}function hh(t,e,n,o={}){if(!t.schema.isObject(e))throw new _("insertobject-element-not-an-object",t,{object:e});const i=n||t.document.selection;let r=i;o.findOptimalPosition&&t.schema.isBlock(e)&&(r=t.createSelection(t.schema.findOptimalInsertionRange(i,o.findOptimalPosition)));const s=Qi(i.getSelectedBlocks()),a={};return s&&Object.assign(a,t.schema.getAttributesWithProperty(s,"copyOnReplace",!0)),t.change((n=>{r.isCollapsed||t.deleteContent(r,{doNotAutoparagraph:!0});let i=e;const s=r.anchor.parent;!t.schema.checkChild(s,e)&&t.schema.checkChild(s,"paragraph")&&t.schema.checkChild("paragraph",e)&&(i=n.createElement("paragraph"),n.insert(e,i)),t.schema.setAllowedAttributes(i,a,n);const c=t.insertContent(i,r);return c.isCollapsed||o.setSelection&&function(t,e,n,o){const i=t.model;if("on"==n)return void t.setSelection(e,"on");if("after"!=n)throw new _("insertobject-invalid-place-parameter-value",i);let r=e.nextSibling;if(i.schema.isInline(e))return void t.setSelection(e,"after");const s=r&&i.schema.checkChild(r,"$text");!s&&i.schema.checkChild(e.parent,"paragraph")&&(r=t.createElement("paragraph"),i.schema.setAllowedAttributes(r,o,t),i.insertContent(r,t.createPositionAfter(e)));r&&t.setSelection(r,0)}(n,e,o.setSelection,a),c}))}const gh=' ,.?!:;"-()';function mh(t,e){const{isForward:n,walker:o,unit:i,schema:r,treatEmojiAsSingleUnit:s}=t,{type:a,item:c,nextPosition:l}=e;if("text"==a)return"word"===t.unit?function(t,e){let n=t.position.textNode;n||(n=e?t.position.nodeAfter:t.position.nodeBefore);for(;n&&n.is("$text");){const o=t.position.offset-n.startOffset;if(kh(n,o,e))n=e?t.position.nodeAfter:t.position.nodeBefore;else{if(fh(n.data,o,e))break;t.next()}}return t.position}(o,n):function(t,e,n){const o=t.position.textNode;if(o){const i=o.data;let r=t.position.offset-o.startOffset;for(;er(i,r)||"character"==e&&nr(i,r)||n&&ir(i,r);)t.next(),r=t.position.offset-o.startOffset}return t.position}(o,i,s);if(a==(n?"elementStart":"elementEnd")){if(r.isSelectable(c))return zc._createAt(c,n?"after":"before");if(r.checkChild(l,"$text"))return l}else{if(r.isLimit(c))return void o.skip((()=>!0));if(r.checkChild(l,"$text"))return l}}function ph(t,e){const n=t.root,o=zc._createAt(n,e?"end":0);return e?new Uc(t,o):new Uc(o,t)}function fh(t,e,n){const o=e+(n?0:-1);return gh.includes(t.charAt(o))}function kh(t,e,n){return e===(n?t.offsetSize:0)}class bh extends(K()){constructor(){super(),this.markers=new $u,this.document=new ju(this),this.schema=new id,this._pendingChanges=[],this._currentWriter=null,["deleteContent","modifySelection","getSelectedContent","applyOperation"].forEach((t=>this.decorate(t))),this.on("applyOperation",((t,e)=>{e[0]._validate()}),{priority:"highest"}),this.schema.register("$root",{isLimit:!0}),this.schema.register("$container",{allowIn:["$root","$container"]}),this.schema.register("$block",{allowIn:["$root","$container"],isBlock:!0}),this.schema.register("$blockObject",{allowWhere:"$block",isBlock:!0,isObject:!0}),this.schema.register("$inlineObject",{allowWhere:"$text",allowAttributesOf:"$text",isInline:!0,isObject:!0}),this.schema.register("$text",{allowIn:"$block",isInline:!0,isContent:!0}),this.schema.register("$clipboardHolder",{allowContentOf:"$root",allowChildren:"$text",isLimit:!0}),this.schema.register("$documentFragment",{allowContentOf:"$root",allowChildren:"$text",isLimit:!0}),this.schema.register("$marker"),this.schema.addChildCheck(((t,e)=>{if("$marker"===e.name)return!0})),Ql(this),this.document.registerPostFixer(Nl),this.on("insertContent",((t,[e,n])=>{t.return=function(t,e,n){return t.change((o=>{const i=n||t.document.selection;i.isCollapsed||t.deleteContent(i,{doNotAutoparagraph:!0});const r=new uh(t,o,i.anchor),s=[];let a;if(e.is("documentFragment")){if(e.markers.size){const t=[];for(const[n,o]of e.markers){const{start:e,end:i}=o,r=e.isEqual(i);t.push({position:e,name:n,isCollapsed:r},{position:i,name:n,isCollapsed:r})}t.sort((({position:t},{position:e})=>t.isBefore(e)?1:-1));for(const{position:n,name:i,isCollapsed:r}of t){let t=null,a=null;const c=n.parent===e&&n.isAtStart,l=n.parent===e&&n.isAtEnd;c||l?r&&(a=c?"start":"end"):(t=o.createElement("$marker"),o.insert(t,n)),s.push({name:i,element:t,collapsed:a})}}a=e.getChildren()}else a=[e];r.handleNodes(a);let c=r.getSelectionRange();if(e.is("documentFragment")&&s.length){const t=c?hl.fromRange(c):null,e={};for(let t=s.length-1;t>=0;t--){const{name:n,element:i,collapsed:a}=s[t],c=!e[n];if(c&&(e[n]=[]),i){const t=o.createPositionAt(i,"before");e[n].push(t),o.remove(i)}else{const t=r.getAffectedRange();if(!t){a&&e[n].push(r.position);continue}a?e[n].push(t[a]):e[n].push(c?t.start:t.end)}}for(const[t,[n,i]]of Object.entries(e))n&&i&&n.root===i.root&&n.root.document&&!o.model.markers.has(t)&&o.addMarker(t,{usingOperation:!0,affectsData:!0,range:new Uc(n,i)});t&&(c=t.toRange(),t.detach())}c&&(i instanceof fl?o.setSelection(c):i.setTo(c));const l=r.getAffectedRange()||t.createRange(i.anchor);return r.destroy(),l}))}(this,e,n)})),this.on("insertObject",((t,[e,n,o])=>{t.return=hh(this,e,n,o)})),this.on("canEditAt",(t=>{const e=!this.document.isReadOnly;t.return=e,e||t.stop()}))}change(t){try{return 0===this._pendingChanges.length?(this._pendingChanges.push({batch:new mu,callback:t}),this._runPendingChanges()[0]):t(this._currentWriter)}catch(t){_.rethrowUnexpectedError(t,this)}}enqueueChange(t,e){try{t?"function"==typeof t?(e=t,t=new mu):t instanceof mu||(t=new mu(t)):t=new mu,this._pendingChanges.push({batch:t,callback:e}),1==this._pendingChanges.length&&this._runPendingChanges()}catch(t){_.rethrowUnexpectedError(t,this)}}applyOperation(t){t._execute()}insertContent(t,e,n,...o){const i=wh(e,n);return this.fire("insertContent",[t,i,n,...o])}insertObject(t,e,n,o,...i){const r=wh(e,n);return this.fire("insertObject",[t,r,o,o,...i])}deleteContent(t,e){ih(this,t,e)}modifySelection(t,e){!function(t,e,n={}){const o=t.schema,i="backward"!=n.direction,r=n.unit?n.unit:"character",s=!!n.treatEmojiAsSingleUnit,a=e.focus,c=new Oc({boundaries:ph(a,i),singleCharacters:!0,direction:i?"forward":"backward"}),l={walker:c,schema:o,isForward:i,unit:r,treatEmojiAsSingleUnit:s};let d;for(;d=c.next();){if(d.done)return;const n=mh(l,d.value);if(n)return void(e instanceof fl?t.change((t=>{t.setSelectionFocus(n)})):e.setFocus(n))}}(this,t,e)}getSelectedContent(t){return function(t,e){return t.change((t=>{const n=t.createDocumentFragment(),o=e.getFirstRange();if(!o||o.isCollapsed)return n;const i=o.start.root,r=o.start.getCommonPath(o.end),s=i.getNodeByPath(r);let a;a=o.start.parent==o.end.parent?o:t.createRange(t.createPositionAt(s,o.start.path[r.length]),t.createPositionAt(s,o.end.path[r.length]+1));const c=a.end.offset-a.start.offset;for(const e of a.getItems({shallow:!0}))e.is("$textProxy")?t.appendText(e.data,e.getAttributes(),n):t.append(t.cloneElement(e,!0),n);if(a!=o){const e=o._getTransformedByMove(a.start,t.createPositionAt(n,0),c)[0],i=t.createRange(t.createPositionAt(n,0),e.start);dh(t.createRange(e.end,t.createPositionAt(n,"end")),t),dh(i,t)}return n}))}(this,t)}hasContent(t,e={}){const n=t instanceof Uc?t:Uc._createIn(t);if(n.isCollapsed)return!1;const{ignoreWhitespaces:o=!1,ignoreMarkers:i=!1}=e;if(!i)for(const t of this.markers.getMarkersIntersectingRange(n))if(t.affectsData)return!0;for(const t of n.getItems())if(this.schema.isContent(t)){if(!t.is("$textProxy"))return!0;if(!o)return!0;if(-1!==t.data.search(/\S/))return!0}return!1}canEditAt(t){const e=wh(t);return this.fire("canEditAt",[e])}createPositionFromPath(t,e,n){return new zc(t,e,n)}createPositionAt(t,e){return zc._createAt(t,e)}createPositionAfter(t){return zc._createAfter(t)}createPositionBefore(t){return zc._createBefore(t)}createRange(t,e){return new Uc(t,e)}createRangeIn(t){return Uc._createIn(t)}createRangeOn(t){return Uc._createOn(t)}createSelection(...t){return new rl(...t)}createBatch(t){return new mu(t)}createOperationFromJSON(t){return Xd.fromJSON(t,this.document)}destroy(){this.document.destroy(),this.stopListening()}_runPendingChanges(){const t=[];this.fire("_beforeChanges");try{for(;this._pendingChanges.length;){const e=this._pendingChanges[0].batch;this._currentWriter=new Ju(this,e);const n=this._pendingChanges[0].callback(this._currentWriter);t.push(n),this.document._handleChangeBlock(this._currentWriter),this._pendingChanges.shift(),this._currentWriter=null}}finally{this._pendingChanges.length=0,this._currentWriter=null,this.fire("_afterChanges")}return t}}function wh(t,e){if(t)return t instanceof rl||t instanceof fl?t:t instanceof Tc?e||0===e?new rl(t,e):t.is("rootElement")?new rl(t,"in"):new rl(t,"on"):new rl(t)}class Ah extends Pa{constructor(){super(...arguments),this.domEventType="click"}onDomEvent(t){this.fire(t.type,t)}}class _h extends Pa{constructor(){super(...arguments),this.domEventType=["mousedown","mouseup","mouseover","mouseout"]}onDomEvent(t){this.fire(t.type,t)}}class Ch{constructor(t){this.document=t}createDocumentFragment(t){return new Ws(this.document,t)}createElement(t,e,n){return new ps(this.document,t,e,n)}createText(t){return new Nr(this.document,t)}clone(t,e=!1){return t._clone(e)}appendChild(t,e){return e._appendChild(t)}insertChild(t,e,n){return n._insertChild(t,e)}removeChildren(t,e,n){return n._removeChildren(t,e)}remove(t){const e=t.parent;return e?this.removeChildren(e.getChildIndex(t),1,e):[]}replace(t,e){const n=t.parent;if(n){const o=n.getChildIndex(t);return this.removeChildren(o,1,n),this.insertChild(o,e,n),!0}return!1}unwrapElement(t){const e=t.parent;if(e){const n=e.getChildIndex(t);this.remove(t),this.insertChild(n,t.getChildren(),e)}}rename(t,e){const n=new ps(this.document,t,e.getAttributes(),e.getChildren());return this.replace(e,n)?n:null}setAttribute(t,e,n){n._setAttribute(t,e)}removeAttribute(t,e){e._removeAttribute(t)}addClass(t,e){e._addClass(t)}removeClass(t,e){e._removeClass(t)}setStyle(t,e,n){Dt(t)&&void 0===n?e._setStyle(t):n._setStyle(t,e)}removeStyle(t,e){e._removeStyle(t)}setCustomProperty(t,e,n){n._setCustomProperty(t,e)}removeCustomProperty(t,e){return e._removeCustomProperty(t)}createPositionAt(t,e){return vs._createAt(t,e)}createPositionAfter(t){return vs._createAfter(t)}createPositionBefore(t){return vs._createBefore(t)}createRange(t,e){return new ys(t,e)}createRangeOn(t){return ys._createOn(t)}createRangeIn(t){return ys._createIn(t)}createSelection(...t){return new Es(...t)}}class vh{constructor(){this._commands=new Map}add(t,e){this._commands.set(t,e)}get(t){return this._commands.get(t)}execute(t,...e){const n=this.get(t);if(!n)throw new _("commandcollection-command-not-found",this,{commandName:t});return n.execute(...e)}*names(){yield*this._commands.keys()}*commands(){yield*this._commands.values()}[Symbol.iterator](){return this._commands[Symbol.iterator]()}destroy(){for(const t of this.commands())t.destroy()}}var yh=Object.defineProperty,xh=Object.getOwnPropertySymbols,Eh=Object.prototype.hasOwnProperty,Dh=Object.prototype.propertyIsEnumerable,Ih=(t,e,n)=>e in t?yh(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;const Mh="contentEditing",Th="common";class Sh{constructor(t){this.keystrokeInfos=new Map,this._editor=t;const e=t.config.get("menuBar.isVisible"),n=t.locale.t;this.addKeystrokeInfoCategory({id:Mh,label:n("Content editing keystrokes"),description:n("These keyboard shortcuts allow for quick access to content editing features.")});const o=[{label:n("Close contextual balloons, dropdowns, and dialogs"),keystroke:"Esc"},{label:n("Open the accessibility help dialog"),keystroke:"Alt+0"},{label:n("Move focus between form fields (inputs, buttons, etc.)"),keystroke:[["Tab"],["Shift+Tab"]]},{label:n("Move focus to the toolbar, navigate between toolbars"),keystroke:"Alt+F10",mayRequireFn:!0},{label:n("Navigate through the toolbar or menu bar"),keystroke:[["arrowup"],["arrowright"],["arrowdown"],["arrowleft"]]},{label:n("Execute the currently focused button. Executing buttons that interact with the editor content moves the focus back to the content."),keystroke:[["Enter"],["Space"]]}];e&&o.push({label:n("Move focus to the menu bar, navigate between menu bars"),keystroke:"Alt+F9",mayRequireFn:!0}),this.addKeystrokeInfoCategory({id:"navigation",label:n("User interface and content navigation keystrokes"),description:n("Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface."),groups:[{id:"common",keystrokes:o}]})}addKeystrokeInfoCategory({id:t,label:e,description:n,groups:o}){this.keystrokeInfos.set(t,{id:t,label:e,description:n,groups:new Map}),this.addKeystrokeInfoGroup({categoryId:t,id:Th}),o&&o.forEach((e=>{this.addKeystrokeInfoGroup(((t,e)=>{for(var n in e||(e={}))Eh.call(e,n)&&Ih(t,n,e[n]);if(xh)for(var n of xh(e))Dh.call(e,n)&&Ih(t,n,e[n]);return t})({categoryId:t},e))}))}addKeystrokeInfoGroup({categoryId:t=Mh,id:e,label:n,keystrokes:o}){const i=this.keystrokeInfos.get(t);if(!i)throw new _("accessibility-unknown-keystroke-info-category",this._editor,{groupId:e,categoryId:t});i.groups.set(e,{id:e,label:n,keystrokes:o||[]})}addKeystrokeInfos({categoryId:t=Mh,groupId:e=Th,keystrokes:n}){if(!this.keystrokeInfos.has(t))throw new _("accessibility-unknown-keystroke-info-category",this._editor,{categoryId:t,keystrokes:n});const o=this.keystrokeInfos.get(t);if(!o.groups.has(e))throw new _("accessibility-unknown-keystroke-info-group",this._editor,{groupId:e,categoryId:t,keystrokes:n});o.groups.get(e).keystrokes.push(...n)}}var Bh=Object.getOwnPropertySymbols,Nh=Object.prototype.hasOwnProperty,Ph=Object.prototype.propertyIsEnumerable,Oh=(t,e)=>{var n={};for(var o in t)Nh.call(t,o)&&e.indexOf(o)<0&&(n[o]=t[o]);if(null!=t&&Bh)for(var o of Bh(t))e.indexOf(o)<0&&Ph.call(t,o)&&(n[o]=t[o]);return n};class Lh extends(K()){constructor(t={}){super();const e=this.constructor,n=e.defaultConfig||{},{translations:o}=n,i=Oh(n,["translations"]),r=t,{translations:s=o}=r,a=Oh(r,["translations"]),c=t.language||i.language;this._context=t.context||new mr({language:c,translations:s}),this._context._addEditor(this,!t.context);const l=Array.from(e.builtinPlugins||[]);this.config=new Eo(a,i),this.config.define("plugins",l),this.config.define(this._context._getEditorConfig()),this.plugins=new dr(this,l,this._context.plugins),this.locale=this._context.locale,this.t=this.locale.t,this._readOnlyLocks=new Set,this.commands=new vh,this.set("state","initializing"),this.once("ready",(()=>this.state="ready"),{priority:"high"}),this.once("destroy",(()=>this.state="destroyed"),{priority:"high"}),this.model=new bh,this.on("change:isReadOnly",(()=>{this.model.document.isReadOnly=this.isReadOnly}));const d=new hs;this.data=new Md(this.model,d),this.editing=new td(this.model,d),this.editing.view.document.bind("isReadOnly").to(this),this.conversion=new Td([this.editing.downcastDispatcher,this.data.downcastDispatcher],this.data.upcastDispatcher),this.conversion.addAlias("dataDowncast",this.data.downcastDispatcher),this.conversion.addAlias("editingDowncast",this.editing.downcastDispatcher),this.keystrokes=new fr(this),this.keystrokes.listenTo(this.editing.view.document),this.accessibility=new Sh(this)}get isReadOnly(){return this._readOnlyLocks.size>0}set isReadOnly(t){throw new _("editor-isreadonly-has-no-setter")}enableReadOnlyMode(t){if("string"!=typeof t&&"symbol"!=typeof t)throw new _("editor-read-only-lock-id-invalid",null,{lockId:t});this._readOnlyLocks.has(t)||(this._readOnlyLocks.add(t),1===this._readOnlyLocks.size&&this.fire("change:isReadOnly","isReadOnly",!0,!1))}disableReadOnlyMode(t){if("string"!=typeof t&&"symbol"!=typeof t)throw new _("editor-read-only-lock-id-invalid",null,{lockId:t});this._readOnlyLocks.has(t)&&(this._readOnlyLocks.delete(t),0===this._readOnlyLocks.size&&this.fire("change:isReadOnly","isReadOnly",!1,!0))}setData(t){this.data.set(t)}getData(t){return this.data.get(t)}initPlugins(){const t=this.config,e=t.get("plugins"),n=t.get("removePlugins")||[],o=t.get("extraPlugins")||[],i=t.get("substitutePlugins")||[];return this.plugins.init(e.concat(o),n,i)}destroy(){let t=Promise.resolve();return"initializing"==this.state&&(t=new Promise((t=>this.once("ready",t)))),t.then((()=>{this.fire("destroy"),this.stopListening(),this.commands.destroy()})).then((()=>this.plugins.destroy())).then((()=>{this.model.destroy(),this.data.destroy(),this.editing.destroy(),this.keystrokes.destroy()})).then((()=>this._context._removeEditor(this)))}execute(t,...e){try{return this.commands.execute(t,...e)}catch(t){_.rethrowUnexpectedError(t,this)}}focus(){this.editing.view.focus()}static create(...t){throw new Error("This is an abstract method.")}}function zh(t){return class extends t{updateSourceElement(t){if(!this.sourceElement)throw new _("editor-missing-sourceelement",this);const e=this.config.get("updateSourceElementOnDestroy"),n=this.sourceElement instanceof HTMLTextAreaElement;if(!e&&!n)return void Yo(this.sourceElement,"");const o="string"==typeof t?t:this.data.get();Yo(this.sourceElement,o)}}}zh.updateSourceElement=zh(Object).prototype.updateSourceElement;class Rh extends pr{static get pluginName(){return"PendingActions"}init(){this.set("hasAny",!1),this._actions=new Yi({idProperty:"_id"}),this._actions.delegate("add","remove").to(this)}add(t){if("string"!=typeof t)throw new _("pendingactions-add-invalid-message",this);const e=new(K());return e.set("message",t),this._actions.add(e),this.hasAny=!0,e}remove(t){this._actions.remove(t),this.hasAny=!!this._actions.length}get first(){return this._actions.get(0)}[Symbol.iterator](){return this._actions[Symbol.iterator]()}}const jh={bold:'',cancel:'',caption:'',check:'',cog:'',colorPalette:'',eraser:'',history:'',image:'',imageUpload:'',imageAssetManager:'',imageUrl:'',lowVision:'',textAlternative:'',loupe:'',previousArrow:'',nextArrow:'',importExport:'',paragraph:'',plus:'',text:'',alignBottom:'',alignMiddle:'',alignTop:'',alignLeft:'',alignCenter:'',alignRight:'',alignJustify:'',objectLeft:'',objectCenter:'',objectRight:'',objectFullWidth:'',objectInline:'',objectBlockLeft:'',objectBlockRight:'',objectSizeFull:'',objectSizeLarge:'',objectSizeSmall:'',objectSizeMedium:'',pencil:'',pilcrow:'',quote:'',threeVerticalDots:'',dragIndicator:'',redo:'',undo:'',bulletedList:'',numberedList:'',todoList:'',codeBlock:'',browseFiles:'',heading1:'',heading2:'',heading3:'',heading4:'',heading5:'',heading6:'',horizontalLine:'',html:'',indent:'',outdent:'',table:''};class Fh extends Yi{constructor(t=[]){super(t,{idProperty:"viewUid"}),this.on("add",((t,e,n)=>{this._renderViewIntoCollectionParent(e,n)})),this.on("remove",((t,e)=>{e.element&&this._parentElement&&e.element.remove()})),this._parentElement=null}destroy(){this.map((t=>t.destroy()))}setParent(t){this._parentElement=t;for(const t of this)this._renderViewIntoCollectionParent(t)}delegate(...t){if(!t.length||!t.every((t=>"string"==typeof t)))throw new _("ui-viewcollection-delegate-wrong-events",this);return{to:e=>{for(const n of this)for(const o of t)n.delegate(o).to(e);this.on("add",((n,o)=>{for(const n of t)o.delegate(n).to(e)})),this.on("remove",((n,o)=>{for(const n of t)o.stopDelegating(n,e)}))}}}_renderViewIntoCollectionParent(t,e){t.isRendered||t.render(),t.element&&this._parentElement&&this._parentElement.insertBefore(t.element,this._parentElement.children[e])}remove(t){return super.remove(t)}}class Vh extends(B()){constructor(t){super(),Object.assign(this,Zh(Qh(t))),this._isRendered=!1,this._revertData=null}render(){const t=this._renderNode({intoFragment:!0});return this._isRendered=!0,t}apply(t){return this._revertData={children:[],bindings:[],attributes:{}},this._renderNode({node:t,intoFragment:!1,isApplying:!0,revertData:this._revertData}),t}revert(t){if(!this._revertData)throw new _("ui-template-revert-not-applied",[this,t]);this._revertTemplateFromNode(t,this._revertData)}*getViews(){yield*function*t(e){if(e.children)for(const n of e.children)og(n)?yield n:ig(n)&&(yield*t(n))}(this)}static bind(t,e){return{to:(n,o)=>new Uh({eventNameOrFunction:n,attribute:n,observable:t,emitter:e,callback:o}),if:(n,o,i)=>new qh({observable:t,emitter:e,attribute:n,valueIfTrue:o,callback:i})}}static extend(t,e){if(t._isRendered)throw new _("template-extend-render",[this,t]);eg(t,Zh(Qh(e)))}_renderNode(t){let e;if(e=t.node?this.tag&&this.text:this.tag?this.text:!this.text,e)throw new _("ui-template-wrong-syntax",this);return this.text?this._renderText(t):this._renderElement(t)}_renderElement(t){let e=t.node;return e||(e=t.node=document.createElementNS(this.ns||"http://www.w3.org/1999/xhtml",this.tag)),this._renderAttributes(t),this._renderElementChildren(t),this._setUpListeners(t),e}_renderText(t){let e=t.node;return e?t.revertData.text=e.textContent:e=t.node=document.createTextNode(""),Gh(this.text)?this._bindToObservable({schema:this.text,updater:Kh(e),data:t}):e.textContent=this.text.join(""),e}_renderAttributes(t){if(!this.attributes)return;const e=t.node,n=t.revertData;for(const o in this.attributes){const i=e.getAttribute(o),r=this.attributes[o];n&&(n.attributes[o]=i);const s=sg(r)?r[0].ns:null;if(Gh(r)){const a=sg(r)?r[0].value:r;n&&ag(o)&&a.unshift(i),this._bindToObservable({schema:a,updater:$h(e,o,s),data:t})}else if("style"==o&&"string"!=typeof r[0])this._renderStyleAttribute(r[0],t);else{n&&i&&ag(o)&&r.unshift(i);const t=r.map((t=>t&&t.value||t)).reduce(((t,e)=>t.concat(e)),[]).reduce(Xh,"");ng(t)||e.setAttributeNS(s,o,t)}}}_renderStyleAttribute(t,e){const n=e.node;for(const o in t){const i=t[o];Gh(i)?this._bindToObservable({schema:[i],updater:Yh(n,o),data:e}):n.style[o]=i}}_renderElementChildren(t){const e=t.node,n=t.intoFragment?document.createDocumentFragment():e,o=t.isApplying;let i=0;for(const r of this.children)if(rg(r)){if(!o){r.setParent(e);for(const t of r)n.appendChild(t.element)}}else if(og(r))o||(r.isRendered||r.render(),n.appendChild(r.element));else if(Mo(r))n.appendChild(r);else if(o){const e={children:[],bindings:[],attributes:{}};t.revertData.children.push(e),r._renderNode({intoFragment:!1,node:n.childNodes[i++],isApplying:!0,revertData:e})}else n.appendChild(r.render());t.intoFragment&&e.appendChild(n)}_setUpListeners(t){if(this.eventListeners)for(const e in this.eventListeners){const n=this.eventListeners[e].map((n=>{const[o,i]=e.split("@");return n.activateDomEventListener(o,i,t)}));t.revertData&&t.revertData.bindings.push(n)}}_bindToObservable({schema:t,updater:e,data:n}){const o=n.revertData;Wh(t,e,n);const i=t.filter((t=>!ng(t))).filter((t=>t.observable)).map((o=>o.activateAttributeListener(t,e,n)));o&&o.bindings.push(i)}_revertTemplateFromNode(t,e){for(const t of e.bindings)for(const e of t)e();if(e.text)return void(t.textContent=e.text);const n=t;for(const t in e.attributes){const o=e.attributes[t];null===o?n.removeAttribute(t):n.setAttribute(t,o)}for(let t=0;tWh(t,e,n);return this.emitter.listenTo(this.observable,`change:${this.attribute}`,o),()=>{this.emitter.stopListening(this.observable,`change:${this.attribute}`,o)}}}class Uh extends Hh{constructor(t){super(t),this.eventNameOrFunction=t.eventNameOrFunction}activateDomEventListener(t,e,n){const o=(t,n)=>{e&&!n.target.matches(e)||("function"==typeof this.eventNameOrFunction?this.eventNameOrFunction(n):this.observable.fire(this.eventNameOrFunction,n))};return this.emitter.listenTo(n.node,t,o),()=>{this.emitter.stopListening(n.node,t,o)}}}class qh extends Hh{constructor(t){super(t),this.valueIfTrue=t.valueIfTrue}getValue(t){return!ng(super.getValue(t))&&(this.valueIfTrue||!0)}}function Gh(t){return!!t&&(t.value&&(t=t.value),Array.isArray(t)?t.some(Gh):t instanceof Hh)}function Wh(t,e,{node:n}){const o=function(t,e){return t.map((t=>t instanceof Hh?t.getValue(e):t))}(t,n);let i;i=1==t.length&&t[0]instanceof qh?o[0]:o.reduce(Xh,""),ng(i)?e.remove():e.set(i)}function Kh(t){return{set(e){t.textContent=e},remove(){t.textContent=""}}}function $h(t,e,n){return{set(o){t.setAttributeNS(n,e,o)},remove(){t.removeAttributeNS(n,e)}}}function Yh(t,e){return{set(n){t.style[e]=n},remove(){t.style[e]=null}}}function Qh(t){return yo(t,(t=>{if(t&&(t instanceof Hh||ig(t)||og(t)||rg(t)))return t}))}function Zh(t){if("string"==typeof t?t=function(t){return{text:[t]}}(t):t.text&&function(t){t.text=yi(t.text)}(t),t.on&&(t.eventListeners=function(t){for(const e in t)Jh(t,e);return t}(t.on),delete t.on),!t.text){t.attributes&&function(t){for(const e in t)t[e].value&&(t[e].value=yi(t[e].value)),Jh(t,e)}(t.attributes);const e=[];if(t.children)if(rg(t.children))e.push(t.children);else for(const n of t.children)ig(n)||og(n)||Mo(n)?e.push(n):e.push(new Vh(n));t.children=e}return t}function Jh(t,e){t[e]=yi(t[e])}function Xh(t,e){return ng(e)?t:ng(t)?e:`${t} ${e}`}function tg(t,e){for(const n in e)t[n]?t[n].push(...e[n]):t[n]=e[n]}function eg(t,e){if(e.attributes&&(t.attributes||(t.attributes={}),tg(t.attributes,e.attributes)),e.eventListeners&&(t.eventListeners||(t.eventListeners={}),tg(t.eventListeners,e.eventListeners)),e.text&&t.text.push(...e.text),e.children&&e.children.length){if(t.children.length!=e.children.length)throw new _("ui-template-extend-children-mismatch",t);let n=0;for(const o of e.children)eg(t.children[n++],o)}}function ng(t){return!t&&0!==t}function og(t){return t instanceof dg}function ig(t){return t instanceof Vh}function rg(t){return t instanceof Fh}function sg(t){return F(t[0])&&t[0].ns}function ag(t){return"class"==t||"style"==t}var cg=n(7676),lg={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};br()(cg.A,lg);cg.A.locals;class dg extends(Bo(K())){constructor(t){super(),this.element=null,this.isRendered=!1,this.locale=t,this.t=t&&t.t,this._viewCollections=new Yi,this._unboundChildren=this.createCollection(),this._viewCollections.on("add",((e,n)=>{n.locale=t,n.t=t&&t.t})),this.decorate("render")}get bindTemplate(){return this._bindTemplate?this._bindTemplate:this._bindTemplate=Vh.bind(this,this)}createCollection(t){const e=new Fh(t);return this._viewCollections.add(e),e}registerChild(t){nt(t)||(t=[t]);for(const e of t)this._unboundChildren.add(e)}deregisterChild(t){nt(t)||(t=[t]);for(const e of t)this._unboundChildren.remove(e)}setTemplate(t){this.template=new Vh(t)}extendTemplate(t){Vh.extend(this.template,t)}render(){if(this.isRendered)throw new _("ui-view-render-already-rendered",this);this.template&&(this.element=this.template.render(),this.registerChild(this.template.getViews())),this.isRendered=!0}destroy(){this.stopListening(),this._viewCollections.map((t=>t.destroy())),this.template&&this.template._revertData&&this.template.revert(this.element)}}var ug=n(7801),hg={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};br()(ug.A,hg);ug.A.locals;class gg extends dg{constructor(t){super(t),this.set("text",void 0),this.set("for",void 0),this.id=`ck-editor__label_${k()}`;const e=this.bindTemplate;this.setTemplate({tag:"label",attributes:{class:["ck","ck-label"],id:this.id,for:e.to("for")},children:[{text:e.to("text")}]})}}class mg extends dg{constructor(t,e){super(t);const n=t.t,o=new gg;o.text=n("Help Contents. To close this dialog press ESC."),this.setTemplate({tag:"div",attributes:{class:["ck","ck-accessibility-help-dialog__content"],"aria-labelledby":o.id,role:"document",tabindex:-1},children:[wt(document,"p",{},n("Below, you can find a list of keyboard shortcuts that can be used in the editor.")),...this._createCategories(Array.from(e.values())),o]})}focus(){this.element.focus()}_createCategories(t){return t.map((t=>{const e=[wt(document,"h3",{},t.label),...Array.from(t.groups.values()).map((t=>this._createGroup(t))).flat()];return t.description&&e.splice(1,0,wt(document,"p",{},t.description)),wt(document,"section",{},e)}))}_createGroup(t){const e=t.keystrokes.sort(((t,e)=>t.label.localeCompare(e.label))).map((t=>this._createGroupRow(t))).flat(),n=[wt(document,"dl",{},e)];return t.label&&n.unshift(wt(document,"h4",{},t.label)),n}_createGroupRow(t){const e=this.locale.t,n=wt(document,"dt"),o=wt(document,"dd"),i=function(t){if("string"==typeof t)return[[t]];if("string"==typeof t[0])return[t];return t}(t.keystroke),r=[];for(const t of i)r.push(t.map(pg).join(""));return n.innerHTML=t.label,o.innerHTML=r.join(", ")+(t.mayRequireFn&&c.isMac?` ${e("(may require Fn)")}`:""),[n,o]}}function pg(t){return Ci(t).split("+").map((t=>`${t}`)).join("+")}const fg='';var kg=n(8527),bg={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};br()(kg.A,bg);kg.A.locals;class wg extends rr{constructor(){super(...arguments),this.contentView=null}static get requires(){return[Ap]}static get pluginName(){return"AccessibilityHelp"}init(){const t=this.editor,e=t.locale.t;t.ui.componentFactory.add("accessibilityHelp",(()=>{const t=this._createButton(Ig);return t.set({tooltip:!0,withText:!1,label:e("Accessibility help")}),t})),t.ui.componentFactory.add("menuBar:accessibilityHelp",(()=>{const t=this._createButton(Wk);return t.label=e("Accessibility"),t})),t.keystrokes.set("Alt+0",((t,e)=>{this._showDialog(),e()})),this._setupRootLabels()}_createButton(t){const e=new t(this.editor.locale);return e.set({keystroke:"Alt+0",icon:fg}),e.on("execute",(()=>this._showDialog())),e}_setupRootLabels(){const t=this.editor,e=t.editing.view,n=t.t;function o(t,e){const o=`${e.getAttribute("aria-label")}. ${n("Press %0 for help.",[Ci("Alt+0")])}`;t.setAttribute("aria-label",o,e)}t.ui.on("ready",(()=>{e.change((t=>{for(const n of e.document.roots)o(t,n)})),t.on("addRoot",((n,i)=>{const r=t.editing.view.document.getRoot(i.rootName);e.change((t=>o(t,r)))}),{priority:"low"})}))}_showDialog(){const t=this.editor,e=t.plugins.get("Dialog"),n=t.locale.t;this.contentView||(this.contentView=new mg(t.locale,t.accessibility.keystrokeInfos)),e.show({id:"accessibilityHelp",className:"ck-accessibility-help-dialog",title:n("Accessibility help"),icon:fg,hasCloseButton:!0,content:this.contentView})}}class Ag extends Fh{constructor(t,e=[]){super(e),this.locale=t}get bodyCollectionContainer(){return this._bodyCollectionContainer}attachToDom(){this._bodyCollectionContainer=new Vh({tag:"div",attributes:{class:["ck","ck-reset_all","ck-body","ck-rounded-corners"],dir:this.locale.uiLanguageDirection},children:this}).render();let t=document.querySelector(".ck-body-wrapper");t||(t=wt(document,"div",{class:"ck-body-wrapper"}),document.body.appendChild(t)),t.appendChild(this._bodyCollectionContainer)}detachFromDom(){super.destroy(),this._bodyCollectionContainer&&this._bodyCollectionContainer.remove();const t=document.querySelector(".ck-body-wrapper");t&&0==t.childElementCount&&t.remove()}}var _g=n(7621),Cg={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};br()(_g.A,Cg);_g.A.locals;const vg=class extends dg{constructor(){super();const t=this.bindTemplate;this.set("content",""),this.set("viewBox","0 0 20 20"),this.set("fillColor",""),this.set("isColorInherited",!0),this.set("isVisible",!0),this.setTemplate({tag:"svg",ns:"http://www.w3.org/2000/svg",attributes:{class:["ck","ck-icon",t.if("isVisible","ck-hidden",(t=>!t)),"ck-reset_all-excluded",t.if("isColorInherited","ck-icon_inherit-color")],viewBox:t.to("viewBox")}})}render(){super.render(),this._updateXMLContent(),this._colorFillPaths(),this.on("change:content",(()=>{this._updateXMLContent(),this._colorFillPaths()})),this.on("change:fillColor",(()=>{this._colorFillPaths()}))}_updateXMLContent(){if(this.content){const t=(new DOMParser).parseFromString(this.content.trim(),"image/svg+xml").querySelector("svg"),e=t.getAttribute("viewBox");e&&(this.viewBox=e);for(const{name:e,value:n}of Array.from(t.attributes))vg.presentationalAttributeNames.includes(e)&&this.element.setAttribute(e,n);for(;this.element.firstChild;)this.element.removeChild(this.element.firstChild);for(;t.childNodes.length>0;)this.element.appendChild(t.childNodes[0])}}_colorFillPaths(){this.fillColor&&this.element.querySelectorAll(".ck-icon__fill").forEach((t=>{t.style.fill=this.fillColor}))}};let yg=vg;yg.presentationalAttributeNames=["alignment-baseline","baseline-shift","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-rendering","cursor","direction","display","dominant-baseline","fill","fill-opacity","fill-rule","filter","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","mask","opacity","overflow","paint-order","pointer-events","shape-rendering","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-overflow","text-rendering","transform","unicode-bidi","vector-effect","visibility","white-space","word-spacing","writing-mode"];class xg extends dg{constructor(){super(),this.set({style:void 0,text:void 0,id:void 0});const t=this.bindTemplate;this.setTemplate({tag:"span",attributes:{class:["ck","ck-button__label"],style:t.to("style"),id:t.to("id")},children:[{text:t.to("text")}]})}}var Eg=n(9715),Dg={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};br()(Eg.A,Dg);Eg.A.locals;class Ig extends dg{constructor(t,e=new xg){super(t),this._focusDelayed=null;const n=this.bindTemplate,o=k();this.set("ariaLabel",void 0),this.set("ariaLabelledBy",`ck-editor__aria-label_${o}`),this.set("class",void 0),this.set("labelStyle",void 0),this.set("icon",void 0),this.set("isEnabled",!0),this.set("isOn",!1),this.set("isVisible",!0),this.set("isToggleable",!1),this.set("keystroke",void 0),this.set("label",void 0),this.set("role",void 0),this.set("tabindex",-1),this.set("tooltip",!1),this.set("tooltipPosition","s"),this.set("type","button"),this.set("withText",!1),this.set("withKeystroke",!1),this.children=this.createCollection(),this.labelView=this._setupLabelView(e),this.iconView=new yg,this.iconView.extendTemplate({attributes:{class:"ck-button__icon"}}),this.keystrokeView=this._createKeystrokeView(),this.bind("_tooltipString").to(this,"tooltip",this,"label",this,"keystroke",this._getTooltipString.bind(this));const i={tag:"button",attributes:{class:["ck","ck-button",n.to("class"),n.if("isEnabled","ck-disabled",(t=>!t)),n.if("isVisible","ck-hidden",(t=>!t)),n.to("isOn",(t=>t?"ck-on":"ck-off")),n.if("withText","ck-button_with-text"),n.if("withKeystroke","ck-button_with-keystroke")],role:n.to("role"),type:n.to("type",(t=>t||"button")),tabindex:n.to("tabindex"),"aria-checked":n.to("ariaChecked"),"aria-label":n.to("ariaLabel"),"aria-labelledby":n.to("ariaLabelledBy"),"aria-disabled":n.if("isEnabled",!0,(t=>!t)),"aria-pressed":n.to("isOn",(t=>!!this.isToggleable&&String(!!t))),"data-cke-tooltip-text":n.to("_tooltipString"),"data-cke-tooltip-position":n.to("tooltipPosition")},children:this.children,on:{click:n.to((t=>{this.isEnabled?this.fire("execute"):t.preventDefault()}))}};c.isSafari&&(this._focusDelayed||(this._focusDelayed=tr((()=>this.focus()),0)),i.on.mousedown=n.to((()=>{this._focusDelayed()})),i.on.mouseup=n.to((()=>{this._focusDelayed.cancel()}))),this.setTemplate(i)}render(){super.render(),this.icon&&(this.iconView.bind("content").to(this,"icon"),this.children.add(this.iconView)),this.children.add(this.labelView),this.withKeystroke&&this.keystroke&&this.children.add(this.keystrokeView)}focus(){this.element.focus()}destroy(){this._focusDelayed&&this._focusDelayed.cancel(),super.destroy()}_setupLabelView(t){return t.bind("text","style","id").to(this,"label","labelStyle","ariaLabelledBy"),t}_createKeystrokeView(){const t=new dg;return t.setTemplate({tag:"span",attributes:{class:["ck","ck-button__keystroke"]},children:[{text:this.bindTemplate.to("keystroke",(t=>Ci(t)))}]}),t}_getTooltipString(t,e,n){return t?"string"==typeof t?t:(n&&(n=Ci(n)),t instanceof Function?t(e,n):`${e}${n?` (${n})`:""}`):""}}var Mg=n(4391),Tg={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};br()(Mg.A,Tg);Mg.A.locals;class Sg extends Ig{constructor(t){super(t),this.isToggleable=!0,this.toggleSwitchView=this._createToggleView(),this.extendTemplate({attributes:{class:"ck-switchbutton"}})}render(){super.render(),this.children.add(this.toggleSwitchView)}_createToggleView(){const t=new dg;return t.setTemplate({tag:"span",attributes:{class:["ck","ck-button__toggle"]},children:[{tag:"span",attributes:{class:["ck","ck-button__toggle__inner"]}}]}),t}}class Bg extends Ig{constructor(t){super(t),this.buttonView=this,this._fileInputView=new Ng(t),this._fileInputView.bind("acceptedType").to(this),this._fileInputView.bind("allowMultipleFiles").to(this),this._fileInputView.delegate("done").to(this),this.on("execute",(()=>{this._fileInputView.open()})),this.extendTemplate({attributes:{class:"ck-file-dialog-button"}})}render(){super.render(),this.children.add(this._fileInputView)}}class Ng extends dg{constructor(t){super(t),this.set("acceptedType",void 0),this.set("allowMultipleFiles",!1);const e=this.bindTemplate;this.setTemplate({tag:"input",attributes:{class:["ck-hidden"],type:"file",tabindex:"-1",accept:e.to("acceptedType"),multiple:e.to("allowMultipleFiles")},on:{change:e.to((()=>{this.element&&this.element.files&&this.element.files.length&&this.fire("done",this.element.files),this.element.value=""}))}})}open(){this.element.click()}}const Pg='';var Og=n(25),Lg={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};br()(Og.A,Lg);Og.A.locals;class zg extends dg{constructor(t,e){super(t);const n=this.bindTemplate;this.set("isCollapsed",!1),this.set("label",""),this.buttonView=this._createButtonView(),this.children=this.createCollection(),this.set("_collapsibleAriaLabelUid",void 0),e&&this.children.addMany(e),this.setTemplate({tag:"div",attributes:{class:["ck","ck-collapsible",n.if("isCollapsed","ck-collapsible_collapsed")]},children:[this.buttonView,{tag:"div",attributes:{class:["ck","ck-collapsible__children"],role:"region",hidden:n.if("isCollapsed","hidden"),"aria-labelledby":n.to("_collapsibleAriaLabelUid")},children:this.children}]})}render(){super.render(),this._collapsibleAriaLabelUid=this.buttonView.labelView.element.id}focus(){this.buttonView.focus()}_createButtonView(){const t=new Ig(this.locale),e=t.bindTemplate;return t.set({withText:!0,icon:Pg}),t.extendTemplate({attributes:{"aria-expanded":e.to("isOn",(t=>String(t)))}}),t.bind("label").to(this),t.bind("isOn").to(this,"isCollapsed",(t=>!t)),t.on("execute",(()=>{this.isCollapsed=!this.isCollapsed})),t}}var Rg=n(7317),jg={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};br()(Rg.A,jg);Rg.A.locals;n(6931);n(9047);var Fg=n(4962),Vg={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};br()(Fg.A,Vg);Fg.A.locals;class Hg extends dg{constructor(t,e){super(t);const n=`ck-labeled-field-view-${k()}`,o=`ck-labeled-field-view-status-${k()}`;this.fieldView=e(this,n,o),this.set("label",void 0),this.set("isEnabled",!0),this.set("isEmpty",!0),this.set("isFocused",!1),this.set("errorText",null),this.set("infoText",null),this.set("class",void 0),this.set("placeholder",void 0),this.labelView=this._createLabelView(n),this.statusView=this._createStatusView(o),this.fieldWrapperChildren=this.createCollection([this.fieldView,this.labelView]),this.bind("_statusText").to(this,"errorText",this,"infoText",((t,e)=>t||e));const i=this.bindTemplate;this.setTemplate({tag:"div",attributes:{class:["ck","ck-labeled-field-view",i.to("class"),i.if("isEnabled","ck-disabled",(t=>!t)),i.if("isEmpty","ck-labeled-field-view_empty"),i.if("isFocused","ck-labeled-field-view_focused"),i.if("placeholder","ck-labeled-field-view_placeholder"),i.if("errorText","ck-error")]},children:[{tag:"div",attributes:{class:["ck","ck-labeled-field-view__input-wrapper"]},children:this.fieldWrapperChildren},this.statusView]})}_createLabelView(t){const e=new gg(this.locale);return e.for=t,e.bind("text").to(this,"label"),e}_createStatusView(t){const e=new dg(this.locale),n=this.bindTemplate;return e.setTemplate({tag:"div",attributes:{class:["ck","ck-labeled-field-view__status",n.if("errorText","ck-labeled-field-view__status_error"),n.if("_statusText","ck-hidden",(t=>!t))],id:t,role:n.if("errorText","alert")},children:[{text:n.to("_statusText")}]}),e}focus(t){this.fieldView.focus(t)}}class Ug extends dg{constructor(t){super(t),this.set("value",void 0),this.set("id",void 0),this.set("placeholder",void 0),this.set("tabIndex",void 0),this.set("isReadOnly",!1),this.set("hasError",!1),this.set("ariaDescribedById",void 0),this.set("ariaLabel",void 0),this.focusTracker=new Zi,this.bind("isFocused").to(this.focusTracker),this.set("isEmpty",!0);const e=this.bindTemplate;this.setTemplate({tag:"input",attributes:{class:["ck","ck-input",e.if("isFocused","ck-input_focused"),e.if("isEmpty","ck-input-text_empty"),e.if("hasError","ck-error")],id:e.to("id"),placeholder:e.to("placeholder"),tabindex:e.to("tabIndex"),readonly:e.to("isReadOnly"),"aria-invalid":e.if("hasError",!0),"aria-describedby":e.to("ariaDescribedById"),"aria-label":e.to("ariaLabel")},on:{input:e.to(((...t)=>{this.fire("input",...t),this._updateIsEmpty()})),change:e.to(this._updateIsEmpty.bind(this))}})}render(){super.render(),this.focusTracker.add(this.element),this._setDomElementValue(this.value),this._updateIsEmpty(),this.on("change:value",((t,e,n)=>{this._setDomElementValue(n),this._updateIsEmpty()}))}destroy(){super.destroy(),this.focusTracker.destroy()}select(){this.element.select()}focus(){this.element.focus()}reset(){this.value=this.element.value="",this._updateIsEmpty()}_updateIsEmpty(){this.isEmpty=!this.element.value}_setDomElementValue(t){this.element.value=t||0===t?t:""}}var qg=n(253),Gg={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};br()(qg.A,Gg);qg.A.locals;class Wg extends Ug{constructor(t){super(t),this.set("inputMode","text");const e=this.bindTemplate;this.extendTemplate({attributes:{inputmode:e.to("inputMode")}})}}class Kg extends Wg{constructor(t){super(t),this.extendTemplate({attributes:{type:"text",class:["ck-input-text"]}})}}var $g=n(1671),Yg={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};br()($g.A,Yg);$g.A.locals;class Qg extends dg{constructor(t){super(t);const e=this.bindTemplate;this.set("isVisible",!1),this.set("position","se"),this.children=this.createCollection(),this.setTemplate({tag:"div",attributes:{class:["ck","ck-reset","ck-dropdown__panel",e.to("position",(t=>`ck-dropdown__panel_${t}`)),e.if("isVisible","ck-dropdown__panel-visible")],tabindex:"-1"},children:this.children,on:{selectstart:e.to((t=>{"input"!==t.target.tagName.toLocaleLowerCase()&&t.preventDefault()}))}})}focus(){if(this.children.length){const t=this.children.first;"function"==typeof t.focus?t.focus():C("ui-dropdown-panel-focus-child-missing-focus",{childView:this.children.first,dropdownPanel:this})}}focusLast(){if(this.children.length){const t=this.children.last;"function"==typeof t.focusLast?t.focusLast():t.focus()}}}var Zg=n(8149),Jg={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};br()(Zg.A,Jg);Zg.A.locals;const Xg=class extends dg{constructor(t,e,n){super(t);const o=this.bindTemplate;this.buttonView=e,this.panelView=n,this.set("isOpen",!1),this.set("isEnabled",!0),this.set("class",void 0),this.set("id",void 0),this.set("panelPosition","auto"),this.panelView.bind("isVisible").to(this,"isOpen"),this.keystrokes=new Ji,this.focusTracker=new Zi,this.setTemplate({tag:"div",attributes:{class:["ck","ck-dropdown",o.to("class"),o.if("isEnabled","ck-disabled",(t=>!t))],id:o.to("id"),"aria-describedby":o.to("ariaDescribedById")},children:[e,n]}),e.extendTemplate({attributes:{class:["ck-dropdown__button"],"data-cke-tooltip-disabled":o.to("isOpen")}})}render(){super.render(),this.focusTracker.add(this.buttonView.element),this.focusTracker.add(this.panelView.element),this.listenTo(this.buttonView,"open",(()=>{this.isOpen=!this.isOpen})),this.on("change:isOpen",((t,e,n)=>{if(n)if("auto"===this.panelPosition){const t=Xg._getOptimalPosition({element:this.panelView.element,target:this.buttonView.element,fitInViewport:!0,positions:this._panelPositions});this.panelView.position=t?t.name:this._panelPositions[0].name}else this.panelView.position=this.panelPosition})),this.keystrokes.listenTo(this.element);const t=(t,e)=>{this.isOpen&&(this.isOpen=!1,e())};this.keystrokes.set("arrowdown",((t,e)=>{this.buttonView.isEnabled&&!this.isOpen&&(this.isOpen=!0,e())})),this.keystrokes.set("arrowright",((t,e)=>{this.isOpen&&e()})),this.keystrokes.set("arrowleft",t),this.keystrokes.set("esc",t)}focus(){this.buttonView.focus()}get _panelPositions(){const{south:t,north:e,southEast:n,southWest:o,northEast:i,northWest:r,southMiddleEast:s,southMiddleWest:a,northMiddleEast:c,northMiddleWest:l}=Xg.defaultPanelPositions;return"rtl"!==this.locale.uiLanguageDirection?[n,o,s,a,t,i,r,c,l,e]:[o,n,a,s,t,r,i,l,c,e]}};let tm=Xg;tm.defaultPanelPositions={south:(t,e)=>({top:t.bottom,left:t.left-(e.width-t.width)/2,name:"s"}),southEast:t=>({top:t.bottom,left:t.left,name:"se"}),southWest:(t,e)=>({top:t.bottom,left:t.left-e.width+t.width,name:"sw"}),southMiddleEast:(t,e)=>({top:t.bottom,left:t.left-(e.width-t.width)/4,name:"sme"}),southMiddleWest:(t,e)=>({top:t.bottom,left:t.left-3*(e.width-t.width)/4,name:"smw"}),north:(t,e)=>({top:t.top-e.height,left:t.left-(e.width-t.width)/2,name:"n"}),northEast:(t,e)=>({top:t.top-e.height,left:t.left,name:"ne"}),northWest:(t,e)=>({top:t.top-e.height,left:t.left-e.width+t.width,name:"nw"}),northMiddleEast:(t,e)=>({top:t.top-e.height,left:t.left-(e.width-t.width)/4,name:"nme"}),northMiddleWest:(t,e)=>({top:t.top-e.height,left:t.left-3*(e.width-t.width)/4,name:"nmw"})},tm._getOptimalPosition=ni;class em extends Ig{constructor(t){super(t),this.arrowView=this._createArrowView(),this.extendTemplate({attributes:{"aria-haspopup":!0,"aria-expanded":this.bindTemplate.to("isOn",(t=>String(t)))}}),this.delegate("execute").to(this,"open")}render(){super.render(),this.children.add(this.arrowView)}_createArrowView(){const t=new yg;return t.content=Pg,t.extendTemplate({attributes:{class:"ck-dropdown__arrow"}}),t}}class nm extends(B()){constructor(t){if(super(),this.focusables=t.focusables,this.focusTracker=t.focusTracker,this.keystrokeHandler=t.keystrokeHandler,this.actions=t.actions,t.actions&&t.keystrokeHandler)for(const e in t.actions){let n=t.actions[e];"string"==typeof n&&(n=[n]);for(const o of n)t.keystrokeHandler.set(o,((t,n)=>{this[e](),n()}))}this.on("forwardCycle",(()=>this.focusFirst()),{priority:"low"}),this.on("backwardCycle",(()=>this.focusLast()),{priority:"low"})}get first(){return this.focusables.find(om)||null}get last(){return this.focusables.filter(om).slice(-1)[0]||null}get next(){return this._getDomFocusableItem(1)}get previous(){return this._getDomFocusableItem(-1)}get current(){let t=null;return null===this.focusTracker.focusedElement?null:(this.focusables.find(((e,n)=>{const o=e.element===this.focusTracker.focusedElement;return o&&(t=n),o})),t)}focusFirst(){this._focus(this.first,1)}focusLast(){this._focus(this.last,-1)}focusNext(){const t=this.next;t&&this.focusables.getIndex(t)===this.current||t===this.first?this.fire("forwardCycle"):this._focus(t,1)}focusPrevious(){const t=this.previous;t&&this.focusables.getIndex(t)===this.current||t===this.last?this.fire("backwardCycle"):this._focus(t,-1)}_focus(t,e){t&&this.focusTracker.focusedElement!==t.element&&t.focus(e)}_getDomFocusableItem(t){const e=this.focusables.length;if(!e)return null;const n=this.current;if(null===n)return this[1===t?"first":"last"];let o=this.focusables.get(n),i=(n+e+t)%e;do{const n=this.focusables.get(i);if(om(n)){o=n;break}i=(i+e+t)%e}while(i!==n);return o}}function om(t){return im(t)&&ti(t.element)}function im(t){return!(!("focus"in t)||"function"!=typeof t.focus)}class rm extends dg{constructor(t){super(t),this.setTemplate({tag:"span",attributes:{class:["ck","ck-toolbar__separator"]}})}}class sm extends dg{constructor(t){super(t),this.setTemplate({tag:"span",attributes:{class:["ck","ck-toolbar__line-break"]}})}}var am=Object.defineProperty,cm=Object.getOwnPropertySymbols,lm=Object.prototype.hasOwnProperty,dm=Object.prototype.propertyIsEnumerable,um=(t,e,n)=>e in t?am(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,hm=(t,e)=>{for(var n in e||(e={}))lm.call(e,n)&&um(t,n,e[n]);if(cm)for(var n of cm(e))dm.call(e,n)&&um(t,n,e[n]);return t};function gm(t){if(Array.isArray(t))return{items:t,removeItems:[]};const e={items:[],removeItems:[]};return t?hm(hm({},e),t):e}var mm=n(9677),pm={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};br()(mm.A,pm);mm.A.locals;const{threeVerticalDots:fm}=jh,km={alignLeft:jh.alignLeft,bold:jh.bold,importExport:jh.importExport,paragraph:jh.paragraph,plus:jh.plus,text:jh.text,threeVerticalDots:jh.threeVerticalDots,pilcrow:jh.pilcrow,dragIndicator:jh.dragIndicator};class bm extends dg{constructor(t,e){super(t);const n=this.bindTemplate,o=this.t;this.options=e||{},this.set("ariaLabel",o("Editor toolbar")),this.set("maxWidth","auto"),this.items=this.createCollection(),this.focusTracker=new Zi,this.keystrokes=new Ji,this.set("class",void 0),this.set("isCompact",!1),this.itemsView=new wm(t),this.children=this.createCollection(),this.children.add(this.itemsView),this.focusables=this.createCollection();const i="rtl"===t.uiLanguageDirection;this._focusCycler=new nm({focusables:this.focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:[i?"arrowright":"arrowleft","arrowup"],focusNext:[i?"arrowleft":"arrowright","arrowdown"]}});const r=["ck","ck-toolbar",n.to("class"),n.if("isCompact","ck-toolbar_compact")];var s;this.options.shouldGroupWhenFull&&this.options.isFloating&&r.push("ck-toolbar_floating"),this.setTemplate({tag:"div",attributes:{class:r,role:"toolbar","aria-label":n.to("ariaLabel"),style:{maxWidth:n.to("maxWidth")},tabindex:-1},children:this.children,on:{mousedown:(s=this,s.bindTemplate.to((t=>{t.target===s.element&&t.preventDefault()})))}}),this._behavior=this.options.shouldGroupWhenFull?new _m(this):new Am(this)}render(){super.render(),this.focusTracker.add(this.element);for(const t of this.items)this.focusTracker.add(t.element);this.items.on("add",((t,e)=>{this.focusTracker.add(e.element)})),this.items.on("remove",((t,e)=>{this.focusTracker.remove(e.element)})),this.keystrokes.listenTo(this.element),this._behavior.render(this)}destroy(){return this._behavior.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy(),super.destroy()}focus(){this._focusCycler.focusFirst()}focusLast(){this._focusCycler.focusLast()}fillFromConfig(t,e,n){this.items.addMany(this._buildItemsFromConfig(t,e,n))}_buildItemsFromConfig(t,e,n){const o=gm(t),i=n||o.removeItems;return this._cleanItemsConfiguration(o.items,e,i).map((t=>F(t)?this._createNestedToolbarDropdown(t,e,i):"|"===t?new rm:"-"===t?new sm:e.create(t))).filter((t=>!!t))}_cleanItemsConfiguration(t,e,n){const o=t.filter(((t,o,i)=>"|"===t||-1===n.indexOf(t)&&("-"===t?!this.options.shouldGroupWhenFull||(C("toolbarview-line-break-ignored-when-grouping-items",i),!1):!(!F(t)&&!e.has(t))||(C("toolbarview-item-unavailable",{item:t}),!1))));return this._cleanSeparatorsAndLineBreaks(o)}_cleanSeparatorsAndLineBreaks(t){const e=t=>"-"!==t&&"|"!==t,n=t.length,o=t.findIndex(e);if(-1===o)return[];const i=n-t.slice().reverse().findIndex(e);return t.slice(o,i).filter(((t,n,o)=>{if(e(t))return!0;return!(n>0&&o[n-1]===t)}))}_createNestedToolbarDropdown(t,e,n){let{label:o,icon:i,items:r,tooltip:s=!0,withText:a=!1}=t;if(r=this._cleanItemsConfiguration(r,e,n),!r.length)return null;const c=Om(this.locale);return o||C("toolbarview-nested-toolbar-dropdown-missing-label",t),c.class="ck-toolbar__nested-toolbar-dropdown",c.buttonView.set({label:o,tooltip:s,withText:!!a}),!1!==i?c.buttonView.icon=km[i]||i||fm:c.buttonView.withText=!0,Lm(c,(()=>c.toolbarView._buildItemsFromConfig(r,e,n))),c}}class wm extends dg{constructor(t){super(t),this.children=this.createCollection(),this.setTemplate({tag:"div",attributes:{class:["ck","ck-toolbar__items"]},children:this.children})}}class Am{constructor(t){const e=t.bindTemplate;t.set("isVertical",!1),t.itemsView.children.bindTo(t.items).using((t=>t)),t.focusables.bindTo(t.items).using((t=>im(t)?t:null)),t.extendTemplate({attributes:{class:[e.if("isVertical","ck-toolbar_vertical")]}})}render(){}destroy(){}}class _m{constructor(t){this.resizeObserver=null,this.cachedPadding=null,this.shouldUpdateGroupingOnNextResize=!1,this.view=t,this.viewChildren=t.children,this.viewFocusables=t.focusables,this.viewItemsView=t.itemsView,this.viewFocusTracker=t.focusTracker,this.viewLocale=t.locale,this.ungroupedItems=t.createCollection(),this.groupedItems=t.createCollection(),this.groupedItemsDropdown=this._createGroupedItemsDropdown(),t.itemsView.children.bindTo(this.ungroupedItems).using((t=>t)),this.ungroupedItems.on("change",this._updateFocusCyclableItems.bind(this)),t.children.on("change",this._updateFocusCyclableItems.bind(this)),t.items.on("change",((t,e)=>{const n=e.index,o=Array.from(e.added);for(const t of e.removed)n>=this.ungroupedItems.length?this.groupedItems.remove(t):this.ungroupedItems.remove(t);for(let t=n;tthis.ungroupedItems.length?this.groupedItems.add(e,t-this.ungroupedItems.length):this.ungroupedItems.add(e,t)}this._updateGrouping()})),t.extendTemplate({attributes:{class:["ck-toolbar_grouping"]}})}render(t){this.viewElement=t.element,this._enableGroupingOnResize(),this._enableGroupingOnMaxWidthChange(t)}destroy(){this.groupedItemsDropdown.destroy(),this.resizeObserver.destroy()}_updateGrouping(){if(!this.viewElement.ownerDocument.body.contains(this.viewElement))return;if(!ti(this.viewElement))return void(this.shouldUpdateGroupingOnNextResize=!0);const t=this.groupedItems.length;let e;for(;this._areItemsOverflowing;)this._groupLastItem(),e=!0;if(!e&&this.groupedItems.length){for(;this.groupedItems.length&&!this._areItemsOverflowing;)this._ungroupFirstItem();this._areItemsOverflowing&&this._groupLastItem()}this.groupedItems.length!==t&&this.view.fire("groupedItemsUpdate")}get _areItemsOverflowing(){if(!this.ungroupedItems.length)return!1;const t=this.viewElement,e=this.viewLocale.uiLanguageDirection,n=new Ho(t.lastChild),o=new Ho(t);if(!this.cachedPadding){const n=Lo.window.getComputedStyle(t),o="ltr"===e?"paddingRight":"paddingLeft";this.cachedPadding=Number.parseInt(n[o])}return"ltr"===e?n.right>o.right-this.cachedPadding:n.left{t&&t===e.contentRect.width&&!this.shouldUpdateGroupingOnNextResize||(this.shouldUpdateGroupingOnNextResize=!1,this._updateGrouping(),t=e.contentRect.width)})),this._updateGrouping()}_enableGroupingOnMaxWidthChange(t){t.on("change:maxWidth",(()=>{this._updateGrouping()}))}_groupLastItem(){this.groupedItems.length||(this.viewChildren.add(new rm),this.viewChildren.add(this.groupedItemsDropdown),this.viewFocusTracker.add(this.groupedItemsDropdown.element)),this.groupedItems.add(this.ungroupedItems.remove(this.ungroupedItems.last),0)}_ungroupFirstItem(){this.ungroupedItems.add(this.groupedItems.remove(this.groupedItems.first)),this.groupedItems.length||(this.viewChildren.remove(this.groupedItemsDropdown),this.viewChildren.remove(this.viewChildren.last),this.viewFocusTracker.remove(this.groupedItemsDropdown.element))}_createGroupedItemsDropdown(){const t=this.viewLocale,e=t.t,n=Om(t);return n.class="ck-toolbar__grouped-dropdown",n.panelPosition="ltr"===t.uiLanguageDirection?"sw":"se",Lm(n,this.groupedItems),n.buttonView.set({label:e("Show more items"),tooltip:!0,tooltipPosition:"rtl"===t.uiLanguageDirection?"se":"sw",icon:fm}),n}_updateFocusCyclableItems(){this.viewFocusables.clear(),this.ungroupedItems.map((t=>{im(t)&&this.viewFocusables.add(t)})),this.groupedItems.length&&this.viewFocusables.add(this.groupedItemsDropdown)}}class Cm extends dg{constructor(t){super(t);const e=this.bindTemplate;this.set("isVisible",!0),this.children=this.createCollection(),this.setTemplate({tag:"li",attributes:{class:["ck","ck-list__item",e.if("isVisible","ck-hidden",(t=>!t))],role:"presentation"},children:this.children})}focus(){this.children.first&&this.children.first.focus()}}class vm extends dg{constructor(t){super(t),this.setTemplate({tag:"li",attributes:{class:["ck","ck-list__separator"]}})}}class ym extends dg{constructor(t,e=new gg){super(t);const n=this.bindTemplate,o=new Dm(t);this.set({label:"",isVisible:!0}),this.labelView=e,this.labelView.bind("text").to(this,"label"),this.children=this.createCollection(),this.children.addMany([this.labelView,o]),o.set({role:"group",ariaLabelledBy:e.id}),o.focusTracker.destroy(),o.keystrokes.destroy(),this.items=o.items,this.setTemplate({tag:"li",attributes:{role:"presentation",class:["ck","ck-list__group",n.if("isVisible","ck-hidden",(t=>!t))]},children:this.children})}focus(){if(this.items){const t=this.items.find((t=>!(t instanceof vm)));t&&t.focus()}}}var xm=n(5199),Em={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};br()(xm.A,Em);xm.A.locals;class Dm extends dg{constructor(t){super(t),this._listItemGroupToChangeListeners=new WeakMap;const e=this.bindTemplate;this.focusables=new Fh,this.items=this.createCollection(),this.focusTracker=new Zi,this.keystrokes=new Ji,this._focusCycler=new nm({focusables:this.focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"arrowup",focusNext:"arrowdown"}}),this.set("ariaLabel",void 0),this.set("ariaLabelledBy",void 0),this.set("role",void 0),this.setTemplate({tag:"ul",attributes:{class:["ck","ck-reset","ck-list"],role:e.to("role"),"aria-label":e.to("ariaLabel"),"aria-labelledby":e.to("ariaLabelledBy")},children:this.items})}render(){super.render();for(const t of this.items)t instanceof ym?this._registerFocusableItemsGroup(t):t instanceof Cm&&this._registerFocusableListItem(t);this.items.on("change",((t,e)=>{for(const t of e.removed)t instanceof ym?this._deregisterFocusableItemsGroup(t):t instanceof Cm&&this._deregisterFocusableListItem(t);for(const t of Array.from(e.added).reverse())t instanceof ym?this._registerFocusableItemsGroup(t,e.index):this._registerFocusableListItem(t,e.index)})),this.keystrokes.listenTo(this.element)}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}focus(){this._focusCycler.focusFirst()}focusFirst(){this._focusCycler.focusFirst()}focusLast(){this._focusCycler.focusLast()}_registerFocusableListItem(t,e){this.focusTracker.add(t.element),this.focusables.add(t,e)}_deregisterFocusableListItem(t){this.focusTracker.remove(t.element),this.focusables.remove(t)}_getOnGroupItemsChangeCallback(t){return(e,n)=>{for(const t of n.removed)this._deregisterFocusableListItem(t);for(const e of Array.from(n.added).reverse())this._registerFocusableListItem(e,this.items.getIndex(t)+n.index)}}_registerFocusableItemsGroup(t,e){Array.from(t.items).forEach(((t,n)=>{const o=void 0!==e?e+n:void 0;this._registerFocusableListItem(t,o)}));const n=this._getOnGroupItemsChangeCallback(t);this._listItemGroupToChangeListeners.set(t,n),t.items.on("change",n)}_deregisterFocusableItemsGroup(t){for(const e of t.items)this._deregisterFocusableListItem(e);t.items.off("change",this._listItemGroupToChangeListeners.get(t)),this._listItemGroupToChangeListeners.delete(t)}}var Im=n(1792),Mm={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};br()(Im.A,Mm);Im.A.locals;class Tm extends dg{constructor(t,e){super(t);const n=this.bindTemplate;this.set("class",void 0),this.set("labelStyle",void 0),this.set("icon",void 0),this.set("isEnabled",!0),this.set("isOn",!1),this.set("isToggleable",!1),this.set("isVisible",!0),this.set("keystroke",void 0),this.set("withKeystroke",!1),this.set("label",void 0),this.set("tabindex",-1),this.set("tooltip",!1),this.set("tooltipPosition","s"),this.set("type","button"),this.set("withText",!1),this.children=this.createCollection(),this.actionView=this._createActionView(e),this.arrowView=this._createArrowView(),this.keystrokes=new Ji,this.focusTracker=new Zi,this.setTemplate({tag:"div",attributes:{class:["ck","ck-splitbutton",n.to("class"),n.if("isVisible","ck-hidden",(t=>!t)),this.arrowView.bindTemplate.if("isOn","ck-splitbutton_open")]},children:this.children})}render(){super.render(),this.children.add(this.actionView),this.children.add(this.arrowView),this.focusTracker.add(this.actionView.element),this.focusTracker.add(this.arrowView.element),this.keystrokes.listenTo(this.element),this.keystrokes.set("arrowright",((t,e)=>{this.focusTracker.focusedElement===this.actionView.element&&(this.arrowView.focus(),e())})),this.keystrokes.set("arrowleft",((t,e)=>{this.focusTracker.focusedElement===this.arrowView.element&&(this.actionView.focus(),e())}))}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}focus(){this.actionView.focus()}_createActionView(t){const e=t||new Ig;return t||e.bind("icon","isEnabled","isOn","isToggleable","keystroke","label","tabindex","tooltip","tooltipPosition","type","withText").to(this),e.extendTemplate({attributes:{class:"ck-splitbutton__action"}}),e.delegate("execute").to(this),e}_createArrowView(){const t=new Ig,e=t.bindTemplate;return t.icon=Pg,t.extendTemplate({attributes:{class:["ck-splitbutton__arrow"],"data-cke-tooltip-disabled":e.to("isOn"),"aria-haspopup":!0,"aria-expanded":e.to("isOn",(t=>String(t)))}}),t.bind("isEnabled").to(this),t.bind("label").to(this),t.bind("tooltip").to(this),t.delegate("execute").to(this,"open"),t}}var Sm=n(1666),Bm={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};br()(Sm.A,Bm);Sm.A.locals;var Nm=n(3629),Pm={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};br()(Nm.A,Pm);Nm.A.locals;function Om(e,n=em){const o="function"==typeof n?new n(e):n,i=new Qg(e),r=new tm(e,o,i);return o.bind("isEnabled").to(r),o instanceof Tm?o.arrowView.bind("isOn").to(r,"isOpen"):o.bind("isOn").to(r,"isOpen"),function(e){(function(e){e.on("render",(()=>{t({emitter:e,activator:()=>e.isOpen,callback:()=>{e.isOpen=!1},contextElements:()=>[e.element,...e.focusTracker._elements]})}))})(e),function(t){t.on("execute",(e=>{e.source instanceof Sg||(t.isOpen=!1)}))}(e),function(t){t.focusTracker.on("change:isFocused",((e,n,o)=>{t.isOpen&&!o&&(t.isOpen=!1)}))}(e),function(t){t.keystrokes.set("arrowdown",((e,n)=>{t.isOpen&&(t.panelView.focus(),n())})),t.keystrokes.set("arrowup",((e,n)=>{t.isOpen&&(t.panelView.focusLast(),n())}))}(e),function(t){t.on("change:isOpen",((e,n,o)=>{if(o)return;const i=t.panelView.element;i&&i.contains(Lo.document.activeElement)&&t.buttonView.focus()}))}(e),function(t){t.on("change:isOpen",((e,n,o)=>{o&&t.panelView.focus()}),{priority:"low"})}(e)}(r),r}function Lm(t,e,n={}){t.extendTemplate({attributes:{class:["ck-toolbar-dropdown"]}}),t.isOpen?zm(t,e,n):t.once("change:isOpen",(()=>zm(t,e,n)),{priority:"highest"}),n.enableActiveItemFocusOnDropdownOpen&&Fm(t,(()=>t.toolbarView.items.find((t=>t.isOn))))}function zm(t,e,n){const o=t.locale,i=o.t,r=t.toolbarView=new bm(o),s="function"==typeof e?e():e;r.ariaLabel=n.ariaLabel||i("Dropdown toolbar"),n.maxWidth&&(r.maxWidth=n.maxWidth),n.class&&(r.class=n.class),n.isCompact&&(r.isCompact=n.isCompact),n.isVertical&&(r.isVertical=!0),s instanceof Fh?r.items.bindTo(s).using((t=>t)):r.items.addMany(s),t.panelView.children.add(r),r.items.delegate("execute").to(t)}function Rm(t,e,n={}){t.isOpen?jm(t,e,n):t.once("change:isOpen",(()=>jm(t,e,n)),{priority:"highest"}),Fm(t,(()=>t.listView.items.find((t=>t instanceof Cm&&t.children.first.isOn))))}function jm(t,e,n){const o=t.locale,i=t.listView=new Dm(o),r="function"==typeof e?e():e;i.ariaLabel=n.ariaLabel,i.role=n.role,Vm(t,i.items,r,o),t.panelView.children.add(i),i.items.delegate("execute").to(t)}function Fm(t,e){t.on("change:isOpen",(()=>{if(!t.isOpen)return;const n=e();n&&("function"==typeof n.focus?n.focus():C("ui-dropdown-focus-child-on-open-child-missing-focus",{view:n}))}),{priority:b.low-10})}function Vm(t,e,n,o){e.bindTo(n).using((e=>{if("separator"===e.type)return new vm(o);if("group"===e.type){const n=new ym(o);return n.set({label:e.label}),Vm(t,n.items,e.items,o),n.items.delegate("execute").to(t),n}if("button"===e.type||"switchbutton"===e.type){const t=new Cm(o);let n;return"button"===e.type?(n=new Ig(o),n.bind("ariaChecked").to(n,"isOn")):n=new Sg(o),n.bind(...Object.keys(e.model)).to(e.model),n.delegate("execute").to(t),t.children.add(n),t}return null}))}const Hm=(t,e,n)=>{const o=new Kg(t.locale);return o.set({id:e,ariaDescribedById:n}),o.bind("isReadOnly").to(t,"isEnabled",(t=>!t)),o.bind("hasError").to(t,"errorText",(t=>!!t)),o.on("input",(()=>{t.errorText=null})),t.bind("isEmpty","isFocused","placeholder").to(o),o};Math.PI;const Um=Symbol("same"),qm=(Symbol("color"),Symbol("hsva"),Symbol("update")),Gm=(Symbol("parts"),Symbol("css")),Wm=Symbol("sliders");HTMLElement;var Km=n(1905),$m={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};br()(Km.A,$m);Km.A.locals;K(Yi);const{eraser:Ym,colorPalette:Qm}=jh;Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;var Zm=n(6309),Jm={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};br()(Zm.A,Jm);Zm.A.locals;class Xm{constructor(t){this._components=new Map,this.editor=t}*names(){for(const t of this._components.values())yield t.originalName}add(t,e){this._components.set(tp(t),{callback:e,originalName:t})}create(t){if(!this.has(t))throw new _("componentfactory-item-missing",this,{name:t});return this._components.get(tp(t)).callback(this.editor.locale)}has(t){return this._components.has(tp(t))}}function tp(t){return String(t).toLowerCase()}var ep=n(7913),np={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};br()(ep.A,np);ep.A.locals;class op extends dg{constructor(t,e={}){super(t);const n=this.bindTemplate;this.set("label",e.label||""),this.set("class",e.class||null),this.children=this.createCollection(),this.setTemplate({tag:"div",attributes:{class:["ck","ck-form__header",n.to("class")]},children:this.children}),e.icon&&(this.iconView=new yg,this.iconView.content=e.icon,this.children.add(this.iconView));const o=new dg(t);o.setTemplate({tag:"h2",attributes:{class:["ck","ck-form__header__label"],role:"presentation"},children:[{text:n.to("label")}]}),this.children.add(o)}}var ip=n(9822),rp={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};br()(ip.A,rp);ip.A.locals;class sp extends dg{constructor(t){super(t),this.children=this.createCollection(),this.keystrokes=new Ji,this._focusTracker=new Zi,this._focusables=new Fh,this.focusCycler=new nm({focusables:this._focusables,focusTracker:this._focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}}),this.setTemplate({tag:"div",attributes:{class:["ck","ck-dialog__actions"]},children:this.children})}render(){super.render(),this.keystrokes.listenTo(this.element)}setButtons(t){for(const e of t){const t=new Ig(this.locale);let n;for(n in t.on("execute",(()=>e.onExecute())),e.onCreate&&e.onCreate(t),e)"onExecute"!=n&&"onCreate"!=n&&t.set(n,e[n]);this.children.add(t)}this._updateFocusCyclableItems()}focus(t){-1===t?this.focusCycler.focusLast():this.focusCycler.focusFirst()}_updateFocusCyclableItems(){Array.from(this.children).forEach((t=>{this._focusables.add(t),this._focusTracker.add(t.element)}))}}class ap extends dg{constructor(t){super(t),this.children=this.createCollection(),this.setTemplate({tag:"div",attributes:{class:["ck","ck-dialog__content"]},children:this.children})}reset(){for(;this.children.length;)this.children.remove(0)}}var cp=n(9819),lp={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};br()(cp.A,lp);cp.A.locals;const dp="screen-center",up="editor-center",hp="editor-top-side",gp="editor-top-center",mp="editor-bottom-center",pp="editor-above-center",fp="editor-below-center",kp=Qo("px"),bp=class extends(function(t){return class extends t{constructor(...t){super(...t),this._onDragBound=this._onDrag.bind(this),this._onDragEndBound=this._onDragEnd.bind(this),this._lastDraggingCoordinates={x:0,y:0},this.on("render",(()=>{this._attachListeners()})),this.set("isDragging",!1)}_attachListeners(){this.listenTo(this.element,"mousedown",this._onDragStart.bind(this)),this.listenTo(this.element,"touchstart",this._onDragStart.bind(this))}_attachDragListeners(){this.listenTo(Lo.document,"mouseup",this._onDragEndBound),this.listenTo(Lo.document,"touchend",this._onDragEndBound),this.listenTo(Lo.document,"mousemove",this._onDragBound),this.listenTo(Lo.document,"touchmove",this._onDragBound)}_detachDragListeners(){this.stopListening(Lo.document,"mouseup",this._onDragEndBound),this.stopListening(Lo.document,"touchend",this._onDragEndBound),this.stopListening(Lo.document,"mousemove",this._onDragBound),this.stopListening(Lo.document,"touchmove",this._onDragBound)}_onDragStart(t,e){if(!this._isHandleElementPressed(e))return;this._attachDragListeners();let n=0,o=0;e instanceof MouseEvent?(n=e.clientX,o=e.clientY):(n=e.touches[0].clientX,o=e.touches[0].clientY),this._lastDraggingCoordinates={x:n,y:o},this.isDragging=!0}_onDrag(t,e){if(!this.isDragging)return void this._detachDragListeners();let n=0,o=0;e instanceof MouseEvent?(n=e.clientX,o=e.clientY):(n=e.touches[0].clientX,o=e.touches[0].clientY),e.preventDefault(),this.fire("drag",{deltaX:Math.round(n-this._lastDraggingCoordinates.x),deltaY:Math.round(o-this._lastDraggingCoordinates.y)}),this._lastDraggingCoordinates={x:n,y:o}}_onDragEnd(){this._detachDragListeners(),this.isDragging=!1}_isHandleElementPressed(t){return!!this.dragHandleElement&&(this.dragHandleElement===t.target||t.target instanceof HTMLElement&&this.dragHandleElement.contains(t.target))}}}(dg)){constructor(t,{getCurrentDomRoot:e,getViewportOffset:n}){super(t),this.wasMoved=!1;const o=this.bindTemplate,i=t.t;this.set("className",""),this.set("ariaLabel",i("Editor dialog")),this.set("isModal",!1),this.set("position",dp),this.set("_isVisible",!1),this.set("_isTransparent",!1),this.set("_top",0),this.set("_left",0),this._getCurrentDomRoot=e,this._getViewportOffset=n,this.decorate("moveTo"),this.parts=this.createCollection(),this.keystrokes=new Ji,this.focusTracker=new Zi,this._focusables=new Fh,this._focusCycler=new nm({focusables:this._focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}}),this.setTemplate({tag:"div",attributes:{class:["ck","ck-dialog-overlay",o.if("isModal","ck-dialog-overlay__transparent",(t=>!t)),o.if("_isVisible","ck-hidden",(t=>!t))],tabindex:"-1"},children:[{tag:"div",attributes:{tabindex:"-1",class:["ck","ck-dialog",o.to("className")],role:"dialog","aria-label":o.to("ariaLabel"),style:{top:o.to("_top",(t=>kp(t))),left:o.to("_left",(t=>kp(t))),visibility:o.if("_isTransparent","hidden")}},children:this.parts}]})}render(){super.render(),this.keystrokes.set("Esc",((t,e)=>{this.fire("close",{source:"escKeyPress"}),e()})),this.on("drag",((t,{deltaX:e,deltaY:n})=>{this.wasMoved=!0,this.moveBy(e,n)})),this.listenTo(Lo.window,"resize",(()=>{this._isVisible&&!this.wasMoved&&this.updatePosition()})),this.listenTo(Lo.document,"scroll",(()=>{this._isVisible&&!this.wasMoved&&this.updatePosition()})),this.on("change:_isVisible",((t,e,n)=>{n&&(this._isTransparent=!0,setTimeout((()=>{this.updatePosition(),this._isTransparent=!1,this.focus()}),10))})),this.keystrokes.listenTo(this.element)}get dragHandleElement(){return this.headerView?this.headerView.element:null}setupParts({icon:t,title:e,hasCloseButton:n=!0,content:o,actionButtons:i}){e&&(this.headerView=new op(this.locale,{icon:t}),n&&(this.closeButtonView=this._createCloseButton(),this.headerView.children.add(this.closeButtonView)),this.headerView.label=e,this.ariaLabel=e,this.parts.add(this.headerView,0)),o&&(o instanceof dg&&(o=[o]),this.contentView=new ap(this.locale),this.contentView.children.addMany(o),this.parts.add(this.contentView)),i&&(this.actionsView=new sp(this.locale),this.actionsView.setButtons(i),this.parts.add(this.actionsView)),this._updateFocusCyclableItems()}focus(){this._focusCycler.focusFirst()}moveTo(t,e){const n=this._getViewportRect(),o=this._getDialogRect();t+o.width>n.right&&(t=n.right-o.width),t{var e;this._focusables.add(t),this.focusTracker.add(t.element),im(e=t)&&"focusCycler"in e&&e.focusCycler instanceof nm&&(this.listenTo(t.focusCycler,"forwardCycle",(t=>{this._focusCycler.focusNext(),this._focusCycler.next!==this._focusCycler.focusables.get(this._focusCycler.current)&&t.stop()})),this.listenTo(t.focusCycler,"backwardCycle",(t=>{this._focusCycler.focusPrevious(),this._focusCycler.previous!==this._focusCycler.focusables.get(this._focusCycler.current)&&t.stop()})))}))}_createCloseButton(){const t=new Ig(this.locale),e=this.locale.t;return t.set({label:e("Close"),tooltip:!0,icon:jh.cancel}),t.on("execute",(()=>this.fire("close",{source:"closeButton"}))),t}};let wp=bp;wp.defaultOffset=15;class Ap extends rr{constructor(t){super(t);const e=t.t;this._initShowHideListeners(),this._initFocusToggler(),this._initMultiRootIntegration(),this.set("id",null),t.accessibility.addKeystrokeInfos({categoryId:"navigation",keystrokes:[{label:e("Move focus in and out of an active dialog window"),keystroke:"Ctrl+F6",mayRequireFn:!0}]})}static get pluginName(){return"Dialog"}_initShowHideListeners(){this.on("show",((t,e)=>{this._show(e)})),this.on("show",((t,e)=>{e.onShow&&e.onShow(this)}),{priority:"low"}),this.on("hide",(()=>{Ap._visibleDialogPlugin&&Ap._visibleDialogPlugin._hide()})),this.on("hide",(()=>{this._onHide&&(this._onHide(this),this._onHide=void 0)}),{priority:"low"})}_initFocusToggler(){const t=this.editor;t.keystrokes.set("Ctrl+F6",((e,n)=>{this.isOpen&&!this.view.isModal&&(this.view.focusTracker.isFocused?t.editing.view.focus():this.view.focus(),n())}))}_initMultiRootIntegration(){const t=this.editor.model;t.document.on("change:data",(()=>{if(!this.view)return;const e=t.document.differ.getChangedRoots();for(const t of e)t.state&&this.view.updatePosition()}))}show(t){this.hide(),this.fire(`show:${t.id}`,t)}_show({id:t,icon:e,title:n,hasCloseButton:o=!0,content:i,actionButtons:r,className:s,isModal:a,position:c,onHide:l}){const d=this.editor;this.view=new wp(d.locale,{getCurrentDomRoot:()=>d.editing.view.getDomRoot(d.model.document.selection.anchor.root.rootName),getViewportOffset:()=>d.ui.viewportOffset});const u=this.view;u.on("close",(()=>{this.hide()})),d.ui.view.body.add(u),d.ui.focusTracker.add(u.element),d.keystrokes.listenTo(u.element),c||(c=a?dp:up),u.set({position:c,_isVisible:!0,className:s,isModal:a}),u.setupParts({icon:e,title:n,hasCloseButton:o,content:i,actionButtons:r}),this.id=t,l&&(this._onHide=l),this.isOpen=!0,Ap._visibleDialogPlugin=this}hide(){Ap._visibleDialogPlugin&&Ap._visibleDialogPlugin.fire(`hide:${Ap._visibleDialogPlugin.id}`)}_hide(){if(!this.view)return;const t=this.editor,e=this.view;e.contentView&&e.contentView.reset(),t.ui.view.body.remove(e),t.ui.focusTracker.remove(e.element),t.keystrokes.stopListening(e.element),e.destroy(),t.editing.view.focus(),this.id=null,this.isOpen=!1,Ap._visibleDialogPlugin=null}}var _p=n(3710),Cp={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};br()(_p.A,Cp);_p.A.locals;var vp=Object.defineProperty,yp=Object.getOwnPropertySymbols,xp=Object.prototype.hasOwnProperty,Ep=Object.prototype.propertyIsEnumerable,Dp=(t,e,n)=>e in t?vp(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Ip=(t,e)=>{for(var n in e||(e={}))xp.call(e,n)&&Dp(t,n,e[n]);if(yp)for(var n of yp(e))Ep.call(e,n)&&Dp(t,n,e[n]);return t};const Mp=Qo("px"),Tp=Lo.document.body,Sp={top:-99999,left:-99999,name:"arrowless",config:{withArrow:!1}},Bp=class extends dg{constructor(t){super(t);const e=this.bindTemplate;this.set("top",0),this.set("left",0),this.set("position","arrow_nw"),this.set("isVisible",!1),this.set("withArrow",!0),this.set("class",void 0),this._pinWhenIsVisibleCallback=null,this.content=this.createCollection(),this.setTemplate({tag:"div",attributes:{class:["ck","ck-balloon-panel",e.to("position",(t=>`ck-balloon-panel_${t}`)),e.if("isVisible","ck-balloon-panel_visible"),e.if("withArrow","ck-balloon-panel_with-arrow"),e.to("class")],style:{top:e.to("top",Mp),left:e.to("left",Mp)}},children:this.content})}show(){this.isVisible=!0}hide(){this.isVisible=!1}attachTo(t){this.show();const e=Bp.defaultPositions,n=Object.assign({},{element:this.element,positions:[e.southArrowNorth,e.southArrowNorthMiddleWest,e.southArrowNorthMiddleEast,e.southArrowNorthWest,e.southArrowNorthEast,e.northArrowSouth,e.northArrowSouthMiddleWest,e.northArrowSouthMiddleEast,e.northArrowSouthWest,e.northArrowSouthEast,e.viewportStickyNorth],limiter:Tp,fitInViewport:!0},t),o=Bp._getOptimalPosition(n)||Sp,i=parseInt(o.left),r=parseInt(o.top),s=o.name,a=o.config||{},{withArrow:c=!0}=a;this.top=r,this.left=i,this.position=s,this.withArrow=c}pin(t){this.unpin(),this._pinWhenIsVisibleCallback=()=>{this.isVisible?this._startPinning(t):this._stopPinning()},this._startPinning(t),this.listenTo(this,"change:isVisible",this._pinWhenIsVisibleCallback)}unpin(){this._pinWhenIsVisibleCallback&&(this._stopPinning(),this.stopListening(this,"change:isVisible",this._pinWhenIsVisibleCallback),this._pinWhenIsVisibleCallback=null,this.hide())}_startPinning(t){this.attachTo(t);const e=Pp(t.target),n=t.limiter?Pp(t.limiter):Tp;this.listenTo(Lo.document,"scroll",((o,i)=>{const r=i.target,s=e&&r.contains(e),a=n&&r.contains(n);!s&&!a&&e&&n||this.attachTo(t)}),{useCapture:!0}),this.listenTo(Lo.window,"resize",(()=>{this.attachTo(t)}))}_stopPinning(){this.stopListening(Lo.document,"scroll"),this.stopListening(Lo.window,"resize")}};let Np=Bp;function Pp(t){return xo(t)?t:jo(t)?t.commonAncestorContainer:"function"==typeof t?Pp(t()):null}function Op(t={}){const{sideOffset:e=Np.arrowSideOffset,heightOffset:n=Np.arrowHeightOffset,stickyVerticalOffset:o=Np.stickyVerticalOffset,config:i}=t;return{northWestArrowSouthWest:(t,n)=>Ip({top:r(t,n),left:t.left-e,name:"arrow_sw"},i&&{config:i}),northWestArrowSouthMiddleWest:(t,n)=>Ip({top:r(t,n),left:t.left-.25*n.width-e,name:"arrow_smw"},i&&{config:i}),northWestArrowSouth:(t,e)=>Ip({top:r(t,e),left:t.left-e.width/2,name:"arrow_s"},i&&{config:i}),northWestArrowSouthMiddleEast:(t,n)=>Ip({top:r(t,n),left:t.left-.75*n.width+e,name:"arrow_sme"},i&&{config:i}),northWestArrowSouthEast:(t,n)=>Ip({top:r(t,n),left:t.left-n.width+e,name:"arrow_se"},i&&{config:i}),northArrowSouthWest:(t,n)=>Ip({top:r(t,n),left:t.left+t.width/2-e,name:"arrow_sw"},i&&{config:i}),northArrowSouthMiddleWest:(t,n)=>Ip({top:r(t,n),left:t.left+t.width/2-.25*n.width-e,name:"arrow_smw"},i&&{config:i}),northArrowSouth:(t,e)=>Ip({top:r(t,e),left:t.left+t.width/2-e.width/2,name:"arrow_s"},i&&{config:i}),northArrowSouthMiddleEast:(t,n)=>Ip({top:r(t,n),left:t.left+t.width/2-.75*n.width+e,name:"arrow_sme"},i&&{config:i}),northArrowSouthEast:(t,n)=>Ip({top:r(t,n),left:t.left+t.width/2-n.width+e,name:"arrow_se"},i&&{config:i}),northEastArrowSouthWest:(t,n)=>Ip({top:r(t,n),left:t.right-e,name:"arrow_sw"},i&&{config:i}),northEastArrowSouthMiddleWest:(t,n)=>Ip({top:r(t,n),left:t.right-.25*n.width-e,name:"arrow_smw"},i&&{config:i}),northEastArrowSouth:(t,e)=>Ip({top:r(t,e),left:t.right-e.width/2,name:"arrow_s"},i&&{config:i}),northEastArrowSouthMiddleEast:(t,n)=>Ip({top:r(t,n),left:t.right-.75*n.width+e,name:"arrow_sme"},i&&{config:i}),northEastArrowSouthEast:(t,n)=>Ip({top:r(t,n),left:t.right-n.width+e,name:"arrow_se"},i&&{config:i}),southWestArrowNorthWest:t=>Ip({top:s(t),left:t.left-e,name:"arrow_nw"},i&&{config:i}),southWestArrowNorthMiddleWest:(t,n)=>Ip({top:s(t),left:t.left-.25*n.width-e,name:"arrow_nmw"},i&&{config:i}),southWestArrowNorth:(t,e)=>Ip({top:s(t),left:t.left-e.width/2,name:"arrow_n"},i&&{config:i}),southWestArrowNorthMiddleEast:(t,n)=>Ip({top:s(t),left:t.left-.75*n.width+e,name:"arrow_nme"},i&&{config:i}),southWestArrowNorthEast:(t,n)=>Ip({top:s(t),left:t.left-n.width+e,name:"arrow_ne"},i&&{config:i}),southArrowNorthWest:t=>Ip({top:s(t),left:t.left+t.width/2-e,name:"arrow_nw"},i&&{config:i}),southArrowNorthMiddleWest:(t,n)=>Ip({top:s(t),left:t.left+t.width/2-.25*n.width-e,name:"arrow_nmw"},i&&{config:i}),southArrowNorth:(t,e)=>Ip({top:s(t),left:t.left+t.width/2-e.width/2,name:"arrow_n"},i&&{config:i}),southArrowNorthMiddleEast:(t,n)=>Ip({top:s(t),left:t.left+t.width/2-.75*n.width+e,name:"arrow_nme"},i&&{config:i}),southArrowNorthEast:(t,n)=>Ip({top:s(t),left:t.left+t.width/2-n.width+e,name:"arrow_ne"},i&&{config:i}),southEastArrowNorthWest:t=>Ip({top:s(t),left:t.right-e,name:"arrow_nw"},i&&{config:i}),southEastArrowNorthMiddleWest:(t,n)=>Ip({top:s(t),left:t.right-.25*n.width-e,name:"arrow_nmw"},i&&{config:i}),southEastArrowNorth:(t,e)=>Ip({top:s(t),left:t.right-e.width/2,name:"arrow_n"},i&&{config:i}),southEastArrowNorthMiddleEast:(t,n)=>Ip({top:s(t),left:t.right-.75*n.width+e,name:"arrow_nme"},i&&{config:i}),southEastArrowNorthEast:(t,n)=>Ip({top:s(t),left:t.right-n.width+e,name:"arrow_ne"},i&&{config:i}),westArrowEast:(t,e)=>Ip({top:t.top+t.height/2-e.height/2,left:t.left-e.width-n,name:"arrow_e"},i&&{config:i}),eastArrowWest:(t,e)=>Ip({top:t.top+t.height/2-e.height/2,left:t.right+n,name:"arrow_w"},i&&{config:i}),viewportStickyNorth:(t,e,n,r)=>{const s=r||n;return t.getIntersection(s)?s.height-t.height>o?null:{top:s.top+o,left:t.left+t.width/2-e.width/2,name:"arrowless",config:Ip({withArrow:!1},i)}:null}};function r(t,e){return t.top-e.height-n}function s(t){return t.bottom+n}}Np.arrowSideOffset=25,Np.arrowHeightOffset=10,Np.stickyVerticalOffset=20,Np._getOptimalPosition=ni,Np.defaultPositions=Op();var Lp=n(9205),zp={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};br()(Lp.A,zp);Lp.A.locals;const Rp="ck-tooltip",jp=class extends(Bo()){constructor(t){if(super(),this._currentElementWithTooltip=null,this._currentTooltipPosition=null,this._resizeObserver=null,this._mutationObserver=null,jp._editors.add(t),jp._instance)return jp._instance;jp._instance=this,this.tooltipTextView=new dg(t.locale),this.tooltipTextView.set("text",""),this.tooltipTextView.setTemplate({tag:"span",attributes:{class:["ck","ck-tooltip__text"]},children:[{text:this.tooltipTextView.bindTemplate.to("text")}]}),this.balloonPanelView=new Np(t.locale),this.balloonPanelView.class=Rp,this.balloonPanelView.content.add(this.tooltipTextView),this._mutationObserver=function(t){const e=new MutationObserver((()=>{t()}));return{attach(t){e.observe(t,{attributes:!0,attributeFilter:["data-cke-tooltip-text","data-cke-tooltip-position"]})},detach(){e.disconnect()}}}((()=>{this._updateTooltipPosition()})),this._pinTooltipDebounced=$a(this._pinTooltip,600),this._unpinTooltipDebounced=$a(this._unpinTooltip,400),this.listenTo(Lo.document,"keydown",this._onKeyDown.bind(this),{useCapture:!0}),this.listenTo(Lo.document,"mouseenter",this._onEnterOrFocus.bind(this),{useCapture:!0}),this.listenTo(Lo.document,"mouseleave",this._onLeaveOrBlur.bind(this),{useCapture:!0}),this.listenTo(Lo.document,"focus",this._onEnterOrFocus.bind(this),{useCapture:!0}),this.listenTo(Lo.document,"blur",this._onLeaveOrBlur.bind(this),{useCapture:!0}),this.listenTo(Lo.document,"scroll",this._onScroll.bind(this),{useCapture:!0}),this._watchdogExcluded=!0}destroy(t){const e=t.ui.view&&t.ui.view.body;jp._editors.delete(t),this.stopListening(t.ui),e&&e.has(this.balloonPanelView)&&e.remove(this.balloonPanelView),jp._editors.size||(this._unpinTooltip(),this.balloonPanelView.destroy(),this.stopListening(),jp._instance=null)}static getPositioningFunctions(t){const e=jp.defaultBalloonPositions;return{s:[e.southArrowNorth,e.southArrowNorthEast,e.southArrowNorthWest],n:[e.northArrowSouth],e:[e.eastArrowWest],w:[e.westArrowEast],sw:[e.southArrowNorthEast],se:[e.southArrowNorthWest]}[t]}_onKeyDown(t,e){"Escape"===e.key&&this._currentElementWithTooltip&&(this._unpinTooltip(),e.stopPropagation())}_onEnterOrFocus(t,{target:e}){const n=Vp(e);n?n!==this._currentElementWithTooltip&&(this._unpinTooltip(),this._pinTooltipDebounced(n,Hp(n))):"focus"===t.name&&this._unpinTooltip()}_onLeaveOrBlur(t,{target:e,relatedTarget:n}){if("mouseleave"===t.name){if(!xo(e))return;const t=this.balloonPanelView.element,o=t&&(t===n||t.contains(n)),i=!o&&e===t;if(o)return void this._unpinTooltipDebounced.cancel();if(!i&&this._currentElementWithTooltip&&e!==this._currentElementWithTooltip)return;const r=Vp(e),s=Vp(n);(i||r&&r!==s)&&this._unpinTooltipDebounced()}else{if(this._currentElementWithTooltip&&e!==this._currentElementWithTooltip)return;this._unpinTooltipDebounced()}}_onScroll(t,{target:e}){this._currentElementWithTooltip&&(e.contains(this.balloonPanelView.element)&&e.contains(this._currentElementWithTooltip)||this._unpinTooltip())}_pinTooltip(t,{text:e,position:n,cssClass:o}){this._unpinTooltip();const i=Qi(jp._editors.values()).ui.view.body;i.has(this.balloonPanelView)||i.add(this.balloonPanelView),this.tooltipTextView.text=e,this.balloonPanelView.pin({target:t,positions:jp.getPositioningFunctions(n)}),this._resizeObserver=new $o(t,(()=>{ti(t)||this._unpinTooltip()})),this._mutationObserver.attach(t),this.balloonPanelView.class=[Rp,o].filter((t=>t)).join(" ");for(const t of jp._editors)this.listenTo(t.ui,"update",this._updateTooltipPosition.bind(this),{priority:"low"});this._currentElementWithTooltip=t,this._currentTooltipPosition=n}_unpinTooltip(){this._unpinTooltipDebounced.cancel(),this._pinTooltipDebounced.cancel(),this.balloonPanelView.unpin();for(const t of jp._editors)this.stopListening(t.ui,"update");this._currentElementWithTooltip=null,this._currentTooltipPosition=null,this.tooltipTextView.text="",this._resizeObserver&&this._resizeObserver.destroy(),this._mutationObserver.detach()}_updateTooltipPosition(){const t=Hp(this._currentElementWithTooltip);ti(this._currentElementWithTooltip)&&t.text?this.balloonPanelView.pin({target:this._currentElementWithTooltip,positions:jp.getPositioningFunctions(t.position)}):this._unpinTooltip()}};let Fp=jp;function Vp(t){return xo(t)?t.closest("[data-cke-tooltip-text]:not([data-cke-tooltip-disabled])"):null}function Hp(t){return{text:t.dataset.ckeTooltipText,position:t.dataset.ckeTooltipPosition||"s",cssClass:t.dataset.ckeTooltipClass||""}}Fp.defaultBalloonPositions=Op({heightOffset:5,sideOffset:13}),Fp._editors=new Set,Fp._instance=null;const Up=function(t,e,n){var o=!0,i=!0;if("function"!=typeof t)throw new TypeError("Expected a function");return F(n)&&(o="leading"in n?!!n.leading:o,i="trailing"in n?!!n.trailing:i),$a(t,e,{leading:o,maxWait:e,trailing:i})};var qp=Object.defineProperty,Gp=Object.getOwnPropertySymbols,Wp=Object.prototype.hasOwnProperty,Kp=Object.prototype.propertyIsEnumerable,$p=(t,e,n)=>e in t?qp(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Yp=(t,e)=>{for(var n in e||(e={}))Wp.call(e,n)&&$p(t,n,e[n]);if(Gp)for(var n of Gp(e))Kp.call(e,n)&&$p(t,n,e[n]);return t};const Qp=50,Zp=350,Jp="Powered by";class Xp extends(Bo()){constructor(t){super(),this.editor=t,this._balloonView=null,this._lastFocusedEditableElement=null,this._showBalloonThrottled=Up(this._showBalloon.bind(this),50,{leading:!0}),t.on("ready",this._handleEditorReady.bind(this))}destroy(){const t=this._balloonView;t&&(t.unpin(),this._balloonView=null),this._showBalloonThrottled.cancel(),this.stopListening()}_handleEditorReady(){const t=this.editor;(!!t.config.get("ui.poweredBy.forceVisible")||"VALID"!==function(t){function e(t){return t.length>=40&&t.length<=255?"VALID":"INVALID"}if(!t)return"INVALID";let n="";try{n=atob(t)}catch(t){return"INVALID"}const o=n.split("-"),i=o[0],r=o[1];if(!r)return e(t);try{atob(r)}catch(n){try{if(atob(i),!atob(i).length)return e(t)}catch(n){return e(t)}}if(i.length<40||i.length>255)return"INVALID";let s="";try{atob(i),s=atob(r)}catch(t){return"INVALID"}if(8!==s.length)return"INVALID";const a=Number(s.substring(0,4)),c=Number(s.substring(4,6))-1,l=Number(s.substring(6,8)),d=new Date(a,c,l);return d{this._updateLastFocusedEditableElement(),n?this._showBalloon():this._hideBalloon()})),t.ui.focusTracker.on("change:focusedElement",((t,e,n)=>{this._updateLastFocusedEditableElement(),n&&this._showBalloon()})),t.ui.on("update",(()=>{this._showBalloonThrottled()})))}_createBalloonView(){const t=this.editor,e=this._balloonView=new Np,n=nf(t),o=new tf(t.locale,n.label);e.content.add(o),e.set({class:"ck-powered-by-balloon"}),t.ui.view.body.add(e),t.ui.focusTracker.add(e.element),this._balloonView=e}_showBalloon(){if(!this._lastFocusedEditableElement)return;const t=function(t,e){const n=nf(t),o="right"===n.side?function(t,e){return ef(t,e,((t,n)=>t.left+t.width-n.width-e.horizontalOffset))}(e,n):function(t,e){return ef(t,e,(t=>t.left+e.horizontalOffset))}(e,n);return{target:e,positions:[o]}}(this.editor,this._lastFocusedEditableElement);t&&(this._balloonView||this._createBalloonView(),this._balloonView.pin(t))}_hideBalloon(){this._balloonView&&this._balloonView.unpin()}_updateLastFocusedEditableElement(){const t=this.editor,e=t.ui.focusTracker.isFocused,n=t.ui.focusTracker.focusedElement;if(!e||!n)return void(this._lastFocusedEditableElement=null);const o=Array.from(t.ui.getEditableElementsNames()).map((e=>t.ui.getEditableElement(e)));o.includes(n)?this._lastFocusedEditableElement=n:this._lastFocusedEditableElement=o[0]}}class tf extends dg{constructor(t,e){super(t);const n=new yg,o=this.bindTemplate;n.set({content:'\n',isColorInherited:!1}),n.extendTemplate({attributes:{style:{width:"53px",height:"10px"}}}),this.setTemplate({tag:"div",attributes:{class:["ck","ck-powered-by"],"aria-hidden":!0},children:[{tag:"a",attributes:{href:"https://ckeditor.com/?utm_source=ckeditor&utm_medium=referral&utm_campaign=701Dn000000hVgmIAE_powered_by_ckeditor_logo",target:"_blank",tabindex:"-1"},children:[...e?[{tag:"span",attributes:{class:["ck","ck-powered-by__label"]},children:[e]}]:[],n],on:{dragstart:o.to((t=>t.preventDefault()))}}]})}}function ef(t,e,n){return(o,i)=>{const r=new Ho(t);if(r.widthe.regionName===t));i||(i=new lf(this.view.locale),this.view.regionViews.add(i)),i.set({regionName:t,text:e,politeness:n})}}class cf extends dg{constructor(t){super(t),this.regionViews=this.createCollection(),this.setTemplate({tag:"div",attributes:{class:["ck","ck-aria-live-announcer"]},children:this.regionViews})}}class lf extends dg{constructor(t){super(t);const e=this.bindTemplate;this.set("regionName",""),this.set("text",""),this.set("politeness",sf),this.setTemplate({tag:"div",attributes:{role:"region","data-region":e.to("regionName"),"aria-live":e.to("politeness")},children:[{text:e.to("text")}]})}}var df=Object.defineProperty,uf=Object.getOwnPropertySymbols,hf=Object.prototype.hasOwnProperty,gf=Object.prototype.propertyIsEnumerable,mf=(t,e,n)=>e in t?df(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;class pf extends(K()){constructor(t){super(),this.isReady=!1,this._editableElementsMap=new Map,this._focusableToolbarDefinitions=[];const e=t.editing.view;this.editor=t,this.componentFactory=new Xm(t),this.focusTracker=new Zi,this.tooltipManager=new Fp(t),this.poweredBy=new Xp(t),this.ariaLiveAnnouncer=new af(t),this.set("viewportOffset",this._readViewportOffsetFromConfig()),this.once("ready",(()=>{this.isReady=!0})),this.listenTo(e.document,"layoutChanged",this.update.bind(this)),this.listenTo(e,"scrollToTheSelection",this._handleScrollToTheSelection.bind(this)),this._initFocusTracking()}get element(){return null}update(){this.fire("update")}destroy(){this.stopListening(),this.focusTracker.destroy(),this.tooltipManager.destroy(this.editor),this.poweredBy.destroy();for(const t of this._editableElementsMap.values())t.ckeditorInstance=null,this.editor.keystrokes.stopListening(t);this._editableElementsMap=new Map,this._focusableToolbarDefinitions=[]}setEditableElement(t,e){this._editableElementsMap.set(t,e),e.ckeditorInstance||(e.ckeditorInstance=this.editor),this.focusTracker.add(e);const n=()=>{this.editor.editing.view.getDomRoot(t)||this.editor.keystrokes.listenTo(e)};this.isReady?n():this.once("ready",n)}removeEditableElement(t){const e=this._editableElementsMap.get(t);e&&(this._editableElementsMap.delete(t),this.editor.keystrokes.stopListening(e),this.focusTracker.remove(e),e.ckeditorInstance=null)}getEditableElement(t="main"){return this._editableElementsMap.get(t)}getEditableElementsNames(){return this._editableElementsMap.keys()}addToolbar(t,e={}){t.isRendered?(this.focusTracker.add(t.element),this.editor.keystrokes.listenTo(t.element)):t.once("render",(()=>{this.focusTracker.add(t.element),this.editor.keystrokes.listenTo(t.element)})),this._focusableToolbarDefinitions.push({toolbarView:t,options:e})}get _editableElements(){return console.warn("editor-ui-deprecated-editable-elements: The EditorUI#_editableElements property has been deprecated and will be removed in the near future.",{editorUI:this}),this._editableElementsMap}_readViewportOffsetFromConfig(){const t=this.editor,e=t.config.get("ui.viewportOffset");if(e)return e;const n=t.config.get("toolbar.viewportTopOffset");return n?(console.warn("editor-ui-deprecated-viewport-offset-config: The `toolbar.vieportTopOffset` configuration option is deprecated. It will be removed from future CKEditor versions. Use `ui.viewportOffset.top` instead."),{top:n}):{top:0}}_initFocusTracking(){const t=this.editor,e=t.editing.view;let n,o;t.keystrokes.set("Alt+F10",((t,i)=>{const r=this.focusTracker.focusedElement;Array.from(this._editableElementsMap.values()).includes(r)&&!Array.from(e.domRoots.values()).includes(r)&&(n=r);const s=this._getCurrentFocusedToolbarDefinition();s&&o||(o=this._getFocusableCandidateToolbarDefinitions());for(let t=0;t{const i=this._getCurrentFocusedToolbarDefinition();i&&(n?(n.focus(),n=null):t.editing.view.focus(),i.options.afterBlur&&i.options.afterBlur(),o())}))}_getFocusableCandidateToolbarDefinitions(){const t=[];for(const e of this._focusableToolbarDefinitions){const{toolbarView:n,options:o}=e;(ti(n.element)||o.beforeFocus)&&t.push(e)}return t.sort(((t,e)=>ff(t)-ff(e))),t}_getCurrentFocusedToolbarDefinition(){for(const t of this._focusableToolbarDefinitions)if(t.toolbarView.element&&t.toolbarView.element.contains(this.focusTracker.focusedElement))return t;return null}_focusFocusableCandidateToolbar(t){const{toolbarView:e,options:{beforeFocus:n}}=t;return n&&n(),!!ti(e.element)&&(e.focus(),!0)}_handleScrollToTheSelection(t,e){const n=((t,e)=>{for(var n in e||(e={}))hf.call(e,n)&&mf(t,n,e[n]);if(uf)for(var n of uf(e))gf.call(e,n)&&mf(t,n,e[n]);return t})({top:0,bottom:0,left:0,right:0},this.viewportOffset);e.viewportOffset.top+=n.top,e.viewportOffset.bottom+=n.bottom,e.viewportOffset.left+=n.left,e.viewportOffset.right+=n.right}}function ff(t){const{toolbarView:e,options:n}=t;let o=10;return ti(e.element)&&o--,n.isContextual&&o--,o}var kf=n(1185),bf={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};br()(kf.A,bf);kf.A.locals;class wf extends dg{constructor(t){super(t),this.body=new Ag(t)}render(){super.render(),this.body.attachToDom()}destroy(){return this.body.detachFromDom(),super.destroy()}}class Af extends wf{constructor(t){super(t),this.top=this.createCollection(),this.main=this.createCollection(),this._voiceLabelView=this._createVoiceLabel(),this.setTemplate({tag:"div",attributes:{class:["ck","ck-reset","ck-editor","ck-rounded-corners"],role:"application",dir:t.uiLanguageDirection,lang:t.uiLanguage,"aria-labelledby":this._voiceLabelView.id},children:[this._voiceLabelView,{tag:"div",attributes:{class:["ck","ck-editor__top","ck-reset_all"],role:"presentation"},children:this.top},{tag:"div",attributes:{class:["ck","ck-editor__main"],role:"presentation"},children:this.main}]})}_createVoiceLabel(){const t=this.t,e=new gg;return e.text=t("Rich Text Editor"),e.extendTemplate({attributes:{class:"ck-voice-label"}}),e}}class _f extends dg{constructor(t,e,n){super(t),this.name=null,this.setTemplate({tag:"div",attributes:{class:["ck","ck-content","ck-editor__editable","ck-rounded-corners"],lang:t.contentLanguage,dir:t.contentLanguageDirection}}),this.set("isFocused",!1),this._editableElement=n,this._hasExternalElement=!!this._editableElement,this._editingView=e}render(){super.render(),this._hasExternalElement?this.template.apply(this.element=this._editableElement):this._editableElement=this.element,this.on("change:isFocused",(()=>this._updateIsFocusedClasses())),this._updateIsFocusedClasses()}destroy(){this._hasExternalElement&&this.template.revert(this._editableElement),super.destroy()}get hasExternalElement(){return this._hasExternalElement}_updateIsFocusedClasses(){const t=this._editingView;function e(e){t.change((n=>{const o=t.document.getRoot(e.name);n.addClass(e.isFocused?"ck-focused":"ck-blurred",o),n.removeClass(e.isFocused?"ck-blurred":"ck-focused",o)}))}t.isRenderingInProgress?function n(o){t.once("change:isRenderingInProgress",((t,i,r)=>{r?n(o):e(o)}))}(this):e(this)}}class Cf extends _f{constructor(t,e,n,o={}){super(t,e,n);const i=t.t;this.extendTemplate({attributes:{role:"textbox",class:"ck-editor__editable_inline"}}),this._generateLabel=o.label||(()=>i("Editor editing area: %0",this.name))}render(){super.render();const t=this._editingView;t.change((e=>{const n=t.document.getRoot(this.name);e.setAttribute("aria-label",this._generateLabel(this),n)}))}}class vf extends pr{static get pluginName(){return"Notification"}init(){this.on("show:warning",((t,e)=>{window.alert(e.message)}),{priority:"lowest"})}showSuccess(t,e={}){this._showNotification({message:t,type:"success",namespace:e.namespace,title:e.title})}showInfo(t,e={}){this._showNotification({message:t,type:"info",namespace:e.namespace,title:e.title})}showWarning(t,e={}){this._showNotification({message:t,type:"warning",namespace:e.namespace,title:e.title})}_showNotification(t){const e=t.namespace?`show:${t.type}:${t.namespace}`:`show:${t.type}`;this.fire(e,{message:t.message,type:t.type,title:t.title||""})}}class yf extends(K()){constructor(t,e){super(),e&&Ba(this,e),t&&this.set(t)}}var xf=n(991),Ef={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};br()(xf.A,Ef);xf.A.locals;var Df=n(5380),If={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};br()(Df.A,If);Df.A.locals;const Mf=Qo("px");class Tf extends rr{constructor(t){super(t),this._viewToStack=new Map,this._idToStack=new Map,this._view=null,this._rotatorView=null,this._fakePanelsView=null,this.positionLimiter=()=>{const t=this.editor.editing.view,e=t.document.selection.editableElement;return e?t.domConverter.mapViewToDom(e.root):null},this.set("visibleView",null),this.set("_numberOfStacks",0),this.set("_singleViewMode",!1)}static get pluginName(){return"ContextualBalloon"}destroy(){super.destroy(),this._view&&this._view.destroy(),this._rotatorView&&this._rotatorView.destroy(),this._fakePanelsView&&this._fakePanelsView.destroy()}get view(){return this._view||this._createPanelView(),this._view}hasView(t){return Array.from(this._viewToStack.keys()).includes(t)}add(t){if(this._view||this._createPanelView(),this.hasView(t.view))throw new _("contextualballoon-add-view-exist",[this,t]);const e=t.stackId||"main";if(!this._idToStack.has(e))return this._idToStack.set(e,new Map([[t.view,t]])),this._viewToStack.set(t.view,this._idToStack.get(e)),this._numberOfStacks=this._idToStack.size,void(this._visibleStack&&!t.singleViewMode||this.showStack(e));const n=this._idToStack.get(e);t.singleViewMode&&this.showStack(e),n.set(t.view,t),this._viewToStack.set(t.view,n),n===this._visibleStack&&this._showView(t)}remove(t){if(!this.hasView(t))throw new _("contextualballoon-remove-view-not-exist",[this,t]);const e=this._viewToStack.get(t);this._singleViewMode&&this.visibleView===t&&(this._singleViewMode=!1),this.visibleView===t&&(1===e.size?this._idToStack.size>1?this._showNextStack():(this.view.hide(),this.visibleView=null,this._rotatorView.hideView()):this._showView(Array.from(e.values())[e.size-2])),1===e.size?(this._idToStack.delete(this._getStackId(e)),this._numberOfStacks=this._idToStack.size):e.delete(t),this._viewToStack.delete(t)}updatePosition(t){t&&(this._visibleStack.get(this.visibleView).position=t),this.view.pin(this._getBalloonPosition()),this._fakePanelsView.updatePosition()}showStack(t){this.visibleStack=t;const e=this._idToStack.get(t);if(!e)throw new _("contextualballoon-showstack-stack-not-exist",this);this._visibleStack!==e&&this._showView(Array.from(e.values()).pop())}_createPanelView(){this._view=new Np(this.editor.locale),this.editor.ui.view.body.add(this._view),this.editor.ui.focusTracker.add(this._view.element),this._rotatorView=this._createRotatorView(),this._fakePanelsView=this._createFakePanelsView()}get _visibleStack(){return this._viewToStack.get(this.visibleView)}_getStackId(t){return Array.from(this._idToStack.entries()).find((e=>e[1]===t))[0]}_showNextStack(){const t=Array.from(this._idToStack.values());let e=t.indexOf(this._visibleStack)+1;t[e]||(e=0),this.showStack(this._getStackId(t[e]))}_showPrevStack(){const t=Array.from(this._idToStack.values());let e=t.indexOf(this._visibleStack)-1;t[e]||(e=t.length-1),this.showStack(this._getStackId(t[e]))}_createRotatorView(){const t=new Sf(this.editor.locale),e=this.editor.locale.t;return this.view.content.add(t),t.bind("isNavigationVisible").to(this,"_numberOfStacks",this,"_singleViewMode",((t,e)=>!e&&t>1)),t.on("change:isNavigationVisible",(()=>this.updatePosition()),{priority:"low"}),t.bind("counter").to(this,"visibleView",this,"_numberOfStacks",((t,n)=>{if(n<2)return"";const o=Array.from(this._idToStack.values()).indexOf(this._visibleStack)+1;return e("%0 of %1",[o,n])})),t.buttonNextView.on("execute",(()=>{t.focusTracker.isFocused&&this.editor.editing.view.focus(),this._showNextStack()})),t.buttonPrevView.on("execute",(()=>{t.focusTracker.isFocused&&this.editor.editing.view.focus(),this._showPrevStack()})),t}_createFakePanelsView(){const t=new Bf(this.editor.locale,this.view);return t.bind("numberOfPanels").to(this,"_numberOfStacks",this,"_singleViewMode",((t,e)=>!e&&t>=2?Math.min(t-1,2):0)),t.listenTo(this.view,"change:top",(()=>t.updatePosition())),t.listenTo(this.view,"change:left",(()=>t.updatePosition())),this.editor.ui.view.body.add(t),t}_showView({view:t,balloonClassName:e="",withArrow:n=!0,singleViewMode:o=!1}){this.view.class=e,this.view.withArrow=n,this._rotatorView.showView(t),this.visibleView=t,this.view.pin(this._getBalloonPosition()),this._fakePanelsView.updatePosition(),o&&(this._singleViewMode=!0)}_getBalloonPosition(){let t=Array.from(this._visibleStack.values()).pop().position;return t&&(t.limiter||(t=Object.assign({},t,{limiter:this.positionLimiter})),t=Object.assign({},t,{viewportOffsetConfig:this.editor.ui.viewportOffset})),t}}class Sf extends dg{constructor(t){super(t);const e=t.t,n=this.bindTemplate;this.set("isNavigationVisible",!0),this.focusTracker=new Zi,this.buttonPrevView=this._createButtonView(e("Previous"),jh.previousArrow),this.buttonNextView=this._createButtonView(e("Next"),jh.nextArrow),this.content=this.createCollection(),this.setTemplate({tag:"div",attributes:{class:["ck","ck-balloon-rotator"],"z-index":"-1"},children:[{tag:"div",attributes:{class:["ck-balloon-rotator__navigation",n.to("isNavigationVisible",(t=>t?"":"ck-hidden"))]},children:[this.buttonPrevView,{tag:"span",attributes:{class:["ck-balloon-rotator__counter"]},children:[{text:n.to("counter")}]},this.buttonNextView]},{tag:"div",attributes:{class:"ck-balloon-rotator__content"},children:this.content}]})}render(){super.render(),this.focusTracker.add(this.element)}destroy(){super.destroy(),this.focusTracker.destroy()}showView(t){this.hideView(),this.content.add(t)}hideView(){this.content.clear()}_createButtonView(t,e){const n=new Ig(this.locale);return n.set({label:t,icon:e,tooltip:!0}),n}}class Bf extends dg{constructor(t,e){super(t);const n=this.bindTemplate;this.set("top",0),this.set("left",0),this.set("height",0),this.set("width",0),this.set("numberOfPanels",0),this.content=this.createCollection(),this._balloonPanelView=e,this.setTemplate({tag:"div",attributes:{class:["ck-fake-panel",n.to("numberOfPanels",(t=>t?"":"ck-hidden"))],style:{top:n.to("top",Mf),left:n.to("left",Mf),width:n.to("width",Mf),height:n.to("height",Mf)}},children:this.content}),this.on("change:numberOfPanels",((t,e,n,o)=>{n>o?this._addPanels(n-o):this._removePanels(o-n),this.updatePosition()}))}_addPanels(t){for(;t--;){const t=new dg;t.setTemplate({tag:"div"}),this.content.add(t),this.registerChild(t)}}_removePanels(t){for(;t--;){const t=this.content.last;this.content.remove(t),this.deregisterChild(t),t.destroy()}}updatePosition(){if(this.numberOfPanels){const{top:t,left:e}=this._balloonPanelView,{width:n,height:o}=new Ho(this._balloonPanelView.element);Object.assign(this,{top:t,left:e,width:n,height:o})}}}var Nf=n(8298),Pf={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};br()(Nf.A,Pf);Nf.A.locals;const Of=Qo("px");class Lf extends dg{constructor(t){super(t);const e=this.bindTemplate;this.set("isActive",!1),this.set("isSticky",!1),this.set("limiterElement",null),this.set("limiterBottomOffset",50),this.set("viewportTopOffset",0),this.set("_marginLeft",null),this.set("_isStickyToTheBottomOfLimiter",!1),this.set("_stickyTopOffset",null),this.set("_stickyBottomOffset",null),this.content=this.createCollection(),this._contentPanelPlaceholder=new Vh({tag:"div",attributes:{class:["ck","ck-sticky-panel__placeholder"],style:{display:e.to("isSticky",(t=>t?"block":"none")),height:e.to("isSticky",(t=>t?Of(this._contentPanelRect.height):null))}}}).render(),this.contentPanelElement=new Vh({tag:"div",attributes:{class:["ck","ck-sticky-panel__content",e.if("isSticky","ck-sticky-panel__content_sticky"),e.if("_isStickyToTheBottomOfLimiter","ck-sticky-panel__content_sticky_bottom-limit")],style:{width:e.to("isSticky",(t=>t?Of(this._contentPanelPlaceholder.getBoundingClientRect().width):null)),top:e.to("_stickyTopOffset",(t=>t?Of(t):t)),bottom:e.to("_stickyBottomOffset",(t=>t?Of(t):t)),marginLeft:e.to("_marginLeft")}},children:this.content}).render(),this.setTemplate({tag:"div",attributes:{class:["ck","ck-sticky-panel"]},children:[this._contentPanelPlaceholder,this.contentPanelElement]})}render(){super.render(),this.checkIfShouldBeSticky(),this.listenTo(Lo.document,"scroll",(()=>{this.checkIfShouldBeSticky()}),{useCapture:!0}),this.listenTo(this,"change:isActive",(()=>{this.checkIfShouldBeSticky()}))}checkIfShouldBeSticky(){if(!this.limiterElement||!this.isActive)return void this._unstick();const t=new Ho(this.limiterElement);let e=t.getVisible();if(e){const t=new Ho(Lo.window);t.top+=this.viewportTopOffset,t.height-=this.viewportTopOffset,e=e.getIntersection(t)}if(e&&t.tope.bottom){const n=Math.max(t.bottom-e.bottom,0)+this.limiterBottomOffset;t.bottom-n>t.top+this._contentPanelRect.height?this._stickToBottomOfLimiter(n):this._unstick()}else this._contentPanelRect.height+this.limiterBottomOffset{this.reset(),this.focus(),this.fire("reset")})),this.resetButtonView.bind("isVisible").to(this.fieldView,"isEmpty",(t=>!t)),this.fieldWrapperChildren.add(this.resetButtonView),this.extendTemplate({attributes:{class:"ck-search__query_with-reset"}}))}reset(){this.fieldView.reset(),this._viewConfig.showResetButton&&(this.resetButtonView.isVisible=!1)}}class Rf extends dg{constructor(){super();const t=this.bindTemplate;this.set({isVisible:!1,primaryText:"",secondaryText:""}),this.setTemplate({tag:"div",attributes:{class:["ck","ck-search__info",t.if("isVisible","ck-hidden",(t=>!t))],tabindex:-1},children:[{tag:"span",children:[{text:[t.to("primaryText")]}]},{tag:"span",children:[{text:[t.to("secondaryText")]}]}]})}focus(){this.element.focus()}}class jf extends dg{constructor(t){super(t),this.children=this.createCollection(),this.focusTracker=new Zi,this.setTemplate({tag:"div",attributes:{class:["ck","ck-search__results"],tabindex:-1},children:this.children}),this._focusCycler=new nm({focusables:this.children,focusTracker:this.focusTracker})}render(){super.render();for(const t of this.children)this.focusTracker.add(t.element)}focus(){this._focusCycler.focusFirst()}focusFirst(){this._focusCycler.focusFirst()}focusLast(){this._focusCycler.focusLast()}}var Ff=/[\\^$.*+?()[\]{}|]/g,Vf=RegExp(Ff.source);const Hf=function(t){return(t=Xr(t))&&Vf.test(t)?t.replace(Ff,"\\$&"):t};var Uf=n(8107),qf={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};br()(Uf.A,qf);Uf.A.locals;var Gf=Object.defineProperty,Wf=Object.getOwnPropertySymbols,Kf=Object.prototype.hasOwnProperty,$f=Object.prototype.propertyIsEnumerable,Yf=(t,e,n)=>e in t?Gf(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;class Qf extends dg{constructor(t,e){super(t),this._config=e,this.filteredView=e.filteredView,this.queryView=this._createSearchTextQueryView(),this.focusTracker=new Zi,this.keystrokes=new Ji,this.resultsView=new jf(t),this.children=this.createCollection(),this.focusableChildren=this.createCollection([this.queryView,this.resultsView]),this.set("isEnabled",!0),this.set("resultsCount",0),this.set("totalItemsCount",0),e.infoView&&e.infoView.instance?this.infoView=e.infoView.instance:(this.infoView=new Rf,this._enableDefaultInfoViewBehavior(),this.on("render",(()=>{this.search("")}))),this.resultsView.children.addMany([this.infoView,this.filteredView]),this.focusCycler=new nm({focusables:this.focusableChildren,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}}),this.on("search",((t,{resultsCount:e,totalItemsCount:n})=>{this.resultsCount=e,this.totalItemsCount=n})),this.setTemplate({tag:"div",attributes:{class:["ck","ck-search",e.class||null],tabindex:"-1"},children:this.children})}render(){super.render(),this.children.addMany([this.queryView,this.resultsView]);const t=t=>t.stopPropagation();for(const t of this.focusableChildren)this.focusTracker.add(t.element);this.keystrokes.listenTo(this.element),this.keystrokes.set("arrowright",t),this.keystrokes.set("arrowleft",t),this.keystrokes.set("arrowup",t),this.keystrokes.set("arrowdown",t)}focus(){this.queryView.focus()}reset(){this.queryView.reset(),this.search("")}search(t){const e=t?new RegExp(Hf(t),"ig"):null,n=this.filteredView.filter(e);this.fire("search",((t,e)=>{for(var n in e||(e={}))Kf.call(e,n)&&Yf(t,n,e[n]);if(Wf)for(var n of Wf(e))$f.call(e,n)&&Yf(t,n,e[n]);return t})({query:t},n))}_createSearchTextQueryView(){const t=new zf(this.locale,this._config.queryView);return this.listenTo(t.fieldView,"input",(()=>{this.search(t.fieldView.element.value)})),t.on("reset",(()=>this.reset())),t.bind("isEnabled").to(this),t}_enableDefaultInfoViewBehavior(){const t=this.locale.t,e=this.infoView;function n(t,{query:e,resultsCount:n,totalItemsCount:o}){return"function"==typeof t?t(e,n,o):t}this.on("search",((o,i)=>{if(i.resultsCount)e.set({isVisible:!1});else{const o=this._config.infoView&&this._config.infoView.text;let r,s;i.totalItemsCount?o&&o.notFound?(r=o.notFound.primary,s=o.notFound.secondary):(r=t("No results found"),s=""):o&&o.noSearchableItems?(r=o.noSearchableItems.primary,s=o.noSearchableItems.secondary):(r=t("No searchable items"),s=""),e.set({primaryText:n(r,i),secondaryText:n(s,i),isVisible:!0})}}))}}var Zf=n(5727),Jf={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};br()(Zf.A,Jf);Zf.A.locals;const Xf=class extends Qf{constructor(t,e){super(t,e),this._config=e;const n=Qo("px");this.extendTemplate({attributes:{class:["ck-autocomplete"]}});const o=this.resultsView.bindTemplate;this.resultsView.set("isVisible",!1),this.resultsView.set("_position","s"),this.resultsView.set("_width",0),this.resultsView.extendTemplate({attributes:{class:[o.if("isVisible","ck-hidden",(t=>!t)),o.to("_position",(t=>`ck-search__results_${t}`))],style:{width:o.to("_width",n)}}}),this.focusTracker.on("change:isFocused",((t,n,o)=>{this._updateResultsVisibility(),o?this.resultsView.element.scrollTop=0:e.resetOnBlur&&this.queryView.reset()})),this.on("search",(()=>{this._updateResultsVisibility(),this._updateResultsViewWidthAndPosition()})),this.keystrokes.set("esc",((t,e)=>{this.resultsView.isVisible&&(this.queryView.focus(),this.resultsView.isVisible=!1,e())})),this.listenTo(Lo.document,"scroll",(()=>{this._updateResultsViewWidthAndPosition()})),this.on("change:isEnabled",(()=>{this._updateResultsVisibility()})),this.filteredView.on("execute",((t,{value:e})=>{this.focus(),this.reset(),this.queryView.fieldView.value=this.queryView.fieldView.element.value=e,this.resultsView.isVisible=!1})),this.resultsView.on("change:isVisible",(()=>{this._updateResultsViewWidthAndPosition()}))}_updateResultsViewWidthAndPosition(){if(!this.resultsView.isVisible)return;this.resultsView._width=new Ho(this.queryView.fieldView.element).width;const t=Xf._getOptimalPosition({element:this.resultsView.element,target:this.queryView.element,fitInViewport:!0,positions:Xf.defaultResultsPositions});this.resultsView._position=t?t.name:"s"}_updateResultsVisibility(){const t=void 0===this._config.queryMinChars?0:this._config.queryMinChars,e=this.queryView.fieldView.element.value.length;this.resultsView.isVisible=this.focusTracker.isFocused&&this.isEnabled&&e>=t}};let tk=Xf;tk.defaultResultsPositions=[t=>({top:t.bottom,left:t.left,name:"s"}),(t,e)=>({top:t.top-e.height,left:t.left,name:"n"})],tk._getOptimalPosition=ni;ek={"&":"&","<":"<",">":">",'"':""","'":"'"};var ek;var nk=/[&<>"']/g;RegExp(nk.source);var ok=n(9529),ik={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};br()(ok.A,ik);ok.A.locals;var rk=n(109),sk={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};br()(rk.A,sk);rk.A.locals;Qo("px");var ak=n(2710),ck={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};br()(ak.A,ck);ak.A.locals,Qo("px");Qo("px");var lk=n(3344),dk={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};br()(lk.A,dk);lk.A.locals;class uk extends Ig{constructor(t){super(t);const e=this.bindTemplate;this.set({withText:!0,role:"menuitem"}),this.arrowView=this._createArrowView(),this.extendTemplate({attributes:{class:["ck-menu-bar__menu__button"],"aria-haspopup":!0,"aria-expanded":this.bindTemplate.to("isOn",(t=>String(t))),"data-cke-tooltip-disabled":e.to("isOn")},on:{mouseenter:e.to("mouseenter")}})}render(){super.render(),this.children.add(this.arrowView)}_createArrowView(){const t=new yg;return t.content=Pg,t.extendTemplate({attributes:{class:"ck-menu-bar__menu__button__arrow"}}),t}}var hk=n(9481),gk={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};br()(hk.A,gk);hk.A.locals;class mk extends Cm{constructor(t,e){super(t);const n=this.bindTemplate;this.extendTemplate({attributes:{class:["ck-menu-bar__menu__item"]},on:{mouseenter:n.to("mouseenter")}}),this.delegate("mouseenter").to(e)}}var pk=Object.defineProperty,fk=Object.getOwnPropertySymbols,kk=Object.prototype.hasOwnProperty,bk=Object.prototype.propertyIsEnumerable,wk=(t,e,n)=>e in t?pk(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Ak=(t,e)=>{for(var n in e||(e={}))kk.call(e,n)&&wk(t,n,e[n]);if(fk)for(var n of fk(e))bk.call(e,n)&&wk(t,n,e[n]);return t};const _k={toggleMenusAndFocusItemsOnHover(t){t.on("menu:mouseenter",(e=>{if(t.isOpen){for(const n of t.menus){const t=e.path[0],o=t instanceof mk&&t.children.first===n;n.isOpen=(e.path.includes(n)||o)&&n.isEnabled}e.source.focus()}}))},focusCycleMenusOnArrows(t){const e="rtl"===t.locale.uiLanguageDirection;function n(e,n){const o=t.children.getIndex(e),i=e.isOpen,r=t.children.length,s=t.children.get((o+r+n)%r);e.isOpen=!1,i&&(s.isOpen=!0),s.buttonView.focus()}t.on("menu:arrowright",(t=>{n(t.source,e?-1:1)})),t.on("menu:arrowleft",(t=>{n(t.source,e?1:-1)}))},closeMenusWhenTheBarCloses(t){t.on("change:isOpen",(()=>{t.isOpen||t.menus.forEach((t=>{t.isOpen=!1}))}))},closeMenuWhenAnotherOnTheSameLevelOpens(t){t.on("menu:change:isOpen",((e,n,o)=>{o&&t.menus.filter((t=>e.source.parentMenuView===t.parentMenuView&&e.source!==t&&t.isOpen)).forEach((t=>{t.isOpen=!1}))}))},closeOnClickOutside(e){t({emitter:e,activator:()=>e.isOpen,callback:()=>e.close(),contextElements:()=>e.children.map((t=>t.element))})}},Ck={openAndFocusPanelOnArrowDownKey(t){t.keystrokes.set("arrowdown",((e,n)=>{t.focusTracker.focusedElement===t.buttonView.element&&(t.isOpen||(t.isOpen=!0),t.panelView.focus(),n())}))},openOnArrowRightKey(t){const e="rtl"===t.locale.uiLanguageDirection?"arrowleft":"arrowright";t.keystrokes.set(e,((e,n)=>{t.focusTracker.focusedElement===t.buttonView.element&&t.isEnabled&&(t.isOpen||(t.isOpen=!0),t.panelView.focus(),n())}))},openOnButtonClick(t){t.buttonView.on("execute",(()=>{t.isOpen=!0,t.panelView.focus()}))},toggleOnButtonClick(t){t.buttonView.on("execute",(()=>{t.isOpen=!t.isOpen,t.isOpen&&t.panelView.focus()}))},closeOnArrowLeftKey(t){const e="rtl"===t.locale.uiLanguageDirection?"arrowright":"arrowleft";t.keystrokes.set(e,((e,n)=>{t.isOpen&&(t.isOpen=!1,t.focus(),n())}))},closeOnEscKey(t){t.keystrokes.set("esc",((e,n)=>{t.isOpen&&(t.isOpen=!1,t.focus(),n())}))},closeOnParentClose(t){t.parentMenuView.on("change:isOpen",((e,n,o)=>{o||e.source!==t.parentMenuView||(t.isOpen=!1)}))}},vk={southEast:t=>({top:t.bottom,left:t.left,name:"se"}),southWest:(t,e)=>({top:t.bottom,left:t.left-e.width+t.width,name:"sw"}),northEast:(t,e)=>({top:t.top-e.height,left:t.left,name:"ne"}),northWest:(t,e)=>({top:t.top-e.height,left:t.left-e.width+t.width,name:"nw"}),eastSouth:t=>({top:t.top,left:t.right-5,name:"es"}),eastNorth:(t,e)=>({top:t.top-e.height,left:t.right-5,name:"en"}),westSouth:(t,e)=>({top:t.top,left:t.left-e.width+5,name:"ws"}),westNorth:(t,e)=>({top:t.top-e.height,left:t.left-e.width+5,name:"wn"})},yk=[{menuId:"file",label:"File",groups:[{groupId:"export",items:["menuBar:exportPdf","menuBar:exportWord"]},{groupId:"import",items:["menuBar:importWord"]},{groupId:"revisionHistory",items:["menuBar:revisionHistory"]}]},{menuId:"edit",label:"Edit",groups:[{groupId:"undo",items:["menuBar:undo","menuBar:redo"]},{groupId:"selectAll",items:["menuBar:selectAll"]},{groupId:"findAndReplace",items:["menuBar:findAndReplace"]}]},{menuId:"view",label:"View",groups:[{groupId:"sourceEditing",items:["menuBar:sourceEditing"]},{groupId:"showBlocks",items:["menuBar:showBlocks"]},{groupId:"restrictedEditingException",items:["menuBar:restrictedEditingException"]}]},{menuId:"insert",label:"Insert",groups:[{groupId:"insertMainWidgets",items:["menuBar:uploadImage","menuBar:ckbox","menuBar:ckfinder","menuBar:insertTable"]},{groupId:"insertInline",items:["menuBar:link","menuBar:comment"]},{groupId:"insertMinorWidgets",items:["menuBar:insertTemplate","menuBar:blockQuote","menuBar:codeBlock","menuBar:htmlEmbed"]},{groupId:"insertStructureWidgets",items:["menuBar:horizontalLine","menuBar:pageBreak","menuBar:tableOfContents"]},{groupId:"restrictedEditing",items:["menuBar:restrictedEditing"]}]},{menuId:"format",label:"Format",groups:[{groupId:"textAndFont",items:[{menuId:"text",label:"Text",groups:[{groupId:"basicStyles",items:["menuBar:bold","menuBar:italic","menuBar:underline","menuBar:strikethrough","menuBar:superscript","menuBar:subscript","menuBar:code"]},{groupId:"textPartLanguage",items:["menuBar:textPartLanguage"]}]},{menuId:"font",label:"Font",groups:[{groupId:"fontProperties",items:["menuBar:fontSize","menuBar:fontFamily"]},{groupId:"fontColors",items:["menuBar:fontColor","menuBar:fontBackgroundColor"]},{groupId:"highlight",items:["menuBar:highlight"]}]},"menuBar:heading"]},{groupId:"list",items:["menuBar:bulletedList","menuBar:numberedList","menuBar:todoList"]},{groupId:"indent",items:["menuBar:alignment","menuBar:indent","menuBar:outdent"]},{groupId:"caseChange",items:["menuBar:caseChange"]},{groupId:"removeFormat",items:["menuBar:removeFormat"]}]},{menuId:"tools",label:"Tools",groups:[{groupId:"aiTools",items:["menuBar:aiAssistant","menuBar:aiCommands"]},{groupId:"tools",items:["menuBar:trackChanges","menuBar:commentsArchive"]}]},{menuId:"help",label:"Help",groups:[{groupId:"help",items:["menuBar:accessibilityHelp"]}]}];function xk({normalizedConfig:t,locale:e,componentFactory:n}){const o=Dc(t);return function(t,e){const n=e.removeItems,o=[];e.items=e.items.filter((({menuId:t})=>!n.includes(t)||(o.push(t),!1))),Mk(e.items,(t=>{t.groups=t.groups.filter((({groupId:t})=>!n.includes(t)||(o.push(t),!1)));for(const e of t.groups)e.items=e.items.filter((t=>{const e=Pk(t);return!n.includes(e)||(o.push(e),!1)}))}));for(const e of n)o.includes(e)||C("menu-bar-item-could-not-be-removed",{menuBarConfig:t,itemName:e})}(t,o),function(t,e){const n=e.addItems,o=[];for(const t of n){const n=Bk(t.position),i=Nk(t.position);if(Tk(t))if(i){const r=e.items.findIndex((t=>t.menuId===i));if(-1!=r)"before"===n?(e.items.splice(r,0,t.menu),o.push(t)):"after"===n&&(e.items.splice(r+1,0,t.menu),o.push(t));else{Ek(e,t.menu,i,n)&&o.push(t)}}else"start"===n?(e.items.unshift(t.menu),o.push(t)):"end"===n&&(e.items.push(t.menu),o.push(t));else if(Sk(t))Mk(e.items,(e=>{if(e.menuId===i)"start"===n?(e.groups.unshift(t.group),o.push(t)):"end"===n&&(e.groups.push(t.group),o.push(t));else{const r=e.groups.findIndex((t=>t.groupId===i));-1!==r&&("before"===n?(e.groups.splice(r,0,t.group),o.push(t)):"after"===n&&(e.groups.splice(r+1,0,t.group),o.push(t)))}}));else{Ek(e,t.item,i,n)&&o.push(t)}}for(const e of n)o.includes(e)||C("menu-bar-item-could-not-be-added",{menuBarConfig:t,addedItemConfig:e})}(t,o),function(t,e,n){Mk(e.items,(o=>{for(const i of o.groups)i.items=i.items.filter((i=>{const r="string"==typeof i&&!n.has(i);return r&&!e.isUsingDefaultConfig&&C("menu-bar-item-unavailable",{menuBarConfig:t,parentMenuConfig:Dc(o),componentName:i}),!r}))}))}(t,o,n),Dk(t,o),function(t,e){const n=e.t,o={File:n({string:"File",id:"MENU_BAR_MENU_FILE"}),Edit:n({string:"Edit",id:"MENU_BAR_MENU_EDIT"}),View:n({string:"View",id:"MENU_BAR_MENU_VIEW"}),Insert:n({string:"Insert",id:"MENU_BAR_MENU_INSERT"}),Format:n({string:"Format",id:"MENU_BAR_MENU_FORMAT"}),Tools:n({string:"Tools",id:"MENU_BAR_MENU_TOOLS"}),Help:n({string:"Help",id:"MENU_BAR_MENU_HELP"}),Text:n({string:"Text",id:"MENU_BAR_MENU_TEXT"}),Font:n({string:"Font",id:"MENU_BAR_MENU_FONT"})};Mk(t.items,(t=>{t.label in o&&(t.label=o[t.label])}))}(o,e),o}function Ek(t,e,n,o){let i=!1;return Mk(t.items,(t=>{for(const{groupId:r,items:s}of t.groups){if(i)return;if(r===n)"start"===o?(s.unshift(e),i=!0):"end"===o&&(s.push(e),i=!0);else{const t=s.findIndex((t=>Pk(t)===n));-1!==t&&("before"===o?(s.splice(t,0,e),i=!0):"after"===o&&(s.splice(t+1,0,e),i=!0))}}})),i}function Dk(t,e){const n=e.isUsingDefaultConfig;let o=!1;e.items=e.items.filter((e=>!!e.groups.length||(Ik(t,e,n),!1))),e.items.length?(Mk(e.items,(e=>{e.groups=e.groups.filter((t=>!!t.items.length||(o=!0,!1)));for(const i of e.groups)i.items=i.items.filter((e=>!(Ok(e)&&!e.groups.length)||(Ik(t,e,n),o=!0,!1)))})),o&&Dk(t,e)):Ik(t,t,n)}function Ik(t,e,n){n||C("menu-bar-menu-empty",{menuBarConfig:t,emptyMenuConfig:e})}function Mk(t,e){if(Array.isArray(t))for(const e of t)n(e);function n(t){e(t);for(const e of t.groups)for(const t of e.items)Ok(t)&&n(t)}}function Tk(t){return"object"==typeof t&&"menu"in t}function Sk(t){return"object"==typeof t&&"group"in t}function Bk(t){return t.startsWith("start")?"start":t.startsWith("end")?"end":t.startsWith("after")?"after":"before"}function Nk(t){const e=t.match(/^[^:]+:(.+)/);return e?e[1]:null}function Pk(t){return"string"==typeof t?t:t.menuId}function Ok(t){return"object"==typeof t&&"menuId"in t}var Lk=n(9108),zk={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};br()(Lk.A,zk);Lk.A.locals;class Rk extends dg{constructor(t){super(t);const e=this.bindTemplate;this.set("isVisible",!1),this.set("position","se"),this.children=this.createCollection(),this.setTemplate({tag:"div",attributes:{class:["ck","ck-reset","ck-menu-bar__menu__panel",e.to("position",(t=>`ck-menu-bar__menu__panel_position_${t}`)),e.if("isVisible","ck-hidden",(t=>!t))],tabindex:"-1"},children:this.children,on:{selectstart:e.to((t=>{"input"!==t.target.tagName.toLocaleLowerCase()&&t.preventDefault()}))}})}focus(t=1){this.children.length&&(1===t?this.children.first.focus():this.children.last.focus())}}var jk=n(4),Fk={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};br()(jk.A,Fk);jk.A.locals;const Vk=class extends dg{constructor(t){super(t);const e=this.bindTemplate;this.buttonView=new uk(t),this.buttonView.delegate("mouseenter").to(this),this.buttonView.bind("isOn","isEnabled").to(this,"isOpen","isEnabled"),this.panelView=new Rk(t),this.panelView.bind("isVisible").to(this,"isOpen"),this.keystrokes=new Ji,this.focusTracker=new Zi,this.set("isOpen",!1),this.set("isEnabled",!0),this.set("panelPosition","w"),this.set("class",void 0),this.set("parentMenuView",null),this.setTemplate({tag:"div",attributes:{class:["ck","ck-menu-bar__menu",e.to("class"),e.if("isEnabled","ck-disabled",(t=>!t)),e.if("parentMenuView","ck-menu-bar__menu_top-level",(t=>!t))]},children:[this.buttonView,this.panelView]})}render(){super.render(),this.focusTracker.add(this.buttonView.element),this.focusTracker.add(this.panelView.element),this.keystrokes.listenTo(this.element),Ck.closeOnEscKey(this),this._repositionPanelOnOpen()}_attachBehaviors(){this.parentMenuView?(Ck.openOnButtonClick(this),Ck.openOnArrowRightKey(this),Ck.closeOnArrowLeftKey(this),Ck.closeOnParentClose(this)):(this._propagateArrowKeystrokeEvents(),Ck.openAndFocusPanelOnArrowDownKey(this),Ck.toggleOnButtonClick(this))}_propagateArrowKeystrokeEvents(){this.keystrokes.set("arrowright",((t,e)=>{this.fire("arrowright"),e()})),this.keystrokes.set("arrowleft",((t,e)=>{this.fire("arrowleft"),e()}))}_repositionPanelOnOpen(){this.on("change:isOpen",((t,e,n)=>{if(!n)return;const o=Vk._getOptimalPosition({element:this.panelView.element,target:this.buttonView.element,fitInViewport:!0,positions:this._panelPositions});this.panelView.position=o?o.name:this._panelPositions[0].name}))}focus(){this.buttonView.focus()}get _panelPositions(){const{southEast:t,southWest:e,northEast:n,northWest:o,westSouth:i,eastSouth:r,westNorth:s,eastNorth:a}=vk;return"ltr"===this.locale.uiLanguageDirection?this.parentMenuView?[r,a,i,s]:[t,e,n,o]:this.parentMenuView?[i,s,r,a]:[e,t,o,n]}};let Hk=Vk;Hk._getOptimalPosition=ni;class Uk extends Dm{constructor(t){super(t),this.role="menu"}}var qk=n(977),Gk={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};br()(qk.A,Gk);qk.A.locals;class Wk extends Ig{constructor(t){super(t),this.set({withText:!0,withKeystroke:!0,tooltip:!1,role:"menuitem"}),this.extendTemplate({attributes:{class:["ck-menu-bar__menu__item__button"]}})}}class Kk extends Bg{constructor(t){super(t),this.set({withText:!0,withKeystroke:!0,tooltip:!1,role:"menuitem"}),this.extendTemplate({attributes:{class:["ck-menu-bar__menu__item__button"]}})}}var $k=n(497),Yk={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};br()($k.A,Yk);$k.A.locals;const Qk=["mouseenter","arrowleft","arrowright","change:isOpen"];class Zk extends dg{constructor(t){super(t),this.menus=[];const e=t.t;this.set("isOpen",!1),this._setupIsOpenUpdater(),this.children=this.createCollection(),this.setTemplate({tag:"div",attributes:{class:["ck","ck-menu-bar"],"aria-label":e("Editor menu bar"),role:"menubar"},children:this.children})}fillFromConfig(t,e){const n=xk({normalizedConfig:t,locale:this.locale,componentFactory:e}).items.map((t=>this._createMenu({componentFactory:e,menuDefinition:t})));this.children.addMany(n)}render(){super.render(),_k.toggleMenusAndFocusItemsOnHover(this),_k.closeMenusWhenTheBarCloses(this),_k.closeMenuWhenAnotherOnTheSameLevelOpens(this),_k.focusCycleMenusOnArrows(this),_k.closeOnClickOutside(this)}focus(){this.children.first&&this.children.first.focus()}close(){for(const t of this.children)t.isOpen=!1}registerMenu(t,e=null){e?(t.delegate(...Qk).to(e),t.parentMenuView=e):t.delegate(...Qk).to(this,(t=>"menu:"+t)),t._attachBehaviors(),this.menus.push(t)}_createMenu({componentFactory:t,menuDefinition:e,parentMenuView:n}){const o=this.locale,i=new Hk(o);return this.registerMenu(i,n),i.buttonView.set({label:e.label}),i.once("change:isOpen",(()=>{const n=new Uk(o);n.ariaLabel=e.label,i.panelView.children.add(n),n.items.addMany(this._createMenuItems({menuDefinition:e,parentMenuView:i,componentFactory:t}))})),i}_createMenuItems({menuDefinition:t,parentMenuView:e,componentFactory:n}){const o=this.locale,i=[];for(const r of t.groups){for(const t of r.items){const r=new mk(o,e);if(F(t))r.children.add(this._createMenu({componentFactory:n,menuDefinition:t,parentMenuView:e}));else{const o=this._createMenuItemContentFromFactory({componentName:t,componentFactory:n,parentMenuView:e});if(!o)continue;r.children.add(o)}i.push(r)}r!==t.groups[t.groups.length-1]&&i.push(new vm(o))}return i}_createMenuItemContentFromFactory({componentName:t,parentMenuView:e,componentFactory:n}){const o=n.create(t);return o instanceof Hk||o instanceof Wk||o instanceof Kk?(this._registerMenuTree(o,e),o.on("execute",(()=>{this.close()})),o):(C("menu-bar-component-unsupported",{componentName:t,componentView:o}),null)}_registerMenuTree(t,e){if(!(t instanceof Hk))return void t.delegate("mouseenter").to(e);this.registerMenu(t,e);const n=t.panelView.children.filter((t=>t instanceof Uk))[0];if(!n)return void t.delegate("mouseenter").to(e);const o=n.items.filter((t=>t instanceof Cm));for(const e of o)this._registerMenuTree(e.children.get(0),t)}_setupIsOpenUpdater(){let t;this.on("menu:change:isOpen",((e,n,o)=>{clearTimeout(t),o?this.isOpen=!0:t=setTimeout((()=>{this.isOpen=Array.from(this.children).some((t=>t.isOpen))}),0)}))}}class Jk extends pf{constructor(t,e){super(t),this.view=e,this._toolbarConfig=gm(t.config.get("toolbar")),this._menuBarConfig=function(t){let e;return e="items"in t&&t.items?Ak({items:t.items,removeItems:[],addItems:[],isVisible:!0,isUsingDefaultConfig:!1},t):Ak({items:Dc(yk),addItems:[],removeItems:[],isVisible:!0,isUsingDefaultConfig:!0},t),e}(t.config.get("menuBar")||{}),this._elementReplacer=new X,this.listenTo(t.editing.view,"scrollToTheSelection",this._handleScrollToTheSelectionWithStickyPanel.bind(this))}get element(){return this.view.element}init(t){const e=this.editor,n=this.view,o=e.editing.view,i=n.editable,r=o.document.getRoot();i.name=r.rootName,n.render();const s=i.element;this.setEditableElement(i.name,s),n.editable.bind("isFocused").to(this.focusTracker),o.attachDomRoot(s),t&&this._elementReplacer.replace(t,this.element),this._initPlaceholder(),this._initToolbar(),this._initMenuBar(),this._initDialogPluginIntegration(),this.fire("ready")}destroy(){super.destroy();const t=this.view,e=this.editor.editing.view;this._elementReplacer.restore(),e.detachDomRoot(t.editable.name),t.destroy()}_initToolbar(){const t=this.view;t.stickyPanel.bind("isActive").to(this.focusTracker,"isFocused"),t.stickyPanel.limiterElement=t.element,t.stickyPanel.bind("viewportTopOffset").to(this,"viewportOffset",(({top:t})=>t||0)),t.toolbar.fillFromConfig(this._toolbarConfig,this.componentFactory),this.addToolbar(t.toolbar)}_initMenuBar(){const t=this.view;t.menuBarView&&(this._setupMenuBarBehaviors(t.menuBarView.element),t.menuBarView.fillFromConfig(this._menuBarConfig,this.componentFactory))}_initPlaceholder(){const t=this.editor,e=t.editing.view,n=e.document.getRoot(),o=t.sourceElement;let i;const r=t.config.get("placeholder");r&&(i="string"==typeof r?r:r[this.view.editable.name]),!i&&o&&"textarea"===o.tagName.toLowerCase()&&(i=o.getAttribute("placeholder")),i&&(n.placeholder=i),vr({view:e,element:n,isDirectHost:!1,keepOnFocus:!0})}_handleScrollToTheSelectionWithStickyPanel(t,e,n){const o=this.view.stickyPanel;if(o.isSticky){const t=new Ho(o.element).height;e.viewportOffset.top+=t}else{const t=()=>{this.editor.editing.view.scrollToTheSelection(n)};this.listenTo(o,"change:isSticky",t),setTimeout((()=>{this.stopListening(o,"change:isSticky",t)}),20)}}_initDialogPluginIntegration(){if(!this.editor.plugins.has("Dialog"))return;const t=this.view.stickyPanel,e=this.editor.plugins.get("Dialog");e.on("show",(()=>{const n=e.view;n.on("moveTo",((e,o)=>{if(!t.isSticky||n.wasMoved)return;const i=new Ho(t.contentPanelElement);o[1]{t.contains(this.focusTracker.focusedElement)&&(e.editing.view.focus(),o())})),e.keystrokes.set("Alt+F9",((e,n)=>{t.contains(this.focusTracker.focusedElement)||(this.view.menuBarView.focus(),n())}))}}var Xk=n(7388),tb={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};br()(Xk.A,tb);Xk.A.locals;class eb extends Af{constructor(t,e,n={}){super(t),this.stickyPanel=new Lf(t),this.toolbar=new bm(t,{shouldGroupWhenFull:n.shouldToolbarGroupWhenFull}),n.useMenuBar&&(this.menuBarView=new Zk(t)),this.editable=new Cf(t,e)}render(){super.render(),this.menuBarView?this.stickyPanel.content.addMany([this.menuBarView,this.toolbar]):this.stickyPanel.content.add(this.toolbar),this.top.add(this.stickyPanel),this.main.add(this.editable)}}class nb{constructor(t){if(this.crashes=[],this.state="initializing",this._now=Date.now,this.crashes=[],this._crashNumberLimit="number"==typeof t.crashNumberLimit?t.crashNumberLimit:3,this._minimumNonErrorTimePeriod="number"==typeof t.minimumNonErrorTimePeriod?t.minimumNonErrorTimePeriod:5e3,this._boundErrorHandler=t=>{const e="error"in t?t.error:t.reason;e instanceof Error&&this._handleError(e,t)},this._listeners={},!this._restart)throw new Error("The Watchdog class was split into the abstract `Watchdog` class and the `EditorWatchdog` class. Please, use `EditorWatchdog` if you have used the `Watchdog` class previously.")}destroy(){this._stopErrorHandling(),this._listeners={}}on(t,e){this._listeners[t]||(this._listeners[t]=[]),this._listeners[t].push(e)}off(t,e){this._listeners[t]=this._listeners[t].filter((t=>t!==e))}_fire(t,...e){const n=this._listeners[t]||[];for(const t of n)t.apply(this,[null,...e])}_startErrorHandling(){window.addEventListener("error",this._boundErrorHandler),window.addEventListener("unhandledrejection",this._boundErrorHandler)}_stopErrorHandling(){window.removeEventListener("error",this._boundErrorHandler),window.removeEventListener("unhandledrejection",this._boundErrorHandler)}_handleError(t,e){if(this._shouldReactToError(t)){this.crashes.push({message:t.message,stack:t.stack,filename:e instanceof ErrorEvent?e.filename:void 0,lineno:e instanceof ErrorEvent?e.lineno:void 0,colno:e instanceof ErrorEvent?e.colno:void 0,date:this._now()});const n=this._shouldRestart();this.state="crashed",this._fire("stateChange"),this._fire("error",{error:t,causesRestart:n}),n?this._restart():(this.state="crashedPermanently",this._fire("stateChange"))}}_shouldReactToError(t){return t.is&&t.is("CKEditorError")&&void 0!==t.context&&null!==t.context&&"ready"===this.state&&this._isErrorComingFromThisItem(t)}_shouldRestart(){if(this.crashes.length<=this._crashNumberLimit)return!0;return(this.crashes[this.crashes.length-1].date-this.crashes[this.crashes.length-1-this._crashNumberLimit].date)/this._crashNumberLimit>this._minimumNonErrorTimePeriod}}function ob(t,e=new Set){const n=[t],o=new Set;let i=0;for(;n.length>i;){const t=n[i++];if(!o.has(t)&&ib(t)&&!e.has(t))if(o.add(t),Symbol.iterator in t)try{for(const e of t)n.push(e)}catch(t){}else for(const e in t)"defaultValue"!==e&&n.push(t[e])}return o}function ib(t){const e=Object.prototype.toString.call(t),n=typeof t;return!("number"===n||"boolean"===n||"string"===n||"symbol"===n||"function"===n||"[object Date]"===e||"[object RegExp]"===e||"[object Module]"===e||null==t||t._watchdogExcluded||t instanceof EventTarget||t instanceof Event)}function rb(t,e,n=new Set){if(t===e&&("object"==typeof(o=t)&&null!==o))return!0;var o;const i=ob(t,n),r=ob(e,n);for(const t of i)if(r.has(t))return!0;return!1}var sb=Object.defineProperty,ab=Object.defineProperties,cb=Object.getOwnPropertyDescriptors,lb=Object.getOwnPropertySymbols,db=Object.prototype.hasOwnProperty,ub=Object.prototype.propertyIsEnumerable,hb=(t,e,n)=>e in t?sb(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,gb=(t,e)=>{for(var n in e||(e={}))db.call(e,n)&&hb(t,n,e[n]);if(lb)for(var n of lb(e))ub.call(e,n)&&hb(t,n,e[n]);return t};class mb extends nb{constructor(t,e={}){super(e),this._editor=null,this._lifecyclePromise=null,this._initUsingData=!0,this._editables={},this._throttledSave=Up(this._save.bind(this),"number"==typeof e.saveInterval?e.saveInterval:5e3),t&&(this._creator=(e,n)=>t.create(e,n)),this._destructor=t=>t.destroy()}get editor(){return this._editor}get _item(){return this._editor}setCreator(t){this._creator=t}setDestructor(t){this._destructor=t}_restart(){return Promise.resolve().then((()=>(this.state="initializing",this._fire("stateChange"),this._destroy()))).catch((t=>{console.error("An error happened during the editor destroying.",t)})).then((()=>{const t={},e=[],n=this._config.rootsAttributes||{},o={};for(const[i,r]of Object.entries(this._data.roots))r.isLoaded?(t[i]="",o[i]=n[i]||{}):e.push(i);const i=(r=gb({},this._config),s={extraPlugins:this._config.extraPlugins||[],lazyRoots:e,rootsAttributes:o,_watchdogInitialData:this._data},ab(r,cb(s)));var r,s;return delete i.initialData,i.extraPlugins.push(pb),this._initUsingData?this.create(t,i,i.context):xo(this._elementOrData)?this.create(this._elementOrData,i,i.context):this.create(this._editables,i,i.context)})).then((()=>{this._fire("restart")}))}create(t=this._elementOrData,e=this._config,n){return this._lifecyclePromise=Promise.resolve(this._lifecyclePromise).then((()=>(super._startErrorHandling(),this._elementOrData=t,this._initUsingData="string"==typeof t||Object.keys(t).length>0&&"string"==typeof Object.values(t)[0],this._config=this._cloneEditorConfiguration(e)||{},this._config.context=n,this._creator(t,this._config)))).then((t=>{this._editor=t,t.model.document.on("change:data",this._throttledSave),this._lastDocumentVersion=t.model.document.version,this._data=this._getData(),this._initUsingData||(this._editables=this._getEditables()),this.state="ready",this._fire("stateChange")})).finally((()=>{this._lifecyclePromise=null})),this._lifecyclePromise}destroy(){return this._lifecyclePromise=Promise.resolve(this._lifecyclePromise).then((()=>(this.state="destroyed",this._fire("stateChange"),super.destroy(),this._destroy()))).finally((()=>{this._lifecyclePromise=null})),this._lifecyclePromise}_destroy(){return Promise.resolve().then((()=>{this._stopErrorHandling(),this._throttledSave.cancel();const t=this._editor;return this._editor=null,t.model.document.off("change:data",this._throttledSave),this._destructor(t)}))}_save(){const t=this._editor.model.document.version;try{this._data=this._getData(),this._initUsingData||(this._editables=this._getEditables()),this._lastDocumentVersion=t}catch(t){console.error(t,"An error happened during restoring editor data. Editor will be restored from the previously saved data.")}}_setExcludedProperties(t){this._excludedProps=t}_getData(){const t=this._editor,e=t.model.document.roots.filter((t=>t.isAttached()&&"$graveyard"!=t.rootName)),{plugins:n}=t,o=n.has("CommentsRepository")&&n.get("CommentsRepository"),i=n.has("TrackChanges")&&n.get("TrackChanges"),r={roots:{},markers:{},commentThreads:JSON.stringify([]),suggestions:JSON.stringify([])};e.forEach((t=>{r.roots[t.rootName]={content:JSON.stringify(Array.from(t.getChildren())),attributes:JSON.stringify(Array.from(t.getAttributes())),isLoaded:t._isLoaded}}));for(const e of t.model.markers)e._affectsData&&(r.markers[e.name]={rangeJSON:e.getRange().toJSON(),usingOperation:e._managedUsingOperations,affectsData:e._affectsData});return o&&(r.commentThreads=JSON.stringify(o.getCommentThreads({toJSON:!0,skipNotAttached:!0}))),i&&(r.suggestions=JSON.stringify(i.getSuggestions({toJSON:!0,skipNotAttached:!0}))),r}_getEditables(){const t={};for(const e of this.editor.model.document.getRootNames()){const n=this.editor.ui.getEditableElement(e);n&&(t[e]=n)}return t}_isErrorComingFromThisItem(t){return rb(this._editor,t.context,this._excludedProps)}_cloneEditorConfiguration(t){return yo(t,((t,e)=>xo(t)||"context"===e?t:void 0))}}class pb{constructor(t){this.editor=t,this._data=t.config.get("_watchdogInitialData")}init(){this.editor.data.on("init",(t=>{t.stop(),this.editor.model.enqueueChange({isUndoable:!1},(t=>{this._restoreCollaborationData(),this._restoreEditorData(t)})),this.editor.data.fire("ready")}),{priority:999})}_createNode(t,e){if("name"in e){const n=t.createElement(e.name,e.attributes);if(e.children)for(const o of e.children)n._appendChild(this._createNode(t,o));return n}return t.createText(e.data,e.attributes)}_restoreEditorData(t){const e=this.editor;Object.entries(this._data.roots).forEach((([n,{content:o,attributes:i}])=>{const r=JSON.parse(o),s=JSON.parse(i),a=e.model.document.getRoot(n);for(const[e,n]of s)t.setAttribute(e,n,a);for(const e of r){const n=this._createNode(t,e);t.insert(n,a,"end")}})),Object.entries(this._data.markers).forEach((([n,o])=>{const{document:i}=e.model,r=o,{rangeJSON:{start:s,end:a}}=r,c=((t,e)=>{var n={};for(var o in t)db.call(t,o)&&e.indexOf(o)<0&&(n[o]=t[o]);if(null!=t&&lb)for(var o of lb(t))e.indexOf(o)<0&&ub.call(t,o)&&(n[o]=t[o]);return n})(r,["rangeJSON"]),l=i.getRoot(s.root),d=t.createPositionFromPath(l,s.path,s.stickiness),u=t.createPositionFromPath(l,a.path,a.stickiness),h=t.createRange(d,u);t.addMarker(n,gb({range:h},c))}))}_restoreCollaborationData(){const t=JSON.parse(this._data.commentThreads),e=JSON.parse(this._data.suggestions);t.forEach((t=>{const e=this.editor.config.get("collaboration.channelId"),n=this.editor.plugins.get("CommentsRepository");if(n.hasCommentThread(t.threadId)){n.getCommentThread(t.threadId).remove()}n.addCommentThread(gb({channelId:e},t))})),e.forEach((t=>{const e=this.editor.plugins.get("TrackChangesEditing");if(e.hasSuggestion(t.id)){e.getSuggestion(t.id).attributes=t.attributes}else e.addSuggestionData(t)}))}}const fb=Symbol("MainQueueId");class kb{constructor(){this._onEmptyCallbacks=[],this._queues=new Map,this._activeActions=0}onEmpty(t){this._onEmptyCallbacks.push(t)}enqueue(t,e){const n=t===fb;this._activeActions++,this._queues.get(t)||this._queues.set(t,Promise.resolve());const o=(n?Promise.all(this._queues.values()):Promise.all([this._queues.get(fb),this._queues.get(t)])).then(e),i=o.catch((()=>{}));return this._queues.set(t,i),o.finally((()=>{this._activeActions--,this._queues.get(t)===i&&0===this._activeActions&&this._onEmptyCallbacks.forEach((t=>t()))}))}}function bb(t){return Array.isArray(t)?t:[t]}class wb extends(zh(Lh)){constructor(t,e={}){if(!Ab(t)&&void 0!==e.initialData)throw new _("editor-create-initial-data",null);super(e),this.config.define("menuBar.isVisible",!1),void 0===this.config.get("initialData")&&this.config.set("initialData",function(t){return Ab(t)?(e=t,e instanceof HTMLTextAreaElement?e.value:e.innerHTML):t;var e}(t)),Ab(t)&&(this.sourceElement=t),this.model.document.createRoot();const n=!this.config.get("toolbar.shouldNotGroupWhenFull"),o=this.config.get("menuBar"),i=new eb(this.locale,this.editing.view,{shouldToolbarGroupWhenFull:n,useMenuBar:o.isVisible});this.ui=new Jk(this,i),function(t){if(!Ht(t.updateSourceElement))throw new _("attachtoform-missing-elementapi-interface",t);const e=t.sourceElement;if(function(t){return!!t&&"textarea"===t.tagName.toLowerCase()}(e)&&e.form){let n;const o=e.form,i=()=>t.updateSourceElement();Ht(o.submit)&&(n=o.submit,o.submit=()=>{i(),n.apply(o)}),o.addEventListener("submit",i),t.on("destroy",(()=>{o.removeEventListener("submit",i),n&&(o.submit=n)}))}}(this)}destroy(){return this.sourceElement&&this.updateSourceElement(),this.ui.destroy(),super.destroy()}static create(t,e={}){return new Promise((n=>{const o=new this(t,e);n(o.initPlugins().then((()=>o.ui.init(Ab(t)?t:null))).then((()=>o.data.init(o.config.get("initialData")))).then((()=>o.fire("ready"))).then((()=>o)))}))}}function Ab(t){return xo(t)}wb.Context=mr,wb.EditorWatchdog=mb,wb.ContextWatchdog=class extends nb{constructor(t,e={}){super(e),this._watchdogs=new Map,this._context=null,this._contextProps=new Set,this._actionQueues=new kb,this._watchdogConfig=e,this._creator=e=>t.create(e),this._destructor=t=>t.destroy(),this._actionQueues.onEmpty((()=>{"initializing"===this.state&&(this.state="ready",this._fire("stateChange"))}))}setCreator(t){this._creator=t}setDestructor(t){this._destructor=t}get context(){return this._context}create(t={}){return this._actionQueues.enqueue(fb,(()=>(this._contextConfig=t,this._create())))}getItem(t){return this._getWatchdog(t)._item}getItemState(t){return this._getWatchdog(t).state}add(t){const e=bb(t);return Promise.all(e.map((t=>this._actionQueues.enqueue(t.id,(()=>{if("destroyed"===this.state)throw new Error("Cannot add items to destroyed watchdog.");if(!this._context)throw new Error("Context was not created yet. You should call the `ContextWatchdog#create()` method first.");let e;if(this._watchdogs.has(t.id))throw new Error(`Item with the given id is already added: '${t.id}'.`);if("editor"===t.type)return e=new mb(null,this._watchdogConfig),e.setCreator(t.creator),e._setExcludedProperties(this._contextProps),t.destructor&&e.setDestructor(t.destructor),this._watchdogs.set(t.id,e),e.on("error",((n,{error:o,causesRestart:i})=>{this._fire("itemError",{itemId:t.id,error:o}),i&&this._actionQueues.enqueue(t.id,(()=>new Promise((n=>{const o=()=>{e.off("restart",o),this._fire("itemRestart",{itemId:t.id}),n()};e.on("restart",o)}))))})),e.create(t.sourceElementOrData,t.config,this._context);throw new Error(`Not supported item type: '${t.type}'.`)})))))}remove(t){const e=bb(t);return Promise.all(e.map((t=>this._actionQueues.enqueue(t,(()=>{const e=this._getWatchdog(t);return this._watchdogs.delete(t),e.destroy()})))))}destroy(){return this._actionQueues.enqueue(fb,(()=>(this.state="destroyed",this._fire("stateChange"),super.destroy(),this._destroy())))}_restart(){return this._actionQueues.enqueue(fb,(()=>(this.state="initializing",this._fire("stateChange"),this._destroy().catch((t=>{console.error("An error happened during destroying the context or items.",t)})).then((()=>this._create())).then((()=>this._fire("restart"))))))}_create(){return Promise.resolve().then((()=>(this._startErrorHandling(),this._creator(this._contextConfig)))).then((t=>(this._context=t,this._contextProps=ob(this._context),Promise.all(Array.from(this._watchdogs.values()).map((t=>(t._setExcludedProperties(this._contextProps),t.create(void 0,void 0,this._context))))))))}_destroy(){return Promise.resolve().then((()=>{this._stopErrorHandling();const t=this._context;return this._context=null,this._contextProps=new Set,Promise.all(Array.from(this._watchdogs.values()).map((t=>t.destroy()))).then((()=>this._destructor(t)))}))}_getWatchdog(t){const e=this._watchdogs.get(t);if(!e)throw new Error(`Item with the given id was not registered: ${t}.`);return e}_isErrorComingFromThisItem(t){for(const e of this._watchdogs.values())if(e._isErrorComingFromThisItem(t))return!1;return rb(this._context,t.context)}};class _b extends Pa{constructor(t){super(t),this.domEventType=["paste","copy","cut","drop","dragover","dragstart","dragend","dragenter","dragleave"];const e=this.document;function n(t){return(n,o)=>{o.preventDefault();const i=o.dropRange?[o.dropRange]:null,r=new p(e,t);e.fire(r,{dataTransfer:o.dataTransfer,method:n.name,targetRanges:i,target:o.target,domEvent:o.domEvent}),r.stop.called&&o.stopPropagation()}}this.listenTo(e,"paste",n("clipboardInput"),{priority:"low"}),this.listenTo(e,"drop",n("clipboardInput"),{priority:"low"}),this.listenTo(e,"dragover",n("dragging"),{priority:"low"})}onDomEvent(t){const e="clipboardData"in t?t.clipboardData:t.dataTransfer,n="drop"==t.type||"paste"==t.type,o={dataTransfer:new Cc(e,{cacheFiles:n})};"drop"!=t.type&&"dragover"!=t.type||(o.dropRange=function(t,e){const n=e.target.ownerDocument,o=e.clientX,i=e.clientY;let r;n.caretRangeFromPoint&&n.caretRangeFromPoint(o,i)?r=n.caretRangeFromPoint(o,i):e.rangeParent&&(r=n.createRange(),r.setStart(e.rangeParent,e.rangeOffset),r.collapse(!0));if(r)return t.domConverter.domRangeToView(r);return null}(this.view,t)),this.fire(t.type,t,o)}}const Cb=["figcaption","li"],vb=["ol","ul"];function yb(t){if(t.is("$text")||t.is("$textProxy"))return t.data;if(t.is("element","img")&&t.hasAttribute("alt"))return t.getAttribute("alt");if(t.is("element","br"))return"\n";let e="",n=null;for(const o of t.getChildren())e+=xb(o,n)+yb(o),n=o;return e}function xb(t,e){return e?t.is("element","li")&&!t.isEmpty&&t.getChild(0).is("containerElement")||vb.includes(t.name)&&vb.includes(e.name)?"\n\n":t.is("containerElement")||e.is("containerElement")?Cb.includes(t.name)||Cb.includes(e.name)?"\n":"\n\n":"":""}const Eb=function(t,e){return t&&Ei(t,e,dn)};const Db=function(t,e,n,o){var i=n.length,r=i,s=!o;if(null==t)return!r;for(t=Object(t);i--;){var a=n[i];if(s&&a[2]?a[1]!==t[a[0]]:!(a[0]in t))return!1}for(;++ie in t?Vb(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;class $b extends rr{constructor(){super(...arguments),this._markersToCopy=new Map}static get pluginName(){return"ClipboardMarkersUtils"}_registerMarkerToCopy(t,e){this._markersToCopy.set(t,e)}_copySelectedFragmentWithMarkers(t,e,n=(t=>t.model.getSelectedContent(t.model.document.selection))){return this.editor.model.change((o=>{const i=o.model.document.selection;o.setSelection(e);const r=this._insertFakeMarkersIntoSelection(o,o.model.document.selection,t),s=n(o),a=this._removeFakeMarkersInsideElement(o,s);for(const[t,e]of Object.entries(r)){a[t]||(a[t]=o.createRangeIn(s));for(const t of e)o.remove(t)}s.markers.clear();for(const[t,e]of Object.entries(a))s.markers.set(t,e);return o.setSelection(i),s}))}_pasteMarkersIntoTransformedElement(t,e){const n=this._getPasteMarkersFromRangeMap(t);return this.editor.model.change((t=>{const o=this._insertFakeMarkersElements(t,n),i=e(t),r=this._removeFakeMarkersInsideElement(t,i);for(const e of Object.values(o).flat())t.remove(e);for(const[e,n]of Object.entries(r))t.model.markers.has(e)||t.addMarker(e,{usingOperation:!0,affectsData:!0,range:n});return i}))}_pasteFragmentWithMarkers(t){const e=this._getPasteMarkersFromRangeMap(t.markers);t.markers.clear();for(const n of e)t.markers.set(n.name,n.range);return this.editor.model.insertContent(t)}_forceMarkersCopy(t,e,n={allowedActions:"all",copyPartiallySelected:!0,duplicateOnPaste:!0}){const o=this._markersToCopy.get(t);this._markersToCopy.set(t,n),e(),o?this._markersToCopy.set(t,o):this._markersToCopy.delete(t)}_isMarkerCopyable(t,e){const n=this._getMarkerClipboardConfig(t);if(!n)return!1;if(!e)return!0;const{allowedActions:o}=n;return"all"===o||o.includes(e)}_hasMarkerConfiguration(t){return!!this._getMarkerClipboardConfig(t)}_getMarkerClipboardConfig(t){const[e]=t.split(":");return this._markersToCopy.get(e)||null}_insertFakeMarkersIntoSelection(t,e,n){const o=this._getCopyableMarkersFromSelection(t,e,n);return this._insertFakeMarkersElements(t,o)}_getCopyableMarkersFromSelection(t,e,n){const o=Array.from(e.getRanges()),i=new Set(o.flatMap((e=>Array.from(t.model.markers.getMarkersIntersectingRange(e)))));return Array.from(i).filter((t=>{if(!this._isMarkerCopyable(t.name,n))return!1;const{copyPartiallySelected:e}=this._getMarkerClipboardConfig(t.name);if(!e){const e=t.getRange();return o.some((t=>t.containsRange(e,!0)))}return!0})).map((t=>({name:"dragstart"===n?this._getUniqueMarkerName(t.name):t.name,range:t.getRange()})))}_getPasteMarkersFromRangeMap(t,e=null){const{model:n}=this.editor;return(t instanceof Map?Array.from(t.entries()):Object.entries(t)).flatMap((([t,o])=>{if(!this._hasMarkerConfiguration(t))return[{name:t,range:o}];if(this._isMarkerCopyable(t,e)){const e=this._getMarkerClipboardConfig(t),i=n.markers.has(t)&&"$graveyard"===n.markers.get(t).getRange().root.rootName;return(e.duplicateOnPaste||i)&&(t=this._getUniqueMarkerName(t)),[{name:t,range:o}]}return[]}))}_insertFakeMarkersElements(t,e){const n={},o=e.flatMap((t=>{const{start:e,end:n}=t.range;return[{position:e,marker:t,type:"start"},{position:n,marker:t,type:"end"}]})).sort((({position:t},{position:e})=>t.isBefore(e)?1:-1));for(const{position:e,marker:i,type:r}of o){const o=t.createElement("$marker",{"data-name":i.name,"data-type":r});n[i.name]||(n[i.name]=[]),n[i.name].push(o),t.insert(o,e)}return n}_removeFakeMarkersInsideElement(t,e){const n=this._getAllFakeMarkersFromElement(t,e).reduce(((e,n)=>{const o=n.markerElement&&t.createPositionBefore(n.markerElement);let i=e[n.name],r=!1;if(i&&i.start&&i.end){this._getMarkerClipboardConfig(n.name).duplicateOnPaste?e[this._getUniqueMarkerName(n.name)]=e[n.name]:r=!0,i=null}var s,a;return r||(e[n.name]=(s=((t,e)=>{for(var n in e||(e={}))Gb.call(e,n)&&Kb(t,n,e[n]);if(qb)for(var n of qb(e))Wb.call(e,n)&&Kb(t,n,e[n]);return t})({},i),a={[n.type]:o},Hb(s,Ub(a)))),n.markerElement&&t.remove(n.markerElement),e}),{});return Fb(n,(n=>new Uc(n.start||t.createPositionFromPath(e,[0]),n.end||t.createPositionAt(e,"end"))))}_getAllFakeMarkersFromElement(t,e){const n=Array.from(t.createRangeIn(e)).flatMap((({item:t})=>{if(!t.is("element","$marker"))return[];const e=t.getAttribute("data-name"),n=t.getAttribute("data-type");return[{markerElement:t,name:e,type:n}]})),o=[],i=[];for(const t of n){if("end"===t.type){n.some((e=>e.name===t.name&&"start"===e.type))||o.push({markerElement:null,name:t.name,type:"start"})}if("start"===t.type){n.some((e=>e.name===t.name&&"end"===e.type))||i.unshift({markerElement:null,name:t.name,type:"end"})}}return[...o,...n,...i]}_getUniqueMarkerName(t){const e=t.split(":"),n=k().substring(1,6);return 3===e.length?`${e.slice(0,2).join(":")}:${n}`:`${e.join(":")}:${n}`}}class Yb extends rr{static get pluginName(){return"ClipboardPipeline"}static get requires(){return[$b]}init(){this.editor.editing.view.addObserver(_b),this._setupPasteDrop(),this._setupCopyCut()}_fireOutputTransformationEvent(t,e,n){const o=this.editor.plugins.get("ClipboardMarkersUtils");this.editor.model.enqueueChange({isUndoable:"cut"===n},(()=>{const i=o._copySelectedFragmentWithMarkers(n,e);this.fire("outputTransformation",{dataTransfer:t,content:i,method:n})}))}_setupPasteDrop(){const t=this.editor,e=t.model,n=t.editing.view,o=n.document,i=this.editor.plugins.get("ClipboardMarkersUtils");this.listenTo(o,"clipboardInput",((e,n)=>{"paste"!=n.method||t.model.canEditAt(t.model.document.selection)||e.stop()}),{priority:"highest"}),this.listenTo(o,"clipboardInput",((t,e)=>{const o=e.dataTransfer;let i;if(e.content)i=e.content;else{let t="";o.getData("text/html")?t=function(t){return t.replace(/(\s+)<\/span>/g,((t,e)=>1==e.length?" ":e)).replace(//g,"")}(o.getData("text/html")):o.getData("text/plain")&&(((r=(r=o.getData("text/plain")).replace(/&/g,"&").replace(//g,">").replace(/\r?\n\r?\n/g,"

").replace(/\r?\n/g,"
").replace(/\t/g,"    ").replace(/^\s/," ").replace(/\s$/," ").replace(/\s\s/g,"  ")).includes("

")||r.includes("
"))&&(r=`

${r}

`),t=r),i=this.editor.data.htmlProcessor.toView(t)}var r;const s=new p(this,"inputTransformation");this.fire(s,{content:i,dataTransfer:o,targetRanges:e.targetRanges,method:e.method}),s.stop.called&&t.stop(),n.scrollToTheSelection()}),{priority:"low"}),this.listenTo(this,"inputTransformation",((t,n)=>{if(n.content.isEmpty)return;const o=this.editor.data.toModel(n.content,"$clipboardHolder");0!=o.childCount&&(t.stop(),e.change((()=>{this.fire("contentInsertion",{content:o,method:n.method,dataTransfer:n.dataTransfer,targetRanges:n.targetRanges})})))}),{priority:"low"}),this.listenTo(this,"contentInsertion",((t,e)=>{e.resultRange=i._pasteFragmentWithMarkers(e.content)}),{priority:"low"})}_setupCopyCut(){const t=this.editor,e=t.model.document,n=t.editing.view.document,o=(t,n)=>{const o=n.dataTransfer;n.preventDefault(),this._fireOutputTransformationEvent(o,e.selection,t.name)};this.listenTo(n,"copy",o,{priority:"low"}),this.listenTo(n,"cut",((e,n)=>{t.model.canEditAt(t.model.document.selection)?o(e,n):n.preventDefault()}),{priority:"low"}),this.listenTo(this,"outputTransformation",((e,o)=>{const i=t.data.toView(o.content);n.fire("clipboardOutput",{dataTransfer:o.dataTransfer,content:i,method:o.method})}),{priority:"low"}),this.listenTo(n,"clipboardOutput",((n,o)=>{o.content.isEmpty||(o.dataTransfer.setData("text/html",this.editor.data.htmlProcessor.toData(o.content)),o.dataTransfer.setData("text/plain",yb(o.content))),"cut"==o.method&&t.model.deleteContent(e.selection)}),{priority:"low"})}}class Qb{constructor(t,e=20){this._batch=null,this.model=t,this._size=0,this.limit=e,this._isLocked=!1,this._changeCallback=(t,e)=>{e.isLocal&&e.isUndoable&&e!==this._batch&&this._reset(!0)},this._selectionChangeCallback=()=>{this._reset()},this.model.document.on("change",this._changeCallback),this.model.document.selection.on("change:range",this._selectionChangeCallback),this.model.document.selection.on("change:attribute",this._selectionChangeCallback)}get batch(){return this._batch||(this._batch=this.model.createBatch({isTyping:!0})),this._batch}get size(){return this._size}input(t){this._size+=t,this._size>=this.limit&&this._reset(!0)}get isLocked(){return this._isLocked}lock(){this._isLocked=!0}unlock(){this._isLocked=!1}destroy(){this.model.document.off("change",this._changeCallback),this.model.document.selection.off("change:range",this._selectionChangeCallback),this.model.document.selection.off("change:attribute",this._selectionChangeCallback)}_reset(t=!1){this.isLocked&&!t||(this._batch=null,this._size=0)}}class Zb extends ar{constructor(t,e){super(t),this._buffer=new Qb(t.model,e),this._isEnabledBasedOnSelection=!1}get buffer(){return this._buffer}destroy(){super.destroy(),this._buffer.destroy()}execute(t={}){const e=this.editor.model,n=e.document,o=t.text||"",i=o.length;let r=n.selection;if(t.selection?r=t.selection:t.range&&(r=e.createSelection(t.range)),!e.canEditAt(r))return;const s=t.resultRange;e.enqueueChange(this._buffer.batch,(t=>{this._buffer.lock();const a=Array.from(n.selection.getAttributes());e.deleteContent(r),o&&e.insertContent(t.createText(o,a),r),s?t.setSelection(s):r.is("documentSelection")||t.setSelection(r),this._buffer.unlock(),this._buffer.input(i)}))}}const Jb=["insertText","insertReplacementText"];class Xb extends Sa{constructor(t){super(t),this.focusObserver=t.getObserver(wc),c.isAndroid&&Jb.push("insertCompositionText");const e=t.document;e.on("beforeinput",((n,o)=>{if(!this.isEnabled)return;const{data:i,targetRanges:r,inputType:s,domEvent:a}=o;if(!Jb.includes(s))return;this.focusObserver.flush();const c=new p(e,"insertText");e.fire(c,new Na(t,a,{text:i,selection:t.createSelection(r)})),c.stop.called&&n.stop()})),e.on("compositionend",((n,{data:o,domEvent:i})=>{this.isEnabled&&!c.isAndroid&&o&&e.fire("insertText",new Na(t,i,{text:o,selection:e.selection}))}),{priority:"lowest"})}observe(){}stopObserving(){}}class tw extends rr{static get pluginName(){return"Input"}init(){const t=this.editor,e=t.model,n=t.editing.view,o=e.document.selection;n.addObserver(Xb);const i=new Zb(t,t.config.get("typing.undoStep")||20);t.commands.add("insertText",i),t.commands.add("input",i),this.listenTo(n.document,"insertText",((o,i)=>{n.document.isComposing||i.preventDefault();const{text:r,selection:s,resultRange:a}=i,l=Array.from(s.getRanges()).map((e=>t.editing.mapper.toModelRange(e)));let d=r;if(c.isAndroid){const t=Array.from(l[0].getItems()).reduce(((t,e)=>t+(e.is("$textProxy")?e.data:"")),"");t&&(t.length<=d.length?d.startsWith(t)&&(d=d.substring(t.length),l[0].start=l[0].start.getShiftedBy(t.length)):t.startsWith(d)&&(l[0].start=l[0].start.getShiftedBy(d.length),d=""))}const u={text:d,selection:e.createSelection(l)};a&&(u.resultRange=t.editing.mapper.toModelRange(a)),t.execute("insertText",u),n.scrollToTheSelection()})),c.isAndroid?this.listenTo(n.document,"keydown",((t,r)=>{!o.isCollapsed&&229==r.keyCode&&n.document.isComposing&&ew(e,i)})):this.listenTo(n.document,"compositionstart",(()=>{o.isCollapsed||ew(e,i)}))}}function ew(t,e){if(!e.isEnabled)return;const n=e.buffer;n.lock(),t.enqueueChange(n.batch,(()=>{t.deleteContent(t.document.selection)})),n.unlock()}class nw extends ar{constructor(t,e){super(t),this.direction=e,this._buffer=new Qb(t.model,t.config.get("typing.undoStep")),this._isEnabledBasedOnSelection=!1}get buffer(){return this._buffer}execute(t={}){const e=this.editor.model,n=e.document;e.enqueueChange(this._buffer.batch,(o=>{this._buffer.lock();const i=o.createSelection(t.selection||n.selection);if(!e.canEditAt(i))return;const r=t.sequence||1,s=i.isCollapsed;if(i.isCollapsed&&e.modifySelection(i,{direction:this.direction,unit:t.unit,treatEmojiAsSingleUnit:!0}),this._shouldEntireContentBeReplacedWithParagraph(r))return void this._replaceEntireContentWithParagraph(o);if(this._shouldReplaceFirstBlockWithParagraph(i,r))return void this.editor.execute("paragraph",{selection:i});if(i.isCollapsed)return;let a=0;i.getFirstRange().getMinimalFlatRanges().forEach((t=>{a+=tt(t.getWalker({singleCharacters:!0,ignoreElementEnd:!0,shallow:!0}))})),e.deleteContent(i,{doNotResetEntireContent:s,direction:this.direction}),this._buffer.input(a),o.setSelection(i),this._buffer.unlock()}))}_shouldEntireContentBeReplacedWithParagraph(t){if(t>1)return!1;const e=this.editor.model,n=e.document.selection,o=e.schema.getLimitElement(n);if(!(n.isCollapsed&&n.containsEntireContent(o)))return!1;if(!e.schema.checkChild(o,"paragraph"))return!1;const i=o.getChild(0);return!i||!i.is("element","paragraph")}_replaceEntireContentWithParagraph(t){const e=this.editor.model,n=e.document.selection,o=e.schema.getLimitElement(n),i=t.createElement("paragraph");t.remove(t.createRangeIn(o)),t.insert(i,o),t.setSelection(i,0)}_shouldReplaceFirstBlockWithParagraph(t,e){const n=this.editor.model;if(e>1||"backward"!=this.direction)return!1;if(!t.isCollapsed)return!1;const o=t.getFirstPosition(),i=n.schema.getLimitElement(o),r=i.getChild(0);return o.parent==r&&(!!t.containsEntireContent(r)&&(!!n.schema.checkChild(i,"paragraph")&&"paragraph"!=r.name))}}const ow="word",iw="selection",rw="backward",sw="forward",aw={deleteContent:{unit:iw,direction:rw},deleteContentBackward:{unit:"codePoint",direction:rw},deleteWordBackward:{unit:ow,direction:rw},deleteHardLineBackward:{unit:iw,direction:rw},deleteSoftLineBackward:{unit:iw,direction:rw},deleteContentForward:{unit:"character",direction:sw},deleteWordForward:{unit:ow,direction:sw},deleteHardLineForward:{unit:iw,direction:sw},deleteSoftLineForward:{unit:iw,direction:sw}};class cw extends Sa{constructor(t){super(t);const e=t.document;let n=0;e.on("keydown",(()=>{n++})),e.on("keyup",(()=>{n=0})),e.on("beforeinput",((o,i)=>{if(!this.isEnabled)return;const{targetRanges:r,domEvent:s,inputType:a}=i,l=aw[a];if(!l)return;const d={direction:l.direction,unit:l.unit,sequence:n};d.unit==iw&&(d.selectionToRemove=t.createSelection(r[0])),"deleteContentBackward"===a&&(c.isAndroid&&(d.sequence=1),function(t){if(1!=t.length||t[0].isCollapsed)return!1;const e=t[0].getWalker({direction:"backward",singleCharacters:!0,ignoreElementEnd:!0});let n=0;for(const{nextPosition:t}of e){if(t.parent.is("$text")){const e=t.parent.data,o=t.offset;if(er(e,o)||nr(e,o)||ir(e,o))continue;n++}else n++;if(n>1)return!0}return!1}(r)&&(d.unit=iw,d.selectionToRemove=t.createSelection(r)));const u=new Is(e,"delete",r[0]);e.fire(u,new Na(t,s,d)),u.stop.called&&o.stop()})),c.isBlink&&function(t){const e=t.view,n=e.document;let o=null,i=!1;function r(t){return t==bi.backspace||t==bi.delete}function s(t){return t==bi.backspace?rw:sw}n.on("keydown",((t,{keyCode:e})=>{o=e,i=!1})),n.on("keyup",((a,{keyCode:c,domEvent:l})=>{const d=n.selection,u=t.isEnabled&&c==o&&r(c)&&!d.isCollapsed&&!i;if(o=null,u){const t=d.getFirstRange(),o=new Is(n,"delete",t),i={unit:iw,direction:s(c),selectionToRemove:d};n.fire(o,new Na(e,l,i))}})),n.on("beforeinput",((t,{inputType:e})=>{const n=aw[e];r(o)&&n&&n.direction==s(o)&&(i=!0)}),{priority:"high"}),n.on("beforeinput",((t,{inputType:e,data:n})=>{o==bi.delete&&"insertText"==e&&""==n&&t.stop()}),{priority:"high"})}(this)}observe(){}stopObserving(){}}class lw extends rr{static get pluginName(){return"Delete"}init(){const t=this.editor,e=t.editing.view,n=e.document,o=t.model.document;e.addObserver(cw),this._undoOnBackspace=!1;const i=new nw(t,"forward");t.commands.add("deleteForward",i),t.commands.add("forwardDelete",i),t.commands.add("delete",new nw(t,"backward")),this.listenTo(n,"delete",((o,i)=>{n.isComposing||i.preventDefault();const{direction:r,sequence:s,selectionToRemove:a,unit:c}=i,l="forward"===r?"deleteForward":"delete",d={sequence:s};if("selection"==c){const e=Array.from(a.getRanges()).map((e=>t.editing.mapper.toModelRange(e)));d.selection=t.model.createSelection(e)}else d.unit=c;t.execute(l,d),e.scrollToTheSelection()}),{priority:"low"}),this.editor.plugins.has("UndoEditing")&&(this.listenTo(n,"delete",((e,n)=>{this._undoOnBackspace&&"backward"==n.direction&&1==n.sequence&&"codePoint"==n.unit&&(this._undoOnBackspace=!1,t.execute("undo"),n.preventDefault(),e.stop())}),{context:"$capture"}),this.listenTo(o,"change",(()=>{this._undoOnBackspace=!1})))}requestUndoOnBackspace(){this.editor.plugins.has("UndoEditing")&&(this._undoOnBackspace=!0)}}class dw extends rr{static get requires(){return[tw,lw]}static get pluginName(){return"Typing"}}function uw(t,e){let n=t.start;return{text:Array.from(t.getWalker({ignoreElementEnd:!1})).reduce(((t,{item:o})=>o.is("$text")||o.is("$textProxy")?t+o.data:(n=e.createPositionAfter(o),"")),""),range:e.createRange(n,t.end)}}class hw extends(K()){constructor(t,e){super(),this.model=t,this.testCallback=e,this._hasMatch=!1,this.set("isEnabled",!0),this.on("change:isEnabled",(()=>{this.isEnabled?this._startListening():(this.stopListening(t.document.selection),this.stopListening(t.document))})),this._startListening()}get hasMatch(){return this._hasMatch}_startListening(){const t=this.model.document;this.listenTo(t.selection,"change:range",((e,{directChange:n})=>{n&&(t.selection.isCollapsed?this._evaluateTextBeforeSelection("selection"):this.hasMatch&&(this.fire("unmatched"),this._hasMatch=!1))})),this.listenTo(t,"change:data",((t,e)=>{!e.isUndo&&e.isLocal&&this._evaluateTextBeforeSelection("data",{batch:e})}))}_evaluateTextBeforeSelection(t,e={}){const n=this.model,o=n.document.selection,i=n.createRange(n.createPositionAt(o.focus.parent,0),o.focus),{text:r,range:s}=uw(i,n),a=this.testCallback(r);if(!a&&this.hasMatch&&this.fire("unmatched"),this._hasMatch=!!a,a){const n=Object.assign(e,{text:r,range:s});"object"==typeof a&&Object.assign(n,a),this.fire(`matched:${t}`,n)}}}class gw extends rr{constructor(t){super(t),this._isNextGravityRestorationSkipped=!1,this.attributes=new Set,this._overrideUid=null}static get pluginName(){return"TwoStepCaretMovement"}init(){const t=this.editor,e=t.model,n=t.editing.view,o=t.locale,i=e.document.selection;this.listenTo(n.document,"arrowKey",((t,e)=>{if(!i.isCollapsed)return;if(e.shiftKey||e.altKey||e.ctrlKey)return;const n=e.keyCode==bi.arrowright,r=e.keyCode==bi.arrowleft;if(!n&&!r)return;const s=o.contentLanguageDirection;let a=!1;a="ltr"===s&&n||"rtl"===s&&r?this._handleForwardMovement(e):this._handleBackwardMovement(e),!0===a&&t.stop()}),{context:"$text",priority:"highest"}),this.listenTo(i,"change:range",((t,e)=>{this._isNextGravityRestorationSkipped?this._isNextGravityRestorationSkipped=!1:this._isGravityOverridden&&(!e.directChange&&ww(i.getFirstPosition(),this.attributes)||this._restoreGravity())})),this._enableClickingAfterNode(),this._enableInsertContentSelectionAttributesFixer(),this._handleDeleteContentAfterNode()}registerAttribute(t){this.attributes.add(t)}_handleForwardMovement(t){const e=this.attributes,n=this.editor.model,o=n.document.selection,i=o.getFirstPosition();return!this._isGravityOverridden&&((!i.isAtStart||!mw(o,e))&&(!!ww(i,e)&&(kw(t),mw(o,e)&&ww(i,e,!0)?fw(n,e):this._overrideGravity(),!0)))}_handleBackwardMovement(t){const e=this.attributes,n=this.editor.model,o=n.document.selection,i=o.getFirstPosition();return this._isGravityOverridden?(kw(t),this._restoreGravity(),ww(i,e,!0)?fw(n,e):pw(n,e,i),!0):i.isAtStart?!!mw(o,e)&&(kw(t),pw(n,e,i),!0):!mw(o,e)&&ww(i,e,!0)?(kw(t),pw(n,e,i),!0):!!bw(i,e)&&(i.isAtEnd&&!mw(o,e)&&ww(i,e)?(kw(t),pw(n,e,i),!0):(this._isNextGravityRestorationSkipped=!0,this._overrideGravity(),!1))}_enableClickingAfterNode(){const t=this.editor,e=t.model,n=e.document.selection,o=t.editing.view.document;t.editing.view.addObserver(_h);let i=!1;this.listenTo(o,"mousedown",(()=>{i=!0})),this.listenTo(o,"selectionChange",(()=>{const t=this.attributes;if(!i)return;if(i=!1,!n.isCollapsed)return;if(!mw(n,t))return;const o=n.getFirstPosition();ww(o,t)&&(o.isAtStart||ww(o,t,!0)?fw(e,t):this._isGravityOverridden||this._overrideGravity())}))}_enableInsertContentSelectionAttributesFixer(){const t=this.editor.model,e=t.document.selection,n=this.attributes;this.listenTo(t,"insertContent",(()=>{const o=e.getFirstPosition();mw(e,n)&&ww(o,n)&&fw(t,n)}),{priority:"low"})}_handleDeleteContentAfterNode(){const t=this.editor,e=t.model,n=e.document.selection,o=t.editing.view;let i=!1,r=!1;this.listenTo(o.document,"delete",((t,e)=>{i="backward"===e.direction}),{priority:"high"}),this.listenTo(e,"deleteContent",(()=>{if(!i)return;const t=n.getFirstPosition();r=mw(n,this.attributes)&&!bw(t,this.attributes)}),{priority:"high"}),this.listenTo(e,"deleteContent",(()=>{i&&(i=!1,r||t.model.enqueueChange((()=>{const t=n.getFirstPosition();mw(n,this.attributes)&&ww(t,this.attributes)&&(t.isAtStart||ww(t,this.attributes,!0)?fw(e,this.attributes):this._isGravityOverridden||this._overrideGravity())})))}),{priority:"low"})}get _isGravityOverridden(){return!!this._overrideUid}_overrideGravity(){this._overrideUid=this.editor.model.change((t=>t.overrideSelectionGravity()))}_restoreGravity(){this.editor.model.change((t=>{t.restoreSelectionGravity(this._overrideUid),this._overrideUid=null}))}}function mw(t,e){for(const n of e)if(t.hasAttribute(n))return!0;return!1}function pw(t,e,n){const o=n.nodeBefore;t.change((n=>{if(o){const e=[],i=t.schema.isObject(o)&&t.schema.isInline(o);for(const[n,r]of o.getAttributes())!t.schema.checkAttribute("$text",n)||i&&!1===t.schema.getAttributeProperties(n).copyFromObject||e.push([n,r]);n.setSelectionAttribute(e)}else n.removeSelectionAttribute(e)}))}function fw(t,e){t.change((t=>{t.removeSelectionAttribute(e)}))}function kw(t){t.preventDefault()}function bw(t,e){return ww(t.getShiftedBy(-1),e)}function ww(t,e,n=!1){const{nodeBefore:o,nodeAfter:i}=t;for(const t of e){const e=o?o.getAttribute(t):void 0,r=i?i.getAttribute(t):void 0;if((!n||void 0!==e&&void 0!==r)&&r!==e)return!0}return!1}const Aw={copyright:{from:"(c)",to:"©"},registeredTrademark:{from:"(r)",to:"®"},trademark:{from:"(tm)",to:"™"},oneHalf:{from:/(^|[^/a-z0-9])(1\/2)([^/a-z0-9])$/i,to:[null,"½",null]},oneThird:{from:/(^|[^/a-z0-9])(1\/3)([^/a-z0-9])$/i,to:[null,"⅓",null]},twoThirds:{from:/(^|[^/a-z0-9])(2\/3)([^/a-z0-9])$/i,to:[null,"⅔",null]},oneForth:{from:/(^|[^/a-z0-9])(1\/4)([^/a-z0-9])$/i,to:[null,"¼",null]},threeQuarters:{from:/(^|[^/a-z0-9])(3\/4)([^/a-z0-9])$/i,to:[null,"¾",null]},lessThanOrEqual:{from:"<=",to:"≤"},greaterThanOrEqual:{from:">=",to:"≥"},notEqual:{from:"!=",to:"≠"},arrowLeft:{from:"<-",to:"←"},arrowRight:{from:"->",to:"→"},horizontalEllipsis:{from:"...",to:"…"},enDash:{from:/(^| )(--)( )$/,to:[null,"–",null]},emDash:{from:/(^| )(---)( )$/,to:[null,"—",null]},quotesPrimary:{from:Ew('"'),to:[null,"“",null,"”"]},quotesSecondary:{from:Ew("'"),to:[null,"‘",null,"’"]},quotesPrimaryEnGb:{from:Ew("'"),to:[null,"‘",null,"’"]},quotesSecondaryEnGb:{from:Ew('"'),to:[null,"“",null,"”"]},quotesPrimaryPl:{from:Ew('"'),to:[null,"„",null,"”"]},quotesSecondaryPl:{from:Ew("'"),to:[null,"‚",null,"’"]}},_w={symbols:["copyright","registeredTrademark","trademark"],mathematical:["oneHalf","oneThird","twoThirds","oneForth","threeQuarters","lessThanOrEqual","greaterThanOrEqual","notEqual","arrowLeft","arrowRight"],typography:["horizontalEllipsis","enDash","emDash"],quotes:["quotesPrimary","quotesSecondary"]},Cw=["symbols","mathematical","typography","quotes"];function vw(t){return"string"==typeof t?new RegExp(`(${Hf(t)})$`):t}function yw(t){return"string"==typeof t?()=>[t]:t instanceof Array?()=>t:t}function xw(t){return(t.textNode?t.textNode:t.nodeAfter).getAttributes()}function Ew(t){return new RegExp(`(^|\\s)(${t})([^${t}]*)(${t})$`)}function Dw(t,e,n,o){return o.createRange(Iw(t,e,n,!0,o),Iw(t,e,n,!1,o))}function Iw(t,e,n,o,i){let r=t.textNode||(o?t.nodeBefore:t.nodeAfter),s=null;for(;r&&r.getAttribute(e)==n;)s=r,r=o?r.previousSibling:r.nextSibling;return s?i.createPositionAt(s,o?"before":"after"):t}function*Mw(t,e){for(const n of e)n&&t.getAttributeProperties(n[0]).copyOnEnter&&(yield n)}class Tw extends ar{execute(){this.editor.model.change((t=>{this.enterBlock(t),this.fire("afterExecute",{writer:t})}))}enterBlock(t){const e=this.editor.model,n=e.document.selection,o=e.schema,i=n.isCollapsed,r=n.getFirstRange(),s=r.start.parent,a=r.end.parent;if(o.isLimit(s)||o.isLimit(a))return i||s!=a||e.deleteContent(n),!1;if(i){const e=Mw(t.model.schema,n.getAttributes());return Sw(t,r.start),t.setSelectionAttribute(e),!0}{const o=!(r.start.isAtStart&&r.end.isAtEnd),i=s==a;if(e.deleteContent(n,{leaveUnmerged:o}),o){if(i)return Sw(t,n.focus),!0;t.setSelection(a,0)}}return!1}}function Sw(t,e){t.split(e),t.setSelection(e.parent.nextSibling,0)}const Bw={insertParagraph:{isSoft:!1},insertLineBreak:{isSoft:!0}};class Nw extends Sa{constructor(t){super(t);const e=this.document;let n=!1;e.on("keydown",((t,e)=>{n=e.shiftKey})),e.on("beforeinput",((o,i)=>{if(!this.isEnabled)return;let r=i.inputType;c.isSafari&&n&&"insertParagraph"==r&&(r="insertLineBreak");const s=i.domEvent,a=Bw[r];if(!a)return;const l=new Is(e,"enter",i.targetRanges[0]);e.fire(l,new Na(t,s,{isSoft:a.isSoft})),l.stop.called&&o.stop()}))}observe(){}stopObserving(){}}class Pw extends rr{static get pluginName(){return"Enter"}init(){const t=this.editor,e=t.editing.view,n=e.document,o=this.editor.t;e.addObserver(Nw),t.commands.add("enter",new Tw(t)),this.listenTo(n,"enter",((o,i)=>{n.isComposing||i.preventDefault(),i.isSoft||(t.execute("enter"),e.scrollToTheSelection())}),{priority:"low"}),t.accessibility.addKeystrokeInfos({keystrokes:[{label:o("Insert a hard break (a new paragraph)"),keystroke:"Enter"}]})}}class Ow extends ar{execute(){const t=this.editor.model,e=t.document;t.change((n=>{!function(t,e,n){const o=n.isCollapsed,i=n.getFirstRange(),r=i.start.parent,s=i.end.parent,a=r==s;if(o){const o=Mw(t.schema,n.getAttributes());Lw(t,e,i.end),e.removeSelectionAttribute(n.getAttributeKeys()),e.setSelectionAttribute(o)}else{const o=!(i.start.isAtStart&&i.end.isAtEnd);t.deleteContent(n,{leaveUnmerged:o}),a?Lw(t,e,n.focus):o&&e.setSelection(s,0)}}(t,n,e.selection),this.fire("afterExecute",{writer:n})}))}refresh(){const t=this.editor.model,e=t.document;this.isEnabled=function(t,e){if(e.rangeCount>1)return!1;const n=e.anchor;if(!n||!t.checkChild(n,"softBreak"))return!1;const o=e.getFirstRange(),i=o.start.parent,r=o.end.parent;if((zw(i,t)||zw(r,t))&&i!==r)return!1;return!0}(t.schema,e.selection)}}function Lw(t,e,n){const o=e.createElement("softBreak");t.insertContent(o,n),e.setSelection(o,"after")}function zw(t,e){return!t.is("rootElement")&&(e.isLimit(t)||zw(t.parent,e))}class Rw extends rr{static get pluginName(){return"ShiftEnter"}init(){const t=this.editor,e=t.model.schema,n=t.conversion,o=t.editing.view,i=o.document,r=this.editor.t;e.register("softBreak",{allowWhere:"$text",isInline:!0}),n.for("upcast").elementToElement({model:"softBreak",view:"br"}),n.for("downcast").elementToElement({model:"softBreak",view:(t,{writer:e})=>e.createEmptyElement("br")}),o.addObserver(Nw),t.commands.add("shiftEnter",new Ow(t)),this.listenTo(i,"enter",((e,n)=>{i.isComposing||n.preventDefault(),n.isSoft&&(t.execute("shiftEnter"),o.scrollToTheSelection())}),{priority:"low"}),t.accessibility.addKeystrokeInfos({keystrokes:[{label:r("Insert a soft break (a <br> element)"),keystroke:"Shift+Enter"}]})}}class jw extends(B()){constructor(){super(...arguments),this._stack=[]}add(t,e){const n=this._stack,o=n[0];this._insertDescriptor(t);const i=n[0];o===i||Fw(o,i)||this.fire("change:top",{oldDescriptor:o,newDescriptor:i,writer:e})}remove(t,e){const n=this._stack,o=n[0];this._removeDescriptor(t);const i=n[0];o===i||Fw(o,i)||this.fire("change:top",{oldDescriptor:o,newDescriptor:i,writer:e})}_insertDescriptor(t){const e=this._stack,n=e.findIndex((e=>e.id===t.id));if(Fw(t,e[n]))return;n>-1&&e.splice(n,1);let o=0;for(;e[o]&&Vw(e[o],t);)o++;e.splice(o,0,t)}_removeDescriptor(t){const e=this._stack,n=e.findIndex((e=>e.id===t));n>-1&&e.splice(n,1)}}function Fw(t,e){return t&&e&&t.priority==e.priority&&Hw(t.classes)==Hw(e.classes)}function Vw(t,e){return t.priority>e.priority||!(t.priorityHw(e.classes)}function Hw(t){return Array.isArray(t)?t.sort().join(","):t}const Uw='',qw="ck-widget",Gw="ck-widget_selected";function Ww(t){return!!t.is("element")&&!!t.getCustomProperty("widget")}function Kw(t,e,n={}){if(!t.is("containerElement"))throw new _("widget-to-widget-wrong-element-type",null,{element:t});return e.setAttribute("contenteditable","false",t),e.addClass(qw,t),e.setCustomProperty("widget",!0,t),t.getFillerOffset=Xw,e.setCustomProperty("widgetLabel",[],t),n.label&&function(t,e){const n=t.getCustomProperty("widgetLabel");n.push(e)}(t,n.label),n.hasSelectionHandle&&function(t,e){const n=e.createUIElement("div",{class:"ck ck-widget__selection-handle"},(function(t){const e=this.toDomElement(t),n=new yg;return n.set("content",Uw),n.render(),e.appendChild(n.element),e}));e.insert(e.createPositionAt(t,0),n),e.addClass(["ck-widget_with-selection-handle"],t)}(t,e),Qw(t,e),t}function $w(t,e,n){if(e.classes&&n.addClass(yi(e.classes),t),e.attributes)for(const o in e.attributes)n.setAttribute(o,e.attributes[o],t)}function Yw(t,e,n){if(e.classes&&n.removeClass(yi(e.classes),t),e.attributes)for(const o in e.attributes)n.removeAttribute(o,t)}function Qw(t,e,n=$w,o=Yw){const i=new jw;i.on("change:top",((e,i)=>{i.oldDescriptor&&o(t,i.oldDescriptor,i.writer),i.newDescriptor&&n(t,i.newDescriptor,i.writer)}));e.setCustomProperty("addHighlight",((t,e,n)=>i.add(e,n)),t),e.setCustomProperty("removeHighlight",((t,e,n)=>i.remove(e,n)),t)}function Zw(t,e,n={}){return e.addClass(["ck-editor__editable","ck-editor__nested-editable"],t),e.setAttribute("role","textbox",t),e.setAttribute("tabindex","-1",t),n.label&&e.setAttribute("aria-label",n.label,t),e.setAttribute("contenteditable",t.isReadOnly?"false":"true",t),t.on("change:isReadOnly",((n,o,i)=>{e.setAttribute("contenteditable",i?"false":"true",t)})),t.on("change:isFocused",((n,o,i)=>{i?e.addClass("ck-editor__nested-editable_focused",t):e.removeClass("ck-editor__nested-editable_focused",t)})),Qw(t,e),t}function Jw(t,e){const n=t.getSelectedElement();if(n){const o=nA(t);if(o)return e.createRange(e.createPositionAt(n,o))}return e.schema.findOptimalInsertionRange(t)}function Xw(){return null}const tA="widget-type-around";function eA(t,e,n){return!!t&&Ww(t)&&!n.isInline(e)}function nA(t){return t.getAttribute(tA)}var oA=n(8508),iA={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};br()(oA.A,iA);oA.A.locals;const rA=["before","after"],sA=(new DOMParser).parseFromString('',"image/svg+xml").firstChild,aA="ck-widget__type-around_disabled";class cA extends rr{constructor(){super(...arguments),this._currentFakeCaretModelElement=null}static get pluginName(){return"WidgetTypeAround"}static get requires(){return[Pw,lw]}init(){const t=this.editor,e=t.editing.view;this.on("change:isEnabled",((n,o,i)=>{e.change((t=>{for(const n of e.document.roots)i?t.removeClass(aA,n):t.addClass(aA,n)})),i||t.model.change((t=>{t.removeSelectionAttribute(tA)}))})),this._enableTypeAroundUIInjection(),this._enableInsertingParagraphsOnButtonClick(),this._enableInsertingParagraphsOnEnterKeypress(),this._enableInsertingParagraphsOnTypingKeystroke(),this._enableTypeAroundFakeCaretActivationUsingKeyboardArrows(),this._enableDeleteIntegration(),this._enableInsertContentIntegration(),this._enableInsertObjectIntegration(),this._enableDeleteContentIntegration()}destroy(){super.destroy(),this._currentFakeCaretModelElement=null}_insertParagraph(t,e){const n=this.editor,o=n.editing.view,i=n.model.schema.getAttributesWithProperty(t,"copyOnReplace",!0);n.execute("insertParagraph",{position:n.model.createPositionAt(t,e),attributes:i}),o.focus(),o.scrollToTheSelection()}_listenToIfEnabled(t,e,n,o){this.listenTo(t,e,((...t)=>{this.isEnabled&&n(...t)}),o)}_insertParagraphAccordingToFakeCaretPosition(){const t=this.editor.model.document.selection,e=nA(t);if(!e)return!1;const n=t.getSelectedElement();return this._insertParagraph(n,e),!0}_enableTypeAroundUIInjection(){const t=this.editor,e=t.model.schema,n=t.locale.t,o={before:n("Insert paragraph before block"),after:n("Insert paragraph after block")};t.editing.downcastDispatcher.on("insert",((t,i,r)=>{const s=r.mapper.toViewElement(i.item);if(s&&eA(s,i.item,e)){!function(t,e,n){const o=t.createUIElement("div",{class:"ck ck-reset_all ck-widget__type-around"},(function(t){const n=this.toDomElement(t);return function(t,e){for(const n of rA){const o=new Vh({tag:"div",attributes:{class:["ck","ck-widget__type-around__button",`ck-widget__type-around__button_${n}`],title:e[n],"aria-hidden":"true"},children:[t.ownerDocument.importNode(sA,!0)]});t.appendChild(o.render())}}(n,e),function(t){const e=new Vh({tag:"div",attributes:{class:["ck","ck-widget__type-around__fake-caret"]}});t.appendChild(e.render())}(n),n}));t.insert(t.createPositionAt(n,"end"),o)}(r.writer,o,s);s.getCustomProperty("widgetLabel").push((()=>this.isEnabled?n("Press Enter to type after or press Shift + Enter to type before the widget"):""))}}),{priority:"low"})}_enableTypeAroundFakeCaretActivationUsingKeyboardArrows(){const t=this.editor,e=t.model,n=e.document.selection,o=e.schema,i=t.editing.view;function r(t){return`ck-widget_type-around_show-fake-caret_${t}`}this._listenToIfEnabled(i.document,"arrowKey",((t,e)=>{this._handleArrowKeyPress(t,e)}),{context:[Ww,"$text"],priority:"high"}),this._listenToIfEnabled(n,"change:range",((e,n)=>{n.directChange&&t.model.change((t=>{t.removeSelectionAttribute(tA)}))})),this._listenToIfEnabled(e.document,"change:data",(()=>{const e=n.getSelectedElement();if(e){if(eA(t.editing.mapper.toViewElement(e),e,o))return}t.model.change((t=>{t.removeSelectionAttribute(tA)}))})),this._listenToIfEnabled(t.editing.downcastDispatcher,"selection",((t,e,n)=>{const i=n.writer;if(this._currentFakeCaretModelElement){const t=n.mapper.toViewElement(this._currentFakeCaretModelElement);t&&(i.removeClass(rA.map(r),t),this._currentFakeCaretModelElement=null)}const s=e.selection.getSelectedElement();if(!s)return;const a=n.mapper.toViewElement(s);if(!eA(a,s,o))return;const c=nA(e.selection);c&&(i.addClass(r(c),a),this._currentFakeCaretModelElement=s)})),this._listenToIfEnabled(t.ui.focusTracker,"change:isFocused",((e,n,o)=>{o||t.model.change((t=>{t.removeSelectionAttribute(tA)}))}))}_handleArrowKeyPress(t,e){const n=this.editor,o=n.model,i=o.document.selection,r=o.schema,s=n.editing.view,a=function(t,e){const n=vi(t,e);return"down"===n||"right"===n}(e.keyCode,n.locale.contentLanguageDirection),c=s.document.selection.getSelectedElement();let l;eA(c,n.editing.mapper.toModelElement(c),r)?l=this._handleArrowKeyPressOnSelectedWidget(a):i.isCollapsed?l=this._handleArrowKeyPressWhenSelectionNextToAWidget(a):e.shiftKey||(l=this._handleArrowKeyPressWhenNonCollapsedSelection(a)),l&&(e.preventDefault(),t.stop())}_handleArrowKeyPressOnSelectedWidget(t){const e=this.editor.model,n=nA(e.document.selection);return e.change((e=>{if(!n)return e.setSelectionAttribute(tA,t?"after":"before"),!0;if(!(n===(t?"after":"before")))return e.removeSelectionAttribute(tA),!0;return!1}))}_handleArrowKeyPressWhenSelectionNextToAWidget(t){const e=this.editor,n=e.model,o=n.schema,i=e.plugins.get("Widget"),r=i._getObjectElementNextToSelection(t);return!!eA(e.editing.mapper.toViewElement(r),r,o)&&(n.change((e=>{i._setSelectionOverElement(r),e.setSelectionAttribute(tA,t?"before":"after")})),!0)}_handleArrowKeyPressWhenNonCollapsedSelection(t){const e=this.editor,n=e.model,o=n.schema,i=e.editing.mapper,r=n.document.selection,s=t?r.getLastPosition().nodeBefore:r.getFirstPosition().nodeAfter;return!!eA(i.toViewElement(s),s,o)&&(n.change((e=>{e.setSelection(s,"on"),e.setSelectionAttribute(tA,t?"after":"before")})),!0)}_enableInsertingParagraphsOnButtonClick(){const t=this.editor,e=t.editing.view;this._listenToIfEnabled(e.document,"mousedown",((n,o)=>{const i=o.domTarget.closest(".ck-widget__type-around__button");if(!i)return;const r=function(t){return t.classList.contains("ck-widget__type-around__button_before")?"before":"after"}(i),s=function(t,e){const n=t.closest(".ck-widget");return e.mapDomToView(n)}(i,e.domConverter),a=t.editing.mapper.toModelElement(s);this._insertParagraph(a,r),o.preventDefault(),n.stop()}))}_enableInsertingParagraphsOnEnterKeypress(){const t=this.editor,e=t.model.document.selection,n=t.editing.view;this._listenToIfEnabled(n.document,"enter",((n,o)=>{if("atTarget"!=n.eventPhase)return;const i=e.getSelectedElement(),r=t.editing.mapper.toViewElement(i),s=t.model.schema;let a;this._insertParagraphAccordingToFakeCaretPosition()?a=!0:eA(r,i,s)&&(this._insertParagraph(i,o.isSoft?"before":"after"),a=!0),a&&(o.preventDefault(),n.stop())}),{context:Ww})}_enableInsertingParagraphsOnTypingKeystroke(){const t=this.editor.editing.view.document;this._listenToIfEnabled(t,"insertText",((e,n)=>{this._insertParagraphAccordingToFakeCaretPosition()&&(n.selection=t.selection)}),{priority:"high"}),c.isAndroid?this._listenToIfEnabled(t,"keydown",((t,e)=>{229==e.keyCode&&this._insertParagraphAccordingToFakeCaretPosition()})):this._listenToIfEnabled(t,"compositionstart",(()=>{this._insertParagraphAccordingToFakeCaretPosition()}),{priority:"high"})}_enableDeleteIntegration(){const t=this.editor,e=t.editing.view,n=t.model,o=n.schema;this._listenToIfEnabled(e.document,"delete",((e,i)=>{if("atTarget"!=e.eventPhase)return;const r=nA(n.document.selection);if(!r)return;const s=i.direction,a=n.document.selection.getSelectedElement(),c="forward"==s;if("before"===r===c)t.execute("delete",{selection:n.createSelection(a,"on")});else{const e=o.getNearestSelectionRange(n.createPositionAt(a,r),s);if(e)if(e.isCollapsed){const i=n.createSelection(e.start);if(n.modifySelection(i,{direction:s}),i.focus.isEqual(e.start)){const t=function(t,e){let n=e;for(const o of e.getAncestors({parentFirst:!0})){if(o.childCount>1||t.isLimit(o))break;n=o}return n}(o,e.start.parent);n.deleteContent(n.createSelection(t,"on"),{doNotAutoparagraph:!0})}else n.change((n=>{n.setSelection(e),t.execute(c?"deleteForward":"delete")}))}else n.change((n=>{n.setSelection(e),t.execute(c?"deleteForward":"delete")}))}i.preventDefault(),e.stop()}),{context:Ww})}_enableInsertContentIntegration(){const t=this.editor,e=this.editor.model,n=e.document.selection;this._listenToIfEnabled(t.model,"insertContent",((t,[o,i])=>{if(i&&!i.is("documentSelection"))return;const r=nA(n);return r?(t.stop(),e.change((t=>{const i=n.getSelectedElement(),s=e.createPositionAt(i,r),a=t.createSelection(s),c=e.insertContent(o,a);return t.setSelection(a),c}))):void 0}),{priority:"high"})}_enableInsertObjectIntegration(){const t=this.editor,e=this.editor.model.document.selection;this._listenToIfEnabled(t.model,"insertObject",((t,n)=>{const[,o,i={}]=n;if(o&&!o.is("documentSelection"))return;const r=nA(e);r&&(i.findOptimalPosition=r,n[3]=i)}),{priority:"high"})}_enableDeleteContentIntegration(){const t=this.editor,e=this.editor.model.document.selection;this._listenToIfEnabled(t.model,"deleteContent",((t,[n])=>{if(n&&!n.is("documentSelection"))return;nA(e)&&t.stop()}),{priority:"high"})}}function lA(t){const e=t.model;return(n,o)=>{const i=o.keyCode==bi.arrowup,r=o.keyCode==bi.arrowdown,s=o.shiftKey,a=e.document.selection;if(!i&&!r)return;const c=r;if(s&&function(t,e){return!t.isCollapsed&&t.isBackward==e}(a,c))return;const l=function(t,e,n){const o=t.model;if(n){const t=e.isCollapsed?e.focus:e.getLastPosition(),n=dA(o,t,"forward");if(!n)return null;const i=o.createRange(t,n),r=uA(o.schema,i,"backward");return r?o.createRange(t,r):null}{const t=e.isCollapsed?e.focus:e.getFirstPosition(),n=dA(o,t,"backward");if(!n)return null;const i=o.createRange(n,t),r=uA(o.schema,i,"forward");return r?o.createRange(r,t):null}}(t,a,c);if(l){if(l.isCollapsed){if(a.isCollapsed)return;if(s)return}(l.isCollapsed||function(t,e,n){const o=t.model,i=t.view.domConverter;if(n){const t=o.createSelection(e.start);o.modifySelection(t),t.focus.isAtEnd||e.start.isEqual(t.focus)||(e=o.createRange(t.focus,e.end))}const r=t.mapper.toViewRange(e),s=i.viewRangeToDom(r),a=Ho.getDomRangeRects(s);let c;for(const t of a)if(void 0!==c){if(Math.round(t.top)>=c)return!1;c=Math.max(c,Math.round(t.bottom))}else c=Math.round(t.bottom);return!0}(t,l,c))&&(e.change((t=>{const n=c?l.end:l.start;if(s){const o=e.createSelection(a.anchor);o.setFocus(n),t.setSelection(o)}else t.setSelection(n)})),n.stop(),o.preventDefault(),o.stopPropagation())}}}function dA(t,e,n){const o=t.schema,i=t.createRangeIn(e.root),r="forward"==n?"elementStart":"elementEnd";for(const{previousPosition:t,item:s,type:a}of i.getWalker({startPosition:e,direction:n})){if(o.isLimit(s)&&!o.isInline(s))return t;if(a==r&&o.isBlock(s))return null}return null}function uA(t,e,n){const o="backward"==n?e.end:e.start;if(t.checkChild(o,"$text"))return o;for(const{nextPosition:o}of e.getWalker({direction:n}))if(t.checkChild(o,"$text"))return o;return null}var hA=n(695),gA={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};br()(hA.A,gA);hA.A.locals;class mA extends rr{constructor(){super(...arguments),this._previouslySelected=new Set}static get pluginName(){return"Widget"}static get requires(){return[cA,lw]}init(){const t=this.editor,e=t.editing.view,n=e.document,o=t.t;this.editor.editing.downcastDispatcher.on("selection",((e,n,o)=>{const i=o.writer,r=n.selection;if(r.isCollapsed)return;const s=r.getSelectedElement();if(!s)return;const a=t.editing.mapper.toViewElement(s);var c;Ww(a)&&(o.consumable.consume(r,"selection")&&i.setSelection(i.createRangeOn(a),{fake:!0,label:(c=a,c.getCustomProperty("widgetLabel").reduce(((t,e)=>"function"==typeof e?t?t+". "+e():e():t?t+". "+e:e),""))}))})),this.editor.editing.downcastDispatcher.on("selection",((t,e,n)=>{this._clearPreviouslySelectedWidgets(n.writer);const o=n.writer,i=o.document.selection;let r=null;for(const t of i.getRanges())for(const e of t){const t=e.item;Ww(t)&&!pA(t,r)&&(o.addClass(Gw,t),this._previouslySelected.add(t),r=t)}}),{priority:"low"}),e.addObserver(_h),this.listenTo(n,"mousedown",((...t)=>this._onMousedown(...t))),this.listenTo(n,"arrowKey",((...t)=>{this._handleSelectionChangeOnArrowKeyPress(...t)}),{context:[Ww,"$text"]}),this.listenTo(n,"arrowKey",((...t)=>{this._preventDefaultOnArrowKeyPress(...t)}),{context:"$root"}),this.listenTo(n,"arrowKey",lA(this.editor.editing),{context:"$text"}),this.listenTo(n,"delete",((t,e)=>{this._handleDelete("forward"==e.direction)&&(e.preventDefault(),t.stop())}),{context:"$root"}),this.listenTo(n,"tab",((t,e)=>{"atTarget"==t.eventPhase&&(e.shiftKey||this._selectFirstNestedEditable()&&(e.preventDefault(),t.stop()))}),{context:Ww,priority:"low"}),this.listenTo(n,"tab",((t,e)=>{e.shiftKey&&this._selectAncestorWidget()&&(e.preventDefault(),t.stop())}),{priority:"low"}),this.listenTo(n,"keydown",((t,e)=>{e.keystroke==bi.esc&&this._selectAncestorWidget()&&(e.preventDefault(),t.stop())}),{priority:"low"}),t.accessibility.addKeystrokeInfoGroup({id:"widget",label:o("Keystrokes that can be used when a widget is selected (for example: image, table, etc.)"),keystrokes:[{label:o("Insert a new paragraph directly after a widget"),keystroke:"Enter"},{label:o("Insert a new paragraph directly before a widget"),keystroke:"Shift+Enter"},{label:o("Move the caret to allow typing directly before a widget"),keystroke:[["arrowup"],["arrowleft"]]},{label:o("Move the caret to allow typing directly after a widget"),keystroke:[["arrowdown"],["arrowright"]]}]})}_onMousedown(t,e){const n=this.editor,o=n.editing.view,i=o.document;let r=e.target;if(e.domEvent.detail>=3)return void(this._selectBlockContent(r)&&e.preventDefault());if(function(t){let e=t;for(;e;){if(e.is("editableElement")&&!e.is("rootElement"))return!0;if(Ww(e))return!1;e=e.parent}return!1}(r))return;if(!Ww(r)&&(r=r.findAncestor(Ww),!r))return;c.isAndroid&&e.preventDefault(),i.isFocused||o.focus();const s=n.editing.mapper.toModelElement(r);this._setSelectionOverElement(s)}_selectBlockContent(t){const e=this.editor,n=e.model,o=e.editing.mapper,i=n.schema,r=o.findMappedViewAncestor(this.editor.editing.view.createPositionAt(t,0)),s=function(t,e){for(const n of t.getAncestors({includeSelf:!0,parentFirst:!0})){if(e.checkChild(n,"$text"))return n;if(e.isLimit(n)&&!e.isObject(n))break}return null}(o.toModelElement(r),n.schema);return!!s&&(n.change((t=>{const e=i.isLimit(s)?null:function(t,e){const n=new Oc({startPosition:t});for(const{item:t}of n){if(e.isLimit(t)||!t.is("element"))return null;if(e.checkChild(t,"$text"))return t}return null}(t.createPositionAfter(s),i),n=t.createPositionAt(s,0),o=e?t.createPositionAt(e,0):t.createPositionAt(s,"end");t.setSelection(t.createRange(n,o))})),!0)}_handleSelectionChangeOnArrowKeyPress(t,e){const n=e.keyCode,o=this.editor.model,i=o.schema,r=o.document.selection,s=r.getSelectedElement(),a=vi(n,this.editor.locale.contentLanguageDirection),c="down"==a||"right"==a,l="up"==a||"down"==a;if(s&&i.isObject(s)){const n=c?r.getLastPosition():r.getFirstPosition(),s=i.getNearestSelectionRange(n,c?"forward":"backward");return void(s&&(o.change((t=>{t.setSelection(s)})),e.preventDefault(),t.stop()))}if(!r.isCollapsed&&!e.shiftKey){const n=r.getFirstPosition(),s=r.getLastPosition(),a=n.nodeAfter,l=s.nodeBefore;return void((a&&i.isObject(a)||l&&i.isObject(l))&&(o.change((t=>{t.setSelection(c?s:n)})),e.preventDefault(),t.stop()))}if(!r.isCollapsed)return;const d=this._getObjectElementNextToSelection(c);if(d&&i.isObject(d)){if(i.isInline(d)&&l)return;this._setSelectionOverElement(d),e.preventDefault(),t.stop()}}_preventDefaultOnArrowKeyPress(t,e){const n=this.editor.model,o=n.schema,i=n.document.selection.getSelectedElement();i&&o.isObject(i)&&(e.preventDefault(),t.stop())}_handleDelete(t){const e=this.editor.model.document.selection;if(!this.editor.model.canEditAt(e))return;if(!e.isCollapsed)return;const n=this._getObjectElementNextToSelection(t);return n?(this.editor.model.change((t=>{let o=e.anchor.parent;for(;o.isEmpty;){const e=o;o=e.parent,t.remove(e)}this._setSelectionOverElement(n)})),!0):void 0}_setSelectionOverElement(t){this.editor.model.change((e=>{e.setSelection(e.createRangeOn(t))}))}_getObjectElementNextToSelection(t){const e=this.editor.model,n=e.schema,o=e.document.selection,i=e.createSelection(o);if(e.modifySelection(i,{direction:t?"forward":"backward"}),i.isEqual(o))return null;const r=t?i.focus.nodeBefore:i.focus.nodeAfter;return r&&n.isObject(r)?r:null}_clearPreviouslySelectedWidgets(t){for(const e of this._previouslySelected)t.removeClass(Gw,e);this._previouslySelected.clear()}_selectFirstNestedEditable(){const t=this.editor,e=this.editor.editing.view.document;for(const n of e.selection.getFirstRange().getItems())if(n.is("editableElement")){const e=t.editing.mapper.toModelElement(n);if(!e)continue;const o=t.model.createPositionAt(e,0),i=t.model.schema.getNearestSelectionRange(o,"forward");return t.model.change((t=>{t.setSelection(i)})),!0}return!1}_selectAncestorWidget(){const t=this.editor,e=t.editing.mapper,n=t.editing.view.document.selection.getFirstPosition().parent,o=(n.is("$text")?n.parent:n).findAncestor(Ww);if(!o)return!1;const i=e.toModelElement(o);return!!i&&(t.model.change((t=>{t.setSelection(i,"on")})),!0)}}function pA(t,e){return!!e&&Array.from(t.getAncestors()).includes(e)}class fA extends rr{constructor(){super(...arguments),this._toolbarDefinitions=new Map}static get requires(){return[Tf]}static get pluginName(){return"WidgetToolbarRepository"}init(){const t=this.editor;if(t.plugins.has("BalloonToolbar")){const e=t.plugins.get("BalloonToolbar");this.listenTo(e,"show",(e=>{(function(t){const e=t.getSelectedElement();return!(!e||!Ww(e))})(t.editing.view.document.selection)&&e.stop()}),{priority:"high"})}this._balloon=this.editor.plugins.get("ContextualBalloon"),this.on("change:isEnabled",(()=>{this._updateToolbarsVisibility()})),this.listenTo(t.ui,"update",(()=>{this._updateToolbarsVisibility()})),this.listenTo(t.ui.focusTracker,"change:isFocused",(()=>{this._updateToolbarsVisibility()}),{priority:"low"})}destroy(){super.destroy();for(const t of this._toolbarDefinitions.values())t.view.destroy()}register(t,{ariaLabel:e,items:n,getRelatedElement:o,balloonClassName:i="ck-toolbar-container"}){if(!n.length)return void C("widget-toolbar-no-items",{toolbarId:t});const r=this.editor,s=r.t,a=new bm(r.locale);if(a.ariaLabel=e||s("Widget toolbar"),this._toolbarDefinitions.has(t))throw new _("widget-toolbar-duplicated",this,{toolbarId:t});const c={view:a,getRelatedElement:o,balloonClassName:i,itemsConfig:n,initialized:!1};r.ui.addToolbar(a,{isContextual:!0,beforeFocus:()=>{const t=o(r.editing.view.document.selection);t&&this._showToolbar(c,t)},afterBlur:()=>{this._hideToolbar(c)}}),this._toolbarDefinitions.set(t,c)}_updateToolbarsVisibility(){let t=0,e=null,n=null;for(const o of this._toolbarDefinitions.values()){const i=o.getRelatedElement(this.editor.editing.view.document.selection);if(this.isEnabled&&i)if(this.editor.ui.focusTracker.isFocused){const r=i.getAncestors().length;r>t&&(t=r,e=i,n=o)}else this._isToolbarVisible(o)&&this._hideToolbar(o);else this._isToolbarInBalloon(o)&&this._hideToolbar(o)}n&&this._showToolbar(n,e)}_hideToolbar(t){this._balloon.remove(t.view),this.stopListening(this._balloon,"change:visibleView")}_showToolbar(t,e){this._isToolbarVisible(t)?kA(this.editor,e):this._isToolbarInBalloon(t)||(t.initialized||(t.initialized=!0,t.view.fillFromConfig(t.itemsConfig,this.editor.ui.componentFactory)),this._balloon.add({view:t.view,position:bA(this.editor,e),balloonClassName:t.balloonClassName}),this.listenTo(this._balloon,"change:visibleView",(()=>{for(const t of this._toolbarDefinitions.values())if(this._isToolbarVisible(t)){const e=t.getRelatedElement(this.editor.editing.view.document.selection);kA(this.editor,e)}})))}_isToolbarVisible(t){return this._balloon.visibleView===t.view}_isToolbarInBalloon(t){return this._balloon.hasView(t.view)}}function kA(t,e){const n=t.plugins.get("ContextualBalloon"),o=bA(t,e);n.updatePosition(o)}function bA(t,e){const n=t.editing.view,o=Np.defaultPositions;return{target:n.domConverter.mapViewToDom(e),positions:[o.northArrowSouth,o.northArrowSouthWest,o.northArrowSouthEast,o.southArrowNorth,o.southArrowNorthWest,o.southArrowNorthEast,o.viewportStickyNorth]}}K();Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;K();var wA=n(4095),AA={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};br()(wA.A,AA);wA.A.locals;const _A=Qo("px");class CA extends dg{constructor(){super();const t=this.bindTemplate;this.set({isVisible:!1,left:null,top:null,width:null}),this.setTemplate({tag:"div",attributes:{class:["ck","ck-clipboard-drop-target-line",t.if("isVisible","ck-hidden",(t=>!t))],style:{left:t.to("left",(t=>_A(t))),top:t.to("top",(t=>_A(t))),width:t.to("width",(t=>_A(t)))}}})}}class vA extends rr{constructor(){super(...arguments),this.removeDropMarkerDelayed=tr((()=>this.removeDropMarker()),40),this._updateDropMarkerThrottled=Up((t=>this._updateDropMarker(t)),40),this._reconvertMarkerThrottled=Up((()=>{this.editor.model.markers.has("drop-target")&&this.editor.editing.reconvertMarker("drop-target")}),0),this._dropTargetLineView=new CA,this._domEmitter=new(Bo()),this._scrollables=new Map}static get pluginName(){return"DragDropTarget"}init(){this._setupDropMarker()}destroy(){this._domEmitter.stopListening();for(const{resizeObserver:t}of this._scrollables.values())t.destroy();return this._updateDropMarkerThrottled.cancel(),this.removeDropMarkerDelayed.cancel(),this._reconvertMarkerThrottled.cancel(),super.destroy()}updateDropMarker(t,e,n,o,i,r){this.removeDropMarkerDelayed.cancel();const s=yA(this.editor,t,e,n,o,i,r);if(s)return r&&r.containsRange(s)?this.removeDropMarker():void this._updateDropMarkerThrottled(s)}getFinalDropRange(t,e,n,o,i,r){const s=yA(this.editor,t,e,n,o,i,r);return this.removeDropMarker(),s}removeDropMarker(){const t=this.editor.model;this.removeDropMarkerDelayed.cancel(),this._updateDropMarkerThrottled.cancel(),this._dropTargetLineView.isVisible=!1,t.markers.has("drop-target")&&t.change((t=>{t.removeMarker("drop-target")}))}_setupDropMarker(){const t=this.editor;t.ui.view.body.add(this._dropTargetLineView),t.conversion.for("editingDowncast").markerToHighlight({model:"drop-target",view:{classes:["ck-clipboard-drop-target-range"]}}),t.conversion.for("editingDowncast").markerToElement({model:"drop-target",view:(e,{writer:n})=>{if(t.model.schema.checkChild(e.markerRange.start,"$text"))return this._dropTargetLineView.isVisible=!1,this._createDropTargetPosition(n);e.markerRange.isCollapsed?this._updateDropTargetLine(e.markerRange):this._dropTargetLineView.isVisible=!1}})}_updateDropMarker(t){const e=this.editor,n=e.model.markers;e.model.change((e=>{n.has("drop-target")?n.get("drop-target").getRange().isEqual(t)||e.updateMarker("drop-target",{range:t}):e.addMarker("drop-target",{range:t,usingOperation:!1,affectsData:!1})}))}_createDropTargetPosition(t){return t.createUIElement("span",{class:"ck ck-clipboard-drop-target-position"},(function(t){const e=this.toDomElement(t);return e.append("⁠",t.createElement("span"),"⁠"),e}))}_updateDropTargetLine(t){const e=this.editor.editing,n=t.start.nodeBefore,o=t.start.nodeAfter,i=t.start.parent,r=n?e.mapper.toViewElement(n):null,s=r?e.view.domConverter.mapViewToDom(r):null,a=o?e.mapper.toViewElement(o):null,c=a?e.view.domConverter.mapViewToDom(a):null,l=e.mapper.toViewElement(i);if(!l)return;const d=e.view.domConverter.mapViewToDom(l),u=this._getScrollableRect(l),{scrollX:h,scrollY:g}=Lo.window,m=s?new Ho(s):null,p=c?new Ho(c):null,f=new Ho(d).excludeScrollbarsAndBorders(),k=m?m.bottom:f.top,b=p?p.top:f.bottom,w=Lo.window.getComputedStyle(d),A=k<=b?(k+b)/2:b;if(u.topa.schema.checkChild(r,t)))){if(a.schema.checkChild(r,"$text"))return a.createRange(r);if(e)return EA(t,IA(t,e.parent),o,i)}}}else if(a.schema.isInline(l))return EA(t,l,o,i);if(a.schema.isBlock(l))return EA(t,l,o,i);if(a.schema.checkChild(l,"$block")){const e=Array.from(l.getChildren()).filter((e=>e.is("element")&&!xA(t,e)));let n=0,r=e.length;if(0==r)return a.createRange(a.createPositionAt(l,"end"));for(;ne in t?MA(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;class LA extends rr{constructor(){super(...arguments),this._isBlockDragging=!1,this._domEmitter=new(Bo())}static get pluginName(){return"DragDropBlockToolbar"}init(){const t=this.editor;if(this.listenTo(t,"change:isReadOnly",((t,e,n)=>{n?(this.forceDisabled("readOnlyMode"),this._isBlockDragging=!1):this.clearForceDisabled("readOnlyMode")})),c.isAndroid&&this.forceDisabled("noAndroidSupport"),t.plugins.has("BlockToolbar")){const e=t.plugins.get("BlockToolbar").buttonView.element;this._domEmitter.listenTo(e,"dragstart",((t,e)=>this._handleBlockDragStart(e))),this._domEmitter.listenTo(Lo.document,"dragover",((t,e)=>this._handleBlockDragging(e))),this._domEmitter.listenTo(Lo.document,"drop",((t,e)=>this._handleBlockDragging(e))),this._domEmitter.listenTo(Lo.document,"dragend",(()=>this._handleBlockDragEnd()),{useCapture:!0}),this.isEnabled&&e.setAttribute("draggable","true"),this.on("change:isEnabled",((t,n,o)=>{e.setAttribute("draggable",o?"true":"false")}))}}destroy(){return this._domEmitter.stopListening(),super.destroy()}_handleBlockDragStart(t){if(!this.isEnabled)return;const e=this.editor.model,n=e.document.selection,o=this.editor.editing.view,i=Array.from(n.getSelectedBlocks()),r=e.createRange(e.createPositionBefore(i[0]),e.createPositionAfter(i[i.length-1]));e.change((t=>t.setSelection(r))),this._isBlockDragging=!0,o.focus(),o.getObserver(_b).onDomEvent(t)}_handleBlockDragging(t){if(!this.isEnabled||!this._isBlockDragging)return;const e=t.clientX+("ltr"==this.editor.locale.contentLanguageDirection?100:-100),n=t.clientY,o=document.elementFromPoint(e,n),i=this.editor.editing.view;var r,s;o&&o.closest(".ck-editor__editable")&&i.getObserver(_b).onDomEvent((r=((t,e)=>{for(var n in e||(e={}))NA.call(e,n)&&OA(t,n,e[n]);if(BA)for(var n of BA(e))PA.call(e,n)&&OA(t,n,e[n]);return t})({},t),s={type:t.type,dataTransfer:t.dataTransfer,target:o,clientX:e,clientY:n,preventDefault:()=>t.preventDefault(),stopPropagation:()=>t.stopPropagation()},TA(r,SA(s))))}_handleBlockDragEnd(){this._isBlockDragging=!1}}var zA=n(7793),RA={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};br()(zA.A,RA);zA.A.locals;class jA extends rr{constructor(){super(...arguments),this._clearDraggableAttributesDelayed=tr((()=>this._clearDraggableAttributes()),40),this._blockMode=!1,this._domEmitter=new(Bo())}static get pluginName(){return"DragDrop"}static get requires(){return[Yb,mA,vA,LA]}init(){const t=this.editor,e=t.editing.view;this._draggedRange=null,this._draggingUid="",this._draggableElement=null,e.addObserver(_b),e.addObserver(_h),this._setupDragging(),this._setupContentInsertionIntegration(),this._setupClipboardInputIntegration(),this._setupDraggableAttributeHandling(),this.listenTo(t,"change:isReadOnly",((t,e,n)=>{n?this.forceDisabled("readOnlyMode"):this.clearForceDisabled("readOnlyMode")})),this.on("change:isEnabled",((t,e,n)=>{n||this._finalizeDragging(!1)})),c.isAndroid&&this.forceDisabled("noAndroidSupport")}destroy(){return this._draggedRange&&(this._draggedRange.detach(),this._draggedRange=null),this._previewContainer&&this._previewContainer.remove(),this._domEmitter.stopListening(),this._clearDraggableAttributesDelayed.cancel(),super.destroy()}_setupDragging(){const t=this.editor,e=t.model,n=t.editing.view,o=n.document,i=t.plugins.get(vA);this.listenTo(o,"dragstart",((t,n)=>{if(n.target&&n.target.is("editableElement"))return void n.preventDefault();if(this._prepareDraggedRange(n.target),!this._draggedRange)return void n.preventDefault();this._draggingUid=k(),n.dataTransfer.effectAllowed=this.isEnabled?"copyMove":"copy",n.dataTransfer.setData("application/ckeditor5-dragging-uid",this._draggingUid);const o=e.createSelection(this._draggedRange.toRange());this.editor.plugins.get("ClipboardPipeline")._fireOutputTransformationEvent(n.dataTransfer,o,"dragstart");const{dataTransfer:i,domTarget:r,domEvent:s}=n,{clientX:a}=s;this._updatePreview({dataTransfer:i,domTarget:r,clientX:a}),n.stopPropagation(),this.isEnabled||(this._draggedRange.detach(),this._draggedRange=null,this._draggingUid="")}),{priority:"low"}),this.listenTo(o,"dragend",((t,e)=>{this._finalizeDragging(!e.dataTransfer.isCanceled&&"move"==e.dataTransfer.dropEffect)}),{priority:"low"}),this._domEmitter.listenTo(Lo.document,"dragend",(()=>{this._blockMode=!1}),{useCapture:!0}),this.listenTo(o,"dragenter",(()=>{this.isEnabled&&n.focus()})),this.listenTo(o,"dragleave",(()=>{i.removeDropMarkerDelayed()})),this.listenTo(o,"dragging",((t,e)=>{if(!this.isEnabled)return void(e.dataTransfer.dropEffect="none");const{clientX:n,clientY:o}=e.domEvent;i.updateDropMarker(e.target,e.targetRanges,n,o,this._blockMode,this._draggedRange),this._draggedRange||(e.dataTransfer.dropEffect="copy"),c.isGecko||("copy"==e.dataTransfer.effectAllowed?e.dataTransfer.dropEffect="copy":["all","copyMove"].includes(e.dataTransfer.effectAllowed)&&(e.dataTransfer.dropEffect="move")),t.stop()}),{priority:"low"})}_setupClipboardInputIntegration(){const t=this.editor,e=t.editing.view.document,n=t.plugins.get(vA);this.listenTo(e,"clipboardInput",((e,o)=>{if("drop"!=o.method)return;const{clientX:i,clientY:r}=o.domEvent,s=n.getFinalDropRange(o.target,o.targetRanges,i,r,this._blockMode,this._draggedRange);if(!s)return this._finalizeDragging(!1),void e.stop();this._draggedRange&&this._draggingUid!=o.dataTransfer.getData("application/ckeditor5-dragging-uid")&&(this._draggedRange.detach(),this._draggedRange=null,this._draggingUid="");if("move"==FA(o.dataTransfer)&&this._draggedRange&&this._draggedRange.containsRange(s,!0))return this._finalizeDragging(!1),void e.stop();o.targetRanges=[t.editing.mapper.toViewRange(s)]}),{priority:"high"})}_setupContentInsertionIntegration(){const t=this.editor.plugins.get(Yb);t.on("contentInsertion",((t,e)=>{if(!this.isEnabled||"drop"!==e.method)return;const n=e.targetRanges.map((t=>this.editor.editing.mapper.toModelRange(t)));this.editor.model.change((t=>t.setSelection(n)))}),{priority:"high"}),t.on("contentInsertion",((t,e)=>{if(!this.isEnabled||"drop"!==e.method)return;const n="move"==FA(e.dataTransfer),o=!e.resultRange||!e.resultRange.isCollapsed;this._finalizeDragging(o&&n)}),{priority:"lowest"})}_setupDraggableAttributeHandling(){const t=this.editor,e=t.editing.view,n=e.document;this.listenTo(n,"mousedown",((o,i)=>{if(c.isAndroid||!i)return;this._clearDraggableAttributesDelayed.cancel();let r=VA(i.target);if(c.isBlink&&!t.isReadOnly&&!r&&!n.selection.isCollapsed){const t=n.selection.getSelectedElement();t&&Ww(t)||(r=n.selection.editableElement)}r&&(e.change((t=>{t.setAttribute("draggable","true",r)})),this._draggableElement=t.editing.mapper.toModelElement(r))})),this.listenTo(n,"mouseup",(()=>{c.isAndroid||this._clearDraggableAttributesDelayed()}))}_clearDraggableAttributes(){const t=this.editor.editing;t.view.change((e=>{this._draggableElement&&"$graveyard"!=this._draggableElement.root.rootName&&e.removeAttribute("draggable",t.mapper.toViewElement(this._draggableElement)),this._draggableElement=null}))}_finalizeDragging(t){const e=this.editor,n=e.model;if(e.plugins.get(vA).removeDropMarker(),this._clearDraggableAttributes(),e.plugins.has("WidgetToolbarRepository")){e.plugins.get("WidgetToolbarRepository").clearForceDisabled("dragDrop")}this._draggingUid="",this._previewContainer&&(this._previewContainer.remove(),this._previewContainer=void 0),this._draggedRange&&(t&&this.isEnabled&&n.change((t=>{const e=n.createSelection(this._draggedRange);n.deleteContent(e,{doNotAutoparagraph:!0});const o=e.getFirstPosition().parent;o.isEmpty&&!n.schema.checkChild(o,"$text")&&n.schema.checkChild(o,"paragraph")&&t.insertElement("paragraph",o,0)})),this._draggedRange.detach(),this._draggedRange=null)}_prepareDraggedRange(t){const e=this.editor,n=e.model,o=n.document.selection,i=t?VA(t):null;if(i){const t=e.editing.mapper.toModelElement(i);if(this._draggedRange=hl.fromRange(n.createRangeOn(t)),this._blockMode=n.schema.isBlock(t),e.plugins.has("WidgetToolbarRepository")){e.plugins.get("WidgetToolbarRepository").forceDisabled("dragDrop")}return}if(o.isCollapsed&&!o.getFirstPosition().parent.isEmpty)return;const r=Array.from(o.getSelectedBlocks()),s=o.getFirstRange();if(0==r.length)return void(this._draggedRange=hl.fromRange(s));const a=HA(n,r);if(r.length>1)this._draggedRange=hl.fromRange(a),this._blockMode=!0;else if(1==r.length){const t=s.start.isTouching(a.start)&&s.end.isTouching(a.end);this._draggedRange=hl.fromRange(t?a:s),this._blockMode=t}n.change((t=>t.setSelection(this._draggedRange.toRange())))}_updatePreview({dataTransfer:t,domTarget:e,clientX:n}){const o=this.editor.editing.view,i=o.document.selection.editableElement,r=o.domConverter.mapViewToDom(i),s=Lo.window.getComputedStyle(r);this._previewContainer?this._previewContainer.firstElementChild&&this._previewContainer.removeChild(this._previewContainer.firstElementChild):(this._previewContainer=wt(Lo.document,"div",{style:"position: fixed; left: -999999px;"}),Lo.document.body.appendChild(this._previewContainer));const a=new Ho(r);if(r.contains(e))return;const l=parseFloat(s.paddingLeft),d=wt(Lo.document,"div");d.className="ck ck-content",d.style.width=s.width,d.style.paddingLeft=`${a.left-n+l}px`,c.isiOS&&(d.style.backgroundColor="white"),d.innerHTML=t.getData("text/html"),t.setDragImage(d,0,0),this._previewContainer.appendChild(d)}}function FA(t){return c.isGecko?t.dropEffect:["all","copyMove"].includes(t.effectAllowed)?"move":"copy"}function VA(t){if(t.is("editableElement"))return null;if(t.hasClass("ck-widget__selection-handle"))return t.findAncestor(Ww);if(Ww(t))return t;const e=t.findAncestor((t=>Ww(t)||t.is("editableElement")));return Ww(e)?e:null}function HA(t,e){const n=e[0],o=e[e.length-1],i=n.getCommonAncestor(o),r=t.createPositionBefore(n),s=t.createPositionAfter(o);if(i&&i.is("element")&&!t.schema.isLimit(i)){const e=t.createRangeOn(i),n=r.isTouching(e.start),o=s.isTouching(e.end);if(n&&o)return HA(t,[i])}return t.createRange(r,s)}class UA extends rr{static get pluginName(){return"PastePlainText"}static get requires(){return[Yb]}init(){const t=this.editor,e=t.model,n=t.editing.view,o=n.document,i=e.document.selection;let r=!1;n.addObserver(_b),this.listenTo(o,"keydown",((t,e)=>{r=e.shiftKey})),t.plugins.get(Yb).on("contentInsertion",((t,n)=>{(r||function(t,e){if(t.childCount>1)return!1;const n=t.getChild(0);if(e.isObject(n))return!1;return 0==Array.from(n.getAttributeKeys()).length}(n.content,e.schema))&&e.change((t=>{const o=Array.from(i.getAttributes()).filter((([t])=>e.schema.getAttributeProperties(t).isFormatting));i.isCollapsed||e.deleteContent(i,{doNotAutoparagraph:!0}),o.push(...i.getAttributes());const r=t.createRangeIn(n.content);for(const e of r.getItems())e.is("$textProxy")&&t.setAttributes(o,e)}))}))}}class qA extends rr{static get pluginName(){return"Clipboard"}static get requires(){return[$b,Yb,jA,UA]}init(){const t=this.editor,e=this.editor.t;t.accessibility.addKeystrokeInfos({keystrokes:[{label:e("Copy selected content"),keystroke:"CTRL+C"},{label:e("Paste content"),keystroke:"CTRL+V"},{label:e("Paste content as plain text"),keystroke:"CTRL+SHIFT+V"}]})}}class GA extends ar{constructor(t){super(t),this.affectsData=!1}execute(){const t=this.editor.model,e=t.document.selection;let n=t.schema.getLimitElement(e);if(e.containsEntireContent(n)||!WA(t.schema,n))do{if(n=n.parent,!n)return}while(!WA(t.schema,n));t.change((t=>{t.setSelection(n,"in")}))}}function WA(t,e){return t.isLimit(e)&&(t.checkChild(e,"$text")||t.checkChild(e,"paragraph"))}const KA=_i("Ctrl+A");class $A extends rr{static get pluginName(){return"SelectAllEditing"}init(){const t=this.editor,e=t.t,n=t.editing.view.document;t.commands.add("selectAll",new GA(t)),this.listenTo(n,"keydown",((e,n)=>{Ai(n)===KA&&(t.execute("selectAll"),n.preventDefault())})),t.accessibility.addKeystrokeInfos({keystrokes:[{label:e("Select all"),keystroke:"CTRL+A"}]})}}class YA extends rr{static get pluginName(){return"SelectAllUI"}init(){const t=this.editor;t.ui.componentFactory.add("selectAll",(()=>{const t=this._createButton(Ig);return t.set({tooltip:!0}),t})),t.ui.componentFactory.add("menuBar:selectAll",(()=>this._createButton(Wk)))}_createButton(t){const e=this.editor,n=e.locale,o=e.commands.get("selectAll"),i=new t(e.locale),r=n.t;return i.set({label:r("Select all"),icon:'',keystroke:"Ctrl+A"}),i.bind("isEnabled").to(o,"isEnabled"),this.listenTo(i,"execute",(()=>{e.execute("selectAll"),e.editing.view.focus()})),i}}class QA extends rr{static get requires(){return[$A,YA]}static get pluginName(){return"SelectAll"}}var ZA=Object.defineProperty,JA=Object.getOwnPropertySymbols,XA=Object.prototype.hasOwnProperty,t_=Object.prototype.propertyIsEnumerable,e_=(t,e,n)=>e in t?ZA(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;class n_ extends ar{constructor(t){super(t),this._stack=[],this._createdBatches=new WeakSet,this.refresh(),this._isEnabledBasedOnSelection=!1,this.listenTo(t.data,"set",((t,e)=>{e[1]=((t,e)=>{for(var n in e||(e={}))XA.call(e,n)&&e_(t,n,e[n]);if(JA)for(var n of JA(e))t_.call(e,n)&&e_(t,n,e[n]);return t})({},e[1]);const n=e[1];n.batchType||(n.batchType={isUndoable:!1})}),{priority:"high"}),this.listenTo(t.data,"set",((t,e)=>{e[1].batchType.isUndoable||this.clearStack()}))}refresh(){this.isEnabled=this._stack.length>0}get createdBatches(){return this._createdBatches}addBatch(t){const e=this.editor.model.document.selection,n={ranges:e.hasOwnRange?Array.from(e.getRanges()):[],isBackward:e.isBackward};this._stack.push({batch:t,selection:n}),this.refresh()}clearStack(){this._stack=[],this.refresh()}_restoreSelection(t,e,n){const o=this.editor.model,i=o.document,r=[],s=t.map((t=>t.getTransformedByOperations(n))),a=s.flat();for(const t of s){const e=t.filter((t=>t.root!=i.graveyard)).filter((t=>!i_(t,a)));e.length&&(o_(e),r.push(e[0]))}r.length&&o.change((t=>{t.setSelection(r,{backward:e})}))}_undo(t,e){const n=this.editor.model,o=n.document;this._createdBatches.add(e);const i=t.operations.slice().filter((t=>t.isDocumentOperation));i.reverse();for(const t of i){const i=t.baseVersion+1,r=Array.from(o.history.getOperations(i)),s=iu([t.getReversed()],r,{useRelations:!0,document:this.editor.model.document,padWithNoOps:!1,forceWeakRemove:!0}).operationsA;for(let i of s){const r=i.affectedSelectable;r&&!n.canEditAt(r)&&(i=new $d(i.baseVersion)),e.addOperation(i),n.applyOperation(i),o.history.setOperationAsUndone(t,i)}}}}function o_(t){t.sort(((t,e)=>t.start.isBefore(e.start)?-1:1));for(let e=1;ee!==t&&e.containsRange(t,!0)))}class r_ extends n_{execute(t=null){const e=t?this._stack.findIndex((e=>e.batch==t)):this._stack.length-1,n=this._stack.splice(e,1)[0],o=this.editor.model.createBatch({isUndo:!0});this.editor.model.enqueueChange(o,(()=>{this._undo(n.batch,o);const t=this.editor.model.document.history.getOperations(n.batch.baseVersion);this._restoreSelection(n.selection.ranges,n.selection.isBackward,t)})),this.fire("revert",n.batch,o),this.refresh()}}class s_ extends n_{execute(){const t=this._stack.pop(),e=this.editor.model.createBatch({isUndo:!0});this.editor.model.enqueueChange(e,(()=>{const n=t.batch.operations[t.batch.operations.length-1].baseVersion+1,o=this.editor.model.document.history.getOperations(n);this._restoreSelection(t.selection.ranges,t.selection.isBackward,o),this._undo(t.batch,e)})),this.refresh()}}class a_ extends rr{constructor(){super(...arguments),this._batchRegistry=new WeakSet}static get pluginName(){return"UndoEditing"}init(){const t=this.editor,e=t.t;this._undoCommand=new r_(t),this._redoCommand=new s_(t),t.commands.add("undo",this._undoCommand),t.commands.add("redo",this._redoCommand),this.listenTo(t.model,"applyOperation",((t,e)=>{const n=e[0];if(!n.isDocumentOperation)return;const o=n.batch,i=this._redoCommand.createdBatches.has(o),r=this._undoCommand.createdBatches.has(o);this._batchRegistry.has(o)||(this._batchRegistry.add(o),o.isUndoable&&(i?this._undoCommand.addBatch(o):r||(this._undoCommand.addBatch(o),this._redoCommand.clearStack())))}),{priority:"highest"}),this.listenTo(this._undoCommand,"revert",((t,e,n)=>{this._redoCommand.addBatch(n)})),t.keystrokes.set("CTRL+Z","undo"),t.keystrokes.set("CTRL+Y","redo"),t.keystrokes.set("CTRL+SHIFT+Z","redo"),t.accessibility.addKeystrokeInfos({keystrokes:[{label:e("Undo"),keystroke:"CTRL+Z"},{label:e("Redo"),keystroke:[["CTRL+Y"],["CTRL+SHIFT+Z"]]}]})}}class c_ extends rr{static get pluginName(){return"UndoUI"}init(){const t=this.editor,e=t.locale,n=t.t,o="ltr"==e.uiLanguageDirection?jh.undo:jh.redo,i="ltr"==e.uiLanguageDirection?jh.redo:jh.undo;this._addButtonsToFactory("undo",n("Undo"),"CTRL+Z",o),this._addButtonsToFactory("redo",n("Redo"),"CTRL+Y",i)}_addButtonsToFactory(t,e,n,o){const i=this.editor;i.ui.componentFactory.add(t,(()=>{const i=this._createButton(Ig,t,e,n,o);return i.set({tooltip:!0}),i})),i.ui.componentFactory.add("menuBar:"+t,(()=>this._createButton(Wk,t,e,n,o)))}_createButton(t,e,n,o,i){const r=this.editor,s=r.locale,a=r.commands.get(e),c=new t(s);return c.set({label:n,icon:i,keystroke:o}),c.bind("isEnabled").to(a,"isEnabled"),this.listenTo(c,"execute",(()=>{r.execute(e),r.editing.view.focus()})),c}}class l_ extends rr{static get requires(){return[a_,c_]}static get pluginName(){return"Undo"}}class d_ extends(K()){constructor(){super();const t=new window.FileReader;this._reader=t,this._data=void 0,this.set("loaded",0),t.onprogress=t=>{this.loaded=t.loaded}}get error(){return this._reader.error}get data(){return this._data}read(t){const e=this._reader;return this.total=t.size,new Promise(((n,o)=>{e.onload=()=>{const t=e.result;this._data=t,n(t)},e.onerror=()=>{o("error")},e.onabort=()=>{o("aborted")},this._reader.readAsDataURL(t)}))}abort(){this._reader.abort()}}class u_ extends rr{constructor(){super(...arguments),this.loaders=new Yi,this._loadersMap=new Map,this._pendingAction=null}static get pluginName(){return"FileRepository"}static get requires(){return[Rh]}init(){this.loaders.on("change",(()=>this._updatePendingAction())),this.set("uploaded",0),this.set("uploadTotal",null),this.bind("uploadedPercent").to(this,"uploaded",this,"uploadTotal",((t,e)=>e?t/e*100:0))}getLoader(t){return this._loadersMap.get(t)||null}createLoader(t){if(!this.createUploadAdapter)return C("filerepository-no-upload-adapter"),null;const e=new h_(Promise.resolve(t),this.createUploadAdapter);return this.loaders.add(e),this._loadersMap.set(t,e),t instanceof Promise&&e.file.then((t=>{this._loadersMap.set(t,e)})).catch((()=>{})),e.on("change:uploaded",(()=>{let t=0;for(const e of this.loaders)t+=e.uploaded;this.uploaded=t})),e.on("change:uploadTotal",(()=>{let t=0;for(const e of this.loaders)e.uploadTotal&&(t+=e.uploadTotal);this.uploadTotal=t})),e}destroyLoader(t){const e=t instanceof h_?t:this.getLoader(t);e._destroy(),this.loaders.remove(e),this._loadersMap.forEach(((t,n)=>{t===e&&this._loadersMap.delete(n)}))}_updatePendingAction(){const t=this.editor.plugins.get(Rh);if(this.loaders.length){if(!this._pendingAction){const e=this.editor.t,n=t=>`${e("Upload in progress")} ${parseInt(t)}%.`;this._pendingAction=t.add(n(this.uploadedPercent)),this._pendingAction.bind("message").to(this,"uploadedPercent",n)}}else t.remove(this._pendingAction),this._pendingAction=null}}class h_ extends(K()){constructor(t,e){super(),this.id=k(),this._filePromiseWrapper=this._createFilePromiseWrapper(t),this._adapter=e(this),this._reader=new d_,this.set("status","idle"),this.set("uploaded",0),this.set("uploadTotal",null),this.bind("uploadedPercent").to(this,"uploaded",this,"uploadTotal",((t,e)=>e?t/e*100:0)),this.set("uploadResponse",null)}get file(){return this._filePromiseWrapper?this._filePromiseWrapper.promise.then((t=>this._filePromiseWrapper?t:null)):Promise.resolve(null)}get data(){return this._reader.data}read(){if("idle"!=this.status)throw new _("filerepository-read-wrong-status",this);return this.status="reading",this.file.then((t=>this._reader.read(t))).then((t=>{if("reading"!==this.status)throw this.status;return this.status="idle",t})).catch((t=>{if("aborted"===t)throw this.status="aborted","aborted";throw this.status="error",this._reader.error?this._reader.error:t}))}upload(){if("idle"!=this.status)throw new _("filerepository-upload-wrong-status",this);return this.status="uploading",this.file.then((()=>this._adapter.upload())).then((t=>(this.uploadResponse=t,this.status="idle",t))).catch((t=>{if("aborted"===this.status)throw"aborted";throw this.status="error",t}))}abort(){const t=this.status;this.status="aborted",this._filePromiseWrapper.isFulfilled?"reading"==t?this._reader.abort():"uploading"==t&&this._adapter.abort&&this._adapter.abort():(this._filePromiseWrapper.promise.catch((()=>{})),this._filePromiseWrapper.rejecter("aborted")),this._destroy()}_destroy(){this._filePromiseWrapper=void 0,this._reader=void 0,this._adapter=void 0,this.uploadResponse=void 0}_createFilePromiseWrapper(t){const e={};return e.promise=new Promise(((n,o)=>{e.rejecter=o,e.isFulfilled=!1,t.then((t=>{e.isFulfilled=!0,n(t)})).catch((t=>{e.isFulfilled=!0,o(t)}))})),e}}Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;const g_="ckCsrfToken",m_="abcdefghijklmnopqrstuvwxyz0123456789";function p_(){let t=function(t){t=t.toLowerCase();const e=document.cookie.split(";");for(const n of e){const e=n.split("=");if(decodeURIComponent(e[0].trim().toLowerCase())===t)return decodeURIComponent(e[1])}return null}(g_);var e,n;return t&&40==t.length||(t=function(t){let e="";const n=new Uint8Array(t);window.crypto.getRandomValues(n);for(let t=0;t.5?o.toUpperCase():o}return e}(40),e=g_,n=t,document.cookie=encodeURIComponent(e)+"="+encodeURIComponent(n)+";path=/"),t}class f_{constructor(t,e,n){this.loader=t,this.url=e,this.t=n}upload(){return this.loader.file.then((t=>new Promise(((e,n)=>{this._initRequest(),this._initListeners(e,n,t),this._sendRequest(t)}))))}abort(){this.xhr&&this.xhr.abort()}_initRequest(){const t=this.xhr=new XMLHttpRequest;t.open("POST",this.url,!0),t.responseType="json"}_initListeners(t,e,n){const o=this.xhr,i=this.loader,r=(0,this.t)("Cannot upload file:")+` ${n.name}.`;o.addEventListener("error",(()=>e(r))),o.addEventListener("abort",(()=>e())),o.addEventListener("load",(()=>{const n=o.response;if(!n||!n.uploaded)return e(n&&n.error&&n.error.message?n.error.message:r);t({default:n.url})})),o.upload&&o.upload.addEventListener("progress",(t=>{t.lengthComputable&&(i.uploadTotal=t.total,i.uploaded=t.loaded)}))}_sendRequest(t){const e=new FormData;e.append("upload",t),e.append("ckCsrfToken",p_()),this.xhr.send(e)}}function k_(t,e,n,o){let i,r=null;"function"==typeof o?i=o:(r=t.commands.get(o),i=()=>{t.execute(o)}),t.model.document.on("change:data",((s,a)=>{if(r&&!r.isEnabled||!e.isEnabled)return;const c=Qi(t.model.document.selection.getRanges());if(!c.isCollapsed)return;if(a.isUndo||!a.isLocal)return;const l=Array.from(t.model.document.differ.getChanges()),d=l[0];if(1!=l.length||"insert"!==d.type||"$text"!=d.name||1!=d.length)return;const u=d.position.parent;if(u.is("element","codeBlock"))return;if(u.is("element","listItem")&&"function"!=typeof o&&!["numberedList","bulletedList","todoList"].includes(o))return;if(r&&!0===r.value)return;const h=u.getChild(0),g=t.model.createRangeOn(h);if(!g.containsRange(c)&&!c.end.isEqual(g.end))return;const m=n.exec(h.data.substr(0,c.end.offset));m&&t.model.enqueueChange((e=>{const n=e.createPositionAt(u,0),o=e.createPositionAt(u,m[0].length),r=new hl(n,o);if(!1!==i({match:m})){e.remove(r);const n=t.model.document.selection.getFirstRange(),o=e.createRangeIn(u);!u.isEmpty||o.isEqual(n)||o.containsRange(n,!0)||e.remove(u)}r.detach(),t.model.enqueueChange((()=>{t.plugins.get("Delete").requestUndoOnBackspace()}))}))}))}function b_(t,e,n,o){let i,r;n instanceof RegExp?i=n:r=n,r=r||(t=>{let e;const n=[],o=[];for(;null!==(e=i.exec(t))&&!(e&&e.length<4);){let{index:t,1:i,2:r,3:s}=e;const a=i+r+s;t+=e[0].length-a.length;const c=[t,t+i.length],l=[t+i.length+r.length,t+i.length+r.length+s.length];n.push(c),n.push(l),o.push([t+i.length,t+i.length+r.length])}return{remove:n,format:o}}),t.model.document.on("change:data",((n,i)=>{if(i.isUndo||!i.isLocal||!e.isEnabled)return;const s=t.model,a=s.document.selection;if(!a.isCollapsed)return;const c=Array.from(s.document.differ.getChanges()),l=c[0];if(1!=c.length||"insert"!==l.type||"$text"!=l.name||1!=l.length)return;const d=a.focus,u=d.parent,{text:h,range:g}=function(t,e){let n=t.start;const o=Array.from(t.getItems()).reduce(((t,o)=>!o.is("$text")&&!o.is("$textProxy")||o.getAttribute("code")?(n=e.createPositionAfter(o),""):t+o.data),"");return{text:o,range:e.createRange(n,t.end)}}(s.createRange(s.createPositionAt(u,0),d),s),m=r(h),p=w_(g.start,m.format,s),f=w_(g.start,m.remove,s);p.length&&f.length&&s.enqueueChange((e=>{if(!1!==o(e,p)){for(const t of f.reverse())e.remove(t);s.enqueueChange((()=>{t.plugins.get("Delete").requestUndoOnBackspace()}))}}))}))}function w_(t,e,n){return e.filter((t=>void 0!==t[0]&&void 0!==t[1])).map((e=>n.createRange(t.getShiftedBy(e[0]),t.getShiftedBy(e[1]))))}function A_(t,e){return(n,o)=>{if(!t.commands.get(e).isEnabled)return!1;const i=t.model.schema.getValidRanges(o,e);for(const t of i)n.setAttribute(e,!0,t);n.removeSelectionAttribute(e)}}class __ extends ar{constructor(t,e){super(t),this.attributeKey=e}refresh(){const t=this.editor.model,e=t.document;this.value=this._getValueFromFirstAllowedNode(),this.isEnabled=t.schema.checkAttributeInSelection(e.selection,this.attributeKey)}execute(t={}){const e=this.editor.model,n=e.document.selection,o=void 0===t.forceValue?!this.value:t.forceValue;e.change((t=>{if(n.isCollapsed)o?t.setSelectionAttribute(this.attributeKey,!0):t.removeSelectionAttribute(this.attributeKey);else{const i=e.schema.getValidRanges(n.getRanges(),this.attributeKey);for(const e of i)o?t.setAttribute(this.attributeKey,o,e):t.removeAttribute(this.attributeKey,e)}}))}_getValueFromFirstAllowedNode(){const t=this.editor.model,e=t.schema,n=t.document.selection;if(n.isCollapsed)return n.hasAttribute(this.attributeKey);for(const t of n.getRanges())for(const n of t.getItems())if(e.checkAttribute(n,this.attributeKey))return n.hasAttribute(this.attributeKey);return!1}}const C_="bold";class v_ extends rr{static get pluginName(){return"BoldEditing"}init(){const t=this.editor,e=this.editor.t;t.model.schema.extend("$text",{allowAttributes:C_}),t.model.schema.setAttributeProperties(C_,{isFormatting:!0,copyOnEnter:!0}),t.conversion.attributeToElement({model:C_,view:"strong",upcastAlso:["b",t=>{const e=t.getStyle("font-weight");return e&&("bold"==e||Number(e)>=600)?{name:!0,styles:["font-weight"]}:null}]}),t.commands.add(C_,new __(t,C_)),t.keystrokes.set("CTRL+B",C_),t.accessibility.addKeystrokeInfos({keystrokes:[{label:e("Bold text"),keystroke:"CTRL+B"}]})}}function y_({editor:t,commandName:e,plugin:n,icon:o,label:i,keystroke:r}){return s=>{const a=t.commands.get(e),c=new s(t.locale);return c.set({label:i,icon:o,keystroke:r,isToggleable:!0}),c.bind("isEnabled").to(a,"isEnabled"),n.listenTo(c,"execute",(()=>{t.execute(e),t.editing.view.focus()})),c}}const x_="bold";class E_ extends rr{static get pluginName(){return"BoldUI"}init(){const t=this.editor,e=t.locale.t,n=t.commands.get(x_),o=y_({editor:t,commandName:x_,plugin:this,icon:jh.bold,label:e("Bold"),keystroke:"CTRL+B"});t.ui.componentFactory.add(x_,(()=>{const t=o(Ig);return t.set({tooltip:!0}),t.bind("isOn").to(n,"value"),t})),t.ui.componentFactory.add("menuBar:"+x_,(()=>o(Wk)))}}var D_=n(4199),I_={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};br()(D_.A,I_);D_.A.locals;const M_="italic";class T_ extends rr{static get pluginName(){return"ItalicEditing"}init(){const t=this.editor,e=this.editor.t;t.model.schema.extend("$text",{allowAttributes:M_}),t.model.schema.setAttributeProperties(M_,{isFormatting:!0,copyOnEnter:!0}),t.conversion.attributeToElement({model:M_,view:"i",upcastAlso:["em",{styles:{"font-style":"italic"}}]}),t.commands.add(M_,new __(t,M_)),t.keystrokes.set("CTRL+I",M_),t.accessibility.addKeystrokeInfos({keystrokes:[{label:e("Italic text"),keystroke:"CTRL+I"}]})}}const S_="italic";class B_ extends rr{static get pluginName(){return"ItalicUI"}init(){const t=this.editor,e=t.commands.get(S_),n=t.locale.t,o=y_({editor:t,commandName:S_,plugin:this,icon:'',keystroke:"CTRL+I",label:n("Italic")});t.ui.componentFactory.add(S_,(()=>{const t=o(Ig);return t.set({tooltip:!0}),t.bind("isOn").to(e,"value"),t})),t.ui.componentFactory.add("menuBar:"+S_,(()=>o(Wk)))}}class N_ extends ar{refresh(){this.value=this._getValue(),this.isEnabled=this._checkEnabled()}execute(t={}){const e=this.editor.model,n=e.schema,o=e.document.selection,i=Array.from(o.getSelectedBlocks()),r=void 0===t.forceValue?!this.value:t.forceValue;e.change((t=>{if(r){const e=i.filter((t=>P_(t)||L_(n,t)));this._applyQuote(t,e)}else this._removeQuote(t,i.filter(P_))}))}_getValue(){const t=Qi(this.editor.model.document.selection.getSelectedBlocks());return!(!t||!P_(t))}_checkEnabled(){if(this.value)return!0;const t=this.editor.model.document.selection,e=this.editor.model.schema,n=Qi(t.getSelectedBlocks());return!!n&&L_(e,n)}_removeQuote(t,e){O_(t,e).reverse().forEach((e=>{if(e.start.isAtStart&&e.end.isAtEnd)return void t.unwrap(e.start.parent);if(e.start.isAtStart){const n=t.createPositionBefore(e.start.parent);return void t.move(e,n)}e.end.isAtEnd||t.split(e.end);const n=t.createPositionAfter(e.end.parent);t.move(e,n)}))}_applyQuote(t,e){const n=[];O_(t,e).reverse().forEach((e=>{let o=P_(e.start);o||(o=t.createElement("blockQuote"),t.wrap(e,o)),n.push(o)})),n.reverse().reduce(((e,n)=>e.nextSibling==n?(t.merge(t.createPositionAfter(e)),e):n))}}function P_(t){return"blockQuote"==t.parent.name?t.parent:null}function O_(t,e){let n,o=0;const i=[];for(;o{const o=t.model.document.differ.getChanges();for(const t of o)if("insert"==t.type){const o=t.position.nodeAfter;if(!o)continue;if(o.is("element","blockQuote")&&o.isEmpty)return n.remove(o),!0;if(o.is("element","blockQuote")&&!e.checkChild(t.position,o))return n.unwrap(o),!0;if(o.is("element")){const t=n.createRangeIn(o);for(const o of t.getItems())if(o.is("element","blockQuote")&&!e.checkChild(n.createPositionBefore(o),o))return n.unwrap(o),!0}}else if("remove"==t.type){const e=t.position.parent;if(e.is("element","blockQuote")&&e.isEmpty)return n.remove(e),!0}return!1}));const n=this.editor.editing.view.document,o=t.model.document.selection,i=t.commands.get("blockQuote");this.listenTo(n,"enter",((e,n)=>{if(!o.isCollapsed||!i.value)return;o.getLastPosition().parent.isEmpty&&(t.execute("blockQuote"),t.editing.view.scrollToTheSelection(),n.preventDefault(),e.stop())}),{context:"blockquote"}),this.listenTo(n,"delete",((e,n)=>{if("backward"!=n.direction||!o.isCollapsed||!i.value)return;const r=o.getLastPosition().parent;r.isEmpty&&!r.previousSibling&&(t.execute("blockQuote"),t.editing.view.scrollToTheSelection(),n.preventDefault(),e.stop())}),{context:"blockquote"})}}var R_=n(8708),j_={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};br()(R_.A,j_);R_.A.locals;class F_ extends rr{static get pluginName(){return"BlockQuoteUI"}init(){const t=this.editor,e=t.commands.get("blockQuote");t.ui.componentFactory.add("blockQuote",(()=>{const t=this._createButton(Ig);return t.set({tooltip:!0}),t.bind("isOn").to(e,"value"),t})),t.ui.componentFactory.add("menuBar:blockQuote",(()=>this._createButton(Wk)))}_createButton(t){const e=this.editor,n=e.locale,o=e.commands.get("blockQuote"),i=new t(e.locale),r=n.t;return i.set({label:r("Block quote"),icon:jh.quote,isToggleable:!0}),i.bind("isEnabled").to(o,"isEnabled"),this.listenTo(i,"execute",(()=>{e.execute("blockQuote"),e.editing.view.focus()})),i}}class V_ extends rr{static get pluginName(){return"CKBoxUI"}afterInit(){const t=this.editor;if(!t.commands.get("ckbox"))return;const e=t.t,n=t.ui.componentFactory;if(n.add("ckbox",(()=>{const t=this._createButton(Ig);return t.tooltip=!0,t})),n.add("menuBar:ckbox",(()=>this._createButton(Wk))),t.plugins.has("ImageInsertUI")){const n=t.plugins.get("ImageInsertUI");n.registerIntegration({name:"assetManager",observable:()=>t.commands.get("ckbox"),buttonViewCreator:()=>{const t=this.editor.ui.componentFactory.create("ckbox");return t.icon=jh.imageAssetManager,t.bind("label").to(n,"isImageSelected",(t=>e(t?"Replace image with file manager":"Insert image with file manager"))),t},formViewCreator:()=>{const t=this.editor.ui.componentFactory.create("ckbox");return t.icon=jh.imageAssetManager,t.withText=!0,t.bind("label").to(n,"isImageSelected",(t=>e(t?"Replace with file manager":"Insert with file manager"))),t.on("execute",(()=>{n.dropdownView.isOpen=!1})),t}})}}_createButton(t){const e=this.editor,n=e.locale,o=new t(n),i=e.commands.get("ckbox"),r=n.t;return o.set({label:r("Open file manager"),icon:jh.browseFiles}),o.bind("isOn","isEnabled").to(i,"value","isEnabled"),o.on("execute",(()=>{e.execute("ckbox")})),o}}var H_=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","#","$","%","*","+",",","-",".",":",";","=","?","@","[","]","^","_","{","|","}","~"],U_=t=>{let e=0;for(let n=0;n{let e=t/255;return e<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)},G_=t=>{let e=Math.max(0,Math.min(1,t));return e<=.0031308?Math.trunc(12.92*e*255+.5):Math.trunc(255*(1.055*Math.pow(e,.4166666666666667)-.055)+.5)},W_=(t,e)=>(t=>t<0?-1:1)(t)*Math.pow(Math.abs(t),e),K_=class extends Error{constructor(t){super(t),this.name="ValidationError",this.message=t}},$_=t=>{if(!t||t.length<6)throw new K_("The blurhash string must be at least 6 characters");let e=U_(t[0]),n=Math.floor(e/9)+1,o=e%9+1;if(t.length!==4+2*o*n)throw new K_(`blurhash length mismatch: length is ${t.length} but it should be ${4+2*o*n}`)},Y_=t=>{let e=t>>8&255,n=255&t;return[q_(t>>16),q_(e),q_(n)]},Q_=(t,e)=>{let n=Math.floor(t/361),o=Math.floor(t/19)%19,i=t%19;return[W_((n-9)/9,2)*e,W_((o-9)/9,2)*e,W_((i-9)/9,2)*e]},Z_=(t,e,n,o)=>{$_(t),o|=1;let i=U_(t[0]),r=Math.floor(i/9)+1,s=i%9+1,a=(U_(t[1])+1)/166,c=new Array(s*r);for(let e=0;ee in t?J_(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;function oC(t){const e=[];let n=0;for(const o in t){const i=parseInt(o,10);isNaN(i)||(i>n&&(n=i),e.push(`${t[o]} ${o}w`))}const o=[{srcset:e.join(","),sizes:`(max-width: ${n}px) 100vw, ${n}px`,type:"image/webp"}];return{imageFallbackUrl:t.default,imageSources:o}}const iC=32;function rC({url:t,method:e="GET",data:n,onUploadProgress:o,signal:i,authorization:r}){const s=new XMLHttpRequest;s.open(e,t.toString()),s.setRequestHeader("Authorization",r),s.setRequestHeader("CKBox-Version","CKEditor 5"),s.responseType="json";const a=()=>{s.abort()};return new Promise(((t,e)=>{i.throwIfAborted(),i.addEventListener("abort",a),s.addEventListener("loadstart",(()=>{i.addEventListener("abort",a)})),s.addEventListener("loadend",(()=>{i.removeEventListener("abort",a)})),s.addEventListener("error",(()=>{e()})),s.addEventListener("abort",(()=>{e()})),s.addEventListener("load",(()=>{const n=s.response;if(!n||n.statusCode>=400)return e(n&&n.message);t(n)})),o&&s.upload.addEventListener("progress",(t=>{o(t)})),s.send(n)}))}const sC={"image/gif":"gif","image/jpeg":"jpg","image/png":"png","image/webp":"webp","image/bmp":"bmp","image/tiff":"tiff"};function aC(t,e){return n=this,o=null,i=function*(){try{const n=yield fetch(t,((t,e)=>{for(var n in e||(e={}))tC.call(e,n)&&nC(t,n,e[n]);if(X_)for(var n of X_(e))eC.call(e,n)&&nC(t,n,e[n]);return t})({method:"HEAD",cache:"force-cache"},e));return n.ok&&n.headers.get("content-type")||""}catch(t){return""}},new Promise(((t,e)=>{var r=t=>{try{a(i.next(t))}catch(t){e(t)}},s=t=>{try{a(i.throw(t))}catch(t){e(t)}},a=e=>e.done?t(e.value):Promise.resolve(e.value).then(r,s);a((i=i.apply(n,o)).next())}));var n,o,i}var cC=Object.defineProperty,lC=Object.getOwnPropertySymbols,dC=Object.prototype.hasOwnProperty,uC=Object.prototype.propertyIsEnumerable,hC=(t,e,n)=>e in t?cC(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,gC=(t,e)=>{for(var n in e||(e={}))dC.call(e,n)&&hC(t,n,e[n]);if(lC)for(var n of lC(e))uC.call(e,n)&&hC(t,n,e[n]);return t};class mC extends ar{constructor(t){super(t),this._chosenAssets=new Set,this._wrapper=null,this._initListeners()}refresh(){this.value=this._getValue(),this.isEnabled=this._checkEnabled()}execute(){this.fire("ckbox:open")}_getValue(){return null!==this._wrapper}_checkEnabled(){const t=this.editor.commands.get("insertImage"),e=this.editor.commands.get("link");return!(!t.isEnabled&&!e.isEnabled)}_prepareOptions(){const t=this.editor.config.get("ckbox");return{theme:t.theme,language:t.language,tokenUrl:t.tokenUrl,serviceOrigin:t.serviceOrigin,forceDemoLabel:t.forceDemoLabel,dialog:{onClose:()=>this.fire("ckbox:close")},assets:{onChoose:t=>this.fire("ckbox:choose",t)}}}_initListeners(){const t=this.editor,e=t.model,n=!t.config.get("ckbox.ignoreDataId");this.on("ckbox",(()=>{this.refresh()}),{priority:"low"}),this.on("ckbox:open",(()=>{this.isEnabled&&!this.value&&(this._wrapper=wt(document,"div",{class:"ck ckbox-wrapper"}),document.body.appendChild(this._wrapper),window.CKBox.mount(this._wrapper,this._prepareOptions()))})),this.on("ckbox:close",(()=>{this.value&&(this._wrapper.remove(),this._wrapper=null,t.editing.view.focus())})),this.on("ckbox:choose",((o,i)=>{if(!this.isEnabled)return;const r=t.commands.get("insertImage"),s=t.commands.get("link"),a=function({assets:t,isImageAllowed:e,isLinkAllowed:n}){return t.map((t=>function(t){const e=t.data.metadata;if(!e)return!1;return e.width&&e.height}(t)?{id:t.data.id,type:"image",attributes:pC(t)}:{id:t.data.id,type:"link",attributes:fC(t)})).filter((t=>"image"===t.type?e:n))}({assets:i,isImageAllowed:r.isEnabled,isLinkAllowed:s.isEnabled}),c=a.length;0!==c&&(e.change((t=>{for(const e of a){const o=e===a[c-1],i=1===c;this._insertAsset(e,o,t,i),n&&(setTimeout((()=>this._chosenAssets.delete(e)),1e3),this._chosenAssets.add(e))}})),t.editing.view.focus())})),this.listenTo(t,"destroy",(()=>{this.fire("ckbox:close"),this._chosenAssets.clear()}))}_insertAsset(t,e,n,o){const i=this.editor.model.document.selection;n.removeSelectionAttribute("linkHref"),"image"===t.type?this._insertImage(t):this._insertLink(t,n,o),e||n.setSelection(i.getLastPosition())}_insertImage(t){const e=this.editor,{imageFallbackUrl:n,imageSources:o,imageTextAlternative:i,imageWidth:r,imageHeight:s,imagePlaceholder:a}=t.attributes;e.execute("insertImage",{source:gC({src:n,sources:o,alt:i,width:r,height:s},a?{placeholder:a}:null)})}_insertLink(t,e,n){const o=this.editor,i=o.model,r=i.document.selection,{linkName:s,linkHref:a}=t.attributes;if(r.isCollapsed){const t=Xi(r.getAttributes()),c=e.createText(s,t);if(!n){const t=r.getLastPosition(),n=t.parent;"paragraph"===n.name&&n.isEmpty||o.execute("insertParagraph",{position:t});const s=i.insertContent(c);return e.setSelection(s),void o.execute("link",a)}const l=i.insertContent(c);e.setSelection(l)}o.execute("link",a)}}function pC(t){const{imageFallbackUrl:e,imageSources:n}=oC(t.data.imageUrls),{description:o,width:i,height:r,blurHash:s}=t.data.metadata,a=function(t){if(t)try{const e=`${iC}px`,n=document.createElement("canvas");n.setAttribute("width",e),n.setAttribute("height",e);const o=n.getContext("2d");if(!o)return;const i=o.createImageData(iC,iC),r=Z_(t,iC,iC);return i.data.set(r),o.putImageData(i,0,0),n.toDataURL()}catch(t){return}}(s);return gC({imageFallbackUrl:e,imageSources:n,imageTextAlternative:o||"",imageWidth:i,imageHeight:r},a?{imagePlaceholder:a}:null)}function fC(t){return{linkName:t.data.name,linkHref:kC(t)}}function kC(t){const e=new URL(t.data.url);return e.searchParams.set("download","true"),e.toString()}var bC=(t,e,n)=>new Promise(((o,i)=>{var r=t=>{try{a(n.next(t))}catch(t){i(t)}},s=t=>{try{a(n.throw(t))}catch(t){i(t)}},a=t=>t.done?o(t.value):Promise.resolve(t.value).then(r,s);a((n=n.apply(t,e)).next())}));class wC extends rr{static get pluginName(){return"CKBoxUtils"}static get requires(){return["CloudServices"]}init(){return bC(this,null,(function*(){const t=this.editor,e=!!t.config.get("ckbox"),n=!!window.CKBox;if(!e&&!n)return;t.config.define("ckbox",{serviceOrigin:"https://api.ckbox.io",defaultUploadCategories:null,ignoreDataId:!1,language:t.locale.uiLanguage,theme:"lark",tokenUrl:t.config.get("cloudServices.tokenUrl")});const o=t.plugins.get("CloudServices"),i=t.config.get("cloudServices.tokenUrl"),r=t.config.get("ckbox.tokenUrl");if(!r)throw new _("ckbox-plugin-missing-token-url",this);this._token=r==i?o.token:yield o.registerTokenUrl(r)}))}getToken(){return this._token}getWorkspaceId(){const t=(0,this.editor.t)("Cannot access default workspace."),e=this.editor.config.get("ckbox.defaultUploadWorkspaceId"),n=function(t,e){const[,n]=t.value.split("."),o=JSON.parse(atob(n)),i=o.auth&&o.auth.ckbox&&o.auth.ckbox.workspaces||[o.aud];return e?"superadmin"==(o.auth&&o.auth.ckbox&&o.auth.ckbox.role)||i.includes(e)?e:null:i[0]}(this._token,e);if(null==n)throw v("ckbox-access-default-workspace-error"),t;return n}getCategoryIdForFile(t,e){return bC(this,null,(function*(){const n=(0,this.editor.t)("Cannot determine a category for the uploaded file."),o=this.editor.config.get("ckbox.defaultUploadCategories"),i=this._getAvailableCategories(e),r="string"==typeof t?(s=yield aC(t,e),sC[s]):function(t){const e=t.name,n=new RegExp("\\.(?[^.]+)$");return e.match(n).groups.ext.toLowerCase()}(t);var s;const a=yield i;if(!a)throw n;if(o){const t=Object.keys(o).find((t=>o[t].find((t=>t.toLowerCase()==r))));if(t){const e=a.find((e=>e.id===t||e.name===t));if(!e)throw n;return e.id}}const c=a.find((t=>t.extensions.find((t=>t.toLowerCase()==r))));if(!c)throw n;return c.id}))}_getAvailableCategories(t){return bC(this,null,(function*(){const e=this.editor,n=this._token,{signal:o}=t,i=e.config.get("ckbox.serviceOrigin"),r=this.getWorkspaceId();try{const t=[];let e,n=0;do{const o=yield s(n);t.push(...o.items),e=o.totalCount-(n+50),n+=50}while(e>0);return t}catch(t){return o.throwIfAborted(),void v("ckbox-fetch-category-http-error")}function s(t){const e=new URL("categories",i);return e.searchParams.set("limit",50..toString()),e.searchParams.set("offset",t.toString()),e.searchParams.set("workspaceId",r),rC({url:e,signal:o,authorization:n.value})}}))}}var AC=(t,e,n)=>new Promise(((o,i)=>{var r=t=>{try{a(n.next(t))}catch(t){i(t)}},s=t=>{try{a(n.throw(t))}catch(t){i(t)}},a=t=>t.done?o(t.value):Promise.resolve(t.value).then(r,s);a((n=n.apply(t,e)).next())}));class _C extends rr{static get requires(){return["ImageUploadEditing","ImageUploadProgress",u_,vC]}static get pluginName(){return"CKBoxUploadAdapter"}afterInit(){return AC(this,null,(function*(){const t=this.editor,e=!!t.config.get("ckbox"),n=!!window.CKBox;if(!e&&!n)return;const o=t.plugins.get(u_),i=t.plugins.get(wC);o.createUploadAdapter=e=>new CC(e,t,i);const r=!t.config.get("ckbox.ignoreDataId"),s=t.plugins.get("ImageUploadEditing");r&&s.on("uploadComplete",((e,{imageElement:n,data:o})=>{t.model.change((t=>{t.setAttribute("ckboxImageId",o.ckboxImageId,n)}))}))}))}}class CC{constructor(t,e,n){this.loader=t,this.token=n.getToken(),this.ckboxUtils=n,this.editor=e,this.controller=new AbortController,this.serviceOrigin=e.config.get("ckbox.serviceOrigin")}upload(){return AC(this,null,(function*(){const t=this.ckboxUtils,e=this.editor.t,n=yield this.loader.file,o=yield t.getCategoryIdForFile(n,{signal:this.controller.signal}),i=new URL("assets",this.serviceOrigin),r=new FormData;i.searchParams.set("workspaceId",t.getWorkspaceId()),r.append("categoryId",o),r.append("file",n);return rC({method:"POST",url:i,data:r,onUploadProgress:t=>{t.lengthComputable&&(this.loader.uploadTotal=t.total,this.loader.uploaded=t.loaded)},signal:this.controller.signal,authorization:this.token.value}).then((t=>AC(this,null,(function*(){const e=oC(t.imageUrls);return{ckboxImageId:t.id,default:e.imageFallbackUrl,sources:e.imageSources}})))).catch((()=>{const t=e("Cannot upload file:")+` ${n.name}.`;return Promise.reject(t)}))}))}abort(){this.controller.abort()}}class vC extends rr{static get pluginName(){return"CKBoxEditing"}static get requires(){return["LinkEditing","PictureEditing",_C,wC]}init(){const t=this.editor;this._shouldBeInitialised()&&(this._checkImagePlugins(),DC()&&t.commands.add("ckbox",new mC(t)))}afterInit(){const t=this.editor;this._shouldBeInitialised()&&(t.config.get("ckbox.ignoreDataId")||(this._initSchema(),this._initConversion(),this._initFixers()))}_shouldBeInitialised(){return!!this.editor.config.get("ckbox")||DC()}_checkImagePlugins(){const t=this.editor;t.plugins.has("ImageBlockEditing")||t.plugins.has("ImageInlineEditing")||v("ckbox-plugin-image-feature-missing",t)}_initSchema(){const t=this.editor.model.schema;t.extend("$text",{allowAttributes:"ckboxLinkId"}),t.isRegistered("imageBlock")&&t.extend("imageBlock",{allowAttributes:["ckboxImageId","ckboxLinkId"]}),t.isRegistered("imageInline")&&t.extend("imageInline",{allowAttributes:["ckboxImageId","ckboxLinkId"]}),t.addAttributeCheck(((t,e)=>{if(!!!t.last.getAttribute("linkHref")&&"ckboxLinkId"===e)return!1}))}_initConversion(){const t=this.editor;t.conversion.for("downcast").add((t=>{t.on("attribute:ckboxLinkId:imageBlock",((t,e,n)=>{const{writer:o,mapper:i,consumable:r}=n;if(!r.consume(e.item,t.name))return;const s=[...i.toViewElement(e.item).getChildren()].find((t=>"a"===t.name));s&&(e.item.hasAttribute("ckboxLinkId")?o.setAttribute("data-ckbox-resource-id",e.item.getAttribute("ckboxLinkId"),s):o.removeAttribute("data-ckbox-resource-id",s))}),{priority:"low"}),t.on("attribute:ckboxLinkId",((t,e,n)=>{const{writer:o,mapper:i,consumable:r}=n;if(r.consume(e.item,t.name)){if(e.attributeOldValue){const t=xC(o,e.attributeOldValue);o.unwrap(i.toViewRange(e.range),t)}if(e.attributeNewValue){const t=xC(o,e.attributeNewValue);if(e.item.is("selection")){const e=o.document.selection;o.wrap(e.getFirstRange(),t)}else o.wrap(i.toViewRange(e.range),t)}}}),{priority:"low"})})),t.conversion.for("upcast").add((t=>{t.on("element:a",((t,e,n)=>{const{writer:o,consumable:i}=n;if(!e.viewItem.getAttribute("href"))return;if(!i.consume(e.viewItem,{attributes:["data-ckbox-resource-id"]}))return;const r=e.viewItem.getAttribute("data-ckbox-resource-id");if(r)if(e.modelRange)for(let t of e.modelRange.getItems())t.is("$textProxy")&&(t=t.textNode),EC(t)&&o.setAttribute("ckboxLinkId",r,t);else{const t=e.modelCursor.nodeBefore||e.modelCursor.parent;o.setAttribute("ckboxLinkId",r,t)}}),{priority:"low"})})),t.conversion.for("downcast").attributeToAttribute({model:"ckboxImageId",view:"data-ckbox-resource-id"}),t.conversion.for("upcast").elementToAttribute({model:{key:"ckboxImageId",value:t=>t.getAttribute("data-ckbox-resource-id")},view:{attributes:{"data-ckbox-resource-id":/[\s\S]+/}}});const e=t.commands.get("replaceImageSource");e&&this.listenTo(e,"cleanupImage",((t,[e,n])=>{e.removeAttribute("ckboxImageId",n)}))}_initFixers(){const t=this.editor,e=t.model,n=e.document.selection;e.document.registerPostFixer(function(t){return e=>{let n=!1;const o=t.model,i=t.commands.get("ckbox");if(!i)return n;for(const t of o.document.differ.getChanges()){if("insert"!==t.type&&"attribute"!==t.type)continue;const o="insert"===t.type?new Uc(t.position,t.position.getShiftedBy(t.length)):t.range,r="attribute"===t.type&&"linkHref"===t.attributeKey&&null===t.attributeNewValue;for(const t of o.getItems()){if(r&&t.hasAttribute("ckboxLinkId")){e.removeAttribute("ckboxLinkId",t),n=!0;continue}const o=yC(t,i._chosenAssets);for(const i of o){const o="image"===i.type?"ckboxImageId":"ckboxLinkId";i.id!==t.getAttribute(o)&&(e.setAttribute(o,i.id,t),n=!0)}}}return n}}(t)),e.document.registerPostFixer(function(t){return e=>!(t.hasAttribute("linkHref")||!t.hasAttribute("ckboxLinkId"))&&(e.removeSelectionAttribute("ckboxLinkId"),!0)}(n))}}function yC(t,e){const n=t.is("element","imageInline")||t.is("element","imageBlock"),o=t.hasAttribute("linkHref");return[...e].filter((e=>"image"===e.type&&n?e.attributes.imageFallbackUrl===t.getAttribute("src"):"link"===e.type&&o?e.attributes.linkHref===t.getAttribute("linkHref"):void 0))}function xC(t,e){const n=t.createAttributeElement("a",{"data-ckbox-resource-id":e},{priority:5});return t.setCustomProperty("link",!0,n),n}function EC(t){return!!t.is("$text")||!(!t.is("element","imageInline")&&!t.is("element","imageBlock"))}function DC(){return!!window.CKBox}Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;var IC=n(1866),MC={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};br()(IC.A,MC);IC.A.locals;class TC extends rr{static get pluginName(){return"CKFinderUI"}init(){const t=this.editor,e=t.ui.componentFactory,n=t.t;if(e.add("ckfinder",(t=>{const e=this._createButton(Ig),n=t.t;return e.set({label:n("Insert image or file"),tooltip:!0}),e})),e.add("menuBar:ckfinder",(t=>{const e=this._createButton(Wk),n=t.t;return e.label=n("Image or file"),e})),t.plugins.has("ImageInsertUI")){const e=t.plugins.get("ImageInsertUI");e.registerIntegration({name:"assetManager",observable:()=>t.commands.get("ckfinder"),buttonViewCreator:()=>{const t=this.editor.ui.componentFactory.create("ckfinder");return t.icon=jh.imageAssetManager,t.bind("label").to(e,"isImageSelected",(t=>n(t?"Replace image with file manager":"Insert image with file manager"))),t},formViewCreator:()=>{const t=this.editor.ui.componentFactory.create("ckfinder");return t.icon=jh.imageAssetManager,t.withText=!0,t.bind("label").to(e,"isImageSelected",(t=>n(t?"Replace with file manager":"Insert with file manager"))),t.on("execute",(()=>{e.dropdownView.isOpen=!1})),t}})}}_createButton(t){const e=this.editor,n=new t(e.locale),o=e.commands.get("ckfinder");return n.icon=jh.browseFiles,n.bind("isEnabled").to(o),n.on("execute",(()=>{e.execute("ckfinder"),e.editing.view.focus()})),n}}class SC extends ar{constructor(t){super(t),this.affectsData=!1,this.stopListening(this.editor.model.document,"change"),this.listenTo(this.editor.model.document,"change",(()=>this.refresh()),{priority:"low"})}refresh(){const t=this.editor.commands.get("insertImage"),e=this.editor.commands.get("link");this.isEnabled=t.isEnabled||e.isEnabled}execute(){const t=this.editor,e=this.editor.config.get("ckfinder.openerMethod")||"modal";if("popup"!=e&&"modal"!=e)throw new _("ckfinder-unknown-openermethod",t);const n=this.editor.config.get("ckfinder.options")||{};n.chooseFiles=!0;const o=n.onInit;n.language||(n.language=t.locale.uiLanguage),n.onInit=e=>{o&&o(e),e.on("files:choose",(n=>{const o=n.data.files.toArray(),i=o.filter((t=>!t.isImage())),r=o.filter((t=>t.isImage()));for(const e of i)t.execute("link",e.getUrl());const s=[];for(const t of r){const n=t.getUrl();s.push(n||e.request("file:getProxyUrl",{file:t}))}s.length&&BC(t,s)})),e.on("file:choose:resizedImage",(e=>{const n=e.data.resizedUrl;if(n)BC(t,[n]);else{const e=t.plugins.get("Notification"),n=t.locale.t;e.showWarning(n("Could not obtain resized image URL."),{title:n("Selecting resized image failed"),namespace:"ckfinder"})}}))},window.CKFinder[e](n)}}function BC(t,e){if(t.commands.get("insertImage").isEnabled)t.execute("insertImage",{source:e});else{const e=t.plugins.get("Notification"),n=t.locale.t;e.showWarning(n("Could not insert image at the current position."),{title:n("Inserting image failed"),namespace:"ckfinder"})}}class NC extends rr{static get pluginName(){return"CKFinderEditing"}static get requires(){return[vf,"LinkEditing"]}init(){const t=this.editor;if(!t.plugins.has("ImageBlockEditing")&&!t.plugins.has("ImageInlineEditing"))throw new _("ckfinder-missing-image-plugin",t);t.commands.add("ckfinder",new SC(t))}}class PC extends rr{static get pluginName(){return"CloudServicesUploadAdapter"}static get requires(){return["CloudServices",u_]}init(){const t=this.editor,e=t.plugins.get("CloudServices"),n=e.token,o=e.uploadUrl;if(!n)return;const i=t.plugins.get("CloudServicesCore");this._uploadGateway=i.createUploadGateway(n,o),t.plugins.get(u_).createUploadAdapter=t=>new OC(this._uploadGateway,t)}}class OC{constructor(t,e){this.uploadGateway=t,this.loader=e}upload(){return this.loader.file.then((t=>(this.fileUploader=this.uploadGateway.upload(t),this.fileUploader.on("progress",((t,e)=>{this.loader.uploadTotal=e.total,this.loader.uploaded=e.uploaded})),this.fileUploader.send())))}abort(){this.fileUploader.abort()}}class LC extends ar{constructor(t){super(t),this._isEnabledBasedOnSelection=!1}refresh(){const t=this.editor.model,e=Qi(t.document.selection.getSelectedBlocks());this.value=!!e&&e.is("element","paragraph"),this.isEnabled=!!e&&zC(e,t.schema)}execute(t={}){const e=this.editor.model,n=e.document,o=t.selection||n.selection;e.canEditAt(o)&&e.change((t=>{const n=o.getSelectedBlocks();for(const o of n)!o.is("element","paragraph")&&zC(o,e.schema)&&t.rename(o,"paragraph")}))}}function zC(t,e){return e.checkChild(t.parent,"paragraph")&&!e.isObject(t)}class RC extends ar{constructor(t){super(t),this._isEnabledBasedOnSelection=!1}execute(t){const e=this.editor.model,n=t.attributes;let o=t.position;e.canEditAt(o)&&e.change((t=>{if(o=this._findPositionToInsertParagraph(o,t),!o)return;const i=t.createElement("paragraph");n&&e.schema.setAllowedAttributes(i,n,t),e.insertContent(i,o),t.setSelection(i,"in")}))}_findPositionToInsertParagraph(t,e){const n=this.editor.model;if(n.schema.checkChild(t,"paragraph"))return t;const o=n.schema.findAllowedParent(t,"paragraph");if(!o)return null;const i=t.parent,r=n.schema.checkChild(i,"$text");return i.isEmpty||r&&t.isAtEnd?n.createPositionAfter(i):!i.isEmpty&&r&&t.isAtStart?n.createPositionBefore(i):e.split(t,o).position}}const jC=class extends rr{static get pluginName(){return"Paragraph"}init(){const t=this.editor,e=t.model;t.commands.add("paragraph",new LC(t)),t.commands.add("insertParagraph",new RC(t)),e.schema.register("paragraph",{inheritAllFrom:"$block"}),t.conversion.elementToElement({model:"paragraph",view:"p"}),t.conversion.for("upcast").elementToElement({model:(t,{writer:e})=>jC.paragraphLikeElements.has(t.name)?t.isEmpty?null:e.createElement("paragraph"):null,view:/.+/,converterPriority:"low"})}};let FC=jC;FC.paragraphLikeElements=new Set(["blockquote","dd","div","dt","h1","h2","h3","h4","h5","h6","li","p","td","th"]);class VC extends ar{constructor(t,e){super(t),this.modelElements=e}refresh(){const t=Qi(this.editor.model.document.selection.getSelectedBlocks());this.value=!!t&&this.modelElements.includes(t.name)&&t.name,this.isEnabled=!!t&&this.modelElements.some((e=>HC(t,e,this.editor.model.schema)))}execute(t){const e=this.editor.model,n=e.document,o=t.value;e.change((t=>{const i=Array.from(n.selection.getSelectedBlocks()).filter((t=>HC(t,o,e.schema)));for(const e of i)e.is("element",o)||t.rename(e,o)}))}}function HC(t,e,n){return n.checkChild(t.parent,e)&&!n.isObject(t)}const UC="paragraph";class qC extends rr{static get pluginName(){return"HeadingEditing"}constructor(t){super(t),t.config.define("heading",{options:[{model:"paragraph",title:"Paragraph",class:"ck-heading_paragraph"},{model:"heading1",view:"h2",title:"Heading 1",class:"ck-heading_heading1"},{model:"heading2",view:"h3",title:"Heading 2",class:"ck-heading_heading2"},{model:"heading3",view:"h4",title:"Heading 3",class:"ck-heading_heading3"}]})}static get requires(){return[FC]}init(){const t=this.editor,e=t.config.get("heading.options"),n=[];for(const o of e)"paragraph"!==o.model&&(t.model.schema.register(o.model,{inheritAllFrom:"$block"}),t.conversion.elementToElement(o),n.push(o.model));this._addDefaultH1Conversion(t),t.commands.add("heading",new VC(t,n))}afterInit(){const t=this.editor,e=t.commands.get("enter"),n=t.config.get("heading.options");e&&this.listenTo(e,"afterExecute",((e,o)=>{const i=t.model.document.selection.getFirstPosition().parent;n.some((t=>i.is("element",t.model)))&&!i.is("element",UC)&&0===i.childCount&&o.writer.rename(i,UC)}))}_addDefaultH1Conversion(t){t.conversion.for("upcast").elementToElement({model:"heading1",view:"h1",converterPriority:b.low+1})}}var GC=n(6269),WC={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};br()(GC.A,WC);GC.A.locals;class KC extends rr{static get pluginName(){return"HeadingUI"}init(){const t=this.editor,e=t.t,n=function(t){const e=t.t,n={Paragraph:e("Paragraph"),"Heading 1":e("Heading 1"),"Heading 2":e("Heading 2"),"Heading 3":e("Heading 3"),"Heading 4":e("Heading 4"),"Heading 5":e("Heading 5"),"Heading 6":e("Heading 6")};return t.config.get("heading.options").map((t=>{const e=n[t.title];return e&&e!=t.title&&(t.title=e),t}))}(t),o=e("Choose heading"),i=e("Heading");t.ui.componentFactory.add("heading",(e=>{const r={},s=new Yi,a=t.commands.get("heading"),c=t.commands.get("paragraph"),l=[a];for(const t of n){const e={type:"button",model:new yf({label:t.title,class:t.class,role:"menuitemradio",withText:!0})};"paragraph"===t.model?(e.model.bind("isOn").to(c,"value"),e.model.set("commandName","paragraph"),l.push(c)):(e.model.bind("isOn").to(a,"value",(e=>e===t.model)),e.model.set({commandName:"heading",commandValue:t.model})),s.add(e),r[t.model]=t.title}const d=Om(e);return Rm(d,s,{ariaLabel:i,role:"menu"}),d.buttonView.set({ariaLabel:i,ariaLabelledBy:void 0,isOn:!1,withText:!0,tooltip:i}),d.extendTemplate({attributes:{class:["ck-heading-dropdown"]}}),d.bind("isEnabled").toMany(l,"isEnabled",((...t)=>t.some((t=>t)))),d.buttonView.bind("label").to(a,"value",c,"value",((t,e)=>{const n=e?"paragraph":t;return"boolean"==typeof n?o:r[n]?r[n]:o})),d.buttonView.bind("ariaLabel").to(a,"value",c,"value",((t,e)=>{const n=e?"paragraph":t;return"boolean"==typeof n?i:r[n]?`${r[n]}, ${i}`:i})),this.listenTo(d,"execute",(e=>{const{commandName:n,commandValue:o}=e.source;t.execute(n,o?{value:o}:void 0),t.editing.view.focus()})),d})),t.ui.componentFactory.add("menuBar:heading",(o=>{const i=new Hk(o),r=t.commands.get("heading"),s=t.commands.get("paragraph"),a=[r],c=new Uk(o);i.set({class:"ck-heading-dropdown"}),c.set({ariaLabel:e("Heading"),role:"menu"}),i.buttonView.set({label:e("Heading")}),i.panelView.children.add(c);for(const e of n){const n=new mk(o,i),l=new Wk(o);n.children.add(l),c.items.add(n),l.set({label:e.title,role:"menuitemradio",class:e.class}),l.bind("ariaChecked").to(l,"isOn"),l.delegate("execute").to(i),l.on("execute",(()=>{const n="paragraph"===e.model?"paragraph":"heading";t.execute(n,{value:e.model}),t.editing.view.focus()})),"paragraph"===e.model?(l.bind("isOn").to(s,"value"),a.push(s)):l.bind("isOn").to(r,"value",(t=>t===e.model))}return i.bind("isEnabled").toMany(a,"isEnabled",((...t)=>t.some((t=>t)))),i}))}}function $C(t){return t.createContainerElement("figure",{class:"image"},[t.createEmptyElement("img"),t.createSlot("children")])}function YC(t,e){const n=t.plugins.get("ImageUtils"),o=t.plugins.has("ImageInlineEditing")&&t.plugins.has("ImageBlockEditing");return t=>{if(!n.isInlineImageView(t))return null;if(!o)return i(t);return("block"==t.getStyle("display")||t.findAncestor(n.isBlockImageView)?"imageBlock":"imageInline")!==e?null:i(t)};function i(t){const e={name:!0};return t.hasAttribute("src")&&(e.attributes=["src"]),e}}function QC(t,e){const n=Qi(e.getSelectedBlocks());return!n||t.isObject(n)||n.isEmpty&&"listItem"!=n.name?"imageBlock":"imageInline"}function ZC(t){return t&&t.endsWith("px")?parseInt(t):null}function JC(t){const e=ZC(t.getStyle("width")),n=ZC(t.getStyle("height"));return!(!e||!n)}var XC=Object.defineProperty,tv=Object.getOwnPropertySymbols,ev=Object.prototype.hasOwnProperty,nv=Object.prototype.propertyIsEnumerable,ov=(t,e,n)=>e in t?XC(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,iv=(t,e)=>{for(var n in e||(e={}))ev.call(e,n)&&ov(t,n,e[n]);if(tv)for(var n of tv(e))nv.call(e,n)&&ov(t,n,e[n]);return t};const rv=/^(image|image-inline)$/;class sv extends rr{constructor(){super(...arguments),this._domEmitter=new(Bo())}static get pluginName(){return"ImageUtils"}isImage(t){return this.isInlineImage(t)||this.isBlockImage(t)}isInlineImageView(t){return!!t&&t.is("element","img")}isBlockImageView(t){return!!t&&t.is("element","figure")&&t.hasClass("image")}insertImage(t={},e=null,n=null,o={}){const i=this.editor,r=i.model,s=r.document.selection,a=av(i,e||s,n);t=iv(iv({},Object.fromEntries(s.getAttributes())),t);for(const e in t)r.schema.checkAttribute(a,e)||delete t[e];return r.change((n=>{const{setImageSizes:i=!0}=o,s=n.createElement(a,t);return r.insertObject(s,e,null,{setSelection:"on",findOptimalPosition:e||"imageInline"==a?void 0:"auto"}),s.parent?(i&&this.setImageNaturalSizeAttributes(s),s):null}))}setImageNaturalSizeAttributes(t){const e=t.getAttribute("src");e&&(t.getAttribute("width")||t.getAttribute("height")||this.editor.model.change((n=>{const o=new Lo.window.Image;this._domEmitter.listenTo(o,"load",(()=>{t.getAttribute("width")||t.getAttribute("height")||this.editor.model.enqueueChange(n.batch,(e=>{e.setAttribute("width",o.naturalWidth,t),e.setAttribute("height",o.naturalHeight,t)})),this._domEmitter.stopListening(o,"load")})),o.src=e})))}getClosestSelectedImageWidget(t){const e=t.getFirstPosition();if(!e)return null;const n=t.getSelectedElement();if(n&&this.isImageWidget(n))return n;let o=e.parent;for(;o;){if(o.is("element")&&this.isImageWidget(o))return o;o=o.parent}return null}getClosestSelectedImageElement(t){const e=t.getSelectedElement();return this.isImage(e)?e:t.getFirstPosition().findAncestor("imageBlock")}getImageWidgetFromImageView(t){return t.findAncestor({classes:rv})}isImageAllowed(){const t=this.editor.model.document.selection;return function(t,e){const n=av(t,e,null);if("imageBlock"==n){const n=function(t,e){const n=Jw(t,e),o=n.start.parent;if(o.isEmpty&&!o.is("element","$root"))return o.parent;return o}(e,t.model);if(t.model.schema.checkChild(n,"imageBlock"))return!0}else if(t.model.schema.checkChild(e.focus,"imageInline"))return!0;return!1}(this.editor,t)&&function(t){return[...t.focus.getAncestors()].every((t=>!t.is("element","imageBlock")))}(t)}toImageWidget(t,e,n){e.setCustomProperty("image",!0,t);return Kw(t,e,{label:()=>{const e=this.findViewImgElement(t).getAttribute("alt");return e?`${e} ${n}`:n}})}isImageWidget(t){return!!t.getCustomProperty("image")&&Ww(t)}isBlockImage(t){return!!t&&t.is("element","imageBlock")}isInlineImage(t){return!!t&&t.is("element","imageInline")}findViewImgElement(t){if(this.isInlineImageView(t))return t;const e=this.editor.editing.view;for(const{item:n}of e.createRangeIn(t))if(this.isInlineImageView(n))return n}destroy(){return this._domEmitter.stopListening(),super.destroy()}}function av(t,e,n){const o=t.model.schema,i=t.config.get("image.insert.type");return t.plugins.has("ImageBlockEditing")?t.plugins.has("ImageInlineEditing")?n||("inline"===i?"imageInline":"auto"!==i?"imageBlock":e.is("selection")?QC(o,e):o.checkChild(e,"imageInline")?"imageInline":"imageBlock"):"imageBlock":"imageInline"}Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;new RegExp(String(/^(http(s)?:\/\/)?[\w-]+\.[\w.~:/[\]@!$&'()*+,;=%-]+/.source+/\.(jpg|jpeg|png|gif|ico|webp|JPG|JPEG|PNG|GIF|ICO|WEBP)/.source+/(\?[\w.~:/[\]@!$&'()*+,;=%-]*)?/.source+/(#[\w.~:/[\]@!$&'()*+,;=%-]*)?$/.source));class cv extends ar{refresh(){const t=this.editor.plugins.get("ImageUtils").getClosestSelectedImageElement(this.editor.model.document.selection);this.isEnabled=!!t,this.isEnabled&&t.hasAttribute("alt")?this.value=t.getAttribute("alt"):this.value=!1}execute(t){const e=this.editor,n=e.plugins.get("ImageUtils"),o=e.model,i=n.getClosestSelectedImageElement(o.document.selection);o.change((e=>{e.setAttribute("alt",t.newValue,i)}))}}class lv extends rr{static get requires(){return[sv]}static get pluginName(){return"ImageTextAlternativeEditing"}init(){this.editor.commands.add("imageTextAlternative",new cv(this.editor))}}var dv=n(4062),uv={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};br()(dv.A,uv);dv.A.locals;var hv=n(2722),gv={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};br()(hv.A,gv);hv.A.locals;class mv extends dg{constructor(t){super(t);const e=this.locale.t;this.focusTracker=new Zi,this.keystrokes=new Ji,this.labeledInput=this._createLabeledInputView(),this.saveButtonView=this._createButton(e("Save"),jh.check,"ck-button-save"),this.saveButtonView.type="submit",this.cancelButtonView=this._createButton(e("Cancel"),jh.cancel,"ck-button-cancel","cancel"),this._focusables=new Fh,this._focusCycler=new nm({focusables:this._focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}}),this.setTemplate({tag:"form",attributes:{class:["ck","ck-text-alternative-form","ck-responsive-form"],tabindex:"-1"},children:[this.labeledInput,this.saveButtonView,this.cancelButtonView]})}render(){super.render(),this.keystrokes.listenTo(this.element),i({view:this}),[this.labeledInput,this.saveButtonView,this.cancelButtonView].forEach((t=>{this._focusables.add(t),this.focusTracker.add(t.element)}))}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}_createButton(t,e,n,o){const i=new Ig(this.locale);return i.set({label:t,icon:e,tooltip:!0}),i.extendTemplate({attributes:{class:n}}),o&&i.delegate("execute").to(this,o),i}_createLabeledInputView(){const t=this.locale.t,e=new Hg(this.locale,Hm);return e.label=t("Text alternative"),e}}function pv(t){const e=t.editing.view,n=Np.defaultPositions,o=t.plugins.get("ImageUtils");return{target:e.domConverter.mapViewToDom(o.getClosestSelectedImageWidget(e.document.selection)),positions:[n.northArrowSouth,n.northArrowSouthWest,n.northArrowSouthEast,n.southArrowNorth,n.southArrowNorthWest,n.southArrowNorthEast,n.viewportStickyNorth]}}class fv extends rr{static get requires(){return[Tf]}static get pluginName(){return"ImageTextAlternativeUI"}init(){this._createButton()}destroy(){super.destroy(),this._form&&this._form.destroy()}_createButton(){const t=this.editor,e=t.t;t.ui.componentFactory.add("imageTextAlternative",(n=>{const o=t.commands.get("imageTextAlternative"),i=new Ig(n);return i.set({label:e("Change image text alternative"),icon:jh.textAlternative,tooltip:!0}),i.bind("isEnabled").to(o,"isEnabled"),i.bind("isOn").to(o,"value",(t=>!!t)),this.listenTo(i,"execute",(()=>{this._showForm()})),i}))}_createForm(){const n=this.editor,o=n.editing.view.document,i=n.plugins.get("ImageUtils");this._balloon=this.editor.plugins.get("ContextualBalloon"),this._form=new(e(mv))(n.locale),this._form.render(),this.listenTo(this._form,"submit",(()=>{n.execute("imageTextAlternative",{newValue:this._form.labeledInput.fieldView.element.value}),this._hideForm(!0)})),this.listenTo(this._form,"cancel",(()=>{this._hideForm(!0)})),this._form.keystrokes.set("Esc",((t,e)=>{this._hideForm(!0),e()})),this.listenTo(n.ui,"update",(()=>{i.getClosestSelectedImageWidget(o.selection)?this._isVisible&&function(t){const e=t.plugins.get("ContextualBalloon");if(t.plugins.get("ImageUtils").getClosestSelectedImageWidget(t.editing.view.document.selection)){const n=pv(t);e.updatePosition(n)}}(n):this._hideForm(!0)})),t({emitter:this._form,activator:()=>this._isVisible,contextElements:()=>[this._balloon.view.element],callback:()=>this._hideForm()})}_showForm(){if(this._isVisible)return;this._form||this._createForm();const t=this.editor,e=t.commands.get("imageTextAlternative"),n=this._form.labeledInput;this._form.disableCssTransitions(),this._isInBalloon||this._balloon.add({view:this._form,position:pv(t)}),n.fieldView.value=n.fieldView.element.value=e.value||"",this._form.labeledInput.fieldView.select(),this._form.enableCssTransitions()}_hideForm(t=!1){this._isInBalloon&&(this._form.focusTracker.isFocused&&this._form.saveButtonView.focus(),this._balloon.remove(this._form),t&&this.editor.editing.view.focus())}get _isVisible(){return!!this._balloon&&this._balloon.visibleView===this._form}get _isInBalloon(){return!!this._balloon&&this._balloon.hasView(this._form)}}class kv extends rr{static get requires(){return[lv,fv]}static get pluginName(){return"ImageTextAlternative"}}function bv(t,e){const n=(e,n,o)=>{if(!o.consumable.consume(n.item,e.name))return;const i=o.writer,r=o.mapper.toViewElement(n.item),s=t.findViewImgElement(r);null===n.attributeNewValue?(i.removeAttribute("srcset",s),i.removeAttribute("sizes",s)):n.attributeNewValue&&(i.setAttribute("srcset",n.attributeNewValue,s),i.setAttribute("sizes","100vw",s))};return t=>{t.on(`attribute:srcset:${e}`,n)}}function wv(t,e,n){const o=(e,n,o)=>{if(!o.consumable.consume(n.item,e.name))return;const i=o.writer,r=o.mapper.toViewElement(n.item),s=t.findViewImgElement(r);i.setAttribute(n.attributeKey,n.attributeNewValue||"",s)};return t=>{t.on(`attribute:${n}:${e}`,o)}}class Av extends Sa{observe(t){this.listenTo(t,"load",((t,e)=>{const n=e.target;this.checkShouldIgnoreEventFromTarget(n)||"IMG"==n.tagName&&this._fireEvents(e)}),{useCapture:!0})}stopObserving(t){this.stopListening(t)}_fireEvents(t){this.isEnabled&&(this.document.fire("layoutChanged"),this.document.fire("imageLoaded",t))}}var _v=Object.defineProperty,Cv=Object.getOwnPropertySymbols,vv=Object.prototype.hasOwnProperty,yv=Object.prototype.propertyIsEnumerable,xv=(t,e,n)=>e in t?_v(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Ev=(t,e)=>{for(var n in e||(e={}))vv.call(e,n)&&xv(t,n,e[n]);if(Cv)for(var n of Cv(e))yv.call(e,n)&&xv(t,n,e[n]);return t};class Dv extends ar{constructor(t){super(t);const e=t.config.get("image.insert.type");t.plugins.has("ImageBlockEditing")||"block"===e&&C("image-block-plugin-required"),t.plugins.has("ImageInlineEditing")||"inline"===e&&C("image-inline-plugin-required")}refresh(){const t=this.editor.plugins.get("ImageUtils");this.isEnabled=t.isImageAllowed()}execute(t){const e=yi(t.source),n=this.editor.model.document.selection,o=this.editor.plugins.get("ImageUtils"),i=Object.fromEntries(n.getAttributes());e.forEach(((t,e)=>{const r=n.getSelectedElement();if("string"==typeof t&&(t={src:t}),e&&r&&o.isImage(r)){const e=this.editor.model.createPositionAfter(r);o.insertImage(Ev(Ev({},t),i),e)}else o.insertImage(Ev(Ev({},t),i))}))}}class Iv extends ar{constructor(t){super(t),this.decorate("cleanupImage")}refresh(){const t=this.editor.plugins.get("ImageUtils"),e=this.editor.model.document.selection.getSelectedElement();this.isEnabled=t.isImage(e),this.value=this.isEnabled?e.getAttribute("src"):null}execute(t){const e=this.editor.model.document.selection.getSelectedElement(),n=this.editor.plugins.get("ImageUtils");this.editor.model.change((o=>{o.setAttribute("src",t.source,e),this.cleanupImage(o,e),n.setImageNaturalSizeAttributes(e)}))}cleanupImage(t,e){t.removeAttribute("srcset",e),t.removeAttribute("sizes",e),t.removeAttribute("sources",e),t.removeAttribute("width",e),t.removeAttribute("height",e),t.removeAttribute("alt",e)}}class Mv extends rr{static get requires(){return[sv]}static get pluginName(){return"ImageEditing"}init(){const t=this.editor,e=t.conversion;t.editing.view.addObserver(Av),e.for("upcast").attributeToAttribute({view:{name:"img",key:"alt"},model:"alt"}).attributeToAttribute({view:{name:"img",key:"srcset"},model:"srcset"});const n=new Dv(t),o=new Iv(t);t.commands.add("insertImage",n),t.commands.add("replaceImageSource",o),t.commands.add("imageInsert",n)}}class Tv extends rr{static get requires(){return[sv]}static get pluginName(){return"ImageSizeAttributes"}afterInit(){this._registerSchema(),this._registerConverters("imageBlock"),this._registerConverters("imageInline")}_registerSchema(){this.editor.plugins.has("ImageBlockEditing")&&this.editor.model.schema.extend("imageBlock",{allowAttributes:["width","height"]}),this.editor.plugins.has("ImageInlineEditing")&&this.editor.model.schema.extend("imageInline",{allowAttributes:["width","height"]})}_registerConverters(t){const e=this.editor,n=e.plugins.get("ImageUtils"),o="imageBlock"===t?"figure":"img";function i(e,o,i,r){e.on(`attribute:${o}:${t}`,((e,o,s)=>{if(!s.consumable.consume(o.item,e.name))return;const a=s.writer,c=s.mapper.toViewElement(o.item),l=n.findViewImgElement(c);if(null!==o.attributeNewValue?a.setAttribute(i,o.attributeNewValue,l):a.removeAttribute(i,l),o.item.hasAttribute("sources"))return;const d=o.item.hasAttribute("resizedWidth");if("imageInline"===t&&!d&&!r)return;const u=o.item.getAttribute("width"),h=o.item.getAttribute("height");u&&h&&a.setStyle("aspect-ratio",`${u}/${h}`,l)}))}e.conversion.for("upcast").attributeToAttribute({view:{name:o,styles:{width:/.+/}},model:{key:"width",value:t=>JC(t)?ZC(t.getStyle("width")):null}}).attributeToAttribute({view:{name:o,key:"width"},model:"width"}).attributeToAttribute({view:{name:o,styles:{height:/.+/}},model:{key:"height",value:t=>JC(t)?ZC(t.getStyle("height")):null}}).attributeToAttribute({view:{name:o,key:"height"},model:"height"}),e.conversion.for("editingDowncast").add((t=>{i(t,"width","width",!0),i(t,"height","height",!0)})),e.conversion.for("dataDowncast").add((t=>{i(t,"width","width",!1),i(t,"height","height",!1)}))}}class Sv extends ar{constructor(t,e){super(t),this._modelElementName=e}refresh(){const t=this.editor.plugins.get("ImageUtils"),e=t.getClosestSelectedImageElement(this.editor.model.document.selection);"imageBlock"===this._modelElementName?this.isEnabled=t.isInlineImage(e):this.isEnabled=t.isBlockImage(e)}execute(t={}){const e=this.editor,n=this.editor.model,o=e.plugins.get("ImageUtils"),i=o.getClosestSelectedImageElement(n.document.selection),r=Object.fromEntries(i.getAttributes());return r.src||r.uploadId?n.change((e=>{const{setImageSizes:s=!0}=t,a=Array.from(n.markers).filter((t=>t.getRange().containsItem(i))),c=o.insertImage(r,n.createSelection(i,"on"),this._modelElementName,{setImageSizes:s});if(!c)return null;const l=e.createRangeOn(c);for(const t of a){const n=t.getRange(),o="$graveyard"!=n.root.rootName?n.getJoined(l,!0):l;e.updateMarker(t,{range:o})}return{oldElement:i,newElement:c}})):null}}var Bv=n(7378),Nv={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};br()(Bv.A,Nv);Bv.A.locals;class Pv extends rr{static get requires(){return[sv]}static get pluginName(){return"ImagePlaceholder"}afterInit(){this._setupSchema(),this._setupConversion(),this._setupLoadListener()}_setupSchema(){const t=this.editor.model.schema;t.isRegistered("imageBlock")&&t.extend("imageBlock",{allowAttributes:["placeholder"]}),t.isRegistered("imageInline")&&t.extend("imageInline",{allowAttributes:["placeholder"]})}_setupConversion(){const t=this.editor,e=t.conversion,n=t.plugins.get("ImageUtils");e.for("editingDowncast").add((t=>{t.on("attribute:placeholder",((t,e,o)=>{if(!o.consumable.test(e.item,t.name))return;if(!e.item.is("element","imageBlock")&&!e.item.is("element","imageInline"))return;o.consumable.consume(e.item,t.name);const i=o.writer,r=o.mapper.toViewElement(e.item),s=n.findViewImgElement(r);e.attributeNewValue?(i.addClass("image_placeholder",s),i.setStyle("background-image",`url(${e.attributeNewValue})`,s),i.setCustomProperty("editingPipeline:doNotReuseOnce",!0,s)):(i.removeClass("image_placeholder",s),i.removeStyle("background-image",s))}))}))}_setupLoadListener(){const t=this.editor,e=t.model,n=t.editing,o=n.view,i=t.plugins.get("ImageUtils");o.addObserver(Av),this.listenTo(o.document,"imageLoaded",((t,r)=>{const s=o.domConverter.mapDomToView(r.target);if(!s)return;const a=i.getImageWidgetFromImageView(s);if(!a)return;const c=n.mapper.toModelElement(a);c&&c.hasAttribute("placeholder")&&e.enqueueChange({isUndoable:!1},(t=>{t.removeAttribute("placeholder",c)}))}))}}class Ov extends rr{static get requires(){return[Mv,Tv,sv,Pv,Yb]}static get pluginName(){return"ImageBlockEditing"}init(){const t=this.editor;t.model.schema.register("imageBlock",{inheritAllFrom:"$blockObject",allowAttributes:["alt","src","srcset"]}),this._setupConversion(),t.plugins.has("ImageInlineEditing")&&(t.commands.add("imageTypeBlock",new Sv(this.editor,"imageBlock")),this._setupClipboardIntegration())}_setupConversion(){const t=this.editor,e=t.t,n=t.conversion,o=t.plugins.get("ImageUtils");n.for("dataDowncast").elementToStructure({model:"imageBlock",view:(t,{writer:e})=>$C(e)}),n.for("editingDowncast").elementToStructure({model:"imageBlock",view:(t,{writer:n})=>o.toImageWidget($C(n),n,e("image widget"))}),n.for("downcast").add(wv(o,"imageBlock","src")).add(wv(o,"imageBlock","alt")).add(bv(o,"imageBlock")),n.for("upcast").elementToElement({view:YC(t,"imageBlock"),model:(t,{writer:e})=>e.createElement("imageBlock",t.hasAttribute("src")?{src:t.getAttribute("src")}:void 0)}).add(function(t){const e=(e,n,o)=>{if(!o.consumable.test(n.viewItem,{name:!0,classes:"image"}))return;const i=t.findViewImgElement(n.viewItem);if(!i||!o.consumable.test(i,{name:!0}))return;o.consumable.consume(n.viewItem,{name:!0,classes:"image"});const r=Qi(o.convertItem(i,n.modelCursor).modelRange.getItems());r?(o.convertChildren(n.viewItem,r),o.updateConversionResult(r,n)):o.consumable.revert(n.viewItem,{name:!0,classes:"image"})};return t=>{t.on("element:figure",e)}}(o))}_setupClipboardIntegration(){const t=this.editor,e=t.model,n=t.editing.view,o=t.plugins.get("ImageUtils"),i=t.plugins.get("ClipboardPipeline");this.listenTo(i,"inputTransformation",((i,r)=>{const s=Array.from(r.content.getChildren());let a;if(!s.every(o.isInlineImageView))return;a=r.targetRanges?t.editing.mapper.toModelRange(r.targetRanges[0]):e.document.selection.getFirstRange();const c=e.createSelection(a);if("imageBlock"===QC(e.schema,c)){const t=new Ch(n.document),e=s.map((e=>t.createElement("figure",{class:"image"},e)));r.content=t.createDocumentFragment(e)}})),this.listenTo(i,"contentInsertion",((t,n)=>{"paste"===n.method&&e.change((t=>{const e=t.createRangeIn(n.content);for(const t of e.getItems())t.is("element","imageBlock")&&o.setImageNaturalSizeAttributes(t)}))}))}}var Lv=n(3350),zv={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};br()(Lv.A,zv);Lv.A.locals;class Rv extends dg{constructor(t,e=[]){super(t),this.focusTracker=new Zi,this.keystrokes=new Ji,this._focusables=new Fh,this.children=this.createCollection(),this._focusCycler=new nm({focusables:this._focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}});for(const t of e)this.children.add(t),this._focusables.add(t),t instanceof zg&&this._focusables.addMany(t.children);if(this._focusables.length>1)for(const t of this._focusables)jv(t)&&(t.focusCycler.on("forwardCycle",(t=>{this._focusCycler.focusNext(),t.stop()})),t.focusCycler.on("backwardCycle",(t=>{this._focusCycler.focusPrevious(),t.stop()})));this.setTemplate({tag:"form",attributes:{class:["ck","ck-image-insert-form"],tabindex:-1},children:this.children})}render(){super.render(),i({view:this});for(const t of this._focusables)this.focusTracker.add(t.element);this.keystrokes.listenTo(this.element);const t=t=>t.stopPropagation();this.keystrokes.set("arrowright",t),this.keystrokes.set("arrowleft",t),this.keystrokes.set("arrowup",t),this.keystrokes.set("arrowdown",t)}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}focus(){this._focusCycler.focusFirst()}}function jv(t){return"focusCycler"in t}class Fv extends rr{constructor(t){super(t),this._integrations=new Map,t.config.define("image.insert.integrations",["upload","assetManager","url"])}static get pluginName(){return"ImageInsertUI"}static get requires(){return[sv]}init(){const t=this.editor,e=t.model.document.selection,n=t.plugins.get("ImageUtils");this.set("isImageSelected",!1),this.listenTo(t.model.document,"change",(()=>{this.isImageSelected=n.isImage(e.getSelectedElement())}));const o=t=>this._createToolbarComponent(t);t.ui.componentFactory.add("insertImage",o),t.ui.componentFactory.add("imageInsert",o)}registerIntegration({name:t,observable:e,buttonViewCreator:n,formViewCreator:o,requiresForm:i}){this._integrations.has(t)&&C("image-insert-integration-exists",{name:t}),this._integrations.set(t,{observable:e,buttonViewCreator:n,formViewCreator:o,requiresForm:!!i})}_createToolbarComponent(t){const e=this.editor,n=t.t,o=this._prepareIntegrations();if(!o.length)return null;let i;const r=o[0];if(1==o.length){if(!r.requiresForm)return r.buttonViewCreator(!0);i=r.buttonViewCreator(!0)}else{const e=r.buttonViewCreator(!1);i=new Tm(t,e),i.tooltip=!0,i.bind("label").to(this,"isImageSelected",(t=>n(t?"Replace image":"Insert image")))}const s=this.dropdownView=Om(t,i),a=o.map((({observable:t})=>"function"==typeof t?t():t));return s.bind("isEnabled").toMany(a,"isEnabled",((...t)=>t.some((t=>t)))),s.once("change:isOpen",(()=>{const t=o.map((({formViewCreator:t})=>t(1==o.length))),n=new Rv(e.locale,t);s.panelView.children.add(n)})),s}_prepareIntegrations(){const t=this.editor.config.get("image.insert.integrations"),e=[];if(!t.length)return C("image-insert-integrations-not-specified"),e;for(const n of t)this._integrations.has(n)?e.push(this._integrations.get(n)):["upload","assetManager","url"].includes(n)||C("image-insert-unknown-integration",{item:n});return e.length||C("image-insert-integrations-not-registered"),e}}var Vv=n(265),Hv={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};br()(Vv.A,Hv);Vv.A.locals;class Uv extends rr{static get requires(){return[Ov,mA,kv,Fv]}static get pluginName(){return"ImageBlock"}}class qv extends rr{static get requires(){return[Mv,Tv,sv,Pv,Yb]}static get pluginName(){return"ImageInlineEditing"}init(){const t=this.editor,e=t.model.schema;e.register("imageInline",{inheritAllFrom:"$inlineObject",allowAttributes:["alt","src","srcset"]}),e.addChildCheck(((t,e)=>{if(t.endsWith("caption")&&"imageInline"===e.name)return!1})),this._setupConversion(),t.plugins.has("ImageBlockEditing")&&(t.commands.add("imageTypeInline",new Sv(this.editor,"imageInline")),this._setupClipboardIntegration())}_setupConversion(){const t=this.editor,e=t.t,n=t.conversion,o=t.plugins.get("ImageUtils");n.for("dataDowncast").elementToElement({model:"imageInline",view:(t,{writer:e})=>e.createEmptyElement("img")}),n.for("editingDowncast").elementToStructure({model:"imageInline",view:(t,{writer:n})=>o.toImageWidget(function(t){return t.createContainerElement("span",{class:"image-inline"},t.createEmptyElement("img"))}(n),n,e("image widget"))}),n.for("downcast").add(wv(o,"imageInline","src")).add(wv(o,"imageInline","alt")).add(bv(o,"imageInline")),n.for("upcast").elementToElement({view:YC(t,"imageInline"),model:(t,{writer:e})=>e.createElement("imageInline",t.hasAttribute("src")?{src:t.getAttribute("src")}:void 0)})}_setupClipboardIntegration(){const t=this.editor,e=t.model,n=t.editing.view,o=t.plugins.get("ImageUtils"),i=t.plugins.get("ClipboardPipeline");this.listenTo(i,"inputTransformation",((i,r)=>{const s=Array.from(r.content.getChildren());let a;if(!s.every(o.isBlockImageView))return;a=r.targetRanges?t.editing.mapper.toModelRange(r.targetRanges[0]):e.document.selection.getFirstRange();const c=e.createSelection(a);if("imageInline"===QC(e.schema,c)){const t=new Ch(n.document),e=s.map((e=>1===e.childCount?(Array.from(e.getAttributes()).forEach((n=>t.setAttribute(...n,o.findViewImgElement(e)))),e.getChild(0)):e));r.content=t.createDocumentFragment(e)}})),this.listenTo(i,"contentInsertion",((t,n)=>{"paste"===n.method&&e.change((t=>{const e=t.createRangeIn(n.content);for(const t of e.getItems())t.is("element","imageInline")&&o.setImageNaturalSizeAttributes(t)}))}))}}class Gv extends rr{static get requires(){return[qv,mA,kv,Fv]}static get pluginName(){return"ImageInline"}}class Wv extends rr{static get pluginName(){return"ImageCaptionUtils"}static get requires(){return[sv]}getCaptionFromImageModelElement(t){for(const e of t.getChildren())if(e&&e.is("element","caption"))return e;return null}getCaptionFromModelSelection(t){const e=this.editor.plugins.get("ImageUtils"),n=t.getFirstPosition().findAncestor("caption");return n&&e.isBlockImage(n.parent)?n:null}matchImageCaptionViewElement(t){const e=this.editor.plugins.get("ImageUtils");return"figcaption"==t.name&&e.isBlockImageView(t.parent)?{name:!0}:null}}class Kv extends ar{refresh(){const t=this.editor,e=t.plugins.get("ImageCaptionUtils"),n=t.plugins.get("ImageUtils");if(!t.plugins.has(Ov))return this.isEnabled=!1,void(this.value=!1);const o=t.model.document.selection,i=o.getSelectedElement();if(!i){const t=e.getCaptionFromModelSelection(o);return this.isEnabled=!!t,void(this.value=!!t)}this.isEnabled=n.isImage(i),this.isEnabled?this.value=!!e.getCaptionFromImageModelElement(i):this.value=!1}execute(t={}){const{focusCaptionOnShow:e}=t;this.editor.model.change((t=>{this.value?this._hideImageCaption(t):this._showImageCaption(t,e)}))}_showImageCaption(t,e){const n=this.editor.model.document.selection,o=this.editor.plugins.get("ImageCaptionEditing"),i=this.editor.plugins.get("ImageUtils");let r=n.getSelectedElement();const s=o._getSavedCaption(r);i.isInlineImage(r)&&(this.editor.execute("imageTypeBlock"),r=n.getSelectedElement());const a=s||t.createElement("caption");t.append(a,r),e&&t.setSelection(a,"in")}_hideImageCaption(t){const e=this.editor,n=e.model.document.selection,o=e.plugins.get("ImageCaptionEditing"),i=e.plugins.get("ImageCaptionUtils");let r,s=n.getSelectedElement();s?r=i.getCaptionFromImageModelElement(s):(r=i.getCaptionFromModelSelection(n),s=r.parent),o._saveCaption(s,r),t.setSelection(s,"on"),t.remove(r)}}class $v extends rr{constructor(t){super(t),this._savedCaptionsMap=new WeakMap}static get requires(){return[sv,Wv]}static get pluginName(){return"ImageCaptionEditing"}init(){const t=this.editor,e=t.model.schema;e.isRegistered("caption")?e.extend("caption",{allowIn:"imageBlock"}):e.register("caption",{allowIn:"imageBlock",allowContentOf:"$block",isLimit:!0}),t.commands.add("toggleImageCaption",new Kv(this.editor)),this._setupConversion(),this._setupImageTypeCommandsIntegration(),this._registerCaptionReconversion()}_setupConversion(){const t=this.editor,e=t.editing.view,n=t.plugins.get("ImageUtils"),o=t.plugins.get("ImageCaptionUtils"),i=t.t;t.conversion.for("upcast").elementToElement({view:t=>o.matchImageCaptionViewElement(t),model:"caption"}),t.conversion.for("dataDowncast").elementToElement({model:"caption",view:(t,{writer:e})=>n.isBlockImage(t.parent)?e.createContainerElement("figcaption"):null}),t.conversion.for("editingDowncast").elementToElement({model:"caption",view:(t,{writer:o})=>{if(!n.isBlockImage(t.parent))return null;const r=o.createEditableElement("figcaption");o.setCustomProperty("imageCaption",!0,r),r.placeholder=i("Enter image caption"),vr({view:e,element:r,keepOnFocus:!0});const s=t.parent.getAttribute("alt");return Zw(r,o,{label:s?i("Caption for image: %0",[s]):i("Caption for the image")})}})}_setupImageTypeCommandsIntegration(){const t=this.editor,e=t.plugins.get("ImageUtils"),n=t.plugins.get("ImageCaptionUtils"),o=t.commands.get("imageTypeInline"),i=t.commands.get("imageTypeBlock"),r=t=>{if(!t.return)return;const{oldElement:o,newElement:i}=t.return;if(!o)return;if(e.isBlockImage(o)){const t=n.getCaptionFromImageModelElement(o);if(t)return void this._saveCaption(i,t)}const r=this._getSavedCaption(o);r&&this._saveCaption(i,r)};o&&this.listenTo(o,"execute",r,{priority:"low"}),i&&this.listenTo(i,"execute",r,{priority:"low"})}_getSavedCaption(t){const e=this._savedCaptionsMap.get(t);return e?Pc.fromJSON(e):null}_saveCaption(t,e){this._savedCaptionsMap.set(t,e.toJSON())}_registerCaptionReconversion(){const t=this.editor,e=t.model,n=t.plugins.get("ImageUtils"),o=t.plugins.get("ImageCaptionUtils");e.document.on("change:data",(()=>{const i=e.document.differ.getChanges();for(const e of i){if("alt"!==e.attributeKey)continue;const i=e.range.start.nodeAfter;if(n.isBlockImage(i)){const e=o.getCaptionFromImageModelElement(i);if(!e)return;t.editing.reconvertItem(e)}}}))}}class Yv extends rr{static get requires(){return[Wv]}static get pluginName(){return"ImageCaptionUI"}init(){const t=this.editor,e=t.editing.view,n=t.plugins.get("ImageCaptionUtils"),o=t.t;t.ui.componentFactory.add("toggleImageCaption",(i=>{const r=t.commands.get("toggleImageCaption"),s=new Ig(i);return s.set({icon:jh.caption,tooltip:!0,isToggleable:!0}),s.bind("isOn","isEnabled").to(r,"value","isEnabled"),s.bind("label").to(r,"value",(t=>o(t?"Toggle caption off":"Toggle caption on"))),this.listenTo(s,"execute",(()=>{t.execute("toggleImageCaption",{focusCaptionOnShow:!0});const o=n.getCaptionFromModelSelection(t.model.document.selection);if(o){const n=t.editing.mapper.toViewElement(o);e.scrollToTheSelection(),e.change((t=>{t.addClass("image__caption_highlighted",n)}))}t.editing.view.focus()})),s}))}}var Qv=n(5247),Zv={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};br()(Qv.A,Zv);Qv.A.locals;function Jv(t){const e=t.map((t=>t.replace("+","\\+")));return new RegExp(`^image\\/(${e.join("|")})$`)}function Xv(t){return new Promise(((e,n)=>{const o=t.getAttribute("src");fetch(o).then((t=>t.blob())).then((t=>{const n=ty(t,o),i=n.replace("image/",""),r=new File([t],`image.${i}`,{type:n});e(r)})).catch((t=>t&&"TypeError"===t.name?function(t){return function(t){return new Promise(((e,n)=>{const o=Lo.document.createElement("img");o.addEventListener("load",(()=>{const t=Lo.document.createElement("canvas");t.width=o.width,t.height=o.height;t.getContext("2d").drawImage(o,0,0),t.toBlob((t=>t?e(t):n()))})),o.addEventListener("error",(()=>n())),o.src=t}))}(t).then((e=>{const n=ty(e,t),o=n.replace("image/","");return new File([e],`image.${o}`,{type:n})}))}(o).then(e).catch(n):n(t)))}))}function ty(t,e){return t.type?t.type:e.match(/data:(image\/\w+);base64/)?e.match(/data:(image\/\w+);base64/)[1].toLowerCase():"image/jpeg"}class ey extends rr{static get pluginName(){return"ImageUploadUI"}init(){const t=this.editor,e=t.t,n=()=>{const t=this._createButton(Bg);return t.set({label:e("Upload image from computer"),tooltip:!0}),t};if(t.ui.componentFactory.add("uploadImage",n),t.ui.componentFactory.add("imageUpload",n),t.ui.componentFactory.add("menuBar:uploadImage",(()=>{const t=this._createButton(Kk);return t.label=e("Image from computer"),t})),t.plugins.has("ImageInsertUI")){const n=t.plugins.get("ImageInsertUI");n.registerIntegration({name:"upload",observable:()=>t.commands.get("uploadImage"),buttonViewCreator:()=>{const o=t.ui.componentFactory.create("uploadImage");return o.bind("label").to(n,"isImageSelected",(t=>e(t?"Replace image from computer":"Upload image from computer"))),o},formViewCreator:()=>{const o=t.ui.componentFactory.create("uploadImage");return o.withText=!0,o.bind("label").to(n,"isImageSelected",(t=>e(t?"Replace from computer":"Upload from computer"))),o.on("execute",(()=>{n.dropdownView.isOpen=!1})),o}})}}_createButton(t){const e=this.editor,n=e.locale,o=e.commands.get("uploadImage"),i=e.config.get("image.upload.types"),r=Jv(i),s=new t(e.locale),a=n.t;return s.set({acceptedType:i.map((t=>`image/${t}`)).join(","),allowMultipleFiles:!0,label:a("Upload image from computer"),icon:jh.imageUpload}),s.bind("isEnabled").to(o),s.on("done",((t,n)=>{const o=Array.from(n).filter((t=>r.test(t.type)));o.length&&(e.execute("uploadImage",{file:o}),e.editing.view.focus())})),s}}var ny=n(2267),oy={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};br()(ny.A,oy);ny.A.locals;var iy=n(7693),ry={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};br()(iy.A,ry);iy.A.locals;var sy=n(1559),ay={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};br()(sy.A,ay);sy.A.locals;class cy extends rr{constructor(t){super(t),this.uploadStatusChange=(t,e,n)=>{const o=this.editor,i=e.item,r=i.getAttribute("uploadId");if(!n.consumable.consume(e.item,t.name))return;const s=o.plugins.get("ImageUtils"),a=o.plugins.get(u_),c=r?e.attributeNewValue:null,l=this.placeholder,d=o.editing.mapper.toViewElement(i),u=n.writer;if("reading"==c)return ly(d,u),void dy(s,l,d,u);if("uploading"==c){const t=a.loaders.get(r);return ly(d,u),void(t?(uy(d,u),function(t,e,n,o){const i=function(t){const e=t.createUIElement("div",{class:"ck-progress-bar"});return t.setCustomProperty("progressBar",!0,e),e}(e);e.insert(e.createPositionAt(t,"end"),i),n.on("change:uploadedPercent",((t,e,n)=>{o.change((t=>{t.setStyle("width",n+"%",i)}))}))}(d,u,t,o.editing.view),function(t,e,n,o){if(o.data){const i=t.findViewImgElement(e);n.setAttribute("src",o.data,i)}}(s,d,u,t)):dy(s,l,d,u))}"complete"==c&&a.loaders.get(r)&&function(t,e,n){const o=e.createUIElement("div",{class:"ck-image-upload-complete-icon"});e.insert(e.createPositionAt(t,"end"),o),setTimeout((()=>{n.change((t=>t.remove(t.createRangeOn(o))))}),3e3)}(d,u,o.editing.view),function(t,e){gy(t,e,"progressBar")}(d,u),uy(d,u),function(t,e){e.removeClass("ck-appear",t)}(d,u)},this.placeholder="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="}static get pluginName(){return"ImageUploadProgress"}init(){const t=this.editor;t.plugins.has("ImageBlockEditing")&&t.editing.downcastDispatcher.on("attribute:uploadStatus:imageBlock",this.uploadStatusChange),t.plugins.has("ImageInlineEditing")&&t.editing.downcastDispatcher.on("attribute:uploadStatus:imageInline",this.uploadStatusChange)}}function ly(t,e){t.hasClass("ck-appear")||e.addClass("ck-appear",t)}function dy(t,e,n,o){n.hasClass("ck-image-upload-placeholder")||o.addClass("ck-image-upload-placeholder",n);const i=t.findViewImgElement(n);i.getAttribute("src")!==e&&o.setAttribute("src",e,i),hy(n,"placeholder")||o.insert(o.createPositionAfter(i),function(t){const e=t.createUIElement("div",{class:"ck-upload-placeholder-loader"});return t.setCustomProperty("placeholder",!0,e),e}(o))}function uy(t,e){t.hasClass("ck-image-upload-placeholder")&&e.removeClass("ck-image-upload-placeholder",t),gy(t,e,"placeholder")}function hy(t,e){for(const n of t.getChildren())if(n.getCustomProperty(e))return n}function gy(t,e,n){const o=hy(t,n);o&&e.remove(e.createRangeOn(o))}var my=Object.defineProperty,py=Object.defineProperties,fy=Object.getOwnPropertyDescriptors,ky=Object.getOwnPropertySymbols,by=Object.prototype.hasOwnProperty,wy=Object.prototype.propertyIsEnumerable,Ay=(t,e,n)=>e in t?my(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;class _y extends ar{refresh(){const t=this.editor,e=t.plugins.get("ImageUtils"),n=t.model.document.selection.getSelectedElement();this.isEnabled=e.isImageAllowed()||e.isImage(n)}execute(t){const e=yi(t.file),n=this.editor.model.document.selection,o=this.editor.plugins.get("ImageUtils"),i=Object.fromEntries(n.getAttributes());e.forEach(((t,e)=>{const r=n.getSelectedElement();if(e&&r&&o.isImage(r)){const e=this.editor.model.createPositionAfter(r);this._uploadImage(t,i,e)}else this._uploadImage(t,i)}))}_uploadImage(t,e,n){const o=this.editor,i=o.plugins.get(u_).createLoader(t),r=o.plugins.get("ImageUtils");var s,a;i&&r.insertImage((s=((t,e)=>{for(var n in e||(e={}))by.call(e,n)&&Ay(t,n,e[n]);if(ky)for(var n of ky(e))wy.call(e,n)&&Ay(t,n,e[n]);return t})({},e),a={uploadId:i.id},py(s,fy(a))),n)}}class Cy extends rr{constructor(t){super(t),t.config.define("image",{upload:{types:["jpeg","png","gif","bmp","webp","tiff"]}}),this._uploadImageElements=new Map}static get requires(){return[u_,vf,Yb,sv]}static get pluginName(){return"ImageUploadEditing"}init(){const t=this.editor,e=t.model.document,n=t.conversion,o=t.plugins.get(u_),i=t.plugins.get("ImageUtils"),r=t.plugins.get("ClipboardPipeline"),s=Jv(t.config.get("image.upload.types")),a=new _y(t);t.commands.add("uploadImage",a),t.commands.add("imageUpload",a),n.for("upcast").attributeToAttribute({view:{name:"img",key:"uploadId"},model:"uploadId"}),this.listenTo(t.editing.view.document,"clipboardInput",((e,n)=>{if(o=n.dataTransfer,Array.from(o.types).includes("text/html")&&""!==o.getData("text/html"))return;var o;const i=Array.from(n.dataTransfer.files).filter((t=>!!t&&s.test(t.type)));i.length&&(e.stop(),t.model.change((e=>{n.targetRanges&&e.setSelection(n.targetRanges.map((e=>t.editing.mapper.toModelRange(e)))),t.execute("uploadImage",{file:i})})))})),this.listenTo(r,"inputTransformation",((e,n)=>{const r=Array.from(t.editing.view.createRangeIn(n.content)).map((t=>t.item)).filter((t=>function(t,e){return!(!t.isInlineImageView(e)||!e.getAttribute("src")||!e.getAttribute("src").match(/^data:image\/\w+;base64,/g)&&!e.getAttribute("src").match(/^blob:/g))}(i,t)&&!t.getAttribute("uploadProcessed"))).map((t=>({promise:Xv(t),imageElement:t})));if(!r.length)return;const s=new Ch(t.editing.view.document);for(const t of r){s.setAttribute("uploadProcessed",!0,t.imageElement);const e=o.createLoader(t.promise);e&&(s.setAttribute("src","",t.imageElement),s.setAttribute("uploadId",e.id,t.imageElement))}})),t.editing.view.document.on("dragover",((t,e)=>{e.preventDefault()})),e.on("change",(()=>{const n=e.differ.getChanges({includeChangesInGraveyard:!0}).reverse(),i=new Set;for(const e of n)if("insert"==e.type&&"$text"!=e.name){const n=e.position.nodeAfter,r="$graveyard"==e.position.root.rootName;for(const e of vy(t,n)){const t=e.getAttribute("uploadId");if(!t)continue;const n=o.loaders.get(t);n&&(r?i.has(t)||n.abort():(i.add(t),this._uploadImageElements.set(t,e),"idle"==n.status&&this._readAndUpload(n)))}}})),this.on("uploadComplete",((t,{imageElement:e,data:n})=>{const o=n.urls?n.urls:n;this.editor.model.change((t=>{t.setAttribute("src",o.default,e),this._parseAndSetSrcsetAttributeOnImage(o,e,t),i.setImageNaturalSizeAttributes(e)}))}),{priority:"low"})}afterInit(){const t=this.editor.model.schema;this.editor.plugins.has("ImageBlockEditing")&&t.extend("imageBlock",{allowAttributes:["uploadId","uploadStatus"]}),this.editor.plugins.has("ImageInlineEditing")&&t.extend("imageInline",{allowAttributes:["uploadId","uploadStatus"]})}_readAndUpload(t){const e=this.editor,n=e.model,o=e.locale.t,i=e.plugins.get(u_),r=e.plugins.get(vf),s=e.plugins.get("ImageUtils"),a=this._uploadImageElements;return n.enqueueChange({isUndoable:!1},(e=>{e.setAttribute("uploadStatus","reading",a.get(t.id))})),t.read().then((()=>{const o=t.upload(),i=a.get(t.id);if(c.isSafari){const t=e.editing.mapper.toViewElement(i),n=s.findViewImgElement(t);e.editing.view.once("render",(()=>{if(!n.parent)return;const t=e.editing.view.domConverter.mapViewToDom(n.parent);if(!t)return;const o=t.style.display;t.style.display="none",t._ckHack=t.offsetHeight,t.style.display=o}))}return n.enqueueChange({isUndoable:!1},(t=>{t.setAttribute("uploadStatus","uploading",i)})),o})).then((e=>{n.enqueueChange({isUndoable:!1},(n=>{const o=a.get(t.id);n.setAttribute("uploadStatus","complete",o),this.fire("uploadComplete",{data:e,imageElement:o})})),l()})).catch((e=>{if("error"!==t.status&&"aborted"!==t.status)throw e;"error"==t.status&&e&&r.showWarning(e,{title:o("Upload failed"),namespace:"upload"}),n.enqueueChange({isUndoable:!1},(e=>{e.remove(a.get(t.id))})),l()}));function l(){n.enqueueChange({isUndoable:!1},(e=>{const n=a.get(t.id);e.removeAttribute("uploadId",n),e.removeAttribute("uploadStatus",n),a.delete(t.id)})),i.destroyLoader(t)}}_parseAndSetSrcsetAttributeOnImage(t,e,n){let o=0;const i=Object.keys(t).filter((t=>{const e=parseInt(t,10);if(!isNaN(e))return o=Math.max(o,e),!0})).map((e=>`${t[e]} ${e}w`)).join(", ");if(""!=i){const t={srcset:i};e.hasAttribute("width")||e.hasAttribute("height")||(t.width=o),n.setAttributes(t,e)}}}function vy(t,e){const n=t.plugins.get("ImageUtils");return Array.from(t.model.createRangeOn(e)).filter((t=>n.isImage(t.item))).map((t=>t.item))}var yy=n(3469),xy={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};br()(yy.A,xy);yy.A.locals;class Ey extends ar{constructor(t,e){super(t),this._defaultStyles={imageBlock:!1,imageInline:!1},this._styles=new Map(e.map((t=>{if(t.isDefault)for(const e of t.modelElements)this._defaultStyles[e]=t.name;return[t.name,t]})))}refresh(){const t=this.editor.plugins.get("ImageUtils").getClosestSelectedImageElement(this.editor.model.document.selection);this.isEnabled=!!t,this.isEnabled?t.hasAttribute("imageStyle")?this.value=t.getAttribute("imageStyle"):this.value=this._defaultStyles[t.name]:this.value=!1}execute(t={}){const e=this.editor,n=e.model,o=e.plugins.get("ImageUtils");n.change((e=>{const i=t.value,{setImageSizes:r=!0}=t;let s=o.getClosestSelectedImageElement(n.document.selection);i&&this.shouldConvertImageType(i,s)&&(this.editor.execute(o.isBlockImage(s)?"imageTypeInline":"imageTypeBlock",{setImageSizes:r}),s=o.getClosestSelectedImageElement(n.document.selection)),!i||this._styles.get(i).isDefault?e.removeAttribute("imageStyle",s):e.setAttribute("imageStyle",i,s),r&&o.setImageNaturalSizeAttributes(s)}))}shouldConvertImageType(t,e){return!this._styles.get(t).modelElements.includes(e.name)}}var Dy=Object.defineProperty,Iy=Object.getOwnPropertySymbols,My=Object.prototype.hasOwnProperty,Ty=Object.prototype.propertyIsEnumerable,Sy=(t,e,n)=>e in t?Dy(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,By=(t,e)=>{for(var n in e||(e={}))My.call(e,n)&&Sy(t,n,e[n]);if(Iy)for(var n of Iy(e))Ty.call(e,n)&&Sy(t,n,e[n]);return t};const{objectFullWidth:Ny,objectInline:Py,objectLeft:Oy,objectRight:Ly,objectCenter:zy,objectBlockLeft:Ry,objectBlockRight:jy}=jh,Fy={get inline(){return{name:"inline",title:"In line",icon:Py,modelElements:["imageInline"],isDefault:!0}},get alignLeft(){return{name:"alignLeft",title:"Left aligned image",icon:Oy,modelElements:["imageBlock","imageInline"],className:"image-style-align-left"}},get alignBlockLeft(){return{name:"alignBlockLeft",title:"Left aligned image",icon:Ry,modelElements:["imageBlock"],className:"image-style-block-align-left"}},get alignCenter(){return{name:"alignCenter",title:"Centered image",icon:zy,modelElements:["imageBlock"],className:"image-style-align-center"}},get alignRight(){return{name:"alignRight",title:"Right aligned image",icon:Ly,modelElements:["imageBlock","imageInline"],className:"image-style-align-right"}},get alignBlockRight(){return{name:"alignBlockRight",title:"Right aligned image",icon:jy,modelElements:["imageBlock"],className:"image-style-block-align-right"}},get block(){return{name:"block",title:"Centered image",icon:zy,modelElements:["imageBlock"],isDefault:!0}},get side(){return{name:"side",title:"Side image",icon:Ly,modelElements:["imageBlock"],className:"image-style-side"}}},Vy={full:Ny,left:Ry,right:jy,center:zy,inlineLeft:Oy,inlineRight:Ly,inline:Py},Hy=[{name:"imageStyle:wrapText",title:"Wrap text",defaultItem:"imageStyle:alignLeft",items:["imageStyle:alignLeft","imageStyle:alignRight"]},{name:"imageStyle:breakText",title:"Break text",defaultItem:"imageStyle:block",items:["imageStyle:alignBlockLeft","imageStyle:block","imageStyle:alignBlockRight"]}];function Uy(t){C("image-style-configuration-definition-invalid",t)}const qy={normalizeStyles:function(t){return(t.configuredStyles.options||[]).map((t=>function(t){t="string"==typeof t?Fy[t]?By({},Fy[t]):{name:t}:function(t,e){const n=By({},e);for(const o in t)Object.prototype.hasOwnProperty.call(e,o)||(n[o]=t[o]);return n}(Fy[t.name],t);"string"==typeof t.icon&&(t.icon=Vy[t.icon]||t.icon);return t}(t))).filter((e=>function(t,{isBlockPluginLoaded:e,isInlinePluginLoaded:n}){const{modelElements:o,name:i}=t;if(!(o&&o.length&&i))return Uy({style:t}),!1;{const i=[e?"imageBlock":null,n?"imageInline":null];if(!o.some((t=>i.includes(t))))return C("image-style-missing-dependency",{style:t,missingPlugins:o.map((t=>"imageBlock"===t?"ImageBlockEditing":"ImageInlineEditing"))}),!1}return!0}(e,t)))},getDefaultStylesConfiguration:function(t,e){return t&&e?{options:["inline","alignLeft","alignRight","alignCenter","alignBlockLeft","alignBlockRight","block","side"]}:t?{options:["block","side"]}:e?{options:["inline","alignLeft","alignRight"]}:{}},getDefaultDropdownDefinitions:function(t){return t.has("ImageBlockEditing")&&t.has("ImageInlineEditing")?[...Hy]:[]},warnInvalidStyle:Uy,DEFAULT_OPTIONS:Fy,DEFAULT_ICONS:Vy,DEFAULT_DROPDOWN_DEFINITIONS:Hy};function Gy(t,e){for(const n of e)if(n.name===t)return n}class Wy extends rr{static get pluginName(){return"ImageStyleEditing"}static get requires(){return[sv]}init(){const{normalizeStyles:t,getDefaultStylesConfiguration:e}=qy,n=this.editor,o=n.plugins.has("ImageBlockEditing"),i=n.plugins.has("ImageInlineEditing");n.config.define("image.styles",e(o,i)),this.normalizedStyles=t({configuredStyles:n.config.get("image.styles"),isBlockPluginLoaded:o,isInlinePluginLoaded:i}),this._setupConversion(o,i),this._setupPostFixer(),n.commands.add("imageStyle",new Ey(n,this.normalizedStyles))}_setupConversion(t,e){const n=this.editor,o=n.model.schema,i=(r=this.normalizedStyles,(t,e,n)=>{if(!n.consumable.consume(e.item,t.name))return;const o=Gy(e.attributeNewValue,r),i=Gy(e.attributeOldValue,r),s=n.mapper.toViewElement(e.item),a=n.writer;i&&a.removeClass(i.className,s),o&&a.addClass(o.className,s)});var r;const s=function(t){const e={imageInline:t.filter((t=>!t.isDefault&&t.modelElements.includes("imageInline"))),imageBlock:t.filter((t=>!t.isDefault&&t.modelElements.includes("imageBlock")))};return(t,n,o)=>{if(!n.modelRange)return;const i=n.viewItem,r=Qi(n.modelRange.getItems());if(r&&o.schema.checkAttribute(r,"imageStyle"))for(const t of e[r.name])o.consumable.consume(i,{classes:t.className})&&o.writer.setAttribute("imageStyle",t.name,r)}}(this.normalizedStyles);n.editing.downcastDispatcher.on("attribute:imageStyle",i),n.data.downcastDispatcher.on("attribute:imageStyle",i),t&&(o.extend("imageBlock",{allowAttributes:"imageStyle"}),n.data.upcastDispatcher.on("element:figure",s,{priority:"low"})),e&&(o.extend("imageInline",{allowAttributes:"imageStyle"}),n.data.upcastDispatcher.on("element:img",s,{priority:"low"}))}_setupPostFixer(){const t=this.editor,e=t.model.document,n=t.plugins.get(sv),o=new Map(this.normalizedStyles.map((t=>[t.name,t])));e.registerPostFixer((t=>{let i=!1;for(const r of e.differ.getChanges())if("insert"==r.type||"attribute"==r.type&&"imageStyle"==r.attributeKey){let e="insert"==r.type?r.position.nodeAfter:r.range.start.nodeAfter;if(e&&e.is("element","paragraph")&&e.childCount>0&&(e=e.getChild(0)),!n.isImage(e))continue;const s=e.getAttribute("imageStyle");if(!s)continue;const a=o.get(s);a&&a.modelElements.includes(e.name)||(t.removeAttribute("imageStyle",e),i=!0)}return i}))}}var Ky=n(6386),$y={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};br()(Ky.A,$y);Ky.A.locals;class Yy extends rr{static get requires(){return[Wy]}static get pluginName(){return"ImageStyleUI"}get localizedDefaultStylesTitles(){const t=this.editor.t;return{"Wrap text":t("Wrap text"),"Break text":t("Break text"),"In line":t("In line"),"Full size image":t("Full size image"),"Side image":t("Side image"),"Left aligned image":t("Left aligned image"),"Centered image":t("Centered image"),"Right aligned image":t("Right aligned image")}}init(){const t=this.editor.plugins,e=this.editor.config.get("image.toolbar")||[],n=Qy(t.get("ImageStyleEditing").normalizedStyles,this.localizedDefaultStylesTitles);for(const t of n)this._createButton(t);const o=Qy([...e.filter(F),...qy.getDefaultDropdownDefinitions(t)],this.localizedDefaultStylesTitles);for(const t of o)this._createDropdown(t,n)}_createDropdown(t,e){const n=this.editor.ui.componentFactory;n.add(t.name,(o=>{let i;const{defaultItem:r,items:s,title:a}=t,c=s.filter((t=>e.find((({name:e})=>Zy(e)===t)))).map((t=>{const e=n.create(t);return t===r&&(i=e),e}));s.length!==c.length&&qy.warnInvalidStyle({dropdown:t});const l=Om(o,Tm),d=l.buttonView,u=d.arrowView;return Lm(l,c,{enableActiveItemFocusOnDropdownOpen:!0}),d.set({label:Jy(a,i.label),class:null,tooltip:!0}),u.unbind("label"),u.set({label:a}),d.bind("icon").toMany(c,"isOn",((...t)=>{const e=t.findIndex(Bi);return e<0?i.icon:c[e].icon})),d.bind("label").toMany(c,"isOn",((...t)=>{const e=t.findIndex(Bi);return Jy(a,e<0?i.label:c[e].label)})),d.bind("isOn").toMany(c,"isOn",((...t)=>t.some(Bi))),d.bind("class").toMany(c,"isOn",((...t)=>t.some(Bi)?"ck-splitbutton_flatten":void 0)),d.on("execute",(()=>{c.some((({isOn:t})=>t))?l.isOpen=!l.isOpen:i.fire("execute")})),l.bind("isEnabled").toMany(c,"isEnabled",((...t)=>t.some(Bi))),this.listenTo(l,"execute",(()=>{this.editor.editing.view.focus()})),l}))}_createButton(t){const e=t.name;this.editor.ui.componentFactory.add(Zy(e),(n=>{const o=this.editor.commands.get("imageStyle"),i=new Ig(n);return i.set({label:t.title,icon:t.icon,tooltip:!0,isToggleable:!0}),i.bind("isEnabled").to(o,"isEnabled"),i.bind("isOn").to(o,"value",(t=>t===e)),i.on("execute",this._executeCommand.bind(this,e)),i}))}_executeCommand(t){this.editor.execute("imageStyle",{value:t}),this.editor.editing.view.focus()}}function Qy(t,e){for(const n of t)e[n.title]&&(n.title=e[n.title]);return t}function Zy(t){return`imageStyle:${t}`}function Jy(t,e){return(t?t+": ":"")+e}class Xy extends rr{static get pluginName(){return"IndentEditing"}init(){const t=this.editor;t.commands.add("indent",new lr(t)),t.commands.add("outdent",new lr(t))}}class tx extends rr{static get pluginName(){return"IndentUI"}init(){const t=this.editor,e=t.locale,n=t.t,o="ltr"==e.uiLanguageDirection?jh.indent:jh.outdent,i="ltr"==e.uiLanguageDirection?jh.outdent:jh.indent;this._defineButton("indent",n("Increase indent"),o),this._defineButton("outdent",n("Decrease indent"),i)}_defineButton(t,e,n){const o=this.editor;o.ui.componentFactory.add(t,(()=>{const o=this._createButton(Ig,t,e,n);return o.set({tooltip:!0}),o})),o.ui.componentFactory.add("menuBar:"+t,(()=>this._createButton(Wk,t,e,n)))}_createButton(t,e,n,o){const i=this.editor,r=i.commands.get(e),s=new t(i.locale);return s.set({label:n,icon:o}),s.bind("isEnabled").to(r,"isEnabled"),this.listenTo(s,"execute",(()=>{i.execute(e),i.editing.view.focus()})),s}}class ex{constructor(){this._definitions=new Set}get length(){return this._definitions.size}add(t){Array.isArray(t)?t.forEach((t=>this._definitions.add(t))):this._definitions.add(t)}getDispatcher(){return t=>{t.on("attribute:linkHref",((t,e,n)=>{if(!n.consumable.test(e.item,"attribute:linkHref"))return;if(!e.item.is("selection")&&!n.schema.isInline(e.item))return;const o=n.writer,i=o.document.selection;for(const t of this._definitions){const r=o.createAttributeElement("a",t.attributes,{priority:5});t.classes&&o.addClass(t.classes,r);for(const e in t.styles)o.setStyle(e,t.styles[e],r);o.setCustomProperty("link",!0,r),t.callback(e.attributeNewValue)?e.item.is("selection")?o.wrap(i.getFirstRange(),r):o.wrap(n.mapper.toViewRange(e.range),r):o.unwrap(n.mapper.toViewRange(e.range),r)}}),{priority:"high"})}}getDispatcherForLinkedImage(){return t=>{t.on("attribute:linkHref:imageBlock",((t,e,{writer:n,mapper:o})=>{const i=o.toViewElement(e.item),r=Array.from(i.getChildren()).find((t=>t.is("element","a")));for(const t of this._definitions){const o=Xi(t.attributes);if(t.callback(e.attributeNewValue)){for(const[t,e]of o)"class"===t?n.addClass(e,r):n.setAttribute(t,e,r);t.classes&&n.addClass(t.classes,r);for(const e in t.styles)n.setStyle(e,t.styles[e],r)}else{for(const[t,e]of o)"class"===t?n.removeClass(e,r):n.removeAttribute(t,r);t.classes&&n.removeClass(t.classes,r);for(const e in t.styles)n.removeStyle(e,r)}}}))}}}const nx=function(t,e,n){var o=t.length;return n=void 0===n?o:n,!e&&n>=o?t:is(t,e,n)};var ox=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");const ix=function(t){return ox.test(t)};const rx=function(t){return t.split("")};var sx="\\ud800-\\udfff",ax="["+sx+"]",cx="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",lx="\\ud83c[\\udffb-\\udfff]",dx="[^"+sx+"]",ux="(?:\\ud83c[\\udde6-\\uddff]){2}",hx="[\\ud800-\\udbff][\\udc00-\\udfff]",gx="(?:"+cx+"|"+lx+")"+"?",mx="[\\ufe0e\\ufe0f]?",px=mx+gx+("(?:\\u200d(?:"+[dx,ux,hx].join("|")+")"+mx+gx+")*"),fx="(?:"+[dx+cx+"?",cx,ux,hx,ax].join("|")+")",kx=RegExp(lx+"(?="+lx+")|"+fx+px,"g");const bx=function(t){return t.match(kx)||[]};const wx=function(t){return ix(t)?bx(t):rx(t)};const Ax=function(t){return function(e){e=Xr(e);var n=ix(e)?wx(e):void 0,o=n?n[0]:e.charAt(0),i=n?nx(n,1).join(""):e.slice(1);return o[t]()+i}}("toUpperCase"),_x=/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205f\u3000]/g,Cx=/^[\S]+@((?![-_])(?:[-\w\u00a1-\uffff]{0,63}[^-_]\.))+(?:[a-z\u00a1-\uffff]{2,})$/i,vx=/^((\w+:(\/{2,})?)|(\W))/i,yx=["https?","ftps?","mailto"],xx="Ctrl+K";function Ex(t,{writer:e}){const n=e.createAttributeElement("a",{href:t},{priority:5});return e.setCustomProperty("link",!0,n),n}function Dx(t,e=yx){const n=String(t),o=e.join("|");return function(t,e){const n=t.replace(_x,"");return!!n.match(e)}(n,new RegExp(`${"^(?:(?:):|[^a-z]|[a-z+.-]+(?:[^a-z+.:-]|$))".replace("",o)}`,"i"))?n:"#"}function Ix(t,e){return!!t&&e.checkAttribute(t.name,"linkHref")}function Mx(t,e){const n=(o=t,Cx.test(o)?"mailto:":e);var o;const i=!!n&&!Tx(t);return t&&i?n+t:t}function Tx(t){return vx.test(t)}function Sx(t){window.open(t,"_blank","noopener")}class Bx extends ar{constructor(){super(...arguments),this.manualDecorators=new Yi,this.automaticDecorators=new ex}restoreManualDecoratorStates(){for(const t of this.manualDecorators)t.value=this._getDecoratorStateFromModel(t.id)}refresh(){const t=this.editor.model,e=t.document.selection,n=e.getSelectedElement()||Qi(e.getSelectedBlocks());Ix(n,t.schema)?(this.value=n.getAttribute("linkHref"),this.isEnabled=t.schema.checkAttribute(n,"linkHref")):(this.value=e.getAttribute("linkHref"),this.isEnabled=t.schema.checkAttributeInSelection(e,"linkHref"));for(const t of this.manualDecorators)t.value=this._getDecoratorStateFromModel(t.id)}execute(t,e={}){const n=this.editor.model,o=n.document.selection,i=[],r=[];for(const t in e)e[t]?i.push(t):r.push(t);n.change((e=>{if(o.isCollapsed){const s=o.getFirstPosition();if(o.hasAttribute("linkHref")){const a=Nx(o);let c=Dw(s,"linkHref",o.getAttribute("linkHref"),n);o.getAttribute("linkHref")===a&&(c=this._updateLinkContent(n,e,c,t)),e.setAttribute("linkHref",t,c),i.forEach((t=>{e.setAttribute(t,!0,c)})),r.forEach((t=>{e.removeAttribute(t,c)})),e.setSelection(e.createPositionAfter(c.end.nodeBefore))}else if(""!==t){const r=Xi(o.getAttributes());r.set("linkHref",t),i.forEach((t=>{r.set(t,!0)}));const{end:a}=n.insertContent(e.createText(t,r),s);e.setSelection(a)}["linkHref",...i,...r].forEach((t=>{e.removeSelectionAttribute(t)}))}else{const s=n.schema.getValidRanges(o.getRanges(),"linkHref"),a=[];for(const t of o.getSelectedBlocks())n.schema.checkAttribute(t,"linkHref")&&a.push(e.createRangeOn(t));const c=a.slice();for(const t of s)this._isRangeToUpdate(t,a)&&c.push(t);for(const s of c){let a=s;if(1===c.length){const i=Nx(o);o.getAttribute("linkHref")===i&&(a=this._updateLinkContent(n,e,s,t),e.setSelection(e.createSelection(a)))}e.setAttribute("linkHref",t,a),i.forEach((t=>{e.setAttribute(t,!0,a)})),r.forEach((t=>{e.removeAttribute(t,a)}))}}}))}_getDecoratorStateFromModel(t){const e=this.editor.model,n=e.document.selection,o=n.getSelectedElement();return Ix(o,e.schema)?o.getAttribute(t):n.getAttribute(t)}_isRangeToUpdate(t,e){for(const n of e)if(n.containsRange(t))return!1;return!0}_updateLinkContent(t,e,n,o){const i=e.createText(o,{linkHref:o});return t.insertContent(i,n)}}function Nx(t){if(t.isCollapsed){const e=t.getFirstPosition();return e.textNode&&e.textNode.data}{const e=Array.from(t.getFirstRange().getItems());if(e.length>1)return null;const n=e[0];return n.is("$text")||n.is("$textProxy")?n.data:null}}class Px extends ar{refresh(){const t=this.editor.model,e=t.document.selection,n=e.getSelectedElement();Ix(n,t.schema)?this.isEnabled=t.schema.checkAttribute(n,"linkHref"):this.isEnabled=t.schema.checkAttributeInSelection(e,"linkHref")}execute(){const t=this.editor,e=this.editor.model,n=e.document.selection,o=t.commands.get("link");e.change((t=>{const i=n.isCollapsed?[Dw(n.getFirstPosition(),"linkHref",n.getAttribute("linkHref"),e)]:e.schema.getValidRanges(n.getRanges(),"linkHref");for(const e of i)if(t.removeAttribute("linkHref",e),o)for(const n of o.manualDecorators)t.removeAttribute(n.id,e)}))}}class Ox extends(K()){constructor({id:t,label:e,attributes:n,classes:o,styles:i,defaultValue:r}){super(),this.id=t,this.set("value",void 0),this.defaultValue=r,this.label=e,this.attributes=n,this.classes=o,this.styles=i}_createPattern(){return{attributes:this.attributes,classes:this.classes,styles:this.styles}}}var Lx=n(7719),zx={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};br()(Lx.A,zx);Lx.A.locals;var Rx=Object.defineProperty,jx=Object.getOwnPropertySymbols,Fx=Object.prototype.hasOwnProperty,Vx=Object.prototype.propertyIsEnumerable,Hx=(t,e,n)=>e in t?Rx(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Ux=(t,e)=>{for(var n in e||(e={}))Fx.call(e,n)&&Hx(t,n,e[n]);if(jx)for(var n of jx(e))Vx.call(e,n)&&Hx(t,n,e[n]);return t};const qx="automatic",Gx=/^(https?:)?\/\//;class Wx extends rr{static get pluginName(){return"LinkEditing"}static get requires(){return[gw,tw,Yb]}constructor(t){super(t),t.config.define("link",{allowCreatingEmptyLinks:!1,addTargetToExternalLinks:!1})}init(){const t=this.editor,e=this.editor.config.get("link.allowedProtocols");t.model.schema.extend("$text",{allowAttributes:"linkHref"}),t.conversion.for("dataDowncast").attributeToElement({model:"linkHref",view:Ex}),t.conversion.for("editingDowncast").attributeToElement({model:"linkHref",view:(t,n)=>Ex(Dx(t,e),n)}),t.conversion.for("upcast").elementToAttribute({view:{name:"a",attributes:{href:!0}},model:{key:"linkHref",value:t=>t.getAttribute("href")}}),t.commands.add("link",new Bx(t)),t.commands.add("unlink",new Px(t));const n=function(t,e){const n={"Open in a new tab":t("Open in a new tab"),Downloadable:t("Downloadable")};return e.forEach((t=>("label"in t&&n[t.label]&&(t.label=n[t.label]),t))),e}(t.t,function(t){const e=[];if(t)for(const[n,o]of Object.entries(t)){const t=Object.assign({},o,{id:`link${Ax(n)}`});e.push(t)}return e}(t.config.get("link.decorators")));this._enableAutomaticDecorators(n.filter((t=>t.mode===qx))),this._enableManualDecorators(n.filter((t=>"manual"===t.mode)));t.plugins.get(gw).registerAttribute("linkHref"),function(t,e,n,o){const i=t.editing.view,r=new Set;i.document.registerPostFixer((i=>{const s=t.model.document.selection;let a=!1;if(s.hasAttribute(e)){const c=Dw(s.getFirstPosition(),e,s.getAttribute(e),t.model),l=t.editing.mapper.toViewRange(c);for(const t of l.getItems())t.is("element",n)&&!t.hasClass(o)&&(i.addClass(o,t),r.add(t),a=!0)}return a})),t.conversion.for("editingDowncast").add((t=>{function e(){i.change((t=>{for(const e of r.values())t.removeClass(o,e),r.delete(e)}))}t.on("insert",e,{priority:"highest"}),t.on("remove",e,{priority:"highest"}),t.on("attribute",e,{priority:"highest"}),t.on("selection",e,{priority:"highest"})}))}(t,"linkHref","a","ck-link_selected"),this._enableLinkOpen(),this._enableSelectionAttributesFixer(),this._enableClipboardIntegration()}_enableAutomaticDecorators(t){const e=this.editor,n=e.commands.get("link").automaticDecorators;e.config.get("link.addTargetToExternalLinks")&&n.add({id:"linkIsExternal",mode:qx,callback:t=>!!t&&Gx.test(t),attributes:{target:"_blank",rel:"noopener noreferrer"}}),n.add(t),n.length&&e.conversion.for("downcast").add(n.getDispatcher())}_enableManualDecorators(t){if(!t.length)return;const e=this.editor,n=e.commands.get("link").manualDecorators;t.forEach((t=>{e.model.schema.extend("$text",{allowAttributes:t.id});const o=new Ox(t);n.add(o),e.conversion.for("downcast").attributeToElement({model:o.id,view:(t,{writer:e,schema:n},{item:i})=>{if((i.is("selection")||n.isInline(i))&&t){const t=e.createAttributeElement("a",o.attributes,{priority:5});o.classes&&e.addClass(o.classes,t);for(const n in o.styles)e.setStyle(n,o.styles[n],t);return e.setCustomProperty("link",!0,t),t}}}),e.conversion.for("upcast").elementToAttribute({view:Ux({name:"a"},o._createPattern()),model:{key:o.id}})}))}_enableLinkOpen(){const t=this.editor,e=t.editing.view.document;this.listenTo(e,"click",((t,e)=>{if(!(c.isMac?e.domEvent.metaKey:e.domEvent.ctrlKey))return;let n=e.domTarget;if("a"!=n.tagName.toLowerCase()&&(n=n.closest("a")),!n)return;const o=n.getAttribute("href");o&&(t.stop(),e.preventDefault(),Sx(o))}),{context:"$capture"}),this.listenTo(e,"keydown",((e,n)=>{const o=t.commands.get("link").value;!!o&&n.keyCode===bi.enter&&n.altKey&&(e.stop(),Sx(o))}))}_enableSelectionAttributesFixer(){const t=this.editor.model,e=t.document.selection;this.listenTo(e,"change:attribute",((n,{attributeKeys:o})=>{o.includes("linkHref")&&!e.hasAttribute("linkHref")&&t.change((e=>{var n;!function(t,e){t.removeSelectionAttribute("linkHref");for(const n of e)t.removeSelectionAttribute(n)}(e,(n=t.schema,n.getDefinition("$text").allowAttributes.filter((t=>t.startsWith("link")))))}))}))}_enableClipboardIntegration(){const t=this.editor,e=t.model,n=this.editor.config.get("link.defaultProtocol");n&&this.listenTo(t.plugins.get("ClipboardPipeline"),"contentInsertion",((t,o)=>{e.change((t=>{const e=t.createRangeIn(o.content);for(const o of e.getItems())if(o.hasAttribute("linkHref")){const e=Mx(o.getAttribute("linkHref"),n);t.setAttribute("linkHref",e,o)}}))}))}}var Kx=n(3817),$x={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};br()(Kx.A,$x);Kx.A.locals;class Yx extends dg{constructor(t,e){super(t),this.focusTracker=new Zi,this.keystrokes=new Ji,this._focusables=new Fh;const n=t.t;this.urlInputView=this._createUrlInput(),this.saveButtonView=this._createButton(n("Save"),jh.check,"ck-button-save"),this.saveButtonView.type="submit",this.cancelButtonView=this._createButton(n("Cancel"),jh.cancel,"ck-button-cancel","cancel"),this._manualDecoratorSwitches=this._createManualDecoratorSwitches(e),this.children=this._createFormChildren(e.manualDecorators),this._focusCycler=new nm({focusables:this._focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}});const o=["ck","ck-link-form","ck-responsive-form"];e.manualDecorators.length&&o.push("ck-link-form_layout-vertical","ck-vertical-form"),this.setTemplate({tag:"form",attributes:{class:o,tabindex:"-1"},children:this.children})}getDecoratorSwitchesState(){return Array.from(this._manualDecoratorSwitches).reduce(((t,e)=>(t[e.name]=e.isOn,t)),{})}render(){super.render(),i({view:this});[this.urlInputView,...this._manualDecoratorSwitches,this.saveButtonView,this.cancelButtonView].forEach((t=>{this._focusables.add(t),this.focusTracker.add(t.element)})),this.keystrokes.listenTo(this.element)}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}focus(){this._focusCycler.focusFirst()}_createUrlInput(){const t=this.locale.t,e=new Hg(this.locale,Hm);return e.label=t("Link URL"),e}_createButton(t,e,n,o){const i=new Ig(this.locale);return i.set({label:t,icon:e,tooltip:!0}),i.extendTemplate({attributes:{class:n}}),o&&i.delegate("execute").to(this,o),i}_createManualDecoratorSwitches(t){const e=this.createCollection();for(const n of t.manualDecorators){const o=new Sg(this.locale);o.set({name:n.id,label:n.label,withText:!0}),o.bind("isOn").toMany([n,t],"value",((t,e)=>void 0===e&&void 0===t?!!n.defaultValue:!!t)),o.on("execute",(()=>{n.set("value",!o.isOn)})),e.add(o)}return e}_createFormChildren(t){const e=this.createCollection();if(e.add(this.urlInputView),t.length){const t=new dg;t.setTemplate({tag:"ul",children:this._manualDecoratorSwitches.map((t=>({tag:"li",children:[t],attributes:{class:["ck","ck-list__item"]}}))),attributes:{class:["ck","ck-reset","ck-list"]}}),e.add(t)}return e.add(this.saveButtonView),e.add(this.cancelButtonView),e}}var Qx=n(8762),Zx={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};br()(Qx.A,Zx);Qx.A.locals;class Jx extends dg{constructor(t,e={}){super(t),this.focusTracker=new Zi,this.keystrokes=new Ji,this._focusables=new Fh;const n=t.t;this.previewButtonView=this._createPreviewButton(),this.unlinkButtonView=this._createButton(n("Unlink"),'',"unlink"),this.editButtonView=this._createButton(n("Edit link"),jh.pencil,"edit"),this.set("href",void 0),this._linkConfig=e,this._focusCycler=new nm({focusables:this._focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}}),this.setTemplate({tag:"div",attributes:{class:["ck","ck-link-actions","ck-responsive-form"],tabindex:"-1"},children:[this.previewButtonView,this.editButtonView,this.unlinkButtonView]})}render(){super.render();[this.previewButtonView,this.editButtonView,this.unlinkButtonView].forEach((t=>{this._focusables.add(t),this.focusTracker.add(t.element)})),this.keystrokes.listenTo(this.element)}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}focus(){this._focusCycler.focusFirst()}_createButton(t,e,n){const o=new Ig(this.locale);return o.set({label:t,icon:e,tooltip:!0}),o.delegate("execute").to(this,n),o}_createPreviewButton(){const t=new Ig(this.locale),e=this.bindTemplate,n=this.t;return t.set({withText:!0,tooltip:n("Open link in new tab")}),t.extendTemplate({attributes:{class:["ck","ck-link-actions__preview"],href:e.to("href",(t=>t&&Dx(t,this._linkConfig.allowedProtocols))),target:"_blank",rel:"noopener noreferrer"}}),t.bind("label").to(this,"href",(t=>t||n("This link has no URL"))),t.bind("isEnabled").to(this,"href",(t=>!!t)),t.template.tag="a",t.template.eventListeners={},t}}const Xx="link-ui";class tE extends rr{constructor(){super(...arguments),this.actionsView=null,this.formView=null}static get requires(){return[Tf]}static get pluginName(){return"LinkUI"}init(){const t=this.editor,e=this.editor.t;t.editing.view.addObserver(Ah),this._balloon=t.plugins.get(Tf),this._createToolbarLinkButton(),this._enableBalloonActivators(),t.conversion.for("editingDowncast").markerToHighlight({model:Xx,view:{classes:["ck-fake-link-selection"]}}),t.conversion.for("editingDowncast").markerToElement({model:Xx,view:{name:"span",classes:["ck-fake-link-selection","ck-fake-link-selection_collapsed"]}}),t.accessibility.addKeystrokeInfos({keystrokes:[{label:e("Create link"),keystroke:xx},{label:e("Move out of a link"),keystroke:[["arrowleft","arrowleft"],["arrowright","arrowright"]]}]})}destroy(){super.destroy(),this.formView&&this.formView.destroy(),this.actionsView&&this.actionsView.destroy()}_createViews(){this.actionsView=this._createActionsView(),this.formView=this._createFormView(),this._enableUserBalloonInteractions()}_createActionsView(){const t=this.editor,e=new Jx(t.locale,t.config.get("link")),n=t.commands.get("link"),o=t.commands.get("unlink");return e.bind("href").to(n,"value"),e.editButtonView.bind("isEnabled").to(n),e.unlinkButtonView.bind("isEnabled").to(o),this.listenTo(e,"edit",(()=>{this._addFormView()})),this.listenTo(e,"unlink",(()=>{t.execute("unlink"),this._hideUI()})),e.keystrokes.set("Esc",((t,e)=>{this._hideUI(),e()})),e.keystrokes.set(xx,((t,e)=>{this._addFormView(),e()})),e}_createFormView(){const t=this.editor,n=t.commands.get("link"),o=t.config.get("link.defaultProtocol"),i=t.config.get("link.allowCreatingEmptyLinks"),r=new(e(Yx))(t.locale,n);return r.urlInputView.fieldView.bind("value").to(n,"value"),r.urlInputView.bind("isEnabled").to(n,"isEnabled"),r.saveButtonView.bind("isEnabled").to(n,"isEnabled",r.urlInputView,"isEmpty",((t,e)=>t&&(i||!e))),this.listenTo(r,"submit",(()=>{const{value:e}=r.urlInputView.fieldView.element,n=Mx(e,o);t.execute("link",n,r.getDecoratorSwitchesState()),this._closeFormView()})),this.listenTo(r,"cancel",(()=>{this._closeFormView()})),r.keystrokes.set("Esc",((t,e)=>{this._closeFormView(),e()})),r}_createToolbarLinkButton(){const t=this.editor,e=t.commands.get("link");t.ui.componentFactory.add("link",(()=>{const t=this._createButton(Ig);return t.set({tooltip:!0,isToggleable:!0}),t.bind("isOn").to(e,"value",(t=>!!t)),t})),t.ui.componentFactory.add("menuBar:link",(()=>this._createButton(Wk)))}_createButton(t){const e=this.editor,n=e.locale,o=e.commands.get("link"),i=new t(e.locale),r=n.t;return i.set({label:r("Link"),icon:'',keystroke:xx}),i.bind("isEnabled").to(o,"isEnabled"),this.listenTo(i,"execute",(()=>this._showUI(!0))),i}_enableBalloonActivators(){const t=this.editor,e=t.editing.view.document;this.listenTo(e,"click",(()=>{this._getSelectedLinkElement()&&this._showUI()})),t.keystrokes.set(xx,((e,n)=>{n(),t.commands.get("link").isEnabled&&this._showUI(!0)}))}_enableUserBalloonInteractions(){this.editor.keystrokes.set("Tab",((t,e)=>{this._areActionsVisible&&!this.actionsView.focusTracker.isFocused&&(this.actionsView.focus(),e())}),{priority:"high"}),this.editor.keystrokes.set("Esc",((t,e)=>{this._isUIVisible&&(this._hideUI(),e())})),t({emitter:this.formView,activator:()=>this._isUIInPanel,contextElements:()=>[this._balloon.view.element],callback:()=>this._hideUI()})}_addActionsView(){this.actionsView||this._createViews(),this._areActionsInPanel||this._balloon.add({view:this.actionsView,position:this._getBalloonPositionData()})}_addFormView(){if(this.formView||this._createViews(),this._isFormInPanel)return;const t=this.editor.commands.get("link");this.formView.disableCssTransitions(),this._balloon.add({view:this.formView,position:this._getBalloonPositionData()}),this.formView.urlInputView.fieldView.value=t.value||"",this._balloon.visibleView===this.formView&&this.formView.urlInputView.fieldView.select(),this.formView.enableCssTransitions()}_closeFormView(){const t=this.editor.commands.get("link");t.restoreManualDecoratorStates(),void 0!==t.value?this._removeFormView():this._hideUI()}_removeFormView(){this._isFormInPanel&&(this.formView.saveButtonView.focus(),this.formView.urlInputView.fieldView.reset(),this._balloon.remove(this.formView),this.editor.editing.view.focus(),this._hideFakeVisualSelection())}_showUI(t=!1){this.formView||this._createViews(),this._getSelectedLinkElement()?(this._areActionsVisible?this._addFormView():this._addActionsView(),t&&this._balloon.showStack("main")):(this._showFakeVisualSelection(),this._addActionsView(),t&&this._balloon.showStack("main"),this._addFormView()),this._startUpdatingUI()}_hideUI(){if(!this._isUIInPanel)return;const t=this.editor;this.stopListening(t.ui,"update"),this.stopListening(this._balloon,"change:visibleView"),t.editing.view.focus(),this._removeFormView(),this._balloon.remove(this.actionsView),this._hideFakeVisualSelection()}_startUpdatingUI(){const t=this.editor,e=t.editing.view.document;let n=this._getSelectedLinkElement(),o=r();const i=()=>{const t=this._getSelectedLinkElement(),e=r();n&&!t||!n&&e!==o?this._hideUI():this._isUIVisible&&this._balloon.updatePosition(this._getBalloonPositionData()),n=t,o=e};function r(){return e.selection.focus.getAncestors().reverse().find((t=>t.is("element")))}this.listenTo(t.ui,"update",i),this.listenTo(this._balloon,"change:visibleView",i)}get _isFormInPanel(){return!!this.formView&&this._balloon.hasView(this.formView)}get _areActionsInPanel(){return!!this.actionsView&&this._balloon.hasView(this.actionsView)}get _areActionsVisible(){return!!this.actionsView&&this._balloon.visibleView===this.actionsView}get _isUIInPanel(){return this._isFormInPanel||this._areActionsInPanel}get _isUIVisible(){const t=this._balloon.visibleView;return!!this.formView&&t==this.formView||this._areActionsVisible}_getBalloonPositionData(){const t=this.editor.editing.view,e=this.editor.model,n=t.document;let o;if(e.markers.has(Xx)){const e=Array.from(this.editor.editing.mapper.markerNameToElements(Xx)),n=t.createRange(t.createPositionBefore(e[0]),t.createPositionAfter(e[e.length-1]));o=t.domConverter.viewRangeToDom(n)}else o=()=>{const e=this._getSelectedLinkElement();return e?t.domConverter.mapViewToDom(e):t.domConverter.viewRangeToDom(n.selection.getFirstRange())};return{target:o}}_getSelectedLinkElement(){const t=this.editor.editing.view,e=t.document.selection,n=e.getSelectedElement();if(e.isCollapsed||n&&Ww(n))return eE(e.getFirstPosition());{const n=e.getFirstRange().getTrimmed(),o=eE(n.start),i=eE(n.end);return o&&o==i&&t.createRangeIn(o).getTrimmed().isEqual(n)?o:null}}_showFakeVisualSelection(){const t=this.editor.model;t.change((e=>{const n=t.document.selection.getFirstRange();if(t.markers.has(Xx))e.updateMarker(Xx,{range:n});else if(n.start.isAtEnd){const o=n.start.getLastMatchingPosition((({item:e})=>!t.schema.isContent(e)),{boundaries:n});e.addMarker(Xx,{usingOperation:!1,affectsData:!1,range:e.createRange(o,n.end)})}else e.addMarker(Xx,{usingOperation:!1,affectsData:!1,range:n})}))}_hideFakeVisualSelection(){const t=this.editor.model;t.markers.has(Xx)&&t.change((t=>{t.removeMarker(Xx)}))}}function eE(t){return t.getAncestors().find((t=>{return(e=t).is("attributeElement")&&!!e.getCustomProperty("link");var e}))||null}const nE=new RegExp("(^|\\s)(((?:(?:(?:https?|ftp):)?\\/\\/)(?:\\S+(?::\\S*)?@)?(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[1-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(((?!www\\.)|(www\\.))(?![-_])(?:[-_a-z0-9\\u00a1-\\uffff]{1,63}\\.)+(?:[a-z\\u00a1-\\uffff]{2,63})))(?::\\d{2,5})?(?:[/?#]\\S*)?)|((www.|(\\S+@))((?![-_])(?:[-_a-z0-9\\u00a1-\\uffff]{1,63}\\.))+(?:[a-z\\u00a1-\\uffff]{2,63})))$","i");class oE extends rr{static get requires(){return[lw,Wx]}static get pluginName(){return"AutoLink"}init(){const t=this.editor.model.document.selection;t.on("change:range",(()=>{this.isEnabled=!t.anchor.parent.is("element","codeBlock")})),this._enableTypingHandling()}afterInit(){this._enableEnterHandling(),this._enableShiftEnterHandling(),this._enablePasteLinking()}_expandLinkRange(t,e){return e.textNode&&e.textNode.hasAttribute("linkHref")?Dw(e,"linkHref",e.textNode.getAttribute("linkHref"),t):null}_selectEntireLinks(t,e){const n=this.editor.model,o=n.document.selection,i=o.getFirstPosition(),r=o.getLastPosition();let s=e.getJoined(this._expandLinkRange(n,i)||e);s&&(s=s.getJoined(this._expandLinkRange(n,r)||e)),s&&(s.start.isBefore(i)||s.end.isAfter(r))&&t.setSelection(s)}_enablePasteLinking(){const t=this.editor,e=t.model,n=e.document.selection,o=t.plugins.get("ClipboardPipeline"),i=t.commands.get("link");o.on("inputTransformation",((t,o)=>{if(!this.isEnabled||!i.isEnabled||n.isCollapsed||"paste"!==o.method)return;if(n.rangeCount>1)return;const r=n.getFirstRange(),s=o.dataTransfer.getData("text/plain");if(!s)return;const a=s.match(nE);a&&a[2]===s&&(e.change((t=>{this._selectEntireLinks(t,r),i.execute(s)})),t.stop())}),{priority:"high"})}_enableTypingHandling(){const t=this.editor,e=new hw(t.model,(t=>{if(!function(t){return t.length>4&&" "===t[t.length-1]&&" "!==t[t.length-2]}(t))return;const e=iE(t.substr(0,t.length-1));return e?{url:e}:void 0}));e.on("matched:data",((e,n)=>{const{batch:o,range:i,url:r}=n;if(!o.isTyping)return;const s=i.end.getShiftedBy(-1),a=s.getShiftedBy(-r.length),c=t.model.createRange(a,s);this._applyAutoLink(r,c)})),e.bind("isEnabled").to(this)}_enableEnterHandling(){const t=this.editor,e=t.model,n=t.commands.get("enter");n&&n.on("execute",(()=>{const t=e.document.selection.getFirstPosition();if(!t.parent.previousSibling)return;const n=e.createRangeIn(t.parent.previousSibling);this._checkAndApplyAutoLinkOnRange(n)}))}_enableShiftEnterHandling(){const t=this.editor,e=t.model,n=t.commands.get("shiftEnter");n&&n.on("execute",(()=>{const t=e.document.selection.getFirstPosition(),n=e.createRange(e.createPositionAt(t.parent,0),t.getShiftedBy(-1));this._checkAndApplyAutoLinkOnRange(n)}))}_checkAndApplyAutoLinkOnRange(t){const e=this.editor.model,{text:n,range:o}=uw(t,e),i=iE(n);if(i){const t=e.createRange(o.end.getShiftedBy(-i.length),o.end);this._applyAutoLink(i,t)}}_applyAutoLink(t,e){const n=this.editor.model,o=Mx(t,this.editor.config.get("link.defaultProtocol"));this.isEnabled&&function(t,e){return e.schema.checkAttributeInSelection(e.createSelection(t),"linkHref")}(e,n)&&Tx(o)&&!function(t){const e=t.start.nodeAfter;return!!e&&e.hasAttribute("linkHref")}(e)&&this._persistAutoLink(o,e)}_persistAutoLink(t,e){const n=this.editor.model,o=this.editor.plugins.get("Delete");n.enqueueChange((i=>{i.setAttribute("linkHref",t,e),n.enqueueChange((()=>{o.requestUndoOnBackspace()}))}))}}function iE(t){const e=nE.exec(t);return e?e[2]:null}var rE=n(4808),sE={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};br()(rE.A,sE);rE.A.locals;class aE{constructor(t,e){this._startElement=t,this._referenceIndent=t.getAttribute("listIndent"),this._isForward="forward"==e.direction,this._includeSelf=!!e.includeSelf,this._sameAttributes=yi(e.sameAttributes||[]),this._sameIndent=!!e.sameIndent,this._lowerIndent=!!e.lowerIndent,this._higherIndent=!!e.higherIndent}static first(t,e){return Qi(new this(t,e)[Symbol.iterator]())}*[Symbol.iterator](){const t=[];for(const{node:e}of cE(this._getStartNode(),this._isForward?"forward":"backward")){const n=e.getAttribute("listIndent");if(nthis._referenceIndent){if(!this._higherIndent)continue;if(!this._isForward){t.push(e);continue}}else{if(!this._sameIndent){if(this._higherIndent){t.length&&(yield*t,t.length=0);break}continue}if(this._sameAttributes.some((t=>e.getAttribute(t)!==this._startElement.getAttribute(t))))break}t.length&&(yield*t,t.length=0),yield e}}_getStartNode(){return this._includeSelf?this._startElement:this._isForward?this._startElement.nextSibling:this._startElement.previousSibling}}function*cE(t,e="forward"){const n="forward"==e,o=[];let i=null;for(;AE(t);){let e=null;if(i){const n=t.getAttribute("listIndent"),r=i.getAttribute("listIndent");n>r?o[r]=i:ne in t?dE(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,kE=(t,e)=>{for(var n in e||(e={}))mE.call(e,n)&&fE(t,n,e[n]);if(gE)for(var n of gE(e))pE.call(e,n)&&fE(t,n,e[n]);return t},bE=(t,e)=>uE(t,hE(e));class wE{static next(){return k()}}function AE(t){return!!t&&t.is("element")&&t.hasAttribute("listItemId")}function _E(t,e={}){return[...CE(t,bE(kE({},e),{direction:"backward"})),...CE(t,bE(kE({},e),{direction:"forward"}))]}function CE(t,e={}){const n="forward"==e.direction,o=Array.from(new aE(t,bE(kE({},e),{includeSelf:n,sameIndent:!0,sameAttributes:"listItemId"})));return n?o:o.reverse()}function vE(t,e){const n=new aE(t,kE({sameIndent:!0,sameAttributes:"listType"},e)),o=new aE(t,kE({sameIndent:!0,sameAttributes:"listType",includeSelf:!0,direction:"forward"},e));return[...Array.from(n).reverse(),...o]}function yE(t){return!aE.first(t,{sameIndent:!0,sameAttributes:"listItemId"})}function xE(t){return!aE.first(t,{direction:"forward",sameIndent:!0,sameAttributes:"listItemId"})}function EE(t,e={}){t=yi(t);const n=!1!==e.withNested,o=new Set;for(const e of t)for(const t of _E(e,{higherIndent:n}))o.add(t);return NE(o)}function DE(t){t=yi(t);const e=new Set;for(const n of t)for(const t of vE(n))e.add(t);return NE(e)}function IE(t,e){const n=CE(t,{direction:"forward"}),o=wE.next();for(const t of n)e.setAttribute("listItemId",o,t);return n}function ME(t,e,n){const o={};for(const[t,n]of e.getAttributes())t.startsWith("list")&&(o[t]=n);const i=CE(t,{direction:"forward"});for(const t of i)n.setAttributes(o,t);return i}function TE(t,e,{expand:n,indentBy:o=1}={}){t=yi(t);const i=n?EE(t):t;for(const t of i){const n=t.getAttribute("listIndent")+o;n<0?SE(t,e):e.setAttribute("listIndent",n,t)}return i}function SE(t,e){t=yi(t);for(const n of t)n.is("element","listItem")&&e.rename(n,"paragraph");for(const n of t)for(const t of n.getAttributeKeys())t.startsWith("list")&&e.removeAttribute(t,n);return t}function BE(t){if(!t.length)return!1;const e=t[0].getAttribute("listItemId");return!!e&&!t.some((t=>t.getAttribute("listItemId")!=e))}function NE(t){return Array.from(t).filter((t=>"$graveyard"!==t.root.rootName)).sort(((t,e)=>t.index-e.index))}function PE(t){const e=t.document.selection.getSelectedElement();return e&&t.schema.isObject(e)&&t.schema.isBlock(e)?e:null}function OE(t,e){return e.checkChild(t.parent,"listItem")&&e.checkChild(t,"$text")&&!e.isObject(t)}function LE(t){return"numbered"==t||"customNumbered"==t}function zE(t,e,n){return CE(e,{direction:"forward"}).pop().index>t.index?ME(t,e,n):[]}class RE extends ar{constructor(t,e){super(t),this._direction=e}refresh(){this.isEnabled=this._checkEnabled()}execute(){const t=this.editor.model,e=jE(t.document.selection);t.change((t=>{const n=[];BE(e)&&!yE(e[0])?("forward"==this._direction&&n.push(...TE(e,t)),n.push(...IE(e[0],t))):"forward"==this._direction?n.push(...TE(e,t,{expand:!0})):n.push(...function(t,e){const n=EE(t=yi(t)),o=new Set,i=Math.min(...n.map((t=>t.getAttribute("listIndent")))),r=new Map;for(const t of n)r.set(t,aE.first(t,{lowerIndent:!0}));for(const t of n){if(o.has(t))continue;o.add(t);const n=t.getAttribute("listIndent")-1;if(n<0)SE(t,e);else{if(t.getAttribute("listIndent")==i){const n=zE(t,r.get(t),e);for(const t of n)o.add(t);if(n.length)continue}e.setAttribute("listIndent",n,t)}}return NE(o)}(e,t));for(const e of n){if(!e.hasAttribute("listType"))continue;const n=aE.first(e,{sameIndent:!0});n&&t.setAttribute("listType",n.getAttribute("listType"),e)}this._fireAfterExecute(n)}))}_fireAfterExecute(t){this.fire("afterExecute",NE(new Set(t)))}_checkEnabled(){let t=jE(this.editor.model.document.selection),e=t[0];if(!e)return!1;if("backward"==this._direction)return!0;if(BE(t)&&!yE(t[0]))return!0;t=EE(t),e=t[0];const n=aE.first(e,{sameIndent:!0});return!!n&&n.getAttribute("listType")==e.getAttribute("listType")}}function jE(t){const e=Array.from(t.getSelectedBlocks()),n=e.findIndex((t=>!AE(t)));return-1!=n&&(e.length=n),e}var FE=Object.defineProperty,VE=Object.defineProperties,HE=Object.getOwnPropertyDescriptors,UE=Object.getOwnPropertySymbols,qE=Object.prototype.hasOwnProperty,GE=Object.prototype.propertyIsEnumerable,WE=(t,e,n)=>e in t?FE(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,KE=(t,e)=>{for(var n in e||(e={}))qE.call(e,n)&&WE(t,n,e[n]);if(UE)for(var n of UE(e))GE.call(e,n)&&WE(t,n,e[n]);return t},$E=(t,e)=>VE(t,HE(e));class YE extends ar{constructor(t,e,n={}){super(t),this.type=e,this._listWalkerOptions=n.multiLevel?{higherIndent:!0,lowerIndent:!0,sameAttributes:[]}:void 0}refresh(){this.value=this._getValue(),this.isEnabled=this._checkEnabled()}execute(t={}){const e=this.editor.model,n=e.document,o=PE(e),i=Array.from(n.selection.getSelectedBlocks()).filter((t=>e.schema.checkAttribute(t,"listType")||OE(t,e.schema))),r=void 0!==t.forceValue?!t.forceValue:this.value;e.change((s=>{if(r){const t=i[i.length-1],e=CE(t,{direction:"forward"}),n=[];e.length>1&&n.push(...IE(e[1],s)),n.push(...SE(i,s)),n.push(...function(t,e){const n=[];let o=Number.POSITIVE_INFINITY;for(const{node:i}of cE(t.nextSibling,"forward")){const t=i.getAttribute("listIndent");if(0==t)break;t{const{firstElement:r,lastElement:s}=this._getMergeSubjectElements(n,t),a=r.getAttribute("listIndent")||0,c=s.getAttribute("listIndent"),l=s.getAttribute("listItemId");if(a!=c){const t=(d=s,Array.from(new aE(d,{direction:"forward",higherIndent:!0})));o.push(...TE([s,...t],i,{indentBy:a-c,expand:a{const e=IE(this._getStartBlock(),t);this._fireAfterExecute(e)}))}_fireAfterExecute(t){this.fire("afterExecute",NE(new Set(t)))}_checkEnabled(){const t=this.editor.model.document.selection,e=this._getStartBlock();return t.isCollapsed&&AE(e)&&!yE(e)}_getStartBlock(){const t=this.editor.model.document.selection.getFirstPosition().parent;return"before"==this._direction?t:t.nextSibling}}class JE extends rr{static get pluginName(){return"ListUtils"}expandListBlocksToCompleteList(t){return DE(t)}isFirstBlockOfListItem(t){return yE(t)}isListItemBlock(t){return AE(t)}expandListBlocksToCompleteItems(t,e={}){return EE(t,e)}isNumberedListType(t){return LE(t)}}function XE(t){return t.is("element","ol")||t.is("element","ul")}function tD(t){return t.is("element","li")}function eD(t,e,n,o=iD(n,e)){return t.createAttributeElement(oD(n),null,{priority:2*e/100-100,id:o})}function nD(t,e,n){return t.createAttributeElement("li",null,{priority:(2*e+1)/100-100,id:n})}function oD(t){return"numbered"==t||"customNumbered"==t?"ol":"ul"}function iD(t,e){return`list-${t}-${e}`}function rD(t,e){const n=t.nodeBefore;if(AE(n)){let t=n;for(const{node:n}of cE(t,"backward"))if(t=n,e.has(t))return;e.set(n,t)}else{const n=t.nodeAfter;AE(n)&&e.set(n,n)}}function sD(){return(t,e,n)=>{const{writer:o,schema:i}=n;if(!e.modelRange)return;const r=Array.from(e.modelRange.getItems({shallow:!0})).filter((t=>i.checkAttribute(t,"listItemId")));if(!r.length)return;const s=wE.next(),a=function(t){let e=0,n=t.parent;for(;n;){if(tD(n))e++;else{const t=n.previousSibling;t&&tD(t)&&e++}n=n.parent}return e}(e.viewItem);let c=e.viewItem.parent&&e.viewItem.parent.is("element","ol")?"numbered":"bulleted";const l=r[0].getAttribute("listType");l&&(c=l);const d={listItemId:s,listIndent:a,listType:c};for(const t of r)t.hasAttribute("listItemId")||o.setAttributes(d,t);r.length>1&&r[1].getAttribute("listItemId")!=d.listItemId&&n.keepEmptyElement(r[0])}}function aD(){return(t,e,n)=>{if(!n.consumable.test(e.viewItem,{name:!0}))return;const o=new Ch(e.viewItem.document);for(const t of Array.from(e.viewItem.getChildren()))tD(t)||XE(t)||o.remove(t)}}function cD(t,e,n,{dataPipeline:o}={}){const i=function(t){return(e,n)=>{const o=[];for(const n of t)e.hasAttribute(n)&&o.push(`attribute:${n}`);return!!o.every((t=>!1!==n.test(e,t)))&&(o.forEach((t=>n.consume(e,t))),!0)}}(t);return(r,s,a)=>{const{writer:c,mapper:l,consumable:d}=a,u=s.item;if(!t.includes(s.attributeKey))return;if(!i(u,d))return;const h=function(t,e,n){const o=n.createRangeOn(t),i=e.toViewRange(o).getTrimmed();return i.end.nodeBefore}(u,l,n);dD(h,c,l),function(t,e){let n=t.parent;for(;n.is("attributeElement")&&["ul","ol","li"].includes(n.name);){const o=n.parent;e.unwrap(e.createRangeOn(t),n),n=o}}(h,c);const g=function(t,e,n,o,{dataPipeline:i}){let r=o.createRangeOn(e);if(!yE(t))return r;for(const s of n){if("itemMarker"!=s.scope)continue;const n=s.createElement(o,t,{dataPipeline:i});if(!n)continue;if(o.setCustomProperty("listItemMarker",!0,n),s.canInjectMarkerIntoElement&&s.canInjectMarkerIntoElement(t)?o.insert(o.createPositionAt(e,0),n):(o.insert(r.start,n),r=o.createRange(o.createPositionBefore(n),o.createPositionAfter(e))),!s.createWrapperElement||!s.canWrapElement)continue;const a=s.createWrapperElement(o,t,{dataPipeline:i});o.setCustomProperty("listItemWrapper",!0,a),s.canWrapElement(t)?r=o.wrap(r,a):(r=o.wrap(o.createRangeOn(n),a),r=o.createRange(r.start,o.createPositionAfter(e)))}return r}(u,h,e,c,{dataPipeline:o});!function(t,e,n,o){if(!t.hasAttribute("listIndent"))return;const i=t.getAttribute("listIndent");let r=t;for(let t=i;t>=0;t--){const i=nD(o,t,r.getAttribute("listItemId")),s=eD(o,t,r.getAttribute("listType"));for(const t of n)"list"!=t.scope&&"item"!=t.scope||!r.hasAttribute(t.attributeName)||t.setAttributeOnDowncast(o,r.getAttribute(t.attributeName),"list"==t.scope?s:i);if(e=o.wrap(e,i),e=o.wrap(e,s),0==t)break;if(r=aE.first(r,{lowerIndent:!0}),!r)break}}(u,g,e,c)}}function lD(t,{dataPipeline:e}={}){return(n,{writer:o})=>{if(!uD(n,t))return null;if(!e)return o.createContainerElement("span",{class:"ck-list-bogus-paragraph"});const i=o.createContainerElement("p");return o.setCustomProperty("dataPipeline:transparentRendering",!0,i),i}}function dD(t,e,n){for(;t.parent.is("attributeElement")&&t.parent.getCustomProperty("listItemWrapper");)e.unwrap(e.createRangeOn(t),t.parent);const o=[];i(e.createPositionBefore(t).getWalker({direction:"backward"})),i(e.createRangeIn(t).getWalker());for(const t of o)e.remove(t);function i(t){for(const{item:e}of t){if(e.is("element")&&n.toModelElement(e))break;e.is("element")&&e.getCustomProperty("listItemMarker")&&o.push(e)}}}function uD(t,e,n=_E(t)){if(!AE(t))return!1;for(const n of t.getAttributeKeys())if(!n.startsWith("selection:")&&!e.includes(n))return!1;return n.length<2}var hD=n(1232),gD={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};br()(hD.A,gD);hD.A.locals;var mD=n(6903),pD={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};br()(mD.A,pD);mD.A.locals;const fD=["listType","listIndent","listItemId"];class kD extends rr{constructor(t){super(t),this._downcastStrategies=[],t.config.define("list.multiBlock",!0)}static get pluginName(){return"ListEditing"}static get requires(){return[Pw,lw,JE,Yb]}init(){const t=this.editor,e=t.model,n=t.config.get("list.multiBlock");if(t.plugins.has("LegacyListEditing"))throw new _("list-feature-conflict",this,{conflictPlugin:"LegacyListEditing"});e.schema.register("$listItem",{allowAttributes:fD}),n?(e.schema.extend("$container",{allowAttributesOf:"$listItem"}),e.schema.extend("$block",{allowAttributesOf:"$listItem"}),e.schema.extend("$blockObject",{allowAttributesOf:"$listItem"})):e.schema.register("listItem",{inheritAllFrom:"$block",allowAttributesOf:"$listItem"});for(const t of fD)e.schema.setAttributeProperties(t,{copyOnReplace:!0});t.commands.add("numberedList",new YE(t,"numbered")),t.commands.add("bulletedList",new YE(t,"bulleted")),t.commands.add("customNumberedList",new YE(t,"customNumbered",{multiLevel:!0})),t.commands.add("customBulletedList",new YE(t,"customBulleted",{multiLevel:!0})),t.commands.add("indentList",new RE(t,"forward")),t.commands.add("outdentList",new RE(t,"backward")),t.commands.add("splitListItemBefore",new ZE(t,"before")),t.commands.add("splitListItemAfter",new ZE(t,"after")),n&&(t.commands.add("mergeListItemBackward",new QE(t,"backward")),t.commands.add("mergeListItemForward",new QE(t,"forward"))),this._setupDeleteIntegration(),this._setupEnterIntegration(),this._setupTabIntegration(),this._setupClipboardIntegration(),this._setupAccessibilityIntegration()}afterInit(){const t=this.editor.commands,e=t.get("indent"),n=t.get("outdent");e&&e.registerChildCommand(t.get("indentList"),{priority:"high"}),n&&n.registerChildCommand(t.get("outdentList"),{priority:"lowest"}),this._setupModelPostFixing(),this._setupConversion()}registerDowncastStrategy(t){this._downcastStrategies.push(t)}getListAttributeNames(){return[...fD,...this._downcastStrategies.map((t=>t.attributeName))]}_setupDeleteIntegration(){const t=this.editor,e=t.commands.get("mergeListItemBackward"),n=t.commands.get("mergeListItemForward");this.listenTo(t.editing.view.document,"delete",((o,i)=>{const r=t.model.document.selection;PE(t.model)||t.model.change((()=>{const s=r.getFirstPosition();if(r.isCollapsed&&"backward"==i.direction){if(!s.isAtStart)return;const n=s.parent;if(!AE(n))return;if(aE.first(n,{sameAttributes:"listType",sameIndent:!0})||0!==n.getAttribute("listIndent")){if(!e||!e.isEnabled)return;e.execute({shouldMergeOnBlocksContentLevel:bD(t.model,"backward")})}else xE(n)||t.execute("splitListItemAfter"),t.execute("outdentList");i.preventDefault(),o.stop()}else{if(r.isCollapsed&&!r.getLastPosition().isAtEnd)return;if(!n||!n.isEnabled)return;n.execute({shouldMergeOnBlocksContentLevel:bD(t.model,"forward")}),i.preventDefault(),o.stop()}}))}),{context:"li"})}_setupEnterIntegration(){const t=this.editor,e=t.model,n=t.commands,o=n.get("enter");this.listenTo(t.editing.view.document,"enter",((n,o)=>{const i=e.document,r=i.selection.getFirstPosition().parent;if(i.selection.isCollapsed&&AE(r)&&r.isEmpty&&!o.isSoft){const e=yE(r),i=xE(r);e&&i?(t.execute("outdentList"),o.preventDefault(),n.stop()):e&&!i?(t.execute("splitListItemAfter"),o.preventDefault(),n.stop()):i&&(t.execute("splitListItemBefore"),o.preventDefault(),n.stop())}}),{context:"li"}),this.listenTo(o,"afterExecute",(()=>{const e=n.get("splitListItemBefore");if(e.refresh(),!e.isEnabled)return;2===_E(t.model.document.selection.getLastPosition().parent).length&&e.execute()}))}_setupTabIntegration(){const t=this.editor;this.listenTo(t.editing.view.document,"tab",((e,n)=>{const o=n.shiftKey?"outdentList":"indentList";this.editor.commands.get(o).isEnabled&&(t.execute(o),n.stopPropagation(),n.preventDefault(),e.stop())}),{context:"li"})}_setupConversion(){const t=this.editor,e=t.model,n=this.getListAttributeNames(),o=t.config.get("list.multiBlock"),i=o?"paragraph":"listItem";t.conversion.for("upcast").elementToElement({view:"li",model:(t,{writer:e})=>e.createElement(i,{listType:""})}).elementToElement({view:"p",model:(t,{writer:e})=>t.parent&&t.parent.is("element","li")?e.createElement(i,{listType:""}):null,converterPriority:"high"}).add((t=>{t.on("element:li",sD()),t.on("element:ul",aD(),{priority:"high"}),t.on("element:ol",aD(),{priority:"high"})})),o||t.conversion.for("downcast").elementToElement({model:"listItem",view:"p"}),t.conversion.for("editingDowncast").elementToElement({model:i,view:lD(n),converterPriority:"high"}).add((t=>{var o;t.on("attribute",cD(n,this._downcastStrategies,e)),t.on("remove",(o=e.schema,(t,e,n)=>{const{writer:i,mapper:r}=n,s=t.name.split(":")[1];if(!o.checkAttribute(s,"listItemId"))return;const a=r.toViewPosition(e.position),c=e.position.getShiftedBy(e.length),l=r.toViewPosition(c,{isPhantom:!0}),d=i.createRange(a,l).getTrimmed().end.nodeBefore;d&&dD(d,i,r)}))})),t.conversion.for("dataDowncast").elementToElement({model:i,view:lD(n,{dataPipeline:!0}),converterPriority:"high"}).add((t=>{t.on("attribute",cD(n,this._downcastStrategies,e,{dataPipeline:!0}))}));const r=(s=this._downcastStrategies,a=t.editing.view,(t,e)=>{if(e.modelPosition.offset>0)return;const n=e.modelPosition.parent;if(!AE(n))return;if(!s.some((t=>"itemMarker"==t.scope&&t.canInjectMarkerIntoElement&&t.canInjectMarkerIntoElement(n))))return;const o=e.mapper.toViewElement(n),i=a.createRangeIn(o),r=i.getWalker();let c=i.start;for(const{item:t}of r){if(t.is("element")&&e.mapper.toModelElement(t)||t.is("$textProxy"))break;t.is("element")&&t.getCustomProperty("listItemMarker")&&(c=a.createPositionAfter(t),r.skip((({previousPosition:t})=>!t.isEqual(c))))}e.viewPosition=c});var s,a;t.editing.mapper.on("modelToViewPosition",r),t.data.mapper.on("modelToViewPosition",r),this.listenTo(e.document,"change:data",function(t,e,n,o){return()=>{const o=t.document.differ.getChanges(),s=[],a=new Map,c=new Set;for(const t of o)if("insert"==t.type&&"$text"!=t.name)rD(t.position,a),t.attributes.has("listItemId")?c.add(t.position.nodeAfter):rD(t.position.getShiftedBy(t.length),a);else if("remove"==t.type&&t.attributes.has("listItemId"))rD(t.position,a);else if("attribute"==t.type){const e=t.range.start.nodeAfter;n.includes(t.attributeKey)?(rD(t.range.start,a),null===t.attributeNewValue?(rD(t.range.start.getShiftedBy(1),a),r(e)&&s.push(e)):c.add(e)):AE(e)&&r(e)&&s.push(e)}for(const t of a.values())s.push(...i(t,c));for(const t of new Set(s))e.reconvertItem(t)};function i(t,e){const o=[],i=new Set,a=[];for(const{node:c,previous:l}of cE(t,"forward")){if(i.has(c))continue;const t=c.getAttribute("listIndent");l&&tn.includes(t))));const d=CE(c,{direction:"forward"});for(const t of d)i.add(t),(r(t,d)||s(t,a,e))&&o.push(t)}return o}function r(t,i){const r=e.mapper.toViewElement(t);if(!r)return!1;if(o.fire("checkElement",{modelElement:t,viewElement:r}))return!0;if(!t.is("element","paragraph")&&!t.is("element","listItem"))return!1;const s=uD(t,n,i);return!(!s||!r.is("element","p"))||!(s||!r.is("element","span"))}function s(t,n,i){if(i.has(t))return!1;const r=e.mapper.toViewElement(t);let s=n.length-1;for(let t=r.parent;!t.is("editableElement");t=t.parent){const e=tD(t),i=XE(t);if(!i&&!e)continue;const r="checkAttributes:"+(e?"item":"list");if(o.fire(r,{viewElement:t,modelAttributes:n[s]}))break;if(i&&(s--,s<0))return!1}return!0}}(e,t.editing,n,this),{priority:"high"}),this.on("checkAttributes:item",((t,{viewElement:e,modelAttributes:n})=>{e.id!=n.listItemId&&(t.return=!0,t.stop())})),this.on("checkAttributes:list",((t,{viewElement:e,modelAttributes:n})=>{e.name==oD(n.listType)&&e.id==iD(n.listType,n.listIndent)||(t.return=!0,t.stop())}))}_setupModelPostFixing(){const t=this.editor.model,e=this.getListAttributeNames();t.document.registerPostFixer((n=>function(t,e,n,o){const i=t.document.differ.getChanges(),r=new Map,s=o.editor.config.get("list.multiBlock");let a=!1;for(const o of i){if("insert"==o.type&&"$text"!=o.name){const i=o.position.nodeAfter;if(!t.schema.checkAttribute(i,"listItemId"))for(const t of Array.from(i.getAttributeKeys()))n.includes(t)&&(e.removeAttribute(t,i),a=!0);rD(o.position,r),o.attributes.has("listItemId")||rD(o.position.getShiftedBy(o.length),r);for(const{item:e,previousPosition:n}of t.createRangeIn(i))AE(e)&&rD(n,r)}else"remove"==o.type?rD(o.position,r):"attribute"==o.type&&n.includes(o.attributeKey)&&(rD(o.range.start,r),null===o.attributeNewValue&&rD(o.range.start.getShiftedBy(1),r));if(!s&&"attribute"==o.type&&fD.includes(o.attributeKey)){const t=o.range.start.nodeAfter;null===o.attributeNewValue&&t&&t.is("element","listItem")?(e.rename(t,"paragraph"),a=!0):null===o.attributeOldValue&&t&&t.is("element")&&"listItem"!=t.name&&(e.rename(t,"listItem"),a=!0)}}const c=new Set;for(const t of r.values())a=o.fire("postFixer",{listNodes:new lE(t),listHead:t,writer:e,seenIds:c})||a;return a}(t,n,e,this))),this.on("postFixer",((t,{listNodes:e,writer:n})=>{t.return=function(t,e){let n=0,o=-1,i=null,r=!1;for(const{node:s}of t){const t=s.getAttribute("listIndent");if(t>n){let a;null===i?(i=t-n,a=n):(i>t&&(i=t),a=t-i),a>o+1&&(a=o+1),e.setAttribute("listIndent",a,s),r=!0,o=a}else i=null,n=t+1,o=t}return r}(e,n)||t.return}),{priority:"high"}),this.on("postFixer",((t,{listNodes:e,writer:n,seenIds:o})=>{t.return=function(t,e,n){const o=new Set;let i=!1;for(const{node:r}of t){if(o.has(r))continue;let t=r.getAttribute("listType"),s=r.getAttribute("listItemId");if(e.has(s)&&(s=wE.next()),e.add(s),r.is("element","listItem"))r.getAttribute("listItemId")!=s&&(n.setAttribute("listItemId",s,r),i=!0);else for(const e of CE(r,{direction:"forward"}))o.add(e),e.getAttribute("listType")!=t&&(s=wE.next(),t=e.getAttribute("listType")),e.getAttribute("listItemId")!=s&&(n.setAttribute("listItemId",s,e),i=!0)}return i}(e,o,n)||t.return}),{priority:"high"})}_setupClipboardIntegration(){const t=this.editor.model,e=this.editor.plugins.get("ClipboardPipeline");this.listenTo(t,"insertContent",function(t){return(e,[n,o])=>{const i=n.is("documentFragment")?Array.from(n.getChildren()):[n];if(!i.length)return;const r=(o?t.createSelection(o):t.document.selection).getFirstPosition();let s;if(AE(r.parent))s=r.parent;else{if(!AE(r.nodeBefore))return;s=r.nodeBefore}t.change((t=>{const e=s.getAttribute("listType"),n=s.getAttribute("listIndent"),o=i[0].getAttribute("listIndent")||0,r=Math.max(n-o,0);for(const n of i){const o=AE(n);s.is("element","listItem")&&n.is("element","paragraph")&&t.rename(n,"listItem"),t.setAttributes({listIndent:(o?n.getAttribute("listIndent"):0)+r,listItemId:o?n.getAttribute("listItemId"):wE.next(),listType:e},n)}}))}}(t),{priority:"high"}),this.listenTo(e,"outputTransformation",((e,n)=>{t.change((t=>{const e=Array.from(n.content.getChildren()),o=e[e.length-1];if(e.length>1&&o.is("element")&&o.isEmpty){e.slice(0,-1).every(AE)&&t.remove(o)}if("copy"==n.method||"cut"==n.method){const e=Array.from(n.content.getChildren());BE(e)&&SE(e,t)}}))}))}_setupAccessibilityIntegration(){const t=this.editor,e=t.t;t.accessibility.addKeystrokeInfoGroup({id:"list",label:e("Keystrokes that can be used in a list"),keystrokes:[{label:e("Increase list item indent"),keystroke:"Tab"},{label:e("Decrease list item indent"),keystroke:"Shift+Tab"}]})}}function bD(t,e){const n=t.document.selection;if(!n.isCollapsed)return!PE(t);if("forward"===e)return!0;const o=n.getFirstPosition().parent,i=o.previousSibling;return!t.schema.isObject(i)&&(!!i.isEmpty||BE([o,i]))}function wD(t,e,n,o){t.ui.componentFactory.add(e,(()=>{const i=AD(Ig,t,e,n,o);return i.set({tooltip:!0,isToggleable:!0}),i})),t.ui.componentFactory.add(`menuBar:${e}`,(()=>AD(Wk,t,e,n,o)))}function AD(t,e,n,o,i){const r=e.commands.get(n),s=new t(e.locale);return s.set({label:o,icon:i}),s.bind("isOn","isEnabled").to(r,"value","isEnabled"),s.on("execute",(()=>{e.execute(n),e.editing.view.focus()})),s}class _D extends rr{static get pluginName(){return"ListUI"}init(){const t=this.editor.t;wD(this.editor,"numberedList",t("Numbered List"),jh.numberedList),wD(this.editor,"bulletedList",t("Bulleted List"),jh.bulletedList)}}class CD extends rr{static get requires(){return[kD,_D]}static get pluginName(){return"List"}}const vD={},yD={},xD={},ED=[{listStyle:"disc",typeAttribute:"disc",listType:"bulleted"},{listStyle:"circle",typeAttribute:"circle",listType:"bulleted"},{listStyle:"square",typeAttribute:"square",listType:"bulleted"},{listStyle:"decimal",typeAttribute:"1",listType:"numbered"},{listStyle:"decimal-leading-zero",typeAttribute:null,listType:"numbered"},{listStyle:"lower-roman",typeAttribute:"i",listType:"numbered"},{listStyle:"upper-roman",typeAttribute:"I",listType:"numbered"},{listStyle:"lower-alpha",typeAttribute:"a",listType:"numbered"},{listStyle:"upper-alpha",typeAttribute:"A",listType:"numbered"},{listStyle:"lower-latin",typeAttribute:"a",listType:"numbered"},{listStyle:"upper-latin",typeAttribute:"A",listType:"numbered"}];for(const{listStyle:t,typeAttribute:e,listType:n}of ED)vD[t]=n,yD[t]=e,e&&(xD[e]=t);var DD=n(9968),ID={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};br()(DD.A,ID);DD.A.locals;var MD=n(7141),TD={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};br()(MD.A,TD);MD.A.locals;Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;_i("Ctrl+Enter");var SD=n(8991),BD={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};br()(SD.A,BD);SD.A.locals;_i("Ctrl+Enter");function ND(t,e){const n=(n,o,i)=>{if(!i.consumable.consume(o.item,n.name))return;const r=o.attributeNewValue,s=i.writer,a=i.mapper.toViewElement(o.item),c=[...a.getChildren()].find((t=>t.getCustomProperty("media-content")));s.remove(c);const l=t.getMediaViewElement(s,r,e);s.insert(s.createPositionAt(a,0),l)};return t=>{t.on("attribute:url:media",n)}}function PD(t,e,n,o){return t.createContainerElement("figure",{class:"media"},[e.getMediaViewElement(t,n,o),t.createSlot()])}function OD(t){const e=t.getSelectedElement();return e&&e.is("element","media")?e:null}function LD(t,e,n,o){t.change((i=>{const r=i.createElement("media",{url:e});t.insertObject(r,n,null,{setSelection:"on",findOptimalPosition:o?"auto":void 0})}))}class zD extends ar{refresh(){const t=this.editor.model,e=t.document.selection,n=OD(e);this.value=n?n.getAttribute("url"):void 0,this.isEnabled=function(t){const e=t.getSelectedElement();return!!e&&"media"===e.name}(e)||function(t,e){const n=Jw(t,e);let o=n.start.parent;o.isEmpty&&!e.schema.isLimit(o)&&(o=o.parent);return e.schema.checkChild(o,"media")}(e,t)}execute(t){const e=this.editor.model,n=e.document.selection,o=OD(n);o?e.change((e=>{e.setAttribute("url",t,o)})):LD(e,t,n,!0)}}class RD{constructor(t,e){const n=e.providers,o=e.extraProviders||[],i=new Set(e.removeProviders),r=n.concat(o).filter((t=>{const e=t.name;return e?!i.has(e):(C("media-embed-no-provider-name",{provider:t}),!1)}));this.locale=t,this.providerDefinitions=r}hasMedia(t){return!!this._getMedia(t)}getMediaViewElement(t,e,n){return this._getMedia(e).getViewElement(t,n)}_getMedia(t){if(!t)return new jD(this.locale);t=t.trim();for(const e of this.providerDefinitions){const n=e.html,o=yi(e.url);for(const e of o){const o=this._getUrlMatches(t,e);if(o)return new jD(this.locale,t,o,n)}}return null}_getUrlMatches(t,e){let n=t.match(e);if(n)return n;let o=t.replace(/^https?:\/\//,"");return n=o.match(e),n||(o=o.replace(/^www\./,""),n=o.match(e),n||null)}}class jD{constructor(t,e,n,o){this.url=this._getValidUrl(e),this._locale=t,this._match=n,this._previewRenderer=o}getViewElement(t,e){const n={};let o;if(e.renderForEditingView||e.renderMediaPreview&&this.url&&this._previewRenderer){this.url&&(n["data-oembed-url"]=this.url),e.renderForEditingView&&(n.class="ck-media__wrapper");const i=this._getPreviewHtml(e);o=t.createRawElement("div",n,((t,e)=>{e.setContentOf(t,i)}))}else this.url&&(n.url=this.url),o=t.createEmptyElement(e.elementName,n);return t.setCustomProperty("media-content",!0,o),o}_getPreviewHtml(t){return this._previewRenderer?this._previewRenderer(this._match):this.url&&t.renderForEditingView?this._getPlaceholderHtml():""}_getPlaceholderHtml(){const t=new yg,e=this._locale.t;t.content='',t.viewBox="0 0 64 42";return new Vh({tag:"div",attributes:{class:"ck ck-reset_all ck-media__placeholder"},children:[{tag:"div",attributes:{class:"ck-media__placeholder__icon"},children:[t]},{tag:"a",attributes:{class:"ck-media__placeholder__url",target:"_blank",rel:"noopener noreferrer",href:this.url,"data-cke-tooltip-text":e("Open media in new tab")},children:[{tag:"span",attributes:{class:"ck-media__placeholder__url__text"},children:[this.url]}]}]}).render().outerHTML}_getValidUrl(t){return t?t.match(/^https?/)?t:"https://"+t:null}}var FD=n(7048),VD={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};br()(FD.A,VD);FD.A.locals;class HD extends rr{constructor(t){super(t),t.config.define("mediaEmbed",{elementName:"oembed",providers:[{name:"dailymotion",url:[/^dailymotion\.com\/video\/(\w+)/,/^dai.ly\/(\w+)/],html:t=>`
`},{name:"spotify",url:[/^open\.spotify\.com\/(artist\/\w+)/,/^open\.spotify\.com\/(album\/\w+)/,/^open\.spotify\.com\/(track\/\w+)/],html:t=>`
`},{name:"youtube",url:[/^(?:m\.)?youtube\.com\/watch\?v=([\w-]+)(?:&t=(\d+))?/,/^(?:m\.)?youtube\.com\/v\/([\w-]+)(?:\?t=(\d+))?/,/^youtube\.com\/embed\/([\w-]+)(?:\?start=(\d+))?/,/^youtu\.be\/([\w-]+)(?:\?t=(\d+))?/],html:t=>{const e=t[1],n=t[2];return`
`}},{name:"vimeo",url:[/^vimeo\.com\/(\d+)/,/^vimeo\.com\/[^/]+\/[^/]+\/video\/(\d+)/,/^vimeo\.com\/album\/[^/]+\/video\/(\d+)/,/^vimeo\.com\/channels\/[^/]+\/(\d+)/,/^vimeo\.com\/groups\/[^/]+\/videos\/(\d+)/,/^vimeo\.com\/ondemand\/[^/]+\/(\d+)/,/^player\.vimeo\.com\/video\/(\d+)/],html:t=>`
`},{name:"instagram",url:/^instagram\.com\/p\/(\w+)/},{name:"twitter",url:/^twitter\.com/},{name:"googleMaps",url:[/^google\.com\/maps/,/^goo\.gl\/maps/,/^maps\.google\.com/,/^maps\.app\.goo\.gl/]},{name:"flickr",url:/^flickr\.com/},{name:"facebook",url:/^facebook\.com/}]}),this.registry=new RD(t.locale,t.config.get("mediaEmbed"))}static get pluginName(){return"MediaEmbedEditing"}init(){const t=this.editor,e=t.model.schema,n=t.t,o=t.conversion,i=t.config.get("mediaEmbed.previewsInData"),r=t.config.get("mediaEmbed.elementName"),s=this.registry;t.commands.add("mediaEmbed",new zD(t)),e.register("media",{inheritAllFrom:"$blockObject",allowAttributes:["url"]}),o.for("dataDowncast").elementToStructure({model:"media",view:(t,{writer:e})=>{const n=t.getAttribute("url");return PD(e,s,n,{elementName:r,renderMediaPreview:!!n&&i})}}),o.for("dataDowncast").add(ND(s,{elementName:r,renderMediaPreview:i})),o.for("editingDowncast").elementToStructure({model:"media",view:(t,{writer:e})=>{const o=t.getAttribute("url");return function(t,e,n){return e.setCustomProperty("media",!0,t),Kw(t,e,{label:n})}(PD(e,s,o,{elementName:r,renderForEditingView:!0}),e,n("media widget"))}}),o.for("editingDowncast").add(ND(s,{elementName:r,renderForEditingView:!0})),o.for("upcast").elementToElement({view:t=>["oembed",r].includes(t.name)&&t.getAttribute("url")?{name:!0}:null,model:(t,{writer:e})=>{const n=t.getAttribute("url");return s.hasMedia(n)?e.createElement("media",{url:n}):null}}).elementToElement({view:{name:"div",attributes:{"data-oembed-url":!0}},model:(t,{writer:e})=>{const n=t.getAttribute("data-oembed-url");return s.hasMedia(n)?e.createElement("media",{url:n}):null}}).add((t=>{t.on("element:figure",((t,e,n)=>{if(!n.consumable.consume(e.viewItem,{name:!0,classes:"media"}))return;const{modelRange:o,modelCursor:i}=n.convertChildren(e.viewItem,e.modelCursor);e.modelRange=o,e.modelCursor=i;Qi(o.getItems())||n.consumable.revert(e.viewItem,{name:!0,classes:"media"})}))}))}}const UD=/^(?:http(s)?:\/\/)?[\w-]+\.[\w-.~:/?#[\]@!$&'()*+,;=%]+$/;class qD extends rr{constructor(t){super(t),this._timeoutId=null,this._positionToInsert=null}static get requires(){return[qA,lw,l_]}static get pluginName(){return"AutoMediaEmbed"}init(){const t=this.editor,e=t.model.document,n=t.plugins.get("ClipboardPipeline");this.listenTo(n,"inputTransformation",(()=>{const t=e.selection.getFirstRange(),n=uu.fromPosition(t.start);n.stickiness="toPrevious";const o=uu.fromPosition(t.end);o.stickiness="toNext",e.once("change:data",(()=>{this._embedMediaBetweenPositions(n,o),n.detach(),o.detach()}),{priority:"high"})}));t.commands.get("undo").on("execute",(()=>{this._timeoutId&&(Lo.window.clearTimeout(this._timeoutId),this._positionToInsert.detach(),this._timeoutId=null,this._positionToInsert=null)}),{priority:"high"})}_embedMediaBetweenPositions(t,e){const n=this.editor,o=n.plugins.get(HD).registry,i=new hl(t,e),r=i.getWalker({ignoreElementEnd:!0});let s="";for(const t of r)t.item.is("$textProxy")&&(s+=t.item.data);if(s=s.trim(),!s.match(UD))return void i.detach();if(!o.hasMedia(s))return void i.detach();n.commands.get("mediaEmbed").isEnabled?(this._positionToInsert=uu.fromPosition(t),this._timeoutId=Lo.window.setTimeout((()=>{n.model.change((t=>{this._timeoutId=null,t.remove(i),i.detach();let e=null;"$graveyard"!==this._positionToInsert.root.rootName&&(e=this._positionToInsert),LD(n.model,s,e,!1),this._positionToInsert.detach(),this._positionToInsert=null})),n.plugins.get(lw).requestUndoOnBackspace()}),100)):i.detach()}}var GD=n(5651),WD={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};br()(GD.A,WD);GD.A.locals;class KD extends dg{constructor(t,e){super(e);const n=e.t;this.focusTracker=new Zi,this.keystrokes=new Ji,this.set("mediaURLInputValue",""),this.urlInputView=this._createUrlInput(),this.saveButtonView=this._createButton(n("Save"),jh.check,"ck-button-save"),this.saveButtonView.type="submit",this.saveButtonView.bind("isEnabled").to(this,"mediaURLInputValue",(t=>!!t)),this.cancelButtonView=this._createButton(n("Cancel"),jh.cancel,"ck-button-cancel","cancel"),this._focusables=new Fh,this._focusCycler=new nm({focusables:this._focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}}),this._validators=t,this.setTemplate({tag:"form",attributes:{class:["ck","ck-media-form","ck-responsive-form"],tabindex:"-1"},children:[this.urlInputView,this.saveButtonView,this.cancelButtonView]})}render(){super.render(),i({view:this});[this.urlInputView,this.saveButtonView,this.cancelButtonView].forEach((t=>{this._focusables.add(t),this.focusTracker.add(t.element)})),this.keystrokes.listenTo(this.element);const t=t=>t.stopPropagation();this.keystrokes.set("arrowright",t),this.keystrokes.set("arrowleft",t),this.keystrokes.set("arrowup",t),this.keystrokes.set("arrowdown",t)}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}focus(){this._focusCycler.focusFirst()}get url(){return this.urlInputView.fieldView.element.value.trim()}set url(t){this.urlInputView.fieldView.element.value=t.trim()}isValid(){this.resetFormStatus();for(const t of this._validators){const e=t(this);if(e)return this.urlInputView.errorText=e,!1}return!0}resetFormStatus(){this.urlInputView.errorText=null,this.urlInputView.infoText=this._urlInputViewInfoDefault}_createUrlInput(){const t=this.locale.t,e=new Hg(this.locale,Hm),n=e.fieldView;return this._urlInputViewInfoDefault=t("Paste the media URL in the input."),this._urlInputViewInfoTip=t("Tip: Paste the URL into the content to embed faster."),e.label=t("Media URL"),e.infoText=this._urlInputViewInfoDefault,n.on("input",(()=>{e.infoText=n.element.value?this._urlInputViewInfoTip:this._urlInputViewInfoDefault,this.mediaURLInputValue=n.element.value.trim()})),e}_createButton(t,e,n,o){const i=new Ig(this.locale);return i.set({label:t,icon:e,tooltip:!0}),i.extendTemplate({attributes:{class:n}}),o&&i.delegate("execute").to(this,o),i}}class $D extends rr{static get requires(){return[HD]}static get pluginName(){return"MediaEmbedUI"}init(){const t=this.editor,e=t.commands.get("mediaEmbed");t.ui.componentFactory.add("mediaEmbed",(t=>{const n=Om(t);return this._setUpDropdown(n,e),n}))}_setUpDropdown(t,n){const o=this.editor,i=o.t,r=t.buttonView,s=o.plugins.get(HD).registry;t.once("change:isOpen",(()=>{const i=new(e(KD))(function(t,e){return[e=>{if(!e.url.length)return t("The URL must not be empty.")},n=>{if(!e.hasMedia(n.url))return t("This media URL is not supported.")}]}(o.t,s),o.locale);t.panelView.children.add(i),r.on("open",(()=>{i.disableCssTransitions(),i.url=n.value||"",i.urlInputView.fieldView.select(),i.enableCssTransitions()}),{priority:"low"}),t.on("submit",(()=>{i.isValid()&&(o.execute("mediaEmbed",i.url),o.editing.view.focus())})),t.on("change:isOpen",(()=>i.resetFormStatus())),t.on("cancel",(()=>{o.editing.view.focus()})),i.delegate("submit","cancel").to(t),i.urlInputView.fieldView.bind("value").to(n,"value"),i.urlInputView.bind("isEnabled").to(n,"isEnabled")})),t.bind("isEnabled").to(n),r.set({label:i("Insert media"),icon:'',tooltip:!0})}}var YD=n(70),QD={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};br()(YD.A,QD);YD.A.locals;function ZD(t){return void 0!==t&&t.endsWith("px")}function JD(t){return t.toFixed(2).replace(/\.?0+$/,"")+"px"}var XD=Object.defineProperty,tI=Object.defineProperties,eI=Object.getOwnPropertyDescriptors,nI=Object.getOwnPropertySymbols,oI=Object.prototype.hasOwnProperty,iI=Object.prototype.propertyIsEnumerable,rI=(t,e,n)=>e in t?XD(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,sI=(t,e)=>{for(var n in e||(e={}))oI.call(e,n)&&rI(t,n,e[n]);if(nI)for(var n of nI(e))iI.call(e,n)&&rI(t,n,e[n]);return t};function aI(t,e,n){if(!t.childCount)return;const o=new Ch(t.document),i=function(t,e){const n=e.createRangeIn(t),o=[],i=new Set;for(const t of n.getItems()){if(!t.is("element")||!t.name.match(/^(p|h\d+|li|div)$/))continue;let e=pI(t);if(void 0===e||0!=parseFloat(e)||Array.from(t.getClassNames()).find((t=>t.startsWith("MsoList")))||(e=void 0),t.hasStyle("mso-list")||void 0!==e&&i.has(e)){const n=gI(t);o.push({element:t,id:n.id,order:n.order,indent:n.indent,marginLeft:e}),void 0!==e&&i.add(e)}else i.clear()}return o}(t,o);if(!i.length)return;const r={},s=[];for(const t of i)if(void 0!==t.indent){cI(t)||(s.length=0);const i=`${t.id}:${t.indent}`,c=Math.min(t.indent-1,s.length);if(cs.length-1||s[c].listElement.name!=l.type){0==c&&"ol"==l.type&&void 0!==t.id&&r[i]&&(l.startIndex=r[i]);const e=hI(l,o,n);if(ZD(t.marginLeft)&&(0==c||ZD(s[c-1].marginLeft))){let n=t.marginLeft;c>0&&(n=JD(parseFloat(n)-parseFloat(s[c-1].marginLeft))),o.setStyle("padding-left",n,e)}if(0==s.length){const n=t.element.parent,i=n.getChildIndex(t.element)+1;o.insertChild(i,e,n)}else{const t=s[c-1].listItemElements;o.appendChild(e,t[t.length-1])}s[c]=(a=sI({},t),tI(a,eI({listElement:e,listItemElements:[]}))),0==c&&void 0!==t.id&&(r[i]=l.startIndex||1)}}const l="li"==t.element.name?t.element:o.createElement("li");o.appendChild(l,s[c].listElement),s[c].listItemElements.push(l),0==c&&void 0!==t.id&&r[i]++,t.element!=l&&o.appendChild(t.element,l),mI(t.element,o),o.removeStyle("text-indent",t.element),o.removeStyle("margin-left",t.element)}else{const e=s.find((e=>e.marginLeft==t.marginLeft));if(e){const n=e.listItemElements;o.appendChild(t.element,n[n.length-1]),o.removeStyle("margin-left",t.element)}else s.length=0}var a}function cI(t){const e=t.element.previousSibling;return lI(e||t.element.parent)}function lI(t){return t.is("element","ol")||t.is("element","ul")}function dI(t,e){const n=new RegExp(`@list l${t.id}:level${t.indent}\\s*({[^}]*)`,"gi"),o=/mso-level-number-format:([^;]{0,100});/gi,i=/mso-level-start-at:\s{0,100}([0-9]{0,10})\s{0,100};/gi,r=new RegExp(`@list\\s+l${t.id}:level\\d\\s*{[^{]*mso-level-text:"%\\d\\\\.`,"gi"),s=new RegExp(`@list l${t.id}:level\\d\\s*{[^{]*mso-level-number-format:`,"gi"),a=r.exec(e),c=s.exec(e),l=a&&!c,d=n.exec(e);let u="decimal",h="ol",g=null;if(d&&d[1]){const e=o.exec(d[1]);if(e&&e[1]&&(u=e[1].trim(),h="bullet"!==u&&"image"!==u?"ol":"ul"),"bullet"===u){const e=function(t){if("li"==t.name&&"ul"==t.parent.name&&t.parent.hasAttribute("type"))return t.parent.getAttribute("type");const e=function(t){if(t.getChild(0).is("$text"))return null;for(const e of t.getChildren()){if(!e.is("element","span"))continue;const t=e.getChild(0);if(t)return t.is("$text")?t:t.getChild(0)}return null}(t);if(!e)return null;const n=e._data;if("o"===n)return"circle";if("·"===n)return"disc";if("§"===n)return"square";return null}(t.element);e&&(u=e)}else{const t=i.exec(d[1]);t&&t[1]&&(g=parseInt(t[1]))}l&&(h="ol")}return{type:h,startIndex:g,style:uI(u),isLegalStyleList:l}}function uI(t){if(t.startsWith("arabic-leading-zero"))return"decimal-leading-zero";switch(t){case"alpha-upper":return"upper-alpha";case"alpha-lower":return"lower-alpha";case"roman-upper":return"upper-roman";case"roman-lower":return"lower-roman";case"circle":case"disc":case"square":return t;default:return null}}function hI(t,e,n){const o=e.createElement(t.type);return t.style&&e.setStyle("list-style-type",t.style,o),t.startIndex&&t.startIndex>1&&e.setAttribute("start",t.startIndex,o),t.isLegalStyleList&&n&&e.addClass("legal-list",o),o}function gI(t){const e=t.getStyle("mso-list");if(void 0===e)return{};const n=e.match(/(^|\s{1,100})l(\d+)/i),o=e.match(/\s{0,100}lfo(\d+)/i),i=e.match(/\s{0,100}level(\d+)/i);return n&&o&&i?{id:n[2],order:o[1],indent:parseInt(i[1])}:{indent:1}}function mI(t,e){const n=new Or({name:"span",styles:{"mso-list":"Ignore"}}),o=e.createRangeIn(t);for(const t of o)"elementStart"===t.type&&n.match(t.item)&&e.remove(t.item)}function pI(t){const e=t.getStyle("margin-left");return void 0===e||e.endsWith("px")?e:function(t){const e=parseFloat(t);return t.endsWith("pt")?JD(96*e/72):t.endsWith("pc")?JD(12*e*96/72):t.endsWith("in")?JD(96*e):t.endsWith("cm")?JD(96*e/2.54):t.endsWith("mm")?JD(e/10*96/2.54):t}(e)}function fI(t,e){if(!t.childCount)return;const n=new Ch(t.document),o=function(t,e){const n=e.createRangeIn(t),o=new Or({name:/v:(.+)/}),i=[];for(const t of n){if("elementStart"!=t.type)continue;const e=t.item,n=e.previousSibling,r=n&&n.is("element")?n.name:null,s=["Chart"],a=o.match(e),c=e.getAttribute("o:gfxdata"),l="v:shapetype"===r,d=c&&s.some((t=>e.getAttribute("id").includes(t)));a&&c&&!l&&!d&&i.push(t.item.getAttribute("id"))}return i}(t,n);!function(t,e,n){const o=n.createRangeIn(e),i=new Or({name:"img"}),r=[];for(const e of o)if(e.item.is("element")&&i.match(e.item)){const n=e.item,o=n.getAttribute("v:shapes")?n.getAttribute("v:shapes").split(" "):[];o.length&&o.every((e=>t.indexOf(e)>-1))?r.push(n):n.getAttribute("src")||r.push(n)}for(const t of r)n.remove(t)}(o,t,n),function(t,e,n){const o=n.createRangeIn(e),i=[];for(const e of o)if("elementStart"==e.type&&e.item.is("element","v:shape")){const n=e.item.getAttribute("id");if(t.includes(n))continue;r(e.item.parent.getChildren(),n)||i.push(e.item)}for(const t of i){const e={src:s(t)};t.hasAttribute("alt")&&(e.alt=t.getAttribute("alt"));const o=n.createElement("img",e);n.insertChild(t.index+1,o,t.parent)}function r(t,e){for(const n of t)if(n.is("element")){if("img"==n.name&&n.getAttribute("v:shapes")==e)return!0;if(r(n.getChildren(),e))return!0}return!1}function s(t){for(const e of t.getChildren())if(e.is("element")&&e.getAttribute("src"))return e.getAttribute("src")}}(o,t,n),function(t,e){const n=e.createRangeIn(t),o=new Or({name:/v:(.+)/}),i=[];for(const t of n)"elementStart"==t.type&&o.match(t.item)&&i.push(t.item);for(const t of i)e.remove(t)}(t,n);const i=function(t,e){const n=e.createRangeIn(t),o=new Or({name:"img"}),i=[];for(const t of n)t.item.is("element")&&o.match(t.item)&&t.item.getAttribute("src").startsWith("file://")&&i.push(t.item);return i}(t,n);i.length&&function(t,e,n){if(t.length===e.length)for(let o=0;oString.fromCharCode(parseInt(t,16)))).join(""))}const bI=//i,wI=/xmlns:o="urn:schemas-microsoft-com/i;class AI{constructor(t,e=!1){this.document=t,this.hasMultiLevelListPlugin=e}isActive(t){return bI.test(t)||wI.test(t)}execute(t){const{body:e,stylesString:n}=t._parsedData;aI(e,n,this.hasMultiLevelListPlugin),fI(e,t.dataTransfer.getData("text/rtf")),function(t){const e=[],n=new Ch(t.document);for(const{item:o}of n.createRangeIn(t))if(o.is("element")){for(const t of o.getClassNames())/\bmso/gi.exec(t)&&n.removeClass(t,o);for(const t of o.getStyleNames())/\bmso/gi.exec(t)&&n.removeStyle(t,o);(o.is("element","w:sdt")||o.is("element","w:sdtpr")&&o.isEmpty||o.is("element","o:p")&&o.isEmpty)&&e.push(o)}for(const t of e){const e=t.parent,o=e.getChildIndex(t);n.insertChild(o,t.getChildren(),e),n.remove(t)}}(e),t.content=e}}function _I(t,e,n,{blockElements:o,inlineObjectElements:i}){let r=n.createPositionAt(t,"forward"==e?"after":"before");return r=r.getLastMatchingPosition((({item:t})=>t.is("element")&&!o.includes(t.name)&&!i.includes(t.name)),{direction:e}),"forward"==e?r.nodeAfter:r.nodeBefore}function CI(t,e){return!!t&&t.is("element")&&e.includes(t.name)}const vI=/id=("|')docs-internal-guid-[-0-9a-f]+("|')/i;class yI{constructor(t){this.document=t}isActive(t){return vI.test(t)}execute(t){const e=new Ch(this.document),{body:n}=t._parsedData;!function(t,e){for(const n of t.getChildren())if(n.is("element","b")&&"normal"===n.getStyle("font-weight")){const o=t.getChildIndex(n);e.remove(n),e.insertChild(o,n.getChildren(),t)}}(n,e),function(t,e){for(const n of e.createRangeIn(t)){const t=n.item;if(t.is("element","li")){const n=t.getChild(0);n&&n.is("element","p")&&e.unwrapElement(n)}}}(n,e),function(t,e){const n=new Os(e.document.stylesProcessor),o=new Ea(n,{renderingMode:"data"}),i=o.blockElements,r=o.inlineObjectElements,s=[];for(const n of e.createRangeIn(t)){const t=n.item;if(t.is("element","br")){const n=_I(t,"forward",e,{blockElements:i,inlineObjectElements:r}),o=_I(t,"backward",e,{blockElements:i,inlineObjectElements:r}),a=CI(n,i);(CI(o,i)||a)&&s.push(t)}}for(const t of s)t.hasClass("Apple-interchange-newline")?e.remove(t):e.replace(t,e.createElement("p"))}(n,e),t.content=n}}const xI=/(\s+)<\/span>/g,((t,e)=>1===e.length?" ":Array(e.length+1).join("  ").substr(0,e.length)))}function II(t,e){const n=new DOMParser,o=function(t){return DI(DI(t)).replace(/([^\S\r\n]*?)[\r\n]+([^\S\r\n]*<\/span>)/g,"$1$2").replace(/<\/span>/g,"").replace(/()[\r\n]+(<\/span>)/g,"$1 $2").replace(/ <\//g," <\/o:p>/g," ").replace(/( |\u00A0)<\/o:p>/g,"").replace(/>([^\S\r\n]*[\r\n]\s*)<")}(function(t){const e="",n="",o=t.indexOf(e);if(o<0)return t;const i=t.indexOf(n,o+e.length);return t.substring(0,o+e.length)+(i>=0?t.substring(i):"")}(t=(t=t.replace(/

abc

\n\t\t\t//\n\t\t\tif ( isAttribute && this._wrapAttributeElement( wrapElement, child ) ) {\n\t\t\t\twrapPositions.push( new Position( parent, i ) );\n\t\t\t}\n\t\t\t//\n\t\t\t// Wrap the child if it is not an attribute element or if it is an attribute element that should be inside\n\t\t\t// `wrapElement` (due to priority).\n\t\t\t//\n\t\t\t//

abc

-->

abc

\n\t\t\t//

abc

-->

abc

\n\t\t\telse if ( isText || !isAttribute || shouldABeOutsideB( wrapElement, child ) ) {\n\t\t\t\t// Clone attribute.\n\t\t\t\tconst newAttribute = wrapElement._clone();\n\n\t\t\t\t// Wrap current node with new attribute.\n\t\t\t\tchild._remove();\n\t\t\t\tnewAttribute._appendChild( child );\n\n\t\t\t\tparent._insertChild( i, newAttribute );\n\t\t\t\tthis._addToClonedElementsGroup( newAttribute );\n\n\t\t\t\twrapPositions.push( new Position( parent, i ) );\n\t\t\t}\n\t\t\t//\n\t\t\t// If other nested attribute is found and it wasn't wrapped (see above), continue wrapping inside it.\n\t\t\t//\n\t\t\t//

abc

-->

abc

\n\t\t\t//\n\t\t\telse /* if ( isAttribute ) */ {\n\t\t\t\tthis._wrapChildren( child, 0, child.childCount, wrapElement );\n\t\t\t}\n\n\t\t\ti++;\n\t\t}\n\n\t\t// Merge at each wrap.\n\t\tlet offsetChange = 0;\n\n\t\tfor ( const position of wrapPositions ) {\n\t\t\tposition.offset -= offsetChange;\n\n\t\t\t// Do not merge with elements outside selected children.\n\t\t\tif ( position.offset == startOffset ) {\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tconst newPosition = this.mergeAttributes( position );\n\n\t\t\t// If nodes were merged - other merge offsets will change.\n\t\t\tif ( !newPosition.isEqual( position ) ) {\n\t\t\t\toffsetChange++;\n\t\t\t\tendOffset--;\n\t\t\t}\n\t\t}\n\n\t\treturn Range._createFromParentsAndOffsets( parent, startOffset, parent, endOffset );\n\t}\n\n\t/**\n\t * Unwraps children from provided `unwrapElement`. Only children contained in `parent` element between\n\t * `startOffset` and `endOffset` will be unwrapped.\n\t */\n\tprivate _unwrapChildren( parent: Element, startOffset: number, endOffset: number, unwrapElement: AttributeElement ) {\n\t\tlet i = startOffset;\n\t\tconst unwrapPositions: Array = [];\n\n\t\t// Iterate over each element between provided offsets inside parent.\n\t\t// We don't use tree walker or range iterator because we will be removing and merging potentially multiple nodes,\n\t\t// so it could get messy. It is safer to it manually in this case.\n\t\twhile ( i < endOffset ) {\n\t\t\tconst child = parent.getChild( i )!;\n\n\t\t\t// Skip all text nodes. There should be no container element's here either.\n\t\t\tif ( !child.is( 'attributeElement' ) ) {\n\t\t\t\ti++;\n\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\t//\n\t\t\t// (In all examples, assume that `unwrapElement` is `` element.)\n\t\t\t//\n\t\t\t// If the child is similar to the given attribute element, unwrap it - it will be completely removed.\n\t\t\t//\n\t\t\t//

abcxyz

-->

abcxyz

\n\t\t\t//\n\t\t\tif ( child.isSimilar( unwrapElement ) ) {\n\t\t\t\tconst unwrapped = child.getChildren();\n\t\t\t\tconst count = child.childCount;\n\n\t\t\t\t// Replace wrapper element with its children\n\t\t\t\tchild._remove();\n\t\t\t\tparent._insertChild( i, unwrapped );\n\n\t\t\t\tthis._removeFromClonedElementsGroup( child );\n\n\t\t\t\t// Save start and end position of moved items.\n\t\t\t\tunwrapPositions.push(\n\t\t\t\t\tnew Position( parent, i ),\n\t\t\t\t\tnew Position( parent, i + count )\n\t\t\t\t);\n\n\t\t\t\t// Skip elements that were unwrapped. Assuming there won't be another element to unwrap in child elements.\n\t\t\t\ti += count;\n\t\t\t\tendOffset += count - 1;\n\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\t//\n\t\t\t// If the child is not similar but is an attribute element, try partial unwrapping - remove the same attributes/styles/classes.\n\t\t\t// Partial unwrapping will happen only if the elements have the same name.\n\t\t\t//\n\t\t\t//

abcxyz

-->

abcxyz

\n\t\t\t//

abcxyz

-->

abcxyz

\n\t\t\t//\n\t\t\tif ( this._unwrapAttributeElement( unwrapElement, child ) ) {\n\t\t\t\tunwrapPositions.push(\n\t\t\t\t\tnew Position( parent, i ),\n\t\t\t\t\tnew Position( parent, i + 1 )\n\t\t\t\t);\n\n\t\t\t\ti++;\n\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\t//\n\t\t\t// If other nested attribute is found, look through it's children for elements to unwrap.\n\t\t\t//\n\t\t\t//

abc

-->

abc

\n\t\t\t//\n\t\t\tthis._unwrapChildren( child, 0, child.childCount, unwrapElement );\n\n\t\t\ti++;\n\t\t}\n\n\t\t// Merge at each unwrap.\n\t\tlet offsetChange = 0;\n\n\t\tfor ( const position of unwrapPositions ) {\n\t\t\tposition.offset -= offsetChange;\n\n\t\t\t// Do not merge with elements outside selected children.\n\t\t\tif ( position.offset == startOffset || position.offset == endOffset ) {\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tconst newPosition = this.mergeAttributes( position );\n\n\t\t\t// If nodes were merged - other merge offsets will change.\n\t\t\tif ( !newPosition.isEqual( position ) ) {\n\t\t\t\toffsetChange++;\n\t\t\t\tendOffset--;\n\t\t\t}\n\t\t}\n\n\t\treturn Range._createFromParentsAndOffsets( parent, startOffset, parent, endOffset );\n\t}\n\n\t/**\n\t * Helper function for `view.writer.wrap`. Wraps range with provided attribute element.\n\t * This method will also merge newly added attribute element with its siblings whenever possible.\n\t *\n\t * Throws {@link module:utils/ckeditorerror~CKEditorError} `view-writer-wrap-invalid-attribute` when passed attribute element is not\n\t * an instance of {@link module:engine/view/attributeelement~AttributeElement AttributeElement}.\n\t *\n\t * @returns New range after wrapping, spanning over wrapping attribute element.\n\t */\n\tprivate _wrapRange( range: Range, attribute: AttributeElement ): Range {\n\t\t// Break attributes at range start and end.\n\t\tconst { start: breakStart, end: breakEnd } = this._breakAttributesRange( range, true );\n\t\tconst parentContainer = breakStart.parent as Element;\n\n\t\t// Wrap all children with attribute.\n\t\tconst newRange = this._wrapChildren( parentContainer, breakStart.offset, breakEnd.offset, attribute );\n\n\t\t// Merge attributes at the both ends and return a new range.\n\t\tconst start = this.mergeAttributes( newRange.start );\n\n\t\t// If start position was merged - move end position back.\n\t\tif ( !start.isEqual( newRange.start ) ) {\n\t\t\tnewRange.end.offset--;\n\t\t}\n\t\tconst end = this.mergeAttributes( newRange.end );\n\n\t\treturn new Range( start, end );\n\t}\n\n\t/**\n\t * Helper function for {@link #wrap}. Wraps position with provided attribute element.\n\t * This method will also merge newly added attribute element with its siblings whenever possible.\n\t *\n\t * Throws {@link module:utils/ckeditorerror~CKEditorError} `view-writer-wrap-invalid-attribute` when passed attribute element is not\n\t * an instance of {@link module:engine/view/attributeelement~AttributeElement AttributeElement}.\n\t *\n\t * @returns New position after wrapping.\n\t */\n\tprivate _wrapPosition( position: Position, attribute: AttributeElement ): Position {\n\t\t// Return same position when trying to wrap with attribute similar to position parent.\n\t\tif ( attribute.isSimilar( position.parent as any ) ) {\n\t\t\treturn movePositionToTextNode( position.clone() );\n\t\t}\n\n\t\t// When position is inside text node - break it and place new position between two text nodes.\n\t\tif ( position.parent.is( '$text' ) ) {\n\t\t\tposition = breakTextNode( position );\n\t\t}\n\n\t\t// Create fake element that will represent position, and will not be merged with other attributes.\n\t\tconst fakeElement = this.createAttributeElement( '_wrapPosition-fake-element' );\n\t\t( fakeElement as any )._priority = Number.POSITIVE_INFINITY;\n\t\tfakeElement.isSimilar = () => false;\n\n\t\t// Insert fake element in position location.\n\t\t( position.parent as Element )._insertChild( position.offset, fakeElement );\n\n\t\t// Range around inserted fake attribute element.\n\t\tconst wrapRange = new Range( position, position.getShiftedBy( 1 ) );\n\n\t\t// Wrap fake element with attribute (it will also merge if possible).\n\t\tthis.wrap( wrapRange, attribute );\n\n\t\t// Remove fake element and place new position there.\n\t\tconst newPosition = new Position( fakeElement.parent!, fakeElement.index! );\n\t\tfakeElement._remove();\n\n\t\t// If position is placed between text nodes - merge them and return position inside.\n\t\tconst nodeBefore = newPosition.nodeBefore;\n\t\tconst nodeAfter = newPosition.nodeAfter;\n\n\t\tif ( nodeBefore instanceof Text && nodeAfter instanceof Text ) {\n\t\t\treturn mergeTextNodes( nodeBefore, nodeAfter );\n\t\t}\n\n\t\t// If position is next to text node - move position inside.\n\t\treturn movePositionToTextNode( newPosition );\n\t}\n\n\t/**\n\t * Wraps one {@link module:engine/view/attributeelement~AttributeElement AttributeElement} into another by\n\t * merging them if possible. When merging is possible - all attributes, styles and classes are moved from wrapper\n\t * element to element being wrapped.\n\t *\n\t * @param wrapper Wrapper AttributeElement.\n\t * @param toWrap AttributeElement to wrap using wrapper element.\n\t * @returns Returns `true` if elements are merged.\n\t */\n\tprivate _wrapAttributeElement( wrapper: AttributeElement, toWrap: AttributeElement ): boolean {\n\t\tif ( !canBeJoined( wrapper, toWrap ) ) {\n\t\t\treturn false;\n\t\t}\n\n\t\t// Can't merge if name or priority differs.\n\t\tif ( wrapper.name !== toWrap.name || wrapper.priority !== toWrap.priority ) {\n\t\t\treturn false;\n\t\t}\n\n\t\t// Check if attributes can be merged.\n\t\tfor ( const key of wrapper.getAttributeKeys() ) {\n\t\t\t// Classes and styles should be checked separately.\n\t\t\tif ( key === 'class' || key === 'style' ) {\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\t// If some attributes are different we cannot wrap.\n\t\t\tif ( toWrap.hasAttribute( key ) && toWrap.getAttribute( key ) !== wrapper.getAttribute( key ) ) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\n\t\t// Check if styles can be merged.\n\t\tfor ( const key of wrapper.getStyleNames() ) {\n\t\t\tif ( toWrap.hasStyle( key ) && toWrap.getStyle( key ) !== wrapper.getStyle( key ) ) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\n\t\t// Move all attributes/classes/styles from wrapper to wrapped AttributeElement.\n\t\tfor ( const key of wrapper.getAttributeKeys() ) {\n\t\t\t// Classes and styles should be checked separately.\n\t\t\tif ( key === 'class' || key === 'style' ) {\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\t// Move only these attributes that are not present - other are similar.\n\t\t\tif ( !toWrap.hasAttribute( key ) ) {\n\t\t\t\tthis.setAttribute( key, wrapper.getAttribute( key )!, toWrap );\n\t\t\t}\n\t\t}\n\n\t\tfor ( const key of wrapper.getStyleNames() ) {\n\t\t\tif ( !toWrap.hasStyle( key ) ) {\n\t\t\t\tthis.setStyle( key, wrapper.getStyle( key )!, toWrap );\n\t\t\t}\n\t\t}\n\n\t\tfor ( const key of wrapper.getClassNames() ) {\n\t\t\tif ( !toWrap.hasClass( key ) ) {\n\t\t\t\tthis.addClass( key, toWrap );\n\t\t\t}\n\t\t}\n\n\t\treturn true;\n\t}\n\n\t/**\n\t * Unwraps {@link module:engine/view/attributeelement~AttributeElement AttributeElement} from another by removing\n\t * corresponding attributes, classes and styles. All attributes, classes and styles from wrapper should be present\n\t * inside element being unwrapped.\n\t *\n\t * @param wrapper Wrapper AttributeElement.\n\t * @param toUnwrap AttributeElement to unwrap using wrapper element.\n\t * @returns Returns `true` if elements are unwrapped.\n\t **/\n\tprivate _unwrapAttributeElement( wrapper: AttributeElement, toUnwrap: AttributeElement ): boolean {\n\t\tif ( !canBeJoined( wrapper, toUnwrap ) ) {\n\t\t\treturn false;\n\t\t}\n\n\t\t// Can't unwrap if name or priority differs.\n\t\tif ( wrapper.name !== toUnwrap.name || wrapper.priority !== toUnwrap.priority ) {\n\t\t\treturn false;\n\t\t}\n\n\t\t// Check if AttributeElement has all wrapper attributes.\n\t\tfor ( const key of wrapper.getAttributeKeys() ) {\n\t\t\t// Classes and styles should be checked separately.\n\t\t\tif ( key === 'class' || key === 'style' ) {\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\t// If some attributes are missing or different we cannot unwrap.\n\t\t\tif ( !toUnwrap.hasAttribute( key ) || toUnwrap.getAttribute( key ) !== wrapper.getAttribute( key ) ) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\n\t\t// Check if AttributeElement has all wrapper classes.\n\t\tif ( !toUnwrap.hasClass( ...wrapper.getClassNames() ) ) {\n\t\t\treturn false;\n\t\t}\n\n\t\t// Check if AttributeElement has all wrapper styles.\n\t\tfor ( const key of wrapper.getStyleNames() ) {\n\t\t\t// If some styles are missing or different we cannot unwrap.\n\t\t\tif ( !toUnwrap.hasStyle( key ) || toUnwrap.getStyle( key ) !== wrapper.getStyle( key ) ) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\n\t\t// Remove all wrapper's attributes from unwrapped element.\n\t\tfor ( const key of wrapper.getAttributeKeys() ) {\n\t\t\t// Classes and styles should be checked separately.\n\t\t\tif ( key === 'class' || key === 'style' ) {\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tthis.removeAttribute( key, toUnwrap );\n\t\t}\n\n\t\t// Remove all wrapper's classes from unwrapped element.\n\t\tthis.removeClass( Array.from( wrapper.getClassNames() ), toUnwrap );\n\n\t\t// Remove all wrapper's styles from unwrapped element.\n\t\tthis.removeStyle( Array.from( wrapper.getStyleNames() ), toUnwrap );\n\n\t\treturn true;\n\t}\n\n\t/**\n\t * Helper function used by other `DowncastWriter` methods. Breaks attribute elements at the boundaries of given range.\n\t *\n\t * @param range Range which `start` and `end` positions will be used to break attributes.\n\t * @param forceSplitText If set to `true`, will break text nodes even if they are directly in container element.\n\t * This behavior will result in incorrect view state, but is needed by other view writing methods which then fixes view state.\n\t * @returns New range with located at break positions.\n\t */\n\tprivate _breakAttributesRange( range: Range, forceSplitText: boolean = false ) {\n\t\tconst rangeStart = range.start;\n\t\tconst rangeEnd = range.end;\n\n\t\tvalidateRangeContainer( range, this.document );\n\n\t\t// Break at the collapsed position. Return new collapsed range.\n\t\tif ( range.isCollapsed ) {\n\t\t\tconst position = this._breakAttributes( range.start, forceSplitText );\n\n\t\t\treturn new Range( position, position );\n\t\t}\n\n\t\tconst breakEnd = this._breakAttributes( rangeEnd, forceSplitText );\n\t\tconst count = ( breakEnd.parent as Element ).childCount;\n\t\tconst breakStart = this._breakAttributes( rangeStart, forceSplitText );\n\n\t\t// Calculate new break end offset.\n\t\tbreakEnd.offset += ( breakEnd.parent as Element ).childCount - count;\n\n\t\treturn new Range( breakStart, breakEnd );\n\t}\n\n\t/**\n\t * Helper function used by other `DowncastWriter` methods. Breaks attribute elements at given position.\n\t *\n\t * Throws {@link module:utils/ckeditorerror~CKEditorError CKEditorError} `view-writer-cannot-break-empty-element` when break position\n\t * is placed inside {@link module:engine/view/emptyelement~EmptyElement EmptyElement}.\n\t *\n\t * Throws {@link module:utils/ckeditorerror~CKEditorError CKEditorError} `view-writer-cannot-break-ui-element` when break position\n\t * is placed inside {@link module:engine/view/uielement~UIElement UIElement}.\n\t *\n\t * @param position Position where to break attributes.\n\t * @param forceSplitText If set to `true`, will break text nodes even if they are directly in container element.\n\t * This behavior will result in incorrect view state, but is needed by other view writing methods which then fixes view state.\n\t * @returns New position after breaking the attributes.\n\t */\n\tprivate _breakAttributes( position: Position, forceSplitText: boolean = false ): Position {\n\t\tconst positionOffset = position.offset;\n\t\tconst positionParent = position.parent;\n\n\t\t// If position is placed inside EmptyElement - throw an exception as we cannot break inside.\n\t\tif ( position.parent.is( 'emptyElement' ) ) {\n\t\t\t/**\n\t\t\t * Cannot break an `EmptyElement` instance.\n\t\t\t *\n\t\t\t * This error is thrown if\n\t\t\t * {@link module:engine/view/downcastwriter~DowncastWriter#breakAttributes `DowncastWriter#breakAttributes()`}\n\t\t\t * was executed in an incorrect position.\n\t\t\t *\n\t\t\t * @error view-writer-cannot-break-empty-element\n\t\t\t */\n\t\t\tthrow new CKEditorError( 'view-writer-cannot-break-empty-element', this.document );\n\t\t}\n\n\t\t// If position is placed inside UIElement - throw an exception as we cannot break inside.\n\t\tif ( position.parent.is( 'uiElement' ) ) {\n\t\t\t/**\n\t\t\t * Cannot break a `UIElement` instance.\n\t\t\t *\n\t\t\t * This error is thrown if\n\t\t\t * {@link module:engine/view/downcastwriter~DowncastWriter#breakAttributes `DowncastWriter#breakAttributes()`}\n\t\t\t * was executed in an incorrect position.\n\t\t\t *\n\t\t\t * @error view-writer-cannot-break-ui-element\n\t\t\t */\n\t\t\tthrow new CKEditorError( 'view-writer-cannot-break-ui-element', this.document );\n\t\t}\n\n\t\t// If position is placed inside RawElement - throw an exception as we cannot break inside.\n\t\tif ( position.parent.is( 'rawElement' ) ) {\n\t\t\t/**\n\t\t\t * Cannot break a `RawElement` instance.\n\t\t\t *\n\t\t\t * This error is thrown if\n\t\t\t * {@link module:engine/view/downcastwriter~DowncastWriter#breakAttributes `DowncastWriter#breakAttributes()`}\n\t\t\t * was executed in an incorrect position.\n\t\t\t *\n\t\t\t * @error view-writer-cannot-break-raw-element\n\t\t\t */\n\t\t\tthrow new CKEditorError( 'view-writer-cannot-break-raw-element', this.document );\n\t\t}\n\n\t\t// There are no attributes to break and text nodes breaking is not forced.\n\t\tif ( !forceSplitText && positionParent.is( '$text' ) && isContainerOrFragment( positionParent.parent! ) ) {\n\t\t\treturn position.clone();\n\t\t}\n\n\t\t// Position's parent is container, so no attributes to break.\n\t\tif ( isContainerOrFragment( positionParent ) ) {\n\t\t\treturn position.clone();\n\t\t}\n\n\t\t// Break text and start again in new position.\n\t\tif ( positionParent.is( '$text' ) ) {\n\t\t\treturn this._breakAttributes( breakTextNode( position ), forceSplitText );\n\t\t}\n\n\t\tconst length = ( positionParent as any ).childCount;\n\n\t\t//

foobar{}

\n\t\t//

foobar[]

\n\t\t//

foobar[]

\n\t\tif ( positionOffset == length ) {\n\t\t\tconst newPosition = new Position( positionParent.parent as any, ( positionParent as any ).index + 1 );\n\n\t\t\treturn this._breakAttributes( newPosition, forceSplitText );\n\t\t} else {\n\t\t\t//

foo{}bar

\n\t\t\t//

foo[]bar

\n\t\t\t//

foo{}bar

\n\t\t\tif ( positionOffset === 0 ) {\n\t\t\t\tconst newPosition = new Position( positionParent.parent as Element, ( positionParent as any ).index );\n\n\t\t\t\treturn this._breakAttributes( newPosition, forceSplitText );\n\t\t\t}\n\t\t\t//

foob{}ar

\n\t\t\t//

foob[]ar

\n\t\t\t//

foob[]ar

\n\t\t\t//

foob[]ar

\n\t\t\telse {\n\t\t\t\tconst offsetAfter = ( positionParent as any ).index + 1;\n\n\t\t\t\t// Break element.\n\t\t\t\tconst clonedNode = ( positionParent as any )._clone();\n\n\t\t\t\t// Insert cloned node to position's parent node.\n\t\t\t\t( positionParent.parent as any )._insertChild( offsetAfter, clonedNode );\n\t\t\t\tthis._addToClonedElementsGroup( clonedNode );\n\n\t\t\t\t// Get nodes to move.\n\t\t\t\tconst count = ( positionParent as any ).childCount - positionOffset;\n\t\t\t\tconst nodesToMove = ( positionParent as any )._removeChildren( positionOffset, count );\n\n\t\t\t\t// Move nodes to cloned node.\n\t\t\t\tclonedNode._appendChild( nodesToMove );\n\n\t\t\t\t// Create new position to work on.\n\t\t\t\tconst newPosition = new Position( ( positionParent as any ).parent, offsetAfter );\n\n\t\t\t\treturn this._breakAttributes( newPosition, forceSplitText );\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t * Stores the information that an {@link module:engine/view/attributeelement~AttributeElement attribute element} was\n\t * added to the tree. Saves the reference to the group in the given element and updates the group, so other elements\n\t * from the group now keep a reference to the given attribute element.\n\t *\n\t * The clones group can be obtained using {@link module:engine/view/attributeelement~AttributeElement#getElementsWithSameId}.\n\t *\n\t * Does nothing if added element has no {@link module:engine/view/attributeelement~AttributeElement#id id}.\n\t *\n\t * @param element Attribute element to save.\n\t */\n\tprivate _addToClonedElementsGroup( element: Node ): void {\n\t\t// Add only if the element is in document tree.\n\t\tif ( !element.root.is( 'rootElement' ) ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Traverse the element's children recursively to find other attribute elements that also might got inserted.\n\t\t// The loop is at the beginning so we can make fast returns later in the code.\n\t\tif ( element.is( 'element' ) ) {\n\t\t\tfor ( const child of element.getChildren() ) {\n\t\t\t\tthis._addToClonedElementsGroup( child );\n\t\t\t}\n\t\t}\n\n\t\tconst id = ( element as any ).id;\n\n\t\tif ( !id ) {\n\t\t\treturn;\n\t\t}\n\n\t\tlet group = this._cloneGroups.get( id );\n\n\t\tif ( !group ) {\n\t\t\tgroup = new Set();\n\t\t\tthis._cloneGroups.set( id, group );\n\t\t}\n\n\t\tgroup.add( element as AttributeElement );\n\t\t( element as any )._clonesGroup = group;\n\t}\n\n\t/**\n\t * Removes all the information about the given {@link module:engine/view/attributeelement~AttributeElement attribute element}\n\t * from its clones group.\n\t *\n\t * Keep in mind, that the element will still keep a reference to the group (but the group will not keep a reference to it).\n\t * This allows to reference the whole group even if the element was already removed from the tree.\n\t *\n\t * Does nothing if the element has no {@link module:engine/view/attributeelement~AttributeElement#id id}.\n\t *\n\t * @param element Attribute element to remove.\n\t */\n\tprivate _removeFromClonedElementsGroup( element: Node ) {\n\t\t// Traverse the element's children recursively to find other attribute elements that also got removed.\n\t\t// The loop is at the beginning so we can make fast returns later in the code.\n\t\tif ( element.is( 'element' ) ) {\n\t\t\tfor ( const child of element.getChildren() ) {\n\t\t\t\tthis._removeFromClonedElementsGroup( child );\n\t\t\t}\n\t\t}\n\n\t\tconst id = ( element as any ).id;\n\n\t\tif ( !id ) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst group = this._cloneGroups.get( id );\n\n\t\tif ( !group ) {\n\t\t\treturn;\n\t\t}\n\n\t\tgroup.delete( element as AttributeElement );\n\t\t// Not removing group from element on purpose!\n\t\t// If other parts of code have reference to this element, they will be able to get references to other elements from the group.\n\t}\n}\n\n// Helper function for `view.writer.wrap`. Checks if given element has any children that are not ui elements.\nfunction _hasNonUiChildren( parent: Element ): boolean {\n\treturn Array.from( parent.getChildren() ).some( child => !child.is( 'uiElement' ) );\n}\n\n/**\n * The `attribute` passed to {@link module:engine/view/downcastwriter~DowncastWriter#wrap `DowncastWriter#wrap()`}\n * must be an instance of {@link module:engine/view/attributeelement~AttributeElement `AttributeElement`}.\n *\n * @error view-writer-wrap-invalid-attribute\n */\n\n/**\n * Returns first parent container of specified {@link module:engine/view/position~Position Position}.\n * Position's parent node is checked as first, then next parents are checked.\n * Note that {@link module:engine/view/documentfragment~DocumentFragment DocumentFragment} is treated like a container.\n *\n * @param position Position used as a start point to locate parent container.\n * @returns Parent container element or `undefined` if container is not found.\n */\nfunction getParentContainer( position: Position ): ContainerElement | DocumentFragment | undefined {\n\tlet parent = position.parent;\n\n\twhile ( !isContainerOrFragment( parent ) ) {\n\t\tif ( !parent ) {\n\t\t\treturn undefined;\n\t\t}\n\n\t\tparent = parent.parent as any;\n\t}\n\n\treturn ( parent as ContainerElement | DocumentFragment );\n}\n\n/**\n * Checks if first {@link module:engine/view/attributeelement~AttributeElement AttributeElement} provided to the function\n * can be wrapped outside second element. It is done by comparing elements'\n * {@link module:engine/view/attributeelement~AttributeElement#priority priorities}, if both have same priority\n * {@link module:engine/view/element~Element#getIdentity identities} are compared.\n */\nfunction shouldABeOutsideB( a: AttributeElement, b: AttributeElement ): boolean {\n\tif ( a.priority < b.priority ) {\n\t\treturn true;\n\t} else if ( a.priority > b.priority ) {\n\t\treturn false;\n\t}\n\n\t// When priorities are equal and names are different - use identities.\n\treturn a.getIdentity() < b.getIdentity();\n}\n\n/**\n * Returns new position that is moved to near text node. Returns same position if there is no text node before of after\n * specified position.\n *\n * ```html\n *

foo[]

->

foo{}

\n *

[]foo

->

{}foo

\n * ```\n *\n * @returns Position located inside text node or same position if there is no text nodes\n * before or after position location.\n */\nfunction movePositionToTextNode( position: Position ): Position {\n\tconst nodeBefore = position.nodeBefore;\n\n\tif ( nodeBefore && nodeBefore.is( '$text' ) ) {\n\t\treturn new Position( nodeBefore, nodeBefore.data.length );\n\t}\n\n\tconst nodeAfter = position.nodeAfter;\n\n\tif ( nodeAfter && nodeAfter.is( '$text' ) ) {\n\t\treturn new Position( nodeAfter, 0 );\n\t}\n\n\treturn position;\n}\n\n/**\n * Breaks text node into two text nodes when possible.\n *\n * ```html\n *

foo{}bar

->

foo[]bar

\n *

{}foobar

->

[]foobar

\n *

foobar{}

->

foobar[]

\n * ```\n *\n * @param position Position that need to be placed inside text node.\n * @returns New position after breaking text node.\n */\nfunction breakTextNode( position: Position ): Position {\n\tif ( position.offset == ( position.parent as Text ).data.length ) {\n\t\treturn new Position( position.parent.parent as any, ( position.parent as Text ).index! + 1 );\n\t}\n\n\tif ( position.offset === 0 ) {\n\t\treturn new Position( position.parent.parent as any, ( position.parent as Text ).index! );\n\t}\n\n\t// Get part of the text that need to be moved.\n\tconst textToMove = ( position.parent as Text ).data.slice( position.offset );\n\n\t// Leave rest of the text in position's parent.\n\t( position.parent as Text )._data = ( position.parent as Text ).data.slice( 0, position.offset );\n\n\t// Insert new text node after position's parent text node.\n\t( position.parent.parent as any )._insertChild(\n\t\t( position.parent as Text ).index! + 1,\n\t\tnew Text( position.root.document, textToMove )\n\t);\n\n\t// Return new position between two newly created text nodes.\n\treturn new Position( position.parent.parent as any, ( position.parent as Text ).index! + 1 );\n}\n\n/**\n * Merges two text nodes into first node. Removes second node and returns merge position.\n *\n * @param t1 First text node to merge. Data from second text node will be moved at the end of this text node.\n * @param t2 Second text node to merge. This node will be removed after merging.\n * @returns Position after merging text nodes.\n */\nfunction mergeTextNodes( t1: Text, t2: Text ): Position {\n\t// Merge text data into first text node and remove second one.\n\tconst nodeBeforeLength = t1.data.length;\n\tt1._data += t2.data;\n\tt2._remove();\n\n\treturn new Position( t1, nodeBeforeLength );\n}\n\nconst validNodesToInsert = [ Text, AttributeElement, ContainerElement, EmptyElement, RawElement, UIElement ];\n\n/**\n * Checks if provided nodes are valid to insert.\n *\n * Throws {@link module:utils/ckeditorerror~CKEditorError CKEditorError} `view-writer-insert-invalid-node` when nodes to insert\n * contains instances that are not supported ones (see error description for valid ones.\n */\nfunction validateNodesToInsert( nodes: Iterable, errorContext: Document ): void {\n\tfor ( const node of nodes ) {\n\t\tif ( !validNodesToInsert.some( ( validNode => node instanceof validNode ) ) ) { // eslint-disable-line no-use-before-define\n\t\t\t/**\n\t\t\t * One of the nodes to be inserted is of an invalid type.\n\t\t\t *\n\t\t\t * Nodes to be inserted with {@link module:engine/view/downcastwriter~DowncastWriter#insert `DowncastWriter#insert()`} should be\n\t\t\t * of the following types:\n\t\t\t *\n\t\t\t * * {@link module:engine/view/attributeelement~AttributeElement AttributeElement},\n\t\t\t * * {@link module:engine/view/containerelement~ContainerElement ContainerElement},\n\t\t\t * * {@link module:engine/view/emptyelement~EmptyElement EmptyElement},\n\t\t\t * * {@link module:engine/view/uielement~UIElement UIElement},\n\t\t\t * * {@link module:engine/view/rawelement~RawElement RawElement},\n\t\t\t * * {@link module:engine/view/text~Text Text}.\n\t\t\t *\n\t\t\t * @error view-writer-insert-invalid-node-type\n\t\t\t */\n\t\t\tthrow new CKEditorError( 'view-writer-insert-invalid-node-type', errorContext );\n\t\t}\n\n\t\tif ( !node.is( '$text' ) ) {\n\t\t\tvalidateNodesToInsert( ( node as Element ).getChildren(), errorContext );\n\t\t}\n\t}\n}\n\n/**\n * Checks if node is ContainerElement or DocumentFragment, because in most cases they should be treated the same way.\n *\n * @returns Returns `true` if node is instance of ContainerElement or DocumentFragment.\n */\nfunction isContainerOrFragment( node: Node | DocumentFragment ): boolean {\n\treturn node && ( node.is( 'containerElement' ) || node.is( 'documentFragment' ) );\n}\n\n/**\n * Checks if {@link module:engine/view/range~Range#start range start} and {@link module:engine/view/range~Range#end range end} are placed\n * inside same {@link module:engine/view/containerelement~ContainerElement container element}.\n * Throws {@link module:utils/ckeditorerror~CKEditorError CKEditorError} `view-writer-invalid-range-container` when validation fails.\n */\nfunction validateRangeContainer( range: Range, errorContext: Document ) {\n\tconst startContainer = getParentContainer( range.start );\n\tconst endContainer = getParentContainer( range.end );\n\n\tif ( !startContainer || !endContainer || startContainer !== endContainer ) {\n\t\t/**\n\t\t * The container of the given range is invalid.\n\t\t *\n\t\t * This may happen if {@link module:engine/view/range~Range#start range start} and\n\t\t * {@link module:engine/view/range~Range#end range end} positions are not placed inside the same container element or\n\t\t * a parent container for these positions cannot be found.\n\t\t *\n\t\t * Methods like {@link module:engine/view/downcastwriter~DowncastWriter#wrap `DowncastWriter#remove()`},\n\t\t * {@link module:engine/view/downcastwriter~DowncastWriter#wrap `DowncastWriter#clean()`},\n\t\t * {@link module:engine/view/downcastwriter~DowncastWriter#wrap `DowncastWriter#wrap()`},\n\t\t * {@link module:engine/view/downcastwriter~DowncastWriter#wrap `DowncastWriter#unwrap()`} need to be called\n\t\t * on a range that has its start and end positions located in the same container element. Both positions can be\n\t\t * nested within other elements (e.g. an attribute element) but the closest container ancestor must be the same.\n\t\t *\n\t\t * @error view-writer-invalid-range-container\n\t\t */\n\t\tthrow new CKEditorError( 'view-writer-invalid-range-container', errorContext );\n\t}\n}\n\n/**\n * Checks if two attribute elements can be joined together. Elements can be joined together if, and only if\n * they do not have ids specified.\n */\nfunction canBeJoined( a: AttributeElement, b: AttributeElement ) {\n\treturn a.id === null && b.id === null;\n}\n","/**\n * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\nimport { keyCodes, isText, type KeystrokeInfo } from '@ckeditor/ckeditor5-utils';\nimport type View from './view.js';\nimport type DomEventData from './observer/domeventdata.js';\nimport type { ViewDocumentArrowKeyEvent } from './observer/arrowkeysobserver.js';\n\n/**\n * Set of utilities related to handling block and inline fillers.\n *\n * Browsers do not allow to put caret in elements which does not have height. Because of it, we need to fill all\n * empty elements which should be selectable with elements or characters called \"fillers\". Unfortunately there is no one\n * universal filler, this is why two types are uses:\n *\n * * Block filler is an element which fill block elements, like `

`. CKEditor uses `
` as a block filler during the editing,\n * as browsers do natively. So instead of an empty `

` there will be `


`. The advantage of block filler is that\n * it is transparent for the selection, so when the caret is before the `
` and user presses right arrow he will be\n * moved to the next paragraph, not after the `
`. The disadvantage is that it breaks a block, so it can not be used\n * in the middle of a line of text. The {@link module:engine/view/filler~BR_FILLER `
` filler} can be replaced with any other\n * character in the data output, for instance {@link module:engine/view/filler~NBSP_FILLER non-breaking space} or\n * {@link module:engine/view/filler~MARKED_NBSP_FILLER marked non-breaking space}.\n *\n * * Inline filler is a filler which does not break a line of text, so it can be used inside the text, for instance in the empty\n * `` surrendered by text: `foobar`, if we want to put the caret there. CKEditor uses a sequence of the zero-width\n * spaces as an {@link module:engine/view/filler~INLINE_FILLER inline filler} having the predetermined\n * {@link module:engine/view/filler~INLINE_FILLER_LENGTH length}. A sequence is used, instead of a single character to\n * avoid treating random zero-width spaces as the inline filler. Disadvantage of the inline filler is that it is not\n * transparent for the selection. The arrow key moves the caret between zero-width spaces characters, so the additional\n * code is needed to handle the caret.\n *\n * Both inline and block fillers are handled by the {@link module:engine/view/renderer~Renderer renderer} and are not present in the\n * view.\n *\n * @module engine/view/filler\n */\n\n/**\n * Non-breaking space filler creator. This function creates the ` ` text node.\n * It defines how the filler is created.\n *\n * @see module:engine/view/filler~MARKED_NBSP_FILLER\n * @see module:engine/view/filler~BR_FILLER\n */\nexport const NBSP_FILLER = ( domDocument: Document ): Text => domDocument.createTextNode( '\\u00A0' );\n\n/**\n * Marked non-breaking space filler creator. This function creates the ` ` element.\n * It defines how the filler is created.\n *\n * @see module:engine/view/filler~NBSP_FILLER\n * @see module:engine/view/filler~BR_FILLER\n */\nexport const MARKED_NBSP_FILLER = ( domDocument: Document ): HTMLSpanElement => {\n\tconst span = domDocument.createElement( 'span' );\n\tspan.dataset.ckeFiller = 'true';\n\tspan.innerText = '\\u00A0';\n\n\treturn span;\n};\n\n/**\n * `
` filler creator. This function creates the `
` element.\n * It defines how the filler is created.\n *\n * @see module:engine/view/filler~NBSP_FILLER\n * @see module:engine/view/filler~MARKED_NBSP_FILLER\n */\nexport const BR_FILLER = ( domDocument: Document ): HTMLBRElement => {\n\tconst fillerBr = domDocument.createElement( 'br' );\n\tfillerBr.dataset.ckeFiller = 'true';\n\n\treturn fillerBr;\n};\n\n/**\n * Length of the {@link module:engine/view/filler~INLINE_FILLER INLINE_FILLER}.\n */\nexport const INLINE_FILLER_LENGTH = 7;\n\n/**\n * Inline filler which is a sequence of the word joiners.\n */\nexport const INLINE_FILLER = '\\u2060'.repeat( INLINE_FILLER_LENGTH );\n\n/**\n * Checks if the node is a text node which starts with the {@link module:engine/view/filler~INLINE_FILLER inline filler}.\n *\n * ```ts\n * startsWithFiller( document.createTextNode( INLINE_FILLER ) ); // true\n * startsWithFiller( document.createTextNode( INLINE_FILLER + 'foo' ) ); // true\n * startsWithFiller( document.createTextNode( 'foo' ) ); // false\n * startsWithFiller( document.createElement( 'p' ) ); // false\n * ```\n *\n * @param domNode DOM node.\n * @returns True if the text node starts with the {@link module:engine/view/filler~INLINE_FILLER inline filler}.\n */\nexport function startsWithFiller( domNode: Node | string ): boolean {\n\tif ( typeof domNode == 'string' ) {\n\t\treturn domNode.substr( 0, INLINE_FILLER_LENGTH ) === INLINE_FILLER;\n\t}\n\n\treturn isText( domNode ) && ( domNode.data.substr( 0, INLINE_FILLER_LENGTH ) === INLINE_FILLER );\n}\n\n/**\n * Checks if the text node contains only the {@link module:engine/view/filler~INLINE_FILLER inline filler}.\n *\n * ```ts\n * isInlineFiller( document.createTextNode( INLINE_FILLER ) ); // true\n * isInlineFiller( document.createTextNode( INLINE_FILLER + 'foo' ) ); // false\n * ```\n *\n * @param domText DOM text node.\n * @returns True if the text node contains only the {@link module:engine/view/filler~INLINE_FILLER inline filler}.\n */\nexport function isInlineFiller( domText: Text ): boolean {\n\treturn domText.data.length == INLINE_FILLER_LENGTH && startsWithFiller( domText );\n}\n\n/**\n * Get string data from the text node, removing an {@link module:engine/view/filler~INLINE_FILLER inline filler} from it,\n * if text node contains it.\n *\n * ```ts\n * getDataWithoutFiller( document.createTextNode( INLINE_FILLER + 'foo' ) ) == 'foo' // true\n * getDataWithoutFiller( document.createTextNode( 'foo' ) ) == 'foo' // true\n * ```\n *\n * @param domText DOM text node, possible with inline filler.\n * @returns Data without filler.\n */\nexport function getDataWithoutFiller( domText: Text | string ): string {\n\tconst data = typeof domText == 'string' ? domText : domText.data;\n\n\tif ( startsWithFiller( domText ) ) {\n\t\treturn data.slice( INLINE_FILLER_LENGTH );\n\t}\n\n\treturn data;\n}\n\n/**\n * Assign key observer which move cursor from the end of the inline filler to the beginning of it when\n * the left arrow is pressed, so the filler does not break navigation.\n *\n * @param view View controller instance we should inject quirks handling on.\n */\nexport function injectQuirksHandling( view: View ): void {\n\tview.document.on( 'arrowKey', jumpOverInlineFiller, { priority: 'low' } );\n}\n\n/**\n * Move cursor from the end of the inline filler to the beginning of it when, so the filler does not break navigation.\n */\nfunction jumpOverInlineFiller( evt: unknown, data: DomEventData & KeystrokeInfo ) {\n\tif ( data.keyCode == keyCodes.arrowleft ) {\n\t\tconst domSelection = data.domTarget.ownerDocument.defaultView!.getSelection()!;\n\n\t\tif ( domSelection.rangeCount == 1 && domSelection.getRangeAt( 0 ).collapsed ) {\n\t\t\tconst domParent = domSelection.getRangeAt( 0 ).startContainer;\n\t\t\tconst domOffset = domSelection.getRangeAt( 0 ).startOffset;\n\n\t\t\tif ( startsWithFiller( domParent ) && domOffset <= INLINE_FILLER_LENGTH ) {\n\t\t\t\tdomSelection.collapse( domParent, 0 );\n\t\t\t}\n\t\t}\n\t}\n}\n","import api from \"!../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import content from \"!!../../../node_modules/css-loader/dist/cjs.js!../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./renderer.css\";\n\nvar options = {\"injectType\":\"singletonStyleTag\",\"attributes\":{\"data-cke\":true}};\n\noptions.insert = \"head\";\noptions.singleton = true;\n\nvar update = api(content, options);\n\n\n\nexport default content.locals || {};","/**\n * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * @module engine/view/renderer\n */\n\nimport ViewText from './text.js';\nimport ViewPosition from './position.js';\nimport { INLINE_FILLER, INLINE_FILLER_LENGTH, startsWithFiller, isInlineFiller } from './filler.js';\n\nimport {\n\tCKEditorError,\n\tObservableMixin,\n\tdiff,\n\tenv,\n\tfastDiff,\n\tinsertAt,\n\tisComment,\n\tisNode,\n\tisText,\n\tremove,\n\ttype DiffResult,\n\ttype ObservableChangeEvent\n} from '@ckeditor/ckeditor5-utils';\n\nimport type { ChangeType } from './document.js';\nimport type DocumentSelection from './documentselection.js';\nimport type DomConverter from './domconverter.js';\nimport type ViewElement from './element.js';\nimport type ViewNode from './node.js';\n\nimport '../../theme/renderer.css';\n\ntype DomText = globalThis.Text;\ntype DomNode = globalThis.Node;\ntype DomDocument = globalThis.Document;\ntype DomElement = globalThis.HTMLElement;\ntype DomSelection = globalThis.Selection;\n\n/**\n * Renderer is responsible for updating the DOM structure and the DOM selection based on\n * the {@link module:engine/view/renderer~Renderer#markToSync information about updated view nodes}.\n * In other words, it renders the view to the DOM.\n *\n * Its main responsibility is to make only the necessary, minimal changes to the DOM. However, unlike in many\n * virtual DOM implementations, the primary reason for doing minimal changes is not the performance but ensuring\n * that native editing features such as text composition, autocompletion, spell checking, selection's x-index are\n * affected as little as possible.\n *\n * Renderer uses {@link module:engine/view/domconverter~DomConverter} to transform view nodes and positions\n * to and from the DOM.\n */\nexport default class Renderer extends ObservableMixin() {\n\t/**\n\t * Set of DOM Documents instances.\n\t */\n\tpublic readonly domDocuments: Set = new Set();\n\n\t/**\n\t * Converter instance.\n\t */\n\tpublic readonly domConverter: DomConverter;\n\n\t/**\n\t * Set of nodes which attributes changed and may need to be rendered.\n\t */\n\tpublic readonly markedAttributes: Set = new Set();\n\n\t/**\n\t * Set of elements which child lists changed and may need to be rendered.\n\t */\n\tpublic readonly markedChildren: Set = new Set();\n\n\t/**\n\t * Set of text nodes which text data changed and may need to be rendered.\n\t */\n\tpublic readonly markedTexts: Set = new Set();\n\n\t/**\n\t * View selection. Renderer updates DOM selection based on the view selection.\n\t */\n\tpublic readonly selection: DocumentSelection;\n\n\t/**\n\t * Indicates if the view document is focused and selection can be rendered. Selection will not be rendered if\n\t * this is set to `false`.\n\t *\n\t * @observable\n\t */\n\tdeclare public readonly isFocused: boolean;\n\n\t/**\n\t * Indicates whether the user is making a selection in the document (e.g. holding the mouse button and moving the cursor).\n\t * When they stop selecting, the property goes back to `false`.\n\t *\n\t * Note: In some browsers, the renderer will stop rendering the selection and inline fillers while the user is making\n\t * a selection to avoid glitches in DOM selection\n\t * (https://github.com/ckeditor/ckeditor5/issues/10562, https://github.com/ckeditor/ckeditor5/issues/10723).\n\t *\n\t * @observable\n\t */\n\tdeclare public readonly isSelecting: boolean;\n\n\t/**\n\t * True if composition is in progress inside the document.\n\t *\n\t * This property is bound to the {@link module:engine/view/document~Document#isComposing `Document#isComposing`} property.\n\t *\n\t * @observable\n\t */\n\tdeclare public readonly isComposing: boolean;\n\n\t/**\n\t * The text node in which the inline filler was rendered.\n\t */\n\tprivate _inlineFiller: DomText | null = null;\n\n\t/**\n\t * DOM element containing fake selection.\n\t */\n\tprivate _fakeSelectionContainer: DomElement | null = null;\n\n\t/**\n\t * Creates a renderer instance.\n\t *\n\t * @param domConverter Converter instance.\n\t * @param selection View selection.\n\t */\n\tconstructor( domConverter: DomConverter, selection: DocumentSelection ) {\n\t\tsuper();\n\n\t\tthis.domConverter = domConverter;\n\t\tthis.selection = selection;\n\n\t\tthis.set( 'isFocused', false );\n\t\tthis.set( 'isSelecting', false );\n\n\t\t// Rendering the selection and inline filler manipulation should be postponed in (non-Android) Blink until the user finishes\n\t\t// creating the selection in DOM to avoid accidental selection collapsing\n\t\t// (https://github.com/ckeditor/ckeditor5/issues/10562, https://github.com/ckeditor/ckeditor5/issues/10723).\n\t\t// When the user stops selecting, all pending changes should be rendered ASAP, though.\n\t\tif ( env.isBlink && !env.isAndroid ) {\n\t\t\tthis.on( 'change:isSelecting', () => {\n\t\t\t\tif ( !this.isSelecting ) {\n\t\t\t\t\tthis.render();\n\t\t\t\t}\n\t\t\t} );\n\t\t}\n\n\t\tthis.set( 'isComposing', false );\n\n\t\tthis.on( 'change:isComposing', () => {\n\t\t\tif ( !this.isComposing ) {\n\t\t\t\tthis.render();\n\t\t\t}\n\t\t} );\n\t}\n\n\t/**\n\t * Marks a view node to be updated in the DOM by {@link #render `render()`}.\n\t *\n\t * Note that only view nodes whose parents have corresponding DOM elements need to be marked to be synchronized.\n\t *\n\t * @see #markedAttributes\n\t * @see #markedChildren\n\t * @see #markedTexts\n\t *\n\t * @param type Type of the change.\n\t * @param node ViewNode to be marked.\n\t */\n\tpublic markToSync( type: ChangeType, node: ViewNode ): void {\n\t\tif ( type === 'text' ) {\n\t\t\tif ( this.domConverter.mapViewToDom( node.parent! ) ) {\n\t\t\t\tthis.markedTexts.add( node );\n\t\t\t}\n\t\t} else {\n\t\t\t// If the node has no DOM element it is not rendered yet,\n\t\t\t// its children/attributes do not need to be marked to be sync.\n\t\t\tif ( !this.domConverter.mapViewToDom( node as ViewElement ) ) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tif ( type === 'attributes' ) {\n\t\t\t\tthis.markedAttributes.add( node as ViewElement );\n\t\t\t} else if ( type === 'children' ) {\n\t\t\t\tthis.markedChildren.add( node as ViewElement );\n\t\t\t} else {\n\t\t\t\t// eslint-disable-next-line @typescript-eslint/no-unused-vars\n\t\t\t\tconst unreachable: never = type;\n\n\t\t\t\t/**\n\t\t\t\t * Unknown type passed to Renderer.markToSync.\n\t\t\t\t *\n\t\t\t\t * @error view-renderer-unknown-type\n\t\t\t\t */\n\t\t\t\tthrow new CKEditorError( 'view-renderer-unknown-type', this );\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t * Renders all buffered changes ({@link #markedAttributes}, {@link #markedChildren} and {@link #markedTexts}) and\n\t * the current view selection (if needed) to the DOM by applying a minimal set of changes to it.\n\t *\n\t * Renderer tries not to break the text composition (e.g. IME) and x-index of the selection,\n\t * so it does as little as it is needed to update the DOM.\n\t *\n\t * Renderer also handles {@link module:engine/view/filler fillers}. Especially, it checks if the inline filler is needed\n\t * at the selection position and adds or removes it. To prevent breaking text composition inline filler will not be\n\t * removed as long as the selection is in the text node which needed it at first.\n\t */\n\tpublic render(): void {\n\t\t// Ignore rendering while in the composition mode. Composition events are not cancellable and browser will modify the DOM tree.\n\t\t// All marked elements, attributes, etc. will wait until next render after the composition ends.\n\t\t// On Android composition events are immediately applied to the model, so we don't need to skip rendering,\n\t\t// and we should not do it because the difference between view and DOM could lead to position mapping problems.\n\t\tif ( this.isComposing && !env.isAndroid ) {\n\t\t\t// @if CK_DEBUG_TYPING // if ( ( window as any ).logCKETyping ) {\n\t\t\t// @if CK_DEBUG_TYPING // \tconsole.info( '%c[Renderer]%c Rendering aborted while isComposing',\n\t\t\t// @if CK_DEBUG_TYPING // \t\t'color: green;font-weight: bold', ''\n\t\t\t// @if CK_DEBUG_TYPING // \t);\n\t\t\t// @if CK_DEBUG_TYPING // }\n\n\t\t\treturn;\n\t\t}\n\n\t\t// @if CK_DEBUG_TYPING // if ( ( window as any ).logCKETyping ) {\n\t\t// @if CK_DEBUG_TYPING // \tconsole.group( '%c[Renderer]%c Rendering',\n\t\t// @if CK_DEBUG_TYPING // \t\t'color: green;font-weight: bold', ''\n\t\t// @if CK_DEBUG_TYPING // \t);\n\t\t// @if CK_DEBUG_TYPING // }\n\n\t\tlet inlineFillerPosition: ViewPosition | null = null;\n\t\tconst isInlineFillerRenderingPossible = env.isBlink && !env.isAndroid ? !this.isSelecting : true;\n\n\t\t// Refresh mappings.\n\t\tfor ( const element of this.markedChildren ) {\n\t\t\tthis._updateChildrenMappings( element );\n\t\t}\n\n\t\t// Don't manipulate inline fillers while the selection is being made in (non-Android) Blink to prevent accidental\n\t\t// DOM selection collapsing\n\t\t// (https://github.com/ckeditor/ckeditor5/issues/10562, https://github.com/ckeditor/ckeditor5/issues/10723).\n\t\tif ( isInlineFillerRenderingPossible ) {\n\t\t\t// There was inline filler rendered in the DOM but it's not\n\t\t\t// at the selection position any more, so we can remove it\n\t\t\t// (cause even if it's needed, it must be placed in another location).\n\t\t\tif ( this._inlineFiller && !this._isSelectionInInlineFiller() ) {\n\t\t\t\tthis._removeInlineFiller();\n\t\t\t}\n\n\t\t\t// If we've got the filler, let's try to guess its position in the view.\n\t\t\tif ( this._inlineFiller ) {\n\t\t\t\tinlineFillerPosition = this._getInlineFillerPosition();\n\t\t\t}\n\t\t\t// Otherwise, if it's needed, create it at the selection position.\n\t\t\telse if ( this._needsInlineFillerAtSelection() ) {\n\t\t\t\tinlineFillerPosition = this.selection.getFirstPosition()!;\n\n\t\t\t\t// Do not use `markToSync` so it will be added even if the parent is already added.\n\t\t\t\tthis.markedChildren.add( inlineFillerPosition.parent as ViewElement );\n\t\t\t}\n\t\t}\n\t\t// Make sure the inline filler has any parent, so it can be mapped to view position by DomConverter.\n\t\telse if ( this._inlineFiller && this._inlineFiller.parentNode ) {\n\t\t\t// While the user is making selection, preserve the inline filler at its original position.\n\t\t\tinlineFillerPosition = this.domConverter.domPositionToView( this._inlineFiller )!;\n\n\t\t\t// While down-casting the document selection attributes, all existing empty\n\t\t\t// attribute elements (for selection position) are removed from the view and DOM,\n\t\t\t// so make sure that we were able to map filler position.\n\t\t\t// https://github.com/ckeditor/ckeditor5/issues/12026\n\t\t\tif ( inlineFillerPosition && inlineFillerPosition.parent.is( '$text' ) ) {\n\t\t\t\t// The inline filler position is expected to be before the text node.\n\t\t\t\tinlineFillerPosition = ViewPosition._createBefore( inlineFillerPosition.parent );\n\t\t\t}\n\t\t}\n\n\t\tfor ( const element of this.markedAttributes ) {\n\t\t\tthis._updateAttrs( element );\n\t\t}\n\n\t\tfor ( const element of this.markedChildren ) {\n\t\t\tthis._updateChildren( element, { inlineFillerPosition } );\n\t\t}\n\n\t\tfor ( const node of this.markedTexts ) {\n\t\t\tif ( !this.markedChildren.has( node.parent as ViewElement ) && this.domConverter.mapViewToDom( node.parent as ViewElement ) ) {\n\t\t\t\tthis._updateText( node as ViewText, { inlineFillerPosition } );\n\t\t\t}\n\t\t}\n\n\t\t// * Check whether the inline filler is required and where it really is in the DOM.\n\t\t// At this point in most cases it will be in the DOM, but there are exceptions.\n\t\t// For example, if the inline filler was deep in the created DOM structure, it will not be created.\n\t\t// Similarly, if it was removed at the beginning of this function and then neither text nor children were updated,\n\t\t// it will not be present. Fix those and similar scenarios.\n\t\t// * Don't manipulate inline fillers while the selection is being made in (non-Android) Blink to prevent accidental\n\t\t// DOM selection collapsing\n\t\t// (https://github.com/ckeditor/ckeditor5/issues/10562, https://github.com/ckeditor/ckeditor5/issues/10723).\n\t\tif ( isInlineFillerRenderingPossible ) {\n\t\t\tif ( inlineFillerPosition ) {\n\t\t\t\tconst fillerDomPosition = this.domConverter.viewPositionToDom( inlineFillerPosition )!;\n\t\t\t\tconst domDocument = fillerDomPosition.parent.ownerDocument!;\n\n\t\t\t\tif ( !startsWithFiller( fillerDomPosition.parent ) ) {\n\t\t\t\t\t// Filler has not been created at filler position. Create it now.\n\t\t\t\t\tthis._inlineFiller = addInlineFiller( domDocument, fillerDomPosition.parent, fillerDomPosition.offset );\n\t\t\t\t} else {\n\t\t\t\t\t// Filler has been found, save it.\n\t\t\t\t\tthis._inlineFiller = fillerDomPosition.parent as DomText;\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\t// There is no filler needed.\n\t\t\t\tthis._inlineFiller = null;\n\t\t\t}\n\t\t}\n\n\t\t// First focus the new editing host, then update the selection.\n\t\t// Otherwise, FF may throw an error (https://github.com/ckeditor/ckeditor5/issues/721).\n\t\tthis._updateFocus();\n\t\tthis._updateSelection();\n\n\t\tthis.domConverter._clearTemporaryCustomProperties();\n\n\t\tthis.markedTexts.clear();\n\t\tthis.markedAttributes.clear();\n\t\tthis.markedChildren.clear();\n\n\t\t// @if CK_DEBUG_TYPING // if ( ( window as any ).logCKETyping ) {\n\t\t// @if CK_DEBUG_TYPING // \tconsole.groupEnd();\n\t\t// @if CK_DEBUG_TYPING // }\n\t}\n\n\t/**\n\t * Updates mappings of view element's children.\n\t *\n\t * Children that were replaced in the view structure by similar elements (same tag name) are treated as 'replaced'.\n\t * This means that their mappings can be updated so the new view elements are mapped to the existing DOM elements.\n\t * Thanks to that these elements do not need to be re-rendered completely.\n\t *\n\t * @param viewElement The view element whose children mappings will be updated.\n\t */\n\tprivate _updateChildrenMappings( viewElement: ViewElement ): void {\n\t\tconst domElement = this.domConverter.mapViewToDom( viewElement );\n\n\t\tif ( !domElement ) {\n\t\t\t// If there is no `domElement` it means that it was already removed from DOM and there is no need to process it.\n\t\t\treturn;\n\t\t}\n\n\t\t// Removing nodes from the DOM as we iterate can cause `actualDomChildren`\n\t\t// (which is a live-updating `NodeList`) to get out of sync with the\n\t\t// indices that we compute as we iterate over `actions`.\n\t\t// This would produce incorrect element mappings.\n\t\t//\n\t\t// Converting live list to an array to make the list static.\n\t\tconst actualDomChildren = Array.from(\n\t\t\tdomElement.childNodes\n\t\t);\n\t\tconst expectedDomChildren = Array.from(\n\t\t\tthis.domConverter.viewChildrenToDom( viewElement, { withChildren: false } )\n\t\t);\n\t\tconst diff = this._diffNodeLists( actualDomChildren, expectedDomChildren );\n\t\tconst actions = this._findUpdateActions( diff, actualDomChildren, expectedDomChildren, areSimilarElements );\n\n\t\tif ( actions.indexOf( 'update' ) !== -1 ) {\n\t\t\tconst counter = { equal: 0, insert: 0, delete: 0 };\n\n\t\t\tfor ( const action of actions ) {\n\t\t\t\tif ( action === 'update' ) {\n\t\t\t\t\tconst insertIndex = counter.equal + counter.insert;\n\t\t\t\t\tconst deleteIndex = counter.equal + counter.delete;\n\t\t\t\t\tconst viewChild = viewElement.getChild( insertIndex );\n\n\t\t\t\t\t// UIElement and RawElement are special cases. Their children are not stored in a view (#799)\n\t\t\t\t\t// so we cannot use them with replacing flow (since they use view children during rendering\n\t\t\t\t\t// which will always result in rendering empty elements).\n\t\t\t\t\tif ( viewChild && !viewChild.is( 'uiElement' ) && !viewChild.is( 'rawElement' ) ) {\n\t\t\t\t\t\tthis._updateElementMappings( viewChild as ViewElement, actualDomChildren[ deleteIndex ] as DomElement );\n\t\t\t\t\t}\n\n\t\t\t\t\tremove( expectedDomChildren[ insertIndex ] );\n\t\t\t\t\tcounter.equal++;\n\t\t\t\t} else {\n\t\t\t\t\tcounter[ action ]++;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t * Updates mappings of a given view element.\n\t *\n\t * @param viewElement The view element whose mappings will be updated.\n\t * @param domElement The DOM element representing the given view element.\n\t */\n\tprivate _updateElementMappings( viewElement: ViewElement, domElement: DomElement ): void {\n\t\t// Remap 'DomConverter' bindings.\n\t\tthis.domConverter.unbindDomElement( domElement );\n\t\tthis.domConverter.bindElements( domElement, viewElement );\n\n\t\t// View element may have children which needs to be updated, but are not marked, mark them to update.\n\t\tthis.markedChildren.add( viewElement );\n\n\t\t// Because we replace new view element mapping with the existing one, the corresponding DOM element\n\t\t// will not be rerendered. The new view element may have different attributes than the previous one.\n\t\t// Since its corresponding DOM element will not be rerendered, new attributes will not be added\n\t\t// to the DOM, so we need to mark it here to make sure its attributes gets updated. See #1427 for more\n\t\t// detailed case study.\n\t\t// Also there are cases where replaced element is removed from the view structure and then has\n\t\t// its attributes changed or removed. In such cases the element will not be present in `markedAttributes`\n\t\t// and also may be the same (`element.isSimilar()`) as the reused element not having its attributes updated.\n\t\t// To prevent such situations we always mark reused element to have its attributes rerenderd (#1560).\n\t\tthis.markedAttributes.add( viewElement );\n\t}\n\n\t/**\n\t * Gets the position of the inline filler based on the current selection.\n\t * Here, we assume that we know that the filler is needed and\n\t * {@link #_isSelectionInInlineFiller is at the selection position}, and, since it is needed,\n\t * it is somewhere at the selection position.\n\t *\n\t * Note: The filler position cannot be restored based on the filler's DOM text node, because\n\t * when this method is called (before rendering), the bindings will often be broken. View-to-DOM\n\t * bindings are only dependable after rendering.\n\t */\n\tprivate _getInlineFillerPosition(): ViewPosition {\n\t\tconst firstPos = this.selection.getFirstPosition()!;\n\n\t\tif ( firstPos.parent.is( '$text' ) ) {\n\t\t\treturn ViewPosition._createBefore( firstPos.parent );\n\t\t} else {\n\t\t\treturn firstPos;\n\t\t}\n\t}\n\n\t/**\n\t * Returns `true` if the selection has not left the inline filler's text node.\n\t * If it is `true`, it means that the filler had been added for a reason and the selection did not\n\t * leave the filler's text node. For example, the user can be in the middle of a composition so it should not be touched.\n\t *\n\t * @returns `true` if the inline filler and selection are in the same place.\n\t */\n\tprivate _isSelectionInInlineFiller(): boolean {\n\t\tif ( this.selection.rangeCount != 1 || !this.selection.isCollapsed ) {\n\t\t\treturn false;\n\t\t}\n\n\t\t// Note, we can't check if selection's position equals position of the\n\t\t// this._inlineFiller node, because of #663. We may not be able to calculate\n\t\t// the filler's position in the view at this stage.\n\t\t// Instead, we check it the other way – whether selection is anchored in\n\t\t// that text node or next to it.\n\n\t\t// Possible options are:\n\t\t// \"FILLER{}\"\n\t\t// \"FILLERadded-text{}\"\n\t\tconst selectionPosition = this.selection.getFirstPosition()!;\n\t\tconst position = this.domConverter.viewPositionToDom( selectionPosition );\n\n\t\tif ( position && isText( position.parent ) && startsWithFiller( position.parent ) ) {\n\t\t\treturn true;\n\t\t}\n\n\t\treturn false;\n\t}\n\n\t/**\n\t * Removes the inline filler.\n\t */\n\tprivate _removeInlineFiller(): void {\n\t\tconst domFillerNode = this._inlineFiller!;\n\n\t\t// Something weird happened and the stored node doesn't contain the filler's text.\n\t\tif ( !startsWithFiller( domFillerNode ) ) {\n\t\t\t/**\n\t\t\t * The inline filler node was lost. Most likely, something overwrote the filler text node\n\t\t\t * in the DOM.\n\t\t\t *\n\t\t\t * @error view-renderer-filler-was-lost\n\t\t\t */\n\t\t\tthrow new CKEditorError( 'view-renderer-filler-was-lost', this );\n\t\t}\n\n\t\tif ( isInlineFiller( domFillerNode ) ) {\n\t\t\tdomFillerNode.remove();\n\t\t} else {\n\t\t\tdomFillerNode.data = domFillerNode.data.substr( INLINE_FILLER_LENGTH );\n\t\t}\n\n\t\tthis._inlineFiller = null;\n\t}\n\n\t/**\n\t * Checks if the inline {@link module:engine/view/filler filler} should be added.\n\t *\n\t * @returns `true` if the inline filler should be added.\n\t */\n\tprivate _needsInlineFillerAtSelection(): boolean {\n\t\tif ( this.selection.rangeCount != 1 || !this.selection.isCollapsed ) {\n\t\t\treturn false;\n\t\t}\n\n\t\tconst selectionPosition = this.selection.getFirstPosition()!;\n\t\tconst selectionParent = selectionPosition.parent;\n\t\tconst selectionOffset = selectionPosition.offset;\n\n\t\t// If there is no DOM root we do not care about fillers.\n\t\tif ( !this.domConverter.mapViewToDom( selectionParent.root ) ) {\n\t\t\treturn false;\n\t\t}\n\n\t\tif ( !( selectionParent.is( 'element' ) ) ) {\n\t\t\treturn false;\n\t\t}\n\n\t\t// Prevent adding inline filler inside elements with contenteditable=false.\n\t\t// https://github.com/ckeditor/ckeditor5-engine/issues/1170\n\t\tif ( !isEditable( selectionParent ) ) {\n\t\t\treturn false;\n\t\t}\n\n\t\t// We have block filler, we do not need inline one.\n\t\tif ( selectionOffset === selectionParent.getFillerOffset!() ) {\n\t\t\treturn false;\n\t\t}\n\n\t\tconst nodeBefore = selectionPosition.nodeBefore;\n\t\tconst nodeAfter = selectionPosition.nodeAfter;\n\n\t\tif ( nodeBefore instanceof ViewText || nodeAfter instanceof ViewText ) {\n\t\t\treturn false;\n\t\t}\n\n\t\t// Do not use inline filler while typing outside inline elements on Android.\n\t\t// The deleteContentBackward would remove part of the inline filler instead of removing last letter in a link.\n\t\tif ( env.isAndroid && ( nodeBefore || nodeAfter ) ) {\n\t\t\treturn false;\n\t\t}\n\n\t\treturn true;\n\t}\n\n\t/**\n\t * Checks if text needs to be updated and possibly updates it.\n\t *\n\t * @param viewText View text to update.\n\t * @param options.inlineFillerPosition The position where the inline filler should be rendered.\n\t */\n\tprivate _updateText( viewText: ViewText, options: { inlineFillerPosition?: ViewPosition | null } ) {\n\t\tconst domText = this.domConverter.findCorrespondingDomText( viewText )!;\n\t\tconst newDomText = this.domConverter.viewToDom( viewText );\n\n\t\tlet expectedText = newDomText.data;\n\t\tconst filler = options.inlineFillerPosition;\n\n\t\tif ( filler && filler.parent == viewText.parent && filler.offset == viewText.index ) {\n\t\t\texpectedText = INLINE_FILLER + expectedText;\n\t\t}\n\n\t\t// @if CK_DEBUG_TYPING // if ( ( window as any ).logCKETyping ) {\n\t\t// @if CK_DEBUG_TYPING // \tconsole.group( '%c[Renderer]%c Update text',\n\t\t// @if CK_DEBUG_TYPING // \t\t'color: green;font-weight: bold', ''\n\t\t// @if CK_DEBUG_TYPING // \t);\n\t\t// @if CK_DEBUG_TYPING // }\n\n\t\tupdateTextNode( domText, expectedText );\n\n\t\t// @if CK_DEBUG_TYPING // if ( ( window as any ).logCKETyping ) {\n\t\t// @if CK_DEBUG_TYPING // \tconsole.groupEnd();\n\t\t// @if CK_DEBUG_TYPING // }\n\t}\n\n\t/**\n\t * Checks if attribute list needs to be updated and possibly updates it.\n\t *\n\t * @param viewElement The view element to update.\n\t */\n\tprivate _updateAttrs( viewElement: ViewElement ): void {\n\t\tconst domElement = this.domConverter.mapViewToDom( viewElement );\n\n\t\tif ( !domElement ) {\n\t\t\t// If there is no `domElement` it means that 'viewElement' is outdated as its mapping was updated\n\t\t\t// in 'this._updateChildrenMappings()'. There is no need to process it as new view element which\n\t\t\t// replaced old 'viewElement' mapping was also added to 'this.markedAttributes'\n\t\t\t// in 'this._updateChildrenMappings()' so it will be processed separately.\n\t\t\treturn;\n\t\t}\n\n\t\tconst domAttrKeys = Array.from( ( domElement as DomElement ).attributes ).map( attr => attr.name );\n\t\tconst viewAttrKeys = viewElement.getAttributeKeys();\n\n\t\t// Add or overwrite attributes.\n\t\tfor ( const key of viewAttrKeys ) {\n\t\t\tthis.domConverter.setDomElementAttribute( domElement as DomElement, key, viewElement.getAttribute( key )!, viewElement );\n\t\t}\n\n\t\t// Remove from DOM attributes which do not exists in the view.\n\t\tfor ( const key of domAttrKeys ) {\n\t\t\t// All other attributes not present in the DOM should be removed.\n\t\t\tif ( !viewElement.hasAttribute( key ) ) {\n\t\t\t\tthis.domConverter.removeDomElementAttribute( domElement as DomElement, key );\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t * Checks if elements child list needs to be updated and possibly updates it.\n\t *\n\t * Note that on Android, to reduce the risk of composition breaks, it tries to update data of an existing\n\t * child text nodes instead of replacing them completely.\n\t *\n\t * @param viewElement View element to update.\n\t * @param options.inlineFillerPosition The position where the inline filler should be rendered.\n\t */\n\tprivate _updateChildren( viewElement: ViewElement, options: { inlineFillerPosition: ViewPosition | null } ) {\n\t\tconst domElement = this.domConverter.mapViewToDom( viewElement );\n\n\t\tif ( !domElement ) {\n\t\t\t// If there is no `domElement` it means that it was already removed from DOM.\n\t\t\t// There is no need to process it. It will be processed when re-inserted.\n\t\t\treturn;\n\t\t}\n\n\t\t// @if CK_DEBUG_TYPING // if ( ( window as any ).logCKETyping ) {\n\t\t// @if CK_DEBUG_TYPING // \tconsole.group( '%c[Renderer]%c Update children',\n\t\t// @if CK_DEBUG_TYPING // \t\t'color: green;font-weight: bold', ''\n\t\t// @if CK_DEBUG_TYPING // \t);\n\t\t// @if CK_DEBUG_TYPING // }\n\n\t\t// IME on Android inserts a new text node while typing after a link\n\t\t// instead of updating an existing text node that follows the link.\n\t\t// We must normalize those text nodes so the diff won't get confused.\n\t\t// https://github.com/ckeditor/ckeditor5/issues/12574.\n\t\tif ( env.isAndroid ) {\n\t\t\tlet previousDomNode = null;\n\n\t\t\tfor ( const domNode of Array.from( domElement.childNodes ) ) {\n\t\t\t\tif ( previousDomNode && isText( previousDomNode ) && isText( domNode ) ) {\n\t\t\t\t\tdomElement.normalize();\n\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t\tpreviousDomNode = domNode;\n\t\t\t}\n\t\t}\n\n\t\tconst inlineFillerPosition = options.inlineFillerPosition;\n\t\tconst actualDomChildren = domElement.childNodes;\n\t\tconst expectedDomChildren = Array.from(\n\t\t\tthis.domConverter.viewChildrenToDom( viewElement, { bind: true } )\n\t\t);\n\n\t\t// Inline filler element has to be created as it is present in the DOM, but not in the view. It is required\n\t\t// during diffing so text nodes could be compared correctly and also during rendering to maintain\n\t\t// proper order and indexes while updating the DOM.\n\t\tif ( inlineFillerPosition && inlineFillerPosition.parent === viewElement ) {\n\t\t\taddInlineFiller( ( domElement as DomElement ).ownerDocument, expectedDomChildren, inlineFillerPosition.offset );\n\t\t}\n\n\t\tconst diff = this._diffNodeLists( actualDomChildren, expectedDomChildren );\n\n\t\t// We need to make sure that we update the existing text node and not replace it with another one.\n\t\t// The composition and different \"language\" browser extensions are fragile to text node being completely replaced.\n\t\tconst actions = this._findUpdateActions( diff, actualDomChildren, expectedDomChildren, areTextNodes );\n\n\t\tlet i = 0;\n\t\tconst nodesToUnbind: Set = new Set();\n\n\t\t// Handle deletions first.\n\t\t// This is to prevent a situation where an element that already exists in `actualDomChildren` is inserted at a different\n\t\t// index in `actualDomChildren`. Since `actualDomChildren` is a `NodeList`, this works like move, not like an insert,\n\t\t// and it disrupts the whole algorithm. See https://github.com/ckeditor/ckeditor5/issues/6367.\n\t\t//\n\t\t// It doesn't matter in what order we remove or add nodes, as long as we remove and add correct nodes at correct indexes.\n\t\tfor ( const action of actions ) {\n\t\t\tif ( action === 'delete' ) {\n\t\t\t\t// @if CK_DEBUG_TYPING // if ( ( window as any ).logCKETyping ) {\n\t\t\t\t// @if CK_DEBUG_TYPING // \tconsole.info( '%c[Renderer]%c Remove node',\n\t\t\t\t// @if CK_DEBUG_TYPING // \t\t'color: green;font-weight: bold', '', actualDomChildren[ i ]\n\t\t\t\t// @if CK_DEBUG_TYPING // \t);\n\t\t\t\t// @if CK_DEBUG_TYPING // }\n\t\t\t\tnodesToUnbind.add( actualDomChildren[ i ] as DomElement );\n\t\t\t\tremove( actualDomChildren[ i ] );\n\t\t\t} else if ( action === 'equal' || action === 'update' ) {\n\t\t\t\ti++;\n\t\t\t}\n\t\t}\n\n\t\ti = 0;\n\n\t\tfor ( const action of actions ) {\n\t\t\tif ( action === 'insert' ) {\n\t\t\t\t// @if CK_DEBUG_TYPING // if ( ( window as any ).logCKETyping ) {\n\t\t\t\t// @if CK_DEBUG_TYPING // \tconsole.info( '%c[Renderer]%c Insert node',\n\t\t\t\t// @if CK_DEBUG_TYPING // \t\t'color: green;font-weight: bold', '', expectedDomChildren[ i ]\n\t\t\t\t// @if CK_DEBUG_TYPING // \t);\n\t\t\t\t// @if CK_DEBUG_TYPING // }\n\n\t\t\t\tinsertAt( domElement as DomElement, i, expectedDomChildren[ i ] );\n\t\t\t\ti++;\n\t\t\t}\n\t\t\t// Update the existing text node data. Note that replace action is generated only for Android for now.\n\t\t\telse if ( action === 'update' ) {\n\t\t\t\t// @if CK_DEBUG_TYPING // if ( ( window as any ).logCKETyping ) {\n\t\t\t\t// @if CK_DEBUG_TYPING // \tconsole.group( '%c[Renderer]%c Update text node',\n\t\t\t\t// @if CK_DEBUG_TYPING // \t\t'color: green;font-weight: bold', ''\n\t\t\t\t// @if CK_DEBUG_TYPING // \t);\n\t\t\t\t// @if CK_DEBUG_TYPING // }\n\n\t\t\t\tupdateTextNode( actualDomChildren[ i ] as DomText, ( expectedDomChildren[ i ] as DomText ).data );\n\t\t\t\ti++;\n\n\t\t\t\t// @if CK_DEBUG_TYPING // if ( ( window as any ).logCKETyping ) {\n\t\t\t\t// @if CK_DEBUG_TYPING // \tconsole.groupEnd();\n\t\t\t\t// @if CK_DEBUG_TYPING // }\n\t\t\t} else if ( action === 'equal' ) {\n\t\t\t\t// Force updating text nodes inside elements which did not change and do not need to be re-rendered (#1125).\n\t\t\t\t// Do it here (not in the loop above) because only after insertions the `i` index is correct.\n\t\t\t\tthis._markDescendantTextToSync( this.domConverter.domToView( expectedDomChildren[ i ] ) as any );\n\t\t\t\ti++;\n\t\t\t}\n\t\t}\n\n\t\t// Unbind removed nodes. When node does not have a parent it means that it was removed from DOM tree during\n\t\t// comparison with the expected DOM. We don't need to check child nodes, because if child node was reinserted,\n\t\t// it was moved to DOM tree out of the removed node.\n\t\tfor ( const node of nodesToUnbind ) {\n\t\t\tif ( !node.parentNode ) {\n\t\t\t\tthis.domConverter.unbindDomElement( node as DomElement );\n\t\t\t}\n\t\t}\n\n\t\t// @if CK_DEBUG_TYPING // if ( ( window as any ).logCKETyping ) {\n\t\t// @if CK_DEBUG_TYPING // \tconsole.groupEnd();\n\t\t// @if CK_DEBUG_TYPING // }\n\t}\n\n\t/**\n\t * Shorthand for diffing two arrays or node lists of DOM nodes.\n\t *\n\t * @param actualDomChildren Actual DOM children\n\t * @param expectedDomChildren Expected DOM children.\n\t * @returns The list of actions based on the {@link module:utils/diff~diff} function.\n\t */\n\tprivate _diffNodeLists( actualDomChildren: Array | NodeList, expectedDomChildren: Array | NodeList ) {\n\t\tactualDomChildren = filterOutFakeSelectionContainer( actualDomChildren, this._fakeSelectionContainer );\n\n\t\treturn diff( actualDomChildren, expectedDomChildren, sameNodes.bind( null, this.domConverter ) );\n\t}\n\n\t/**\n\t * Finds DOM nodes that were replaced with the similar nodes (same tag name) in the view. All nodes are compared\n\t * within one `insert`/`delete` action group, for example:\n\t *\n\t * ```\n\t * Actual DOM:\t\t

FooBarBazBax

\n\t * Expected DOM:\t

Bar123Baz456

\n\t * Input actions:\t[ insert, insert, delete, delete, equal, insert, delete ]\n\t * Output actions:\t[ insert, replace, delete, equal, replace ]\n\t * ```\n\t *\n\t * @param actions Actions array which is a result of the {@link module:utils/diff~diff} function.\n\t * @param actualDom Actual DOM children\n\t * @param expectedDom Expected DOM children.\n\t * @param comparator A comparator function that should return `true` if the given node should be reused\n\t * (either by the update of a text node data or an element children list for similar elements).\n\t * @returns Actions array modified with the `update` actions.\n\t */\n\tprivate _findUpdateActions(\n\t\tactions: Array,\n\t\tactualDom: Array | NodeList,\n\t\texpectedDom: Array,\n\t\tcomparator: ( a: DomNode, b: DomNode ) => boolean\n\t): Array {\n\t\t// If there is no both 'insert' and 'delete' actions, no need to check for replaced elements.\n\t\tif ( actions.indexOf( 'insert' ) === -1 || actions.indexOf( 'delete' ) === -1 ) {\n\t\t\treturn actions;\n\t\t}\n\n\t\tlet newActions: Array = [];\n\t\tlet actualSlice = [];\n\t\tlet expectedSlice = [];\n\n\t\tconst counter = { equal: 0, insert: 0, delete: 0 };\n\n\t\tfor ( const action of actions ) {\n\t\t\tif ( action === 'insert' ) {\n\t\t\t\texpectedSlice.push( expectedDom[ counter.equal + counter.insert ] );\n\t\t\t} else if ( action === 'delete' ) {\n\t\t\t\tactualSlice.push( actualDom[ counter.equal + counter.delete ] );\n\t\t\t} else { // equal\n\t\t\t\tnewActions = newActions.concat(\n\t\t\t\t\tdiff( actualSlice, expectedSlice, comparator )\n\t\t\t\t\t\t.map( action => action === 'equal' ? 'update' : action )\n\t\t\t\t);\n\n\t\t\t\tnewActions.push( 'equal' );\n\n\t\t\t\t// Reset stored elements on 'equal'.\n\t\t\t\tactualSlice = [];\n\t\t\t\texpectedSlice = [];\n\t\t\t}\n\t\t\tcounter[ action ]++;\n\t\t}\n\n\t\treturn newActions.concat(\n\t\t\tdiff( actualSlice, expectedSlice, comparator )\n\t\t\t\t.map( action => action === 'equal' ? 'update' : action )\n\t\t);\n\t}\n\n\t/**\n\t * Marks text nodes to be synchronized.\n\t *\n\t * If a text node is passed, it will be marked. If an element is passed, all descendant text nodes inside it will be marked.\n\t *\n\t * @param viewNode View node to sync.\n\t */\n\tprivate _markDescendantTextToSync( viewNode: ViewNode | undefined ): void {\n\t\tif ( !viewNode ) {\n\t\t\treturn;\n\t\t}\n\n\t\tif ( viewNode.is( '$text' ) ) {\n\t\t\tthis.markedTexts.add( viewNode );\n\t\t} else if ( viewNode.is( 'element' ) ) {\n\t\t\tfor ( const child of viewNode.getChildren() ) {\n\t\t\t\tthis._markDescendantTextToSync( child );\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t * Checks if the selection needs to be updated and possibly updates it.\n\t */\n\tprivate _updateSelection(): void {\n\t\t// Block updating DOM selection in (non-Android) Blink while the user is selecting to prevent accidental selection collapsing.\n\t\t// Note: Structural changes in DOM must trigger selection rendering, though. Nodes the selection was anchored\n\t\t// to, may disappear in DOM which would break the selection (e.g. in real-time collaboration scenarios).\n\t\t// https://github.com/ckeditor/ckeditor5/issues/10562, https://github.com/ckeditor/ckeditor5/issues/10723\n\t\tif ( env.isBlink && !env.isAndroid && this.isSelecting && !this.markedChildren.size ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// If there is no selection - remove DOM and fake selections.\n\t\tif ( this.selection.rangeCount === 0 ) {\n\t\t\tthis._removeDomSelection();\n\t\t\tthis._removeFakeSelection();\n\n\t\t\treturn;\n\t\t}\n\n\t\tconst domRoot = this.domConverter.mapViewToDom( this.selection.editableElement! );\n\n\t\t// Do nothing if there is no focus, or there is no DOM element corresponding to selection's editable element.\n\t\tif ( !this.isFocused || !domRoot ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Render fake selection - create the fake selection container (if needed) and move DOM selection to it.\n\t\tif ( this.selection.isFake ) {\n\t\t\tthis._updateFakeSelection( domRoot );\n\t\t}\n\t\t// There was a fake selection so remove it and update the DOM selection.\n\t\t// This is especially important on Android because otherwise IME will try to compose over the fake selection container.\n\t\telse if ( this._fakeSelectionContainer && this._fakeSelectionContainer.isConnected ) {\n\t\t\tthis._removeFakeSelection();\n\t\t\tthis._updateDomSelection( domRoot );\n\t\t}\n\t\t// Update the DOM selection in case of a plain selection change (no fake selection is involved).\n\t\t// On non-Android the whole rendering is disabled in composition mode (including DOM selection update),\n\t\t// but updating DOM selection should be also disabled on Android if in the middle of the composition\n\t\t// (to not interrupt it).\n\t\telse if ( !( this.isComposing && env.isAndroid ) ) {\n\t\t\tthis._updateDomSelection( domRoot );\n\t\t}\n\t}\n\n\t/**\n\t * Updates the fake selection.\n\t *\n\t * @param domRoot A valid DOM root where the fake selection container should be added.\n\t */\n\tprivate _updateFakeSelection( domRoot: DomElement ): void {\n\t\tconst domDocument = domRoot.ownerDocument;\n\n\t\tif ( !this._fakeSelectionContainer ) {\n\t\t\tthis._fakeSelectionContainer = createFakeSelectionContainer( domDocument );\n\t\t}\n\n\t\tconst container = this._fakeSelectionContainer;\n\n\t\t// Bind fake selection container with the current selection *position*.\n\t\tthis.domConverter.bindFakeSelection( container, this.selection );\n\n\t\tif ( !this._fakeSelectionNeedsUpdate( domRoot ) ) {\n\t\t\treturn;\n\t\t}\n\n\t\tif ( !container.parentElement || container.parentElement != domRoot ) {\n\t\t\tdomRoot.appendChild( container );\n\t\t}\n\n\t\tcontainer.textContent = this.selection.fakeSelectionLabel || '\\u00A0';\n\n\t\tconst domSelection = domDocument.getSelection()!;\n\t\tconst domRange = domDocument.createRange();\n\n\t\tdomSelection.removeAllRanges();\n\t\tdomRange.selectNodeContents( container );\n\t\tdomSelection.addRange( domRange );\n\t}\n\n\t/**\n\t * Updates the DOM selection.\n\t *\n\t * @param domRoot A valid DOM root where the DOM selection should be rendered.\n\t */\n\tprivate _updateDomSelection( domRoot: DomElement ) {\n\t\tconst domSelection = domRoot.ownerDocument.defaultView!.getSelection()!;\n\n\t\t// Let's check whether DOM selection needs updating at all.\n\t\tif ( !this._domSelectionNeedsUpdate( domSelection ) ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Multi-range selection is not available in most browsers, and, at least in Chrome, trying to\n\t\t// set such selection, that is not continuous, throws an error. Because of that, we will just use anchor\n\t\t// and focus of view selection.\n\t\t// Since we are not supporting multi-range selection, we also do not need to check if proper editable is\n\t\t// selected. If there is any editable selected, it is okay (editable is taken from selection anchor).\n\t\tconst anchor = this.domConverter.viewPositionToDom( this.selection.anchor! )!;\n\t\tconst focus = this.domConverter.viewPositionToDom( this.selection.focus! )!;\n\n\t\t// @if CK_DEBUG_TYPING // if ( ( window as any ).logCKETyping ) {\n\t\t// @if CK_DEBUG_TYPING // \tconsole.info( '%c[Renderer]%c Update DOM selection:',\n\t\t// @if CK_DEBUG_TYPING // \t\t'color: green;font-weight: bold', '', anchor, focus\n\t\t// @if CK_DEBUG_TYPING // \t);\n\t\t// @if CK_DEBUG_TYPING // }\n\n\t\tdomSelection.setBaseAndExtent( anchor.parent, anchor.offset, focus.parent, focus.offset );\n\n\t\t// Firefox–specific hack (https://github.com/ckeditor/ckeditor5-engine/issues/1439).\n\t\tif ( env.isGecko ) {\n\t\t\tfixGeckoSelectionAfterBr( focus, domSelection );\n\t\t}\n\t}\n\n\t/**\n\t * Checks whether a given DOM selection needs to be updated.\n\t *\n\t * @param domSelection The DOM selection to check.\n\t */\n\tprivate _domSelectionNeedsUpdate( domSelection: Selection ): boolean {\n\t\tif ( !this.domConverter.isDomSelectionCorrect( domSelection ) ) {\n\t\t\t// Current DOM selection is in incorrect position. We need to update it.\n\t\t\treturn true;\n\t\t}\n\n\t\tconst oldViewSelection = domSelection && this.domConverter.domSelectionToView( domSelection );\n\n\t\tif ( oldViewSelection && this.selection.isEqual( oldViewSelection ) ) {\n\t\t\treturn false;\n\t\t}\n\n\t\t// If selection is not collapsed, it does not need to be updated if it is similar.\n\t\tif ( !this.selection.isCollapsed && this.selection.isSimilar( oldViewSelection ) ) {\n\t\t\t// Selection did not changed and is correct, do not update.\n\t\t\treturn false;\n\t\t}\n\n\t\t// Selections are not similar.\n\t\treturn true;\n\t}\n\n\t/**\n\t * Checks whether the fake selection needs to be updated.\n\t *\n\t * @param domRoot A valid DOM root where a new fake selection container should be added.\n\t */\n\tprivate _fakeSelectionNeedsUpdate( domRoot: DomElement ): boolean {\n\t\tconst container = this._fakeSelectionContainer;\n\t\tconst domSelection = domRoot.ownerDocument.getSelection()!;\n\n\t\t// Fake selection needs to be updated if there's no fake selection container, or the container currently sits\n\t\t// in a different root.\n\t\tif ( !container || container.parentElement !== domRoot ) {\n\t\t\treturn true;\n\t\t}\n\n\t\t// Make sure that the selection actually is within the fake selection.\n\t\tif ( domSelection.anchorNode !== container && !container.contains( domSelection.anchorNode ) ) {\n\t\t\treturn true;\n\t\t}\n\n\t\treturn container.textContent !== this.selection.fakeSelectionLabel;\n\t}\n\n\t/**\n\t * Removes the DOM selection.\n\t */\n\tprivate _removeDomSelection(): void {\n\t\tfor ( const doc of this.domDocuments ) {\n\t\t\tconst domSelection = doc.getSelection()!;\n\n\t\t\tif ( domSelection.rangeCount ) {\n\t\t\t\tconst activeDomElement = doc.activeElement!;\n\t\t\t\tconst viewElement = this.domConverter.mapDomToView( activeDomElement as DomElement );\n\n\t\t\t\tif ( activeDomElement && viewElement ) {\n\t\t\t\t\tdomSelection.removeAllRanges();\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t * Removes the fake selection.\n\t */\n\tprivate _removeFakeSelection(): void {\n\t\tconst container = this._fakeSelectionContainer;\n\n\t\tif ( container ) {\n\t\t\tcontainer.remove();\n\t\t}\n\t}\n\n\t/**\n\t * Checks if focus needs to be updated and possibly updates it.\n\t */\n\tprivate _updateFocus(): void {\n\t\tif ( this.isFocused ) {\n\t\t\tconst editable = this.selection.editableElement;\n\n\t\t\tif ( editable ) {\n\t\t\t\tthis.domConverter.focus( editable );\n\t\t\t}\n\t\t}\n\t}\n}\n\n/**\n * Checks if provided element is editable.\n */\nfunction isEditable( element: ViewElement ): boolean {\n\tif ( element.getAttribute( 'contenteditable' ) == 'false' ) {\n\t\treturn false;\n\t}\n\n\tconst parent = element.findAncestor( element => element.hasAttribute( 'contenteditable' ) );\n\n\treturn !parent || parent.getAttribute( 'contenteditable' ) == 'true';\n}\n\n/**\n * Adds inline filler at a given position.\n *\n * The position can be given as an array of DOM nodes and an offset in that array,\n * or a DOM parent element and an offset in that element.\n *\n * @returns The DOM text node that contains an inline filler.\n */\nfunction addInlineFiller( domDocument: DomDocument, domParentOrArray: DomNode | Array, offset: number ): DomText {\n\tconst childNodes = domParentOrArray instanceof Array ? domParentOrArray : domParentOrArray.childNodes;\n\tconst nodeAfterFiller = childNodes[ offset ];\n\n\tif ( isText( nodeAfterFiller ) ) {\n\t\tnodeAfterFiller.data = INLINE_FILLER + nodeAfterFiller.data;\n\n\t\treturn nodeAfterFiller;\n\t} else {\n\t\tconst fillerNode = domDocument.createTextNode( INLINE_FILLER );\n\n\t\tif ( Array.isArray( domParentOrArray ) ) {\n\t\t\t( childNodes as Array ).splice( offset, 0, fillerNode );\n\t\t} else {\n\t\t\tinsertAt( domParentOrArray as DomElement, offset, fillerNode );\n\t\t}\n\n\t\treturn fillerNode;\n\t}\n}\n\n/**\n * Whether two DOM nodes should be considered as similar.\n * Nodes are considered similar if they have the same tag name.\n */\nfunction areSimilarElements( node1: DomNode, node2: DomNode ): boolean {\n\treturn isNode( node1 ) && isNode( node2 ) &&\n\t\t!isText( node1 ) && !isText( node2 ) &&\n\t\t!isComment( node1 ) && !isComment( node2 ) &&\n\t\t( node1 as DomElement ).tagName.toLowerCase() === ( node2 as DomElement ).tagName.toLowerCase();\n}\n\n/**\n * Whether two DOM nodes are text nodes.\n */\nfunction areTextNodes( node1: DomNode, node2: DomNode ): boolean {\n\treturn isNode( node1 ) && isNode( node2 ) &&\n\t\tisText( node1 ) && isText( node2 );\n}\n\n/**\n * Whether two dom nodes should be considered as the same.\n * Two nodes which are considered the same are:\n *\n * * Text nodes with the same text.\n * * Element nodes represented by the same object.\n * * Two block filler elements.\n *\n * @param blockFillerMode Block filler mode, see {@link module:engine/view/domconverter~DomConverter#blockFillerMode}.\n */\nfunction sameNodes( domConverter: DomConverter, actualDomChild: DomNode, expectedDomChild: DomNode ): boolean {\n\t// Elements.\n\tif ( actualDomChild === expectedDomChild ) {\n\t\treturn true;\n\t}\n\t// Texts.\n\telse if ( isText( actualDomChild ) && isText( expectedDomChild ) ) {\n\t\treturn actualDomChild.data === expectedDomChild.data;\n\t}\n\t// Block fillers.\n\telse if ( domConverter.isBlockFiller( actualDomChild ) &&\n\t\tdomConverter.isBlockFiller( expectedDomChild ) ) {\n\t\treturn true;\n\t}\n\n\t// Not matching types.\n\treturn false;\n}\n\n/**\n * The following is a Firefox–specific hack (https://github.com/ckeditor/ckeditor5-engine/issues/1439).\n * When the native DOM selection is at the end of the block and preceded by
e.g.\n *\n * ```html\n *

foo
[]

\n * ```\n *\n * which happens a lot when using the soft line break, the browser fails to (visually) move the\n * caret to the new line. A quick fix is as simple as force–refreshing the selection with the same range.\n */\nfunction fixGeckoSelectionAfterBr( focus: ReturnType, domSelection: DomSelection ) {\n\tconst parent = focus!.parent;\n\n\t// This fix works only when the focus point is at the very end of an element.\n\t// There is no point in running it in cases unrelated to the browser bug.\n\tif ( parent.nodeType != Node.ELEMENT_NODE || focus!.offset != parent.childNodes.length - 1 ) {\n\t\treturn;\n\t}\n\n\tconst childAtOffset = parent.childNodes[ focus!.offset ];\n\n\t// To stay on the safe side, the fix being as specific as possible, it targets only the\n\t// selection which is at the very end of the element and preceded by
.\n\tif ( childAtOffset && ( childAtOffset as DomElement ).tagName == 'BR' ) {\n\t\tdomSelection.addRange( domSelection.getRangeAt( 0 ) );\n\t}\n}\n\nfunction filterOutFakeSelectionContainer( domChildList: Array | NodeList, fakeSelectionContainer: DomElement | null ) {\n\tconst childList = Array.from( domChildList );\n\n\tif ( childList.length == 0 || !fakeSelectionContainer ) {\n\t\treturn childList;\n\t}\n\n\tconst last = childList[ childList.length - 1 ];\n\n\tif ( last == fakeSelectionContainer ) {\n\t\tchildList.pop();\n\t}\n\n\treturn childList;\n}\n\n/**\n * Creates a fake selection container for a given document.\n */\nfunction createFakeSelectionContainer( domDocument: DomDocument ): DomElement {\n\tconst container = domDocument.createElement( 'div' );\n\n\tcontainer.className = 'ck-fake-selection-container';\n\n\tObject.assign( container.style, {\n\t\tposition: 'fixed',\n\t\ttop: 0,\n\t\tleft: '-9999px',\n\t\t// See https://github.com/ckeditor/ckeditor5/issues/752.\n\t\twidth: '42px'\n\t} );\n\n\t// Fill it with a text node so we can update it later.\n\tcontainer.textContent = '\\u00A0';\n\n\treturn container;\n}\n\n/**\n * Checks if text needs to be updated and possibly updates it by removing and inserting only parts\n * of the data from the existing text node to reduce impact on the IME composition.\n *\n * @param domText DOM text node to update.\n * @param expectedText The expected data of a text node.\n */\nfunction updateTextNode( domText: DomText, expectedText: string ) {\n\tconst actualText = domText.data;\n\n\tif ( actualText == expectedText ) {\n\t\t// @if CK_DEBUG_TYPING // if ( ( window as any ).logCKETyping ) {\n\t\t// @if CK_DEBUG_TYPING // \tconsole.info( '%c[Renderer]%c Text node does not need update:',\n\t\t// @if CK_DEBUG_TYPING // \t\t'color: green;font-weight: bold', '',\n\t\t// @if CK_DEBUG_TYPING // \t\t`\"${ domText.data }\" (${ domText.data.length })`\n\t\t// @if CK_DEBUG_TYPING // \t);\n\t\t// @if CK_DEBUG_TYPING // }\n\n\t\treturn;\n\t}\n\n\t// @if CK_DEBUG_TYPING // if ( ( window as any ).logCKETyping ) {\n\t// @if CK_DEBUG_TYPING // \tconsole.info( '%c[Renderer]%c Update text node:',\n\t// @if CK_DEBUG_TYPING // \t\t'color: green;font-weight: bold', '',\n\t// @if CK_DEBUG_TYPING // \t\t`\"${ domText.data }\" (${ domText.data.length }) -> \"${ expectedText }\" (${ expectedText.length })`\n\t// @if CK_DEBUG_TYPING // \t);\n\t// @if CK_DEBUG_TYPING // }\n\n\tconst actions = fastDiff( actualText, expectedText );\n\n\tfor ( const action of actions ) {\n\t\tif ( action.type === 'insert' ) {\n\t\t\tdomText.insertData( action.index, action.values.join( '' ) );\n\t\t} else { // 'delete'\n\t\t\tdomText.deleteData( action.index, action.howMany );\n\t\t}\n\t}\n}\n","/**\n * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * @module engine/view/domconverter\n */\n\n/* globals Node, NodeFilter, DOMParser */\n\nimport ViewText from './text.js';\nimport ViewElement from './element.js';\nimport ViewUIElement from './uielement.js';\nimport ViewPosition from './position.js';\nimport ViewRange from './range.js';\nimport ViewSelection from './selection.js';\nimport ViewDocumentFragment from './documentfragment.js';\nimport ViewTreeWalker from './treewalker.js';\nimport { default as Matcher, type MatcherPattern } from './matcher.js';\nimport {\n\tBR_FILLER, INLINE_FILLER_LENGTH, NBSP_FILLER, MARKED_NBSP_FILLER,\n\tgetDataWithoutFiller, isInlineFiller, startsWithFiller\n} from './filler.js';\n\nimport {\n\tglobal,\n\tlogWarning,\n\tindexOf,\n\tgetAncestors,\n\tisText,\n\tisComment,\n\tisValidAttributeName,\n\tfirst,\n\tenv\n} from '@ckeditor/ckeditor5-utils';\n\nimport type ViewNode from './node.js';\nimport type Document from './document.js';\nimport type DocumentSelection from './documentselection.js';\nimport type EditableElement from './editableelement.js';\nimport type ViewTextProxy from './textproxy.js';\nimport type ViewRawElement from './rawelement.js';\n\ntype DomNode = globalThis.Node;\ntype DomElement = globalThis.HTMLElement;\ntype DomDocument = globalThis.Document;\ntype DomDocumentFragment = globalThis.DocumentFragment;\ntype DomComment = globalThis.Comment;\ntype DomRange = globalThis.Range;\ntype DomText = globalThis.Text;\ntype DomSelection = globalThis.Selection;\n\nconst BR_FILLER_REF = BR_FILLER( global.document ); // eslint-disable-line new-cap\nconst NBSP_FILLER_REF = NBSP_FILLER( global.document ); // eslint-disable-line new-cap\nconst MARKED_NBSP_FILLER_REF = MARKED_NBSP_FILLER( global.document ); // eslint-disable-line new-cap\nconst UNSAFE_ATTRIBUTE_NAME_PREFIX = 'data-ck-unsafe-attribute-';\nconst UNSAFE_ELEMENT_REPLACEMENT_ATTRIBUTE = 'data-ck-unsafe-element';\n\n/**\n * `DomConverter` is a set of tools to do transformations between DOM nodes and view nodes. It also handles\n * {@link module:engine/view/domconverter~DomConverter#bindElements bindings} between these nodes.\n *\n * An instance of the DOM converter is available under\n * {@link module:engine/view/view~View#domConverter `editor.editing.view.domConverter`}.\n *\n * The DOM converter does not check which nodes should be rendered (use {@link module:engine/view/renderer~Renderer}), does not keep the\n * state of a tree nor keeps the synchronization between the tree view and the DOM tree (use {@link module:engine/view/document~Document}).\n *\n * The DOM converter keeps DOM elements to view element bindings, so when the converter gets destroyed, the bindings are lost.\n * Two converters will keep separate binding maps, so one tree view can be bound with two DOM trees.\n */\nexport default class DomConverter {\n\tpublic readonly document: Document;\n\n\t/**\n\t * Whether to leave the View-to-DOM conversion result unchanged or improve editing experience by filtering out interactive data.\n\t */\n\tpublic readonly renderingMode: 'data' | 'editing';\n\n\t/**\n\t * The mode of a block filler used by the DOM converter.\n\t */\n\tpublic blockFillerMode: BlockFillerMode;\n\n\t/**\n\t * Elements which are considered pre-formatted elements.\n\t */\n\tpublic readonly preElements: Array;\n\n\t/**\n\t * Elements which are considered block elements (and hence should be filled with a\n\t * {@link #isBlockFiller block filler}).\n\t *\n\t * Whether an element is considered a block element also affects handling of trailing whitespaces.\n\t *\n\t * You can extend this array if you introduce support for block elements which are not yet recognized here.\n\t */\n\tpublic readonly blockElements: Array;\n\n\t/**\n\t * A list of elements that exist inline (in text) but their inner structure cannot be edited because\n\t * of the way they are rendered by the browser. They are mostly HTML form elements but there are other\n\t * elements such as `` or `' +\n\t\t\t\t\t\t\t'
'\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t},\n\n\t\t\t\t{\n\t\t\t\t\tname: 'spotify',\n\t\t\t\t\turl: [\n\t\t\t\t\t\t/^open\\.spotify\\.com\\/(artist\\/\\w+)/,\n\t\t\t\t\t\t/^open\\.spotify\\.com\\/(album\\/\\w+)/,\n\t\t\t\t\t\t/^open\\.spotify\\.com\\/(track\\/\\w+)/\n\t\t\t\t\t],\n\t\t\t\t\thtml: match => {\n\t\t\t\t\t\tconst id = match[ 1 ];\n\n\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t'
' +\n\t\t\t\t\t\t\t\t`' +\n\t\t\t\t\t\t\t'
'\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t},\n\n\t\t\t\t{\n\t\t\t\t\tname: 'youtube',\n\t\t\t\t\turl: [\n\t\t\t\t\t\t/^(?:m\\.)?youtube\\.com\\/watch\\?v=([\\w-]+)(?:&t=(\\d+))?/,\n\t\t\t\t\t\t/^(?:m\\.)?youtube\\.com\\/v\\/([\\w-]+)(?:\\?t=(\\d+))?/,\n\t\t\t\t\t\t/^youtube\\.com\\/embed\\/([\\w-]+)(?:\\?start=(\\d+))?/,\n\t\t\t\t\t\t/^youtu\\.be\\/([\\w-]+)(?:\\?t=(\\d+))?/\n\t\t\t\t\t],\n\t\t\t\t\thtml: match => {\n\t\t\t\t\t\tconst id = match[ 1 ];\n\t\t\t\t\t\tconst time = match[ 2 ];\n\n\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t'
' +\n\t\t\t\t\t\t\t\t`' +\n\t\t\t\t\t\t\t'
'\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t},\n\n\t\t\t\t{\n\t\t\t\t\tname: 'vimeo',\n\t\t\t\t\turl: [\n\t\t\t\t\t\t/^vimeo\\.com\\/(\\d+)/,\n\t\t\t\t\t\t/^vimeo\\.com\\/[^/]+\\/[^/]+\\/video\\/(\\d+)/,\n\t\t\t\t\t\t/^vimeo\\.com\\/album\\/[^/]+\\/video\\/(\\d+)/,\n\t\t\t\t\t\t/^vimeo\\.com\\/channels\\/[^/]+\\/(\\d+)/,\n\t\t\t\t\t\t/^vimeo\\.com\\/groups\\/[^/]+\\/videos\\/(\\d+)/,\n\t\t\t\t\t\t/^vimeo\\.com\\/ondemand\\/[^/]+\\/(\\d+)/,\n\t\t\t\t\t\t/^player\\.vimeo\\.com\\/video\\/(\\d+)/\n\t\t\t\t\t],\n\t\t\t\t\thtml: match => {\n\t\t\t\t\t\tconst id = match[ 1 ];\n\n\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t'
' +\n\t\t\t\t\t\t\t\t`' +\n\t\t\t\t\t\t\t'
'\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t},\n\n\t\t\t\t{\n\t\t\t\t\tname: 'instagram',\n\t\t\t\t\turl: /^instagram\\.com\\/p\\/(\\w+)/\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tname: 'twitter',\n\t\t\t\t\turl: /^twitter\\.com/\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tname: 'googleMaps',\n\t\t\t\t\turl: [\n\t\t\t\t\t\t/^google\\.com\\/maps/,\n\t\t\t\t\t\t/^goo\\.gl\\/maps/,\n\t\t\t\t\t\t/^maps\\.google\\.com/,\n\t\t\t\t\t\t/^maps\\.app\\.goo\\.gl/\n\t\t\t\t\t]\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tname: 'flickr',\n\t\t\t\t\turl: /^flickr\\.com/\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tname: 'facebook',\n\t\t\t\t\turl: /^facebook\\.com/\n\t\t\t\t}\n\t\t\t]\n\t\t} as MediaEmbedConfig );\n\n\t\tthis.registry = new MediaRegistry( editor.locale, editor.config.get( 'mediaEmbed' )! );\n\t}\n\n\t/**\n\t * @inheritDoc\n\t */\n\tpublic init(): void {\n\t\tconst editor = this.editor;\n\t\tconst schema = editor.model.schema;\n\t\tconst t = editor.t;\n\t\tconst conversion = editor.conversion;\n\t\tconst renderMediaPreview = editor.config.get( 'mediaEmbed.previewsInData' );\n\t\tconst elementName = editor.config.get( 'mediaEmbed.elementName' )!;\n\n\t\tconst registry = this.registry;\n\n\t\teditor.commands.add( 'mediaEmbed', new MediaEmbedCommand( editor ) );\n\n\t\t// Configure the schema.\n\t\tschema.register( 'media', {\n\t\t\tinheritAllFrom: '$blockObject',\n\t\t\tallowAttributes: [ 'url' ]\n\t\t} );\n\n\t\t// Model -> Data\n\t\tconversion.for( 'dataDowncast' ).elementToStructure( {\n\t\t\tmodel: 'media',\n\t\t\tview: ( modelElement, { writer } ) => {\n\t\t\t\tconst url = modelElement.getAttribute( 'url' ) as string;\n\n\t\t\t\treturn createMediaFigureElement( writer, registry, url, {\n\t\t\t\t\telementName,\n\t\t\t\t\trenderMediaPreview: !!url && renderMediaPreview\n\t\t\t\t} );\n\t\t\t}\n\t\t} );\n\n\t\t// Model -> Data (url -> data-oembed-url)\n\t\tconversion.for( 'dataDowncast' ).add(\n\t\t\tmodelToViewUrlAttributeConverter( registry, {\n\t\t\t\telementName,\n\t\t\t\trenderMediaPreview\n\t\t\t} ) );\n\n\t\t// Model -> View (element)\n\t\tconversion.for( 'editingDowncast' ).elementToStructure( {\n\t\t\tmodel: 'media',\n\t\t\tview: ( modelElement, { writer } ) => {\n\t\t\t\tconst url = modelElement.getAttribute( 'url' ) as string;\n\t\t\t\tconst figure = createMediaFigureElement( writer, registry, url, {\n\t\t\t\t\telementName,\n\t\t\t\t\trenderForEditingView: true\n\t\t\t\t} );\n\n\t\t\t\treturn toMediaWidget( figure, writer, t( 'media widget' ) );\n\t\t\t}\n\t\t} );\n\n\t\t// Model -> View (url -> data-oembed-url)\n\t\tconversion.for( 'editingDowncast' ).add(\n\t\t\tmodelToViewUrlAttributeConverter( registry, {\n\t\t\t\telementName,\n\t\t\t\trenderForEditingView: true\n\t\t\t} ) );\n\n\t\t// View -> Model (data-oembed-url -> url)\n\t\tconversion.for( 'upcast' )\n\t\t\t// Upcast semantic media.\n\t\t\t.elementToElement( {\n\t\t\t\tview: element => [ 'oembed', elementName ].includes( element.name ) && element.getAttribute( 'url' ) ?\n\t\t\t\t\t{ name: true } :\n\t\t\t\t\tnull,\n\t\t\t\tmodel: ( viewMedia, { writer } ) => {\n\t\t\t\t\tconst url = viewMedia.getAttribute( 'url' ) as string;\n\n\t\t\t\t\tif ( registry.hasMedia( url ) ) {\n\t\t\t\t\t\treturn writer.createElement( 'media', { url } );\n\t\t\t\t\t}\n\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t} )\n\t\t\t// Upcast non-semantic media.\n\t\t\t.elementToElement( {\n\t\t\t\tview: {\n\t\t\t\t\tname: 'div',\n\t\t\t\t\tattributes: {\n\t\t\t\t\t\t'data-oembed-url': true\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\tmodel: ( viewMedia, { writer } ) => {\n\t\t\t\t\tconst url = viewMedia.getAttribute( 'data-oembed-url' ) as string;\n\n\t\t\t\t\tif ( registry.hasMedia( url ) ) {\n\t\t\t\t\t\treturn writer.createElement( 'media', { url } );\n\t\t\t\t\t}\n\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t} )\n\t\t\t// Consume `
` elements, that were left after upcast.\n\t\t\t.add( dispatcher => {\n\t\t\t\tconst converter: GetCallback = ( evt, data, conversionApi ) => {\n\t\t\t\t\tif ( !conversionApi.consumable.consume( data.viewItem, { name: true, classes: 'media' } ) ) {\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\n\t\t\t\t\tconst { modelRange, modelCursor } = conversionApi.convertChildren( data.viewItem, data.modelCursor );\n\n\t\t\t\t\tdata.modelRange = modelRange;\n\t\t\t\t\tdata.modelCursor = modelCursor;\n\n\t\t\t\t\tconst modelElement = first( modelRange!.getItems() );\n\n\t\t\t\t\tif ( !modelElement ) {\n\t\t\t\t\t\t// Revert consumed figure so other features can convert it.\n\t\t\t\t\t\tconversionApi.consumable.revert( data.viewItem, { name: true, classes: 'media' } );\n\t\t\t\t\t}\n\t\t\t\t};\n\n\t\t\t\tdispatcher.on( 'element:figure', converter );\n\t\t\t} );\n\t}\n}\n","/**\n * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * @module media-embed/automediaembed\n */\n\nimport { type Editor, Plugin } from 'ckeditor5/src/core.js';\nimport { LiveRange, LivePosition } from 'ckeditor5/src/engine.js';\nimport { Clipboard, type ClipboardPipeline } from 'ckeditor5/src/clipboard.js';\nimport { Delete } from 'ckeditor5/src/typing.js';\nimport { Undo, type UndoCommand } from 'ckeditor5/src/undo.js';\nimport { global } from 'ckeditor5/src/utils.js';\n\nimport MediaEmbedEditing from './mediaembedediting.js';\nimport { insertMedia } from './utils.js';\nimport type MediaEmbedCommand from './mediaembedcommand.js';\n\nconst URL_REGEXP = /^(?:http(s)?:\\/\\/)?[\\w-]+\\.[\\w-.~:/?#[\\]@!$&'()*+,;=%]+$/;\n\n/**\n * The auto-media embed plugin. It recognizes media links in the pasted content and embeds\n * them shortly after they are injected into the document.\n */\nexport default class AutoMediaEmbed extends Plugin {\n\t/**\n\t * @inheritDoc\n\t */\n\tpublic static get requires() {\n\t\treturn [ Clipboard, Delete, Undo ] as const;\n\t}\n\n\t/**\n\t * @inheritDoc\n\t */\n\tpublic static get pluginName() {\n\t\treturn 'AutoMediaEmbed' as const;\n\t}\n\n\t/**\n\t * The paste–to–embed `setTimeout` ID. Stored as a property to allow\n\t * cleaning of the timeout.\n\t */\n\tprivate _timeoutId: number | null;\n\n\t/**\n\t * The position where the `` element will be inserted after the timeout,\n\t * determined each time the new content is pasted into the document.\n\t */\n\tprivate _positionToInsert: LivePosition | null;\n\n\t/**\n\t * @inheritDoc\n\t */\n\tconstructor( editor: Editor ) {\n\t\tsuper( editor );\n\n\t\tthis._timeoutId = null;\n\t\tthis._positionToInsert = null;\n\t}\n\n\t/**\n\t * @inheritDoc\n\t */\n\tpublic init(): void {\n\t\tconst editor = this.editor;\n\t\tconst modelDocument = editor.model.document;\n\n\t\t// We need to listen on `Clipboard#inputTransformation` because we need to save positions of selection.\n\t\t// After pasting, the content between those positions will be checked for a URL that could be transformed\n\t\t// into media.\n\t\tconst clipboardPipeline: ClipboardPipeline = editor.plugins.get( 'ClipboardPipeline' );\n\t\tthis.listenTo( clipboardPipeline, 'inputTransformation', () => {\n\t\t\tconst firstRange = modelDocument.selection.getFirstRange()!;\n\n\t\t\tconst leftLivePosition = LivePosition.fromPosition( firstRange.start );\n\t\t\tleftLivePosition.stickiness = 'toPrevious';\n\n\t\t\tconst rightLivePosition = LivePosition.fromPosition( firstRange.end );\n\t\t\trightLivePosition.stickiness = 'toNext';\n\n\t\t\tmodelDocument.once( 'change:data', () => {\n\t\t\t\tthis._embedMediaBetweenPositions( leftLivePosition, rightLivePosition );\n\n\t\t\t\tleftLivePosition.detach();\n\t\t\t\trightLivePosition.detach();\n\t\t\t}, { priority: 'high' } );\n\t\t} );\n\n\t\tconst undoCommand: UndoCommand = editor.commands.get( 'undo' )!;\n\t\tundoCommand.on( 'execute', () => {\n\t\t\tif ( this._timeoutId ) {\n\t\t\t\tglobal.window.clearTimeout( this._timeoutId );\n\t\t\t\tthis._positionToInsert!.detach();\n\n\t\t\t\tthis._timeoutId = null;\n\t\t\t\tthis._positionToInsert = null;\n\t\t\t}\n\t\t}, { priority: 'high' } );\n\t}\n\n\t/**\n\t * Analyzes the part of the document between provided positions in search for a URL representing media.\n\t * When the URL is found, it is automatically converted into media.\n\t *\n\t * @param leftPosition Left position of the selection.\n\t * @param rightPosition Right position of the selection.\n\t */\n\tprivate _embedMediaBetweenPositions( leftPosition: LivePosition, rightPosition: LivePosition ): void {\n\t\tconst editor = this.editor;\n\t\tconst mediaRegistry = editor.plugins.get( MediaEmbedEditing ).registry;\n\t\t// TODO: Use marker instead of LiveRange & LivePositions.\n\t\tconst urlRange = new LiveRange( leftPosition, rightPosition );\n\t\tconst walker = urlRange.getWalker( { ignoreElementEnd: true } );\n\n\t\tlet url = '';\n\n\t\tfor ( const node of walker ) {\n\t\t\tif ( node.item.is( '$textProxy' ) ) {\n\t\t\t\turl += node.item.data;\n\t\t\t}\n\t\t}\n\n\t\turl = url.trim();\n\n\t\t// If the URL does not match to universal URL regexp, let's skip that.\n\t\tif ( !url.match( URL_REGEXP ) ) {\n\t\t\turlRange.detach();\n\n\t\t\treturn;\n\t\t}\n\n\t\t// If the URL represents a media, let's use it.\n\t\tif ( !mediaRegistry.hasMedia( url ) ) {\n\t\t\turlRange.detach();\n\n\t\t\treturn;\n\t\t}\n\n\t\tconst mediaEmbedCommand: MediaEmbedCommand = editor.commands.get( 'mediaEmbed' )!;\n\n\t\t// Do not anything if media element cannot be inserted at the current position (#47).\n\t\tif ( !mediaEmbedCommand.isEnabled ) {\n\t\t\turlRange.detach();\n\n\t\t\treturn;\n\t\t}\n\n\t\t// Position won't be available in the `setTimeout` function so let's clone it.\n\t\tthis._positionToInsert = LivePosition.fromPosition( leftPosition );\n\n\t\t// This action mustn't be executed if undo was called between pasting and auto-embedding.\n\t\tthis._timeoutId = global.window.setTimeout( () => {\n\t\t\teditor.model.change( writer => {\n\t\t\t\tthis._timeoutId = null;\n\n\t\t\t\twriter.remove( urlRange );\n\t\t\t\turlRange.detach();\n\n\t\t\t\tlet insertionPosition: LivePosition | null = null;\n\n\t\t\t\t// Check if position where the media element should be inserted is still valid.\n\t\t\t\t// Otherwise leave it as undefined to use document.selection - default behavior of model.insertContent().\n\t\t\t\tif ( this._positionToInsert!.root.rootName !== '$graveyard' ) {\n\t\t\t\t\tinsertionPosition = this._positionToInsert;\n\t\t\t\t}\n\n\t\t\t\tinsertMedia( editor.model, url, insertionPosition, false );\n\n\t\t\t\tthis._positionToInsert!.detach();\n\t\t\t\tthis._positionToInsert = null;\n\t\t\t} );\n\n\t\t\teditor.plugins.get( Delete ).requestUndoOnBackspace();\n\t\t}, 100 );\n\t}\n}\n","import api from \"!../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import content from \"!!../../../node_modules/css-loader/dist/cjs.js!../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./mediaform.css\";\n\nvar options = {\"injectType\":\"singletonStyleTag\",\"attributes\":{\"data-cke\":true}};\n\noptions.insert = \"head\";\noptions.singleton = true;\n\nvar update = api(content, options);\n\n\n\nexport default content.locals || {};","/**\n * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * @module media-embed/ui/mediaformview\n */\n\nimport {\n\ttype InputTextView,\n\tButtonView,\n\tFocusCycler,\n\tLabeledFieldView,\n\tView,\n\tViewCollection,\n\tcreateLabeledInputText,\n\tsubmitHandler,\n\ttype FocusableView\n} from 'ckeditor5/src/ui.js';\nimport { FocusTracker, KeystrokeHandler, type Locale } from 'ckeditor5/src/utils.js';\nimport { icons } from 'ckeditor5/src/core.js';\n\n// See: #8833.\n// eslint-disable-next-line ckeditor5-rules/ckeditor-imports\nimport '@ckeditor/ckeditor5-ui/theme/components/responsive-form/responsiveform.css';\nimport '../../theme/mediaform.css';\n\n/**\n * The media form view controller class.\n *\n * See {@link module:media-embed/ui/mediaformview~MediaFormView}.\n */\nexport default class MediaFormView extends View {\n\t/**\n\t * Tracks information about the DOM focus in the form.\n\t */\n\tpublic readonly focusTracker: FocusTracker;\n\n\t/**\n\t * An instance of the {@link module:utils/keystrokehandler~KeystrokeHandler}.\n\t */\n\tpublic readonly keystrokes: KeystrokeHandler;\n\n\t/**\n\t * The value of the URL input.\n\t */\n\tdeclare public mediaURLInputValue: string;\n\n\t/**\n\t * The URL input view.\n\t */\n\tpublic urlInputView: LabeledFieldView;\n\n\t/**\n\t * The Save button view.\n\t */\n\tpublic saveButtonView: ButtonView;\n\n\t/**\n\t * The Cancel button view.\n\t */\n\tpublic cancelButtonView: ButtonView;\n\n\t/**\n\t * A collection of views that can be focused in the form.\n\t */\n\tprivate readonly _focusables: ViewCollection;\n\n\t/**\n\t * Helps cycling over {@link #_focusables} in the form.\n\t */\n\tprivate readonly _focusCycler: FocusCycler;\n\n\t/**\n\t * An array of form validators used by {@link #isValid}.\n\t */\n\tprivate readonly _validators: Array<( v: MediaFormView ) => string | undefined>;\n\n\t/**\n\t * The default info text for the {@link #urlInputView}.\n\t */\n\tprivate _urlInputViewInfoDefault?: string;\n\n\t/**\n\t * The info text with an additional tip for the {@link #urlInputView},\n\t * displayed when the input has some value.\n\t */\n\tprivate _urlInputViewInfoTip?: string;\n\n\t/**\n\t * @param validators Form validators used by {@link #isValid}.\n\t * @param locale The localization services instance.\n\t */\n\tconstructor( validators: Array<( v: MediaFormView ) => string | undefined>, locale: Locale ) {\n\t\tsuper( locale );\n\n\t\tconst t = locale.t;\n\n\t\tthis.focusTracker = new FocusTracker();\n\t\tthis.keystrokes = new KeystrokeHandler();\n\t\tthis.set( 'mediaURLInputValue', '' );\n\t\tthis.urlInputView = this._createUrlInput();\n\n\t\tthis.saveButtonView = this._createButton( t( 'Save' ), icons.check, 'ck-button-save' );\n\t\tthis.saveButtonView.type = 'submit';\n\t\tthis.saveButtonView.bind( 'isEnabled' ).to( this, 'mediaURLInputValue', value => !!value );\n\n\t\tthis.cancelButtonView = this._createButton( t( 'Cancel' ), icons.cancel, 'ck-button-cancel', 'cancel' );\n\n\t\tthis._focusables = new ViewCollection();\n\n\t\tthis._focusCycler = new FocusCycler( {\n\t\t\tfocusables: this._focusables,\n\t\t\tfocusTracker: this.focusTracker,\n\t\t\tkeystrokeHandler: this.keystrokes,\n\t\t\tactions: {\n\t\t\t\t// Navigate form fields backwards using the Shift + Tab keystroke.\n\t\t\t\tfocusPrevious: 'shift + tab',\n\n\t\t\t\t// Navigate form fields forwards using the Tab key.\n\t\t\t\tfocusNext: 'tab'\n\t\t\t}\n\t\t} );\n\n\t\tthis._validators = validators;\n\n\t\tthis.setTemplate( {\n\t\t\ttag: 'form',\n\n\t\t\tattributes: {\n\t\t\t\tclass: [\n\t\t\t\t\t'ck',\n\t\t\t\t\t'ck-media-form',\n\t\t\t\t\t'ck-responsive-form'\n\t\t\t\t],\n\n\t\t\t\ttabindex: '-1'\n\t\t\t},\n\n\t\t\tchildren: [\n\t\t\t\tthis.urlInputView,\n\t\t\t\tthis.saveButtonView,\n\t\t\t\tthis.cancelButtonView\n\t\t\t]\n\t\t} );\n\t}\n\n\t/**\n\t * @inheritDoc\n\t */\n\tpublic override render(): void {\n\t\tsuper.render();\n\n\t\tsubmitHandler( {\n\t\t\tview: this\n\t\t} );\n\n\t\tconst childViews = [\n\t\t\tthis.urlInputView,\n\t\t\tthis.saveButtonView,\n\t\t\tthis.cancelButtonView\n\t\t];\n\n\t\tchildViews.forEach( v => {\n\t\t\t// Register the view as focusable.\n\t\t\tthis._focusables.add( v );\n\n\t\t\t// Register the view in the focus tracker.\n\t\t\tthis.focusTracker.add( v.element! );\n\t\t} );\n\n\t\t// Start listening for the keystrokes coming from #element.\n\t\tthis.keystrokes.listenTo( this.element! );\n\n\t\tconst stopPropagation = ( data: KeyboardEvent ) => data.stopPropagation();\n\n\t\t// Since the form is in the dropdown panel which is a child of the toolbar, the toolbar's\n\t\t// keystroke handler would take over the key management in the URL input. We need to prevent\n\t\t// this ASAP. Otherwise, the basic caret movement using the arrow keys will be impossible.\n\t\tthis.keystrokes.set( 'arrowright', stopPropagation );\n\t\tthis.keystrokes.set( 'arrowleft', stopPropagation );\n\t\tthis.keystrokes.set( 'arrowup', stopPropagation );\n\t\tthis.keystrokes.set( 'arrowdown', stopPropagation );\n\t}\n\n\t/**\n\t * @inheritDoc\n\t */\n\tpublic override destroy(): void {\n\t\tsuper.destroy();\n\n\t\tthis.focusTracker.destroy();\n\t\tthis.keystrokes.destroy();\n\t}\n\n\t/**\n\t * Focuses the fist {@link #_focusables} in the form.\n\t */\n\tpublic focus(): void {\n\t\tthis._focusCycler.focusFirst();\n\t}\n\n\t/**\n\t * The native DOM `value` of the {@link #urlInputView} element.\n\t *\n\t * **Note**: Do not confuse it with the {@link module:ui/inputtext/inputtextview~InputTextView#value}\n\t * which works one way only and may not represent the actual state of the component in the DOM.\n\t */\n\tpublic get url(): string {\n\t\treturn this.urlInputView.fieldView.element!.value.trim();\n\t}\n\n\tpublic set url( url: string ) {\n\t\tthis.urlInputView.fieldView.element!.value = url.trim();\n\t}\n\n\t/**\n\t * Validates the form and returns `false` when some fields are invalid.\n\t */\n\tpublic isValid(): boolean {\n\t\tthis.resetFormStatus();\n\n\t\tfor ( const validator of this._validators ) {\n\t\t\tconst errorText = validator( this );\n\n\t\t\t// One error per field is enough.\n\t\t\tif ( errorText ) {\n\t\t\t\t// Apply updated error.\n\t\t\t\tthis.urlInputView.errorText = errorText;\n\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\n\t\treturn true;\n\t}\n\n\t/**\n\t * Cleans up the supplementary error and information text of the {@link #urlInputView}\n\t * bringing them back to the state when the form has been displayed for the first time.\n\t *\n\t * See {@link #isValid}.\n\t */\n\tpublic resetFormStatus(): void {\n\t\tthis.urlInputView.errorText = null;\n\t\tthis.urlInputView.infoText = this._urlInputViewInfoDefault!;\n\t}\n\n\t/**\n\t * Creates a labeled input view.\n\t *\n\t * @returns Labeled input view instance.\n\t */\n\tprivate _createUrlInput(): LabeledFieldView {\n\t\tconst t = this.locale!.t;\n\n\t\tconst labeledInput = new LabeledFieldView( this.locale, createLabeledInputText );\n\t\tconst inputField = labeledInput.fieldView;\n\n\t\tthis._urlInputViewInfoDefault = t( 'Paste the media URL in the input.' );\n\t\tthis._urlInputViewInfoTip = t( 'Tip: Paste the URL into the content to embed faster.' );\n\n\t\tlabeledInput.label = t( 'Media URL' );\n\t\tlabeledInput.infoText = this._urlInputViewInfoDefault;\n\n\t\tinputField.on( 'input', () => {\n\t\t\t// Display the tip text only when there is some value. Otherwise fall back to the default info text.\n\t\t\tlabeledInput.infoText = inputField.element!.value ? this._urlInputViewInfoTip! : this._urlInputViewInfoDefault!;\n\t\t\tthis.mediaURLInputValue = inputField.element!.value.trim();\n\t\t} );\n\n\t\treturn labeledInput;\n\t}\n\n\t/**\n\t * Creates a button view.\n\t *\n\t * @param label The button label.\n\t * @param icon The button icon.\n\t * @param className The additional button CSS class name.\n\t * @param eventName An event name that the `ButtonView#execute` event will be delegated to.\n\t * @returns The button view instance.\n\t */\n\tprivate _createButton( label: string, icon: string, className: string, eventName?: string ): ButtonView {\n\t\tconst button = new ButtonView( this.locale );\n\n\t\tbutton.set( {\n\t\t\tlabel,\n\t\t\ticon,\n\t\t\ttooltip: true\n\t\t} );\n\n\t\tbutton.extendTemplate( {\n\t\t\tattributes: {\n\t\t\t\tclass: className\n\t\t\t}\n\t\t} );\n\n\t\tif ( eventName ) {\n\t\t\tbutton.delegate( 'execute' ).to( this, eventName );\n\t\t}\n\n\t\treturn button;\n\t}\n}\n","/**\n * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * @module media-embed/mediaembedui\n */\n\nimport { Plugin } from 'ckeditor5/src/core.js';\nimport { createDropdown, CssTransitionDisablerMixin, type DropdownView } from 'ckeditor5/src/ui.js';\n\nimport MediaFormView from './ui/mediaformview.js';\nimport MediaEmbedEditing from './mediaembedediting.js';\nimport mediaIcon from '../theme/icons/media.svg';\nimport type MediaEmbedCommand from './mediaembedcommand.js';\nimport type { LocaleTranslate } from 'ckeditor5/src/utils.js';\nimport type MediaRegistry from './mediaregistry.js';\n\n/**\n * The media embed UI plugin.\n */\nexport default class MediaEmbedUI extends Plugin {\n\t/**\n\t * @inheritDoc\n\t */\n\tpublic static get requires() {\n\t\treturn [ MediaEmbedEditing ] as const;\n\t}\n\n\t/**\n\t * @inheritDoc\n\t */\n\tpublic static get pluginName() {\n\t\treturn 'MediaEmbedUI' as const;\n\t}\n\n\t/**\n\t * @inheritDoc\n\t */\n\tpublic init(): void {\n\t\tconst editor = this.editor;\n\t\tconst command: MediaEmbedCommand = editor.commands.get( 'mediaEmbed' )!;\n\n\t\teditor.ui.componentFactory.add( 'mediaEmbed', locale => {\n\t\t\tconst dropdown = createDropdown( locale );\n\n\t\t\tthis._setUpDropdown( dropdown, command );\n\n\t\t\treturn dropdown;\n\t\t} );\n\t}\n\n\tprivate _setUpDropdown( dropdown: DropdownView, command: MediaEmbedCommand ): void {\n\t\tconst editor = this.editor;\n\t\tconst t = editor.t;\n\t\tconst button = dropdown.buttonView;\n\t\tconst registry = editor.plugins.get( MediaEmbedEditing ).registry;\n\n\t\tdropdown.once( 'change:isOpen', () => {\n\t\t\tconst form = new ( CssTransitionDisablerMixin( MediaFormView ) )( getFormValidators( editor.t, registry ), editor.locale );\n\n\t\t\tdropdown.panelView.children.add( form );\n\n\t\t\t// Note: Use the low priority to make sure the following listener starts working after the\n\t\t\t// default action of the drop-down is executed (i.e. the panel showed up). Otherwise, the\n\t\t\t// invisible form/input cannot be focused/selected.\n\t\t\tbutton.on( 'open', () => {\n\t\t\t\tform.disableCssTransitions();\n\n\t\t\t\t// Make sure that each time the panel shows up, the URL field remains in sync with the value of\n\t\t\t\t// the command. If the user typed in the input, then canceled (`urlInputView#fieldView#value` stays\n\t\t\t\t// unaltered) and re-opened it without changing the value of the media command (e.g. because they\n\t\t\t\t// didn't change the selection), they would see the old value instead of the actual value of the\n\t\t\t\t// command.\n\t\t\t\tform.url = command.value || '';\n\t\t\t\tform.urlInputView.fieldView.select();\n\t\t\t\tform.enableCssTransitions();\n\t\t\t}, { priority: 'low' } );\n\n\t\t\tdropdown.on( 'submit', () => {\n\t\t\t\tif ( form.isValid() ) {\n\t\t\t\t\teditor.execute( 'mediaEmbed', form.url );\n\t\t\t\t\teditor.editing.view.focus();\n\t\t\t\t}\n\t\t\t} );\n\n\t\t\tdropdown.on( 'change:isOpen', () => form.resetFormStatus() );\n\t\t\tdropdown.on( 'cancel', () => {\n\t\t\t\teditor.editing.view.focus();\n\t\t\t} );\n\n\t\t\tform.delegate( 'submit', 'cancel' ).to( dropdown );\n\t\t\tform.urlInputView.fieldView.bind( 'value' ).to( command, 'value' );\n\n\t\t\t// Form elements should be read-only when corresponding commands are disabled.\n\t\t\tform.urlInputView.bind( 'isEnabled' ).to( command, 'isEnabled' );\n\t\t} );\n\n\t\tdropdown.bind( 'isEnabled' ).to( command );\n\n\t\tbutton.set( {\n\t\t\tlabel: t( 'Insert media' ),\n\t\t\ticon: mediaIcon,\n\t\t\ttooltip: true\n\t\t} );\n\t}\n}\n\nfunction getFormValidators( t: LocaleTranslate, registry: MediaRegistry ): Array<( v: MediaFormView ) => string | undefined> {\n\treturn [\n\t\tform => {\n\t\t\tif ( !form.url.length ) {\n\t\t\t\treturn t( 'The URL must not be empty.' );\n\t\t\t}\n\t\t},\n\t\tform => {\n\t\t\tif ( !registry.hasMedia( form.url ) ) {\n\t\t\t\treturn t( 'This media URL is not supported.' );\n\t\t\t}\n\t\t}\n\t];\n}\n","export default \"\";","import api from \"!../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import content from \"!!../../../node_modules/css-loader/dist/cjs.js!../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./mediaembed.css\";\n\nvar options = {\"injectType\":\"singletonStyleTag\",\"attributes\":{\"data-cke\":true}};\n\noptions.insert = \"head\";\noptions.singleton = true;\n\nvar update = api(content, options);\n\n\n\nexport default content.locals || {};","/**\n * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * @module paste-from-office/filters/utils\n */\n\n/**\n * Normalizes CSS length value to 'px'.\n *\n * @internal\n */\nexport function convertCssLengthToPx( value: string ): string {\n\tconst numericValue = parseFloat( value );\n\n\tif ( value.endsWith( 'pt' ) ) {\n\t\t// 1pt = 1in / 72\n\t\treturn toPx( numericValue * 96 / 72 );\n\t}\n\telse if ( value.endsWith( 'pc' ) ) {\n\t\t// 1pc = 12pt = 1in / 6.\n\t\treturn toPx( numericValue * 12 * 96 / 72 );\n\t}\n\telse if ( value.endsWith( 'in' ) ) {\n\t\t// 1in = 2.54cm = 96px\n\t\treturn toPx( numericValue * 96 );\n\t}\n\telse if ( value.endsWith( 'cm' ) ) {\n\t\t// 1cm = 96px / 2.54\n\t\treturn toPx( numericValue * 96 / 2.54 );\n\t}\n\telse if ( value.endsWith( 'mm' ) ) {\n\t\t// 1mm = 1cm / 10\n\t\treturn toPx( numericValue / 10 * 96 / 2.54 );\n\t}\n\n\treturn value;\n}\n\n/**\n * Returns true for value with 'px' unit.\n *\n * @internal\n */\nexport function isPx( value?: string ): value is string {\n\treturn value !== undefined && value.endsWith( 'px' );\n}\n\n/**\n * Returns a rounded 'px' value.\n *\n * @internal\n */\nexport function toPx( value: number ): string {\n\treturn value.toFixed( 2 ).replace( /\\.?0+$/, '' ) + 'px';\n}\n","/**\n * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * @module paste-from-office/filters/list\n */\n\nimport {\n\tMatcher,\n\tUpcastWriter,\n\ttype ViewDocumentFragment,\n\ttype ViewElement,\n\ttype ViewNode,\n\ttype ViewText\n} from 'ckeditor5/src/engine.js';\n\nimport {\n\tconvertCssLengthToPx,\n\tisPx,\n\ttoPx\n} from './utils.js';\n\n/**\n * Transforms Word specific list-like elements to the semantic HTML lists.\n *\n * Lists in Word are represented by block elements with special attributes like:\n *\n * ```xml\n *

...

// Paragraph based list.\n *

...

// Heading 1 based list.\n * ```\n *\n * @param documentFragment The view structure to be transformed.\n * @param stylesString Styles from which list-like elements styling will be extracted.\n */\nexport function transformListItemLikeElementsIntoLists(\n\tdocumentFragment: ViewDocumentFragment,\n\tstylesString: string,\n\thasMultiLevelListPlugin: boolean\n): void {\n\tif ( !documentFragment.childCount ) {\n\t\treturn;\n\t}\n\n\tconst writer = new UpcastWriter( documentFragment.document );\n\tconst itemLikeElements = findAllItemLikeElements( documentFragment, writer );\n\n\tif ( !itemLikeElements.length ) {\n\t\treturn;\n\t}\n\n\tconst encounteredLists: Record = {};\n\n\tconst stack: Array;\n\t}> = [];\n\n\tfor ( const itemLikeElement of itemLikeElements ) {\n\t\tif ( itemLikeElement.indent !== undefined ) {\n\t\t\tif ( !isListContinuation( itemLikeElement ) ) {\n\t\t\t\tstack.length = 0;\n\t\t\t}\n\n\t\t\t// Combined list ID for addressing encounter lists counters.\n\t\t\tconst originalListId = `${ itemLikeElement.id }:${ itemLikeElement.indent }`;\n\n\t\t\t// Normalized list item indentation.\n\t\t\tconst indent = Math.min( itemLikeElement.indent - 1, stack.length );\n\n\t\t\t// Trimming of the list stack on list ID change.\n\t\t\tif ( indent < stack.length && stack[ indent ].id !== itemLikeElement.id ) {\n\t\t\t\tstack.length = indent;\n\t\t\t}\n\n\t\t\t// Trimming of the list stack on lower indent list encountered.\n\t\t\tif ( indent < stack.length - 1 ) {\n\t\t\t\tstack.length = indent + 1;\n\t\t\t}\n\t\t\telse {\n\t\t\t\tconst listStyle = detectListStyle( itemLikeElement, stylesString );\n\n\t\t\t\t// Create a new OL/UL if required (greater indent or different list type).\n\t\t\t\tif ( indent > stack.length - 1 || stack[ indent ].listElement.name != listStyle.type ) {\n\t\t\t\t\t// Check if there is some start index to set from a previous list.\n\t\t\t\t\tif (\n\t\t\t\t\t\tindent == 0 &&\n\t\t\t\t\t\tlistStyle.type == 'ol' &&\n\t\t\t\t\t\titemLikeElement.id !== undefined &&\n\t\t\t\t\t\tencounteredLists[ originalListId ]\n\t\t\t\t\t) {\n\t\t\t\t\t\tlistStyle.startIndex = encounteredLists[ originalListId ];\n\t\t\t\t\t}\n\n\t\t\t\t\tconst listElement = createNewEmptyList( listStyle, writer, hasMultiLevelListPlugin );\n\n\t\t\t\t\t// Apply list padding only if we have margins for the item and the parent item.\n\t\t\t\t\tif (\n\t\t\t\t\t\tisPx( itemLikeElement.marginLeft ) &&\n\t\t\t\t\t\t( indent == 0 || isPx( stack[ indent - 1 ].marginLeft ) )\n\t\t\t\t\t) {\n\t\t\t\t\t\tlet marginLeft = itemLikeElement.marginLeft;\n\n\t\t\t\t\t\tif ( indent > 0 ) {\n\t\t\t\t\t\t\t// Convert the padding from absolute to relative.\n\t\t\t\t\t\t\tmarginLeft = toPx( parseFloat( marginLeft ) - parseFloat( stack[ indent - 1 ].marginLeft! ) );\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\twriter.setStyle( 'padding-left', marginLeft, listElement );\n\t\t\t\t\t}\n\n\t\t\t\t\t// Insert the new OL/UL.\n\t\t\t\t\tif ( stack.length == 0 ) {\n\t\t\t\t\t\tconst parent = itemLikeElement.element.parent!;\n\t\t\t\t\t\tconst index = parent.getChildIndex( itemLikeElement.element ) + 1;\n\n\t\t\t\t\t\twriter.insertChild( index, listElement, parent );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tconst parentListItems = stack[ indent - 1 ].listItemElements;\n\n\t\t\t\t\t\twriter.appendChild( listElement, parentListItems[ parentListItems.length - 1 ] );\n\t\t\t\t\t}\n\n\t\t\t\t\t// Update the list stack for other items to reference.\n\t\t\t\t\tstack[ indent ] = {\n\t\t\t\t\t\t...itemLikeElement,\n\t\t\t\t\t\tlistElement,\n\t\t\t\t\t\tlistItemElements: []\n\t\t\t\t\t};\n\n\t\t\t\t\t// Prepare list counter for start index.\n\t\t\t\t\tif ( indent == 0 && itemLikeElement.id !== undefined ) {\n\t\t\t\t\t\tencounteredLists[ originalListId ] = listStyle.startIndex || 1;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Use LI if it is already it or create a new LI element.\n\t\t\t// https://github.com/ckeditor/ckeditor5/issues/15964\n\t\t\tconst listItem = itemLikeElement.element.name == 'li' ? itemLikeElement.element : writer.createElement( 'li' );\n\n\t\t\t// Append the LI to OL/UL.\n\t\t\twriter.appendChild( listItem, stack[ indent ].listElement );\n\t\t\tstack[ indent ].listItemElements.push( listItem );\n\n\t\t\t// Increment list counter.\n\t\t\tif ( indent == 0 && itemLikeElement.id !== undefined ) {\n\t\t\t\tencounteredLists[ originalListId ]++;\n\t\t\t}\n\n\t\t\t// Append list block to LI.\n\t\t\tif ( itemLikeElement.element != listItem ) {\n\t\t\t\twriter.appendChild( itemLikeElement.element, listItem );\n\t\t\t}\n\n\t\t\t// Clean list block.\n\t\t\tremoveBulletElement( itemLikeElement.element, writer );\n\t\t\twriter.removeStyle( 'text-indent', itemLikeElement.element ); // #12361\n\t\t\twriter.removeStyle( 'margin-left', itemLikeElement.element );\n\t\t}\n\t\telse {\n\t\t\t// Other blocks in a list item.\n\t\t\tconst stackItem = stack.find( stackItem => stackItem.marginLeft == itemLikeElement.marginLeft );\n\n\t\t\t// This might be a paragraph that has known margin, but it is not a real list block.\n\t\t\tif ( stackItem ) {\n\t\t\t\tconst listItems = stackItem.listItemElements;\n\n\t\t\t\t// Append block to LI.\n\t\t\t\twriter.appendChild( itemLikeElement.element, listItems[ listItems.length - 1 ] );\n\t\t\t\twriter.removeStyle( 'margin-left', itemLikeElement.element );\n\t\t\t} else {\n\t\t\t\tstack.length = 0;\n\t\t\t}\n\t\t}\n\t}\n}\n\n/**\n * Removes paragraph wrapping content inside a list item.\n */\nexport function unwrapParagraphInListItem(\n\tdocumentFragment: ViewDocumentFragment,\n\twriter: UpcastWriter\n): void {\n\tfor ( const value of writer.createRangeIn( documentFragment ) ) {\n\t\tconst element = value.item;\n\n\t\tif ( element.is( 'element', 'li' ) ) {\n\t\t\t// Google Docs allows for single paragraph inside LI.\n\t\t\tconst firstChild = element.getChild( 0 );\n\n\t\t\tif ( firstChild && firstChild.is( 'element', 'p' ) ) {\n\t\t\t\twriter.unwrapElement( firstChild );\n\t\t\t}\n\t\t}\n\t}\n}\n\n/**\n * Finds all list-like elements in a given document fragment.\n *\n * @param documentFragment Document fragment in which to look for list-like nodes.\n * @returns Array of found list-like items. Each item is an object containing:\n */\nfunction findAllItemLikeElements(\n\tdocumentFragment: ViewDocumentFragment,\n\twriter: UpcastWriter\n): Array {\n\tconst range = writer.createRangeIn( documentFragment );\n\tconst itemLikeElements: Array = [];\n\tconst foundMargins = new Set();\n\n\tfor ( const item of range.getItems() ) {\n\t\t// https://github.com/ckeditor/ckeditor5/issues/15964\n\t\tif ( !item.is( 'element' ) || !item.name.match( /^(p|h\\d+|li|div)$/ ) ) {\n\t\t\tcontinue;\n\t\t}\n\n\t\t// Try to rely on margin-left style to find paragraphs visually aligned with previously encountered list item.\n\t\tlet marginLeft = getMarginLeftNormalized( item );\n\n\t\t// Ignore margin-left 0 style if there is no MsoList... class.\n\t\tif (\n\t\t\tmarginLeft !== undefined &&\n\t\t\tparseFloat( marginLeft ) == 0 &&\n\t\t\t!Array.from( item.getClassNames() ).find( className => className.startsWith( 'MsoList' ) )\n\t\t) {\n\t\t\tmarginLeft = undefined;\n\t\t}\n\n\t\t// List item or a following list item block.\n\t\tif ( item.hasStyle( 'mso-list' ) || marginLeft !== undefined && foundMargins.has( marginLeft ) ) {\n\t\t\tconst itemData = getListItemData( item );\n\n\t\t\titemLikeElements.push( {\n\t\t\t\telement: item,\n\t\t\t\tid: itemData.id,\n\t\t\t\torder: itemData.order,\n\t\t\t\tindent: itemData.indent,\n\t\t\t\tmarginLeft\n\t\t\t} );\n\n\t\t\tif ( marginLeft !== undefined ) {\n\t\t\t\tfoundMargins.add( marginLeft );\n\t\t\t}\n\t\t}\n\t\t// Clear found margins as we found block after a list.\n\t\telse {\n\t\t\tfoundMargins.clear();\n\t\t}\n\t}\n\n\treturn itemLikeElements;\n}\n\n/**\n * Whether the given element is possibly a list continuation. Previous element was wrapped into a list\n * or the current element already is inside a list.\n */\nfunction isListContinuation( currentItem: ListLikeElement ) {\n\tconst previousSibling = currentItem.element.previousSibling;\n\n\tif ( !previousSibling ) {\n\t\t// If it's a li inside ul or ol like in here: https://github.com/ckeditor/ckeditor5/issues/15964.\n\t\treturn isList( currentItem.element.parent as ViewElement );\n\t}\n\n\t// Even with the same id the list does not have to be continuous (#43).\n\treturn isList( previousSibling );\n}\n\nfunction isList( element: ViewNode ) {\n\treturn element.is( 'element', 'ol' ) || element.is( 'element', 'ul' );\n}\n\n/**\n * Extracts list item style from the provided CSS.\n *\n * List item style is extracted from the CSS stylesheet. Each list with its specific style attribute\n * value (`mso-list:l1 level1 lfo1`) has its dedicated properties in a CSS stylesheet defined with a selector like:\n *\n * ```css\n * @list l1:level1 { ... }\n * ```\n *\n * It contains `mso-level-number-format` property which defines list numbering/bullet style. If this property\n * is not defined it means default `decimal` numbering.\n *\n * Here CSS string representation is used as `mso-level-number-format` property is an invalid CSS property\n * and will be removed during CSS parsing.\n *\n * @param listLikeItem List-like item for which list style will be searched for. Usually\n * a result of `findAllItemLikeElements()` function.\n * @param stylesString CSS stylesheet.\n * @returns An object with properties:\n *\n * * type - List type, could be `ul` or `ol`.\n * * startIndex - List start index, valid only for ordered lists.\n * * style - List style, for example: `decimal`, `lower-roman`, etc. It is extracted\n * directly from Word stylesheet and adjusted to represent proper values for the CSS `list-style-type` property.\n * If it cannot be adjusted, the `null` value is returned.\n */\nfunction detectListStyle( listLikeItem: ListLikeElement, stylesString: string ) {\n\tconst listStyleRegexp = new RegExp( `@list l${ listLikeItem.id }:level${ listLikeItem.indent }\\\\s*({[^}]*)`, 'gi' );\n\tconst listStyleTypeRegex = /mso-level-number-format:([^;]{0,100});/gi;\n\tconst listStartIndexRegex = /mso-level-start-at:\\s{0,100}([0-9]{0,10})\\s{0,100};/gi;\n\tconst legalStyleListRegex = new RegExp( `@list\\\\s+l${ listLikeItem.id }:level\\\\d\\\\s*{[^{]*mso-level-text:\"%\\\\d\\\\\\\\.`, 'gi' );\n\tconst multiLevelNumberFormatTypeRegex = new RegExp( `@list l${ listLikeItem.id }:level\\\\d\\\\s*{[^{]*mso-level-number-format:`, 'gi' );\n\n\tconst legalStyleListMatch = legalStyleListRegex.exec( stylesString );\n\tconst multiLevelNumberFormatMatch = multiLevelNumberFormatTypeRegex.exec( stylesString );\n\n\t// Multi level lists in Word have mso-level-number-format attribute except legal lists,\n\t// so we used that. If list has legal list match and doesn't has mso-level-number-format\n\t// then this is legal-list.\n\tconst islegalStyleList = legalStyleListMatch && !multiLevelNumberFormatMatch;\n\n\tconst listStyleMatch = listStyleRegexp.exec( stylesString );\n\n\tlet listStyleType = 'decimal'; // Decimal is default one.\n\tlet type = 'ol'; //
    is default list.\n\tlet startIndex = null;\n\n\tif ( listStyleMatch && listStyleMatch[ 1 ] ) {\n\t\tconst listStyleTypeMatch = listStyleTypeRegex.exec( listStyleMatch[ 1 ] );\n\n\t\tif ( listStyleTypeMatch && listStyleTypeMatch[ 1 ] ) {\n\t\t\tlistStyleType = listStyleTypeMatch[ 1 ].trim();\n\t\t\ttype = listStyleType !== 'bullet' && listStyleType !== 'image' ? 'ol' : 'ul';\n\t\t}\n\n\t\t// Styles for the numbered lists are always defined in the Word CSS stylesheet.\n\t\t// Unordered lists MAY contain a value for the Word CSS definition `mso-level-text` but sometimes\n\t\t// this tag is missing. And because of that, we cannot depend on that. We need to predict the list style value\n\t\t// based on the list style marker element.\n\t\tif ( listStyleType === 'bullet' ) {\n\t\t\tconst bulletedStyle = findBulletedListStyle( listLikeItem.element );\n\n\t\t\tif ( bulletedStyle ) {\n\t\t\t\tlistStyleType = bulletedStyle;\n\t\t\t}\n\t\t} else {\n\t\t\tconst listStartIndexMatch = listStartIndexRegex.exec( listStyleMatch[ 1 ] );\n\n\t\t\tif ( listStartIndexMatch && listStartIndexMatch[ 1 ] ) {\n\t\t\t\tstartIndex = parseInt( listStartIndexMatch[ 1 ] );\n\t\t\t}\n\t\t}\n\n\t\tif ( islegalStyleList ) {\n\t\t\ttype = 'ol';\n\t\t}\n\t}\n\n\treturn {\n\t\ttype,\n\t\tstartIndex,\n\t\tstyle: mapListStyleDefinition( listStyleType ),\n\t\tisLegalStyleList: islegalStyleList\n\t};\n}\n\n/**\n * Tries to extract the `list-style-type` value based on the marker element for bulleted list.\n */\nfunction findBulletedListStyle( element: ViewElement ) {\n\t// https://github.com/ckeditor/ckeditor5/issues/15964\n\tif ( element.name == 'li' && element.parent!.name == 'ul' && element.parent!.hasAttribute( 'type' ) ) {\n\t\treturn element.parent!.getAttribute( 'type' );\n\t}\n\n\tconst listMarkerElement = findListMarkerNode( element );\n\n\tif ( !listMarkerElement ) {\n\t\treturn null;\n\t}\n\n\tconst listMarker = listMarkerElement._data;\n\n\tif ( listMarker === 'o' ) {\n\t\treturn 'circle';\n\t} else if ( listMarker === '·' ) {\n\t\treturn 'disc';\n\t}\n\t// Word returns '§' instead of '■' for the square list style.\n\telse if ( listMarker === '§' ) {\n\t\treturn 'square';\n\t}\n\n\treturn null;\n}\n\n/**\n * Tries to find a text node that represents the marker element (list-style-type).\n */\nfunction findListMarkerNode( element: ViewElement ): ViewText | null {\n\t// If the first child is a text node, it is the data for the element.\n\t// The list-style marker is not present here.\n\tif ( element.getChild( 0 )!.is( '$text' ) ) {\n\t\treturn null;\n\t}\n\n\tfor ( const childNode of element.getChildren() ) {\n\t\t// The list-style marker will be inside the `` element. Let's ignore all non-span elements.\n\t\t// It may happen that the `` element is added as the first child. Most probably, it's an anchor element.\n\t\tif ( !childNode.is( 'element', 'span' ) ) {\n\t\t\tcontinue;\n\t\t}\n\n\t\tconst textNodeOrElement = childNode.getChild( 0 );\n\n\t\tif ( !textNodeOrElement ) {\n\t\t\tcontinue;\n\t\t}\n\n\t\t// If already found the marker element, use it.\n\t\tif ( textNodeOrElement.is( '$text' ) ) {\n\t\t\treturn textNodeOrElement;\n\t\t}\n\n\t\treturn ( textNodeOrElement as any ).getChild( 0 );\n\t}\n\n\t/* istanbul ignore next -- @preserve */\n\treturn null;\n}\n\n/**\n * Parses the `list-style-type` value extracted directly from the Word CSS stylesheet and returns proper CSS definition.\n */\nfunction mapListStyleDefinition( value: string ) {\n\tif ( value.startsWith( 'arabic-leading-zero' ) ) {\n\t\treturn 'decimal-leading-zero';\n\t}\n\n\tswitch ( value ) {\n\t\tcase 'alpha-upper':\n\t\t\treturn 'upper-alpha';\n\t\tcase 'alpha-lower':\n\t\t\treturn 'lower-alpha';\n\t\tcase 'roman-upper':\n\t\t\treturn 'upper-roman';\n\t\tcase 'roman-lower':\n\t\t\treturn 'lower-roman';\n\t\tcase 'circle':\n\t\tcase 'disc':\n\t\tcase 'square':\n\t\t\treturn value;\n\t\tdefault:\n\t\t\treturn null;\n\t}\n}\n\n/**\n * Creates a new list OL/UL element.\n */\nfunction createNewEmptyList(\n\tlistStyle: ReturnType,\n\twriter: UpcastWriter,\n\thasMultiLevelListPlugin: boolean\n) {\n\tconst list = writer.createElement( listStyle.type );\n\n\t// We do not support modifying the marker for a particular list item.\n\t// Set the value for the `list-style-type` property directly to the list container.\n\tif ( listStyle.style ) {\n\t\twriter.setStyle( 'list-style-type', listStyle.style, list );\n\t}\n\n\tif ( listStyle.startIndex && listStyle.startIndex > 1 ) {\n\t\twriter.setAttribute( 'start', listStyle.startIndex, list );\n\t}\n\n\tif ( listStyle.isLegalStyleList && hasMultiLevelListPlugin ) {\n\t\twriter.addClass( 'legal-list', list );\n\t}\n\n\treturn list;\n}\n\n/**\n * Extracts list item information from Word specific list-like element style:\n *\n * ```\n * `style=\"mso-list:l1 level1 lfo1\"`\n * ```\n *\n * where:\n *\n * ```\n * * `l1` is a list id (however it does not mean this is a continuous list - see #43),\n * * `level1` is a list item indentation level,\n * * `lfo1` is a list insertion order in a document.\n * ```\n *\n * @param element Element from which style data is extracted.\n */\nfunction getListItemData( element: ViewElement ): ListItemData {\n\tconst listStyle = element.getStyle( 'mso-list' );\n\n\tif ( listStyle === undefined ) {\n\t\treturn {};\n\t}\n\n\tconst idMatch = listStyle.match( /(^|\\s{1,100})l(\\d+)/i );\n\tconst orderMatch = listStyle.match( /\\s{0,100}lfo(\\d+)/i );\n\tconst indentMatch = listStyle.match( /\\s{0,100}level(\\d+)/i );\n\n\tif ( idMatch && orderMatch && indentMatch ) {\n\t\treturn {\n\t\t\tid: idMatch[ 2 ],\n\t\t\torder: orderMatch[ 1 ],\n\t\t\tindent: parseInt( indentMatch[ 1 ] )\n\t\t};\n\t}\n\n\treturn {\n\t\tindent: 1 // Handle empty mso-list style as a marked for default list item.\n\t};\n}\n\n/**\n * Removes span with a numbering/bullet from a given element.\n */\nfunction removeBulletElement( element: ViewElement, writer: UpcastWriter ) {\n\t// Matcher for finding `span` elements holding lists numbering/bullets.\n\tconst bulletMatcher = new Matcher( {\n\t\tname: 'span',\n\t\tstyles: {\n\t\t\t'mso-list': 'Ignore'\n\t\t}\n\t} );\n\n\tconst range = writer.createRangeIn( element );\n\n\tfor ( const value of range ) {\n\t\tif ( value.type === 'elementStart' && bulletMatcher.match( value.item as ViewElement ) ) {\n\t\t\twriter.remove( value.item as ViewElement );\n\t\t}\n\t}\n}\n\n/**\n * Returns element left margin normalized to 'px' if possible.\n */\nfunction getMarginLeftNormalized( element: ViewElement ): string | undefined {\n\tconst value = element.getStyle( 'margin-left' );\n\n\tif ( value === undefined || value.endsWith( 'px' ) ) {\n\t\treturn value;\n\t}\n\n\treturn convertCssLengthToPx( value );\n}\n\ninterface ListItemData {\n\n\t/**\n\t * Parent list id.\n\t */\n\tid?: string;\n\n\t/**\n\t * List item creation order.\n\t */\n\torder?: string;\n\n\t/**\n\t * List item indentation level.\n\t */\n\tindent?: number;\n}\n\ninterface ListLikeElement extends ListItemData {\n\n\t/**\n\t * List-like element.\n\t */\n\telement: ViewElement;\n\n\t/**\n\t * The margin-left normalized to 'px' if possible.\n\t */\n\tmarginLeft?: string;\n}\n","/**\n * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * @module paste-from-office/filters/image\n */\n\n/* globals btoa */\n\nimport {\n\tMatcher,\n\tUpcastWriter,\n\ttype ViewDocumentFragment,\n\ttype ViewElement,\n\ttype ViewNode\n} from 'ckeditor5/src/engine.js';\n\n/**\n * Replaces source attribute of all `` elements representing regular\n * images (not the Word shapes) with inlined base64 image representation extracted from RTF or Blob data.\n *\n * @param documentFragment Document fragment on which transform images.\n * @param rtfData The RTF data from which images representation will be used.\n */\nexport function replaceImagesSourceWithBase64( documentFragment: ViewDocumentFragment, rtfData: string ): void {\n\tif ( !documentFragment.childCount ) {\n\t\treturn;\n\t}\n\n\tconst upcastWriter = new UpcastWriter( documentFragment.document );\n\tconst shapesIds = findAllShapesIds( documentFragment, upcastWriter );\n\n\tremoveAllImgElementsRepresentingShapes( shapesIds, documentFragment, upcastWriter );\n\tinsertMissingImgs( shapesIds, documentFragment, upcastWriter );\n\tremoveAllShapeElements( documentFragment, upcastWriter );\n\n\tconst images = findAllImageElementsWithLocalSource( documentFragment, upcastWriter );\n\n\tif ( images.length ) {\n\t\treplaceImagesFileSourceWithInlineRepresentation( images, extractImageDataFromRtf( rtfData ), upcastWriter );\n\t}\n}\n\n/**\n * Converts given HEX string to base64 representation.\n *\n * @internal\n * @param hexString The HEX string to be converted.\n * @returns Base64 representation of a given HEX string.\n */\nexport function _convertHexToBase64( hexString: string ): string {\n\treturn btoa( hexString.match( /\\w{2}/g )!.map( char => {\n\t\treturn String.fromCharCode( parseInt( char, 16 ) );\n\t} ).join( '' ) );\n}\n\n/**\n * Finds all shapes (`...`) ids. Shapes can represent images (canvas)\n * or Word shapes (which does not have RTF or Blob representation).\n *\n * @param documentFragment Document fragment from which to extract shape ids.\n * @returns Array of shape ids.\n */\nfunction findAllShapesIds( documentFragment: ViewDocumentFragment, writer: UpcastWriter ): Array {\n\tconst range = writer.createRangeIn( documentFragment );\n\n\tconst shapeElementsMatcher = new Matcher( {\n\t\tname: /v:(.+)/\n\t} );\n\n\tconst shapesIds = [];\n\n\tfor ( const value of range ) {\n\t\tif ( value.type != 'elementStart' ) {\n\t\t\tcontinue;\n\t\t}\n\n\t\tconst el = value.item as ViewElement;\n\t\tconst previousSibling = el.previousSibling;\n\t\tconst prevSiblingName = previousSibling && previousSibling.is( 'element' ) ? previousSibling.name : null;\n\t\t// List of ids which should not be considered as shapes.\n\t\t// https://github.com/ckeditor/ckeditor5/pull/15847#issuecomment-1941543983\n\t\tconst exceptionIds = [ 'Chart' ];\n\n\t\tconst isElementAShape = shapeElementsMatcher.match( el );\n\t\tconst hasElementGfxdataAttribute = el.getAttribute( 'o:gfxdata' );\n\t\tconst isPreviousSiblingAShapeType = prevSiblingName === 'v:shapetype';\n\t\tconst isElementIdInExceptionsArray = hasElementGfxdataAttribute &&\n\t\t\texceptionIds.some( item => el.getAttribute( 'id' )!.includes( item ) );\n\n\t\t// If shape element has 'o:gfxdata' attribute and is not directly before\n\t\t// `` element it means that it represents a Word shape.\n\t\tif (\n\t\t\tisElementAShape &&\n\t\t\thasElementGfxdataAttribute &&\n\t\t\t!isPreviousSiblingAShapeType &&\n\t\t\t!isElementIdInExceptionsArray\n\t\t) {\n\t\t\tshapesIds.push( ( value.item as ViewElement ).getAttribute( 'id' )! );\n\t\t}\n\t}\n\n\treturn shapesIds;\n}\n\n/**\n * Removes all `` elements which represents Word shapes and not regular images.\n *\n * @param shapesIds Shape ids which will be checked against `` elements.\n * @param documentFragment Document fragment from which to remove `` elements.\n */\nfunction removeAllImgElementsRepresentingShapes(\n\tshapesIds: Array,\n\tdocumentFragment: ViewDocumentFragment,\n\twriter: UpcastWriter\n): void {\n\tconst range = writer.createRangeIn( documentFragment );\n\n\tconst imageElementsMatcher = new Matcher( {\n\t\tname: 'img'\n\t} );\n\n\tconst imgs = [];\n\n\tfor ( const value of range ) {\n\t\tif ( value.item.is( 'element' ) && imageElementsMatcher.match( value.item ) ) {\n\t\t\tconst el = value.item;\n\t\t\tconst shapes = el.getAttribute( 'v:shapes' ) ? el.getAttribute( 'v:shapes' )!.split( ' ' ) : [];\n\n\t\t\tif ( shapes.length && shapes.every( shape => shapesIds.indexOf( shape ) > -1 ) ) {\n\t\t\t\timgs.push( el );\n\t\t\t// Shapes may also have empty source while content is paste in some browsers (Safari).\n\t\t\t} else if ( !el.getAttribute( 'src' ) ) {\n\t\t\t\timgs.push( el );\n\t\t\t}\n\t\t}\n\t}\n\n\tfor ( const img of imgs ) {\n\t\twriter.remove( img );\n\t}\n}\n\n/**\n * Removes all shape elements (`...`) so they do not pollute the output structure.\n *\n * @param documentFragment Document fragment from which to remove shape elements.\n */\nfunction removeAllShapeElements( documentFragment: ViewDocumentFragment, writer: UpcastWriter ) {\n\tconst range = writer.createRangeIn( documentFragment );\n\n\tconst shapeElementsMatcher = new Matcher( {\n\t\tname: /v:(.+)/\n\t} );\n\n\tconst shapes = [];\n\n\tfor ( const value of range ) {\n\t\tif ( value.type == 'elementStart' && shapeElementsMatcher.match( value.item as ViewElement ) ) {\n\t\t\tshapes.push( value.item as ViewElement );\n\t\t}\n\t}\n\n\tfor ( const shape of shapes ) {\n\t\twriter.remove( shape );\n\t}\n}\n\n/**\n * Inserts `img` tags if there is none after a shape.\n */\nfunction insertMissingImgs( shapeIds: Array, documentFragment: ViewDocumentFragment, writer: UpcastWriter ) {\n\tconst range = writer.createRangeIn( documentFragment );\n\n\tconst shapes: Array = [];\n\n\tfor ( const value of range ) {\n\t\tif ( value.type == 'elementStart' && value.item.is( 'element', 'v:shape' ) ) {\n\t\t\tconst id = value.item.getAttribute( 'id' )!;\n\n\t\t\tif ( shapeIds.includes( id ) ) {\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tif ( !containsMatchingImg( value.item.parent!.getChildren(), id ) ) {\n\t\t\t\tshapes.push( value.item );\n\t\t\t}\n\t\t}\n\t}\n\n\tfor ( const shape of shapes ) {\n\t\tconst attrs: Record = {\n\t\t\tsrc: findSrc( shape )\n\t\t};\n\n\t\tif ( shape.hasAttribute( 'alt' ) ) {\n\t\t\tattrs.alt = shape.getAttribute( 'alt' );\n\t\t}\n\n\t\tconst img = writer.createElement( 'img', attrs );\n\n\t\twriter.insertChild( shape.index! + 1, img, shape.parent! );\n\t}\n\n\tfunction containsMatchingImg( nodes: Iterable, id: string ): boolean {\n\t\tfor ( const node of nodes ) {\n\t\t\t/* istanbul ignore else -- @preserve */\n\t\t\tif ( node.is( 'element' ) ) {\n\t\t\t\tif ( node.name == 'img' && node.getAttribute( 'v:shapes' ) == id ) {\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\n\t\t\t\tif ( containsMatchingImg( node.getChildren(), id ) ) {\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn false;\n\t}\n\n\tfunction findSrc( shape: ViewElement ) {\n\t\tfor ( const child of shape.getChildren() ) {\n\t\t\t/* istanbul ignore else -- @preserve */\n\t\t\tif ( child.is( 'element' ) && child.getAttribute( 'src' ) ) {\n\t\t\t\treturn child.getAttribute( 'src' );\n\t\t\t}\n\t\t}\n\t}\n}\n\n/**\n * Finds all `` elements in a given document fragment which have source pointing to local `file://` resource.\n *\n * @param documentFragment Document fragment in which to look for `` elements.\n * @returns result All found images grouped by source type.\n */\nfunction findAllImageElementsWithLocalSource(\n\tdocumentFragment: ViewDocumentFragment,\n\twriter: UpcastWriter\n): Array {\n\tconst range = writer.createRangeIn( documentFragment );\n\n\tconst imageElementsMatcher = new Matcher( {\n\t\tname: 'img'\n\t} );\n\n\tconst imgs = [];\n\n\tfor ( const value of range ) {\n\t\tif ( value.item.is( 'element' ) && imageElementsMatcher.match( value.item ) ) {\n\t\t\tif ( value.item.getAttribute( 'src' )!.startsWith( 'file://' ) ) {\n\t\t\t\timgs.push( value.item );\n\t\t\t}\n\t\t}\n\t}\n\n\treturn imgs;\n}\n\n/**\n * Extracts all images HEX representations from a given RTF data.\n *\n * @param rtfData The RTF data from which to extract images HEX representation.\n * @returns Array of found HEX representations. Each array item is an object containing:\n *\n * * hex Image representation in HEX format.\n * * type Type of image, `image/png` or `image/jpeg`.\n */\nfunction extractImageDataFromRtf( rtfData: string ): Array<{ hex: string; type: string }> {\n\tif ( !rtfData ) {\n\t\treturn [];\n\t}\n\n\tconst regexPictureHeader = /{\\\\pict[\\s\\S]+?\\\\bliptag-?\\d+(\\\\blipupi-?\\d+)?({\\\\\\*\\\\blipuid\\s?[\\da-fA-F]+)?[\\s}]*?/;\n\tconst regexPicture = new RegExp( '(?:(' + regexPictureHeader.source + '))([\\\\da-fA-F\\\\s]+)\\\\}', 'g' );\n\tconst images = rtfData.match( regexPicture );\n\tconst result = [];\n\n\tif ( images ) {\n\t\tfor ( const image of images ) {\n\t\t\tlet imageType: string | false = false;\n\n\t\t\tif ( image.includes( '\\\\pngblip' ) ) {\n\t\t\t\timageType = 'image/png';\n\t\t\t} else if ( image.includes( '\\\\jpegblip' ) ) {\n\t\t\t\timageType = 'image/jpeg';\n\t\t\t}\n\n\t\t\tif ( imageType ) {\n\t\t\t\tresult.push( {\n\t\t\t\t\thex: image.replace( regexPictureHeader, '' ).replace( /[^\\da-fA-F]/g, '' ),\n\t\t\t\t\ttype: imageType\n\t\t\t\t} );\n\t\t\t}\n\t\t}\n\t}\n\n\treturn result;\n}\n\n/**\n * Replaces `src` attribute value of all given images with the corresponding base64 image representation.\n *\n * @param imageElements Array of image elements which will have its source replaced.\n * @param imagesHexSources Array of images hex sources (usually the result of `extractImageDataFromRtf()` function).\n * The array should be the same length as `imageElements` parameter.\n */\nfunction replaceImagesFileSourceWithInlineRepresentation(\n\timageElements: Array,\n\timagesHexSources: ReturnType,\n\twriter: UpcastWriter\n) {\n\t// Assume there is an equal amount of image elements and images HEX sources so they can be matched accordingly based on existing order.\n\tif ( imageElements.length === imagesHexSources.length ) {\n\t\tfor ( let i = 0; i < imageElements.length; i++ ) {\n\t\t\tconst newSrc = `data:${ imagesHexSources[ i ].type };base64,${ _convertHexToBase64( imagesHexSources[ i ].hex ) }`;\n\t\t\twriter.setAttribute( 'src', newSrc, imageElements[ i ] );\n\t\t}\n\t}\n}\n","/**\n * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * @module paste-from-office/normalizers/mswordnormalizer\n */\n\nimport { transformListItemLikeElementsIntoLists } from '../filters/list.js';\nimport { replaceImagesSourceWithBase64 } from '../filters/image.js';\nimport removeMSAttributes from '../filters/removemsattributes.js';\nimport type { ViewDocument } from 'ckeditor5/src/engine.js';\nimport type { Normalizer, NormalizerData } from '../normalizer.js';\n\nconst msWordMatch1 = //i;\nconst msWordMatch2 = /xmlns:o=\"urn:schemas-microsoft-com/i;\n\n/**\n * Normalizer for the content pasted from Microsoft Word.\n */\nexport default class MSWordNormalizer implements Normalizer {\n\tpublic readonly document: ViewDocument;\n\n\tpublic readonly hasMultiLevelListPlugin: boolean;\n\n\t/**\n\t * Creates a new `MSWordNormalizer` instance.\n\t *\n\t * @param document View document.\n\t */\n\tconstructor( document: ViewDocument, hasMultiLevelListPlugin: boolean = false ) {\n\t\tthis.document = document;\n\t\tthis.hasMultiLevelListPlugin = hasMultiLevelListPlugin;\n\t}\n\n\t/**\n\t * @inheritDoc\n\t */\n\tpublic isActive( htmlString: string ): boolean {\n\t\treturn msWordMatch1.test( htmlString ) || msWordMatch2.test( htmlString );\n\t}\n\n\t/**\n\t * @inheritDoc\n\t */\n\tpublic execute( data: NormalizerData ): void {\n\t\tconst { body: documentFragment, stylesString } = data._parsedData;\n\n\t\ttransformListItemLikeElementsIntoLists( documentFragment, stylesString, this.hasMultiLevelListPlugin );\n\t\treplaceImagesSourceWithBase64( documentFragment, data.dataTransfer.getData( 'text/rtf' ) );\n\t\tremoveMSAttributes( documentFragment );\n\n\t\tdata.content = documentFragment;\n\t}\n}\n","/**\n * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * @module paste-from-office/filters/removemsattributes\n */\n\nimport { UpcastWriter, type ViewDocumentFragment, type ViewElement } from 'ckeditor5/src/engine.js';\n\n/**\n * Cleanup MS attributes like styles, attributes and elements.\n *\n * @param documentFragment element `data.content` obtained from clipboard.\n */\nexport default function removeMSAttributes( documentFragment: ViewDocumentFragment ): void {\n\tconst elementsToUnwrap: Array = [];\n\n\tconst writer = new UpcastWriter( documentFragment.document );\n\n\tfor ( const { item } of writer.createRangeIn( documentFragment ) ) {\n\t\tif ( !item.is( 'element' ) ) {\n\t\t\tcontinue;\n\t\t}\n\n\t\tfor ( const className of item.getClassNames() ) {\n\t\t\tif ( /\\bmso/gi.exec( className ) ) {\n\t\t\t\twriter.removeClass( className, item );\n\t\t\t}\n\t\t}\n\n\t\tfor ( const styleName of item.getStyleNames() ) {\n\t\t\tif ( /\\bmso/gi.exec( styleName ) ) {\n\t\t\t\twriter.removeStyle( styleName, item );\n\t\t\t}\n\t\t}\n\n\t\tif (\n\t\t\titem.is( 'element', 'w:sdt' ) ||\n\t\t\titem.is( 'element', 'w:sdtpr' ) && item.isEmpty ||\n\t\t\titem.is( 'element', 'o:p' ) && item.isEmpty\n\t\t) {\n\t\t\telementsToUnwrap.push( item );\n\t\t}\n\t}\n\n\tfor ( const item of elementsToUnwrap ) {\n\t\tconst itemParent = item.parent!;\n\t\tconst childIndex = itemParent.getChildIndex( item );\n\n\t\twriter.insertChild( childIndex, item.getChildren(), itemParent );\n\t\twriter.remove( item );\n\t}\n}\n","/**\n * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * @module paste-from-office/filters/br\n */\n\nimport {\n\tDomConverter,\n\tViewDocument,\n\ttype UpcastWriter,\n\ttype ViewDocumentFragment,\n\ttype ViewElement,\n\ttype ViewNode\n} from 'ckeditor5/src/engine.js';\n\n/**\n * Transforms `
    ` elements that are siblings to some block element into a paragraphs.\n *\n * @param documentFragment The view structure to be transformed.\n */\nexport default function transformBlockBrsToParagraphs(\n\tdocumentFragment: ViewDocumentFragment,\n\twriter: UpcastWriter\n): void {\n\tconst viewDocument = new ViewDocument( writer.document.stylesProcessor );\n\tconst domConverter = new DomConverter( viewDocument, { renderingMode: 'data' } );\n\n\tconst blockElements = domConverter.blockElements;\n\tconst inlineObjectElements = domConverter.inlineObjectElements;\n\n\tconst elementsToReplace = [];\n\n\tfor ( const value of writer.createRangeIn( documentFragment ) ) {\n\t\tconst element = value.item;\n\n\t\tif ( element.is( 'element', 'br' ) ) {\n\t\t\tconst nextSibling = findSibling( element, 'forward', writer, { blockElements, inlineObjectElements } );\n\t\t\tconst previousSibling = findSibling( element, 'backward', writer, { blockElements, inlineObjectElements } );\n\n\t\t\tconst nextSiblingIsBlock = isBlockViewElement( nextSibling, blockElements );\n\t\t\tconst previousSiblingIsBlock = isBlockViewElement( previousSibling, blockElements );\n\n\t\t\t// If the
    is surrounded by blocks then convert it to a paragraph:\n\t\t\t// *

    foo

    [
    ]

    bar

    ->

    foo

    [

    ]

    bar

    \n\t\t\t// *

    foo

    [
    ] ->

    foo

    [

    ]\n\t\t\t// * [
    ]

    foo

    -> [

    ]

    foo

    \n\t\t\tif ( previousSiblingIsBlock || nextSiblingIsBlock ) {\n\t\t\t\telementsToReplace.push( element );\n\t\t\t}\n\t\t}\n\t}\n\n\tfor ( const element of elementsToReplace ) {\n\t\tif ( element.hasClass( 'Apple-interchange-newline' ) ) {\n\t\t\twriter.remove( element );\n\t\t} else {\n\t\t\twriter.replace( element, writer.createElement( 'p' ) );\n\t\t}\n\t}\n}\n\n/**\n * Returns sibling node, threats inline elements as transparent (but should stop on an inline objects).\n */\nfunction findSibling(\n\tviewElement: ViewElement,\n\tdirection: 'forward' | 'backward',\n\twriter: UpcastWriter,\n\t{ blockElements, inlineObjectElements }: { blockElements: Array; inlineObjectElements: Array }\n) {\n\tlet position = writer.createPositionAt( viewElement, direction == 'forward' ? 'after' : 'before' );\n\n\t// Find first position that is just before a first:\n\t// * text node,\n\t// * block element,\n\t// * inline object element.\n\t// It's ignoring any inline (non-object) elements like span, strong, etc.\n\tposition = position.getLastMatchingPosition( ( { item } ) => (\n\t\titem.is( 'element' ) &&\n\t\t!blockElements.includes( item.name ) &&\n\t\t!inlineObjectElements.includes( item.name )\n\t), { direction } );\n\n\treturn direction == 'forward' ? position.nodeAfter : position.nodeBefore;\n}\n\n/**\n * Returns true for view elements that are listed as block view elements.\n */\nfunction isBlockViewElement( node: ViewNode | null, blockElements: Array ) {\n\treturn !!node && node.is( 'element' ) && blockElements.includes( node.name );\n}\n","/**\n * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * @module paste-from-office/normalizers/googledocsnormalizer\n */\n\nimport { UpcastWriter, type ViewDocument } from 'ckeditor5/src/engine.js';\n\nimport removeBoldWrapper from '../filters/removeboldwrapper.js';\nimport transformBlockBrsToParagraphs from '../filters/br.js';\nimport { unwrapParagraphInListItem } from '../filters/list.js';\nimport type { Normalizer, NormalizerData } from '../normalizer.js';\n\nconst googleDocsMatch = /id=(\"|')docs-internal-guid-[-0-9a-f]+(\"|')/i;\n\n/**\n * Normalizer for the content pasted from Google Docs.\n */\nexport default class GoogleDocsNormalizer implements Normalizer {\n\tpublic readonly document: ViewDocument;\n\n\t/**\n\t * Creates a new `GoogleDocsNormalizer` instance.\n\t *\n\t * @param document View document.\n\t */\n\tconstructor( document: ViewDocument ) {\n\t\tthis.document = document;\n\t}\n\n\t/**\n\t * @inheritDoc\n\t */\n\tpublic isActive( htmlString: string ): boolean {\n\t\treturn googleDocsMatch.test( htmlString );\n\t}\n\n\t/**\n\t * @inheritDoc\n\t */\n\tpublic execute( data: NormalizerData ): void {\n\t\tconst writer = new UpcastWriter( this.document );\n\t\tconst { body: documentFragment } = data._parsedData;\n\n\t\tremoveBoldWrapper( documentFragment, writer );\n\t\tunwrapParagraphInListItem( documentFragment, writer );\n\t\ttransformBlockBrsToParagraphs( documentFragment, writer );\n\n\t\tdata.content = documentFragment;\n\t}\n}\n","/**\n * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * @module paste-from-office/filters/removeboldwrapper\n */\n\nimport type { UpcastWriter, ViewDocumentFragment } from 'ckeditor5/src/engine.js';\n\n/**\n * Removes the `` tag wrapper added by Google Docs to a copied content.\n *\n * @param documentFragment element `data.content` obtained from clipboard\n */\nexport default function removeBoldWrapper( documentFragment: ViewDocumentFragment, writer: UpcastWriter ): void {\n\tfor ( const child of documentFragment.getChildren() ) {\n\t\tif ( child.is( 'element', 'b' ) && child.getStyle( 'font-weight' ) === 'normal' ) {\n\t\t\tconst childIndex = documentFragment.getChildIndex( child );\n\n\t\t\twriter.remove( child );\n\t\t\twriter.insertChild( childIndex, child.getChildren(), documentFragment );\n\t\t}\n\t}\n}\n","/**\n * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * @module paste-from-office/normalizers/googlesheetsnormalizer\n */\n\nimport { UpcastWriter, type ViewDocument } from 'ckeditor5/src/engine.js';\n\nimport removeXmlns from '../filters/removexmlns.js';\nimport removeGoogleSheetsTag from '../filters/removegooglesheetstag.js';\nimport removeInvalidTableWidth from '../filters/removeinvalidtablewidth.js';\nimport removeStyleBlock from '../filters/removestyleblock.js';\nimport type { Normalizer, NormalizerData } from '../normalizer.js';\n\nconst googleSheetsMatch = /` tag wrapper added by Google Sheets to a copied content.\n *\n * @param documentFragment element `data.content` obtained from clipboard\n */\nexport default function removeGoogleSheetsTag( documentFragment: ViewDocumentFragment, writer: UpcastWriter ): void {\n\tfor ( const child of documentFragment.getChildren() ) {\n\t\tif ( child.is( 'element', 'google-sheets-html-origin' ) ) {\n\t\t\tconst childIndex = documentFragment.getChildIndex( child );\n\n\t\t\twriter.remove( child );\n\t\t\twriter.insertChild( childIndex, child.getChildren(), documentFragment );\n\t\t}\n\t}\n}\n","/**\n * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * @module paste-from-office/filters/removexmlns\n */\n\nimport type { UpcastWriter, ViewDocumentFragment } from 'ckeditor5/src/engine.js';\n\n/**\n * Removes the `xmlns` attribute from table pasted from Google Sheets.\n *\n * @param documentFragment element `data.content` obtained from clipboard\n */\nexport default function removeXmlns( documentFragment: ViewDocumentFragment, writer: UpcastWriter ): void {\n\tfor ( const child of documentFragment.getChildren() ) {\n\t\tif ( child.is( 'element', 'table' ) && child.hasAttribute( 'xmlns' ) ) {\n\t\t\twriter.removeAttribute( 'xmlns', child );\n\t\t}\n\t}\n}\n","/**\n * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * @module paste-from-office/filters/removeinvalidtablewidth\n */\n\nimport type { UpcastWriter, ViewDocumentFragment } from 'ckeditor5/src/engine.js';\n\n/**\n * Removes the `width:0px` style from table pasted from Google Sheets.\n *\n * @param documentFragment element `data.content` obtained from clipboard\n */\nexport default function removeInvalidTableWidth( documentFragment: ViewDocumentFragment, writer: UpcastWriter ): void {\n\tfor ( const child of documentFragment.getChildren() ) {\n\t\tif ( child.is( 'element', 'table' ) && child.getStyle( 'width' ) === '0px' ) {\n\t\t\twriter.removeStyle( 'width', child );\n\t\t}\n\t}\n}\n","/**\n * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * @module paste-from-office/filters/removestyleblock\n */\n\nimport type { UpcastWriter, ViewDocumentFragment } from 'ckeditor5/src/engine.js';\n\n/**\n * Removes ` + + + + + + + diff --git a/node_modules/@ckeditor/ckeditor5-media-embed/theme/mediaembed.css b/node_modules/@ckeditor/ckeditor5-media-embed/theme/mediaembed.css new file mode 100644 index 0000000..f70c116 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-media-embed/theme/mediaembed.css @@ -0,0 +1,23 @@ +/* + * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ + +.ck-content .media { + /* Don't allow floated content overlap the media. + https://github.com/ckeditor/ckeditor5-media-embed/issues/53 */ + clear: both; + + /* Make sure there is some space between the content and the media. */ + /* The first value should be equal to --ck-spacing-large variable if used in the editor context + to avoid the content jumping (See https://github.com/ckeditor/ckeditor5/issues/9825). */ + margin: 0.9em 0; + + /* Make sure media is not overriden with Bootstrap default `flex` value. + See: https://github.com/ckeditor/ckeditor5/issues/1373. */ + display: block; + + /* Give the media some minimal width in the content to prevent them + from being "squashed" in tight spaces, e.g. in table cells (#44) */ + min-width: 15em; +} diff --git a/node_modules/@ckeditor/ckeditor5-media-embed/theme/mediaembedediting.css b/node_modules/@ckeditor/ckeditor5-media-embed/theme/mediaembedediting.css new file mode 100644 index 0000000..add3ba3 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-media-embed/theme/mediaembedediting.css @@ -0,0 +1,48 @@ +/* + * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ + +.ck-media__wrapper { + & .ck-media__placeholder { + display: flex; + flex-direction: column; + align-items: center; + + & .ck-media__placeholder__url { + /* Otherwise the URL will overflow when the content is very narrow. */ + max-width: 100%; + + position: relative; + + & .ck-media__placeholder__url__text { + overflow: hidden; + display: block; + } + } + } + + &[data-oembed-url*="twitter.com"], + &[data-oembed-url*="google.com/maps"], + &[data-oembed-url*="goo.gl/maps"], + &[data-oembed-url*="maps.google.com"], + &[data-oembed-url*="maps.app.goo.gl"], + &[data-oembed-url*="facebook.com"], + &[data-oembed-url*="instagram.com"] { + & .ck-media__placeholder__icon * { + display: none; + } + } +} + +/* Disable all mouse interaction as long as the editor is not read–only. + https://github.com/ckeditor/ckeditor5-media-embed/issues/58 */ +.ck-editor__editable:not(.ck-read-only) .ck-media__wrapper > *:not(.ck-media__placeholder) { + pointer-events: none; +} + +/* Disable all mouse interaction when the widget is not selected (e.g. to avoid opening links by accident). + https://github.com/ckeditor/ckeditor5-media-embed/issues/18 */ +.ck-editor__editable:not(.ck-read-only) .ck-widget:not(.ck-widget_selected) .ck-media__placeholder { + pointer-events: none; +} diff --git a/node_modules/@ckeditor/ckeditor5-media-embed/theme/mediaform.css b/node_modules/@ckeditor/ckeditor5-media-embed/theme/mediaform.css new file mode 100644 index 0000000..5b5ef3f --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-media-embed/theme/mediaform.css @@ -0,0 +1,33 @@ +/* + * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ + +@import "@ckeditor/ckeditor5-ui/theme/mixins/_rwd.css"; + +.ck.ck-media-form { + display: flex; + align-items: flex-start; + flex-direction: row; + flex-wrap: nowrap; + + & .ck-labeled-field-view { + display: inline-block; + } + + & .ck-label { + display: none; + } + + @mixin ck-media-phone { + flex-wrap: wrap; + + & .ck-labeled-field-view { + flex-basis: 100%; + } + + & .ck-button { + flex-basis: 50%; + } + } +} diff --git a/node_modules/@ckeditor/ckeditor5-paragraph/CHANGELOG.md b/node_modules/@ckeditor/ckeditor5-paragraph/CHANGELOG.md new file mode 100644 index 0000000..7ac1221 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-paragraph/CHANGELOG.md @@ -0,0 +1,175 @@ +Changelog +========= + +All changes in the package are documented in the main repository. See: https://github.com/ckeditor/ckeditor5/blob/master/CHANGELOG.md. + +Changes for the past releases are available below. + +## [19.0.0](https://github.com/ckeditor/ckeditor5-paragraph/compare/v18.0.0...v19.0.0) (April 29, 2020) + +Internal changes only (updated dependencies, documentation, etc.). + + +## [18.0.0](https://github.com/ckeditor/ckeditor5-paragraph/compare/v17.0.0...v18.0.0) (March 19, 2020) + +Internal changes only (updated dependencies, documentation, etc.). + + +## [17.0.0](https://github.com/ckeditor/ckeditor5-paragraph/compare/v16.0.0...v17.0.0) (February 19, 2020) + +Internal changes only (updated dependencies, documentation, etc.). + + +## [16.0.0](https://github.com/ckeditor/ckeditor5-paragraph/compare/v15.0.0...v16.0.0) (December 4, 2019) + +Internal changes only (updated dependencies, documentation, etc.). + + +## [15.0.0](https://github.com/ckeditor/ckeditor5-paragraph/compare/v11.0.5...v15.0.0) (October 23, 2019) + +Internal changes only (updated dependencies, documentation, etc.). + + +## [11.0.5](https://github.com/ckeditor/ckeditor5-paragraph/compare/v11.0.4...v11.0.5) (August 26, 2019) + +### Bug fixes + +* The UI buttons should be marked as toggleable for better assistive technologies support (see [ckeditor/ckeditor5#1403](https://github.com/ckeditor/ckeditor5/issues/1403)). ([7229cdb](https://github.com/ckeditor/ckeditor5-paragraph/commit/7229cdb)) + +### Other changes + +* The issue tracker for this package was moved to https://github.com/ckeditor/ckeditor5/issues. See [ckeditor/ckeditor5#1988](https://github.com/ckeditor/ckeditor5/issues/1988). ([b1b9e23](https://github.com/ckeditor/ckeditor5-paragraph/commit/b1b9e23)) + + +## [11.0.4](https://github.com/ckeditor/ckeditor5-paragraph/compare/v11.0.3...v11.0.4) (July 10, 2019) + +Internal changes only (updated dependencies, documentation, etc.). + + +## [11.0.3](https://github.com/ckeditor/ckeditor5-paragraph/compare/v11.0.2...v11.0.3) (July 4, 2019) + +Internal changes only (updated dependencies, documentation, etc.). + + +## [11.0.2](https://github.com/ckeditor/ckeditor5-paragraph/compare/v11.0.1...v11.0.2) (June 6, 2019) + +Internal changes only (updated dependencies, documentation, etc.). + + +## [11.0.1](https://github.com/ckeditor/ckeditor5-paragraph/compare/v11.0.0...v11.0.1) (April 4, 2019) + +Internal changes only (updated dependencies, documentation, etc.). + + +## [11.0.0](https://github.com/ckeditor/ckeditor5-paragraph/compare/v10.0.4...v11.0.0) (February 28, 2019) + +### BREAKING CHANGES + +* Upgraded minimal versions of Node to `8.0.0` and npm to `5.7.1`. See: [ckeditor/ckeditor5#1507](https://github.com/ckeditor/ckeditor5/issues/1507). ([612ea3c](https://github.com/ckeditor/ckeditor5-cloud-services/commit/612ea3c)) + + +## [10.0.4](https://github.com/ckeditor/ckeditor5-paragraph/compare/v10.0.3...v10.0.4) (December 5, 2018) + +### Other changes + +* Improved SVG icons size. See [ckeditor/ckeditor5-theme-lark#206](https://github.com/ckeditor/ckeditor5-theme-lark/issues/206). ([a9f440f](https://github.com/ckeditor/ckeditor5-paragraph/commit/a9f440f)) + + +## [10.0.3](https://github.com/ckeditor/ckeditor5-paragraph/compare/v10.0.2...v10.0.3) (October 8, 2018) + +Internal changes only (updated dependencies, documentation, etc.). + + +## [10.0.2](https://github.com/ckeditor/ckeditor5-paragraph/compare/v10.0.1...v10.0.2) (July 18, 2018) + +### Other changes + +* Refreshed the paragraph icon (see [ckeditor/ckeditor5-ui#394](https://github.com/ckeditor/ckeditor5-ui/issues/394)). ([d6e054a](https://github.com/ckeditor/ckeditor5-paragraph/commit/d6e054a)) + + +## [10.0.1](https://github.com/ckeditor/ckeditor5-paragraph/compare/v10.0.0...v10.0.1) (June 21, 2018) + +Internal changes only (updated dependencies, documentation, etc.). + + +## [10.0.0](https://github.com/ckeditor/ckeditor5-paragraph/compare/v1.0.0-beta.4...v10.0.0) (April 25, 2018) + +### Other changes + +* Changed the license to GPL2+ only. See [ckeditor/ckeditor5#991](https://github.com/ckeditor/ckeditor5/issues/991). ([8f01946](https://github.com/ckeditor/ckeditor5-paragraph/commit/8f01946)) + +### BREAKING CHANGES + +* The license under which CKEditor 5 is released has been changed from a triple GPL, LGPL and MPL license to a GPL2+ only. See [ckeditor/ckeditor5#991](https://github.com/ckeditor/ckeditor5/issues/991) for more information. + + +## [1.0.0-beta.4](https://github.com/ckeditor/ckeditor5-paragraph/compare/v1.0.0-beta.2...v1.0.0-beta.4) (April 19, 2018) + +### Features + +* Introduced `ParagraphButtonUI` plugin. Closes [#33](https://github.com/ckeditor/ckeditor5-paragraph/issues/33). ([12dadba](https://github.com/ckeditor/ckeditor5-paragraph/commit/12dadba)) + + +## [1.0.0-beta.2](https://github.com/ckeditor/ckeditor5-paragraph/compare/v1.0.0-beta.1...v1.0.0-beta.2) (April 10, 2018) + +Internal changes only (updated dependencies, documentation, etc.). + + +## [1.0.0-beta.1](https://github.com/ckeditor/ckeditor5-paragraph/compare/v1.0.0-alpha.2...v1.0.0-beta.1) (March 15, 2018) + +### Other changes + +* Aligned feature class naming to the new scheme. ([69e98d3](https://github.com/ckeditor/ckeditor5-paragraph/commit/69e98d3)) + + +## [1.0.0-alpha.2](https://github.com/ckeditor/ckeditor5-paragraph/compare/v1.0.0-alpha.1...v1.0.0-alpha.2) (November 14, 2017) + +Internal changes only (updated dependencies, documentation, etc.). + +## [1.0.0-alpha.1](https://github.com/ckeditor/ckeditor5-paragraph/compare/v0.9.0...v1.0.0-alpha.1) (October 3, 2017) + +Internal changes only (updated dependencies, documentation, etc.). + + +## [0.9.0](https://github.com/ckeditor/ckeditor5-paragraph/compare/v0.8.0...v0.9.0) (September 3, 2017) + +### Bug fixes + +* `ParagraphCommand` should check whether it can be applied to the selection. Closes [#24](https://github.com/ckeditor/ckeditor5-paragraph/issues/24). ([07b37af](https://github.com/ckeditor/ckeditor5-paragraph/commit/07b37af)) +* Autoparagraphing empty roots will not be triggered if the change-to-fix was in a `transparent` batch. Closes [#26](https://github.com/ckeditor/ckeditor5-paragraph/issues/26). ([a171de3](https://github.com/ckeditor/ckeditor5-paragraph/commit/a171de3)) + +### Other changes + +* Aligned the implementation to the new Command API (see https://github.com/ckeditor/ckeditor5-core/issues/88). ([c2a1559](https://github.com/ckeditor/ckeditor5-paragraph/commit/c2a1559)) + +### BREAKING CHANGES + +* The command API has been changed. + + +## [0.8.0](https://github.com/ckeditor/ckeditor5-paragraph/compare/v0.7.0...v0.8.0) (May 7, 2017) + +### Bug fixes + +* Content autoparagraphing has been improved. "Inline" view elements (converted to attributes or elements) will be now correctly handled and autoparagraphed. Closes [#10](https://github.com/ckeditor/ckeditor5-paragraph/issues/10). Closes [#11](https://github.com/ckeditor/ckeditor5-paragraph/issues/11). ([22d387c](https://github.com/ckeditor/ckeditor5-paragraph/commit/22d387c)) + +### Features + +* Paragraph will be automatically created if loaded empty data or if programmatically emptied the root element. Closes [#19](https://github.com/ckeditor/ckeditor5-paragraph/issues/19). ([c42d33e](https://github.com/ckeditor/ckeditor5-paragraph/commit/c42d33e)) + + +## [0.7.0](https://github.com/ckeditor/ckeditor5-paragraph/compare/v0.6.1...v0.7.0) (April 5, 2017) + +### Bug fixes + +* Paragraph command should correctly update its `value` and `isEnabled` properties. Closes [#16](https://github.com/ckeditor/ckeditor5-paragraph/issues/16). ([931e02f](https://github.com/ckeditor/ckeditor5-paragraph/commit/931e02f)) + +### Features + +* Implemented `ParagraphCommand`, previously part of the `HeadingCommand`. Closes [#14](https://github.com/ckeditor/ckeditor5-paragraph/issues/14). ([876877d](https://github.com/ckeditor/ckeditor5-paragraph/commit/876877d)) +* Named existing plugin(s). ([46dc9b8](https://github.com/ckeditor/ckeditor5-paragraph/commit/46dc9b8)) + + +## [0.6.1](https://github.com/ckeditor/ckeditor5-paragraph/compare/v0.6.0...v0.6.1) (March 6, 2017) + +Internal changes only (updated dependencies, documentation, etc.). diff --git a/node_modules/@ckeditor/ckeditor5-paragraph/LICENSE.md b/node_modules/@ckeditor/ckeditor5-paragraph/LICENSE.md new file mode 100644 index 0000000..5ae21e3 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-paragraph/LICENSE.md @@ -0,0 +1,17 @@ +Software License Agreement +========================== + +**CKEditor 5 paragraph feature** – https://github.com/ckeditor/ckeditor5-paragraph
    +Copyright (c) 2003–2024, [CKSource Holding sp. z o.o.](https://cksource.com) All rights reserved. + +Licensed under the terms of [GNU General Public License Version 2 or later](http://www.gnu.org/licenses/gpl.html). + +Sources of Intellectual Property Included in CKEditor +----------------------------------------------------- + +Where not otherwise indicated, all CKEditor content is authored by CKSource engineers and consists of CKSource-owned intellectual property. In some specific instances, CKEditor will incorporate work done by developers outside of CKSource with their express permission. + +Trademarks +---------- + +**CKEditor** is a trademark of [CKSource Holding sp. z o.o.](https://cksource.com) All other brand and product names are trademarks, registered trademarks, or service marks of their respective holders. diff --git a/node_modules/@ckeditor/ckeditor5-paragraph/README.md b/node_modules/@ckeditor/ckeditor5-paragraph/README.md new file mode 100644 index 0000000..eb7e8c3 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-paragraph/README.md @@ -0,0 +1,16 @@ +CKEditor 5 paragraph feature +======================================== + +[![npm version](https://badge.fury.io/js/%40ckeditor%2Fckeditor5-paragraph.svg)](https://www.npmjs.com/package/@ckeditor/ckeditor5-paragraph) +[![Coverage Status](https://coveralls.io/repos/github/ckeditor/ckeditor5/badge.svg?branch=master)](https://coveralls.io/github/ckeditor/ckeditor5?branch=master) +[![Build Status](https://travis-ci.com/ckeditor/ckeditor5.svg?branch=master)](https://app.travis-ci.com/github/ckeditor/ckeditor5) + +This package implements paragraph support for CKEditor 5. + +## Documentation + +See the [`@ckeditor/ckeditor5-paragraph` package](https://ckeditor.com/docs/ckeditor5/latest/api/paragraph.html) page in [CKEditor 5 documentation](https://ckeditor.com/docs/ckeditor5/latest/). + +## License + +Licensed under the terms of [GNU General Public License Version 2 or later](http://www.gnu.org/licenses/gpl.html). For full details about the license, please check the `LICENSE.md` file or [https://ckeditor.com/legal/ckeditor-oss-license](https://ckeditor.com/legal/ckeditor-oss-license). diff --git a/node_modules/@ckeditor/ckeditor5-paragraph/ckeditor5-metadata.json b/node_modules/@ckeditor/ckeditor5-paragraph/ckeditor5-metadata.json new file mode 100644 index 0000000..e4845e6 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-paragraph/ckeditor5-metadata.json @@ -0,0 +1,17 @@ +{ + "plugins": [ + { + "name": "Paragraph", + "className": "Paragraph", + "description": "Enables support for adding paragraphs to your content.", + "path": "src/paragraph.js", + "htmlOutput": [ + { + "elements": "p", + "implements": "$block", + "_comment": "This element inherits all attributes, classes and styles that are allowed on the `<$block>` element by other features." + } + ] + } + ] +} diff --git a/node_modules/@ckeditor/ckeditor5-paragraph/package.json b/node_modules/@ckeditor/ckeditor5-paragraph/package.json new file mode 100644 index 0000000..d93d37a --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-paragraph/package.json @@ -0,0 +1,38 @@ +{ + "name": "@ckeditor/ckeditor5-paragraph", + "version": "41.3.1", + "description": "Paragraph feature for CKEditor 5.", + "keywords": [ + "ckeditor", + "ckeditor5", + "ckeditor 5", + "ckeditor5-feature", + "ckeditor5-plugin", + "ckeditor5-dll" + ], + "type": "module", + "main": "src/index.js", + "dependencies": { + "@ckeditor/ckeditor5-core": "41.3.1", + "@ckeditor/ckeditor5-ui": "41.3.1", + "@ckeditor/ckeditor5-utils": "41.3.1" + }, + "author": "CKSource (http://cksource.com/)", + "license": "GPL-2.0-or-later", + "homepage": "https://ckeditor.com/ckeditor-5", + "bugs": "https://github.com/ckeditor/ckeditor5/issues", + "repository": { + "type": "git", + "url": "https://github.com/ckeditor/ckeditor5.git", + "directory": "packages/ckeditor5-paragraph" + }, + "files": [ + "lang", + "src/**/*.js", + "src/**/*.d.ts", + "theme", + "ckeditor5-metadata.json", + "CHANGELOG.md" + ], + "types": "src/index.d.ts" +} diff --git a/node_modules/@ckeditor/ckeditor5-paragraph/src/augmentation.d.ts b/node_modules/@ckeditor/ckeditor5-paragraph/src/augmentation.d.ts new file mode 100644 index 0000000..20cd73f --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-paragraph/src/augmentation.d.ts @@ -0,0 +1,14 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +import type { Paragraph, ParagraphCommand, InsertParagraphCommand } from './index.js'; +declare module '@ckeditor/ckeditor5-core' { + interface CommandsMap { + insertParagraph: InsertParagraphCommand; + paragraph: ParagraphCommand; + } + interface PluginsMap { + [Paragraph.pluginName]: Paragraph; + } +} diff --git a/node_modules/@ckeditor/ckeditor5-paragraph/src/augmentation.js b/node_modules/@ckeditor/ckeditor5-paragraph/src/augmentation.js new file mode 100644 index 0000000..4fffd02 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-paragraph/src/augmentation.js @@ -0,0 +1,5 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +export {}; diff --git a/node_modules/@ckeditor/ckeditor5-paragraph/src/index.d.ts b/node_modules/@ckeditor/ckeditor5-paragraph/src/index.d.ts new file mode 100644 index 0000000..732cd05 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-paragraph/src/index.d.ts @@ -0,0 +1,12 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module paragraph + */ +export { default as Paragraph } from './paragraph.js'; +export { default as ParagraphButtonUI } from './paragraphbuttonui.js'; +export type { default as ParagraphCommand } from './paragraphcommand.js'; +export type { default as InsertParagraphCommand } from './insertparagraphcommand.js'; +import './augmentation.js'; diff --git a/node_modules/@ckeditor/ckeditor5-paragraph/src/index.js b/node_modules/@ckeditor/ckeditor5-paragraph/src/index.js new file mode 100644 index 0000000..4933443 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-paragraph/src/index.js @@ -0,0 +1,10 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module paragraph + */ +export { default as Paragraph } from './paragraph.js'; +export { default as ParagraphButtonUI } from './paragraphbuttonui.js'; +import './augmentation.js'; diff --git a/node_modules/@ckeditor/ckeditor5-paragraph/src/insertparagraphcommand.d.ts b/node_modules/@ckeditor/ckeditor5-paragraph/src/insertparagraphcommand.d.ts new file mode 100644 index 0000000..973f792 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-paragraph/src/insertparagraphcommand.d.ts @@ -0,0 +1,45 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module paragraph/insertparagraphcommand + */ +import { Command, type Editor } from '@ckeditor/ckeditor5-core'; +import type { Position } from '@ckeditor/ckeditor5-engine'; +/** + * The insert paragraph command. It inserts a new paragraph at a specific + * {@link module:engine/model/position~Position document position}. + * + * ```ts + * // Insert a new paragraph before an element in the document. + * editor.execute( 'insertParagraph', { + * position: editor.model.createPositionBefore( element ) + * } ); + * ``` + * + * If a paragraph is disallowed in the context of the specific position, the command + * will attempt to split position ancestors to find a place where it is possible + * to insert a paragraph. + * + * **Note**: This command moves the selection to the inserted paragraph. + */ +export default class InsertParagraphCommand extends Command { + constructor(editor: Editor); + /** + * Executes the command. + * + * @param options Options for the executed command. + * @param options.position The model position at which the new paragraph will be inserted. + * @param options.attributes Attributes keys and values to set on a inserted paragraph. + * @fires execute + */ + execute(options: { + position: Position; + attributes?: Record; + }): void; + /** + * Returns the best position to insert a new paragraph. + */ + private _findPositionToInsertParagraph; +} diff --git a/node_modules/@ckeditor/ckeditor5-paragraph/src/insertparagraphcommand.js b/node_modules/@ckeditor/ckeditor5-paragraph/src/insertparagraphcommand.js new file mode 100644 index 0000000..43d1cc5 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-paragraph/src/insertparagraphcommand.js @@ -0,0 +1,90 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module paragraph/insertparagraphcommand + */ +import { Command } from '@ckeditor/ckeditor5-core'; +/** + * The insert paragraph command. It inserts a new paragraph at a specific + * {@link module:engine/model/position~Position document position}. + * + * ```ts + * // Insert a new paragraph before an element in the document. + * editor.execute( 'insertParagraph', { + * position: editor.model.createPositionBefore( element ) + * } ); + * ``` + * + * If a paragraph is disallowed in the context of the specific position, the command + * will attempt to split position ancestors to find a place where it is possible + * to insert a paragraph. + * + * **Note**: This command moves the selection to the inserted paragraph. + */ +export default class InsertParagraphCommand extends Command { + constructor(editor) { + super(editor); + // Since this command passes position in execution block instead of selection, it should be checked directly. + this._isEnabledBasedOnSelection = false; + } + /** + * Executes the command. + * + * @param options Options for the executed command. + * @param options.position The model position at which the new paragraph will be inserted. + * @param options.attributes Attributes keys and values to set on a inserted paragraph. + * @fires execute + */ + execute(options) { + const model = this.editor.model; + const attributes = options.attributes; + let position = options.position; + // Don't execute command if position is in non-editable place. + if (!model.canEditAt(position)) { + return; + } + model.change(writer => { + position = this._findPositionToInsertParagraph(position, writer); + if (!position) { + return; + } + const paragraph = writer.createElement('paragraph'); + if (attributes) { + model.schema.setAllowedAttributes(paragraph, attributes, writer); + } + model.insertContent(paragraph, position); + writer.setSelection(paragraph, 'in'); + }); + } + /** + * Returns the best position to insert a new paragraph. + */ + _findPositionToInsertParagraph(position, writer) { + const model = this.editor.model; + if (model.schema.checkChild(position, 'paragraph')) { + return position; + } + const allowedParent = model.schema.findAllowedParent(position, 'paragraph'); + // It could be there's no ancestor limit that would allow paragraph. + // In theory, "paragraph" could be disallowed even in the "$root". + if (!allowedParent) { + return null; + } + const positionParent = position.parent; + const isTextAllowed = model.schema.checkChild(positionParent, '$text'); + // At empty $block or at the end of $block. + // [] ---> [] + // foo[] ---> foo[] + if (positionParent.isEmpty || isTextAllowed && position.isAtEnd) { + return model.createPositionAfter(positionParent); + } + // At the start of $block with text. + // []foo ---> []foo + if (!positionParent.isEmpty && isTextAllowed && position.isAtStart) { + return model.createPositionBefore(positionParent); + } + return writer.split(position, allowedParent).position; + } +} diff --git a/node_modules/@ckeditor/ckeditor5-paragraph/src/paragraph.d.ts b/node_modules/@ckeditor/ckeditor5-paragraph/src/paragraph.d.ts new file mode 100644 index 0000000..dd7a3e6 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-paragraph/src/paragraph.d.ts @@ -0,0 +1,61 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +import { Plugin } from '@ckeditor/ckeditor5-core'; +/** + * The paragraph feature for the editor. + * + * It introduces the `` element in the model which renders as a `

    ` element in the DOM and data. + * + * It also brings two editors commands: + * + * * The {@link module:paragraph/paragraphcommand~ParagraphCommand `'paragraph'`} command that converts all + * blocks in the model selection into paragraphs. + * * The {@link module:paragraph/insertparagraphcommand~InsertParagraphCommand `'insertParagraph'`} command + * that inserts a new paragraph at a specified location in the model. + */ +export default class Paragraph extends Plugin { + /** + * @inheritDoc + */ + static get pluginName(): "Paragraph"; + /** + * @inheritDoc + */ + init(): void; + /** + * A list of element names which should be treated by the autoparagraphing algorithms as + * paragraph-like. This means that e.g. the following content: + * + * ```html + *

    Foo

    + * + * + * + * + * + *
    X + *
      + *
    • Y
    • + *
    • Z
    • + *
    + *
    + * ``` + * + * contains five paragraph-like elements: `

    `, two ``s and two `
  1. `s. + * Hence, if none of the features is going to convert those elements the above content will be automatically handled + * by the paragraph feature and converted to: + * + * ```html + *

    Foo

    + *

    X

    + *

    Y

    + *

    Z

    + * ``` + * + * Note: The `` containing two `
  2. ` elements was ignored as the innermost paragraph-like elements + * have a priority upon conversion. + */ + static paragraphLikeElements: Set; +} diff --git a/node_modules/@ckeditor/ckeditor5-paragraph/src/paragraph.js b/node_modules/@ckeditor/ckeditor5-paragraph/src/paragraph.js new file mode 100644 index 0000000..4706cff --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-paragraph/src/paragraph.js @@ -0,0 +1,107 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module paragraph/paragraph + */ +import ParagraphCommand from './paragraphcommand.js'; +import InsertParagraphCommand from './insertparagraphcommand.js'; +import { Plugin } from '@ckeditor/ckeditor5-core'; +/** + * The paragraph feature for the editor. + * + * It introduces the `` element in the model which renders as a `

    ` element in the DOM and data. + * + * It also brings two editors commands: + * + * * The {@link module:paragraph/paragraphcommand~ParagraphCommand `'paragraph'`} command that converts all + * blocks in the model selection into paragraphs. + * * The {@link module:paragraph/insertparagraphcommand~InsertParagraphCommand `'insertParagraph'`} command + * that inserts a new paragraph at a specified location in the model. + */ +class Paragraph extends Plugin { + /** + * @inheritDoc + */ + static get pluginName() { + return 'Paragraph'; + } + /** + * @inheritDoc + */ + init() { + const editor = this.editor; + const model = editor.model; + editor.commands.add('paragraph', new ParagraphCommand(editor)); + editor.commands.add('insertParagraph', new InsertParagraphCommand(editor)); + // Schema. + model.schema.register('paragraph', { inheritAllFrom: '$block' }); + editor.conversion.elementToElement({ model: 'paragraph', view: 'p' }); + // Conversion for paragraph-like elements which has not been converted by any plugin. + editor.conversion.for('upcast').elementToElement({ + model: (viewElement, { writer }) => { + if (!Paragraph.paragraphLikeElements.has(viewElement.name)) { + return null; + } + // Do not auto-paragraph empty elements. + if (viewElement.isEmpty) { + return null; + } + return writer.createElement('paragraph'); + }, + view: /.+/, + converterPriority: 'low' + }); + } +} +/** + * A list of element names which should be treated by the autoparagraphing algorithms as + * paragraph-like. This means that e.g. the following content: + * + * ```html + *

    Foo

    + * + * + * + * + * + *
    X + *
      + *
    • Y
    • + *
    • Z
    • + *
    + *
    + * ``` + * + * contains five paragraph-like elements: `

    `, two ``s and two `
  3. `s. + * Hence, if none of the features is going to convert those elements the above content will be automatically handled + * by the paragraph feature and converted to: + * + * ```html + *

    Foo

    + *

    X

    + *

    Y

    + *

    Z

    + * ``` + * + * Note: The `` containing two `
  4. ` elements was ignored as the innermost paragraph-like elements + * have a priority upon conversion. + */ +Paragraph.paragraphLikeElements = new Set([ + 'blockquote', + 'dd', + 'div', + 'dt', + 'h1', + 'h2', + 'h3', + 'h4', + 'h5', + 'h6', + 'li', + 'p', + 'td', + 'th' +]); +export default Paragraph; diff --git a/node_modules/@ckeditor/ckeditor5-paragraph/src/paragraphbuttonui.d.ts b/node_modules/@ckeditor/ckeditor5-paragraph/src/paragraphbuttonui.d.ts new file mode 100644 index 0000000..8f43805 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-paragraph/src/paragraphbuttonui.d.ts @@ -0,0 +1,36 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module paragraph/paragraphbuttonui + */ +import { Plugin } from '@ckeditor/ckeditor5-core'; +import Paragraph from './paragraph.js'; +/** + * This plugin defines the `'paragraph'` button. It can be used together with + * {@link module:heading/headingbuttonsui~HeadingButtonsUI} to replace the standard heading dropdown. + * + * This plugin is not loaded automatically by the {@link module:paragraph/paragraph~Paragraph} plugin. It must + * be added manually. + * + * ```ts + * ClassicEditor + * .create( { + * plugins: [ ..., Heading, Paragraph, HeadingButtonsUI, ParagraphButtonUI ] + * toolbar: [ 'paragraph', 'heading1', 'heading2', 'heading3' ] + * } ) + * .then( ... ) + * .catch( ... ); + * ``` + */ +export default class ParagraphButtonUI extends Plugin { + /** + * @inheritDoc + */ + static get requires(): readonly [typeof Paragraph]; + /** + * @inheritDoc + */ + init(): void; +} diff --git a/node_modules/@ckeditor/ckeditor5-paragraph/src/paragraphbuttonui.js b/node_modules/@ckeditor/ckeditor5-paragraph/src/paragraphbuttonui.js new file mode 100644 index 0000000..409abe1 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-paragraph/src/paragraphbuttonui.js @@ -0,0 +1,57 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module paragraph/paragraphbuttonui + */ +import { Plugin, icons } from '@ckeditor/ckeditor5-core'; +import { ButtonView } from '@ckeditor/ckeditor5-ui'; +import Paragraph from './paragraph.js'; +const icon = icons.paragraph; +/** + * This plugin defines the `'paragraph'` button. It can be used together with + * {@link module:heading/headingbuttonsui~HeadingButtonsUI} to replace the standard heading dropdown. + * + * This plugin is not loaded automatically by the {@link module:paragraph/paragraph~Paragraph} plugin. It must + * be added manually. + * + * ```ts + * ClassicEditor + * .create( { + * plugins: [ ..., Heading, Paragraph, HeadingButtonsUI, ParagraphButtonUI ] + * toolbar: [ 'paragraph', 'heading1', 'heading2', 'heading3' ] + * } ) + * .then( ... ) + * .catch( ... ); + * ``` + */ +export default class ParagraphButtonUI extends Plugin { + /** + * @inheritDoc + */ + static get requires() { + return [Paragraph]; + } + /** + * @inheritDoc + */ + init() { + const editor = this.editor; + const t = editor.t; + editor.ui.componentFactory.add('paragraph', locale => { + const view = new ButtonView(locale); + const command = editor.commands.get('paragraph'); + view.label = t('Paragraph'); + view.icon = icon; + view.tooltip = true; + view.isToggleable = true; + view.bind('isEnabled').to(command); + view.bind('isOn').to(command, 'value'); + view.on('execute', () => { + editor.execute('paragraph'); + }); + return view; + }); + } +} diff --git a/node_modules/@ckeditor/ckeditor5-paragraph/src/paragraphcommand.d.ts b/node_modules/@ckeditor/ckeditor5-paragraph/src/paragraphcommand.d.ts new file mode 100644 index 0000000..2d09028 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-paragraph/src/paragraphcommand.d.ts @@ -0,0 +1,38 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module paragraph/paragraphcommand + */ +import { Command, type Editor } from '@ckeditor/ckeditor5-core'; +import type { Selection, DocumentSelection } from '@ckeditor/ckeditor5-engine'; +/** + * The paragraph command. + */ +export default class ParagraphCommand extends Command { + constructor(editor: Editor); + /** + * The value of the command. Indicates whether the selection start is placed in a paragraph. + * + * @readonly + * @observable + */ + value: boolean; + /** + * @inheritDoc + */ + refresh(): void; + /** + * Executes the command. All the blocks (see {@link module:engine/model/schema~Schema}) in the selection + * will be turned to paragraphs. + * + * @fires execute + * @param options Options for the executed command. + * @param options.selection The selection that the command should be applied to. By default, + * if not provided, the command is applied to the {@link module:engine/model/document~Document#selection}. + */ + execute(options?: { + selection?: Selection | DocumentSelection; + }): void; +} diff --git a/node_modules/@ckeditor/ckeditor5-paragraph/src/paragraphcommand.js b/node_modules/@ckeditor/ckeditor5-paragraph/src/paragraphcommand.js new file mode 100644 index 0000000..702bf46 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-paragraph/src/paragraphcommand.js @@ -0,0 +1,64 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module paragraph/paragraphcommand + */ +import { Command } from '@ckeditor/ckeditor5-core'; +import { first } from '@ckeditor/ckeditor5-utils'; +/** + * The paragraph command. + */ +export default class ParagraphCommand extends Command { + constructor(editor) { + super(editor); + // Since this command may pass selection in execution block, it should be checked directly. + this._isEnabledBasedOnSelection = false; + } + /** + * @inheritDoc + */ + refresh() { + const model = this.editor.model; + const document = model.document; + const block = first(document.selection.getSelectedBlocks()); + this.value = !!block && block.is('element', 'paragraph'); + this.isEnabled = !!block && checkCanBecomeParagraph(block, model.schema); + } + /** + * Executes the command. All the blocks (see {@link module:engine/model/schema~Schema}) in the selection + * will be turned to paragraphs. + * + * @fires execute + * @param options Options for the executed command. + * @param options.selection The selection that the command should be applied to. By default, + * if not provided, the command is applied to the {@link module:engine/model/document~Document#selection}. + */ + execute(options = {}) { + const model = this.editor.model; + const document = model.document; + const selection = options.selection || document.selection; + // Don't execute command if selection is in non-editable place. + if (!model.canEditAt(selection)) { + return; + } + model.change(writer => { + const blocks = selection.getSelectedBlocks(); + for (const block of blocks) { + if (!block.is('element', 'paragraph') && checkCanBecomeParagraph(block, model.schema)) { + writer.rename(block, 'paragraph'); + } + } + }); + } +} +/** + * Checks whether the given block can be replaced by a paragraph. + * + * @param block A block to be tested. + * @param schema The schema of the document. + */ +function checkCanBecomeParagraph(block, schema) { + return schema.checkChild(block.parent, 'paragraph') && !schema.isObject(block); +} diff --git a/node_modules/@ckeditor/ckeditor5-paste-from-office/CHANGELOG.md b/node_modules/@ckeditor/ckeditor5-paste-from-office/CHANGELOG.md new file mode 100644 index 0000000..a408cbe --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-paste-from-office/CHANGELOG.md @@ -0,0 +1,94 @@ +Changelog +========= + +All changes in the package are documented in the main repository. See: https://github.com/ckeditor/ckeditor5/blob/master/CHANGELOG.md. + +Changes for the past releases are available below. + +## [19.0.0](https://github.com/ckeditor/ckeditor5-paste-from-office/compare/v18.0.0...v19.0.0) (April 29, 2020) + +Internal changes only (updated dependencies, documentation, etc.). + + +## [18.0.0](https://github.com/ckeditor/ckeditor5-paste-from-office/compare/v17.0.0...v18.0.0) (March 19, 2020) + +### Features + +* Added support for basic list indentation when pasting from Microsoft Word. Closes [ckeditor/ckeditor5#2518](https://github.com/ckeditor/ckeditor5/issues/2518). ([58ae829](https://github.com/ckeditor/ckeditor5-paste-from-office/commit/58ae829)) + + Thanks to [gjhenrique](https://github.com/gjhenrique) for the contribution! + + +## [17.0.0](https://github.com/ckeditor/ckeditor5-paste-from-office/compare/v16.0.0...v17.0.0) (February 19, 2020) + +Internal changes only (updated dependencies, documentation, etc.). + + +## [16.0.0](https://github.com/ckeditor/ckeditor5-paste-from-office/compare/v15.0.0...v16.0.0) (December 4, 2019) + +### Bug fixes + +* Fixed handling `mso-list:normal`. Closes [ckeditor/ckeditor5#5712](https://github.com/ckeditor/ckeditor5/issues/5712). ([2054e69](https://github.com/ckeditor/ckeditor5-paste-from-office/commit/2054e69)) + + Thanks [@bendemboski](https://github.com/bendemboski)! +* Fixed various issues with oddly formatted space run spans. ([2cd7b0f](https://github.com/ckeditor/ckeditor5-paste-from-office/commit/2cd7b0f)) + + +## [15.0.0](https://github.com/ckeditor/ckeditor5-paste-from-office/compare/v11.1.0...v15.0.0) (October 23, 2019) + +### Other changes + +* Remove the `fixListIndentation()` filter in favor of improved list converters fix. See [ckeditor/ckeditor5-list#115](https://github.com/ckeditor/ckeditor5-list/issues/115). ([d594038](https://github.com/ckeditor/ckeditor5-paste-from-office/commit/d594038)) + + +## [11.1.0](https://github.com/ckeditor/ckeditor5-paste-from-office/compare/v11.0.4...v11.1.0) (August 26, 2019) + +### Features + +* Prevent making entire content pasted from Google Docs bold. Closes [#61](https://github.com/ckeditor/ckeditor5-paste-from-office/issues/61). ([8102de3](https://github.com/ckeditor/ckeditor5-paste-from-office/commit/8102de3)) +* Provide support for pasting lists from Google Docs. Closes [#69](https://github.com/ckeditor/ckeditor5-paste-from-office/issues/69). ([6ad2a62](https://github.com/ckeditor/ckeditor5-paste-from-office/commit/6ad2a62)) + +### Other changes + +* The issue tracker for this package was moved to https://github.com/ckeditor/ckeditor5/issues. See [ckeditor/ckeditor5#1988](https://github.com/ckeditor/ckeditor5/issues/1988). ([22edb90](https://github.com/ckeditor/ckeditor5-paste-from-office/commit/22edb90)) + + +## [11.0.4](https://github.com/ckeditor/ckeditor5-paste-from-office/compare/v11.0.3...v11.0.4) (July 10, 2019) + +Internal changes only (updated dependencies, documentation, etc.). + + +## [11.0.3](https://github.com/ckeditor/ckeditor5-paste-from-office/compare/v11.0.2...v11.0.3) (July 4, 2019) + +Internal changes only (updated dependencies, documentation, etc.). + + +## [11.0.2](https://github.com/ckeditor/ckeditor5-paste-from-office/compare/v11.0.1...v11.0.2) (June 6, 2019) + +### Other changes + +* Loosen a dependency of a clipboard plugin in the paste from Office plugin so that it can be overridden. Closes [#56](https://github.com/ckeditor/ckeditor5-paste-from-office/issues/56). ([561f22b](https://github.com/ckeditor/ckeditor5-paste-from-office/commit/561f22b)) + + +## [11.0.1](https://github.com/ckeditor/ckeditor5-paste-from-office/compare/v11.0.0...v11.0.1) (April 4, 2019) + +Internal changes only (updated dependencies, documentation, etc.). + + +## [11.0.0](https://github.com/ckeditor/ckeditor5-paste-from-office/compare/v10.0.0...v11.0.0) (February 28, 2019) + +### Bug fixes + +* Ensured correct lists ordering for separate list items with the same `mso-list` id. Closes [#43](https://github.com/ckeditor/ckeditor5-paste-from-office/issues/43). ([4ebc363](https://github.com/ckeditor/ckeditor5-paste-from-office/commit/4ebc363)) +* Handle "spacerun spans" with mixed whitespaces. Closes [#49](https://github.com/ckeditor/ckeditor5-paste-from-office/issues/49). Closes [#50](https://github.com/ckeditor/ckeditor5-paste-from-office/issues/50). ([7fb132f](https://github.com/ckeditor/ckeditor5-paste-from-office/commit/7fb132f)) + + Huge thanks to [Matt Kobs](https://github.com/kobsy) for this contribution! + +### BREAKING CHANGES + +* Upgraded minimal versions of Node to `8.0.0` and npm to `5.7.1`. See: [ckeditor/ckeditor5#1507](https://github.com/ckeditor/ckeditor5/issues/1507). ([612ea3c](https://github.com/ckeditor/ckeditor5-cloud-services/commit/612ea3c)) + + +## [10.0.0](https://github.com/ckeditor/ckeditor5-paste-from-office/tree/v10.0.0) (December 5, 2018) + +Initial implementation of the Paste from Office feature. diff --git a/node_modules/@ckeditor/ckeditor5-paste-from-office/LICENSE.md b/node_modules/@ckeditor/ckeditor5-paste-from-office/LICENSE.md new file mode 100644 index 0000000..31458db --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-paste-from-office/LICENSE.md @@ -0,0 +1,17 @@ +Software License Agreement +========================== + +**CKEditor 5 paste from Office feature** – https://github.com/ckeditor/ckeditor5-paste-from-office
    +Copyright (c) 2003–2024, [CKSource Holding sp. z o.o.](https://cksource.com) All rights reserved. + +Licensed under the terms of [GNU General Public License Version 2 or later](http://www.gnu.org/licenses/gpl.html). + +Sources of Intellectual Property Included in CKEditor +----------------------------------------------------- + +Where not otherwise indicated, all CKEditor content is authored by CKSource engineers and consists of CKSource-owned intellectual property. In some specific instances, CKEditor will incorporate work done by developers outside of CKSource with their express permission. + +Trademarks +---------- + +**CKEditor** is a trademark of [CKSource Holding sp. z o.o.](https://cksource.com) All other brand and product names are trademarks, registered trademarks, or service marks of their respective holders. diff --git a/node_modules/@ckeditor/ckeditor5-paste-from-office/README.md b/node_modules/@ckeditor/ckeditor5-paste-from-office/README.md new file mode 100644 index 0000000..45601db --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-paste-from-office/README.md @@ -0,0 +1,22 @@ +CKEditor 5 paste from Office feature +================================== + +[![npm version](https://badge.fury.io/js/%40ckeditor%2Fckeditor5-paste-from-office.svg)](https://www.npmjs.com/package/@ckeditor/ckeditor5-paste-from-office) +[![Coverage Status](https://coveralls.io/repos/github/ckeditor/ckeditor5/badge.svg?branch=master)](https://coveralls.io/github/ckeditor/ckeditor5?branch=master) +[![Build Status](https://travis-ci.com/ckeditor/ckeditor5.svg?branch=master)](https://app.travis-ci.com/github/ckeditor/ckeditor5) + +This package implements the [paste from Office](https://docs.ckeditor.com/ckeditor5/latest/features/paste-from-office.html) feature for CKEditor 5. + +Paste from Office allows copying content from Microsoft Word without losing any formatting. + +## Demo + +Check out the demos for the [paste from office](https://ckeditor.com/docs/ckeditor5/latest/features/pasting/paste-from-office.html#demo) and [paste from Google Docs](https://ckeditor.com/docs/ckeditor5/latest/features/pasting/paste-from-google-docs.html#demo) features. + +## Documentation + +See the [`@ckeditor/ckeditor5-paste-from-office` package](https://docs.ckeditor.com/ckeditor5/latest/api/paste-from-office.html) page in [CKEditor 5 documentation](https://docs.ckeditor.com/ckeditor5/latest/). + +## License + +Licensed under the terms of [GNU General Public License Version 2 or later](http://www.gnu.org/licenses/gpl.html). For full details about the license, please check the `LICENSE.md` file or [https://ckeditor.com/legal/ckeditor-oss-license](https://ckeditor.com/legal/ckeditor-oss-license). diff --git a/node_modules/@ckeditor/ckeditor5-paste-from-office/build/paste-from-office.js b/node_modules/@ckeditor/ckeditor5-paste-from-office/build/paste-from-office.js new file mode 100644 index 0000000..e136a18 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-paste-from-office/build/paste-from-office.js @@ -0,0 +1,4 @@ +/*! + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md. + */(()=>{var e={331:(e,t,n)=>{e.exports=n(237)("./src/clipboard.js")},782:(e,t,n)=>{e.exports=n(237)("./src/core.js")},783:(e,t,n)=>{e.exports=n(237)("./src/engine.js")},237:e=>{"use strict";e.exports=CKEditor5.dll}},t={};function n(r){var s=t[r];if(void 0!==s)return s.exports;var i=t[r]={exports:{}};return e[r](i,i.exports,n),i.exports}n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var r={};(()=>{"use strict";n.r(r),n.d(r,{MSWordNormalizer:()=>x,PasteFromOffice:()=>P,parseHtml:()=>M});var e=n(782),t=n(331),s=n(783);function i(e){return void 0!==e&&e.endsWith("px")}function o(e){return e.toFixed(2).replace(/\.?0+$/,"")+"px"}function l(e,t,n){if(!e.childCount)return;const r=new s.UpcastWriter(e.document),l=function(e,t){const n=t.createRangeIn(e),r=[],s=new Set;for(const e of n.getItems()){if(!e.is("element")||!e.name.match(/^(p|h\d+|li|div)$/))continue;let t=g(e);if(void 0===t||0!=parseFloat(t)||Array.from(e.getClassNames()).find((e=>e.startsWith("MsoList")))||(t=void 0),e.hasStyle("mso-list")||void 0!==t&&s.has(t)){const n=f(e);r.push({element:e,id:n.id,order:n.order,indent:n.indent,marginLeft:t}),void 0!==t&&s.add(t)}else s.clear()}return r}(e,r);if(!l.length)return;const a={},u=[];for(const e of l)if(void 0!==e.indent){c(e)||(u.length=0);const s=`${e.id}:${e.indent}`,l=Math.min(e.indent-1,u.length);if(lu.length-1||u[l].listElement.name!=c.type){0==l&&"ol"==c.type&&void 0!==e.id&&a[s]&&(c.startIndex=a[s]);const t=d(c,r,n);if(i(e.marginLeft)&&(0==l||i(u[l-1].marginLeft))){let n=e.marginLeft;l>0&&(n=o(parseFloat(n)-parseFloat(u[l-1].marginLeft))),r.setStyle("padding-left",n,t)}if(0==u.length){const n=e.element.parent,s=n.getChildIndex(e.element)+1;r.insertChild(s,t,n)}else{const e=u[l-1].listItemElements;r.appendChild(t,e[e.length-1])}u[l]={...e,listElement:t,listItemElements:[]},0==l&&void 0!==e.id&&(a[s]=c.startIndex||1)}}const f="li"==e.element.name?e.element:r.createElement("li");r.appendChild(f,u[l].listElement),u[l].listItemElements.push(f),0==l&&void 0!==e.id&&a[s]++,e.element!=f&&r.appendChild(e.element,f),p(e.element,r),r.removeStyle("text-indent",e.element),r.removeStyle("margin-left",e.element)}else{const t=u.find((t=>t.marginLeft==e.marginLeft));if(t){const n=t.listItemElements;r.appendChild(e.element,n[n.length-1]),r.removeStyle("margin-left",e.element)}else u.length=0}}function c(e){const t=e.element.previousSibling;return a(t||e.element.parent)}function a(e){return e.is("element","ol")||e.is("element","ul")}function m(e,t){const n=new RegExp(`@list l${e.id}:level${e.indent}\\s*({[^}]*)`,"gi"),r=/mso-level-number-format:([^;]{0,100});/gi,s=/mso-level-start-at:\s{0,100}([0-9]{0,10})\s{0,100};/gi,i=new RegExp(`@list\\s+l${e.id}:level\\d\\s*{[^{]*mso-level-text:"%\\d\\\\.`,"gi"),o=new RegExp(`@list l${e.id}:level\\d\\s*{[^{]*mso-level-number-format:`,"gi"),l=i.exec(t),c=o.exec(t),a=l&&!c,m=n.exec(t);let d="decimal",f="ol",p=null;if(m&&m[1]){const t=r.exec(m[1]);if(t&&t[1]&&(d=t[1].trim(),f="bullet"!==d&&"image"!==d?"ol":"ul"),"bullet"===d){const t=function(e){if("li"==e.name&&"ul"==e.parent.name&&e.parent.hasAttribute("type"))return e.parent.getAttribute("type");const t=function(e){if(e.getChild(0).is("$text"))return null;for(const t of e.getChildren()){if(!t.is("element","span"))continue;const e=t.getChild(0);if(e)return e.is("$text")?e:e.getChild(0)}return null}(e);if(!t)return null;const n=t._data;if("o"===n)return"circle";if("·"===n)return"disc";if("§"===n)return"square";return null}(e.element);t&&(d=t)}else{const e=s.exec(m[1]);e&&e[1]&&(p=parseInt(e[1]))}a&&(f="ol")}return{type:f,startIndex:p,style:u(d),isLegalStyleList:a}}function u(e){if(e.startsWith("arabic-leading-zero"))return"decimal-leading-zero";switch(e){case"alpha-upper":return"upper-alpha";case"alpha-lower":return"lower-alpha";case"roman-upper":return"upper-roman";case"roman-lower":return"lower-roman";case"circle":case"disc":case"square":return e;default:return null}}function d(e,t,n){const r=t.createElement(e.type);return e.style&&t.setStyle("list-style-type",e.style,r),e.startIndex&&e.startIndex>1&&t.setAttribute("start",e.startIndex,r),e.isLegalStyleList&&n&&t.addClass("legal-list",r),r}function f(e){const t=e.getStyle("mso-list");if(void 0===t)return{};const n=t.match(/(^|\s{1,100})l(\d+)/i),r=t.match(/\s{0,100}lfo(\d+)/i),s=t.match(/\s{0,100}level(\d+)/i);return n&&r&&s?{id:n[2],order:r[1],indent:parseInt(s[1])}:{indent:1}}function p(e,t){const n=new s.Matcher({name:"span",styles:{"mso-list":"Ignore"}}),r=t.createRangeIn(e);for(const e of r)"elementStart"===e.type&&n.match(e.item)&&t.remove(e.item)}function g(e){const t=e.getStyle("margin-left");return void 0===t||t.endsWith("px")?t:function(e){const t=parseFloat(e);return e.endsWith("pt")?o(96*t/72):e.endsWith("pc")?o(12*t*96/72):e.endsWith("in")?o(96*t):e.endsWith("cm")?o(96*t/2.54):e.endsWith("mm")?o(t/10*96/2.54):e}(t)}function h(e,t){if(!e.childCount)return;const n=new s.UpcastWriter(e.document),r=function(e,t){const n=t.createRangeIn(e),r=new s.Matcher({name:/v:(.+)/}),i=[];for(const e of n){if("elementStart"!=e.type)continue;const t=e.item,n=t.previousSibling,s=n&&n.is("element")?n.name:null,o=["Chart"],l=r.match(t),c=t.getAttribute("o:gfxdata"),a="v:shapetype"===s,m=c&&o.some((e=>t.getAttribute("id").includes(e)));l&&c&&!a&&!m&&i.push(e.item.getAttribute("id"))}return i}(e,n);!function(e,t,n){const r=n.createRangeIn(t),i=new s.Matcher({name:"img"}),o=[];for(const t of r)if(t.item.is("element")&&i.match(t.item)){const n=t.item,r=n.getAttribute("v:shapes")?n.getAttribute("v:shapes").split(" "):[];r.length&&r.every((t=>e.indexOf(t)>-1))?o.push(n):n.getAttribute("src")||o.push(n)}for(const e of o)n.remove(e)}(r,e,n),function(e,t,n){const r=n.createRangeIn(t),s=[];for(const t of r)if("elementStart"==t.type&&t.item.is("element","v:shape")){const n=t.item.getAttribute("id");if(e.includes(n))continue;i(t.item.parent.getChildren(),n)||s.push(t.item)}for(const e of s){const t={src:o(e)};e.hasAttribute("alt")&&(t.alt=e.getAttribute("alt"));const r=n.createElement("img",t);n.insertChild(e.index+1,r,e.parent)}function i(e,t){for(const n of e)if(n.is("element")){if("img"==n.name&&n.getAttribute("v:shapes")==t)return!0;if(i(n.getChildren(),t))return!0}return!1}function o(e){for(const t of e.getChildren())if(t.is("element")&&t.getAttribute("src"))return t.getAttribute("src")}}(r,e,n),function(e,t){const n=t.createRangeIn(e),r=new s.Matcher({name:/v:(.+)/}),i=[];for(const e of n)"elementStart"==e.type&&r.match(e.item)&&i.push(e.item);for(const e of i)t.remove(e)}(e,n);const i=function(e,t){const n=t.createRangeIn(e),r=new s.Matcher({name:"img"}),i=[];for(const e of n)e.item.is("element")&&r.match(e.item)&&e.item.getAttribute("src").startsWith("file://")&&i.push(e.item);return i}(e,n);i.length&&function(e,t,n){if(e.length===t.length)for(let r=0;rString.fromCharCode(parseInt(e,16)))).join(""))}const b=//i,v=/xmlns:o="urn:schemas-microsoft-com/i;class x{constructor(e,t=!1){this.document=e,this.hasMultiLevelListPlugin=t}isActive(e){return b.test(e)||v.test(e)}execute(e){const{body:t,stylesString:n}=e._parsedData;l(t,n,this.hasMultiLevelListPlugin),h(t,e.dataTransfer.getData("text/rtf")),function(e){const t=[],n=new s.UpcastWriter(e.document);for(const{item:r}of n.createRangeIn(e))if(r.is("element")){for(const e of r.getClassNames())/\bmso/gi.exec(e)&&n.removeClass(e,r);for(const e of r.getStyleNames())/\bmso/gi.exec(e)&&n.removeStyle(e,r);(r.is("element","w:sdt")||r.is("element","w:sdtpr")&&r.isEmpty||r.is("element","o:p")&&r.isEmpty)&&t.push(r)}for(const e of t){const t=e.parent,r=t.getChildIndex(e);n.insertChild(r,e.getChildren(),t),n.remove(e)}}(t),e.content=t}}function w(e,t,n,{blockElements:r,inlineObjectElements:s}){let i=n.createPositionAt(e,"forward"==t?"after":"before");return i=i.getLastMatchingPosition((({item:e})=>e.is("element")&&!r.includes(e.name)&&!s.includes(e.name)),{direction:t}),"forward"==t?i.nodeAfter:i.nodeBefore}function C(e,t){return!!e&&e.is("element")&&t.includes(e.name)}const S=/id=("|')docs-internal-guid-[-0-9a-f]+("|')/i;class A{constructor(e){this.document=e}isActive(e){return S.test(e)}execute(e){const t=new s.UpcastWriter(this.document),{body:n}=e._parsedData;!function(e,t){for(const n of e.getChildren())if(n.is("element","b")&&"normal"===n.getStyle("font-weight")){const r=e.getChildIndex(n);t.remove(n),t.insertChild(r,n.getChildren(),e)}}(n,t),function(e,t){for(const n of t.createRangeIn(e)){const e=n.item;if(e.is("element","li")){const n=e.getChild(0);n&&n.is("element","p")&&t.unwrapElement(n)}}}(n,t),function(e,t){const n=new s.ViewDocument(t.document.stylesProcessor),r=new s.DomConverter(n,{renderingMode:"data"}),i=r.blockElements,o=r.inlineObjectElements,l=[];for(const n of t.createRangeIn(e)){const e=n.item;if(e.is("element","br")){const n=w(e,"forward",t,{blockElements:i,inlineObjectElements:o}),r=w(e,"backward",t,{blockElements:i,inlineObjectElements:o}),s=C(n,i);(C(r,i)||s)&&l.push(e)}}for(const e of l)e.hasClass("Apple-interchange-newline")?t.remove(e):t.replace(e,t.createElement("p"))}(n,t),e.content=n}}const E=/(\s+)<\/span>/g,((e,t)=>1===t.length?" ":Array(t.length+1).join("  ").substr(0,t.length)))}function M(e,t){const n=new DOMParser,r=function(e){return L(L(e)).replace(/([^\S\r\n]*?)[\r\n]+([^\S\r\n]*<\/span>)/g,"$1$2").replace(/<\/span>/g,"").replace(/()[\r\n]+(<\/span>)/g,"$1 $2").replace(/ <\//g," <\/o:p>/g," ").replace(/( |\u00A0)<\/o:p>/g,"").replace(/>([^\S\r\n]*[\r\n]\s*)<")}(function(e){const t="",n="",r=e.indexOf(t);if(r<0)return e;const s=e.indexOf(n,r+t.length);return e.substring(0,r+t.length)+(s>=0?e.substring(s):"")}(e=(e=e.replace(/

    [

    ]

    -->

    + // starting content --> after `modifySelection` --> after `deleteContent`. + const doNotResetEntireContent = selection.isCollapsed; + // Try to extend the selection in the specified direction. + if (selection.isCollapsed) { + model.modifySelection(selection, { + direction: this.direction, + unit: options.unit, + treatEmojiAsSingleUnit: true + }); + } + // Check if deleting in an empty editor. See #61. + if (this._shouldEntireContentBeReplacedWithParagraph(sequence)) { + this._replaceEntireContentWithParagraph(writer); + return; + } + // Check if deleting in the first empty block. + // See https://github.com/ckeditor/ckeditor5/issues/8137. + if (this._shouldReplaceFirstBlockWithParagraph(selection, sequence)) { + this.editor.execute('paragraph', { selection }); + return; + } + // If selection is still collapsed, then there's nothing to delete. + if (selection.isCollapsed) { + return; + } + let changeCount = 0; + selection.getFirstRange().getMinimalFlatRanges().forEach(range => { + changeCount += count(range.getWalker({ singleCharacters: true, ignoreElementEnd: true, shallow: true })); + }); + // @if CK_DEBUG_TYPING // if ( ( window as any ).logCKETyping ) { + // @if CK_DEBUG_TYPING // console.log( '%c[DeleteCommand]%c Delete content', + // @if CK_DEBUG_TYPING // 'font-weight: bold; color: green;', '', + // @if CK_DEBUG_TYPING // `[${ selection.getFirstPosition()!.path }]-[${ selection.getLastPosition()!.path }]`, options + // @if CK_DEBUG_TYPING // ); + // @if CK_DEBUG_TYPING // } + model.deleteContent(selection, { + doNotResetEntireContent, + direction: this.direction + }); + this._buffer.input(changeCount); + writer.setSelection(selection); + this._buffer.unlock(); + }); + } + /** + * If the user keeps Backspace or Delete key pressed, the content of the current + * editable will be cleared. However, this will not yet lead to resetting the remaining block to a paragraph + * (which happens e.g. when the user does Ctrl + A, Backspace). + * + * But, if the user pressed the key in an empty editable for the first time, + * we want to replace the entire content with a paragraph if: + * + * * the current limit element is empty, + * * the paragraph is allowed in the limit element, + * * the limit doesn't already have a paragraph inside. + * + * See https://github.com/ckeditor/ckeditor5-typing/issues/61. + * + * @param sequence A number describing which subsequent delete event it is without the key being released. + */ + _shouldEntireContentBeReplacedWithParagraph(sequence) { + // Does nothing if user pressed and held the "Backspace" or "Delete" key. + if (sequence > 1) { + return false; + } + const model = this.editor.model; + const doc = model.document; + const selection = doc.selection; + const limitElement = model.schema.getLimitElement(selection); + // If a collapsed selection contains the whole content it means that the content is empty + // (from the user perspective). + const limitElementIsEmpty = selection.isCollapsed && selection.containsEntireContent(limitElement); + if (!limitElementIsEmpty) { + return false; + } + if (!model.schema.checkChild(limitElement, 'paragraph')) { + return false; + } + const limitElementFirstChild = limitElement.getChild(0); + // Does nothing if the limit element already contains only a paragraph. + // We ignore the case when paragraph might have some inline elements (

    []

    ) + // because we don't support such cases yet and it's unclear whether inlineWidget shouldn't be a limit itself. + if (limitElementFirstChild && limitElementFirstChild.is('element', 'paragraph')) { + return false; + } + return true; + } + /** + * The entire content is replaced with the paragraph. Selection is moved inside the paragraph. + * + * @param writer The model writer. + */ + _replaceEntireContentWithParagraph(writer) { + const model = this.editor.model; + const doc = model.document; + const selection = doc.selection; + const limitElement = model.schema.getLimitElement(selection); + const paragraph = writer.createElement('paragraph'); + writer.remove(writer.createRangeIn(limitElement)); + writer.insert(paragraph, limitElement); + writer.setSelection(paragraph, 0); + } + /** + * Checks if the selection is inside an empty element that is the first child of the limit element + * and should be replaced with a paragraph. + * + * @param selection The selection. + * @param sequence A number describing which subsequent delete event it is without the key being released. + */ + _shouldReplaceFirstBlockWithParagraph(selection, sequence) { + const model = this.editor.model; + // Does nothing if user pressed and held the "Backspace" key or it was a "Delete" button. + if (sequence > 1 || this.direction != 'backward') { + return false; + } + if (!selection.isCollapsed) { + return false; + } + const position = selection.getFirstPosition(); + const limitElement = model.schema.getLimitElement(position); + const limitElementFirstChild = limitElement.getChild(0); + // Only elements that are direct children of the limit element can be replaced. + // Unwrapping from a block quote should be handled in a dedicated feature. + if (position.parent != limitElementFirstChild) { + return false; + } + // A block should be replaced only if it was empty. + if (!selection.containsEntireContent(limitElementFirstChild)) { + return false; + } + // Replace with a paragraph only if it's allowed there. + if (!model.schema.checkChild(limitElement, 'paragraph')) { + return false; + } + // Does nothing if the limit element already contains only a paragraph. + if (limitElementFirstChild.name == 'paragraph') { + return false; + } + return true; + } +} diff --git a/node_modules/@ckeditor/ckeditor5-typing/src/deleteobserver.d.ts b/node_modules/@ckeditor/ckeditor5-typing/src/deleteobserver.d.ts new file mode 100644 index 0000000..a407ab6 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-typing/src/deleteobserver.d.ts @@ -0,0 +1,55 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +import { DomEventData, Observer, type BubblingEvent, type ViewDocumentSelection, type ViewSelection, type EditingView } from '@ckeditor/ckeditor5-engine'; +/** + * Delete observer introduces the {@link module:engine/view/document~Document#event:delete} event. + */ +export default class DeleteObserver extends Observer { + /** + * @inheritDoc + */ + constructor(view: EditingView); + /** + * @inheritDoc + */ + observe(): void; + /** + * @inheritDoc + */ + stopObserving(): void; +} +/** + * Event fired when the user tries to delete content (e.g. presses Delete or Backspace). + * + * Note: This event is fired by the {@link module:typing/deleteobserver~DeleteObserver delete observer} + * (usually registered by the {@link module:typing/delete~Delete delete feature}). + * + * @eventName module:engine/view/document~Document#delete + * @param data The event data. + */ +export type ViewDocumentDeleteEvent = BubblingEvent<{ + name: 'delete'; + args: [data: DeleteEventData]; +}>; +export interface DeleteEventData extends DomEventData { + /** + * The direction in which the deletion should happen. + */ + direction: 'backward' | 'forward'; + /** + * The "amount" of content that should be deleted. + */ + unit: 'selection' | 'codePoint' | 'character' | 'word'; + /** + * A number describing which subsequent delete event it is without the key being released. + * If it's 2 or more it means that the key was pressed and hold. + */ + sequence: number; + /** + * View selection which content should be removed. If not set, + * current selection should be used. + */ + selectionToRemove?: ViewSelection | ViewDocumentSelection; +} diff --git a/node_modules/@ckeditor/ckeditor5-typing/src/deleteobserver.js b/node_modules/@ckeditor/ckeditor5-typing/src/deleteobserver.js new file mode 100644 index 0000000..ad9d88e --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-typing/src/deleteobserver.js @@ -0,0 +1,261 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module typing/deleteobserver + */ +import { env, keyCodes, isInsideCombinedSymbol, isInsideEmojiSequence, isInsideSurrogatePair } from '@ckeditor/ckeditor5-utils'; +import { BubblingEventInfo, DomEventData, Observer } from '@ckeditor/ckeditor5-engine'; +const DELETE_CHARACTER = 'character'; +const DELETE_WORD = 'word'; +const DELETE_CODE_POINT = 'codePoint'; +const DELETE_SELECTION = 'selection'; +const DELETE_BACKWARD = 'backward'; +const DELETE_FORWARD = 'forward'; +const DELETE_EVENT_TYPES = { + // --------------------------------------- Backward delete types ----------------------------------------------------- + // This happens in Safari on Mac when some content is selected and Ctrl + K is pressed. + deleteContent: { + unit: DELETE_SELECTION, + // According to the Input Events Level 2 spec, this delete type has no direction + // but to keep things simple, let's default to backward. + direction: DELETE_BACKWARD + }, + // Chrome and Safari on Mac: Backspace or Ctrl + H + deleteContentBackward: { + // This kind of deletions must be done on the code point-level instead of target range provided by the DOM beforeinput event. + // Take for instance "👨‍👩‍👧‍👧", it equals: + // + // * [ "👨", "ZERO WIDTH JOINER", "👩", "ZERO WIDTH JOINER", "👧", "ZERO WIDTH JOINER", "👧" ] + // * or simply "\u{1F468}\u200D\u{1F469}\u200D\u{1F467}\u200D\u{1F467}" + // + // The range provided by the browser would cause the entire multi-byte grapheme to disappear while the user + // intention when deleting backwards ("👨‍👩‍👧‍👧[]", then backspace) is gradual "decomposition" (first to "👨‍👩‍👧‍[]", + // then to "👨‍👩‍[]", etc.). + // + // * "👨‍👩‍👧‍👧[]" + backward delete (by code point) -> results in "👨‍👩‍👧[]", removed the last "👧" 👍 + // * "👨‍👩‍👧‍👧[]" + backward delete (by character) -> results in "[]", removed the whole grapheme 👎 + // + // Deleting by code-point is simply a better UX. See "deleteContentForward" to learn more. + unit: DELETE_CODE_POINT, + direction: DELETE_BACKWARD + }, + // On Mac: Option + Backspace. + // On iOS: Hold the backspace for a while and the whole words will start to disappear. + deleteWordBackward: { + unit: DELETE_WORD, + direction: DELETE_BACKWARD + }, + // Safari on Mac: Cmd + Backspace + deleteHardLineBackward: { + unit: DELETE_SELECTION, + direction: DELETE_BACKWARD + }, + // Chrome on Mac: Cmd + Backspace. + deleteSoftLineBackward: { + unit: DELETE_SELECTION, + direction: DELETE_BACKWARD + }, + // --------------------------------------- Forward delete types ----------------------------------------------------- + // Chrome on Mac: Fn + Backspace or Ctrl + D + // Safari on Mac: Ctrl + K or Ctrl + D + deleteContentForward: { + // Unlike backward delete, this delete must be performed by character instead of by code point, which + // provides the best UX for working with accented letters. + // Take, for example "b̂" ("\u0062\u0302", or [ "LATIN SMALL LETTER B", "COMBINING CIRCUMFLEX ACCENT" ]): + // + // * "b̂[]" + backward delete (by code point) -> results in "b[]", removed the combining mark 👍 + // * "[]b̂" + forward delete (by code point) -> results in "[]^", a bare combining mark does that not make sense when alone 👎 + // * "[]b̂" + forward delete (by character) -> results in "[]", removed both "b" and the combining mark 👍 + // + // See: "deleteContentBackward" to learn more. + unit: DELETE_CHARACTER, + direction: DELETE_FORWARD + }, + // On Mac: Fn + Option + Backspace. + deleteWordForward: { + unit: DELETE_WORD, + direction: DELETE_FORWARD + }, + // Chrome on Mac: Ctrl + K (you have to disable the Link plugin first, though, because it uses the same keystroke) + // This is weird that it does not work in Safari on Mac despite being listed in the official shortcuts listing + // on Apple's webpage. + deleteHardLineForward: { + unit: DELETE_SELECTION, + direction: DELETE_FORWARD + }, + // At this moment there is no known way to trigger this event type but let's keep it for the symmetry with + // deleteSoftLineBackward. + deleteSoftLineForward: { + unit: DELETE_SELECTION, + direction: DELETE_FORWARD + } +}; +/** + * Delete observer introduces the {@link module:engine/view/document~Document#event:delete} event. + */ +export default class DeleteObserver extends Observer { + /** + * @inheritDoc + */ + constructor(view) { + super(view); + const document = view.document; + // It matters how many subsequent deletions were made, e.g. when the backspace key was pressed and held + // by the user for some time. For instance, if such scenario ocurred and the heading the selection was + // anchored to was the only content of the editor, it will not be converted into a paragraph (the user + // wanted to clean it up, not remove it, it's about UX). Check out the DeleteCommand implementation to learn more. + // + // Fun fact: Safari on Mac won't fire beforeinput for backspace in an empty heading (only content). + let sequence = 0; + document.on('keydown', () => { + sequence++; + }); + document.on('keyup', () => { + sequence = 0; + }); + document.on('beforeinput', (evt, data) => { + if (!this.isEnabled) { + return; + } + const { targetRanges, domEvent, inputType } = data; + const deleteEventSpec = DELETE_EVENT_TYPES[inputType]; + if (!deleteEventSpec) { + return; + } + const deleteData = { + direction: deleteEventSpec.direction, + unit: deleteEventSpec.unit, + sequence + }; + if (deleteData.unit == DELETE_SELECTION) { + deleteData.selectionToRemove = view.createSelection(targetRanges[0]); + } + // The default deletion unit for deleteContentBackward is a single code point + // but if the browser provides a wider target range then we should use it. + if (inputType === 'deleteContentBackward') { + // On Android, deleteContentBackward has sequence 1 by default. + if (env.isAndroid) { + deleteData.sequence = 1; + } + // The beforeInput event wants more than a single character to be removed. + if (shouldUseTargetRanges(targetRanges)) { + deleteData.unit = DELETE_SELECTION; + deleteData.selectionToRemove = view.createSelection(targetRanges); + } + } + const eventInfo = new BubblingEventInfo(document, 'delete', targetRanges[0]); + document.fire(eventInfo, new DomEventData(view, domEvent, deleteData)); + // Stop the beforeinput event if `delete` event was stopped. + // https://github.com/ckeditor/ckeditor5/issues/753 + if (eventInfo.stop.called) { + evt.stop(); + } + }); + // TODO: to be removed when https://bugs.chromium.org/p/chromium/issues/detail?id=1365311 is solved. + if (env.isBlink) { + enableChromeWorkaround(this); + } + } + /** + * @inheritDoc + */ + observe() { } + /** + * @inheritDoc + */ + stopObserving() { } +} +/** + * Enables workaround for the issue https://github.com/ckeditor/ckeditor5/issues/11904. + */ +function enableChromeWorkaround(observer) { + const view = observer.view; + const document = view.document; + let pressedKeyCode = null; + let beforeInputReceived = false; + document.on('keydown', (evt, { keyCode }) => { + pressedKeyCode = keyCode; + beforeInputReceived = false; + }); + document.on('keyup', (evt, { keyCode, domEvent }) => { + const selection = document.selection; + const shouldFireDeleteEvent = observer.isEnabled && + keyCode == pressedKeyCode && + isDeleteKeyCode(keyCode) && + !selection.isCollapsed && + !beforeInputReceived; + pressedKeyCode = null; + if (shouldFireDeleteEvent) { + const targetRange = selection.getFirstRange(); + const eventInfo = new BubblingEventInfo(document, 'delete', targetRange); + const deleteData = { + unit: DELETE_SELECTION, + direction: getDeleteDirection(keyCode), + selectionToRemove: selection + }; + document.fire(eventInfo, new DomEventData(view, domEvent, deleteData)); + } + }); + document.on('beforeinput', (evt, { inputType }) => { + const deleteEventSpec = DELETE_EVENT_TYPES[inputType]; + const isMatchingBeforeInput = isDeleteKeyCode(pressedKeyCode) && + deleteEventSpec && + deleteEventSpec.direction == getDeleteDirection(pressedKeyCode); + if (isMatchingBeforeInput) { + beforeInputReceived = true; + } + }, { priority: 'high' }); + document.on('beforeinput', (evt, { inputType, data }) => { + const shouldIgnoreBeforeInput = pressedKeyCode == keyCodes.delete && + inputType == 'insertText' && + data == '\x7f'; // Delete character :P + if (shouldIgnoreBeforeInput) { + evt.stop(); + } + }, { priority: 'high' }); + function isDeleteKeyCode(keyCode) { + return keyCode == keyCodes.backspace || keyCode == keyCodes.delete; + } + function getDeleteDirection(keyCode) { + return keyCode == keyCodes.backspace ? DELETE_BACKWARD : DELETE_FORWARD; + } +} +/** + * Verifies whether the given target ranges cover more than a single character and should be used instead of a single code-point deletion. + */ +function shouldUseTargetRanges(targetRanges) { + // The collapsed target range could happen for example while deleting inside an inline filler + // (it's mapped to collapsed position before an inline filler). + if (targetRanges.length != 1 || targetRanges[0].isCollapsed) { + return false; + } + const walker = targetRanges[0].getWalker({ + direction: 'backward', + singleCharacters: true, + ignoreElementEnd: true + }); + let count = 0; + for (const { nextPosition } of walker) { + // There is some element in the range so count it as a single character. + if (!nextPosition.parent.is('$text')) { + count++; + } + else { + const data = nextPosition.parent.data; + const offset = nextPosition.offset; + // Count combined symbols and emoji sequences as a single character. + if (isInsideSurrogatePair(data, offset) || + isInsideCombinedSymbol(data, offset) || + isInsideEmojiSequence(data, offset)) { + continue; + } + count++; + } + if (count > 1) { + return true; + } + } + return false; +} diff --git a/node_modules/@ckeditor/ckeditor5-typing/src/index.d.ts b/node_modules/@ckeditor/ckeditor5-typing/src/index.d.ts new file mode 100644 index 0000000..b2693f0 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-typing/src/index.d.ts @@ -0,0 +1,24 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module typing + */ +export { default as Typing } from './typing.js'; +export { default as Input } from './input.js'; +export { default as Delete } from './delete.js'; +export { default as TextWatcher } from './textwatcher.js'; +export { default as TwoStepCaretMovement } from './twostepcaretmovement.js'; +export { default as TextTransformation } from './texttransformation.js'; +export { default as inlineHighlight } from './utils/inlinehighlight.js'; +export { default as findAttributeRange, findAttributeRangeBound } from './utils/findattributerange.js'; +export { default as getLastTextLine, type LastTextLineData } from './utils/getlasttextline.js'; +export { default as InsertTextCommand, type InsertTextCommandExecuteEvent } from './inserttextcommand.js'; +export type { default as DeleteCommand } from './deletecommand.js'; +export type { TypingConfig } from './typingconfig.js'; +export type { ViewDocumentDeleteEvent } from './deleteobserver.js'; +export type { ViewDocumentInsertTextEvent, InsertTextEventData } from './inserttextobserver.js'; +export type { TextWatcherMatchedEvent } from './textwatcher.js'; +export type { TextWatcherMatchedDataEvent } from './textwatcher.js'; +import './augmentation.js'; diff --git a/node_modules/@ckeditor/ckeditor5-typing/src/index.js b/node_modules/@ckeditor/ckeditor5-typing/src/index.js new file mode 100644 index 0000000..aedac40 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-typing/src/index.js @@ -0,0 +1,18 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module typing + */ +export { default as Typing } from './typing.js'; +export { default as Input } from './input.js'; +export { default as Delete } from './delete.js'; +export { default as TextWatcher } from './textwatcher.js'; +export { default as TwoStepCaretMovement } from './twostepcaretmovement.js'; +export { default as TextTransformation } from './texttransformation.js'; +export { default as inlineHighlight } from './utils/inlinehighlight.js'; +export { default as findAttributeRange, findAttributeRangeBound } from './utils/findattributerange.js'; +export { default as getLastTextLine } from './utils/getlasttextline.js'; +export { default as InsertTextCommand } from './inserttextcommand.js'; +import './augmentation.js'; diff --git a/node_modules/@ckeditor/ckeditor5-typing/src/input.d.ts b/node_modules/@ckeditor/ckeditor5-typing/src/input.d.ts new file mode 100644 index 0000000..ec65cba --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-typing/src/input.d.ts @@ -0,0 +1,21 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module typing/input + */ +import { Plugin } from '@ckeditor/ckeditor5-core'; +/** + * Handles text input coming from the keyboard or other input methods. + */ +export default class Input extends Plugin { + /** + * @inheritDoc + */ + static get pluginName(): "Input"; + /** + * @inheritDoc + */ + init(): void; +} diff --git a/node_modules/@ckeditor/ckeditor5-typing/src/input.js b/node_modules/@ckeditor/ckeditor5-typing/src/input.js new file mode 100644 index 0000000..20c2aca --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-typing/src/input.js @@ -0,0 +1,141 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module typing/input + */ +import { Plugin } from '@ckeditor/ckeditor5-core'; +import { env } from '@ckeditor/ckeditor5-utils'; +import InsertTextCommand from './inserttextcommand.js'; +import InsertTextObserver from './inserttextobserver.js'; +/** + * Handles text input coming from the keyboard or other input methods. + */ +export default class Input extends Plugin { + /** + * @inheritDoc + */ + static get pluginName() { + return 'Input'; + } + /** + * @inheritDoc + */ + init() { + const editor = this.editor; + const model = editor.model; + const view = editor.editing.view; + const modelSelection = model.document.selection; + view.addObserver(InsertTextObserver); + // TODO The above default configuration value should be defined using editor.config.define() once it's fixed. + const insertTextCommand = new InsertTextCommand(editor, editor.config.get('typing.undoStep') || 20); + // Register `insertText` command and add `input` command as an alias for backward compatibility. + editor.commands.add('insertText', insertTextCommand); + editor.commands.add('input', insertTextCommand); + this.listenTo(view.document, 'insertText', (evt, data) => { + // Rendering is disabled while composing so prevent events that will be rendered by the engine + // and should not be applied by the browser. + if (!view.document.isComposing) { + data.preventDefault(); + } + const { text, selection: viewSelection, resultRange: viewResultRange } = data; + // If view selection was specified, translate it to model selection. + const modelRanges = Array.from(viewSelection.getRanges()).map(viewRange => { + return editor.editing.mapper.toModelRange(viewRange); + }); + let insertText = text; + // Typing in English on Android is firing composition events for the whole typed word. + // We need to check the target range text to only apply the difference. + if (env.isAndroid) { + const selectedText = Array.from(modelRanges[0].getItems()).reduce((rangeText, node) => { + return rangeText + (node.is('$textProxy') ? node.data : ''); + }, ''); + if (selectedText) { + if (selectedText.length <= insertText.length) { + if (insertText.startsWith(selectedText)) { + insertText = insertText.substring(selectedText.length); + modelRanges[0].start = modelRanges[0].start.getShiftedBy(selectedText.length); + } + } + else { + if (selectedText.startsWith(insertText)) { + // TODO this should be mapped as delete? + modelRanges[0].start = modelRanges[0].start.getShiftedBy(insertText.length); + insertText = ''; + } + } + } + } + const insertTextCommandData = { + text: insertText, + selection: model.createSelection(modelRanges) + }; + // @if CK_DEBUG_TYPING // if ( ( window as any ).logCKETyping ) { + // @if CK_DEBUG_TYPING // console.log( '%c[Input]%c Execute insertText:', + // @if CK_DEBUG_TYPING // 'font-weight: bold; color: green;', '', + // @if CK_DEBUG_TYPING // insertText, + // @if CK_DEBUG_TYPING // `[${ modelRanges[ 0 ].start.path }]-[${ modelRanges[ 0 ].end.path }]` + // @if CK_DEBUG_TYPING // ); + // @if CK_DEBUG_TYPING // } + if (viewResultRange) { + insertTextCommandData.resultRange = editor.editing.mapper.toModelRange(viewResultRange); + } + editor.execute('insertText', insertTextCommandData); + view.scrollToTheSelection(); + }); + if (env.isAndroid) { + // On Android with English keyboard, the composition starts just by putting caret + // at the word end or by selecting a table column. This is not a real composition started. + // Trigger delete content on first composition key pressed. + this.listenTo(view.document, 'keydown', (evt, data) => { + if (modelSelection.isCollapsed || data.keyCode != 229 || !view.document.isComposing) { + return; + } + // @if CK_DEBUG_TYPING // if ( ( window as any ).logCKETyping ) { + // @if CK_DEBUG_TYPING // const firstPositionPath = modelSelection.getFirstPosition()!.path; + // @if CK_DEBUG_TYPING // const lastPositionPath = modelSelection.getLastPosition()!.path; + // @if CK_DEBUG_TYPING // console.log( '%c[Input]%c KeyDown 229 -> model.deleteContent()', + // @if CK_DEBUG_TYPING // 'font-weight: bold; color: green;', '', + // @if CK_DEBUG_TYPING // `[${ firstPositionPath }]-[${ lastPositionPath }]` + // @if CK_DEBUG_TYPING // ); + // @if CK_DEBUG_TYPING // } + deleteSelectionContent(model, insertTextCommand); + }); + } + else { + // Note: The priority must precede the CompositionObserver handler to call it before + // the renderer is blocked, because we want to render this change. + this.listenTo(view.document, 'compositionstart', () => { + if (modelSelection.isCollapsed) { + return; + } + // @if CK_DEBUG_TYPING // if ( ( window as any ).logCKETyping ) { + // @if CK_DEBUG_TYPING // const firstPositionPath = modelSelection.getFirstPosition()!.path; + // @if CK_DEBUG_TYPING // const lastPositionPath = modelSelection.getLastPosition()!.path; + // @if CK_DEBUG_TYPING // console.log( '%c[Input]%c Composition start -> model.deleteContent()', + // @if CK_DEBUG_TYPING // 'font-weight: bold; color: green;', '', + // @if CK_DEBUG_TYPING // `[${ firstPositionPath }]-[${ lastPositionPath }]` + // @if CK_DEBUG_TYPING // ); + // @if CK_DEBUG_TYPING // } + deleteSelectionContent(model, insertTextCommand); + }); + } + } +} +function deleteSelectionContent(model, insertTextCommand) { + // By relying on the state of the input command we allow disabling the entire input easily + // by just disabling the input command. We could’ve used here the delete command but that + // would mean requiring the delete feature which would block loading one without the other. + // We could also check the editor.isReadOnly property, but that wouldn't allow to block + // the input without blocking other features. + if (!insertTextCommand.isEnabled) { + return; + } + const buffer = insertTextCommand.buffer; + buffer.lock(); + model.enqueueChange(buffer.batch, () => { + model.deleteContent(model.document.selection); + }); + buffer.unlock(); +} diff --git a/node_modules/@ckeditor/ckeditor5-typing/src/inserttextcommand.d.ts b/node_modules/@ckeditor/ckeditor5-typing/src/inserttextcommand.d.ts new file mode 100644 index 0000000..5e1b07a --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-typing/src/inserttextcommand.d.ts @@ -0,0 +1,76 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module typing/inserttextcommand + */ +import { Command, type Editor } from '@ckeditor/ckeditor5-core'; +import ChangeBuffer from './utils/changebuffer.js'; +import type { DocumentSelection, Range, Selection } from '@ckeditor/ckeditor5-engine'; +/** + * The insert text command. Used by the {@link module:typing/input~Input input feature} to handle typing. + */ +export default class InsertTextCommand extends Command { + /** + * Typing's change buffer used to group subsequent changes into batches. + */ + private readonly _buffer; + /** + * Creates an instance of the command. + * + * @param undoStepSize The maximum number of atomic changes + * which can be contained in one batch in the command buffer. + */ + constructor(editor: Editor, undoStepSize: number); + /** + * The current change buffer. + */ + get buffer(): ChangeBuffer; + /** + * @inheritDoc + */ + destroy(): void; + /** + * Executes the input command. It replaces the content within the given range with the given text. + * Replacing is a two step process, first the content within the range is removed and then the new text is inserted + * at the beginning of the range (which after the removal is a collapsed range). + * + * @fires execute + * @param options The command options. + */ + execute(options?: InsertTextCommandOptions): void; +} +/** + * Interface with parameters for executing InsertTextCommand. + * + * Both `range` and `selection` parameters are used for defining selection but should not be used together. + * If both are defined, only `selection` will be considered. + */ +export interface InsertTextCommandOptions { + /** + * The text to be inserted. + */ + text?: string; + /** + * The selection in which the text is inserted. + * Inserting a text into a selection deletes the current content within selection ranges. If the selection is not specified, + * the current selection in the model will be used instead. + */ + selection?: Selection | DocumentSelection; + /** + * The range in which the text is inserted. Defaults to the first range in the current selection. + */ + range?: Range; + /** + * The range where the selection should be placed after the insertion. + * If not specified, the selection will be placed right after the inserted text. + */ + resultRange?: Range; +} +export interface InsertTextCommandExecuteEvent { + name: 'execute'; + args: [ + data: [options: InsertTextCommandOptions] + ]; +} diff --git a/node_modules/@ckeditor/ckeditor5-typing/src/inserttextcommand.js b/node_modules/@ckeditor/ckeditor5-typing/src/inserttextcommand.js new file mode 100644 index 0000000..5a4e523 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-typing/src/inserttextcommand.js @@ -0,0 +1,83 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module typing/inserttextcommand + */ +import { Command } from '@ckeditor/ckeditor5-core'; +import ChangeBuffer from './utils/changebuffer.js'; +/** + * The insert text command. Used by the {@link module:typing/input~Input input feature} to handle typing. + */ +export default class InsertTextCommand extends Command { + /** + * Creates an instance of the command. + * + * @param undoStepSize The maximum number of atomic changes + * which can be contained in one batch in the command buffer. + */ + constructor(editor, undoStepSize) { + super(editor); + this._buffer = new ChangeBuffer(editor.model, undoStepSize); + // Since this command may execute on different selectable than selection, it should be checked directly in execute block. + this._isEnabledBasedOnSelection = false; + } + /** + * The current change buffer. + */ + get buffer() { + return this._buffer; + } + /** + * @inheritDoc + */ + destroy() { + super.destroy(); + this._buffer.destroy(); + } + /** + * Executes the input command. It replaces the content within the given range with the given text. + * Replacing is a two step process, first the content within the range is removed and then the new text is inserted + * at the beginning of the range (which after the removal is a collapsed range). + * + * @fires execute + * @param options The command options. + */ + execute(options = {}) { + const model = this.editor.model; + const doc = model.document; + const text = options.text || ''; + const textInsertions = text.length; + let selection = doc.selection; + if (options.selection) { + selection = options.selection; + } + else if (options.range) { + selection = model.createSelection(options.range); + } + // Stop executing if selectable is in non-editable place. + if (!model.canEditAt(selection)) { + return; + } + const resultRange = options.resultRange; + model.enqueueChange(this._buffer.batch, writer => { + this._buffer.lock(); + // Store selection attributes before deleting old content to preserve formatting and link. + // This unifies the behavior between DocumentSelection and Selection provided as input option. + const selectionAttributes = Array.from(doc.selection.getAttributes()); + model.deleteContent(selection); + if (text) { + model.insertContent(writer.createText(text, selectionAttributes), selection); + } + if (resultRange) { + writer.setSelection(resultRange); + } + else if (!selection.is('documentSelection')) { + writer.setSelection(selection); + } + this._buffer.unlock(); + this._buffer.input(textInsertions); + }); + } +} diff --git a/node_modules/@ckeditor/ckeditor5-typing/src/inserttextobserver.d.ts b/node_modules/@ckeditor/ckeditor5-typing/src/inserttextobserver.d.ts new file mode 100644 index 0000000..f0682cf --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-typing/src/inserttextobserver.d.ts @@ -0,0 +1,59 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +import { DomEventData, Observer, FocusObserver, type EditingView, type ViewDocumentSelection, type ViewRange, type ViewSelection } from '@ckeditor/ckeditor5-engine'; +/** + * Text insertion observer introduces the {@link module:engine/view/document~Document#event:insertText} event. + */ +export default class InsertTextObserver extends Observer { + /** + * Instance of the focus observer. Insert text observer calls + * {@link module:engine/view/observer/focusobserver~FocusObserver#flush} to mark the latest focus change as complete. + */ + readonly focusObserver: FocusObserver; + /** + * @inheritDoc + */ + constructor(view: EditingView); + /** + * @inheritDoc + */ + observe(): void; + /** + * @inheritDoc + */ + stopObserving(): void; +} +/** + * Event fired when the user types text, for instance presses A or ? in the + * editing view document. + * + * **Note**: This event will **not** fire for keystrokes such as Delete or Enter. + * They have dedicated events, see {@link module:engine/view/document~Document#event:delete} and + * {@link module:engine/view/document~Document#event:enter} to learn more. + * + * **Note**: This event is fired by the {@link module:typing/inserttextobserver~InsertTextObserver input feature}. + * + * @eventName module:engine/view/document~Document#insertText + * @param data The event data. + */ +export type ViewDocumentInsertTextEvent = { + name: 'insertText'; + args: [data: InsertTextEventData]; +}; +export interface InsertTextEventData extends DomEventData { + /** + * The text to be inserted. + */ + text: string; + /** + * The selection into which the text should be inserted. + * If not specified, the insertion should occur at the current view selection. + */ + selection: ViewSelection | ViewDocumentSelection; + /** + * The range that view selection should be set to after insertion. + */ + resultRange?: ViewRange; +} diff --git a/node_modules/@ckeditor/ckeditor5-typing/src/inserttextobserver.js b/node_modules/@ckeditor/ckeditor5-typing/src/inserttextobserver.js new file mode 100644 index 0000000..e0f5eff --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-typing/src/inserttextobserver.js @@ -0,0 +1,108 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module typing/inserttextobserver + */ +import { env, EventInfo } from '@ckeditor/ckeditor5-utils'; +import { DomEventData, Observer, FocusObserver } from '@ckeditor/ckeditor5-engine'; +const TYPING_INPUT_TYPES = [ + // For collapsed range: + // - This one is a regular typing (all browsers, all systems). + // - This one is used by Chrome when typing accented letter – 2nd step when the user selects the accent (Mac). + // For non-collapsed range: + // - This one is used by Chrome when typing accented letter – when the selection box first appears (Mac). + // - This one is used by Safari when accepting spell check suggestions from the context menu (Mac). + 'insertText', + // This one is used by Safari when typing accented letter (Mac). + // This one is used by Safari when accepting spell check suggestions from the autocorrection pop-up (Mac). + 'insertReplacementText' +]; +/** + * Text insertion observer introduces the {@link module:engine/view/document~Document#event:insertText} event. + */ +export default class InsertTextObserver extends Observer { + /** + * @inheritDoc + */ + constructor(view) { + super(view); + this.focusObserver = view.getObserver(FocusObserver); + // On Android composition events should immediately be applied to the model. Rendering is not disabled. + // On non-Android the model is updated only on composition end. + // On Android we can't rely on composition start/end to update model. + if (env.isAndroid) { + TYPING_INPUT_TYPES.push('insertCompositionText'); + } + const viewDocument = view.document; + viewDocument.on('beforeinput', (evt, data) => { + if (!this.isEnabled) { + return; + } + const { data: text, targetRanges, inputType, domEvent } = data; + if (!TYPING_INPUT_TYPES.includes(inputType)) { + return; + } + // Mark the latest focus change as complete (we are typing in editable after the focus + // so the selection is in the focused element). + this.focusObserver.flush(); + const eventInfo = new EventInfo(viewDocument, 'insertText'); + viewDocument.fire(eventInfo, new DomEventData(view, domEvent, { + text, + selection: view.createSelection(targetRanges) + })); + // Stop the beforeinput event if `delete` event was stopped. + // https://github.com/ckeditor/ckeditor5/issues/753 + if (eventInfo.stop.called) { + evt.stop(); + } + }); + // Note: The priority must be lower than the CompositionObserver handler to call it after the renderer is unblocked. + viewDocument.on('compositionend', (evt, { data, domEvent }) => { + // On Android composition events are immediately applied to the model. + // On non-Android the model is updated only on composition end. + // On Android we can't rely on composition start/end to update model. + if (!this.isEnabled || env.isAndroid) { + return; + } + // In case of aborted composition. + if (!data) { + return; + } + // @if CK_DEBUG_TYPING // if ( ( window as any ).logCKETyping ) { + // @if CK_DEBUG_TYPING // console.log( `%c[InsertTextObserver]%c Fire insertText event, text: ${ JSON.stringify( data ) }`, + // @if CK_DEBUG_TYPING // 'font-weight: bold; color: green;', '' + // @if CK_DEBUG_TYPING // ); + // @if CK_DEBUG_TYPING // } + // How do we know where to insert the composed text? + // The selection observer is blocked and the view is not updated with the composition changes. + // There were three options: + // - Store the selection on `compositionstart` and use it now. This wouldn't work in RTC + // where the view would change and the stored selection might get incorrect. + // We'd need to fallback to the current view selection anyway. + // - Use the current view selection. This is a bit weird and non-intuitive because + // this isn't necessarily the selection on which the user started composing. + // We cannot even know whether it's still collapsed (there might be some weird + // editor feature that changed it in unpredictable ways for us). But it's by far + // the simplest solution and should be stable (the selection is definitely correct) + // and probably mostly predictable (features usually don't modify the selection + // unless called explicitly by the user). + // - Try to follow it from the `beforeinput` events. This would be really complex as each + // `beforeinput` would come with just the range it's changing and we'd need to calculate that. + // We decided to go with the 2nd option for its simplicity and stability. + viewDocument.fire('insertText', new DomEventData(view, domEvent, { + text: data, + selection: viewDocument.selection + })); + }, { priority: 'lowest' }); + } + /** + * @inheritDoc + */ + observe() { } + /** + * @inheritDoc + */ + stopObserving() { } +} diff --git a/node_modules/@ckeditor/ckeditor5-typing/src/texttransformation.d.ts b/node_modules/@ckeditor/ckeditor5-typing/src/texttransformation.d.ts new file mode 100644 index 0000000..0f09f7b --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-typing/src/texttransformation.d.ts @@ -0,0 +1,33 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module typing/texttransformation + */ +import { Plugin, type Editor } from '@ckeditor/ckeditor5-core'; +/** + * The text transformation plugin. + */ +export default class TextTransformation extends Plugin { + /** + * @inheritDoc + */ + static get requires(): readonly ["Delete", "Input"]; + /** + * @inheritDoc + */ + static get pluginName(): "TextTransformation"; + /** + * @inheritDoc + */ + constructor(editor: Editor); + /** + * @inheritDoc + */ + init(): void; + /** + * Create new TextWatcher listening to the editor for typing and selection events. + */ + private _enableTransformationWatchers; +} diff --git a/node_modules/@ckeditor/ckeditor5-typing/src/texttransformation.js b/node_modules/@ckeditor/ckeditor5-typing/src/texttransformation.js new file mode 100644 index 0000000..3eef781 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-typing/src/texttransformation.js @@ -0,0 +1,228 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module typing/texttransformation + */ +import { Plugin } from '@ckeditor/ckeditor5-core'; +import TextWatcher from './textwatcher.js'; +import { escapeRegExp } from 'lodash-es'; +// All named transformations. +const TRANSFORMATIONS = { + // Common symbols: + copyright: { from: '(c)', to: '©' }, + registeredTrademark: { from: '(r)', to: '®' }, + trademark: { from: '(tm)', to: '™' }, + // Mathematical: + oneHalf: { from: /(^|[^/a-z0-9])(1\/2)([^/a-z0-9])$/i, to: [null, '½', null] }, + oneThird: { from: /(^|[^/a-z0-9])(1\/3)([^/a-z0-9])$/i, to: [null, '⅓', null] }, + twoThirds: { from: /(^|[^/a-z0-9])(2\/3)([^/a-z0-9])$/i, to: [null, '⅔', null] }, + oneForth: { from: /(^|[^/a-z0-9])(1\/4)([^/a-z0-9])$/i, to: [null, '¼', null] }, + threeQuarters: { from: /(^|[^/a-z0-9])(3\/4)([^/a-z0-9])$/i, to: [null, '¾', null] }, + lessThanOrEqual: { from: '<=', to: '≤' }, + greaterThanOrEqual: { from: '>=', to: '≥' }, + notEqual: { from: '!=', to: '≠' }, + arrowLeft: { from: '<-', to: '←' }, + arrowRight: { from: '->', to: '→' }, + // Typography: + horizontalEllipsis: { from: '...', to: '…' }, + enDash: { from: /(^| )(--)( )$/, to: [null, '–', null] }, + emDash: { from: /(^| )(---)( )$/, to: [null, '—', null] }, + // Quotations: + // English, US + quotesPrimary: { from: buildQuotesRegExp('"'), to: [null, '“', null, '”'] }, + quotesSecondary: { from: buildQuotesRegExp('\''), to: [null, '‘', null, '’'] }, + // English, UK + quotesPrimaryEnGb: { from: buildQuotesRegExp('\''), to: [null, '‘', null, '’'] }, + quotesSecondaryEnGb: { from: buildQuotesRegExp('"'), to: [null, '“', null, '”'] }, + // Polish + quotesPrimaryPl: { from: buildQuotesRegExp('"'), to: [null, '„', null, '”'] }, + quotesSecondaryPl: { from: buildQuotesRegExp('\''), to: [null, '‚', null, '’'] } +}; +// Transformation groups. +const TRANSFORMATION_GROUPS = { + symbols: ['copyright', 'registeredTrademark', 'trademark'], + mathematical: [ + 'oneHalf', 'oneThird', 'twoThirds', 'oneForth', 'threeQuarters', + 'lessThanOrEqual', 'greaterThanOrEqual', 'notEqual', + 'arrowLeft', 'arrowRight' + ], + typography: ['horizontalEllipsis', 'enDash', 'emDash'], + quotes: ['quotesPrimary', 'quotesSecondary'] +}; +// A set of default transformations provided by the feature. +const DEFAULT_TRANSFORMATIONS = [ + 'symbols', + 'mathematical', + 'typography', + 'quotes' +]; +/** + * The text transformation plugin. + */ +export default class TextTransformation extends Plugin { + /** + * @inheritDoc + */ + static get requires() { + return ['Delete', 'Input']; + } + /** + * @inheritDoc + */ + static get pluginName() { + return 'TextTransformation'; + } + /** + * @inheritDoc + */ + constructor(editor) { + super(editor); + editor.config.define('typing', { + transformations: { + include: DEFAULT_TRANSFORMATIONS + } + }); + } + /** + * @inheritDoc + */ + init() { + const model = this.editor.model; + const modelSelection = model.document.selection; + modelSelection.on('change:range', () => { + // Disable plugin when selection is inside a code block. + this.isEnabled = !modelSelection.anchor.parent.is('element', 'codeBlock'); + }); + this._enableTransformationWatchers(); + } + /** + * Create new TextWatcher listening to the editor for typing and selection events. + */ + _enableTransformationWatchers() { + const editor = this.editor; + const model = editor.model; + const deletePlugin = editor.plugins.get('Delete'); + const normalizedTransformations = normalizeTransformations(editor.config.get('typing.transformations')); + const testCallback = (text) => { + for (const normalizedTransformation of normalizedTransformations) { + const from = normalizedTransformation.from; + const match = from.test(text); + if (match) { + return { normalizedTransformation }; + } + } + }; + const watcher = new TextWatcher(editor.model, testCallback); + watcher.on('matched:data', (evt, data) => { + if (!data.batch.isTyping) { + return; + } + const { from, to } = data.normalizedTransformation; + const matches = from.exec(data.text); + const replaces = to(matches.slice(1)); + const matchedRange = data.range; + let changeIndex = matches.index; + model.enqueueChange(writer => { + for (let i = 1; i < matches.length; i++) { + const match = matches[i]; + const replaceWith = replaces[i - 1]; + if (replaceWith == null) { + changeIndex += match.length; + continue; + } + const replacePosition = matchedRange.start.getShiftedBy(changeIndex); + const replaceRange = model.createRange(replacePosition, replacePosition.getShiftedBy(match.length)); + const attributes = getTextAttributesAfterPosition(replacePosition); + model.insertContent(writer.createText(replaceWith, attributes), replaceRange); + changeIndex += replaceWith.length; + } + model.enqueueChange(() => { + deletePlugin.requestUndoOnBackspace(); + }); + }); + }); + watcher.bind('isEnabled').to(this); + } +} +/** + * Normalizes the configuration `from` parameter value. + * The normalized value for the `from` parameter is a RegExp instance. If the passed `from` is already a RegExp instance, + * it is returned unchanged. + */ +function normalizeFrom(from) { + if (typeof from == 'string') { + return new RegExp(`(${escapeRegExp(from)})$`); + } + // `from` is already a regular expression. + return from; +} +/** + * Normalizes the configuration `to` parameter value. + * The normalized value for the `to` parameter is a function that takes an array and returns an array. See more in the + * configuration description. If the passed `to` is already a function, it is returned unchanged. + */ +function normalizeTo(to) { + if (typeof to == 'string') { + return () => [to]; + } + else if (to instanceof Array) { + return () => to; + } + // `to` is already a function. + return to; +} +/** + * For given `position` returns attributes for the text that is after that position. + * The text can be in the same text node as the position (`foo[]bar`) or in the next text node (`foo[]<$text bold="true">bar`). + */ +function getTextAttributesAfterPosition(position) { + const textNode = position.textNode ? position.textNode : position.nodeAfter; + return textNode.getAttributes(); +} +/** + * Returns a RegExp pattern string that detects a sentence inside a quote. + * + * @param quoteCharacter The character to create a pattern for. + */ +function buildQuotesRegExp(quoteCharacter) { + return new RegExp(`(^|\\s)(${quoteCharacter})([^${quoteCharacter}]*)(${quoteCharacter})$`); +} +/** + * Reads text transformation config and returns normalized array of transformations objects. + */ +function normalizeTransformations(config) { + const extra = config.extra || []; + const remove = config.remove || []; + const isNotRemoved = (transformation) => !remove.includes(transformation); + const configured = config.include.concat(extra).filter(isNotRemoved); + return expandGroupsAndRemoveDuplicates(configured) + .filter(isNotRemoved) // Filter out 'remove' transformations as they might be set in group. + .map(transformation => (typeof transformation == 'string' && TRANSFORMATIONS[transformation] ? TRANSFORMATIONS[transformation] : transformation)) + // Filter out transformations set as string that has not been found. + .filter((transformation) => typeof transformation === 'object') + .map(transformation => ({ + from: normalizeFrom(transformation.from), + to: normalizeTo(transformation.to) + })); +} +/** + * Reads definitions and expands named groups if needed to transformation names. + * This method also removes duplicated named transformations if any. + */ +function expandGroupsAndRemoveDuplicates(definitions) { + // Set is using to make sure that transformation names are not duplicated. + const definedTransformations = new Set(); + for (const transformationOrGroup of definitions) { + if (typeof transformationOrGroup == 'string' && TRANSFORMATION_GROUPS[transformationOrGroup]) { + for (const transformation of TRANSFORMATION_GROUPS[transformationOrGroup]) { + definedTransformations.add(transformation); + } + } + else { + definedTransformations.add(transformationOrGroup); + } + } + return Array.from(definedTransformations); +} diff --git a/node_modules/@ckeditor/ckeditor5-typing/src/textwatcher.d.ts b/node_modules/@ckeditor/ckeditor5-typing/src/textwatcher.d.ts new file mode 100644 index 0000000..6ca1e30 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-typing/src/textwatcher.d.ts @@ -0,0 +1,138 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +import type { Batch, Model, Range } from '@ckeditor/ckeditor5-engine'; +declare const TextWatcher_base: { + new (): import("@ckeditor/ckeditor5-utils").Observable; + prototype: import("@ckeditor/ckeditor5-utils").Observable; +}; +/** + * The text watcher feature. + * + * Fires the {@link module:typing/textwatcher~TextWatcher#event:matched:data `matched:data`}, + * {@link module:typing/textwatcher~TextWatcher#event:matched:selection `matched:selection`} and + * {@link module:typing/textwatcher~TextWatcher#event:unmatched `unmatched`} events on typing or selection changes. + */ +export default class TextWatcher extends TextWatcher_base { + /** + * The editor's model. + */ + readonly model: Model; + /** + * The function used to match the text. + * + * The test callback can return 3 values: + * + * * `false` if there is no match, + * * `true` if there is a match, + * * an object if there is a match and we want to pass some additional information to the {@link #event:matched:data} event. + */ + testCallback: (text: string) => unknown; + /** + * Whether there is a match currently. + */ + private _hasMatch; + /** + * Flag indicating whether the `TextWatcher` instance is enabled or disabled. + * A disabled TextWatcher will not evaluate text. + * + * To disable TextWatcher: + * + * ```ts + * const watcher = new TextWatcher( editor.model, testCallback ); + * + * // After this a testCallback will not be called. + * watcher.isEnabled = false; + * ``` + */ + isEnabled: boolean; + /** + * Creates a text watcher instance. + * + * @param testCallback See {@link module:typing/textwatcher~TextWatcher#testCallback}. + */ + constructor(model: Model, testCallback: (text: string) => unknown); + /** + * Flag indicating whether there is a match currently. + */ + get hasMatch(): boolean; + /** + * Starts listening to the editor for typing and selection events. + */ + private _startListening; + /** + * Checks the editor content for matched text. + * + * @fires matched:data + * @fires matched:selection + * @fires unmatched + * + * @param suffix A suffix used for generating the event name. + * @param data Data object for event. + */ + private _evaluateTextBeforeSelection; +} +export type TextWatcherMatchedEvent = Record> = { + name: 'matched' | 'matched:data' | 'matched:selection'; + args: [ + { + text: string; + range: Range; + batch?: Batch; + } & TCallbackResult + ]; +}; +/** + * Fired whenever the text watcher found a match for data changes. + * + * @eventName ~TextWatcher#matched:data + * @param data Event data. + * @param data.testResult The additional data returned from the {@link module:typing/textwatcher~TextWatcher#testCallback}. + */ +export type TextWatcherMatchedDataEvent> = { + name: 'matched:data'; + args: [data: TextWatcherMatchedDataEventData & TCallbackResult]; +}; +export interface TextWatcherMatchedDataEventData { + /** + * The full text before selection to which the regexp was applied. + */ + text: string; + /** + * The range representing the position of the `data.text`. + */ + range: Range; + batch: Batch; +} +/** + * Fired whenever the text watcher found a match for selection changes. + * + * @eventName ~TextWatcher#matched:selection + * @param data Event data. + * @param data.testResult The additional data returned from the {@link module:typing/textwatcher~TextWatcher#testCallback}. + */ +export type TextWatcherMatchedSelectionEvent> = { + name: 'matched:selection'; + args: [data: TextWatcherMatchedSelectionEventData & TCallbackResult]; +}; +export interface TextWatcherMatchedSelectionEventData { + /** + * The full text before selection. + */ + text: string; + /** + * The range representing the position of the `data.text`. + */ + range: Range; +} +/** + * Fired whenever the text does not match anymore. Fired only when the text watcher found a match. + * + * @eventName ~TextWatcher#unmatched + */ +export type TextWatcherUnmatchedEvent = { + name: 'unmatched'; + args: []; +}; +export {}; diff --git a/node_modules/@ckeditor/ckeditor5-typing/src/textwatcher.js b/node_modules/@ckeditor/ckeditor5-typing/src/textwatcher.js new file mode 100644 index 0000000..6dc2993 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-typing/src/textwatcher.js @@ -0,0 +1,105 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module typing/textwatcher + */ +import { ObservableMixin } from '@ckeditor/ckeditor5-utils'; +import getLastTextLine from './utils/getlasttextline.js'; +/** + * The text watcher feature. + * + * Fires the {@link module:typing/textwatcher~TextWatcher#event:matched:data `matched:data`}, + * {@link module:typing/textwatcher~TextWatcher#event:matched:selection `matched:selection`} and + * {@link module:typing/textwatcher~TextWatcher#event:unmatched `unmatched`} events on typing or selection changes. + */ +export default class TextWatcher extends ObservableMixin() { + /** + * Creates a text watcher instance. + * + * @param testCallback See {@link module:typing/textwatcher~TextWatcher#testCallback}. + */ + constructor(model, testCallback) { + super(); + this.model = model; + this.testCallback = testCallback; + this._hasMatch = false; + this.set('isEnabled', true); + // Toggle text watching on isEnabled state change. + this.on('change:isEnabled', () => { + if (this.isEnabled) { + this._startListening(); + } + else { + this.stopListening(model.document.selection); + this.stopListening(model.document); + } + }); + this._startListening(); + } + /** + * Flag indicating whether there is a match currently. + */ + get hasMatch() { + return this._hasMatch; + } + /** + * Starts listening to the editor for typing and selection events. + */ + _startListening() { + const model = this.model; + const document = model.document; + this.listenTo(document.selection, 'change:range', (evt, { directChange }) => { + // Indirect changes (i.e. when the user types or external changes are applied) are handled in the document's change event. + if (!directChange) { + return; + } + // Act only on collapsed selection. + if (!document.selection.isCollapsed) { + if (this.hasMatch) { + this.fire('unmatched'); + this._hasMatch = false; + } + return; + } + this._evaluateTextBeforeSelection('selection'); + }); + this.listenTo(document, 'change:data', (evt, batch) => { + if (batch.isUndo || !batch.isLocal) { + return; + } + this._evaluateTextBeforeSelection('data', { batch }); + }); + } + /** + * Checks the editor content for matched text. + * + * @fires matched:data + * @fires matched:selection + * @fires unmatched + * + * @param suffix A suffix used for generating the event name. + * @param data Data object for event. + */ + _evaluateTextBeforeSelection(suffix, data = {}) { + const model = this.model; + const document = model.document; + const selection = document.selection; + const rangeBeforeSelection = model.createRange(model.createPositionAt(selection.focus.parent, 0), selection.focus); + const { text, range } = getLastTextLine(rangeBeforeSelection, model); + const testResult = this.testCallback(text); + if (!testResult && this.hasMatch) { + this.fire('unmatched'); + } + this._hasMatch = !!testResult; + if (testResult) { + const eventData = Object.assign(data, { text, range }); + // If the test callback returns an object with additional data, assign the data as well. + if (typeof testResult == 'object') { + Object.assign(eventData, testResult); + } + this.fire(`matched:${suffix}`, eventData); + } + } +} diff --git a/node_modules/@ckeditor/ckeditor5-typing/src/twostepcaretmovement.d.ts b/node_modules/@ckeditor/ckeditor5-typing/src/twostepcaretmovement.d.ts new file mode 100644 index 0000000..9819445 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-typing/src/twostepcaretmovement.d.ts @@ -0,0 +1,232 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module typing/twostepcaretmovement + */ +import { Plugin, type Editor } from '@ckeditor/ckeditor5-core'; +/** + * This plugin enables the two-step caret (phantom) movement behavior for + * {@link module:typing/twostepcaretmovement~TwoStepCaretMovement#registerAttribute registered attributes} + * on arrow right () and left () key press. + * + * Thanks to this (phantom) caret movement the user is able to type before/after as well as at the + * beginning/end of an attribute. + * + * **Note:** This plugin support right–to–left (Arabic, Hebrew, etc.) content by mirroring its behavior + * but for the sake of simplicity examples showcase only left–to–right use–cases. + * + * # Forward movement + * + * ## "Entering" an attribute: + * + * When this plugin is enabled and registered for the `a` attribute and the selection is right before it + * (at the attribute boundary), pressing the right arrow key will not move the selection but update its + * attributes accordingly: + * + * * When enabled: + * + * ```xml + * foo{}<$text a="true">bar + * ``` + * + * + * + * ```xml + * foo<$text a="true">{}bar + * ``` + * + * * When disabled: + * + * ```xml + * foo{}<$text a="true">bar + * ``` + * + * + * + * ```xml + * foo<$text a="true">b{}ar + * ``` + * + * + * ## "Leaving" an attribute: + * + * * When enabled: + * + * ```xml + * <$text a="true">bar{}baz + * ``` + * + * + * + * ```xml + * <$text a="true">bar{}baz + * ``` + * + * * When disabled: + * + * ```xml + * <$text a="true">bar{}baz + * ``` + * + * + * + * ```xml + * <$text a="true">barb{}az + * ``` + * + * # Backward movement + * + * * When enabled: + * + * ```xml + * <$text a="true">bar{}baz + * ``` + * + * + * + * ```xml + * <$text a="true">bar{}baz + * ``` + * + * * When disabled: + * + * ```xml + * <$text a="true">bar{}baz + * ``` + * + * + * + * ```xml + * <$text a="true">ba{}rb{}az + * ``` + * + * # Multiple attributes + * + * * When enabled and many attributes starts or ends at the same position: + * + * ```xml + * <$text a="true" b="true">bar{}baz + * ``` + * + * + * + * ```xml + * <$text a="true" b="true">bar{}baz + * ``` + * + * * When enabled and one procedes another: + * + * ```xml + * <$text a="true">bar<$text b="true">{}bar + * ``` + * + * + * + * ```xml + * <$text a="true">bar{}<$text b="true">bar + * ``` + * + */ +export default class TwoStepCaretMovement extends Plugin { + /** + * A set of attributes to handle. + */ + private attributes; + /** + * The current UID of the overridden gravity, as returned by + * {@link module:engine/model/writer~Writer#overrideSelectionGravity}. + */ + private _overrideUid; + /** + * A flag indicating that the automatic gravity restoration should not happen upon the next + * gravity restoration. + * {@link module:engine/model/selection~Selection#event:change:range} event. + */ + private _isNextGravityRestorationSkipped; + /** + * @inheritDoc + */ + static get pluginName(): "TwoStepCaretMovement"; + /** + * @inheritDoc + */ + constructor(editor: Editor); + /** + * @inheritDoc + */ + init(): void; + /** + * Registers a given attribute for the two-step caret movement. + * + * @param attribute Name of the attribute to handle. + */ + registerAttribute(attribute: string): void; + /** + * Updates the document selection and the view according to the two–step caret movement state + * when moving **forwards**. Executed upon `keypress` in the {@link module:engine/view/view~View}. + * + * @param data Data of the key press. + * @returns `true` when the handler prevented caret movement. + */ + private _handleForwardMovement; + /** + * Updates the document selection and the view according to the two–step caret movement state + * when moving **backwards**. Executed upon `keypress` in the {@link module:engine/view/view~View}. + * + * @param data Data of the key press. + * @returns `true` when the handler prevented caret movement + */ + private _handleBackwardMovement; + /** + * Starts listening to {@link module:engine/view/document~Document#event:mousedown} and + * {@link module:engine/view/document~Document#event:selectionChange} and puts the selection before/after a 2-step node + * if clicked at the beginning/ending of the 2-step node. + * + * The purpose of this action is to allow typing around the 2-step node directly after a click. + * + * See https://github.com/ckeditor/ckeditor5/issues/1016. + */ + private _enableClickingAfterNode; + /** + * Starts listening to {@link module:engine/model/model~Model#event:insertContent} and corrects the model + * selection attributes if the selection is at the end of a two-step node after inserting the content. + * + * The purpose of this action is to improve the overall UX because the user is no longer "trapped" by the + * two-step attribute of the selection, and they can type a "clean" (`linkHref`–less) text right away. + * + * See https://github.com/ckeditor/ckeditor5/issues/6053. + */ + private _enableInsertContentSelectionAttributesFixer; + /** + * Starts listening to {@link module:engine/model/model~Model#deleteContent} and checks whether + * removing a content right after the tow-step attribute. + * + * If so, the selection should not preserve the two-step attribute. However, if + * the {@link module:typing/twostepcaretmovement~TwoStepCaretMovement} plugin is active and + * the selection has the two-step attribute due to overridden gravity (at the end), the two-step attribute should stay untouched. + * + * The purpose of this action is to allow removing the link text and keep the selection outside the link. + * + * See https://github.com/ckeditor/ckeditor5/issues/7521. + */ + private _handleDeleteContentAfterNode; + /** + * `true` when the gravity is overridden for the plugin. + */ + private get _isGravityOverridden(); + /** + * Overrides the gravity using the {@link module:engine/model/writer~Writer model writer} + * and stores the information about this fact in the {@link #_overrideUid}. + * + * A shorthand for {@link module:engine/model/writer~Writer#overrideSelectionGravity}. + */ + private _overrideGravity; + /** + * Restores the gravity using the {@link module:engine/model/writer~Writer model writer}. + * + * A shorthand for {@link module:engine/model/writer~Writer#restoreSelectionGravity}. + */ + private _restoreGravity; +} diff --git a/node_modules/@ckeditor/ckeditor5-typing/src/twostepcaretmovement.js b/node_modules/@ckeditor/ckeditor5-typing/src/twostepcaretmovement.js new file mode 100644 index 0000000..0eabae4 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-typing/src/twostepcaretmovement.js @@ -0,0 +1,622 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module typing/twostepcaretmovement + */ +import { Plugin } from '@ckeditor/ckeditor5-core'; +import { keyCodes } from '@ckeditor/ckeditor5-utils'; +import { MouseObserver } from '@ckeditor/ckeditor5-engine'; +/** + * This plugin enables the two-step caret (phantom) movement behavior for + * {@link module:typing/twostepcaretmovement~TwoStepCaretMovement#registerAttribute registered attributes} + * on arrow right () and left () key press. + * + * Thanks to this (phantom) caret movement the user is able to type before/after as well as at the + * beginning/end of an attribute. + * + * **Note:** This plugin support right–to–left (Arabic, Hebrew, etc.) content by mirroring its behavior + * but for the sake of simplicity examples showcase only left–to–right use–cases. + * + * # Forward movement + * + * ## "Entering" an attribute: + * + * When this plugin is enabled and registered for the `a` attribute and the selection is right before it + * (at the attribute boundary), pressing the right arrow key will not move the selection but update its + * attributes accordingly: + * + * * When enabled: + * + * ```xml + * foo{}<$text a="true">bar + * ``` + * + * + * + * ```xml + * foo<$text a="true">{}bar + * ``` + * + * * When disabled: + * + * ```xml + * foo{}<$text a="true">bar + * ``` + * + * + * + * ```xml + * foo<$text a="true">b{}ar + * ``` + * + * + * ## "Leaving" an attribute: + * + * * When enabled: + * + * ```xml + * <$text a="true">bar{}baz + * ``` + * + * + * + * ```xml + * <$text a="true">bar{}baz + * ``` + * + * * When disabled: + * + * ```xml + * <$text a="true">bar{}baz + * ``` + * + * + * + * ```xml + * <$text a="true">barb{}az + * ``` + * + * # Backward movement + * + * * When enabled: + * + * ```xml + * <$text a="true">bar{}baz + * ``` + * + * + * + * ```xml + * <$text a="true">bar{}baz + * ``` + * + * * When disabled: + * + * ```xml + * <$text a="true">bar{}baz + * ``` + * + * + * + * ```xml + * <$text a="true">ba{}rb{}az + * ``` + * + * # Multiple attributes + * + * * When enabled and many attributes starts or ends at the same position: + * + * ```xml + * <$text a="true" b="true">bar{}baz + * ``` + * + * + * + * ```xml + * <$text a="true" b="true">bar{}baz + * ``` + * + * * When enabled and one procedes another: + * + * ```xml + * <$text a="true">bar<$text b="true">{}bar + * ``` + * + * + * + * ```xml + * <$text a="true">bar{}<$text b="true">bar + * ``` + * + */ +export default class TwoStepCaretMovement extends Plugin { + /** + * @inheritDoc + */ + static get pluginName() { + return 'TwoStepCaretMovement'; + } + /** + * @inheritDoc + */ + constructor(editor) { + super(editor); + /** + * A flag indicating that the automatic gravity restoration should not happen upon the next + * gravity restoration. + * {@link module:engine/model/selection~Selection#event:change:range} event. + */ + this._isNextGravityRestorationSkipped = false; + this.attributes = new Set(); + this._overrideUid = null; + } + /** + * @inheritDoc + */ + init() { + const editor = this.editor; + const model = editor.model; + const view = editor.editing.view; + const locale = editor.locale; + const modelSelection = model.document.selection; + // Listen to keyboard events and handle the caret movement according to the 2-step caret logic. + this.listenTo(view.document, 'arrowKey', (evt, data) => { + // This implementation works only for collapsed selection. + if (!modelSelection.isCollapsed) { + return; + } + // When user tries to expand the selection or jump over the whole word or to the beginning/end then + // two-steps movement is not necessary. + if (data.shiftKey || data.altKey || data.ctrlKey) { + return; + } + const arrowRightPressed = data.keyCode == keyCodes.arrowright; + const arrowLeftPressed = data.keyCode == keyCodes.arrowleft; + // When neither left or right arrow has been pressed then do noting. + if (!arrowRightPressed && !arrowLeftPressed) { + return; + } + const contentDirection = locale.contentLanguageDirection; + let isMovementHandled = false; + if ((contentDirection === 'ltr' && arrowRightPressed) || (contentDirection === 'rtl' && arrowLeftPressed)) { + isMovementHandled = this._handleForwardMovement(data); + } + else { + isMovementHandled = this._handleBackwardMovement(data); + } + // Stop the keydown event if the two-step caret movement handled it. Avoid collisions + // with other features which may also take over the caret movement (e.g. Widget). + if (isMovementHandled === true) { + evt.stop(); + } + }, { context: '$text', priority: 'highest' }); + // The automatic gravity restoration logic. + this.listenTo(modelSelection, 'change:range', (evt, data) => { + // Skipping the automatic restoration is needed if the selection should change + // but the gravity must remain overridden afterwards. See the #handleBackwardMovement + // to learn more. + if (this._isNextGravityRestorationSkipped) { + this._isNextGravityRestorationSkipped = false; + return; + } + // Skip automatic restore when the gravity is not overridden — simply, there's nothing to restore + // at this moment. + if (!this._isGravityOverridden) { + return; + } + // Skip automatic restore when the change is indirect AND the selection is at the attribute boundary. + // It means that e.g. if the change was external (collaboration) and the user had their + // selection around the link, its gravity should remain intact in this change:range event. + if (!data.directChange && isBetweenDifferentAttributes(modelSelection.getFirstPosition(), this.attributes)) { + return; + } + this._restoreGravity(); + }); + // Handle a click at the beginning/end of a two-step element. + this._enableClickingAfterNode(); + // Change the attributes of the selection in certain situations after the two-step node was inserted into the document. + this._enableInsertContentSelectionAttributesFixer(); + // Handle removing the content after the two-step node. + this._handleDeleteContentAfterNode(); + } + /** + * Registers a given attribute for the two-step caret movement. + * + * @param attribute Name of the attribute to handle. + */ + registerAttribute(attribute) { + this.attributes.add(attribute); + } + /** + * Updates the document selection and the view according to the two–step caret movement state + * when moving **forwards**. Executed upon `keypress` in the {@link module:engine/view/view~View}. + * + * @param data Data of the key press. + * @returns `true` when the handler prevented caret movement. + */ + _handleForwardMovement(data) { + const attributes = this.attributes; + const model = this.editor.model; + const selection = model.document.selection; + const position = selection.getFirstPosition(); + // DON'T ENGAGE 2-SCM if gravity is already overridden. It means that we just entered + // + // foo<$text attribute>{}barbaz + // + // or left the attribute + // + // foo<$text attribute>bar{}baz + // + // and the gravity will be restored automatically. + if (this._isGravityOverridden) { + return false; + } + // DON'T ENGAGE 2-SCM when the selection is at the beginning of the block AND already has the + // attribute: + // * when the selection was initially set there using the mouse, + // * when the editor has just started + // + // <$text attribute>{}barbaz + // + if (position.isAtStart && hasAnyAttribute(selection, attributes)) { + return false; + } + // ENGAGE 2-SCM When at least one of the observed attributes changes its value (incl. starts, ends). + // + // foo<$text attribute>bar{}baz + // foo<$text attribute>bar{}<$text otherAttribute>baz + // foo<$text attribute=1>bar{}<$text attribute=2>baz + // foo{}<$text attribute>barbaz + // + if (isBetweenDifferentAttributes(position, attributes)) { + preventCaretMovement(data); + // CLEAR 2-SCM attributes if we are at the end of one 2-SCM and before + // the next one with a different value of the same attribute. + // + // foo<$text attribute=1>bar{}<$text attribute=2>barbaz + // + if (hasAnyAttribute(selection, attributes) && + isBetweenDifferentAttributes(position, attributes, true)) { + clearSelectionAttributes(model, attributes); + } + else { + this._overrideGravity(); + } + return true; + } + return false; + } + /** + * Updates the document selection and the view according to the two–step caret movement state + * when moving **backwards**. Executed upon `keypress` in the {@link module:engine/view/view~View}. + * + * @param data Data of the key press. + * @returns `true` when the handler prevented caret movement + */ + _handleBackwardMovement(data) { + const attributes = this.attributes; + const model = this.editor.model; + const selection = model.document.selection; + const position = selection.getFirstPosition(); + // When the gravity is already overridden (by this plugin), it means we are on the two-step position. + // Prevent the movement, restore the gravity and update selection attributes. + // + // foo<$text attribute=1>bar<$text attribute=2>{}baz + // foo<$text attribute>bar<$text otherAttribute>{}baz + // foo<$text attribute>{}barbaz + // foo<$text attribute>bar{}baz + // + if (this._isGravityOverridden) { + preventCaretMovement(data); + this._restoreGravity(); + // CLEAR 2-SCM attributes if we are at the end of one 2-SCM and before + // the next one with a different value of the same attribute. + // + // foo<$text attribute=1>bar<$text attribute=2>{}barbaz + // + if (isBetweenDifferentAttributes(position, attributes, true)) { + clearSelectionAttributes(model, attributes); + } + else { + setSelectionAttributesFromTheNodeBefore(model, attributes, position); + } + return true; + } + else { + // REMOVE SELECTION ATTRIBUTE when restoring gravity towards a non-existent content at the + // beginning of the block. + // + // {}<$text attribute>bar + // + if (position.isAtStart) { + if (hasAnyAttribute(selection, attributes)) { + preventCaretMovement(data); + setSelectionAttributesFromTheNodeBefore(model, attributes, position); + return true; + } + return false; + } + // SET 2-SCM attributes if we are between nodes with the same attribute but with different values. + // + // foo<$text attribute=1>bar[]<$text attribute=2>barbaz + // + if (!hasAnyAttribute(selection, attributes) && + isBetweenDifferentAttributes(position, attributes, true)) { + preventCaretMovement(data); + setSelectionAttributesFromTheNodeBefore(model, attributes, position); + return true; + } + // When we are moving from natural gravity, to the position of the 2SCM, we need to override the gravity, + // and make sure it won't be restored. Unless it's at the end of the block and an observed attribute. + // We need to check if the caret is a one position before the attribute boundary: + // + // foo<$text attribute=1>bar<$text attribute=2>b{}az + // foo<$text attribute>bar<$text otherAttribute>b{}az + // foo<$text attribute>b{}arbaz + // foo<$text attribute>barb{}az + // + if (isStepAfterAnyAttributeBoundary(position, attributes)) { + // ENGAGE 2-SCM if the selection has no attribute. This may happen when the user + // left the attribute using a FORWARD 2-SCM. + // + // <$text attribute>bar{} + // + if (position.isAtEnd && + !hasAnyAttribute(selection, attributes) && + isBetweenDifferentAttributes(position, attributes)) { + preventCaretMovement(data); + setSelectionAttributesFromTheNodeBefore(model, attributes, position); + return true; + } + // Skip the automatic gravity restore upon the next selection#change:range event. + // If not skipped, it would automatically restore the gravity, which should remain + // overridden. + this._isNextGravityRestorationSkipped = true; + this._overrideGravity(); + // Don't return "true" here because we didn't call _preventCaretMovement. + // Returning here will destabilize the filler logic, which also listens to + // keydown (and the event would be stopped). + return false; + } + } + return false; + } + /** + * Starts listening to {@link module:engine/view/document~Document#event:mousedown} and + * {@link module:engine/view/document~Document#event:selectionChange} and puts the selection before/after a 2-step node + * if clicked at the beginning/ending of the 2-step node. + * + * The purpose of this action is to allow typing around the 2-step node directly after a click. + * + * See https://github.com/ckeditor/ckeditor5/issues/1016. + */ + _enableClickingAfterNode() { + const editor = this.editor; + const model = editor.model; + const selection = model.document.selection; + const document = editor.editing.view.document; + editor.editing.view.addObserver(MouseObserver); + let clicked = false; + // Detect the click. + this.listenTo(document, 'mousedown', () => { + clicked = true; + }); + // When the selection has changed... + this.listenTo(document, 'selectionChange', () => { + const attributes = this.attributes; + if (!clicked) { + return; + } + // ...and it was caused by the click... + clicked = false; + // ...and no text is selected... + if (!selection.isCollapsed) { + return; + } + // ...and clicked text is the 2-step node... + if (!hasAnyAttribute(selection, attributes)) { + return; + } + const position = selection.getFirstPosition(); + if (!isBetweenDifferentAttributes(position, attributes)) { + return; + } + // The selection at the start of a block would use surrounding attributes + // from text after the selection so just clear 2-SCM attributes. + // + // Also, clear attributes for selection between same attribute with different values. + if (position.isAtStart || + isBetweenDifferentAttributes(position, attributes, true)) { + clearSelectionAttributes(model, attributes); + } + else if (!this._isGravityOverridden) { + this._overrideGravity(); + } + }); + } + /** + * Starts listening to {@link module:engine/model/model~Model#event:insertContent} and corrects the model + * selection attributes if the selection is at the end of a two-step node after inserting the content. + * + * The purpose of this action is to improve the overall UX because the user is no longer "trapped" by the + * two-step attribute of the selection, and they can type a "clean" (`linkHref`–less) text right away. + * + * See https://github.com/ckeditor/ckeditor5/issues/6053. + */ + _enableInsertContentSelectionAttributesFixer() { + const editor = this.editor; + const model = editor.model; + const selection = model.document.selection; + const attributes = this.attributes; + this.listenTo(model, 'insertContent', () => { + const position = selection.getFirstPosition(); + if (hasAnyAttribute(selection, attributes) && + isBetweenDifferentAttributes(position, attributes)) { + clearSelectionAttributes(model, attributes); + } + }, { priority: 'low' }); + } + /** + * Starts listening to {@link module:engine/model/model~Model#deleteContent} and checks whether + * removing a content right after the tow-step attribute. + * + * If so, the selection should not preserve the two-step attribute. However, if + * the {@link module:typing/twostepcaretmovement~TwoStepCaretMovement} plugin is active and + * the selection has the two-step attribute due to overridden gravity (at the end), the two-step attribute should stay untouched. + * + * The purpose of this action is to allow removing the link text and keep the selection outside the link. + * + * See https://github.com/ckeditor/ckeditor5/issues/7521. + */ + _handleDeleteContentAfterNode() { + const editor = this.editor; + const model = editor.model; + const selection = model.document.selection; + const view = editor.editing.view; + let isBackspace = false; + let shouldPreserveAttributes = false; + // Detect pressing `Backspace`. + this.listenTo(view.document, 'delete', (evt, data) => { + isBackspace = data.direction === 'backward'; + }, { priority: 'high' }); + // Before removing the content, check whether the selection is inside a two-step attribute. + // If so, we want to preserve those attributes. + this.listenTo(model, 'deleteContent', () => { + if (!isBackspace) { + return; + } + const position = selection.getFirstPosition(); + shouldPreserveAttributes = hasAnyAttribute(selection, this.attributes) && + !isStepAfterAnyAttributeBoundary(position, this.attributes); + }, { priority: 'high' }); + // After removing the content, check whether the current selection should preserve the `linkHref` attribute. + this.listenTo(model, 'deleteContent', () => { + if (!isBackspace) { + return; + } + isBackspace = false; + // Do not escape two-step attribute if it was inside it before content deletion. + if (shouldPreserveAttributes) { + return; + } + // Use `model.enqueueChange()` in order to execute the callback at the end of the changes process. + editor.model.enqueueChange(() => { + const position = selection.getFirstPosition(); + if (hasAnyAttribute(selection, this.attributes) && + isBetweenDifferentAttributes(position, this.attributes)) { + if (position.isAtStart || isBetweenDifferentAttributes(position, this.attributes, true)) { + clearSelectionAttributes(model, this.attributes); + } + else if (!this._isGravityOverridden) { + this._overrideGravity(); + } + } + }); + }, { priority: 'low' }); + } + /** + * `true` when the gravity is overridden for the plugin. + */ + get _isGravityOverridden() { + return !!this._overrideUid; + } + /** + * Overrides the gravity using the {@link module:engine/model/writer~Writer model writer} + * and stores the information about this fact in the {@link #_overrideUid}. + * + * A shorthand for {@link module:engine/model/writer~Writer#overrideSelectionGravity}. + */ + _overrideGravity() { + this._overrideUid = this.editor.model.change(writer => { + return writer.overrideSelectionGravity(); + }); + } + /** + * Restores the gravity using the {@link module:engine/model/writer~Writer model writer}. + * + * A shorthand for {@link module:engine/model/writer~Writer#restoreSelectionGravity}. + */ + _restoreGravity() { + this.editor.model.change(writer => { + writer.restoreSelectionGravity(this._overrideUid); + this._overrideUid = null; + }); + } +} +/** + * Checks whether the selection has any of given attributes. + */ +function hasAnyAttribute(selection, attributes) { + for (const observedAttribute of attributes) { + if (selection.hasAttribute(observedAttribute)) { + return true; + } + } + return false; +} +/** + * Applies the given attributes to the current selection using using the + * values from the node before the current position. Uses + * the {@link module:engine/model/writer~Writer model writer}. + */ +function setSelectionAttributesFromTheNodeBefore(model, attributes, position) { + const nodeBefore = position.nodeBefore; + model.change(writer => { + if (nodeBefore) { + const attributes = []; + const isInlineObject = model.schema.isObject(nodeBefore) && model.schema.isInline(nodeBefore); + for (const [key, value] of nodeBefore.getAttributes()) { + if (model.schema.checkAttribute('$text', key) && + (!isInlineObject || model.schema.getAttributeProperties(key).copyFromObject !== false)) { + attributes.push([key, value]); + } + } + writer.setSelectionAttribute(attributes); + } + else { + writer.removeSelectionAttribute(attributes); + } + }); +} +/** + * Removes 2-SCM attributes from the selection. + */ +function clearSelectionAttributes(model, attributes) { + model.change(writer => { + writer.removeSelectionAttribute(attributes); + }); +} +/** + * Prevents the caret movement in the view by calling `preventDefault` on the event data. + * + * @alias data.preventDefault + */ +function preventCaretMovement(data) { + data.preventDefault(); +} +/** + * Checks whether the step before `isBetweenDifferentAttributes()`. + */ +function isStepAfterAnyAttributeBoundary(position, attributes) { + const positionBefore = position.getShiftedBy(-1); + return isBetweenDifferentAttributes(positionBefore, attributes); +} +/** + * Checks whether the given position is between different values of given attributes. + */ +function isBetweenDifferentAttributes(position, attributes, isStrict = false) { + const { nodeBefore, nodeAfter } = position; + for (const observedAttribute of attributes) { + const attrBefore = nodeBefore ? nodeBefore.getAttribute(observedAttribute) : undefined; + const attrAfter = nodeAfter ? nodeAfter.getAttribute(observedAttribute) : undefined; + if (isStrict && (attrBefore === undefined || attrAfter === undefined)) { + continue; + } + if (attrAfter !== attrBefore) { + return true; + } + } + return false; +} diff --git a/node_modules/@ckeditor/ckeditor5-typing/src/typing.d.ts b/node_modules/@ckeditor/ckeditor5-typing/src/typing.d.ts new file mode 100644 index 0000000..c64196e --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-typing/src/typing.d.ts @@ -0,0 +1,23 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module typing/typing + */ +import { Plugin } from '@ckeditor/ckeditor5-core'; +import Input from './input.js'; +import Delete from './delete.js'; +/** + * The typing feature. It handles typing. + * + * This is a "glue" plugin which loads the {@link module:typing/input~Input} and {@link module:typing/delete~Delete} + * plugins. + */ +export default class Typing extends Plugin { + static get requires(): readonly [typeof Input, typeof Delete]; + /** + * @inheritDoc + */ + static get pluginName(): "Typing"; +} diff --git a/node_modules/@ckeditor/ckeditor5-typing/src/typing.js b/node_modules/@ckeditor/ckeditor5-typing/src/typing.js new file mode 100644 index 0000000..12188e6 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-typing/src/typing.js @@ -0,0 +1,27 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module typing/typing + */ +import { Plugin } from '@ckeditor/ckeditor5-core'; +import Input from './input.js'; +import Delete from './delete.js'; +/** + * The typing feature. It handles typing. + * + * This is a "glue" plugin which loads the {@link module:typing/input~Input} and {@link module:typing/delete~Delete} + * plugins. + */ +export default class Typing extends Plugin { + static get requires() { + return [Input, Delete]; + } + /** + * @inheritDoc + */ + static get pluginName() { + return 'Typing'; + } +} diff --git a/node_modules/@ckeditor/ckeditor5-typing/src/typingconfig.d.ts b/node_modules/@ckeditor/ckeditor5-typing/src/typingconfig.d.ts new file mode 100644 index 0000000..fdfd2f7 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-typing/src/typingconfig.d.ts @@ -0,0 +1,204 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module typing/typingconfig + */ +/** + * The configuration of the typing features. Used by the typing features in `@ckeditor/ckeditor5-typing` package. + * + * ```ts + * ClassicEditor + * .create( editorElement, { + * typing: ... // Typing feature options. + * } ) + * .then( ... ) + * .catch( ... ); + * ``` + * + * See {@link module:core/editor/editorconfig~EditorConfig all editor options}. + */ +export interface TypingConfig { + /** + * The granularity of undo/redo for typing and deleting. The value `20` means (more or less) that a new undo step + * is created every 20 characters are inserted or deleted. + * + * @default 20 + */ + undoStep?: number; + /** + * The configuration of the {@link module:typing/texttransformation~TextTransformation} feature. + * + * Read more in {@link module:typing/typingconfig~TextTransformationConfig}. + */ + transformations: TextTransformationConfig; +} +/** + * The configuration of the text transformation feature. + * + * ```ts + * ClassicEditor + * .create( editorElement, { + * typing: { + * transformations: ... // Text transformation feature options. + * } + * } ) + * .then( ... ) + * .catch( ... ); + * ``` + * + * By default, the feature comes pre-configured + * (via {@link module:typing/typingconfig~TextTransformationConfig#include `config.typing.transformations.include`}) with the + * following groups of transformations: + * + * * Typography (group name: `typography`) + * - `ellipsis`: transforms `...` to `…` + * - `enDash`: transforms ` -- ` to ` – ` + * - `emDash`: transforms ` --- ` to ` — ` + * * Quotations (group name: `quotes`) + * - `quotesPrimary`: transforms `"Foo bar"` to `“Foo bar”` + * - `quotesSecondary`: transforms `'Foo bar'` to `‘Foo bar’` + * * Symbols (group name: `symbols`) + * - `trademark`: transforms `(tm)` to `™` + * - `registeredTrademark`: transforms `(r)` to `®` + * - `copyright`: transforms `(c)` to `©` + * * Mathematical (group name: `mathematical`) + * - `oneHalf`: transforms `1/2` to: `½` + * - `oneThird`: transforms `1/3` to: `⅓` + * - `twoThirds`: transforms `2/3` to: `⅔` + * - `oneForth`: transforms `1/4` to: `¼` + * - `threeQuarters`: transforms `3/4` to: `¾` + * - `lessThanOrEqual`: transforms `<=` to: `≤` + * - `greaterThanOrEqual`: transforms `>=` to: `≥` + * - `notEqual`: transforms `!=` to: `≠` + * - `arrowLeft`: transforms `<-` to: `←` + * - `arrowRight`: transforms `->` to: `→` + * * Misc: + * - `quotesPrimaryEnGb`: transforms `'Foo bar'` to `‘Foo bar’` + * - `quotesSecondaryEnGb`: transforms `"Foo bar"` to `“Foo bar”` + * - `quotesPrimaryPl`: transforms `"Foo bar"` to `„Foo bar”` + * - `quotesSecondaryPl`: transforms `'Foo bar'` to `‚Foo bar’` + * + * In order to load additional transformations, use the + * {@link module:typing/typingconfig~TextTransformationConfig#extra `transformations.extra` option}. + * + * In order to narrow down the list of transformations, use the + * {@link module:typing/typingconfig~TextTransformationConfig#remove `transformations.remove` option}. + * + * In order to completely override the supported transformations, use the + * {@link module:typing/typingconfig~TextTransformationConfig#include `transformations.include` option}. + * + * Examples: + * + * ```ts + * const transformationsConfig = { + * include: [ + * // Use only the 'quotes' and 'typography' groups. + * 'quotes', + * 'typography', + * + * // Plus, some custom transformation. + * { from: 'CKE', to: 'CKEditor' } + * ] + * }; + * + * const transformationsConfig = { + * // Remove the 'ellipsis' transformation loaded by the 'typography' group. + * remove: [ 'ellipsis' ] + * } + * ``` + */ +export interface TextTransformationConfig { + /** + * The standard list of text transformations supported by the editor. By default it comes pre-configured with a couple dozen of them + * (see {@link module:typing/typingconfig~TextTransformationConfig} for the full list). You can override this list completely + * by setting this option or use the other two options + * ({@link module:typing/typingconfig~TextTransformationConfig#extra `transformations.extra`}, + * {@link module:typing/typingconfig~TextTransformationConfig#remove `transformations.remove`}) to fine-tune the default list. + */ + include: Array; + /** + * Additional text transformations that are added to the transformations defined in + * {@link module:typing/typingconfig~TextTransformationConfig#include `transformations.include`}. + * + * ```ts + * const transformationsConfig = { + * extra: [ + * { from: 'CKE', to: 'CKEditor' } + * ] + * }; + * ``` + */ + extra?: Array; + /** + * The text transformation names that are removed from transformations defined in + * {@link module:typing/typingconfig~TextTransformationConfig#include `transformations.include`} or + * {@link module:typing/typingconfig~TextTransformationConfig#extra `transformations.extra`}. + * + * ```ts + * const transformationsConfig = { + * remove: [ + * 'ellipsis', // Remove only 'ellipsis' from the 'typography' group. + * 'mathematical' // Remove all transformations from the 'mathematical' group. + * ] + * } + * ``` + */ + remove?: Array; +} +/** + * The text transformation definition object. It describes what should be replaced with what. + * + * The input value (`from`) can be passed either as a string or as a regular expression. + * + * * If a string is passed, it will be simply checked if the end of the input matches it. + * * If a regular expression is passed, its entire length must be covered with capturing groups (e.g. `/(foo)(bar)$/`). + * Also, since it is compared against the end of the input, it has to end with `$` to be correctly matched. + * See examples below. + * + * The output value (`to`) can be passed as a string, as an array or as a function. + * + * * If a string is passed, it will be used as a replacement value as-is. Note that a string output value can be used only if + * the input value is a string, too. + * * If an array is passed, it has to have the same number of elements as there are capturing groups in the input value regular expression. + * Each capture group will be replaced with a corresponding string from the passed array. If a given capturing group should not be replaced, + * use `null` instead of passing a string. + * * If a function is used, it should return an array as described above. The function is passed one parameter – an array with matches + * by the regular expression. See the examples below. + * + * A simple string-to-string replacement: + * + * ```ts + * { from: '(c)', to: '©' } + * ``` + * + * Change quote styles using a regular expression. Note how all the parts are in separate capturing groups and the space at the beginning + * and the text inside quotes are not replaced (`null` passed as the first and the third value in the `to` parameter): + * + * ```ts + * { + * from: /(^|\s)(")([^"]*)(")$/, + * to: [ null, '“', null, '”' ] + * } + * ``` + * + * Automatic uppercase after a dot using a callback: + * + * ```ts + * { + * from: /(\. )([a-z])$/, + * to: matches => [ null, matches[ 1 ].toUpperCase() ] + * } + * ``` + */ +export interface TextTransformationDescription { + /** + * The string or regular expression to transform. + */ + from: string | RegExp; + /** + * The text to transform compatible with `String.replace()`. + */ + to: string | Array | ((matches: Array) => Array); +} diff --git a/node_modules/@ckeditor/ckeditor5-typing/src/typingconfig.js b/node_modules/@ckeditor/ckeditor5-typing/src/typingconfig.js new file mode 100644 index 0000000..4fffd02 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-typing/src/typingconfig.js @@ -0,0 +1,5 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +export {}; diff --git a/node_modules/@ckeditor/ckeditor5-typing/src/utils/changebuffer.d.ts b/node_modules/@ckeditor/ckeditor5-typing/src/utils/changebuffer.d.ts new file mode 100644 index 0000000..1c0586a --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-typing/src/utils/changebuffer.d.ts @@ -0,0 +1,103 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module typing/utils/changebuffer + */ +import type { Model, Batch } from '@ckeditor/ckeditor5-engine'; +/** + * Change buffer allows to group atomic changes (like characters that have been typed) into + * {@link module:engine/model/batch~Batch batches}. + * + * Batches represent single undo steps, hence changes added to one single batch are undone together. + * + * The buffer has a configurable limit of atomic changes that it can accommodate. After the limit was + * exceeded (see {@link ~ChangeBuffer#input}), a new batch is created in {@link ~ChangeBuffer#batch}. + * + * To use the change buffer you need to let it know about the number of changes that were added to the batch: + * + * ```ts + * const buffer = new ChangeBuffer( model, LIMIT ); + * + * // Later on in your feature: + * buffer.batch.insert( pos, insertedCharacters ); + * buffer.input( insertedCharacters.length ); + * ``` + */ +export default class ChangeBuffer { + /** + * The model instance. + */ + readonly model: Model; + /** + * The maximum number of atomic changes which can be contained in one batch. + */ + readonly limit: number; + /** + * Whether the buffer is locked. A locked buffer cannot be reset unless it gets unlocked. + */ + private _isLocked; + /** + * The number of atomic changes in the buffer. Once it exceeds the {@link #limit}, + * the {@link #batch batch} is set to a new one. + */ + private _size; + /** + * The current batch instance. + */ + private _batch; + /** + * The callback to document the change event which later needs to be removed. + */ + private readonly _changeCallback; + /** + * The callback to document selection `change:attribute` and `change:range` events which resets the buffer. + */ + private readonly _selectionChangeCallback; + /** + * Creates a new instance of the change buffer. + * + * @param limit The maximum number of atomic changes which can be contained in one batch. + */ + constructor(model: Model, limit?: number); + /** + * The current batch to which a feature should add its operations. Once the {@link #size} + * is reached or exceeds the {@link #limit}, the batch is set to a new instance and the size is reset. + */ + get batch(): Batch; + /** + * The number of atomic changes in the buffer. Once it exceeds the {@link #limit}, + * the {@link #batch batch} is set to a new one. + */ + get size(): number; + /** + * The input number of changes into the buffer. Once the {@link #size} is + * reached or exceeds the {@link #limit}, the batch is set to a new instance and the size is reset. + * + * @param changeCount The number of atomic changes to input. + */ + input(changeCount: number): void; + /** + * Whether the buffer is locked. A locked buffer cannot be reset unless it gets unlocked. + */ + get isLocked(): boolean; + /** + * Locks the buffer. + */ + lock(): void; + /** + * Unlocks the buffer. + */ + unlock(): void; + /** + * Destroys the buffer. + */ + destroy(): void; + /** + * Resets the change buffer. + * + * @param ignoreLock Whether internal lock {@link #isLocked} should be ignored. + */ + private _reset; +} diff --git a/node_modules/@ckeditor/ckeditor5-typing/src/utils/changebuffer.js b/node_modules/@ckeditor/ckeditor5-typing/src/utils/changebuffer.js new file mode 100644 index 0000000..8e5769c --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-typing/src/utils/changebuffer.js @@ -0,0 +1,123 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * Change buffer allows to group atomic changes (like characters that have been typed) into + * {@link module:engine/model/batch~Batch batches}. + * + * Batches represent single undo steps, hence changes added to one single batch are undone together. + * + * The buffer has a configurable limit of atomic changes that it can accommodate. After the limit was + * exceeded (see {@link ~ChangeBuffer#input}), a new batch is created in {@link ~ChangeBuffer#batch}. + * + * To use the change buffer you need to let it know about the number of changes that were added to the batch: + * + * ```ts + * const buffer = new ChangeBuffer( model, LIMIT ); + * + * // Later on in your feature: + * buffer.batch.insert( pos, insertedCharacters ); + * buffer.input( insertedCharacters.length ); + * ``` + */ +export default class ChangeBuffer { + /** + * Creates a new instance of the change buffer. + * + * @param limit The maximum number of atomic changes which can be contained in one batch. + */ + constructor(model, limit = 20) { + /** + * The current batch instance. + */ + this._batch = null; + this.model = model; + this._size = 0; + this.limit = limit; + this._isLocked = false; + // The function to be called in order to notify the buffer about batches which appeared in the document. + // The callback will check whether it is a new batch and in that case the buffer will be flushed. + // + // The reason why the buffer needs to be flushed whenever a new batch appears is that the changes added afterwards + // should be added to a new batch. For instance, when the user types, then inserts an image, and then types again, + // the characters typed after inserting the image should be added to a different batch than the characters typed before. + this._changeCallback = (evt, batch) => { + if (batch.isLocal && batch.isUndoable && batch !== this._batch) { + this._reset(true); + } + }; + this._selectionChangeCallback = () => { + this._reset(); + }; + this.model.document.on('change', this._changeCallback); + this.model.document.selection.on('change:range', this._selectionChangeCallback); + this.model.document.selection.on('change:attribute', this._selectionChangeCallback); + } + /** + * The current batch to which a feature should add its operations. Once the {@link #size} + * is reached or exceeds the {@link #limit}, the batch is set to a new instance and the size is reset. + */ + get batch() { + if (!this._batch) { + this._batch = this.model.createBatch({ isTyping: true }); + } + return this._batch; + } + /** + * The number of atomic changes in the buffer. Once it exceeds the {@link #limit}, + * the {@link #batch batch} is set to a new one. + */ + get size() { + return this._size; + } + /** + * The input number of changes into the buffer. Once the {@link #size} is + * reached or exceeds the {@link #limit}, the batch is set to a new instance and the size is reset. + * + * @param changeCount The number of atomic changes to input. + */ + input(changeCount) { + this._size += changeCount; + if (this._size >= this.limit) { + this._reset(true); + } + } + /** + * Whether the buffer is locked. A locked buffer cannot be reset unless it gets unlocked. + */ + get isLocked() { + return this._isLocked; + } + /** + * Locks the buffer. + */ + lock() { + this._isLocked = true; + } + /** + * Unlocks the buffer. + */ + unlock() { + this._isLocked = false; + } + /** + * Destroys the buffer. + */ + destroy() { + this.model.document.off('change', this._changeCallback); + this.model.document.selection.off('change:range', this._selectionChangeCallback); + this.model.document.selection.off('change:attribute', this._selectionChangeCallback); + } + /** + * Resets the change buffer. + * + * @param ignoreLock Whether internal lock {@link #isLocked} should be ignored. + */ + _reset(ignoreLock = false) { + if (!this.isLocked || ignoreLock) { + this._batch = null; + this._size = 0; + } + } +} diff --git a/node_modules/@ckeditor/ckeditor5-typing/src/utils/findattributerange.d.ts b/node_modules/@ckeditor/ckeditor5-typing/src/utils/findattributerange.d.ts new file mode 100644 index 0000000..4573f7d --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-typing/src/utils/findattributerange.d.ts @@ -0,0 +1,33 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module typing/utils/findattributerange + */ +import type { Position, Model, Range } from '@ckeditor/ckeditor5-engine'; +/** + * Returns a model range that covers all consecutive nodes with the same `attributeName` and its `value` + * that intersect the given `position`. + * + * It can be used e.g. to get the entire range on which the `linkHref` attribute needs to be changed when having a + * selection inside a link. + * + * @param position The start position. + * @param attributeName The attribute name. + * @param value The attribute value. + * @param model The model instance. + * @returns The link range. + */ +export default function findAttributeRange(position: Position, attributeName: string, value: unknown, model: Model): Range; +/** + * Walks forward or backward (depends on the `lookBack` flag), node by node, as long as they have the same attribute value + * and returns a position just before or after (depends on the `lookBack` flag) the last matched node. + * + * @param position The start position. + * @param attributeName The attribute name. + * @param value The attribute value. + * @param lookBack Whether the walk direction is forward (`false`) or backward (`true`). + * @returns The position just before the last matched node. + */ +export declare function findAttributeRangeBound(position: Position, attributeName: string, value: unknown, lookBack: boolean, model: Model): Position; diff --git a/node_modules/@ckeditor/ckeditor5-typing/src/utils/findattributerange.js b/node_modules/@ckeditor/ckeditor5-typing/src/utils/findattributerange.js new file mode 100644 index 0000000..a0a328e --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-typing/src/utils/findattributerange.js @@ -0,0 +1,41 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * Returns a model range that covers all consecutive nodes with the same `attributeName` and its `value` + * that intersect the given `position`. + * + * It can be used e.g. to get the entire range on which the `linkHref` attribute needs to be changed when having a + * selection inside a link. + * + * @param position The start position. + * @param attributeName The attribute name. + * @param value The attribute value. + * @param model The model instance. + * @returns The link range. + */ +export default function findAttributeRange(position, attributeName, value, model) { + return model.createRange(findAttributeRangeBound(position, attributeName, value, true, model), findAttributeRangeBound(position, attributeName, value, false, model)); +} +/** + * Walks forward or backward (depends on the `lookBack` flag), node by node, as long as they have the same attribute value + * and returns a position just before or after (depends on the `lookBack` flag) the last matched node. + * + * @param position The start position. + * @param attributeName The attribute name. + * @param value The attribute value. + * @param lookBack Whether the walk direction is forward (`false`) or backward (`true`). + * @returns The position just before the last matched node. + */ +export function findAttributeRangeBound(position, attributeName, value, lookBack, model) { + // Get node before or after position (depends on `lookBack` flag). + // When position is inside text node then start searching from text node. + let node = position.textNode || (lookBack ? position.nodeBefore : position.nodeAfter); + let lastNode = null; + while (node && node.getAttribute(attributeName) == value) { + lastNode = node; + node = lookBack ? node.previousSibling : node.nextSibling; + } + return lastNode ? model.createPositionAt(lastNode, lookBack ? 'before' : 'after') : position; +} diff --git a/node_modules/@ckeditor/ckeditor5-typing/src/utils/getlasttextline.d.ts b/node_modules/@ckeditor/ckeditor5-typing/src/utils/getlasttextline.d.ts new file mode 100644 index 0000000..8269a1d --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-typing/src/utils/getlasttextline.d.ts @@ -0,0 +1,49 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module typing/utils/getlasttextline + */ +import type { Model, Range } from '@ckeditor/ckeditor5-engine'; +/** + * Returns the last text line from the given range. + * + * "The last text line" is understood as text (from one or more text nodes) which is limited either by a parent block + * or by inline elements (e.g. ``). + * + * ```ts + * const rangeToCheck = model.createRange( + * model.createPositionAt( paragraph, 0 ), + * model.createPositionAt( paragraph, 'end' ) + * ); + * + * const { text, range } = getLastTextLine( rangeToCheck, model ); + * ``` + * + * For model below, the returned `text` will be "Foo bar baz" and `range` will be set on whole `` content: + * + * ```xml + * Foo bar baz + * ``` + * + * However, in below case, `text` will be set to "baz" and `range` will be set only on "baz". + * + * ```xml + * Foobarbaz + * ``` + */ +export default function getLastTextLine(range: Range, model: Model): LastTextLineData; +/** + * The value returned by {@link module:typing/utils/getlasttextline~getLastTextLine}. + */ +export type LastTextLineData = { + /** + * The text from the text nodes in the last text line. + */ + text: string; + /** + * The range set on the text nodes in the last text line. + */ + range: Range; +}; diff --git a/node_modules/@ckeditor/ckeditor5-typing/src/utils/getlasttextline.js b/node_modules/@ckeditor/ckeditor5-typing/src/utils/getlasttextline.js new file mode 100644 index 0000000..1298414 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-typing/src/utils/getlasttextline.js @@ -0,0 +1,43 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * Returns the last text line from the given range. + * + * "The last text line" is understood as text (from one or more text nodes) which is limited either by a parent block + * or by inline elements (e.g. ``). + * + * ```ts + * const rangeToCheck = model.createRange( + * model.createPositionAt( paragraph, 0 ), + * model.createPositionAt( paragraph, 'end' ) + * ); + * + * const { text, range } = getLastTextLine( rangeToCheck, model ); + * ``` + * + * For model below, the returned `text` will be "Foo bar baz" and `range` will be set on whole `` content: + * + * ```xml + * Foo bar baz + * ``` + * + * However, in below case, `text` will be set to "baz" and `range` will be set only on "baz". + * + * ```xml + * Foobarbaz + * ``` + */ +export default function getLastTextLine(range, model) { + let start = range.start; + const text = Array.from(range.getWalker({ ignoreElementEnd: false })).reduce((rangeText, { item }) => { + // Trim text to a last occurrence of an inline element and update range start. + if (!(item.is('$text') || item.is('$textProxy'))) { + start = model.createPositionAfter(item); + return ''; + } + return rangeText + item.data; + }, ''); + return { text, range: model.createRange(start, range.end) }; +} diff --git a/node_modules/@ckeditor/ckeditor5-typing/src/utils/inlinehighlight.d.ts b/node_modules/@ckeditor/ckeditor5-typing/src/utils/inlinehighlight.d.ts new file mode 100644 index 0000000..74325bb --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-typing/src/utils/inlinehighlight.d.ts @@ -0,0 +1,33 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +import type { Editor } from '@ckeditor/ckeditor5-core'; +/** + * Adds a visual highlight style to an attribute element in which the selection is anchored. + * Together with two-step caret movement, they indicate that the user is typing inside the element. + * + * Highlight is turned on by adding the given class to the attribute element in the view: + * + * * The class is removed before the conversion has started, as callbacks added with the `'highest'` priority + * to {@link module:engine/conversion/downcastdispatcher~DowncastDispatcher} events. + * * The class is added in the view post fixer, after other changes in the model tree were converted to the view. + * + * This way, adding and removing the highlight does not interfere with conversion. + * + * Usage: + * + * ```ts + * import inlineHighlight from '@ckeditor/ckeditor5-typing/src/utils/inlinehighlight'; + * + * // Make `ck-link_selected` class be applied on an `a` element + * // whenever the corresponding `linkHref` attribute element is selected. + * inlineHighlight( editor, 'linkHref', 'a', 'ck-link_selected' ); + * ``` + * + * @param editor The editor instance. + * @param attributeName The attribute name to check. + * @param tagName The tagName of a view item. + * @param className The class name to apply in the view. + */ +export default function inlineHighlight(editor: Editor, attributeName: string, tagName: string, className: string): void; diff --git a/node_modules/@ckeditor/ckeditor5-typing/src/utils/inlinehighlight.js b/node_modules/@ckeditor/ckeditor5-typing/src/utils/inlinehighlight.js new file mode 100644 index 0000000..8ceb87b --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-typing/src/utils/inlinehighlight.js @@ -0,0 +1,74 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module typing/utils/inlinehighlight + */ +import findAttributeRange from './findattributerange.js'; +/** + * Adds a visual highlight style to an attribute element in which the selection is anchored. + * Together with two-step caret movement, they indicate that the user is typing inside the element. + * + * Highlight is turned on by adding the given class to the attribute element in the view: + * + * * The class is removed before the conversion has started, as callbacks added with the `'highest'` priority + * to {@link module:engine/conversion/downcastdispatcher~DowncastDispatcher} events. + * * The class is added in the view post fixer, after other changes in the model tree were converted to the view. + * + * This way, adding and removing the highlight does not interfere with conversion. + * + * Usage: + * + * ```ts + * import inlineHighlight from '@ckeditor/ckeditor5-typing/src/utils/inlinehighlight'; + * + * // Make `ck-link_selected` class be applied on an `a` element + * // whenever the corresponding `linkHref` attribute element is selected. + * inlineHighlight( editor, 'linkHref', 'a', 'ck-link_selected' ); + * ``` + * + * @param editor The editor instance. + * @param attributeName The attribute name to check. + * @param tagName The tagName of a view item. + * @param className The class name to apply in the view. + */ +export default function inlineHighlight(editor, attributeName, tagName, className) { + const view = editor.editing.view; + const highlightedElements = new Set(); + // Adding the class. + view.document.registerPostFixer(writer => { + const selection = editor.model.document.selection; + let changed = false; + if (selection.hasAttribute(attributeName)) { + const modelRange = findAttributeRange(selection.getFirstPosition(), attributeName, selection.getAttribute(attributeName), editor.model); + const viewRange = editor.editing.mapper.toViewRange(modelRange); + // There might be multiple view elements in the `viewRange`, for example, when the `a` element is + // broken by a UIElement. + for (const item of viewRange.getItems()) { + if (item.is('element', tagName) && !item.hasClass(className)) { + writer.addClass(className, item); + highlightedElements.add(item); + changed = true; + } + } + } + return changed; + }); + // Removing the class. + editor.conversion.for('editingDowncast').add(dispatcher => { + // Make sure the highlight is removed on every possible event, before conversion is started. + dispatcher.on('insert', removeHighlight, { priority: 'highest' }); + dispatcher.on('remove', removeHighlight, { priority: 'highest' }); + dispatcher.on('attribute', removeHighlight, { priority: 'highest' }); + dispatcher.on('selection', removeHighlight, { priority: 'highest' }); + function removeHighlight() { + view.change(writer => { + for (const item of highlightedElements.values()) { + writer.removeClass(className, item); + highlightedElements.delete(item); + } + }); + } + }); +} diff --git a/node_modules/@ckeditor/ckeditor5-ui/CHANGELOG.md b/node_modules/@ckeditor/ckeditor5-ui/CHANGELOG.md new file mode 100644 index 0000000..dc1d148 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/CHANGELOG.md @@ -0,0 +1,542 @@ +Changelog +========= + +All changes in the package are documented in the main repository. See: https://github.com/ckeditor/ckeditor5/blob/master/CHANGELOG.md. + +Changes for the past releases are available below. + +## [19.0.0](https://github.com/ckeditor/ckeditor5-ui/compare/v18.0.0...v19.0.0) (April 29, 2020) + +### MAJOR BREAKING CHANGES + +* `ViewCollection` no longer has the `locale` property. +* The `ViewCollection#constructor()` no longer accepts the `locale` parameter. +* `LabeledView` component was renamed to `LabeledFieldView`. Also, its instance of a labeled component's view is available through `LabeledFieldView#fieldView`. It replaced the `LabeledView#view`. + +### MINOR BREAKING CHANGES + +* The `DropdownView#focusTracker` property has been removed as it served no purpose. + +### Features + +* Allowed defining initial items of `ViewCollection` and `BodyCollection` in the constructor. See [ckeditor/ckeditor5#6319](https://github.com/ckeditor/ckeditor5/issues/6319). ([6cd15de](https://github.com/ckeditor/ckeditor5-ui/commit/6cd15de)) + + The `View#createCollection()` method now also accepts an iterator of views. +* Introduce `FormHeaderView` UI component. Closes [ckeditor/ckeditor5#6109](https://github.com/ckeditor/ckeditor5/issues/6109). ([eb1ce18](https://github.com/ckeditor/ckeditor5-ui/commit/eb1ce18)) +* The `BlockToolbar` should group items when there is no place to show them all. Closes [ckeditor/ckeditor5#6449](https://github.com/ckeditor/ckeditor5/issues/6449). Closes [ckeditor/ckeditor5#6575](https://github.com/ckeditor/ckeditor5/issues/6575). Closes [ckeditor/ckeditor5#6570](https://github.com/ckeditor/ckeditor5/issues/6570). ([fcd9c4e](https://github.com/ckeditor/ckeditor5-ui/commit/fcd9c4e)) + + Improved `ToolbarView#maxWidth` and items grouping when the toolbar is invisible. + +### Bug fixes + +* Call `ResizeObserver.destroy()` when destroying block toolbar. ([59449d2](https://github.com/ckeditor/ckeditor5-ui/commit/59449d2)) + +### Other changes + +* Removed the obsolete `DropdownView#focusTracker`. Closes [ckeditor/ckeditor5#6548](https://github.com/ckeditor/ckeditor5/issues/6548). ([ac750c7](https://github.com/ckeditor/ckeditor5-ui/commit/ac750c7)) +* Rename `LabeledView` component to `LabeledFieldView`. See [ckeditor/ckeditor5#6110](https://github.com/ckeditor/ckeditor5/issues/6110). ([5a7aca7](https://github.com/ckeditor/ckeditor5-ui/commit/5a7aca7)) +* Updated translations. ([2a391d6](https://github.com/ckeditor/ckeditor5-ui/commit/2a391d6)) + + +## [18.0.0](https://github.com/ckeditor/ckeditor5-ui/compare/v17.0.0...v18.0.0) (March 19, 2020) + +### MAJOR BREAKING CHANGES + +* The `BalloonToolbar` plugin now groups the overflowing items by default. This can be disabled by setting [`config.balloonToolbar.shouldNotGroupWhenFull`](https://ckeditor.com/docs/ckeditor5/latest/api/module_ui_toolbar_toolbarview-ToolbarOptions.html#member-shouldGroupWhenFull) configuration to `true`. + +### Features + +* The `BalloonToolbar` plugin should group items when its width is close to related editable element's width. Closes [ckeditor/ckeditor5#5597](https://github.com/ckeditor/ckeditor5/issues/5597). Closes [ckeditor/ckeditor5#5501](https://github.com/ckeditor/ckeditor5/issues/5501). ([d36fd23](https://github.com/ckeditor/ckeditor5-ui/commit/d36fd23)) + + [`BalloonPanelView.defaultPositions`](https://ckeditor.com/docs/ckeditor5/latest/api/module_ui_panel_balloon_balloonpanelview-BalloonPanelView.html#static-member-defaultPositions) has been extended with additional positions. Refer to the documentation to learn more. + +### Other changes + +* Updated translations. ([ace38eb](https://github.com/ckeditor/ckeditor5-ui/commit/ace38eb)) + + +## [17.0.0](https://github.com/ckeditor/ckeditor5-ui/compare/v16.0.0...v17.0.0) (February 19, 2020) + +### Features + +* Created the `LabeledView` class (see https://github.com/ckeditor/ckeditor5-table/pull/227). ([ec39406](https://github.com/ckeditor/ckeditor5-ui/commit/ec39406)) + + Also added `id` properties to the `DropdownView` and `LabelView` for compatibility with the `LabeledView`. +* Implemented the `Toolbar#isCompact` property to turn regular toolbars into compact ones (with less spacing) (see [ckeditor/ckeditor5#6112](https://github.com/ckeditor/ckeditor5/issues/6112)). ([a6b9c09](https://github.com/ckeditor/ckeditor5-ui/commit/a6b9c09)) +* Reintroduced the concept of body collections with a focus on better management of multiple editors and support for context plugins (plugins which leave outside an editor instance). Closes [ckeditor/ckeditor5#5888](https://github.com/ckeditor/ckeditor5/issues/5888). ([23d12e9](https://github.com/ckeditor/ckeditor5-ui/commit/23d12e9)) + +### Bug fixes + +* Make `BlockToolbar` work with an empty configuration. Closes [ckeditor/ckeditor5#5980](https://github.com/ckeditor/ckeditor5/issues/5980). ([1e05098](https://github.com/ckeditor/ckeditor5-ui/commit/1e05098)) + +### Other changes + +* Replaced the `getResizeObserver()` helper with new `ResizeObserver` class in `ToolbarView`. ([be98aa4](https://github.com/ckeditor/ckeditor5-ui/commit/be98aa4)) + + Follow-up on: https://github.com/ckeditor/ckeditor5-utils/pull/320 +* Updated translations. ([b8bd38e](https://github.com/ckeditor/ckeditor5-ui/commit/b8bd38e)) + + +## [16.0.0](https://github.com/ckeditor/ckeditor5-ui/compare/v15.0.0...v16.0.0) (December 4, 2019) + +### Features + +* Enabled keystroke preview in `ButtonView`. Implemented the `ButtonView#withKeystroke` property. Closes [ckeditor/ckeditor5#5782](https://github.com/ckeditor/ckeditor5/issues/5782). ([dac8ce0](https://github.com/ckeditor/ckeditor5-ui/commit/dac8ce0)) + +### Bug fixes + +* Use relative positioning for dropdowns to prevent ugly blurring in Chrome. Closes [ckeditor/ckeditor5#1053](https://github.com/ckeditor/ckeditor5/issues/1053). ([95404e3](https://github.com/ckeditor/ckeditor5-ui/commit/95404e3)) + +### Other changes + +* Updated translations. ([16ee253](https://github.com/ckeditor/ckeditor5-ui/commit/16ee253)) + + +## [15.0.0](https://github.com/ckeditor/ckeditor5-ui/compare/v14.0.0...v15.0.0) (October 23, 2019) + +### MAJOR BREAKING CHANGES + +* The internal structure of the toolbar component has changed. Toolbar items are no longer direct descendants of the toolbar in the DOM, which may affect some integrations (mainly CSS selectors if adjustments were made to the styles). + +### Features + +* The editor toolbar is now responsive. Closes [ckeditor/ckeditor5#416](https://github.com/ckeditor/ckeditor5/issues/416). ([46911bf](https://github.com/ckeditor/ckeditor5-ui/commit/46911bf)) + +### Other changes + +* Updated translations. ([c233bb7](https://github.com/ckeditor/ckeditor5-ui/commit/c233bb7)) ([f8f07b2](https://github.com/ckeditor/ckeditor5-ui/commit/f8f07b2)) + + +## [14.0.0](https://github.com/ckeditor/ckeditor5-ui/compare/v13.0.2...v14.0.0) (August 26, 2019) + +### Features + +* Brought support for right–to–left (RTL) languages to various UI components. See [ckeditor/ckeditor5#1151](https://github.com/ckeditor/ckeditor5/issues/1151). ([d6c7f55](https://github.com/ckeditor/ckeditor5-ui/commit/d6c7f55)) + +### Bug fixes + +* `ColorGrid` should set the `#isOn` property value of new `ColorTiles`. See [ckeditor/ckeditor5-font#51](https://github.com/ckeditor/ckeditor5-font/issues/51). ([e89ad60](https://github.com/ckeditor/ckeditor5-ui/commit/e89ad60)) +* All editor toolbars should come with the `role` and `aria-label` attributes. Closes [ckeditor/ckeditor5#1404](https://github.com/ckeditor/ckeditor5/issues/1404). ([bdede90](https://github.com/ckeditor/ckeditor5-ui/commit/bdede90)) +* Screen reader will now properly prompt errors for text inputs. Closes [ckeditor/ckeditor5#1406](https://github.com/ckeditor/ckeditor5/issues/1406). ([3a164b7](https://github.com/ckeditor/ckeditor5-ui/commit/3a164b7)) + +### Other changes + +* The issue tracker for this package was moved to https://github.com/ckeditor/ckeditor5/issues. See [ckeditor/ckeditor5#1988](https://github.com/ckeditor/ckeditor5/issues/1988). ([451df7b](https://github.com/ckeditor/ckeditor5-ui/commit/451df7b)) +* Updated translations. ([eca9fe6](https://github.com/ckeditor/ckeditor5-ui/commit/eca9fe6)) + +### BREAKING CHANGES + +* The `ToolbarView` class requires the [editor locale](https://ckeditor.com/docs/ckeditor5/latest/api/module_utils_locale-Locale.html) to be passed into the constructor. + + +## [13.0.2](https://github.com/ckeditor/ckeditor5-ui/compare/v13.0.1...v13.0.2) (July 10, 2019) + +### Other changes + +* Updated translations. ([ad189b6](https://github.com/ckeditor/ckeditor5-ui/commit/ad189b6)) + + +## [13.0.1](https://github.com/ckeditor/ckeditor5-ui/compare/v13.0.0...v13.0.1) (July 4, 2019) + +### Other changes + +* Updated translations. ([1964cc0](https://github.com/ckeditor/ckeditor5-ui/commit/1964cc0)) ([11cfd41](https://github.com/ckeditor/ckeditor5-ui/commit/11cfd41)) + + +## [13.0.0](https://github.com/ckeditor/ckeditor5-ui/compare/v12.1.0...v13.0.0) (June 6, 2019) + +### Features + +* Implemented the single view mode for the `ContextualBalloon` plugin. See https://github.com/ckeditor/ckeditor5-mention/issues/74. ([c000c93](https://github.com/ckeditor/ckeditor5-ui/commit/c000c93)) +* Introduced rotatable panels for `ContextualBalloon`. Closes https://github.com/ckeditor/ckeditor5-ui/issues/491. ([581d8f7](https://github.com/ckeditor/ckeditor5-ui/commit/581d8f7)) + +### Other changes + +* Renamed a misspelled `InputTextViewariaDesribedById` property to `InputTextView#ariaDescribedById`. Closes [#483](https://github.com/ckeditor/ckeditor5-ui/issues/483). ([2288bf3](https://github.com/ckeditor/ckeditor5-ui/commit/2288bf3)) +* The `_rwd.css` mixin was moved to this package from `@ckeditor/ckeditor5-theme-lark`. See [ckeditor/ckeditor5#1662](https://github.com/ckeditor/ckeditor5/issues/1662). ([96e3a3c](https://github.com/ckeditor/ckeditor5-ui/commit/96e3a3c)) +* The `ContextualBalloon#add()` method should accept the `withArrow` option. Closes [#487](https://github.com/ckeditor/ckeditor5-ui/issues/487). ([0e7f670](https://github.com/ckeditor/ckeditor5-ui/commit/0e7f670)) +* Updated translations. ([4699d8b](https://github.com/ckeditor/ckeditor5-ui/commit/4699d8b)) ([d4c5714](https://github.com/ckeditor/ckeditor5-ui/commit/d4c5714)) + +### BREAKING CHANGES + +* The (misspelled) `InputTextView#ariaDesribedById` property is no longer available. Use `ariaDescribedById` instead. + + +## [12.1.0](https://github.com/ckeditor/ckeditor5-ui/compare/v12.0.0...v12.1.0) (April 4, 2019) + +### Features + +* Implemented `ColorGridView` and `ColorTileView` components. See [ckeditor/ckeditor5#1457](https://github.com/ckeditor/ckeditor5/issues/1457). ([6be52b4](https://github.com/ckeditor/ckeditor5-ui/commit/6be52b4)) + +### Bug fixes + +* Fixed `View#render` collision when moving focus from a one editable to the other in multi-root editor. Closes https://github.com/ckeditor/ckeditor5/issues/1676. ([17e86f9](https://github.com/ckeditor/ckeditor5-ui/commit/17e86f9)) + +### Other changes + +* Optimized icons. ([5325ea8](https://github.com/ckeditor/ckeditor5-ui/commit/5325ea8)) +* Updated translations. ([dcdca2e](https://github.com/ckeditor/ckeditor5-ui/commit/dcdca2e)) + + +## [12.0.0](https://github.com/ckeditor/ckeditor5-ui/compare/v11.2.0...v12.0.0) (February 28, 2019) + +### Bug fixes + +* Prevented from changing the view document during the render phase. Closes https://github.com/ckeditor/ckeditor5/issues/1530. ([7cf835e](https://github.com/ckeditor/ckeditor5-ui/commit/7cf835e)) +* Fixed memory leaks during editor initialization and destruction (see [ckeditor/ckeditor5#1341](https://github.com/ckeditor/ckeditor5/issues/1341)). ([fd18fb9](https://github.com/ckeditor/ckeditor5-ui/commit/fd18fb9)) + +### Other changes + +* The `class` property should control the DOM class attribute in all UI components. Closes [#450](https://github.com/ckeditor/ckeditor5-ui/issues/450). ([b9b68c6](https://github.com/ckeditor/ckeditor5-ui/commit/b9b68c6)) +* Updated translations. ([b9caee9](https://github.com/ckeditor/ckeditor5-ui/commit/b9caee9)) ([a3afaaa](https://github.com/ckeditor/ckeditor5-ui/commit/a3afaaa)) ([909e676](https://github.com/ckeditor/ckeditor5-ui/commit/909e676)) + +### BREAKING CHANGES + +* Upgraded minimal versions of Node to `8.0.0` and npm to `5.7.1`. See: [ckeditor/ckeditor5#1507](https://github.com/ckeditor/ckeditor5/issues/1507). ([612ea3c](https://github.com/ckeditor/ckeditor5-cloud-services/commit/612ea3c)) +* The `BallonPanelView#className` property was renamed to `#class`. +* The `ToolbarView#className` property was renamed to `#class`. +* The `EditableUIView#externalElement` property (which held the element on which the editor was created if it was explicitly passed) was removed. +* The `EditorUIView#editableElement` property was made private. Use `editor.ui.getEditableElement()` method instead. + + +## [11.2.0](https://github.com/ckeditor/ckeditor5-ui/compare/v11.1.0...v11.2.0) (December 5, 2018) + +### Features + +* Added the `.ck-read-only` CSS class to the `EditableUIView` when `#isReadOnly` is `true`. ([4119822](https://github.com/ckeditor/ckeditor5-ui/commit/4119822)) +* Added the optional `DropdownView#class` property to set a custom CSS class on the main element in DOM. Closes [#447](https://github.com/ckeditor/ckeditor5-ui/issues/447). ([9cdcd4a](https://github.com/ckeditor/ckeditor5-ui/commit/9cdcd4a)) + + Thanks to [@lucasreppewelander](https://github.com/lucasreppewelander)! +* Implemented `LabeledInputView#infoText` to display useful hints next to the input (see [ckeditor/ckeditor5-media-embed#35](https://github.com/ckeditor/ckeditor5-media-embed/issues/35)). ([6ac03ea](https://github.com/ckeditor/ckeditor5-ui/commit/6ac03ea)) +* Implemented configurable, smart `DropdownView` panel positioning. Closes [#123](https://github.com/ckeditor/ckeditor5-ui/issues/123). ([8094f19](https://github.com/ckeditor/ckeditor5-ui/commit/8094f19)) + +### Other changes + +* Improved SVG icons size. See [ckeditor/ckeditor5-theme-lark#206](https://github.com/ckeditor/ckeditor5-theme-lark/issues/206). ([ed88305](https://github.com/ckeditor/ckeditor5-ui/commit/ed88305)) +* Updated translations. ([2e409a9](https://github.com/ckeditor/ckeditor5-ui/commit/2e409a9)) ([611bd04](https://github.com/ckeditor/ckeditor5-ui/commit/611bd04)) ([c6689e4](https://github.com/ckeditor/ckeditor5-ui/commit/c6689e4)) ([07c4fdb](https://github.com/ckeditor/ckeditor5-ui/commit/07c4fdb)) + + +## [11.1.0](https://github.com/ckeditor/ckeditor5-ui/compare/v11.0.0...v11.1.0) (October 8, 2018) + +### Features + +* Allowed displaying an error message next to the `LabeledInputVIew` (see [ckeditor/ckeditor5-media-embed#1](https://github.com/ckeditor/ckeditor5-media-embed/issues/1)). ([81aaea4](https://github.com/ckeditor/ckeditor5-ui/commit/81aaea4)) + +### Bug fixes + +* Made the `Edit block` string translatable. Closes [#445](https://github.com/ckeditor/ckeditor5-ui/issues/445). ([1fa84e9](https://github.com/ckeditor/ckeditor5-ui/commit/1fa84e9)) + +### Other changes + +* Updated translations. ([baff3c9](https://github.com/ckeditor/ckeditor5-ui/commit/baff3c9)) +* Updated translations. ([e58bcbb](https://github.com/ckeditor/ckeditor5-ui/commit/e58bcbb)) + + +## [11.0.0](https://github.com/ckeditor/ckeditor5-ui/compare/v10.1.0...v11.0.0) (July 18, 2018) + +### Features + +* Implemented the `SwitchButtonView`. Closes [#402](https://github.com/ckeditor/ckeditor5-ui/issues/402). Closes [#403](https://github.com/ckeditor/ckeditor5-ui/issues/403). ([105fbea](https://github.com/ckeditor/ckeditor5-ui/commit/105fbea)) + + Also: + + * Simplified the `ListItemView` class, which is now just a container for `ButtonView` (and others), + * Moved `ListItemView#style` and `#class` to the `ButtonView` (as `#class` and `#labelStyle`), + * Enhanced the `addListToDropdown` utility with a better configuration (`ListDropdownItemDefinition`) and the support for buttons, switch buttons, and separators, + * `.ck-button` and `.ck-list` became `flex` containers; the first one to allow complex inner structures (like the toggle) and the later to take control of complex list items (like `.ck-switchbutton`). + +### Bug fixes + +* The `BalloonToolbar` should hide when the editable is blurred. Closes [#418](https://github.com/ckeditor/ckeditor5-ui/issues/418). ([f6a02d4](https://github.com/ckeditor/ckeditor5-ui/commit/f6a02d4)) +* The `BlockToolbar` should add elements to the `FocusTracker` only after `uiReady` is fired to avoid errors. Closes [#424](https://github.com/ckeditor/ckeditor5-ui/issues/424). ([ae9fa09](https://github.com/ckeditor/ckeditor5-ui/commit/ae9fa09)) +* The `BlockToolbar` should hide when the editor is blurred. Closes [#408](https://github.com/ckeditor/ckeditor5-ui/issues/408). ([e3bbccf](https://github.com/ckeditor/ckeditor5-ui/commit/e3bbccf)) + +### Other changes + +* Allowed list item's buttons to have an outer, visible box-shadow. Ensured the balloon panel's arrow does not cover panel's children. Closes [#394](https://github.com/ckeditor/ckeditor5-ui/issues/394). ([8a64ee2](https://github.com/ckeditor/ckeditor5-ui/commit/8a64ee2)) +* Updated translations. ([949585d](https://github.com/ckeditor/ckeditor5-ui/commit/949585d)) + +### BREAKING CHANGES + +* Most of the `ListItemView` functionality is now handled by the `ButtonView`, +* The API of the `addListToDropdown` has changed; see `ListDropdownItemDefinition` to learn more, +* The `.ck-button` and `.ck-list` classes are using `flex` which may have an impact on rendering. + + +## [10.1.0](https://github.com/ckeditor/ckeditor5-ui/compare/v10.0.0...v10.1.0) (June 21, 2018) + +### Features + +* Implemented list component separators (see [ckeditor/ckeditor5-table#24](https://github.com/ckeditor/ckeditor5-table/issues/24)). ([0808a8c](https://github.com/ckeditor/ckeditor5-ui/commit/0808a8c)) +* Introduced the `BlockToolbar` plugin. Closes [#391](https://github.com/ckeditor/ckeditor5-ui/issues/391). ([5868516](https://github.com/ckeditor/ckeditor5-ui/commit/5868516)) + +### Bug fixes + +* The action should be executed upon the first click of a tooltip-enabled UI in iOS. Closes [ckeditor/ckeditor5#920](https://github.com/ckeditor/ckeditor5/issues/920). ([6508ba2](https://github.com/ckeditor/ckeditor5-ui/commit/6508ba2)) +* The balloon toolbar should be attached correctly in case of a multi-range selection. Closes [#385](https://github.com/ckeditor/ckeditor5-ui/issues/385). ([714ef21](https://github.com/ckeditor/ckeditor5-ui/commit/714ef21)) +* The buttons in the editor should provide basic accessibility. Closes [ckeditor/ckeditor5#1013](https://github.com/ckeditor/ckeditor5/issues/1013). ([9e17d13](https://github.com/ckeditor/ckeditor5-ui/commit/9e17d13)) + +### Other changes + +* Disabling a `ListItemView` should be possible using the `isEnabled` property. Closes [#389](https://github.com/ckeditor/ckeditor5-ui/issues/389). ([76a4d47](https://github.com/ckeditor/ckeditor5-ui/commit/76a4d47)) +* Made the `ContextualBalloon` always use the position of the topmost view in the stack (see: [ckeditor/ckeditor5-table#28](https://github.com/ckeditor/ckeditor5-table/issues/28)). Closes [ckeditor/ckeditor5#900](https://github.com/ckeditor/ckeditor5/issues/900). ([a2ef073](https://github.com/ckeditor/ckeditor5-ui/commit/a2ef073)) +* Updated translations. ([084e8c6](https://github.com/ckeditor/ckeditor5-ui/commit/084e8c6)) + + +## [10.0.0](https://github.com/ckeditor/ckeditor5-ui/compare/v1.0.0-beta.4...v10.0.0) (April 25, 2018) + +### Other changes + +* Changed the license to GPL2+ only. See [ckeditor/ckeditor5#991](https://github.com/ckeditor/ckeditor5/issues/991). ([f1e5fbf](https://github.com/ckeditor/ckeditor5-ui/commit/f1e5fbf)) + +### BREAKING CHANGES + +* The license under which CKEditor 5 is released has been changed from a triple GPL, LGPL and MPL license to a GPL2+ only. See [ckeditor/ckeditor5#991](https://github.com/ckeditor/ckeditor5/issues/991) for more information. + + +## [1.0.0-beta.4](https://github.com/ckeditor/ckeditor5-ui/compare/v1.0.0-beta.2...v1.0.0-beta.4) (April 19, 2018) + +Internal changes only (updated dependencies, documentation, etc.). + + +## [1.0.0-beta.2](https://github.com/ckeditor/ckeditor5-ui/compare/v1.0.0-beta.1...v1.0.0-beta.2) (April 10, 2018) + +### Other changes + +* Renamed plural method names to singular. See [ckeditor/ckeditor5#742](https://github.com/ckeditor/ckeditor5/issues/742). ([48cd53d](https://github.com/ckeditor/ckeditor5-ui/commit/48cd53d)) + +### BREAKING CHANGES + +* `View#registerChildren()` and `View#deregisterChildren()` have been renamed to `View#registerChild()` and `View#deregisterChild()`. + + +## [1.0.0-beta.1](https://github.com/ckeditor/ckeditor5-ui/compare/v1.0.0-alpha.2...v1.0.0-beta.1) (March 15, 2018) + +### Features + +* Implemented the `IconView#fillColor` observable which fills child `.ck-icon__fill` paths with the color (see [ckeditor/ckeditor5-theme-lark#148](https://github.com/ckeditor/ckeditor5-theme-lark/issues/148)). ([728a691](https://github.com/ckeditor/ckeditor5-ui/commit/728a691)) +* Initial implementation of the `ButtonDropdownView`. Closes [#333](https://github.com/ckeditor/ckeditor5-ui/issues/333). ([6e9c6e4](https://github.com/ckeditor/ckeditor5-ui/commit/6e9c6e4)) + + Also: + + * Allowed vertical layout of the `ToolbarView` thanks to the `#isVertical` attribute. + * Implemented `ToolbarView#className` attribute. + * Implemented `DropdownView#isEnabled` attribute along with the CSS class binding. +* Updated UI components to bring the support for the refreshed Lark theme (see [ckeditor/ckeditor5#645](https://github.com/ckeditor/ckeditor5/issues/645)). ([623d536](https://github.com/ckeditor/ckeditor5-ui/commit/623d536)) + +### Bug fixes + +* Button icon styles should not touch the dropdown's arrow. Closes [ckeditor/ckeditor5#831](https://github.com/ckeditor/ckeditor5/issues/831). ([507549f](https://github.com/ckeditor/ckeditor5-ui/commit/507549f)) + +### Other changes + +* Added a CSS class to the SplitButtonView when the arrow is on (see [ckeditor/ckeditor5-theme-lark#134](https://github.com/ckeditor/ckeditor5-theme-lark/issues/134)). ([d490d61](https://github.com/ckeditor/ckeditor5-ui/commit/d490d61)) +* Added the `.ck-content` CSS class to the `EditableUIView` to simplify styling the editor content. Closes [#176](https://github.com/ckeditor/ckeditor5-ui/issues/176). ([f38ae70](https://github.com/ckeditor/ckeditor5-ui/commit/f38ae70)) +* Align feature class naming to a new scheme. ([1c500f6](https://github.com/ckeditor/ckeditor5-ui/commit/1c500f6)) +* Aligned code to changes (`config.lang` to `config.languages`). Part of the Translation Service v2 ([ckeditor/ckeditor5#624](https://github.com/ckeditor/ckeditor5/issues/624)). ([876f681](https://github.com/ckeditor/ckeditor5-ui/commit/876f681)) +* ComponentFactory.names() will return original component names (instead of normalized names). Closes [#376](https://github.com/ckeditor/ckeditor5-ui/issues/376). ([b6b39d7](https://github.com/ckeditor/ckeditor5-ui/commit/b6b39d7)) +* CSS classes should be prefixed with `ck-` instead of `cke-`. Closes [#112](https://github.com/ckeditor/ckeditor5-ui/issues/112). ([7973f83](https://github.com/ckeditor/ckeditor5-ui/commit/7973f83)) +* Introduced `SplitButtonView` and new dropdown creation helpers (`createDropdown()`, `addListToDropdown()` and `addToolbarToDropdown()`) Closes [#344](https://github.com/ckeditor/ckeditor5-ui/issues/344). Closes [#356](https://github.com/ckeditor/ckeditor5-ui/issues/356). ([0f26ca8](https://github.com/ckeditor/ckeditor5-ui/commit/0f26ca8)) +* Migrated the package styles from SASS to PostCSS to bring theme support and avoid duplicates in some editor builds. Closes [#144](https://github.com/ckeditor/ckeditor5-ui/issues/144). Closes [ckeditor/ckeditor5#420](https://github.com/ckeditor/ckeditor5/issues/420). ([f152dfc](https://github.com/ckeditor/ckeditor5-ui/commit/f152dfc)) +* Moved ck-button-icon mixin from ckeditor5-theme-lark. ([8757d27](https://github.com/ckeditor/ckeditor5-ui/commit/8757d27)) +* Removed the `.ck-editor-toolbar` and `.ck-editor-toolbar-container` classes (see [ckeditor/ckeditor5-theme-lark#135](https://github.com/ckeditor/ckeditor5-theme-lark/issues/135)). ([352d056](https://github.com/ckeditor/ckeditor5-ui/commit/352d056)) +* Rename `ContextualToolbar` to `BalloonToolbar`. Closes [ckeditor/ckeditor5#550](https://github.com/ckeditor/ckeditor5/issues/550). ([28f59df](https://github.com/ckeditor/ckeditor5-ui/commit/28f59df)) +* The `closeDropdownOnBlur()` helper should use `clickOutsideHandler()`. Decorated the `View#render()` method. Closes [#311](https://github.com/ckeditor/ckeditor5-ui/issues/311). ([269e97b](https://github.com/ckeditor/ckeditor5-ui/commit/269e97b)) +* Updated translations. ([f657be2](https://github.com/ckeditor/ckeditor5-ui/commit/f657be2)) + +### BREAKING CHANGES + +* Renamed `contextual/contextualtoolbar~ContextualToolbar` to `balloon/balloontoolbar~BalloonToolbar`. +* Renamed `contextualToolbar` configuration option to `balloonToolbar`. +* Removed `DropdownModel` interface – you can use dropdown properties directly now. See [#356](https://github.com/ckeditor/ckeditor5-ui/issues/356). +* Removed `createButtonDropdown()` and `ButtonDropdownView`. See [#356](https://github.com/ckeditor/ckeditor5-ui/issues/356). +* Removed `createListDropdown()` and `ListDropdownView`. See [#356](https://github.com/ckeditor/ckeditor5-ui/issues/356). +* The DOM structure of the dropdown component has changed. Please refer to the documentation to find out more. +* Basic properties of the balloon panel component (the location of the arrow, the default positions) have changed, which may have an impact on existing integrations. +* The styles are no longer developed in SASS which means the `.scss` files became unavailable. Please refer to the [Theme Customization](https://ckeditor.com/docs/ckeditor5/latest/framework/guides/ui/theme-customization.html) guide to learn more about migration to PostCSS. + + +## [1.0.0-alpha.2](https://github.com/ckeditor/ckeditor5-ui/compare/v1.0.0-alpha.1...v1.0.0-alpha.2) (November 14, 2017) + +### Bug fixes + +* `Template#getViews()` generator should not traverse native HTML elements. Closes [#337](https://github.com/ckeditor/ckeditor5-ui/issues/337). Closes [ckeditor/ckeditor5#657](https://github.com/ckeditor/ckeditor5/issues/657). ([894bad0](https://github.com/ckeditor/ckeditor5-ui/commit/894bad0)) +* Improved binding of the `value` attribute in `InputTextView`. Closes [#335](https://github.com/ckeditor/ckeditor5-ui/issues/335). ([823120b](https://github.com/ckeditor/ckeditor5-ui/commit/823120b)) + +### Other changes + +* Implemented `View#render()` method which replaces rendering the `#element` upon the first access and incorporates the `#init()` method functionality. Closes [#262](https://github.com/ckeditor/ckeditor5-ui/issues/262). Closes [#302](https://github.com/ckeditor/ckeditor5-ui/issues/302). ([bf90ad5](https://github.com/ckeditor/ckeditor5-ui/commit/bf90ad5)) + + In other words – the `View#render()` method needs to be called to render a view and it sets the `View#element` itself. It can be called only once and it is done automatically if a view is added to some other view (as its child). If you need to add any additional logic to your component's initialization, then override the `render()` method (and remember to call `super.render()`). + + Additionally, from now on `View#setTemplate()` and `View#extendTemplate()` methods are recommended as a shorthand for `view.template = new Template( { ... } )` and `Template.extend( view.template )`. + + Please refer to the updated [documentation](https://ckeditor.com/docs/ckeditor5/latest/framework/guides/architecture/intro.html#ui-library) to learn more. +* Removed legacy `width` and `height` attributes from the `BoxedEditorUIView`. Closes [#25](https://github.com/ckeditor/ckeditor5-ui/issues/25). ([ffa419a](https://github.com/ckeditor/ckeditor5-ui/commit/ffa419a)) +* The `ComponentFactory` should be case-insensitive. Closes [#324](https://github.com/ckeditor/ckeditor5-ui/issues/324). ([94417e9](https://github.com/ckeditor/ckeditor5-ui/commit/94417e9)) +* Updated translations. ([186f365](https://github.com/ckeditor/ckeditor5-ui/commit/186f365)) + +### BREAKING CHANGES + +* The `View#init()` method in UI components has been renamed to `render()`. Please refer to the [documentation](https://ckeditor.com/docs/ckeditor5/latest/framework/guides/architecture/intro.html#UI-library) to learn more. +* The `View#element` is no longer a getter which renders an element when first referenced. Use the `View#render()` method instead. +* `Template#children` property became an `Array` (previously `ViewCollection`). +* `View#addChildren()` and `View#removeChildren()` methods became `#registerChildren()` and `#deregisterChildren()`. +* The DOM structure of the `StickyPanelView` has changed along with the class names. Please refer to the component documentation to learn more. + + +## [1.0.0-alpha.1](https://github.com/ckeditor/ckeditor5-ui/compare/v0.10.0...v1.0.0-alpha.1) (October 3, 2017) + +### Bug fixes + +* `ContextualBalloon` should remember position passed to `#updatePosition()`. Closes [#305](https://github.com/ckeditor/ckeditor5-ui/issues/305). Closes [ckeditor/ckeditor5-image#141](https://github.com/ckeditor/ckeditor5-image/issues/141). ([c787c0d](https://github.com/ckeditor/ckeditor5-ui/commit/c787c0d)) +* `ContextualToolbar` should not be positioned to a zero–width DOM rect when invoked for a multi-line forward selection. Closes [#308](https://github.com/ckeditor/ckeditor5-ui/issues/308). ([00b701b](https://github.com/ckeditor/ckeditor5-ui/commit/00b701b)) +* `ContextualToolbar` will accept the object format of `config.contextualToolbar`. Closes [#316](https://github.com/ckeditor/ckeditor5-ui/issues/316). ([d71cad8](https://github.com/ckeditor/ckeditor5-ui/commit/d71cad8)) +* Fixed sticky panel's `z-index` so it is correctly rendered above images (or other relatively positioned elements). Closes [#315](https://github.com/ckeditor/ckeditor5-ui/issues/315). ([00f2add](https://github.com/ckeditor/ckeditor5-ui/commit/00f2add)) +* The content of the `BalloonPanelView` should be selectable. Closes [#294](https://github.com/ckeditor/ckeditor5-ui/issues/294). Closes https://github.com/ckeditor/ckeditor5/issues/498. ([e5315df](https://github.com/ckeditor/ckeditor5-ui/commit/e5315df)) + +### Features + +* Implemented `View#removeChildren()`, the opposite of `View#addChildren()`. Closes [#303](https://github.com/ckeditor/ckeditor5-ui/issues/303). ([0f1ea5a](https://github.com/ckeditor/ckeditor5-ui/commit/0f1ea5a)) +* Replaced `StickyToolbarView` with a generic `StickyPanelView`. Closes [#297](https://github.com/ckeditor/ckeditor5-ui/issues/297). ([b10b43c](https://github.com/ckeditor/ckeditor5-ui/commit/b10b43c)) + +### Other changes + +* `ToolbarView#fillFromConfig()` will warn when the factory does not provide a component. Closes [#291](https://github.com/ckeditor/ckeditor5-ui/issues/291). Closes [ckeditor/ckeditor5#526](https://github.com/ckeditor/ckeditor5/issues/526). ([2e63e70](https://github.com/ckeditor/ckeditor5-ui/commit/2e63e70)) +* The `escPressHandler` function should be replaced by the `KeystrokeHandler`. Closes [#150](https://github.com/ckeditor/ckeditor5-ui/issues/150). ([b322744](https://github.com/ckeditor/ckeditor5-ui/commit/b322744)) + +### BREAKING CHANGES + +* `Toolbar#fillFromConfig()` cannot be now called with an `undefined`. Make sure to use `normalizeToolbarConfig()` to get a reliable object. +* The `escPressHandler` is no longer available. Please +refer to the `KeystrokeHandler` helper to learn more. +* The `StickyToolbarView` and corresponding CSS `.ck-sticky-panel` classes are no longer available. `StickyPanelView` + `ToolbarView` combo should be used instead. + + +## [0.10.0](https://github.com/ckeditor/ckeditor5-ui/compare/v0.9.0...v0.10.0) (September 3, 2017) + +### Bug fixes + +* `ContextualToolbar` should have proper editor toolbar styling. Closes [#230](https://github.com/ckeditor/ckeditor5-ui/issues/230). ([4e2ee36](https://github.com/ckeditor/ckeditor5-ui/commit/4e2ee36)) +* BalloonPanelView should prevent native #selectstart event. Closes [#243](https://github.com/ckeditor/ckeditor5-ui/issues/243). ([cba3fb1](https://github.com/ckeditor/ckeditor5-ui/commit/cba3fb1)) +* Button tooltip should not look blurry on low-DPI screens. Closes [#142](https://github.com/ckeditor/ckeditor5-ui/issues/142). Closes [#133](https://github.com/ckeditor/ckeditor5-ui/issues/133). ([a497aff](https://github.com/ckeditor/ckeditor5-ui/commit/a497aff)) +* Clicking and dragging in a dropdown panel should not break the selection. Closes [#228](https://github.com/ckeditor/ckeditor5-ui/issues/228). ([6066a09](https://github.com/ckeditor/ckeditor5-ui/commit/6066a09)) +* Contextual toolbar should re–position correctly on window scroll. Closes [#227](https://github.com/ckeditor/ckeditor5-ui/issues/227). ([e5ea25f](https://github.com/ckeditor/ckeditor5-ui/commit/e5ea25f)) +* `DropdownView` should open upon arrow down key press. Closes [#249](https://github.com/ckeditor/ckeditor5-ui/issues/249). ([c1e6afc](https://github.com/ckeditor/ckeditor5-ui/commit/c1e6afc)) +* List items should handle Enter and Space key press when focused. Closes [#153](https://github.com/ckeditor/ckeditor5-ui/issues/153). ([403b64a](https://github.com/ckeditor/ckeditor5-ui/commit/403b64a)) +* The `clickOutsideHandler` helper should use `mousedown` instead of `mouseup` event. Closes [#281](https://github.com/ckeditor/ckeditor5-ui/issues/281). ([6b980b6](https://github.com/ckeditor/ckeditor5-ui/commit/6b980b6)) +* The `Template` class should not throw an error when a child view in the definition has an `id` attribute set without a value. Closes [#289](https://github.com/ckeditor/ckeditor5-ui/issues/289). ([d7072ba](https://github.com/ckeditor/ckeditor5-ui/commit/d7072ba)) +* The `TooltipView` should hide when the `TooltipView#text` is empty. The `ButtonView's` ability to get a tooltip should not be restricted after `View` initialization. Closes [#283](https://github.com/ckeditor/ckeditor5-ui/issues/283). ([1588c82](https://github.com/ckeditor/ckeditor5-ui/commit/1588c82)) +* The dropdown menu should not open using the keyboard when disabled. Closes [#238](https://github.com/ckeditor/ckeditor5-ui/issues/238). ([fc524b8](https://github.com/ckeditor/ckeditor5-ui/commit/fc524b8)) + +### Features + +* `StickyToolbarView` now supports a configurable vertical offset from the top of the page. Closes [#277](https://github.com/ckeditor/ckeditor5-ui/issues/277). ([245f0fa](https://github.com/ckeditor/ckeditor5-ui/commit/245f0fa)) + + Also implemented the `normalizeToolbarConfig()` utility. +* Added `TextInputView#isReadOnly` and `LabeledInputView#isReadOnly` states. Closes [#266](https://github.com/ckeditor/ckeditor5-ui/issues/266). Closes [#268](https://github.com/ckeditor/ckeditor5-ui/issues/268). ([111a728](https://github.com/ckeditor/ckeditor5-ui/commit/111a728)) +* Added optional notification title. Closes [#241](https://github.com/ckeditor/ckeditor5-ui/issues/241). ([abbb68f](https://github.com/ckeditor/ckeditor5-ui/commit/abbb68f)) +* Allowed `BalloonPanelView` position limiter defined as a function. Made `ContextualBalloon` position limiter configurable via `#positionLimiter` property. Closes [#260](https://github.com/ckeditor/ckeditor5-ui/issues/260). ([322563e](https://github.com/ckeditor/ckeditor5-ui/commit/322563e)) +* Implemented placeholder in `InputTextView`. Closes [#220](https://github.com/ckeditor/ckeditor5-ui/issues/220). ([5d91d18](https://github.com/ckeditor/ckeditor5-ui/commit/5d91d18)) +* Introduced `CommandFactory#names()`. Closes [#287](https://github.com/ckeditor/ckeditor5-ui/issues/287). ([4038da2](https://github.com/ckeditor/ckeditor5-ui/commit/4038da2)) + +### Other changes + +* Add support for multiple context elements in the `clickOutsideHandler` helper. Closes [#261](https://github.com/ckeditor/ckeditor5-ui/issues/261). ([9da5bf7](https://github.com/ckeditor/ckeditor5-ui/commit/9da5bf7)) +* Added the `beforeShow` event to the `ContextualToolbar` plugin. Closes [#222](https://github.com/ckeditor/ckeditor5-ui/issues/222). ([835d0ac](https://github.com/ckeditor/ckeditor5-ui/commit/835d0ac)) +* Implemented public `show()` and `hide()` methods in the `ContextualToolbar` plugin. Closes [#263](https://github.com/ckeditor/ckeditor5-ui/issues/263). ([eb4caab](https://github.com/ckeditor/ckeditor5-ui/commit/eb4caab)) +* Improvements in the `BalloonPanelView`–based components for the balloon toolbar editor. Closes [#236](https://github.com/ckeditor/ckeditor5-ui/issues/236). Closes [#234](https://github.com/ckeditor/ckeditor5-ui/issues/234). Closes [#224](https://github.com/ckeditor/ckeditor5-ui/issues/224). ([737b55f](https://github.com/ckeditor/ckeditor5-ui/commit/737b55f)) +* Made the UI component initialization and destruction processes synchronous. Closes [#225](https://github.com/ckeditor/ckeditor5-ui/issues/225). ([07e1502](https://github.com/ckeditor/ckeditor5-ui/commit/07e1502)) +* Made the UI destruction a fail–safe, repeatable process. Closes [#248](https://github.com/ckeditor/ckeditor5-ui/issues/248). ([6f5ec0d](https://github.com/ckeditor/ckeditor5-ui/commit/6f5ec0d)) +* The `ContextualToolbar` should not show up when all child items are disabled. The `ContextualToolbar#beforeShow` event has been replaced by `ContextualToolbar#show`. Closes [#269](https://github.com/ckeditor/ckeditor5-ui/issues/269). Closes [#232](https://github.com/ckeditor/ckeditor5-ui/issues/232). ([d83d07d](https://github.com/ckeditor/ckeditor5-ui/commit/d83d07d)) + +### BREAKING CHANGES + +* `StickyToolbarView#limiterOffset` has been renamed to `StickyToolbarView#limiterBottomOffset`. +* `ContextualToolbar#beforeShow` is no longer available. Please refer to `ContextualToolbar#show` instead. +* The `clickOutsideHandler` helper's `contextElement` configuration option is now an `Array` named `contextElements`. +* `View#init()`, `View#destroy()` (also `ViewCollection#init()`, `ViewCollection#destroy()` and `ViewCollection#add()`) no longer return `Promise`. It may require updates in UI components which inherit from `View` and rely on the value returned by these methods. +* Various UI components switched to synchronous `init()` and `destroy()` (no longer returning `Promise`), which means that features using these components may need some updates to work properly. +* The position names in `BalloonPanelView.defaultPositions` and their results have changed. Please refer to the latest API documentation to learn more. + + +## [0.9.0](https://github.com/ckeditor/ckeditor5-ui/compare/v0.8.0...v0.9.0) (May 7, 2017) + +### Bug fixes + +* `BalloonPanelView` should not be focusable. Closes [#206](https://github.com/ckeditor/ckeditor5-ui/issues/206). ([f9e3bb7](https://github.com/ckeditor/ckeditor5-ui/commit/f9e3bb7)) + + T/206a: BalloonPanelView should not be focusable +* ContextualBalloon plugin should use BalloonPanelView#pin instead of #attachTo. Closes [#192](https://github.com/ckeditor/ckeditor5-ui/issues/192). ([28dd457](https://github.com/ckeditor/ckeditor5-ui/commit/28dd457)) +* ContextualBalloon.view#element should be registered in editor's focus tracker. Closes [#193](https://github.com/ckeditor/ckeditor5-ui/issues/193). ([cfbe329](https://github.com/ckeditor/ckeditor5-ui/commit/cfbe329)) +* FocusCycler should ignore invisible views. Closes [#209](https://github.com/ckeditor/ckeditor5-ui/issues/209). ([b8fbaf1](https://github.com/ckeditor/ckeditor5-ui/commit/b8fbaf1)) + + T/209: FocusCycler should not consider invisible views. +* ViewCollection#destroy should wait for all ViewCollection#add promises to resolve to avoid errors. Closes [#203](https://github.com/ckeditor/ckeditor5-ui/issues/203). ([a7e7c94](https://github.com/ckeditor/ckeditor5-ui/commit/a7e7c94)) + +### Features + +* Added keepAttachedTo() method to the BalloonPanelView. Closes [#170](https://github.com/ckeditor/ckeditor5-ui/issues/170). ([101b465](https://github.com/ckeditor/ckeditor5-ui/commit/101b465)) +* Introduced `ContextualToolbar` plugin. Closes [#182](https://github.com/ckeditor/ckeditor5-ui/issues/182). Closes [#187](https://github.com/ckeditor/ckeditor5-ui/issues/187). ([66a30b1](https://github.com/ckeditor/ckeditor5-ui/commit/66a30b1)) + + Introduced several new positions in `BalloonPanelView#defaultPositions`. Added `className` attribute to the `BalloonPanelView` interface. + + BREAKING CHANGE: Default positions of the `BalloonPanelView` have been renamed. + + BREAKING CHANGE: Class names controlling the arrow of the panel have been renamed. +* Introduced ContextualBalloon plugin for managing contextual balloons. Closes [#134](https://github.com/ckeditor/ckeditor5-ui/issues/134). ([3ceb6a6](https://github.com/ckeditor/ckeditor5-ui/commit/3ceb6a6)) +* Introduced notification plugin. Closes [#189](https://github.com/ckeditor/ckeditor5-ui/issues/189). ([f2dd63f](https://github.com/ckeditor/ckeditor5-ui/commit/f2dd63f)) + +### Other changes + +* Improved ContextualBalloon so it supports asynchronous Views. Closes [#200](https://github.com/ckeditor/ckeditor5-ui/issues/200). ([09067aa](https://github.com/ckeditor/ckeditor5-ui/commit/09067aa)) +* Merged `FloatingPanelView` into `BalloonPanelView`. Closes [#191](https://github.com/ckeditor/ckeditor5-ui/issues/191). ([4b90faa](https://github.com/ckeditor/ckeditor5-ui/commit/4b90faa)) + + BREAKING CHANGE: `FloatingPanelView` is no longer available. + BREAKING CHANGE: `BalloonPanelView#keepAttachedTo()` has been replaced by `pin()`. + BREAKING CHANGE: Default position names in `BalloonPanelView.defaultPositions` have changed. Now prefixed with `arrow_`. +* Updated translations. ([3455fe7](https://github.com/ckeditor/ckeditor5-ui/commit/3455fe7)) + +### BREAKING CHANGES + +* Default positions of the `BalloonPanelView` have been renamed. +* Class names controlling the arrow of the panel have been renamed. +* `FloatingPanelView` is no longer available. +* `BalloonPanelView#keepAttachedTo()` has been replaced by `pin()`. +* Default position names in `BalloonPanelView.defaultPositions` have changed. Now prefixed with `arrow_`. + + +## [0.8.0](https://github.com/ckeditor/ckeditor5-ui/compare/v0.7.1...v0.8.0) (April 5, 2017) + +### Features + +* Allowed marking ListItemView active using the #isActive attribute. Closes [#166](https://github.com/ckeditor/ckeditor5-ui/issues/166). ([a19d6c4](https://github.com/ckeditor/ckeditor5-ui/commit/a19d6c4)) +* Enabled styling via "class" attribute in ListItemView. Closes [#162](https://github.com/ckeditor/ckeditor5-ui/issues/162). ([672bf82](https://github.com/ckeditor/ckeditor5-ui/commit/672bf82)) +* Implemented features necessary for creating inline editors UI: `FloatingPanelView` class, `Template.revert()` method, and `enableToolbarKeyboardFocus()` utility. Closes [#152](https://github.com/ckeditor/ckeditor5-ui/issues/152). ([cb606d7](https://github.com/ckeditor/ckeditor5-ui/commit/cb606d7)) + +### Other changes + +* `ComponentFactory` will throw an error when attempting to create a non-existent component. Closes [#174](https://github.com/ckeditor/ckeditor5-ui/issues/174). ([ef0a7f8](https://github.com/ckeditor/ckeditor5-ui/commit/ef0a7f8)) +* Imported "ck-hidden" CSS class from ckeditor5-theme-lark. Closes [#164](https://github.com/ckeditor/ckeditor5-ui/issues/164). ([486bb22](https://github.com/ckeditor/ckeditor5-ui/commit/486bb22)) +* Moved `ViewCollection#bindTo` method to `Collection` class in `ckeditor5-utils`. Closes [#168](https://github.com/ckeditor/ckeditor5-ui/issues/168). ([5b55987](https://github.com/ckeditor/ckeditor5-ui/commit/5b55987)) +* Updated translations. ([3b27e51](https://github.com/ckeditor/ckeditor5-ui/commit/3b27e51)) + +### BREAKING CHANGES + +* `ViewCollection#bindTo.as` is renamed to `Collection#bindTo.using` when mapping function is a parameter. See the `Collection#bindTo` documentation. +* The `ui/balloonpanel/balloonpanelview` module was renamed to `ui/panel/balloon/balloonpanelview`. See [#152](https://github.com/ckeditor/ckeditor5-ui/issues/152). + + +## [0.7.1](https://github.com/ckeditor/ckeditor5-ui/compare/v0.7.0...v0.8.0) (March 6, 2017) + +### Bug fixes + +* Removed title from the editable element. Fixes [#121](https://github.com/ckeditor/ckeditor5/issues/121). ([71fb3eb](https://github.com/ckeditor/ckeditor5-ui/commit/71fb3eb)) + +### Features + +* Added support for toolbar item separators. Closes [#154](https://github.com/ckeditor/ckeditor5/issues/154). ([f3cb75d](https://github.com/ckeditor/ckeditor5-ui/commit/f3cb75d)) + +### Other changes + +* Uploaded translations. ([67ba32b](https://github.com/ckeditor/ckeditor5-ui/commit/67ba32b)) diff --git a/node_modules/@ckeditor/ckeditor5-ui/LICENSE.md b/node_modules/@ckeditor/ckeditor5-ui/LICENSE.md new file mode 100644 index 0000000..64d4fd8 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/LICENSE.md @@ -0,0 +1,21 @@ +Software License Agreement +========================== + +**CKEditor 5 UI framework** – https://github.com/ckeditor/ckeditor5-ui
    +Copyright (c) 2003–2024, [CKSource Holding sp. z o.o.](https://cksource.com) All rights reserved. + +Licensed under the terms of [GNU General Public License Version 2 or later](http://www.gnu.org/licenses/gpl.html). + +Sources of Intellectual Property Included in CKEditor +----------------------------------------------------- + +Where not otherwise indicated, all CKEditor content is authored by CKSource engineers and consists of CKSource-owned intellectual property. In some specific instances, CKEditor will incorporate work done by developers outside of CKSource with their express permission. + +The following libraries are included in CKEditor under the [MIT license](https://opensource.org/licenses/MIT): + +* Lodash - Copyright (c) JS Foundation and other contributors https://js.foundation/. Based on Underscore.js, copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors http://underscorejs.org/. + +Trademarks +---------- + +**CKEditor** is a trademark of [CKSource Holding sp. z o.o.](https://cksource.com) All other brand and product names are trademarks, registered trademarks, or service marks of their respective holders. diff --git a/node_modules/@ckeditor/ckeditor5-ui/README.md b/node_modules/@ckeditor/ckeditor5-ui/README.md new file mode 100644 index 0000000..dc38c86 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/README.md @@ -0,0 +1,20 @@ +CKEditor 5 UI framework +=========================================== + +[![npm version](https://badge.fury.io/js/%40ckeditor%2Fckeditor5-ui.svg)](https://www.npmjs.com/package/@ckeditor/ckeditor5-ui) +[![Coverage Status](https://coveralls.io/repos/github/ckeditor/ckeditor5/badge.svg?branch=master)](https://coveralls.io/github/ckeditor/ckeditor5?branch=master) +[![Build Status](https://travis-ci.com/ckeditor/ckeditor5.svg?branch=master)](https://app.travis-ci.com/github/ckeditor/ckeditor5) + +This package implements a simple UI framework and CKEditor 5's standard UI library. + +## Demo + +Check out the [editor toolbar demo](https://ckeditor.com/docs/ckeditor5/latest/features/toolbar/toolbar.html#demo) and [block toolbar demo](https://ckeditor.com/docs/ckeditor5/latest/features/toolbar/blocktoolbar.html#demo) in CKEditor 5 documentation. + +## Documentation + +See the [`@ckeditor/ckeditor5-ui` package](https://ckeditor.com/docs/ckeditor5/latest/api/ui.html) page in [CKEditor 5 documentation](https://ckeditor.com/docs/ckeditor5/latest/). + +## License + +Licensed under the terms of [GNU General Public License Version 2 or later](http://www.gnu.org/licenses/gpl.html). For full details about the license, please check the `LICENSE.md` file or [https://ckeditor.com/legal/ckeditor-oss-license](https://ckeditor.com/legal/ckeditor-oss-license). diff --git a/node_modules/@ckeditor/ckeditor5-ui/ckeditor5-metadata.json b/node_modules/@ckeditor/ckeditor5-ui/ckeditor5-metadata.json new file mode 100644 index 0000000..19ce058 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/ckeditor5-metadata.json @@ -0,0 +1,25 @@ +{ + "plugins": [ + { + "name": "Block toolbar", + "className": "BlockToolbar", + "description": "Provides an additional configurable toolbar on the left-hand side of the content area, next to the selected block element. It comes in handy when the main editor toolbar cannot be accessed.", + "docs": "features/toolbar/blocktoolbar.html", + "path": "src/toolbar/block/blocktoolbar.js" + }, + { + "name": "Accessibility help", + "className": "AccessibilityHelp", + "description": "Displays all editor keyboard shortcuts in a dialog window.", + "docs": "features/accessibility.html", + "path": "src/editorui/accessibilityhelp/accessibilityhelp.js", + "uiComponents": [ + { + "type": "Button", + "name": "accessibilityHelp", + "iconPath": "theme/icons/accessibility.svg" + } + ] + } + ] +} diff --git a/node_modules/@ckeditor/ckeditor5-ui/lang/contexts.json b/node_modules/@ckeditor/ckeditor5-ui/lang/contexts.json new file mode 100644 index 0000000..46b1513 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/lang/contexts.json @@ -0,0 +1,50 @@ +{ + "Rich Text Editor": "Title of the CKEditor5 editor.", + "Editor editing area: %0": "Accessible label of the specific editing area belonging to a container with an ARIA application role.", + "Edit block": "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)", + "Click to edit block": "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)", + "Drag to move": "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)", + "Next": "Label for a button showing the next thing (tab, page, etc.).", + "Previous": "Label for a button showing the previous thing (tab, page, etc.).", + "Editor toolbar": "Label used by assistive technologies describing a generic editor toolbar.", + "Dropdown toolbar": "Label used by assistive technologies describing a toolbar displayed inside a dropdown.", + "Black": "Label of a button that applies a black color in color pickers.", + "Dim grey": "Label of a button that applies a dim grey color in color pickers.", + "Grey": "Label of a button that applies a grey color in color pickers.", + "Light grey": "Label of a button that applies a light grey color in color pickers.", + "White": "Label of a button that applies a white color in color pickers.", + "Red": "Label of a button that applies a red color in color pickers.", + "Orange": "Label of a button that applies a orange color in color pickers.", + "Yellow": "Label of a button that applies a yellow color in color pickers.", + "Light green": "Label of a button that applies a light green color in color pickers.", + "Green": "Label of a button that applies a green color in color pickers.", + "Aquamarine": "Label of a button that applies a aquamarine color in color pickers.", + "Turquoise": "Label of a button that applies a turquoise color in color pickers.", + "Light blue": "Label of a button that applies a light blue color in color pickers.", + "Blue": "Label of a button that applies a blue color in color pickers.", + "Purple": "Label of a button that applies a purple color in color pickers.", + "Editor block content toolbar": "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs).", + "Editor contextual toolbar": "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret).", + "HEX": "Label of an input field for typing colors in the HEX color format.", + "No results found": "The main text of the message shown to the user when given query does not match any results.", + "No searchable items": "The main text of the message shown to the user when no results are available.", + "Editor dialog": "A default label of a dialog window displayed on top the editor.", + "Close": "The label and the tooltip for the close button in the dialog header.", + "Help Contents. To close this dialog press ESC.": "Accessibility help dialog assistive technologies label telling users how to exit the dialog.", + "Below, you can find a list of keyboard shortcuts that can be used in the editor.": "Accessibility help dialog text explaining what can be found in that dialog.", + "(may require Fn)": "Accessibility help dialog text displayed next to keystrokes that may require the Fn key on Mac.", + "Accessibility": "The label for the button that opens the Accessibility help dialog from the application menu bar.", + "Accessibility help": "Accessibility help dialog title.", + "Press %0 for help.": "Assistive technologies label added to each editor editing area informing users about the possibility of opening the accessibility help dialog.", + "Move focus in and out of an active dialog window": "Keystroke description for assistive technologies: keystroke for moving focus out of an active dialog window.", + "MENU_BAR_MENU_FILE": "The label of the top-level application menu bar menu containing buttons and features related to the whole document (e.g. export to PDF, import from Word, etc.).", + "MENU_BAR_MENU_EDIT": "The label of the top-level application menu bar menu containing buttons and features related to general editing (e.g. undo, redo, select all, etc.).", + "MENU_BAR_MENU_VIEW": "The label of the top-level application menu bar menu containing buttons and features related to the view of the editor (e.g. show source).", + "MENU_BAR_MENU_INSERT": "The label of the top-level application menu bar menu containing buttons and features that insert content (e.g. insert table, insert image, etc.).", + "MENU_BAR_MENU_FORMAT": "The label of the top-level application menu bar menu containing buttons and features related to content formatting (e.g. bold, font color, heading, etc.).", + "MENU_BAR_MENU_TOOLS": "The label of the top-level application menu bar menu containing various editor tools (e.g. AI assistant, track changes, etc.).", + "MENU_BAR_MENU_HELP": "The label of the top-level application menu bar menu containing buttons and features helping users to learn about the editor (e.g. accessibility help).", + "MENU_BAR_MENU_TEXT": "The label of the application menu bar menu containing buttons and features that apply formatting to a text (e.g. bold, italic, etc.).", + "MENU_BAR_MENU_FONT": "The label of the application menu bar menu containing buttons and features that control the font of the edited content (e.g. font size, font color, etc.).", + "Editor menu bar": "The accessible label of the editor menu bar used by assistive technologies." +} diff --git a/node_modules/@ckeditor/ckeditor5-ui/lang/translations/af.po b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/af.po new file mode 100644 index 0000000..615b48f --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/af.po @@ -0,0 +1,210 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Afrikaans (https://app.transifex.com/ckeditor/teams/11143/af/)\n" +"Language: af\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "" + +msgctxt "A default label of a dialog window displayed on top the editor." +msgid "Editor dialog" +msgstr "" + +msgctxt "The label and the tooltip for the close button in the dialog header." +msgid "Close" +msgstr "" + +msgctxt "Accessibility help dialog assistive technologies label telling users how to exit the dialog." +msgid "Help Contents. To close this dialog press ESC." +msgstr "" + +msgctxt "Accessibility help dialog text explaining what can be found in that dialog." +msgid "Below, you can find a list of keyboard shortcuts that can be used in the editor." +msgstr "" + +msgctxt "Accessibility help dialog text displayed next to keystrokes that may require the Fn key on Mac." +msgid "(may require Fn)" +msgstr "" + +msgctxt "The label for the button that opens the Accessibility help dialog from the application menu bar." +msgid "Accessibility" +msgstr "" + +msgctxt "Accessibility help dialog title." +msgid "Accessibility help" +msgstr "" + +msgctxt "Assistive technologies label added to each editor editing area informing users about the possibility of opening the accessibility help dialog." +msgid "Press %0 for help." +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for moving focus out of an active dialog window." +msgid "Move focus in and out of an active dialog window" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the whole document (e.g. export to PDF, import from Word, etc.)." +msgid "MENU_BAR_MENU_FILE" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to general editing (e.g. undo, redo, select all, etc.)." +msgid "MENU_BAR_MENU_EDIT" +msgstr "Wysig" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the view of the editor (e.g. show source)." +msgid "MENU_BAR_MENU_VIEW" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features that insert content (e.g. insert table, insert image, etc.)." +msgid "MENU_BAR_MENU_INSERT" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to content formatting (e.g. bold, font color, heading, etc.)." +msgid "MENU_BAR_MENU_FORMAT" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing various editor tools (e.g. AI assistant, track changes, etc.)." +msgid "MENU_BAR_MENU_TOOLS" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features helping users to learn about the editor (e.g. accessibility help)." +msgid "MENU_BAR_MENU_HELP" +msgstr "" + +msgctxt "The label of the application menu bar menu containing buttons and features that apply formatting to a text (e.g. bold, italic, etc.)." +msgid "MENU_BAR_MENU_TEXT" +msgstr "" + +msgctxt "The label of the application menu bar menu containing buttons and features that control the font of the edited content (e.g. font size, font color, etc.)." +msgid "MENU_BAR_MENU_FONT" +msgstr "" + +msgctxt "The accessible label of the editor menu bar used by assistive technologies." +msgid "Editor menu bar" +msgstr "" diff --git a/node_modules/@ckeditor/ckeditor5-ui/lang/translations/ar.po b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/ar.po new file mode 100644 index 0000000..ecd178d --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/ar.po @@ -0,0 +1,210 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Arabic (https://app.transifex.com/ckeditor/teams/11143/ar/)\n" +"Language: ar\n" +"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "معالج نصوص" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "منطقة تحرير المحرر: %0" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "كتلة التحرير" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "انقر لتحرير الوحدة التجميعية" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "اسحب للنقل" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "التالي" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "السابق" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "شريط أدوات المحرر" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "شريط أدوات القائمة المنسدلة" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "أسود" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "رمادي خافت" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "رمادي" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "رمادي فاتح" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "أبيض" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "أحمر" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "برتقالي" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "أصفر" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "أخضر فاتح" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "أخضر" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "أخضر زبرجد" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "فيروزي" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "أزرق فاتح" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "أزرق" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "أرجواني" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "شريط المحرر لأدوات كتلة المحتوى" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "شريط المحرر للأدوات السياقية" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "لون سداسي عشري" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "لم يتم العثور على نتائج" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "لا توجد عناصر قابلة للبحث متاحة" + +msgctxt "A default label of a dialog window displayed on top the editor." +msgid "Editor dialog" +msgstr "حوار المحرر" + +msgctxt "The label and the tooltip for the close button in the dialog header." +msgid "Close" +msgstr "إغلاق" + +msgctxt "Accessibility help dialog assistive technologies label telling users how to exit the dialog." +msgid "Help Contents. To close this dialog press ESC." +msgstr "محتويات التعليمات. لإغلاق هذا الحوار، اضغطْ على مفتاح ESC." + +msgctxt "Accessibility help dialog text explaining what can be found in that dialog." +msgid "Below, you can find a list of keyboard shortcuts that can be used in the editor." +msgstr "ستجد أدناه قائمة باختصارات لوحة المفاتيح التي يمكن استخدامها في المحرِّر." + +msgctxt "Accessibility help dialog text displayed next to keystrokes that may require the Fn key on Mac." +msgid "(may require Fn)" +msgstr "(قد يتطلب مفتاح Fn)" + +msgctxt "The label for the button that opens the Accessibility help dialog from the application menu bar." +msgid "Accessibility" +msgstr "إمكانية الوصول" + +msgctxt "Accessibility help dialog title." +msgid "Accessibility help" +msgstr "تعليمات إمكانية الوصول" + +msgctxt "Assistive technologies label added to each editor editing area informing users about the possibility of opening the accessibility help dialog." +msgid "Press %0 for help." +msgstr "اضغط على %0 للحصول على التعليمات." + +msgctxt "Keystroke description for assistive technologies: keystroke for moving focus out of an active dialog window." +msgid "Move focus in and out of an active dialog window" +msgstr "انقلْ التركيز داخل وخارج نافذة الحوار النشطة" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the whole document (e.g. export to PDF, import from Word, etc.)." +msgid "MENU_BAR_MENU_FILE" +msgstr "ملف" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to general editing (e.g. undo, redo, select all, etc.)." +msgid "MENU_BAR_MENU_EDIT" +msgstr "تحرير" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the view of the editor (e.g. show source)." +msgid "MENU_BAR_MENU_VIEW" +msgstr "عرض" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features that insert content (e.g. insert table, insert image, etc.)." +msgid "MENU_BAR_MENU_INSERT" +msgstr "إدراج" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to content formatting (e.g. bold, font color, heading, etc.)." +msgid "MENU_BAR_MENU_FORMAT" +msgstr "صيغة" + +msgctxt "The label of the top-level application menu bar menu containing various editor tools (e.g. AI assistant, track changes, etc.)." +msgid "MENU_BAR_MENU_TOOLS" +msgstr "أدوات" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features helping users to learn about the editor (e.g. accessibility help)." +msgid "MENU_BAR_MENU_HELP" +msgstr "مساعدة" + +msgctxt "The label of the application menu bar menu containing buttons and features that apply formatting to a text (e.g. bold, italic, etc.)." +msgid "MENU_BAR_MENU_TEXT" +msgstr "نص" + +msgctxt "The label of the application menu bar menu containing buttons and features that control the font of the edited content (e.g. font size, font color, etc.)." +msgid "MENU_BAR_MENU_FONT" +msgstr "خط" + +msgctxt "The accessible label of the editor menu bar used by assistive technologies." +msgid "Editor menu bar" +msgstr "شريط قائمة المحرِّر" diff --git a/node_modules/@ckeditor/ckeditor5-ui/lang/translations/ast.po b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/ast.po new file mode 100644 index 0000000..443e2ed --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/ast.po @@ -0,0 +1,210 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Asturian (https://app.transifex.com/ckeditor/teams/11143/ast/)\n" +"Language: ast\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "Editor de testu arriquecíu" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "" + +msgctxt "A default label of a dialog window displayed on top the editor." +msgid "Editor dialog" +msgstr "" + +msgctxt "The label and the tooltip for the close button in the dialog header." +msgid "Close" +msgstr "" + +msgctxt "Accessibility help dialog assistive technologies label telling users how to exit the dialog." +msgid "Help Contents. To close this dialog press ESC." +msgstr "" + +msgctxt "Accessibility help dialog text explaining what can be found in that dialog." +msgid "Below, you can find a list of keyboard shortcuts that can be used in the editor." +msgstr "" + +msgctxt "Accessibility help dialog text displayed next to keystrokes that may require the Fn key on Mac." +msgid "(may require Fn)" +msgstr "" + +msgctxt "The label for the button that opens the Accessibility help dialog from the application menu bar." +msgid "Accessibility" +msgstr "" + +msgctxt "Accessibility help dialog title." +msgid "Accessibility help" +msgstr "" + +msgctxt "Assistive technologies label added to each editor editing area informing users about the possibility of opening the accessibility help dialog." +msgid "Press %0 for help." +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for moving focus out of an active dialog window." +msgid "Move focus in and out of an active dialog window" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the whole document (e.g. export to PDF, import from Word, etc.)." +msgid "MENU_BAR_MENU_FILE" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to general editing (e.g. undo, redo, select all, etc.)." +msgid "MENU_BAR_MENU_EDIT" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the view of the editor (e.g. show source)." +msgid "MENU_BAR_MENU_VIEW" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features that insert content (e.g. insert table, insert image, etc.)." +msgid "MENU_BAR_MENU_INSERT" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to content formatting (e.g. bold, font color, heading, etc.)." +msgid "MENU_BAR_MENU_FORMAT" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing various editor tools (e.g. AI assistant, track changes, etc.)." +msgid "MENU_BAR_MENU_TOOLS" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features helping users to learn about the editor (e.g. accessibility help)." +msgid "MENU_BAR_MENU_HELP" +msgstr "" + +msgctxt "The label of the application menu bar menu containing buttons and features that apply formatting to a text (e.g. bold, italic, etc.)." +msgid "MENU_BAR_MENU_TEXT" +msgstr "" + +msgctxt "The label of the application menu bar menu containing buttons and features that control the font of the edited content (e.g. font size, font color, etc.)." +msgid "MENU_BAR_MENU_FONT" +msgstr "" + +msgctxt "The accessible label of the editor menu bar used by assistive technologies." +msgid "Editor menu bar" +msgstr "" diff --git a/node_modules/@ckeditor/ckeditor5-ui/lang/translations/az.po b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/az.po new file mode 100644 index 0000000..519f90f --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/az.po @@ -0,0 +1,210 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Azerbaijani (https://app.transifex.com/ckeditor/teams/11143/az/)\n" +"Language: az\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "Rich Text Redaktoru" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "Redaktə etmək bloku" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "Növbəti" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "Əvvəlki" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "Redaktorun paneli" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "Açılan paneli" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "Qara" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "Tünd boz" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "Boz" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "Açıq boz" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "Ağ" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "Qırmızı" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "Narıncı" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "Sarı" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "Açıq yaşıl" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "Yaşıl" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "Akvamarin" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "Firuzəyi" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "Açıq mavi" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "Mavi" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "Bənövşəyi" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "" + +msgctxt "A default label of a dialog window displayed on top the editor." +msgid "Editor dialog" +msgstr "" + +msgctxt "The label and the tooltip for the close button in the dialog header." +msgid "Close" +msgstr "" + +msgctxt "Accessibility help dialog assistive technologies label telling users how to exit the dialog." +msgid "Help Contents. To close this dialog press ESC." +msgstr "" + +msgctxt "Accessibility help dialog text explaining what can be found in that dialog." +msgid "Below, you can find a list of keyboard shortcuts that can be used in the editor." +msgstr "" + +msgctxt "Accessibility help dialog text displayed next to keystrokes that may require the Fn key on Mac." +msgid "(may require Fn)" +msgstr "" + +msgctxt "The label for the button that opens the Accessibility help dialog from the application menu bar." +msgid "Accessibility" +msgstr "" + +msgctxt "Accessibility help dialog title." +msgid "Accessibility help" +msgstr "" + +msgctxt "Assistive technologies label added to each editor editing area informing users about the possibility of opening the accessibility help dialog." +msgid "Press %0 for help." +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for moving focus out of an active dialog window." +msgid "Move focus in and out of an active dialog window" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the whole document (e.g. export to PDF, import from Word, etc.)." +msgid "MENU_BAR_MENU_FILE" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to general editing (e.g. undo, redo, select all, etc.)." +msgid "MENU_BAR_MENU_EDIT" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the view of the editor (e.g. show source)." +msgid "MENU_BAR_MENU_VIEW" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features that insert content (e.g. insert table, insert image, etc.)." +msgid "MENU_BAR_MENU_INSERT" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to content formatting (e.g. bold, font color, heading, etc.)." +msgid "MENU_BAR_MENU_FORMAT" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing various editor tools (e.g. AI assistant, track changes, etc.)." +msgid "MENU_BAR_MENU_TOOLS" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features helping users to learn about the editor (e.g. accessibility help)." +msgid "MENU_BAR_MENU_HELP" +msgstr "" + +msgctxt "The label of the application menu bar menu containing buttons and features that apply formatting to a text (e.g. bold, italic, etc.)." +msgid "MENU_BAR_MENU_TEXT" +msgstr "" + +msgctxt "The label of the application menu bar menu containing buttons and features that control the font of the edited content (e.g. font size, font color, etc.)." +msgid "MENU_BAR_MENU_FONT" +msgstr "" + +msgctxt "The accessible label of the editor menu bar used by assistive technologies." +msgid "Editor menu bar" +msgstr "" diff --git a/node_modules/@ckeditor/ckeditor5-ui/lang/translations/bg.po b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/bg.po new file mode 100644 index 0000000..2c94a2d --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/bg.po @@ -0,0 +1,210 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Bulgarian (https://app.transifex.com/ckeditor/teams/11143/bg/)\n" +"Language: bg\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "Богат текстов редактор" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "Зона за редактиране на редактора: %0" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "Редактирай блок" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "Кликнете, за да редактирате блок" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "Плъзнете за преместване" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "Следващ" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "Предишен" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "Лента за редакция" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "Лента с падащо меню" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "Черен" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "Тъмно сив" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "Сив" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "Светло сив" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "Бял" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "Червен" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "Оранжев" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "Жълт" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "Светло зелен" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "Зелен" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "Аквамарин" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "Тюркоазен" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "Светло син" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "Син" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "Лилав" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "Лента с инструменти за блокиране на съдържанието на редактора" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "Контекстна лента с инструменти на редактора" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "НЕХ" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "Няма намерени резултати" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "Няма елементи за търсене" + +msgctxt "A default label of a dialog window displayed on top the editor." +msgid "Editor dialog" +msgstr "Диалогов прозорец на редактора" + +msgctxt "The label and the tooltip for the close button in the dialog header." +msgid "Close" +msgstr "Затвори" + +msgctxt "Accessibility help dialog assistive technologies label telling users how to exit the dialog." +msgid "Help Contents. To close this dialog press ESC." +msgstr "Помощно съдържание. За да затворите този прозорец, натиснете ESC." + +msgctxt "Accessibility help dialog text explaining what can be found in that dialog." +msgid "Below, you can find a list of keyboard shortcuts that can be used in the editor." +msgstr "Долу можете да намерите списък от клавишни комбинации, които могат да се използват в редактора." + +msgctxt "Accessibility help dialog text displayed next to keystrokes that may require the Fn key on Mac." +msgid "(may require Fn)" +msgstr "(може да изисква Fn)" + +msgctxt "The label for the button that opens the Accessibility help dialog from the application menu bar." +msgid "Accessibility" +msgstr "Достъпност" + +msgctxt "Accessibility help dialog title." +msgid "Accessibility help" +msgstr "Помощ за достъпност" + +msgctxt "Assistive technologies label added to each editor editing area informing users about the possibility of opening the accessibility help dialog." +msgid "Press %0 for help." +msgstr "Натиснете %0 за помощ." + +msgctxt "Keystroke description for assistive technologies: keystroke for moving focus out of an active dialog window." +msgid "Move focus in and out of an active dialog window" +msgstr "Приближаване и отдалечаване на фокуса в активен диалогов прозорец" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the whole document (e.g. export to PDF, import from Word, etc.)." +msgid "MENU_BAR_MENU_FILE" +msgstr "Файл" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to general editing (e.g. undo, redo, select all, etc.)." +msgid "MENU_BAR_MENU_EDIT" +msgstr "Редактирай" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the view of the editor (e.g. show source)." +msgid "MENU_BAR_MENU_VIEW" +msgstr "Преглед" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features that insert content (e.g. insert table, insert image, etc.)." +msgid "MENU_BAR_MENU_INSERT" +msgstr "Вмъкни" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to content formatting (e.g. bold, font color, heading, etc.)." +msgid "MENU_BAR_MENU_FORMAT" +msgstr "Формат" + +msgctxt "The label of the top-level application menu bar menu containing various editor tools (e.g. AI assistant, track changes, etc.)." +msgid "MENU_BAR_MENU_TOOLS" +msgstr "Инструменти" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features helping users to learn about the editor (e.g. accessibility help)." +msgid "MENU_BAR_MENU_HELP" +msgstr "Помощ" + +msgctxt "The label of the application menu bar menu containing buttons and features that apply formatting to a text (e.g. bold, italic, etc.)." +msgid "MENU_BAR_MENU_TEXT" +msgstr "Текст" + +msgctxt "The label of the application menu bar menu containing buttons and features that control the font of the edited content (e.g. font size, font color, etc.)." +msgid "MENU_BAR_MENU_FONT" +msgstr "Шрифт" + +msgctxt "The accessible label of the editor menu bar used by assistive technologies." +msgid "Editor menu bar" +msgstr "Редактор на лентата с менюта" diff --git a/node_modules/@ckeditor/ckeditor5-ui/lang/translations/bn.po b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/bn.po new file mode 100644 index 0000000..5a0e707 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/bn.po @@ -0,0 +1,210 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Bengali (https://app.transifex.com/ckeditor/teams/11143/bn/)\n" +"Language: bn\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "রিচ টেক্সট এডিটর" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "সম্পাদক সম্পাদনার ক্ষেত্র: %0" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "এডিট ব্লক" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "ব্লক এডিট করতে ক্লিক করুন" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "সরানোর জন্য টেনে আনুন" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "পরবর্তী" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "পূর্ববর্তী" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "সম্পাদক টুলবার" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "ড্রপডাউন টুলবার" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "কালো" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "আবছা ধূসর" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "ধূসর" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "হালকা ধূসর" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "সাদা" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "লাল" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "কমলা" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "হলুদ " + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "হালকা সবুজ" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "সবুজ" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "ফেকাশে সবুজবর্ণ" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "ফিরোজা" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "হালকা নীল" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "নীল " + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "বেগুনি" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "সম্পাদক ব্লক কন্টেন্ট টুলবার" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "সম্পাদক প্রাসঙ্গিক টুলবার" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "HEX" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "কোন ফলাফল পাওয়া যায়নি" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "কোনো অনুসন্ধানযোগ্য আইটেম নেই" + +msgctxt "A default label of a dialog window displayed on top the editor." +msgid "Editor dialog" +msgstr "ইডিটর ডায়ালগ" + +msgctxt "The label and the tooltip for the close button in the dialog header." +msgid "Close" +msgstr "বন্ধ করুন" + +msgctxt "Accessibility help dialog assistive technologies label telling users how to exit the dialog." +msgid "Help Contents. To close this dialog press ESC." +msgstr "সহায়তাকারী কনটেন্টগুলি। এই ডায়ালগটি বন্ধ করতে ESC প্রেস করুন।" + +msgctxt "Accessibility help dialog text explaining what can be found in that dialog." +msgid "Below, you can find a list of keyboard shortcuts that can be used in the editor." +msgstr "এডিটরে ব্যবহার করা যেতে পারে এমন কীবোর্ড শর্টকাটগুলির একটি তালিকা আপনি নিচে দেখতে পাবেন।" + +msgctxt "Accessibility help dialog text displayed next to keystrokes that may require the Fn key on Mac." +msgid "(may require Fn)" +msgstr "(Fn[] এর প্রয়োজন হতে পারে)" + +msgctxt "The label for the button that opens the Accessibility help dialog from the application menu bar." +msgid "Accessibility" +msgstr "প্রবেশযোগ্যতা" + +msgctxt "Accessibility help dialog title." +msgid "Accessibility help" +msgstr "প্রবেশযোগ্যতা জন্য সহায়তা" + +msgctxt "Assistive technologies label added to each editor editing area informing users about the possibility of opening the accessibility help dialog." +msgid "Press %0 for help." +msgstr "সহায়তার জন্য %0 প্রেস করুন।" + +msgctxt "Keystroke description for assistive technologies: keystroke for moving focus out of an active dialog window." +msgid "Move focus in and out of an active dialog window" +msgstr "সক্রিয় ডায়ালগ উইন্ডোর ভিতরে এবং বাইরে ফোকাস স্থানান্তর করুন" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the whole document (e.g. export to PDF, import from Word, etc.)." +msgid "MENU_BAR_MENU_FILE" +msgstr "ফাইল" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to general editing (e.g. undo, redo, select all, etc.)." +msgid "MENU_BAR_MENU_EDIT" +msgstr "এডিট করুন" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the view of the editor (e.g. show source)." +msgid "MENU_BAR_MENU_VIEW" +msgstr "দেখুন" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features that insert content (e.g. insert table, insert image, etc.)." +msgid "MENU_BAR_MENU_INSERT" +msgstr "ঢোকান" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to content formatting (e.g. bold, font color, heading, etc.)." +msgid "MENU_BAR_MENU_FORMAT" +msgstr "ফরম্যাট" + +msgctxt "The label of the top-level application menu bar menu containing various editor tools (e.g. AI assistant, track changes, etc.)." +msgid "MENU_BAR_MENU_TOOLS" +msgstr "টুলস" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features helping users to learn about the editor (e.g. accessibility help)." +msgid "MENU_BAR_MENU_HELP" +msgstr "সাহায্য" + +msgctxt "The label of the application menu bar menu containing buttons and features that apply formatting to a text (e.g. bold, italic, etc.)." +msgid "MENU_BAR_MENU_TEXT" +msgstr "পাঠ্য" + +msgctxt "The label of the application menu bar menu containing buttons and features that control the font of the edited content (e.g. font size, font color, etc.)." +msgid "MENU_BAR_MENU_FONT" +msgstr "ফন্ট" + +msgctxt "The accessible label of the editor menu bar used by assistive technologies." +msgid "Editor menu bar" +msgstr "ইডিটর মেনু বার" diff --git a/node_modules/@ckeditor/ckeditor5-ui/lang/translations/bs.po b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/bs.po new file mode 100644 index 0000000..e11b993 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/bs.po @@ -0,0 +1,210 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Bosnian (https://app.transifex.com/ckeditor/teams/11143/bs/)\n" +"Language: bs\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "" + +msgctxt "A default label of a dialog window displayed on top the editor." +msgid "Editor dialog" +msgstr "" + +msgctxt "The label and the tooltip for the close button in the dialog header." +msgid "Close" +msgstr "" + +msgctxt "Accessibility help dialog assistive technologies label telling users how to exit the dialog." +msgid "Help Contents. To close this dialog press ESC." +msgstr "" + +msgctxt "Accessibility help dialog text explaining what can be found in that dialog." +msgid "Below, you can find a list of keyboard shortcuts that can be used in the editor." +msgstr "" + +msgctxt "Accessibility help dialog text displayed next to keystrokes that may require the Fn key on Mac." +msgid "(may require Fn)" +msgstr "" + +msgctxt "The label for the button that opens the Accessibility help dialog from the application menu bar." +msgid "Accessibility" +msgstr "" + +msgctxt "Accessibility help dialog title." +msgid "Accessibility help" +msgstr "" + +msgctxt "Assistive technologies label added to each editor editing area informing users about the possibility of opening the accessibility help dialog." +msgid "Press %0 for help." +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for moving focus out of an active dialog window." +msgid "Move focus in and out of an active dialog window" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the whole document (e.g. export to PDF, import from Word, etc.)." +msgid "MENU_BAR_MENU_FILE" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to general editing (e.g. undo, redo, select all, etc.)." +msgid "MENU_BAR_MENU_EDIT" +msgstr "Uredi" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the view of the editor (e.g. show source)." +msgid "MENU_BAR_MENU_VIEW" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features that insert content (e.g. insert table, insert image, etc.)." +msgid "MENU_BAR_MENU_INSERT" +msgstr "Umetni" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to content formatting (e.g. bold, font color, heading, etc.)." +msgid "MENU_BAR_MENU_FORMAT" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing various editor tools (e.g. AI assistant, track changes, etc.)." +msgid "MENU_BAR_MENU_TOOLS" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features helping users to learn about the editor (e.g. accessibility help)." +msgid "MENU_BAR_MENU_HELP" +msgstr "" + +msgctxt "The label of the application menu bar menu containing buttons and features that apply formatting to a text (e.g. bold, italic, etc.)." +msgid "MENU_BAR_MENU_TEXT" +msgstr "" + +msgctxt "The label of the application menu bar menu containing buttons and features that control the font of the edited content (e.g. font size, font color, etc.)." +msgid "MENU_BAR_MENU_FONT" +msgstr "" + +msgctxt "The accessible label of the editor menu bar used by assistive technologies." +msgid "Editor menu bar" +msgstr "" diff --git a/node_modules/@ckeditor/ckeditor5-ui/lang/translations/ca.po b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/ca.po new file mode 100644 index 0000000..7d0484f --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/ca.po @@ -0,0 +1,210 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Catalan (https://app.transifex.com/ckeditor/teams/11143/ca/)\n" +"Language: ca\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "Editor de text enriquit" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "Àrea d'edició d'editor: %0" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "Editar bloc" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "Fes clic per editar el bloc" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "Arrossega per moure" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "Següent" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "Anterior" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "Barra d'eines de l'editor" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "Barra d'eines desplegable" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "Negre" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "Gris fosc" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "Gris" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "Gris clar" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "Blanc" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "Vermell" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "Taronja" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "Groc" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "Verd clar" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "Verd" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "Aiguamarina" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "Turquesa" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "Blau clar" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "Blau" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "Lila" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "Barra d'eines de contingut del bloc de l'editor" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "Barra d'eines contextual de l'editor" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "HEX" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "Sense resultats" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "No hi ha elements de cerca" + +msgctxt "A default label of a dialog window displayed on top the editor." +msgid "Editor dialog" +msgstr "Diàleg de l'editor" + +msgctxt "The label and the tooltip for the close button in the dialog header." +msgid "Close" +msgstr "Tanca" + +msgctxt "Accessibility help dialog assistive technologies label telling users how to exit the dialog." +msgid "Help Contents. To close this dialog press ESC." +msgstr "Continguts d'Ajuda. Per a tancar aquesta finestra premeu ESC." + +msgctxt "Accessibility help dialog text explaining what can be found in that dialog." +msgid "Below, you can find a list of keyboard shortcuts that can be used in the editor." +msgstr "Sota hi trobareu un llistat de dreceres del teclat que podeu emprar amb aquest editor." + +msgctxt "Accessibility help dialog text displayed next to keystrokes that may require the Fn key on Mac." +msgid "(may require Fn)" +msgstr "(pot requerir Fn))" + +msgctxt "The label for the button that opens the Accessibility help dialog from the application menu bar." +msgid "Accessibility" +msgstr "Accessibilitat" + +msgctxt "Accessibility help dialog title." +msgid "Accessibility help" +msgstr "Ajuda d'accessibilitat" + +msgctxt "Assistive technologies label added to each editor editing area informing users about the possibility of opening the accessibility help dialog." +msgid "Press %0 for help." +msgstr "Premeu %0 per obtenir ajuda." + +msgctxt "Keystroke description for assistive technologies: keystroke for moving focus out of an active dialog window." +msgid "Move focus in and out of an active dialog window" +msgstr "Canvieu l'engrandiment d'una finestra activa" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the whole document (e.g. export to PDF, import from Word, etc.)." +msgid "MENU_BAR_MENU_FILE" +msgstr "Arxiu" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to general editing (e.g. undo, redo, select all, etc.)." +msgid "MENU_BAR_MENU_EDIT" +msgstr "Edita" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the view of the editor (e.g. show source)." +msgid "MENU_BAR_MENU_VIEW" +msgstr "Visualitza" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features that insert content (e.g. insert table, insert image, etc.)." +msgid "MENU_BAR_MENU_INSERT" +msgstr "Introduir" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to content formatting (e.g. bold, font color, heading, etc.)." +msgid "MENU_BAR_MENU_FORMAT" +msgstr "Format" + +msgctxt "The label of the top-level application menu bar menu containing various editor tools (e.g. AI assistant, track changes, etc.)." +msgid "MENU_BAR_MENU_TOOLS" +msgstr "Eines" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features helping users to learn about the editor (e.g. accessibility help)." +msgid "MENU_BAR_MENU_HELP" +msgstr "Ajuda" + +msgctxt "The label of the application menu bar menu containing buttons and features that apply formatting to a text (e.g. bold, italic, etc.)." +msgid "MENU_BAR_MENU_TEXT" +msgstr "Text" + +msgctxt "The label of the application menu bar menu containing buttons and features that control the font of the edited content (e.g. font size, font color, etc.)." +msgid "MENU_BAR_MENU_FONT" +msgstr "Font" + +msgctxt "The accessible label of the editor menu bar used by assistive technologies." +msgid "Editor menu bar" +msgstr "Barra de menú del editor" diff --git a/node_modules/@ckeditor/ckeditor5-ui/lang/translations/cs.po b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/cs.po new file mode 100644 index 0000000..c51bc12 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/cs.po @@ -0,0 +1,210 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Czech (https://app.transifex.com/ckeditor/teams/11143/cs/)\n" +"Language: cs\n" +"Plural-Forms: nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n >= 2 && n <= 4 && n % 1 == 0) ? 1: (n % 1 != 0 ) ? 2 : 3;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "Textový editor" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "Editační oblast editoru: %0" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "Upravit blok" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "Kliknutím upravíte blok" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "Přesuňte potažením" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "Další" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "Předchozí" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "Panel nástrojů editoru" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "Rozbalovací panel nástrojů" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "Černá" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "Tmavě šedá" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "Šedá" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "Světle šedá" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "Bílá" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "Červená" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "Oranžová" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "Žlutá" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "Světle zelená" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "Zelená" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "Akvamarínová" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "Tyrkysová" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "Světle modrá" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "Modrá" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "Fialová" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "Panel nástrojů obsahu bloku editoru" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "Kontextový panel nástrojů editoru" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "HEX" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "Nenalezeny žádné výsledky" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "Žádné položky k vyhledání" + +msgctxt "A default label of a dialog window displayed on top the editor." +msgid "Editor dialog" +msgstr "Dialog editoru" + +msgctxt "The label and the tooltip for the close button in the dialog header." +msgid "Close" +msgstr "Zavřít" + +msgctxt "Accessibility help dialog assistive technologies label telling users how to exit the dialog." +msgid "Help Contents. To close this dialog press ESC." +msgstr "Obsah podpory. Pro zavření tohoto dialogu stiskněte ESC." + +msgctxt "Accessibility help dialog text explaining what can be found in that dialog." +msgid "Below, you can find a list of keyboard shortcuts that can be used in the editor." +msgstr "Seznam klávesových zkratek, které lze v editoru použít, můžete nalézt níže." + +msgctxt "Accessibility help dialog text displayed next to keystrokes that may require the Fn key on Mac." +msgid "(may require Fn)" +msgstr "(může vyžadovat Fn)" + +msgctxt "The label for the button that opens the Accessibility help dialog from the application menu bar." +msgid "Accessibility" +msgstr "Přístupnost" + +msgctxt "Accessibility help dialog title." +msgid "Accessibility help" +msgstr "Podpora přístupnosti" + +msgctxt "Assistive technologies label added to each editor editing area informing users about the possibility of opening the accessibility help dialog." +msgid "Press %0 for help." +msgstr "Stiskněte %0 pro podporu" + +msgctxt "Keystroke description for assistive technologies: keystroke for moving focus out of an active dialog window." +msgid "Move focus in and out of an active dialog window" +msgstr "Přesouvejte zaměření dovnitř a ven z aktivního dialogového okna" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the whole document (e.g. export to PDF, import from Word, etc.)." +msgid "MENU_BAR_MENU_FILE" +msgstr "Soubor" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to general editing (e.g. undo, redo, select all, etc.)." +msgid "MENU_BAR_MENU_EDIT" +msgstr "Upravit" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the view of the editor (e.g. show source)." +msgid "MENU_BAR_MENU_VIEW" +msgstr "Zobrazit" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features that insert content (e.g. insert table, insert image, etc.)." +msgid "MENU_BAR_MENU_INSERT" +msgstr "Vložit" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to content formatting (e.g. bold, font color, heading, etc.)." +msgid "MENU_BAR_MENU_FORMAT" +msgstr "Formát" + +msgctxt "The label of the top-level application menu bar menu containing various editor tools (e.g. AI assistant, track changes, etc.)." +msgid "MENU_BAR_MENU_TOOLS" +msgstr "Nástroje" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features helping users to learn about the editor (e.g. accessibility help)." +msgid "MENU_BAR_MENU_HELP" +msgstr "Nápověda" + +msgctxt "The label of the application menu bar menu containing buttons and features that apply formatting to a text (e.g. bold, italic, etc.)." +msgid "MENU_BAR_MENU_TEXT" +msgstr "Text" + +msgctxt "The label of the application menu bar menu containing buttons and features that control the font of the edited content (e.g. font size, font color, etc.)." +msgid "MENU_BAR_MENU_FONT" +msgstr "Písmo" + +msgctxt "The accessible label of the editor menu bar used by assistive technologies." +msgid "Editor menu bar" +msgstr "Panel nabídek editoru" diff --git a/node_modules/@ckeditor/ckeditor5-ui/lang/translations/da.po b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/da.po new file mode 100644 index 0000000..c3543bf --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/da.po @@ -0,0 +1,210 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Danish (https://app.transifex.com/ckeditor/teams/11143/da/)\n" +"Language: da\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "Wysiwyg editor" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "Redigeringsområde: %0" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "Redigér blok" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "Klik for at redigere blok" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "Træk for at flytte" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "Næste" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "Forrige" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "Editor værktøjslinje" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "Dropdown værktøjslinje" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "Sort" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "Dunkel grå" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "Grå" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "Lys grå" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "Hvid" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "Rød" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "Orange" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "Gyl" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "Lys grøn" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "Grøn" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "Marineblå" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "Turkis" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "Lys blå" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "Blå" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "Lilla" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "Redigeringskasse indholdsværktøjslinje" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "Kontekstuel værktøjslinje til redigeringsprogram" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "Hex" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "Ingen resultater blev fundet" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "Ingen søgbare artikler" + +msgctxt "A default label of a dialog window displayed on top the editor." +msgid "Editor dialog" +msgstr "Editor-dialog" + +msgctxt "The label and the tooltip for the close button in the dialog header." +msgid "Close" +msgstr "Luk" + +msgctxt "Accessibility help dialog assistive technologies label telling users how to exit the dialog." +msgid "Help Contents. To close this dialog press ESC." +msgstr "Hjælpeindhold. Tryk ESC for at lykke denne dialog." + +msgctxt "Accessibility help dialog text explaining what can be found in that dialog." +msgid "Below, you can find a list of keyboard shortcuts that can be used in the editor." +msgstr "Nedenfor kan du finde en liste over tastaturgenveje, der kan bruges i editoren." + +msgctxt "Accessibility help dialog text displayed next to keystrokes that may require the Fn key on Mac." +msgid "(may require Fn)" +msgstr "(kan kræve Fn)" + +msgctxt "The label for the button that opens the Accessibility help dialog from the application menu bar." +msgid "Accessibility" +msgstr "Tilgængelighed" + +msgctxt "Accessibility help dialog title." +msgid "Accessibility help" +msgstr "Tilgængelighedshjælp" + +msgctxt "Assistive technologies label added to each editor editing area informing users about the possibility of opening the accessibility help dialog." +msgid "Press %0 for help." +msgstr "Tryk %0 for at få hjælp." + +msgctxt "Keystroke description for assistive technologies: keystroke for moving focus out of an active dialog window." +msgid "Move focus in and out of an active dialog window" +msgstr "Flyt fokus ind og ud af et aktivt dialogvindue" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the whole document (e.g. export to PDF, import from Word, etc.)." +msgid "MENU_BAR_MENU_FILE" +msgstr "Fil" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to general editing (e.g. undo, redo, select all, etc.)." +msgid "MENU_BAR_MENU_EDIT" +msgstr "Rediger" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the view of the editor (e.g. show source)." +msgid "MENU_BAR_MENU_VIEW" +msgstr "Vis" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features that insert content (e.g. insert table, insert image, etc.)." +msgid "MENU_BAR_MENU_INSERT" +msgstr "Indsæt" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to content formatting (e.g. bold, font color, heading, etc.)." +msgid "MENU_BAR_MENU_FORMAT" +msgstr "Format" + +msgctxt "The label of the top-level application menu bar menu containing various editor tools (e.g. AI assistant, track changes, etc.)." +msgid "MENU_BAR_MENU_TOOLS" +msgstr "Værktøjer" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features helping users to learn about the editor (e.g. accessibility help)." +msgid "MENU_BAR_MENU_HELP" +msgstr "Hjælp" + +msgctxt "The label of the application menu bar menu containing buttons and features that apply formatting to a text (e.g. bold, italic, etc.)." +msgid "MENU_BAR_MENU_TEXT" +msgstr "Tekst" + +msgctxt "The label of the application menu bar menu containing buttons and features that control the font of the edited content (e.g. font size, font color, etc.)." +msgid "MENU_BAR_MENU_FONT" +msgstr "Font" + +msgctxt "The accessible label of the editor menu bar used by assistive technologies." +msgid "Editor menu bar" +msgstr "Editor menulinje" diff --git a/node_modules/@ckeditor/ckeditor5-ui/lang/translations/de-ch.po b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/de-ch.po new file mode 100644 index 0000000..0e8d98a --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/de-ch.po @@ -0,0 +1,210 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: German (Switzerland) (https://app.transifex.com/ckeditor/teams/11143/de_CH/)\n" +"Language: de_CH\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "Rich-Text-Edito" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "" + +msgctxt "A default label of a dialog window displayed on top the editor." +msgid "Editor dialog" +msgstr "" + +msgctxt "The label and the tooltip for the close button in the dialog header." +msgid "Close" +msgstr "" + +msgctxt "Accessibility help dialog assistive technologies label telling users how to exit the dialog." +msgid "Help Contents. To close this dialog press ESC." +msgstr "" + +msgctxt "Accessibility help dialog text explaining what can be found in that dialog." +msgid "Below, you can find a list of keyboard shortcuts that can be used in the editor." +msgstr "" + +msgctxt "Accessibility help dialog text displayed next to keystrokes that may require the Fn key on Mac." +msgid "(may require Fn)" +msgstr "" + +msgctxt "The label for the button that opens the Accessibility help dialog from the application menu bar." +msgid "Accessibility" +msgstr "" + +msgctxt "Accessibility help dialog title." +msgid "Accessibility help" +msgstr "" + +msgctxt "Assistive technologies label added to each editor editing area informing users about the possibility of opening the accessibility help dialog." +msgid "Press %0 for help." +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for moving focus out of an active dialog window." +msgid "Move focus in and out of an active dialog window" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the whole document (e.g. export to PDF, import from Word, etc.)." +msgid "MENU_BAR_MENU_FILE" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to general editing (e.g. undo, redo, select all, etc.)." +msgid "MENU_BAR_MENU_EDIT" +msgstr "Bearbeiten" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the view of the editor (e.g. show source)." +msgid "MENU_BAR_MENU_VIEW" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features that insert content (e.g. insert table, insert image, etc.)." +msgid "MENU_BAR_MENU_INSERT" +msgstr "Einfügen" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to content formatting (e.g. bold, font color, heading, etc.)." +msgid "MENU_BAR_MENU_FORMAT" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing various editor tools (e.g. AI assistant, track changes, etc.)." +msgid "MENU_BAR_MENU_TOOLS" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features helping users to learn about the editor (e.g. accessibility help)." +msgid "MENU_BAR_MENU_HELP" +msgstr "" + +msgctxt "The label of the application menu bar menu containing buttons and features that apply formatting to a text (e.g. bold, italic, etc.)." +msgid "MENU_BAR_MENU_TEXT" +msgstr "" + +msgctxt "The label of the application menu bar menu containing buttons and features that control the font of the edited content (e.g. font size, font color, etc.)." +msgid "MENU_BAR_MENU_FONT" +msgstr "" + +msgctxt "The accessible label of the editor menu bar used by assistive technologies." +msgid "Editor menu bar" +msgstr "" diff --git a/node_modules/@ckeditor/ckeditor5-ui/lang/translations/de.po b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/de.po new file mode 100644 index 0000000..a472091 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/de.po @@ -0,0 +1,210 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: German (https://app.transifex.com/ckeditor/teams/11143/de/)\n" +"Language: de\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "Rich Text Editor" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "Bearbeitungsbereich des Editors: %0" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "Absatz bearbeiten" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "Zum Bearbeiten des Blocks klicken" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "Zum Verschieben ziehen" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "Nächste" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "vorherige" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "Editor Werkzeugleiste" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "Dropdown-Liste Werkzeugleiste" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "Schwarz" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "Dunkelgrau" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "Grau" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "Hellgrau" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "Weiß" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "Rot" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "Orange" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "Gelb" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "Hellgrün" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "Grün" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "Aquamarinblau" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "Türkis" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "Hellblau" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "Blau" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "Violett" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "Editor Blockinhalt-Toolbar" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "Editor kontextuelle Toolbar" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "HEX" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "Keine Ergebnisse gefunden" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "Keine durchsuchbaren Elemente" + +msgctxt "A default label of a dialog window displayed on top the editor." +msgid "Editor dialog" +msgstr "Editor-Dialog" + +msgctxt "The label and the tooltip for the close button in the dialog header." +msgid "Close" +msgstr "Schließen" + +msgctxt "Accessibility help dialog assistive technologies label telling users how to exit the dialog." +msgid "Help Contents. To close this dialog press ESC." +msgstr "Hilfe zum Inhalt. Drücken Sie die Esc-Taste, um dieses Dialogfenster zu schließen." + +msgctxt "Accessibility help dialog text explaining what can be found in that dialog." +msgid "Below, you can find a list of keyboard shortcuts that can be used in the editor." +msgstr "Unten finden Sie eine Liste mit Tastenkombinationen, die im Editor benutzt werden können." + +msgctxt "Accessibility help dialog text displayed next to keystrokes that may require the Fn key on Mac." +msgid "(may require Fn)" +msgstr "(erfordert gegebenenfalls Fn)" + +msgctxt "The label for the button that opens the Accessibility help dialog from the application menu bar." +msgid "Accessibility" +msgstr "Bedienungshilfen" + +msgctxt "Accessibility help dialog title." +msgid "Accessibility help" +msgstr "Hilfe zur Eingabe" + +msgctxt "Assistive technologies label added to each editor editing area informing users about the possibility of opening the accessibility help dialog." +msgid "Press %0 for help." +msgstr "Drücken Sie %0 für Hilfe." + +msgctxt "Keystroke description for assistive technologies: keystroke for moving focus out of an active dialog window." +msgid "Move focus in and out of an active dialog window" +msgstr "Fokus auf ein aktives Dialogfenster richten oder aufheben" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the whole document (e.g. export to PDF, import from Word, etc.)." +msgid "MENU_BAR_MENU_FILE" +msgstr "Datei" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to general editing (e.g. undo, redo, select all, etc.)." +msgid "MENU_BAR_MENU_EDIT" +msgstr "Bearbeiten" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the view of the editor (e.g. show source)." +msgid "MENU_BAR_MENU_VIEW" +msgstr "Anzeigen" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features that insert content (e.g. insert table, insert image, etc.)." +msgid "MENU_BAR_MENU_INSERT" +msgstr "Einfügen" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to content formatting (e.g. bold, font color, heading, etc.)." +msgid "MENU_BAR_MENU_FORMAT" +msgstr "Format" + +msgctxt "The label of the top-level application menu bar menu containing various editor tools (e.g. AI assistant, track changes, etc.)." +msgid "MENU_BAR_MENU_TOOLS" +msgstr "Werkzeuge" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features helping users to learn about the editor (e.g. accessibility help)." +msgid "MENU_BAR_MENU_HELP" +msgstr "Hilfe" + +msgctxt "The label of the application menu bar menu containing buttons and features that apply formatting to a text (e.g. bold, italic, etc.)." +msgid "MENU_BAR_MENU_TEXT" +msgstr "Text" + +msgctxt "The label of the application menu bar menu containing buttons and features that control the font of the edited content (e.g. font size, font color, etc.)." +msgid "MENU_BAR_MENU_FONT" +msgstr "Schriftart" + +msgctxt "The accessible label of the editor menu bar used by assistive technologies." +msgid "Editor menu bar" +msgstr "Menüleiste des Editors" diff --git a/node_modules/@ckeditor/ckeditor5-ui/lang/translations/el.po b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/el.po new file mode 100644 index 0000000..ef8de60 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/el.po @@ -0,0 +1,210 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Greek (https://app.transifex.com/ckeditor/teams/11143/el/)\n" +"Language: el\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "Επεξεργαστής εμπλουτισμένου κειμένου" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "Περιοχή επεξεργασίας προγράμματος επεξεργασίας: %0" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "Επεξεργασία τμήματος" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "Κάντε κλικ για να επεξεργαστείτε το μπλοκ" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "Σύρετε για μετακίνηση" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "Επόμενο" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "Προηγούμενο" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "Γραμμή εργαλείων επεξεργαστή" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "Γραμμή εργαλείων αναδυόμενου μενού" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "Μαύρο" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "Θολό γκρι" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "Γκρι" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "Φωτινό γκρι" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "Λευκό" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "Κόκκινο" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "Πορτοκαλί" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "Κίτρινο" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "Φωτινό πράσινο" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "Πράσινο" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "Ακουαμαρίνα" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "Τιρκουάζ" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "Φωτινό μπλε" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "Μπλε" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "Πορφυρό" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "Γραμμή εργαλείων επεξεργασίας περιεχομένου αποκλεισμού" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "Γραμμή εργαλείων επεξεργασίας συμφραζομένων" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "Δεκαεξαδική μορφή χρωμάτων" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "Δεν βρέθηκαν αποτελέσματα" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "Δεν υπάρχει δυνατότητα αναζήτησης στοιχείων" + +msgctxt "A default label of a dialog window displayed on top the editor." +msgid "Editor dialog" +msgstr "Παράθυρο διαλόγου επεξεργαστή" + +msgctxt "The label and the tooltip for the close button in the dialog header." +msgid "Close" +msgstr "Κλείσιμο" + +msgctxt "Accessibility help dialog assistive technologies label telling users how to exit the dialog." +msgid "Help Contents. To close this dialog press ESC." +msgstr "Περιεχόμενα βοήθειας. Για να κλείσετε αυτό το παράθυρο διαλόγου, πατήστε ESC." + +msgctxt "Accessibility help dialog text explaining what can be found in that dialog." +msgid "Below, you can find a list of keyboard shortcuts that can be used in the editor." +msgstr "Παρακάτω, μπορείτε να βρείτε μια λίστα με συντομεύσεις πληκτρολογίου που μπορείτε να χρησιμοποιήσετε στο εργαλείο επεξεργασίας." + +msgctxt "Accessibility help dialog text displayed next to keystrokes that may require the Fn key on Mac." +msgid "(may require Fn)" +msgstr "(μπορεί να απαιτείται το Fn)" + +msgctxt "The label for the button that opens the Accessibility help dialog from the application menu bar." +msgid "Accessibility" +msgstr "Προσβασιμότητα" + +msgctxt "Accessibility help dialog title." +msgid "Accessibility help" +msgstr "Βοήθεια προσβασιμότητας" + +msgctxt "Assistive technologies label added to each editor editing area informing users about the possibility of opening the accessibility help dialog." +msgid "Press %0 for help." +msgstr "Πατήστε %0 για βοήθεια." + +msgctxt "Keystroke description for assistive technologies: keystroke for moving focus out of an active dialog window." +msgid "Move focus in and out of an active dialog window" +msgstr "Μετακίνηση της εστίασης από ένα ενεργό παράθυρο διαλόγου" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the whole document (e.g. export to PDF, import from Word, etc.)." +msgid "MENU_BAR_MENU_FILE" +msgstr "Αρχείο" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to general editing (e.g. undo, redo, select all, etc.)." +msgid "MENU_BAR_MENU_EDIT" +msgstr "Επεξεργασία" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the view of the editor (e.g. show source)." +msgid "MENU_BAR_MENU_VIEW" +msgstr "Προβολή" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features that insert content (e.g. insert table, insert image, etc.)." +msgid "MENU_BAR_MENU_INSERT" +msgstr "Εισαγωγή" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to content formatting (e.g. bold, font color, heading, etc.)." +msgid "MENU_BAR_MENU_FORMAT" +msgstr "Μορφή" + +msgctxt "The label of the top-level application menu bar menu containing various editor tools (e.g. AI assistant, track changes, etc.)." +msgid "MENU_BAR_MENU_TOOLS" +msgstr "Εργαλεία" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features helping users to learn about the editor (e.g. accessibility help)." +msgid "MENU_BAR_MENU_HELP" +msgstr "Βοήθεια" + +msgctxt "The label of the application menu bar menu containing buttons and features that apply formatting to a text (e.g. bold, italic, etc.)." +msgid "MENU_BAR_MENU_TEXT" +msgstr "Κείμενο" + +msgctxt "The label of the application menu bar menu containing buttons and features that control the font of the edited content (e.g. font size, font color, etc.)." +msgid "MENU_BAR_MENU_FONT" +msgstr "Γραμματοσειρά" + +msgctxt "The accessible label of the editor menu bar used by assistive technologies." +msgid "Editor menu bar" +msgstr "Γραμμή μενού επεξεργαστή" diff --git a/node_modules/@ckeditor/ckeditor5-ui/lang/translations/en-au.po b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/en-au.po new file mode 100644 index 0000000..cc754be --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/en-au.po @@ -0,0 +1,210 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: English (Australia) (https://app.transifex.com/ckeditor/teams/11143/en_AU/)\n" +"Language: en_AU\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "Rich Text Editor" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "Editor editing area: %0" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "Edit block" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "Next" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "Previous" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "Editor toolbar" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "Dropdown toolbar" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "Black" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "Dim grey" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "Grey" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "Light grey" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "White" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "Red" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "Orange" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "Yellow" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "Light green" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "Green" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "Aquamarine" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "Turquoise" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "Light blue" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "Blue" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "Purple" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "Editor block content toolbar" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "Editor contextual toolbar" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "" + +msgctxt "A default label of a dialog window displayed on top the editor." +msgid "Editor dialog" +msgstr "" + +msgctxt "The label and the tooltip for the close button in the dialog header." +msgid "Close" +msgstr "" + +msgctxt "Accessibility help dialog assistive technologies label telling users how to exit the dialog." +msgid "Help Contents. To close this dialog press ESC." +msgstr "" + +msgctxt "Accessibility help dialog text explaining what can be found in that dialog." +msgid "Below, you can find a list of keyboard shortcuts that can be used in the editor." +msgstr "" + +msgctxt "Accessibility help dialog text displayed next to keystrokes that may require the Fn key on Mac." +msgid "(may require Fn)" +msgstr "" + +msgctxt "The label for the button that opens the Accessibility help dialog from the application menu bar." +msgid "Accessibility" +msgstr "" + +msgctxt "Accessibility help dialog title." +msgid "Accessibility help" +msgstr "" + +msgctxt "Assistive technologies label added to each editor editing area informing users about the possibility of opening the accessibility help dialog." +msgid "Press %0 for help." +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for moving focus out of an active dialog window." +msgid "Move focus in and out of an active dialog window" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the whole document (e.g. export to PDF, import from Word, etc.)." +msgid "MENU_BAR_MENU_FILE" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to general editing (e.g. undo, redo, select all, etc.)." +msgid "MENU_BAR_MENU_EDIT" +msgstr "Edit" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the view of the editor (e.g. show source)." +msgid "MENU_BAR_MENU_VIEW" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features that insert content (e.g. insert table, insert image, etc.)." +msgid "MENU_BAR_MENU_INSERT" +msgstr "Insert" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to content formatting (e.g. bold, font color, heading, etc.)." +msgid "MENU_BAR_MENU_FORMAT" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing various editor tools (e.g. AI assistant, track changes, etc.)." +msgid "MENU_BAR_MENU_TOOLS" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features helping users to learn about the editor (e.g. accessibility help)." +msgid "MENU_BAR_MENU_HELP" +msgstr "" + +msgctxt "The label of the application menu bar menu containing buttons and features that apply formatting to a text (e.g. bold, italic, etc.)." +msgid "MENU_BAR_MENU_TEXT" +msgstr "Text" + +msgctxt "The label of the application menu bar menu containing buttons and features that control the font of the edited content (e.g. font size, font color, etc.)." +msgid "MENU_BAR_MENU_FONT" +msgstr "" + +msgctxt "The accessible label of the editor menu bar used by assistive technologies." +msgid "Editor menu bar" +msgstr "" diff --git a/node_modules/@ckeditor/ckeditor5-ui/lang/translations/en-gb.po b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/en-gb.po new file mode 100644 index 0000000..1b06624 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/en-gb.po @@ -0,0 +1,210 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: English (United Kingdom) (https://app.transifex.com/ckeditor/teams/11143/en_GB/)\n" +"Language: en_GB\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "Rich Text Editor" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "Edit block" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "Next" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "Previous" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "Black" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "Dim grey" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "Grey" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "Light grey" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "White" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "Red" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "Orange" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "Yellow" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "Light green" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "Green" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "Aquamarine" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "Turquoise" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "Light blue" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "Blue" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "Purple" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "" + +msgctxt "A default label of a dialog window displayed on top the editor." +msgid "Editor dialog" +msgstr "" + +msgctxt "The label and the tooltip for the close button in the dialog header." +msgid "Close" +msgstr "" + +msgctxt "Accessibility help dialog assistive technologies label telling users how to exit the dialog." +msgid "Help Contents. To close this dialog press ESC." +msgstr "" + +msgctxt "Accessibility help dialog text explaining what can be found in that dialog." +msgid "Below, you can find a list of keyboard shortcuts that can be used in the editor." +msgstr "" + +msgctxt "Accessibility help dialog text displayed next to keystrokes that may require the Fn key on Mac." +msgid "(may require Fn)" +msgstr "" + +msgctxt "The label for the button that opens the Accessibility help dialog from the application menu bar." +msgid "Accessibility" +msgstr "" + +msgctxt "Accessibility help dialog title." +msgid "Accessibility help" +msgstr "" + +msgctxt "Assistive technologies label added to each editor editing area informing users about the possibility of opening the accessibility help dialog." +msgid "Press %0 for help." +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for moving focus out of an active dialog window." +msgid "Move focus in and out of an active dialog window" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the whole document (e.g. export to PDF, import from Word, etc.)." +msgid "MENU_BAR_MENU_FILE" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to general editing (e.g. undo, redo, select all, etc.)." +msgid "MENU_BAR_MENU_EDIT" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the view of the editor (e.g. show source)." +msgid "MENU_BAR_MENU_VIEW" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features that insert content (e.g. insert table, insert image, etc.)." +msgid "MENU_BAR_MENU_INSERT" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to content formatting (e.g. bold, font color, heading, etc.)." +msgid "MENU_BAR_MENU_FORMAT" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing various editor tools (e.g. AI assistant, track changes, etc.)." +msgid "MENU_BAR_MENU_TOOLS" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features helping users to learn about the editor (e.g. accessibility help)." +msgid "MENU_BAR_MENU_HELP" +msgstr "" + +msgctxt "The label of the application menu bar menu containing buttons and features that apply formatting to a text (e.g. bold, italic, etc.)." +msgid "MENU_BAR_MENU_TEXT" +msgstr "" + +msgctxt "The label of the application menu bar menu containing buttons and features that control the font of the edited content (e.g. font size, font color, etc.)." +msgid "MENU_BAR_MENU_FONT" +msgstr "" + +msgctxt "The accessible label of the editor menu bar used by assistive technologies." +msgid "Editor menu bar" +msgstr "" diff --git a/node_modules/@ckeditor/ckeditor5-ui/lang/translations/en.po b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/en.po new file mode 100644 index 0000000..ee015bf --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/en.po @@ -0,0 +1,210 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language: \n" +"Language-Team: \n" +"Plural-Forms: \n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "Rich Text Editor" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "Editor editing area: %0" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "Edit block" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "Click to edit block" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "Drag to move" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "Next" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "Previous" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "Editor toolbar" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "Dropdown toolbar" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "Black" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "Dim grey" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "Grey" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "Light grey" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "White" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "Red" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "Orange" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "Yellow" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "Light green" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "Green" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "Aquamarine" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "Turquoise" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "Light blue" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "Blue" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "Purple" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "Editor block content toolbar" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "Editor contextual toolbar" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "HEX" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "No results found" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "No searchable items" + +msgctxt "A default label of a dialog window displayed on top the editor." +msgid "Editor dialog" +msgstr "Editor dialog" + +msgctxt "The label and the tooltip for the close button in the dialog header." +msgid "Close" +msgstr "Close" + +msgctxt "Accessibility help dialog assistive technologies label telling users how to exit the dialog." +msgid "Help Contents. To close this dialog press ESC." +msgstr "Help Contents. To close this dialog press ESC." + +msgctxt "Accessibility help dialog text explaining what can be found in that dialog." +msgid "Below, you can find a list of keyboard shortcuts that can be used in the editor." +msgstr "Below, you can find a list of keyboard shortcuts that can be used in the editor." + +msgctxt "Accessibility help dialog text displayed next to keystrokes that may require the Fn key on Mac." +msgid "(may require Fn)" +msgstr "(may require Fn)" + +msgctxt "The label for the button that opens the Accessibility help dialog from the application menu bar." +msgid "Accessibility" +msgstr "Accessibility" + +msgctxt "Accessibility help dialog title." +msgid "Accessibility help" +msgstr "Accessibility help" + +msgctxt "Assistive technologies label added to each editor editing area informing users about the possibility of opening the accessibility help dialog." +msgid "Press %0 for help." +msgstr "Press %0 for help." + +msgctxt "Keystroke description for assistive technologies: keystroke for moving focus out of an active dialog window." +msgid "Move focus in and out of an active dialog window" +msgstr "Move focus in and out of an active dialog window" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the whole document (e.g. export to PDF, import from Word, etc.)." +msgid "MENU_BAR_MENU_FILE" +msgstr "File" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to general editing (e.g. undo, redo, select all, etc.)." +msgid "MENU_BAR_MENU_EDIT" +msgstr "Edit" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the view of the editor (e.g. show source)." +msgid "MENU_BAR_MENU_VIEW" +msgstr "View" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features that insert content (e.g. insert table, insert image, etc.)." +msgid "MENU_BAR_MENU_INSERT" +msgstr "Insert" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to content formatting (e.g. bold, font color, heading, etc.)." +msgid "MENU_BAR_MENU_FORMAT" +msgstr "Format" + +msgctxt "The label of the top-level application menu bar menu containing various editor tools (e.g. AI assistant, track changes, etc.)." +msgid "MENU_BAR_MENU_TOOLS" +msgstr "Tools" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features helping users to learn about the editor (e.g. accessibility help)." +msgid "MENU_BAR_MENU_HELP" +msgstr "Help" + +msgctxt "The label of the application menu bar menu containing buttons and features that apply formatting to a text (e.g. bold, italic, etc.)." +msgid "MENU_BAR_MENU_TEXT" +msgstr "Text" + +msgctxt "The label of the application menu bar menu containing buttons and features that control the font of the edited content (e.g. font size, font color, etc.)." +msgid "MENU_BAR_MENU_FONT" +msgstr "Font" + +msgctxt "The accessible label of the editor menu bar used by assistive technologies." +msgid "Editor menu bar" +msgstr "Editor menu bar" diff --git a/node_modules/@ckeditor/ckeditor5-ui/lang/translations/eo.po b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/eo.po new file mode 100644 index 0000000..a181ac5 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/eo.po @@ -0,0 +1,210 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Esperanto (https://app.transifex.com/ckeditor/teams/11143/eo/)\n" +"Language: eo\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "Redaktilo de Riĉa Teksto" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "" + +msgctxt "A default label of a dialog window displayed on top the editor." +msgid "Editor dialog" +msgstr "" + +msgctxt "The label and the tooltip for the close button in the dialog header." +msgid "Close" +msgstr "" + +msgctxt "Accessibility help dialog assistive technologies label telling users how to exit the dialog." +msgid "Help Contents. To close this dialog press ESC." +msgstr "" + +msgctxt "Accessibility help dialog text explaining what can be found in that dialog." +msgid "Below, you can find a list of keyboard shortcuts that can be used in the editor." +msgstr "" + +msgctxt "Accessibility help dialog text displayed next to keystrokes that may require the Fn key on Mac." +msgid "(may require Fn)" +msgstr "" + +msgctxt "The label for the button that opens the Accessibility help dialog from the application menu bar." +msgid "Accessibility" +msgstr "" + +msgctxt "Accessibility help dialog title." +msgid "Accessibility help" +msgstr "" + +msgctxt "Assistive technologies label added to each editor editing area informing users about the possibility of opening the accessibility help dialog." +msgid "Press %0 for help." +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for moving focus out of an active dialog window." +msgid "Move focus in and out of an active dialog window" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the whole document (e.g. export to PDF, import from Word, etc.)." +msgid "MENU_BAR_MENU_FILE" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to general editing (e.g. undo, redo, select all, etc.)." +msgid "MENU_BAR_MENU_EDIT" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the view of the editor (e.g. show source)." +msgid "MENU_BAR_MENU_VIEW" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features that insert content (e.g. insert table, insert image, etc.)." +msgid "MENU_BAR_MENU_INSERT" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to content formatting (e.g. bold, font color, heading, etc.)." +msgid "MENU_BAR_MENU_FORMAT" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing various editor tools (e.g. AI assistant, track changes, etc.)." +msgid "MENU_BAR_MENU_TOOLS" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features helping users to learn about the editor (e.g. accessibility help)." +msgid "MENU_BAR_MENU_HELP" +msgstr "" + +msgctxt "The label of the application menu bar menu containing buttons and features that apply formatting to a text (e.g. bold, italic, etc.)." +msgid "MENU_BAR_MENU_TEXT" +msgstr "" + +msgctxt "The label of the application menu bar menu containing buttons and features that control the font of the edited content (e.g. font size, font color, etc.)." +msgid "MENU_BAR_MENU_FONT" +msgstr "" + +msgctxt "The accessible label of the editor menu bar used by assistive technologies." +msgid "Editor menu bar" +msgstr "" diff --git a/node_modules/@ckeditor/ckeditor5-ui/lang/translations/es-co.po b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/es-co.po new file mode 100644 index 0000000..ac34fd5 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/es-co.po @@ -0,0 +1,210 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Spanish (Colombia) (https://app.transifex.com/ckeditor/teams/11143/es_CO/)\n" +"Language: es_CO\n" +"Plural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "" + +msgctxt "A default label of a dialog window displayed on top the editor." +msgid "Editor dialog" +msgstr "" + +msgctxt "The label and the tooltip for the close button in the dialog header." +msgid "Close" +msgstr "" + +msgctxt "Accessibility help dialog assistive technologies label telling users how to exit the dialog." +msgid "Help Contents. To close this dialog press ESC." +msgstr "" + +msgctxt "Accessibility help dialog text explaining what can be found in that dialog." +msgid "Below, you can find a list of keyboard shortcuts that can be used in the editor." +msgstr "" + +msgctxt "Accessibility help dialog text displayed next to keystrokes that may require the Fn key on Mac." +msgid "(may require Fn)" +msgstr "" + +msgctxt "The label for the button that opens the Accessibility help dialog from the application menu bar." +msgid "Accessibility" +msgstr "" + +msgctxt "Accessibility help dialog title." +msgid "Accessibility help" +msgstr "" + +msgctxt "Assistive technologies label added to each editor editing area informing users about the possibility of opening the accessibility help dialog." +msgid "Press %0 for help." +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for moving focus out of an active dialog window." +msgid "Move focus in and out of an active dialog window" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the whole document (e.g. export to PDF, import from Word, etc.)." +msgid "MENU_BAR_MENU_FILE" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to general editing (e.g. undo, redo, select all, etc.)." +msgid "MENU_BAR_MENU_EDIT" +msgstr "Editar" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the view of the editor (e.g. show source)." +msgid "MENU_BAR_MENU_VIEW" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features that insert content (e.g. insert table, insert image, etc.)." +msgid "MENU_BAR_MENU_INSERT" +msgstr "Insertar" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to content formatting (e.g. bold, font color, heading, etc.)." +msgid "MENU_BAR_MENU_FORMAT" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing various editor tools (e.g. AI assistant, track changes, etc.)." +msgid "MENU_BAR_MENU_TOOLS" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features helping users to learn about the editor (e.g. accessibility help)." +msgid "MENU_BAR_MENU_HELP" +msgstr "" + +msgctxt "The label of the application menu bar menu containing buttons and features that apply formatting to a text (e.g. bold, italic, etc.)." +msgid "MENU_BAR_MENU_TEXT" +msgstr "" + +msgctxt "The label of the application menu bar menu containing buttons and features that control the font of the edited content (e.g. font size, font color, etc.)." +msgid "MENU_BAR_MENU_FONT" +msgstr "" + +msgctxt "The accessible label of the editor menu bar used by assistive technologies." +msgid "Editor menu bar" +msgstr "" diff --git a/node_modules/@ckeditor/ckeditor5-ui/lang/translations/es.po b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/es.po new file mode 100644 index 0000000..f98c101 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/es.po @@ -0,0 +1,210 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Spanish (https://app.transifex.com/ckeditor/teams/11143/es/)\n" +"Language: es\n" +"Plural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "Editor de Texto Enriquecido" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "Área de edición del editor: %0" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "Cuadro de edición" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "Haz clic para editar el bloque" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "Arrastra para mover" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "Siguiente" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "Anterior" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "Barra de herramientas de edición" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "Barra de herramientas desplegable" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "Negro" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "Gris oscuro" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "Gris" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "Gris claro" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "Blanco" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "Rojo" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "Naranja" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "Amarillo" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "Verde claro" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "Verde" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "Aguamarina" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "Turquesa" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "Azul claro" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "Azul" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "Morado" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "Barra de herramientas de contenido del bloque del editor" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "Barra de herramientas contextual del editor" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "HEX" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "No se han encontrado resultados" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "No hay elementos que buscar" + +msgctxt "A default label of a dialog window displayed on top the editor." +msgid "Editor dialog" +msgstr "Diálogo del editor" + +msgctxt "The label and the tooltip for the close button in the dialog header." +msgid "Close" +msgstr "Cerrar" + +msgctxt "Accessibility help dialog assistive technologies label telling users how to exit the dialog." +msgid "Help Contents. To close this dialog press ESC." +msgstr "Contenidos de ayuda. Presione ESC para cerrar este cuadro de diálogo." + +msgctxt "Accessibility help dialog text explaining what can be found in that dialog." +msgid "Below, you can find a list of keyboard shortcuts that can be used in the editor." +msgstr "A continuación, encontrará una lista de atajos de teclado que se pueden utilizar en el editor." + +msgctxt "Accessibility help dialog text displayed next to keystrokes that may require the Fn key on Mac." +msgid "(may require Fn)" +msgstr "(puede requerir Fn)" + +msgctxt "The label for the button that opens the Accessibility help dialog from the application menu bar." +msgid "Accessibility" +msgstr "Accesibilidad" + +msgctxt "Accessibility help dialog title." +msgid "Accessibility help" +msgstr "Ayuda de accesibilidad" + +msgctxt "Assistive technologies label added to each editor editing area informing users about the possibility of opening the accessibility help dialog." +msgid "Press %0 for help." +msgstr "Presione %0 para obtener ayuda." + +msgctxt "Keystroke description for assistive technologies: keystroke for moving focus out of an active dialog window." +msgid "Move focus in and out of an active dialog window" +msgstr "Mueve el foco dentro y fuera de una ventana de diálogo activa" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the whole document (e.g. export to PDF, import from Word, etc.)." +msgid "MENU_BAR_MENU_FILE" +msgstr "Archivo" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to general editing (e.g. undo, redo, select all, etc.)." +msgid "MENU_BAR_MENU_EDIT" +msgstr "Editar" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the view of the editor (e.g. show source)." +msgid "MENU_BAR_MENU_VIEW" +msgstr "Ver" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features that insert content (e.g. insert table, insert image, etc.)." +msgid "MENU_BAR_MENU_INSERT" +msgstr "Insertar" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to content formatting (e.g. bold, font color, heading, etc.)." +msgid "MENU_BAR_MENU_FORMAT" +msgstr "Formato" + +msgctxt "The label of the top-level application menu bar menu containing various editor tools (e.g. AI assistant, track changes, etc.)." +msgid "MENU_BAR_MENU_TOOLS" +msgstr "Herramientas" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features helping users to learn about the editor (e.g. accessibility help)." +msgid "MENU_BAR_MENU_HELP" +msgstr "Ayuda" + +msgctxt "The label of the application menu bar menu containing buttons and features that apply formatting to a text (e.g. bold, italic, etc.)." +msgid "MENU_BAR_MENU_TEXT" +msgstr "Texto" + +msgctxt "The label of the application menu bar menu containing buttons and features that control the font of the edited content (e.g. font size, font color, etc.)." +msgid "MENU_BAR_MENU_FONT" +msgstr "Fuente" + +msgctxt "The accessible label of the editor menu bar used by assistive technologies." +msgid "Editor menu bar" +msgstr "Barra de menú del editor" diff --git a/node_modules/@ckeditor/ckeditor5-ui/lang/translations/et.po b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/et.po new file mode 100644 index 0000000..042efb9 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/et.po @@ -0,0 +1,210 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Estonian (https://app.transifex.com/ckeditor/teams/11143/et/)\n" +"Language: et\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "Tekstiredaktor" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "Redaktori redigeerimisala: %0" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "Muuda plokki" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "Ploki muutmiseks klõpsa" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "Liigutamiseks lohista" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "Järgmine" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "Eelmine" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "Redaktori tööriistariba" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "Avatav tööriistariba" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "Must" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "Tumehall" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "Hall" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "Helehall" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "Valge" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "Punane" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "Oranž" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "Kollane" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "Heleroheline" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "Roheline" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "Akvamariin" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "Türkiis" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "Helesinine" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "Sinine" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "Lilla" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "Redigeerija ploki sisu tööriistariba" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "Redigeerija kontekstuaalne tööriistariba" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "HEX" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "Tulemusi ei leitud" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "Tulemusi pole" + +msgctxt "A default label of a dialog window displayed on top the editor." +msgid "Editor dialog" +msgstr "Muutja dialoog" + +msgctxt "The label and the tooltip for the close button in the dialog header." +msgid "Close" +msgstr "Sulge" + +msgctxt "Accessibility help dialog assistive technologies label telling users how to exit the dialog." +msgid "Help Contents. To close this dialog press ESC." +msgstr "Abistav materjal. Selle dialoogi sulgemiseks vajuta ESC." + +msgctxt "Accessibility help dialog text explaining what can be found in that dialog." +msgid "Below, you can find a list of keyboard shortcuts that can be used in the editor." +msgstr "Altpoolt leiad redaktoris kasutatavad klahvikombinatsioonid." + +msgctxt "Accessibility help dialog text displayed next to keystrokes that may require the Fn key on Mac." +msgid "(may require Fn)" +msgstr "(võib vajada klahvi Fn)" + +msgctxt "The label for the button that opens the Accessibility help dialog from the application menu bar." +msgid "Accessibility" +msgstr "Juurdepääsetavus" + +msgctxt "Accessibility help dialog title." +msgid "Accessibility help" +msgstr "Juurdepääsu abi" + +msgctxt "Assistive technologies label added to each editor editing area informing users about the possibility of opening the accessibility help dialog." +msgid "Press %0 for help." +msgstr "Abi saamiseks vajuta %0." + +msgctxt "Keystroke description for assistive technologies: keystroke for moving focus out of an active dialog window." +msgid "Move focus in and out of an active dialog window" +msgstr "Vii kasutusel dialoogiaken fookuses või mitte" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the whole document (e.g. export to PDF, import from Word, etc.)." +msgid "MENU_BAR_MENU_FILE" +msgstr "Fail" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to general editing (e.g. undo, redo, select all, etc.)." +msgid "MENU_BAR_MENU_EDIT" +msgstr "Muuda" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the view of the editor (e.g. show source)." +msgid "MENU_BAR_MENU_VIEW" +msgstr "Kuva" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features that insert content (e.g. insert table, insert image, etc.)." +msgid "MENU_BAR_MENU_INSERT" +msgstr "Sisesta" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to content formatting (e.g. bold, font color, heading, etc.)." +msgid "MENU_BAR_MENU_FORMAT" +msgstr "Vorming" + +msgctxt "The label of the top-level application menu bar menu containing various editor tools (e.g. AI assistant, track changes, etc.)." +msgid "MENU_BAR_MENU_TOOLS" +msgstr "Tööriistad" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features helping users to learn about the editor (e.g. accessibility help)." +msgid "MENU_BAR_MENU_HELP" +msgstr "Abi" + +msgctxt "The label of the application menu bar menu containing buttons and features that apply formatting to a text (e.g. bold, italic, etc.)." +msgid "MENU_BAR_MENU_TEXT" +msgstr "Tekst" + +msgctxt "The label of the application menu bar menu containing buttons and features that control the font of the edited content (e.g. font size, font color, etc.)." +msgid "MENU_BAR_MENU_FONT" +msgstr "Font" + +msgctxt "The accessible label of the editor menu bar used by assistive technologies." +msgid "Editor menu bar" +msgstr "Redaktori menüüriba" diff --git a/node_modules/@ckeditor/ckeditor5-ui/lang/translations/eu.po b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/eu.po new file mode 100644 index 0000000..2e67edb --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/eu.po @@ -0,0 +1,210 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Basque (https://app.transifex.com/ckeditor/teams/11143/eu/)\n" +"Language: eu\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "Testu aberastuaren editorea" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "" + +msgctxt "A default label of a dialog window displayed on top the editor." +msgid "Editor dialog" +msgstr "" + +msgctxt "The label and the tooltip for the close button in the dialog header." +msgid "Close" +msgstr "" + +msgctxt "Accessibility help dialog assistive technologies label telling users how to exit the dialog." +msgid "Help Contents. To close this dialog press ESC." +msgstr "" + +msgctxt "Accessibility help dialog text explaining what can be found in that dialog." +msgid "Below, you can find a list of keyboard shortcuts that can be used in the editor." +msgstr "" + +msgctxt "Accessibility help dialog text displayed next to keystrokes that may require the Fn key on Mac." +msgid "(may require Fn)" +msgstr "" + +msgctxt "The label for the button that opens the Accessibility help dialog from the application menu bar." +msgid "Accessibility" +msgstr "" + +msgctxt "Accessibility help dialog title." +msgid "Accessibility help" +msgstr "" + +msgctxt "Assistive technologies label added to each editor editing area informing users about the possibility of opening the accessibility help dialog." +msgid "Press %0 for help." +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for moving focus out of an active dialog window." +msgid "Move focus in and out of an active dialog window" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the whole document (e.g. export to PDF, import from Word, etc.)." +msgid "MENU_BAR_MENU_FILE" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to general editing (e.g. undo, redo, select all, etc.)." +msgid "MENU_BAR_MENU_EDIT" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the view of the editor (e.g. show source)." +msgid "MENU_BAR_MENU_VIEW" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features that insert content (e.g. insert table, insert image, etc.)." +msgid "MENU_BAR_MENU_INSERT" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to content formatting (e.g. bold, font color, heading, etc.)." +msgid "MENU_BAR_MENU_FORMAT" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing various editor tools (e.g. AI assistant, track changes, etc.)." +msgid "MENU_BAR_MENU_TOOLS" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features helping users to learn about the editor (e.g. accessibility help)." +msgid "MENU_BAR_MENU_HELP" +msgstr "" + +msgctxt "The label of the application menu bar menu containing buttons and features that apply formatting to a text (e.g. bold, italic, etc.)." +msgid "MENU_BAR_MENU_TEXT" +msgstr "" + +msgctxt "The label of the application menu bar menu containing buttons and features that control the font of the edited content (e.g. font size, font color, etc.)." +msgid "MENU_BAR_MENU_FONT" +msgstr "" + +msgctxt "The accessible label of the editor menu bar used by assistive technologies." +msgid "Editor menu bar" +msgstr "" diff --git a/node_modules/@ckeditor/ckeditor5-ui/lang/translations/fa.po b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/fa.po new file mode 100644 index 0000000..498b4f7 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/fa.po @@ -0,0 +1,210 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Persian (https://app.transifex.com/ckeditor/teams/11143/fa/)\n" +"Language: fa\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "ویرایشگر متن غنی" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "ویرایش قطعه" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "بعدی" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "قبلی" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "نوارابزار ویرایشگر" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "نوارابزار کشویی" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "سیاه" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "خاکستری تیره" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "خاکستری" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "خاکستری روشن" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "سفید" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "قرمز" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "نارنجی" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "زرد" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "سبز روشن" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "سبز" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "زمرد کبود" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "فیروزه ای" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "آبی روشن" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "آبی" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "بنفش" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "" + +msgctxt "A default label of a dialog window displayed on top the editor." +msgid "Editor dialog" +msgstr "" + +msgctxt "The label and the tooltip for the close button in the dialog header." +msgid "Close" +msgstr "" + +msgctxt "Accessibility help dialog assistive technologies label telling users how to exit the dialog." +msgid "Help Contents. To close this dialog press ESC." +msgstr "" + +msgctxt "Accessibility help dialog text explaining what can be found in that dialog." +msgid "Below, you can find a list of keyboard shortcuts that can be used in the editor." +msgstr "" + +msgctxt "Accessibility help dialog text displayed next to keystrokes that may require the Fn key on Mac." +msgid "(may require Fn)" +msgstr "" + +msgctxt "The label for the button that opens the Accessibility help dialog from the application menu bar." +msgid "Accessibility" +msgstr "" + +msgctxt "Accessibility help dialog title." +msgid "Accessibility help" +msgstr "" + +msgctxt "Assistive technologies label added to each editor editing area informing users about the possibility of opening the accessibility help dialog." +msgid "Press %0 for help." +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for moving focus out of an active dialog window." +msgid "Move focus in and out of an active dialog window" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the whole document (e.g. export to PDF, import from Word, etc.)." +msgid "MENU_BAR_MENU_FILE" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to general editing (e.g. undo, redo, select all, etc.)." +msgid "MENU_BAR_MENU_EDIT" +msgstr "ویرایش" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the view of the editor (e.g. show source)." +msgid "MENU_BAR_MENU_VIEW" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features that insert content (e.g. insert table, insert image, etc.)." +msgid "MENU_BAR_MENU_INSERT" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to content formatting (e.g. bold, font color, heading, etc.)." +msgid "MENU_BAR_MENU_FORMAT" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing various editor tools (e.g. AI assistant, track changes, etc.)." +msgid "MENU_BAR_MENU_TOOLS" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features helping users to learn about the editor (e.g. accessibility help)." +msgid "MENU_BAR_MENU_HELP" +msgstr "" + +msgctxt "The label of the application menu bar menu containing buttons and features that apply formatting to a text (e.g. bold, italic, etc.)." +msgid "MENU_BAR_MENU_TEXT" +msgstr "" + +msgctxt "The label of the application menu bar menu containing buttons and features that control the font of the edited content (e.g. font size, font color, etc.)." +msgid "MENU_BAR_MENU_FONT" +msgstr "" + +msgctxt "The accessible label of the editor menu bar used by assistive technologies." +msgid "Editor menu bar" +msgstr "" diff --git a/node_modules/@ckeditor/ckeditor5-ui/lang/translations/fi.po b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/fi.po new file mode 100644 index 0000000..f50e383 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/fi.po @@ -0,0 +1,210 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Finnish (https://app.transifex.com/ckeditor/teams/11143/fi/)\n" +"Language: fi\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "Rikas tekstieditori" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "Editorin muokkausalue: %0" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "Muokkaa lohkoa" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "Muokkaa lohkoa klikkaamalla" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "Siirrä raahamalla" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "Seuraava" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "Edellinen" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "Editorin työkalupalkki" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "Pudotusvalikon työkalupalkki" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "Musta" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "Vaaleanharmaa" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "Harmaa" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "Vaaleanharmaa" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "Valkoinen" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "Punainen" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "Oranssi" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "Keltainen" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "Vaaleanvihreä" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "Vihreä" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "Akvamariini" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "Turkoosi" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "Vaaleansininen" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "Sininen" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "Purppura" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "Editorin lohkon sisällön työkalupalkki" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "Editorin kontekstuaalinen työkalupalkki" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "HEX" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "Tuloksia ei löytynyt" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "Ei haettavia nimikkeitä" + +msgctxt "A default label of a dialog window displayed on top the editor." +msgid "Editor dialog" +msgstr "Editorin dialogi" + +msgctxt "The label and the tooltip for the close button in the dialog header." +msgid "Close" +msgstr "Sulje" + +msgctxt "Accessibility help dialog assistive technologies label telling users how to exit the dialog." +msgid "Help Contents. To close this dialog press ESC." +msgstr "Tukisisältö. Voit sulkea tämän dialogin painamalla ESC-näppäintä." + +msgctxt "Accessibility help dialog text explaining what can be found in that dialog." +msgid "Below, you can find a list of keyboard shortcuts that can be used in the editor." +msgstr "Ohessa on tässä editointityökalussa käytettävien näppäinoikoteiden lista." + +msgctxt "Accessibility help dialog text displayed next to keystrokes that may require the Fn key on Mac." +msgid "(may require Fn)" +msgstr "(Saattaa vaatia Fn:n)" + +msgctxt "The label for the button that opens the Accessibility help dialog from the application menu bar." +msgid "Accessibility" +msgstr "Käytettävyys" + +msgctxt "Accessibility help dialog title." +msgid "Accessibility help" +msgstr "Esteettömyystuki" + +msgctxt "Assistive technologies label added to each editor editing area informing users about the possibility of opening the accessibility help dialog." +msgid "Press %0 for help." +msgstr "Paina %0 -näppäintä, jos tarvitset apua." + +msgctxt "Keystroke description for assistive technologies: keystroke for moving focus out of an active dialog window." +msgid "Move focus in and out of an active dialog window" +msgstr "Siirry lähemmäs ja kauemmas käytössä olevasta dialogi-ikkunasta" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the whole document (e.g. export to PDF, import from Word, etc.)." +msgid "MENU_BAR_MENU_FILE" +msgstr "Tiedosto" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to general editing (e.g. undo, redo, select all, etc.)." +msgid "MENU_BAR_MENU_EDIT" +msgstr "Muokkaa" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the view of the editor (e.g. show source)." +msgid "MENU_BAR_MENU_VIEW" +msgstr "Näytä" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features that insert content (e.g. insert table, insert image, etc.)." +msgid "MENU_BAR_MENU_INSERT" +msgstr "Liitä" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to content formatting (e.g. bold, font color, heading, etc.)." +msgid "MENU_BAR_MENU_FORMAT" +msgstr "Muoto" + +msgctxt "The label of the top-level application menu bar menu containing various editor tools (e.g. AI assistant, track changes, etc.)." +msgid "MENU_BAR_MENU_TOOLS" +msgstr "Työkalut" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features helping users to learn about the editor (e.g. accessibility help)." +msgid "MENU_BAR_MENU_HELP" +msgstr "Tuki" + +msgctxt "The label of the application menu bar menu containing buttons and features that apply formatting to a text (e.g. bold, italic, etc.)." +msgid "MENU_BAR_MENU_TEXT" +msgstr "Teksti" + +msgctxt "The label of the application menu bar menu containing buttons and features that control the font of the edited content (e.g. font size, font color, etc.)." +msgid "MENU_BAR_MENU_FONT" +msgstr "Fontti" + +msgctxt "The accessible label of the editor menu bar used by assistive technologies." +msgid "Editor menu bar" +msgstr "Muokkaustyökalun valikkopalkki" diff --git a/node_modules/@ckeditor/ckeditor5-ui/lang/translations/fr.po b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/fr.po new file mode 100644 index 0000000..81c06fc --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/fr.po @@ -0,0 +1,210 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: French (https://app.transifex.com/ckeditor/teams/11143/fr/)\n" +"Language: fr\n" +"Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "Éditeur de texte enrichi" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "Zone d'édition de l'éditeur : %0" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "Modifier le bloc" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "Cliquer pour modifier le bloc" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "Faire glisser pour déplacer" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "Suivant" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "Précedent" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "Barre d'outils de l'éditeur" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "Barre d'outils dans un menu déroulant" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "Noir" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "Gris pâle" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "Gris" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "Gris clair" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "Blanc" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "Rouge" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "Orange" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "Jaune" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "Vert clair" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "Vert" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "Bleu vert" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "Turquoise" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "Bleu clair" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "Bleu" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "Violet" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "Barre d'outils du contenu du bloc éditeur" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "Barre d'outils contextuelle de l'éditeur" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "HEX" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "Aucun résultat trouvé" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "Aucun élément consultable" + +msgctxt "A default label of a dialog window displayed on top the editor." +msgid "Editor dialog" +msgstr "Boîte de dialogue de l'éditeur" + +msgctxt "The label and the tooltip for the close button in the dialog header." +msgid "Close" +msgstr "Fermer" + +msgctxt "Accessibility help dialog assistive technologies label telling users how to exit the dialog." +msgid "Help Contents. To close this dialog press ESC." +msgstr "Contenu de l'aide. Pour fermer cette boîte de dialogue, appuyez sur ESC." + +msgctxt "Accessibility help dialog text explaining what can be found in that dialog." +msgid "Below, you can find a list of keyboard shortcuts that can be used in the editor." +msgstr "Ci-dessous, vous trouverez une liste de raccourcis clavier pouvant être utilisés dans l’éditeur." + +msgctxt "Accessibility help dialog text displayed next to keystrokes that may require the Fn key on Mac." +msgid "(may require Fn)" +msgstr "(peut nécessiter Fn )" + +msgctxt "The label for the button that opens the Accessibility help dialog from the application menu bar." +msgid "Accessibility" +msgstr "Accessibilité" + +msgctxt "Accessibility help dialog title." +msgid "Accessibility help" +msgstr "Aide à l'accessibilité" + +msgctxt "Assistive technologies label added to each editor editing area informing users about the possibility of opening the accessibility help dialog." +msgid "Press %0 for help." +msgstr "Appuyez sur %0 pour obtenir de l'aide." + +msgctxt "Keystroke description for assistive technologies: keystroke for moving focus out of an active dialog window." +msgid "Move focus in and out of an active dialog window" +msgstr "Déplacer le focus vers et hors d'une fenêtre de dialogue active" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the whole document (e.g. export to PDF, import from Word, etc.)." +msgid "MENU_BAR_MENU_FILE" +msgstr "Fichier" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to general editing (e.g. undo, redo, select all, etc.)." +msgid "MENU_BAR_MENU_EDIT" +msgstr "Éditer" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the view of the editor (e.g. show source)." +msgid "MENU_BAR_MENU_VIEW" +msgstr "Afficher" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features that insert content (e.g. insert table, insert image, etc.)." +msgid "MENU_BAR_MENU_INSERT" +msgstr "Insérer" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to content formatting (e.g. bold, font color, heading, etc.)." +msgid "MENU_BAR_MENU_FORMAT" +msgstr "Format" + +msgctxt "The label of the top-level application menu bar menu containing various editor tools (e.g. AI assistant, track changes, etc.)." +msgid "MENU_BAR_MENU_TOOLS" +msgstr "Outils" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features helping users to learn about the editor (e.g. accessibility help)." +msgid "MENU_BAR_MENU_HELP" +msgstr "Aide" + +msgctxt "The label of the application menu bar menu containing buttons and features that apply formatting to a text (e.g. bold, italic, etc.)." +msgid "MENU_BAR_MENU_TEXT" +msgstr "Texte" + +msgctxt "The label of the application menu bar menu containing buttons and features that control the font of the edited content (e.g. font size, font color, etc.)." +msgid "MENU_BAR_MENU_FONT" +msgstr "Police de caractère" + +msgctxt "The accessible label of the editor menu bar used by assistive technologies." +msgid "Editor menu bar" +msgstr "Barre de menu de l'éditeur" diff --git a/node_modules/@ckeditor/ckeditor5-ui/lang/translations/gl.po b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/gl.po new file mode 100644 index 0000000..200da3e --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/gl.po @@ -0,0 +1,210 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Galician (https://app.transifex.com/ckeditor/teams/11143/gl/)\n" +"Language: gl\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "Editor de texto mellorado" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "Área de edición do editor: %0" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "Editar bloque" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "Prema para editar o bloque" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "Arrastre para mover" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "Seguinte" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "Anterior" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "Barra de ferramentas do editor" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "Barra de ferramentas despregábel" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "Negro" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "Gris fume" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "Gris" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "Gris claro" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "Branco" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "Vermello" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "Laranxa" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "Amarelo" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "Verde claro" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "Verde" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "Augamariña" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "Turquesa" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "Azul claro" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "Azul" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "Púrpura" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "Barra de ferramentas de contido do bloque do editor" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "Barra de ferramentas contextual do editor" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "HEX" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "Non se atoparon resultados" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "Non hai elementos que se poidan buscar" + +msgctxt "A default label of a dialog window displayed on top the editor." +msgid "Editor dialog" +msgstr "" + +msgctxt "The label and the tooltip for the close button in the dialog header." +msgid "Close" +msgstr "" + +msgctxt "Accessibility help dialog assistive technologies label telling users how to exit the dialog." +msgid "Help Contents. To close this dialog press ESC." +msgstr "" + +msgctxt "Accessibility help dialog text explaining what can be found in that dialog." +msgid "Below, you can find a list of keyboard shortcuts that can be used in the editor." +msgstr "" + +msgctxt "Accessibility help dialog text displayed next to keystrokes that may require the Fn key on Mac." +msgid "(may require Fn)" +msgstr "" + +msgctxt "The label for the button that opens the Accessibility help dialog from the application menu bar." +msgid "Accessibility" +msgstr "" + +msgctxt "Accessibility help dialog title." +msgid "Accessibility help" +msgstr "" + +msgctxt "Assistive technologies label added to each editor editing area informing users about the possibility of opening the accessibility help dialog." +msgid "Press %0 for help." +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for moving focus out of an active dialog window." +msgid "Move focus in and out of an active dialog window" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the whole document (e.g. export to PDF, import from Word, etc.)." +msgid "MENU_BAR_MENU_FILE" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to general editing (e.g. undo, redo, select all, etc.)." +msgid "MENU_BAR_MENU_EDIT" +msgstr "Editar" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the view of the editor (e.g. show source)." +msgid "MENU_BAR_MENU_VIEW" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features that insert content (e.g. insert table, insert image, etc.)." +msgid "MENU_BAR_MENU_INSERT" +msgstr "Inserir" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to content formatting (e.g. bold, font color, heading, etc.)." +msgid "MENU_BAR_MENU_FORMAT" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing various editor tools (e.g. AI assistant, track changes, etc.)." +msgid "MENU_BAR_MENU_TOOLS" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features helping users to learn about the editor (e.g. accessibility help)." +msgid "MENU_BAR_MENU_HELP" +msgstr "" + +msgctxt "The label of the application menu bar menu containing buttons and features that apply formatting to a text (e.g. bold, italic, etc.)." +msgid "MENU_BAR_MENU_TEXT" +msgstr "Texto" + +msgctxt "The label of the application menu bar menu containing buttons and features that control the font of the edited content (e.g. font size, font color, etc.)." +msgid "MENU_BAR_MENU_FONT" +msgstr "" + +msgctxt "The accessible label of the editor menu bar used by assistive technologies." +msgid "Editor menu bar" +msgstr "" diff --git a/node_modules/@ckeditor/ckeditor5-ui/lang/translations/he.po b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/he.po new file mode 100644 index 0000000..292b0dc --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/he.po @@ -0,0 +1,210 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Hebrew (https://app.transifex.com/ckeditor/teams/11143/he/)\n" +"Language: he\n" +"Plural-Forms: nplurals=3; plural=(n == 1 && n % 1 == 0) ? 0 : (n == 2 && n % 1 == 0) ? 1: 2;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "עורך טקסט עשיר" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "אזור עריכה של העורך: %0" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "הגדרות בלוק" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "להקיש לעריכת בלוק" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "לגרור כדי להזיז" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "הבא" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "הקודם" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "סרגל הכלים" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "סרגל כלים נפתח" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "שחור" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "אפור עמום" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "אפור" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "אפור בהיר" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "לבן" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "אדום" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "כתום" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "צהוב" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "ירוק בהיר" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "ירוק" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "ירוק-כחלחל" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "טורקיז" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "כחול בהיר" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "כחול" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "סגול" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "סרגל כלים של תוכן בלוק של העורך" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "סרגל כלים הקשרי של העורך" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "HEX" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "לא נמצאו תוצאות" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "אין פריטים ניתנים לחיפוש" + +msgctxt "A default label of a dialog window displayed on top the editor." +msgid "Editor dialog" +msgstr "חלון דו-שיח של העורך" + +msgctxt "The label and the tooltip for the close button in the dialog header." +msgid "Close" +msgstr "סגור" + +msgctxt "Accessibility help dialog assistive technologies label telling users how to exit the dialog." +msgid "Help Contents. To close this dialog press ESC." +msgstr "תוכן עזרה. כדי לסגור תיבת דו-שיח זו יש להקיש על ESC." + +msgctxt "Accessibility help dialog text explaining what can be found in that dialog." +msgid "Below, you can find a list of keyboard shortcuts that can be used in the editor." +msgstr "להלן, תוכלו למצוא רשימה של קיצורי מקשים בהם ניתן להשתמש בעורך." + +msgctxt "Accessibility help dialog text displayed next to keystrokes that may require the Fn key on Mac." +msgid "(may require Fn)" +msgstr "(עשוי לדרוש Fn)" + +msgctxt "The label for the button that opens the Accessibility help dialog from the application menu bar." +msgid "Accessibility" +msgstr "נגישות" + +msgctxt "Accessibility help dialog title." +msgid "Accessibility help" +msgstr "עזרה בנושא נגישות" + +msgctxt "Assistive technologies label added to each editor editing area informing users about the possibility of opening the accessibility help dialog." +msgid "Press %0 for help." +msgstr "לחצו על %0 לקבלת עזרה." + +msgctxt "Keystroke description for assistive technologies: keystroke for moving focus out of an active dialog window." +msgid "Move focus in and out of an active dialog window" +msgstr "הזזת המיקוד פנימה והחוצה מחלון דו-שיח פעיל" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the whole document (e.g. export to PDF, import from Word, etc.)." +msgid "MENU_BAR_MENU_FILE" +msgstr "קובץ" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to general editing (e.g. undo, redo, select all, etc.)." +msgid "MENU_BAR_MENU_EDIT" +msgstr "ערוך" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the view of the editor (e.g. show source)." +msgid "MENU_BAR_MENU_VIEW" +msgstr "תצוגה" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features that insert content (e.g. insert table, insert image, etc.)." +msgid "MENU_BAR_MENU_INSERT" +msgstr "הכנס" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to content formatting (e.g. bold, font color, heading, etc.)." +msgid "MENU_BAR_MENU_FORMAT" +msgstr "עיצוב" + +msgctxt "The label of the top-level application menu bar menu containing various editor tools (e.g. AI assistant, track changes, etc.)." +msgid "MENU_BAR_MENU_TOOLS" +msgstr "כלים" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features helping users to learn about the editor (e.g. accessibility help)." +msgid "MENU_BAR_MENU_HELP" +msgstr "עזרה" + +msgctxt "The label of the application menu bar menu containing buttons and features that apply formatting to a text (e.g. bold, italic, etc.)." +msgid "MENU_BAR_MENU_TEXT" +msgstr "טקסט" + +msgctxt "The label of the application menu bar menu containing buttons and features that control the font of the edited content (e.g. font size, font color, etc.)." +msgid "MENU_BAR_MENU_FONT" +msgstr "גופן" + +msgctxt "The accessible label of the editor menu bar used by assistive technologies." +msgid "Editor menu bar" +msgstr "שורת התפריטים של העורך" diff --git a/node_modules/@ckeditor/ckeditor5-ui/lang/translations/hi.po b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/hi.po new file mode 100644 index 0000000..845d720 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/hi.po @@ -0,0 +1,210 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Hindi (https://app.transifex.com/ckeditor/teams/11143/hi/)\n" +"Language: hi\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "Rich Text Editor" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "संपादक संपादन क्षेत्र: %0" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "Edit block" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "ब्लॉक एडिट करने के लिए क्लिक करें" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "मूव करने के लिए ड्रैग करें" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "Next" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "Previous" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "Editor toolbar" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "Dropdown toolbar" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "Black" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "Dim grey" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "Grey" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "Light grey" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "White" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "Red" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "Orange" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "Yellow" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "Light green" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "Green" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "Aquamarine" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "Turquoise" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "Light blue" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "Blue" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "Purple" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "एडीटर ब्लॉक कंटेंट टूलबार" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "एडीटर कॉन्टेक्स्टूअल टूलबार" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "HEX" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "कोई रिजल्ट नहीं" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "कोई खोजने लायक आइटम नहीं" + +msgctxt "A default label of a dialog window displayed on top the editor." +msgid "Editor dialog" +msgstr "एडिटर डायलॉग" + +msgctxt "The label and the tooltip for the close button in the dialog header." +msgid "Close" +msgstr "बंद करें" + +msgctxt "Accessibility help dialog assistive technologies label telling users how to exit the dialog." +msgid "Help Contents. To close this dialog press ESC." +msgstr "हेल्प कॉन्टेंट्स. इस डायलॉग को बंद करने के लिए ESC दबाएँ." + +msgctxt "Accessibility help dialog text explaining what can be found in that dialog." +msgid "Below, you can find a list of keyboard shortcuts that can be used in the editor." +msgstr "नीचे, आप उन कीबोर्ड शॉर्टकट्स की एक लिस्ट देख सकते हैं जिनका इस्तेमाल एडिटर में किया जा सकता है." + +msgctxt "Accessibility help dialog text displayed next to keystrokes that may require the Fn key on Mac." +msgid "(may require Fn)" +msgstr "(इसके लिए Fn की ज़रूरत हो सकती है)" + +msgctxt "The label for the button that opens the Accessibility help dialog from the application menu bar." +msgid "Accessibility" +msgstr "पहुँच" + +msgctxt "Accessibility help dialog title." +msgid "Accessibility help" +msgstr "एक्सेसिबिलिटी हेल्प" + +msgctxt "Assistive technologies label added to each editor editing area informing users about the possibility of opening the accessibility help dialog." +msgid "Press %0 for help." +msgstr "हेल्प के लिए %0 दबाएँ." + +msgctxt "Keystroke description for assistive technologies: keystroke for moving focus out of an active dialog window." +msgid "Move focus in and out of an active dialog window" +msgstr "एक एक्टिव डायलॉग विंडो में फ़ोकस को अंदर और बाहर मूव करें" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the whole document (e.g. export to PDF, import from Word, etc.)." +msgid "MENU_BAR_MENU_FILE" +msgstr "फाइल" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to general editing (e.g. undo, redo, select all, etc.)." +msgid "MENU_BAR_MENU_EDIT" +msgstr "Edit" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the view of the editor (e.g. show source)." +msgid "MENU_BAR_MENU_VIEW" +msgstr "दृश्य" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features that insert content (e.g. insert table, insert image, etc.)." +msgid "MENU_BAR_MENU_INSERT" +msgstr "Insert" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to content formatting (e.g. bold, font color, heading, etc.)." +msgid "MENU_BAR_MENU_FORMAT" +msgstr "फॉर्मेट" + +msgctxt "The label of the top-level application menu bar menu containing various editor tools (e.g. AI assistant, track changes, etc.)." +msgid "MENU_BAR_MENU_TOOLS" +msgstr "टूल्स" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features helping users to learn about the editor (e.g. accessibility help)." +msgid "MENU_BAR_MENU_HELP" +msgstr "हेल्प" + +msgctxt "The label of the application menu bar menu containing buttons and features that apply formatting to a text (e.g. bold, italic, etc.)." +msgid "MENU_BAR_MENU_TEXT" +msgstr "टेक्स्ट" + +msgctxt "The label of the application menu bar menu containing buttons and features that control the font of the edited content (e.g. font size, font color, etc.)." +msgid "MENU_BAR_MENU_FONT" +msgstr "फ़ॉन्ट" + +msgctxt "The accessible label of the editor menu bar used by assistive technologies." +msgid "Editor menu bar" +msgstr "एडिटर मेनू बार" diff --git a/node_modules/@ckeditor/ckeditor5-ui/lang/translations/hr.po b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/hr.po new file mode 100644 index 0000000..8def174 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/hr.po @@ -0,0 +1,210 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Croatian (https://app.transifex.com/ckeditor/teams/11143/hr/)\n" +"Language: hr\n" +"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "Rich Text Editor" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "Područje Editora: %0" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "Uredi blok" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "Sljedeći" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "Prethodni" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "Traka uređivača" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "Traka padajućeg izbornika" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "Crna" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "Tamnosiva" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "Siva" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "Svijetlosiva" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "Bijela" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "Crvena" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "Narančasta" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "Žuta" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "Svijetlozelena" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "Zelena" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "Akvamarin" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "Tirkizna" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "Svijetloplava" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "Plava" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "Ljubičasta" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "Alatna traka sadržaja uređivača blokova" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "Kontekstualna alatna traka uređivača" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "" + +msgctxt "A default label of a dialog window displayed on top the editor." +msgid "Editor dialog" +msgstr "" + +msgctxt "The label and the tooltip for the close button in the dialog header." +msgid "Close" +msgstr "" + +msgctxt "Accessibility help dialog assistive technologies label telling users how to exit the dialog." +msgid "Help Contents. To close this dialog press ESC." +msgstr "" + +msgctxt "Accessibility help dialog text explaining what can be found in that dialog." +msgid "Below, you can find a list of keyboard shortcuts that can be used in the editor." +msgstr "" + +msgctxt "Accessibility help dialog text displayed next to keystrokes that may require the Fn key on Mac." +msgid "(may require Fn)" +msgstr "" + +msgctxt "The label for the button that opens the Accessibility help dialog from the application menu bar." +msgid "Accessibility" +msgstr "" + +msgctxt "Accessibility help dialog title." +msgid "Accessibility help" +msgstr "" + +msgctxt "Assistive technologies label added to each editor editing area informing users about the possibility of opening the accessibility help dialog." +msgid "Press %0 for help." +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for moving focus out of an active dialog window." +msgid "Move focus in and out of an active dialog window" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the whole document (e.g. export to PDF, import from Word, etc.)." +msgid "MENU_BAR_MENU_FILE" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to general editing (e.g. undo, redo, select all, etc.)." +msgid "MENU_BAR_MENU_EDIT" +msgstr "Promijeni" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the view of the editor (e.g. show source)." +msgid "MENU_BAR_MENU_VIEW" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features that insert content (e.g. insert table, insert image, etc.)." +msgid "MENU_BAR_MENU_INSERT" +msgstr "Ubaci" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to content formatting (e.g. bold, font color, heading, etc.)." +msgid "MENU_BAR_MENU_FORMAT" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing various editor tools (e.g. AI assistant, track changes, etc.)." +msgid "MENU_BAR_MENU_TOOLS" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features helping users to learn about the editor (e.g. accessibility help)." +msgid "MENU_BAR_MENU_HELP" +msgstr "" + +msgctxt "The label of the application menu bar menu containing buttons and features that apply formatting to a text (e.g. bold, italic, etc.)." +msgid "MENU_BAR_MENU_TEXT" +msgstr "Tekst" + +msgctxt "The label of the application menu bar menu containing buttons and features that control the font of the edited content (e.g. font size, font color, etc.)." +msgid "MENU_BAR_MENU_FONT" +msgstr "" + +msgctxt "The accessible label of the editor menu bar used by assistive technologies." +msgid "Editor menu bar" +msgstr "" diff --git a/node_modules/@ckeditor/ckeditor5-ui/lang/translations/hu.po b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/hu.po new file mode 100644 index 0000000..d3d0351 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/hu.po @@ -0,0 +1,210 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Hungarian (https://app.transifex.com/ckeditor/teams/11143/hu/)\n" +"Language: hu\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "Bővített szövegszerkesztő" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "Szerkesztő szerkesztési területe: %0" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "Blokk szerkesztése" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "Kattintson a blokk szerkesztéséhez" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "Húzza a mozgatáshoz" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "Következő" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "Előző" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "Szerkesztő eszköztár" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "Lenyíló eszköztár" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "Fekete" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "Halvány szürke" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "Szürke" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "Világosszürke" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "Fehér" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "Piros" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "Narancs" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "Sárga" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "Világoszöld" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "Zöld" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "Kékeszöld" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "Türkiz" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "Világoskék" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "Kék" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "Lila" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "Szerkesztő - tartalomblokk eszköztár" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "Szerkesztő - szövegre vonatkozó eszköztár" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "HEX színkód" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "Nincs találat" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "Nincsenek kereshető elemek" + +msgctxt "A default label of a dialog window displayed on top the editor." +msgid "Editor dialog" +msgstr "Szerkesztői párbeszédpanel" + +msgctxt "The label and the tooltip for the close button in the dialog header." +msgid "Close" +msgstr "Bezárás" + +msgctxt "Accessibility help dialog assistive technologies label telling users how to exit the dialog." +msgid "Help Contents. To close this dialog press ESC." +msgstr "Súgó tartalmak. A párbeszéd ablak bezárásához használd az ESC billentyűt." + +msgctxt "Accessibility help dialog text explaining what can be found in that dialog." +msgid "Below, you can find a list of keyboard shortcuts that can be used in the editor." +msgstr "Alább megtalálod a szerkesztéshez használható gyorsbillentyűk listáját." + +msgctxt "Accessibility help dialog text displayed next to keystrokes that may require the Fn key on Mac." +msgid "(may require Fn)" +msgstr "(szükség lehet a Fn használatára)" + +msgctxt "The label for the button that opens the Accessibility help dialog from the application menu bar." +msgid "Accessibility" +msgstr "Elérhetőség" + +msgctxt "Accessibility help dialog title." +msgid "Accessibility help" +msgstr "Kisegítő lehetőségek" + +msgctxt "Assistive technologies label added to each editor editing area informing users about the possibility of opening the accessibility help dialog." +msgid "Press %0 for help." +msgstr "Segítségért nyomd le a %0 billentyűt." + +msgctxt "Keystroke description for assistive technologies: keystroke for moving focus out of an active dialog window." +msgid "Move focus in and out of an active dialog window" +msgstr "Mozdítsd ki és be az aktív párbeszéd ablakot" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the whole document (e.g. export to PDF, import from Word, etc.)." +msgid "MENU_BAR_MENU_FILE" +msgstr "Fájl" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to general editing (e.g. undo, redo, select all, etc.)." +msgid "MENU_BAR_MENU_EDIT" +msgstr "Szerkesztés" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the view of the editor (e.g. show source)." +msgid "MENU_BAR_MENU_VIEW" +msgstr "Megjelenítés" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features that insert content (e.g. insert table, insert image, etc.)." +msgid "MENU_BAR_MENU_INSERT" +msgstr "Beszúrás" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to content formatting (e.g. bold, font color, heading, etc.)." +msgid "MENU_BAR_MENU_FORMAT" +msgstr "Formátum" + +msgctxt "The label of the top-level application menu bar menu containing various editor tools (e.g. AI assistant, track changes, etc.)." +msgid "MENU_BAR_MENU_TOOLS" +msgstr "Eszközök" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features helping users to learn about the editor (e.g. accessibility help)." +msgid "MENU_BAR_MENU_HELP" +msgstr "Súgó" + +msgctxt "The label of the application menu bar menu containing buttons and features that apply formatting to a text (e.g. bold, italic, etc.)." +msgid "MENU_BAR_MENU_TEXT" +msgstr "Szöveg" + +msgctxt "The label of the application menu bar menu containing buttons and features that control the font of the edited content (e.g. font size, font color, etc.)." +msgid "MENU_BAR_MENU_FONT" +msgstr "Betűtípus" + +msgctxt "The accessible label of the editor menu bar used by assistive technologies." +msgid "Editor menu bar" +msgstr "Szerkesztő menüsora" diff --git a/node_modules/@ckeditor/ckeditor5-ui/lang/translations/id.po b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/id.po new file mode 100644 index 0000000..a94dfbb --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/id.po @@ -0,0 +1,210 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Indonesian (https://app.transifex.com/ckeditor/teams/11143/id/)\n" +"Language: id\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "Editor Teks Kaya" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "Area edit editor: %0" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "Sunting blok" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "Klik untuk mengedit blok" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "Seret untuk memindahkan" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "Berikutnya" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "Sebelumnya" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "Alat editor" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "Alat dropdown" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "Hitam" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "Kelabu gelap" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "Kelabu" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "Kelabu terang" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "Putih" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "Merah" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "Jingga" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "Kuning" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "Hijau terang" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "Hijau" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "Biru laut" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "Turkish" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "Biru terang" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "Biru" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "Ungu" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "Bilah alat konten blok editor" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "Bilah alat kontekstual editor" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "HEX" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "Hasil tidak ditemukan" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "Tidak ada item yang dapat dicari" + +msgctxt "A default label of a dialog window displayed on top the editor." +msgid "Editor dialog" +msgstr "Dialog editor" + +msgctxt "The label and the tooltip for the close button in the dialog header." +msgid "Close" +msgstr "Tutup" + +msgctxt "Accessibility help dialog assistive technologies label telling users how to exit the dialog." +msgid "Help Contents. To close this dialog press ESC." +msgstr "Konten Bantuan. Untuk menutup dialog ini, tekan ESC." + +msgctxt "Accessibility help dialog text explaining what can be found in that dialog." +msgid "Below, you can find a list of keyboard shortcuts that can be used in the editor." +msgstr "Di bawah ini, Anda dapat menemukan daftar pintasan keyboard yang dapat digunakan di editor." + +msgctxt "Accessibility help dialog text displayed next to keystrokes that may require the Fn key on Mac." +msgid "(may require Fn)" +msgstr "(mungkin memerlukan Fn)" + +msgctxt "The label for the button that opens the Accessibility help dialog from the application menu bar." +msgid "Accessibility" +msgstr "Aksesibilitas" + +msgctxt "Accessibility help dialog title." +msgid "Accessibility help" +msgstr "Bantuan aksesibilitas" + +msgctxt "Assistive technologies label added to each editor editing area informing users about the possibility of opening the accessibility help dialog." +msgid "Press %0 for help." +msgstr "Tekan %0 untuk mendapatkan bantuan." + +msgctxt "Keystroke description for assistive technologies: keystroke for moving focus out of an active dialog window." +msgid "Move focus in and out of an active dialog window" +msgstr "Pindahkan fokus ke dalam dan ke luar jendela dialog yang aktif" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the whole document (e.g. export to PDF, import from Word, etc.)." +msgid "MENU_BAR_MENU_FILE" +msgstr "File" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to general editing (e.g. undo, redo, select all, etc.)." +msgid "MENU_BAR_MENU_EDIT" +msgstr "Ubah" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the view of the editor (e.g. show source)." +msgid "MENU_BAR_MENU_VIEW" +msgstr "Lihat" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features that insert content (e.g. insert table, insert image, etc.)." +msgid "MENU_BAR_MENU_INSERT" +msgstr "Sisipkan" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to content formatting (e.g. bold, font color, heading, etc.)." +msgid "MENU_BAR_MENU_FORMAT" +msgstr "Format" + +msgctxt "The label of the top-level application menu bar menu containing various editor tools (e.g. AI assistant, track changes, etc.)." +msgid "MENU_BAR_MENU_TOOLS" +msgstr "Alat" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features helping users to learn about the editor (e.g. accessibility help)." +msgid "MENU_BAR_MENU_HELP" +msgstr "Bantuan" + +msgctxt "The label of the application menu bar menu containing buttons and features that apply formatting to a text (e.g. bold, italic, etc.)." +msgid "MENU_BAR_MENU_TEXT" +msgstr "Teks" + +msgctxt "The label of the application menu bar menu containing buttons and features that control the font of the edited content (e.g. font size, font color, etc.)." +msgid "MENU_BAR_MENU_FONT" +msgstr "Fon" + +msgctxt "The accessible label of the editor menu bar used by assistive technologies." +msgid "Editor menu bar" +msgstr "Bilah menu editor" diff --git a/node_modules/@ckeditor/ckeditor5-ui/lang/translations/it.po b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/it.po new file mode 100644 index 0000000..0b2dadb --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/it.po @@ -0,0 +1,210 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Italian (https://app.transifex.com/ckeditor/teams/11143/it/)\n" +"Language: it\n" +"Plural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "Editor di testo formattato" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "Area di modifica dell'editor: %0" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "Modifica blocco" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "Clicca per modificare il blocco" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "Trascina per spostare" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "Avanti" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "Indietro" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "Barra degli strumenti dell'editor" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "Barra degli strumenti del menu a discesa" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "Nero" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "Grigio tenue" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "Grigio" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "Grigio chiaro" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "Bianco" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "Rosso" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "Arancio" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "Giallo" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "Verde chiaro" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "Verde" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "Aquamarina" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "Turchese" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "Azzurro" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "Blu" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "Porpora" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "Barra degli strumenti contestuale dell'editor del blocco" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "Barra degli strumenti contestuale dell'editor" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "HEX" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "Nessun risultato trovato" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "Nessun elemento ricercabile" + +msgctxt "A default label of a dialog window displayed on top the editor." +msgid "Editor dialog" +msgstr "Finestra di dialogo dell'editor" + +msgctxt "The label and the tooltip for the close button in the dialog header." +msgid "Close" +msgstr "Chiudi" + +msgctxt "Accessibility help dialog assistive technologies label telling users how to exit the dialog." +msgid "Help Contents. To close this dialog press ESC." +msgstr "Sommario della guida. Per chiudere questa finestra di dialogo premi ESC." + +msgctxt "Accessibility help dialog text explaining what can be found in that dialog." +msgid "Below, you can find a list of keyboard shortcuts that can be used in the editor." +msgstr "Qui sotto puoi trovare un elenco di scorciatoie da tastiera che possono essere utilizzate nell'editor." + +msgctxt "Accessibility help dialog text displayed next to keystrokes that may require the Fn key on Mac." +msgid "(may require Fn)" +msgstr "(può richiedere Fn)" + +msgctxt "The label for the button that opens the Accessibility help dialog from the application menu bar." +msgid "Accessibility" +msgstr "Accessibilità" + +msgctxt "Accessibility help dialog title." +msgid "Accessibility help" +msgstr "Guida all'accessibilità" + +msgctxt "Assistive technologies label added to each editor editing area informing users about the possibility of opening the accessibility help dialog." +msgid "Press %0 for help." +msgstr "Premi %0 per aprire la guida." + +msgctxt "Keystroke description for assistive technologies: keystroke for moving focus out of an active dialog window." +msgid "Move focus in and out of an active dialog window" +msgstr "Seleziona/deseleziona una finestra di dialogo attiva" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the whole document (e.g. export to PDF, import from Word, etc.)." +msgid "MENU_BAR_MENU_FILE" +msgstr "File" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to general editing (e.g. undo, redo, select all, etc.)." +msgid "MENU_BAR_MENU_EDIT" +msgstr "Modifica" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the view of the editor (e.g. show source)." +msgid "MENU_BAR_MENU_VIEW" +msgstr "Vista" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features that insert content (e.g. insert table, insert image, etc.)." +msgid "MENU_BAR_MENU_INSERT" +msgstr "Inserisci" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to content formatting (e.g. bold, font color, heading, etc.)." +msgid "MENU_BAR_MENU_FORMAT" +msgstr "Formato" + +msgctxt "The label of the top-level application menu bar menu containing various editor tools (e.g. AI assistant, track changes, etc.)." +msgid "MENU_BAR_MENU_TOOLS" +msgstr "Strumenti" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features helping users to learn about the editor (e.g. accessibility help)." +msgid "MENU_BAR_MENU_HELP" +msgstr "Aiuto" + +msgctxt "The label of the application menu bar menu containing buttons and features that apply formatting to a text (e.g. bold, italic, etc.)." +msgid "MENU_BAR_MENU_TEXT" +msgstr "Testo" + +msgctxt "The label of the application menu bar menu containing buttons and features that control the font of the edited content (e.g. font size, font color, etc.)." +msgid "MENU_BAR_MENU_FONT" +msgstr "Carattere" + +msgctxt "The accessible label of the editor menu bar used by assistive technologies." +msgid "Editor menu bar" +msgstr "Barra dei menu dell'editor" diff --git a/node_modules/@ckeditor/ckeditor5-ui/lang/translations/ja.po b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/ja.po new file mode 100644 index 0000000..2cd6d54 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/ja.po @@ -0,0 +1,210 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Japanese (https://app.transifex.com/ckeditor/teams/11143/ja/)\n" +"Language: ja\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "リッチテキストエディター" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "エディタ編集エリア:%0" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "ブロックを編集" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "クリックしてブロックを編集する" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "ドラッグして動かす" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "次へ" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "前へ" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "エディタツールバー" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "ドロップダウンツールバー" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "黒" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "暗い灰色" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "灰色" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "明るい灰色" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "白" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "赤" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "オレンジ" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "黄" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "明るい緑" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "緑" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "薄い青緑" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "水色" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "明るい青" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "青" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "紫" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "エディター ブロック コンテンツ ツールバー" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "エディター コンテクスト ツールバー" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "HEX" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "結果は見つかりませんでした" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "検索可能なアイテムがありません" + +msgctxt "A default label of a dialog window displayed on top the editor." +msgid "Editor dialog" +msgstr "エディタダイアログ" + +msgctxt "The label and the tooltip for the close button in the dialog header." +msgid "Close" +msgstr "閉じる" + +msgctxt "Accessibility help dialog assistive technologies label telling users how to exit the dialog." +msgid "Help Contents. To close this dialog press ESC." +msgstr "ヘルプコンテンツです。このダイアログを閉じるには、Escキーを押してください。" + +msgctxt "Accessibility help dialog text explaining what can be found in that dialog." +msgid "Below, you can find a list of keyboard shortcuts that can be used in the editor." +msgstr "エディターで使用できるキーボードのショートカット一覧を以下に示します。" + +msgctxt "Accessibility help dialog text displayed next to keystrokes that may require the Fn key on Mac." +msgid "(may require Fn)" +msgstr "(Fnキーが必要な場合があります)" + +msgctxt "The label for the button that opens the Accessibility help dialog from the application menu bar." +msgid "Accessibility" +msgstr "アクセシビリティ" + +msgctxt "Accessibility help dialog title." +msgid "Accessibility help" +msgstr "アクセシビリティに関するヘルプ" + +msgctxt "Assistive technologies label added to each editor editing area informing users about the possibility of opening the accessibility help dialog." +msgid "Press %0 for help." +msgstr "ヘルプを表示するには%0を押します。" + +msgctxt "Keystroke description for assistive technologies: keystroke for moving focus out of an active dialog window." +msgid "Move focus in and out of an active dialog window" +msgstr "フォーカスをアクティブなダイアログウィンドウの内外に移動させる" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the whole document (e.g. export to PDF, import from Word, etc.)." +msgid "MENU_BAR_MENU_FILE" +msgstr "ファイル" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to general editing (e.g. undo, redo, select all, etc.)." +msgid "MENU_BAR_MENU_EDIT" +msgstr "編集" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the view of the editor (e.g. show source)." +msgid "MENU_BAR_MENU_VIEW" +msgstr "表示" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features that insert content (e.g. insert table, insert image, etc.)." +msgid "MENU_BAR_MENU_INSERT" +msgstr "挿入" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to content formatting (e.g. bold, font color, heading, etc.)." +msgid "MENU_BAR_MENU_FORMAT" +msgstr "形式" + +msgctxt "The label of the top-level application menu bar menu containing various editor tools (e.g. AI assistant, track changes, etc.)." +msgid "MENU_BAR_MENU_TOOLS" +msgstr "ツール" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features helping users to learn about the editor (e.g. accessibility help)." +msgid "MENU_BAR_MENU_HELP" +msgstr "ヘルプ" + +msgctxt "The label of the application menu bar menu containing buttons and features that apply formatting to a text (e.g. bold, italic, etc.)." +msgid "MENU_BAR_MENU_TEXT" +msgstr "テキスト" + +msgctxt "The label of the application menu bar menu containing buttons and features that control the font of the edited content (e.g. font size, font color, etc.)." +msgid "MENU_BAR_MENU_FONT" +msgstr "フォント" + +msgctxt "The accessible label of the editor menu bar used by assistive technologies." +msgid "Editor menu bar" +msgstr "エディターメニューバー" diff --git a/node_modules/@ckeditor/ckeditor5-ui/lang/translations/jv.po b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/jv.po new file mode 100644 index 0000000..b50cb72 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/jv.po @@ -0,0 +1,210 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Javanese (https://app.transifex.com/ckeditor/teams/11143/jv/)\n" +"Language: jv\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "" + +msgctxt "A default label of a dialog window displayed on top the editor." +msgid "Editor dialog" +msgstr "" + +msgctxt "The label and the tooltip for the close button in the dialog header." +msgid "Close" +msgstr "" + +msgctxt "Accessibility help dialog assistive technologies label telling users how to exit the dialog." +msgid "Help Contents. To close this dialog press ESC." +msgstr "" + +msgctxt "Accessibility help dialog text explaining what can be found in that dialog." +msgid "Below, you can find a list of keyboard shortcuts that can be used in the editor." +msgstr "" + +msgctxt "Accessibility help dialog text displayed next to keystrokes that may require the Fn key on Mac." +msgid "(may require Fn)" +msgstr "" + +msgctxt "The label for the button that opens the Accessibility help dialog from the application menu bar." +msgid "Accessibility" +msgstr "" + +msgctxt "Accessibility help dialog title." +msgid "Accessibility help" +msgstr "" + +msgctxt "Assistive technologies label added to each editor editing area informing users about the possibility of opening the accessibility help dialog." +msgid "Press %0 for help." +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for moving focus out of an active dialog window." +msgid "Move focus in and out of an active dialog window" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the whole document (e.g. export to PDF, import from Word, etc.)." +msgid "MENU_BAR_MENU_FILE" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to general editing (e.g. undo, redo, select all, etc.)." +msgid "MENU_BAR_MENU_EDIT" +msgstr "Ebah" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the view of the editor (e.g. show source)." +msgid "MENU_BAR_MENU_VIEW" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features that insert content (e.g. insert table, insert image, etc.)." +msgid "MENU_BAR_MENU_INSERT" +msgstr "Tambah" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to content formatting (e.g. bold, font color, heading, etc.)." +msgid "MENU_BAR_MENU_FORMAT" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing various editor tools (e.g. AI assistant, track changes, etc.)." +msgid "MENU_BAR_MENU_TOOLS" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features helping users to learn about the editor (e.g. accessibility help)." +msgid "MENU_BAR_MENU_HELP" +msgstr "" + +msgctxt "The label of the application menu bar menu containing buttons and features that apply formatting to a text (e.g. bold, italic, etc.)." +msgid "MENU_BAR_MENU_TEXT" +msgstr "" + +msgctxt "The label of the application menu bar menu containing buttons and features that control the font of the edited content (e.g. font size, font color, etc.)." +msgid "MENU_BAR_MENU_FONT" +msgstr "" + +msgctxt "The accessible label of the editor menu bar used by assistive technologies." +msgid "Editor menu bar" +msgstr "" diff --git a/node_modules/@ckeditor/ckeditor5-ui/lang/translations/km.po b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/km.po new file mode 100644 index 0000000..afd06fc --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/km.po @@ -0,0 +1,210 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Khmer (https://app.transifex.com/ckeditor/teams/11143/km/)\n" +"Language: km\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "កម្មវិធី​កែសម្រួល​អត្ថបទ​សម្បូរបែប" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "" + +msgctxt "A default label of a dialog window displayed on top the editor." +msgid "Editor dialog" +msgstr "" + +msgctxt "The label and the tooltip for the close button in the dialog header." +msgid "Close" +msgstr "" + +msgctxt "Accessibility help dialog assistive technologies label telling users how to exit the dialog." +msgid "Help Contents. To close this dialog press ESC." +msgstr "" + +msgctxt "Accessibility help dialog text explaining what can be found in that dialog." +msgid "Below, you can find a list of keyboard shortcuts that can be used in the editor." +msgstr "" + +msgctxt "Accessibility help dialog text displayed next to keystrokes that may require the Fn key on Mac." +msgid "(may require Fn)" +msgstr "" + +msgctxt "The label for the button that opens the Accessibility help dialog from the application menu bar." +msgid "Accessibility" +msgstr "" + +msgctxt "Accessibility help dialog title." +msgid "Accessibility help" +msgstr "" + +msgctxt "Assistive technologies label added to each editor editing area informing users about the possibility of opening the accessibility help dialog." +msgid "Press %0 for help." +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for moving focus out of an active dialog window." +msgid "Move focus in and out of an active dialog window" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the whole document (e.g. export to PDF, import from Word, etc.)." +msgid "MENU_BAR_MENU_FILE" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to general editing (e.g. undo, redo, select all, etc.)." +msgid "MENU_BAR_MENU_EDIT" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the view of the editor (e.g. show source)." +msgid "MENU_BAR_MENU_VIEW" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features that insert content (e.g. insert table, insert image, etc.)." +msgid "MENU_BAR_MENU_INSERT" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to content formatting (e.g. bold, font color, heading, etc.)." +msgid "MENU_BAR_MENU_FORMAT" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing various editor tools (e.g. AI assistant, track changes, etc.)." +msgid "MENU_BAR_MENU_TOOLS" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features helping users to learn about the editor (e.g. accessibility help)." +msgid "MENU_BAR_MENU_HELP" +msgstr "" + +msgctxt "The label of the application menu bar menu containing buttons and features that apply formatting to a text (e.g. bold, italic, etc.)." +msgid "MENU_BAR_MENU_TEXT" +msgstr "" + +msgctxt "The label of the application menu bar menu containing buttons and features that control the font of the edited content (e.g. font size, font color, etc.)." +msgid "MENU_BAR_MENU_FONT" +msgstr "" + +msgctxt "The accessible label of the editor menu bar used by assistive technologies." +msgid "Editor menu bar" +msgstr "" diff --git a/node_modules/@ckeditor/ckeditor5-ui/lang/translations/kn.po b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/kn.po new file mode 100644 index 0000000..6a9f912 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/kn.po @@ -0,0 +1,210 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Kannada (https://app.transifex.com/ckeditor/teams/11143/kn/)\n" +"Language: kn\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "‍ಸಮೃದ್ಧ ಪಠ್ಯ ಸಂಪಾದಕ‍‍" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "" + +msgctxt "A default label of a dialog window displayed on top the editor." +msgid "Editor dialog" +msgstr "" + +msgctxt "The label and the tooltip for the close button in the dialog header." +msgid "Close" +msgstr "" + +msgctxt "Accessibility help dialog assistive technologies label telling users how to exit the dialog." +msgid "Help Contents. To close this dialog press ESC." +msgstr "" + +msgctxt "Accessibility help dialog text explaining what can be found in that dialog." +msgid "Below, you can find a list of keyboard shortcuts that can be used in the editor." +msgstr "" + +msgctxt "Accessibility help dialog text displayed next to keystrokes that may require the Fn key on Mac." +msgid "(may require Fn)" +msgstr "" + +msgctxt "The label for the button that opens the Accessibility help dialog from the application menu bar." +msgid "Accessibility" +msgstr "" + +msgctxt "Accessibility help dialog title." +msgid "Accessibility help" +msgstr "" + +msgctxt "Assistive technologies label added to each editor editing area informing users about the possibility of opening the accessibility help dialog." +msgid "Press %0 for help." +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for moving focus out of an active dialog window." +msgid "Move focus in and out of an active dialog window" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the whole document (e.g. export to PDF, import from Word, etc.)." +msgid "MENU_BAR_MENU_FILE" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to general editing (e.g. undo, redo, select all, etc.)." +msgid "MENU_BAR_MENU_EDIT" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the view of the editor (e.g. show source)." +msgid "MENU_BAR_MENU_VIEW" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features that insert content (e.g. insert table, insert image, etc.)." +msgid "MENU_BAR_MENU_INSERT" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to content formatting (e.g. bold, font color, heading, etc.)." +msgid "MENU_BAR_MENU_FORMAT" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing various editor tools (e.g. AI assistant, track changes, etc.)." +msgid "MENU_BAR_MENU_TOOLS" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features helping users to learn about the editor (e.g. accessibility help)." +msgid "MENU_BAR_MENU_HELP" +msgstr "" + +msgctxt "The label of the application menu bar menu containing buttons and features that apply formatting to a text (e.g. bold, italic, etc.)." +msgid "MENU_BAR_MENU_TEXT" +msgstr "" + +msgctxt "The label of the application menu bar menu containing buttons and features that control the font of the edited content (e.g. font size, font color, etc.)." +msgid "MENU_BAR_MENU_FONT" +msgstr "" + +msgctxt "The accessible label of the editor menu bar used by assistive technologies." +msgid "Editor menu bar" +msgstr "" diff --git a/node_modules/@ckeditor/ckeditor5-ui/lang/translations/ko.po b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/ko.po new file mode 100644 index 0000000..7c419ac --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/ko.po @@ -0,0 +1,210 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Korean (https://app.transifex.com/ckeditor/teams/11143/ko/)\n" +"Language: ko\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "서식 있는 텍스트 편집기" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "편집기 편집 영역: %0" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "편집 영역" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "클릭하여 블록 편집" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "드래그하여 이동" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "다음" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "이전" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "편집기 툴바" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "드롭다운 툴바" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "검은색" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "진한 회색" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "회색" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "밝은 회색" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "흰색" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "빨간색" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "주황색" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "노랑색" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "연한 초록색" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "초록색" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "연한 청록색" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "청록색" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "연한 파랑색" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "파랑색" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "보라색" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "편집기 영역 내용 툴바" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "편집기 문맥 툴바" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "HEX" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "결과 찾을 수 없음" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "검색 가능한 항목 없음" + +msgctxt "A default label of a dialog window displayed on top the editor." +msgid "Editor dialog" +msgstr "편집기 대화상자" + +msgctxt "The label and the tooltip for the close button in the dialog header." +msgid "Close" +msgstr "닫기" + +msgctxt "Accessibility help dialog assistive technologies label telling users how to exit the dialog." +msgid "Help Contents. To close this dialog press ESC." +msgstr "도움말 내용입니다. 이 대화 상자를 닫으려면 ESC 키를 누르세요." + +msgctxt "Accessibility help dialog text explaining what can be found in that dialog." +msgid "Below, you can find a list of keyboard shortcuts that can be used in the editor." +msgstr "편집기에서 사용할 수 있는 키보드 단축키 목록을 아래에서 확인할 수 있습니다." + +msgctxt "Accessibility help dialog text displayed next to keystrokes that may require the Fn key on Mac." +msgid "(may require Fn)" +msgstr "(Fn 키가 필요할 수 있음)" + +msgctxt "The label for the button that opens the Accessibility help dialog from the application menu bar." +msgid "Accessibility" +msgstr "접근성" + +msgctxt "Accessibility help dialog title." +msgid "Accessibility help" +msgstr "접근성 도움말" + +msgctxt "Assistive technologies label added to each editor editing area informing users about the possibility of opening the accessibility help dialog." +msgid "Press %0 for help." +msgstr "도움말을 보려면 %0 키를 누르세요." + +msgctxt "Keystroke description for assistive technologies: keystroke for moving focus out of an active dialog window." +msgid "Move focus in and out of an active dialog window" +msgstr "활성화된 대화 창 안팎으로 포커스 이동" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the whole document (e.g. export to PDF, import from Word, etc.)." +msgid "MENU_BAR_MENU_FILE" +msgstr "파일" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to general editing (e.g. undo, redo, select all, etc.)." +msgid "MENU_BAR_MENU_EDIT" +msgstr "수정" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the view of the editor (e.g. show source)." +msgid "MENU_BAR_MENU_VIEW" +msgstr "보기" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features that insert content (e.g. insert table, insert image, etc.)." +msgid "MENU_BAR_MENU_INSERT" +msgstr "삽입" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to content formatting (e.g. bold, font color, heading, etc.)." +msgid "MENU_BAR_MENU_FORMAT" +msgstr "서식" + +msgctxt "The label of the top-level application menu bar menu containing various editor tools (e.g. AI assistant, track changes, etc.)." +msgid "MENU_BAR_MENU_TOOLS" +msgstr "도구" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features helping users to learn about the editor (e.g. accessibility help)." +msgid "MENU_BAR_MENU_HELP" +msgstr "도움말" + +msgctxt "The label of the application menu bar menu containing buttons and features that apply formatting to a text (e.g. bold, italic, etc.)." +msgid "MENU_BAR_MENU_TEXT" +msgstr "텍스트" + +msgctxt "The label of the application menu bar menu containing buttons and features that control the font of the edited content (e.g. font size, font color, etc.)." +msgid "MENU_BAR_MENU_FONT" +msgstr "글꼴" + +msgctxt "The accessible label of the editor menu bar used by assistive technologies." +msgid "Editor menu bar" +msgstr "편집기 메뉴 표시줄" diff --git a/node_modules/@ckeditor/ckeditor5-ui/lang/translations/ku.po b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/ku.po new file mode 100644 index 0000000..b328698 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/ku.po @@ -0,0 +1,210 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Kurdish (https://app.transifex.com/ckeditor/teams/11143/ku/)\n" +"Language: ku\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "سەرنوسەری دەقی بەپیت" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "دەستکاری بلۆک" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "دواتر" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "پێشتر" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "تووڵامرازی دەسکاریکەر" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "تووڵامرازی لیستەیی" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "ڕەش" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "ڕەساسی تاریک" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "ڕەساسی" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "ڕەساسی ڕووناک" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "سپی" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "سور" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "پرتەقاڵی" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "زەرد" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "سەوزی ڕووناک" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "سەوز" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "شینی دەریایی" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "شینی ئاسمانی" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "شینی ڕووناک" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "شین" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "مۆر" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "" + +msgctxt "A default label of a dialog window displayed on top the editor." +msgid "Editor dialog" +msgstr "" + +msgctxt "The label and the tooltip for the close button in the dialog header." +msgid "Close" +msgstr "" + +msgctxt "Accessibility help dialog assistive technologies label telling users how to exit the dialog." +msgid "Help Contents. To close this dialog press ESC." +msgstr "" + +msgctxt "Accessibility help dialog text explaining what can be found in that dialog." +msgid "Below, you can find a list of keyboard shortcuts that can be used in the editor." +msgstr "" + +msgctxt "Accessibility help dialog text displayed next to keystrokes that may require the Fn key on Mac." +msgid "(may require Fn)" +msgstr "" + +msgctxt "The label for the button that opens the Accessibility help dialog from the application menu bar." +msgid "Accessibility" +msgstr "" + +msgctxt "Accessibility help dialog title." +msgid "Accessibility help" +msgstr "" + +msgctxt "Assistive technologies label added to each editor editing area informing users about the possibility of opening the accessibility help dialog." +msgid "Press %0 for help." +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for moving focus out of an active dialog window." +msgid "Move focus in and out of an active dialog window" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the whole document (e.g. export to PDF, import from Word, etc.)." +msgid "MENU_BAR_MENU_FILE" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to general editing (e.g. undo, redo, select all, etc.)." +msgid "MENU_BAR_MENU_EDIT" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the view of the editor (e.g. show source)." +msgid "MENU_BAR_MENU_VIEW" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features that insert content (e.g. insert table, insert image, etc.)." +msgid "MENU_BAR_MENU_INSERT" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to content formatting (e.g. bold, font color, heading, etc.)." +msgid "MENU_BAR_MENU_FORMAT" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing various editor tools (e.g. AI assistant, track changes, etc.)." +msgid "MENU_BAR_MENU_TOOLS" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features helping users to learn about the editor (e.g. accessibility help)." +msgid "MENU_BAR_MENU_HELP" +msgstr "" + +msgctxt "The label of the application menu bar menu containing buttons and features that apply formatting to a text (e.g. bold, italic, etc.)." +msgid "MENU_BAR_MENU_TEXT" +msgstr "" + +msgctxt "The label of the application menu bar menu containing buttons and features that control the font of the edited content (e.g. font size, font color, etc.)." +msgid "MENU_BAR_MENU_FONT" +msgstr "" + +msgctxt "The accessible label of the editor menu bar used by assistive technologies." +msgid "Editor menu bar" +msgstr "" diff --git a/node_modules/@ckeditor/ckeditor5-ui/lang/translations/lt.po b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/lt.po new file mode 100644 index 0000000..dc77221 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/lt.po @@ -0,0 +1,210 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Lithuanian (https://app.transifex.com/ckeditor/teams/11143/lt/)\n" +"Language: lt\n" +"Plural-Forms: nplurals=4; plural=(n % 10 == 1 && (n % 100 > 19 || n % 100 < 11) ? 0 : (n % 10 >= 2 && n % 10 <=9) && (n % 100 > 19 || n % 100 < 11) ? 1 : n % 1 != 0 ? 2: 3);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "Raiškiojo teksto redaktorius" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "Redaktoriaus redagavimo sritis: %0" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "Redaguoti bloką" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "Spustelėkite norėdami redaguoti bloką" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "Vilkite, kad perkeltumėte" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "Kitas" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "Buvęs" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "Redaktoriaus įrankių juosta" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "Įrankių juosta pasirenkamajame sąraše" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "Juoda" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "Pilkšva" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "Pilka" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "Šviesiai pilka" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "Balta" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "Raudona" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "Oranžinė" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "Geltona" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "Šviesiai žalia" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "Žalia" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "Aquamarine" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "Turkio" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "Šviesiai mėlyna" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "Mėlyna" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "Violetinė" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "Redaktoriaus bloko turinio įrankių juosta" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "Redaktoriaus kontekstinė įrankių juosta" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "Šešioliktainė reikšmė (angl. HEX)" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "Nieko nerasta" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "Nėra paieškos elementų" + +msgctxt "A default label of a dialog window displayed on top the editor." +msgid "Editor dialog" +msgstr "Redaktoriaus dialogo langas" + +msgctxt "The label and the tooltip for the close button in the dialog header." +msgid "Close" +msgstr "Uždaryti" + +msgctxt "Accessibility help dialog assistive technologies label telling users how to exit the dialog." +msgid "Help Contents. To close this dialog press ESC." +msgstr "Pagalbos turinys. Norėdami uždaryti šį dialogo langą, spauskite „ESC“." + +msgctxt "Accessibility help dialog text explaining what can be found in that dialog." +msgid "Below, you can find a list of keyboard shortcuts that can be used in the editor." +msgstr "Žemiau galite rasti sparčiųjų klavišų, kuriuos galima naudoti redaktoriuje, sąrašą." + +msgctxt "Accessibility help dialog text displayed next to keystrokes that may require the Fn key on Mac." +msgid "(may require Fn)" +msgstr "(gali reikalauti Fn)" + +msgctxt "The label for the button that opens the Accessibility help dialog from the application menu bar." +msgid "Accessibility" +msgstr "Prieinamumas" + +msgctxt "Accessibility help dialog title." +msgid "Accessibility help" +msgstr "Prieinamumo pagalba" + +msgctxt "Assistive technologies label added to each editor editing area informing users about the possibility of opening the accessibility help dialog." +msgid "Press %0 for help." +msgstr "Spauskite %0, norėdami gauti pagalbą." + +msgctxt "Keystroke description for assistive technologies: keystroke for moving focus out of an active dialog window." +msgid "Move focus in and out of an active dialog window" +msgstr "Perkelti fokusą į ir iš aktyvaus dialogo lango" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the whole document (e.g. export to PDF, import from Word, etc.)." +msgid "MENU_BAR_MENU_FILE" +msgstr "Failas" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to general editing (e.g. undo, redo, select all, etc.)." +msgid "MENU_BAR_MENU_EDIT" +msgstr "Redaguoti" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the view of the editor (e.g. show source)." +msgid "MENU_BAR_MENU_VIEW" +msgstr "Žiūrėti" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features that insert content (e.g. insert table, insert image, etc.)." +msgid "MENU_BAR_MENU_INSERT" +msgstr "Įkelti" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to content formatting (e.g. bold, font color, heading, etc.)." +msgid "MENU_BAR_MENU_FORMAT" +msgstr "Formatuoti" + +msgctxt "The label of the top-level application menu bar menu containing various editor tools (e.g. AI assistant, track changes, etc.)." +msgid "MENU_BAR_MENU_TOOLS" +msgstr "Įrankiai" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features helping users to learn about the editor (e.g. accessibility help)." +msgid "MENU_BAR_MENU_HELP" +msgstr "Pagalba" + +msgctxt "The label of the application menu bar menu containing buttons and features that apply formatting to a text (e.g. bold, italic, etc.)." +msgid "MENU_BAR_MENU_TEXT" +msgstr "Tekstas" + +msgctxt "The label of the application menu bar menu containing buttons and features that control the font of the edited content (e.g. font size, font color, etc.)." +msgid "MENU_BAR_MENU_FONT" +msgstr "Šriftas" + +msgctxt "The accessible label of the editor menu bar used by assistive technologies." +msgid "Editor menu bar" +msgstr "Redaktoriaus meniu juosta" diff --git a/node_modules/@ckeditor/ckeditor5-ui/lang/translations/lv.po b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/lv.po new file mode 100644 index 0000000..22a3950 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/lv.po @@ -0,0 +1,210 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Latvian (https://app.transifex.com/ckeditor/teams/11143/lv/)\n" +"Language: lv\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : 2);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "Bagātinātais Teksta Redaktors" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "Redaktora rediģēšanas zona: %0" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "Labot bloku" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "Noklikšķiniet, lai rediģētu sadaļu" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "Velciet, lai pārvietotu" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "Nākamā" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "Iepriekšējā" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "Redaktora rīkjosla" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "Papildus izvēlnes rīkjosla" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "Melns" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "Blāvi pelēks" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "Pelēks" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "Gaiši pelēks" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "Balts" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "Sarkans" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "Oranžs" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "Dzeltens" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "Gaiši zaļš" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "Zaļš" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "Akvamarīns" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "Tirkīza" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "Gaiši zils" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "Zils" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "Violets" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "Rediģēšanas bloka satura rīkjosla" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "Redaktora konteksta rīkjosla" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "HEX Krāsu kods" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "Nekas nav atrasts" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "Nav meklējamu vienumu" + +msgctxt "A default label of a dialog window displayed on top the editor." +msgid "Editor dialog" +msgstr "Redaktora dialoglodziņš" + +msgctxt "The label and the tooltip for the close button in the dialog header." +msgid "Close" +msgstr "Aizvērt" + +msgctxt "Accessibility help dialog assistive technologies label telling users how to exit the dialog." +msgid "Help Contents. To close this dialog press ESC." +msgstr "Palīdzības saturs. Lai aizvērtu šo dialoglodziņu, nospiest ESC." + +msgctxt "Accessibility help dialog text explaining what can be found in that dialog." +msgid "Below, you can find a list of keyboard shortcuts that can be used in the editor." +msgstr "Zemāk skatīt īsinājumtaustiņu sarakstu, ko var izmantot redaktorā." + +msgctxt "Accessibility help dialog text displayed next to keystrokes that may require the Fn key on Mac." +msgid "(may require Fn)" +msgstr "(var būt nepieciešams Fn)" + +msgctxt "The label for the button that opens the Accessibility help dialog from the application menu bar." +msgid "Accessibility" +msgstr "Pieejamība" + +msgctxt "Accessibility help dialog title." +msgid "Accessibility help" +msgstr "Piekļūstamības palīdzība" + +msgctxt "Assistive technologies label added to each editor editing area informing users about the possibility of opening the accessibility help dialog." +msgid "Press %0 for help." +msgstr "Lai saņemtu palīdzību, nospiest %0." + +msgctxt "Keystroke description for assistive technologies: keystroke for moving focus out of an active dialog window." +msgid "Move focus in and out of an active dialog window" +msgstr "Pārvietot fokusu aktīvajā dialoglodziņā un no tā" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the whole document (e.g. export to PDF, import from Word, etc.)." +msgid "MENU_BAR_MENU_FILE" +msgstr "Fails" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to general editing (e.g. undo, redo, select all, etc.)." +msgid "MENU_BAR_MENU_EDIT" +msgstr "Labot" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the view of the editor (e.g. show source)." +msgid "MENU_BAR_MENU_VIEW" +msgstr "Skatīt" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features that insert content (e.g. insert table, insert image, etc.)." +msgid "MENU_BAR_MENU_INSERT" +msgstr "Ievietot" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to content formatting (e.g. bold, font color, heading, etc.)." +msgid "MENU_BAR_MENU_FORMAT" +msgstr "Formāts" + +msgctxt "The label of the top-level application menu bar menu containing various editor tools (e.g. AI assistant, track changes, etc.)." +msgid "MENU_BAR_MENU_TOOLS" +msgstr "Rīki" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features helping users to learn about the editor (e.g. accessibility help)." +msgid "MENU_BAR_MENU_HELP" +msgstr "Palīdzība" + +msgctxt "The label of the application menu bar menu containing buttons and features that apply formatting to a text (e.g. bold, italic, etc.)." +msgid "MENU_BAR_MENU_TEXT" +msgstr "Teksts" + +msgctxt "The label of the application menu bar menu containing buttons and features that control the font of the edited content (e.g. font size, font color, etc.)." +msgid "MENU_BAR_MENU_FONT" +msgstr "Fonts" + +msgctxt "The accessible label of the editor menu bar used by assistive technologies." +msgid "Editor menu bar" +msgstr "Redaktora izvēlņu josla" diff --git a/node_modules/@ckeditor/ckeditor5-ui/lang/translations/ms.po b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/ms.po new file mode 100644 index 0000000..31b5ee8 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/ms.po @@ -0,0 +1,210 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Malay (https://app.transifex.com/ckeditor/teams/11143/ms/)\n" +"Language: ms\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "Penyunting Teks Kaya" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "Ruang suntingan editor: %0" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "Sunting blok" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "Klik untuk menyunting sekatan" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "Seret untuk menggerakkan" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "Seterusnya" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "Sebelumnya" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "Bar alat capaian suntingan" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "Bar alat capaian tetingkap" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "Hitam" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "Kelabu malap" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "Kelabu" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "Kelabu cerah" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "Putih" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "Merah" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "Oren" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "Kuning" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "Hijau cerah" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "Hijau" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "Akuamarin" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "Firus" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "Biru cerah" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "Biru" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "Ungu" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "Bar alat sekat kandungan editor" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "Bar alat kontekstual editor" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "HEX" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "Tiada keputusan ditemui" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "Tiada item untuk dicari" + +msgctxt "A default label of a dialog window displayed on top the editor." +msgid "Editor dialog" +msgstr "Dialog editor" + +msgctxt "The label and the tooltip for the close button in the dialog header." +msgid "Close" +msgstr "Tutup" + +msgctxt "Accessibility help dialog assistive technologies label telling users how to exit the dialog." +msgid "Help Contents. To close this dialog press ESC." +msgstr "Kandungan Bantuan. Untuk menutup dialog ini tekan ESC." + +msgctxt "Accessibility help dialog text explaining what can be found in that dialog." +msgid "Below, you can find a list of keyboard shortcuts that can be used in the editor." +msgstr "Anda boleh menemui senarai pintasan papan kekunci yang boleh digunakan dalam penyunting di bawah." + +msgctxt "Accessibility help dialog text displayed next to keystrokes that may require the Fn key on Mac." +msgid "(may require Fn)" +msgstr "(mungkin memerlukan Fn)" + +msgctxt "The label for the button that opens the Accessibility help dialog from the application menu bar." +msgid "Accessibility" +msgstr "Kebolehaksesan" + +msgctxt "Accessibility help dialog title." +msgid "Accessibility help" +msgstr "Bantuan kebolehaksesan" + +msgctxt "Assistive technologies label added to each editor editing area informing users about the possibility of opening the accessibility help dialog." +msgid "Press %0 for help." +msgstr "Tekan %0 untuk bantuan." + +msgctxt "Keystroke description for assistive technologies: keystroke for moving focus out of an active dialog window." +msgid "Move focus in and out of an active dialog window" +msgstr "Alihkan fokus masuk atau keluar daripada tetingkap dialog aktif" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the whole document (e.g. export to PDF, import from Word, etc.)." +msgid "MENU_BAR_MENU_FILE" +msgstr "Fail" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to general editing (e.g. undo, redo, select all, etc.)." +msgid "MENU_BAR_MENU_EDIT" +msgstr "Edit" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the view of the editor (e.g. show source)." +msgid "MENU_BAR_MENU_VIEW" +msgstr "Paparan" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features that insert content (e.g. insert table, insert image, etc.)." +msgid "MENU_BAR_MENU_INSERT" +msgstr "Masukkan" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to content formatting (e.g. bold, font color, heading, etc.)." +msgid "MENU_BAR_MENU_FORMAT" +msgstr "Format" + +msgctxt "The label of the top-level application menu bar menu containing various editor tools (e.g. AI assistant, track changes, etc.)." +msgid "MENU_BAR_MENU_TOOLS" +msgstr "Alatan" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features helping users to learn about the editor (e.g. accessibility help)." +msgid "MENU_BAR_MENU_HELP" +msgstr "Bantuan" + +msgctxt "The label of the application menu bar menu containing buttons and features that apply formatting to a text (e.g. bold, italic, etc.)." +msgid "MENU_BAR_MENU_TEXT" +msgstr "Teks" + +msgctxt "The label of the application menu bar menu containing buttons and features that control the font of the edited content (e.g. font size, font color, etc.)." +msgid "MENU_BAR_MENU_FONT" +msgstr "Fon" + +msgctxt "The accessible label of the editor menu bar used by assistive technologies." +msgid "Editor menu bar" +msgstr "Bar menu penyunting" diff --git a/node_modules/@ckeditor/ckeditor5-ui/lang/translations/nb.po b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/nb.po new file mode 100644 index 0000000..2c3f73b --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/nb.po @@ -0,0 +1,210 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Norwegian Bokmål (https://app.transifex.com/ckeditor/teams/11143/nb/)\n" +"Language: nb\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "Rikteksteditor" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "" + +msgctxt "A default label of a dialog window displayed on top the editor." +msgid "Editor dialog" +msgstr "" + +msgctxt "The label and the tooltip for the close button in the dialog header." +msgid "Close" +msgstr "" + +msgctxt "Accessibility help dialog assistive technologies label telling users how to exit the dialog." +msgid "Help Contents. To close this dialog press ESC." +msgstr "" + +msgctxt "Accessibility help dialog text explaining what can be found in that dialog." +msgid "Below, you can find a list of keyboard shortcuts that can be used in the editor." +msgstr "" + +msgctxt "Accessibility help dialog text displayed next to keystrokes that may require the Fn key on Mac." +msgid "(may require Fn)" +msgstr "" + +msgctxt "The label for the button that opens the Accessibility help dialog from the application menu bar." +msgid "Accessibility" +msgstr "" + +msgctxt "Accessibility help dialog title." +msgid "Accessibility help" +msgstr "" + +msgctxt "Assistive technologies label added to each editor editing area informing users about the possibility of opening the accessibility help dialog." +msgid "Press %0 for help." +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for moving focus out of an active dialog window." +msgid "Move focus in and out of an active dialog window" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the whole document (e.g. export to PDF, import from Word, etc.)." +msgid "MENU_BAR_MENU_FILE" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to general editing (e.g. undo, redo, select all, etc.)." +msgid "MENU_BAR_MENU_EDIT" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the view of the editor (e.g. show source)." +msgid "MENU_BAR_MENU_VIEW" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features that insert content (e.g. insert table, insert image, etc.)." +msgid "MENU_BAR_MENU_INSERT" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to content formatting (e.g. bold, font color, heading, etc.)." +msgid "MENU_BAR_MENU_FORMAT" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing various editor tools (e.g. AI assistant, track changes, etc.)." +msgid "MENU_BAR_MENU_TOOLS" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features helping users to learn about the editor (e.g. accessibility help)." +msgid "MENU_BAR_MENU_HELP" +msgstr "" + +msgctxt "The label of the application menu bar menu containing buttons and features that apply formatting to a text (e.g. bold, italic, etc.)." +msgid "MENU_BAR_MENU_TEXT" +msgstr "" + +msgctxt "The label of the application menu bar menu containing buttons and features that control the font of the edited content (e.g. font size, font color, etc.)." +msgid "MENU_BAR_MENU_FONT" +msgstr "" + +msgctxt "The accessible label of the editor menu bar used by assistive technologies." +msgid "Editor menu bar" +msgstr "" diff --git a/node_modules/@ckeditor/ckeditor5-ui/lang/translations/ne.po b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/ne.po new file mode 100644 index 0000000..01dbb8c --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/ne.po @@ -0,0 +1,210 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Nepali (Nepal) (https://app.transifex.com/ckeditor/teams/11143/ne_NP/)\n" +"Language: ne_NP\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "धनी पाठ सम्पादक" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "ब्लक सम्पादन गर्न" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "अर्को" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "अघिल्लो" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "कालो" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "धमिलो खैरो" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "खैरो" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "हल्का खैरो" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "सेतो" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "रातो" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "सुन्तला रंग" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "पहेंलो" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "हल्का हरियो" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "हरियो" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "अव्कवामरिन" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "त्रकोइस" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "हल्का निलो" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "निलो" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "बैंगनी रंग" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "" + +msgctxt "A default label of a dialog window displayed on top the editor." +msgid "Editor dialog" +msgstr "" + +msgctxt "The label and the tooltip for the close button in the dialog header." +msgid "Close" +msgstr "" + +msgctxt "Accessibility help dialog assistive technologies label telling users how to exit the dialog." +msgid "Help Contents. To close this dialog press ESC." +msgstr "" + +msgctxt "Accessibility help dialog text explaining what can be found in that dialog." +msgid "Below, you can find a list of keyboard shortcuts that can be used in the editor." +msgstr "" + +msgctxt "Accessibility help dialog text displayed next to keystrokes that may require the Fn key on Mac." +msgid "(may require Fn)" +msgstr "" + +msgctxt "The label for the button that opens the Accessibility help dialog from the application menu bar." +msgid "Accessibility" +msgstr "" + +msgctxt "Accessibility help dialog title." +msgid "Accessibility help" +msgstr "" + +msgctxt "Assistive technologies label added to each editor editing area informing users about the possibility of opening the accessibility help dialog." +msgid "Press %0 for help." +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for moving focus out of an active dialog window." +msgid "Move focus in and out of an active dialog window" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the whole document (e.g. export to PDF, import from Word, etc.)." +msgid "MENU_BAR_MENU_FILE" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to general editing (e.g. undo, redo, select all, etc.)." +msgid "MENU_BAR_MENU_EDIT" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the view of the editor (e.g. show source)." +msgid "MENU_BAR_MENU_VIEW" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features that insert content (e.g. insert table, insert image, etc.)." +msgid "MENU_BAR_MENU_INSERT" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to content formatting (e.g. bold, font color, heading, etc.)." +msgid "MENU_BAR_MENU_FORMAT" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing various editor tools (e.g. AI assistant, track changes, etc.)." +msgid "MENU_BAR_MENU_TOOLS" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features helping users to learn about the editor (e.g. accessibility help)." +msgid "MENU_BAR_MENU_HELP" +msgstr "" + +msgctxt "The label of the application menu bar menu containing buttons and features that apply formatting to a text (e.g. bold, italic, etc.)." +msgid "MENU_BAR_MENU_TEXT" +msgstr "" + +msgctxt "The label of the application menu bar menu containing buttons and features that control the font of the edited content (e.g. font size, font color, etc.)." +msgid "MENU_BAR_MENU_FONT" +msgstr "" + +msgctxt "The accessible label of the editor menu bar used by assistive technologies." +msgid "Editor menu bar" +msgstr "" diff --git a/node_modules/@ckeditor/ckeditor5-ui/lang/translations/nl.po b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/nl.po new file mode 100644 index 0000000..823f403 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/nl.po @@ -0,0 +1,210 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Dutch (https://app.transifex.com/ckeditor/teams/11143/nl/)\n" +"Language: nl\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "Tekstbewerker" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "Bewerkingsgebied: %0" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "Blok aanpassen" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "Klik om blok te bewerken" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "Sleep om te verplaatsen" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "Volgende" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "Vorige" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "Editor welkbalk" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "Drop-down werkbalk" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "Zwart" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "Gedimd grijs" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "Grijs" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "Lichtgrijs" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "Wit" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "Rood" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "Oranje" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "Geel" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "Lichtgroen" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "Groen" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "Aquamarijn" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "Turquoise" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "Lichtblauw" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "Blauw" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "Paars" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "Inhoud werkbalk voor editorblok" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "Contextuele werkbalk van editor" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "HEX" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "Geen zoekresultaten" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "Geen zoekbare items" + +msgctxt "A default label of a dialog window displayed on top the editor." +msgid "Editor dialog" +msgstr "Dialoog bewerker" + +msgctxt "The label and the tooltip for the close button in the dialog header." +msgid "Close" +msgstr "Sluiten" + +msgctxt "Accessibility help dialog assistive technologies label telling users how to exit the dialog." +msgid "Help Contents. To close this dialog press ESC." +msgstr "Inhoud Hulp. Druk op ESC om dit dialoogvenster te sluiten." + +msgctxt "Accessibility help dialog text explaining what can be found in that dialog." +msgid "Below, you can find a list of keyboard shortcuts that can be used in the editor." +msgstr "Hieronder vindt u een lijst met sneltoetsen die in de editor gebruikt kunnen worden." + +msgctxt "Accessibility help dialog text displayed next to keystrokes that may require the Fn key on Mac." +msgid "(may require Fn)" +msgstr "(Fn-toets is mogelijk vereist)" + +msgctxt "The label for the button that opens the Accessibility help dialog from the application menu bar." +msgid "Accessibility" +msgstr "Toegankelijkheid" + +msgctxt "Accessibility help dialog title." +msgid "Accessibility help" +msgstr "Hulp bij toegankelijkheid" + +msgctxt "Assistive technologies label added to each editor editing area informing users about the possibility of opening the accessibility help dialog." +msgid "Press %0 for help." +msgstr "Druk op %0 voor hulp." + +msgctxt "Keystroke description for assistive technologies: keystroke for moving focus out of an active dialog window." +msgid "Move focus in and out of an active dialog window" +msgstr "Beweeg de focus naar een actief dialoogvenster of er vandaan" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the whole document (e.g. export to PDF, import from Word, etc.)." +msgid "MENU_BAR_MENU_FILE" +msgstr "Bestand" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to general editing (e.g. undo, redo, select all, etc.)." +msgid "MENU_BAR_MENU_EDIT" +msgstr "Wijzigen" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the view of the editor (e.g. show source)." +msgid "MENU_BAR_MENU_VIEW" +msgstr "Bekijk" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features that insert content (e.g. insert table, insert image, etc.)." +msgid "MENU_BAR_MENU_INSERT" +msgstr "Invoegen" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to content formatting (e.g. bold, font color, heading, etc.)." +msgid "MENU_BAR_MENU_FORMAT" +msgstr "Formaat" + +msgctxt "The label of the top-level application menu bar menu containing various editor tools (e.g. AI assistant, track changes, etc.)." +msgid "MENU_BAR_MENU_TOOLS" +msgstr "Gereedschap" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features helping users to learn about the editor (e.g. accessibility help)." +msgid "MENU_BAR_MENU_HELP" +msgstr "Hulp" + +msgctxt "The label of the application menu bar menu containing buttons and features that apply formatting to a text (e.g. bold, italic, etc.)." +msgid "MENU_BAR_MENU_TEXT" +msgstr "Tekst" + +msgctxt "The label of the application menu bar menu containing buttons and features that control the font of the edited content (e.g. font size, font color, etc.)." +msgid "MENU_BAR_MENU_FONT" +msgstr "Lettertype" + +msgctxt "The accessible label of the editor menu bar used by assistive technologies." +msgid "Editor menu bar" +msgstr "Menubalk editor" diff --git a/node_modules/@ckeditor/ckeditor5-ui/lang/translations/no.po b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/no.po new file mode 100644 index 0000000..10787b4 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/no.po @@ -0,0 +1,210 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Norwegian (https://app.transifex.com/ckeditor/teams/11143/no/)\n" +"Language: no\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "Tekstredigeringsverktøy for rik tekst" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "Redigeringsområde for redigeringsverktøyet: %0" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "Rediger blokk" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "Klikk for å redigere blokk" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "Dra for å flytte" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "Neste" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "Forrige" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "Verktøylinje for redigeringsverktøy" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "Verktøylinje for nedtrekksliste" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "Svart" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "Svak grå" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "Grå" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "Lysegrå" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "Hvit" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "Rød" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "Oransje" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "Gul" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "Lysegrønn" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "Grønn" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "Akvamarin" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "Turkis" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "Lyseblå" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "Blå" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "Lilla" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "Verktøylinje for blokkinnhold i redigeringsverktøy" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "Verktøylinje for kontekst i redigeringsverktøy" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "HEX" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "Ingen resultater" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "Ingen søkbare elementer" + +msgctxt "A default label of a dialog window displayed on top the editor." +msgid "Editor dialog" +msgstr "Dialogboks for redigering" + +msgctxt "The label and the tooltip for the close button in the dialog header." +msgid "Close" +msgstr "Lukk" + +msgctxt "Accessibility help dialog assistive technologies label telling users how to exit the dialog." +msgid "Help Contents. To close this dialog press ESC." +msgstr "Hjelpeinnhold. Trykk på ESC for å lukke denne dialogen." + +msgctxt "Accessibility help dialog text explaining what can be found in that dialog." +msgid "Below, you can find a list of keyboard shortcuts that can be used in the editor." +msgstr "Nedenfor finner du en liste over hurtigtaster som kan brukes i redigeringsverktøyet." + +msgctxt "Accessibility help dialog text displayed next to keystrokes that may require the Fn key on Mac." +msgid "(may require Fn)" +msgstr "(trenger kanskje Fn)" + +msgctxt "The label for the button that opens the Accessibility help dialog from the application menu bar." +msgid "Accessibility" +msgstr "Tilgjengelighet" + +msgctxt "Accessibility help dialog title." +msgid "Accessibility help" +msgstr "Tilgjengelighetshjelp" + +msgctxt "Assistive technologies label added to each editor editing area informing users about the possibility of opening the accessibility help dialog." +msgid "Press %0 for help." +msgstr "Trykk på %0 for hjelp." + +msgctxt "Keystroke description for assistive technologies: keystroke for moving focus out of an active dialog window." +msgid "Move focus in and out of an active dialog window" +msgstr "Flytt fokus inn og ut av et aktivt dialogvindu" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the whole document (e.g. export to PDF, import from Word, etc.)." +msgid "MENU_BAR_MENU_FILE" +msgstr "Fil" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to general editing (e.g. undo, redo, select all, etc.)." +msgid "MENU_BAR_MENU_EDIT" +msgstr "Rediger" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the view of the editor (e.g. show source)." +msgid "MENU_BAR_MENU_VIEW" +msgstr "Vis" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features that insert content (e.g. insert table, insert image, etc.)." +msgid "MENU_BAR_MENU_INSERT" +msgstr "Sett inn" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to content formatting (e.g. bold, font color, heading, etc.)." +msgid "MENU_BAR_MENU_FORMAT" +msgstr "Format" + +msgctxt "The label of the top-level application menu bar menu containing various editor tools (e.g. AI assistant, track changes, etc.)." +msgid "MENU_BAR_MENU_TOOLS" +msgstr "Verktøy" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features helping users to learn about the editor (e.g. accessibility help)." +msgid "MENU_BAR_MENU_HELP" +msgstr "Hjelp" + +msgctxt "The label of the application menu bar menu containing buttons and features that apply formatting to a text (e.g. bold, italic, etc.)." +msgid "MENU_BAR_MENU_TEXT" +msgstr "Tekst" + +msgctxt "The label of the application menu bar menu containing buttons and features that control the font of the edited content (e.g. font size, font color, etc.)." +msgid "MENU_BAR_MENU_FONT" +msgstr "Skrifttype" + +msgctxt "The accessible label of the editor menu bar used by assistive technologies." +msgid "Editor menu bar" +msgstr "Menylinje for redigering" diff --git a/node_modules/@ckeditor/ckeditor5-ui/lang/translations/pl.po b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/pl.po new file mode 100644 index 0000000..41efd28 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/pl.po @@ -0,0 +1,210 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Polish (https://app.transifex.com/ckeditor/teams/11143/pl/)\n" +"Language: pl\n" +"Plural-Forms: nplurals=4; plural=(n==1 ? 0 : (n%10>=2 && n%10<=4) && (n%100<12 || n%100>14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && n%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "Edytor tekstu sformatowanego" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "Obszar edycji edytora: %0" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "Edytuj blok" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "Kliknij, aby edytować blok" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "Przeciągnij, aby przenieść" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "Następny" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "Poprzedni" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "Pasek narzędzi edytora" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "Rozwijany pasek narzędzi" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "Czarny" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "Ciemnoszary" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "Szary" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "Jasnoszary" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "Biały" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "Czerwony" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "Pomarańczowy" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "Żółty" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "Jasnozielony" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "Zielony" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "Akwamaryna" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "Turkusowy" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "Jasnoniebieski" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "Niebieski" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "Purpurowy" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "Pasek zadań treści blokowej edytora" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "Kontekstowy pasek zadań edytora" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "SZESNASTKOWY" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "Nie znaleziono wyników" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "Brak elementów do wyszukania" + +msgctxt "A default label of a dialog window displayed on top the editor." +msgid "Editor dialog" +msgstr "Okno edytora" + +msgctxt "The label and the tooltip for the close button in the dialog header." +msgid "Close" +msgstr "Zamknij" + +msgctxt "Accessibility help dialog assistive technologies label telling users how to exit the dialog." +msgid "Help Contents. To close this dialog press ESC." +msgstr "Zawartość pomocy. Aby zamknąć to okno dialogowe, naciśnij klawisz ESC." + +msgctxt "Accessibility help dialog text explaining what can be found in that dialog." +msgid "Below, you can find a list of keyboard shortcuts that can be used in the editor." +msgstr "Poniżej znajdziesz listę skrótów klawiszowych, których można używać w edytorze." + +msgctxt "Accessibility help dialog text displayed next to keystrokes that may require the Fn key on Mac." +msgid "(may require Fn)" +msgstr "(może wymagać użycia klawisza Fn)" + +msgctxt "The label for the button that opens the Accessibility help dialog from the application menu bar." +msgid "Accessibility" +msgstr "Dostępność" + +msgctxt "Accessibility help dialog title." +msgid "Accessibility help" +msgstr "Pomoc dotycząca dostępności" + +msgctxt "Assistive technologies label added to each editor editing area informing users about the possibility of opening the accessibility help dialog." +msgid "Press %0 for help." +msgstr "Naciśnij %0, aby uzyskać pomoc." + +msgctxt "Keystroke description for assistive technologies: keystroke for moving focus out of an active dialog window." +msgid "Move focus in and out of an active dialog window" +msgstr "Przenosi fokus do i z aktywnego okna dialogowego" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the whole document (e.g. export to PDF, import from Word, etc.)." +msgid "MENU_BAR_MENU_FILE" +msgstr "Plik" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to general editing (e.g. undo, redo, select all, etc.)." +msgid "MENU_BAR_MENU_EDIT" +msgstr "Zmiana" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the view of the editor (e.g. show source)." +msgid "MENU_BAR_MENU_VIEW" +msgstr "Zobacz" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features that insert content (e.g. insert table, insert image, etc.)." +msgid "MENU_BAR_MENU_INSERT" +msgstr "Wstaw" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to content formatting (e.g. bold, font color, heading, etc.)." +msgid "MENU_BAR_MENU_FORMAT" +msgstr "Format" + +msgctxt "The label of the top-level application menu bar menu containing various editor tools (e.g. AI assistant, track changes, etc.)." +msgid "MENU_BAR_MENU_TOOLS" +msgstr "Narzędzia" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features helping users to learn about the editor (e.g. accessibility help)." +msgid "MENU_BAR_MENU_HELP" +msgstr "Pomoc" + +msgctxt "The label of the application menu bar menu containing buttons and features that apply formatting to a text (e.g. bold, italic, etc.)." +msgid "MENU_BAR_MENU_TEXT" +msgstr "Tekst" + +msgctxt "The label of the application menu bar menu containing buttons and features that control the font of the edited content (e.g. font size, font color, etc.)." +msgid "MENU_BAR_MENU_FONT" +msgstr "Czcionka" + +msgctxt "The accessible label of the editor menu bar used by assistive technologies." +msgid "Editor menu bar" +msgstr "Pasek menu edytora" diff --git a/node_modules/@ckeditor/ckeditor5-ui/lang/translations/pt-br.po b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/pt-br.po new file mode 100644 index 0000000..1644508 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/pt-br.po @@ -0,0 +1,210 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Portuguese (Brazil) (https://app.transifex.com/ckeditor/teams/11143/pt_BR/)\n" +"Language: pt_BR\n" +"Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "Editor de Formatação" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "Área de edição do editor: %0" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "Editor de bloco" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "Clicar para editar o bloco" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "Arrastar para mover" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "Próximo" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "Anterior" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "Ferramentas do Editor" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "Barra de Ferramentas da Lista Suspensa" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "Preto" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "Cinza escuro" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "Cinza" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "Cinza claro" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "Branco" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "Vermelho" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "Laranja" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "Amarelo" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "Verde claro" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "Verde" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "Água-marinha" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "Turquesa" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "Azul claro" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "Azul" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "Púrpura" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "Barra de ferramentas de bloco do Editor" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "Barra de ferramentas contextual do Editor" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "Hexadecimal" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "Nenhum resultado encontrado" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "Sem itens pesquisáveis" + +msgctxt "A default label of a dialog window displayed on top the editor." +msgid "Editor dialog" +msgstr "Diálogo do editor" + +msgctxt "The label and the tooltip for the close button in the dialog header." +msgid "Close" +msgstr "Fechar" + +msgctxt "Accessibility help dialog assistive technologies label telling users how to exit the dialog." +msgid "Help Contents. To close this dialog press ESC." +msgstr "Conteúdo de Ajuda. Para fechar este diálogo pressione ESC." + +msgctxt "Accessibility help dialog text explaining what can be found in that dialog." +msgid "Below, you can find a list of keyboard shortcuts that can be used in the editor." +msgstr "Abaixo, você pode encontrar uma lista de atalhos de teclado que podem ser usados no editor." + +msgctxt "Accessibility help dialog text displayed next to keystrokes that may require the Fn key on Mac." +msgid "(may require Fn)" +msgstr "(pode requerer Fn)" + +msgctxt "The label for the button that opens the Accessibility help dialog from the application menu bar." +msgid "Accessibility" +msgstr "Acessibilidade" + +msgctxt "Accessibility help dialog title." +msgid "Accessibility help" +msgstr "Ajuda de acessibilidade" + +msgctxt "Assistive technologies label added to each editor editing area informing users about the possibility of opening the accessibility help dialog." +msgid "Press %0 for help." +msgstr "Pressione %0 para ajuda." + +msgctxt "Keystroke description for assistive technologies: keystroke for moving focus out of an active dialog window." +msgid "Move focus in and out of an active dialog window" +msgstr "Mover o foco para dentro e fora de uma janela de diálogo ativa" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the whole document (e.g. export to PDF, import from Word, etc.)." +msgid "MENU_BAR_MENU_FILE" +msgstr "Arquivo" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to general editing (e.g. undo, redo, select all, etc.)." +msgid "MENU_BAR_MENU_EDIT" +msgstr "Editar" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the view of the editor (e.g. show source)." +msgid "MENU_BAR_MENU_VIEW" +msgstr "Visualizar" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features that insert content (e.g. insert table, insert image, etc.)." +msgid "MENU_BAR_MENU_INSERT" +msgstr "Inserir" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to content formatting (e.g. bold, font color, heading, etc.)." +msgid "MENU_BAR_MENU_FORMAT" +msgstr "Formato" + +msgctxt "The label of the top-level application menu bar menu containing various editor tools (e.g. AI assistant, track changes, etc.)." +msgid "MENU_BAR_MENU_TOOLS" +msgstr "Ferramentas" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features helping users to learn about the editor (e.g. accessibility help)." +msgid "MENU_BAR_MENU_HELP" +msgstr "Ajuda" + +msgctxt "The label of the application menu bar menu containing buttons and features that apply formatting to a text (e.g. bold, italic, etc.)." +msgid "MENU_BAR_MENU_TEXT" +msgstr "Texto" + +msgctxt "The label of the application menu bar menu containing buttons and features that control the font of the edited content (e.g. font size, font color, etc.)." +msgid "MENU_BAR_MENU_FONT" +msgstr "Fonte" + +msgctxt "The accessible label of the editor menu bar used by assistive technologies." +msgid "Editor menu bar" +msgstr "Barra de menu do editor" diff --git a/node_modules/@ckeditor/ckeditor5-ui/lang/translations/pt.po b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/pt.po new file mode 100644 index 0000000..c88c49e --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/pt.po @@ -0,0 +1,210 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Portuguese (https://app.transifex.com/ckeditor/teams/11143/pt/)\n" +"Language: pt\n" +"Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "Editor de texto avançado" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "Área de edição do editor: %0" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "Editar bloco" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "Clique para editar o bloco" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "Arraste para mover" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "Seguinte" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "Anterior" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "Barra de ferramentas do editor" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "Barra de ferramentas do menu pendente" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "Preto" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "Cinzento-escuro" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "Cinzento" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "Cinzento-claro" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "Branco" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "Vermelho" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "Laranja" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "Amarelo" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "Verde-claro" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "Verde" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "Verde-azulado" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "Turquesa" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "Azul-claro" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "Azul" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "Roxo" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "Barra de ferramentas de edição do conteúdo de blocos" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "Barra de ferramentas contextual de edição" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "HEX" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "Nenhum resultado encontrado" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "Nenhum item pesquisável" + +msgctxt "A default label of a dialog window displayed on top the editor." +msgid "Editor dialog" +msgstr "Diálogo do editor" + +msgctxt "The label and the tooltip for the close button in the dialog header." +msgid "Close" +msgstr "Fechar" + +msgctxt "Accessibility help dialog assistive technologies label telling users how to exit the dialog." +msgid "Help Contents. To close this dialog press ESC." +msgstr "Conteúdos de ajuda. Para fechar esta caixa de diálogo, prima ESC." + +msgctxt "Accessibility help dialog text explaining what can be found in that dialog." +msgid "Below, you can find a list of keyboard shortcuts that can be used in the editor." +msgstr "Abaixo, encontra-se uma lista de atalhos de teclado que podem ser utilizados no editor." + +msgctxt "Accessibility help dialog text displayed next to keystrokes that may require the Fn key on Mac." +msgid "(may require Fn)" +msgstr "(pode exigir Fn)" + +msgctxt "The label for the button that opens the Accessibility help dialog from the application menu bar." +msgid "Accessibility" +msgstr "Acessibilidade" + +msgctxt "Accessibility help dialog title." +msgid "Accessibility help" +msgstr "Ajuda de acessibilidade" + +msgctxt "Assistive technologies label added to each editor editing area informing users about the possibility of opening the accessibility help dialog." +msgid "Press %0 for help." +msgstr "Para obter ajuda, pressione %0." + +msgctxt "Keystroke description for assistive technologies: keystroke for moving focus out of an active dialog window." +msgid "Move focus in and out of an active dialog window" +msgstr "Mover o foco para dentro e para fora de uma janela de diálogo ativa" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the whole document (e.g. export to PDF, import from Word, etc.)." +msgid "MENU_BAR_MENU_FILE" +msgstr "Ficheiro" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to general editing (e.g. undo, redo, select all, etc.)." +msgid "MENU_BAR_MENU_EDIT" +msgstr "Editar" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the view of the editor (e.g. show source)." +msgid "MENU_BAR_MENU_VIEW" +msgstr "Visualizar" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features that insert content (e.g. insert table, insert image, etc.)." +msgid "MENU_BAR_MENU_INSERT" +msgstr "Inserir" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to content formatting (e.g. bold, font color, heading, etc.)." +msgid "MENU_BAR_MENU_FORMAT" +msgstr "Formatação" + +msgctxt "The label of the top-level application menu bar menu containing various editor tools (e.g. AI assistant, track changes, etc.)." +msgid "MENU_BAR_MENU_TOOLS" +msgstr "Ferramentas" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features helping users to learn about the editor (e.g. accessibility help)." +msgid "MENU_BAR_MENU_HELP" +msgstr "Ajuda" + +msgctxt "The label of the application menu bar menu containing buttons and features that apply formatting to a text (e.g. bold, italic, etc.)." +msgid "MENU_BAR_MENU_TEXT" +msgstr "Texto" + +msgctxt "The label of the application menu bar menu containing buttons and features that control the font of the edited content (e.g. font size, font color, etc.)." +msgid "MENU_BAR_MENU_FONT" +msgstr "Tipo de letra" + +msgctxt "The accessible label of the editor menu bar used by assistive technologies." +msgid "Editor menu bar" +msgstr "Barra de menu do editor" diff --git a/node_modules/@ckeditor/ckeditor5-ui/lang/translations/ro.po b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/ro.po new file mode 100644 index 0000000..5ba9f81 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/ro.po @@ -0,0 +1,210 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Romanian (https://app.transifex.com/ckeditor/teams/11143/ro/)\n" +"Language: ro\n" +"Plural-Forms: nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?2:1));\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "Editor de text" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "Zonă editare editor: %0" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "Editează bloc" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "Faceți clic pentru a edita întreg blocul" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "Glisați pentru a muta" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "Înainte" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "Înapoi" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "Bară editor" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "Bară listă opțiuni" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "Negru" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "Gri slab" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "Gri" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "Gri deschis" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "Alb" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "Roșu" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "Portocaliu" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "Galben" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "Verde deschis" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "Verde" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "Acvamarin" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "Turcoaz" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "Albastru deschis" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "Albastru" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "Violet" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "Bară de instrumente editor pentru blocuri de conținut" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "Bară contextuală de instrumente editor" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "HEX" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "Nu au fost găsite rezultate" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "Nu există elemente ce pot fi căutate" + +msgctxt "A default label of a dialog window displayed on top the editor." +msgid "Editor dialog" +msgstr "Dialog editor" + +msgctxt "The label and the tooltip for the close button in the dialog header." +msgid "Close" +msgstr "Închideți" + +msgctxt "Accessibility help dialog assistive technologies label telling users how to exit the dialog." +msgid "Help Contents. To close this dialog press ESC." +msgstr "Conținutul de asistență. Apăsați ESC pentru a închide acest dialog." + +msgctxt "Accessibility help dialog text explaining what can be found in that dialog." +msgid "Below, you can find a list of keyboard shortcuts that can be used in the editor." +msgstr "Mai jos puteți găsi o listă de comenzi rapide de tastatură care pot fi utilizate în editor." + +msgctxt "Accessibility help dialog text displayed next to keystrokes that may require the Fn key on Mac." +msgid "(may require Fn)" +msgstr "(poate fi necesar să apăsați Fn)" + +msgctxt "The label for the button that opens the Accessibility help dialog from the application menu bar." +msgid "Accessibility" +msgstr "Accesibilitate" + +msgctxt "Accessibility help dialog title." +msgid "Accessibility help" +msgstr "Ajutor pentru accesibilitate" + +msgctxt "Assistive technologies label added to each editor editing area informing users about the possibility of opening the accessibility help dialog." +msgid "Press %0 for help." +msgstr "Apăsați %0] pentru ajutor." + +msgctxt "Keystroke description for assistive technologies: keystroke for moving focus out of an active dialog window." +msgid "Move focus in and out of an active dialog window" +msgstr "Comutează focalizarea într-o fereastră de dialog activă și în afara acesteia" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the whole document (e.g. export to PDF, import from Word, etc.)." +msgid "MENU_BAR_MENU_FILE" +msgstr "Fișier" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to general editing (e.g. undo, redo, select all, etc.)." +msgid "MENU_BAR_MENU_EDIT" +msgstr "Editează" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the view of the editor (e.g. show source)." +msgid "MENU_BAR_MENU_VIEW" +msgstr "Vizualizare" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features that insert content (e.g. insert table, insert image, etc.)." +msgid "MENU_BAR_MENU_INSERT" +msgstr "Inserează" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to content formatting (e.g. bold, font color, heading, etc.)." +msgid "MENU_BAR_MENU_FORMAT" +msgstr "Formatare" + +msgctxt "The label of the top-level application menu bar menu containing various editor tools (e.g. AI assistant, track changes, etc.)." +msgid "MENU_BAR_MENU_TOOLS" +msgstr "Instrumente" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features helping users to learn about the editor (e.g. accessibility help)." +msgid "MENU_BAR_MENU_HELP" +msgstr "Ajutor" + +msgctxt "The label of the application menu bar menu containing buttons and features that apply formatting to a text (e.g. bold, italic, etc.)." +msgid "MENU_BAR_MENU_TEXT" +msgstr "Text" + +msgctxt "The label of the application menu bar menu containing buttons and features that control the font of the edited content (e.g. font size, font color, etc.)." +msgid "MENU_BAR_MENU_FONT" +msgstr "Font" + +msgctxt "The accessible label of the editor menu bar used by assistive technologies." +msgid "Editor menu bar" +msgstr "Bara de meniuri a editorului" diff --git a/node_modules/@ckeditor/ckeditor5-ui/lang/translations/ru.po b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/ru.po new file mode 100644 index 0000000..285f33a --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/ru.po @@ -0,0 +1,210 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Russian (https://app.transifex.com/ckeditor/teams/11143/ru/)\n" +"Language: ru\n" +"Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "Редактор" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "Область редактирования редактора: %0" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "Редактировать блок" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "Нажмите, чтобы редактировать блок" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "Перетащить" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "Следующий" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "Предыдущий" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "Панель инструментов редактора" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "Выпадающая панель инструментов" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "Чёрный" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "Тёмно-серый" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "Серый" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "Светло-серый" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "Белый" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "Красный" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "Оранжевый" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "Жёлтый" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "Салатовый" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "Зелёный" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "Аквамариновый" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "Бирюзовый" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "Голубой" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "Синий" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "Фиолетовый" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "Панель инструментов редактора" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "Контекстуальная панель инструментов редактора" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "HEX" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "Результаты не найдены" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "Нет элементов для поиска" + +msgctxt "A default label of a dialog window displayed on top the editor." +msgid "Editor dialog" +msgstr "Диалоговое окно редактора" + +msgctxt "The label and the tooltip for the close button in the dialog header." +msgid "Close" +msgstr "Закрыть" + +msgctxt "Accessibility help dialog assistive technologies label telling users how to exit the dialog." +msgid "Help Contents. To close this dialog press ESC." +msgstr "Содержание справки. Чтобы закрыть это диалоговое окно, нажмите ESC." + +msgctxt "Accessibility help dialog text explaining what can be found in that dialog." +msgid "Below, you can find a list of keyboard shortcuts that can be used in the editor." +msgstr "Ниже вы можете найти список сочетаний клавиш, которые можно использовать в редакторе." + +msgctxt "Accessibility help dialog text displayed next to keystrokes that may require the Fn key on Mac." +msgid "(may require Fn)" +msgstr "(может требовать Fn)" + +msgctxt "The label for the button that opens the Accessibility help dialog from the application menu bar." +msgid "Accessibility" +msgstr "Доступность" + +msgctxt "Accessibility help dialog title." +msgid "Accessibility help" +msgstr "Помощь по специальным возможностям" + +msgctxt "Assistive technologies label added to each editor editing area informing users about the possibility of opening the accessibility help dialog." +msgid "Press %0 for help." +msgstr "Нажмите %0 для получения помощи." + +msgctxt "Keystroke description for assistive technologies: keystroke for moving focus out of an active dialog window." +msgid "Move focus in and out of an active dialog window" +msgstr "Переместить фокус в активное диалоговое окно и обратно." + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the whole document (e.g. export to PDF, import from Word, etc.)." +msgid "MENU_BAR_MENU_FILE" +msgstr "Файл" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to general editing (e.g. undo, redo, select all, etc.)." +msgid "MENU_BAR_MENU_EDIT" +msgstr "Редактировать" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the view of the editor (e.g. show source)." +msgid "MENU_BAR_MENU_VIEW" +msgstr "Посмотреть" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features that insert content (e.g. insert table, insert image, etc.)." +msgid "MENU_BAR_MENU_INSERT" +msgstr "Вставить" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to content formatting (e.g. bold, font color, heading, etc.)." +msgid "MENU_BAR_MENU_FORMAT" +msgstr "Формат" + +msgctxt "The label of the top-level application menu bar menu containing various editor tools (e.g. AI assistant, track changes, etc.)." +msgid "MENU_BAR_MENU_TOOLS" +msgstr "Инструменты" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features helping users to learn about the editor (e.g. accessibility help)." +msgid "MENU_BAR_MENU_HELP" +msgstr "Помощь" + +msgctxt "The label of the application menu bar menu containing buttons and features that apply formatting to a text (e.g. bold, italic, etc.)." +msgid "MENU_BAR_MENU_TEXT" +msgstr "Текст" + +msgctxt "The label of the application menu bar menu containing buttons and features that control the font of the edited content (e.g. font size, font color, etc.)." +msgid "MENU_BAR_MENU_FONT" +msgstr "Шрифт" + +msgctxt "The accessible label of the editor menu bar used by assistive technologies." +msgid "Editor menu bar" +msgstr "Панель меню редактора" diff --git a/node_modules/@ckeditor/ckeditor5-ui/lang/translations/sk.po b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/sk.po new file mode 100644 index 0000000..3b51468 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/sk.po @@ -0,0 +1,210 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Slovak (https://app.transifex.com/ckeditor/teams/11143/sk/)\n" +"Language: sk\n" +"Plural-Forms: nplurals=4; plural=(n % 1 == 0 && n == 1 ? 0 : n % 1 == 0 && n >= 2 && n <= 4 ? 1 : n % 1 != 0 ? 2: 3);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "Editor s formátovaním" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "Oblasť úprav editora: %0" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "Upraviť odsek" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "Úprava bloku kliknutím" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "Potiahnuť a presunúť" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "Ďalšie" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "Predchádzajúce" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "Panel nástrojov editora" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "Panel nástrojov roletového menu" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "Čierna" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "Tmavosivá" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "Sivá" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "Bledosivá" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "Biela" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "Červená" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "Oranžová" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "Žltá" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "Bledozelená" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "Zelená" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "Akvamarínová" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "Tyrkysová" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "Bledomodrá" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "Modrá" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "Fialová" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "Panel s nástrojmi obsahu bloku editora" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "Kontextový panel nástrojov editora" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "HEX" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "Neboli nájdené žiadne výsledky" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "Žiadne vyhľadávateľné položky" + +msgctxt "A default label of a dialog window displayed on top the editor." +msgid "Editor dialog" +msgstr "Dialóg editora" + +msgctxt "The label and the tooltip for the close button in the dialog header." +msgid "Close" +msgstr "Zatvoriť" + +msgctxt "Accessibility help dialog assistive technologies label telling users how to exit the dialog." +msgid "Help Contents. To close this dialog press ESC." +msgstr "Obsah pomocníka. Toto dialógové okno zavriete klávesom Esc." + +msgctxt "Accessibility help dialog text explaining what can be found in that dialog." +msgid "Below, you can find a list of keyboard shortcuts that can be used in the editor." +msgstr "Nižšie nájdete zoznam klávesových skratiek, ktoré môžete používať v editore." + +msgctxt "Accessibility help dialog text displayed next to keystrokes that may require the Fn key on Mac." +msgid "(may require Fn)" +msgstr "(môže si vyžadovať stlačenie klávesu Fn)" + +msgctxt "The label for the button that opens the Accessibility help dialog from the application menu bar." +msgid "Accessibility" +msgstr "Dostupnosť" + +msgctxt "Accessibility help dialog title." +msgid "Accessibility help" +msgstr "Pomoc so zjednodušením ovládania" + +msgctxt "Assistive technologies label added to each editor editing area informing users about the possibility of opening the accessibility help dialog." +msgid "Press %0 for help." +msgstr "Ak potrebujete pomoc, stlačte %0." + +msgctxt "Keystroke description for assistive technologies: keystroke for moving focus out of an active dialog window." +msgid "Move focus in and out of an active dialog window" +msgstr "Presunúť zameranie z/do aktívneho dialógového okna" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the whole document (e.g. export to PDF, import from Word, etc.)." +msgid "MENU_BAR_MENU_FILE" +msgstr "Súbor" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to general editing (e.g. undo, redo, select all, etc.)." +msgid "MENU_BAR_MENU_EDIT" +msgstr "Upraviť" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the view of the editor (e.g. show source)." +msgid "MENU_BAR_MENU_VIEW" +msgstr "Zobraziť" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features that insert content (e.g. insert table, insert image, etc.)." +msgid "MENU_BAR_MENU_INSERT" +msgstr "Vložiť" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to content formatting (e.g. bold, font color, heading, etc.)." +msgid "MENU_BAR_MENU_FORMAT" +msgstr "Formát" + +msgctxt "The label of the top-level application menu bar menu containing various editor tools (e.g. AI assistant, track changes, etc.)." +msgid "MENU_BAR_MENU_TOOLS" +msgstr "Nástroje" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features helping users to learn about the editor (e.g. accessibility help)." +msgid "MENU_BAR_MENU_HELP" +msgstr "Pomoc" + +msgctxt "The label of the application menu bar menu containing buttons and features that apply formatting to a text (e.g. bold, italic, etc.)." +msgid "MENU_BAR_MENU_TEXT" +msgstr "Text" + +msgctxt "The label of the application menu bar menu containing buttons and features that control the font of the edited content (e.g. font size, font color, etc.)." +msgid "MENU_BAR_MENU_FONT" +msgstr "Font" + +msgctxt "The accessible label of the editor menu bar used by assistive technologies." +msgid "Editor menu bar" +msgstr "Lišta ponuky editora" diff --git a/node_modules/@ckeditor/ckeditor5-ui/lang/translations/sl.po b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/sl.po new file mode 100644 index 0000000..b274271 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/sl.po @@ -0,0 +1,210 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Slovenian (https://app.transifex.com/ckeditor/teams/11143/sl/)\n" +"Language: sl\n" +"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "Črna" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "Temno siva" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "Siva" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "Svetlo siva" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "Bela" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "Rdeča" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "Oranžna" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "Rumena" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "Svetlo zelena" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "Zelena" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "Akvamarin" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "Turkizna" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "Svetlo modra" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "Modra" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "Vijolična" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "" + +msgctxt "A default label of a dialog window displayed on top the editor." +msgid "Editor dialog" +msgstr "" + +msgctxt "The label and the tooltip for the close button in the dialog header." +msgid "Close" +msgstr "" + +msgctxt "Accessibility help dialog assistive technologies label telling users how to exit the dialog." +msgid "Help Contents. To close this dialog press ESC." +msgstr "" + +msgctxt "Accessibility help dialog text explaining what can be found in that dialog." +msgid "Below, you can find a list of keyboard shortcuts that can be used in the editor." +msgstr "" + +msgctxt "Accessibility help dialog text displayed next to keystrokes that may require the Fn key on Mac." +msgid "(may require Fn)" +msgstr "" + +msgctxt "The label for the button that opens the Accessibility help dialog from the application menu bar." +msgid "Accessibility" +msgstr "" + +msgctxt "Accessibility help dialog title." +msgid "Accessibility help" +msgstr "" + +msgctxt "Assistive technologies label added to each editor editing area informing users about the possibility of opening the accessibility help dialog." +msgid "Press %0 for help." +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for moving focus out of an active dialog window." +msgid "Move focus in and out of an active dialog window" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the whole document (e.g. export to PDF, import from Word, etc.)." +msgid "MENU_BAR_MENU_FILE" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to general editing (e.g. undo, redo, select all, etc.)." +msgid "MENU_BAR_MENU_EDIT" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the view of the editor (e.g. show source)." +msgid "MENU_BAR_MENU_VIEW" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features that insert content (e.g. insert table, insert image, etc.)." +msgid "MENU_BAR_MENU_INSERT" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to content formatting (e.g. bold, font color, heading, etc.)." +msgid "MENU_BAR_MENU_FORMAT" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing various editor tools (e.g. AI assistant, track changes, etc.)." +msgid "MENU_BAR_MENU_TOOLS" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features helping users to learn about the editor (e.g. accessibility help)." +msgid "MENU_BAR_MENU_HELP" +msgstr "" + +msgctxt "The label of the application menu bar menu containing buttons and features that apply formatting to a text (e.g. bold, italic, etc.)." +msgid "MENU_BAR_MENU_TEXT" +msgstr "" + +msgctxt "The label of the application menu bar menu containing buttons and features that control the font of the edited content (e.g. font size, font color, etc.)." +msgid "MENU_BAR_MENU_FONT" +msgstr "" + +msgctxt "The accessible label of the editor menu bar used by assistive technologies." +msgid "Editor menu bar" +msgstr "" diff --git a/node_modules/@ckeditor/ckeditor5-ui/lang/translations/sq.po b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/sq.po new file mode 100644 index 0000000..e883a6e --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/sq.po @@ -0,0 +1,210 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Albanian (https://app.transifex.com/ckeditor/teams/11143/sq/)\n" +"Language: sq\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "Redaktues i Tekstit të Pasur" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "Redakto bllokun" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "E radhës" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "Paraprake" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "Kokështrirja e redaktuesit" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "Zgjero kokështrirjen" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "E zezë" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "Ngjyrë hiri" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "E bardhë" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "E kuqe" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "Ngjyrë portokalli" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "E verdhë" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "E gjelbër" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "E kaltër" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "" + +msgctxt "A default label of a dialog window displayed on top the editor." +msgid "Editor dialog" +msgstr "" + +msgctxt "The label and the tooltip for the close button in the dialog header." +msgid "Close" +msgstr "" + +msgctxt "Accessibility help dialog assistive technologies label telling users how to exit the dialog." +msgid "Help Contents. To close this dialog press ESC." +msgstr "" + +msgctxt "Accessibility help dialog text explaining what can be found in that dialog." +msgid "Below, you can find a list of keyboard shortcuts that can be used in the editor." +msgstr "" + +msgctxt "Accessibility help dialog text displayed next to keystrokes that may require the Fn key on Mac." +msgid "(may require Fn)" +msgstr "" + +msgctxt "The label for the button that opens the Accessibility help dialog from the application menu bar." +msgid "Accessibility" +msgstr "" + +msgctxt "Accessibility help dialog title." +msgid "Accessibility help" +msgstr "" + +msgctxt "Assistive technologies label added to each editor editing area informing users about the possibility of opening the accessibility help dialog." +msgid "Press %0 for help." +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for moving focus out of an active dialog window." +msgid "Move focus in and out of an active dialog window" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the whole document (e.g. export to PDF, import from Word, etc.)." +msgid "MENU_BAR_MENU_FILE" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to general editing (e.g. undo, redo, select all, etc.)." +msgid "MENU_BAR_MENU_EDIT" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the view of the editor (e.g. show source)." +msgid "MENU_BAR_MENU_VIEW" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features that insert content (e.g. insert table, insert image, etc.)." +msgid "MENU_BAR_MENU_INSERT" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to content formatting (e.g. bold, font color, heading, etc.)." +msgid "MENU_BAR_MENU_FORMAT" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing various editor tools (e.g. AI assistant, track changes, etc.)." +msgid "MENU_BAR_MENU_TOOLS" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features helping users to learn about the editor (e.g. accessibility help)." +msgid "MENU_BAR_MENU_HELP" +msgstr "" + +msgctxt "The label of the application menu bar menu containing buttons and features that apply formatting to a text (e.g. bold, italic, etc.)." +msgid "MENU_BAR_MENU_TEXT" +msgstr "" + +msgctxt "The label of the application menu bar menu containing buttons and features that control the font of the edited content (e.g. font size, font color, etc.)." +msgid "MENU_BAR_MENU_FONT" +msgstr "" + +msgctxt "The accessible label of the editor menu bar used by assistive technologies." +msgid "Editor menu bar" +msgstr "" diff --git a/node_modules/@ckeditor/ckeditor5-ui/lang/translations/sr-latn.po b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/sr-latn.po new file mode 100644 index 0000000..d327dcd --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/sr-latn.po @@ -0,0 +1,210 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Serbian (Latin) (https://app.transifex.com/ckeditor/teams/11143/sr@latin/)\n" +"Language: sr@latin\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "Prošireni uređivač teksta" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "Oblast za uređivanje urednika: %0" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "Blok uređivač" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "Kliknite da biste uredili blok" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "Prevucite da biste premestili" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "Sledeći" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "Prethodni" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "Uređivač traka sa alatkama" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "Padajuća traka sa alatkama" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "Crna" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "Bledo siva" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "Siva" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "Svetlo siva" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "Bela" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "Crvena" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "Narandžasta" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "Žuta" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "Svetlo zelena" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "Zelena" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "Zelenkastoplava" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "Tirkizna" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "Svetloplava" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "Plava" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "Ljubičasta" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "Traka sa alatkama za blokiranje sadržaja uređivača" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "Kontekstualna traka sa alatkama Editor" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "HEX" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "Nije pronađen nijedan rezultat" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "Nema stavki koje se mogu pretražiti" + +msgctxt "A default label of a dialog window displayed on top the editor." +msgid "Editor dialog" +msgstr "" + +msgctxt "The label and the tooltip for the close button in the dialog header." +msgid "Close" +msgstr "" + +msgctxt "Accessibility help dialog assistive technologies label telling users how to exit the dialog." +msgid "Help Contents. To close this dialog press ESC." +msgstr "" + +msgctxt "Accessibility help dialog text explaining what can be found in that dialog." +msgid "Below, you can find a list of keyboard shortcuts that can be used in the editor." +msgstr "" + +msgctxt "Accessibility help dialog text displayed next to keystrokes that may require the Fn key on Mac." +msgid "(may require Fn)" +msgstr "" + +msgctxt "The label for the button that opens the Accessibility help dialog from the application menu bar." +msgid "Accessibility" +msgstr "" + +msgctxt "Accessibility help dialog title." +msgid "Accessibility help" +msgstr "" + +msgctxt "Assistive technologies label added to each editor editing area informing users about the possibility of opening the accessibility help dialog." +msgid "Press %0 for help." +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for moving focus out of an active dialog window." +msgid "Move focus in and out of an active dialog window" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the whole document (e.g. export to PDF, import from Word, etc.)." +msgid "MENU_BAR_MENU_FILE" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to general editing (e.g. undo, redo, select all, etc.)." +msgid "MENU_BAR_MENU_EDIT" +msgstr "Uredi" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the view of the editor (e.g. show source)." +msgid "MENU_BAR_MENU_VIEW" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features that insert content (e.g. insert table, insert image, etc.)." +msgid "MENU_BAR_MENU_INSERT" +msgstr "Ubaci" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to content formatting (e.g. bold, font color, heading, etc.)." +msgid "MENU_BAR_MENU_FORMAT" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing various editor tools (e.g. AI assistant, track changes, etc.)." +msgid "MENU_BAR_MENU_TOOLS" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features helping users to learn about the editor (e.g. accessibility help)." +msgid "MENU_BAR_MENU_HELP" +msgstr "" + +msgctxt "The label of the application menu bar menu containing buttons and features that apply formatting to a text (e.g. bold, italic, etc.)." +msgid "MENU_BAR_MENU_TEXT" +msgstr "Tekst" + +msgctxt "The label of the application menu bar menu containing buttons and features that control the font of the edited content (e.g. font size, font color, etc.)." +msgid "MENU_BAR_MENU_FONT" +msgstr "" + +msgctxt "The accessible label of the editor menu bar used by assistive technologies." +msgid "Editor menu bar" +msgstr "" diff --git a/node_modules/@ckeditor/ckeditor5-ui/lang/translations/sr.po b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/sr.po new file mode 100644 index 0000000..ee2a61f --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/sr.po @@ -0,0 +1,210 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Serbian (https://app.transifex.com/ckeditor/teams/11143/sr/)\n" +"Language: sr\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "Проширен уређивач текста" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "Област за уређивање уредника: %0" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "Блок уређивач" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "Kliknite da biste uredili blok" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "Prevucite da biste premestili" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "Следећи" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "Претходни" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "Уређивач трака са алаткама" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "Падајућа трака са алаткама" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "Црна" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "Бледо сива" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "Сива" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "Светло сива" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "Бела" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "Црвена" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "Нараџаста" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "Жута" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "Светлозелена" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "Зелена" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "Зеленкастоплава" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "Тиркизна" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "Светлоплава" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "Плава" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "Љубичаста" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "Трака са алаткама за блокирање садржаја уређивача" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "Контекстуална трака са алаткама Едитор" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "HEX" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "Nije pronađen nijedan rezultat" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "Nema stavki koje se mogu pretražiti" + +msgctxt "A default label of a dialog window displayed on top the editor." +msgid "Editor dialog" +msgstr "Dijalog za uređivanje" + +msgctxt "The label and the tooltip for the close button in the dialog header." +msgid "Close" +msgstr "Zatvori" + +msgctxt "Accessibility help dialog assistive technologies label telling users how to exit the dialog." +msgid "Help Contents. To close this dialog press ESC." +msgstr "Sadržaji za pomoć. Kako biste zatvorili ovaj dijalog pritisnite taster ESC." + +msgctxt "Accessibility help dialog text explaining what can be found in that dialog." +msgid "Below, you can find a list of keyboard shortcuts that can be used in the editor." +msgstr "Ispod možete pronaći listu prečica na tastaturi koje se mogu koristiti u uređivaču." + +msgctxt "Accessibility help dialog text displayed next to keystrokes that may require the Fn key on Mac." +msgid "(may require Fn)" +msgstr "(možda će biti neophodan Fn)" + +msgctxt "The label for the button that opens the Accessibility help dialog from the application menu bar." +msgid "Accessibility" +msgstr "Pristupačnost" + +msgctxt "Accessibility help dialog title." +msgid "Accessibility help" +msgstr "Pomoć oko pristupačnosti" + +msgctxt "Assistive technologies label added to each editor editing area informing users about the possibility of opening the accessibility help dialog." +msgid "Press %0 for help." +msgstr "Pritisni %0 za pomoć." + +msgctxt "Keystroke description for assistive technologies: keystroke for moving focus out of an active dialog window." +msgid "Move focus in and out of an active dialog window" +msgstr "Pomeri fokus u i van aktivnog prozora dijaloga" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the whole document (e.g. export to PDF, import from Word, etc.)." +msgid "MENU_BAR_MENU_FILE" +msgstr "Datoteka" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to general editing (e.g. undo, redo, select all, etc.)." +msgid "MENU_BAR_MENU_EDIT" +msgstr "Уреди" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the view of the editor (e.g. show source)." +msgid "MENU_BAR_MENU_VIEW" +msgstr "Prikaži" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features that insert content (e.g. insert table, insert image, etc.)." +msgid "MENU_BAR_MENU_INSERT" +msgstr "Убаци" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to content formatting (e.g. bold, font color, heading, etc.)." +msgid "MENU_BAR_MENU_FORMAT" +msgstr "Format" + +msgctxt "The label of the top-level application menu bar menu containing various editor tools (e.g. AI assistant, track changes, etc.)." +msgid "MENU_BAR_MENU_TOOLS" +msgstr "Alati" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features helping users to learn about the editor (e.g. accessibility help)." +msgid "MENU_BAR_MENU_HELP" +msgstr "Pomoć" + +msgctxt "The label of the application menu bar menu containing buttons and features that apply formatting to a text (e.g. bold, italic, etc.)." +msgid "MENU_BAR_MENU_TEXT" +msgstr "Текст" + +msgctxt "The label of the application menu bar menu containing buttons and features that control the font of the edited content (e.g. font size, font color, etc.)." +msgid "MENU_BAR_MENU_FONT" +msgstr "Font" + +msgctxt "The accessible label of the editor menu bar used by assistive technologies." +msgid "Editor menu bar" +msgstr "Traka menija uređivača" diff --git a/node_modules/@ckeditor/ckeditor5-ui/lang/translations/sv.po b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/sv.po new file mode 100644 index 0000000..5d52dfc --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/sv.po @@ -0,0 +1,210 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Swedish (https://app.transifex.com/ckeditor/teams/11143/sv/)\n" +"Language: sv\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "Rich Text-editor" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "Ordbehandlares redigeringsområde: %0" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "Redigera block" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "Klicka för att redigera blocket" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "Dra för att flytta" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "Nästa" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "Föregående" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "Redigeringsverktygsfält" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "Rullgardinsverktygsfält" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "Svart" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "Dunkelgrå" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "Grå" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "Ljusgrå" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "Vit" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "Röd" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "Orange" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "Gul" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "Ljusgrön" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "Grön" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "Akvamarin" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "Turkos" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "Ljusblå" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "Blå" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "Lila" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "Verktygsfält vid block av innehåll" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "Ordbehandlarens kontextuella verktygsfält" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "HEX" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "Inga resultat hittades" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "Inga sökbara objekt" + +msgctxt "A default label of a dialog window displayed on top the editor." +msgid "Editor dialog" +msgstr "Ordbehandlardialog" + +msgctxt "The label and the tooltip for the close button in the dialog header." +msgid "Close" +msgstr "Stäng" + +msgctxt "Accessibility help dialog assistive technologies label telling users how to exit the dialog." +msgid "Help Contents. To close this dialog press ESC." +msgstr "Hjälpinnehåll. Tryck på ESC för att stänga dialogrutan." + +msgctxt "Accessibility help dialog text explaining what can be found in that dialog." +msgid "Below, you can find a list of keyboard shortcuts that can be used in the editor." +msgstr "Nedan hittar du en lista med kortkommandon som kan användas i redigeraren." + +msgctxt "Accessibility help dialog text displayed next to keystrokes that may require the Fn key on Mac." +msgid "(may require Fn)" +msgstr "(kan kräva Fn)" + +msgctxt "The label for the button that opens the Accessibility help dialog from the application menu bar." +msgid "Accessibility" +msgstr "Tillgänglighet" + +msgctxt "Accessibility help dialog title." +msgid "Accessibility help" +msgstr "Hjälp med tillgänglighet" + +msgctxt "Assistive technologies label added to each editor editing area informing users about the possibility of opening the accessibility help dialog." +msgid "Press %0 for help." +msgstr "Tryck på %0 för hjälp." + +msgctxt "Keystroke description for assistive technologies: keystroke for moving focus out of an active dialog window." +msgid "Move focus in and out of an active dialog window" +msgstr "Flytta fokus till och från en aktiv dialogruta" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the whole document (e.g. export to PDF, import from Word, etc.)." +msgid "MENU_BAR_MENU_FILE" +msgstr "Fil" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to general editing (e.g. undo, redo, select all, etc.)." +msgid "MENU_BAR_MENU_EDIT" +msgstr "Ändra" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the view of the editor (e.g. show source)." +msgid "MENU_BAR_MENU_VIEW" +msgstr "Visa" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features that insert content (e.g. insert table, insert image, etc.)." +msgid "MENU_BAR_MENU_INSERT" +msgstr "Infoga" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to content formatting (e.g. bold, font color, heading, etc.)." +msgid "MENU_BAR_MENU_FORMAT" +msgstr "Format" + +msgctxt "The label of the top-level application menu bar menu containing various editor tools (e.g. AI assistant, track changes, etc.)." +msgid "MENU_BAR_MENU_TOOLS" +msgstr "Verktyg" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features helping users to learn about the editor (e.g. accessibility help)." +msgid "MENU_BAR_MENU_HELP" +msgstr "Hjälp" + +msgctxt "The label of the application menu bar menu containing buttons and features that apply formatting to a text (e.g. bold, italic, etc.)." +msgid "MENU_BAR_MENU_TEXT" +msgstr "Text" + +msgctxt "The label of the application menu bar menu containing buttons and features that control the font of the edited content (e.g. font size, font color, etc.)." +msgid "MENU_BAR_MENU_FONT" +msgstr "Teckensnitt" + +msgctxt "The accessible label of the editor menu bar used by assistive technologies." +msgid "Editor menu bar" +msgstr "Menyfält för redigeraren" diff --git a/node_modules/@ckeditor/ckeditor5-ui/lang/translations/th.po b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/th.po new file mode 100644 index 0000000..3233900 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/th.po @@ -0,0 +1,210 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Thai (https://app.transifex.com/ckeditor/teams/11143/th/)\n" +"Language: th\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "โปรแกรมแก้ไข Rich Text" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "พื้นที่แก้ไขของตัวแก้ไข: %0" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "แก้ไขบล็อก" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "คลิกเพื่อแก้ไขบล็อก" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "ลากเพื่อย้าย" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "ถัดไป" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "ก่อนหน้า" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "แถบเครื่องมือแก้ไข" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "แถบเครื่องมือแบบเลื่อนลง" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "สีดำ" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "สีเทาเข้ม" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "สีเทา" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "สีเทาอ่อน" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "สีขาว" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "สีแดง" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "สีส้ม" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "สีเหลือง" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "สีเขียวอ่อน" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "สีเขียว" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "พลอยสีฟ้า" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "สีเขียวขุ่น" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "สีฟ้า" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "สีน้ำเงิน" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "สีม่วง" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "แถบเครื่องมือแก้ไขบล็อกเนื้อหา" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "แถบเครื่องมือแก้ไขข้อความ" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "HEX" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "ไม่พบผลลัพธ์" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "ไม่มีรายการที่สามารถค้นหาได้" + +msgctxt "A default label of a dialog window displayed on top the editor." +msgid "Editor dialog" +msgstr "การสนทนาของบรรณาธิการ" + +msgctxt "The label and the tooltip for the close button in the dialog header." +msgid "Close" +msgstr "ปิด" + +msgctxt "Accessibility help dialog assistive technologies label telling users how to exit the dialog." +msgid "Help Contents. To close this dialog press ESC." +msgstr "เนื้อหาความช่วยเหลือ หากต้องการปิดกล่องโต้ตอบนี้ ให้กดปุ่ม ESC" + +msgctxt "Accessibility help dialog text explaining what can be found in that dialog." +msgid "Below, you can find a list of keyboard shortcuts that can be used in the editor." +msgstr "ด้านล่างนี้ คุณจะพบกับรายการแป้นพิมพ์ลัดที่สามารถใช้ในตัวแก้ไขได้" + +msgctxt "Accessibility help dialog text displayed next to keystrokes that may require the Fn key on Mac." +msgid "(may require Fn)" +msgstr "(อาจจำเป็นต้องมี Fn)" + +msgctxt "The label for the button that opens the Accessibility help dialog from the application menu bar." +msgid "Accessibility" +msgstr "การเข้าถึง" + +msgctxt "Accessibility help dialog title." +msgid "Accessibility help" +msgstr "ความช่วยเหลือการเข้าถึง" + +msgctxt "Assistive technologies label added to each editor editing area informing users about the possibility of opening the accessibility help dialog." +msgid "Press %0 for help." +msgstr "กด %0 เพื่อความช่วยเหลือ" + +msgctxt "Keystroke description for assistive technologies: keystroke for moving focus out of an active dialog window." +msgid "Move focus in and out of an active dialog window" +msgstr "ย้ายโฟกัสเข้าและออกจากกล่องโต้ตอบที่ใช้งานอยู่" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the whole document (e.g. export to PDF, import from Word, etc.)." +msgid "MENU_BAR_MENU_FILE" +msgstr "ไฟล์" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to general editing (e.g. undo, redo, select all, etc.)." +msgid "MENU_BAR_MENU_EDIT" +msgstr "แก้ไข" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the view of the editor (e.g. show source)." +msgid "MENU_BAR_MENU_VIEW" +msgstr "ดู" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features that insert content (e.g. insert table, insert image, etc.)." +msgid "MENU_BAR_MENU_INSERT" +msgstr "แทรก" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to content formatting (e.g. bold, font color, heading, etc.)." +msgid "MENU_BAR_MENU_FORMAT" +msgstr "รูปแบบ" + +msgctxt "The label of the top-level application menu bar menu containing various editor tools (e.g. AI assistant, track changes, etc.)." +msgid "MENU_BAR_MENU_TOOLS" +msgstr "เครื่องมือ" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features helping users to learn about the editor (e.g. accessibility help)." +msgid "MENU_BAR_MENU_HELP" +msgstr "ช่วยเหลือ" + +msgctxt "The label of the application menu bar menu containing buttons and features that apply formatting to a text (e.g. bold, italic, etc.)." +msgid "MENU_BAR_MENU_TEXT" +msgstr "ข้อความ" + +msgctxt "The label of the application menu bar menu containing buttons and features that control the font of the edited content (e.g. font size, font color, etc.)." +msgid "MENU_BAR_MENU_FONT" +msgstr "แบบอักษร" + +msgctxt "The accessible label of the editor menu bar used by assistive technologies." +msgid "Editor menu bar" +msgstr "แถบเมนูตัวแก้ไข" diff --git a/node_modules/@ckeditor/ckeditor5-ui/lang/translations/tk.po b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/tk.po new file mode 100644 index 0000000..953878f --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/tk.po @@ -0,0 +1,210 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Turkmen (https://app.transifex.com/ckeditor/teams/11143/tk/)\n" +"Language: tk\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "Baý Tekst Redaktory" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "Bloky redaktirläň" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "Indiki" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "Öňki" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "Redaktor gurallar paneli" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "Açylýan gurallar paneli" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "Gara" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "Goýy çal" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "Çal" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "Açyk çal" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "Ak" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "Gyzyl" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "Mämişi" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "Sary" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "Açyk ýaşyl" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "Ýaşyl" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "Akuamarin" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "Turkuaz" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "Açyk gök" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "Gök" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "Gyrmyzy" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "" + +msgctxt "A default label of a dialog window displayed on top the editor." +msgid "Editor dialog" +msgstr "" + +msgctxt "The label and the tooltip for the close button in the dialog header." +msgid "Close" +msgstr "" + +msgctxt "Accessibility help dialog assistive technologies label telling users how to exit the dialog." +msgid "Help Contents. To close this dialog press ESC." +msgstr "" + +msgctxt "Accessibility help dialog text explaining what can be found in that dialog." +msgid "Below, you can find a list of keyboard shortcuts that can be used in the editor." +msgstr "" + +msgctxt "Accessibility help dialog text displayed next to keystrokes that may require the Fn key on Mac." +msgid "(may require Fn)" +msgstr "" + +msgctxt "The label for the button that opens the Accessibility help dialog from the application menu bar." +msgid "Accessibility" +msgstr "" + +msgctxt "Accessibility help dialog title." +msgid "Accessibility help" +msgstr "" + +msgctxt "Assistive technologies label added to each editor editing area informing users about the possibility of opening the accessibility help dialog." +msgid "Press %0 for help." +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for moving focus out of an active dialog window." +msgid "Move focus in and out of an active dialog window" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the whole document (e.g. export to PDF, import from Word, etc.)." +msgid "MENU_BAR_MENU_FILE" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to general editing (e.g. undo, redo, select all, etc.)." +msgid "MENU_BAR_MENU_EDIT" +msgstr "Redaktirläň" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the view of the editor (e.g. show source)." +msgid "MENU_BAR_MENU_VIEW" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features that insert content (e.g. insert table, insert image, etc.)." +msgid "MENU_BAR_MENU_INSERT" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to content formatting (e.g. bold, font color, heading, etc.)." +msgid "MENU_BAR_MENU_FORMAT" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing various editor tools (e.g. AI assistant, track changes, etc.)." +msgid "MENU_BAR_MENU_TOOLS" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features helping users to learn about the editor (e.g. accessibility help)." +msgid "MENU_BAR_MENU_HELP" +msgstr "" + +msgctxt "The label of the application menu bar menu containing buttons and features that apply formatting to a text (e.g. bold, italic, etc.)." +msgid "MENU_BAR_MENU_TEXT" +msgstr "" + +msgctxt "The label of the application menu bar menu containing buttons and features that control the font of the edited content (e.g. font size, font color, etc.)." +msgid "MENU_BAR_MENU_FONT" +msgstr "" + +msgctxt "The accessible label of the editor menu bar used by assistive technologies." +msgid "Editor menu bar" +msgstr "" diff --git a/node_modules/@ckeditor/ckeditor5-ui/lang/translations/tr.po b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/tr.po new file mode 100644 index 0000000..b2e1db0 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/tr.po @@ -0,0 +1,210 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Turkish (https://app.transifex.com/ckeditor/teams/11143/tr/)\n" +"Language: tr\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "Zengin İçerik Editörü" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "Editör düzenleme alanı: %0" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "Bloğu Düzenle" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "Bloğu düzenlemek için tıkla" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "Taşımak için sürükle" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "Sonraki" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "Önceki" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "Düzenleme araç çubuğu" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "Açılır araç çubuğu" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "Siyah" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "Koyu Gri" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "Gri" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "Açık Gri" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "Beyaz" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "Kırmızı" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "Turuncu" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "Sarı" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "Açık Yeşil" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "Yeşil" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "Su Yeşili" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "Turkuaz" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "Açık Mavi" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "Mavi" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "Mor" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "Düzenleyici engelleme içerik araç çubuğu" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "Düzenleyici içeriksel araç çubuğu" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "ONALTILIK" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "Sonuç bulunamadı" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "Aranabilir öge yok" + +msgctxt "A default label of a dialog window displayed on top the editor." +msgid "Editor dialog" +msgstr "Düzenleyici iletişim kutusu" + +msgctxt "The label and the tooltip for the close button in the dialog header." +msgid "Close" +msgstr "Kapat" + +msgctxt "Accessibility help dialog assistive technologies label telling users how to exit the dialog." +msgid "Help Contents. To close this dialog press ESC." +msgstr "Yardım İçerikleri. Bu iletişim kutusunu kapatmak için ESC tuşuna basın." + +msgctxt "Accessibility help dialog text explaining what can be found in that dialog." +msgid "Below, you can find a list of keyboard shortcuts that can be used in the editor." +msgstr "Aşağıda editörde kullanılabilecek klavye kısayollarının bir listesini bulabilirsiniz." + +msgctxt "Accessibility help dialog text displayed next to keystrokes that may require the Fn key on Mac." +msgid "(may require Fn)" +msgstr "(Fn gerekebilir)" + +msgctxt "The label for the button that opens the Accessibility help dialog from the application menu bar." +msgid "Accessibility" +msgstr "Erişilebilirlik" + +msgctxt "Accessibility help dialog title." +msgid "Accessibility help" +msgstr "Erişilebilirlik yardımı" + +msgctxt "Assistive technologies label added to each editor editing area informing users about the possibility of opening the accessibility help dialog." +msgid "Press %0 for help." +msgstr "Yardım için %0 tuşuna basın." + +msgctxt "Keystroke description for assistive technologies: keystroke for moving focus out of an active dialog window." +msgid "Move focus in and out of an active dialog window" +msgstr "Odağı etkin iletişim penceresinin içine ve dışına taşı" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the whole document (e.g. export to PDF, import from Word, etc.)." +msgid "MENU_BAR_MENU_FILE" +msgstr "Dosya" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to general editing (e.g. undo, redo, select all, etc.)." +msgid "MENU_BAR_MENU_EDIT" +msgstr "Düzenle" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the view of the editor (e.g. show source)." +msgid "MENU_BAR_MENU_VIEW" +msgstr "Görüntüle" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features that insert content (e.g. insert table, insert image, etc.)." +msgid "MENU_BAR_MENU_INSERT" +msgstr "Ekle" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to content formatting (e.g. bold, font color, heading, etc.)." +msgid "MENU_BAR_MENU_FORMAT" +msgstr "Biçim" + +msgctxt "The label of the top-level application menu bar menu containing various editor tools (e.g. AI assistant, track changes, etc.)." +msgid "MENU_BAR_MENU_TOOLS" +msgstr "Araçlar" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features helping users to learn about the editor (e.g. accessibility help)." +msgid "MENU_BAR_MENU_HELP" +msgstr "Yardım" + +msgctxt "The label of the application menu bar menu containing buttons and features that apply formatting to a text (e.g. bold, italic, etc.)." +msgid "MENU_BAR_MENU_TEXT" +msgstr "Metin" + +msgctxt "The label of the application menu bar menu containing buttons and features that control the font of the edited content (e.g. font size, font color, etc.)." +msgid "MENU_BAR_MENU_FONT" +msgstr "Yazı Tipi" + +msgctxt "The accessible label of the editor menu bar used by assistive technologies." +msgid "Editor menu bar" +msgstr "Düzenleyici menü çubuğu" diff --git a/node_modules/@ckeditor/ckeditor5-ui/lang/translations/tt.po b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/tt.po new file mode 100644 index 0000000..8bb6dee --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/tt.po @@ -0,0 +1,210 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Tatar (https://app.transifex.com/ckeditor/teams/11143/tt/)\n" +"Language: tt\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "Кара" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "Соры" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "Ачык соры" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "Ак" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "Кызыл" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "Кызгылт" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "Сары" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "Ачык яшел" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "Яшел" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "Аквамарин" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "Фервоз" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "Ачык зәңгәр" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "Зәңгәр" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "Шәмәхә" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "" + +msgctxt "A default label of a dialog window displayed on top the editor." +msgid "Editor dialog" +msgstr "" + +msgctxt "The label and the tooltip for the close button in the dialog header." +msgid "Close" +msgstr "" + +msgctxt "Accessibility help dialog assistive technologies label telling users how to exit the dialog." +msgid "Help Contents. To close this dialog press ESC." +msgstr "" + +msgctxt "Accessibility help dialog text explaining what can be found in that dialog." +msgid "Below, you can find a list of keyboard shortcuts that can be used in the editor." +msgstr "" + +msgctxt "Accessibility help dialog text displayed next to keystrokes that may require the Fn key on Mac." +msgid "(may require Fn)" +msgstr "" + +msgctxt "The label for the button that opens the Accessibility help dialog from the application menu bar." +msgid "Accessibility" +msgstr "" + +msgctxt "Accessibility help dialog title." +msgid "Accessibility help" +msgstr "" + +msgctxt "Assistive technologies label added to each editor editing area informing users about the possibility of opening the accessibility help dialog." +msgid "Press %0 for help." +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for moving focus out of an active dialog window." +msgid "Move focus in and out of an active dialog window" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the whole document (e.g. export to PDF, import from Word, etc.)." +msgid "MENU_BAR_MENU_FILE" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to general editing (e.g. undo, redo, select all, etc.)." +msgid "MENU_BAR_MENU_EDIT" +msgstr "Редакцияләү" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the view of the editor (e.g. show source)." +msgid "MENU_BAR_MENU_VIEW" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features that insert content (e.g. insert table, insert image, etc.)." +msgid "MENU_BAR_MENU_INSERT" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to content formatting (e.g. bold, font color, heading, etc.)." +msgid "MENU_BAR_MENU_FORMAT" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing various editor tools (e.g. AI assistant, track changes, etc.)." +msgid "MENU_BAR_MENU_TOOLS" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features helping users to learn about the editor (e.g. accessibility help)." +msgid "MENU_BAR_MENU_HELP" +msgstr "" + +msgctxt "The label of the application menu bar menu containing buttons and features that apply formatting to a text (e.g. bold, italic, etc.)." +msgid "MENU_BAR_MENU_TEXT" +msgstr "" + +msgctxt "The label of the application menu bar menu containing buttons and features that control the font of the edited content (e.g. font size, font color, etc.)." +msgid "MENU_BAR_MENU_FONT" +msgstr "" + +msgctxt "The accessible label of the editor menu bar used by assistive technologies." +msgid "Editor menu bar" +msgstr "" diff --git a/node_modules/@ckeditor/ckeditor5-ui/lang/translations/ug.po b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/ug.po new file mode 100644 index 0000000..ca618ab --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/ug.po @@ -0,0 +1,210 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Uyghur (https://app.transifex.com/ckeditor/teams/11143/ug/)\n" +"Language: ug\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "تېكىست تەھرىرلىگۈچ" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "تەھرىرلىگۈچ تەھرىرلەش رايونى: %0" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "بۆلەك تەھرىر" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "چېكىلسە بۆلەك تەھرىرلىنىدۇ" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "يۆتكەشتە سۆرىلىدۇ" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "كېيىنكى" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "ئالدىنقى" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "تەھرىرلىگۈچ قورال بالداق" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "سىرىلما قورال بالداق" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "قارا" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "سۇس كۈلرەڭ" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "كۈلرەڭ" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "ئوچۇق كۈلرەڭ" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "ئاق" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "قىزىل" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "قىزغۇچ سېرىق" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "سېرىق" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "ئوچۇق يېشىل" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "يېشىل" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "دېڭىز كۆكى" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "ئوچۇق كۆك" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "كۆك" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "بىنەپشە" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "تەھرىرلىگۈچ بۆلىكى مەزمۇن قورال بالداق" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "تەھرىرلىگۈچ مەزمۇن قورال بالداق" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "ھېچقانداق نەتىجە تېپىلمىدى" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "ئىزدىگۈدەك تۈر يوق" + +msgctxt "A default label of a dialog window displayed on top the editor." +msgid "Editor dialog" +msgstr "" + +msgctxt "The label and the tooltip for the close button in the dialog header." +msgid "Close" +msgstr "" + +msgctxt "Accessibility help dialog assistive technologies label telling users how to exit the dialog." +msgid "Help Contents. To close this dialog press ESC." +msgstr "" + +msgctxt "Accessibility help dialog text explaining what can be found in that dialog." +msgid "Below, you can find a list of keyboard shortcuts that can be used in the editor." +msgstr "" + +msgctxt "Accessibility help dialog text displayed next to keystrokes that may require the Fn key on Mac." +msgid "(may require Fn)" +msgstr "" + +msgctxt "The label for the button that opens the Accessibility help dialog from the application menu bar." +msgid "Accessibility" +msgstr "" + +msgctxt "Accessibility help dialog title." +msgid "Accessibility help" +msgstr "" + +msgctxt "Assistive technologies label added to each editor editing area informing users about the possibility of opening the accessibility help dialog." +msgid "Press %0 for help." +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for moving focus out of an active dialog window." +msgid "Move focus in and out of an active dialog window" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the whole document (e.g. export to PDF, import from Word, etc.)." +msgid "MENU_BAR_MENU_FILE" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to general editing (e.g. undo, redo, select all, etc.)." +msgid "MENU_BAR_MENU_EDIT" +msgstr "تەھرىرلەش" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the view of the editor (e.g. show source)." +msgid "MENU_BAR_MENU_VIEW" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features that insert content (e.g. insert table, insert image, etc.)." +msgid "MENU_BAR_MENU_INSERT" +msgstr "قىستۇر" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to content formatting (e.g. bold, font color, heading, etc.)." +msgid "MENU_BAR_MENU_FORMAT" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing various editor tools (e.g. AI assistant, track changes, etc.)." +msgid "MENU_BAR_MENU_TOOLS" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features helping users to learn about the editor (e.g. accessibility help)." +msgid "MENU_BAR_MENU_HELP" +msgstr "" + +msgctxt "The label of the application menu bar menu containing buttons and features that apply formatting to a text (e.g. bold, italic, etc.)." +msgid "MENU_BAR_MENU_TEXT" +msgstr "" + +msgctxt "The label of the application menu bar menu containing buttons and features that control the font of the edited content (e.g. font size, font color, etc.)." +msgid "MENU_BAR_MENU_FONT" +msgstr "" + +msgctxt "The accessible label of the editor menu bar used by assistive technologies." +msgid "Editor menu bar" +msgstr "" diff --git a/node_modules/@ckeditor/ckeditor5-ui/lang/translations/uk.po b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/uk.po new file mode 100644 index 0000000..4ba2217 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/uk.po @@ -0,0 +1,210 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Ukrainian (https://app.transifex.com/ckeditor/teams/11143/uk/)\n" +"Language: uk\n" +"Plural-Forms: nplurals=4; plural=(n % 1 == 0 && n % 10 == 1 && n % 100 != 11 ? 0 : n % 1 == 0 && n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14) ? 1 : n % 1 == 0 && (n % 10 ==0 || (n % 10 >=5 && n % 10 <=9) || (n % 100 >=11 && n % 100 <=14 )) ? 2: 3);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "Розширений текстовий редактор" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "Область редагування редактора: %0" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "Редагувати блок" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "Клацніть, щоб редагувати блок" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "Потягніть, щоб перемістити" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "Наступний" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "Попередній" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "Панель інструментів редактора" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "Випадаюча панель інструментів" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "Чорний" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "Темно-сірий" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "Сірий" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "Світло-сірий" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "Білий" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "Червоний" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "Помаранчевий" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "Жовтий" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "Світло-зелений" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "Зелений" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "Аквамариновий" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "Бірюзовий" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "Світло-синій" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "Синій" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "Фіолетовий" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "Панель інструментів вмісту блоку редактора" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "Контекстна панель інструментів редактора" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "Шістнадцятковий" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "Нічого не знайдено" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "Немає шуканих об'єктів" + +msgctxt "A default label of a dialog window displayed on top the editor." +msgid "Editor dialog" +msgstr "Діалогове вікно редактора" + +msgctxt "The label and the tooltip for the close button in the dialog header." +msgid "Close" +msgstr "Закрити" + +msgctxt "Accessibility help dialog assistive technologies label telling users how to exit the dialog." +msgid "Help Contents. To close this dialog press ESC." +msgstr "Зміст довідки. Щоб закрити це діалогове вікно, натисніть ESC." + +msgctxt "Accessibility help dialog text explaining what can be found in that dialog." +msgid "Below, you can find a list of keyboard shortcuts that can be used in the editor." +msgstr "Нижче ви можете знайти список комбінацій клавіш, які можна використовувати в редакторі." + +msgctxt "Accessibility help dialog text displayed next to keystrokes that may require the Fn key on Mac." +msgid "(may require Fn)" +msgstr "(може вимагати Fn)" + +msgctxt "The label for the button that opens the Accessibility help dialog from the application menu bar." +msgid "Accessibility" +msgstr "Доступність" + +msgctxt "Accessibility help dialog title." +msgid "Accessibility help" +msgstr "Довідка щодо доступності" + +msgctxt "Assistive technologies label added to each editor editing area informing users about the possibility of opening the accessibility help dialog." +msgid "Press %0 for help." +msgstr "Натисніть %0 для довідки." + +msgctxt "Keystroke description for assistive technologies: keystroke for moving focus out of an active dialog window." +msgid "Move focus in and out of an active dialog window" +msgstr "Переміщення фокуса в активному діалоговому вікні та з нього" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the whole document (e.g. export to PDF, import from Word, etc.)." +msgid "MENU_BAR_MENU_FILE" +msgstr "Файл" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to general editing (e.g. undo, redo, select all, etc.)." +msgid "MENU_BAR_MENU_EDIT" +msgstr "Редагувати" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the view of the editor (e.g. show source)." +msgid "MENU_BAR_MENU_VIEW" +msgstr "Представлення" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features that insert content (e.g. insert table, insert image, etc.)." +msgid "MENU_BAR_MENU_INSERT" +msgstr "Вставити" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to content formatting (e.g. bold, font color, heading, etc.)." +msgid "MENU_BAR_MENU_FORMAT" +msgstr "Формат" + +msgctxt "The label of the top-level application menu bar menu containing various editor tools (e.g. AI assistant, track changes, etc.)." +msgid "MENU_BAR_MENU_TOOLS" +msgstr "Інструменти" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features helping users to learn about the editor (e.g. accessibility help)." +msgid "MENU_BAR_MENU_HELP" +msgstr "Допомога" + +msgctxt "The label of the application menu bar menu containing buttons and features that apply formatting to a text (e.g. bold, italic, etc.)." +msgid "MENU_BAR_MENU_TEXT" +msgstr "Текст" + +msgctxt "The label of the application menu bar menu containing buttons and features that control the font of the edited content (e.g. font size, font color, etc.)." +msgid "MENU_BAR_MENU_FONT" +msgstr "Шрифт" + +msgctxt "The accessible label of the editor menu bar used by assistive technologies." +msgid "Editor menu bar" +msgstr "Рядок меню редагування" diff --git a/node_modules/@ckeditor/ckeditor5-ui/lang/translations/ur.po b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/ur.po new file mode 100644 index 0000000..5a512dd --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/ur.po @@ -0,0 +1,210 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Urdu (https://app.transifex.com/ckeditor/teams/11143/ur/)\n" +"Language: ur\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "خانۂ ترمیم" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "رقبہ خانۂ ترمیم: 0%" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "خانہ کی تدوین" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "اگلا" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "پچھلا" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "ایڈیٹر آلہ جات" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "آلہ جات برائے فہرست " + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "سیاہ" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "پھیکا سرمئی" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "سرمئی" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "ہلکا سرمئی" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "سفید" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "سرخ" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "نارنجی" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "پیلا" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "ہلکا سبز" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "سبز" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "نیلگوں بلور" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "فیروزی" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "ہلکا نیلا" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "نیلا" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "ارغوانی" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "" + +msgctxt "A default label of a dialog window displayed on top the editor." +msgid "Editor dialog" +msgstr "" + +msgctxt "The label and the tooltip for the close button in the dialog header." +msgid "Close" +msgstr "" + +msgctxt "Accessibility help dialog assistive technologies label telling users how to exit the dialog." +msgid "Help Contents. To close this dialog press ESC." +msgstr "" + +msgctxt "Accessibility help dialog text explaining what can be found in that dialog." +msgid "Below, you can find a list of keyboard shortcuts that can be used in the editor." +msgstr "" + +msgctxt "Accessibility help dialog text displayed next to keystrokes that may require the Fn key on Mac." +msgid "(may require Fn)" +msgstr "" + +msgctxt "The label for the button that opens the Accessibility help dialog from the application menu bar." +msgid "Accessibility" +msgstr "" + +msgctxt "Accessibility help dialog title." +msgid "Accessibility help" +msgstr "" + +msgctxt "Assistive technologies label added to each editor editing area informing users about the possibility of opening the accessibility help dialog." +msgid "Press %0 for help." +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for moving focus out of an active dialog window." +msgid "Move focus in and out of an active dialog window" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the whole document (e.g. export to PDF, import from Word, etc.)." +msgid "MENU_BAR_MENU_FILE" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to general editing (e.g. undo, redo, select all, etc.)." +msgid "MENU_BAR_MENU_EDIT" +msgstr "ترمیم" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the view of the editor (e.g. show source)." +msgid "MENU_BAR_MENU_VIEW" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features that insert content (e.g. insert table, insert image, etc.)." +msgid "MENU_BAR_MENU_INSERT" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to content formatting (e.g. bold, font color, heading, etc.)." +msgid "MENU_BAR_MENU_FORMAT" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing various editor tools (e.g. AI assistant, track changes, etc.)." +msgid "MENU_BAR_MENU_TOOLS" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features helping users to learn about the editor (e.g. accessibility help)." +msgid "MENU_BAR_MENU_HELP" +msgstr "" + +msgctxt "The label of the application menu bar menu containing buttons and features that apply formatting to a text (e.g. bold, italic, etc.)." +msgid "MENU_BAR_MENU_TEXT" +msgstr "" + +msgctxt "The label of the application menu bar menu containing buttons and features that control the font of the edited content (e.g. font size, font color, etc.)." +msgid "MENU_BAR_MENU_FONT" +msgstr "" + +msgctxt "The accessible label of the editor menu bar used by assistive technologies." +msgid "Editor menu bar" +msgstr "" diff --git a/node_modules/@ckeditor/ckeditor5-ui/lang/translations/uz.po b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/uz.po new file mode 100644 index 0000000..cc45cd2 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/uz.po @@ -0,0 +1,210 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Uzbek (https://app.transifex.com/ckeditor/teams/11143/uz/)\n" +"Language: uz\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "Tahrirlovchi" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "Blokni tahrirlash" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "Keyingi" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "Oldingi" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "Tahrirlovchi asboblar paneli" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "Ochiladigan asboblar paneli" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "Qora" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "To'q kulrang" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "Kulrang" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "Och kulrang" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "Oq" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "Qizil" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "To'q sariq" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "Sariq" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "Och yashil" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "Yashil" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "Akuamarin" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "Turkuaz" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "Moviy" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "Ko'k" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "Siyohrang" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "" + +msgctxt "A default label of a dialog window displayed on top the editor." +msgid "Editor dialog" +msgstr "" + +msgctxt "The label and the tooltip for the close button in the dialog header." +msgid "Close" +msgstr "" + +msgctxt "Accessibility help dialog assistive technologies label telling users how to exit the dialog." +msgid "Help Contents. To close this dialog press ESC." +msgstr "" + +msgctxt "Accessibility help dialog text explaining what can be found in that dialog." +msgid "Below, you can find a list of keyboard shortcuts that can be used in the editor." +msgstr "" + +msgctxt "Accessibility help dialog text displayed next to keystrokes that may require the Fn key on Mac." +msgid "(may require Fn)" +msgstr "" + +msgctxt "The label for the button that opens the Accessibility help dialog from the application menu bar." +msgid "Accessibility" +msgstr "" + +msgctxt "Accessibility help dialog title." +msgid "Accessibility help" +msgstr "" + +msgctxt "Assistive technologies label added to each editor editing area informing users about the possibility of opening the accessibility help dialog." +msgid "Press %0 for help." +msgstr "" + +msgctxt "Keystroke description for assistive technologies: keystroke for moving focus out of an active dialog window." +msgid "Move focus in and out of an active dialog window" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the whole document (e.g. export to PDF, import from Word, etc.)." +msgid "MENU_BAR_MENU_FILE" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to general editing (e.g. undo, redo, select all, etc.)." +msgid "MENU_BAR_MENU_EDIT" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the view of the editor (e.g. show source)." +msgid "MENU_BAR_MENU_VIEW" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features that insert content (e.g. insert table, insert image, etc.)." +msgid "MENU_BAR_MENU_INSERT" +msgstr "Kiritish" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to content formatting (e.g. bold, font color, heading, etc.)." +msgid "MENU_BAR_MENU_FORMAT" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing various editor tools (e.g. AI assistant, track changes, etc.)." +msgid "MENU_BAR_MENU_TOOLS" +msgstr "" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features helping users to learn about the editor (e.g. accessibility help)." +msgid "MENU_BAR_MENU_HELP" +msgstr "" + +msgctxt "The label of the application menu bar menu containing buttons and features that apply formatting to a text (e.g. bold, italic, etc.)." +msgid "MENU_BAR_MENU_TEXT" +msgstr "" + +msgctxt "The label of the application menu bar menu containing buttons and features that control the font of the edited content (e.g. font size, font color, etc.)." +msgid "MENU_BAR_MENU_FONT" +msgstr "" + +msgctxt "The accessible label of the editor menu bar used by assistive technologies." +msgid "Editor menu bar" +msgstr "" diff --git a/node_modules/@ckeditor/ckeditor5-ui/lang/translations/vi.po b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/vi.po new file mode 100644 index 0000000..1bf6b97 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/vi.po @@ -0,0 +1,210 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Vietnamese (https://app.transifex.com/ckeditor/teams/11143/vi/)\n" +"Language: vi\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "Trình soạn thảo văn bản" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "Vùng chỉnh sửa của trình chỉnh sửa: %0" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "Chỉnh sửa đoạn" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "Nhấp để sửa khối" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "Kéo để di chuyển" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "Tiếp theo" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "Quay lại" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "Thanh công cụ biên tập" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "Thanh công cụ danh mục" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "Đen" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "Xám mờ" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "Xám" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "Xám nhạt" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "Trắng" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "Đỏ" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "Cam" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "Vàng" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "Xanh lá nhạt" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "Xanh lá" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "Xanh ngọc biển" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "Xanh ngọc bích" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "Xanh dương" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "Xanh biển" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "Tím" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "Thanh công cụ chỉnh sửa khối nội dung" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "Thanh công cụ chỉnh sửa theo ngữ cảnh" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "HEX" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "Không tìm thấy kết quả" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "Không có mục nào tìm kiếm được" + +msgctxt "A default label of a dialog window displayed on top the editor." +msgid "Editor dialog" +msgstr "Hộp thoại trình biên tập" + +msgctxt "The label and the tooltip for the close button in the dialog header." +msgid "Close" +msgstr "Đóng" + +msgctxt "Accessibility help dialog assistive technologies label telling users how to exit the dialog." +msgid "Help Contents. To close this dialog press ESC." +msgstr "Nội dung Trợ giúp. Nhấn phím ESC để đóng hộp thoại này." + +msgctxt "Accessibility help dialog text explaining what can be found in that dialog." +msgid "Below, you can find a list of keyboard shortcuts that can be used in the editor." +msgstr "Dưới đây, bạn có thể tìm thấy danh sách các phím tắt mà bạn có thể dùng trong trình biên tập này." + +msgctxt "Accessibility help dialog text displayed next to keystrokes that may require the Fn key on Mac." +msgid "(may require Fn)" +msgstr "(có thể cần nhấn phím Fn)" + +msgctxt "The label for the button that opens the Accessibility help dialog from the application menu bar." +msgid "Accessibility" +msgstr "Trợ năng" + +msgctxt "Accessibility help dialog title." +msgid "Accessibility help" +msgstr "Trợ giúp về khả năng truy cập" + +msgctxt "Assistive technologies label added to each editor editing area informing users about the possibility of opening the accessibility help dialog." +msgid "Press %0 for help." +msgstr "Nhấn %0 để được trợ giúp." + +msgctxt "Keystroke description for assistive technologies: keystroke for moving focus out of an active dialog window." +msgid "Move focus in and out of an active dialog window" +msgstr "Di chuyển tiêu điểm vào và ra khỏi cửa sổ hộp thoại đang kích hoạt" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the whole document (e.g. export to PDF, import from Word, etc.)." +msgid "MENU_BAR_MENU_FILE" +msgstr "Tệp" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to general editing (e.g. undo, redo, select all, etc.)." +msgid "MENU_BAR_MENU_EDIT" +msgstr "Chỉnh sửa" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the view of the editor (e.g. show source)." +msgid "MENU_BAR_MENU_VIEW" +msgstr "Xem" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features that insert content (e.g. insert table, insert image, etc.)." +msgid "MENU_BAR_MENU_INSERT" +msgstr "Chèn" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to content formatting (e.g. bold, font color, heading, etc.)." +msgid "MENU_BAR_MENU_FORMAT" +msgstr "Định dạng" + +msgctxt "The label of the top-level application menu bar menu containing various editor tools (e.g. AI assistant, track changes, etc.)." +msgid "MENU_BAR_MENU_TOOLS" +msgstr "Công cụ" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features helping users to learn about the editor (e.g. accessibility help)." +msgid "MENU_BAR_MENU_HELP" +msgstr "Trợ giúp" + +msgctxt "The label of the application menu bar menu containing buttons and features that apply formatting to a text (e.g. bold, italic, etc.)." +msgid "MENU_BAR_MENU_TEXT" +msgstr "Văn bản" + +msgctxt "The label of the application menu bar menu containing buttons and features that control the font of the edited content (e.g. font size, font color, etc.)." +msgid "MENU_BAR_MENU_FONT" +msgstr "Phông chữ" + +msgctxt "The accessible label of the editor menu bar used by assistive technologies." +msgid "Editor menu bar" +msgstr "Thanh menu Trình soạn thảo" diff --git a/node_modules/@ckeditor/ckeditor5-ui/lang/translations/zh-cn.po b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/zh-cn.po new file mode 100644 index 0000000..c13c783 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/zh-cn.po @@ -0,0 +1,210 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Chinese (China) (https://app.transifex.com/ckeditor/teams/11143/zh_CN/)\n" +"Language: zh_CN\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "富文本编辑器" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "编辑器编辑区域:%0" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "编辑框" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "单击以编辑块" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "拖拽以移动" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "下一步" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "上一步" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "编辑器工具栏" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "下拉工具栏" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "黑色" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "暗灰色" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "灰色" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "浅灰色" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "白色" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "红色" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "橙色" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "黄色" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "浅绿色" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "绿色" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "海蓝色" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "青色" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "浅蓝色" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "蓝色" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "紫色" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "编辑器块内容工具栏" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "编辑器上下文工具栏" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "十六进制" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "未找到结果" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "没有可搜索的项目" + +msgctxt "A default label of a dialog window displayed on top the editor." +msgid "Editor dialog" +msgstr "编辑器对话框" + +msgctxt "The label and the tooltip for the close button in the dialog header." +msgid "Close" +msgstr "关闭" + +msgctxt "Accessibility help dialog assistive technologies label telling users how to exit the dialog." +msgid "Help Contents. To close this dialog press ESC." +msgstr "帮助内容。要关闭此对话框,请按 ESC 键。" + +msgctxt "Accessibility help dialog text explaining what can be found in that dialog." +msgid "Below, you can find a list of keyboard shortcuts that can be used in the editor." +msgstr "您可以在下方找到可在编辑器中使用的键盘快捷键列表。" + +msgctxt "Accessibility help dialog text displayed next to keystrokes that may require the Fn key on Mac." +msgid "(may require Fn)" +msgstr "(可能需要用到 Fn键)" + +msgctxt "The label for the button that opens the Accessibility help dialog from the application menu bar." +msgid "Accessibility" +msgstr "可访问性" + +msgctxt "Accessibility help dialog title." +msgid "Accessibility help" +msgstr "无障碍辅助功能帮助" + +msgctxt "Assistive technologies label added to each editor editing area informing users about the possibility of opening the accessibility help dialog." +msgid "Press %0 for help." +msgstr "按 %0 获取帮助。" + +msgctxt "Keystroke description for assistive technologies: keystroke for moving focus out of an active dialog window." +msgid "Move focus in and out of an active dialog window" +msgstr "将焦点移入或移出活跃的对话框窗口" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the whole document (e.g. export to PDF, import from Word, etc.)." +msgid "MENU_BAR_MENU_FILE" +msgstr "文件" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to general editing (e.g. undo, redo, select all, etc.)." +msgid "MENU_BAR_MENU_EDIT" +msgstr "编辑" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the view of the editor (e.g. show source)." +msgid "MENU_BAR_MENU_VIEW" +msgstr "查看" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features that insert content (e.g. insert table, insert image, etc.)." +msgid "MENU_BAR_MENU_INSERT" +msgstr "插入" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to content formatting (e.g. bold, font color, heading, etc.)." +msgid "MENU_BAR_MENU_FORMAT" +msgstr "格式" + +msgctxt "The label of the top-level application menu bar menu containing various editor tools (e.g. AI assistant, track changes, etc.)." +msgid "MENU_BAR_MENU_TOOLS" +msgstr "工具" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features helping users to learn about the editor (e.g. accessibility help)." +msgid "MENU_BAR_MENU_HELP" +msgstr "帮助" + +msgctxt "The label of the application menu bar menu containing buttons and features that apply formatting to a text (e.g. bold, italic, etc.)." +msgid "MENU_BAR_MENU_TEXT" +msgstr "文本" + +msgctxt "The label of the application menu bar menu containing buttons and features that control the font of the edited content (e.g. font size, font color, etc.)." +msgid "MENU_BAR_MENU_FONT" +msgstr "字体" + +msgctxt "The accessible label of the editor menu bar used by assistive technologies." +msgid "Editor menu bar" +msgstr "编辑器菜单栏" diff --git a/node_modules/@ckeditor/ckeditor5-ui/lang/translations/zh.po b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/zh.po new file mode 100644 index 0000000..05ff882 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/lang/translations/zh.po @@ -0,0 +1,210 @@ +# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. +# +# !!! IMPORTANT !!! +# +# Before you edit this file, please keep in mind that contributing to the project +# translations is possible ONLY via the Transifex online service. +# +# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5. +# +# To learn more, check out the official contributor's guide: +# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html +# +msgid "" +msgstr "" +"Language-Team: Chinese (Taiwan) (https://app.transifex.com/ckeditor/teams/11143/zh_TW/)\n" +"Language: zh_TW\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"Content-Type: text/plain; charset=UTF-8\n" + +msgctxt "Title of the CKEditor5 editor." +msgid "Rich Text Editor" +msgstr "富文本編輯器" + +msgctxt "Accessible label of the specific editing area belonging to a container with an ARIA application role." +msgid "Editor editing area: %0" +msgstr "編輯器編輯區:%0" + +msgctxt "Label of the block toolbar icon (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Edit block" +msgstr "編輯區塊" + +msgctxt "First part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Click to edit block" +msgstr "點擊來編輯區塊" + +msgctxt "Second part of the label of the block toolbar icon when functionality of drag and drop is available (a block toolbar is displayed next to each paragraph, heading, list item, etc. and contains e.g. block formatting options)" +msgid "Drag to move" +msgstr "拖曳來移動" + +msgctxt "Label for a button showing the next thing (tab, page, etc.)." +msgid "Next" +msgstr "下一" + +msgctxt "Label for a button showing the previous thing (tab, page, etc.)." +msgid "Previous" +msgstr "上一" + +msgctxt "Label used by assistive technologies describing a generic editor toolbar." +msgid "Editor toolbar" +msgstr "編輯器工具" + +msgctxt "Label used by assistive technologies describing a toolbar displayed inside a dropdown." +msgid "Dropdown toolbar" +msgstr "下拉選單" + +msgctxt "Label of a button that applies a black color in color pickers." +msgid "Black" +msgstr "黑色" + +msgctxt "Label of a button that applies a dim grey color in color pickers." +msgid "Dim grey" +msgstr "淡灰色" + +msgctxt "Label of a button that applies a grey color in color pickers." +msgid "Grey" +msgstr "灰色" + +msgctxt "Label of a button that applies a light grey color in color pickers." +msgid "Light grey" +msgstr "亮灰色" + +msgctxt "Label of a button that applies a white color in color pickers." +msgid "White" +msgstr "白色" + +msgctxt "Label of a button that applies a red color in color pickers." +msgid "Red" +msgstr "紅色" + +msgctxt "Label of a button that applies a orange color in color pickers." +msgid "Orange" +msgstr "橘色" + +msgctxt "Label of a button that applies a yellow color in color pickers." +msgid "Yellow" +msgstr "黃色" + +msgctxt "Label of a button that applies a light green color in color pickers." +msgid "Light green" +msgstr "亮綠色" + +msgctxt "Label of a button that applies a green color in color pickers." +msgid "Green" +msgstr "綠色" + +msgctxt "Label of a button that applies a aquamarine color in color pickers." +msgid "Aquamarine" +msgstr "淺綠色" + +msgctxt "Label of a button that applies a turquoise color in color pickers." +msgid "Turquoise" +msgstr "藍綠色" + +msgctxt "Label of a button that applies a light blue color in color pickers." +msgid "Light blue" +msgstr "亮藍色" + +msgctxt "Label of a button that applies a blue color in color pickers." +msgid "Blue" +msgstr "藍色" + +msgctxt "Label of a button that applies a purple color in color pickers." +msgid "Purple" +msgstr "紫色" + +msgctxt "Accessible label of a toolbar that shows up next to the blocks of content (e.g. headings, paragraphs)." +msgid "Editor block content toolbar" +msgstr "編輯器區塊內容工具列" + +msgctxt "Accessible label of a balloon toolbar that shows up right next to the user selection (the caret)." +msgid "Editor contextual toolbar" +msgstr "編輯器關聯式工具列" + +msgctxt "Label of an input field for typing colors in the HEX color format." +msgid "HEX" +msgstr "十六進位" + +msgctxt "The main text of the message shown to the user when given query does not match any results." +msgid "No results found" +msgstr "找不到結果" + +msgctxt "The main text of the message shown to the user when no results are available." +msgid "No searchable items" +msgstr "沒有可搜尋的項目" + +msgctxt "A default label of a dialog window displayed on top the editor." +msgid "Editor dialog" +msgstr "編輯工具對話框" + +msgctxt "The label and the tooltip for the close button in the dialog header." +msgid "Close" +msgstr "關閉" + +msgctxt "Accessibility help dialog assistive technologies label telling users how to exit the dialog." +msgid "Help Contents. To close this dialog press ESC." +msgstr "協助內容。想關閉此對話框,請按 ESC 鍵。" + +msgctxt "Accessibility help dialog text explaining what can be found in that dialog." +msgid "Below, you can find a list of keyboard shortcuts that can be used in the editor." +msgstr "下方是可在編輯器中使用的鍵盤快捷鍵列表。" + +msgctxt "Accessibility help dialog text displayed next to keystrokes that may require the Fn key on Mac." +msgid "(may require Fn)" +msgstr "(可能需要 Fn)" + +msgctxt "The label for the button that opens the Accessibility help dialog from the application menu bar." +msgid "Accessibility" +msgstr "協助工具" + +msgctxt "Accessibility help dialog title." +msgid "Accessibility help" +msgstr "無障礙協助" + +msgctxt "Assistive technologies label added to each editor editing area informing users about the possibility of opening the accessibility help dialog." +msgid "Press %0 for help." +msgstr "按下 %0 來取得協助。" + +msgctxt "Keystroke description for assistive technologies: keystroke for moving focus out of an active dialog window." +msgid "Move focus in and out of an active dialog window" +msgstr "將焦點移入或移出啟用中的對話視窗" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the whole document (e.g. export to PDF, import from Word, etc.)." +msgid "MENU_BAR_MENU_FILE" +msgstr "檔案" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to general editing (e.g. undo, redo, select all, etc.)." +msgid "MENU_BAR_MENU_EDIT" +msgstr "編輯" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to the view of the editor (e.g. show source)." +msgid "MENU_BAR_MENU_VIEW" +msgstr "檢視" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features that insert content (e.g. insert table, insert image, etc.)." +msgid "MENU_BAR_MENU_INSERT" +msgstr "插入" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features related to content formatting (e.g. bold, font color, heading, etc.)." +msgid "MENU_BAR_MENU_FORMAT" +msgstr "格式" + +msgctxt "The label of the top-level application menu bar menu containing various editor tools (e.g. AI assistant, track changes, etc.)." +msgid "MENU_BAR_MENU_TOOLS" +msgstr "工具" + +msgctxt "The label of the top-level application menu bar menu containing buttons and features helping users to learn about the editor (e.g. accessibility help)." +msgid "MENU_BAR_MENU_HELP" +msgstr "說明" + +msgctxt "The label of the application menu bar menu containing buttons and features that apply formatting to a text (e.g. bold, italic, etc.)." +msgid "MENU_BAR_MENU_TEXT" +msgstr "文字" + +msgctxt "The label of the application menu bar menu containing buttons and features that control the font of the edited content (e.g. font size, font color, etc.)." +msgid "MENU_BAR_MENU_FONT" +msgstr "字型" + +msgctxt "The accessible label of the editor menu bar used by assistive technologies." +msgid "Editor menu bar" +msgstr "編輯器選單列" diff --git a/node_modules/@ckeditor/ckeditor5-ui/package.json b/node_modules/@ckeditor/ckeditor5-ui/package.json new file mode 100644 index 0000000..1cf3c76 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/package.json @@ -0,0 +1,40 @@ +{ + "name": "@ckeditor/ckeditor5-ui", + "version": "41.3.1", + "description": "The UI framework and standard UI library of CKEditor 5.", + "keywords": [ + "ckeditor", + "ckeditor5", + "ckeditor 5", + "ckeditor5-lib", + "ckeditor5-dll" + ], + "type": "module", + "main": "src/index.js", + "dependencies": { + "@ckeditor/ckeditor5-core": "41.3.1", + "@ckeditor/ckeditor5-utils": "41.3.1", + "color-convert": "2.0.1", + "color-parse": "1.4.2", + "lodash-es": "4.17.21", + "vanilla-colorful": "0.7.2" + }, + "author": "CKSource (http://cksource.com/)", + "license": "GPL-2.0-or-later", + "homepage": "https://ckeditor.com/ckeditor-5", + "bugs": "https://github.com/ckeditor/ckeditor5/issues", + "repository": { + "type": "git", + "url": "https://github.com/ckeditor/ckeditor5.git", + "directory": "packages/ckeditor5-ui" + }, + "files": [ + "lang", + "src/**/*.js", + "src/**/*.d.ts", + "theme", + "ckeditor5-metadata.json", + "CHANGELOG.md" + ], + "types": "src/index.d.ts" +} diff --git a/node_modules/@ckeditor/ckeditor5-ui/src/arialiveannouncer.d.ts b/node_modules/@ckeditor/ckeditor5-ui/src/arialiveannouncer.d.ts new file mode 100644 index 0000000..b2ed16d --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/src/arialiveannouncer.d.ts @@ -0,0 +1,98 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module ui/arialiveannouncer + */ +import type { Editor } from '@ckeditor/ckeditor5-core'; +import type { Locale } from '@ckeditor/ckeditor5-utils'; +import type ViewCollection from './viewcollection.js'; +import View from './view.js'; +import '../theme/components/arialiveannouncer/arialiveannouncer.css'; +/** + * The politeness level of an `aria-live` announcement. + * + * Available keys are: + * * `AriaLiveAnnouncerPoliteness.POLITE`, + * * `AriaLiveAnnouncerPoliteness.ASSERTIVE` + * + * [Learn more](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/ARIA_Live_Regions#Politeness_levels). + */ +export declare const AriaLiveAnnouncerPoliteness: { + readonly POLITE: "polite"; + readonly ASSERTIVE: "assertive"; +}; +/** + * An accessibility helper that manages all ARIA live regions associated with an editor instance. ARIA live regions announce changes + * to the state of the editor features. + * + * These announcements are consumed and propagated by screen readers and give users a better understanding of the current + * state of the editor. + * + * To announce a state change to an editor feature named `'Some feature'`, use the {@link #announce} method: + * ```ts + * editor.ui.ariaLiveAnnouncer.announce( 'Some feature', 'Text of an announcement.' ); + * ``` + */ +export default class AriaLiveAnnouncer { + /** + * The editor instance. + */ + readonly editor: Editor; + /** + * The view that aggregates all `aria-live` regions. + */ + view?: AriaLiveAnnouncerView; + /** + * @inheritDoc + */ + constructor(editor: Editor); + /** + * Sets an announcement text to an aria region associated with a specific editor feature. The text is then + * announced by a screen reader to the user. + * + * If the aria region of a given name does not exist, it will be created and can be re-used later. The name of the region + * groups announcements originating from a specific editor feature and does not get announced by a screen reader. + * + * Using multiple regions allows for many announcements to be emitted in a short period of time. Changes to ARIA-live announcements + * are captured by a screen reader and read out in the order they were emitted. + * + * The default announcement politeness level is `'polite'`. + * + * ```ts + * // Most screen readers will queue announcements from multiple aria-live regions and read them out in the order they were emitted. + * editor.ui.ariaLiveAnnouncer.announce( 'image', 'Image uploaded.' ); + * editor.ui.ariaLiveAnnouncer.announce( 'network', 'Connection lost. Reconnecting.' ); + * ``` + */ + announce(regionName: string, announcementText: string, politeness?: typeof AriaLiveAnnouncerPoliteness[keyof typeof AriaLiveAnnouncerPoliteness]): void; +} +/** + * The view that aggregates all `aria-live` regions. + */ +export declare class AriaLiveAnnouncerView extends View { + /** + * A collection of all views that represent individual `aria-live` regions. + */ + readonly regionViews: ViewCollection; + constructor(locale: Locale); +} +/** + * The view that represents a single `aria-live` region (e.g. for a specific editor feature) and its text. + */ +export declare class AriaLiveAnnouncerRegionView extends View { + /** + * Current text of the region. + */ + text: string; + /** + * Current politeness level of the region. + */ + politeness: typeof AriaLiveAnnouncerPoliteness[keyof typeof AriaLiveAnnouncerPoliteness]; + /** + * A unique name of the region, usually associated with a specific editor feature or system. + */ + regionName: string; + constructor(locale: Locale); +} diff --git a/node_modules/@ckeditor/ckeditor5-ui/src/arialiveannouncer.js b/node_modules/@ckeditor/ckeditor5-ui/src/arialiveannouncer.js new file mode 100644 index 0000000..661c090 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/src/arialiveannouncer.js @@ -0,0 +1,116 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +import View from './view.js'; +import '../theme/components/arialiveannouncer/arialiveannouncer.css'; +/** + * The politeness level of an `aria-live` announcement. + * + * Available keys are: + * * `AriaLiveAnnouncerPoliteness.POLITE`, + * * `AriaLiveAnnouncerPoliteness.ASSERTIVE` + * + * [Learn more](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/ARIA_Live_Regions#Politeness_levels). + */ +export const AriaLiveAnnouncerPoliteness = { + POLITE: 'polite', + ASSERTIVE: 'assertive' +}; +/** + * An accessibility helper that manages all ARIA live regions associated with an editor instance. ARIA live regions announce changes + * to the state of the editor features. + * + * These announcements are consumed and propagated by screen readers and give users a better understanding of the current + * state of the editor. + * + * To announce a state change to an editor feature named `'Some feature'`, use the {@link #announce} method: + * ```ts + * editor.ui.ariaLiveAnnouncer.announce( 'Some feature', 'Text of an announcement.' ); + * ``` + */ +export default class AriaLiveAnnouncer { + /** + * @inheritDoc + */ + constructor(editor) { + this.editor = editor; + } + /** + * Sets an announcement text to an aria region associated with a specific editor feature. The text is then + * announced by a screen reader to the user. + * + * If the aria region of a given name does not exist, it will be created and can be re-used later. The name of the region + * groups announcements originating from a specific editor feature and does not get announced by a screen reader. + * + * Using multiple regions allows for many announcements to be emitted in a short period of time. Changes to ARIA-live announcements + * are captured by a screen reader and read out in the order they were emitted. + * + * The default announcement politeness level is `'polite'`. + * + * ```ts + * // Most screen readers will queue announcements from multiple aria-live regions and read them out in the order they were emitted. + * editor.ui.ariaLiveAnnouncer.announce( 'image', 'Image uploaded.' ); + * editor.ui.ariaLiveAnnouncer.announce( 'network', 'Connection lost. Reconnecting.' ); + * ``` + */ + announce(regionName, announcementText, politeness = AriaLiveAnnouncerPoliteness.POLITE) { + const editor = this.editor; + if (!this.view) { + this.view = new AriaLiveAnnouncerView(editor.locale); + editor.ui.view.body.add(this.view); + } + let regionView = this.view.regionViews.find(view => view.regionName === regionName); + if (!regionView) { + regionView = new AriaLiveAnnouncerRegionView(this.view.locale); + this.view.regionViews.add(regionView); + } + regionView.set({ + regionName, + text: announcementText, + politeness + }); + } +} +/** + * The view that aggregates all `aria-live` regions. + */ +export class AriaLiveAnnouncerView extends View { + constructor(locale) { + super(locale); + this.regionViews = this.createCollection(); + this.setTemplate({ + tag: 'div', + attributes: { + class: [ + 'ck', + 'ck-aria-live-announcer' + ] + }, + children: this.regionViews + }); + } +} +/** + * The view that represents a single `aria-live` region (e.g. for a specific editor feature) and its text. + */ +export class AriaLiveAnnouncerRegionView extends View { + constructor(locale) { + super(locale); + const bind = this.bindTemplate; + this.set('regionName', ''); + this.set('text', ''); + this.set('politeness', AriaLiveAnnouncerPoliteness.POLITE); + this.setTemplate({ + tag: 'div', + attributes: { + role: 'region', + 'data-region': bind.to('regionName'), + 'aria-live': bind.to('politeness') + }, + children: [ + { text: bind.to('text') } + ] + }); + } +} diff --git a/node_modules/@ckeditor/ckeditor5-ui/src/augmentation.d.ts b/node_modules/@ckeditor/ckeditor5-ui/src/augmentation.d.ts new file mode 100644 index 0000000..bc5adee --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/src/augmentation.d.ts @@ -0,0 +1,88 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +import type { BalloonToolbar, BlockToolbar, ContextualBalloon, Notification, Dialog, AccessibilityHelp } from './index.js'; +import type { ToolbarConfig } from '@ckeditor/ckeditor5-core'; +declare module '@ckeditor/ckeditor5-core' { + interface EditorConfig { + /** + * Contextual toolbar configuration. Used by the {@link module:ui/toolbar/balloon/balloontoolbar~BalloonToolbar} + * feature. + * + * ## Configuring toolbar items + * + * ```ts + * const config = { + * balloonToolbar: [ 'bold', 'italic', 'undo', 'redo' ] + * }; + * ``` + * + * You can also use `'|'` to create a separator between groups of items: + * + * ```ts + * const config = { + * balloonToolbar: [ 'bold', 'italic', '|', 'undo', 'redo' ] + * }; + * ``` + * + * Read also about configuring the main editor toolbar in {@link module:core/editor/editorconfig~EditorConfig#toolbar}. + * + * ## Configuring items grouping + * + * You can prevent automatic items grouping by setting the `shouldNotGroupWhenFull` option: + * + * ```ts + * const config = { + * balloonToolbar: { + * items: [ 'bold', 'italic', 'undo', 'redo' ], + * shouldNotGroupWhenFull: true + * }, + * }; + * ``` + */ + balloonToolbar?: ToolbarConfig; + /** + * The block toolbar configuration. Used by the {@link module:ui/toolbar/block/blocktoolbar~BlockToolbar} + * feature. + * + * ```ts + * const config = { + * blockToolbar: [ 'paragraph', 'heading1', 'heading2', 'bulletedList', 'numberedList' ] + * }; + * ``` + * + * You can also use `'|'` to create a separator between groups of items: + * + * ```ts + * const config = { + * blockToolbar: [ 'paragraph', 'heading1', 'heading2', '|', 'bulletedList', 'numberedList' ] + * }; + * ``` + * + * ## Configuring items grouping + * + * You can prevent automatic items grouping by setting the `shouldNotGroupWhenFull` option: + * + * ```ts + * const config = { + * blockToolbar: { + * items: [ 'paragraph', 'heading1', 'heading2', '|', 'bulletedList', 'numberedList' ], + * shouldNotGroupWhenFull: true + * }, + * }; + * ``` + * + * Read more about configuring the main editor toolbar in {@link module:core/editor/editorconfig~EditorConfig#toolbar}. + */ + blockToolbar?: ToolbarConfig; + } + interface PluginsMap { + [BalloonToolbar.pluginName]: BalloonToolbar; + [BlockToolbar.pluginName]: BlockToolbar; + [ContextualBalloon.pluginName]: ContextualBalloon; + [Dialog.pluginName]: Dialog; + [Notification.pluginName]: Notification; + [AccessibilityHelp.pluginName]: AccessibilityHelp; + } +} diff --git a/node_modules/@ckeditor/ckeditor5-ui/src/augmentation.js b/node_modules/@ckeditor/ckeditor5-ui/src/augmentation.js new file mode 100644 index 0000000..4fffd02 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/src/augmentation.js @@ -0,0 +1,5 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +export {}; diff --git a/node_modules/@ckeditor/ckeditor5-ui/src/autocomplete/autocompleteview.d.ts b/node_modules/@ckeditor/ckeditor5-ui/src/autocomplete/autocompleteview.d.ts new file mode 100644 index 0000000..41abc52 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/src/autocomplete/autocompleteview.d.ts @@ -0,0 +1,81 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module ui/autocomplete/autocompleteview +*/ +import { type PositioningFunction, type Locale } from '@ckeditor/ckeditor5-utils'; +import SearchTextView, { type SearchTextViewConfig } from '../search/text/searchtextview.js'; +import type SearchResultsView from '../search/searchresultsview.js'; +import type InputBase from '../input/inputbase.js'; +import '../../theme/components/autocomplete/autocomplete.css'; +/** + * The autocomplete component's view class. It extends the {@link module:ui/search/text/searchtextview~SearchTextView} class + * with a floating {@link #resultsView} that shows up when the user starts typing and hides when they blur + * the component. + */ +export default class AutocompleteView> extends SearchTextView { + /** + * The configuration of the autocomplete view. + */ + protected _config: AutocompleteViewConfig; + resultsView: AutocompleteResultsView; + /** + * @inheritDoc + */ + constructor(locale: Locale, config: AutocompleteViewConfig); + /** + * Updates the position of the results view on demand. + */ + private _updateResultsViewWidthAndPosition; + /** + * Updates the visibility of the results view on demand. + */ + private _updateResultsVisibility; + /** + * Positions for the autocomplete results view. Two positions are defined by default: + * * `s` - below the search field, + * * `n` - above the search field. + */ + static defaultResultsPositions: Array; + /** + * A function used to calculate the optimal position for the dropdown panel. + */ + private static _getOptimalPosition; +} +/** + * An interface describing additional properties of the floating search results view used by the autocomplete plugin. + */ +export interface AutocompleteResultsView extends SearchResultsView { + /** + * Controls the visibility of the results view. + * + * @observable + */ + isVisible: boolean; + /** + * Controls the position (CSS class suffix) of the results view. + * + * @internal + */ + _position?: string; + /** + * The observable property determining the CSS width of the results view. + * + * @internal + */ + _width: number; +} +export interface AutocompleteViewConfig> extends SearchTextViewConfig { + /** + * When set `true`, the query view will be reset when the autocomplete view loses focus. + */ + resetOnBlur?: boolean; + /** + * Minimum number of characters that need to be typed before the search is performed. + * + * @default 0 + */ + queryMinChars?: number; +} diff --git a/node_modules/@ckeditor/ckeditor5-ui/src/autocomplete/autocompleteview.js b/node_modules/@ckeditor/ckeditor5-ui/src/autocomplete/autocompleteview.js new file mode 100644 index 0000000..d6067e4 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/src/autocomplete/autocompleteview.js @@ -0,0 +1,154 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module ui/autocomplete/autocompleteview +*/ +import { getOptimalPosition, global, toUnit, Rect } from '@ckeditor/ckeditor5-utils'; +import SearchTextView from '../search/text/searchtextview.js'; +import '../../theme/components/autocomplete/autocomplete.css'; +/** + * The autocomplete component's view class. It extends the {@link module:ui/search/text/searchtextview~SearchTextView} class + * with a floating {@link #resultsView} that shows up when the user starts typing and hides when they blur + * the component. + */ +class AutocompleteView extends SearchTextView { + /** + * @inheritDoc + */ + constructor(locale, config) { + super(locale, config); + this._config = config; + const toPx = toUnit('px'); + this.extendTemplate({ + attributes: { + class: ['ck-autocomplete'] + } + }); + const bindResultsView = this.resultsView.bindTemplate; + this.resultsView.set('isVisible', false); + this.resultsView.set('_position', 's'); + this.resultsView.set('_width', 0); + this.resultsView.extendTemplate({ + attributes: { + class: [ + bindResultsView.if('isVisible', 'ck-hidden', value => !value), + bindResultsView.to('_position', value => `ck-search__results_${value}`) + ], + style: { + width: bindResultsView.to('_width', toPx) + } + } + }); + // Update the visibility of the results view when the user focuses or blurs the component. + // This is also integration for the `resetOnBlur` configuration. + this.focusTracker.on('change:isFocused', (evt, name, isFocused) => { + this._updateResultsVisibility(); + if (isFocused) { + // Reset the scroll position of the results view whenever the autocomplete reopens. + this.resultsView.element.scrollTop = 0; + } + else if (config.resetOnBlur) { + this.queryView.reset(); + } + }); + // Update the visibility of the results view when the user types in the query field. + // This is an integration for `queryMinChars` configuration. + // This is an integration for search results changing length and the #resultsView requiring to be repositioned. + this.on('search', () => { + this._updateResultsVisibility(); + this._updateResultsViewWidthAndPosition(); + }); + // Hide the results view when the user presses the ESC key. + this.keystrokes.set('esc', (evt, cancel) => { + // Let the DOM event pass through if the focus is in the query view. + if (!this.resultsView.isVisible) { + return; + } + // Focus the query view first and only then close the results view. Otherwise, if the focus + // was in the results view, it will get lost. + this.queryView.focus(); + this.resultsView.isVisible = false; + cancel(); + }); + // Update the position of the results view when the user scrolls the page. + // TODO: This needs to be debounced down the road. + this.listenTo(global.document, 'scroll', () => { + this._updateResultsViewWidthAndPosition(); + }); + // Hide the results when the component becomes disabled. + this.on('change:isEnabled', () => { + this._updateResultsVisibility(); + }); + // Update the value of the query field when the user selects a result. + this.filteredView.on('execute', (evt, { value }) => { + // Focus the query view first to avoid losing the focus. + this.focus(); + // Resetting the view will ensure that the #queryView will update its empty state correctly. + // This prevents bugs related to dynamic labels or auto-grow when re-setting the same value + // to #queryView.fieldView.value (which does not trigger empty state change) to an + // #queryView.fieldView.element that has been changed by the user. + this.reset(); + // Update the value of the query field. + this.queryView.fieldView.value = this.queryView.fieldView.element.value = value; + // Finally, hide the results view. The focus has been moved earlier so this is safe. + this.resultsView.isVisible = false; + }); + // Update the position and width of the results view when it becomes visible. + this.resultsView.on('change:isVisible', () => { + this._updateResultsViewWidthAndPosition(); + }); + } + /** + * Updates the position of the results view on demand. + */ + _updateResultsViewWidthAndPosition() { + if (!this.resultsView.isVisible) { + return; + } + this.resultsView._width = new Rect(this.queryView.fieldView.element).width; + const optimalResultsPosition = AutocompleteView._getOptimalPosition({ + element: this.resultsView.element, + target: this.queryView.element, + fitInViewport: true, + positions: AutocompleteView.defaultResultsPositions + }); + // _getOptimalPosition will return null if there is no optimal position found (e.g. target is off the viewport). + this.resultsView._position = optimalResultsPosition ? optimalResultsPosition.name : 's'; + } + /** + * Updates the visibility of the results view on demand. + */ + _updateResultsVisibility() { + const queryMinChars = typeof this._config.queryMinChars === 'undefined' ? 0 : this._config.queryMinChars; + const queryLength = this.queryView.fieldView.element.value.length; + this.resultsView.isVisible = this.focusTracker.isFocused && this.isEnabled && queryLength >= queryMinChars; + } +} +/** + * Positions for the autocomplete results view. Two positions are defined by default: + * * `s` - below the search field, + * * `n` - above the search field. + */ +AutocompleteView.defaultResultsPositions = [ + (fieldRect => { + return { + top: fieldRect.bottom, + left: fieldRect.left, + name: 's' + }; + }), + ((fieldRect, resultsRect) => { + return { + top: fieldRect.top - resultsRect.height, + left: fieldRect.left, + name: 'n' + }; + }) +]; +/** + * A function used to calculate the optimal position for the dropdown panel. + */ +AutocompleteView._getOptimalPosition = getOptimalPosition; +export default AutocompleteView; diff --git a/node_modules/@ckeditor/ckeditor5-ui/src/bindings/addkeyboardhandlingforgrid.d.ts b/node_modules/@ckeditor/ckeditor5-ui/src/bindings/addkeyboardhandlingforgrid.d.ts new file mode 100644 index 0000000..f8d6187 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/src/bindings/addkeyboardhandlingforgrid.d.ts @@ -0,0 +1,27 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module ui/bindings/addkeyboardhandlingforgrid + */ +import type { FocusTracker, KeystrokeHandler } from '@ckeditor/ckeditor5-utils'; +import type ViewCollection from '../viewcollection.js'; +/** + * A helper that adds a keyboard navigation support (arrow up/down/left/right) for grids. + * + * @param options Configuration options. + * @param options.keystrokeHandler Keystroke handler to register navigation with arrow keys. + * @param options.focusTracker A focus tracker for grid elements. + * @param options.gridItems A collection of grid items. + * @param options.numberOfColumns Number of columns in the grid. Can be specified as a function that returns + * the number (e.g. for responsive grids). + * @param options.uiLanguageDirection String of ui language direction. + */ +export default function addKeyboardHandlingForGrid({ keystrokeHandler, focusTracker, gridItems, numberOfColumns, uiLanguageDirection }: { + keystrokeHandler: KeystrokeHandler; + focusTracker: FocusTracker; + gridItems: ViewCollection; + numberOfColumns: number | (() => number); + uiLanguageDirection?: string; +}): void; diff --git a/node_modules/@ckeditor/ckeditor5-ui/src/bindings/addkeyboardhandlingforgrid.js b/node_modules/@ckeditor/ckeditor5-ui/src/bindings/addkeyboardhandlingforgrid.js new file mode 100644 index 0000000..0576f7b --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/src/bindings/addkeyboardhandlingforgrid.js @@ -0,0 +1,107 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * A helper that adds a keyboard navigation support (arrow up/down/left/right) for grids. + * + * @param options Configuration options. + * @param options.keystrokeHandler Keystroke handler to register navigation with arrow keys. + * @param options.focusTracker A focus tracker for grid elements. + * @param options.gridItems A collection of grid items. + * @param options.numberOfColumns Number of columns in the grid. Can be specified as a function that returns + * the number (e.g. for responsive grids). + * @param options.uiLanguageDirection String of ui language direction. + */ +export default function addKeyboardHandlingForGrid({ keystrokeHandler, focusTracker, gridItems, numberOfColumns, uiLanguageDirection }) { + const getNumberOfColumns = typeof numberOfColumns === 'number' ? () => numberOfColumns : numberOfColumns; + keystrokeHandler.set('arrowright', getGridItemFocuser((focusedElementIndex, gridItems) => { + return uiLanguageDirection === 'rtl' ? + getLeftElementIndex(focusedElementIndex, gridItems.length) : + getRightElementIndex(focusedElementIndex, gridItems.length); + })); + keystrokeHandler.set('arrowleft', getGridItemFocuser((focusedElementIndex, gridItems) => { + return uiLanguageDirection === 'rtl' ? + getRightElementIndex(focusedElementIndex, gridItems.length) : + getLeftElementIndex(focusedElementIndex, gridItems.length); + })); + keystrokeHandler.set('arrowup', getGridItemFocuser((focusedElementIndex, gridItems) => { + let nextIndex = focusedElementIndex - getNumberOfColumns(); + if (nextIndex < 0) { + nextIndex = focusedElementIndex + getNumberOfColumns() * Math.floor(gridItems.length / getNumberOfColumns()); + if (nextIndex > gridItems.length - 1) { + nextIndex -= getNumberOfColumns(); + } + } + return nextIndex; + })); + keystrokeHandler.set('arrowdown', getGridItemFocuser((focusedElementIndex, gridItems) => { + let nextIndex = focusedElementIndex + getNumberOfColumns(); + if (nextIndex > gridItems.length - 1) { + nextIndex = focusedElementIndex % getNumberOfColumns(); + } + return nextIndex; + })); + function getGridItemFocuser(getIndexToFocus) { + return (evt) => { + const focusedElement = gridItems.find(item => item.element === focusTracker.focusedElement); + const focusedElementIndex = gridItems.getIndex(focusedElement); + const nextIndexToFocus = getIndexToFocus(focusedElementIndex, gridItems); + gridItems.get(nextIndexToFocus).focus(); + evt.stopPropagation(); + evt.preventDefault(); + }; + } + /** + * Function returning the next index. + * + * ``` + * before: [ ][x][ ] after: [ ][ ][x] + * index = 1 index = 2 + * ``` + * + * If current index is last, function returns first index. + * + * ``` + * before: [ ][ ][x] after: [x][ ][ ] + * index = 2 index = 0 + * ``` + * + * @param elementIndex Number of current index. + * @param collectionLength A count of collection items. + */ + function getRightElementIndex(elementIndex, collectionLength) { + if (elementIndex === collectionLength - 1) { + return 0; + } + else { + return elementIndex + 1; + } + } + /** + * Function returning the previous index. + * + * ``` + * before: [ ][x][ ] after: [x][ ][ ] + * index = 1 index = 0 + * ``` + * + * If current index is first, function returns last index. + * + * ``` + * before: [x][ ][ ] after: [ ][ ][x] + * index = 0 index = 2 + * ``` + * + * @param elementIndex Number of current index. + * @param collectionLength A count of collection items. + */ + function getLeftElementIndex(elementIndex, collectionLength) { + if (elementIndex === 0) { + return collectionLength - 1; + } + else { + return elementIndex - 1; + } + } +} diff --git a/node_modules/@ckeditor/ckeditor5-ui/src/bindings/clickoutsidehandler.d.ts b/node_modules/@ckeditor/ckeditor5-ui/src/bindings/clickoutsidehandler.d.ts new file mode 100644 index 0000000..7fe1091 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/src/bindings/clickoutsidehandler.d.ts @@ -0,0 +1,28 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module ui/bindings/clickoutsidehandler + */ +import type { DomEmitter } from '@ckeditor/ckeditor5-utils'; +/** + * Handles clicking **outside** of a specified set of elements, then fires an action. + * + * **Note**: Actually, the action is executed upon `mousedown`, not `click`. It prevents + * certain issues when the user keeps holding the mouse button and the UI cannot react + * properly. + * + * @param options Configuration options. + * @param options.emitter The emitter to which this behavior should be added. + * @param options.activator Function returning a `Boolean`, to determine whether the handler is active. + * @param options.contextElements Array of HTML elements or a callback returning an array of HTML elements + * that determine the scope of the handler. Clicking any of them or their descendants will **not** fire the callback. + * @param options.callback An action executed by the handler. + */ +export default function clickOutsideHandler({ emitter, activator, callback, contextElements }: { + emitter: DomEmitter; + activator: () => boolean; + contextElements: Array | (() => Array); + callback: () => void; +}): void; diff --git a/node_modules/@ckeditor/ckeditor5-ui/src/bindings/clickoutsidehandler.js b/node_modules/@ckeditor/ckeditor5-ui/src/bindings/clickoutsidehandler.js new file mode 100644 index 0000000..5bc1078 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/src/bindings/clickoutsidehandler.js @@ -0,0 +1,36 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/* global document */ +/** + * Handles clicking **outside** of a specified set of elements, then fires an action. + * + * **Note**: Actually, the action is executed upon `mousedown`, not `click`. It prevents + * certain issues when the user keeps holding the mouse button and the UI cannot react + * properly. + * + * @param options Configuration options. + * @param options.emitter The emitter to which this behavior should be added. + * @param options.activator Function returning a `Boolean`, to determine whether the handler is active. + * @param options.contextElements Array of HTML elements or a callback returning an array of HTML elements + * that determine the scope of the handler. Clicking any of them or their descendants will **not** fire the callback. + * @param options.callback An action executed by the handler. + */ +export default function clickOutsideHandler({ emitter, activator, callback, contextElements }) { + emitter.listenTo(document, 'mousedown', (evt, domEvt) => { + if (!activator()) { + return; + } + // Check if `composedPath` is `undefined` in case the browser does not support native shadow DOM. + // Can be removed when all supported browsers support native shadow DOM. + const path = typeof domEvt.composedPath == 'function' ? domEvt.composedPath() : []; + const contextElementsList = typeof contextElements == 'function' ? contextElements() : contextElements; + for (const contextElement of contextElementsList) { + if (contextElement.contains(domEvt.target) || path.includes(contextElement)) { + return; + } + } + callback(); + }); +} diff --git a/node_modules/@ckeditor/ckeditor5-ui/src/bindings/csstransitiondisablermixin.d.ts b/node_modules/@ckeditor/ckeditor5-ui/src/bindings/csstransitiondisablermixin.d.ts new file mode 100644 index 0000000..394af49 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/src/bindings/csstransitiondisablermixin.d.ts @@ -0,0 +1,40 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module ui/bindings/csstransitiondisablermixin + */ +import type { Constructor, Mixed } from '@ckeditor/ckeditor5-utils'; +import type View from '../view.js'; +/** + * A mixin that brings the possibility to temporarily disable CSS transitions using + * {@link module:ui/view~View} methods. It is helpful when, for instance, the transitions should not happen + * when the view is first displayed but they should work normal in other cases. + * + * The methods to control the CSS transitions are: + * * `disableCssTransitions()` – Adds the `.ck-transitions-disabled` class to the + * {@link module:ui/view~View#element view element}. + * * `enableCssTransitions()` – Removes the `.ck-transitions-disabled` class from the + * {@link module:ui/view~View#element view element}. + * + * The usage comes down to: + * + * ```ts + * const MyViewWithCssTransitionDisabler = CssTransitionDisablerMixin( MyView ); + * const view = new MyViewWithCssTransitionDisabler(); + * + * // ... + * + * view.disableCssTransitions(); + * view.show(); + * view.enableCssTransitions(); + * ``` + * + * @param view View instance that should get this functionality. + */ +export default function CssTransitionDisablerMixin>(view: Base): Mixed; +export type ViewWithCssTransitionDisabler = View & { + disableCssTransitions(): void; + enableCssTransitions(): void; +}; diff --git a/node_modules/@ckeditor/ckeditor5-ui/src/bindings/csstransitiondisablermixin.js b/node_modules/@ckeditor/ckeditor5-ui/src/bindings/csstransitiondisablermixin.js new file mode 100644 index 0000000..f959cbc --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/src/bindings/csstransitiondisablermixin.js @@ -0,0 +1,55 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * A mixin that brings the possibility to temporarily disable CSS transitions using + * {@link module:ui/view~View} methods. It is helpful when, for instance, the transitions should not happen + * when the view is first displayed but they should work normal in other cases. + * + * The methods to control the CSS transitions are: + * * `disableCssTransitions()` – Adds the `.ck-transitions-disabled` class to the + * {@link module:ui/view~View#element view element}. + * * `enableCssTransitions()` – Removes the `.ck-transitions-disabled` class from the + * {@link module:ui/view~View#element view element}. + * + * The usage comes down to: + * + * ```ts + * const MyViewWithCssTransitionDisabler = CssTransitionDisablerMixin( MyView ); + * const view = new MyViewWithCssTransitionDisabler(); + * + * // ... + * + * view.disableCssTransitions(); + * view.show(); + * view.enableCssTransitions(); + * ``` + * + * @param view View instance that should get this functionality. + */ +export default function CssTransitionDisablerMixin(view) { + class Mixin extends view { + disableCssTransitions() { + this._isCssTransitionsDisabled = true; + } + enableCssTransitions() { + this._isCssTransitionsDisabled = false; + } + constructor(...args) { + super(...args); + this.set('_isCssTransitionsDisabled', false); + this.initializeCssTransitionDisablerMixin(); + } + initializeCssTransitionDisablerMixin() { + this.extendTemplate({ + attributes: { + class: [ + this.bindTemplate.if('_isCssTransitionsDisabled', 'ck-transitions-disabled') + ] + } + }); + } + } + return Mixin; +} diff --git a/node_modules/@ckeditor/ckeditor5-ui/src/bindings/draggableviewmixin.d.ts b/node_modules/@ckeditor/ckeditor5-ui/src/bindings/draggableviewmixin.d.ts new file mode 100644 index 0000000..89e6c06 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/src/bindings/draggableviewmixin.d.ts @@ -0,0 +1,46 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module ui/bindings/draggableviewmixin + */ +import type View from '../view.js'; +import { type Constructor, type Mixed } from '@ckeditor/ckeditor5-utils'; +/** + * A mixin that brings the possibility to observe dragging of the view element. + * The view has to implement the {@link ~DraggableView} interface to use it: + * + * ```js + * export default class MyDraggableView extends DraggableViewMixin( View ) implements DraggableView { + * // ... + * } + * ``` + * + * Creating a class extending it attaches a set of mouse and touch listeners allowing to observe dragging of the view element: + * * `mousedown` and `touchstart` on the view element - starting the dragging. + * * `mousemove` and `touchmove` on the document - updating the view coordinates. + * * `mouseup` and `touchend` on the document - stopping the dragging. + * + * The mixin itself does not provide a visual feedback (that is, the dragged element does not change its position) - + * it is up to the developer to implement it. + */ +export default function DraggableViewMixin>(view: Base): Mixed; +/** + * An interface that should be implemented by views that want to be draggable. + */ +export interface DraggableView extends View { + get dragHandleElement(): HTMLElement | null; +} +/** + * An event data object for the {@link ~DraggableView} `drag` event. Fired when the view is dragged. + */ +export type DraggableViewDragEvent = { + name: 'drag'; + args: [ + { + deltaX: number; + deltaY: number; + } + ]; +}; diff --git a/node_modules/@ckeditor/ckeditor5-ui/src/bindings/draggableviewmixin.js b/node_modules/@ckeditor/ckeditor5-ui/src/bindings/draggableviewmixin.js new file mode 100644 index 0000000..cba5d7c --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/src/bindings/draggableviewmixin.js @@ -0,0 +1,144 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +import { global } from '@ckeditor/ckeditor5-utils'; +/** + * A mixin that brings the possibility to observe dragging of the view element. + * The view has to implement the {@link ~DraggableView} interface to use it: + * + * ```js + * export default class MyDraggableView extends DraggableViewMixin( View ) implements DraggableView { + * // ... + * } + * ``` + * + * Creating a class extending it attaches a set of mouse and touch listeners allowing to observe dragging of the view element: + * * `mousedown` and `touchstart` on the view element - starting the dragging. + * * `mousemove` and `touchmove` on the document - updating the view coordinates. + * * `mouseup` and `touchend` on the document - stopping the dragging. + * + * The mixin itself does not provide a visual feedback (that is, the dragged element does not change its position) - + * it is up to the developer to implement it. + */ +export default function DraggableViewMixin(view) { + class DraggableMixin extends view { + /** + * @inheritdoc + */ + constructor(...args) { + super(...args); + /** + * A bound version of {@link #_onDrag}. + */ + this._onDragBound = this._onDrag.bind(this); + /** + * A bound version of {@link #_onDragEnd}. + */ + this._onDragEndBound = this._onDragEnd.bind(this); + /** + * The last coordinates of the view. It is updated on every mouse move. + */ + this._lastDraggingCoordinates = { x: 0, y: 0 }; + this.on('render', () => { + this._attachListeners(); + }); + this.set('isDragging', false); + } + /** + * Attaches the listeners for the drag start. + */ + _attachListeners() { + this.listenTo(this.element, 'mousedown', this._onDragStart.bind(this)); + this.listenTo(this.element, 'touchstart', this._onDragStart.bind(this)); + } + /** + * Attaches the listeners for the dragging and drag end. + */ + _attachDragListeners() { + this.listenTo(global.document, 'mouseup', this._onDragEndBound); + this.listenTo(global.document, 'touchend', this._onDragEndBound); + this.listenTo(global.document, 'mousemove', this._onDragBound); + this.listenTo(global.document, 'touchmove', this._onDragBound); + } + /** + * Detaches the listeners after the drag end. + */ + _detachDragListeners() { + this.stopListening(global.document, 'mouseup', this._onDragEndBound); + this.stopListening(global.document, 'touchend', this._onDragEndBound); + this.stopListening(global.document, 'mousemove', this._onDragBound); + this.stopListening(global.document, 'touchmove', this._onDragBound); + } + /** + * Starts the dragging listeners and sets the initial view coordinates. + */ + _onDragStart(evt, domEvt) { + if (!this._isHandleElementPressed(domEvt)) { + return; + } + this._attachDragListeners(); + let x = 0; + let y = 0; + // If dragging is performed with a mouse, there is only one set of coordinates available. + // But when using a touch device, there may be many of them, so use the coordinates from the first touch. + if (domEvt instanceof MouseEvent) { + x = domEvt.clientX; + y = domEvt.clientY; + } + else { + x = domEvt.touches[0].clientX; + y = domEvt.touches[0].clientY; + } + this._lastDraggingCoordinates = { x, y }; + this.isDragging = true; + } + /** + * Updates the view coordinates and fires the `drag` event. + */ + _onDrag(evt, domEvt) { + // If dragging was stopped by some external intervention, stop listening. + if (!this.isDragging) { + this._detachDragListeners(); + return; + } + let newX = 0; + let newY = 0; + // If dragging is performed with a mouse, there is only one set of coordinates available. + // But when using a touch device, there may be many of them, so use the coordinates from the first touch. + if (domEvt instanceof MouseEvent) { + newX = domEvt.clientX; + newY = domEvt.clientY; + } + else { + newX = domEvt.touches[0].clientX; + newY = domEvt.touches[0].clientY; + } + // Prevents selection of text while dragging on Safari. + domEvt.preventDefault(); + this.fire('drag', { + deltaX: Math.round(newX - this._lastDraggingCoordinates.x), + deltaY: Math.round(newY - this._lastDraggingCoordinates.y) + }); + this._lastDraggingCoordinates = { x: newX, y: newY }; + } + /** + * Stops the dragging and detaches the listeners. + */ + _onDragEnd() { + this._detachDragListeners(); + this.isDragging = false; + } + /** + * Checks if the drag handle element was pressed. + */ + _isHandleElementPressed(domEvt) { + if (!this.dragHandleElement) { + return false; + } + return this.dragHandleElement === domEvt.target || + (domEvt.target instanceof HTMLElement && this.dragHandleElement.contains(domEvt.target)); + } + } + return DraggableMixin; +} diff --git a/node_modules/@ckeditor/ckeditor5-ui/src/bindings/injectcsstransitiondisabler.d.ts b/node_modules/@ckeditor/ckeditor5-ui/src/bindings/injectcsstransitiondisabler.d.ts new file mode 100644 index 0000000..a99c283 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/src/bindings/injectcsstransitiondisabler.d.ts @@ -0,0 +1,59 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module ui/bindings/injectcsstransitiondisabler + */ +import type View from '../view.js'; +/** + * A decorator that brings the possibility to temporarily disable CSS transitions using + * {@link module:ui/view~View} methods. It is helpful when, for instance, the transitions should not happen + * when the view is first displayed but they should work normal in other cases. + * + * The methods to control the CSS transitions are: + * * `disableCssTransitions()` – Adds the `.ck-transitions-disabled` class to the + * {@link module:ui/view~View#element view element}. + * * `enableCssTransitions()` – Removes the `.ck-transitions-disabled` class from the + * {@link module:ui/view~View#element view element}. + * + * **Note**: This helper extends the {@link module:ui/view~View#template template} and must be used **after** + * {@link module:ui/view~View#setTemplate} is called: + * + * ```ts + * import injectCssTransitionDisabler from '@ckeditor/ckeditor5-ui/src/bindings/injectcsstransitiondisabler'; + * + * class MyView extends View { + * constructor() { + * super(); + * + * // ... + * + * this.setTemplate( { ... } ); + * + * // ... + * + * injectCssTransitionDisabler( this ); + * + * // ... + * } + * } + * ``` + * + * The usage comes down to: + * + * ```ts + * const view = new MyView(); + * + * // ... + * + * view.disableCssTransitions(); + * view.show(); + * view.enableCssTransitions(); + * ``` + * + * @deprecated + * @see module:ui/bindings/csstransitiondisablermixin~CssTransitionDisablerMixin + * @param view View instance that should get this functionality. + */ +export default function injectCssTransitionDisabler(view: View): void; diff --git a/node_modules/@ckeditor/ckeditor5-ui/src/bindings/injectcsstransitiondisabler.js b/node_modules/@ckeditor/ckeditor5-ui/src/bindings/injectcsstransitiondisabler.js new file mode 100644 index 0000000..5b3e37f --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/src/bindings/injectcsstransitiondisabler.js @@ -0,0 +1,71 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * A decorator that brings the possibility to temporarily disable CSS transitions using + * {@link module:ui/view~View} methods. It is helpful when, for instance, the transitions should not happen + * when the view is first displayed but they should work normal in other cases. + * + * The methods to control the CSS transitions are: + * * `disableCssTransitions()` – Adds the `.ck-transitions-disabled` class to the + * {@link module:ui/view~View#element view element}. + * * `enableCssTransitions()` – Removes the `.ck-transitions-disabled` class from the + * {@link module:ui/view~View#element view element}. + * + * **Note**: This helper extends the {@link module:ui/view~View#template template} and must be used **after** + * {@link module:ui/view~View#setTemplate} is called: + * + * ```ts + * import injectCssTransitionDisabler from '@ckeditor/ckeditor5-ui/src/bindings/injectcsstransitiondisabler'; + * + * class MyView extends View { + * constructor() { + * super(); + * + * // ... + * + * this.setTemplate( { ... } ); + * + * // ... + * + * injectCssTransitionDisabler( this ); + * + * // ... + * } + * } + * ``` + * + * The usage comes down to: + * + * ```ts + * const view = new MyView(); + * + * // ... + * + * view.disableCssTransitions(); + * view.show(); + * view.enableCssTransitions(); + * ``` + * + * @deprecated + * @see module:ui/bindings/csstransitiondisablermixin~CssTransitionDisablerMixin + * @param view View instance that should get this functionality. + */ +export default function injectCssTransitionDisabler(view) { + const decorated = view; + decorated.set('_isCssTransitionsDisabled', false); + decorated.disableCssTransitions = () => { + decorated._isCssTransitionsDisabled = true; + }; + decorated.enableCssTransitions = () => { + decorated._isCssTransitionsDisabled = false; + }; + decorated.extendTemplate({ + attributes: { + class: [ + decorated.bindTemplate.if('_isCssTransitionsDisabled', 'ck-transitions-disabled') + ] + } + }); +} diff --git a/node_modules/@ckeditor/ckeditor5-ui/src/bindings/preventdefault.d.ts b/node_modules/@ckeditor/ckeditor5-ui/src/bindings/preventdefault.d.ts new file mode 100644 index 0000000..8fa3944 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/src/bindings/preventdefault.d.ts @@ -0,0 +1,33 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module ui/bindings/preventdefault + */ +import type { ListenerBinding } from '../template.js'; +import type View from '../view.js'; +/** + * A helper which executes a native `Event.preventDefault()` if the target of an event equals the + * {@link module:ui/view~View#element element of the view}. It shortens the definition of a + * {@link module:ui/view~View#template template}. + * + * ```ts + * // In a class extending View. + * import preventDefault from '@ckeditor/ckeditor5-ui/src/bindings/preventdefault'; + * + * // ... + * + * this.setTemplate( { + * tag: 'div', + * + * on: { + * // Prevent the default mousedown action on this view. + * mousedown: preventDefault( this ) + * } + * } ); + * ``` + * + * @param view View instance that defines the template. + */ +export default function preventDefault(view: View): ListenerBinding; diff --git a/node_modules/@ckeditor/ckeditor5-ui/src/bindings/preventdefault.js b/node_modules/@ckeditor/ckeditor5-ui/src/bindings/preventdefault.js new file mode 100644 index 0000000..efb4908 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/src/bindings/preventdefault.js @@ -0,0 +1,34 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * A helper which executes a native `Event.preventDefault()` if the target of an event equals the + * {@link module:ui/view~View#element element of the view}. It shortens the definition of a + * {@link module:ui/view~View#template template}. + * + * ```ts + * // In a class extending View. + * import preventDefault from '@ckeditor/ckeditor5-ui/src/bindings/preventdefault'; + * + * // ... + * + * this.setTemplate( { + * tag: 'div', + * + * on: { + * // Prevent the default mousedown action on this view. + * mousedown: preventDefault( this ) + * } + * } ); + * ``` + * + * @param view View instance that defines the template. + */ +export default function preventDefault(view) { + return view.bindTemplate.to(evt => { + if (evt.target === view.element) { + evt.preventDefault(); + } + }); +} diff --git a/node_modules/@ckeditor/ckeditor5-ui/src/bindings/submithandler.d.ts b/node_modules/@ckeditor/ckeditor5-ui/src/bindings/submithandler.d.ts new file mode 100644 index 0000000..5676ebb --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/src/bindings/submithandler.d.ts @@ -0,0 +1,57 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module ui/bindings/submithandler + */ +import type View from '../view.js'; +/** + * A handler useful for {@link module:ui/view~View views} working as HTML forms. It intercepts a native DOM + * `submit` event, prevents the default web browser behavior (navigation and page reload) and + * fires the `submit` event on a view instead. Such a custom event can be then used by any + * {@link module:utils/dom/emittermixin~DomEmitter emitter}, e.g. to serialize the form data. + * + * ```ts + * import submitHandler from '@ckeditor/ckeditor5-ui/src/bindings/submithandler'; + * + * // ... + * + * class AnyFormView extends View { + * constructor() { + * super(); + * + * // ... + * + * submitHandler( { + * view: this + * } ); + * } + * } + * + * // ... + * + * const view = new AnyFormView(); + * + * // A sample listener attached by an emitter working with the view. + * this.listenTo( view, 'submit', () => { + * saveTheFormData(); + * hideTheForm(); + * } ); + * ``` + * + * @param options Configuration options. + * @param options.view The view which DOM `submit` events should be handled. + */ +export default function submitHandler({ view }: { + view: View; +}): void; +/** + * Fired by {@link module:ui/bindings/submithandler~submitHandler} helper. + * + * @eventName module:ui/view~View#submit + */ +export type SubmitHandlerEvent = { + name: 'submit'; + args: []; +}; diff --git a/node_modules/@ckeditor/ckeditor5-ui/src/bindings/submithandler.js b/node_modules/@ckeditor/ckeditor5-ui/src/bindings/submithandler.js new file mode 100644 index 0000000..91f8ff3 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/src/bindings/submithandler.js @@ -0,0 +1,47 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * A handler useful for {@link module:ui/view~View views} working as HTML forms. It intercepts a native DOM + * `submit` event, prevents the default web browser behavior (navigation and page reload) and + * fires the `submit` event on a view instead. Such a custom event can be then used by any + * {@link module:utils/dom/emittermixin~DomEmitter emitter}, e.g. to serialize the form data. + * + * ```ts + * import submitHandler from '@ckeditor/ckeditor5-ui/src/bindings/submithandler'; + * + * // ... + * + * class AnyFormView extends View { + * constructor() { + * super(); + * + * // ... + * + * submitHandler( { + * view: this + * } ); + * } + * } + * + * // ... + * + * const view = new AnyFormView(); + * + * // A sample listener attached by an emitter working with the view. + * this.listenTo( view, 'submit', () => { + * saveTheFormData(); + * hideTheForm(); + * } ); + * ``` + * + * @param options Configuration options. + * @param options.view The view which DOM `submit` events should be handled. + */ +export default function submitHandler({ view }) { + view.listenTo(view.element, 'submit', (evt, domEvt) => { + domEvt.preventDefault(); + view.fire('submit'); + }, { useCapture: true }); +} diff --git a/node_modules/@ckeditor/ckeditor5-ui/src/button/button.d.ts b/node_modules/@ckeditor/ckeditor5-ui/src/button/button.d.ts new file mode 100644 index 0000000..837a838 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/src/button/button.d.ts @@ -0,0 +1,181 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module ui/button/button + */ +/** + * The button interface. Implemented by, among others, {@link module:ui/button/buttonview~ButtonView}, + * {@link module:ui/dropdown/button/splitbuttonview~SplitButtonView} and + * {@link module:ui/dropdown/button/dropdownbuttonview~DropdownButtonView}. + */ +export default interface Button { + /** + * The label of the button view visible to the user when {@link #withText} is `true`. + * It can also be used to create a {@link #tooltip}. + * + * @observable + */ + label: string | undefined; + /** + * (Optional) The keystroke associated with the button, i.e. CTRL+B, + * in the string format compatible with {@link module:utils/keyboard}. + * + * **Note**: Use {@link module:ui/button/button~Button#withKeystroke} if you want to display + * the keystroke information next to the {@link module:ui/button/button~Button#label label}. + * + * @observable + */ + keystroke: string | undefined; + /** + * (Optional) Tooltip of the button, i.e. displayed when hovering the button with the mouse cursor. + * + * * If defined as a `Boolean` (e.g. `true`), then combination of `label` and `keystroke` will be set as a tooltip. + * * If defined as a `String`, tooltip will equal the exact text of that `String`. + * * If defined as a `Function`, `label` and `keystroke` will be passed to that function, which is to return + * a string with the tooltip text. + * + * ```ts + * const view = new ButtonView( locale ); + * view.tooltip = ( label, keystroke ) => `A tooltip for ${ label } and ${ keystroke }.` + * ``` + * + * @observable + * @default false + */ + tooltip: boolean | string | ((label: string, keystroke: string | undefined) => string); + /** + * (Optional) The position of the tooltip. See {@link module:ui/tooltipmanager~TooltipManager} + * to learn more about the tooltip system. + * + * **Note:** It makes sense only when the {@link #tooltip `tooltip` attribute} is defined. + * + * @observable + * @default 's' + */ + tooltipPosition: 's' | 'n' | 'e' | 'w' | 'sw' | 'se'; + /** + * The HTML type of the button. + * + * @observable + * @default 'button' + */ + type: 'button' | 'submit' | 'reset' | 'menu'; + /** + * Controls whether the button view is "on". It makes sense when a feature it represents + * is currently active, e.g. a bold button is "on" when the selection is in the bold text. + * + * To disable the button, use {@link #isEnabled} instead. + * + * @observable + * @default true + */ + isOn: boolean; + /** + * Controls whether the button view is enabled, i.e. it can be clicked and execute an action. + * + * To change the "on" state of the button, use {@link #isOn} instead. + * + * @observable + * @default true + */ + isEnabled: boolean; + /** + * Controls whether the button view is visible. Visible by default, buttons are hidden + * using a CSS class. + * + * @observable + * @default true + */ + isVisible: boolean; + /** + * Controls whether the button view is a toggle button (two–state) for assistive technologies. + * + * @observable + * @default false + */ + isToggleable: boolean; + /** + * (Optional) Controls whether the label of the button is hidden (e.g. an icon–only button). + * + * @observable + * @default false + */ + withText: boolean; + /** + * (Optional) Controls whether the keystroke of the button is displayed next to its + * {@link module:ui/button/button~Button#label label}. + * + * **Note**: This property requires a {@link module:ui/button/button~Button#keystroke keystroke} + * to be defined in the first place. + * + * @observable + * @default false + */ + withKeystroke: boolean; + /** + * (Optional) An XML {@link module:ui/icon/iconview~IconView#content content} of the icon. + * When defined, an `iconView` should be added to the button. + * + * The user must provide the entire XML string, not just the path. See the + * {@glink framework/architecture/ui-library#setting-label-icon-and-tooltip UI library} guide for details. + * + * @observable + */ + icon: string | undefined; + /** + * (Optional) Controls the `tabindex` HTML attribute of the button. By default, the button is focusable + * but does not included in the Tab order. + * + * @observable + * @default -1 + */ + tabindex: number; + /** + * (Optional) The additional CSS class set on the button. + * + * @observable + */ + class: string | undefined; + /** + * (Optional) The ARIA property reflected by the `aria-checked` DOM attribute used by assistive technologies. + * + * @observable + */ + ariaChecked?: boolean | undefined; + /** + * (Optional) The ARIA property reflected by the `aria-label` DOM attribute used by assistive technologies. + * + * @observable + */ + ariaLabel?: string | undefined; + /** + * (Optional) The ARIA property reflected by the `aria-ariaLabelledBy` DOM attribute used by assistive technologies. + * + * @observable + */ + ariaLabelledBy?: string | undefined; + /** + * (Optional) The property reflected by the `role` DOM attribute to be used by assistive technologies. + * + * @observable + */ + role?: string | undefined; + /** + * (Optional) The value of the `style` attribute of the label. + * + * @observable + */ + labelStyle: string | undefined; +} +/** + * Fired when the button view is clicked. It won't be fired when the button {@link module:ui/button/button~Button#isEnabled} + * is `false`. + * + * @eventName ~Button#execute + */ +export type ButtonExecuteEvent = { + name: 'execute'; + args: []; +}; diff --git a/node_modules/@ckeditor/ckeditor5-ui/src/button/button.js b/node_modules/@ckeditor/ckeditor5-ui/src/button/button.js new file mode 100644 index 0000000..4fffd02 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/src/button/button.js @@ -0,0 +1,5 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +export {}; diff --git a/node_modules/@ckeditor/ckeditor5-ui/src/button/buttonlabel.d.ts b/node_modules/@ckeditor/ckeditor5-ui/src/button/buttonlabel.d.ts new file mode 100644 index 0000000..cb61100 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/src/button/buttonlabel.d.ts @@ -0,0 +1,34 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module ui/button/buttonlabel +*/ +import type View from '../view.js'; +/** + * The button label interface. Implemented by the {@link module:ui/button/buttonlabelview~ButtonLabelView} + * and any label view that can be used with the {@link module:ui/button/buttonview~ButtonView}. + */ +export default interface ButtonLabel extends View { + /** + * The `id` attribute of the button label. It is used for accessibility purposes + * to describe the button. + * + * @observable + */ + id: string | undefined; + /** + * The `style` attribute of the button label. It allows customizing the presentation + * of the label. + * + * @observable + */ + style: string | undefined; + /** + * The human-readable text of the label. + * + * @observable + */ + text: string | undefined; +} diff --git a/node_modules/@ckeditor/ckeditor5-ui/src/button/buttonlabel.js b/node_modules/@ckeditor/ckeditor5-ui/src/button/buttonlabel.js new file mode 100644 index 0000000..4fffd02 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/src/button/buttonlabel.js @@ -0,0 +1,5 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +export {}; diff --git a/node_modules/@ckeditor/ckeditor5-ui/src/button/buttonlabelview.d.ts b/node_modules/@ckeditor/ckeditor5-ui/src/button/buttonlabelview.d.ts new file mode 100644 index 0000000..3b16f54 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/src/button/buttonlabelview.d.ts @@ -0,0 +1,31 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module ui/button/buttonlabelview + */ +import View from '../view.js'; +import type ButtonLabel from './buttonlabel.js'; +/** + * A default implementation of the button view's label. It comes with a dynamic text support + * via {@link module:ui/button/buttonlabelview~ButtonLabelView#text} property. + */ +export default class ButtonLabelView extends View implements ButtonLabel { + /** + * @inheritDoc + */ + id: string | undefined; + /** + * @inheritDoc + */ + style: string | undefined; + /** + * @inheritDoc + */ + text: string | undefined; + /** + * @inheritDoc + */ + constructor(); +} diff --git a/node_modules/@ckeditor/ckeditor5-ui/src/button/buttonlabelview.js b/node_modules/@ckeditor/ckeditor5-ui/src/button/buttonlabelview.js new file mode 100644 index 0000000..32f376b --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/src/button/buttonlabelview.js @@ -0,0 +1,42 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module ui/button/buttonlabelview + */ +import View from '../view.js'; +/** + * A default implementation of the button view's label. It comes with a dynamic text support + * via {@link module:ui/button/buttonlabelview~ButtonLabelView#text} property. + */ +export default class ButtonLabelView extends View { + /** + * @inheritDoc + */ + constructor() { + super(); + this.set({ + style: undefined, + text: undefined, + id: undefined + }); + const bind = this.bindTemplate; + this.setTemplate({ + tag: 'span', + attributes: { + class: [ + 'ck', + 'ck-button__label' + ], + style: bind.to('style'), + id: bind.to('id') + }, + children: [ + { + text: bind.to('text') + } + ] + }); + } +} diff --git a/node_modules/@ckeditor/ckeditor5-ui/src/button/buttonview.d.ts b/node_modules/@ckeditor/ckeditor5-ui/src/button/buttonview.d.ts new file mode 100644 index 0000000..799268a --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/src/button/buttonview.d.ts @@ -0,0 +1,185 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module ui/button/buttonview + */ +import View from '../view.js'; +import IconView from '../icon/iconview.js'; +import type ViewCollection from '../viewcollection.js'; +import type { default as Button } from './button.js'; +import type ButtonLabel from './buttonlabel.js'; +import { type Locale } from '@ckeditor/ckeditor5-utils'; +import '../../theme/components/button/button.css'; +/** + * The button view class. + * + * ```ts + * const view = new ButtonView(); + * + * view.set( { + * label: 'A button', + * keystroke: 'Ctrl+B', + * tooltip: true, + * withText: true + * } ); + * + * view.render(); + * + * document.body.append( view.element ); + * ``` + */ +export default class ButtonView extends View implements Button { + /** + * Collection of the child views inside of the button {@link #element}. + */ + readonly children: ViewCollection; + /** + * Label of the button view. Its text is configurable using the {@link #label label attribute}. + * + * If not configured otherwise in the `constructor()`, by default the label is an instance + * of {@link module:ui/button/buttonlabelview~ButtonLabelView}. + */ + readonly labelView: ButtonLabel; + /** + * The icon view of the button. Will be added to {@link #children} when the + * {@link #icon icon attribute} is defined. + */ + readonly iconView: IconView; + /** + * A view displaying the keystroke of the button next to the {@link #labelView label}. + * Added to {@link #children} when the {@link #withKeystroke `withKeystroke` attribute} + * is defined. + */ + readonly keystrokeView: View; + /** + * @inheritDoc + */ + class: string | undefined; + /** + * @inheritDoc + */ + labelStyle: string | undefined; + /** + * @inheritDoc + */ + icon: string | undefined; + /** + * @inheritDoc + */ + isEnabled: boolean; + /** + * @inheritDoc + */ + isOn: boolean; + /** + * @inheritDoc + */ + isVisible: boolean; + /** + * @inheritDoc + */ + isToggleable: boolean; + /** + * @inheritDoc + */ + keystroke: string | undefined; + /** + * @inheritDoc + */ + label: string | undefined; + /** + * @inheritDoc + */ + tabindex: number; + /** + * @inheritDoc + */ + tooltip: Button['tooltip']; + /** + * @inheritDoc + */ + tooltipPosition: Button['tooltipPosition']; + /** + * @inheritDoc + */ + type: Button['type']; + /** + * @inheritDoc + */ + withText: boolean; + /** + * @inheritDoc + */ + withKeystroke: boolean; + /** + * @inheritDoc + */ + role: string | undefined; + /** + * @inheritDoc + */ + ariaChecked: boolean | undefined; + /** + * @inheritDoc + */ + ariaLabel?: string | undefined; + /** + * @inheritDoc + */ + ariaLabelledBy: string | undefined; + /** + * Tooltip of the button bound to the template. + * + * @see #tooltip + * @see module:ui/button/buttonview~ButtonView#_getTooltipString + * @internal + * @observable + */ + _tooltipString: string; + /** + * Delayed focus function for focus handling in Safari. + */ + private _focusDelayed; + /** + * Creates an instance of the button view class. + * + * @param locale The {@link module:core/editor/editor~Editor#locale} instance. + * @param labelView The instance of the button's label. If not provided, an instance of + * {@link module:ui/button/buttonlabelview~ButtonLabelView} is used. + */ + constructor(locale?: Locale, labelView?: ButtonLabel); + /** + * @inheritDoc + */ + render(): void; + /** + * Focuses the {@link #element} of the button. + */ + focus(): void; + /** + * @inheritDoc + */ + destroy(): void; + /** + * Binds the label view instance it with button attributes. + */ + private _setupLabelView; + /** + * Creates a view that displays a keystroke next to a {@link #labelView label } + * and binds it with button attributes. + */ + private _createKeystrokeView; + /** + * Gets the text for the tooltip from the combination of + * {@link #tooltip}, {@link #label} and {@link #keystroke} attributes. + * + * @see #tooltip + * @see #_tooltipString + * @param tooltip Button tooltip. + * @param label Button label. + * @param keystroke Button keystroke. + */ + private _getTooltipString; +} diff --git a/node_modules/@ckeditor/ckeditor5-ui/src/button/buttonview.js b/node_modules/@ckeditor/ckeditor5-ui/src/button/buttonview.js new file mode 100644 index 0000000..3b29a67 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/src/button/buttonview.js @@ -0,0 +1,218 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module ui/button/buttonview + */ +import View from '../view.js'; +import IconView from '../icon/iconview.js'; +import ButtonLabelView from './buttonlabelview.js'; +import { env, getEnvKeystrokeText, uid, delay } from '@ckeditor/ckeditor5-utils'; +import '../../theme/components/button/button.css'; +/** + * The button view class. + * + * ```ts + * const view = new ButtonView(); + * + * view.set( { + * label: 'A button', + * keystroke: 'Ctrl+B', + * tooltip: true, + * withText: true + * } ); + * + * view.render(); + * + * document.body.append( view.element ); + * ``` + */ +export default class ButtonView extends View { + /** + * Creates an instance of the button view class. + * + * @param locale The {@link module:core/editor/editor~Editor#locale} instance. + * @param labelView The instance of the button's label. If not provided, an instance of + * {@link module:ui/button/buttonlabelview~ButtonLabelView} is used. + */ + constructor(locale, labelView = new ButtonLabelView()) { + super(locale); + /** + * Delayed focus function for focus handling in Safari. + */ + this._focusDelayed = null; + const bind = this.bindTemplate; + const ariaLabelUid = uid(); + // Implement the Button interface. + this.set('ariaLabel', undefined); + this.set('ariaLabelledBy', `ck-editor__aria-label_${ariaLabelUid}`); + this.set('class', undefined); + this.set('labelStyle', undefined); + this.set('icon', undefined); + this.set('isEnabled', true); + this.set('isOn', false); + this.set('isVisible', true); + this.set('isToggleable', false); + this.set('keystroke', undefined); + this.set('label', undefined); + this.set('role', undefined); + this.set('tabindex', -1); + this.set('tooltip', false); + this.set('tooltipPosition', 's'); + this.set('type', 'button'); + this.set('withText', false); + this.set('withKeystroke', false); + this.children = this.createCollection(); + this.labelView = this._setupLabelView(labelView); + this.iconView = new IconView(); + this.iconView.extendTemplate({ + attributes: { + class: 'ck-button__icon' + } + }); + this.keystrokeView = this._createKeystrokeView(); + this.bind('_tooltipString').to(this, 'tooltip', this, 'label', this, 'keystroke', this._getTooltipString.bind(this)); + const template = { + tag: 'button', + attributes: { + class: [ + 'ck', + 'ck-button', + bind.to('class'), + bind.if('isEnabled', 'ck-disabled', value => !value), + bind.if('isVisible', 'ck-hidden', value => !value), + bind.to('isOn', value => value ? 'ck-on' : 'ck-off'), + bind.if('withText', 'ck-button_with-text'), + bind.if('withKeystroke', 'ck-button_with-keystroke') + ], + role: bind.to('role'), + type: bind.to('type', value => value ? value : 'button'), + tabindex: bind.to('tabindex'), + 'aria-checked': bind.to('ariaChecked'), + 'aria-label': bind.to('ariaLabel'), + 'aria-labelledby': bind.to('ariaLabelledBy'), + 'aria-disabled': bind.if('isEnabled', true, value => !value), + 'aria-pressed': bind.to('isOn', value => this.isToggleable ? String(!!value) : false), + 'data-cke-tooltip-text': bind.to('_tooltipString'), + 'data-cke-tooltip-position': bind.to('tooltipPosition') + }, + children: this.children, + on: { + click: bind.to(evt => { + // We can't make the button disabled using the disabled attribute, because it won't be focusable. + // Though, shouldn't this condition be moved to the button controller? + if (this.isEnabled) { + this.fire('execute'); + } + else { + // Prevent the default when button is disabled, to block e.g. + // automatic form submitting. See ckeditor/ckeditor5-link#74. + evt.preventDefault(); + } + }) + } + }; + // On Safari we have to force the focus on a button on click as it's the only browser + // that doesn't do that automatically. See #12115. + if (env.isSafari) { + if (!this._focusDelayed) { + this._focusDelayed = delay(() => this.focus(), 0); + } + template.on.mousedown = bind.to(() => { + this._focusDelayed(); + }); + template.on.mouseup = bind.to(() => { + this._focusDelayed.cancel(); + }); + } + this.setTemplate(template); + } + /** + * @inheritDoc + */ + render() { + super.render(); + if (this.icon) { + this.iconView.bind('content').to(this, 'icon'); + this.children.add(this.iconView); + } + this.children.add(this.labelView); + if (this.withKeystroke && this.keystroke) { + this.children.add(this.keystrokeView); + } + } + /** + * Focuses the {@link #element} of the button. + */ + focus() { + this.element.focus(); + } + /** + * @inheritDoc + */ + destroy() { + if (this._focusDelayed) { + this._focusDelayed.cancel(); + } + super.destroy(); + } + /** + * Binds the label view instance it with button attributes. + */ + _setupLabelView(labelView) { + labelView.bind('text', 'style', 'id').to(this, 'label', 'labelStyle', 'ariaLabelledBy'); + return labelView; + } + /** + * Creates a view that displays a keystroke next to a {@link #labelView label } + * and binds it with button attributes. + */ + _createKeystrokeView() { + const keystrokeView = new View(); + keystrokeView.setTemplate({ + tag: 'span', + attributes: { + class: [ + 'ck', + 'ck-button__keystroke' + ] + }, + children: [ + { + text: this.bindTemplate.to('keystroke', text => getEnvKeystrokeText(text)) + } + ] + }); + return keystrokeView; + } + /** + * Gets the text for the tooltip from the combination of + * {@link #tooltip}, {@link #label} and {@link #keystroke} attributes. + * + * @see #tooltip + * @see #_tooltipString + * @param tooltip Button tooltip. + * @param label Button label. + * @param keystroke Button keystroke. + */ + _getTooltipString(tooltip, label, keystroke) { + if (tooltip) { + if (typeof tooltip == 'string') { + return tooltip; + } + else { + if (keystroke) { + keystroke = getEnvKeystrokeText(keystroke); + } + if (tooltip instanceof Function) { + return tooltip(label, keystroke); + } + else { + return `${label}${keystroke ? ` (${keystroke})` : ''}`; + } + } + } + return ''; + } +} diff --git a/node_modules/@ckeditor/ckeditor5-ui/src/button/filedialogbuttonview.d.ts b/node_modules/@ckeditor/ckeditor5-ui/src/button/filedialogbuttonview.d.ts new file mode 100644 index 0000000..d5a972c --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/src/button/filedialogbuttonview.d.ts @@ -0,0 +1,80 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +import ButtonView from './buttonview.js'; +import type { Locale } from '@ckeditor/ckeditor5-utils'; +/** + * The file dialog button view. + * + * This component provides a button that opens the native file selection dialog. + * It can be used to implement the UI of a file upload feature. + * + * ```ts + * const view = new FileDialogButtonView( locale ); + * + * view.set( { + * acceptedType: 'image/*', + * allowMultipleFiles: true + * label: t( 'Insert image' ), + * icon: imageIcon, + * tooltip: true + * } ); + * + * view.on( 'done', ( evt, files ) => { + * for ( const file of Array.from( files ) ) { + * console.log( 'Selected file', file ); + * } + * } ); + * ``` + */ +export default class FileDialogButtonView extends ButtonView { + /** + * The button view of the component. + * + * @deprecated + */ + buttonView: ButtonView; + /** + * A hidden `` view used to execute file dialog. + */ + private _fileInputView; + /** + * Accepted file types. Can be provided in form of file extensions, media type or one of: + * * `audio/*`, + * * `video/*`, + * * `image/*`. + * + * @observable + */ + acceptedType: string; + /** + * Indicates if multiple files can be selected. Defaults to `true`. + * + * @observable + */ + allowMultipleFiles: boolean; + /** + * @inheritDoc + */ + constructor(locale?: Locale); + /** + * @inheritDoc + */ + render(): void; +} +/** + * Fired when file dialog is closed with file selected. + * + * ```ts + * view.on( 'done', ( evt, files ) => { + * for ( const file of files ) { + * console.log( 'Selected file', file ); + * } + * } + * ``` + */ +export type FileInputViewDoneEvent = { + name: 'done'; + args: [files: FileList]; +}; diff --git a/node_modules/@ckeditor/ckeditor5-ui/src/button/filedialogbuttonview.js b/node_modules/@ckeditor/ckeditor5-ui/src/button/filedialogbuttonview.js new file mode 100644 index 0000000..fdab08d --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/src/button/filedialogbuttonview.js @@ -0,0 +1,103 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module ui/button/filedialogbuttonview + */ +import View from '../view.js'; +import ButtonView from './buttonview.js'; +/** + * The file dialog button view. + * + * This component provides a button that opens the native file selection dialog. + * It can be used to implement the UI of a file upload feature. + * + * ```ts + * const view = new FileDialogButtonView( locale ); + * + * view.set( { + * acceptedType: 'image/*', + * allowMultipleFiles: true + * label: t( 'Insert image' ), + * icon: imageIcon, + * tooltip: true + * } ); + * + * view.on( 'done', ( evt, files ) => { + * for ( const file of Array.from( files ) ) { + * console.log( 'Selected file', file ); + * } + * } ); + * ``` + */ +export default class FileDialogButtonView extends ButtonView { + /** + * @inheritDoc + */ + constructor(locale) { + super(locale); + // For backward compatibility. + this.buttonView = this; + this._fileInputView = new FileInputView(locale); + this._fileInputView.bind('acceptedType').to(this); + this._fileInputView.bind('allowMultipleFiles').to(this); + this._fileInputView.delegate('done').to(this); + this.on('execute', () => { + this._fileInputView.open(); + }); + this.extendTemplate({ + attributes: { + class: 'ck-file-dialog-button' + } + }); + } + /** + * @inheritDoc + */ + render() { + super.render(); + this.children.add(this._fileInputView); + } +} +/** + * The hidden file input view class. + */ +class FileInputView extends View { + /** + * @inheritDoc + */ + constructor(locale) { + super(locale); + this.set('acceptedType', undefined); + this.set('allowMultipleFiles', false); + const bind = this.bindTemplate; + this.setTemplate({ + tag: 'input', + attributes: { + class: [ + 'ck-hidden' + ], + type: 'file', + tabindex: '-1', + accept: bind.to('acceptedType'), + multiple: bind.to('allowMultipleFiles') + }, + on: { + // Removing from code coverage since we cannot programmatically set input element files. + change: bind.to(/* istanbul ignore next -- @preserve */ () => { + if (this.element && this.element.files && this.element.files.length) { + this.fire('done', this.element.files); + } + this.element.value = ''; + }) + } + }); + } + /** + * Opens file dialog. + */ + open() { + this.element.click(); + } +} diff --git a/node_modules/@ckeditor/ckeditor5-ui/src/button/switchbuttonview.d.ts b/node_modules/@ckeditor/ckeditor5-ui/src/button/switchbuttonview.d.ts new file mode 100644 index 0000000..14402a5 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/src/button/switchbuttonview.d.ts @@ -0,0 +1,45 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module ui/button/switchbuttonview + */ +import View from '../view.js'; +import ButtonView from './buttonview.js'; +import type { Locale } from '@ckeditor/ckeditor5-utils'; +import '../../theme/components/button/switchbutton.css'; +/** + * The switch button view class. + * + * ```ts + * const view = new SwitchButtonView(); + * + * view.set( { + * withText: true, + * label: 'Switch me!' + * } ); + * + * view.render(); + * + * document.body.append( view.element ); + * ``` + */ +export default class SwitchButtonView extends ButtonView { + /** + * The toggle switch of the button. + */ + readonly toggleSwitchView: View; + /** + * @inheritDoc + */ + constructor(locale?: Locale); + /** + * @inheritDoc + */ + render(): void; + /** + * Creates a toggle child view. + */ + private _createToggleView; +} diff --git a/node_modules/@ckeditor/ckeditor5-ui/src/button/switchbuttonview.js b/node_modules/@ckeditor/ckeditor5-ui/src/button/switchbuttonview.js new file mode 100644 index 0000000..9f4809f --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/src/button/switchbuttonview.js @@ -0,0 +1,75 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module ui/button/switchbuttonview + */ +import View from '../view.js'; +import ButtonView from './buttonview.js'; +import '../../theme/components/button/switchbutton.css'; +/** + * The switch button view class. + * + * ```ts + * const view = new SwitchButtonView(); + * + * view.set( { + * withText: true, + * label: 'Switch me!' + * } ); + * + * view.render(); + * + * document.body.append( view.element ); + * ``` + */ +export default class SwitchButtonView extends ButtonView { + /** + * @inheritDoc + */ + constructor(locale) { + super(locale); + this.isToggleable = true; + this.toggleSwitchView = this._createToggleView(); + this.extendTemplate({ + attributes: { + class: 'ck-switchbutton' + } + }); + } + /** + * @inheritDoc + */ + render() { + super.render(); + this.children.add(this.toggleSwitchView); + } + /** + * Creates a toggle child view. + */ + _createToggleView() { + const toggleSwitchView = new View(); + toggleSwitchView.setTemplate({ + tag: 'span', + attributes: { + class: [ + 'ck', + 'ck-button__toggle' + ] + }, + children: [ + { + tag: 'span', + attributes: { + class: [ + 'ck', + 'ck-button__toggle__inner' + ] + } + } + ] + }); + return toggleSwitchView; + } +} diff --git a/node_modules/@ckeditor/ckeditor5-ui/src/collapsible/collapsibleview.d.ts b/node_modules/@ckeditor/ckeditor5-ui/src/collapsible/collapsibleview.d.ts new file mode 100644 index 0000000..cca93bc --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/src/collapsible/collapsibleview.d.ts @@ -0,0 +1,70 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module ui/collapsible/collapsibleview + */ +import type { Locale } from '@ckeditor/ckeditor5-utils'; +import View from '../view.js'; +import ButtonView from '../button/buttonview.js'; +import type ViewCollection from '../viewcollection.js'; +import type { FocusableView } from '../focuscycler.js'; +import '../../theme/components/collapsible/collapsible.css'; +/** + * A collapsible UI component. Consists of a labeled button and a container which can be collapsed + * by clicking the button. The collapsible container can be a host to other UI views. + * + * @internal + */ +export default class CollapsibleView extends View { + /** + * `true` when the container with {@link #children} is collapsed. `false` otherwise. + * + * @observable + */ + isCollapsed: boolean; + /** + * The text label of the {@link #buttonView}. + * + * @observable + * @default 'Show more' + */ + label: string; + /** + * The ID of the label inside the {@link #buttonView} that describes the collapsible + * container for assistive technologies. Set after the button was {@link #render rendered}. + * + * @internal + * @readonly + * @observable + */ + _collapsibleAriaLabelUid: string | undefined; + /** + * The main button that, when clicked, collapses or expands the container with {@link #children}. + */ + readonly buttonView: ButtonView; + /** + * A collection of the child views that can be collapsed by clicking the {@link #buttonView}. + */ + readonly children: ViewCollection; + /** + * Creates an instance of the collapsible view. + * + * @param locale The {@link module:core/editor/editor~Editor#locale} instance. + * @param childViews An optional array of initial child views to be inserted into the collapsible. + */ + constructor(locale: Locale, childViews?: Array); + /** + * @inheritDoc + */ + render(): void; + /** + * Focuses the first focusable. + */ + focus(): void; + /** + * Creates the main {@link #buttonView} of the collapsible. + */ + private _createButtonView; +} diff --git a/node_modules/@ckeditor/ckeditor5-ui/src/collapsible/collapsibleview.js b/node_modules/@ckeditor/ckeditor5-ui/src/collapsible/collapsibleview.js new file mode 100644 index 0000000..e83d0f0 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/src/collapsible/collapsibleview.js @@ -0,0 +1,95 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +import View from '../view.js'; +import ButtonView from '../button/buttonview.js'; +import dropdownArrowIcon from '../../theme/icons/dropdown-arrow.svg'; +import '../../theme/components/collapsible/collapsible.css'; +/** + * A collapsible UI component. Consists of a labeled button and a container which can be collapsed + * by clicking the button. The collapsible container can be a host to other UI views. + * + * @internal + */ +export default class CollapsibleView extends View { + /** + * Creates an instance of the collapsible view. + * + * @param locale The {@link module:core/editor/editor~Editor#locale} instance. + * @param childViews An optional array of initial child views to be inserted into the collapsible. + */ + constructor(locale, childViews) { + super(locale); + const bind = this.bindTemplate; + this.set('isCollapsed', false); + this.set('label', ''); + this.buttonView = this._createButtonView(); + this.children = this.createCollection(); + this.set('_collapsibleAriaLabelUid', undefined); + if (childViews) { + this.children.addMany(childViews); + } + this.setTemplate({ + tag: 'div', + attributes: { + class: [ + 'ck', + 'ck-collapsible', + bind.if('isCollapsed', 'ck-collapsible_collapsed') + ] + }, + children: [ + this.buttonView, + { + tag: 'div', + attributes: { + class: [ + 'ck', + 'ck-collapsible__children' + ], + role: 'region', + hidden: bind.if('isCollapsed', 'hidden'), + 'aria-labelledby': bind.to('_collapsibleAriaLabelUid') + }, + children: this.children + } + ] + }); + } + /** + * @inheritDoc + */ + render() { + super.render(); + this._collapsibleAriaLabelUid = this.buttonView.labelView.element.id; + } + /** + * Focuses the first focusable. + */ + focus() { + this.buttonView.focus(); + } + /** + * Creates the main {@link #buttonView} of the collapsible. + */ + _createButtonView() { + const buttonView = new ButtonView(this.locale); + const bind = buttonView.bindTemplate; + buttonView.set({ + withText: true, + icon: dropdownArrowIcon + }); + buttonView.extendTemplate({ + attributes: { + 'aria-expanded': bind.to('isOn', value => String(value)) + } + }); + buttonView.bind('label').to(this); + buttonView.bind('isOn').to(this, 'isCollapsed', isCollapsed => !isCollapsed); + buttonView.on('execute', () => { + this.isCollapsed = !this.isCollapsed; + }); + return buttonView; + } +} diff --git a/node_modules/@ckeditor/ckeditor5-ui/src/colorgrid/colorgridview.d.ts b/node_modules/@ckeditor/ckeditor5-ui/src/colorgrid/colorgridview.d.ts new file mode 100644 index 0000000..9b04266 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/src/colorgrid/colorgridview.d.ts @@ -0,0 +1,132 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module ui/colorgrid/colorgridview + */ +import View from '../view.js'; +import ColorTileView from './colortileview.js'; +import type DropdownPanelFocusable from '../dropdown/dropdownpanelfocusable.js'; +import type ViewCollection from '../viewcollection.js'; +import { FocusTracker, KeystrokeHandler, type Locale } from '@ckeditor/ckeditor5-utils'; +import '../../theme/components/colorgrid/colorgrid.css'; +/** + * A grid of {@link module:ui/colorgrid/colortileview~ColorTileView color tiles}. + */ +export default class ColorGridView extends View implements DropdownPanelFocusable { + /** + * A number of columns for the tiles grid. + */ + readonly columns: number; + /** + * Collection of the child tile views. + */ + readonly items: ViewCollection; + /** + * Tracks information about DOM focus in the grid. + */ + readonly focusTracker: FocusTracker; + /** + * Instance of the {@link module:utils/keystrokehandler~KeystrokeHandler}. + */ + readonly keystrokes: KeystrokeHandler; + /** + * The color of the currently selected color tile in {@link #items}. + * + * @observable + */ + selectedColor: string | undefined | null; + /** + * Creates an instance of a color grid containing {@link module:ui/colorgrid/colortileview~ColorTileView tiles}. + * + * @fires execute + * @param locale The localization services instance. + * @param options Component configuration + * @param options.colorDefinitions Array with definitions + * required to create the {@link module:ui/colorgrid/colortileview~ColorTileView tiles}. + * @param options.columns A number of columns to display the tiles. + */ + constructor(locale?: Locale, options?: { + colorDefinitions?: Array; + columns?: number; + }); + /** + * Focuses the first focusable in {@link #items}. + */ + focus(): void; + /** + * Focuses the last focusable in {@link #items}. + */ + focusLast(): void; + /** + * @inheritDoc + */ + render(): void; + /** + * @inheritDoc + */ + destroy(): void; +} +/** + * A color definition used to create a {@link module:ui/colorgrid/colortileview~ColorTileView}. + * + * ```json + * { + * color: 'hsl(0, 0%, 75%)', + * label: 'Light Grey', + * options: { + * hasBorder: true + * } + * } + * ``` + */ +export interface ColorDefinition { + /** + * String representing a color. + * It is used as value of background-color style in {@link module:ui/colorgrid/colortileview~ColorTileView}. + */ + color: string; + /** + * String used as label for {@link module:ui/colorgrid/colortileview~ColorTileView}. + */ + label: string; + /** + * Additional options passed to create a {@link module:ui/colorgrid/colortileview~ColorTileView}. + */ + options: { + /** + * A flag that indicates if special a CSS class should be added + * to {@link module:ui/colorgrid/colortileview~ColorTileView}, which renders a border around it. + */ + hasBorder: boolean; + }; +} +/** + * Fired when the `ColorTileView` for the picked item is executed. + * + * @eventName ~ColorGridView#execute + * @param data Additional information about the event. +*/ +export type ColorGridViewExecuteEvent = { + name: 'execute'; + args: [data: ColorGridViewExecuteEventData]; +}; +/** + * The data of {@link ~ColorGridViewExecuteEvent execute event}. + */ +export interface ColorGridViewExecuteEventData { + /** + * The value of the selected color ({@link module:ui/colorgrid/colorgridview~ColorDefinition#color `color.color`}). + */ + value: string; + /** + * The `hasBorder` property of the selected color + * ({@link module:ui/colorgrid/colorgridview~ColorDefinition#options `color.options.hasBorder`}). + */ + hasBorder: boolean; + /** + * The label of the selected color ({@link module:ui/colorgrid/colorgridview~ColorDefinition#label `color.label`}) + */ + label: string; +} diff --git a/node_modules/@ckeditor/ckeditor5-ui/src/colorgrid/colorgridview.js b/node_modules/@ckeditor/ckeditor5-ui/src/colorgrid/colorgridview.js new file mode 100644 index 0000000..202b9be --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/src/colorgrid/colorgridview.js @@ -0,0 +1,124 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module ui/colorgrid/colorgridview + */ +import View from '../view.js'; +import ColorTileView from './colortileview.js'; +import addKeyboardHandlingForGrid from '../bindings/addkeyboardhandlingforgrid.js'; +import { FocusTracker, KeystrokeHandler } from '@ckeditor/ckeditor5-utils'; +import '../../theme/components/colorgrid/colorgrid.css'; +/** + * A grid of {@link module:ui/colorgrid/colortileview~ColorTileView color tiles}. + */ +export default class ColorGridView extends View { + /** + * Creates an instance of a color grid containing {@link module:ui/colorgrid/colortileview~ColorTileView tiles}. + * + * @fires execute + * @param locale The localization services instance. + * @param options Component configuration + * @param options.colorDefinitions Array with definitions + * required to create the {@link module:ui/colorgrid/colortileview~ColorTileView tiles}. + * @param options.columns A number of columns to display the tiles. + */ + constructor(locale, options) { + super(locale); + const colorDefinitions = options && options.colorDefinitions ? options.colorDefinitions : []; + this.columns = options && options.columns ? options.columns : 5; + const viewStyleAttribute = { + gridTemplateColumns: `repeat( ${this.columns}, 1fr)` + }; + this.set('selectedColor', undefined); + this.items = this.createCollection(); + this.focusTracker = new FocusTracker(); + this.keystrokes = new KeystrokeHandler(); + this.items.on('add', (evt, colorTile) => { + colorTile.isOn = colorTile.color === this.selectedColor; + }); + colorDefinitions.forEach(color => { + const colorTile = new ColorTileView(); + colorTile.set({ + color: color.color, + label: color.label, + tooltip: true, + hasBorder: color.options.hasBorder + }); + colorTile.on('execute', () => { + this.fire('execute', { + value: color.color, + hasBorder: color.options.hasBorder, + label: color.label + }); + }); + this.items.add(colorTile); + }); + this.setTemplate({ + tag: 'div', + children: this.items, + attributes: { + class: [ + 'ck', + 'ck-color-grid' + ], + style: viewStyleAttribute + } + }); + this.on('change:selectedColor', (evt, name, selectedColor) => { + for (const item of this.items) { + item.isOn = item.color === selectedColor; + } + }); + } + /** + * Focuses the first focusable in {@link #items}. + */ + focus() { + if (this.items.length) { + this.items.first.focus(); + } + } + /** + * Focuses the last focusable in {@link #items}. + */ + focusLast() { + if (this.items.length) { + this.items.last.focus(); + } + } + /** + * @inheritDoc + */ + render() { + super.render(); + // Items added before rendering should be known to the #focusTracker. + for (const item of this.items) { + this.focusTracker.add(item.element); + } + this.items.on('add', (evt, item) => { + this.focusTracker.add(item.element); + }); + this.items.on('remove', (evt, item) => { + this.focusTracker.remove(item.element); + }); + // Start listening for the keystrokes coming from #element. + this.keystrokes.listenTo(this.element); + addKeyboardHandlingForGrid({ + keystrokeHandler: this.keystrokes, + focusTracker: this.focusTracker, + gridItems: this.items, + numberOfColumns: this.columns, + uiLanguageDirection: this.locale && this.locale.uiLanguageDirection + }); + } + /** + * @inheritDoc + */ + destroy() { + super.destroy(); + this.focusTracker.destroy(); + this.keystrokes.destroy(); + } +} diff --git a/node_modules/@ckeditor/ckeditor5-ui/src/colorgrid/colortileview.d.ts b/node_modules/@ckeditor/ckeditor5-ui/src/colorgrid/colortileview.d.ts new file mode 100644 index 0000000..a765583 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/src/colorgrid/colortileview.d.ts @@ -0,0 +1,28 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module ui/colorgrid/colortileview + */ +import ButtonView from '../button/buttonview.js'; +import type { Locale } from '@ckeditor/ckeditor5-utils'; +/** + * This class represents a single color tile in the {@link module:ui/colorgrid/colorgridview~ColorGridView}. + */ +export default class ColorTileView extends ButtonView { + /** + * String representing a color shown as tile's background. + */ + color: string | undefined; + /** + * A flag that toggles a special CSS class responsible for displaying + * a border around the button. + */ + hasBorder: boolean; + constructor(locale?: Locale); + /** + * @inheritDoc + */ + render(): void; +} diff --git a/node_modules/@ckeditor/ckeditor5-ui/src/colorgrid/colortileview.js b/node_modules/@ckeditor/ckeditor5-ui/src/colorgrid/colortileview.js new file mode 100644 index 0000000..e4aa0cd --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/src/colorgrid/colortileview.js @@ -0,0 +1,40 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module ui/colorgrid/colortileview + */ +import ButtonView from '../button/buttonview.js'; +import checkIcon from '../../theme/icons/color-tile-check.svg'; +/** + * This class represents a single color tile in the {@link module:ui/colorgrid/colorgridview~ColorGridView}. + */ +export default class ColorTileView extends ButtonView { + constructor(locale) { + super(locale); + const bind = this.bindTemplate; + this.set('color', undefined); + this.set('hasBorder', false); + this.icon = checkIcon; + this.extendTemplate({ + attributes: { + style: { + backgroundColor: bind.to('color') + }, + class: [ + 'ck', + 'ck-color-grid__tile', + bind.if('hasBorder', 'ck-color-selector__color-tile_bordered') + ] + } + }); + } + /** + * @inheritDoc + */ + render() { + super.render(); + this.iconView.fillColor = 'hsl(0, 0%, 100%)'; + } +} diff --git a/node_modules/@ckeditor/ckeditor5-ui/src/colorgrid/utils.d.ts b/node_modules/@ckeditor/ckeditor5-ui/src/colorgrid/utils.d.ts new file mode 100644 index 0000000..87d15da --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/src/colorgrid/utils.d.ts @@ -0,0 +1,47 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module ui/colorgrid/utils + */ +import type { Locale } from '@ckeditor/ckeditor5-utils'; +export type ColorOption = string | { + color: string; + label?: string; + hasBorder?: boolean; +}; +export interface NormalizedColorOption { + model: string; + label: string; + hasBorder: boolean; + view: { + name: string; + styles: { + color: string; + }; + }; +} +/** + * Returns color configuration options as defined in `editor.config.(fontColor|fontBackgroundColor).colors` or + * `editor.config.table.(tableProperties|tableCellProperties).(background|border).colors + * but processed to account for editor localization in the correct language. + * + * Note: The reason behind this method is that there is no way to use {@link module:utils/locale~Locale#t} + * when the user configuration is defined because the editor does not exist yet. + * + * @param locale The {@link module:core/editor/editor~Editor#locale} instance. + */ +export declare function getLocalizedColorOptions(locale: Locale, options: Array): Array; +/** + * Creates a unified color definition object from color configuration options. + * The object contains the information necessary to both render the UI and initialize the conversion. + */ +export declare function normalizeColorOptions(options: Array): Array; +/** + * Creates a normalized color definition from the user-defined configuration. + * The "normalization" means it will create full + * {@link module:ui/colorgrid/colorgridview~ColorDefinition `ColorDefinition-like`} + * object for string values, and add a `view` property, for each definition. + */ +export declare function normalizeSingleColorDefinition(color: ColorOption): NormalizedColorOption; diff --git a/node_modules/@ckeditor/ckeditor5-ui/src/colorgrid/utils.js b/node_modules/@ckeditor/ckeditor5-ui/src/colorgrid/utils.js new file mode 100644 index 0000000..e1c8bc3 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/src/colorgrid/utils.js @@ -0,0 +1,84 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * Returns color configuration options as defined in `editor.config.(fontColor|fontBackgroundColor).colors` or + * `editor.config.table.(tableProperties|tableCellProperties).(background|border).colors + * but processed to account for editor localization in the correct language. + * + * Note: The reason behind this method is that there is no way to use {@link module:utils/locale~Locale#t} + * when the user configuration is defined because the editor does not exist yet. + * + * @param locale The {@link module:core/editor/editor~Editor#locale} instance. + */ +export function getLocalizedColorOptions(locale, options) { + const t = locale.t; + const localizedColorNames = { + Black: t('Black'), + 'Dim grey': t('Dim grey'), + Grey: t('Grey'), + 'Light grey': t('Light grey'), + White: t('White'), + Red: t('Red'), + Orange: t('Orange'), + Yellow: t('Yellow'), + 'Light green': t('Light green'), + Green: t('Green'), + Aquamarine: t('Aquamarine'), + Turquoise: t('Turquoise'), + 'Light blue': t('Light blue'), + Blue: t('Blue'), + Purple: t('Purple') + }; + return options.map(colorOption => { + const label = localizedColorNames[colorOption.label]; + if (label && label != colorOption.label) { + colorOption.label = label; + } + return colorOption; + }); +} +/** + * Creates a unified color definition object from color configuration options. + * The object contains the information necessary to both render the UI and initialize the conversion. + */ +export function normalizeColorOptions(options) { + return options + .map(normalizeSingleColorDefinition) + .filter(option => !!option); +} +/** + * Creates a normalized color definition from the user-defined configuration. + * The "normalization" means it will create full + * {@link module:ui/colorgrid/colorgridview~ColorDefinition `ColorDefinition-like`} + * object for string values, and add a `view` property, for each definition. + */ +export function normalizeSingleColorDefinition(color) { + if (typeof color === 'string') { + return { + model: color, + label: color, + hasBorder: false, + view: { + name: 'span', + styles: { + color + } + } + }; + } + else { + return { + model: color.color, + label: color.label || color.color, + hasBorder: color.hasBorder === undefined ? false : color.hasBorder, + view: { + name: 'span', + styles: { + color: `${color.color}` + } + } + }; + } +} diff --git a/node_modules/@ckeditor/ckeditor5-ui/src/colorpicker/colorpickerview.d.ts b/node_modules/@ckeditor/ckeditor5-ui/src/colorpicker/colorpickerview.d.ts new file mode 100644 index 0000000..008522a --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/src/colorpicker/colorpickerview.d.ts @@ -0,0 +1,142 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module ui/colorpicker/colorpickerview + */ +import { type ColorPickerViewConfig } from './utils.js'; +import { type Locale } from '@ckeditor/ckeditor5-utils'; +import View from '../view.js'; +import type ViewCollection from '../viewcollection.js'; +import { HexBase } from 'vanilla-colorful/lib/entrypoints/hex'; +import '../../theme/components/colorpicker/colorpicker.css'; +declare global { + interface HTMLElementTagNameMap { + 'hex-color-picker': HexBase; + } +} +/** + * A class which represents a color picker with an input field for defining custom colors. + */ +export default class ColorPickerView extends View { + /** + * Element with saturation and hue sliders. + */ + picker: HexBase; + /** + * Container for a `#` sign prefix and an input for displaying and defining custom colors + * in HEX format. + */ + hexInputRow: ColorPickerInputRowView; + /** + * Current color selected in the color picker. It can be set by the component itself + * (through the palette or input) or from the outside (e.g. to reflect the current selection color). + */ + color: string; + /** + * List of slider views of the color picker. + */ + slidersView: ViewCollection; + /** + * An internal representation of a color. + * + * Since the picker uses a hex format, that's how we store it. + * + * Since this is unified color format it won't fire a change event if color is changed + * from `#f00` to `#ff0000` (same value, different format). + * + * @observable + * @private + */ + _hexColor: string; + /** + * Debounced function updating the `color` property in the component + * and firing the `ColorPickerColorSelectedEvent`. Executed whenever color in component + * is changed by the user interaction (through the palette or input). + * + * @private + */ + private _debounceColorPickerEvent; + /** + * A reference to the configuration of the color picker specified in the constructor. + * + * @private + */ + private _config; + /** + * Creates a view of color picker. + * + * @param locale + * @param config + */ + constructor(locale: Locale | undefined, config?: ColorPickerViewConfig); + /** + * Renders color picker in the view. + */ + render(): void; + /** + * Focuses the first pointer in color picker. + * + */ + focus(): void; + /** + * Creates collection of sliders in color picker. + * + * @private + */ + private _createSlidersView; + /** + * Creates input row for defining custom colors in color picker. + * + * @private + */ + private _createInputRow; + /** + * Creates the input where user can type or paste the color in hex format. + * + * @private + */ + private _createColorInput; +} +declare class SliderView extends View { + /** + * @param element HTML element of slider in color picker. + */ + constructor(element: HTMLElement); + /** + * Focuses element. + */ + focus(): void; +} +declare class ColorPickerInputRowView extends View { + /** + * A collection of row items (buttons, dropdowns, etc.). + */ + readonly children: ViewCollection; + /** + * Creates an instance of the form row class. + * + * @param locale The locale instance. + */ + constructor(locale: Locale, children?: Array); +} +/** + * An event fired whenever the color was selected through the color picker palette + * or the color picker input. + * + * This even fires only when the user changes the color. It does not fire when the color + * is changed programmatically, e.g. via + * {@link module:ui/colorpicker/colorpickerview~ColorPickerView#color}. + * + * @eventName ~ColorPickerView#colorSelected + */ +export type ColorPickerColorSelectedEvent = { + name: 'colorSelected'; + args: [ + { + color: string; + } + ]; +}; +export {}; diff --git a/node_modules/@ckeditor/ckeditor5-ui/src/colorpicker/colorpickerview.js b/node_modules/@ckeditor/ckeditor5-ui/src/colorpicker/colorpickerview.js new file mode 100644 index 0000000..e65cef1 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/src/colorpicker/colorpickerview.js @@ -0,0 +1,272 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module ui/colorpicker/colorpickerview + */ +import { convertColor, convertToHex, registerCustomElement } from './utils.js'; +import { global, env } from '@ckeditor/ckeditor5-utils'; +import { debounce } from 'lodash-es'; +import View from '../view.js'; +import LabeledFieldView from '../labeledfield/labeledfieldview.js'; +import { createLabeledInputText } from '../labeledfield/utils.js'; +// Custom export due to https://github.com/ckeditor/ckeditor5/issues/15698. +import { HexBase } from 'vanilla-colorful/lib/entrypoints/hex'; +import '../../theme/components/colorpicker/colorpicker.css'; +const waitingTime = 150; +/** + * A class which represents a color picker with an input field for defining custom colors. + */ +export default class ColorPickerView extends View { + /** + * Creates a view of color picker. + * + * @param locale + * @param config + */ + constructor(locale, config = {}) { + super(locale); + this.set({ + color: '', + _hexColor: '' + }); + this.hexInputRow = this._createInputRow(); + const children = this.createCollection(); + if (!config.hideInput) { + children.add(this.hexInputRow); + } + this.setTemplate({ + tag: 'div', + attributes: { + class: ['ck', 'ck-color-picker'], + tabindex: -1 + }, + children + }); + this._config = config; + this._debounceColorPickerEvent = debounce((color) => { + // At first, set the color internally in the component. It's converted to the configured output format. + this.set('color', color); + // Then let the outside world know that the user changed the color. + this.fire('colorSelected', { color: this.color }); + }, waitingTime, { + leading: true + }); + // The `color` property holds the color in the configured output format. + // Ensure it before actually setting the value. + this.on('set:color', (evt, propertyName, newValue) => { + evt.return = convertColor(newValue, this._config.format || 'hsl'); + }); + // The `_hexColor` property is bound to the `color` one, but requires conversion. + this.on('change:color', () => { + this._hexColor = convertColorToCommonHexFormat(this.color); + }); + this.on('change:_hexColor', () => { + // Update the selected color in the color picker palette when it's not focused. + // It means the user typed the color in the input. + if (document.activeElement !== this.picker) { + this.picker.setAttribute('color', this._hexColor); + } + // There has to be two way binding between properties. + // Extra precaution has to be taken to trigger change back only when the color really changes. + if (convertColorToCommonHexFormat(this.color) != convertColorToCommonHexFormat(this._hexColor)) { + this.color = this._hexColor; + } + }); + } + /** + * Renders color picker in the view. + */ + render() { + super.render(); + // Extracted to the helper to make it testable. + registerCustomElement('hex-color-picker', HexBase); + this.picker = global.document.createElement('hex-color-picker'); + this.picker.setAttribute('class', 'hex-color-picker'); + this.picker.setAttribute('tabindex', '-1'); + this._createSlidersView(); + if (this.element) { + if (this.hexInputRow.element) { + this.element.insertBefore(this.picker, this.hexInputRow.element); + } + else { + this.element.appendChild(this.picker); + } + // Create custom stylesheet with a look of focused pointer in color picker and append it into the color picker shadowDom + const styleSheetForFocusedColorPicker = document.createElement('style'); + styleSheetForFocusedColorPicker.textContent = '[role="slider"]:focus [part$="pointer"] {' + + 'border: 1px solid #fff;' + + 'outline: 1px solid var(--ck-color-focus-border);' + + 'box-shadow: 0 0 0 2px #fff;' + + '}'; + this.picker.shadowRoot.appendChild(styleSheetForFocusedColorPicker); + } + this.picker.addEventListener('color-changed', event => { + const color = event.detail.value; + this._debounceColorPickerEvent(color); + }); + } + /** + * Focuses the first pointer in color picker. + * + */ + focus() { + // In some browsers we need to move the focus to the input first. + // Otherwise, the color picker doesn't behave as expected. + // In FF, after selecting the color via slider, it instantly moves back to the previous color. + // In all iOS browsers and desktop Safari, once the saturation slider is moved for the first time, + // editor collapses the selection and doesn't apply the color change. + // See: https://github.com/cksource/ckeditor5-internal/issues/3245, https://github.com/ckeditor/ckeditor5/issues/14119, + // https://github.com/cksource/ckeditor5-internal/issues/3268. + /* istanbul ignore next -- @preserve */ + if (!this._config.hideInput && (env.isGecko || env.isiOS || env.isSafari)) { + const input = this.hexInputRow.children.get(1); + input.focus(); + } + const firstSlider = this.slidersView.first; + firstSlider.focus(); + } + /** + * Creates collection of sliders in color picker. + * + * @private + */ + _createSlidersView() { + const colorPickersChildren = [...this.picker.shadowRoot.children]; + const sliders = colorPickersChildren.filter(item => item.getAttribute('role') === 'slider'); + const slidersView = sliders.map(slider => { + const view = new SliderView(slider); + return view; + }); + this.slidersView = this.createCollection(); + slidersView.forEach(item => { + this.slidersView.add(item); + }); + } + /** + * Creates input row for defining custom colors in color picker. + * + * @private + */ + _createInputRow() { + const hashView = new HashView(); + const colorInput = this._createColorInput(); + return new ColorPickerInputRowView(this.locale, [hashView, colorInput]); + } + /** + * Creates the input where user can type or paste the color in hex format. + * + * @private + */ + _createColorInput() { + const labeledInput = new LabeledFieldView(this.locale, createLabeledInputText); + const { t } = this.locale; + labeledInput.set({ + label: t('HEX'), + class: 'color-picker-hex-input' + }); + labeledInput.fieldView.bind('value').to(this, '_hexColor', pickerColor => { + if (labeledInput.isFocused) { + // Text field shouldn't be updated with color change if the text field is focused. + // Imagine user typing hex code and getting the value of field changed. + return labeledInput.fieldView.value; + } + else { + return pickerColor.startsWith('#') ? pickerColor.substring(1) : pickerColor; + } + }); + // Only accept valid hex colors as input. + labeledInput.fieldView.on('input', () => { + const inputValue = labeledInput.fieldView.element.value; + if (inputValue) { + // Trim the whitespace. + const trimmedValue = inputValue.trim(); + // Drop the `#` from the beginning if present. + const hashlessInput = trimmedValue.startsWith('#') ? trimmedValue.substring(1) : trimmedValue; + // Check if it's a hex color (3,4,6 or 8 chars long and with proper characters). + const isValidHexColor = [3, 4, 6, 8].includes(hashlessInput.length) && + /(([0-9a-fA-F]{2}){3,4}|([0-9a-fA-F]){3,4})/.test(hashlessInput); + if (isValidHexColor) { + // If so, set the color. + // Otherwise, do nothing. + this._debounceColorPickerEvent('#' + hashlessInput); + } + } + }); + return labeledInput; + } +} +// Converts any color format to a unified hex format. +// +// @param inputColor +// @returns An unified hex string. +function convertColorToCommonHexFormat(inputColor) { + let ret = convertToHex(inputColor); + if (!ret) { + ret = '#000'; + } + if (ret.length === 4) { + // Unfold shortcut format. + ret = '#' + [ret[1], ret[1], ret[2], ret[2], ret[3], ret[3]].join(''); + } + return ret.toLowerCase(); +} +// View abstraction over pointer in color picker. +class SliderView extends View { + /** + * @param element HTML element of slider in color picker. + */ + constructor(element) { + super(); + this.element = element; + } + /** + * Focuses element. + */ + focus() { + this.element.focus(); + } +} +// View abstraction over the `#` character before color input. +class HashView extends View { + constructor(locale) { + super(locale); + this.setTemplate({ + tag: 'div', + attributes: { + class: [ + 'ck', + 'ck-color-picker__hash-view' + ] + }, + children: '#' + }); + } +} +// The class representing a row containing hex color input field. +// **Note**: For now this class is private. When more use cases appear (beyond `ckeditor5-table` and `ckeditor5-image`), +// it will become a component in `ckeditor5-ui`. +// +// @private +class ColorPickerInputRowView extends View { + /** + * Creates an instance of the form row class. + * + * @param locale The locale instance. + */ + constructor(locale, children) { + super(locale); + this.children = this.createCollection(children); + this.setTemplate({ + tag: 'div', + attributes: { + class: [ + 'ck', + 'ck-color-picker__row' + ] + }, + children: this.children + }); + } +} diff --git a/node_modules/@ckeditor/ckeditor5-ui/src/colorpicker/utils.d.ts b/node_modules/@ckeditor/ckeditor5-ui/src/colorpicker/utils.d.ts new file mode 100644 index 0000000..2946ea0 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/src/colorpicker/utils.d.ts @@ -0,0 +1,48 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * Color formats handled by color converter. + */ +export type ColorPickerOutputFormat = 'hex' | 'rgb' | 'hsl' | 'hwb' | 'lab' | 'lch'; +/** + * Configuration of the color picker feature. + * + * It can be forced to apply colors in the editor in a particular format. + * + * @default `{ + * format: 'hsl' + * }` + */ +export type ColorPickerConfig = { + format?: ColorPickerOutputFormat; +}; +/** + * Configuration of the color picker view. + * + * It can be used to enforce a particular color format or hide the color input. + */ +export type ColorPickerViewConfig = ColorPickerConfig & { + hideInput?: boolean; +}; +/** + * Parses and converts the color string to requested format. Handles variety of color spaces + * like `hsl`, `hex` or `rgb`. + * + * @param color + * @returns A color string. + */ +export declare function convertColor(color: string, outputFormat: ColorPickerOutputFormat): string; +/** + * Converts a color string to hex format. + * + * @param color + * @returns A color string. + */ +export declare function convertToHex(color: string): string; +/** + * Registers the custom element in the + * [CustomElementsRegistry](https://developer.mozilla.org/en-US/docs/Web/API/CustomElementRegistry). + */ +export declare function registerCustomElement(elementName: string, constructor: CustomElementConstructor): void; diff --git a/node_modules/@ckeditor/ckeditor5-ui/src/colorpicker/utils.js b/node_modules/@ckeditor/ckeditor5-ui/src/colorpicker/utils.js new file mode 100644 index 0000000..a77439d --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/src/colorpicker/utils.js @@ -0,0 +1,108 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module ui/colorpicker/utils + */ +/* eslint-disable @typescript-eslint/ban-ts-comment */ +// There are no available types for 'color-parse' module. +// @ts-ignore +import { default as parse } from 'color-parse'; +import * as convert from 'color-convert'; +/** + * Parses and converts the color string to requested format. Handles variety of color spaces + * like `hsl`, `hex` or `rgb`. + * + * @param color + * @returns A color string. + */ +export function convertColor(color, outputFormat) { + if (!color) { + return ''; + } + const colorObject = parseColorString(color); + if (!colorObject) { + return ''; + } + if (colorObject.space === outputFormat) { + return color; + } + if (!canConvertParsedColor(colorObject)) { + return ''; + } + const fromColorSpace = convert[colorObject.space]; + const toColorSpace = fromColorSpace[outputFormat]; + if (!toColorSpace) { + return ''; + } + const convertedColorChannels = toColorSpace(colorObject.space === 'hex' ? colorObject.hexValue : colorObject.values); + return formatColorOutput(convertedColorChannels, outputFormat); +} +/** + * Converts a color string to hex format. + * + * @param color + * @returns A color string. + */ +export function convertToHex(color) { + if (!color) { + return ''; + } + const colorObject = parseColorString(color); + if (!colorObject) { + return '#000'; + } + if (colorObject.space === 'hex') { + return colorObject.hexValue; + } + return convertColor(color, 'hex'); +} +/** + * Registers the custom element in the + * [CustomElementsRegistry](https://developer.mozilla.org/en-US/docs/Web/API/CustomElementRegistry). + */ +export function registerCustomElement(elementName, constructor) { + if (customElements.get(elementName) === undefined) { + customElements.define(elementName, constructor); + } +} +/** + * Formats the passed color channels according to the requested format. + * + * @param values + * @param format + * @returns A color string. + */ +function formatColorOutput(values, format) { + switch (format) { + case 'hex': return `#${values}`; + case 'rgb': return `rgb( ${values[0]}, ${values[1]}, ${values[2]} )`; + case 'hsl': return `hsl( ${values[0]}, ${values[1]}%, ${values[2]}% )`; + case 'hwb': return `hwb( ${values[0]}, ${values[1]}, ${values[2]} )`; + case 'lab': return `lab( ${values[0]}% ${values[1]} ${values[2]} )`; + case 'lch': return `lch( ${values[0]}% ${values[1]} ${values[2]} )`; + default: return ''; + } +} +function parseColorString(colorString) { + // Parser library treats `hex` format as belonging to `rgb` space | which messes up further conversion. + // Let's parse such strings on our own. + if (colorString.startsWith('#')) { + const parsedHex = parse(colorString); + return { + space: 'hex', + values: parsedHex.values, + hexValue: colorString, + alpha: parsedHex.alpha + }; + } + const parsed = parse(colorString); + if (!parsed.space) { + return null; + } + return parsed; +} +function canConvertParsedColor(parsedColor) { + return Object.keys(convert).includes(parsedColor.space); +} diff --git a/node_modules/@ckeditor/ckeditor5-ui/src/colorselector/colorgridsfragmentview.d.ts b/node_modules/@ckeditor/ckeditor5-ui/src/colorselector/colorgridsfragmentview.d.ts new file mode 100644 index 0000000..ef9f717 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/src/colorselector/colorgridsfragmentview.d.ts @@ -0,0 +1,195 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module ui/colorselector/colorgridsfragmentview + */ +import View from '../view.js'; +import ButtonView from '../button/buttonview.js'; +import ColorGridView, { type ColorDefinition } from '../colorgrid/colorgridview.js'; +import DocumentColorCollection from './documentcolorcollection.js'; +import type { Model } from '@ckeditor/ckeditor5-engine'; +import type { FocusTracker, Locale } from '@ckeditor/ckeditor5-utils'; +import type ViewCollection from '../viewcollection.js'; +import type { FocusableView } from '../focuscycler.js'; +/** + * One of the fragments of {@link module:ui/colorselector/colorselectorview~ColorSelectorView}. + * + * It provides a UI that allows users to select colors from the a predefined set and from existing document colors. + * + * It consists of the following sub–components: + * + * * A "Remove color" button, + * * A static {@link module:ui/colorgrid/colorgridview~ColorGridView} of colors defined in the configuration, + * * A dynamic {@link module:ui/colorgrid/colorgridview~ColorGridView} of colors used in the document. + * * If color picker is configured, the "Color Picker" button is visible too. + */ +export default class ColorGridsFragmentView extends View { + /** + * A collection of the children of the table. + */ + readonly items: ViewCollection; + /** + * An array with objects representing colors to be displayed in the grid. + */ + colorDefinitions: Array; + /** + * Tracks information about the DOM focus in the list. + */ + readonly focusTracker: FocusTracker; + /** + * The number of columns in the color grid. + */ + columns: number; + /** + * Preserves the reference to {@link module:ui/colorselector/documentcolorcollection~DocumentColorCollection} used to collect + * definitions that store the document colors. + * + * @readonly + */ + documentColors: DocumentColorCollection; + /** + * The maximum number of colors in the document colors section. + * If it equals 0, the document colors section is not added. + * + * @readonly + */ + documentColorsCount?: number; + /** + * Keeps the value of the command associated with the table for the current selection. + */ + selectedColor: string; + /** + * Preserves the reference to {@link module:ui/colorgrid/colorgridview~ColorGridView} used to create + * the default (static) color set. + * + * The property is loaded once the the parent dropdown is opened the first time. + * + * @readonly + */ + staticColorsGrid: ColorGridView | undefined; + /** + * Preserves the reference to {@link module:ui/colorgrid/colorgridview~ColorGridView} used to create + * the document colors. It remains undefined if the document colors feature is disabled. + * + * The property is loaded once the the parent dropdown is opened the first time. + * + * @readonly + */ + documentColorsGrid: ColorGridView | undefined; + /** + * The "Color picker" button view. + */ + colorPickerButtonView?: ButtonView; + /** + * The "Remove color" button view. + */ + removeColorButtonView: ButtonView; + /** + * The property which is responsible for is component visible or not. + */ + isVisible: boolean; + /** + * A collection of views that can be focused in the view. + * + * @readonly + */ + protected _focusables: ViewCollection; + /** + * Document color section's label. + * + * @readonly + */ + private _documentColorsLabel?; + /** + * The label of the button responsible for removing color attributes. + */ + private _removeButtonLabel; + /** + * The label of the button responsible for switching to the color picker component. + */ + private _colorPickerLabel; + /** + * Creates an instance of the view. + * + * @param locale The localization services instance. + * @param colors An array with definitions of colors to be displayed in the table. + * @param columns The number of columns in the color grid. + * @param removeButtonLabel The label of the button responsible for removing the color. + * @param colorPickerLabel The label of the button responsible for color picker appearing. + * @param documentColorsLabel The label for the section with the document colors. + * @param documentColorsCount The number of colors in the document colors section inside the color dropdown. + * @param focusTracker Tracks information about the DOM focus in the list. + * @param focusables A collection of views that can be focused in the view. + */ + constructor(locale: Locale, { colors, columns, removeButtonLabel, documentColorsLabel, documentColorsCount, colorPickerLabel, focusTracker, focusables }: { + colors: Array; + columns: number; + removeButtonLabel: string; + colorPickerLabel: string; + documentColorsLabel?: string; + documentColorsCount?: number; + focusTracker: FocusTracker; + focusables: ViewCollection; + }); + /** + * Scans through the editor model and searches for text node attributes with the given attribute name. + * Found entries are set as document colors. + * + * All the previously stored document colors will be lost in the process. + * + * @param model The model used as a source to obtain the document colors. + * @param attributeName Determines the name of the related model's attribute for a given dropdown. + */ + updateDocumentColors(model: Model, attributeName: string): void; + /** + * Refreshes the state of the selected color in one or both {@link module:ui/colorgrid/colorgridview~ColorGridView}s + * available in the {@link module:ui/colorselector/colorselectorview~ColorSelectorView}. It guarantees that the selection will + * occur only in one of them. + */ + updateSelectedColors(): void; + /** + * @inheritDoc + */ + render(): void; + /** + * Focuses the component. + */ + focus(): void; + /** + * @inheritDoc + */ + destroy(): void; + /** + * Handles displaying the color picker button (if it was previously created) and making it focusable. + */ + addColorPickerButton(): void; + /** + * Adds color selector elements to focus tracker. + */ + private _addColorSelectorElementsToFocusTracker; + /** + * Creates the button responsible for displaying the color picker component. + */ + private _createColorPickerButton; + /** + * Adds the remove color button as a child of the current view. + */ + private _createRemoveColorButton; + /** + * Creates a static color grid based on the editor configuration. + */ + private _createStaticColorsGrid; + /** + * Creates the document colors section view and binds it to {@link #documentColors}. + */ + private _createDocumentColorsGrid; + /** + * Adds a given color to the document colors list. If possible, the method will attempt to use + * data from the {@link #colorDefinitions} (label, color options). + * + * @param color A string that stores the value of the recently applied color. + */ + private _addColorToDocumentColors; +} diff --git a/node_modules/@ckeditor/ckeditor5-ui/src/colorselector/colorgridsfragmentview.js b/node_modules/@ckeditor/ckeditor5-ui/src/colorselector/colorgridsfragmentview.js new file mode 100644 index 0000000..a046187 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/src/colorselector/colorgridsfragmentview.js @@ -0,0 +1,288 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module ui/colorselector/colorgridsfragmentview + */ +import View from '../view.js'; +import ButtonView from '../button/buttonview.js'; +import ColorGridView from '../colorgrid/colorgridview.js'; +import ColorTileView from '../colorgrid/colortileview.js'; +import LabelView from '../label/labelview.js'; +import Template from '../template.js'; +import DocumentColorCollection from './documentcolorcollection.js'; +import { icons } from '@ckeditor/ckeditor5-core'; +const { eraser: removeButtonIcon, colorPalette: colorPaletteIcon } = icons; +/** + * One of the fragments of {@link module:ui/colorselector/colorselectorview~ColorSelectorView}. + * + * It provides a UI that allows users to select colors from the a predefined set and from existing document colors. + * + * It consists of the following sub–components: + * + * * A "Remove color" button, + * * A static {@link module:ui/colorgrid/colorgridview~ColorGridView} of colors defined in the configuration, + * * A dynamic {@link module:ui/colorgrid/colorgridview~ColorGridView} of colors used in the document. + * * If color picker is configured, the "Color Picker" button is visible too. + */ +export default class ColorGridsFragmentView extends View { + /** + * Creates an instance of the view. + * + * @param locale The localization services instance. + * @param colors An array with definitions of colors to be displayed in the table. + * @param columns The number of columns in the color grid. + * @param removeButtonLabel The label of the button responsible for removing the color. + * @param colorPickerLabel The label of the button responsible for color picker appearing. + * @param documentColorsLabel The label for the section with the document colors. + * @param documentColorsCount The number of colors in the document colors section inside the color dropdown. + * @param focusTracker Tracks information about the DOM focus in the list. + * @param focusables A collection of views that can be focused in the view. + */ + constructor(locale, { colors, columns, removeButtonLabel, documentColorsLabel, documentColorsCount, colorPickerLabel, focusTracker, focusables }) { + super(locale); + const bind = this.bindTemplate; + this.set('isVisible', true); + this.focusTracker = focusTracker; + this.items = this.createCollection(); + this.colorDefinitions = colors; + this.columns = columns; + this.documentColors = new DocumentColorCollection(); + this.documentColorsCount = documentColorsCount; + this._focusables = focusables; + this._removeButtonLabel = removeButtonLabel; + this._colorPickerLabel = colorPickerLabel; + this._documentColorsLabel = documentColorsLabel; + this.setTemplate({ + tag: 'div', + attributes: { + class: [ + 'ck-color-grids-fragment', + bind.if('isVisible', 'ck-hidden', value => !value) + ] + }, + children: this.items + }); + this.removeColorButtonView = this._createRemoveColorButton(); + this.items.add(this.removeColorButtonView); + } + /** + * Scans through the editor model and searches for text node attributes with the given attribute name. + * Found entries are set as document colors. + * + * All the previously stored document colors will be lost in the process. + * + * @param model The model used as a source to obtain the document colors. + * @param attributeName Determines the name of the related model's attribute for a given dropdown. + */ + updateDocumentColors(model, attributeName) { + const document = model.document; + const maxCount = this.documentColorsCount; + this.documentColors.clear(); + for (const root of document.getRoots()) { + const range = model.createRangeIn(root); + for (const node of range.getItems()) { + if (node.is('$textProxy') && node.hasAttribute(attributeName)) { + this._addColorToDocumentColors(node.getAttribute(attributeName)); + if (this.documentColors.length >= maxCount) { + return; + } + } + } + } + } + /** + * Refreshes the state of the selected color in one or both {@link module:ui/colorgrid/colorgridview~ColorGridView}s + * available in the {@link module:ui/colorselector/colorselectorview~ColorSelectorView}. It guarantees that the selection will + * occur only in one of them. + */ + updateSelectedColors() { + const documentColorsGrid = this.documentColorsGrid; + const staticColorsGrid = this.staticColorsGrid; + const selectedColor = this.selectedColor; + staticColorsGrid.selectedColor = selectedColor; + if (documentColorsGrid) { + documentColorsGrid.selectedColor = selectedColor; + } + } + /** + * @inheritDoc + */ + render() { + super.render(); + this.staticColorsGrid = this._createStaticColorsGrid(); + this.items.add(this.staticColorsGrid); + if (this.documentColorsCount) { + // Create a label for document colors. + const bind = Template.bind(this.documentColors, this.documentColors); + const label = new LabelView(this.locale); + label.text = this._documentColorsLabel; + label.extendTemplate({ + attributes: { + class: [ + 'ck', + 'ck-color-grid__label', + bind.if('isEmpty', 'ck-hidden') + ] + } + }); + this.items.add(label); + this.documentColorsGrid = this._createDocumentColorsGrid(); + this.items.add(this.documentColorsGrid); + } + this._createColorPickerButton(); + this._addColorSelectorElementsToFocusTracker(); + } + /** + * Focuses the component. + */ + focus() { + this.removeColorButtonView.focus(); + } + /** + * @inheritDoc + */ + destroy() { + super.destroy(); + } + /** + * Handles displaying the color picker button (if it was previously created) and making it focusable. + */ + addColorPickerButton() { + if (this.colorPickerButtonView) { + this.items.add(this.colorPickerButtonView); + this.focusTracker.add(this.colorPickerButtonView.element); + this._focusables.add(this.colorPickerButtonView); + } + } + /** + * Adds color selector elements to focus tracker. + */ + _addColorSelectorElementsToFocusTracker() { + this.focusTracker.add(this.removeColorButtonView.element); + this._focusables.add(this.removeColorButtonView); + if (this.staticColorsGrid) { + this.focusTracker.add(this.staticColorsGrid.element); + this._focusables.add(this.staticColorsGrid); + } + if (this.documentColorsGrid) { + this.focusTracker.add(this.documentColorsGrid.element); + this._focusables.add(this.documentColorsGrid); + } + } + /** + * Creates the button responsible for displaying the color picker component. + */ + _createColorPickerButton() { + this.colorPickerButtonView = new ButtonView(); + this.colorPickerButtonView.set({ + label: this._colorPickerLabel, + withText: true, + icon: colorPaletteIcon, + class: 'ck-color-selector__color-picker' + }); + this.colorPickerButtonView.on('execute', () => { + this.fire('colorPicker:show'); + }); + } + /** + * Adds the remove color button as a child of the current view. + */ + _createRemoveColorButton() { + const buttonView = new ButtonView(); + buttonView.set({ + withText: true, + icon: removeButtonIcon, + label: this._removeButtonLabel + }); + buttonView.class = 'ck-color-selector__remove-color'; + buttonView.on('execute', () => { + this.fire('execute', { + value: null, + source: 'removeColorButton' + }); + }); + buttonView.render(); + return buttonView; + } + /** + * Creates a static color grid based on the editor configuration. + */ + _createStaticColorsGrid() { + const colorGrid = new ColorGridView(this.locale, { + colorDefinitions: this.colorDefinitions, + columns: this.columns + }); + colorGrid.on('execute', (evt, data) => { + this.fire('execute', { + value: data.value, + source: 'staticColorsGrid' + }); + }); + return colorGrid; + } + /** + * Creates the document colors section view and binds it to {@link #documentColors}. + */ + _createDocumentColorsGrid() { + const bind = Template.bind(this.documentColors, this.documentColors); + const documentColorsGrid = new ColorGridView(this.locale, { + columns: this.columns + }); + documentColorsGrid.extendTemplate({ + attributes: { + class: bind.if('isEmpty', 'ck-hidden') + } + }); + documentColorsGrid.items.bindTo(this.documentColors).using(colorObj => { + const colorTile = new ColorTileView(); + colorTile.set({ + color: colorObj.color, + hasBorder: colorObj.options && colorObj.options.hasBorder + }); + if (colorObj.label) { + colorTile.set({ + label: colorObj.label, + tooltip: true + }); + } + colorTile.on('execute', () => { + this.fire('execute', { + value: colorObj.color, + source: 'documentColorsGrid' + }); + }); + return colorTile; + }); + // Selected color should be cleared when document colors became empty. + this.documentColors.on('change:isEmpty', (evt, name, val) => { + if (val) { + documentColorsGrid.selectedColor = null; + } + }); + return documentColorsGrid; + } + /** + * Adds a given color to the document colors list. If possible, the method will attempt to use + * data from the {@link #colorDefinitions} (label, color options). + * + * @param color A string that stores the value of the recently applied color. + */ + _addColorToDocumentColors(color) { + const predefinedColor = this.colorDefinitions + .find(definition => definition.color === color); + if (!predefinedColor) { + this.documentColors.add({ + color, + label: color, + options: { + hasBorder: false + } + }); + } + else { + this.documentColors.add(Object.assign({}, predefinedColor)); + } + } +} diff --git a/node_modules/@ckeditor/ckeditor5-ui/src/colorselector/colorpickerfragmentview.d.ts b/node_modules/@ckeditor/ckeditor5-ui/src/colorselector/colorpickerfragmentview.d.ts new file mode 100644 index 0000000..cef8bed --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/src/colorselector/colorpickerfragmentview.d.ts @@ -0,0 +1,129 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module ui/colorselector/colorpickerfragmentview + */ +import View from '../view.js'; +import ButtonView from '../button/buttonview.js'; +import type ViewCollection from '../viewcollection.js'; +import type { FocusableView } from '../focuscycler.js'; +import { default as ColorPickerView } from '../colorpicker/colorpickerview.js'; +import type { FocusTracker, KeystrokeHandler, Locale } from '@ckeditor/ckeditor5-utils'; +import type { ColorPickerViewConfig } from '../colorpicker/utils.js'; +/** + * One of the fragments of {@link module:ui/colorselector/colorselectorview~ColorSelectorView}. + * + * It allows users to select a color from a color picker. + * + * It consists of the following sub–components: + * + * * A color picker saturation and hue sliders, + * * A text input accepting colors in HEX format, + * * "Save" and "Cancel" action buttons. + */ +export default class ColorPickerFragmentView extends View { + /** + * A collection of component's children. + */ + readonly items: ViewCollection; + /** + * A view with saturation and hue sliders and color input. + */ + colorPickerView?: ColorPickerView; + /** + * The "Save" button view. + */ + saveButtonView: ButtonView; + /** + * The "Cancel" button view. + */ + cancelButtonView: ButtonView; + /** + * The action bar where are "Save" button and "Cancel" button. + */ + actionBarView: View; + /** + * Tracks information about the DOM focus in the list. + */ + readonly focusTracker: FocusTracker; + /** + * An instance of the {@link module:utils/keystrokehandler~KeystrokeHandler}. + */ + readonly keystrokes: KeystrokeHandler; + /** + * Indicates whether the component is visible or not. + */ + isVisible: boolean; + /** + * Keeps the value of the command associated with the component for the current selection. + */ + selectedColor?: string; + /** + * A collection of views that can be focused in the view. + * + * @readonly + */ + protected _focusables: ViewCollection; + /** + * A reference to the configuration of {@link #colorPickerView}. `false` when the view was + * configured without a color picker. + * + * @readonly + */ + private _colorPickerViewConfig; + /** + * Creates an instance of the view. + * + * @param locale The localization services instance. + * @param focusTracker Tracks information about the DOM focus in the list. + * @param focusables A collection of views that can be focused in the view.. + * @param keystrokes An instance of the {@link module:utils/keystrokehandler~KeystrokeHandler}. + * @param colorPickerViewConfig The configuration of color picker feature. If set to `false`, the color picker + * will not be rendered. + */ + constructor(locale: Locale, { focusTracker, focusables, keystrokes, colorPickerViewConfig }: { + focusTracker: FocusTracker; + focusables: ViewCollection; + keystrokes: KeystrokeHandler; + colorPickerViewConfig: ColorPickerViewConfig | false; + }); + /** + * @inheritDoc + */ + render(): void; + /** + * @inheritDoc + */ + destroy(): void; + /** + * Focuses the color picker. + */ + focus(): void; + /** + * When color picker is focused and "enter" is pressed it executes command. + */ + private _executeOnEnterPress; + /** + * Removes default behavior of arrow keys in dropdown. + */ + private _stopPropagationOnArrowsKeys; + /** + * Adds color picker elements to focus tracker. + */ + private _addColorPickersElementsToFocusTracker; + /** + * Creates bar containing "Save" and "Cancel" buttons. + */ + private _createActionBarView; + /** + * Creates "Save" and "Cancel" buttons. + */ + private _createActionButtons; + /** + * Fires the `execute` event if color in color picker has been changed + * by the user. + */ + private _executeUponColorChange; +} diff --git a/node_modules/@ckeditor/ckeditor5-ui/src/colorselector/colorpickerfragmentview.js b/node_modules/@ckeditor/ckeditor5-ui/src/colorselector/colorpickerfragmentview.js new file mode 100644 index 0000000..df35502 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/src/colorselector/colorpickerfragmentview.js @@ -0,0 +1,204 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module ui/colorselector/colorpickerfragmentview + */ +import View from '../view.js'; +import ButtonView from '../button/buttonview.js'; +import { default as ColorPickerView } from '../colorpicker/colorpickerview.js'; +import { icons } from '@ckeditor/ckeditor5-core'; +/** + * One of the fragments of {@link module:ui/colorselector/colorselectorview~ColorSelectorView}. + * + * It allows users to select a color from a color picker. + * + * It consists of the following sub–components: + * + * * A color picker saturation and hue sliders, + * * A text input accepting colors in HEX format, + * * "Save" and "Cancel" action buttons. + */ +export default class ColorPickerFragmentView extends View { + /** + * Creates an instance of the view. + * + * @param locale The localization services instance. + * @param focusTracker Tracks information about the DOM focus in the list. + * @param focusables A collection of views that can be focused in the view.. + * @param keystrokes An instance of the {@link module:utils/keystrokehandler~KeystrokeHandler}. + * @param colorPickerViewConfig The configuration of color picker feature. If set to `false`, the color picker + * will not be rendered. + */ + constructor(locale, { focusTracker, focusables, keystrokes, colorPickerViewConfig }) { + super(locale); + this.items = this.createCollection(); + this.focusTracker = focusTracker; + this.keystrokes = keystrokes; + this.set('isVisible', false); + this.set('selectedColor', undefined); + this._focusables = focusables; + this._colorPickerViewConfig = colorPickerViewConfig; + const bind = this.bindTemplate; + const { saveButtonView, cancelButtonView } = this._createActionButtons(); + this.saveButtonView = saveButtonView; + this.cancelButtonView = cancelButtonView; + this.actionBarView = this._createActionBarView({ saveButtonView, cancelButtonView }); + this.setTemplate({ + tag: 'div', + attributes: { + class: [ + 'ck-color-picker-fragment', + bind.if('isVisible', 'ck-hidden', value => !value) + ] + }, + children: this.items + }); + } + /** + * @inheritDoc + */ + render() { + super.render(); + const colorPickerView = new ColorPickerView(this.locale, { + ...this._colorPickerViewConfig + }); + this.colorPickerView = colorPickerView; + this.colorPickerView.render(); + if (this.selectedColor) { + colorPickerView.color = this.selectedColor; + } + this.listenTo(this, 'change:selectedColor', (evt, name, value) => { + colorPickerView.color = value; + }); + this.items.add(this.colorPickerView); + this.items.add(this.actionBarView); + this._addColorPickersElementsToFocusTracker(); + this._stopPropagationOnArrowsKeys(); + this._executeOnEnterPress(); + this._executeUponColorChange(); + } + /** + * @inheritDoc + */ + destroy() { + super.destroy(); + } + /** + * Focuses the color picker. + */ + focus() { + this.colorPickerView.focus(); + } + /** + * When color picker is focused and "enter" is pressed it executes command. + */ + _executeOnEnterPress() { + this.keystrokes.set('enter', evt => { + if (this.isVisible && this.focusTracker.focusedElement !== this.cancelButtonView.element) { + this.fire('execute', { + value: this.selectedColor + }); + evt.stopPropagation(); + evt.preventDefault(); + } + }); + } + /** + * Removes default behavior of arrow keys in dropdown. + */ + _stopPropagationOnArrowsKeys() { + const stopPropagation = (data) => data.stopPropagation(); + this.keystrokes.set('arrowright', stopPropagation); + this.keystrokes.set('arrowleft', stopPropagation); + this.keystrokes.set('arrowup', stopPropagation); + this.keystrokes.set('arrowdown', stopPropagation); + } + /** + * Adds color picker elements to focus tracker. + */ + _addColorPickersElementsToFocusTracker() { + for (const slider of this.colorPickerView.slidersView) { + this.focusTracker.add(slider.element); + this._focusables.add(slider); + } + const input = this.colorPickerView.hexInputRow.children.get(1); + if (input.element) { + this.focusTracker.add(input.element); + this._focusables.add(input); + } + this.focusTracker.add(this.saveButtonView.element); + this._focusables.add(this.saveButtonView); + this.focusTracker.add(this.cancelButtonView.element); + this._focusables.add(this.cancelButtonView); + } + /** + * Creates bar containing "Save" and "Cancel" buttons. + */ + _createActionBarView({ saveButtonView, cancelButtonView }) { + const actionBarRow = new View(); + const children = this.createCollection(); + children.add(saveButtonView); + children.add(cancelButtonView); + actionBarRow.setTemplate({ + tag: 'div', + attributes: { + class: [ + 'ck', + 'ck-color-selector_action-bar' + ] + }, + children + }); + return actionBarRow; + } + /** + * Creates "Save" and "Cancel" buttons. + */ + _createActionButtons() { + const locale = this.locale; + const t = locale.t; + const saveButtonView = new ButtonView(locale); + const cancelButtonView = new ButtonView(locale); + saveButtonView.set({ + icon: icons.check, + class: 'ck-button-save', + type: 'button', + withText: false, + label: t('Accept') + }); + cancelButtonView.set({ + icon: icons.cancel, + class: 'ck-button-cancel', + type: 'button', + withText: false, + label: t('Cancel') + }); + saveButtonView.on('execute', () => { + this.fire('execute', { + source: 'colorPickerSaveButton', + value: this.selectedColor + }); + }); + cancelButtonView.on('execute', () => { + this.fire('colorPicker:cancel'); + }); + return { + saveButtonView, cancelButtonView + }; + } + /** + * Fires the `execute` event if color in color picker has been changed + * by the user. + */ + _executeUponColorChange() { + this.colorPickerView.on('colorSelected', (evt, data) => { + this.fire('execute', { + value: data.color, + source: 'colorPicker' + }); + this.set('selectedColor', data.color); + }); + } +} diff --git a/node_modules/@ckeditor/ckeditor5-ui/src/colorselector/colorselectorview.d.ts b/node_modules/@ckeditor/ckeditor5-ui/src/colorselector/colorselectorview.d.ts new file mode 100644 index 0000000..9a61540 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/src/colorselector/colorselectorview.d.ts @@ -0,0 +1,242 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module ui/colorselector/colorselectorview + */ +import FocusCycler, { type FocusableView } from '../focuscycler.js'; +import View from '../view.js'; +import ViewCollection from '../viewcollection.js'; +import { FocusTracker, KeystrokeHandler, type Locale } from '@ckeditor/ckeditor5-utils'; +import type { ColorPickerViewConfig } from '../colorpicker/utils.js'; +import type { ColorDefinition } from '../colorgrid/colorgridview.js'; +import type { Model } from '@ckeditor/ckeditor5-engine'; +import ColorGridsFragmentView from './colorgridsfragmentview.js'; +import ColorPickerFragmentView from './colorpickerfragmentview.js'; +import '../../theme/components/colorselector/colorselector.css'; +/** + * The configurable color selector view class. It allows users to select colors from a predefined set of colors as well as from + * a color picker. + * + * This meta-view is is made of two components (fragments): + * + * * {@link module:ui/colorselector/colorselectorview~ColorSelectorView#colorGridsFragmentView}, + * * {@link module:ui/colorselector/colorselectorview~ColorSelectorView#colorPickerFragmentView}. + * + * ```ts + * const colorDefinitions = [ + * { color: '#000', label: 'Black', options: { hasBorder: false } }, + * { color: 'rgb(255, 255, 255)', label: 'White', options: { hasBorder: true } }, + * { color: 'red', label: 'Red', options: { hasBorder: false } } + * ]; + * + * const selectorView = new ColorSelectorView( locale, { + * colors: colorDefinitions, + * columns: 5, + * removeButtonLabel: 'Remove color', + * documentColorsLabel: 'Document colors', + * documentColorsCount: 4, + * colorPickerViewConfig: { + * format: 'hsl' + * } + * } ); + * + * selectorView.appendUI(); + * selectorView.selectedColor = 'red'; + * selectorView.updateSelectedColors(); + * + * selectorView.on( 'execute', ( evt, data ) => { + * console.log( 'Color changed', data.value, data.source ); + * } ); + * + * selectorView.on( 'colorPicker:show', ( evt ) => { + * console.log( 'Color picker showed up', evt ); + * } ); + * + * selectorView.on( 'colorPicker:cancel', ( evt ) => { + * console.log( 'Color picker cancel', evt ); + * } ); + * + * selectorView.render(); + * + * document.body.appendChild( selectorView.element ); + * ``` + */ +export default class ColorSelectorView extends View { + /** + * Tracks information about the DOM focus in the list. + */ + readonly focusTracker: FocusTracker; + /** + * An instance of the {@link module:utils/keystrokehandler~KeystrokeHandler}. + */ + readonly keystrokes: KeystrokeHandler; + /** + * A collection of components. + */ + readonly items: ViewCollection; + /** + * A fragment that allows users to select colors from the a predefined set and from existing document colors. + */ + readonly colorGridsFragmentView: ColorGridsFragmentView; + /** + * A fragment that allows users to select a color from a color picker. + */ + readonly colorPickerFragmentView: ColorPickerFragmentView; + /** + * Keeps the value of the command associated with the component for the current selection. + */ + selectedColor?: string; + /** + * Reflects the visibility state of the color grids fragment. + * + * @internal + */ + _isColorGridsFragmentVisible: boolean; + /** + * Reflects the visibility state of the color picker fragment. + * + * @internal + */ + _isColorPickerFragmentVisible: boolean; + /** + * Helps cycling over focusable {@link #items} in the list. + * + * @readonly + */ + protected _focusCycler: FocusCycler; + /** + * A collection of views that can be focused in the view. + * + * @readonly + */ + protected _focusables: ViewCollection; + /** + * The configuration of color picker sub-component. + */ + private _colorPickerViewConfig; + /** + * Creates a view to be inserted as a child of {@link module:ui/dropdown/dropdownview~DropdownView}. + * + * @param locale The localization services instance. + * @param colors An array with definitions of colors to be displayed in the table. + * @param columns The number of columns in the color grid. + * @param removeButtonLabel The label of the button responsible for removing the color. + * @param colorPickerLabel The label of the button responsible for color picker appearing. + * @param documentColorsLabel The label for the section with the document colors. + * @param documentColorsCount The number of colors in the document colors section inside the color dropdown. + * @param colorPickerViewConfig The configuration of color picker feature. If set to `false`, the color picker will be hidden. + */ + constructor(locale: Locale, { colors, columns, removeButtonLabel, documentColorsLabel, documentColorsCount, colorPickerLabel, colorPickerViewConfig }: { + colors: Array; + columns: number; + removeButtonLabel: string; + documentColorsLabel?: string; + documentColorsCount?: number; + colorPickerLabel: string; + colorPickerViewConfig: ColorPickerViewConfig | false; + }); + /** + * @inheritDoc + */ + render(): void; + /** + * @inheritDoc + */ + destroy(): void; + /** + * Renders the internals of the component on demand: + * * {@link #colorPickerFragmentView}, + * * {@link #colorGridsFragmentView}. + * + * It allows for deferring component initialization to improve the performance. + * + * See {@link #showColorPickerFragment}, {@link #showColorGridsFragment}. + */ + appendUI(): void; + /** + * Shows the {@link #colorPickerFragmentView} and hides the {@link #colorGridsFragmentView}. + * + * **Note**: It requires {@link #appendUI} to be called first. + * + * See {@link #showColorGridsFragment}, {@link ~ColorSelectorView#event:colorPicker:show}. + */ + showColorPickerFragment(): void; + /** + * Shows the {@link #colorGridsFragmentView} and hides the {@link #colorPickerFragmentView}. + * + * See {@link #showColorPickerFragment}. + * + * **Note**: It requires {@link #appendUI} to be called first. + */ + showColorGridsFragment(): void; + /** + * Focuses the first focusable element in {@link #items}. + */ + focus(): void; + /** + * Focuses the last focusable element in {@link #items}. + */ + focusLast(): void; + /** + * Scans through the editor model and searches for text node attributes with the given `attributeName`. + * Found entries are set as document colors in {@link #colorGridsFragmentView}. + * + * All the previously stored document colors will be lost in the process. + * + * @param model The model used as a source to obtain the document colors. + * @param attributeName Determines the name of the related model's attribute for a given dropdown. + */ + updateDocumentColors(model: Model, attributeName: string): void; + /** + * Refreshes the state of the selected color in one or both grids located in {@link #colorGridsFragmentView}. + * + * It guarantees that the selection will occur only in one of them. + */ + updateSelectedColors(): void; + /** + * Appends the view containing static and document color grid views. + */ + private _appendColorGridsFragment; + /** + * Appends the view with the color picker. + */ + private _appendColorPickerFragment; +} +/** + * Fired whenever the color was changed. There are multiple sources of this event and you can distinguish them + * using the `source` property passed along this event. + * + * @eventName ~ColorSelectorView#execute + */ +export type ColorSelectorExecuteEvent = { + name: 'execute'; + args: [ + { + value: string; + source: 'staticColorsGrid' | 'documentColorsGrid' | 'removeColorButton' | 'colorPicker' | 'colorPickerSaveButton'; + } + ]; +}; +/** + * Fired when the user pressed the "Cancel" button in the + * {@link module:ui/colorselector/colorselectorview~ColorSelectorView#colorPickerFragmentView}. + * + * @eventName ~ColorSelectorView#colorPicker:cancel + */ +export type ColorSelectorColorPickerCancelEvent = { + name: 'colorPicker:cancel'; + args: []; +}; +/** + * Fired whenever {@link module:ui/colorselector/colorselectorview~ColorSelectorView#colorPickerFragmentView} is shown. + * + * See {@link ~ColorSelectorView#showColorPickerFragment}. + * + * @eventName ~ColorSelectorView#colorPicker:show + */ +export type ColorSelectorColorPickerShowEvent = { + name: 'colorPicker:show'; + args: []; +}; diff --git a/node_modules/@ckeditor/ckeditor5-ui/src/colorselector/colorselectorview.js b/node_modules/@ckeditor/ckeditor5-ui/src/colorselector/colorselectorview.js new file mode 100644 index 0000000..06414e8 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/src/colorselector/colorselectorview.js @@ -0,0 +1,256 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module ui/colorselector/colorselectorview + */ +import FocusCycler from '../focuscycler.js'; +import View from '../view.js'; +import ViewCollection from '../viewcollection.js'; +import { FocusTracker, KeystrokeHandler } from '@ckeditor/ckeditor5-utils'; +import ColorGridsFragmentView from './colorgridsfragmentview.js'; +import ColorPickerFragmentView from './colorpickerfragmentview.js'; +import '../../theme/components/colorselector/colorselector.css'; +/** + * The configurable color selector view class. It allows users to select colors from a predefined set of colors as well as from + * a color picker. + * + * This meta-view is is made of two components (fragments): + * + * * {@link module:ui/colorselector/colorselectorview~ColorSelectorView#colorGridsFragmentView}, + * * {@link module:ui/colorselector/colorselectorview~ColorSelectorView#colorPickerFragmentView}. + * + * ```ts + * const colorDefinitions = [ + * { color: '#000', label: 'Black', options: { hasBorder: false } }, + * { color: 'rgb(255, 255, 255)', label: 'White', options: { hasBorder: true } }, + * { color: 'red', label: 'Red', options: { hasBorder: false } } + * ]; + * + * const selectorView = new ColorSelectorView( locale, { + * colors: colorDefinitions, + * columns: 5, + * removeButtonLabel: 'Remove color', + * documentColorsLabel: 'Document colors', + * documentColorsCount: 4, + * colorPickerViewConfig: { + * format: 'hsl' + * } + * } ); + * + * selectorView.appendUI(); + * selectorView.selectedColor = 'red'; + * selectorView.updateSelectedColors(); + * + * selectorView.on( 'execute', ( evt, data ) => { + * console.log( 'Color changed', data.value, data.source ); + * } ); + * + * selectorView.on( 'colorPicker:show', ( evt ) => { + * console.log( 'Color picker showed up', evt ); + * } ); + * + * selectorView.on( 'colorPicker:cancel', ( evt ) => { + * console.log( 'Color picker cancel', evt ); + * } ); + * + * selectorView.render(); + * + * document.body.appendChild( selectorView.element ); + * ``` + */ +export default class ColorSelectorView extends View { + /** + * Creates a view to be inserted as a child of {@link module:ui/dropdown/dropdownview~DropdownView}. + * + * @param locale The localization services instance. + * @param colors An array with definitions of colors to be displayed in the table. + * @param columns The number of columns in the color grid. + * @param removeButtonLabel The label of the button responsible for removing the color. + * @param colorPickerLabel The label of the button responsible for color picker appearing. + * @param documentColorsLabel The label for the section with the document colors. + * @param documentColorsCount The number of colors in the document colors section inside the color dropdown. + * @param colorPickerViewConfig The configuration of color picker feature. If set to `false`, the color picker will be hidden. + */ + constructor(locale, { colors, columns, removeButtonLabel, documentColorsLabel, documentColorsCount, colorPickerLabel, colorPickerViewConfig }) { + super(locale); + this.items = this.createCollection(); + this.focusTracker = new FocusTracker(); + this.keystrokes = new KeystrokeHandler(); + this._focusables = new ViewCollection(); + this._colorPickerViewConfig = colorPickerViewConfig; + this._focusCycler = new FocusCycler({ + focusables: this._focusables, + focusTracker: this.focusTracker, + keystrokeHandler: this.keystrokes, + actions: { + // Navigate list items backwards using the Shift + Tab keystroke. + focusPrevious: 'shift + tab', + // Navigate list items forwards using the Tab key. + focusNext: 'tab' + } + }); + this.colorGridsFragmentView = new ColorGridsFragmentView(locale, { + colors, columns, removeButtonLabel, documentColorsLabel, documentColorsCount, colorPickerLabel, + focusTracker: this.focusTracker, + focusables: this._focusables + }); + this.colorPickerFragmentView = new ColorPickerFragmentView(locale, { + focusables: this._focusables, + focusTracker: this.focusTracker, + keystrokes: this.keystrokes, + colorPickerViewConfig + }); + this.set('_isColorGridsFragmentVisible', true); + this.set('_isColorPickerFragmentVisible', false); + this.set('selectedColor', undefined); + this.colorGridsFragmentView.bind('isVisible').to(this, '_isColorGridsFragmentVisible'); + this.colorPickerFragmentView.bind('isVisible').to(this, '_isColorPickerFragmentVisible'); + /** + * This is kind of bindings. Unfortunately we could not use this.bind() method because the same property + * can not be bound twice. So this is work around how to bind 'selectedColor' property between components. + */ + this.on('change:selectedColor', (evt, evtName, data) => { + this.colorGridsFragmentView.set('selectedColor', data); + this.colorPickerFragmentView.set('selectedColor', data); + }); + this.colorGridsFragmentView.on('change:selectedColor', (evt, evtName, data) => { + this.set('selectedColor', data); + }); + this.colorPickerFragmentView.on('change:selectedColor', (evt, evtName, data) => { + this.set('selectedColor', data); + }); + this.setTemplate({ + tag: 'div', + attributes: { + class: [ + 'ck', + 'ck-color-selector' + ] + }, + children: this.items + }); + } + /** + * @inheritDoc + */ + render() { + super.render(); + // Start listening for the keystrokes coming from #element. + this.keystrokes.listenTo(this.element); + } + /** + * @inheritDoc + */ + destroy() { + super.destroy(); + this.focusTracker.destroy(); + this.keystrokes.destroy(); + } + /** + * Renders the internals of the component on demand: + * * {@link #colorPickerFragmentView}, + * * {@link #colorGridsFragmentView}. + * + * It allows for deferring component initialization to improve the performance. + * + * See {@link #showColorPickerFragment}, {@link #showColorGridsFragment}. + */ + appendUI() { + this._appendColorGridsFragment(); + if (this._colorPickerViewConfig) { + this._appendColorPickerFragment(); + } + } + /** + * Shows the {@link #colorPickerFragmentView} and hides the {@link #colorGridsFragmentView}. + * + * **Note**: It requires {@link #appendUI} to be called first. + * + * See {@link #showColorGridsFragment}, {@link ~ColorSelectorView#event:colorPicker:show}. + */ + showColorPickerFragment() { + if (!this.colorPickerFragmentView.colorPickerView || this._isColorPickerFragmentVisible) { + return; + } + this._isColorPickerFragmentVisible = true; + this.colorPickerFragmentView.focus(); + this._isColorGridsFragmentVisible = false; + } + /** + * Shows the {@link #colorGridsFragmentView} and hides the {@link #colorPickerFragmentView}. + * + * See {@link #showColorPickerFragment}. + * + * **Note**: It requires {@link #appendUI} to be called first. + */ + showColorGridsFragment() { + if (this._isColorGridsFragmentVisible) { + return; + } + this._isColorGridsFragmentVisible = true; + this.colorGridsFragmentView.focus(); + this._isColorPickerFragmentVisible = false; + } + /** + * Focuses the first focusable element in {@link #items}. + */ + focus() { + this._focusCycler.focusFirst(); + } + /** + * Focuses the last focusable element in {@link #items}. + */ + focusLast() { + this._focusCycler.focusLast(); + } + /** + * Scans through the editor model and searches for text node attributes with the given `attributeName`. + * Found entries are set as document colors in {@link #colorGridsFragmentView}. + * + * All the previously stored document colors will be lost in the process. + * + * @param model The model used as a source to obtain the document colors. + * @param attributeName Determines the name of the related model's attribute for a given dropdown. + */ + updateDocumentColors(model, attributeName) { + this.colorGridsFragmentView.updateDocumentColors(model, attributeName); + } + /** + * Refreshes the state of the selected color in one or both grids located in {@link #colorGridsFragmentView}. + * + * It guarantees that the selection will occur only in one of them. + */ + updateSelectedColors() { + this.colorGridsFragmentView.updateSelectedColors(); + } + /** + * Appends the view containing static and document color grid views. + */ + _appendColorGridsFragment() { + if (this.items.length) { + return; + } + this.items.add(this.colorGridsFragmentView); + this.colorGridsFragmentView.delegate('execute').to(this); + this.colorGridsFragmentView.delegate('colorPicker:show').to(this); + } + /** + * Appends the view with the color picker. + */ + _appendColorPickerFragment() { + if (this.items.length === 2) { + return; + } + this.items.add(this.colorPickerFragmentView); + if (this.colorGridsFragmentView.colorPickerButtonView) { + this.colorGridsFragmentView.colorPickerButtonView.on('execute', () => { + this.showColorPickerFragment(); + }); + } + this.colorGridsFragmentView.addColorPickerButton(); + this.colorPickerFragmentView.delegate('execute').to(this); + this.colorPickerFragmentView.delegate('colorPicker:cancel').to(this); + } +} diff --git a/node_modules/@ckeditor/ckeditor5-ui/src/colorselector/documentcolorcollection.d.ts b/node_modules/@ckeditor/ckeditor5-ui/src/colorselector/documentcolorcollection.d.ts new file mode 100644 index 0000000..9147fb3 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/src/colorselector/documentcolorcollection.d.ts @@ -0,0 +1,70 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module ui/colorselector/documentcolorcollection + */ +import type { ColorDefinition } from '../colorgrid/colorgridview.js'; +import { Collection, type CollectionAddEvent, type CollectionRemoveEvent, type CollectionChangeEvent } from '@ckeditor/ckeditor5-utils'; +declare const DocumentColorCollection_base: import("@ckeditor/ckeditor5-utils").Mixed<{ + new (options?: { + readonly idProperty?: string | undefined; + } | undefined): Collection; + new (initialItems: Iterable, options?: { + readonly idProperty?: string | undefined; + } | undefined): Collection; +}, import("@ckeditor/ckeditor5-utils").Observable>; +/** + * A collection to store document colors. It enforces colors to be unique. + */ +export default class DocumentColorCollection extends DocumentColorCollection_base { + /** + * Indicates whether the document color collection is empty. + * + * @observable + */ + readonly isEmpty: boolean; + constructor(options?: any); + /** + * Adds a color to the document color collection. + * + * This method ensures that no color duplicates are inserted (compared using + * the color value of the {@link module:ui/colorgrid/colorgridview~ColorDefinition}). + * + * If the item does not have an ID, it will be automatically generated and set on the item. + * + * @param index The position of the item in the collection. The item is pushed to the collection when `index` is not specified. + * @fires add + * @fires change + */ + add(item: ColorDefinition, index?: number): this; + /** + * Checks if an object with given colors is present in the document color collection. + */ + hasColor(color: string): boolean; +} +/** + * Fired when the collection was changed due to adding or removing items. + * + * @eventName ~DocumentColorCollection#change + * @param data Changed items. + */ +export type DocumentColorCollectionChangeEvent = CollectionChangeEvent; +/** + * Fired when an item is added to the collection. + * + * @eventName ~DocumentColorCollection#add + * @param item The added item. + * @param index An index where the addition occurred. + */ +export type DocumentColorCollectionAddEvent = CollectionAddEvent; +/** + * Fired when an item is removed from the collection. + * + * @eventName ~DocumentColorCollection#remove + * @param item The removed item. + * @param index Index from which item was removed. + */ +export type DocumentColorCollectionRemoveEvent = CollectionRemoveEvent; +export {}; diff --git a/node_modules/@ckeditor/ckeditor5-ui/src/colorselector/documentcolorcollection.js b/node_modules/@ckeditor/ckeditor5-ui/src/colorselector/documentcolorcollection.js new file mode 100644 index 0000000..21011b6 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/src/colorselector/documentcolorcollection.js @@ -0,0 +1,42 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +import { Collection, ObservableMixin } from '@ckeditor/ckeditor5-utils'; +/** + * A collection to store document colors. It enforces colors to be unique. + */ +export default class DocumentColorCollection extends ObservableMixin((Collection)) { + constructor(options) { + super(options); + this.set('isEmpty', true); + this.on('change', () => { + this.set('isEmpty', this.length === 0); + }); + } + /** + * Adds a color to the document color collection. + * + * This method ensures that no color duplicates are inserted (compared using + * the color value of the {@link module:ui/colorgrid/colorgridview~ColorDefinition}). + * + * If the item does not have an ID, it will be automatically generated and set on the item. + * + * @param index The position of the item in the collection. The item is pushed to the collection when `index` is not specified. + * @fires add + * @fires change + */ + add(item, index) { + if (this.find(element => element.color === item.color)) { + // No duplicates are allowed. + return this; + } + return super.add(item, index); + } + /** + * Checks if an object with given colors is present in the document color collection. + */ + hasColor(color) { + return !!this.find(item => item.color === color); + } +} diff --git a/node_modules/@ckeditor/ckeditor5-ui/src/componentfactory.d.ts b/node_modules/@ckeditor/ckeditor5-ui/src/componentfactory.d.ts new file mode 100644 index 0000000..336576b --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/src/componentfactory.d.ts @@ -0,0 +1,81 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module ui/componentfactory + */ +import { type Locale } from '@ckeditor/ckeditor5-utils'; +import type { Editor } from '@ckeditor/ckeditor5-core'; +import type View from './view.js'; +/** + * A helper class implementing the UI component ({@link module:ui/view~View view}) factory. + * + * It allows functions producing specific UI components to be registered under their unique names + * in the factory. A registered component can be then instantiated by providing its name. + * Note that the names are case insensitive. + * + * ```ts + * // The editor provides localization tools for the factory. + * const factory = new ComponentFactory( editor ); + * + * factory.add( 'foo', locale => new FooView( locale ) ); + * factory.add( 'bar', locale => new BarView( locale ) ); + * + * // An instance of FooView. + * const fooInstance = factory.create( 'foo' ); + * + * // Names are case insensitive so this is also allowed: + * const barInstance = factory.create( 'Bar' ); + * ``` + * + * The {@link module:core/editor/editor~Editor#locale editor locale} is passed to the factory + * function when {@link module:ui/componentfactory~ComponentFactory#create} is called. + */ +export default class ComponentFactory { + /** + * The editor instance that the factory belongs to. + */ + readonly editor: Editor; + /** + * Registered component factories. + */ + private readonly _components; + /** + * Creates an instance of the factory. + * + * @param editor The editor instance. + */ + constructor(editor: Editor); + /** + * Returns an iterator of registered component names. Names are returned in lower case. + */ + names(): IterableIterator; + /** + * Registers a component factory function that will be used by the + * {@link #create create} method and called with the + * {@link module:core/editor/editor~Editor#locale editor locale} as an argument, + * allowing localization of the {@link module:ui/view~View view}. + * + * @param name The name of the component. + * @param callback The callback that returns the component. + */ + add(name: string, callback: (locale: Locale) => View): void; + /** + * Creates an instance of a component registered in the factory under a specific name. + * + * When called, the {@link module:core/editor/editor~Editor#locale editor locale} is passed to + * the previously {@link #add added} factory function, allowing localization of the + * {@link module:ui/view~View view}. + * + * @param name The name of the component. + * @returns The instantiated component view. + */ + create(name: string): View; + /** + * Checks if a component of a given name is registered in the factory. + * + * @param name The name of the component. + */ + has(name: string): boolean; +} diff --git a/node_modules/@ckeditor/ckeditor5-ui/src/componentfactory.js b/node_modules/@ckeditor/ckeditor5-ui/src/componentfactory.js new file mode 100644 index 0000000..674e90e --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/src/componentfactory.js @@ -0,0 +1,104 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module ui/componentfactory + */ +import { CKEditorError } from '@ckeditor/ckeditor5-utils'; +/** + * A helper class implementing the UI component ({@link module:ui/view~View view}) factory. + * + * It allows functions producing specific UI components to be registered under their unique names + * in the factory. A registered component can be then instantiated by providing its name. + * Note that the names are case insensitive. + * + * ```ts + * // The editor provides localization tools for the factory. + * const factory = new ComponentFactory( editor ); + * + * factory.add( 'foo', locale => new FooView( locale ) ); + * factory.add( 'bar', locale => new BarView( locale ) ); + * + * // An instance of FooView. + * const fooInstance = factory.create( 'foo' ); + * + * // Names are case insensitive so this is also allowed: + * const barInstance = factory.create( 'Bar' ); + * ``` + * + * The {@link module:core/editor/editor~Editor#locale editor locale} is passed to the factory + * function when {@link module:ui/componentfactory~ComponentFactory#create} is called. + */ +export default class ComponentFactory { + /** + * Creates an instance of the factory. + * + * @param editor The editor instance. + */ + constructor(editor) { + /** + * Registered component factories. + */ + this._components = new Map(); + this.editor = editor; + } + /** + * Returns an iterator of registered component names. Names are returned in lower case. + */ + *names() { + for (const value of this._components.values()) { + yield value.originalName; + } + } + /** + * Registers a component factory function that will be used by the + * {@link #create create} method and called with the + * {@link module:core/editor/editor~Editor#locale editor locale} as an argument, + * allowing localization of the {@link module:ui/view~View view}. + * + * @param name The name of the component. + * @param callback The callback that returns the component. + */ + add(name, callback) { + this._components.set(getNormalized(name), { callback, originalName: name }); + } + /** + * Creates an instance of a component registered in the factory under a specific name. + * + * When called, the {@link module:core/editor/editor~Editor#locale editor locale} is passed to + * the previously {@link #add added} factory function, allowing localization of the + * {@link module:ui/view~View view}. + * + * @param name The name of the component. + * @returns The instantiated component view. + */ + create(name) { + if (!this.has(name)) { + /** + * The required component is not registered in the component factory. Please make sure + * the provided name is correct and the component has been correctly + * {@link module:ui/componentfactory~ComponentFactory#add added} to the factory. + * + * @error componentfactory-item-missing + * @param name The name of the missing component. + */ + throw new CKEditorError('componentfactory-item-missing', this, { name }); + } + return this._components.get(getNormalized(name)).callback(this.editor.locale); + } + /** + * Checks if a component of a given name is registered in the factory. + * + * @param name The name of the component. + */ + has(name) { + return this._components.has(getNormalized(name)); + } +} +/** + * Ensures that the component name used as the key in the internal map is in lower case. + */ +function getNormalized(name) { + return String(name).toLowerCase(); +} diff --git a/node_modules/@ckeditor/ckeditor5-ui/src/dialog/dialog.d.ts b/node_modules/@ckeditor/ckeditor5-ui/src/dialog/dialog.d.ts new file mode 100644 index 0000000..5ca29a5 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/src/dialog/dialog.d.ts @@ -0,0 +1,273 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module ui/dialog/dialog + */ +import type View from '../view.js'; +import { type Editor, Plugin } from '@ckeditor/ckeditor5-core'; +import DialogView, { DialogViewPosition } from './dialogview.js'; +import type { DialogActionButtonDefinition } from './dialogactionsview.js'; +/** + * The dialog controller class. It is used to show and hide the {@link module:ui/dialog/dialogview~DialogView}. + */ +export default class Dialog extends Plugin { + /** + * The name of the currently visible dialog view instance. + * + * @observable + */ + id: string | null; + /** + * The currently visible dialog view instance. + */ + view?: DialogView; + /** + * The `Dialog` plugin instance which most recently showed the dialog. + * + * Only one dialog can be visible at once, even if there are many editor instances on the page. + * If an editor wants to show a dialog, it should first hide the dialog that is already opened. + * But only the `Dialog` instance that showed the dialog is able able to properly hide it. + * This is why we need to store it in a globally available space (static property). + * This way every `Dialog` plugin in every editor is able to correctly close any open dialog window. + */ + private static _visibleDialogPlugin; + /** + * A flag indicating whether the dialog is currently visible. + * + * @observable + */ + isOpen: boolean; + /** + * A configurable callback called when the dialog is hidden. + */ + private _onHide; + /** + * @inheritDoc + */ + static get pluginName(): "Dialog"; + /** + * @inheritDoc + */ + constructor(editor: Editor); + /** + * Initiates listeners for the `show` and `hide` events emitted by this plugin. + * + * We could not simply decorate the {@link #show} and {@link #hide} methods to fire events, + * because they would be fired in the wrong order – first would be `show` and then `hide` + * (because showing the dialog actually starts with hiding the previously visible one). + * Hence, we added private methods {@link #_show} and {@link #_hide} which are called on events + * in the desired sequence. + */ + private _initShowHideListeners; + /** + * Initiates keystroke handler for toggling the focus between the editor and the dialog view. + */ + private _initFocusToggler; + /** + * Provides an integration between the root attaching and detaching and positioning of the view. + */ + private _initMultiRootIntegration; + /** + * Displays a dialog window. + * + * This method requires a {@link ~DialogDefinition} that defines the dialog's content, title, icon, action buttons, etc. + * + * For example, the following definition will create a dialog with: + * * A header consisting of an icon, a title, and a "Close" button (it is added by default). + * * A content consisting of a view with a single paragraph. + * * A footer consisting of two buttons: "Yes" and "No". + * + * ```js + * // Create the view that will be used as the dialog's content. + * const textView = new View( locale ); + * + * textView.setTemplate( { + * tag: 'div', + * attributes: { + * style: { + * padding: 'var(--ck-spacing-large)', + * whiteSpace: 'initial', + * width: '100%', + * maxWidth: '500px' + * }, + * tabindex: -1 + * }, + * children: [ + * 'Lorem ipsum dolor sit amet...' + * ] + * } ); + * + * // Show the dialog. + * editor.plugins.get( 'Dialog' ).show( { + * id: 'myDialog', + * icon: 'myIcon', // This should be an SVG string. + * title: 'My dialog', + * content: textView, + * actionButtons: [ + * { + * label: t( 'Yes' ), + * class: 'ck-button-action', + * withText: true, + * onExecute: () => dialog.hide() + * }, + * { + * label: t( 'No' ), + * withText: true, + * onExecute: () => dialog.hide() + * } + * ] + * } ); + * ``` + * + * By specifying the {@link ~DialogDefinition#onShow} and {@link ~DialogDefinition#onHide} callbacks + * it is also possible to add callbacks that will be called when the dialog is shown or hidden. + * + * For example, the callbacks in the following definition: + * * Disable the default behavior of the Esc key. + * * Fire a custom event when the dialog gets hidden. + * + * ```js + * editor.plugins.get( 'Dialog' ).show( { + * // ... + * onShow: dialog => { + * dialog.view.on( 'close', ( evt, data ) => { + * // Only prevent the event from the "Esc" key - do not affect the other ways of closing the dialog. + * if ( data.source === 'escKeyPress' ) { + * evt.stop(); + * } + * } ); + * }, + * onHide: dialog => { + * dialog.fire( 'dialogDestroyed' ); + * } + * } ); + * ``` + * + * Internally, calling this method: + * 1. Hides the currently visible dialog (if any) calling the {@link #hide} method + * (fires the {@link ~DialogHideEvent hide event}). + * 2. Fires the {@link ~DialogShowEvent show event} which allows for adding callbacks that customize the + * behavior of the dialog. + * 3. Shows the dialog. + */ + show(dialogDefinition: DialogDefinition): void; + /** + * Handles creating the {@link module:ui/dialog/dialogview~DialogView} instance and making it visible. + */ + private _show; + /** + * Hides the dialog. This method is decorated to enable interacting on the {@link ~DialogHideEvent hide event}. + * + * See {@link #show}. + */ + hide(): void; + /** + * Destroys the {@link module:ui/dialog/dialogview~DialogView} and cleans up the stored dialog state. + */ + private _hide; +} +/** + * The definition that describes a dialog window and its content. Passed to the {@link module:ui/dialog/dialog~Dialog#show} method. + */ +export interface DialogDefinition { + /** + * A unique identifier of the dialog. It allows for distinguishing between different dialogs and their visibility. + * For instance, when open, the ID of the currently visible dialog is stored in {@link module:ui/dialog/dialog~Dialog#id}. + * + * The `id` is also passed along the {@link module:ui/dialog/dialog~DialogShowEvent} and {@link module:ui/dialog/dialog~DialogHideEvent} + * events. + */ + id: string; + /** + * The SVG string of an icon displayed in dialogs's header. Used only when {@link #title} is also set + * and the header is displayed. + * + * See more in {@link module:ui/icon/iconview~IconView#content}. + */ + icon?: string; + /** + * A title displayed in the dialogs's header. It also works as an accessible name of the dialog used by assistive technologies. + * + * When not set, the header is not displayed. Affects {@link #icon} and {@link #hasCloseButton}. + */ + title?: string; + /** + * A flag indicating whether the dialog should have a close button in the header. + * `true` by default. Works when {@link #title} is also set and the header is displayed. + * + * **Note**: If you hide the close button, make sure that the dialog can be closed in another way. + */ + hasCloseButton?: boolean; + /** + * The content of the dialog. It can be a single {@link module:ui/view~View} or an array of views. + */ + content?: View | Array; + /** + * The action buttons displayed in the dialog's footer. + */ + actionButtons?: Array; + /** + * An additional CSS class set on the outermost (`.ck.ck-dialog`) container element allowing for visual customization. + */ + className?: string; + /** + * When set to `true`, the dialog will become a modal, that is, it will block the UI until it is closed. + */ + isModal?: boolean; + /** + * Available dialog positions. By default `DialogViewPosition.EDITOR_CENTER` is used for {@link #isModal non-modals} + * and `DialogViewPosition.SCREEN_CENTER` for modals. + * + * {@link module:ui/dialog/dialogview#DialogViewPosition Learn more} about available positions. + */ + position?: typeof DialogViewPosition[keyof typeof DialogViewPosition]; + /** + * A callback called when the dialog shows up with a `low` priority. It allows for setting up the dialog's {@link #content}. + */ + onShow?: (dialog: Dialog) => void; + /** + * A callback called when the dialog hides with a `low` priority. + * It allows for cleaning up (for example, resetting) the dialog's {@link #content}. + */ + onHide?: (dialog: Dialog) => void; +} +/** + * An event fired after {@link module:ui/dialog/dialog~Dialog#show} is called. You can use it to customize the behavior + * of any dialog. + * + * ```js + * import { DialogViewPosition } from 'ckeditor5/src/ui.js'; + * + * // ... + * + * // Changes the position of the "Find and Replace" dialog. + * editor.plugins.get( 'Dialog' ).on( 'show:findAndReplace', ( evt, data ) => { + * Object.assign( data, { position: DialogViewPosition.EDITOR_BOTTOM_CENTER } ); + * }, { priority: 'high' } ); + * ``` + * + * @eventName ~Dialog#show + */ +export type DialogShowEvent = { + name: 'show' | `show:${string}`; + args: [dialogDefinition: DialogDefinition]; +}; +/** + * An event fired after {@link module:ui/dialog/dialog~Dialog#hide} is called. You can use it to customize the behavior + * of any dialog. + * + * ```js + * // Logs after the "Find and Replace" dialog gets hidden + * editor.plugins.get( 'Dialog' ).on( 'hide:findAndReplace', () => { + * console.log( 'The "Find and Replace" dialog was hidden.' ); + * } ); + * ``` + * + * @eventName ~Dialog#hide + */ +export type DialogHideEvent = { + name: 'hide' | `hide:${string}`; + args: []; +}; diff --git a/node_modules/@ckeditor/ckeditor5-ui/src/dialog/dialog.js b/node_modules/@ckeditor/ckeditor5-ui/src/dialog/dialog.js new file mode 100644 index 0000000..13fdf3e --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/src/dialog/dialog.js @@ -0,0 +1,271 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +import { Plugin } from '@ckeditor/ckeditor5-core'; +import DialogView, { DialogViewPosition } from './dialogview.js'; +/** + * The dialog controller class. It is used to show and hide the {@link module:ui/dialog/dialogview~DialogView}. + */ +export default class Dialog extends Plugin { + /** + * @inheritDoc + */ + static get pluginName() { + return 'Dialog'; + } + /** + * @inheritDoc + */ + constructor(editor) { + super(editor); + const t = editor.t; + this._initShowHideListeners(); + this._initFocusToggler(); + this._initMultiRootIntegration(); + this.set('id', null); + // Add the information about the keystroke to the accessibility database. + editor.accessibility.addKeystrokeInfos({ + categoryId: 'navigation', + keystrokes: [{ + label: t('Move focus in and out of an active dialog window'), + keystroke: 'Ctrl+F6', + mayRequireFn: true + }] + }); + } + /** + * Initiates listeners for the `show` and `hide` events emitted by this plugin. + * + * We could not simply decorate the {@link #show} and {@link #hide} methods to fire events, + * because they would be fired in the wrong order – first would be `show` and then `hide` + * (because showing the dialog actually starts with hiding the previously visible one). + * Hence, we added private methods {@link #_show} and {@link #_hide} which are called on events + * in the desired sequence. + */ + _initShowHideListeners() { + this.on('show', (evt, args) => { + this._show(args); + }); + // 'low' priority allows to add custom callback between `_show()` and `onShow()`. + this.on('show', (evt, args) => { + if (args.onShow) { + args.onShow(this); + } + }, { priority: 'low' }); + this.on('hide', () => { + if (Dialog._visibleDialogPlugin) { + Dialog._visibleDialogPlugin._hide(); + } + }); + // 'low' priority allows to add custom callback between `_hide()` and `onHide()`. + this.on('hide', () => { + if (this._onHide) { + this._onHide(this); + this._onHide = undefined; + } + }, { priority: 'low' }); + } + /** + * Initiates keystroke handler for toggling the focus between the editor and the dialog view. + */ + _initFocusToggler() { + const editor = this.editor; + editor.keystrokes.set('Ctrl+F6', (data, cancel) => { + if (!this.isOpen || this.view.isModal) { + return; + } + if (this.view.focusTracker.isFocused) { + editor.editing.view.focus(); + } + else { + this.view.focus(); + } + cancel(); + }); + } + /** + * Provides an integration between the root attaching and detaching and positioning of the view. + */ + _initMultiRootIntegration() { + const model = this.editor.model; + model.document.on('change:data', () => { + if (!this.view) { + return; + } + const changedRoots = model.document.differ.getChangedRoots(); + for (const changes of changedRoots) { + if (changes.state) { + this.view.updatePosition(); + } + } + }); + } + /** + * Displays a dialog window. + * + * This method requires a {@link ~DialogDefinition} that defines the dialog's content, title, icon, action buttons, etc. + * + * For example, the following definition will create a dialog with: + * * A header consisting of an icon, a title, and a "Close" button (it is added by default). + * * A content consisting of a view with a single paragraph. + * * A footer consisting of two buttons: "Yes" and "No". + * + * ```js + * // Create the view that will be used as the dialog's content. + * const textView = new View( locale ); + * + * textView.setTemplate( { + * tag: 'div', + * attributes: { + * style: { + * padding: 'var(--ck-spacing-large)', + * whiteSpace: 'initial', + * width: '100%', + * maxWidth: '500px' + * }, + * tabindex: -1 + * }, + * children: [ + * 'Lorem ipsum dolor sit amet...' + * ] + * } ); + * + * // Show the dialog. + * editor.plugins.get( 'Dialog' ).show( { + * id: 'myDialog', + * icon: 'myIcon', // This should be an SVG string. + * title: 'My dialog', + * content: textView, + * actionButtons: [ + * { + * label: t( 'Yes' ), + * class: 'ck-button-action', + * withText: true, + * onExecute: () => dialog.hide() + * }, + * { + * label: t( 'No' ), + * withText: true, + * onExecute: () => dialog.hide() + * } + * ] + * } ); + * ``` + * + * By specifying the {@link ~DialogDefinition#onShow} and {@link ~DialogDefinition#onHide} callbacks + * it is also possible to add callbacks that will be called when the dialog is shown or hidden. + * + * For example, the callbacks in the following definition: + * * Disable the default behavior of the Esc key. + * * Fire a custom event when the dialog gets hidden. + * + * ```js + * editor.plugins.get( 'Dialog' ).show( { + * // ... + * onShow: dialog => { + * dialog.view.on( 'close', ( evt, data ) => { + * // Only prevent the event from the "Esc" key - do not affect the other ways of closing the dialog. + * if ( data.source === 'escKeyPress' ) { + * evt.stop(); + * } + * } ); + * }, + * onHide: dialog => { + * dialog.fire( 'dialogDestroyed' ); + * } + * } ); + * ``` + * + * Internally, calling this method: + * 1. Hides the currently visible dialog (if any) calling the {@link #hide} method + * (fires the {@link ~DialogHideEvent hide event}). + * 2. Fires the {@link ~DialogShowEvent show event} which allows for adding callbacks that customize the + * behavior of the dialog. + * 3. Shows the dialog. + */ + show(dialogDefinition) { + this.hide(); + this.fire(`show:${dialogDefinition.id}`, dialogDefinition); + } + /** + * Handles creating the {@link module:ui/dialog/dialogview~DialogView} instance and making it visible. + */ + _show({ id, icon, title, hasCloseButton = true, content, actionButtons, className, isModal, position, onHide }) { + const editor = this.editor; + this.view = new DialogView(editor.locale, { + getCurrentDomRoot: () => { + return editor.editing.view.getDomRoot(editor.model.document.selection.anchor.root.rootName); + }, + getViewportOffset: () => { + return editor.ui.viewportOffset; + } + }); + const view = this.view; + view.on('close', () => { + this.hide(); + }); + editor.ui.view.body.add(view); + editor.ui.focusTracker.add(view.element); + editor.keystrokes.listenTo(view.element); + // Unless the user specified a position, modals should always be centered on the screen. + // Otherwise, let's keep dialogs centered in the editing root by default. + if (!position) { + position = isModal ? DialogViewPosition.SCREEN_CENTER : DialogViewPosition.EDITOR_CENTER; + } + view.set({ + position, + _isVisible: true, + className, + isModal + }); + view.setupParts({ + icon, + title, + hasCloseButton, + content, + actionButtons + }); + this.id = id; + if (onHide) { + this._onHide = onHide; + } + this.isOpen = true; + Dialog._visibleDialogPlugin = this; + } + /** + * Hides the dialog. This method is decorated to enable interacting on the {@link ~DialogHideEvent hide event}. + * + * See {@link #show}. + */ + hide() { + if (Dialog._visibleDialogPlugin) { + Dialog._visibleDialogPlugin.fire(`hide:${Dialog._visibleDialogPlugin.id}`); + } + } + /** + * Destroys the {@link module:ui/dialog/dialogview~DialogView} and cleans up the stored dialog state. + */ + _hide() { + if (!this.view) { + return; + } + const editor = this.editor; + const view = this.view; + // Reset the content view to prevent its children from being destroyed in the standard + // View#destroy() (and collections) chain. If the content children were left in there, + // they would have to be re-created by the feature using the dialog every time the dialog + // shows up. + if (view.contentView) { + view.contentView.reset(); + } + editor.ui.view.body.remove(view); + editor.ui.focusTracker.remove(view.element); + editor.keystrokes.stopListening(view.element); + view.destroy(); + editor.editing.view.focus(); + this.id = null; + this.isOpen = false; + Dialog._visibleDialogPlugin = null; + } +} diff --git a/node_modules/@ckeditor/ckeditor5-ui/src/dialog/dialogactionsview.d.ts b/node_modules/@ckeditor/ckeditor5-ui/src/dialog/dialogactionsview.d.ts new file mode 100644 index 0000000..3ce91bb --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/src/dialog/dialogactionsview.d.ts @@ -0,0 +1,69 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module ui/dialog/dialogactionsview + */ +import { KeystrokeHandler, type Locale } from '@ckeditor/ckeditor5-utils'; +import type { default as Button } from '../button/button.js'; +import ButtonView from '../button/buttonview.js'; +import View from '../view.js'; +import ViewCollection from '../viewcollection.js'; +import FocusCycler, { type FocusableView } from '../focuscycler.js'; +import '../../theme/components/dialog/dialogactions.css'; +/** + * A dialog actions view class. It contains button views which are used to execute dialog actions. + */ +export default class DialogActionsView extends View { + /** + * A collection of button views. + */ + readonly children: ViewCollection; + /** + * A keystroke handler instance. + */ + readonly keystrokes: KeystrokeHandler; + /** + * A focus cycler instance. + */ + readonly focusCycler: FocusCycler; + /** + * A focus tracker instance. + */ + private readonly _focusTracker; + /** + * A collection of focusable views. + */ + private readonly _focusables; + /** + * @inheritDoc + */ + constructor(locale?: Locale); + /** + * @inheritDoc + */ + render(): void; + /** + * Creates the button views based on the given definitions. + * Then adds them to the {@link #children} collection and to the focus cycler. + */ + setButtons(definitions: Array): void; + /** + * @inheritDoc + */ + focus(direction?: 1 | -1): void; + /** + * Adds all elements from the {@link #children} collection to the {@link #_focusables} collection + * and to the {@link #_focusTracker} instance. + */ + private _updateFocusCyclableItems; +} +/** + * A dialog action button definition. It is a slightly modified version + * of the {@link module:ui/button/button~Button} definition. + */ +export type DialogActionButtonDefinition = Pick & Partial> & { + onExecute: Function; + onCreate?: (button: ButtonView) => void; +}; diff --git a/node_modules/@ckeditor/ckeditor5-ui/src/dialog/dialogactionsview.js b/node_modules/@ckeditor/ckeditor5-ui/src/dialog/dialogactionsview.js new file mode 100644 index 0000000..bed7f98 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/src/dialog/dialogactionsview.js @@ -0,0 +1,98 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module ui/dialog/dialogactionsview + */ +import { FocusTracker, KeystrokeHandler } from '@ckeditor/ckeditor5-utils'; +import ButtonView from '../button/buttonview.js'; +import View from '../view.js'; +import ViewCollection from '../viewcollection.js'; +import FocusCycler from '../focuscycler.js'; +import '../../theme/components/dialog/dialogactions.css'; +/** + * A dialog actions view class. It contains button views which are used to execute dialog actions. + */ +export default class DialogActionsView extends View { + /** + * @inheritDoc + */ + constructor(locale) { + super(locale); + this.children = this.createCollection(); + this.keystrokes = new KeystrokeHandler(); + this._focusTracker = new FocusTracker(); + this._focusables = new ViewCollection(); + this.focusCycler = new FocusCycler({ + focusables: this._focusables, + focusTracker: this._focusTracker, + keystrokeHandler: this.keystrokes, + actions: { + // Navigate form fields backwards using the Shift + Tab keystroke. + focusPrevious: 'shift + tab', + // Navigate form fields forwards using the Tab key. + focusNext: 'tab' + } + }); + this.setTemplate({ + tag: 'div', + attributes: { + class: [ + 'ck', + 'ck-dialog__actions' + ] + }, + children: this.children + }); + } + /** + * @inheritDoc + */ + render() { + super.render(); + this.keystrokes.listenTo(this.element); + } + /** + * Creates the button views based on the given definitions. + * Then adds them to the {@link #children} collection and to the focus cycler. + */ + setButtons(definitions) { + for (const definition of definitions) { + const button = new ButtonView(this.locale); + let property; + button.on('execute', () => definition.onExecute()); + if (definition.onCreate) { + definition.onCreate(button); + } + for (property in definition) { + if (property != 'onExecute' && property != 'onCreate') { + button.set(property, definition[property]); + } + } + this.children.add(button); + } + this._updateFocusCyclableItems(); + } + /** + * @inheritDoc + */ + focus(direction) { + if (direction === -1) { + this.focusCycler.focusLast(); + } + else { + this.focusCycler.focusFirst(); + } + } + /** + * Adds all elements from the {@link #children} collection to the {@link #_focusables} collection + * and to the {@link #_focusTracker} instance. + */ + _updateFocusCyclableItems() { + Array.from(this.children).forEach(v => { + this._focusables.add(v); + this._focusTracker.add(v.element); + }); + } +} diff --git a/node_modules/@ckeditor/ckeditor5-ui/src/dialog/dialogcontentview.d.ts b/node_modules/@ckeditor/ckeditor5-ui/src/dialog/dialogcontentview.d.ts new file mode 100644 index 0000000..8bcd311 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/src/dialog/dialogcontentview.d.ts @@ -0,0 +1,27 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module ui/dialog/dialogcontentview + */ +import View from '../view.js'; +import type ViewCollection from '../viewcollection.js'; +import type { Locale } from '@ckeditor/ckeditor5-utils'; +/** + * A dialog content view class. + */ +export default class DialogContentView extends View { + /** + * A collection of content items. + */ + readonly children: ViewCollection; + /** + * @inheritDoc + */ + constructor(locale: Locale | undefined); + /** + * Removes all the child views. + */ + reset(): void; +} diff --git a/node_modules/@ckeditor/ckeditor5-ui/src/dialog/dialogcontentview.js b/node_modules/@ckeditor/ckeditor5-ui/src/dialog/dialogcontentview.js new file mode 100644 index 0000000..a508179 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/src/dialog/dialogcontentview.js @@ -0,0 +1,35 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module ui/dialog/dialogcontentview + */ +import View from '../view.js'; +/** + * A dialog content view class. + */ +export default class DialogContentView extends View { + /** + * @inheritDoc + */ + constructor(locale) { + super(locale); + this.children = this.createCollection(); + this.setTemplate({ + tag: 'div', + attributes: { + class: ['ck', 'ck-dialog__content'] + }, + children: this.children + }); + } + /** + * Removes all the child views. + */ + reset() { + while (this.children.length) { + this.children.remove(0); + } + } +} diff --git a/node_modules/@ckeditor/ckeditor5-ui/src/dialog/dialogview.d.ts b/node_modules/@ckeditor/ckeditor5-ui/src/dialog/dialogview.d.ts new file mode 100644 index 0000000..ae413aa --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/src/dialog/dialogview.d.ts @@ -0,0 +1,256 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module ui/dialog/dialogview + */ +import { KeystrokeHandler, FocusTracker, type Locale, type DecoratedMethodEvent } from '@ckeditor/ckeditor5-utils'; +import ViewCollection from '../viewcollection.js'; +import View from '../view.js'; +import FormHeaderView from '../formheader/formheaderview.js'; +import ButtonView from '../button/buttonview.js'; +import { type DraggableView } from '../bindings/draggableviewmixin.js'; +import DialogActionsView, { type DialogActionButtonDefinition } from './dialogactionsview.js'; +import DialogContentView from './dialogcontentview.js'; +import type EditorUI from '../editorui/editorui.js'; +import '../../theme/components/dialog/dialog.css'; +/** + * Available dialog view positions: + * + * * `DialogViewPosition.SCREEN_CENTER` – A fixed position in the center of the screen. + * * `DialogViewPosition.EDITOR_CENTER` – A dynamic position in the center of the editor editable area. + * * `DialogViewPosition.EDITOR_TOP_SIDE` – A dynamic position at the top-right (for the left-to-right languages) + * or top-left (for right-to-left languages) corner of the editor editable area. + * * `DialogViewPosition.EDITOR_TOP_CENTER` – A dynamic position at the top-center of the editor editable area. + * * `DialogViewPosition.EDITOR_BOTTOM_CENTER` – A dynamic position at the bottom-center of the editor editable area. + * * `DialogViewPosition.EDITOR_ABOVE_CENTER` – A dynamic position centered above the editor editable area. + * * `DialogViewPosition.EDITOR_BELOW_CENTER` – A dynamic position centered below the editor editable area. + * + * The position of a dialog is specified by a {@link module:ui/dialog/dialog~DialogDefinition#position `position` property} of a + * definition passed to the {@link module:ui/dialog/dialog~Dialog#show} method. + */ +export declare const DialogViewPosition: { + readonly SCREEN_CENTER: "screen-center"; + readonly EDITOR_CENTER: "editor-center"; + readonly EDITOR_TOP_SIDE: "editor-top-side"; + readonly EDITOR_TOP_CENTER: "editor-top-center"; + readonly EDITOR_BOTTOM_CENTER: "editor-bottom-center"; + readonly EDITOR_ABOVE_CENTER: "editor-above-center"; + readonly EDITOR_BELOW_CENTER: "editor-below-center"; +}; +declare const DialogView_base: import("@ckeditor/ckeditor5-utils").Mixed; +/** + * A dialog view class. + */ +export default class DialogView extends DialogView_base implements DraggableView { + /** + * A collection of the child views inside of the dialog. + * A dialog can have 3 optional parts: header, content, and actions. + */ + readonly parts: ViewCollection; + /** + * A header view of the dialog. It is also a drag handle of the dialog. + */ + headerView?: FormHeaderView; + /** + * A close button view. It is automatically added to the header view if present. + */ + closeButtonView?: ButtonView; + /** + * A view with the action buttons available to the user. + */ + actionsView?: DialogActionsView; + /** + * A default dialog element offset from the reference element (e.g. editor editable area). + */ + static defaultOffset: number; + /** + * A view with the dialog content. + */ + contentView?: DialogContentView; + /** + * A keystroke handler instance. + */ + readonly keystrokes: KeystrokeHandler; + /** + * A focus tracker instance. + */ + readonly focusTracker: FocusTracker; + /** + * A flag indicating if the dialog was moved manually. If so, its position + * will not be updated automatically upon window resize or document scroll. + */ + wasMoved: boolean; + /** + * A flag indicating if this dialog view is a modal. + * + * @observable + */ + isModal: boolean; + /** + * A label for the view dialog element to be used by the assistive technologies. + * + * @observable + */ + ariaLabel: string; + /** + * A custom class name to be added to the dialog element. + * + * @observable + */ + className: string | undefined; + /** + * The position of the dialog view. + * + * @observable + */ + position: typeof DialogViewPosition[keyof typeof DialogViewPosition]; + /** + * A flag indicating that the dialog should be shown. Once set to `true`, the dialog will be shown + * after its position is calculated. Until then, the dialog is transparent and not visible. + * + * See {@link #_isTransparent} property. + * + * @observable + * @internal + */ + _isVisible: boolean; + /** + * A flag indicating if a dialog is transparent. It is used to prevent the dialog from being visible + * before its position is calculated. + * + * @observable + * @internal + */ + _isTransparent: boolean; + /** + * The calculated dialog `top` CSS property used for positioning. + * + * @observable + * @internal + */ + _top: number; + /** + * The calculated dialog `left` CSS property used for positioning. + * + * @observable + * @internal + */ + _left: number; + /** + * A callback returning the DOM root that requested the dialog. + */ + private _getCurrentDomRoot; + /** + * A callback returning the configured editor viewport offset. + */ + private _getViewportOffset; + /** + * The list of the focusable elements inside the dialog view. + */ + private readonly _focusables; + /** + * The focus cycler instance. + */ + private readonly _focusCycler; + /** + * @inheritDoc + */ + constructor(locale: Locale, { getCurrentDomRoot, getViewportOffset }: { + getCurrentDomRoot: () => HTMLElement; + getViewportOffset: () => EditorUI['viewportOffset']; + }); + /** + * @inheritDoc + */ + render(): void; + /** + * Returns the element that should be used as a drag handle. + */ + get dragHandleElement(): HTMLElement | null; + /** + * Creates the dialog parts. Which of them are created depends on the arguments passed to the method. + * There are no rules regarding the dialog construction, that is, no part is mandatory. + * Each part can only be created once. + * + * @internal + */ + setupParts({ icon, title, hasCloseButton, content, actionButtons }: { + icon?: string; + title?: string; + hasCloseButton?: boolean; + content?: View | Array; + actionButtons?: Array; + }): void; + /** + * Focuses the first focusable element inside the dialog. + */ + focus(): void; + /** + * Normalizes the passed coordinates to make sure the dialog view + * is displayed within the visible viewport and moves it there. + * + * @internal + */ + moveTo(left: number, top: number): void; + /** + * Moves the dialog to the specified coordinates. + */ + private _moveTo; + /** + * Moves the dialog by the specified offset. + * + * @internal + */ + moveBy(left: number, top: number): void; + /** + * Moves the dialog view to the off-screen position. + * Used when there is no space to display the dialog. + */ + private _moveOffScreen; + /** + * Recalculates the dialog according to the set position and viewport, + * and moves it to the new position. + */ + updatePosition(): void; + /** + * Calculates the visible DOM root part. + */ + private _getVisibleDomRootRect; + /** + * Calculates the dialog element rect. + */ + private _getDialogRect; + /** + * Calculates the viewport rect. + */ + private _getViewportRect; + /** + * Collects all focusable elements inside the dialog parts + * and adds them to the focus tracker and focus cycler. + */ + private _updateFocusCyclableItems; + /** + * Creates the close button view that is displayed in the header view corner. + */ + private _createCloseButton; +} +/** + * An event fired when the dialog is closed. + * + * @eventName ~DialogView#close + */ +export type DialogViewCloseEvent = { + name: 'close'; + args: [{ + source: 'closeButton' | 'escKeyPress'; + }]; +}; +/** + * An event fired when the dialog is moved. + * + * @eventName ~DialogView#moveTo + */ +export type DialogViewMoveToEvent = DecoratedMethodEvent; +export {}; diff --git a/node_modules/@ckeditor/ckeditor5-ui/src/dialog/dialogview.js b/node_modules/@ckeditor/ckeditor5-ui/src/dialog/dialogview.js new file mode 100644 index 0000000..37b1e7e --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/src/dialog/dialogview.js @@ -0,0 +1,466 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module ui/dialog/dialogview + */ +import { KeystrokeHandler, FocusTracker, Rect, global, toUnit } from '@ckeditor/ckeditor5-utils'; +import { icons } from '@ckeditor/ckeditor5-core'; +import ViewCollection from '../viewcollection.js'; +import View from '../view.js'; +import FormHeaderView from '../formheader/formheaderview.js'; +import ButtonView from '../button/buttonview.js'; +import FocusCycler, { isViewWithFocusCycler, isFocusable } from '../focuscycler.js'; +import DraggableViewMixin from '../bindings/draggableviewmixin.js'; +import DialogActionsView from './dialogactionsview.js'; +import DialogContentView from './dialogcontentview.js'; +import '../../theme/components/dialog/dialog.css'; +// @if CK_DEBUG_DIALOG // const RectDrawer = require( '@ckeditor/ckeditor5-utils/tests/_utils/rectdrawer' ).default; +/** + * Available dialog view positions: + * + * * `DialogViewPosition.SCREEN_CENTER` – A fixed position in the center of the screen. + * * `DialogViewPosition.EDITOR_CENTER` – A dynamic position in the center of the editor editable area. + * * `DialogViewPosition.EDITOR_TOP_SIDE` – A dynamic position at the top-right (for the left-to-right languages) + * or top-left (for right-to-left languages) corner of the editor editable area. + * * `DialogViewPosition.EDITOR_TOP_CENTER` – A dynamic position at the top-center of the editor editable area. + * * `DialogViewPosition.EDITOR_BOTTOM_CENTER` – A dynamic position at the bottom-center of the editor editable area. + * * `DialogViewPosition.EDITOR_ABOVE_CENTER` – A dynamic position centered above the editor editable area. + * * `DialogViewPosition.EDITOR_BELOW_CENTER` – A dynamic position centered below the editor editable area. + * + * The position of a dialog is specified by a {@link module:ui/dialog/dialog~DialogDefinition#position `position` property} of a + * definition passed to the {@link module:ui/dialog/dialog~Dialog#show} method. + */ +export const DialogViewPosition = { + SCREEN_CENTER: 'screen-center', + EDITOR_CENTER: 'editor-center', + EDITOR_TOP_SIDE: 'editor-top-side', + EDITOR_TOP_CENTER: 'editor-top-center', + EDITOR_BOTTOM_CENTER: 'editor-bottom-center', + EDITOR_ABOVE_CENTER: 'editor-above-center', + EDITOR_BELOW_CENTER: 'editor-below-center' +}; +const toPx = toUnit('px'); +/** + * A dialog view class. + */ +class DialogView extends DraggableViewMixin(View) { + /** + * @inheritDoc + */ + constructor(locale, { getCurrentDomRoot, getViewportOffset }) { + super(locale); + /** + * A flag indicating if the dialog was moved manually. If so, its position + * will not be updated automatically upon window resize or document scroll. + */ + this.wasMoved = false; + const bind = this.bindTemplate; + const t = locale.t; + this.set('className', ''); + this.set('ariaLabel', t('Editor dialog')); + this.set('isModal', false); + this.set('position', DialogViewPosition.SCREEN_CENTER); + this.set('_isVisible', false); + this.set('_isTransparent', false); + this.set('_top', 0); + this.set('_left', 0); + this._getCurrentDomRoot = getCurrentDomRoot; + this._getViewportOffset = getViewportOffset; + this.decorate('moveTo'); + this.parts = this.createCollection(); + this.keystrokes = new KeystrokeHandler(); + this.focusTracker = new FocusTracker(); + this._focusables = new ViewCollection(); + this._focusCycler = new FocusCycler({ + focusables: this._focusables, + focusTracker: this.focusTracker, + keystrokeHandler: this.keystrokes, + actions: { + // Navigate form fields backwards using the Shift + Tab keystroke. + focusPrevious: 'shift + tab', + // Navigate form fields forwards using the Tab key. + focusNext: 'tab' + } + }); + this.setTemplate({ + tag: 'div', + attributes: { + class: [ + 'ck', + 'ck-dialog-overlay', + bind.if('isModal', 'ck-dialog-overlay__transparent', isModal => !isModal), + bind.if('_isVisible', 'ck-hidden', value => !value) + ], + // Prevent from editor losing focus when clicking on the modal overlay. + tabindex: '-1' + }, + children: [ + { + tag: 'div', + attributes: { + tabindex: '-1', + class: [ + 'ck', + 'ck-dialog', + bind.to('className') + ], + role: 'dialog', + 'aria-label': bind.to('ariaLabel'), + style: { + top: bind.to('_top', top => toPx(top)), + left: bind.to('_left', left => toPx(left)), + visibility: bind.if('_isTransparent', 'hidden') + } + }, + children: this.parts + } + ] + }); + } + /** + * @inheritDoc + */ + render() { + super.render(); + this.keystrokes.set('Esc', (data, cancel) => { + this.fire('close', { source: 'escKeyPress' }); + cancel(); + }); + // Support for dragging the modal. + this.on('drag', (evt, { deltaX, deltaY }) => { + this.wasMoved = true; + this.moveBy(deltaX, deltaY); + }); + // Update dialog position upon window resize, if the position was not changed manually. + this.listenTo(global.window, 'resize', () => { + if (this._isVisible && !this.wasMoved) { + this.updatePosition(); + } + }); + // Update dialog position upon document scroll, if the position was not changed manually. + this.listenTo(global.document, 'scroll', () => { + if (this._isVisible && !this.wasMoved) { + this.updatePosition(); + } + }); + this.on('change:_isVisible', (evt, name, isVisible) => { + if (isVisible) { + // Let the content render first, then apply the position. Otherwise, the calculated DOM Rects + // will not reflect the final look of the dialog. Note that we're not using #_moveOffScreen() here because + // it causes a violent movement of the viewport on iOS (because the dialog still keeps the DOM focus). + this._isTransparent = true; + // FYI: RAF is too short. We need to wait a bit longer. + setTimeout(() => { + this.updatePosition(); + this._isTransparent = false; + // The view must get the focus after it gets visible. But this is only possible + // after the dialog is no longer transparent. + this.focus(); + }, 10); + } + }); + this.keystrokes.listenTo(this.element); + } + /** + * Returns the element that should be used as a drag handle. + */ + get dragHandleElement() { + if (this.headerView) { + return this.headerView.element; + } + else { + return null; + } + } + /** + * Creates the dialog parts. Which of them are created depends on the arguments passed to the method. + * There are no rules regarding the dialog construction, that is, no part is mandatory. + * Each part can only be created once. + * + * @internal + */ + setupParts({ icon, title, hasCloseButton = true, content, actionButtons }) { + if (title) { + this.headerView = new FormHeaderView(this.locale, { icon }); + if (hasCloseButton) { + this.closeButtonView = this._createCloseButton(); + this.headerView.children.add(this.closeButtonView); + } + this.headerView.label = title; + this.ariaLabel = title; + this.parts.add(this.headerView, 0); + } + if (content) { + // Normalize the content specified in the arguments. + if (content instanceof View) { + content = [content]; + } + this.contentView = new DialogContentView(this.locale); + this.contentView.children.addMany(content); + this.parts.add(this.contentView); + } + if (actionButtons) { + this.actionsView = new DialogActionsView(this.locale); + this.actionsView.setButtons(actionButtons); + this.parts.add(this.actionsView); + } + this._updateFocusCyclableItems(); + } + /** + * Focuses the first focusable element inside the dialog. + */ + focus() { + this._focusCycler.focusFirst(); + } + /** + * Normalizes the passed coordinates to make sure the dialog view + * is displayed within the visible viewport and moves it there. + * + * @internal + */ + moveTo(left, top) { + const viewportRect = this._getViewportRect(); + const dialogRect = this._getDialogRect(); + // Don't let the dialog go beyond the right edge of the viewport. + if (left + dialogRect.width > viewportRect.right) { + left = viewportRect.right - dialogRect.width; + } + // Don't let the dialog go beyond the left edge of the viewport. + if (left < viewportRect.left) { + left = viewportRect.left; + } + // Don't let the dialog go beyond the top edge of the viewport. + if (top < viewportRect.top) { + top = viewportRect.top; + } + // Note: We don't do the same for the bottom edge to allow users to resize the window vertically + // and let the dialog to stay put instead of covering the editing root. + this._moveTo(left, top); + } + /** + * Moves the dialog to the specified coordinates. + */ + _moveTo(left, top) { + this._left = left; + this._top = top; + } + /** + * Moves the dialog by the specified offset. + * + * @internal + */ + moveBy(left, top) { + this.moveTo(this._left + left, this._top + top); + } + /** + * Moves the dialog view to the off-screen position. + * Used when there is no space to display the dialog. + */ + _moveOffScreen() { + this._moveTo(-9999, -9999); + } + /** + * Recalculates the dialog according to the set position and viewport, + * and moves it to the new position. + */ + updatePosition() { + if (!this.element || !this.element.parentNode) { + return; + } + const viewportRect = this._getViewportRect(); + // Actual position may be different from the configured one if there's no DOM root. + let configuredPosition = this.position; + let domRootRect; + if (!this._getCurrentDomRoot()) { + configuredPosition = DialogViewPosition.SCREEN_CENTER; + } + else { + domRootRect = this._getVisibleDomRootRect(viewportRect); + } + const defaultOffset = DialogView.defaultOffset; + const dialogRect = this._getDialogRect(); + // @if CK_DEBUG_DIALOG // RectDrawer.clear(); + // @if CK_DEBUG_DIALOG // RectDrawer.draw( viewportRect, { outlineColor: 'blue' }, 'Viewport' ); + switch (configuredPosition) { + case DialogViewPosition.EDITOR_TOP_SIDE: { + // @if CK_DEBUG_DIALOG // if ( domRootRect ) { + // @if CK_DEBUG_DIALOG // RectDrawer.draw( domRootRect, { outlineColor: 'red', zIndex: 9999999 }, 'DOM ROOT' ); + // @if CK_DEBUG_DIALOG // } + if (domRootRect) { + const leftCoordinate = this.locale.contentLanguageDirection === 'ltr' ? + domRootRect.right - dialogRect.width - defaultOffset : + domRootRect.left + defaultOffset; + this.moveTo(leftCoordinate, domRootRect.top + defaultOffset); + } + else { + this._moveOffScreen(); + } + break; + } + case DialogViewPosition.EDITOR_CENTER: { + if (domRootRect) { + this.moveTo(Math.round(domRootRect.left + domRootRect.width / 2 - dialogRect.width / 2), Math.round(domRootRect.top + domRootRect.height / 2 - dialogRect.height / 2)); + } + else { + this._moveOffScreen(); + } + break; + } + case DialogViewPosition.SCREEN_CENTER: { + this.moveTo(Math.round((viewportRect.width - dialogRect.width) / 2), Math.round((viewportRect.height - dialogRect.height) / 2)); + break; + } + case DialogViewPosition.EDITOR_TOP_CENTER: { + // @if CK_DEBUG_DIALOG // if ( domRootRect ) { + // @if CK_DEBUG_DIALOG // RectDrawer.draw( domRootRect, { outlineColor: 'red', zIndex: 9999999 }, 'DOM ROOT' ); + // @if CK_DEBUG_DIALOG // } + if (domRootRect) { + this.moveTo(Math.round(domRootRect.left + domRootRect.width / 2 - dialogRect.width / 2), domRootRect.top + defaultOffset); + } + else { + this._moveOffScreen(); + } + break; + } + case DialogViewPosition.EDITOR_BOTTOM_CENTER: { + // @if CK_DEBUG_DIALOG // if ( domRootRect ) { + // @if CK_DEBUG_DIALOG // RectDrawer.draw( domRootRect, { outlineColor: 'red', zIndex: 9999999 }, 'DOM ROOT' ); + // @if CK_DEBUG_DIALOG // } + if (domRootRect) { + this.moveTo(Math.round(domRootRect.left + domRootRect.width / 2 - dialogRect.width / 2), domRootRect.bottom - dialogRect.height - defaultOffset); + } + else { + this._moveOffScreen(); + } + break; + } + case DialogViewPosition.EDITOR_ABOVE_CENTER: { + // @if CK_DEBUG_DIALOG // if ( domRootRect ) { + // @if CK_DEBUG_DIALOG // RectDrawer.draw( domRootRect, { outlineColor: 'red', zIndex: 9999999 }, 'DOM ROOT' ); + // @if CK_DEBUG_DIALOG // } + if (domRootRect) { + this.moveTo(Math.round(domRootRect.left + domRootRect.width / 2 - dialogRect.width / 2), domRootRect.top - dialogRect.height - defaultOffset); + } + else { + this._moveOffScreen(); + } + break; + } + case DialogViewPosition.EDITOR_BELOW_CENTER: { + // @if CK_DEBUG_DIALOG // if ( domRootRect ) { + // @if CK_DEBUG_DIALOG // RectDrawer.draw( domRootRect, { outlineColor: 'red', zIndex: 9999999 }, 'DOM ROOT' ); + // @if CK_DEBUG_DIALOG // } + if (domRootRect) { + this.moveTo(Math.round(domRootRect.left + domRootRect.width / 2 - dialogRect.width / 2), domRootRect.bottom + defaultOffset); + } + else { + this._moveOffScreen(); + } + break; + } + } + } + /** + * Calculates the visible DOM root part. + */ + _getVisibleDomRootRect(viewportRect) { + let visibleDomRootRect = new Rect(this._getCurrentDomRoot()).getVisible(); + if (!visibleDomRootRect) { + return null; + } + else { + visibleDomRootRect = viewportRect.getIntersection(visibleDomRootRect); + if (!visibleDomRootRect) { + return null; + } + } + return visibleDomRootRect; + } + /** + * Calculates the dialog element rect. + */ + _getDialogRect() { + return new Rect(this.element.firstElementChild); + } + /** + * Calculates the viewport rect. + */ + _getViewportRect() { + return getConstrainedViewportRect(this._getViewportOffset()); + } + /** + * Collects all focusable elements inside the dialog parts + * and adds them to the focus tracker and focus cycler. + */ + _updateFocusCyclableItems() { + const focusables = []; + if (this.contentView) { + for (const child of this.contentView.children) { + if (isFocusable(child)) { + focusables.push(child); + } + } + } + if (this.actionsView) { + focusables.push(this.actionsView); + } + if (this.closeButtonView) { + focusables.push(this.closeButtonView); + } + focusables.forEach(focusable => { + this._focusables.add(focusable); + this.focusTracker.add(focusable.element); + if (isViewWithFocusCycler(focusable)) { + this.listenTo(focusable.focusCycler, 'forwardCycle', evt => { + this._focusCycler.focusNext(); + // Stop the event propagation only if there are more focusables. + if (this._focusCycler.next !== this._focusCycler.focusables.get(this._focusCycler.current)) { + evt.stop(); + } + }); + this.listenTo(focusable.focusCycler, 'backwardCycle', evt => { + this._focusCycler.focusPrevious(); + // Stop the event propagation only if there are more focusables. + if (this._focusCycler.previous !== this._focusCycler.focusables.get(this._focusCycler.current)) { + evt.stop(); + } + }); + } + }); + } + /** + * Creates the close button view that is displayed in the header view corner. + */ + _createCloseButton() { + const buttonView = new ButtonView(this.locale); + const t = this.locale.t; + buttonView.set({ + label: t('Close'), + tooltip: true, + icon: icons.cancel + }); + buttonView.on('execute', () => this.fire('close', { source: 'closeButton' })); + return buttonView; + } +} +/** + * A default dialog element offset from the reference element (e.g. editor editable area). + */ +DialogView.defaultOffset = 15; +export default DialogView; +// Returns a viewport `Rect` shrunk by the viewport offset config from all sides. +// TODO: This is a duplicate from position.ts module. It should either be exported there or land somewhere in utils. +function getConstrainedViewportRect(viewportOffset) { + viewportOffset = Object.assign({ top: 0, bottom: 0, left: 0, right: 0 }, viewportOffset); + const viewportRect = new Rect(global.window); + viewportRect.top += viewportOffset.top; + viewportRect.height -= viewportOffset.top; + viewportRect.bottom -= viewportOffset.bottom; + viewportRect.height -= viewportOffset.bottom; + viewportRect.left += viewportOffset.left; + viewportRect.right -= viewportOffset.right; + viewportRect.width -= viewportOffset.left + viewportOffset.right; + return viewportRect; +} diff --git a/node_modules/@ckeditor/ckeditor5-ui/src/dropdown/button/dropdownbutton.d.ts b/node_modules/@ckeditor/ckeditor5-ui/src/dropdown/button/dropdownbutton.d.ts new file mode 100644 index 0000000..36a45cb --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/src/dropdown/button/dropdownbutton.d.ts @@ -0,0 +1,25 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module ui/dropdown/button/dropdownbutton + */ +import type Button from '../../button/button.js'; +import type ViewCollection from '../../viewcollection.js'; +/** + * The dropdown button interface. + */ +export default interface DropdownButton extends Button { + children: ViewCollection; +} +/** + * Fired when the dropdown should be opened. + * It will not be fired when the button {@link module:ui/dropdown/button/dropdownbutton~DropdownButton#isEnabled is disabled}. + * + * @eventName ~DropdownButton#open + */ +export type DropdownButtonOpenEvent = { + name: 'open'; + args: []; +}; diff --git a/node_modules/@ckeditor/ckeditor5-ui/src/dropdown/button/dropdownbutton.js b/node_modules/@ckeditor/ckeditor5-ui/src/dropdown/button/dropdownbutton.js new file mode 100644 index 0000000..4fffd02 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/src/dropdown/button/dropdownbutton.js @@ -0,0 +1,5 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +export {}; diff --git a/node_modules/@ckeditor/ckeditor5-ui/src/dropdown/button/dropdownbuttonview.d.ts b/node_modules/@ckeditor/ckeditor5-ui/src/dropdown/button/dropdownbuttonview.d.ts new file mode 100644 index 0000000..b418fab --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/src/dropdown/button/dropdownbuttonview.d.ts @@ -0,0 +1,48 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module ui/dropdown/button/dropdownbuttonview + */ +import ButtonView from '../../button/buttonview.js'; +import type DropdownButton from './dropdownbutton.js'; +import IconView from '../../icon/iconview.js'; +import type { Locale } from '@ckeditor/ckeditor5-utils'; +/** + * The default dropdown button view class. + * + * ```ts + * const view = new DropdownButtonView(); + * + * view.set( { + * label: 'A button', + * keystroke: 'Ctrl+B', + * tooltip: true + * } ); + * + * view.render(); + * + * document.body.append( view.element ); + * ``` + * + * Also see the {@link module:ui/dropdown/utils~createDropdown `createDropdown()` util}. + */ +export default class DropdownButtonView extends ButtonView implements DropdownButton { + /** + * An icon that displays arrow to indicate a dropdown button. + */ + readonly arrowView: IconView; + /** + * @inheritDoc + */ + constructor(locale?: Locale); + /** + * @inheritDoc + */ + render(): void; + /** + * Creates a {@link module:ui/icon/iconview~IconView} instance as {@link #arrowView}. + */ + private _createArrowView; +} diff --git a/node_modules/@ckeditor/ckeditor5-ui/src/dropdown/button/dropdownbuttonview.js b/node_modules/@ckeditor/ckeditor5-ui/src/dropdown/button/dropdownbuttonview.js new file mode 100644 index 0000000..717ea76 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/src/dropdown/button/dropdownbuttonview.js @@ -0,0 +1,66 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module ui/dropdown/button/dropdownbuttonview + */ +import ButtonView from '../../button/buttonview.js'; +import IconView from '../../icon/iconview.js'; +import dropdownArrowIcon from '../../../theme/icons/dropdown-arrow.svg'; +/** + * The default dropdown button view class. + * + * ```ts + * const view = new DropdownButtonView(); + * + * view.set( { + * label: 'A button', + * keystroke: 'Ctrl+B', + * tooltip: true + * } ); + * + * view.render(); + * + * document.body.append( view.element ); + * ``` + * + * Also see the {@link module:ui/dropdown/utils~createDropdown `createDropdown()` util}. + */ +export default class DropdownButtonView extends ButtonView { + /** + * @inheritDoc + */ + constructor(locale) { + super(locale); + this.arrowView = this._createArrowView(); + this.extendTemplate({ + attributes: { + 'aria-haspopup': true, + 'aria-expanded': this.bindTemplate.to('isOn', value => String(value)) + } + }); + // The DropdownButton interface expects the open event upon which will open the dropdown. + this.delegate('execute').to(this, 'open'); + } + /** + * @inheritDoc + */ + render() { + super.render(); + this.children.add(this.arrowView); + } + /** + * Creates a {@link module:ui/icon/iconview~IconView} instance as {@link #arrowView}. + */ + _createArrowView() { + const arrowView = new IconView(); + arrowView.content = dropdownArrowIcon; + arrowView.extendTemplate({ + attributes: { + class: 'ck-dropdown__arrow' + } + }); + return arrowView; + } +} diff --git a/node_modules/@ckeditor/ckeditor5-ui/src/dropdown/button/splitbuttonview.d.ts b/node_modules/@ckeditor/ckeditor5-ui/src/dropdown/button/splitbuttonview.d.ts new file mode 100644 index 0000000..43824ff --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/src/dropdown/button/splitbuttonview.d.ts @@ -0,0 +1,162 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module ui/dropdown/button/splitbuttonview + */ +import View from '../../view.js'; +import ButtonView from '../../button/buttonview.js'; +import type ViewCollection from '../../viewcollection.js'; +import type Button from '../../button/button.js'; +import type DropdownButton from './dropdownbutton.js'; +import type { FocusableView } from '../../focuscycler.js'; +import { KeystrokeHandler, FocusTracker, type Locale } from '@ckeditor/ckeditor5-utils'; +import '../../../theme/components/dropdown/splitbutton.css'; +/** + * The split button view class. + * + * ```ts + * const view = new SplitButtonView(); + * + * view.set( { + * label: 'A button', + * keystroke: 'Ctrl+B', + * tooltip: true + * } ); + * + * view.render(); + * + * document.body.append( view.element ); + * ``` + * + * Also see the {@link module:ui/dropdown/utils~createDropdown `createDropdown()` util}. + */ +export default class SplitButtonView extends View implements DropdownButton { + /** + * Collection of the child views inside of the split button {@link #element}. + */ + readonly children: ViewCollection; + /** + * A main button of split button. + */ + readonly actionView: ButtonView; + /** + * A secondary button of split button that opens dropdown. + */ + readonly arrowView: ButtonView; + /** + * Instance of the {@link module:utils/keystrokehandler~KeystrokeHandler}. It manages + * keystrokes of the split button: + * + * * moves focus to arrow view when action view is focused, + * * moves focus to action view when arrow view is focused. + */ + readonly keystrokes: KeystrokeHandler; + /** + * Tracks information about DOM focus in the dropdown. + */ + readonly focusTracker: FocusTracker; + /** + * @inheritDoc + */ + label: string | undefined; + /** + * @inheritDoc + */ + keystroke: string | undefined; + /** + * @inheritDoc + */ + tooltip: Button['tooltip']; + /** + * @inheritDoc + */ + tooltipPosition: Button['tooltipPosition']; + /** + * @inheritDoc + */ + type: Button['type']; + /** + * @inheritDoc + */ + isOn: boolean; + /** + * @inheritDoc + */ + isEnabled: boolean; + /** + * @inheritDoc + */ + isVisible: boolean; + /** + * @inheritDoc + */ + isToggleable: boolean; + /** + * @inheritDoc + */ + withText: boolean; + /** + * @inheritDoc + */ + withKeystroke: boolean; + /** + * @inheritDoc + */ + icon: string | undefined; + /** + * @inheritDoc + */ + tabindex: number; + /** + * @inheritDoc + */ + class: string | undefined; + /** + * @inheritDoc + */ + labelStyle: string | undefined; + /** + * @inheritDoc + */ + role: string | undefined; + /** + * @inheritDoc + */ + ariaChecked: boolean | undefined; + /** + * @inheritDoc + */ + ariaLabel?: string | undefined; + /** + * @inheritDoc + */ + ariaLabelledBy: string | undefined; + /** + * @inheritDoc + */ + constructor(locale?: Locale, actionButton?: ButtonView & FocusableView); + /** + * @inheritDoc + */ + render(): void; + /** + * @inheritDoc + */ + destroy(): void; + /** + * Focuses the {@link module:ui/button/buttonview~ButtonView#element} of the action part of split button. + */ + focus(): void; + /** + * Creates a {@link module:ui/button/buttonview~ButtonView} instance as {@link #actionView} and binds it with main split button + * attributes. + */ + private _createActionView; + /** + * Creates a {@link module:ui/button/buttonview~ButtonView} instance as {@link #arrowView} and binds it with main split button + * attributes. + */ + private _createArrowView; +} diff --git a/node_modules/@ckeditor/ckeditor5-ui/src/dropdown/button/splitbuttonview.js b/node_modules/@ckeditor/ckeditor5-ui/src/dropdown/button/splitbuttonview.js new file mode 100644 index 0000000..2bd7e4f --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/src/dropdown/button/splitbuttonview.js @@ -0,0 +1,154 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module ui/dropdown/button/splitbuttonview + */ +import View from '../../view.js'; +import ButtonView from '../../button/buttonview.js'; +import { KeystrokeHandler, FocusTracker } from '@ckeditor/ckeditor5-utils'; +import dropdownArrowIcon from '../../../theme/icons/dropdown-arrow.svg'; +import '../../../theme/components/dropdown/splitbutton.css'; +/** + * The split button view class. + * + * ```ts + * const view = new SplitButtonView(); + * + * view.set( { + * label: 'A button', + * keystroke: 'Ctrl+B', + * tooltip: true + * } ); + * + * view.render(); + * + * document.body.append( view.element ); + * ``` + * + * Also see the {@link module:ui/dropdown/utils~createDropdown `createDropdown()` util}. + */ +export default class SplitButtonView extends View { + /** + * @inheritDoc + */ + constructor(locale, actionButton) { + super(locale); + const bind = this.bindTemplate; + // Implement the Button interface. + this.set('class', undefined); + this.set('labelStyle', undefined); + this.set('icon', undefined); + this.set('isEnabled', true); + this.set('isOn', false); + this.set('isToggleable', false); + this.set('isVisible', true); + this.set('keystroke', undefined); + this.set('withKeystroke', false); + this.set('label', undefined); + this.set('tabindex', -1); + this.set('tooltip', false); + this.set('tooltipPosition', 's'); + this.set('type', 'button'); + this.set('withText', false); + this.children = this.createCollection(); + this.actionView = this._createActionView(actionButton); + this.arrowView = this._createArrowView(); + this.keystrokes = new KeystrokeHandler(); + this.focusTracker = new FocusTracker(); + this.setTemplate({ + tag: 'div', + attributes: { + class: [ + 'ck', + 'ck-splitbutton', + bind.to('class'), + bind.if('isVisible', 'ck-hidden', value => !value), + this.arrowView.bindTemplate.if('isOn', 'ck-splitbutton_open') + ] + }, + children: this.children + }); + } + /** + * @inheritDoc + */ + render() { + super.render(); + this.children.add(this.actionView); + this.children.add(this.arrowView); + this.focusTracker.add(this.actionView.element); + this.focusTracker.add(this.arrowView.element); + this.keystrokes.listenTo(this.element); + // Overrides toolbar focus cycling behavior. + this.keystrokes.set('arrowright', (evt, cancel) => { + if (this.focusTracker.focusedElement === this.actionView.element) { + this.arrowView.focus(); + cancel(); + } + }); + // Overrides toolbar focus cycling behavior. + this.keystrokes.set('arrowleft', (evt, cancel) => { + if (this.focusTracker.focusedElement === this.arrowView.element) { + this.actionView.focus(); + cancel(); + } + }); + } + /** + * @inheritDoc + */ + destroy() { + super.destroy(); + this.focusTracker.destroy(); + this.keystrokes.destroy(); + } + /** + * Focuses the {@link module:ui/button/buttonview~ButtonView#element} of the action part of split button. + */ + focus() { + this.actionView.focus(); + } + /** + * Creates a {@link module:ui/button/buttonview~ButtonView} instance as {@link #actionView} and binds it with main split button + * attributes. + */ + _createActionView(actionButton) { + const actionView = actionButton || new ButtonView(); + if (!actionButton) { + actionView.bind('icon', 'isEnabled', 'isOn', 'isToggleable', 'keystroke', 'label', 'tabindex', 'tooltip', 'tooltipPosition', 'type', 'withText').to(this); + } + actionView.extendTemplate({ + attributes: { + class: 'ck-splitbutton__action' + } + }); + actionView.delegate('execute').to(this); + return actionView; + } + /** + * Creates a {@link module:ui/button/buttonview~ButtonView} instance as {@link #arrowView} and binds it with main split button + * attributes. + */ + _createArrowView() { + const arrowView = new ButtonView(); + const bind = arrowView.bindTemplate; + arrowView.icon = dropdownArrowIcon; + arrowView.extendTemplate({ + attributes: { + class: [ + 'ck-splitbutton__arrow' + ], + 'data-cke-tooltip-disabled': bind.to('isOn'), + 'aria-haspopup': true, + 'aria-expanded': bind.to('isOn', value => String(value)) + } + }); + arrowView.bind('isEnabled').to(this); + arrowView.bind('label').to(this); + arrowView.bind('tooltip').to(this); + arrowView.delegate('execute').to(this, 'open'); + return arrowView; + } +} diff --git a/node_modules/@ckeditor/ckeditor5-ui/src/dropdown/dropdownpanelfocusable.d.ts b/node_modules/@ckeditor/ckeditor5-ui/src/dropdown/dropdownpanelfocusable.d.ts new file mode 100644 index 0000000..5d72c43 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/src/dropdown/dropdownpanelfocusable.d.ts @@ -0,0 +1,21 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module ui/dropdown/dropdownpanelfocusable + */ +/** + * The dropdown panel interface for focusable contents. It provides two methods for managing focus of the contents + * of dropdown's panel. + */ +export default interface DropdownPanelFocusable { + /** + * Focuses the view element or first item in view collection on opening dropdown's panel. + */ + focus(): void; + /** + * Focuses the view element or last item in view collection on opening dropdown's panel. + */ + focusLast(): void; +} diff --git a/node_modules/@ckeditor/ckeditor5-ui/src/dropdown/dropdownpanelfocusable.js b/node_modules/@ckeditor/ckeditor5-ui/src/dropdown/dropdownpanelfocusable.js new file mode 100644 index 0000000..4fffd02 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/src/dropdown/dropdownpanelfocusable.js @@ -0,0 +1,5 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +export {}; diff --git a/node_modules/@ckeditor/ckeditor5-ui/src/dropdown/dropdownpanelview.d.ts b/node_modules/@ckeditor/ckeditor5-ui/src/dropdown/dropdownpanelview.d.ts new file mode 100644 index 0000000..7d11eed --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/src/dropdown/dropdownpanelview.d.ts @@ -0,0 +1,62 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module ui/dropdown/dropdownpanelview + */ +import View from '../view.js'; +import type ViewCollection from '../viewcollection.js'; +import type DropdownPanelFocusable from './dropdownpanelfocusable.js'; +import { type Locale } from '@ckeditor/ckeditor5-utils'; +/** + * The dropdown panel view class. + * + * See {@link module:ui/dropdown/dropdownview~DropdownView} to learn about the common usage. + */ +export default class DropdownPanelView extends View implements DropdownPanelFocusable { + /** + * Collection of the child views in this panel. + * + * A common child type is the {@link module:ui/list/listview~ListView} and {@link module:ui/toolbar/toolbarview~ToolbarView}. + * See {@link module:ui/dropdown/utils~addListToDropdown} and + * {@link module:ui/dropdown/utils~addToolbarToDropdown} to learn more about child views of dropdowns. + */ + readonly children: ViewCollection; + /** + * Controls whether the panel is visible. + * + * @observable + */ + isVisible: boolean; + /** + * The position of the panel, relative to the parent. + * + * This property is reflected in the CSS class set to {@link #element} that controls + * the position of the panel. + * + * @observable + * @default 'se' + */ + position: PanelPosition; + /** + * @inheritDoc + */ + constructor(locale?: Locale); + /** + * Focuses the first view in the {@link #children} collection. + * + * See also {@link module:ui/dropdown/dropdownpanelfocusable~DropdownPanelFocusable}. + */ + focus(): void; + /** + * Focuses the view element or last item in view collection on opening dropdown's panel. + * + * See also {@link module:ui/dropdown/dropdownpanelfocusable~DropdownPanelFocusable}. + */ + focusLast(): void; +} +/** + * The position of the panel, relative to the parent. + */ +export type PanelPosition = 's' | 'se' | 'sw' | 'sme' | 'smw' | 'n' | 'ne' | 'nw' | 'nme' | 'nmw'; diff --git a/node_modules/@ckeditor/ckeditor5-ui/src/dropdown/dropdownpanelview.js b/node_modules/@ckeditor/ckeditor5-ui/src/dropdown/dropdownpanelview.js new file mode 100644 index 0000000..c4e2703 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/src/dropdown/dropdownpanelview.js @@ -0,0 +1,97 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module ui/dropdown/dropdownpanelview + */ +import View from '../view.js'; +import { logWarning } from '@ckeditor/ckeditor5-utils'; +/** + * The dropdown panel view class. + * + * See {@link module:ui/dropdown/dropdownview~DropdownView} to learn about the common usage. + */ +export default class DropdownPanelView extends View { + /** + * @inheritDoc + */ + constructor(locale) { + super(locale); + const bind = this.bindTemplate; + this.set('isVisible', false); + this.set('position', 'se'); + this.children = this.createCollection(); + this.setTemplate({ + tag: 'div', + attributes: { + class: [ + 'ck', + 'ck-reset', + 'ck-dropdown__panel', + bind.to('position', value => `ck-dropdown__panel_${value}`), + bind.if('isVisible', 'ck-dropdown__panel-visible') + ], + tabindex: '-1' + }, + children: this.children, + on: { + // Drag and drop in the panel should not break the selection in the editor. + // https://github.com/ckeditor/ckeditor5-ui/issues/228 + selectstart: bind.to(evt => { + if (evt.target.tagName.toLocaleLowerCase() === 'input') { + return; + } + evt.preventDefault(); + }) + } + }); + } + /** + * Focuses the first view in the {@link #children} collection. + * + * See also {@link module:ui/dropdown/dropdownpanelfocusable~DropdownPanelFocusable}. + */ + focus() { + if (this.children.length) { + const firstChild = this.children.first; + if (typeof firstChild.focus === 'function') { + firstChild.focus(); + } + else { + /** + * The child view of a dropdown could not be focused because it is missing the `focus()` method. + * + * This warning appears when a dropdown {@link module:ui/dropdown/dropdownview~DropdownView#isOpen gets open} and it + * attempts to focus the {@link module:ui/dropdown/dropdownpanelview~DropdownPanelView#children first child} of its panel + * but the child does not implement the + * {@link module:ui/dropdown/dropdownpanelfocusable~DropdownPanelFocusable focusable interface}. + * + * Focusing the content of a dropdown on open greatly improves the accessibility. Please make sure the view instance + * provides the `focus()` method for the best user experience. + * + * @error ui-dropdown-panel-focus-child-missing-focus + * @param childView + * @param dropdownPanel + */ + logWarning('ui-dropdown-panel-focus-child-missing-focus', { childView: this.children.first, dropdownPanel: this }); + } + } + } + /** + * Focuses the view element or last item in view collection on opening dropdown's panel. + * + * See also {@link module:ui/dropdown/dropdownpanelfocusable~DropdownPanelFocusable}. + */ + focusLast() { + if (this.children.length) { + const lastChild = this.children.last; + if (typeof lastChild.focusLast === 'function') { + lastChild.focusLast(); + } + else { + lastChild.focus(); + } + } + } +} diff --git a/node_modules/@ckeditor/ckeditor5-ui/src/dropdown/dropdownview.d.ts b/node_modules/@ckeditor/ckeditor5-ui/src/dropdown/dropdownview.d.ts new file mode 100644 index 0000000..4bdd1c7 --- /dev/null +++ b/node_modules/@ckeditor/ckeditor5-ui/src/dropdown/dropdownview.d.ts @@ -0,0 +1,315 @@ +/** + * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ +/** + * @module ui/dropdown/dropdownview + */ +import View from '../view.js'; +import type { default as DropdownButton } from './button/dropdownbutton.js'; +import type { default as DropdownPanelView, PanelPosition } from './dropdownpanelview.js'; +import type { FocusableView } from '../focuscycler.js'; +import type ListView from '../list/listview.js'; +import type ToolbarView from '../toolbar/toolbarview.js'; +import { KeystrokeHandler, FocusTracker, type Locale, type PositioningFunction } from '@ckeditor/ckeditor5-utils'; +import '../../theme/components/dropdown/dropdown.css'; +/** + * The dropdown view class. It manages the dropdown button and dropdown panel. + * + * In most cases, the easiest way to create a dropdown is by using the {@link module:ui/dropdown/utils~createDropdown} + * util: + * + * ```ts + * const dropdown = createDropdown( locale ); + * + * // Configure dropdown's button properties: + * dropdown.buttonView.set( { + * label: 'A dropdown', + * withText: true + * } ); + * + * dropdown.render(); + * + * dropdown.panelView.element.textContent = 'Content of the panel'; + * + * // Will render a dropdown with a panel containing a "Content of the panel" text. + * document.body.appendChild( dropdown.element ); + * ``` + * + * If you want to add a richer content to the dropdown panel, you can use the {@link module:ui/dropdown/utils~addListToDropdown} + * and {@link module:ui/dropdown/utils~addToolbarToDropdown} helpers. See more examples in + * {@link module:ui/dropdown/utils~createDropdown} documentation. + * + * If you want to create a completely custom dropdown, then you can compose it manually: + * + * ```ts + * const button = new DropdownButtonView( locale ); + * const panel = new DropdownPanelView( locale ); + * const dropdown = new DropdownView( locale, button, panel ); + * + * button.set( { + * label: 'A dropdown', + * withText: true + * } ); + * + * dropdown.render(); + * + * panel.element.textContent = 'Content of the panel'; + * + * // Will render a dropdown with a panel containing a "Content of the panel" text. + * document.body.appendChild( dropdown.element ); + * ``` + * + * However, dropdown created this way will contain little behavior. You will need to implement handlers for actions + * such as {@link module:ui/bindings/clickoutsidehandler~clickOutsideHandler clicking outside an open dropdown} + * (which should close it) and support for arrow keys inside the panel. Therefore, unless you really know what + * you do and you really need to do it, it is recommended to use the {@link module:ui/dropdown/utils~createDropdown} helper. + */ +export default class DropdownView extends View { + /** + * Button of the dropdown view. Clicking the button opens the {@link #panelView}. + */ + readonly buttonView: DropdownButton & FocusableView; + /** + * Panel of the dropdown. It opens when the {@link #buttonView} is + * {@link module:ui/button/button~Button#event:execute executed} (i.e. clicked). + * + * Child views can be added to the panel's `children` collection: + * + * ```ts + * dropdown.panelView.children.add( childView ); + * ``` + * + * See {@link module:ui/dropdown/dropdownpanelview~DropdownPanelView#children} and + * {@link module:ui/viewcollection~ViewCollection#add}. + */ + readonly panelView: DropdownPanelView; + /** + * Tracks information about the DOM focus in the dropdown. + */ + readonly focusTracker: FocusTracker; + /** + * Instance of the {@link module:utils/keystrokehandler~KeystrokeHandler}. It manages + * keystrokes of the dropdown: + * + * * opens the dropdown, + * * and Esc closes the dropdown. + */ + readonly keystrokes: KeystrokeHandler; + /** + * A child {@link module:ui/list/listview~ListView list view} of the dropdown located + * in its {@link module:ui/dropdown/dropdownview~DropdownView#panelView panel}. + * + * **Note**: Only supported when dropdown has list view added using {@link module:ui/dropdown/utils~addListToDropdown}. + */ + listView?: ListView; + /** + * A child toolbar of the dropdown located in the + * {@link module:ui/dropdown/dropdownview~DropdownView#panelView panel}. + * + * **Note**: Only supported when dropdown has list view added using {@link module:ui/dropdown/utils~addToolbarToDropdown}. + */ + toolbarView?: ToolbarView; + /** + * Controls whether the dropdown view is open, i.e. shows or hides the {@link #panelView panel}. + * + * **Note**: When the dropdown gets open, it will attempt to call `focus()` on the first child of its {@link #panelView}. + * See {@link module:ui/dropdown/utils~addToolbarToDropdown}, {@link module:ui/dropdown/utils~addListToDropdown}, and + * {@link module:ui/dropdown/utils~focusChildOnDropdownOpen} to learn more about focus management in dropdowns. + * + * @observable + */ + isOpen: boolean; + /** + * Controls whether the dropdown is enabled, i.e. it can be clicked and execute an action. + * + * See {@link module:ui/button/buttonview~ButtonView#isEnabled}. + * + * @observable + */ + isEnabled: boolean; + /** + * (Optional) The additional CSS class set on the dropdown {@link #element}. + * + * @observable + */ + class: string | undefined; + /** + * (Optional) The `id` attribute of the dropdown (i.e. to pair with a `