diff --git a/Backend-libXML/Parser.py b/Backend-libXML/Parser.py index 687fb74..442484d 100644 --- a/Backend-libXML/Parser.py +++ b/Backend-libXML/Parser.py @@ -1,7 +1,28 @@ -from lxml import etree +from lxml import etree, html from io import BytesIO +def convertHTML(source: str, sourceFrom: str): + htmlParser = html.HTMLParser(remove_comments=True, remove_blank_text=True) + xmlParser = etree.XMLParser(remove_comments=True, remove_blank_text=True) + + if sourceFrom == "xml": + xmldoc = etree.parse(BytesIO(source.encode("utf-8")), xmlParser) + return html.tostring(xmldoc, method="html", pretty_print=True, doctype="").decode() + elif sourceFrom == "html": + htmldoc = html.parse(BytesIO(source.encode("utf-8")), htmlParser) + return etree.tostring(htmldoc, method="xml", pretty_print=True, doctype="", xml_declaration=True, encoding="utf-8").decode() + else: + return + + +def formatHTML(source: str, prettify: bool) -> str: + parser = html.HTMLParser(remove_blank_text=True, remove_comments=True, remove_pis=True) + htmlDoc = html.parse(BytesIO(source.encode("utf-8")),parser=parser) + if not prettify: + return html.tostring(htmlDoc).decode().replace("\n", "").replace("> ", ">") + return etree.tostring(htmlDoc, encoding='unicode', pretty_print=True) + def formatXML(source: str, prettify: bool) -> str: """Method used to format XML @@ -77,10 +98,12 @@ def xsd(source: str, xsd: str) -> bool: document_input = BytesIO(source.encode("utf-8")) xml = etree.parse(document_input).getroot() - if xml_schema.validate(xml): - return "XML is valid." - else: - return "XML is NOT valid." + try: + xml_schema.assertValid(xml) + return "XML is valid" + except etree.DocumentInvalid as e: + return str(e) + def xslt(source: str, xslt: str) -> str: diff --git a/Backend-libXML/main.py b/Backend-libXML/main.py index e4fefe5..abb78f9 100644 --- a/Backend-libXML/main.py +++ b/Backend-libXML/main.py @@ -40,6 +40,12 @@ def process_xml(request: request, type: str) -> str: response_json['result'] = Parser.formatXML(data, True) elif (type == "minimize"): response_json['result'] = Parser.formatXML(data, False) + elif (type == "prettifyHtml"): + response_json['result'] = Parser.formatHTML(data, True) + elif (type == "minimizeHtml"): + response_json['result'] = Parser.formatHTML(data, False) + elif (type == "convertHTML"): + response_json['result'] = Parser.convertHTML(data, process) else: raise ValueError("Valid operation types are: xsd, xslt, xpath") @@ -54,7 +60,7 @@ def process_xml(request: request, type: str) -> str: code = 400 finally: exec_time = (time.time_ns() - start) / 10**6 - response_json['time'] = f"{exec_time:.03f}" + response_json['duration'] = f"{exec_time:.03f}" response_json['processor'] = "libxml2 over lxml" return json.dumps(response_json), code @@ -79,5 +85,17 @@ def prettify(): def minimize(): return process_xml(request, "minimize") +@app.route("/html/prettify",methods=["POST"]) +def prettifyHtml(): + return process_xml(request, "prettifyHtml") + +@app.route("/html/minimize",methods=["POST"]) +def minimizeHtml(): + return process_xml(request, "minimizeHtml") + +@app.route("/html/convert",methods=["POST"]) +def XMLToHTMLConvertion(): + return process_xml(request, "convertHTML") + if __name__ == "__main__": app.run() \ No newline at end of file diff --git a/Backend/mocked-services/src/main/java/com/r11/tools/controller/MockController.java b/Backend/mocked-services/src/main/java/com/r11/tools/controller/MockController.java index a9af2c3..e76c808 100644 --- a/Backend/mocked-services/src/main/java/com/r11/tools/controller/MockController.java +++ b/Backend/mocked-services/src/main/java/com/r11/tools/controller/MockController.java @@ -1,6 +1,5 @@ package com.r11.tools.controller; -import com.fasterxml.jackson.databind.ObjectMapper; import com.r11.tools.model.MockedMessageDto; import com.r11.tools.service.KlausService; import lombok.AllArgsConstructor; @@ -9,12 +8,12 @@ import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.springframework.http.HttpHeaders; import org.springframework.http.HttpStatus; -import org.springframework.http.MediaType; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.*; -import java.time.LocalDateTime; -import java.util.*; +import java.util.Arrays; +import java.util.Objects; +import java.util.UUID; /** * Returns the homepage and provides the api for javascript async requests. @@ -36,14 +35,12 @@ public class MockController { /** * Updates queried message with given set of data - * @param body {@link MockedMessageDto} json representation + * @param message {@link MockedMessageDto} json representation * @return confirmation and 200 OK */ @SneakyThrows @PutMapping - public ResponseEntity updateMessage(@RequestBody String body){ - ObjectMapper mapper = new ObjectMapper(); - MockedMessageDto message = mapper.readValue(body, MockedMessageDto.class); + public ResponseEntity updateMessage(@RequestBody MockedMessageDto message){ return klausService.setMockedResponse(message); } @@ -59,40 +56,10 @@ public class MockController { MockedMessageDto message ; if(uuidValue == null || uuidValue.equals("")) clientUUID = UUID.randomUUID(); else clientUUID = UUID.fromString(uuidValue); - message = klausService - .getMockedMessageByClientUUID(clientUUID) - .orElse( buildDefaultMessage(clientUUID) ); - + message = klausService.getMockedResponse(clientUUID.toString()); return message; } - - /** - * Constructs message with default set of data - * @param uuid the key-uuid of given set of messages - * @return message with default dataset - */ - private MockedMessageDto buildDefaultMessage(UUID uuid){ - Map headers = new HashMap<>(); - headers.put("Keep-Alive", "timeout=60"); - headers.put("Connection", "keep-alive"); - headers.put("Date", LocalDateTime.now().toString()); - MockedMessageDto mockedMessageDto = MockedMessageDto.builder() - .clientUUID(uuid) - .contentType(MediaType.APPLICATION_XML_VALUE) - .messageBody("\n" + - "\n" + - " Tove\n" + - " Jani\n" + - " Reminder\n" + - " Don't forget me this weekend!\n" + - "") - .httpHeaders(headers) - .httpStatus(200) - .build(); - klausService.setMockedResponse(mockedMessageDto); - return mockedMessageDto; - } /** * It's one of the most important features - the bread and butter of the Mocked Service. It's link that allows * to receive mocked response from the server and use it to mock! @@ -101,7 +68,7 @@ public class MockController { */ @RequestMapping(value = "/r/{clientUUID}") public ResponseEntity getMockedResponse( - @PathVariable UUID clientUUID) { + @PathVariable String clientUUID) { MockedMessageDto mockedMessageDto = klausService.getMockedResponse(clientUUID); HttpHeaders httpHeaders = new HttpHeaders(); if (mockedMessageDto.getHttpHeaders() != null) mockedMessageDto.getHttpHeaders().forEach(httpHeaders::set); diff --git a/Backend/mocked-services/src/main/java/com/r11/tools/model/MockedMessage.java b/Backend/mocked-services/src/main/java/com/r11/tools/model/MockedMessage.java index a0b6d0e..efbe3aa 100644 --- a/Backend/mocked-services/src/main/java/com/r11/tools/model/MockedMessage.java +++ b/Backend/mocked-services/src/main/java/com/r11/tools/model/MockedMessage.java @@ -26,7 +26,7 @@ import java.util.UUID; public class MockedMessage implements Serializable { @Indexed @Id - private UUID clientUUID; + private String clientUUID; private String contentType; private String messageBody; private Map httpHeaders; diff --git a/Backend/mocked-services/src/main/java/com/r11/tools/model/MockedMessageDto.java b/Backend/mocked-services/src/main/java/com/r11/tools/model/MockedMessageDto.java index d3206ed..0f5f078 100644 --- a/Backend/mocked-services/src/main/java/com/r11/tools/model/MockedMessageDto.java +++ b/Backend/mocked-services/src/main/java/com/r11/tools/model/MockedMessageDto.java @@ -18,7 +18,7 @@ import java.util.UUID; @NoArgsConstructor @AllArgsConstructor public class MockedMessageDto implements Serializable{ - private UUID clientUUID; + private String clientUUID; private String contentType; private String messageBody; private Map httpHeaders; diff --git a/Backend/mocked-services/src/main/java/com/r11/tools/repository/MockedResponseRepository.java b/Backend/mocked-services/src/main/java/com/r11/tools/repository/MockedResponseRepository.java index f9296fa..b3fb3b6 100644 --- a/Backend/mocked-services/src/main/java/com/r11/tools/repository/MockedResponseRepository.java +++ b/Backend/mocked-services/src/main/java/com/r11/tools/repository/MockedResponseRepository.java @@ -1,24 +1,16 @@ package com.r11.tools.repository; import com.r11.tools.model.MockedMessage; -import java.util.List; -import java.util.Optional; -import java.util.UUID; import org.springframework.data.repository.CrudRepository; import org.springframework.stereotype.Repository; import org.springframework.transaction.annotation.Transactional; +import java.util.Optional; + /** * Spring repository that allows to retrieve message list by key-uuid from redis database * @author Rafał Żukowicz */ @Repository @Transactional -public interface MockedResponseRepository extends CrudRepository { - /** - * Finds all messages by their uuid - * @param clientUUID the key-uuid of given set of messages - * @return Optional of list of {@link com.r11.tools.model.MockedMessage} - */ - Optional findAllByClientUUID(UUID clientUUID); -} +public interface MockedResponseRepository extends CrudRepository {} diff --git a/Backend/mocked-services/src/main/java/com/r11/tools/service/KlausService.java b/Backend/mocked-services/src/main/java/com/r11/tools/service/KlausService.java index 1c5079a..c0b7dcd 100644 --- a/Backend/mocked-services/src/main/java/com/r11/tools/service/KlausService.java +++ b/Backend/mocked-services/src/main/java/com/r11/tools/service/KlausService.java @@ -13,7 +13,6 @@ import org.springframework.stereotype.Service; */ @Service public interface KlausService { - Optional getMockedMessageByClientUUID(UUID clientUUID); - MockedMessageDto getMockedResponse(UUID clientUUID); + MockedMessageDto getMockedResponse(String clientUUID); ResponseEntity setMockedResponse(MockedMessageDto mockedMessageDto); } diff --git a/Backend/mocked-services/src/main/java/com/r11/tools/service/KlausServiceImpl.java b/Backend/mocked-services/src/main/java/com/r11/tools/service/KlausServiceImpl.java index 08f3569..a2d33a0 100644 --- a/Backend/mocked-services/src/main/java/com/r11/tools/service/KlausServiceImpl.java +++ b/Backend/mocked-services/src/main/java/com/r11/tools/service/KlausServiceImpl.java @@ -10,11 +10,14 @@ import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.springframework.http.HttpHeaders; import org.springframework.http.HttpStatus; +import org.springframework.http.MediaType; import org.springframework.http.ResponseEntity; import org.springframework.stereotype.Service; +import java.time.LocalDateTime; +import java.util.HashMap; +import java.util.Map; import java.util.Optional; -import java.util.UUID; /** * Service for {@link com.r11.tools.controller.MockController} and {@link com.r11.tools.controller.MockController} @@ -31,18 +34,6 @@ public class KlausServiceImpl implements KlausService { private final MockedResponseRepository mockedResponseRepository; - /** - * Returns all messages of given key-uuid - * @param clientUUID the key-uuid of given set of messages - * @return List of {@link MockedMessageDto} - */ - @Override - public Optional getMockedMessageByClientUUID(UUID clientUUID){ - Optional mockedMessageOptional = mockedResponseRepository.findAllByClientUUID(clientUUID); - log.info("Message for UUID: "+clientUUID+" has been fetched from DB."); - return mockedMessageMapper.optionalMockedMessageToOptionalMockedMessageDTO(mockedMessageOptional); - } - /** * Returns {@link MockedMessageDto} of given id and key-uuid. If message doesn't then empty message is returned * @param clientUUID the key-uuid of given set of messages @@ -50,18 +41,44 @@ public class KlausServiceImpl implements KlausService { */ @SneakyThrows @Override - public MockedMessageDto getMockedResponse(UUID clientUUID){ + public MockedMessageDto getMockedResponse(String clientUUID){ Optional optionalMockedMessage = mockedResponseRepository.findById(clientUUID); - MockedMessageDto mockedMessageDto = MockedMessageDto.builder() - .clientUUID(clientUUID) - .build(); + MockedMessageDto mockedMessageDto; if (optionalMockedMessage.isPresent()) { mockedMessageDto = mockedMessageMapper.mockedMessageToMockedMessageDto(optionalMockedMessage.get()); - //log.info(mockedMessageDto.toString().replaceAll("\"", "\\\\\"")); return mockedMessageDto; + } else { + MockedMessageDto defaultMessage = buildDefaultMessage(clientUUID); + setMockedResponse(defaultMessage); + return defaultMessage; } - //log.info(mockedMessageDto.toString().replaceAll("\"", "\\\\\"")); - return mockedMessageDto; + } + + /** + * Constructs message with default set of data + * @param uuid the key-uuid of given set of messages + * @return message with default dataset + */ + + + private MockedMessageDto buildDefaultMessage(String uuid){ + Map headers = new HashMap<>(); + headers.put("Keep-Alive", "timeout=60"); + headers.put("Connection", "keep-alive"); + headers.put("Date", LocalDateTime.now().toString()); + return MockedMessageDto.builder() + .clientUUID(uuid) + .contentType(MediaType.APPLICATION_XML_VALUE) + .messageBody("\n" + + "\n" + + " Tove\n" + + " Jani\n" + + " Reminder\n" + + " Don't forget me this weekend!\n" + + "") + .httpHeaders(headers) + .httpStatus(200) + .build(); } /** @@ -72,8 +89,10 @@ public class KlausServiceImpl implements KlausService { @SneakyThrows @Override public ResponseEntity setMockedResponse(MockedMessageDto mockedMessageDto) { - mockedResponseRepository.save(mockedMessageMapper.mockedMessageDtoToMockedMessage(mockedMessageDto)); - //log.info(mockedMessageDto.toString().replaceAll("\"", "\\\\\"")); + MockedMessage message = mockedMessageMapper.mockedMessageDtoToMockedMessage(mockedMessageDto); + message.setCreatedAt(LocalDateTime.now()); + log.info("SAVE:"+message.toString().replace("\n"," ")); + mockedResponseRepository.save(message); return new ResponseEntity<>("MockedResponse has been setup successfully!", new HttpHeaders(), HttpStatus.ACCEPTED); } diff --git a/Backend/tools-services/src/main/java/com/r11/tools/SparkApplication.java b/Backend/tools-services/src/main/java/com/r11/tools/SparkApplication.java index 58149be..4908e9b 100644 --- a/Backend/tools-services/src/main/java/com/r11/tools/SparkApplication.java +++ b/Backend/tools-services/src/main/java/com/r11/tools/SparkApplication.java @@ -2,11 +2,7 @@ package com.r11.tools; import com.google.gson.Gson; import com.google.gson.GsonBuilder; -import com.r11.tools.controller.JsonController; -import com.r11.tools.controller.ProcessorInfoController; -import com.r11.tools.controller.XPathController; -import com.r11.tools.controller.XsdController; -import com.r11.tools.controller.XsltController; +import com.r11.tools.controller.*; import com.r11.tools.controller.internal.RestControllerRegistry; import com.r11.tools.xml.Saxon; import com.r11.tools.xml.Xalan; @@ -48,6 +44,7 @@ public class SparkApplication { registry.registerController(new XPathController(gson, logger, saxon, xalan)); registry.registerController(new XsltController(gson, logger, saxon, xalan)); registry.registerController(new JsonController(gson, jsongson, logger)); + registry.registerController(new XQueryController(gson, logger, saxon)); registry.register(); diff --git a/Backend/tools-services/src/main/java/com/r11/tools/controller/XPathController.java b/Backend/tools-services/src/main/java/com/r11/tools/controller/XPathController.java index a188566..dbf3840 100644 --- a/Backend/tools-services/src/main/java/com/r11/tools/controller/XPathController.java +++ b/Backend/tools-services/src/main/java/com/r11/tools/controller/XPathController.java @@ -1,8 +1,10 @@ package com.r11.tools.controller; import com.google.gson.Gson; -import com.google.gson.JsonObject; import com.r11.tools.controller.internal.*; +import com.r11.tools.model.XMLRequestBody; +import com.r11.tools.model.XMLResponseBody; +import com.r11.tools.model.XPathQueryResult; import com.r11.tools.xml.XmlEngine; import org.apache.logging.log4j.Logger; import spark.Request; @@ -24,109 +26,69 @@ public class XPathController implements RestController { this.xalan = xalan; } + private XMLResponseBody errorResponse(String message, String processor) { + return new XMLResponseBody(message, "ERR", processor, -1); + } + + private void nonValidEngineSelectedResponse(Response response) { + XMLResponseBody responseBody = + errorResponse("Valid engines are: saxon, xalan", "N/A"); + response.body(this.gson.toJson(responseBody)); + response.status(400); + } + @ScopedControllerManifest(method = HandlerType.POST, path = "/xpath") - public void transform(Request request, Response response) { - String body = request.body(); - - JsonObject requestJson; + public void acceptRequest(Request request, Response response) { + XMLRequestBody requestBody; try { - requestJson = this.gson.fromJson(body, JsonObject.class); + requestBody = this.gson.fromJson(request.body(), XMLRequestBody.class); } catch (Exception e) { - JsonObject responseJson = new JsonObject(); - responseJson.addProperty("result", e.getMessage()); - responseJson.addProperty("processor", "N/A"); - responseJson.addProperty("status", "ERR"); - responseJson.addProperty("time", "N/A"); - + XMLResponseBody responseBody = errorResponse(e.getMessage(), "N/A"); response.status(400); - response.body(this.gson.toJson(responseJson)); + response.body(this.gson.toJson(responseBody)); return; } - String data = requestJson.get("data").getAsString(); - String query = requestJson.get("process").getAsString(); - String processor = requestJson.get("processor").getAsString(); - String version = requestJson.get("version").getAsString(); - - if (processor == null) { - response.body("saxon, xalan"); + if (requestBody.getProcessor() == null) { + nonValidEngineSelectedResponse(response); return; } - JsonObject responseJson = new JsonObject(); - switch (processor) { + switch (requestBody.getProcessor()) { case "saxon": - processWithSaxon(response, data, query, version, responseJson); + process(response, requestBody, saxon); break; case "xalan": - processWithXalan(response, data, query, responseJson); + process(response, requestBody, xalan); break; default: - response.body("saxon, xalan"); + nonValidEngineSelectedResponse(response); } } - private void processWithXalan(Response response, String data, String query, JsonObject responseJson) { - long timeStart; - long duration; - response.header("processor", xalan.getVersion()); - timeStart = System.currentTimeMillis(); - + private void process(Response response, XMLRequestBody requestBody, XmlEngine engine) { + long timeStart = System.currentTimeMillis(); + XMLResponseBody responseBody = null; try { - XPathQueryResult xPathQueryResult = xalan.processXPath(data, query, ""); + XPathQueryResult xPathQueryResult = + engine.processXPath(requestBody.getData(), requestBody.getProcess(), requestBody.getVersion()); response.status(200); - - responseJson.addProperty("result", xPathQueryResult.getData().trim()); - responseJson.addProperty("status", "OK"); - responseJson.addProperty("type", xPathQueryResult.getType()); + long duration = System.currentTimeMillis() - timeStart; + responseBody = new XMLResponseBody(xPathQueryResult.getData().trim(), + "OK", engine.getVersion(),duration); + + responseBody.setType(xPathQueryResult.getType()); + this.logger.info("Request (XPath, " + engine.getVersion() + ") processed in " + duration + " ms."); } catch (Exception ex) { - this.logger.error("Error on processing XPath using Xalan. " + ex); - + responseBody = errorResponse(ex.getMessage(), engine.getVersion()); response.status(400); - responseJson.addProperty("result", ex.getMessage()); - responseJson.addProperty("status", "ERR"); + this.logger.error("Error on processing XPath using " + engine.getVersion() + ". " + ex); + } finally { + response.body(this.gson.toJson(responseBody)); } - duration = System.currentTimeMillis() - timeStart; - this.logger.info("Request (XPath, Xalan) processed in " + duration + " ms."); - - responseJson.addProperty("processor", xalan.getVersion()); - responseJson.addProperty("time", duration); - - response.body(this.gson.toJson(responseJson)); } - private void processWithSaxon(Response response, String data, String query, String version, JsonObject responseJson) { - long timeStart; - String tmp; - long duration; - response.header("processor", "Saxon " + saxon.getVersion() + " " + version + " over s9api"); - timeStart = System.currentTimeMillis(); - - try { - tmp = saxon.processXPath(data, query, version).getData().trim(); - - response.status(200); - - responseJson.addProperty("result", tmp); - responseJson.addProperty("status", "OK"); - } catch (Exception ex) { - this.logger.error("Error on processing XPath using Saxon. " + ex); - - response.status(400); - - responseJson.addProperty("result", ex.getMessage()); - responseJson.addProperty("status", "ERR"); - } - - duration = System.currentTimeMillis() - timeStart; - this.logger.info("Request (XPath, Saxon) processed in " + duration + " ms."); - - responseJson.addProperty("processor", "Saxon " + saxon.getVersion() + " " + version + " over s9api"); - responseJson.addProperty("time", duration); - - response.body(this.gson.toJson(responseJson)); - } } diff --git a/Backend/tools-services/src/main/java/com/r11/tools/controller/XQueryController.java b/Backend/tools-services/src/main/java/com/r11/tools/controller/XQueryController.java new file mode 100644 index 0000000..59bec6a --- /dev/null +++ b/Backend/tools-services/src/main/java/com/r11/tools/controller/XQueryController.java @@ -0,0 +1,87 @@ +package com.r11.tools.controller; + +import com.google.gson.Gson; +import com.r11.tools.controller.internal.*; +import com.r11.tools.model.XMLRequestBody; +import com.r11.tools.model.XMLResponseBody; +import com.r11.tools.xml.XmlEngine; +import org.apache.logging.log4j.Logger; +import spark.Request; +import spark.Response; + +/** + * Controller used to handle XQuery tool. Currently, it supports Saxon engine + * @author Adam Bem + */ +@GlobalControllerManifest +public class XQueryController implements RestController { + + private final Gson gson; + private final Logger logger; + private final XmlEngine saxon; + + public XQueryController(Gson gson, Logger logger, XmlEngine saxon) { + this.gson = gson; + this.logger = logger; + this.saxon = saxon; + } + + private XMLResponseBody prepareErrorResponse(String message, String processor) { + return new XMLResponseBody(message, "ERR", processor, -1); + } + + private void nonValidEngineSelectedResponse(Response response) { + XMLResponseBody responseBody = + prepareErrorResponse("Valid engines are: saxon", "N/A"); + response.body(this.gson.toJson(responseBody)); + response.status(400); + } + + @ScopedControllerManifest(method = HandlerType.POST, path = "/xquery") + public void acceptRequest(Request request, Response response) { + XMLRequestBody requestBody; + try { + requestBody = this.gson.fromJson(request.body(), XMLRequestBody.class); + } catch (Exception e) { + XMLResponseBody responseBody = prepareErrorResponse(e.getMessage(), "N/A"); + + response.status(400); + response.body(this.gson.toJson(responseBody)); + return; + } + if (requestBody.getProcessor() == null) { + nonValidEngineSelectedResponse(response); + return; + } + + if (requestBody.getProcessor().equalsIgnoreCase("saxon")) + process(response, requestBody, saxon); + else + nonValidEngineSelectedResponse(response); + } + + private void process(Response response, XMLRequestBody requestBody, XmlEngine engine) { + XMLResponseBody responseBody = null; + long timeStart = System.currentTimeMillis(); + try { + String result = engine.executeXQuery(requestBody.getData(), requestBody.getProcess(), requestBody.getVersion()); + + response.status(200); + + long duration = System.currentTimeMillis() - timeStart; + responseBody = new XMLResponseBody(result, "OK", engine.getVersion(), duration); + + this.logger.info("Request (XQuery, " + engine.getVersion() + ") processed in " + duration + " ms."); + } catch (Exception ex) { + response.status(400); + responseBody = prepareErrorResponse(ex.getMessage(), engine.getVersion()); + + this.logger.error("Error on processing XQuery using " + engine.getVersion() + ". " + ex); + } + finally { + response.body(this.gson.toJson(responseBody)); + } + + } + +} diff --git a/Backend/tools-services/src/main/java/com/r11/tools/controller/XsdController.java b/Backend/tools-services/src/main/java/com/r11/tools/controller/XsdController.java index 3a04ce6..294c6dc 100644 --- a/Backend/tools-services/src/main/java/com/r11/tools/controller/XsdController.java +++ b/Backend/tools-services/src/main/java/com/r11/tools/controller/XsdController.java @@ -1,12 +1,9 @@ package com.r11.tools.controller; import com.google.gson.Gson; -import com.google.gson.JsonObject; -import com.r11.tools.controller.internal.GlobalControllerManifest; -import com.r11.tools.controller.internal.HandlerType; -import com.r11.tools.controller.internal.RestController; -import com.r11.tools.controller.internal.ScopedControllerManifest; -import com.r11.tools.xml.Xalan; +import com.r11.tools.controller.internal.*; +import com.r11.tools.model.XMLRequestBody; +import com.r11.tools.model.XMLResponseBody; import com.r11.tools.xml.XmlEngine; import org.apache.logging.log4j.Logger; import spark.Request; @@ -26,57 +23,63 @@ public class XsdController implements RestController { this.xalan = xalan; } - @ScopedControllerManifest(method = HandlerType.POST, path = "/xsd") - public Response transform(Request request, Response response) { - String body = request.body(); + private XMLResponseBody prepareErrorResponse(String message, String processor) { + return new XMLResponseBody(message, "ERR", processor, -1); + } - JsonObject requestJson; + private void nonValidEngineSelectedResponse(Response response) { + XMLResponseBody responseBody = + prepareErrorResponse("Valid engines is: xalan", "N/A"); + response.body(this.gson.toJson(responseBody)); + response.status(400); + } + @ScopedControllerManifest(method = HandlerType.POST, path = "/xsd") + public void acceptRequest(Request request, Response response) { + XMLRequestBody requestBody; try { - requestJson = this.gson.fromJson(body, JsonObject.class); + requestBody = this.gson.fromJson(request.body(), XMLRequestBody.class); } catch (Exception e) { - JsonObject responseJson = new JsonObject(); - responseJson.addProperty("result", e.getMessage()); - responseJson.addProperty("processor", "N/A"); - responseJson.addProperty("status", "ERR"); - responseJson.addProperty("time", "N/A"); + XMLResponseBody responseBody = prepareErrorResponse(e.getMessage(), "N/A"); response.status(400); - response.body(this.gson.toJson(responseJson)); - return response; + response.body(this.gson.toJson(responseBody)); + return; } - String data = requestJson.get("data").getAsString(); - String xsd = requestJson.get("process").getAsString(); + if (requestBody.getProcessor() == null) { + nonValidEngineSelectedResponse(response); + return; + } + if (requestBody.getProcessor().equalsIgnoreCase("xalan")) + process(response, requestBody, xalan); + else + nonValidEngineSelectedResponse(response); - response.header("processor", xalan.getVersion()); + } - long timeStart = System.currentTimeMillis(); - String tmp; - - JsonObject responseJson = new JsonObject(); + private void process(Response response, XMLRequestBody requestBody, XmlEngine engine) { + XMLResponseBody responseBody = null; try { - tmp = xalan.validate(data, xsd).trim(); + long timeStart = System.currentTimeMillis(); + String result = engine.validate(requestBody.getData(), requestBody.getProcess()).trim(); response.status(200); - responseJson.addProperty("result", tmp); - responseJson.addProperty("status", "OK"); - } catch (Exception ex) { - this.logger.error("Error on validation against XSD using Xalan. " + ex); + long duration = System.currentTimeMillis() - timeStart; + responseBody = new XMLResponseBody(result, "OK", engine.getVersion(), duration); + this.logger.info("Request (XSD, " + engine.getVersion() + ") processed in " + duration + " ms."); + } catch (Exception ex) { + responseBody = prepareErrorResponse(ex.getMessage(), engine.getVersion()); response.status(400); - responseJson.addProperty("result", ex.getMessage()); - responseJson.addProperty("status", "ERR"); + this.logger.error("Error on validation against XSD using " + engine.getVersion() + ". " + ex); + } + finally { + response.body(this.gson.toJson(responseBody)); } - long duration = System.currentTimeMillis() - timeStart; - this.logger.info("Request (XSD, Xalan) processed in " + duration + " ms."); - responseJson.addProperty("processor", xalan.getVersion()); - responseJson.addProperty("time", duration); - - response.body(this.gson.toJson(responseJson)); - return response; } + } diff --git a/Backend/tools-services/src/main/java/com/r11/tools/controller/XsltController.java b/Backend/tools-services/src/main/java/com/r11/tools/controller/XsltController.java index 29e0fd6..a2b7e95 100644 --- a/Backend/tools-services/src/main/java/com/r11/tools/controller/XsltController.java +++ b/Backend/tools-services/src/main/java/com/r11/tools/controller/XsltController.java @@ -1,13 +1,9 @@ package com.r11.tools.controller; import com.google.gson.Gson; -import com.google.gson.JsonObject; -import com.r11.tools.controller.internal.GlobalControllerManifest; -import com.r11.tools.controller.internal.HandlerType; -import com.r11.tools.controller.internal.RestController; -import com.r11.tools.controller.internal.ScopedControllerManifest; -import com.r11.tools.xml.Saxon; -import com.r11.tools.xml.Xalan; +import com.r11.tools.controller.internal.*; +import com.r11.tools.model.XMLRequestBody; +import com.r11.tools.model.XMLResponseBody; import com.r11.tools.xml.XmlEngine; import org.apache.logging.log4j.Logger; import spark.Request; @@ -29,106 +25,69 @@ public class XsltController implements RestController { this.xalan = xalan; } - @ScopedControllerManifest(method = HandlerType.POST, path = "/xslt") - public void transform(Request request, Response response) { - String body = request.body(); + private XMLResponseBody prepareErrorResponse(String message, String processor) { + return new XMLResponseBody(message, "ERR", processor, -1); + } - JsonObject requestJson; + private void nonValidEngineSelectedResponse(Response response) { + XMLResponseBody responseBody = + prepareErrorResponse("Valid engines are: saxon, xalan", "N/A"); + response.body(this.gson.toJson(responseBody)); + response.status(400); + } + + @ScopedControllerManifest(method = HandlerType.POST, path = "/xslt") + public void acceptRequest(Request request, Response response) { + XMLRequestBody requestBody; try { - requestJson = this.gson.fromJson(body, JsonObject.class); + requestBody = this.gson.fromJson(request.body(), XMLRequestBody.class); } catch (Exception e) { - JsonObject responseJson = new JsonObject(); - responseJson.addProperty("result", e.getMessage()); - responseJson.addProperty("processor", "N/A"); - responseJson.addProperty("status", "ERR"); - responseJson.addProperty("time", "N/A"); + XMLResponseBody responseBody = prepareErrorResponse(e.getMessage(), "N/A"); response.status(400); - response.body(this.gson.toJson(responseJson)); + response.body(this.gson.toJson(responseBody)); return; } - String data = requestJson.get("data").getAsString(); - String query = requestJson.get("process").getAsString(); - String processor = requestJson.get("processor").getAsString(); - String version = requestJson.get("version").getAsString(); - - if (processor == null) { - response.body("saxon, xalan"); + if (requestBody.getProcessor() == null) { + nonValidEngineSelectedResponse(response); return; } - JsonObject responseJson = new JsonObject(); - switch (processor) { + + switch (requestBody.getProcessor()) { case "saxon": - processWithSaxon(response, data, query, version, responseJson); + process(response, requestBody, saxon); return; case "xalan": - processWithXalan(response, data, query, responseJson); + process(response, requestBody, xalan); return; default: - response.body("saxon, xalan"); + nonValidEngineSelectedResponse(response); } } - private void processWithXalan(Response response, String data, String query, JsonObject responseJson) { - long duration; - long timeStart; - String tmp; - timeStart = System.currentTimeMillis(); + private void process(Response response, XMLRequestBody requestBody, XmlEngine engine) { + XMLResponseBody responseBody = null; + long timeStart = System.currentTimeMillis(); try { - tmp = xalan.processXSLT(data, query); - + String result = engine.processXSLT(requestBody.getData(), requestBody.getProcess()); response.status(200); - responseJson.addProperty("result", tmp); - responseJson.addProperty("status", "OK"); + long duration = System.currentTimeMillis() - timeStart; + responseBody = new XMLResponseBody(result, "OK", engine.getVersion(), duration); + + this.logger.info("Request (XSLT, " + engine.getVersion() + ") processed in " + duration + " ms."); } catch (Exception ex) { - this.logger.error("Error on processing XSLT using Xalan. " + ex); - + responseBody = prepareErrorResponse(ex.getMessage(), engine.getVersion()); response.status(400); + this.logger.error("Error on processing XSLT using " + engine.getVersion() + ". " + ex); - responseJson.addProperty("result", ex.getMessage()); - responseJson.addProperty("status", "ERR"); + } finally { + response.body(this.gson.toJson(responseBody)); } - duration = System.currentTimeMillis() - timeStart; - this.logger.info("Request (XSLT, Xalan) processed in " + duration + " ms."); - - responseJson.addProperty("processor", xalan.getVersion()); - responseJson.addProperty("time", duration); - - response.body(this.gson.toJson(responseJson)); } - private void processWithSaxon(Response response, String data, String query, String version, JsonObject responseJson) { - long duration; - String tmp; - long timeStart; - timeStart = System.currentTimeMillis(); - try { - tmp = saxon.processXSLT(data, query); - - response.status(200); - - responseJson.addProperty("result", tmp); - responseJson.addProperty("status", "OK"); - } catch (Exception ex) { - this.logger.error("Error on processing XSLT using Saxon. " + ex); - - response.status(400); - - responseJson.addProperty("result", ex.getMessage()); - responseJson.addProperty("status", "ERR"); - } - - duration = System.currentTimeMillis() - timeStart; - this.logger.info("Request (XSLT, Saxon) processed in " + duration + " ms."); - - responseJson.addProperty("processor", "Saxon " + saxon.getVersion() + " " + version); - responseJson.addProperty("time", duration); - - response.body(this.gson.toJson(responseJson)); - } } diff --git a/Backend/tools-services/src/main/java/com/r11/tools/model/XMLRequestBody.java b/Backend/tools-services/src/main/java/com/r11/tools/model/XMLRequestBody.java new file mode 100644 index 0000000..52e89eb --- /dev/null +++ b/Backend/tools-services/src/main/java/com/r11/tools/model/XMLRequestBody.java @@ -0,0 +1,34 @@ +package com.r11.tools.model; + +import com.google.gson.annotations.SerializedName; + +/** + * POJO class used to contain body of XML related requests + * @author Adam + */ +public class XMLRequestBody { + @SerializedName("data") + private String data; + @SerializedName("process") + private String process; + @SerializedName("processor") + private String processor; + @SerializedName("version") + private String version; + + public String getData() { + return data; + } + + public String getProcess() { + return process; + } + + public String getProcessor() { + return processor; + } + + public String getVersion() { + return version; + } +} diff --git a/Backend/tools-services/src/main/java/com/r11/tools/model/XMLResponseBody.java b/Backend/tools-services/src/main/java/com/r11/tools/model/XMLResponseBody.java new file mode 100644 index 0000000..42e52c1 --- /dev/null +++ b/Backend/tools-services/src/main/java/com/r11/tools/model/XMLResponseBody.java @@ -0,0 +1,59 @@ +package com.r11.tools.model; + +public class XMLResponseBody { + + private String result; + private String status; + private String processor; + private long duration; + + // Optional + private String type; + + public XMLResponseBody(String result, String status, String processor, long duration) { + this.result = result; + this.status = status; + this.processor = processor; + this.duration = duration; + } + + public String getResult() { + return result; + } + + public void setResult(String result) { + this.result = result; + } + + public String getStatus() { + return status; + } + + public void setStatus(String status) { + this.status = status; + } + + public String getProcessor() { + return processor; + } + + public void setProcessor(String processor) { + this.processor = processor; + } + + public long getDuration() { + return duration; + } + + public void setDuration(long duration) { + this.duration = duration; + } + + public String getType() { + return type; + } + + public void setType(String type) { + this.type = type; + } +} diff --git a/Backend/tools-services/src/main/java/com/r11/tools/controller/internal/XPathQueryResult.java b/Backend/tools-services/src/main/java/com/r11/tools/model/XPathQueryResult.java similarity index 90% rename from Backend/tools-services/src/main/java/com/r11/tools/controller/internal/XPathQueryResult.java rename to Backend/tools-services/src/main/java/com/r11/tools/model/XPathQueryResult.java index 8bb8a00..601c8c9 100644 --- a/Backend/tools-services/src/main/java/com/r11/tools/controller/internal/XPathQueryResult.java +++ b/Backend/tools-services/src/main/java/com/r11/tools/model/XPathQueryResult.java @@ -1,4 +1,4 @@ -package com.r11.tools.controller.internal; +package com.r11.tools.model; /** * Class used to store data received from parser and type of that data (node, string, etc.) diff --git a/Backend/tools-services/src/main/java/com/r11/tools/xml/Saxon.java b/Backend/tools-services/src/main/java/com/r11/tools/xml/Saxon.java index f9f330b..897da0b 100644 --- a/Backend/tools-services/src/main/java/com/r11/tools/xml/Saxon.java +++ b/Backend/tools-services/src/main/java/com/r11/tools/xml/Saxon.java @@ -1,6 +1,6 @@ package com.r11.tools.xml; -import com.r11.tools.controller.internal.XPathQueryResult; +import com.r11.tools.model.XPathQueryResult; import net.sf.saxon.s9api.*; import javax.xml.transform.stream.StreamSource; @@ -39,6 +39,29 @@ public class Saxon implements XmlEngine{ throw new UnsupportedOperationException(); } + /** + * This method evaluates XQuery exporession on given xml + * @param data xml + * @param xquery expression + * @return + * @throws Exception + */ + @Override + public String executeXQuery(String data, String xquery, String version) throws Exception { + Processor processor = new Processor(false); + + XQueryCompiler compiler = processor.newXQueryCompiler(); + compiler.setLanguageVersion(version); + + XQueryExecutable executable = compiler.compile(xquery); + + XQueryEvaluator evaluator = executable.load(); + evaluator.setSource(new StreamSource(new StringReader(data))); + + XdmValue result = evaluator.evaluate(); + return result.toString(); + } + /** * Process xpath and return either node or wrapped atomic value * @param data xml to be querried @@ -76,6 +99,6 @@ public class Saxon implements XmlEngine{ * @return version of the processor */ public String getVersion() { - return new Processor(false).getSaxonProductVersion(); + return "Saxon " + new Processor(false).getSaxonProductVersion(); } } diff --git a/Backend/tools-services/src/main/java/com/r11/tools/xml/Xalan.java b/Backend/tools-services/src/main/java/com/r11/tools/xml/Xalan.java index 51ad04f..befbe23 100644 --- a/Backend/tools-services/src/main/java/com/r11/tools/xml/Xalan.java +++ b/Backend/tools-services/src/main/java/com/r11/tools/xml/Xalan.java @@ -1,8 +1,7 @@ package com.r11.tools.xml; -import com.r11.tools.controller.internal.XPathQueryResult; +import com.r11.tools.model.XPathQueryResult; import org.apache.xpath.XPathAPI; -import org.apache.xpath.objects.XObject; import org.w3c.dom.Document; import org.w3c.dom.Node; import org.w3c.dom.traversal.NodeIterator; @@ -133,4 +132,9 @@ public class Xalan implements XmlEngine{ validator.validate(dataSource); return "XML file is valid"; } + + @Override + public String executeXQuery(String data, String xquery, String version) throws Exception { + throw new UnsupportedOperationException("Xalan doesn't support XQuery evaluation"); + } } diff --git a/Backend/tools-services/src/main/java/com/r11/tools/xml/XmlEngine.java b/Backend/tools-services/src/main/java/com/r11/tools/xml/XmlEngine.java index 5742073..132c9d4 100644 --- a/Backend/tools-services/src/main/java/com/r11/tools/xml/XmlEngine.java +++ b/Backend/tools-services/src/main/java/com/r11/tools/xml/XmlEngine.java @@ -1,12 +1,14 @@ package com.r11.tools.xml; -import com.r11.tools.controller.internal.XPathQueryResult; +import com.r11.tools.model.XPathQueryResult; public interface XmlEngine { XPathQueryResult processXPath(String data, String query, String version) throws Exception; String processXSLT(String data, String transform) throws Exception; String validate(String data, String xsd) throws Exception; + String executeXQuery(String data, String xquery, String version) throws Exception; + public String getVersion(); } diff --git a/Frontend/.dockerignore b/Frontend/.dockerignore new file mode 100644 index 0000000..38adffa --- /dev/null +++ b/Frontend/.dockerignore @@ -0,0 +1,28 @@ +# Logs +logs +*.log +npm-debug.log* +yarn-debug.log* +yarn-error.log* +pnpm-debug.log* +lerna-debug.log* + +node_modules +.DS_Store +dist +dist-ssr +coverage +*.local + +/cypress/videos/ +/cypress/screenshots/ + +# Editor directories and files +.vscode/* +!.vscode/extensions.json +.idea +*.suo +*.ntvs* +*.njsproj +*.sln +*.sw? diff --git a/Frontend/.eslintrc.cjs b/Frontend/.eslintrc.cjs new file mode 100644 index 0000000..6f40582 --- /dev/null +++ b/Frontend/.eslintrc.cjs @@ -0,0 +1,15 @@ +/* eslint-env node */ +require('@rushstack/eslint-patch/modern-module-resolution') + +module.exports = { + root: true, + 'extends': [ + 'plugin:vue/vue3-essential', + 'eslint:recommended', + '@vue/eslint-config-typescript', + '@vue/eslint-config-prettier/skip-formatting' + ], + parserOptions: { + ecmaVersion: 'latest' + } +} diff --git a/Frontend/.gitignore b/Frontend/.gitignore new file mode 100644 index 0000000..38adffa --- /dev/null +++ b/Frontend/.gitignore @@ -0,0 +1,28 @@ +# Logs +logs +*.log +npm-debug.log* +yarn-debug.log* +yarn-error.log* +pnpm-debug.log* +lerna-debug.log* + +node_modules +.DS_Store +dist +dist-ssr +coverage +*.local + +/cypress/videos/ +/cypress/screenshots/ + +# Editor directories and files +.vscode/* +!.vscode/extensions.json +.idea +*.suo +*.ntvs* +*.njsproj +*.sln +*.sw? diff --git a/Frontend/.prettierrc.json b/Frontend/.prettierrc.json new file mode 100644 index 0000000..66e2335 --- /dev/null +++ b/Frontend/.prettierrc.json @@ -0,0 +1,8 @@ +{ + "$schema": "https://json.schemastore.org/prettierrc", + "semi": false, + "tabWidth": 2, + "singleQuote": true, + "printWidth": 100, + "trailingComma": "none" +} \ No newline at end of file diff --git a/Frontend/Dockerfile b/Frontend/Dockerfile index 4e9751f..0b44b57 100644 --- a/Frontend/Dockerfile +++ b/Frontend/Dockerfile @@ -1,20 +1,30 @@ -FROM nginx:stable-alpine +FROM node:latest as build-stage +WORKDIR /app +COPY package*.json ./ +RUN npm install +COPY ./ . +RUN npm run build + + + +FROM nginx:stable-alpine as production-stage +RUN mkdir /app RUN apk add --no-cache tzdata ENV TZ Europe/Warsaw -COPY ./tools/ /usr/share/nginx/html/tools/ -COPY ./lawful/ /usr/share/nginx/html/lawful/ -COPY ./assets/ /usr/share/nginx/html/assets/ -COPY ./index.html /usr/share/nginx/html +COPY --from=build-stage /app/dist /usr/share/nginx/html COPY ./nginx.conf /etc/nginx/conf.d/default.conf -RUN mkdir -p /scripts -COPY insert_version.sh /scripts/ -WORKDIR /scripts - -RUN chmod +x insert_version.sh -RUN ./insert_version.sh - - EXPOSE 80 +EXPOSE 443 + + +FROM node:latest as dev +WORKDIR /app +COPY package*.json ./ +RUN npm install +ENV HOST=0.0.0.0 +COPY . . +EXPOSE 8080 +CMD ["npm", "run", "dev"] diff --git a/Frontend/README.md b/Frontend/README.md new file mode 100644 index 0000000..831a223 --- /dev/null +++ b/Frontend/README.md @@ -0,0 +1,46 @@ +# new-frontend + +This template should help get you started developing with Vue 3 in Vite. + +## Recommended IDE Setup + +[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (and disable Vetur) + [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin). + +## Type Support for `.vue` Imports in TS + +TypeScript cannot handle type information for `.vue` imports by default, so we replace the `tsc` CLI with `vue-tsc` for type checking. In editors, we need [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin) to make the TypeScript language service aware of `.vue` types. + +If the standalone TypeScript plugin doesn't feel fast enough to you, Volar has also implemented a [Take Over Mode](https://github.com/johnsoncodehk/volar/discussions/471#discussioncomment-1361669) that is more performant. You can enable it by the following steps: + +1. Disable the built-in TypeScript Extension + 1) Run `Extensions: Show Built-in Extensions` from VSCode's command palette + 2) Find `TypeScript and JavaScript Language Features`, right click and select `Disable (Workspace)` +2. Reload the VSCode window by running `Developer: Reload Window` from the command palette. + +## Customize configuration + +See [Vite Configuration Reference](https://vitejs.dev/config/). + +## Project Setup + +```sh +npm install +``` + +### Compile and Hot-Reload for Development + +```sh +npm run dev +``` + +### Type-Check, Compile and Minify for Production + +```sh +npm run build +``` + +### Lint with [ESLint](https://eslint.org/) + +```sh +npm run lint +``` diff --git a/Frontend/assets/css/common/common.css b/Frontend/assets/css/common/common.css deleted file mode 100644 index 0c7e754..0000000 --- a/Frontend/assets/css/common/common.css +++ /dev/null @@ -1,6 +0,0 @@ -@import url('https://necolas.github.io/normalize.css/8.0.1/normalize.css'); -@import url('r11addons.css'); -@import url('r11tables.css'); -@import url('r11tool.css'); -@import url('r11tooltip.css'); -@import url('r11modal.css'); diff --git a/Frontend/assets/css/common/font/fontello.eot b/Frontend/assets/css/common/font/fontello.eot deleted file mode 100644 index 8eb8762..0000000 Binary files a/Frontend/assets/css/common/font/fontello.eot and /dev/null differ diff --git a/Frontend/assets/css/common/font/fontello.svg b/Frontend/assets/css/common/font/fontello.svg deleted file mode 100644 index 66886e8..0000000 --- a/Frontend/assets/css/common/font/fontello.svg +++ /dev/null @@ -1,14 +0,0 @@ - - - -Copyright (C) 2021 by original authors @ fontello.com - - - - - - - - - - \ No newline at end of file diff --git a/Frontend/assets/css/common/font/fontello.ttf b/Frontend/assets/css/common/font/fontello.ttf deleted file mode 100644 index a6a2ea2..0000000 Binary files a/Frontend/assets/css/common/font/fontello.ttf and /dev/null differ diff --git a/Frontend/assets/css/common/font/fontello.woff b/Frontend/assets/css/common/font/fontello.woff deleted file mode 100644 index 8e3c9e6..0000000 Binary files a/Frontend/assets/css/common/font/fontello.woff and /dev/null differ diff --git a/Frontend/assets/css/common/font/fontello.woff2 b/Frontend/assets/css/common/font/fontello.woff2 deleted file mode 100644 index b1c349b..0000000 Binary files a/Frontend/assets/css/common/font/fontello.woff2 and /dev/null differ diff --git a/Frontend/assets/css/common/fontello.css b/Frontend/assets/css/common/fontello.css deleted file mode 100644 index 28bc34a..0000000 --- a/Frontend/assets/css/common/fontello.css +++ /dev/null @@ -1,59 +0,0 @@ -@font-face { - font-family: 'fontello'; - src: url('font/fontello.eot?49304387'); - src: url('font/fontello.eot?49304387#iefix') format('embedded-opentype'), - url('font/fontello.woff2?49304387') format('woff2'), - url('font/fontello.woff?49304387') format('woff'), - url('font/fontello.ttf?49304387') format('truetype'), - url('font/fontello.svg?49304387#fontello') format('svg'); - font-weight: normal; - font-style: normal; - } - /* Chrome hack: SVG is rendered more smooth in Windozze. 100% magic, uncomment if you need it. */ - /* Note, that will break hinting! In other OS-es font will be not as sharp as it could be */ - /* - @media screen and (-webkit-min-device-pixel-ratio:0) { - @font-face { - font-family: 'fontello'; - src: url('../font/fontello.svg?49304387#fontello') format('svg'); - } - } - */ - - [class^="icon-"]:before, [class*=" icon-"]:before { - font-family: "fontello"; - font-style: normal; - font-weight: normal; - speak: never; - - display: inline-block; - text-decoration: inherit; - width: 1em; - margin-right: .2em; - text-align: center; - /* opacity: .8; */ - - /* For safety - reset parent styles, that can break glyph codes*/ - font-variant: normal; - text-transform: none; - - /* fix buttons height, for twitter bootstrap */ - line-height: 1em; - - /* Animation center compensation - margins should be symmetric */ - /* remove if not needed */ - margin-left: .2em; - - /* you can be more comfortable with increased icons size */ - /* font-size: 120%; */ - - /* Font smoothing. That was taken from TWBS */ - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - - /* Uncomment for 3D effect */ - /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */ - } - - .icon-plus:before { content: '\e801'; } /* '' */ - .icon-cancel:before { content: '\e802'; } /* '' */ \ No newline at end of file diff --git a/Frontend/assets/css/frame.css b/Frontend/assets/css/frame.css deleted file mode 100644 index c6a6ba2..0000000 --- a/Frontend/assets/css/frame.css +++ /dev/null @@ -1,150 +0,0 @@ -@font-face { - font-family: "Nunito"; - src: url('../fonts/Nunito-VariableFont_wght.ttf') format('truetype'); -} - -html { - background-image: url("../images/background.jpg"); -} - -body { - font-family: 'Nunito', sans-serif; - font-weight: 200; - - color: #2e3133; - margin: 0px; -} - -* { - margin: 0; - padding: 0; -} - -html, -body { - height: 100%; - min-height: 100%; -} - -div#header { - background-color: #FFFFFF; - width: 100%; - height: 80px; - display: flex; - align-items: center; - justify-content: space-between; -} - -#logo { - padding: 20px 20px 20px; - width: 250px; - grid-column: 1; -} - -iframe#iframe { - flex-grow: 1; - background-color: #FFFFFF; -} - -div#content { - width: 100%; - height: calc(100% - 80px); - display: flex; - backdrop-filter: blur(10px); -} - -div#leftBar { - float: left; - width: 200px; - background-color: transparent; - height: 100%; -} - -li { - font-size: 20px; - font-weight: 300; -} - -div#copyright{ - color:rgb(192, 192, 192); - position: fixed; - bottom: 10px; - width: 200px; - text-align: center; -} - -div#copyright a, a:visited, a:active { - color: rgb(192, 192, 192); -} - -#toolList { - list-style-type: none; - margin: 0; - padding: 10px 0 0 0; - overflow: hidden; - display: block; - float: left; - background-color: transparent; - width: 100%; - height: calc(100% - 80px); - backdrop-filter: blur(10px); -} - -.toolListRow a { - display: block; - color: white; - text-align: center; - padding: 20px 50px 25px; - text-decoration: none; -} - -.toolListRow a:hover { - background-color: #2A93B0; - color: white; - transform: scale(1.25, 1.25); - transition-duration: .3s; -} - -#leftElements { - display: flex; - align-items: center; -} - -#titlebar { - /* padding: 10px 0; */ - color: black; - height: fit-content; - margin: 0px 20px; - font-size: 36px; - text-align: center; - -} -#menu { - display: flex; - height: fit-content; - -} - -#menu a { - display: block; - margin: 0px 10px; - padding: 0px 10px; - font-size: 28px; - text-decoration: none; - color: black; -} - -#menu a.active { - border-bottom: 3px solid #2A93B0; - -} - -#menu a:hover { - transform: scale(1.25, 1.25); - transition-duration: .3s; -} - -.separator{ - width: 100%; - padding:6px; -} \ No newline at end of file diff --git a/Frontend/assets/css/highlight.css b/Frontend/assets/css/highlight.css deleted file mode 100644 index 3981640..0000000 --- a/Frontend/assets/css/highlight.css +++ /dev/null @@ -1,69 +0,0 @@ -.json-block { - height: 600px; - width: 97%; -} - -.json-border { - border: 2px solid rgba(93, 99, 96, 0.705); - border-radius: 5px; -} - -.json-border:focus { - box-shadow: 0 0 5px rgb(81, 203, 238); - border: 2px solid rgba(93, 99, 96, 0.705); - border-radius: 5px; -} - -/*! Theme: Default Description: Original highlight.js style Author: (c) Ivan Sagalaev Maintainer: @highlightjs/core-team Website: https://highlightjs.org/ License: see project LICENSE Touched: 2021 */ -pre code.hljs{ - display:block; - overflow-x:auto; - padding:1em -} -code.hljs{ - padding:3px 5px -} -.hljs{ - background:#FFFFFF; - color:#444 -} -.hljs-comment{ - color:#697070 -} -.hljs-punctuation,.hljs-tag{ - color:#444a -} -.hljs-tag .hljs-attr,.hljs-tag .hljs-name{ - color:#444 -} -.hljs-attribute,.hljs-doctag,.hljs-keyword,.hljs-meta .hljs-keyword,.hljs-name,.hljs-selector-tag{ - font-weight:700 -} -.hljs-deletion,.hljs-number,.hljs-quote,.hljs-selector-class,.hljs-selector-id,.hljs-string,.hljs-template-tag,.hljs-type{ - color:#800 -} -.hljs-section,.hljs-title{ - color:#800; - font-weight:700 -} -.hljs-link,.hljs-operator,.hljs-regexp,.hljs-selector-attr,.hljs-selector-pseudo,.hljs-symbol,.hljs-template-variable,.hljs-variable{ - color:#ab5656 -} -.hljs-literal{ - color:#695 -} -.hljs-addition,.hljs-built_in,.hljs-bullet,.hljs-code{ - color:#397300 -} -.hljs-meta{ - color:#1f7199 -} -.hljs-meta .hljs-string{ - color:#38a -} -.hljs-emphasis{ - font-style:italic -} -.hljs-strong{ - font-weight:700 -} diff --git a/Frontend/assets/css/lawful.css b/Frontend/assets/css/lawful.css deleted file mode 100644 index a2bd94f..0000000 --- a/Frontend/assets/css/lawful.css +++ /dev/null @@ -1,42 +0,0 @@ -@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@200&display=swap'); - -body { - font-family: "Nunito", sans-serif; - background-color: #FFFFFF; - margin: 0px; - -} -h1, h2 { - text-align: center; -} - -h2::before { - background: url('/assets/images/sygnet_color.svg') no-repeat; - display: inline-block; -} - -#header { - height: 80px; - width: 100%; - display: flex; - align-items: center; - background-color: #FFFFFF; - position: fixed; - top: 0; - left: 0; -} - -#logo { - width: 250px; - margin: 0px 20px; -} - -#content { - width: 1024px; - margin: auto; - text-align: justify; - background-color: #FFFFFF; - padding: 20px 20px; - border-radius: 15px; - margin-top: 100px; -} \ No newline at end of file diff --git a/Frontend/assets/css/tools/font/fontello.eot b/Frontend/assets/css/tools/font/fontello.eot deleted file mode 100644 index 8eb8762..0000000 Binary files a/Frontend/assets/css/tools/font/fontello.eot and /dev/null differ diff --git a/Frontend/assets/css/tools/font/fontello.svg b/Frontend/assets/css/tools/font/fontello.svg deleted file mode 100644 index 66886e8..0000000 --- a/Frontend/assets/css/tools/font/fontello.svg +++ /dev/null @@ -1,14 +0,0 @@ - - - -Copyright (C) 2021 by original authors @ fontello.com - - - - - - - - - - \ No newline at end of file diff --git a/Frontend/assets/css/tools/font/fontello.ttf b/Frontend/assets/css/tools/font/fontello.ttf deleted file mode 100644 index a6a2ea2..0000000 Binary files a/Frontend/assets/css/tools/font/fontello.ttf and /dev/null differ diff --git a/Frontend/assets/css/tools/font/fontello.woff b/Frontend/assets/css/tools/font/fontello.woff deleted file mode 100644 index 8e3c9e6..0000000 Binary files a/Frontend/assets/css/tools/font/fontello.woff and /dev/null differ diff --git a/Frontend/assets/css/tools/font/fontello.woff2 b/Frontend/assets/css/tools/font/fontello.woff2 deleted file mode 100644 index b1c349b..0000000 Binary files a/Frontend/assets/css/tools/font/fontello.woff2 and /dev/null differ diff --git a/Frontend/assets/css/tools/fontello.css b/Frontend/assets/css/tools/fontello.css deleted file mode 100644 index 28bc34a..0000000 --- a/Frontend/assets/css/tools/fontello.css +++ /dev/null @@ -1,59 +0,0 @@ -@font-face { - font-family: 'fontello'; - src: url('font/fontello.eot?49304387'); - src: url('font/fontello.eot?49304387#iefix') format('embedded-opentype'), - url('font/fontello.woff2?49304387') format('woff2'), - url('font/fontello.woff?49304387') format('woff'), - url('font/fontello.ttf?49304387') format('truetype'), - url('font/fontello.svg?49304387#fontello') format('svg'); - font-weight: normal; - font-style: normal; - } - /* Chrome hack: SVG is rendered more smooth in Windozze. 100% magic, uncomment if you need it. */ - /* Note, that will break hinting! In other OS-es font will be not as sharp as it could be */ - /* - @media screen and (-webkit-min-device-pixel-ratio:0) { - @font-face { - font-family: 'fontello'; - src: url('../font/fontello.svg?49304387#fontello') format('svg'); - } - } - */ - - [class^="icon-"]:before, [class*=" icon-"]:before { - font-family: "fontello"; - font-style: normal; - font-weight: normal; - speak: never; - - display: inline-block; - text-decoration: inherit; - width: 1em; - margin-right: .2em; - text-align: center; - /* opacity: .8; */ - - /* For safety - reset parent styles, that can break glyph codes*/ - font-variant: normal; - text-transform: none; - - /* fix buttons height, for twitter bootstrap */ - line-height: 1em; - - /* Animation center compensation - margins should be symmetric */ - /* remove if not needed */ - margin-left: .2em; - - /* you can be more comfortable with increased icons size */ - /* font-size: 120%; */ - - /* Font smoothing. That was taken from TWBS */ - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - - /* Uncomment for 3D effect */ - /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */ - } - - .icon-plus:before { content: '\e801'; } /* '' */ - .icon-cancel:before { content: '\e802'; } /* '' */ \ No newline at end of file diff --git a/Frontend/assets/css/tools/mock/common.css b/Frontend/assets/css/tools/mock/common.css deleted file mode 100644 index f814529..0000000 --- a/Frontend/assets/css/tools/mock/common.css +++ /dev/null @@ -1,34 +0,0 @@ -@import url('https://necolas.github.io/normalize.css/8.0.1/normalize.css'); -/* @import url('https://fonts.googleapis.com/icon?family=Material+Icons'); */ -@import url('r11addons.css'); -@import url('r11tables.css'); -@import url('r11tool.css'); -@import url('r11tooltip.css'); -@import url('r11modal.css'); -@import url('r11flexbox.css'); -@import url('r11popup.css'); -@import url('../../highlight.css'); - -@font-face { - font-family: 'Material Icons'; - font-style: normal; - font-weight: 400; - src: url(https://fonts.gstatic.com/s/materialicons/v140/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2) format('woff2'); -} - -.material-icons { - font-family: 'Material Icons'; - font-weight: normal; - font-style: normal; - font-size: 24px; - line-height: 1; - letter-spacing: normal; - text-transform: none; - display: inline-block; - white-space: nowrap; - word-wrap: normal; - direction: ltr; - -moz-font-feature-settings: 'liga'; - -moz-osx-font-smoothing: grayscale; -} - \ No newline at end of file diff --git a/Frontend/assets/css/tools/mock/font/Material-Icons.woff2 b/Frontend/assets/css/tools/mock/font/Material-Icons.woff2 deleted file mode 100644 index 5492a6e..0000000 Binary files a/Frontend/assets/css/tools/mock/font/Material-Icons.woff2 and /dev/null differ diff --git a/Frontend/assets/css/tools/mock/font/Nunito-VariableFont_wght.ttf b/Frontend/assets/css/tools/mock/font/Nunito-VariableFont_wght.ttf deleted file mode 100644 index 87c50a8..0000000 Binary files a/Frontend/assets/css/tools/mock/font/Nunito-VariableFont_wght.ttf and /dev/null differ diff --git a/Frontend/assets/css/tools/mock/font/fontello.eot b/Frontend/assets/css/tools/mock/font/fontello.eot deleted file mode 100644 index 8eb8762..0000000 Binary files a/Frontend/assets/css/tools/mock/font/fontello.eot and /dev/null differ diff --git a/Frontend/assets/css/tools/mock/font/fontello.svg b/Frontend/assets/css/tools/mock/font/fontello.svg deleted file mode 100644 index 66886e8..0000000 --- a/Frontend/assets/css/tools/mock/font/fontello.svg +++ /dev/null @@ -1,14 +0,0 @@ - - - -Copyright (C) 2021 by original authors @ fontello.com - - - - - - - - - - \ No newline at end of file diff --git a/Frontend/assets/css/tools/mock/font/fontello.ttf b/Frontend/assets/css/tools/mock/font/fontello.ttf deleted file mode 100644 index a6a2ea2..0000000 Binary files a/Frontend/assets/css/tools/mock/font/fontello.ttf and /dev/null differ diff --git a/Frontend/assets/css/tools/mock/font/fontello.woff b/Frontend/assets/css/tools/mock/font/fontello.woff deleted file mode 100644 index 8e3c9e6..0000000 Binary files a/Frontend/assets/css/tools/mock/font/fontello.woff and /dev/null differ diff --git a/Frontend/assets/css/tools/mock/font/fontello.woff2 b/Frontend/assets/css/tools/mock/font/fontello.woff2 deleted file mode 100644 index b1c349b..0000000 Binary files a/Frontend/assets/css/tools/mock/font/fontello.woff2 and /dev/null differ diff --git a/Frontend/assets/css/tools/mock/fontello.css b/Frontend/assets/css/tools/mock/fontello.css deleted file mode 100644 index 28bc34a..0000000 --- a/Frontend/assets/css/tools/mock/fontello.css +++ /dev/null @@ -1,59 +0,0 @@ -@font-face { - font-family: 'fontello'; - src: url('font/fontello.eot?49304387'); - src: url('font/fontello.eot?49304387#iefix') format('embedded-opentype'), - url('font/fontello.woff2?49304387') format('woff2'), - url('font/fontello.woff?49304387') format('woff'), - url('font/fontello.ttf?49304387') format('truetype'), - url('font/fontello.svg?49304387#fontello') format('svg'); - font-weight: normal; - font-style: normal; - } - /* Chrome hack: SVG is rendered more smooth in Windozze. 100% magic, uncomment if you need it. */ - /* Note, that will break hinting! In other OS-es font will be not as sharp as it could be */ - /* - @media screen and (-webkit-min-device-pixel-ratio:0) { - @font-face { - font-family: 'fontello'; - src: url('../font/fontello.svg?49304387#fontello') format('svg'); - } - } - */ - - [class^="icon-"]:before, [class*=" icon-"]:before { - font-family: "fontello"; - font-style: normal; - font-weight: normal; - speak: never; - - display: inline-block; - text-decoration: inherit; - width: 1em; - margin-right: .2em; - text-align: center; - /* opacity: .8; */ - - /* For safety - reset parent styles, that can break glyph codes*/ - font-variant: normal; - text-transform: none; - - /* fix buttons height, for twitter bootstrap */ - line-height: 1em; - - /* Animation center compensation - margins should be symmetric */ - /* remove if not needed */ - margin-left: .2em; - - /* you can be more comfortable with increased icons size */ - /* font-size: 120%; */ - - /* Font smoothing. That was taken from TWBS */ - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - - /* Uncomment for 3D effect */ - /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */ - } - - .icon-plus:before { content: '\e801'; } /* '' */ - .icon-cancel:before { content: '\e802'; } /* '' */ \ No newline at end of file diff --git a/Frontend/assets/css/tools/mock/main.css b/Frontend/assets/css/tools/mock/main.css deleted file mode 100644 index 2f8c9ff..0000000 --- a/Frontend/assets/css/tools/mock/main.css +++ /dev/null @@ -1,4 +0,0 @@ -.overflowedTableContent { - max-height: 750px; - overflow: scroll; -} \ No newline at end of file diff --git a/Frontend/assets/css/tools/mock/r11addons.css b/Frontend/assets/css/tools/mock/r11addons.css deleted file mode 100644 index 2d2e72e..0000000 --- a/Frontend/assets/css/tools/mock/r11addons.css +++ /dev/null @@ -1,95 +0,0 @@ -.modification-button.btn-tile:hover { - color: #ca1111; -} - -.modification-button.btn-tile { - width: 10%; - margin: 20% 0 0 0; - font-size: 14px; - color: #00000020 -} - -.modification-button.btn-addtile { - font-size: 38px; - color: #00000030; -} - -.modification-button.btn-copy { - width: 24px; - height: 24px; - align-content: center; - display: grid; - justify-content: center; -} - -.modification-button.btn-copy img { - width: 100%; - height: 100%; -} - -.modification-button.btn-addtile:hover { - color: #58ac43; -} - -.tile { - width: 100%; - padding-top: 40%; - border-radius: 5px; - position: relative; - background: #D5D7E6; - margin-bottom: 10px; - cursor: default; - border-bottom: 1px solid darkgray; -} - -.tile:hover { - filter: brightness(110%); -} - -.tile.active { - background: #2A93B0; - color: white; - filter: none; -} - -.tile.active .btn-tile { - opacity: 0; -} - -.tile .content { - position: absolute; - left: 0; - top: 0; - bottom: 0; - right: 0; - padding: 0 2% 0 7%; - display: flex; -} - -.content p { - margin: 0; - padding: 0; -} - -.refresh-button{ - float: right; - border: none; - background-color: unset; - font-size: xx-large; -} - -.refresh-button:hover{ - animation-name: rotation; - animation-duration: 0.8s; - animation-iteration-count: infinite; - animation-timing-function: linear; -} - -@keyframes rotation{ - from{ - transform: rotate(0deg); - } - to { - transform: rotate(360deg); - } - } \ No newline at end of file diff --git a/Frontend/assets/css/tools/mock/r11flexbox.css b/Frontend/assets/css/tools/mock/r11flexbox.css deleted file mode 100644 index 972ddc6..0000000 --- a/Frontend/assets/css/tools/mock/r11flexbox.css +++ /dev/null @@ -1,57 +0,0 @@ -#editable-block { - flex-grow: 0; - flex-shrink: 0; -} - -#uuid-edit { - display: flex; - align-items: center; - margin-bottom: 15px; -} - -#uuid-edit-field { - display: flex; - width: fit-content; - align-items: center; - width: 70%; - margin-right: 10px; - -} - -#uuid-edit-field .uuid-inputField-icon{ - background: none; - color: black; - border: 0; -} - -#uuid-edit-field .uuid-inputField-icon:hover{ - color: #2A93B0; -} - -#uuid-input { - border: none; - width: 100% -} - -#uuid-input:focus { - outline: none; - -} - -#uuid-validation-strategy input { - margin-left: 10px; -} - -.disabled { - background-color: #CCD1CF; - -} - -.disabled #uuid-input { - background-color: #CCD1CF; - -} - -.uuid-inputField-icon-span { - font-size: x-large; -} \ No newline at end of file diff --git a/Frontend/assets/css/tools/mock/r11modal.css b/Frontend/assets/css/tools/mock/r11modal.css deleted file mode 100644 index 7848a43..0000000 --- a/Frontend/assets/css/tools/mock/r11modal.css +++ /dev/null @@ -1,104 +0,0 @@ -#overlay { - position: fixed; - left: 0; - right: 0; - top: 0; - bottom: 0; - opacity: 0; - background: rgba(0, 0 , 0, 0.5); - pointer-events: none; -} - -#overlay.active { - pointer-events: all; - opacity: 1; -} - -.modal { - display: none; - width: 390px; - min-height: 71px; - max-height: 700px; - position: fixed; - top: 50%; - left: 50%; - transform: translate(-50%, -50%); - background: white; - padding: 5px; - border: 1px solid #f0f0f0; -} - -.modal.active { - display: block; -} - -.modal div.header { - width: 384px; - height: 24px; - background: #2e3133; - color: white; - font-size: 24px; - font-weight: 700; - padding: 3px; - margin-bottom: 5px; - display: flex; - justify-content: space-between; - align-items: center; -} - -.modal div.header button { - font-size: 100%; - font-family: inherit; - border: 0; - padding: 0; - background: 0; - color: inherit; - cursor: pointer; -} - -.modal div.header button:hover { - color: white; - font-weight: 700; -} - -.modal div.body { - width: 370px; - padding: 10px; - background: #f0f0f0; - color: #2e3133; - min-height: 16px; - text-align: justify; - font-size: 16px; -} - -.modal div.function { - width: 385px; - min-height: 30px; - padding-top: 5px; - display: flex; - justify-content: space-evenly; - background: inherit; -} - -.modal div.function button { - min-height: 22px; - min-width: 34px; - max-width: 74px; - padding: 3px 20px; - outline: none; - border: 1px solid #f0f0f0; - background: rgba(205,205,205,1); - font-size: 16px; - text-align: center; - cursor: pointer; -} - -.modal div.function button:hover { - filter: brightness(110%); -} - -.r-exclamation:before { - content: '!'; - color: #3bc4f1; - font-style: normal; -} diff --git a/Frontend/assets/css/tools/mock/r11popup.css b/Frontend/assets/css/tools/mock/r11popup.css deleted file mode 100644 index 296349a..0000000 --- a/Frontend/assets/css/tools/mock/r11popup.css +++ /dev/null @@ -1,83 +0,0 @@ -.popup-flex:not(.hiddable-container){ - animation: blur 0.5s ease-in-out ; - animation-fill-mode: forwards; -} -.popup-flex{ - display: flex; - align-items: center; - width: 100%; - height: 100%; - z-index: 50; - flex-direction: column; - gap: 2%; - position: fixed; - justify-content: center; -} - -.popup-body{ - min-width: 33%; - max-width: 60%; - max-height: 70%; - background-color: white; - box-shadow: 10px 10px 5px lightblue; - min-height: 45%; - border-radius: 1em; - text-align: center; - padding: 10px 15px 15px 15px; - color: black; - border: 1px #2A93B0 solid; - display: flex; - flex-direction: column; - position: fixed; -} - -.popup-button-close-container{ - text-align: right; - margin-right: 2%; - margin-top: 1%; - font-size: xx-large; - font-weight: bold; - position: sticky; - top:0 -} - -.hiddable-popup-option{ - flex-grow: 1; - overflow: auto; - padding: 1.5%; -} - -.popup-button-close{ - background: padding-box; - border: 0; -} - -.popup-button-close:hover{ - color: #2A93B0; -} - -.hiddable-container{ - display:none; -} - -.hidden-popup-type{ - display: none; -} - -#history-request-body{ - text-align: justify; -} - -@keyframes blur { - 0% { - backdrop-filter: blur(0px); - } - - 50% { - backdrop-filter: blur(5px); - } - - 100% { - backdrop-filter: blur(10px); - } - } diff --git a/Frontend/assets/css/tools/mock/r11tables.css b/Frontend/assets/css/tools/mock/r11tables.css deleted file mode 100644 index c78730b..0000000 --- a/Frontend/assets/css/tools/mock/r11tables.css +++ /dev/null @@ -1,96 +0,0 @@ -.table-map { - width: 60%; -} - -.table-map input{ - font-size: 16px; - padding: 7px; - border: 1px solid rgba(145, 146, 146, 0.849); - border-radius: 5px; -} - -.table-map input.key { - background: #f0f0f0; -} - -.modification-button.btn-add { - font-size: 16px; - color: #00000030; - margin: auto 0 auto 0; -} - -.modification-button.btn-add:hover { - color:#58ac43; -} - -.modification-button.btn-hashmap { - font-size: 16px; - color: #00000030; - margin: auto 0 auto 0; -} - -.modification-button.btn-hashmap:hover { - color: #ca1111; -} - -.table-default { - width: 80%; - border-collapse: collapse; - border-spacing: 0; -} - -.table-default tr { - background: #f0f0f02d; -} - -.table-default tr.bottom-border { - border-bottom: 1px solid black; -} - -.table-default th { - background: #ffffff; -} - -.table-default tr.even { - background: #f0f0f0; -} - -.table-doc td, .table-doc th{ - border-spacing: 0px; - padding: 0px 10px; -} - -.table-doc td { - background-color: rgba(155, 165, 160, 0.342); -} - -.table-doc th { - background-color: #3bc4f1; - text-align: left; - color: white; -} - -.table-default td{ - text-align: center; -} - -#header-table tr td { - border: 1px black solid; - padding: 1.5%; - -} - -#header-table{ - border-collapse: collapse; - width: 100%; - height: 100%; -} - -.history-header-name{ - min-width: 10vw; -} - -#historyTable, td{ - padding: 1%; - overflow-x: scroll; -} \ No newline at end of file diff --git a/Frontend/assets/css/tools/mock/r11tool.css b/Frontend/assets/css/tools/mock/r11tool.css deleted file mode 100644 index 098cfe0..0000000 --- a/Frontend/assets/css/tools/mock/r11tool.css +++ /dev/null @@ -1,322 +0,0 @@ -@font-face { - font-family: "Nunito"; - src: url('font/Nunito-VariableFont_wght.ttf') format('truetype'); -} - -input { - box-sizing: border-box; -} - -.hyperlink, .hyperlink:visited, .hyperlink:active { - color: rgb(47, 125, 146); - cursor: pointer; -} - -.hyperlink:hover { - filter: brightness(120%); -} - -.bordered-field { - background-color: #FFFFFF; - border: 2px solid rgba(93, 99, 96, 0.705); - border-radius: 5px; - padding: 8px; - display: block; - -} - -.bordered-field:focus { - outline: none; - box-shadow: 0 0 5px rgba(81, 203, 238); - border: 2px solid #00000070; -} - -.bordered-field:disabled { - background: #eeeeeed2; -} - -.vertically-resizeable { - resize: vertical; -} - -body { - font-family: 'Nunito', sans-serif; -} - -.container { - display: flex; - justify-content: left; - width: 100%; -} - -.tool { - width: 55%; - display: flex; - justify-content: space-evenly; -} - -.tool.extended { - width: 65%; -} - -.tool .tool-context { - width: 90%; -} - -.tool.extended .tool-extention { - width: 20%; - padding-top: 2%; - display: block; -} - -.tool .tool-extention { - display: none; -} - -.tool-extention { - opacity: 0; - pointer-events: none; -} - -.tool-extention.active { - opacity: 100%; - pointer-events: all; -} - -.clickable-text { - padding: 0; - outline: none; - background: none; - border: none; - font-weight: 300; - cursor: pointer; -} - -.clickable-text.highlight:hover { - color: #3bc4f1; -} - -.clickable-text.switch { - font-size: 18px; - font-weight: 300; -} - -.clickable-text.switch span.toggleIndicator:before { - content: '>'; -} - -.clickable-text.switch span.toggleIndicator.active:before { - content: 'v'; -} - -.modification-button { - padding: 0; - outline: none; - background: none; - border: none; - font-weight: 300; -} - -.text-aligned-to-right { - text-align: right; -} - -.centered-vertically { - margin-top: auto; - margin-bottom: auto; -} - -.display-space-between { - width: 100%; - display: flex; - justify-content: space-between; -} - -.display-space-evenly { - display: flex; - justify-content: space-evenly; -} - -.float-left { - display: flex; - justify-content: left; - width: 100%; -} - -.version-span { - font-size: 13px; - font-weight: 400; - color: rgba(85,85,85,0.555); -} - -.block-display { - display: block; -} - -.block-label { - display: block; - margin: 0 0 0 5px; -} - -.tabmenu { - display: flex; - flex-direction: row; - text-align: center; - border-bottom: 1px solid rgba(185, 185, 185, 0.5); -} - -.tabitem { - flex-grow: 1; - cursor: pointer; - padding: 5px 0; -} - -.tabitem:hover { - font-weight: 700; -} - -.tabitem.active { - background: rgba(33, 34, 34, 0.705); - color: white; - font-weight: 700; - cursor:default; - flex-grow: 1; -} - -.big-font { - font-size: 20px; -} - -.action-button.active { - background: #2A93B0; - border: 1px solid #7ed0eb; - cursor: pointer; - -} - -.action-button.active:hover { - filter: brightness(110%); -} - -.action-button { - background: #CCD1CF; - border:1px solid rgba(186, 197, 191, 0.507); - border-radius: 5px; - color: white; - padding: 10px 20px; - font-weight: 700; - margin: 3px 0; -} - -.quater-width { - width: 25%; -} - -.half-width { - width: 50%; -} - -.tree-fourth-width { - width: 75%; -} - -.half-width.with-padding { - width: 45%; -} - -.max-width { - width: 100%; -} - -.max-width.with-padding { - width: 94%; -} - -.max-height { - height: 100%; -} - -.height-300 { - height: 300px; -} - -.max-height.with-padding { - height: 90%; -} - -.small-margins { - margin: 3%; -} - -.small-vertical-margin { - margin-top: 10px; - margin-bottom: 10px; -} - -.medium-vertical-margin { - margin-top: 30px; - margin-bottom: 30px; -} - -.large-vertical-margin { - margin-top: 50px; - margin-bottom: 50px; -} - -.textarea-300 { - height: 300px; -} - -.centered-content { - display: flex; - justify-content: center; -} - - -.tabcontent { - display: none; -} - -.tabcontent.active { - display: flex; - justify-content: center; -} - -.hiddable { - display: none; -} - -.hiddable.active { - display: inherit; -} - -/* In case of collision with classes that use 'active' */ -.hidden { - display: none; -} - -h1 { - font-weight: 400; -} - -h2 { - font-weight: 400; -} - -h3 { - font-weight: 400; -} - - - -/* TODO: Add proper class */ -/* textarea { - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; -} */ - -/* TODO: Add proper class */ -/* code{ - line-height: 150%; -} */ \ No newline at end of file diff --git a/Frontend/assets/css/tools/mock/r11tooltip.css b/Frontend/assets/css/tools/mock/r11tooltip.css deleted file mode 100644 index 63e70f6..0000000 --- a/Frontend/assets/css/tools/mock/r11tooltip.css +++ /dev/null @@ -1,76 +0,0 @@ -.tooltip-window { - position: fixed; - right: 0; - background: #FFFFFF; - padding: 15px 30px; - font-family: 'Nunito', sans-serif; - width: 40%; - height: 100%; - overflow: scroll; -} - -.tooltip-window.lite { - width: 30%; -} - -.tip { - display: none; -} - -.tip.active { - display: block; -} - -/* TODO: Remove !important. It's bad practice and it can cause errors in future */ -.section-button { - width: 100%; - padding: 15px 0; - font-size: 18px; - background: #b4b4b4c5; - cursor: pointer; - border-bottom: darkgray 2px solid !important; -} - -.section-button:hover { - backdrop-filter: brightness(110%); -} - -.section-button .active { - background: #00000030; -} - -.List .collapsibleContent { - border-left: #bdc5c9 2px solid; - overflow: hidden; - background: #ffffff50; -} - -/* TODO: .section class is to generic. It should be renamed */ -.section{ - padding: 10px 0px 20px 0px ; -} - -/* TODO: content subclass already in use. Creating content class overrides the subclass. -Make .content a subclass of .content */ -/* .content { - padding: 0px 15px 0px 15px ; - text-align: justify; - overflow: hidden; - transition: max-height .2s ease-out; - max-height: 0px; - border-left: #c0c2c3 2px solid; - -} */ - -.collapsibleMini::before{ - content: "►"; -} - -.collapsibleMini.active::before{ - content: "▼"; -} - -/* TODO: Add proper class */ -/* button:hover{ - filter: brightness(110%); -} */ \ No newline at end of file diff --git a/Frontend/assets/css/tools/r11form.css b/Frontend/assets/css/tools/r11form.css deleted file mode 100644 index d73a294..0000000 --- a/Frontend/assets/css/tools/r11form.css +++ /dev/null @@ -1,520 +0,0 @@ -@import url('https://necolas.github.io/normalize.css/8.0.1/normalize.css'); -@import url('fontello.css'); - -@font-face { - font-family: "Nunito"; - src: url('../../fonts/Nunito-VariableFont_wght.ttf') format('truetype'); -} - -body { - font-weight: 300; -} - -.hyperlink, .hyperlink:visited, .hyperlink:active { - color: rgb(47, 125, 146); - cursor: pointer; -} - -.hyperlink:hover { - filter: brightness(120%); -} - -.tooltip-window { - position: fixed; - right: 0; - /* filter: drop-shadow(-2px 0px 2px black); */ - background: #FFFFFF; - padding: 15px 30px; - font-family: 'Nunito', sans-serif; - width: 30%; - height: calc(100% - 25px); - overflow: scroll; -} - -.tooltip-window.lite { - width: 30%; -} -/* .hyperlink.collapseTrigger::before{ - content: "▼"; -} */ - -.bordered-field { - border: 2px solid rgba(93, 99, 96, 0.705); - border-radius: 5px; - padding: 8px; - -} - -.bordered-field:focus { - outline: none; - box-shadow: 0 0 5px rgba(81, 203, 238); - border: 2px solid #00000070; -} - -.bordered-field:disabled { - background: #eeeeeed2; -} - -.vertically-resizeable { - resize: vertical; -} - -.container { - font-family: 'Nunito', sans-serif; - - - display: flex; - justify-content: left; - width: 100%; -} - -.tool { - width: 65%; - display: flex; - justify-content: space-evenly; -} - -.tool.extended { - width: 65%; -} - -.tool .tool-context { - width: 90%; -} - -.tool.extended .tool-context { - width: 75%; -} - -.tool.extended .tool-extention { - width: 20%; - padding-top: 2%; - display: block; -} - -.tool .tool-extention { - display: none; -} - -.tool-extention { - opacity: 0; - pointer-events: none; -} - -.tool-extention.active { - opacity: 100%; - pointer-events: all; -} - -.clickable-text { - padding: 0; - outline: none; - background: none; - border: none; - font-weight: 300; - cursor: pointer; -} - -.clickable-text.highlight:hover { - color: #3bc4f1; -} - -.modification-button { - padding: 0; - outline: none; - background: none; - border: none; - font-weight: 300; -} - -.modification-button.btn-add { - font-size: 16px; - color: #00000030; - margin: auto 0 auto 0; -} - -.modification-button.btn-add:hover { - color:#58ac43; -} - -.modification-button.btn-tile:hover { - color: #ca1111; -} - -.modification-button.btn-hashmap { - font-size: 16px; - color: #00000030; - margin: auto 0 auto 0; -} - -.modification-button.btn-hashmap:hover { - color: #ca1111; -} - -.modification-button.btn-tile { - width: 10%; - margin: 20% 0 0 0; - font-size: 14px; - color: #00000020 -} - -.tile { - width: 90%; - padding-top: 40%; - border: 1px solid gray; - border-radius: 3px; - position: relative; - background: #f0f0f095; - margin-bottom: 10px; - cursor: default; -} - -.tile:hover { - filter: brightness(110%); -} - -.tile.active { - background: #00000070; - color: white; - filter: none; -} - -.tile .content { - position: absolute; - left: 0; - top: 0; - bottom: 0; - right: 0; - padding: 0 2% 0 7%; - display: flex; -} - -.text-aligned-to-right { - text-align: right; -} - -.centered-vertically { - margin-top: auto; - margin-bottom: auto; -} - -.display-space-between { - width: 100%; - display: flex; - justify-content: space-between; -} - -.content p { - margin: 0; - padding: 0; -} - - -.float-left { - display: flex; - justify-content: left; - width: 100%; -} - -.version-span { - font-size: 13px; - font-weight: 400; - color: rgba(85,85,85,0.555); -} - -.block-display { - display: block; -} - -.block-label { - display: block; - margin: 0 0 0 5px; -} - -.tabmenu { - display: flex; - flex-direction: row; - text-align: center; - border-bottom: 1px solid rgba(185, 185, 185, 0.5); -} - -.tabitem { - flex-grow: 1; - cursor: pointer; - padding: 5px 0; -} - -.tabitem:hover { - font-weight: 700; -} - -.tabitem.active { - background: rgba(33, 34, 34, 0.705); - color: white; - font-weight: 700; - cursor:default; - flex-grow: 1; -} - -.big-font { - font-size: 20px; -} - -.action-button.active { - background: #2A93B0; - border: 1px solid #7ed0eb; - cursor: pointer; - border-radius: 5px; -} - -.action-button.active:hover { - filter: brightness(110%); - transition-duration: 0.3s; -} - -.action-button { - background: rgba(155, 165, 160, 0.507); - border:1px solid rgba(186, 197, 191, 0.507); - color: white; - padding: 10px 20px; - font-weight: 700; - margin: 3px 0; -} - -.quater-width { - width: 25%; -} - -.half-width { - width: 50%; -} - -.half-width.with-padding { - width: 45%; -} - -.max-width { - width: 100%; -} - -.half-width { - width: 50%; -} - -.max-width.with-padding { - width: 94%; -} - -.max-height { - height: 100%; -} - -.height-300 { - height: 300px; -} - -.max-height.with-padding { - height: 90%; -} - -.small-margins { - margin: 3%; -} - -.small-vertical-margin { - margin-top: 10px; - margin-bottom: 10px; -} - -.medium-vertical-margin { - margin-top: 30px; - margin-bottom: 30px; -} - -.large-vertical-margin { - margin-top: 50px; - margin-bottom: 50px; -} - -.textarea-300 { - height: 300px; -} - -.textarea-700 { - height: 700px; -} - -.centered-content { - display: flex; - justify-content: center; -} - -.table-map { - width: 60%; -} - -.table-map input{ - font-size: 16px; - padding: 7px; - border: 1px solid rgba(145, 146, 146, 0.849); - border-radius: 5px; -} - -.table-map input.key { - background: #f0f0f0; -} - -.table-default { - width: 80%; - border-collapse: collapse; - border-spacing: 0; -} - -.table-default tr { - background: #f0f0f02d; -} - -.table-default tr.bottom-border { - border-bottom: 1px solid black; -} - -.table-default th { - background: #ffffff; -} - -.table-default tr.even { - background: #f0f0f0; -} - -.tip { - display: none; -} - -.tip.active { - display: block; -} - -.tabcontent { - display: none; -} - -.tabcontent.active { - display: flex; - justify-content: center; -} - -.section-button { - width: 100%; - padding: 15px 0; - margin: 5px 0px; - font-size: 18px; - background: #D5D7E6; - cursor: pointer; - border-bottom: darkgray 2px solid !important; - border-radius: 5px; -} - -.section-button:hover { - /* border-bottom: #3bc4f1 2px solid; */ - backdrop-filter: brightness(100%); - transition-duration: 0.3s; -} - -.section-button .active { - background: #00000030; -} - -.List .collapsibleContent { - /* display: none; */ - border-left: #bdc5c9 2px solid; - - /* max-height: 0px; */ - /* border-left: #ededed solid 1px; */ - overflow: hidden; - background: #ffffff50; -} - -.section{ - padding: 10px 0px 20px 0px ; -} - -.content { - padding: 0px 15px 0px 15px ; - text-align: left; - overflow: hidden; - transition: max-height .2s ease-out; - max-height: 0px; - border-left: #c0c2c3 2px solid; -} - -.collapsibleMini::before{ - content: "►"; -} - -.collapsibleMini.active::before{ - content: "▼"; -} - -.hiddable { - display: none; -} - -.hiddable.active { - display: inherit; -} - -/* In case of collision with classes that use 'active' */ -.hidden { - display: none; -} - -button:hover{ - filter: brightness(110%); -} - -.table-doc td, .table-doc th{ - border-spacing: 0px; - padding: 0px 10px; -} - -.table-doc td { - background-color: rgba(155, 165, 160, 0.342); -} - -.table-doc th { - background-color: #3bc4f1; - text-align: left; - color: white; -} - -textarea { - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; -} - -code { - line-height: 150%; -} - -h1 { - font-weight: 400; -} - -h2 { - font-weight: 300; -} - -pre { - margin: 0px; -} - -@media only screen and (max-width: 1024px) { - .rwd-hideable { - display: none; - } - - .rwd-expandable { - width: 100%; - } -} \ No newline at end of file diff --git a/Frontend/assets/fonts/Nunito-Italic-VariableFont_wght.ttf b/Frontend/assets/fonts/Nunito-Italic-VariableFont_wght.ttf deleted file mode 100644 index 6a58fbf..0000000 Binary files a/Frontend/assets/fonts/Nunito-Italic-VariableFont_wght.ttf and /dev/null differ diff --git a/Frontend/assets/fonts/Nunito-VariableFont_wght.ttf b/Frontend/assets/fonts/Nunito-VariableFont_wght.ttf deleted file mode 100644 index 87c50a8..0000000 Binary files a/Frontend/assets/fonts/Nunito-VariableFont_wght.ttf and /dev/null differ diff --git a/Frontend/assets/images/background.jpg b/Frontend/assets/images/background.jpg deleted file mode 100644 index 3cbefc4..0000000 Binary files a/Frontend/assets/images/background.jpg and /dev/null differ diff --git a/Frontend/assets/samples/XSLTTemplate.xslt b/Frontend/assets/samples/XSLTTemplate.xslt deleted file mode 100644 index 3ce05e2..0000000 --- a/Frontend/assets/samples/XSLTTemplate.xslt +++ /dev/null @@ -1,14 +0,0 @@ - - - - - - - - - - - - \ No newline at end of file diff --git a/Frontend/assets/samples/sampleXMLForXSD.xml b/Frontend/assets/samples/sampleXMLForXSD.xml deleted file mode 100644 index 2ba2458..0000000 --- a/Frontend/assets/samples/sampleXMLForXSD.xml +++ /dev/null @@ -1,33 +0,0 @@ - - - City library - 345123 - - - 7321 - Adam - Choke - - - 5123 - Lauren - Wong - - - - - 6422 - Harry Potter - 7542 - - - 1234 - Macbeth - 5123 - - - 9556 - Romeo and Juliet - - - \ No newline at end of file diff --git a/Frontend/assets/samples/sampleXSD.xsd b/Frontend/assets/samples/sampleXSD.xsd deleted file mode 100644 index 6993ce3..0000000 --- a/Frontend/assets/samples/sampleXSD.xsd +++ /dev/null @@ -1,42 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/Frontend/assets/scripts/common/hljs.min.js b/Frontend/assets/scripts/common/hljs.min.js deleted file mode 100644 index 4cbf349..0000000 --- a/Frontend/assets/scripts/common/hljs.min.js +++ /dev/null @@ -1,1202 +0,0 @@ -/*! - Highlight.js v11.7.0 (git: 82688fad18) - (c) 2006-2022 undefined and other contributors - License: BSD-3-Clause - */ -var hljs=function(){"use strict";var e={exports:{}};function n(e){ -return e instanceof Map?e.clear=e.delete=e.set=()=>{ -throw Error("map is read-only")}:e instanceof Set&&(e.add=e.clear=e.delete=()=>{ -throw Error("set is read-only") -}),Object.freeze(e),Object.getOwnPropertyNames(e).forEach((t=>{var a=e[t] -;"object"!=typeof a||Object.isFrozen(a)||n(a)})),e} -e.exports=n,e.exports.default=n;class t{constructor(e){ -void 0===e.data&&(e.data={}),this.data=e.data,this.isMatchIgnored=!1} -ignoreMatch(){this.isMatchIgnored=!0}}function a(e){ -return e.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'") -}function i(e,...n){const t=Object.create(null);for(const n in e)t[n]=e[n] -;return n.forEach((e=>{for(const n in e)t[n]=e[n]})),t} -const r=e=>!!e.scope||e.sublanguage&&e.language;class s{constructor(e,n){ -this.buffer="",this.classPrefix=n.classPrefix,e.walk(this)}addText(e){ -this.buffer+=a(e)}openNode(e){if(!r(e))return;let n="" -;n=e.sublanguage?"language-"+e.language:((e,{prefix:n})=>{if(e.includes(".")){ -const t=e.split(".") -;return[`${n}${t.shift()}`,...t.map(((e,n)=>`${e}${"_".repeat(n+1)}`))].join(" ") -}return`${n}${e}`})(e.scope,{prefix:this.classPrefix}),this.span(n)} -closeNode(e){r(e)&&(this.buffer+="")}value(){return this.buffer}span(e){ -this.buffer+=``}}const o=(e={})=>{const n={children:[]} -;return Object.assign(n,e),n};class l{constructor(){ -this.rootNode=o(),this.stack=[this.rootNode]}get top(){ -return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(e){ -this.top.children.push(e)}openNode(e){const n=o({scope:e}) -;this.add(n),this.stack.push(n)}closeNode(){ -if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){ -for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)} -walk(e){return this.constructor._walk(e,this.rootNode)}static _walk(e,n){ -return"string"==typeof n?e.addText(n):n.children&&(e.openNode(n), -n.children.forEach((n=>this._walk(e,n))),e.closeNode(n)),e}static _collapse(e){ -"string"!=typeof e&&e.children&&(e.children.every((e=>"string"==typeof e))?e.children=[e.children.join("")]:e.children.forEach((e=>{ -l._collapse(e)})))}}class c extends l{constructor(e){super(),this.options=e} -addKeyword(e,n){""!==e&&(this.openNode(n),this.addText(e),this.closeNode())} -addText(e){""!==e&&this.add(e)}addSublanguage(e,n){const t=e.root -;t.sublanguage=!0,t.language=n,this.add(t)}toHTML(){ -return new s(this,this.options).value()}finalize(){return!0}}function d(e){ -return e?"string"==typeof e?e:e.source:null}function g(e){return m("(?=",e,")")} -function u(e){return m("(?:",e,")*")}function b(e){return m("(?:",e,")?")} -function m(...e){return e.map((e=>d(e))).join("")}function p(...e){const n=(e=>{ -const n=e[e.length-1] -;return"object"==typeof n&&n.constructor===Object?(e.splice(e.length-1,1),n):{} -})(e);return"("+(n.capture?"":"?:")+e.map((e=>d(e))).join("|")+")"} -function _(e){return RegExp(e.toString()+"|").exec("").length-1} -const h=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./ -;function f(e,{joinWith:n}){let t=0;return e.map((e=>{t+=1;const n=t -;let a=d(e),i="";for(;a.length>0;){const e=h.exec(a);if(!e){i+=a;break} -i+=a.substring(0,e.index), -a=a.substring(e.index+e[0].length),"\\"===e[0][0]&&e[1]?i+="\\"+(Number(e[1])+n):(i+=e[0], -"("===e[0]&&t++)}return i})).map((e=>`(${e})`)).join(n)} -const E="[a-zA-Z]\\w*",y="[a-zA-Z_]\\w*",w="\\b\\d+(\\.\\d+)?",N="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",v="\\b(0b[01]+)",O={ -begin:"\\\\[\\s\\S]",relevance:0},k={scope:"string",begin:"'",end:"'", -illegal:"\\n",contains:[O]},x={scope:"string",begin:'"',end:'"',illegal:"\\n", -contains:[O]},M=(e,n,t={})=>{const a=i({scope:"comment",begin:e,end:n, -contains:[]},t);a.contains.push({scope:"doctag", -begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)", -end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0}) -;const r=p("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/) -;return a.contains.push({begin:m(/[ ]+/,"(",r,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),a -},S=M("//","$"),A=M("/\\*","\\*/"),C=M("#","$");var T=Object.freeze({ -__proto__:null,MATCH_NOTHING_RE:/\b\B/,IDENT_RE:E,UNDERSCORE_IDENT_RE:y, -NUMBER_RE:w,C_NUMBER_RE:N,BINARY_NUMBER_RE:v, -RE_STARTERS_RE:"!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~", -SHEBANG:(e={})=>{const n=/^#![ ]*\// -;return e.binary&&(e.begin=m(n,/.*\b/,e.binary,/\b.*/)),i({scope:"meta",begin:n, -end:/$/,relevance:0,"on:begin":(e,n)=>{0!==e.index&&n.ignoreMatch()}},e)}, -BACKSLASH_ESCAPE:O,APOS_STRING_MODE:k,QUOTE_STRING_MODE:x,PHRASAL_WORDS_MODE:{ -begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/ -},COMMENT:M,C_LINE_COMMENT_MODE:S,C_BLOCK_COMMENT_MODE:A,HASH_COMMENT_MODE:C, -NUMBER_MODE:{scope:"number",begin:w,relevance:0},C_NUMBER_MODE:{scope:"number", -begin:N,relevance:0},BINARY_NUMBER_MODE:{scope:"number",begin:v,relevance:0}, -REGEXP_MODE:{begin:/(?=\/[^/\n]*\/)/,contains:[{scope:"regexp",begin:/\//, -end:/\/[gimuy]*/,illegal:/\n/,contains:[O,{begin:/\[/,end:/\]/,relevance:0, -contains:[O]}]}]},TITLE_MODE:{scope:"title",begin:E,relevance:0}, -UNDERSCORE_TITLE_MODE:{scope:"title",begin:y,relevance:0},METHOD_GUARD:{ -begin:"\\.\\s*[a-zA-Z_]\\w*",relevance:0},END_SAME_AS_BEGIN:e=>Object.assign(e,{ -"on:begin":(e,n)=>{n.data._beginMatch=e[1]},"on:end":(e,n)=>{ -n.data._beginMatch!==e[1]&&n.ignoreMatch()}})});function R(e,n){ -"."===e.input[e.index-1]&&n.ignoreMatch()}function D(e,n){ -void 0!==e.className&&(e.scope=e.className,delete e.className)}function I(e,n){ -n&&e.beginKeywords&&(e.begin="\\b("+e.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)", -e.__beforeBegin=R,e.keywords=e.keywords||e.beginKeywords,delete e.beginKeywords, -void 0===e.relevance&&(e.relevance=0))}function L(e,n){ -Array.isArray(e.illegal)&&(e.illegal=p(...e.illegal))}function B(e,n){ -if(e.match){ -if(e.begin||e.end)throw Error("begin & end are not supported with match") -;e.begin=e.match,delete e.match}}function $(e,n){ -void 0===e.relevance&&(e.relevance=1)}const z=(e,n)=>{if(!e.beforeMatch)return -;if(e.starts)throw Error("beforeMatch cannot be used with starts") -;const t=Object.assign({},e);Object.keys(e).forEach((n=>{delete e[n] -})),e.keywords=t.keywords,e.begin=m(t.beforeMatch,g(t.begin)),e.starts={ -relevance:0,contains:[Object.assign(t,{endsParent:!0})] -},e.relevance=0,delete t.beforeMatch -},F=["of","and","for","in","not","or","if","then","parent","list","value"] -;function U(e,n,t="keyword"){const a=Object.create(null) -;return"string"==typeof e?i(t,e.split(" ")):Array.isArray(e)?i(t,e):Object.keys(e).forEach((t=>{ -Object.assign(a,U(e[t],n,t))})),a;function i(e,t){ -n&&(t=t.map((e=>e.toLowerCase()))),t.forEach((n=>{const t=n.split("|") -;a[t[0]]=[e,j(t[0],t[1])]}))}}function j(e,n){ -return n?Number(n):(e=>F.includes(e.toLowerCase()))(e)?0:1}const P={},K=e=>{ -console.error(e)},H=(e,...n)=>{console.log("WARN: "+e,...n)},q=(e,n)=>{ -P[`${e}/${n}`]||(console.log(`Deprecated as of ${e}. ${n}`),P[`${e}/${n}`]=!0) -},Z=Error();function G(e,n,{key:t}){let a=0;const i=e[t],r={},s={} -;for(let e=1;e<=n.length;e++)s[e+a]=i[e],r[e+a]=!0,a+=_(n[e-1]) -;e[t]=s,e[t]._emit=r,e[t]._multi=!0}function W(e){(e=>{ -e.scope&&"object"==typeof e.scope&&null!==e.scope&&(e.beginScope=e.scope, -delete e.scope)})(e),"string"==typeof e.beginScope&&(e.beginScope={ -_wrap:e.beginScope}),"string"==typeof e.endScope&&(e.endScope={_wrap:e.endScope -}),(e=>{if(Array.isArray(e.begin)){ -if(e.skip||e.excludeBegin||e.returnBegin)throw K("skip, excludeBegin, returnBegin not compatible with beginScope: {}"), -Z -;if("object"!=typeof e.beginScope||null===e.beginScope)throw K("beginScope must be object"), -Z;G(e,e.begin,{key:"beginScope"}),e.begin=f(e.begin,{joinWith:""})}})(e),(e=>{ -if(Array.isArray(e.end)){ -if(e.skip||e.excludeEnd||e.returnEnd)throw K("skip, excludeEnd, returnEnd not compatible with endScope: {}"), -Z -;if("object"!=typeof e.endScope||null===e.endScope)throw K("endScope must be object"), -Z;G(e,e.end,{key:"endScope"}),e.end=f(e.end,{joinWith:""})}})(e)}function Q(e){ -function n(n,t){ -return RegExp(d(n),"m"+(e.case_insensitive?"i":"")+(e.unicodeRegex?"u":"")+(t?"g":"")) -}class t{constructor(){ -this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0} -addRule(e,n){ -n.position=this.position++,this.matchIndexes[this.matchAt]=n,this.regexes.push([n,e]), -this.matchAt+=_(e)+1}compile(){0===this.regexes.length&&(this.exec=()=>null) -;const e=this.regexes.map((e=>e[1]));this.matcherRe=n(f(e,{joinWith:"|" -}),!0),this.lastIndex=0}exec(e){this.matcherRe.lastIndex=this.lastIndex -;const n=this.matcherRe.exec(e);if(!n)return null -;const t=n.findIndex(((e,n)=>n>0&&void 0!==e)),a=this.matchIndexes[t] -;return n.splice(0,t),Object.assign(n,a)}}class a{constructor(){ -this.rules=[],this.multiRegexes=[], -this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(e){ -if(this.multiRegexes[e])return this.multiRegexes[e];const n=new t -;return this.rules.slice(e).forEach((([e,t])=>n.addRule(e,t))), -n.compile(),this.multiRegexes[e]=n,n}resumingScanAtSamePosition(){ -return 0!==this.regexIndex}considerAll(){this.regexIndex=0}addRule(e,n){ -this.rules.push([e,n]),"begin"===n.type&&this.count++}exec(e){ -const n=this.getMatcher(this.regexIndex);n.lastIndex=this.lastIndex -;let t=n.exec(e) -;if(this.resumingScanAtSamePosition())if(t&&t.index===this.lastIndex);else{ -const n=this.getMatcher(0);n.lastIndex=this.lastIndex+1,t=n.exec(e)} -return t&&(this.regexIndex+=t.position+1, -this.regexIndex===this.count&&this.considerAll()),t}} -if(e.compilerExtensions||(e.compilerExtensions=[]), -e.contains&&e.contains.includes("self"))throw Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.") -;return e.classNameAliases=i(e.classNameAliases||{}),function t(r,s){const o=r -;if(r.isCompiled)return o -;[D,B,W,z].forEach((e=>e(r,s))),e.compilerExtensions.forEach((e=>e(r,s))), -r.__beforeBegin=null,[I,L,$].forEach((e=>e(r,s))),r.isCompiled=!0;let l=null -;return"object"==typeof r.keywords&&r.keywords.$pattern&&(r.keywords=Object.assign({},r.keywords), -l=r.keywords.$pattern, -delete r.keywords.$pattern),l=l||/\w+/,r.keywords&&(r.keywords=U(r.keywords,e.case_insensitive)), -o.keywordPatternRe=n(l,!0), -s&&(r.begin||(r.begin=/\B|\b/),o.beginRe=n(o.begin),r.end||r.endsWithParent||(r.end=/\B|\b/), -r.end&&(o.endRe=n(o.end)), -o.terminatorEnd=d(o.end)||"",r.endsWithParent&&s.terminatorEnd&&(o.terminatorEnd+=(r.end?"|":"")+s.terminatorEnd)), -r.illegal&&(o.illegalRe=n(r.illegal)), -r.contains||(r.contains=[]),r.contains=[].concat(...r.contains.map((e=>(e=>(e.variants&&!e.cachedVariants&&(e.cachedVariants=e.variants.map((n=>i(e,{ -variants:null},n)))),e.cachedVariants?e.cachedVariants:X(e)?i(e,{ -starts:e.starts?i(e.starts):null -}):Object.isFrozen(e)?i(e):e))("self"===e?r:e)))),r.contains.forEach((e=>{t(e,o) -})),r.starts&&t(r.starts,s),o.matcher=(e=>{const n=new a -;return e.contains.forEach((e=>n.addRule(e.begin,{rule:e,type:"begin" -}))),e.terminatorEnd&&n.addRule(e.terminatorEnd,{type:"end" -}),e.illegal&&n.addRule(e.illegal,{type:"illegal"}),n})(o),o}(e)}function X(e){ -return!!e&&(e.endsWithParent||X(e.starts))}class V extends Error{ -constructor(e,n){super(e),this.name="HTMLInjectionError",this.html=n}} -const J=a,Y=i,ee=Symbol("nomatch");var ne=(n=>{ -const a=Object.create(null),i=Object.create(null),r=[];let s=!0 -;const o="Could not find the language '{}', did you forget to load/include a language module?",l={ -disableAutodetect:!0,name:"Plain text",contains:[]};let d={ -ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i, -languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-", -cssSelector:"pre code",languages:null,__emitter:c};function _(e){ -return d.noHighlightRe.test(e)}function h(e,n,t){let a="",i="" -;"object"==typeof n?(a=e, -t=n.ignoreIllegals,i=n.language):(q("10.7.0","highlight(lang, code, ...args) has been deprecated."), -q("10.7.0","Please use highlight(code, options) instead.\nhttps://github.com/highlightjs/highlight.js/issues/2277"), -i=e,a=n),void 0===t&&(t=!0);const r={code:a,language:i};x("before:highlight",r) -;const s=r.result?r.result:f(r.language,r.code,t) -;return s.code=r.code,x("after:highlight",s),s}function f(e,n,i,r){ -const l=Object.create(null);function c(){if(!k.keywords)return void M.addText(S) -;let e=0;k.keywordPatternRe.lastIndex=0;let n=k.keywordPatternRe.exec(S),t="" -;for(;n;){t+=S.substring(e,n.index) -;const i=w.case_insensitive?n[0].toLowerCase():n[0],r=(a=i,k.keywords[a]);if(r){ -const[e,a]=r -;if(M.addText(t),t="",l[i]=(l[i]||0)+1,l[i]<=7&&(A+=a),e.startsWith("_"))t+=n[0];else{ -const t=w.classNameAliases[e]||e;M.addKeyword(n[0],t)}}else t+=n[0] -;e=k.keywordPatternRe.lastIndex,n=k.keywordPatternRe.exec(S)}var a -;t+=S.substring(e),M.addText(t)}function g(){null!=k.subLanguage?(()=>{ -if(""===S)return;let e=null;if("string"==typeof k.subLanguage){ -if(!a[k.subLanguage])return void M.addText(S) -;e=f(k.subLanguage,S,!0,x[k.subLanguage]),x[k.subLanguage]=e._top -}else e=E(S,k.subLanguage.length?k.subLanguage:null) -;k.relevance>0&&(A+=e.relevance),M.addSublanguage(e._emitter,e.language) -})():c(),S=""}function u(e,n){let t=1;const a=n.length-1;for(;t<=a;){ -if(!e._emit[t]){t++;continue}const a=w.classNameAliases[e[t]]||e[t],i=n[t] -;a?M.addKeyword(i,a):(S=i,c(),S=""),t++}}function b(e,n){ -return e.scope&&"string"==typeof e.scope&&M.openNode(w.classNameAliases[e.scope]||e.scope), -e.beginScope&&(e.beginScope._wrap?(M.addKeyword(S,w.classNameAliases[e.beginScope._wrap]||e.beginScope._wrap), -S=""):e.beginScope._multi&&(u(e.beginScope,n),S="")),k=Object.create(e,{parent:{ -value:k}}),k}function m(e,n,a){let i=((e,n)=>{const t=e&&e.exec(n) -;return t&&0===t.index})(e.endRe,a);if(i){if(e["on:end"]){const a=new t(e) -;e["on:end"](n,a),a.isMatchIgnored&&(i=!1)}if(i){ -for(;e.endsParent&&e.parent;)e=e.parent;return e}} -if(e.endsWithParent)return m(e.parent,n,a)}function p(e){ -return 0===k.matcher.regexIndex?(S+=e[0],1):(R=!0,0)}function _(e){ -const t=e[0],a=n.substring(e.index),i=m(k,e,a);if(!i)return ee;const r=k -;k.endScope&&k.endScope._wrap?(g(), -M.addKeyword(t,k.endScope._wrap)):k.endScope&&k.endScope._multi?(g(), -u(k.endScope,e)):r.skip?S+=t:(r.returnEnd||r.excludeEnd||(S+=t), -g(),r.excludeEnd&&(S=t));do{ -k.scope&&M.closeNode(),k.skip||k.subLanguage||(A+=k.relevance),k=k.parent -}while(k!==i.parent);return i.starts&&b(i.starts,e),r.returnEnd?0:t.length} -let h={};function y(a,r){const o=r&&r[0];if(S+=a,null==o)return g(),0 -;if("begin"===h.type&&"end"===r.type&&h.index===r.index&&""===o){ -if(S+=n.slice(r.index,r.index+1),!s){const n=Error(`0 width match regex (${e})`) -;throw n.languageName=e,n.badRule=h.rule,n}return 1} -if(h=r,"begin"===r.type)return(e=>{ -const n=e[0],a=e.rule,i=new t(a),r=[a.__beforeBegin,a["on:begin"]] -;for(const t of r)if(t&&(t(e,i),i.isMatchIgnored))return p(n) -;return a.skip?S+=n:(a.excludeBegin&&(S+=n), -g(),a.returnBegin||a.excludeBegin||(S=n)),b(a,e),a.returnBegin?0:n.length})(r) -;if("illegal"===r.type&&!i){ -const e=Error('Illegal lexeme "'+o+'" for mode "'+(k.scope||"")+'"') -;throw e.mode=k,e}if("end"===r.type){const e=_(r);if(e!==ee)return e} -if("illegal"===r.type&&""===o)return 1 -;if(T>1e5&&T>3*r.index)throw Error("potential infinite loop, way more iterations than matches") -;return S+=o,o.length}const w=v(e) -;if(!w)throw K(o.replace("{}",e)),Error('Unknown language: "'+e+'"') -;const N=Q(w);let O="",k=r||N;const x={},M=new d.__emitter(d);(()=>{const e=[] -;for(let n=k;n!==w;n=n.parent)n.scope&&e.unshift(n.scope) -;e.forEach((e=>M.openNode(e)))})();let S="",A=0,C=0,T=0,R=!1;try{ -for(k.matcher.considerAll();;){ -T++,R?R=!1:k.matcher.considerAll(),k.matcher.lastIndex=C -;const e=k.matcher.exec(n);if(!e)break;const t=y(n.substring(C,e.index),e) -;C=e.index+t} -return y(n.substring(C)),M.closeAllNodes(),M.finalize(),O=M.toHTML(),{ -language:e,value:O,relevance:A,illegal:!1,_emitter:M,_top:k}}catch(t){ -if(t.message&&t.message.includes("Illegal"))return{language:e,value:J(n), -illegal:!0,relevance:0,_illegalBy:{message:t.message,index:C, -context:n.slice(C-100,C+100),mode:t.mode,resultSoFar:O},_emitter:M};if(s)return{ -language:e,value:J(n),illegal:!1,relevance:0,errorRaised:t,_emitter:M,_top:k} -;throw t}}function E(e,n){n=n||d.languages||Object.keys(a);const t=(e=>{ -const n={value:J(e),illegal:!1,relevance:0,_top:l,_emitter:new d.__emitter(d)} -;return n._emitter.addText(e),n})(e),i=n.filter(v).filter(k).map((n=>f(n,e,!1))) -;i.unshift(t);const r=i.sort(((e,n)=>{ -if(e.relevance!==n.relevance)return n.relevance-e.relevance -;if(e.language&&n.language){if(v(e.language).supersetOf===n.language)return 1 -;if(v(n.language).supersetOf===e.language)return-1}return 0})),[s,o]=r,c=s -;return c.secondBest=o,c}function y(e){let n=null;const t=(e=>{ -let n=e.className+" ";n+=e.parentNode?e.parentNode.className:"" -;const t=d.languageDetectRe.exec(n);if(t){const n=v(t[1]) -;return n||(H(o.replace("{}",t[1])), -H("Falling back to no-highlight mode for this block.",e)),n?t[1]:"no-highlight"} -return n.split(/\s+/).find((e=>_(e)||v(e)))})(e);if(_(t))return -;if(x("before:highlightElement",{el:e,language:t -}),e.children.length>0&&(d.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."), -console.warn("https://github.com/highlightjs/highlight.js/wiki/security"), -console.warn("The element with unescaped HTML:"), -console.warn(e)),d.throwUnescapedHTML))throw new V("One of your code blocks includes unescaped HTML.",e.innerHTML) -;n=e;const a=n.textContent,r=t?h(a,{language:t,ignoreIllegals:!0}):E(a) -;e.innerHTML=r.value,((e,n,t)=>{const a=n&&i[n]||t -;e.classList.add("hljs"),e.classList.add("language-"+a) -})(e,t,r.language),e.result={language:r.language,re:r.relevance, -relevance:r.relevance},r.secondBest&&(e.secondBest={ -language:r.secondBest.language,relevance:r.secondBest.relevance -}),x("after:highlightElement",{el:e,result:r,text:a})}let w=!1;function N(){ -"loading"!==document.readyState?document.querySelectorAll(d.cssSelector).forEach(y):w=!0 -}function v(e){return e=(e||"").toLowerCase(),a[e]||a[i[e]]} -function O(e,{languageName:n}){"string"==typeof e&&(e=[e]),e.forEach((e=>{ -i[e.toLowerCase()]=n}))}function k(e){const n=v(e) -;return n&&!n.disableAutodetect}function x(e,n){const t=e;r.forEach((e=>{ -e[t]&&e[t](n)}))} -"undefined"!=typeof window&&window.addEventListener&&window.addEventListener("DOMContentLoaded",(()=>{ -w&&N()}),!1),Object.assign(n,{highlight:h,highlightAuto:E,highlightAll:N, -highlightElement:y, -highlightBlock:e=>(q("10.7.0","highlightBlock will be removed entirely in v12.0"), -q("10.7.0","Please use highlightElement now."),y(e)),configure:e=>{d=Y(d,e)}, -initHighlighting:()=>{ -N(),q("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")}, -initHighlightingOnLoad:()=>{ -N(),q("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.") -},registerLanguage:(e,t)=>{let i=null;try{i=t(n)}catch(n){ -if(K("Language definition for '{}' could not be registered.".replace("{}",e)), -!s)throw n;K(n),i=l} -i.name||(i.name=e),a[e]=i,i.rawDefinition=t.bind(null,n),i.aliases&&O(i.aliases,{ -languageName:e})},unregisterLanguage:e=>{delete a[e] -;for(const n of Object.keys(i))i[n]===e&&delete i[n]}, -listLanguages:()=>Object.keys(a),getLanguage:v,registerAliases:O, -autoDetection:k,inherit:Y,addPlugin:e=>{(e=>{ -e["before:highlightBlock"]&&!e["before:highlightElement"]&&(e["before:highlightElement"]=n=>{ -e["before:highlightBlock"](Object.assign({block:n.el},n)) -}),e["after:highlightBlock"]&&!e["after:highlightElement"]&&(e["after:highlightElement"]=n=>{ -e["after:highlightBlock"](Object.assign({block:n.el},n))})})(e),r.push(e)} -}),n.debugMode=()=>{s=!1},n.safeMode=()=>{s=!0 -},n.versionString="11.7.0",n.regex={concat:m,lookahead:g,either:p,optional:b, -anyNumberOfTimes:u};for(const n in T)"object"==typeof T[n]&&e.exports(T[n]) -;return Object.assign(n,T),n})({});const te=e=>({IMPORTANT:{scope:"meta", -begin:"!important"},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{ -scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/}, -FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/}, -ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$", -contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{ -scope:"number", -begin:e.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?", -relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z][A-Za-z0-9_-]*/} -}),ae=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],ie=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],re=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],se=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],oe=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse(),le=re.concat(se) -;var ce="\\.([0-9](_*[0-9])*)",de="[0-9a-fA-F](_*[0-9a-fA-F])*",ge={ -className:"number",variants:[{ -begin:`(\\b([0-9](_*[0-9])*)((${ce})|\\.)?|(${ce}))[eE][+-]?([0-9](_*[0-9])*)[fFdD]?\\b` -},{begin:`\\b([0-9](_*[0-9])*)((${ce})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{ -begin:`(${ce})[fFdD]?\\b`},{begin:"\\b([0-9](_*[0-9])*)[fFdD]\\b"},{ -begin:`\\b0[xX]((${de})\\.?|(${de})?\\.(${de}))[pP][+-]?([0-9](_*[0-9])*)[fFdD]?\\b` -},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${de})[lL]?\\b`},{ -begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}], -relevance:0};function ue(e,n,t){return-1===t?"":e.replace(n,(a=>ue(e,n,t-1)))} -const be="[A-Za-z$_][0-9A-Za-z$_]*",me=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],pe=["true","false","null","undefined","NaN","Infinity"],_e=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],he=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],fe=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],Ee=["arguments","this","super","console","window","document","localStorage","module","global"],ye=[].concat(fe,_e,he) -;function we(e){const n=e.regex,t=be,a={begin:/<[A-Za-z0-9\\._:-]+/, -end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(e,n)=>{ -const t=e[0].length+e.index,a=e.input[t] -;if("<"===a||","===a)return void n.ignoreMatch();let i -;">"===a&&(((e,{after:n})=>{const t="",k={ -match:[/const|var|let/,/\s+/,t,/\s*/,/=\s*/,/(async\s*)?/,n.lookahead(O)], -keywords:"async",className:{1:"keyword",3:"title.function"},contains:[_]} -;return{name:"Javascript",aliases:["js","jsx","mjs","cjs"],keywords:i,exports:{ -PARAMS_CONTAINS:p,CLASS_REFERENCE:f},illegal:/#(?![$_A-z])/, -contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),{ -label:"use_strict",className:"meta",relevance:10, -begin:/^\s*['"]use (strict|asm)['"]/ -},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,c,d,g,u,{match:/\$\d+/},o,f,{ -className:"attr",begin:t+n.lookahead(":"),relevance:0},k,{ -begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*", -keywords:"return throw case",relevance:0,contains:[u,e.REGEXP_MODE,{ -className:"function",begin:O,returnBegin:!0,end:"\\s*=>",contains:[{ -className:"params",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{ -className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0, -excludeEnd:!0,keywords:i,contains:p}]}]},{begin:/,/,relevance:0},{match:/\s+/, -relevance:0},{variants:[{begin:"<>",end:""},{ -match:/<[A-Za-z0-9\\._:-]+\s*\/>/},{begin:a.begin, -"on:begin":a.isTrulyOpeningTag,end:a.end}],subLanguage:"xml",contains:[{ -begin:a.begin,end:a.end,skip:!0,contains:["self"]}]}]},E,{ -beginKeywords:"while if switch catch for"},{ -begin:"\\b(?!function)"+e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{", -returnBegin:!0,label:"func.def",contains:[_,e.inherit(e.TITLE_MODE,{begin:t, -className:"title.function"})]},{match:/\.\.\./,relevance:0},N,{match:"\\$"+t, -relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"}, -contains:[_]},y,{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/, -className:"variable.constant"},h,v,{match:/\$[(.]/}]}} -const Ne=e=>m(/\b/,e,/\w$/.test(e)?/\b/:/\B/),ve=["Protocol","Type"].map(Ne),Oe=["init","self"].map(Ne),ke=["Any","Self"],xe=["actor","any","associatedtype","async","await",/as\?/,/as!/,"as","break","case","catch","class","continue","convenience","default","defer","deinit","didSet","distributed","do","dynamic","else","enum","extension","fallthrough",/fileprivate\(set\)/,"fileprivate","final","for","func","get","guard","if","import","indirect","infix",/init\?/,/init!/,"inout",/internal\(set\)/,"internal","in","is","isolated","nonisolated","lazy","let","mutating","nonmutating",/open\(set\)/,"open","operator","optional","override","postfix","precedencegroup","prefix",/private\(set\)/,"private","protocol",/public\(set\)/,"public","repeat","required","rethrows","return","set","some","static","struct","subscript","super","switch","throws","throw",/try\?/,/try!/,"try","typealias",/unowned\(safe\)/,/unowned\(unsafe\)/,"unowned","var","weak","where","while","willSet"],Me=["false","nil","true"],Se=["assignment","associativity","higherThan","left","lowerThan","none","right"],Ae=["#colorLiteral","#column","#dsohandle","#else","#elseif","#endif","#error","#file","#fileID","#fileLiteral","#filePath","#function","#if","#imageLiteral","#keyPath","#line","#selector","#sourceLocation","#warn_unqualified_access","#warning"],Ce=["abs","all","any","assert","assertionFailure","debugPrint","dump","fatalError","getVaList","isKnownUniquelyReferenced","max","min","numericCast","pointwiseMax","pointwiseMin","precondition","preconditionFailure","print","readLine","repeatElement","sequence","stride","swap","swift_unboxFromSwiftValueWithType","transcode","type","unsafeBitCast","unsafeDowncast","withExtendedLifetime","withUnsafeMutablePointer","withUnsafePointer","withVaList","withoutActuallyEscaping","zip"],Te=p(/[/=\-+!*%<>&|^~?]/,/[\u00A1-\u00A7]/,/[\u00A9\u00AB]/,/[\u00AC\u00AE]/,/[\u00B0\u00B1]/,/[\u00B6\u00BB\u00BF\u00D7\u00F7]/,/[\u2016-\u2017]/,/[\u2020-\u2027]/,/[\u2030-\u203E]/,/[\u2041-\u2053]/,/[\u2055-\u205E]/,/[\u2190-\u23FF]/,/[\u2500-\u2775]/,/[\u2794-\u2BFF]/,/[\u2E00-\u2E7F]/,/[\u3001-\u3003]/,/[\u3008-\u3020]/,/[\u3030]/),Re=p(Te,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),De=m(Te,Re,"*"),Ie=p(/[a-zA-Z_]/,/[\u00A8\u00AA\u00AD\u00AF\u00B2-\u00B5\u00B7-\u00BA]/,/[\u00BC-\u00BE\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF]/,/[\u0100-\u02FF\u0370-\u167F\u1681-\u180D\u180F-\u1DBF]/,/[\u1E00-\u1FFF]/,/[\u200B-\u200D\u202A-\u202E\u203F-\u2040\u2054\u2060-\u206F]/,/[\u2070-\u20CF\u2100-\u218F\u2460-\u24FF\u2776-\u2793]/,/[\u2C00-\u2DFF\u2E80-\u2FFF]/,/[\u3004-\u3007\u3021-\u302F\u3031-\u303F\u3040-\uD7FF]/,/[\uF900-\uFD3D\uFD40-\uFDCF\uFDF0-\uFE1F\uFE30-\uFE44]/,/[\uFE47-\uFEFE\uFF00-\uFFFD]/),Le=p(Ie,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),Be=m(Ie,Le,"*"),$e=m(/[A-Z]/,Le,"*"),ze=["autoclosure",m(/convention\(/,p("swift","block","c"),/\)/),"discardableResult","dynamicCallable","dynamicMemberLookup","escaping","frozen","GKInspectable","IBAction","IBDesignable","IBInspectable","IBOutlet","IBSegueAction","inlinable","main","nonobjc","NSApplicationMain","NSCopying","NSManaged",m(/objc\(/,Be,/\)/),"objc","objcMembers","propertyWrapper","requires_stored_property_inits","resultBuilder","testable","UIApplicationMain","unknown","usableFromInline"],Fe=["iOS","iOSApplicationExtension","macOS","macOSApplicationExtension","macCatalyst","macCatalystApplicationExtension","watchOS","watchOSApplicationExtension","tvOS","tvOSApplicationExtension","swift"] -;var Ue=Object.freeze({__proto__:null,grmr_bash:e=>{const n=e.regex,t={},a={ -begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[t]}]} -;Object.assign(t,{className:"variable",variants:[{ -begin:n.concat(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},a]});const i={ -className:"subst",begin:/\$\(/,end:/\)/,contains:[e.BACKSLASH_ESCAPE]},r={ -begin:/<<-?\s*(?=\w+)/,starts:{contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/, -end:/(\w+)/,className:"string"})]}},s={className:"string",begin:/"/,end:/"/, -contains:[e.BACKSLASH_ESCAPE,t,i]};i.contains.push(s);const o={begin:/\$?\(\(/, -end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},e.NUMBER_MODE,t] -},l=e.SHEBANG({binary:"(fish|bash|zsh|sh|csh|ksh|tcsh|dash|scsh)",relevance:10 -}),c={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0, -contains:[e.inherit(e.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0};return{ -name:"Bash",aliases:["sh"],keywords:{$pattern:/\b[a-z][a-z0-9._-]+\b/, -keyword:["if","then","else","elif","fi","for","while","in","do","done","case","esac","function"], -literal:["true","false"], -built_in:["break","cd","continue","eval","exec","exit","export","getopts","hash","pwd","readonly","return","shift","test","times","trap","umask","unset","alias","bind","builtin","caller","command","declare","echo","enable","help","let","local","logout","mapfile","printf","read","readarray","source","type","typeset","ulimit","unalias","set","shopt","autoload","bg","bindkey","bye","cap","chdir","clone","comparguments","compcall","compctl","compdescribe","compfiles","compgroups","compquote","comptags","comptry","compvalues","dirs","disable","disown","echotc","echoti","emulate","fc","fg","float","functions","getcap","getln","history","integer","jobs","kill","limit","log","noglob","popd","print","pushd","pushln","rehash","sched","setcap","setopt","stat","suspend","ttyctl","unfunction","unhash","unlimit","unsetopt","vared","wait","whence","where","which","zcompile","zformat","zftp","zle","zmodload","zparseopts","zprof","zpty","zregexparse","zsocket","zstyle","ztcp","chcon","chgrp","chown","chmod","cp","dd","df","dir","dircolors","ln","ls","mkdir","mkfifo","mknod","mktemp","mv","realpath","rm","rmdir","shred","sync","touch","truncate","vdir","b2sum","base32","base64","cat","cksum","comm","csplit","cut","expand","fmt","fold","head","join","md5sum","nl","numfmt","od","paste","ptx","pr","sha1sum","sha224sum","sha256sum","sha384sum","sha512sum","shuf","sort","split","sum","tac","tail","tr","tsort","unexpand","uniq","wc","arch","basename","chroot","date","dirname","du","echo","env","expr","factor","groups","hostid","id","link","logname","nice","nohup","nproc","pathchk","pinky","printenv","printf","pwd","readlink","runcon","seq","sleep","stat","stdbuf","stty","tee","test","timeout","tty","uname","unlink","uptime","users","who","whoami","yes"] -},contains:[l,e.SHEBANG(),c,o,e.HASH_COMMENT_MODE,r,{match:/(\/[a-z._-]+)+/},s,{ -className:"",begin:/\\"/},{className:"string",begin:/'/,end:/'/},t]}}, -grmr_c:e=>{const n=e.regex,t=e.COMMENT("//","$",{contains:[{begin:/\\\n/}] -}),a="[a-zA-Z_]\\w*::",i="(decltype\\(auto\\)|"+n.optional(a)+"[a-zA-Z_]\\w*"+n.optional("<[^<>]+>")+")",r={ -className:"type",variants:[{begin:"\\b[a-z\\d_]*_t\\b"},{ -match:/\batomic_[a-z]{3,6}\b/}]},s={className:"string",variants:[{ -begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{ -begin:"(u8?|U|L)?'(\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)|.)", -end:"'",illegal:"."},e.END_SAME_AS_BEGIN({ -begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},o={ -className:"number",variants:[{begin:"\\b(0b[01']+)"},{ -begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)" -},{ -begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)" -}],relevance:0},l={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{ -keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include" -},contains:[{begin:/\\\n/,relevance:0},e.inherit(s,{className:"string"}),{ -className:"string",begin:/<.*?>/},t,e.C_BLOCK_COMMENT_MODE]},c={ -className:"title",begin:n.optional(a)+e.IDENT_RE,relevance:0 -},d=n.optional(a)+e.IDENT_RE+"\\s*\\(",g={ -keyword:["asm","auto","break","case","continue","default","do","else","enum","extern","for","fortran","goto","if","inline","register","restrict","return","sizeof","struct","switch","typedef","union","volatile","while","_Alignas","_Alignof","_Atomic","_Generic","_Noreturn","_Static_assert","_Thread_local","alignas","alignof","noreturn","static_assert","thread_local","_Pragma"], -type:["float","double","signed","unsigned","int","short","long","char","void","_Bool","_Complex","_Imaginary","_Decimal32","_Decimal64","_Decimal128","const","static","complex","bool","imaginary"], -literal:"true false NULL", -built_in:"std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set pair bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap priority_queue make_pair array shared_ptr abort terminate abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf future isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr" -},u=[l,r,t,e.C_BLOCK_COMMENT_MODE,o,s],b={variants:[{begin:/=/,end:/;/},{ -begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}], -keywords:g,contains:u.concat([{begin:/\(/,end:/\)/,keywords:g, -contains:u.concat(["self"]),relevance:0}]),relevance:0},m={ -begin:"("+i+"[\\*&\\s]+)+"+d,returnBegin:!0,end:/[{;=]/,excludeEnd:!0, -keywords:g,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:"decltype\\(auto\\)", -keywords:g,relevance:0},{begin:d,returnBegin:!0,contains:[e.inherit(c,{ -className:"title.function"})],relevance:0},{relevance:0,match:/,/},{ -className:"params",begin:/\(/,end:/\)/,keywords:g,relevance:0, -contains:[t,e.C_BLOCK_COMMENT_MODE,s,o,r,{begin:/\(/,end:/\)/,keywords:g, -relevance:0,contains:["self",t,e.C_BLOCK_COMMENT_MODE,s,o,r]}] -},r,t,e.C_BLOCK_COMMENT_MODE,l]};return{name:"C",aliases:["h"],keywords:g, -disableAutodetect:!0,illegal:"=]/,contains:[{ -beginKeywords:"final class struct"},e.TITLE_MODE]}]),exports:{preprocessor:l, -strings:s,keywords:g}}},grmr_cpp:e=>{const n=e.regex,t=e.COMMENT("//","$",{ -contains:[{begin:/\\\n/}] -}),a="[a-zA-Z_]\\w*::",i="(?!struct)(decltype\\(auto\\)|"+n.optional(a)+"[a-zA-Z_]\\w*"+n.optional("<[^<>]+>")+")",r={ -className:"type",begin:"\\b[a-z\\d_]*_t\\b"},s={className:"string",variants:[{ -begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{ -begin:"(u8?|U|L)?'(\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)|.)", -end:"'",illegal:"."},e.END_SAME_AS_BEGIN({ -begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},o={ -className:"number",variants:[{begin:"\\b(0b[01']+)"},{ -begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)" -},{ -begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)" -}],relevance:0},l={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{ -keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include" -},contains:[{begin:/\\\n/,relevance:0},e.inherit(s,{className:"string"}),{ -className:"string",begin:/<.*?>/},t,e.C_BLOCK_COMMENT_MODE]},c={ -className:"title",begin:n.optional(a)+e.IDENT_RE,relevance:0 -},d=n.optional(a)+e.IDENT_RE+"\\s*\\(",g={ -type:["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"], -keyword:["alignas","alignof","and","and_eq","asm","atomic_cancel","atomic_commit","atomic_noexcept","auto","bitand","bitor","break","case","catch","class","co_await","co_return","co_yield","compl","concept","const_cast|10","consteval","constexpr","constinit","continue","decltype","default","delete","do","dynamic_cast|10","else","enum","explicit","export","extern","false","final","for","friend","goto","if","import","inline","module","mutable","namespace","new","noexcept","not","not_eq","nullptr","operator","or","or_eq","override","private","protected","public","reflexpr","register","reinterpret_cast|10","requires","return","sizeof","static_assert","static_cast|10","struct","switch","synchronized","template","this","thread_local","throw","transaction_safe","transaction_safe_dynamic","true","try","typedef","typeid","typename","union","using","virtual","volatile","while","xor","xor_eq"], -literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"], -_type_hints:["any","auto_ptr","barrier","binary_semaphore","bitset","complex","condition_variable","condition_variable_any","counting_semaphore","deque","false_type","future","imaginary","initializer_list","istringstream","jthread","latch","lock_guard","multimap","multiset","mutex","optional","ostringstream","packaged_task","pair","promise","priority_queue","queue","recursive_mutex","recursive_timed_mutex","scoped_lock","set","shared_future","shared_lock","shared_mutex","shared_timed_mutex","shared_ptr","stack","string_view","stringstream","timed_mutex","thread","true_type","tuple","unique_lock","unique_ptr","unordered_map","unordered_multimap","unordered_multiset","unordered_set","variant","vector","weak_ptr","wstring","wstring_view"] -},u={className:"function.dispatch",relevance:0,keywords:{ -_hint:["abort","abs","acos","apply","as_const","asin","atan","atan2","calloc","ceil","cerr","cin","clog","cos","cosh","cout","declval","endl","exchange","exit","exp","fabs","floor","fmod","forward","fprintf","fputs","free","frexp","fscanf","future","invoke","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","labs","launder","ldexp","log","log10","make_pair","make_shared","make_shared_for_overwrite","make_tuple","make_unique","malloc","memchr","memcmp","memcpy","memset","modf","move","pow","printf","putchar","puts","realloc","scanf","sin","sinh","snprintf","sprintf","sqrt","sscanf","std","stderr","stdin","stdout","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","swap","tan","tanh","terminate","to_underlying","tolower","toupper","vfprintf","visit","vprintf","vsprintf"] -}, -begin:n.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,e.IDENT_RE,n.lookahead(/(<[^<>]+>|)\s*\(/)) -},b=[u,l,r,t,e.C_BLOCK_COMMENT_MODE,o,s],m={variants:[{begin:/=/,end:/;/},{ -begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}], -keywords:g,contains:b.concat([{begin:/\(/,end:/\)/,keywords:g, -contains:b.concat(["self"]),relevance:0}]),relevance:0},p={className:"function", -begin:"("+i+"[\\*&\\s]+)+"+d,returnBegin:!0,end:/[{;=]/,excludeEnd:!0, -keywords:g,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:"decltype\\(auto\\)", -keywords:g,relevance:0},{begin:d,returnBegin:!0,contains:[c],relevance:0},{ -begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[s,o]},{ -relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:g, -relevance:0,contains:[t,e.C_BLOCK_COMMENT_MODE,s,o,r,{begin:/\(/,end:/\)/, -keywords:g,relevance:0,contains:["self",t,e.C_BLOCK_COMMENT_MODE,s,o,r]}] -},r,t,e.C_BLOCK_COMMENT_MODE,l]};return{name:"C++", -aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:g,illegal:"",keywords:g,contains:["self",r]},{begin:e.IDENT_RE+"::",keywords:g},{ -match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/], -className:{1:"keyword",3:"title.class"}}])}},grmr_csharp:e=>{const n={ -keyword:["abstract","as","base","break","case","catch","class","const","continue","do","else","event","explicit","extern","finally","fixed","for","foreach","goto","if","implicit","in","interface","internal","is","lock","namespace","new","operator","out","override","params","private","protected","public","readonly","record","ref","return","scoped","sealed","sizeof","stackalloc","static","struct","switch","this","throw","try","typeof","unchecked","unsafe","using","virtual","void","volatile","while"].concat(["add","alias","and","ascending","async","await","by","descending","equals","from","get","global","group","init","into","join","let","nameof","not","notnull","on","or","orderby","partial","remove","select","set","unmanaged","value|0","var","when","where","with","yield"]), -built_in:["bool","byte","char","decimal","delegate","double","dynamic","enum","float","int","long","nint","nuint","object","sbyte","short","string","ulong","uint","ushort"], -literal:["default","false","null","true"]},t=e.inherit(e.TITLE_MODE,{ -begin:"[a-zA-Z](\\.?\\w)*"}),a={className:"number",variants:[{ -begin:"\\b(0b[01']+)"},{ -begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)(u|U|l|L|ul|UL|f|F|b|B)"},{ -begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)" -}],relevance:0},i={className:"string",begin:'@"',end:'"',contains:[{begin:'""'}] -},r=e.inherit(i,{illegal:/\n/}),s={className:"subst",begin:/\{/,end:/\}/, -keywords:n},o=e.inherit(s,{illegal:/\n/}),l={className:"string",begin:/\$"/, -end:'"',illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/ -},e.BACKSLASH_ESCAPE,o]},c={className:"string",begin:/\$@"/,end:'"',contains:[{ -begin:/\{\{/},{begin:/\}\}/},{begin:'""'},s]},d=e.inherit(c,{illegal:/\n/, -contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},o]}) -;s.contains=[c,l,i,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,a,e.C_BLOCK_COMMENT_MODE], -o.contains=[d,l,r,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,a,e.inherit(e.C_BLOCK_COMMENT_MODE,{ -illegal:/\n/})];const g={variants:[c,l,i,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE] -},u={begin:"<",end:">",contains:[{beginKeywords:"in out"},t] -},b=e.IDENT_RE+"(<"+e.IDENT_RE+"(\\s*,\\s*"+e.IDENT_RE+")*>)?(\\[\\])?",m={ -begin:"@"+e.IDENT_RE,relevance:0};return{name:"C#",aliases:["cs","c#"], -keywords:n,illegal:/::/,contains:[e.COMMENT("///","$",{returnBegin:!0, -contains:[{className:"doctag",variants:[{begin:"///",relevance:0},{ -begin:"\x3c!--|--\x3e"},{begin:""}]}] -}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"meta",begin:"#", -end:"$",keywords:{ -keyword:"if else elif endif define undef warning error line region endregion pragma checksum" -}},g,a,{beginKeywords:"class interface",relevance:0,end:/[{;=]/, -illegal:/[^\s:,]/,contains:[{beginKeywords:"where class" -},t,u,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"namespace", -relevance:0,end:/[{;=]/,illegal:/[^\s:]/, -contains:[t,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{ -beginKeywords:"record",relevance:0,end:/[{;=]/,illegal:/[^\s:]/, -contains:[t,u,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"meta", -begin:"^\\s*\\[(?=[\\w])",excludeBegin:!0,end:"\\]",excludeEnd:!0,contains:[{ -className:"string",begin:/"/,end:/"/}]},{ -beginKeywords:"new return throw await else",relevance:0},{className:"function", -begin:"("+b+"\\s+)+"+e.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0, -end:/\s*[{;=]/,excludeEnd:!0,keywords:n,contains:[{ -beginKeywords:"public private protected static internal protected abstract async extern override unsafe virtual new sealed partial", -relevance:0},{begin:e.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0, -contains:[e.TITLE_MODE,u],relevance:0},{match:/\(\)/},{className:"params", -begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:n,relevance:0, -contains:[g,a,e.C_BLOCK_COMMENT_MODE] -},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},m]}},grmr_css:e=>{ -const n=e.regex,t=te(e),a=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE];return{ -name:"CSS",case_insensitive:!0,illegal:/[=|'\$]/,keywords:{ -keyframePosition:"from to"},classNameAliases:{keyframePosition:"selector-tag"}, -contains:[t.BLOCK_COMMENT,{begin:/-(webkit|moz|ms|o)-(?=[a-z])/ -},t.CSS_NUMBER_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/,relevance:0 -},{className:"selector-class",begin:"\\.[a-zA-Z-][a-zA-Z0-9_-]*",relevance:0 -},t.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{ -begin:":("+re.join("|")+")"},{begin:":(:)?("+se.join("|")+")"}] -},t.CSS_VARIABLE,{className:"attribute",begin:"\\b("+oe.join("|")+")\\b"},{ -begin:/:/,end:/[;}{]/, -contains:[t.BLOCK_COMMENT,t.HEXCOLOR,t.IMPORTANT,t.CSS_NUMBER_MODE,...a,{ -begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri" -},contains:[...a,{className:"string",begin:/[^)]/,endsWithParent:!0, -excludeEnd:!0}]},t.FUNCTION_DISPATCH]},{begin:n.lookahead(/@/),end:"[{;]", -relevance:0,illegal:/:/,contains:[{className:"keyword",begin:/@-?\w[\w]*(-\w+)*/ -},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{ -$pattern:/[a-z-]+/,keyword:"and or not only",attribute:ie.join(" ")},contains:[{ -begin:/[a-z-]+(?=:)/,className:"attribute"},...a,t.CSS_NUMBER_MODE]}]},{ -className:"selector-tag",begin:"\\b("+ae.join("|")+")\\b"}]}},grmr_diff:e=>{ -const n=e.regex;return{name:"Diff",aliases:["patch"],contains:[{ -className:"meta",relevance:10, -match:n.either(/^@@ +-\d+,\d+ +\+\d+,\d+ +@@/,/^\*\*\* +\d+,\d+ +\*\*\*\*$/,/^--- +\d+,\d+ +----$/) -},{className:"comment",variants:[{ -begin:n.either(/Index: /,/^index/,/={3,}/,/^-{3}/,/^\*{3} /,/^\+{3}/,/^diff --git/), -end:/$/},{match:/^\*{15}$/}]},{className:"addition",begin:/^\+/,end:/$/},{ -className:"deletion",begin:/^-/,end:/$/},{className:"addition",begin:/^!/, -end:/$/}]}},grmr_go:e=>{const n={ -keyword:["break","case","chan","const","continue","default","defer","else","fallthrough","for","func","go","goto","if","import","interface","map","package","range","return","select","struct","switch","type","var"], -type:["bool","byte","complex64","complex128","error","float32","float64","int8","int16","int32","int64","string","uint8","uint16","uint32","uint64","int","uint","uintptr","rune"], -literal:["true","false","iota","nil"], -built_in:["append","cap","close","complex","copy","imag","len","make","new","panic","print","println","real","recover","delete"] -};return{name:"Go",aliases:["golang"],keywords:n,illegal:"{const n=e.regex;return{name:"GraphQL",aliases:["gql"], -case_insensitive:!0,disableAutodetect:!1,keywords:{ -keyword:["query","mutation","subscription","type","input","schema","directive","interface","union","scalar","fragment","enum","on"], -literal:["true","false","null"]}, -contains:[e.HASH_COMMENT_MODE,e.QUOTE_STRING_MODE,e.NUMBER_MODE,{ -scope:"punctuation",match:/[.]{3}/,relevance:0},{scope:"punctuation", -begin:/[\!\(\)\:\=\[\]\{\|\}]{1}/,relevance:0},{scope:"variable",begin:/\$/, -end:/\W/,excludeEnd:!0,relevance:0},{scope:"meta",match:/@\w+/,excludeEnd:!0},{ -scope:"symbol",begin:n.concat(/[_A-Za-z][_0-9A-Za-z]*/,n.lookahead(/\s*:/)), -relevance:0}],illegal:[/[;<']/,/BEGIN/]}},grmr_ini:e=>{const n=e.regex,t={ -className:"number",relevance:0,variants:[{begin:/([+-]+)?[\d]+_[\d_]+/},{ -begin:e.NUMBER_RE}]},a=e.COMMENT();a.variants=[{begin:/;/,end:/$/},{begin:/#/, -end:/$/}];const i={className:"variable",variants:[{begin:/\$[\w\d"][\w\d_]*/},{ -begin:/\$\{(.*?)\}/}]},r={className:"literal", -begin:/\bon|off|true|false|yes|no\b/},s={className:"string", -contains:[e.BACKSLASH_ESCAPE],variants:[{begin:"'''",end:"'''",relevance:10},{ -begin:'"""',end:'"""',relevance:10},{begin:'"',end:'"'},{begin:"'",end:"'"}] -},o={begin:/\[/,end:/\]/,contains:[a,r,i,s,t,"self"],relevance:0 -},l=n.either(/[A-Za-z0-9_-]+/,/"(\\"|[^"])*"/,/'[^']*'/);return{ -name:"TOML, also INI",aliases:["toml"],case_insensitive:!0,illegal:/\S/, -contains:[a,{className:"section",begin:/\[+/,end:/\]+/},{ -begin:n.concat(l,"(\\s*\\.\\s*",l,")*",n.lookahead(/\s*=\s*[^#\s]/)), -className:"attr",starts:{end:/$/,contains:[a,o,r,i,s,t]}}]}},grmr_java:e=>{ -const n=e.regex,t="[\xc0-\u02b8a-zA-Z_$][\xc0-\u02b8a-zA-Z_$0-9]*",a=t+ue("(?:<"+t+"~~~(?:\\s*,\\s*"+t+"~~~)*>)?",/~~~/g,2),i={ -keyword:["synchronized","abstract","private","var","static","if","const ","for","while","strictfp","finally","protected","import","native","final","void","enum","else","break","transient","catch","instanceof","volatile","case","assert","package","default","public","try","switch","continue","throws","protected","public","private","module","requires","exports","do","sealed","yield","permits"], -literal:["false","true","null"], -type:["char","boolean","long","float","int","byte","short","double"], -built_in:["super","this"]},r={className:"meta",begin:"@"+t,contains:[{ -begin:/\(/,end:/\)/,contains:["self"]}]},s={className:"params",begin:/\(/, -end:/\)/,keywords:i,relevance:0,contains:[e.C_BLOCK_COMMENT_MODE],endsParent:!0} -;return{name:"Java",aliases:["jsp"],keywords:i,illegal:/<\/|#/, -contains:[e.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/, -relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]}),{ -begin:/import java\.[a-z]+\./,keywords:"import",relevance:2 -},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{begin:/"""/,end:/"""/, -className:"string",contains:[e.BACKSLASH_ESCAPE] -},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{ -match:[/\b(?:class|interface|enum|extends|implements|new)/,/\s+/,t],className:{ -1:"keyword",3:"title.class"}},{match:/non-sealed/,scope:"keyword"},{ -begin:[n.concat(/(?!else)/,t),/\s+/,t,/\s+/,/=(?!=)/],className:{1:"type", -3:"variable",5:"operator"}},{begin:[/record/,/\s+/,t],className:{1:"keyword", -3:"title.class"},contains:[s,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{ -beginKeywords:"new throw return else",relevance:0},{ -begin:["(?:"+a+"\\s+)",e.UNDERSCORE_IDENT_RE,/\s*(?=\()/],className:{ -2:"title.function"},keywords:i,contains:[{className:"params",begin:/\(/, -end:/\)/,keywords:i,relevance:0, -contains:[r,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,ge,e.C_BLOCK_COMMENT_MODE] -},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},ge,r]}},grmr_javascript:we, -grmr_json:e=>{const n=["true","false","null"],t={scope:"literal", -beginKeywords:n.join(" ")};return{name:"JSON",keywords:{literal:n},contains:[{ -className:"attr",begin:/"(\\.|[^\\"\r\n])*"(?=\s*:)/,relevance:1.01},{ -match:/[{}[\],:]/,className:"punctuation",relevance:0 -},e.QUOTE_STRING_MODE,t,e.C_NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE], -illegal:"\\S"}},grmr_kotlin:e=>{const n={ -keyword:"abstract as val var vararg get set class object open private protected public noinline crossinline dynamic final enum if else do while for when throw try catch finally import package is in fun override companion reified inline lateinit init interface annotation data sealed internal infix operator out by constructor super tailrec where const inner suspend typealias external expect actual", -built_in:"Byte Short Char Int Long Boolean Float Double Void Unit Nothing", -literal:"true false null"},t={className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"@" -},a={className:"subst",begin:/\$\{/,end:/\}/,contains:[e.C_NUMBER_MODE]},i={ -className:"variable",begin:"\\$"+e.UNDERSCORE_IDENT_RE},r={className:"string", -variants:[{begin:'"""',end:'"""(?=[^"])',contains:[i,a]},{begin:"'",end:"'", -illegal:/\n/,contains:[e.BACKSLASH_ESCAPE]},{begin:'"',end:'"',illegal:/\n/, -contains:[e.BACKSLASH_ESCAPE,i,a]}]};a.contains.push(r);const s={ -className:"meta", -begin:"@(?:file|property|field|get|set|receiver|param|setparam|delegate)\\s*:(?:\\s*"+e.UNDERSCORE_IDENT_RE+")?" -},o={className:"meta",begin:"@"+e.UNDERSCORE_IDENT_RE,contains:[{begin:/\(/, -end:/\)/,contains:[e.inherit(r,{className:"string"}),"self"]}] -},l=ge,c=e.COMMENT("/\\*","\\*/",{contains:[e.C_BLOCK_COMMENT_MODE]}),d={ -variants:[{className:"type",begin:e.UNDERSCORE_IDENT_RE},{begin:/\(/,end:/\)/, -contains:[]}]},g=d;return g.variants[1].contains=[d],d.variants[1].contains=[g], -{name:"Kotlin",aliases:["kt","kts"],keywords:n, -contains:[e.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{className:"doctag", -begin:"@[A-Za-z]+"}]}),e.C_LINE_COMMENT_MODE,c,{className:"keyword", -begin:/\b(break|continue|return|this)\b/,starts:{contains:[{className:"symbol", -begin:/@\w+/}]}},t,s,o,{className:"function",beginKeywords:"fun",end:"[(]|$", -returnBegin:!0,excludeEnd:!0,keywords:n,relevance:5,contains:[{ -begin:e.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,relevance:0, -contains:[e.UNDERSCORE_TITLE_MODE]},{className:"type",begin://, -keywords:"reified",relevance:0},{className:"params",begin:/\(/,end:/\)/, -endsParent:!0,keywords:n,relevance:0,contains:[{begin:/:/,end:/[=,\/]/, -endsWithParent:!0,contains:[d,e.C_LINE_COMMENT_MODE,c],relevance:0 -},e.C_LINE_COMMENT_MODE,c,s,o,r,e.C_NUMBER_MODE]},c]},{ -begin:[/class|interface|trait/,/\s+/,e.UNDERSCORE_IDENT_RE],beginScope:{ -3:"title.class"},keywords:"class interface trait",end:/[:\{(]|$/,excludeEnd:!0, -illegal:"extends implements",contains:[{ -beginKeywords:"public protected internal private constructor" -},e.UNDERSCORE_TITLE_MODE,{className:"type",begin://,excludeBegin:!0, -excludeEnd:!0,relevance:0},{className:"type",begin:/[,:]\s*/,end:/[<\(,){\s]|$/, -excludeBegin:!0,returnEnd:!0},s,o]},r,{className:"meta",begin:"^#!/usr/bin/env", -end:"$",illegal:"\n"},l]}},grmr_less:e=>{ -const n=te(e),t=le,a="([\\w-]+|@\\{[\\w-]+\\})",i=[],r=[],s=e=>({ -className:"string",begin:"~?"+e+".*?"+e}),o=(e,n,t)=>({className:e,begin:n, -relevance:t}),l={$pattern:/[a-z-]+/,keyword:"and or not only", -attribute:ie.join(" ")},c={begin:"\\(",end:"\\)",contains:r,keywords:l, -relevance:0} -;r.push(e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,s("'"),s('"'),n.CSS_NUMBER_MODE,{ -begin:"(url|data-uri)\\(",starts:{className:"string",end:"[\\)\\n]", -excludeEnd:!0} -},n.HEXCOLOR,c,o("variable","@@?[\\w-]+",10),o("variable","@\\{[\\w-]+\\}"),o("built_in","~?`[^`]*?`"),{ -className:"attribute",begin:"[\\w-]+\\s*:",end:":",returnBegin:!0,excludeEnd:!0 -},n.IMPORTANT,{beginKeywords:"and not"},n.FUNCTION_DISPATCH);const d=r.concat({ -begin:/\{/,end:/\}/,contains:i}),g={beginKeywords:"when",endsWithParent:!0, -contains:[{beginKeywords:"and not"}].concat(r)},u={begin:a+"\\s*:", -returnBegin:!0,end:/[;}]/,relevance:0,contains:[{begin:/-(webkit|moz|ms|o)-/ -},n.CSS_VARIABLE,{className:"attribute",begin:"\\b("+oe.join("|")+")\\b", -end:/(?=:)/,starts:{endsWithParent:!0,illegal:"[<=$]",relevance:0,contains:r}}] -},b={className:"keyword", -begin:"@(import|media|charset|font-face|(-[a-z]+-)?keyframes|supports|document|namespace|page|viewport|host)\\b", -starts:{end:"[;{}]",keywords:l,returnEnd:!0,contains:r,relevance:0}},m={ -className:"variable",variants:[{begin:"@[\\w-]+\\s*:",relevance:15},{ -begin:"@[\\w-]+"}],starts:{end:"[;}]",returnEnd:!0,contains:d}},p={variants:[{ -begin:"[\\.#:&\\[>]",end:"[;{}]"},{begin:a,end:/\{/}],returnBegin:!0, -returnEnd:!0,illegal:"[<='$\"]",relevance:0, -contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,g,o("keyword","all\\b"),o("variable","@\\{[\\w-]+\\}"),{ -begin:"\\b("+ae.join("|")+")\\b",className:"selector-tag" -},n.CSS_NUMBER_MODE,o("selector-tag",a,0),o("selector-id","#"+a),o("selector-class","\\."+a,0),o("selector-tag","&",0),n.ATTRIBUTE_SELECTOR_MODE,{ -className:"selector-pseudo",begin:":("+re.join("|")+")"},{ -className:"selector-pseudo",begin:":(:)?("+se.join("|")+")"},{begin:/\(/, -end:/\)/,relevance:0,contains:d},{begin:"!important"},n.FUNCTION_DISPATCH]},_={ -begin:`[\\w-]+:(:)?(${t.join("|")})`,returnBegin:!0,contains:[p]} -;return i.push(e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,b,m,_,u,p,g,n.FUNCTION_DISPATCH), -{name:"Less",case_insensitive:!0,illegal:"[=>'/<($\"]",contains:i}}, -grmr_lua:e=>{const n="\\[=*\\[",t="\\]=*\\]",a={begin:n,end:t,contains:["self"] -},i=[e.COMMENT("--(?!\\[=*\\[)","$"),e.COMMENT("--\\[=*\\[",t,{contains:[a], -relevance:10})];return{name:"Lua",keywords:{$pattern:e.UNDERSCORE_IDENT_RE, -literal:"true false nil", -keyword:"and break do else elseif end for goto if in local not or repeat return then until while", -built_in:"_G _ENV _VERSION __index __newindex __mode __call __metatable __tostring __len __gc __add __sub __mul __div __mod __pow __concat __unm __eq __lt __le assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall arg self coroutine resume yield status wrap create running debug getupvalue debug sethook getmetatable gethook setmetatable setlocal traceback setfenv getinfo setupvalue getlocal getregistry getfenv io lines write close flush open output type read stderr stdin input stdout popen tmpfile math log max acos huge ldexp pi cos tanh pow deg tan cosh sinh random randomseed frexp ceil floor rad abs sqrt modf asin min mod fmod log10 atan2 exp sin atan os exit setlocale date getenv difftime remove time clock tmpname rename execute package preload loadlib loaded loaders cpath config path seeall string sub upper len gfind rep find match char dump gmatch reverse byte format gsub lower table setn insert getn foreachi maxn foreach concat sort remove" -},contains:i.concat([{className:"function",beginKeywords:"function",end:"\\)", -contains:[e.inherit(e.TITLE_MODE,{ -begin:"([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*"}),{className:"params", -begin:"\\(",endsWithParent:!0,contains:i}].concat(i) -},e.C_NUMBER_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"string", -begin:n,end:t,contains:[a],relevance:5}])}},grmr_makefile:e=>{const n={ -className:"variable",variants:[{begin:"\\$\\("+e.UNDERSCORE_IDENT_RE+"\\)", -contains:[e.BACKSLASH_ESCAPE]},{begin:/\$[@%{ -const n=e.regex,t=n.concat(/[\p{L}_]/u,n.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),a={ -className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},i={begin:/\s/, -contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}] -},r=e.inherit(i,{begin:/\(/,end:/\)/}),s=e.inherit(e.APOS_STRING_MODE,{ -className:"string"}),o=e.inherit(e.QUOTE_STRING_MODE,{className:"string"}),l={ -endsWithParent:!0,illegal:/`]+/}]}]}]};return{ -name:"HTML, XML", -aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"], -case_insensitive:!0,unicodeRegex:!0,contains:[{className:"meta",begin://,relevance:10,contains:[i,o,s,r,{begin:/\[/,end:/\]/,contains:[{ -className:"meta",begin://,contains:[i,r,o,s]}]}] -},e.COMMENT(//,{relevance:10}),{begin://, -relevance:10},a,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/, -relevance:10,contains:[o]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag", -begin:/)/,end:/>/,keywords:{name:"style"},contains:[l],starts:{ -end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag", -begin:/)/,end:/>/,keywords:{name:"script"},contains:[l],starts:{ -end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{ -className:"tag",begin:/<>|<\/>/},{className:"tag", -begin:n.concat(//,/>/,/\s/)))), -end:/\/?>/,contains:[{className:"name",begin:t,relevance:0,starts:l}]},{ -className:"tag",begin:n.concat(/<\//,n.lookahead(n.concat(t,/>/))),contains:[{ -className:"name",begin:t,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]} -},grmr_markdown:e=>{const n={begin:/<\/?[A-Za-z_]/,end:">",subLanguage:"xml", -relevance:0},t={variants:[{begin:/\[.+?\]\[.*?\]/,relevance:0},{ -begin:/\[.+?\]\(((data|javascript|mailto):|(?:http|ftp)s?:\/\/).*?\)/, -relevance:2},{ -begin:e.regex.concat(/\[.+?\]\(/,/[A-Za-z][A-Za-z0-9+.-]*/,/:\/\/.*?\)/), -relevance:2},{begin:/\[.+?\]\([./?&#].*?\)/,relevance:1},{ -begin:/\[.*?\]\(.*?\)/,relevance:0}],returnBegin:!0,contains:[{match:/\[(?=\])/ -},{className:"string",relevance:0,begin:"\\[",end:"\\]",excludeBegin:!0, -returnEnd:!0},{className:"link",relevance:0,begin:"\\]\\(",end:"\\)", -excludeBegin:!0,excludeEnd:!0},{className:"symbol",relevance:0,begin:"\\]\\[", -end:"\\]",excludeBegin:!0,excludeEnd:!0}]},a={className:"strong",contains:[], -variants:[{begin:/_{2}(?!\s)/,end:/_{2}/},{begin:/\*{2}(?!\s)/,end:/\*{2}/}] -},i={className:"emphasis",contains:[],variants:[{begin:/\*(?![*\s])/,end:/\*/},{ -begin:/_(?![_\s])/,end:/_/,relevance:0}]},r=e.inherit(a,{contains:[] -}),s=e.inherit(i,{contains:[]});a.contains.push(s),i.contains.push(r) -;let o=[n,t];return[a,i,r,s].forEach((e=>{e.contains=e.contains.concat(o) -})),o=o.concat(a,i),{name:"Markdown",aliases:["md","mkdown","mkd"],contains:[{ -className:"section",variants:[{begin:"^#{1,6}",end:"$",contains:o},{ -begin:"(?=^.+?\\n[=-]{2,}$)",contains:[{begin:"^[=-]*$"},{begin:"^",end:"\\n", -contains:o}]}]},n,{className:"bullet",begin:"^[ \t]*([*+-]|(\\d+\\.))(?=\\s+)", -end:"\\s+",excludeEnd:!0},a,i,{className:"quote",begin:"^>\\s+",contains:o, -end:"$"},{className:"code",variants:[{begin:"(`{3,})[^`](.|\\n)*?\\1`*[ ]*"},{ -begin:"(~{3,})[^~](.|\\n)*?\\1~*[ ]*"},{begin:"```",end:"```+[ ]*$"},{ -begin:"~~~",end:"~~~+[ ]*$"},{begin:"`.+?`"},{begin:"(?=^( {4}|\\t))", -contains:[{begin:"^( {4}|\\t)",end:"(\\n)$"}],relevance:0}]},{ -begin:"^[-\\*]{3,}",end:"$"},t,{begin:/^\[[^\n]+\]:/,returnBegin:!0,contains:[{ -className:"symbol",begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0},{ -className:"link",begin:/:\s*/,end:/$/,excludeBegin:!0}]}]}},grmr_objectivec:e=>{ -const n=/[a-zA-Z@][a-zA-Z0-9_]*/,t={$pattern:n, -keyword:["@interface","@class","@protocol","@implementation"]};return{ -name:"Objective-C",aliases:["mm","objc","obj-c","obj-c++","objective-c++"], -keywords:{"variable.language":["this","super"],$pattern:n, -keyword:["while","export","sizeof","typedef","const","struct","for","union","volatile","static","mutable","if","do","return","goto","enum","else","break","extern","asm","case","default","register","explicit","typename","switch","continue","inline","readonly","assign","readwrite","self","@synchronized","id","typeof","nonatomic","IBOutlet","IBAction","strong","weak","copy","in","out","inout","bycopy","byref","oneway","__strong","__weak","__block","__autoreleasing","@private","@protected","@public","@try","@property","@end","@throw","@catch","@finally","@autoreleasepool","@synthesize","@dynamic","@selector","@optional","@required","@encode","@package","@import","@defs","@compatibility_alias","__bridge","__bridge_transfer","__bridge_retained","__bridge_retain","__covariant","__contravariant","__kindof","_Nonnull","_Nullable","_Null_unspecified","__FUNCTION__","__PRETTY_FUNCTION__","__attribute__","getter","setter","retain","unsafe_unretained","nonnull","nullable","null_unspecified","null_resettable","class","instancetype","NS_DESIGNATED_INITIALIZER","NS_UNAVAILABLE","NS_REQUIRES_SUPER","NS_RETURNS_INNER_POINTER","NS_INLINE","NS_AVAILABLE","NS_DEPRECATED","NS_ENUM","NS_OPTIONS","NS_SWIFT_UNAVAILABLE","NS_ASSUME_NONNULL_BEGIN","NS_ASSUME_NONNULL_END","NS_REFINED_FOR_SWIFT","NS_SWIFT_NAME","NS_SWIFT_NOTHROW","NS_DURING","NS_HANDLER","NS_ENDHANDLER","NS_VALUERETURN","NS_VOIDRETURN"], -literal:["false","true","FALSE","TRUE","nil","YES","NO","NULL"], -built_in:["dispatch_once_t","dispatch_queue_t","dispatch_sync","dispatch_async","dispatch_once"], -type:["int","float","char","unsigned","signed","short","long","double","wchar_t","unichar","void","bool","BOOL","id|0","_Bool"] -},illegal:"/,end:/$/,illegal:"\\n" -},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"class", -begin:"("+t.keyword.join("|")+")\\b",end:/(\{|$)/,excludeEnd:!0,keywords:t, -contains:[e.UNDERSCORE_TITLE_MODE]},{begin:"\\."+e.UNDERSCORE_IDENT_RE, -relevance:0}]}},grmr_perl:e=>{const n=e.regex,t=/[dualxmsipngr]{0,12}/,a={ -$pattern:/[\w.]+/, -keyword:"abs accept alarm and atan2 bind binmode bless break caller chdir chmod chomp chop chown chr chroot close closedir connect continue cos crypt dbmclose dbmopen defined delete die do dump each else elsif endgrent endhostent endnetent endprotoent endpwent endservent eof eval exec exists exit exp fcntl fileno flock for foreach fork format formline getc getgrent getgrgid getgrnam gethostbyaddr gethostbyname gethostent getlogin getnetbyaddr getnetbyname getnetent getpeername getpgrp getpriority getprotobyname getprotobynumber getprotoent getpwent getpwnam getpwuid getservbyname getservbyport getservent getsockname getsockopt given glob gmtime goto grep gt hex if index int ioctl join keys kill last lc lcfirst length link listen local localtime log lstat lt ma map mkdir msgctl msgget msgrcv msgsnd my ne next no not oct open opendir or ord our pack package pipe pop pos print printf prototype push q|0 qq quotemeta qw qx rand read readdir readline readlink readpipe recv redo ref rename require reset return reverse rewinddir rindex rmdir say scalar seek seekdir select semctl semget semop send setgrent sethostent setnetent setpgrp setpriority setprotoent setpwent setservent setsockopt shift shmctl shmget shmread shmwrite shutdown sin sleep socket socketpair sort splice split sprintf sqrt srand stat state study sub substr symlink syscall sysopen sysread sysseek system syswrite tell telldir tie tied time times tr truncate uc ucfirst umask undef unless unlink unpack unshift untie until use utime values vec wait waitpid wantarray warn when while write x|0 xor y|0" -},i={className:"subst",begin:"[$@]\\{",end:"\\}",keywords:a},r={begin:/->\{/, -end:/\}/},s={variants:[{begin:/\$\d/},{ -begin:n.concat(/[$%@](\^\w\b|#\w+(::\w+)*|\{\w+\}|\w+(::\w*)*)/,"(?![A-Za-z])(?![@$%])") -},{begin:/[$%@][^\s\w{]/,relevance:0}] -},o=[e.BACKSLASH_ESCAPE,i,s],l=[/!/,/\//,/\|/,/\?/,/'/,/"/,/#/],c=(e,a,i="\\1")=>{ -const r="\\1"===i?i:n.concat(i,a) -;return n.concat(n.concat("(?:",e,")"),a,/(?:\\.|[^\\\/])*?/,r,/(?:\\.|[^\\\/])*?/,i,t) -},d=(e,a,i)=>n.concat(n.concat("(?:",e,")"),a,/(?:\\.|[^\\\/])*?/,i,t),g=[s,e.HASH_COMMENT_MODE,e.COMMENT(/^=\w/,/=cut/,{ -endsWithParent:!0}),r,{className:"string",contains:o,variants:[{ -begin:"q[qwxr]?\\s*\\(",end:"\\)",relevance:5},{begin:"q[qwxr]?\\s*\\[", -end:"\\]",relevance:5},{begin:"q[qwxr]?\\s*\\{",end:"\\}",relevance:5},{ -begin:"q[qwxr]?\\s*\\|",end:"\\|",relevance:5},{begin:"q[qwxr]?\\s*<",end:">", -relevance:5},{begin:"qw\\s+q",end:"q",relevance:5},{begin:"'",end:"'", -contains:[e.BACKSLASH_ESCAPE]},{begin:'"',end:'"'},{begin:"`",end:"`", -contains:[e.BACKSLASH_ESCAPE]},{begin:/\{\w+\}/,relevance:0},{ -begin:"-?\\w+\\s*=>",relevance:0}]},{className:"number", -begin:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b", -relevance:0},{ -begin:"(\\/\\/|"+e.RE_STARTERS_RE+"|\\b(split|return|print|reverse|grep)\\b)\\s*", -keywords:"split return print reverse grep",relevance:0, -contains:[e.HASH_COMMENT_MODE,{className:"regexp",variants:[{ -begin:c("s|tr|y",n.either(...l,{capture:!0}))},{begin:c("s|tr|y","\\(","\\)")},{ -begin:c("s|tr|y","\\[","\\]")},{begin:c("s|tr|y","\\{","\\}")}],relevance:2},{ -className:"regexp",variants:[{begin:/(m|qr)\/\//,relevance:0},{ -begin:d("(?:m|qr)?",/\//,/\//)},{begin:d("m|qr",n.either(...l,{capture:!0 -}),/\1/)},{begin:d("m|qr",/\(/,/\)/)},{begin:d("m|qr",/\[/,/\]/)},{ -begin:d("m|qr",/\{/,/\}/)}]}]},{className:"function",beginKeywords:"sub", -end:"(\\s*\\(.*?\\))?[;{]",excludeEnd:!0,relevance:5,contains:[e.TITLE_MODE]},{ -begin:"-\\w\\b",relevance:0},{begin:"^__DATA__$",end:"^__END__$", -subLanguage:"mojolicious",contains:[{begin:"^@@.*",end:"$",className:"comment"}] -}];return i.contains=g,r.contains=g,{name:"Perl",aliases:["pl","pm"],keywords:a, -contains:g}},grmr_php:e=>{ -const n=e.regex,t=/(?![A-Za-z0-9])(?![$])/,a=n.concat(/[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/,t),i=n.concat(/(\\?[A-Z][a-z0-9_\x7f-\xff]+|\\?[A-Z]+(?=[A-Z][a-z0-9_\x7f-\xff])){1,}/,t),r={ -scope:"variable",match:"\\$+"+a},s={scope:"subst",variants:[{begin:/\$\w+/},{ -begin:/\{\$/,end:/\}/}]},o=e.inherit(e.APOS_STRING_MODE,{illegal:null -}),l="[ \t\n]",c={scope:"string",variants:[e.inherit(e.QUOTE_STRING_MODE,{ -illegal:null,contains:e.QUOTE_STRING_MODE.contains.concat(s) -}),o,e.END_SAME_AS_BEGIN({begin:/<<<[ \t]*(\w+)\n/,end:/[ \t]*(\w+)\b/, -contains:e.QUOTE_STRING_MODE.contains.concat(s)})]},d={scope:"number", -variants:[{begin:"\\b0[bB][01]+(?:_[01]+)*\\b"},{ -begin:"\\b0[oO][0-7]+(?:_[0-7]+)*\\b"},{ -begin:"\\b0[xX][\\da-fA-F]+(?:_[\\da-fA-F]+)*\\b"},{ -begin:"(?:\\b\\d+(?:_\\d+)*(\\.(?:\\d+(?:_\\d+)*))?|\\B\\.\\d+)(?:[eE][+-]?\\d+)?" -}],relevance:0 -},g=["false","null","true"],u=["__CLASS__","__DIR__","__FILE__","__FUNCTION__","__COMPILER_HALT_OFFSET__","__LINE__","__METHOD__","__NAMESPACE__","__TRAIT__","die","echo","exit","include","include_once","print","require","require_once","array","abstract","and","as","binary","bool","boolean","break","callable","case","catch","class","clone","const","continue","declare","default","do","double","else","elseif","empty","enddeclare","endfor","endforeach","endif","endswitch","endwhile","enum","eval","extends","final","finally","float","for","foreach","from","global","goto","if","implements","instanceof","insteadof","int","integer","interface","isset","iterable","list","match|0","mixed","new","never","object","or","private","protected","public","readonly","real","return","string","switch","throw","trait","try","unset","use","var","void","while","xor","yield"],b=["Error|0","AppendIterator","ArgumentCountError","ArithmeticError","ArrayIterator","ArrayObject","AssertionError","BadFunctionCallException","BadMethodCallException","CachingIterator","CallbackFilterIterator","CompileError","Countable","DirectoryIterator","DivisionByZeroError","DomainException","EmptyIterator","ErrorException","Exception","FilesystemIterator","FilterIterator","GlobIterator","InfiniteIterator","InvalidArgumentException","IteratorIterator","LengthException","LimitIterator","LogicException","MultipleIterator","NoRewindIterator","OutOfBoundsException","OutOfRangeException","OuterIterator","OverflowException","ParentIterator","ParseError","RangeException","RecursiveArrayIterator","RecursiveCachingIterator","RecursiveCallbackFilterIterator","RecursiveDirectoryIterator","RecursiveFilterIterator","RecursiveIterator","RecursiveIteratorIterator","RecursiveRegexIterator","RecursiveTreeIterator","RegexIterator","RuntimeException","SeekableIterator","SplDoublyLinkedList","SplFileInfo","SplFileObject","SplFixedArray","SplHeap","SplMaxHeap","SplMinHeap","SplObjectStorage","SplObserver","SplPriorityQueue","SplQueue","SplStack","SplSubject","SplTempFileObject","TypeError","UnderflowException","UnexpectedValueException","UnhandledMatchError","ArrayAccess","BackedEnum","Closure","Fiber","Generator","Iterator","IteratorAggregate","Serializable","Stringable","Throwable","Traversable","UnitEnum","WeakReference","WeakMap","Directory","__PHP_Incomplete_Class","parent","php_user_filter","self","static","stdClass"],m={ -keyword:u,literal:(e=>{const n=[];return e.forEach((e=>{ -n.push(e),e.toLowerCase()===e?n.push(e.toUpperCase()):n.push(e.toLowerCase()) -})),n})(g),built_in:b},p=e=>e.map((e=>e.replace(/\|\d+$/,""))),_={variants:[{ -match:[/new/,n.concat(l,"+"),n.concat("(?!",p(b).join("\\b|"),"\\b)"),i],scope:{ -1:"keyword",4:"title.class"}}]},h=n.concat(a,"\\b(?!\\()"),f={variants:[{ -match:[n.concat(/::/,n.lookahead(/(?!class\b)/)),h],scope:{2:"variable.constant" -}},{match:[/::/,/class/],scope:{2:"variable.language"}},{ -match:[i,n.concat(/::/,n.lookahead(/(?!class\b)/)),h],scope:{1:"title.class", -3:"variable.constant"}},{match:[i,n.concat("::",n.lookahead(/(?!class\b)/))], -scope:{1:"title.class"}},{match:[i,/::/,/class/],scope:{1:"title.class", -3:"variable.language"}}]},E={scope:"attr", -match:n.concat(a,n.lookahead(":"),n.lookahead(/(?!::)/))},y={relevance:0, -begin:/\(/,end:/\)/,keywords:m,contains:[E,r,f,e.C_BLOCK_COMMENT_MODE,c,d,_] -},w={relevance:0, -match:[/\b/,n.concat("(?!fn\\b|function\\b|",p(u).join("\\b|"),"|",p(b).join("\\b|"),"\\b)"),a,n.concat(l,"*"),n.lookahead(/(?=\()/)], -scope:{3:"title.function.invoke"},contains:[y]};y.contains.push(w) -;const N=[E,f,e.C_BLOCK_COMMENT_MODE,c,d,_];return{case_insensitive:!1, -keywords:m,contains:[{begin:n.concat(/#\[\s*/,i),beginScope:"meta",end:/]/, -endScope:"meta",keywords:{literal:g,keyword:["new","array"]},contains:[{ -begin:/\[/,end:/]/,keywords:{literal:g,keyword:["new","array"]}, -contains:["self",...N]},...N,{scope:"meta",match:i}] -},e.HASH_COMMENT_MODE,e.COMMENT("//","$"),e.COMMENT("/\\*","\\*/",{contains:[{ -scope:"doctag",match:"@[A-Za-z]+"}]}),{match:/__halt_compiler\(\);/, -keywords:"__halt_compiler",starts:{scope:"comment",end:e.MATCH_NOTHING_RE, -contains:[{match:/\?>/,scope:"meta",endsParent:!0}]}},{scope:"meta",variants:[{ -begin:/<\?php/,relevance:10},{begin:/<\?=/},{begin:/<\?/,relevance:.1},{ -begin:/\?>/}]},{scope:"variable.language",match:/\$this\b/},r,w,f,{ -match:[/const/,/\s/,a],scope:{1:"keyword",3:"variable.constant"}},_,{ -scope:"function",relevance:0,beginKeywords:"fn function",end:/[;{]/, -excludeEnd:!0,illegal:"[$%\\[]",contains:[{beginKeywords:"use" -},e.UNDERSCORE_TITLE_MODE,{begin:"=>",endsParent:!0},{scope:"params", -begin:"\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0,keywords:m, -contains:["self",r,f,e.C_BLOCK_COMMENT_MODE,c,d]}]},{scope:"class",variants:[{ -beginKeywords:"enum",illegal:/[($"]/},{beginKeywords:"class interface trait", -illegal:/[:($"]/}],relevance:0,end:/\{/,excludeEnd:!0,contains:[{ -beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},{ -beginKeywords:"namespace",relevance:0,end:";",illegal:/[.']/, -contains:[e.inherit(e.UNDERSCORE_TITLE_MODE,{scope:"title.class"})]},{ -beginKeywords:"use",relevance:0,end:";",contains:[{ -match:/\b(as|const|function)\b/,scope:"keyword"},e.UNDERSCORE_TITLE_MODE]},c,d]} -},grmr_php_template:e=>({name:"PHP template",subLanguage:"xml",contains:[{ -begin:/<\?(php|=)?/,end:/\?>/,subLanguage:"php",contains:[{begin:"/\\*", -end:"\\*/",skip:!0},{begin:'b"',end:'"',skip:!0},{begin:"b'",end:"'",skip:!0 -},e.inherit(e.APOS_STRING_MODE,{illegal:null,className:null,contains:null, -skip:!0}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null,className:null, -contains:null,skip:!0})]}]}),grmr_plaintext:e=>({name:"Plain text", -aliases:["text","txt"],disableAutodetect:!0}),grmr_python:e=>{ -const n=e.regex,t=/[\p{XID_Start}_]\p{XID_Continue}*/u,a=["and","as","assert","async","await","break","case","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","in","is","lambda","match","nonlocal|10","not","or","pass","raise","return","try","while","with","yield"],i={ -$pattern:/[A-Za-z]\w+|__\w+__/,keyword:a, -built_in:["__import__","abs","all","any","ascii","bin","bool","breakpoint","bytearray","bytes","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","exec","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip"], -literal:["__debug__","Ellipsis","False","None","NotImplemented","True"], -type:["Any","Callable","Coroutine","Dict","List","Literal","Generic","Optional","Sequence","Set","Tuple","Type","Union"] -},r={className:"meta",begin:/^(>>>|\.\.\.) /},s={className:"subst",begin:/\{/, -end:/\}/,keywords:i,illegal:/#/},o={begin:/\{\{/,relevance:0},l={ -className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{ -begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/, -contains:[e.BACKSLASH_ESCAPE,r],relevance:10},{ -begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/, -contains:[e.BACKSLASH_ESCAPE,r],relevance:10},{ -begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/, -contains:[e.BACKSLASH_ESCAPE,r,o,s]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/, -end:/"""/,contains:[e.BACKSLASH_ESCAPE,r,o,s]},{begin:/([uU]|[rR])'/,end:/'/, -relevance:10},{begin:/([uU]|[rR])"/,end:/"/,relevance:10},{ -begin:/([bB]|[bB][rR]|[rR][bB])'/,end:/'/},{begin:/([bB]|[bB][rR]|[rR][bB])"/, -end:/"/},{begin:/([fF][rR]|[rR][fF]|[fF])'/,end:/'/, -contains:[e.BACKSLASH_ESCAPE,o,s]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/, -contains:[e.BACKSLASH_ESCAPE,o,s]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE] -},c="[0-9](_?[0-9])*",d=`(\\b(${c}))?\\.(${c})|\\b(${c})\\.`,g="\\b|"+a.join("|"),u={ -className:"number",relevance:0,variants:[{ -begin:`(\\b(${c})|(${d}))[eE][+-]?(${c})[jJ]?(?=${g})`},{begin:`(${d})[jJ]?`},{ -begin:`\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=${g})`},{ -begin:`\\b0[bB](_?[01])+[lL]?(?=${g})`},{begin:`\\b0[oO](_?[0-7])+[lL]?(?=${g})` -},{begin:`\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=${g})`},{begin:`\\b(${c})[jJ](?=${g})` -}]},b={className:"comment",begin:n.lookahead(/# type:/),end:/$/,keywords:i, -contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},m={ -className:"params",variants:[{className:"",begin:/\(\s*\)/,skip:!0},{begin:/\(/, -end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:i, -contains:["self",r,u,l,e.HASH_COMMENT_MODE]}]};return s.contains=[l,u,r],{ -name:"Python",aliases:["py","gyp","ipython"],unicodeRegex:!0,keywords:i, -illegal:/(<\/|->|\?)|=>/,contains:[r,u,{begin:/\bself\b/},{beginKeywords:"if", -relevance:0},l,b,e.HASH_COMMENT_MODE,{match:[/\bdef/,/\s+/,t],scope:{ -1:"keyword",3:"title.function"},contains:[m]},{variants:[{ -match:[/\bclass/,/\s+/,t,/\s*/,/\(\s*/,t,/\s*\)/]},{match:[/\bclass/,/\s+/,t]}], -scope:{1:"keyword",3:"title.class",6:"title.class.inherited"}},{ -className:"meta",begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[u,m,l]}]}}, -grmr_python_repl:e=>({aliases:["pycon"],contains:[{className:"meta.prompt", -starts:{end:/ |$/,starts:{end:"$",subLanguage:"python"}},variants:[{ -begin:/^>>>(?=[ ]|$)/},{begin:/^\.\.\.(?=[ ]|$)/}]}]}),grmr_r:e=>{ -const n=e.regex,t=/(?:(?:[a-zA-Z]|\.[._a-zA-Z])[._a-zA-Z0-9]*)|\.(?!\d)/,a=n.either(/0[xX][0-9a-fA-F]+\.[0-9a-fA-F]*[pP][+-]?\d+i?/,/0[xX][0-9a-fA-F]+(?:[pP][+-]?\d+)?[Li]?/,/(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?[Li]?/),i=/[=!<>:]=|\|\||&&|:::?|<-|<<-|->>|->|\|>|[-+*\/?!$&|:<=>@^~]|\*\*/,r=n.either(/[()]/,/[{}]/,/\[\[/,/[[\]]/,/\\/,/,/) -;return{name:"R",keywords:{$pattern:t, -keyword:"function if in break next repeat else for while", -literal:"NULL NA TRUE FALSE Inf NaN NA_integer_|10 NA_real_|10 NA_character_|10 NA_complex_|10", -built_in:"LETTERS letters month.abb month.name pi T F abs acos acosh all any anyNA Arg as.call as.character as.complex as.double as.environment as.integer as.logical as.null.default as.numeric as.raw asin asinh atan atanh attr attributes baseenv browser c call ceiling class Conj cos cosh cospi cummax cummin cumprod cumsum digamma dim dimnames emptyenv exp expression floor forceAndCall gamma gc.time globalenv Im interactive invisible is.array is.atomic is.call is.character is.complex is.double is.environment is.expression is.finite is.function is.infinite is.integer is.language is.list is.logical is.matrix is.na is.name is.nan is.null is.numeric is.object is.pairlist is.raw is.recursive is.single is.symbol lazyLoadDBfetch length lgamma list log max min missing Mod names nargs nzchar oldClass on.exit pos.to.env proc.time prod quote range Re rep retracemem return round seq_along seq_len seq.int sign signif sin sinh sinpi sqrt standardGeneric substitute sum switch tan tanh tanpi tracemem trigamma trunc unclass untracemem UseMethod xtfrm" -},contains:[e.COMMENT(/#'/,/$/,{contains:[{scope:"doctag",match:/@examples/, -starts:{end:n.lookahead(n.either(/\n^#'\s*(?=@[a-zA-Z]+)/,/\n^(?!#')/)), -endsParent:!0}},{scope:"doctag",begin:"@param",end:/$/,contains:[{ -scope:"variable",variants:[{match:t},{match:/`(?:\\.|[^`\\])+`/}],endsParent:!0 -}]},{scope:"doctag",match:/@[a-zA-Z]+/},{scope:"keyword",match:/\\[a-zA-Z]+/}] -}),e.HASH_COMMENT_MODE,{scope:"string",contains:[e.BACKSLASH_ESCAPE], -variants:[e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\(/,end:/\)(-*)"/ -}),e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\{/,end:/\}(-*)"/ -}),e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\[/,end:/\](-*)"/ -}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\(/,end:/\)(-*)'/ -}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\{/,end:/\}(-*)'/ -}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\[/,end:/\](-*)'/}),{begin:'"',end:'"', -relevance:0},{begin:"'",end:"'",relevance:0}]},{relevance:0,variants:[{scope:{ -1:"operator",2:"number"},match:[i,a]},{scope:{1:"operator",2:"number"}, -match:[/%[^%]*%/,a]},{scope:{1:"punctuation",2:"number"},match:[r,a]},{scope:{ -2:"number"},match:[/[^a-zA-Z0-9._]|^/,a]}]},{scope:{3:"operator"}, -match:[t,/\s+/,/<-/,/\s+/]},{scope:"operator",relevance:0,variants:[{match:i},{ -match:/%[^%]*%/}]},{scope:"punctuation",relevance:0,match:r},{begin:"`",end:"`", -contains:[{begin:/\\./}]}]}},grmr_ruby:e=>{ -const n=e.regex,t="([a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?)",a=n.either(/\b([A-Z]+[a-z0-9]+)+/,/\b([A-Z]+[a-z0-9]+)+[A-Z]+/),i=n.concat(a,/(::\w+)*/),r={ -"variable.constant":["__FILE__","__LINE__","__ENCODING__"], -"variable.language":["self","super"], -keyword:["alias","and","begin","BEGIN","break","case","class","defined","do","else","elsif","end","END","ensure","for","if","in","module","next","not","or","redo","require","rescue","retry","return","then","undef","unless","until","when","while","yield","include","extend","prepend","public","private","protected","raise","throw"], -built_in:["proc","lambda","attr_accessor","attr_reader","attr_writer","define_method","private_constant","module_function"], -literal:["true","false","nil"]},s={className:"doctag",begin:"@[A-Za-z]+"},o={ -begin:"#<",end:">"},l=[e.COMMENT("#","$",{contains:[s] -}),e.COMMENT("^=begin","^=end",{contains:[s],relevance:10 -}),e.COMMENT("^__END__",e.MATCH_NOTHING_RE)],c={className:"subst",begin:/#\{/, -end:/\}/,keywords:r},d={className:"string",contains:[e.BACKSLASH_ESCAPE,c], -variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{ -begin:/%[qQwWx]?\(/,end:/\)/},{begin:/%[qQwWx]?\[/,end:/\]/},{ -begin:/%[qQwWx]?\{/,end:/\}/},{begin:/%[qQwWx]?/},{begin:/%[qQwWx]?\//, -end:/\//},{begin:/%[qQwWx]?%/,end:/%/},{begin:/%[qQwWx]?-/,end:/-/},{ -begin:/%[qQwWx]?\|/,end:/\|/},{begin:/\B\?(\\\d{1,3})/},{ -begin:/\B\?(\\x[A-Fa-f0-9]{1,2})/},{begin:/\B\?(\\u\{?[A-Fa-f0-9]{1,6}\}?)/},{ -begin:/\B\?(\\M-\\C-|\\M-\\c|\\c\\M-|\\M-|\\C-\\M-)[\x20-\x7e]/},{ -begin:/\B\?\\(c|C-)[\x20-\x7e]/},{begin:/\B\?\\?\S/},{ -begin:n.concat(/<<[-~]?'?/,n.lookahead(/(\w+)(?=\W)[^\n]*\n(?:[^\n]*\n)*?\s*\1\b/)), -contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/, -contains:[e.BACKSLASH_ESCAPE,c]})]}]},g="[0-9](_?[0-9])*",u={className:"number", -relevance:0,variants:[{ -begin:`\\b([1-9](_?[0-9])*|0)(\\.(${g}))?([eE][+-]?(${g})|r)?i?\\b`},{ -begin:"\\b0[dD][0-9](_?[0-9])*r?i?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*r?i?\\b" -},{begin:"\\b0[oO][0-7](_?[0-7])*r?i?\\b"},{ -begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*r?i?\\b"},{ -begin:"\\b0(_?[0-7])+r?i?\\b"}]},b={variants:[{match:/\(\)/},{ -className:"params",begin:/\(/,end:/(?=\))/,excludeBegin:!0,endsParent:!0, -keywords:r}]},m=[d,{variants:[{match:[/class\s+/,i,/\s+<\s+/,i]},{ -match:[/\b(class|module)\s+/,i]}],scope:{2:"title.class", -4:"title.class.inherited"},keywords:r},{match:[/(include|extend)\s+/,i],scope:{ -2:"title.class"},keywords:r},{relevance:0,match:[i,/\.new[. (]/],scope:{ -1:"title.class"}},{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/, -className:"variable.constant"},{relevance:0,match:a,scope:"title.class"},{ -match:[/def/,/\s+/,t],scope:{1:"keyword",3:"title.function"},contains:[b]},{ -begin:e.IDENT_RE+"::"},{className:"symbol", -begin:e.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol", -begin:":(?!\\s)",contains:[d,{begin:t}],relevance:0},u,{className:"variable", -begin:"(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])"},{ -className:"params",begin:/\|/,end:/\|/,excludeBegin:!0,excludeEnd:!0, -relevance:0,keywords:r},{begin:"("+e.RE_STARTERS_RE+"|unless)\\s*", -keywords:"unless",contains:[{className:"regexp",contains:[e.BACKSLASH_ESCAPE,c], -illegal:/\n/,variants:[{begin:"/",end:"/[a-z]*"},{begin:/%r\{/,end:/\}[a-z]*/},{ -begin:"%r\\(",end:"\\)[a-z]*"},{begin:"%r!",end:"![a-z]*"},{begin:"%r\\[", -end:"\\][a-z]*"}]}].concat(o,l),relevance:0}].concat(o,l) -;c.contains=m,b.contains=m;const p=[{begin:/^\s*=>/,starts:{end:"$",contains:m} -},{className:"meta.prompt", -begin:"^([>?]>|[\\w#]+\\(\\w+\\):\\d+:\\d+[>*]|(\\w+-)?\\d+\\.\\d+\\.\\d+(p\\d+)?[^\\d][^>]+>)(?=[ ])", -starts:{end:"$",keywords:r,contains:m}}];return l.unshift(o),{name:"Ruby", -aliases:["rb","gemspec","podspec","thor","irb"],keywords:r,illegal:/\/\*/, -contains:[e.SHEBANG({binary:"ruby"})].concat(p).concat(l).concat(m)}}, -grmr_rust:e=>{const n=e.regex,t={className:"title.function.invoke",relevance:0, -begin:n.concat(/\b/,/(?!let\b)/,e.IDENT_RE,n.lookahead(/\s*\(/)) -},a="([ui](8|16|32|64|128|size)|f(32|64))?",i=["drop ","Copy","Send","Sized","Sync","Drop","Fn","FnMut","FnOnce","ToOwned","Clone","Debug","PartialEq","PartialOrd","Eq","Ord","AsRef","AsMut","Into","From","Default","Iterator","Extend","IntoIterator","DoubleEndedIterator","ExactSizeIterator","SliceConcatExt","ToString","assert!","assert_eq!","bitflags!","bytes!","cfg!","col!","concat!","concat_idents!","debug_assert!","debug_assert_eq!","env!","panic!","file!","format!","format_args!","include_bytes!","include_str!","line!","local_data_key!","module_path!","option_env!","print!","println!","select!","stringify!","try!","unimplemented!","unreachable!","vec!","write!","writeln!","macro_rules!","assert_ne!","debug_assert_ne!"],r=["i8","i16","i32","i64","i128","isize","u8","u16","u32","u64","u128","usize","f32","f64","str","char","bool","Box","Option","Result","String","Vec"] -;return{name:"Rust",aliases:["rs"],keywords:{$pattern:e.IDENT_RE+"!?",type:r, -keyword:["abstract","as","async","await","become","box","break","const","continue","crate","do","dyn","else","enum","extern","false","final","fn","for","if","impl","in","let","loop","macro","match","mod","move","mut","override","priv","pub","ref","return","self","Self","static","struct","super","trait","true","try","type","typeof","unsafe","unsized","use","virtual","where","while","yield"], -literal:["true","false","Some","None","Ok","Err"],built_in:i},illegal:""},t]}}, -grmr_scss:e=>{const n=te(e),t=se,a=re,i="@[a-z-]+",r={className:"variable", -begin:"(\\$[a-zA-Z-][a-zA-Z0-9_-]*)\\b",relevance:0};return{name:"SCSS", -case_insensitive:!0,illegal:"[=/|']", -contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,n.CSS_NUMBER_MODE,{ -className:"selector-id",begin:"#[A-Za-z0-9_-]+",relevance:0},{ -className:"selector-class",begin:"\\.[A-Za-z0-9_-]+",relevance:0 -},n.ATTRIBUTE_SELECTOR_MODE,{className:"selector-tag", -begin:"\\b("+ae.join("|")+")\\b",relevance:0},{className:"selector-pseudo", -begin:":("+a.join("|")+")"},{className:"selector-pseudo", -begin:":(:)?("+t.join("|")+")"},r,{begin:/\(/,end:/\)/, -contains:[n.CSS_NUMBER_MODE]},n.CSS_VARIABLE,{className:"attribute", -begin:"\\b("+oe.join("|")+")\\b"},{ -begin:"\\b(whitespace|wait|w-resize|visible|vertical-text|vertical-ideographic|uppercase|upper-roman|upper-alpha|underline|transparent|top|thin|thick|text|text-top|text-bottom|tb-rl|table-header-group|table-footer-group|sw-resize|super|strict|static|square|solid|small-caps|separate|se-resize|scroll|s-resize|rtl|row-resize|ridge|right|repeat|repeat-y|repeat-x|relative|progress|pointer|overline|outside|outset|oblique|nowrap|not-allowed|normal|none|nw-resize|no-repeat|no-drop|newspaper|ne-resize|n-resize|move|middle|medium|ltr|lr-tb|lowercase|lower-roman|lower-alpha|loose|list-item|line|line-through|line-edge|lighter|left|keep-all|justify|italic|inter-word|inter-ideograph|inside|inset|inline|inline-block|inherit|inactive|ideograph-space|ideograph-parenthesis|ideograph-numeric|ideograph-alpha|horizontal|hidden|help|hand|groove|fixed|ellipsis|e-resize|double|dotted|distribute|distribute-space|distribute-letter|distribute-all-lines|disc|disabled|default|decimal|dashed|crosshair|collapse|col-resize|circle|char|center|capitalize|break-word|break-all|bottom|both|bolder|bold|block|bidi-override|below|baseline|auto|always|all-scroll|absolute|table|table-cell)\\b" -},{begin:/:/,end:/[;}{]/,relevance:0, -contains:[n.BLOCK_COMMENT,r,n.HEXCOLOR,n.CSS_NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,n.IMPORTANT,n.FUNCTION_DISPATCH] -},{begin:"@(page|font-face)",keywords:{$pattern:i,keyword:"@page @font-face"}},{ -begin:"@",end:"[{;]",returnBegin:!0,keywords:{$pattern:/[a-z-]+/, -keyword:"and or not only",attribute:ie.join(" ")},contains:[{begin:i, -className:"keyword"},{begin:/[a-z-]+(?=:)/,className:"attribute" -},r,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,n.HEXCOLOR,n.CSS_NUMBER_MODE] -},n.FUNCTION_DISPATCH]}},grmr_shell:e=>({name:"Shell Session", -aliases:["console","shellsession"],contains:[{className:"meta.prompt", -begin:/^\s{0,3}[/~\w\d[\]()@-]*[>%$#][ ]?/,starts:{end:/[^\\](?=\s*$)/, -subLanguage:"bash"}}]}),grmr_sql:e=>{ -const n=e.regex,t=e.COMMENT("--","$"),a=["true","false","unknown"],i=["bigint","binary","blob","boolean","char","character","clob","date","dec","decfloat","decimal","float","int","integer","interval","nchar","nclob","national","numeric","real","row","smallint","time","timestamp","varchar","varying","varbinary"],r=["abs","acos","array_agg","asin","atan","avg","cast","ceil","ceiling","coalesce","corr","cos","cosh","count","covar_pop","covar_samp","cume_dist","dense_rank","deref","element","exp","extract","first_value","floor","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","last_value","lead","listagg","ln","log","log10","lower","max","min","mod","nth_value","ntile","nullif","percent_rank","percentile_cont","percentile_disc","position","position_regex","power","rank","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","row_number","sin","sinh","sqrt","stddev_pop","stddev_samp","substring","substring_regex","sum","tan","tanh","translate","translate_regex","treat","trim","trim_array","unnest","upper","value_of","var_pop","var_samp","width_bucket"],s=["create table","insert into","primary key","foreign key","not null","alter table","add constraint","grouping sets","on overflow","character set","respect nulls","ignore nulls","nulls first","nulls last","depth first","breadth first"],o=r,l=["abs","acos","all","allocate","alter","and","any","are","array","array_agg","array_max_cardinality","as","asensitive","asin","asymmetric","at","atan","atomic","authorization","avg","begin","begin_frame","begin_partition","between","bigint","binary","blob","boolean","both","by","call","called","cardinality","cascaded","case","cast","ceil","ceiling","char","char_length","character","character_length","check","classifier","clob","close","coalesce","collate","collect","column","commit","condition","connect","constraint","contains","convert","copy","corr","corresponding","cos","cosh","count","covar_pop","covar_samp","create","cross","cube","cume_dist","current","current_catalog","current_date","current_default_transform_group","current_path","current_role","current_row","current_schema","current_time","current_timestamp","current_path","current_role","current_transform_group_for_type","current_user","cursor","cycle","date","day","deallocate","dec","decimal","decfloat","declare","default","define","delete","dense_rank","deref","describe","deterministic","disconnect","distinct","double","drop","dynamic","each","element","else","empty","end","end_frame","end_partition","end-exec","equals","escape","every","except","exec","execute","exists","exp","external","extract","false","fetch","filter","first_value","float","floor","for","foreign","frame_row","free","from","full","function","fusion","get","global","grant","group","grouping","groups","having","hold","hour","identity","in","indicator","initial","inner","inout","insensitive","insert","int","integer","intersect","intersection","interval","into","is","join","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","language","large","last_value","lateral","lead","leading","left","like","like_regex","listagg","ln","local","localtime","localtimestamp","log","log10","lower","match","match_number","match_recognize","matches","max","member","merge","method","min","minute","mod","modifies","module","month","multiset","national","natural","nchar","nclob","new","no","none","normalize","not","nth_value","ntile","null","nullif","numeric","octet_length","occurrences_regex","of","offset","old","omit","on","one","only","open","or","order","out","outer","over","overlaps","overlay","parameter","partition","pattern","per","percent","percent_rank","percentile_cont","percentile_disc","period","portion","position","position_regex","power","precedes","precision","prepare","primary","procedure","ptf","range","rank","reads","real","recursive","ref","references","referencing","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","release","result","return","returns","revoke","right","rollback","rollup","row","row_number","rows","running","savepoint","scope","scroll","search","second","seek","select","sensitive","session_user","set","show","similar","sin","sinh","skip","smallint","some","specific","specifictype","sql","sqlexception","sqlstate","sqlwarning","sqrt","start","static","stddev_pop","stddev_samp","submultiset","subset","substring","substring_regex","succeeds","sum","symmetric","system","system_time","system_user","table","tablesample","tan","tanh","then","time","timestamp","timezone_hour","timezone_minute","to","trailing","translate","translate_regex","translation","treat","trigger","trim","trim_array","true","truncate","uescape","union","unique","unknown","unnest","update","upper","user","using","value","values","value_of","var_pop","var_samp","varbinary","varchar","varying","versioning","when","whenever","where","width_bucket","window","with","within","without","year","add","asc","collation","desc","final","first","last","view"].filter((e=>!r.includes(e))),c={ -begin:n.concat(/\b/,n.either(...o),/\s*\(/),relevance:0,keywords:{built_in:o}} -;return{name:"SQL",case_insensitive:!0,illegal:/[{}]|<\//,keywords:{ -$pattern:/\b[\w\.]+/,keyword:((e,{exceptions:n,when:t}={})=>{const a=t -;return n=n||[],e.map((e=>e.match(/\|\d+$/)||n.includes(e)?e:a(e)?e+"|0":e)) -})(l,{when:e=>e.length<3}),literal:a,type:i, -built_in:["current_catalog","current_date","current_default_transform_group","current_path","current_role","current_schema","current_transform_group_for_type","current_user","session_user","system_time","system_user","current_time","localtime","current_timestamp","localtimestamp"] -},contains:[{begin:n.either(...s),relevance:0,keywords:{$pattern:/[\w\.]+/, -keyword:l.concat(s),literal:a,type:i}},{className:"type", -begin:n.either("double precision","large object","with timezone","without timezone") -},c,{className:"variable",begin:/@[a-z0-9]+/},{className:"string",variants:[{ -begin:/'/,end:/'/,contains:[{begin:/''/}]}]},{begin:/"/,end:/"/,contains:[{ -begin:/""/}]},e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,t,{className:"operator", -begin:/[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,relevance:0}]}}, -grmr_swift:e=>{const n={match:/\s+/,relevance:0},t=e.COMMENT("/\\*","\\*/",{ -contains:["self"]}),a=[e.C_LINE_COMMENT_MODE,t],i={match:[/\./,p(...ve,...Oe)], -className:{2:"keyword"}},r={match:m(/\./,p(...xe)),relevance:0 -},s=xe.filter((e=>"string"==typeof e)).concat(["_|0"]),o={variants:[{ -className:"keyword", -match:p(...xe.filter((e=>"string"!=typeof e)).concat(ke).map(Ne),...Oe)}]},l={ -$pattern:p(/\b\w+/,/#\w+/),keyword:s.concat(Ae),literal:Me},c=[i,r,o],d=[{ -match:m(/\./,p(...Ce)),relevance:0},{className:"built_in", -match:m(/\b/,p(...Ce),/(?=\()/)}],u={match:/->/,relevance:0},b=[u,{ -className:"operator",relevance:0,variants:[{match:De},{match:`\\.(\\.|${Re})+`}] -}],_="([0-9a-fA-F]_*)+",h={className:"number",relevance:0,variants:[{ -match:"\\b(([0-9]_*)+)(\\.(([0-9]_*)+))?([eE][+-]?(([0-9]_*)+))?\\b"},{ -match:`\\b0x(${_})(\\.(${_}))?([pP][+-]?(([0-9]_*)+))?\\b`},{ -match:/\b0o([0-7]_*)+\b/},{match:/\b0b([01]_*)+\b/}]},f=(e="")=>({ -className:"subst",variants:[{match:m(/\\/,e,/[0\\tnr"']/)},{ -match:m(/\\/,e,/u\{[0-9a-fA-F]{1,8}\}/)}]}),E=(e="")=>({className:"subst", -match:m(/\\/,e,/[\t ]*(?:[\r\n]|\r\n)/)}),y=(e="")=>({className:"subst", -label:"interpol",begin:m(/\\/,e,/\(/),end:/\)/}),w=(e="")=>({begin:m(e,/"""/), -end:m(/"""/,e),contains:[f(e),E(e),y(e)]}),N=(e="")=>({begin:m(e,/"/), -end:m(/"/,e),contains:[f(e),y(e)]}),v={className:"string", -variants:[w(),w("#"),w("##"),w("###"),N(),N("#"),N("##"),N("###")]},O={ -match:m(/`/,Be,/`/)},k=[O,{className:"variable",match:/\$\d+/},{ -className:"variable",match:`\\$${Le}+`}],x=[{match:/(@|#(un)?)available/, -className:"keyword",starts:{contains:[{begin:/\(/,end:/\)/,keywords:Fe, -contains:[...b,h,v]}]}},{className:"keyword",match:m(/@/,p(...ze))},{ -className:"meta",match:m(/@/,Be)}],M={match:g(/\b[A-Z]/),relevance:0,contains:[{ -className:"type", -match:m(/(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)/,Le,"+") -},{className:"type",match:$e,relevance:0},{match:/[?!]+/,relevance:0},{ -match:/\.\.\./,relevance:0},{match:m(/\s+&\s+/,g($e)),relevance:0}]},S={ -begin://,keywords:l,contains:[...a,...c,...x,u,M]};M.contains.push(S) -;const A={begin:/\(/,end:/\)/,relevance:0,keywords:l,contains:["self",{ -match:m(Be,/\s*:/),keywords:"_|0",relevance:0 -},...a,...c,...d,...b,h,v,...k,...x,M]},C={begin://,contains:[...a,M] -},T={begin:/\(/,end:/\)/,keywords:l,contains:[{ -begin:p(g(m(Be,/\s*:/)),g(m(Be,/\s+/,Be,/\s*:/))),end:/:/,relevance:0, -contains:[{className:"keyword",match:/\b_\b/},{className:"params",match:Be}] -},...a,...c,...b,h,v,...x,M,A],endsParent:!0,illegal:/["']/},R={ -match:[/func/,/\s+/,p(O.match,Be,De)],className:{1:"keyword",3:"title.function" -},contains:[C,T,n],illegal:[/\[/,/%/]},D={ -match:[/\b(?:subscript|init[?!]?)/,/\s*(?=[<(])/],className:{1:"keyword"}, -contains:[C,T,n],illegal:/\[|%/},I={match:[/operator/,/\s+/,De],className:{ -1:"keyword",3:"title"}},L={begin:[/precedencegroup/,/\s+/,$e],className:{ -1:"keyword",3:"title"},contains:[M],keywords:[...Se,...Me],end:/}/} -;for(const e of v.variants){const n=e.contains.find((e=>"interpol"===e.label)) -;n.keywords=l;const t=[...c,...d,...b,h,v,...k];n.contains=[...t,{begin:/\(/, -end:/\)/,contains:["self",...t]}]}return{name:"Swift",keywords:l, -contains:[...a,R,D,{beginKeywords:"struct protocol class extension enum actor", -end:"\\{",excludeEnd:!0,keywords:l,contains:[e.inherit(e.TITLE_MODE,{ -className:"title.class",begin:/[A-Za-z$_][\u00C0-\u02B80-9A-Za-z$_]*/}),...c] -},I,L,{beginKeywords:"import",end:/$/,contains:[...a],relevance:0 -},...c,...d,...b,h,v,...k,...x,M,A]}},grmr_typescript:e=>{ -const n=we(e),t=["any","void","number","boolean","string","object","never","symbol","bigint","unknown"],a={ -beginKeywords:"namespace",end:/\{/,excludeEnd:!0, -contains:[n.exports.CLASS_REFERENCE]},i={beginKeywords:"interface",end:/\{/, -excludeEnd:!0,keywords:{keyword:"interface extends",built_in:t}, -contains:[n.exports.CLASS_REFERENCE]},r={$pattern:be, -keyword:me.concat(["type","namespace","interface","public","private","protected","implements","declare","abstract","readonly","enum","override"]), -literal:pe,built_in:ye.concat(t),"variable.language":Ee},s={className:"meta", -begin:"@[A-Za-z$_][0-9A-Za-z$_]*"},o=(e,n,t)=>{ -const a=e.contains.findIndex((e=>e.label===n)) -;if(-1===a)throw Error("can not find mode to replace");e.contains.splice(a,1,t)} -;return Object.assign(n.keywords,r), -n.exports.PARAMS_CONTAINS.push(s),n.contains=n.contains.concat([s,a,i]), -o(n,"shebang",e.SHEBANG()),o(n,"use_strict",{className:"meta",relevance:10, -begin:/^\s*['"]use strict['"]/ -}),n.contains.find((e=>"func.def"===e.label)).relevance=0,Object.assign(n,{ -name:"TypeScript",aliases:["ts","tsx"]}),n},grmr_vbnet:e=>{ -const n=e.regex,t=/\d{1,2}\/\d{1,2}\/\d{4}/,a=/\d{4}-\d{1,2}-\d{1,2}/,i=/(\d|1[012])(:\d+){0,2} *(AM|PM)/,r=/\d{1,2}(:\d{1,2}){1,2}/,s={ -className:"literal",variants:[{begin:n.concat(/# */,n.either(a,t),/ *#/)},{ -begin:n.concat(/# */,r,/ *#/)},{begin:n.concat(/# */,i,/ *#/)},{ -begin:n.concat(/# */,n.either(a,t),/ +/,n.either(i,r),/ *#/)}] -},o=e.COMMENT(/'''/,/$/,{contains:[{className:"doctag",begin:/<\/?/,end:/>/}] -}),l=e.COMMENT(null,/$/,{variants:[{begin:/'/},{begin:/([\t ]|^)REM(?=\s)/}]}) -;return{name:"Visual Basic .NET",aliases:["vb"],case_insensitive:!0, -classNameAliases:{label:"symbol"},keywords:{ -keyword:"addhandler alias aggregate ansi as async assembly auto binary by byref byval call case catch class compare const continue custom declare default delegate dim distinct do each equals else elseif end enum erase error event exit explicit finally for friend from function get global goto group handles if implements imports in inherits interface into iterator join key let lib loop me mid module mustinherit mustoverride mybase myclass namespace narrowing new next notinheritable notoverridable of off on operator option optional order overloads overridable overrides paramarray partial preserve private property protected public raiseevent readonly redim removehandler resume return select set shadows shared skip static step stop structure strict sub synclock take text then throw to try unicode until using when where while widening with withevents writeonly yield", -built_in:"addressof and andalso await directcast gettype getxmlnamespace is isfalse isnot istrue like mod nameof new not or orelse trycast typeof xor cbool cbyte cchar cdate cdbl cdec cint clng cobj csbyte cshort csng cstr cuint culng cushort", -type:"boolean byte char date decimal double integer long object sbyte short single string uinteger ulong ushort", -literal:"true false nothing"}, -illegal:"//|\\{|\\}|endif|gosub|variant|wend|^\\$ ",contains:[{ -className:"string",begin:/"(""|[^/n])"C\b/},{className:"string",begin:/"/, -end:/"/,illegal:/\n/,contains:[{begin:/""/}]},s,{className:"number",relevance:0, -variants:[{begin:/\b\d[\d_]*((\.[\d_]+(E[+-]?[\d_]+)?)|(E[+-]?[\d_]+))[RFD@!#]?/ -},{begin:/\b\d[\d_]*((U?[SIL])|[%&])?/},{begin:/&H[\dA-F_]+((U?[SIL])|[%&])?/},{ -begin:/&O[0-7_]+((U?[SIL])|[%&])?/},{begin:/&B[01_]+((U?[SIL])|[%&])?/}]},{ -className:"label",begin:/^\w+:/},o,l,{className:"meta", -begin:/[\t ]*#(const|disable|else|elseif|enable|end|externalsource|if|region)\b/, -end:/$/,keywords:{ -keyword:"const disable else elseif enable end externalsource if region then"}, -contains:[l]}]}},grmr_wasm:e=>{e.regex;const n=e.COMMENT(/\(;/,/;\)/) -;return n.contains.push("self"),{name:"WebAssembly",keywords:{$pattern:/[\w.]+/, -keyword:["anyfunc","block","br","br_if","br_table","call","call_indirect","data","drop","elem","else","end","export","func","global.get","global.set","local.get","local.set","local.tee","get_global","get_local","global","if","import","local","loop","memory","memory.grow","memory.size","module","mut","nop","offset","param","result","return","select","set_global","set_local","start","table","tee_local","then","type","unreachable"] -},contains:[e.COMMENT(/;;/,/$/),n,{match:[/(?:offset|align)/,/\s*/,/=/], -className:{1:"keyword",3:"operator"}},{className:"variable",begin:/\$[\w_]+/},{ -match:/(\((?!;)|\))+/,className:"punctuation",relevance:0},{ -begin:[/(?:func|call|call_indirect)/,/\s+/,/\$[^\s)]+/],className:{1:"keyword", -3:"title.function"}},e.QUOTE_STRING_MODE,{match:/(i32|i64|f32|f64)(?!\.)/, -className:"type"},{className:"keyword", -match:/\b(f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|nearest|neg?|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|store(?:8|16|32)?|sqrt|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))\b/ -},{className:"number",relevance:0, -match:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/ -}]}},grmr_yaml:e=>{ -const n="true false yes no null",t="[\\w#;/?:@&=+$,.~*'()[\\]]+",a={ -className:"string",relevance:0,variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/ -},{begin:/\S+/}],contains:[e.BACKSLASH_ESCAPE,{className:"template-variable", -variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]}]},i=e.inherit(a,{ -variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),r={ -end:",",endsWithParent:!0,excludeEnd:!0,keywords:n,relevance:0},s={begin:/\{/, -end:/\}/,contains:[r],illegal:"\\n",relevance:0},o={begin:"\\[",end:"\\]", -contains:[r],illegal:"\\n",relevance:0},l=[{className:"attr",variants:[{ -begin:"\\w[\\w :\\/.-]*:(?=[ \t]|$)"},{begin:'"\\w[\\w :\\/.-]*":(?=[ \t]|$)'},{ -begin:"'\\w[\\w :\\/.-]*':(?=[ \t]|$)"}]},{className:"meta",begin:"^---\\s*$", -relevance:10},{className:"string", -begin:"[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*"},{ -begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0, -relevance:0},{className:"type",begin:"!\\w+!"+t},{className:"type", -begin:"!<"+t+">"},{className:"type",begin:"!"+t},{className:"type",begin:"!!"+t -},{className:"meta",begin:"&"+e.UNDERSCORE_IDENT_RE+"$"},{className:"meta", -begin:"\\*"+e.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)", -relevance:0},e.HASH_COMMENT_MODE,{beginKeywords:n,keywords:{literal:n}},{ -className:"number", -begin:"\\b[0-9]{4}(-[0-9][0-9]){0,2}([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?(\\.[0-9]*)?([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?\\b" -},{className:"number",begin:e.C_NUMBER_RE+"\\b",relevance:0},s,o,a],c=[...l] -;return c.pop(),c.push(i),r.contains=c,{name:"YAML",case_insensitive:!0, -aliases:["yml"],contains:l}}});const je=ne;for(const e of Object.keys(Ue)){ -const n=e.replace("grmr_","").replace("_","-");je.registerLanguage(n,Ue[e])} -return je}() -;"object"==typeof exports&&"undefined"!=typeof module&&(module.exports=hljs); \ No newline at end of file diff --git a/Frontend/assets/scripts/common/jquery-3.6.0.slim.min.js b/Frontend/assets/scripts/common/jquery-3.6.0.slim.min.js deleted file mode 100644 index 7556941..0000000 --- a/Frontend/assets/scripts/common/jquery-3.6.0.slim.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! jQuery v3.6.0 -ajax,-ajax/jsonp,-ajax/load,-ajax/script,-ajax/var/location,-ajax/var/nonce,-ajax/var/rquery,-ajax/xhr,-manipulation/_evalUrl,-deprecated/ajax-event-alias,-effects,-effects/Tween,-effects/animatedSelector | (c) OpenJS Foundation and other contributors | jquery.org/license */ -!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(g,e){"use strict";var t=[],r=Object.getPrototypeOf,s=t.slice,v=t.flat?function(e){return t.flat.call(e)}:function(e){return t.concat.apply([],e)},u=t.push,i=t.indexOf,n={},o=n.toString,y=n.hasOwnProperty,a=y.toString,l=a.call(Object),m={},b=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},x=function(e){return null!=e&&e===e.window},w=g.document,c={type:!0,src:!0,nonce:!0,noModule:!0};function C(e,t,n){var r,i,o=(n=n||w).createElement("script");if(o.text=e,t)for(r in c)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function T(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[o.call(e)]||"object":typeof e}var f="3.6.0 -ajax,-ajax/jsonp,-ajax/load,-ajax/script,-ajax/var/location,-ajax/var/nonce,-ajax/var/rquery,-ajax/xhr,-manipulation/_evalUrl,-deprecated/ajax-event-alias,-effects,-effects/Tween,-effects/animatedSelector",E=function(e,t){return new E.fn.init(e,t)};function d(e){var t=!!e&&"length"in e&&e.length,n=T(e);return!b(e)&&!x(e)&&("array"===n||0===t||"number"==typeof t&&0+~]|"+R+")"+R+"*"),U=new RegExp(R+"|>"),V=new RegExp(W),X=new RegExp("^"+B+"$"),Q={ID:new RegExp("^#("+B+")"),CLASS:new RegExp("^\\.("+B+")"),TAG:new RegExp("^("+B+"|[*])"),ATTR:new RegExp("^"+M),PSEUDO:new RegExp("^"+W),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+R+"*(even|odd|(([+-]|)(\\d*)n|)"+R+"*(?:([+-]|)"+R+"*(\\d+)|))"+R+"*\\)|)","i"),bool:new RegExp("^(?:"+I+")$","i"),needsContext:new RegExp("^"+R+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+R+"*((?:-\\d)?\\d*)"+R+"*\\)|)(?=[^-]|$)","i")},Y=/HTML$/i,G=/^(?:input|select|textarea|button)$/i,K=/^h\d$/i,J=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}"+R+"?|\\\\([^\\r\\n\\f])","g"),ne=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ie=function(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},oe=function(){C()},ae=xe(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{O.apply(t=P.call(d.childNodes),d.childNodes),t[d.childNodes.length].nodeType}catch(e){O={apply:t.length?function(e,t){q.apply(e,P.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function se(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerDocument,d=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==d&&9!==d&&11!==d)return n;if(!r&&(C(e),e=e||T,E)){if(11!==d&&(u=Z.exec(t)))if(i=u[1]){if(9===d){if(!(a=e.getElementById(i)))return n;if(a.id===i)return n.push(a),n}else if(f&&(a=f.getElementById(i))&&y(e,a)&&a.id===i)return n.push(a),n}else{if(u[2])return O.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&p.getElementsByClassName&&e.getElementsByClassName)return O.apply(n,e.getElementsByClassName(i)),n}if(p.qsa&&!k[t+" "]&&(!v||!v.test(t))&&(1!==d||"object"!==e.nodeName.toLowerCase())){if(c=t,f=e,1===d&&(U.test(t)||_.test(t))){(f=ee.test(t)&&ye(e.parentNode)||e)===e&&p.scope||((s=e.getAttribute("id"))?s=s.replace(re,ie):e.setAttribute("id",s=A)),o=(l=h(t)).length;while(o--)l[o]=(s?"#"+s:":scope")+" "+be(l[o]);c=l.join(",")}try{return O.apply(n,f.querySelectorAll(c)),n}catch(e){k(t,!0)}finally{s===A&&e.removeAttribute("id")}}}return g(t.replace($,"$1"),e,n,r)}function ue(){var r=[];return function e(t,n){return r.push(t+" ")>x.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function le(e){return e[A]=!0,e}function ce(e){var t=T.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function fe(e,t){var n=e.split("|"),r=n.length;while(r--)x.attrHandle[n[r]]=t}function de(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function pe(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function he(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}function ge(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&ae(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function ve(a){return le(function(o){return o=+o,le(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function ye(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}for(e in p=se.support={},i=se.isXML=function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!Y.test(t||n&&n.nodeName||"HTML")},C=se.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:d;return r!=T&&9===r.nodeType&&r.documentElement&&(a=(T=r).documentElement,E=!i(T),d!=T&&(n=T.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",oe,!1):n.attachEvent&&n.attachEvent("onunload",oe)),p.scope=ce(function(e){return a.appendChild(e).appendChild(T.createElement("div")),"undefined"!=typeof e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length}),p.attributes=ce(function(e){return e.className="i",!e.getAttribute("className")}),p.getElementsByTagName=ce(function(e){return e.appendChild(T.createComment("")),!e.getElementsByTagName("*").length}),p.getElementsByClassName=J.test(T.getElementsByClassName),p.getById=ce(function(e){return a.appendChild(e).id=A,!T.getElementsByName||!T.getElementsByName(A).length}),p.getById?(x.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},x.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n=t.getElementById(e);return n?[n]:[]}}):(x.filter.ID=function(e){var n=e.replace(te,ne);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},x.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),x.find.TAG=p.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):p.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},x.find.CLASS=p.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&E)return t.getElementsByClassName(e)},s=[],v=[],(p.qsa=J.test(T.querySelectorAll))&&(ce(function(e){var t;a.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&v.push("[*^$]="+R+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||v.push("\\["+R+"*(?:value|"+I+")"),e.querySelectorAll("[id~="+A+"-]").length||v.push("~="),(t=T.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||v.push("\\["+R+"*name"+R+"*="+R+"*(?:''|\"\")"),e.querySelectorAll(":checked").length||v.push(":checked"),e.querySelectorAll("a#"+A+"+*").length||v.push(".#.+[+~]"),e.querySelectorAll("\\\f"),v.push("[\\r\\n\\f]")}),ce(function(e){e.innerHTML="";var t=T.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&v.push("name"+R+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&v.push(":enabled",":disabled"),a.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&v.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),v.push(",.*:")})),(p.matchesSelector=J.test(c=a.matches||a.webkitMatchesSelector||a.mozMatchesSelector||a.oMatchesSelector||a.msMatchesSelector))&&ce(function(e){p.disconnectedMatch=c.call(e,"*"),c.call(e,"[s!='']:x"),s.push("!=",W)}),v=v.length&&new RegExp(v.join("|")),s=s.length&&new RegExp(s.join("|")),t=J.test(a.compareDocumentPosition),y=t||J.test(a.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},D=t?function(e,t){if(e===t)return l=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!p.sortDetached&&t.compareDocumentPosition(e)===n?e==T||e.ownerDocument==d&&y(d,e)?-1:t==T||t.ownerDocument==d&&y(d,t)?1:u?H(u,e)-H(u,t):0:4&n?-1:1)}:function(e,t){if(e===t)return l=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e==T?-1:t==T?1:i?-1:o?1:u?H(u,e)-H(u,t):0;if(i===o)return de(e,t);n=e;while(n=n.parentNode)a.unshift(n);n=t;while(n=n.parentNode)s.unshift(n);while(a[r]===s[r])r++;return r?de(a[r],s[r]):a[r]==d?-1:s[r]==d?1:0}),T},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if(C(e),p.matchesSelector&&E&&!k[t+" "]&&(!s||!s.test(t))&&(!v||!v.test(t)))try{var n=c.call(e,t);if(n||p.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){k(t,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return Q.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&V.test(n)&&(t=h(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=m[e+" "];return t||(t=new RegExp("(^|"+R+")"+e+"("+R+"|$)"))&&m(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=se.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function D(e,n,r){return b(n)?E.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?E.grep(e,function(e){return e===n!==r}):"string"!=typeof n?E.grep(e,function(e){return-1)[^>]*|#([\w-]+))$/;(E.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||L,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:j.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof E?t[0]:t,E.merge(this,E.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:w,!0)),k.test(r[1])&&E.isPlainObject(t))for(r in t)b(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=w.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):b(e)?void 0!==n.ready?n.ready(e):e(E):E.makeArray(e,this)}).prototype=E.fn,L=E(w);var q=/^(?:parents|prev(?:Until|All))/,O={children:!0,contents:!0,next:!0,prev:!0};function P(e,t){while((e=e[t])&&1!==e.nodeType);return e}E.fn.extend({has:function(e){var t=E(e,this),n=t.length;return this.filter(function(){for(var e=0;e\x20\t\r\n\f]*)/i,pe=/^$|^module$|\/(?:java|ecma)script/i;le=w.createDocumentFragment().appendChild(w.createElement("div")),(ce=w.createElement("input")).setAttribute("type","radio"),ce.setAttribute("checked","checked"),ce.setAttribute("name","t"),le.appendChild(ce),m.checkClone=le.cloneNode(!0).cloneNode(!0).lastChild.checked,le.innerHTML="",m.noCloneChecked=!!le.cloneNode(!0).lastChild.defaultValue,le.innerHTML="",m.option=!!le.lastChild;var he={thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function ge(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&S(e,t)?E.merge([e],n):n}function ve(e,t){for(var n=0,r=e.length;n",""]);var ye=/<|&#?\w+;/;function me(e,t,n,r,i){for(var o,a,s,u,l,c,f=t.createDocumentFragment(),d=[],p=0,h=e.length;p\s*$/g;function ke(e,t){return S(e,"table")&&S(11!==t.nodeType?t:t.firstChild,"tr")&&E(e).children("tbody")[0]||e}function De(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Le(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function je(e,t){var n,r,i,o,a,s;if(1===t.nodeType){if(Y.hasData(e)&&(s=Y.get(e).events))for(i in Y.remove(t,"handle events"),s)for(n=0,r=s[i].length;n
",2===lt.childNodes.length),E.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(m.createHTMLDocument?((r=(t=w.implementation.createHTMLDocument("")).createElement("base")).href=w.location.href,t.head.appendChild(r)):t=w),o=!n&&[],(i=k.exec(e))?[t.createElement(i[1])]:(i=me([e],t,o),o&&o.length&&E(o).remove(),E.merge([],i.childNodes)));var r,i,o},E.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=E.css(e,"position"),c=E(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=E.css(e,"top"),u=E.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),b(t)&&(t=t.call(e,n,E.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},E.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){E.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===E.css(r,"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===E.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=E(e).offset()).top+=E.css(e,"borderTopWidth",!0),i.left+=E.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-E.css(r,"marginTop",!0),left:t.left-i.left-E.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===E.css(e,"position"))e=e.offsetParent;return e||re})}}),E.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;E.fn[t]=function(e){return $(this,function(e,t,n){var r;if(x(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),E.each(["top","left"],function(e,n){E.cssHooks[n]=Me(m.pixelPosition,function(e,t){if(t)return t=Be(e,n),Pe.test(t)?E(e).position()[n]+"px":t})}),E.each({Height:"height",Width:"width"},function(a,s){E.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){E.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return $(this,function(e,t,n){var r;return x(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?E.css(e,t,i):E.style(e,t,n,i)},s,n?e:void 0,n)}})}),E.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),E.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){E.fn[n]=function(e,t){return 0/g, '>') - .replace(/"/g, '"') - .replace(/'/g, '''); - } - - - /* plugin itself */ - - /** @type {HLJSPlugin} */ - const mergeHTMLPlugin = { - // preserve the original HTML token stream - "before:highlightElement": ({ el }) => { - originalStream = nodeStream(el); - }, - // merge it afterwards with the highlighted token stream - "after:highlightElement": ({ el, result, text }) => { - if (!originalStream.length) { - return; - } - - const resultNode = document.createElement('div'); - resultNode.innerHTML = result.value; - result.value = mergeStreams(originalStream, nodeStream(resultNode), text); - el.innerHTML = result.value; - } - }; - - /** - * @param {Node} node - */ - function tag(node) { - return node.nodeName.toLowerCase(); - } - - /** - * @param {Node} node - */ - function nodeStream(node) { - /** @type Event[] */ - const result = []; - (function _nodeStream(node, offset) { - for (let child = node.firstChild; child; child = child.nextSibling) { - if (child.nodeType === 3) { - offset += child.nodeValue.length; - } else if (child.nodeType === 1) { - result.push({ - event: 'start', - offset: offset, - node: child - }); - offset = _nodeStream(child, offset); - - if (!tag(child).match(/br|hr|img|input/)) { - result.push({ - event: 'stop', - offset: offset, - node: child - }); - } - } - } - return offset; - })(node, 0); - return result; - } - - /** - * @param {any} original - the original stream - * @param {any} highlighted - stream of the highlighted source - * @param {string} value - the original source itself - */ - function mergeStreams(original, highlighted, value) { - let processed = 0; - let result = ''; - const nodeStack = []; - - function selectStream() { - if (!original.length || !highlighted.length) { - return original.length ? original : highlighted; - } - if (original[0].offset !== highlighted[0].offset) { - return (original[0].offset < highlighted[0].offset) ? original : highlighted; - } - - return highlighted[0].event === 'start' ? original : highlighted; - } - - /** - * @param {Node} node - */ - function open(node) { - /** @param {Attr} attr */ - function attributeString(attr) { - return ' ' + attr.nodeName + '="' + escapeHTML(attr.value) + '"'; - } - - // @ts-ignore - result += '<' + tag(node) + [].map.call(node.attributes, attributeString).join('') - + '>'; - } - - /** - * @param {Node} node - */ - function close(node) { - result += ''; - } - - /** - * @param {Event} event - */ - function render(event) { - (event.event === 'start' ? open : close)(event.node); - } - - while (original.length || highlighted.length) { - let stream = selectStream(); - result += escapeHTML(value.substring(processed, stream[0].offset)); - processed = stream[0].offset; - if (stream === original) { - /* - On any opening or closing tag of the original markup we first close - the entire highlighted node stack, then render the original tag along - with all the following original tags at the same offset and then - reopen all the tags on the highlighted stack. - */ - nodeStack.reverse().forEach(close); - do { - render(stream.splice(0, 1)[0]); - stream = selectStream(); - } while (stream === original && stream.length && stream[0].offset === processed); - nodeStack.reverse().forEach(open); - } else { - if (stream[0].event === 'start') { - nodeStack.push(stream[0].node); - } else { - nodeStack.pop(); - } - render(stream.splice(0, 1)[0]); - } - } - return result + escapeHTML(value.substr(processed)); - } - - return mergeHTMLPlugin; - -}()); - -function formatAndValidateJson(errorElement) { - const input = document.querySelector('#jsonBlock'); - const processInfo = document.getElementById(errorElement); - - const address = window.location.protocol + "//" + window.location.hostname + ":" + 8081 + "/json/formatting" - - fetch(address, { - method: 'POST', - body: input.textContent - }) - .then(async (response) => { - const promise = response.json(); - if (!response.ok) { - throw Error(await promise); - } - - return promise; - }) - .then((data) => { - input.innerText = data.data; - processInfo.innerText = ""; - hljs.highlightElement(input); - - processInfo.innerHTML = "Computed in " + data.time + "ms"; - }) - .catch((error) => { - processInfo.innerHTML = "" + error.data + ""; - console.error('Error:', error); - }); -} - -function minimizeJson(errorElement) { - const input = document.querySelector('#jsonBlock'); - const processInfo = document.getElementById(errorElement); - - const address = window.location.protocol + "//" + window.location.hostname + ":" + 8081 + "/json/minimize" - - fetch(address, { - method: 'POST', - body: input.textContent - }) - .then(async (response) => { - const promise = response.json(); - if (!response.ok) { - throw Error(await promise); - } - - return promise; - }) - .then((data) => { - input.innerText = data.data; - processInfo.innerText = ""; - hljs.highlightElement(input); - - processInfo.innerHTML = "Computed in " + data.time + "ms"; - }) - .catch((error) => { - processInfo.innerHTML = "" + error.data + ""; - console.error('Error:', error); - }); -} - -function clearJsonData() { - const input = document.querySelector('#jsonBlock'); - input.textContent = ""; -} - -function insertDefaultJson() { - const input = document.querySelector('#jsonBlock'); - input.textContent = "{\"enter\": \"your\", \"json\": \"here\"}"; - hljs.highlightElement(input); -} - -/** - * This function is executed after the page is loaded. - * - * @function - * @name init - * @kind function - */ -function init() { - // Make sure that only plain text is pasted - configurePastingInElement("jsonBlock"); - - hljs.addPlugin(mergeHTMLPlugin); -} - diff --git a/Frontend/assets/scripts/tools/mock/datatransfer.js b/Frontend/assets/scripts/tools/mock/datatransfer.js deleted file mode 100644 index 7269faf..0000000 --- a/Frontend/assets/scripts/tools/mock/datatransfer.js +++ /dev/null @@ -1,254 +0,0 @@ -var clientUUID = ''; -var advancedDisplayed = false; -var json = {}; -var jsonIndex = 0; -var host = window.location.protocol + "//" + window.location.hostname + "/mock"; - -const C_UUID = 'mock-uuid'; -const C_ADV = 'advanced-mode'; - -const color_red = "#ff8f8f"; -const color_grey = "#6b6b6b"; - -const setModified = function(){ - setDataModified(); -} - -const getUpdate = function(){ - updateData(); -} -const dataRefresh = function(){ - getData(); -} - -/* - Listeners segment -*/ - -$(document).on('change', '.data-field', setModified); - -$('#btn-save').click( - () => { - disableSaveButton(); - } - ); - -$('#btn-newRow').click( - ()=> { - newRowInput(); - setDataModified(); - } - ); - -/* - Functions segment -*/ - -function disableSaveButton(){ - $('#btn-save').removeClass('active'); - $('#btn-save').off(); -} - -function createLink(uuid){ - var link = host + '/api/mock/r/'+uuid; - return link; -} - - -function onLoad(){ - loadCookies(); - getData(); -} - -function getData(){ - $.getJSON(host + '/api/mock/'+clientUUID, function(data) { - json = data; - loadFetchedMessage(); - initializeUUID(); - }); -} - -function loadCookies(){ - clientUUID = getCookie(C_UUID); - advancedDisplayed = getCookie(C_ADV) == 'true'; -} - -function setCookie(){ - document.cookie = C_UUID + '=' +clientUUID; - document.cookie = C_ADV + '=' + advancedVisibility; -} - -function initializeUUID(){ - if(clientUUID == null || clientUUID == undefined || clientUUID == ''){ - clientUUID = json.clientUUID; - setCookie(); - } -} - -function httpStatusInvalid(){ - value = $('#httpStatus').val(); - return value == ''; -} - -function setDataModified(){ - if(httpStatusInvalid()){ - $('#btn-save').removeClass('active'); - $('#btn-save').off(); - document.getElementById("httpStatus").style.backgroundColor = color_red; - return; - } - $('#btn-save').addClass('active'); - $('#btn-save').click(getUpdate); - document.getElementById("httpStatus").style.backgroundColor = null; -} - -function getCookie(cname) { - var name = cname + '='; - var decodedCookie = decodeURIComponent(document.cookie); - var ca = decodedCookie.split(';'); - for(var i = 0; i '+link+''; - $('#messageLink').html(linkHtml); - $('#httpStatus').val(httpStatus); - $('#typeSelector').val(contentType); - $('#bodyEditor').val(body); -} - -function fillHeaderTable(headers){ - var innerHTML = buildHeaderMapHtml(headers); - refreshHeaderTable(innerHTML); -} - -function refreshHeaderTable(html){ - $('#headerMapTable').html(html); - $('.btn-hashmap').click(function(){ - setDataModified(); - $(this).closest('tr').remove(); - }) -} - -function buildHeaderMapHtml(headers){ - var innerHTML = ''; - for(var key in headers){ - innerHTML += buildRowHtml(key, headers[key]); - } - return innerHTML; -} - -function addRow(key, value){ - var headerMap = $('#headerMapTable'); - var headersMapHtml = headerMap.html(); - headersMapHtml += buildRowHtml(key, value); - refreshHeaderTable(headersMapHtml); -} - -function newRowInput(){ - const hName = $('#headerKeyInput'); - const hValue = $('#headerValueInput'); - if(checkIfInputValid(hName.val()) && checkIfInputValid(hValue.val())){ - addRow(hName.val(), hValue.val()); - hName.val(null); - hValue.val(null); - } -} - -function checkIfInputValid(input){ - return !(input == '' || input == null || input == undefined); -} - -function checkIfHeaderEssential(key){ - - if( key == "Connection" || key == "Keep-Alive" || key == "Date" ){ - return true; - } - return false; - -} - -function buildRowHtml(key, value){ - - if(checkIfHeaderEssential(key)){ - return '' + - '' + - '' + - '' + - ''; - } - return '' + - '' + - '' + - '' + - '' + - ''; -} - -function sleep(ms) { - return new Promise(resolve => setTimeout(resolve, ms)); -} - -function createRequestBody(){ - var newJson = - { - clientUUID: json.clientUUID, - contentType: $('#typeSelector').val(), - messageBody: $('#bodyEditor').val(), - httpStatus: $('#httpStatus').val(), - httpHeaders: {}, - }; - newJson['httpHeaders'] = convertTableToJson(); - - json = newJson; - return newJson; -} - - -function convertTableToJson(){ - const rows = $('#headerMapTable').children(); - - var obj = {}; - var key; - for(let i=0; i' + - '' + parseTimeStamp(historyJson[i].dateTimeStamp) + '' + - '' + historyJson[i].httpMethod + '' + - '' + parseRequestBody(historyJson[i].requestBody, i) + '' + - ' ' + - ''; - } - return innerHTML; -} - -function parseRequestBody(requestBody,i){ - return requestBody.length == 0 ? - "No request body" : - '' -} - -function parseTimeStamp(timeStamp){ - return timeStamp.substring(0,19).replace('T',' '); -} - -function parseHeaders(pos){ - parsedJson = new Map(); - headers = historyJson[pos].headers - Object.keys( headers ).forEach( - (jsonKey) => { - parsedJson.set( jsonKey , headers[jsonKey] ); - } - ) - return parsedJson; -} - -function displayHistory(){ - $('#historyTable tbody').html(historyToHtml()); -} diff --git a/Frontend/assets/scripts/tools/mock/modal.js b/Frontend/assets/scripts/tools/mock/modal.js deleted file mode 100644 index c20804b..0000000 --- a/Frontend/assets/scripts/tools/mock/modal.js +++ /dev/null @@ -1,53 +0,0 @@ -var modalDisplayed = false; -var methodToCall = { - name: null, - id: null -}; - -const overlay = $('#overlay'); -const savedModal = $('#modal-confirm'); -const dataLossModal = $('#modal-query'); -const dataLossModalYes = dataLossModal.children().eq(2).children().eq(0); -const dataLossModalNo = dataLossModal.children().eq(2).children().eq(1); -const allModals = $('.modal'); -const btnModalClose = $('.modal button'); -const closeModals = function() { - hideModal(allModals); -} -const savedModalDisplay = function() { - - showModal(savedModal); - setTimeout(closeModals, 2000); -} -const dataLossModalDisplay = function(){ - showModal(dataLossModal); -} - -btnModalClose.click(closeModals); -overlay.click(closeModals); -dataLossModalNo.click(closeModals); -dataLossModalYes.click(dropChangesAndClose); - -function setMethodToCall(name, id){ - methodToCall.name = name; - methodToCall.id = id; -} - -const dropChangesAndClose = function(){ - callMethodByName(methodToCall) - hideModal(dataLossModal); -} - -function showModal(jmodal){ - if(modalDisplayed) return; - overlay.addClass('active'); - jmodal.addClass('active'); - modalDisplayed = true; -} - -function hideModal(jmodal){ - if(!modalDisplayed) return; - overlay.removeClass('active'); - jmodal.removeClass('active'); - modalDisplayed = false; -} diff --git a/Frontend/assets/scripts/tools/mock/popup.js b/Frontend/assets/scripts/tools/mock/popup.js deleted file mode 100644 index 0d2b91f..0000000 --- a/Frontend/assets/scripts/tools/mock/popup.js +++ /dev/null @@ -1,34 +0,0 @@ - -function switchPopups (neededPopupOption) { - $('.hiddable-popup-option').addClass('hidden-popup-type'); - $('#'+neededPopupOption).removeClass('hidden-popup-type'); - } - -function showPopup(){ - $('.popup-flex').removeClass('hiddable-container'); -} - -function hidePopup(){ - $('.popup-flex').addClass('hiddable-container'); - $('.hiddable-popup-option').addClass('hidden-popup-type'); -} - -/* -* Event listener that's close the popup when user clicks out of a popup. -*/ - -window.addEventListener( - 'click' , - (clickedElement) => { - if(!document.getElementById('popup-body').contains(clickedElement.target) && clickedElement.target.className == 'popup-flex' ) { - hidePopup(); - } - } -); - -$('.popup-button-close').click( - () => { - hidePopup(); - $('.hiddable-popup-option').addClass('hidden-popup-type') - } -); \ No newline at end of file diff --git a/Frontend/assets/scripts/tools/mock/uianimation.js b/Frontend/assets/scripts/tools/mock/uianimation.js deleted file mode 100644 index 1871bdf..0000000 --- a/Frontend/assets/scripts/tools/mock/uianimation.js +++ /dev/null @@ -1,165 +0,0 @@ -var advancedVisibility = false; -var focusedField = false; -/* -Listeners -*/ -$("#optional").click(changeAdvancedVisibility); - -$('#historyTab').click(showHistory); - -$('.tooltipped').on("mouseenter" , (event) => {showTip(event.currentTarget.id+'Tip')}) - .on( "mouseleave", (event) => {hideTip(event.currentTarget.id+'Tip')}); - -/* -Functions -*/ - -function changeAdvancedVisibility(){ - if(advancedVisibility){ - $("#advanced").removeClass('active'); - advancedVisibility = false; - } - else { - $('#advanced').addClass('active'); - advancedVisibility = true; - } - setCookie(); -} - -const tabitem = $('.tabitem'); -function showHistory(){ - $('#headersTab').click(showHeaders); - tabitem.removeClass('active'); - $('.tabcontent').removeClass('active'); - $('#history').addClass('active'); - $('#historyTab').addClass('active'); - $('#historyTab').off('click'); - getHistoryData(); -} - -function showHeaders(){ - $('#historyTab').click(showHistory); - tabitem.removeClass('active'); - $('.tabcontent').removeClass('active'); - $('#headers').addClass('active'); - $('#headersTab').addClass('active'); - $('#headersTab').off('click'); -} - -function showHeadersHistory(record){ - historyTable = ''; - headers = parseHeaders(record.id) - headers.forEach( - (value,key) => { - historyTable += - '' + - ''+ key + '' + - ''+ value + '' + - '' - } - ); - document.getElementById('header-history-table-body').innerHTML = historyTable; - switchPopups('history-headers-table'); - showPopup(); -} - -async function formatJSON(json) { - const backend = "java"; - const address = window.location.protocol + "//" + window.location.hostname + "/" + backend + "/json/formatting"; - - var init = { - body: json, - method: "POST" - }; - var request = new Request(address, init); - - var result = await fetch(request).then(response => { - return response.text().then(function (text) { - var json = JSON.parse(text); - json.status = response.status; - return json; - }); - - }); - return result; -} - -async function formatXML(xml) { - const backend = "libxml"; - const address = window.location.protocol + "//" + window.location.hostname + "/" + backend + "/prettify"; - var data = { - data: xml, - process: "", - processor: "libxml", - version: "1.0" - } - - var init = { - body: JSON.stringify(data), - method: "POST" - }; - var request = new Request(address, init); - - var result = await fetch(request).then(response => { - return response.text().then(function (text) { - return JSON.parse(text); - }); - - }); - return result; -} - -function showRequestBody(element){ - var historyRequestBody = historyJson[element.id].requestBody; - const popupContent = document.getElementById('code-highlight-content') - - document.getElementById('code-highlight-content').innerText = "Loading..."; - switch(historyJson[element.id].headers["content-type"]){ - case "application/json":{ - formatJSON(historyRequestBody).then(function(result) { - - if (result.status == "200") { - popupContent.innerText = result.data; - highlightSyntax('code-highlight-content'); - } - else { - popupContent.innerText = historyRequestBody; - } - }); - break; - } - case "application/xml": { - formatXML(historyRequestBody).then(function(result) { - if (result.status == "OK") { - popupContent.innerText = result.result; - highlightSyntax('code-highlight-content'); - } - else { - popupContent.innerText = historyRequestBody; - } - - }); - - break; - } - default:{ - popupContent.innerText = historyRequestBody; - highlightSyntax('code-highlight-content'); - } - } - switchPopups('history-request-body'); - showPopup(); -} - -function refreshHistoryRecords(){ - getHistoryData(); -} - -function hideTip(element){ - $('#'+element).removeClass('active'); -} - -function showTip(element){ - $('.tip').removeClass('active'); - $('#'+element).addClass('active'); -} diff --git a/Frontend/assets/scripts/tools/scripts.js b/Frontend/assets/scripts/tools/scripts.js deleted file mode 100644 index 729ee8e..0000000 --- a/Frontend/assets/scripts/tools/scripts.js +++ /dev/null @@ -1,414 +0,0 @@ -var defaultStrings = []; -const color_grey = "#6b6b6b"; -const color_red = "#ff8f8f"; - -/** -* It clears default content of the element and sets it's color to black. -* -* @function -* @name clearDefaultContent -* @kind function -* @param {any} element to set -* @param {any} text to set -* @returns {void} -*/ -function clearDefaultContent(element, text) { - if (element.innerText == text) { - element.innerText = ""; - element.style.color = "#000000"; - element.style.backgroundColor = "#ffffff"; - } -} - -/** -* It returns the value of the element with id "processors". -* -* @function -* @name getProcessor -* @kind function -* @returns {any} -*/ -function getProcessor() { - return document.getElementById("processors").value; -} - - -/** - * It returns the value of the element with id "versions". - * - * @function - * @name getVersion - * @kind function - * @returns {any} - */ -function getVersion() { - return document.getElementById("versions").value; -} - -/** -* It clears all data fields. -* -* @function -* @name clearDataField -* @kind function -*/ -function clearDataField() { - document.getElementById("xmlArea").innerHTML = ""; - document.getElementById("xmlArea").style.color = null; - document.getElementById("xmlArea").style.backgroundColor = null; - - document.getElementById("transformArea").innerHTML = ""; - document.getElementById("transformArea").style.color = null; - document.getElementById("transformArea").style.backgroundColor = null; - - document.getElementById("resultArea").innerHTML = ""; -} - - -/** -* It fills the XML area with a sample XML. -* -* @function -* @name fillDefaultXML -* @kind function -* @param {any} element -* @returns {void} -*/ -function fillDefaultXML(element) { - if (element.classList.contains("active")) { - const serverAddress = window.location.protocol + "//" + window.location.hostname; - clearDefaultContent(document.getElementById("xmlArea"), "Insert XML here"); - fetch(serverAddress + "/assets/samples/sampleXml.xml") - .then(response => response.text()) - .then((exampleData) => { - document.getElementById("xmlArea").innerText = exampleData; - highlightSyntax("xmlArea"); - document.getElementById("xmlArea").style.backgroundColor = null; - - }) - } -} - - -/** -* It fills the XSD area with a sample XSD and XML area with matching XML. -* -* @function -* @name fillDefaultXSD -* @kind function -* @param {any} element -* @returns {void} -*/ -function fillDefaultXSD(){ - const serverAddress = window.location.protocol + "//" + window.location.hostname; - fetch(serverAddress + "/assets/samples/sampleXSD.xsd") - .then( response => response.text() ) - .then( (XSDSchema) => { - document.getElementById('transformArea').innerText = XSDSchema; - highlightSyntax("transformArea"); - } ) - fetch(serverAddress + "/assets/samples/sampleXMLForXSD.xml") - .then( response => response.text() ) - .then( (XMLSample) => { - document.getElementById('xmlArea').innerText = XMLSample; - highlightSyntax("xmlArea"); - } ) - -} - - -/** - * The `fillDefaultXSLT()` function fetches a default XSLT template from the server and sets the value of the element with id "transformArea" to the fetched template. - * - * @function - * @name fillDefaultXSLT - * @kind function - * @returns {void} - */ -function fillDefaultXSLT() { - const serverAddress = window.location.protocol + "//" + window.location.hostname; - fetch(serverAddress + "/assets/samples/XSLTTemplate.xslt") - .then( response => response.text() ) - .then( (XSTLTemplate) => { - document.getElementById('transformArea').innerText = XSTLTemplate; - highlightSyntax("transformArea"); - } ) -} - -/** -* It sets default content for the element an changes it's color to grey -* -* @function -* @name setDefaultContent -* @kind function -* @param {any} element to set -* @param {any} text to set -*/ -function setDefaultContent(element, text) { - if (element.value == "") { - var id = element.getAttribute('id'); - if (!defaultStrings.includes(text)) { - defaultStrings.push(text); - } - if (id == "xmlArea") { - element.style.color = color_grey; - element.value = text; - } - if (id == "transformArea") { - element.style.color = color_grey; - element.value = text; - } - if (id == "jsonArea") { - element.style.color = color_grey; - element.value = text; - } - } -} - -/** -* It hides list for specified version of XPath -* -* @function -* @name hideList -* @kind function -* @param {any} collList class name of list to hide -* @returns {void} -*/ -function hideList(collList) { - for (i = 0; i < collList.length; i++) { - if (collList[i].nextElementSibling !== null) { - collList[i].nextElementSibling.style.maxHeight = null; - collList[i].nextElementSibling.classList.toggle("collapsibleDataExpanded", false); - } - collList[i].style.display = 'none'; - collList[i].classList.remove("collapsibleActive"); - } -} - -/** -* It checks if the text is a default text. -* -* @function -* @name checkDefault -* @kind function -* @param {any} text -* @returns {boolean} -*/ -function checkDefault(text) { - return defaultStrings.includes(text); -} - -/** -* It show list for specified version of XPath -* -* @function -* @name showList -* @kind function -* @param {any} collList class name of list to hide -* @returns {void} -*/ -function showList(collList) { - for (i = 0; i < collList.length; i++) { - collList[i].style.display = 'block'; - } -} - -/** -* A function that is used to fold/unfold collapsible elements. -* -* @function -* @name smoothFoldElement -* @kind function -* @param {any} element -* @param {any} toogleState -* @param {any} toggleParrent -* @returns {void} -*/ -function smoothFoldElement(element, toogleState, toggleParrent) { - if (toogleState) { - if (toggleParrent) { - element.parentElement.style.maxHeight = "0px"; - } - - element.classList.toggle("active", false); - var subLists = collapsibleData.getElementsByClassName("collapsibleData"); - for (j = 0; j < subLists.length; j++) { - subLists[j].style.maxHeight = null; - } - } else { - collapsibleData.parentElement.style.maxHeight = (collapsibleData.parentElement.scrollHeight) + "px"; - collapsibleData.classList.toggle("active", true); - if (collapsibleData.parentElement.classList.contains("collapsibleData") && collapsibleData.parentElement.classList.contains("active")) { - collapsibleData.parentElement.style.maxHeight = (collapsibleData.parentElement.scrollHeight + collapsibleData.scrollHeight) + "px"; - } - } -} - -/** -* Set tooltip info, function is called by onClick handlers -* -* @function -* @name refreshTooltip -* @kind function -* @returns {void} -*/ -function refreshTooltip() { - var resizeList = document.getElementsByClassName("collapsibleData"); - document.getElementById("processorTooltipInfo").innerText = procInfo; - document.getElementById("xsltelementsheader").innerText = XSLTheader; -} - - - -/** -* A function that performs a request to the server. -* -* @function -* @name performRequest -* @kind function -* @param {any} endpoint of target service -* @param {any} checkXML enable checking for empty XML -* @param {any} checkTransform enable checking for empty transform data -* @returns {false | undefined} -*/ -function performRequest(endpoint, checkXML, checkTransform) { - const sourceId = "xmlArea"; - const transformId = "transformArea"; - var xmlData = document.getElementById(sourceId).innerText.trim(); - var transformData = document.getElementById(transformId).innerText.trim(); - - var backend = "java"; - if (getProcessor() == "libxml") { - backend = "libxml"; - } - - var empty = false; - if (defaultStrings.includes(xmlData) && checkXML) { - document.getElementById(sourceId).style.backgroundColor = color_red; - xmlData = ""; - empty = true; - } - if (defaultStrings.includes(transformData) && checkTransform) { - document.getElementById(transformId).style.backgroundColor = color_red; - empty = true; - } - if (!empty) { - restRequest(backend, endpoint, xmlData, transformData).then(function (result) { - document.getElementById("resultArea").innerText = result.result; - highlightSyntax("resultArea"); - document.getElementById("procinfo").innerText = ' Computed using ' + result.processor; - - - if (result.status == "OK") { - document.getElementById("procinfo").innerText += " (" + result.time + "ms)"; - if (result.type) - document.getElementById("procinfo").innerText += ". Returned: " + result.type; - else - document.getElementById("procinfo").innerText += ". Engine doesn't support return of data types."; - procinfo.style.color = "#30aa58"; - } else { - procinfo.style.color = "#aa3030"; - } - }); - } else { - document.getElementById("resultArea").innerHTML = "No data provided!"; - return false; - } - -} - -/** -* Function that prepares data to send and handles response -* -* @function -* @name performFormatRequest -* @kind function -* @param {any} endpoint of target service -* @param {any} checkXML enable checking for empty XML -* @param {any} sourceId ID of element to get XML from -* @param {any} targetId ID of element to write formatted XML -* @returns {void} -*/ -function performFormatRequest(endpoint, checkXML, sourceId, targetId) { - const sourceElement = document.getElementById(sourceId); - const targetElement = document.getElementById(targetId); - const infoElement = document.getElementById("formatinfo"); - const backend = "libxml"; - var xmlData = sourceElement.innerText.trim(); - - var empty = false; - if (defaultStrings.includes(xmlData) && checkXML) { - sourceElement.style.backgroundColor = color_red; - xmlData = ""; - empty = true; - } - - if (!empty) { - restRequest(backend, endpoint, xmlData, "").then(function (result) { - if (result.status == "OK") { - targetElement.innerText = result.result.trim(); - highlightSyntax(targetElement.id); - - targetElement.style.backgroundColor = null; - infoElement.innerText = ' Computed'.concat(" in ", result.time, "ms."); - infoElement.style.color = "#30aa58"; - - } - else { - targetElement.style.backgroundColor = color_red; - infoElement.innerText = result.result; - infoElement.style.color = "#aa3030"; - } - - }); - } - - -} - - -/** -* Form REST request, send and return received data -* -* @async -* @function -* @name restRequest -* @kind function -* @param {any} backend target backend -* @param {any} endpoint of target service -* @param {any} xmlData XML that will be sent -* @param {any} transformData data used to transform given XML -* @returns {Promise} -*/ -async function restRequest(backend, endpoint, xmlData, transformData) { - - const addr = window.location.protocol + "//" + window.location.hostname + "/" + backend + "/" + endpoint; - - if (defaultStrings.includes(xmlData)) { - xmlData = ""; - } - - var jsonData = JSON.stringify({ - "data": xmlData, - "process": transformData, - "processor": getProcessor(), - "version": getVersion() - }); - var init = { - headers: new Headers({ - }), - body: jsonData, - // body: data, - method: "POST" - }; - var request = new Request(addr, init); - - - var result = await fetch(request).then(response => { - return response.text().then(function (text) { - return JSON.parse(text); - }); - - }); - return result; -} \ No newline at end of file diff --git a/Frontend/assets/scripts/tools/xmlFormatter.js b/Frontend/assets/scripts/tools/xmlFormatter.js deleted file mode 100644 index fef7d28..0000000 --- a/Frontend/assets/scripts/tools/xmlFormatter.js +++ /dev/null @@ -1,34 +0,0 @@ -/** - * This function is executed after the page is loaded. - * - * @function - * @name init - * @kind function - */ -function init() { - configurePastingInElement("xmlArea"); -} - -/** - * Function returns processor that will be used to transform XML. - * This solution allows to use one function for sending request from every tool - * - * @function - * @name getProcessor - * @kind function - */ -function getProcessor() { - return "libxml"; -} - -/** - * Function returns version of XML processor that will be used to transform XML. - * This solution allows to use one function for sending request from every tool - * - * @function - * @name getVersion - * @kind function - */ -function getVersion() { - return "1.0" -} \ No newline at end of file diff --git a/Frontend/assets/scripts/tools/xpath.js b/Frontend/assets/scripts/tools/xpath.js deleted file mode 100644 index ab5bff6..0000000 --- a/Frontend/assets/scripts/tools/xpath.js +++ /dev/null @@ -1,174 +0,0 @@ - -/** - * The `processVersionSelector()` function is responsible for updating the display of the web page - * based on the selected processor and version. - * - * @function - * @name processVersionSelector - * @kind function - * @returns {void} - */ -function processVersionSelector() { - var processor = getProcessor(); - var hideableOptions = document.getElementsByClassName("hideable"); - for (let i = 0; i < hideableOptions.length; i++) { - hideableOptions[i].style = "display: none;"; - } - if (processor == "xalan" || processor == "libxml") { - var xalanOptions = document.getElementsByClassName("xalan"); - for (let i = 0; i < xalanOptions.length; i++) { - xalanOptions[i].style = ""; - } - document.getElementById("versions").selectedIndex = 0; - } - else { - var saxonOptions = document.getElementsByClassName("saxon"); - for (let i = 0; i < saxonOptions.length; i++) { - saxonOptions[i].style = ""; - } - document.getElementById("versions").selectedIndex = 3; - - } - processTooltip(); - -} - -/** - * The `processTooltip()` function is responsible for updating the display of the tooltip based on the selected version of the processor. - * It shows or hides different sections of the tooltip based on the selected version. - * It also handles the click event on the form and updates the tooltip accordingly. - * - * @function - * @name processTooltip - * @kind function - */ -function processTooltip() { - var filter = "collapse" + getVersion(); - var collList; - - - if (filter == "collapse3.0") { - document.getElementById("tooltipFunctionInfo").innerText = "XPath 3.0 functions"; - hideList(document.getElementsByName("collapse10")); - hideList(document.getElementsByName("collapse20")); - showList(document.getElementsByName("collapse30")); - hideList(document.getElementsByName("collapse31")); - - } else if (filter == "collapse3.1") { - document.getElementById("tooltipFunctionInfo").innerText = "XPath 3.1 functions"; - hideList(document.getElementsByName("collapse10")); - hideList(document.getElementsByName("collapse20")); - hideList(document.getElementsByName("collapse30")); - showList(document.getElementsByName("collapse31")); - } else if (filter == "collapse2.0") { - document.getElementById("tooltipFunctionInfo").innerText = "XPath 2.0 functions"; - hideList(document.getElementsByName("collapse10")); - showList(document.getElementsByName("collapse20")); - hideList(document.getElementsByName("collapse30")); - hideList(document.getElementsByName("collapse31")); - } else { - document.getElementById("tooltipFunctionInfo").innerText = "XPath 1.0 functions"; - showList(document.getElementsByName("collapse10")); - hideList(document.getElementsByName("collapse20")); - hideList(document.getElementsByName("collapse30")); - hideList(document.getElementsByName("collapse31")); - - } -} - - - -/** - * This function is executed after the page is loaded. - * - * @function - * @name init - * @kind function - */ -function init() { - - // Make sure that only plain text is pasted - configurePastingInElement("xmlArea"); - configurePastingInElement("transformArea"); - - //Handle clicks in whole form and set info in tooltip - setDefaultContent(document.getElementById("xmlArea"), 'Insert XML here'); - setDefaultContent(document.getElementById("transformArea"), 'Insert XPath expression here'); - - processVersionSelector(); - processTooltip(); - tool.addEventListener('change', event => { - //Check if script was called from textarea or selector - var targetID = event.target.getAttribute('id'); - if (targetID == "processors") { - processVersionSelector(); - processTooltip(); - } - else if (targetID == "versions") { - processTooltip(); - } - - - }) - tool.addEventListener('click', event => { - //Check if script was called from textarea or selector - var targetID = event.target.getAttribute('id'); - if (targetID !== "xmlArea" && targetID !== "transformArea") { - return; - } - processTooltip(); - - }) - tool.addEventListener('change', event => { - //Check if script was called from textarea or selector - var targetID = event.target.getAttribute('id'); - if (targetID !== "xmlArea" && targetID !== "transformArea") { - return; - } - processTooltip(); - }) - - var triggerList = document.getElementsByClassName("collapseTrigger"); - for (i = 0; i < triggerList.length; i++) { - - triggerList[i].addEventListener("click", function () { - var collapsible = this.parentElement; - if (this.tagName == "A") { - var collapsibleData = this.nextElementSibling; - } else { - var collapsibleData = this.parentElement.nextElementSibling; - - } - - - if (collapsibleData.style.maxHeight > "0px") { - collapsibleData.style.maxHeight = "0px"; - - this.classList.toggle("active", false); - if (!this.classList.contains("collapsibleMini")) { - collapsible.classList.toggle("active", false); - } - - var subLists1 = collapsibleData.getElementsByClassName("content"); - var subLists2 = collapsibleData.getElementsByClassName("active"); - for (j = 0; j < subLists1.length; j++) { - subLists1[j].style.maxHeight = "0px"; - } - for (j = 0; j < subLists2.length; j++) { - subLists2[j].classList.toggle("active", false); - } - } else { - collapsibleData.style.maxHeight = (collapsibleData.scrollHeight) + "px"; - - this.classList.toggle("active", true); - if (!this.classList.contains("collapsibleMini")) { - collapsible.classList.toggle("active", true); - } else { - var parentContent = this.closest(".content"); - parentContent.style.maxHeight = (parentContent.scrollHeight + collapsibleData.scrollHeight) + "px"; - } - } - }); - } -} - diff --git a/Frontend/assets/scripts/tools/xsd.js b/Frontend/assets/scripts/tools/xsd.js deleted file mode 100644 index 62e5612..0000000 --- a/Frontend/assets/scripts/tools/xsd.js +++ /dev/null @@ -1,51 +0,0 @@ -/** - * This function is executed after the page is loaded. - * - * @function - * @name init - * @kind function - */ -function init() { - // Make sure that only plain text is pasted - configurePastingInElement("xmlArea"); - configurePastingInElement("transformArea"); - - //Handle clicks in whole form and set info in tooltip - setDefaultContent(document.getElementById("xmlArea"), 'Insert XML here'); - setDefaultContent(document.getElementById("transformArea"), 'Insert XSD here'); - - // refreshTooltip(); - processTooltip(); - tool.addEventListener('click', event => { - //Check if script was called from textarea or selector - var targetID = event.target.getAttribute('id'); - if (targetID !== "processors" && targetID !== "xmlArea" && targetID !== "transformArea" && targetID !== "versions") { - return; - } - - processTooltip(); - - }) -} - -/** - * The `processTooltip()` function is responsible for updating the display of the tooltip based on the selected version of the processor. - * It shows or hides different sections of the tooltip based on the selected version. - * It also handles the click event on the form and updates the tooltip accordingly. - * - * @function - * @name processTooltip - * @kind function - */ -function processTooltip() { - - if (getProcessor() == "xalan") { - document.getElementById("tooltipFunctionInfo").innerText = "XSLT 1.0 functions"; - document.getElementById("processorTooltipInfo").innerText = "Supports XSLT 1.0"; - hideList(document.getElementsByName("collapse30")); - } else { - document.getElementById("tooltipFunctionInfo").innerText = "XSLT 1.0, 2.0 & 3.0 functions"; - document.getElementById("processorTooltipInfo").innerText = "Supports XSLT up to 3.0"; - showList(document.getElementsByName("collapse30")); - } -} \ No newline at end of file diff --git a/Frontend/assets/scripts/tools/xslt.js b/Frontend/assets/scripts/tools/xslt.js deleted file mode 100644 index 4e61cb1..0000000 --- a/Frontend/assets/scripts/tools/xslt.js +++ /dev/null @@ -1,100 +0,0 @@ -/** - * The `processTooltip()` function is responsible for updating the display of the tooltip based on the selected version of the processor. - * It shows or hides different sections of the tooltip based on the selected version. - * It also handles the click event on the form and updates the tooltip accordingly. - * - * @function - * @name processTooltip - * @kind function - */ -function processTooltip() { - - if (getProcessor() == "xalan" || getProcessor() == "libxml") { - document.getElementById("tooltipFunctionInfo").innerText = "XSLT 1.0 functions"; - document.getElementById("processorTooltipInfo").innerText = "Supports XSLT 1.0"; - hideList(document.getElementsByName("collapse30")); - } else { - document.getElementById("tooltipFunctionInfo").innerText = "XSLT 1.0, 2.0 & 3.0 functions"; - document.getElementById("processorTooltipInfo").innerText = "Supports XSLT up to 3.0"; - showList(document.getElementsByName("collapse30")); - } -} - - -/** - * This function is executed after the page is loaded. - * - * @function - * @name init - * @kind function - */ -function init() { - // Make sure that only plain text is pasted - configurePastingInElement("xmlArea"); - configurePastingInElement("transformArea"); - - //Handle clicks in whole form and set info in tooltip - setDefaultContent(document.getElementById("xmlArea"), 'Insert XML here'); - setDefaultContent(document.getElementById("transformArea"), 'Insert XSLT here'); - - // refreshTooltip(); - processTooltip(); - tool.addEventListener('click', event => { - //Check if script was called from textarea or selector - var targetID = event.target.getAttribute('id'); - if (targetID !== "processors" && targetID !== "xmlArea" && targetID !== "transformArea" && targetID !== "versions") { - return; - } - - processTooltip(); - }) - - tool.addEventListener('change', event => { - //Check if script was called from textarea or selector - var targetID = event.target.getAttribute('id'); - if (targetID !== "processors") { - return; - } - - processTooltip(); - - }) - - var triggerList = document.getElementsByClassName("collapseTrigger"); - for (i = 0; i < triggerList.length; i++) { - - triggerList[i].addEventListener("click", function () { - - var collapsible = this.parentElement; - var collapsibleData = this.nextElementSibling; - if (collapsibleData.style.maxHeight > "0px") { - collapsibleData.style.maxHeight = "0px"; - - this.classList.toggle("active", false); - if (!this.classList.contains("collapsibleMini")) { - collapsible.classList.toggle("active", false); - } - - var subLists1 = collapsibleData.getElementsByClassName("content"); - var subLists2 = collapsibleData.getElementsByClassName("active"); - for (j = 0; j < subLists1.length; j++) { - subLists1[j].style.maxHeight = "0px"; - } - for (j = 0; j < subLists2.length; j++) { - subLists2[j].classList.toggle("active", false); - } - } else { - collapsibleData.style.maxHeight = (collapsibleData.scrollHeight) + "px"; - - this.classList.toggle("active", true); - if (!this.classList.contains("collapsibleMini")) { - collapsible.classList.toggle("active", true); - } else { - var parentContent = this.closest(".content"); - parentContent.style.maxHeight = (parentContent.scrollHeight + collapsibleData.scrollHeight) + "px"; - } - } - }); - } - -} \ No newline at end of file diff --git a/Frontend/common.css b/Frontend/common.css deleted file mode 100644 index 492ef0f..0000000 --- a/Frontend/common.css +++ /dev/null @@ -1,6 +0,0 @@ -@import url('https://necolas.github.io/normalize.css/8.0.1/normalize.css'); -@import url('Frontend/css/r11addons.css'); -@import url('Frontend/css/r11tables.css'); -@import url('Frontend/css/r11tool.css'); -@import url('Frontend/css/r11tooltip.css'); -@import url('Frontend/css/r11modal.css'); diff --git a/Frontend/env.d.ts b/Frontend/env.d.ts new file mode 100644 index 0000000..11f02fe --- /dev/null +++ b/Frontend/env.d.ts @@ -0,0 +1 @@ +/// diff --git a/Frontend/index.html b/Frontend/index.html index d8aeaa6..4e362b1 100644 --- a/Frontend/index.html +++ b/Frontend/index.html @@ -1,57 +1,13 @@ - - - - - - - - - Release11 Web Tools - - + + - - - - - -
-
-
- - -
- -
- - - + + + Release11 Tools + + +
+ + diff --git a/Frontend/insert_version.sh b/Frontend/insert_version.sh deleted file mode 100644 index 9962202..0000000 --- a/Frontend/insert_version.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh - -input="$(date +'%Y-%m-%d %H:%M')" - -sed -i "s/\[\:VERSION\:\]/$input/g" /usr/share/nginx/html/index.html \ No newline at end of file diff --git a/Frontend/lawful/privacy-policy.html b/Frontend/lawful/privacy-policy.html deleted file mode 100644 index a3c4061..0000000 --- a/Frontend/lawful/privacy-policy.html +++ /dev/null @@ -1,43 +0,0 @@ - - - - - - - - - - - - - - -
-

Lorem ipsum

-

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Nullam ac tortor vitae purus. Felis imperdiet proin fermentum leo. Donec adipiscing tristique risus nec feugiat in fermentum. Etiam dignissim diam quis enim lobortis. Amet dictum sit amet justo donec. Leo integer malesuada nunc vel risus commodo. Scelerisque purus semper eget duis at tellus. In ornare quam viverra orci sagittis. Ultrices tincidunt arcu non sodales neque sodales.

- -

Congue nisi vitae

-

Congue nisi vitae suscipit tellus mauris a diam. Ullamcorper velit sed ullamcorper morbi tincidunt ornare massa eget egestas. Scelerisque eu ultrices vitae auctor eu augue. Sit amet mauris commodo quis imperdiet massa tincidunt nunc pulvinar. Et magnis dis parturient montes nascetur. Imperdiet dui accumsan sit amet nulla facilisi morbi tempus. Quisque non tellus orci ac auctor. Tempor orci eu lobortis elementum nibh tellus molestie nunc. Purus in massa tempor nec feugiat nisl. Ultrices eros in cursus turpis. Feugiat scelerisque varius morbi enim nunc faucibus a pellentesque sit. Diam sit amet nisl suscipit adipiscing bibendum est ultricies. Egestas quis ipsum suspendisse ultrices gravida dictum fusce ut placerat. Et molestie ac feugiat sed. Ut tortor pretium viverra suspendisse potenti. Malesuada bibendum arcu vitae elementum curabitur vitae nunc.

- -

Interdum posuere lorem ipsum dolor sit amet. Amet porttitor eget dolor morbi non. Nulla pellentesque dignissim enim sit amet. Volutpat lacus laoreet non curabitur. Lectus quam id leo in vitae turpis massa. Facilisis sed odio morbi quis commodo odio aenean. Posuere lorem ipsum dolor sit. Tempor commodo ullamcorper a lacus. Metus vulputate eu scelerisque felis imperdiet proin fermentum leo. Aliquam sem fringilla ut morbi tincidunt augue interdum. Tellus mauris a diam maecenas sed enim ut sem. Placerat in egestas erat imperdiet sed euismod nisi porta lorem. Pellentesque id nibh tortor id aliquet lectus proin. A cras semper auctor neque vitae. Non curabitur gravida arcu ac. Netus et malesuada fames ac turpis. Nulla porttitor massa id neque aliquam. Aliquam nulla facilisi cras fermentum odio eu. Cras ornare arcu dui vivamus arcu felis bibendum ut. Non enim praesent elementum facilisis leo.

- -

Lectus arcu bibendum at varius. Vestibulum lectus mauris ultrices eros in cursus turpis massa tincidunt. Libero nunc consequat interdum varius sit amet mattis vulputate enim. Facilisis leo vel fringilla est. Eros in cursus turpis massa tincidunt dui ut ornare. In mollis nunc sed id semper risus. Morbi tincidunt ornare massa eget egestas purus. Libero volutpat sed cras ornare. Sit amet commodo nulla facilisi nullam vehicula ipsum a. Viverra suspendisse potenti nullam ac tortor. Cursus vitae congue mauris rhoncus aenean vel elit scelerisque mauris. Vitae semper quis lectus nulla. Nunc sed blandit libero volutpat sed cras. Morbi tristique senectus et netus et malesuada fames. Pretium quam vulputate dignissim suspendisse in. A iaculis at erat pellentesque adipiscing commodo elit at imperdiet.

- -

Nec sagittis aliquam malesuada bibendum. In ante metus dictum at tempor commodo ullamcorper. Nec sagittis aliquam malesuada bibendum arcu vitae elementum. Diam phasellus vestibulum lorem sed risus. Diam maecenas ultricies mi eget mauris pharetra et ultrices neque. Amet volutpat consequat mauris nunc congue nisi vitae suscipit tellus. Quam nulla porttitor massa id neque. Dictum non consectetur a erat nam. At consectetur lorem donec massa sapien faucibus. Sagittis nisl rhoncus mattis rhoncus urna neque viverra justo nec. Non enim praesent elementum facilisis leo vel. Rhoncus urna neque viverra justo nec ultrices dui sapien eget.

- -

Amet facilisis

-

Amet facilisis magna etiam tempor. Vestibulum rhoncus est pellentesque elit. Fames ac turpis egestas integer eget. Dapibus ultrices in iaculis nunc. Sed turpis tincidunt id aliquet risus feugiat in. Et netus et malesuada fames ac. Amet massa vitae tortor condimentum lacinia. Felis eget nunc lobortis mattis aliquam faucibus purus. Nibh sed pulvinar proin gravida hendrerit lectus. Varius morbi enim nunc faucibus a pellentesque sit. Aliquam sem fringilla ut morbi. Sed nisi lacus sed viverra tellus in hac. Quis eleifend quam adipiscing vitae proin sagittis nisl rhoncus. Enim blandit volutpat maecenas volutpat blandit aliquam etiam. Fermentum iaculis eu non diam phasellus vestibulum lorem sed risus. Massa id neque aliquam vestibulum morbi. Enim diam vulputate ut pharetra. Orci sagittis eu volutpat odio facilisis.

- -

Sit amet cursus sit amet. Odio ut enim blandit volutpat maecenas volutpat blandit aliquam etiam. Amet est placerat in egestas erat imperdiet sed euismod nisi. Mattis vulputate enim nulla aliquet porttitor. At risus viverra adipiscing at in tellus integer. Sed viverra ipsum nunc aliquet. Dignissim cras tincidunt lobortis feugiat vivamus at augue eget arcu. Euismod elementum nisi quis eleifend quam adipiscing vitae proin sagittis. Placerat in egestas erat imperdiet sed. Eleifend donec pretium vulputate sapien nec. Ipsum dolor sit amet consectetur adipiscing.

- -

Morbi tristique senectus et netus et malesuada fames ac. Feugiat nibh sed pulvinar proin gravida hendrerit lectus. Amet purus gravida quis blandit turpis cursus in hac. Nulla aliquet enim tortor at auctor. Nulla facilisi etiam dignissim diam. Consequat nisl vel pretium lectus quam id leo. Enim neque volutpat ac tincidunt vitae semper. Tristique nulla aliquet enim tortor at. Eu mi bibendum neque egestas congue quisque egestas diam. Est ante in nibh mauris cursus. Felis bibendum ut tristique et. Tristique nulla aliquet enim tortor at. Non curabitur gravida arcu ac tortor dignissim convallis aenean. Eleifend donec pretium vulputate sapien nec. Massa tempor nec feugiat nisl pretium fusce id. Nulla facilisi morbi tempus iaculis urna id. Ornare suspendisse sed nisi lacus sed viverra tellus in.

- -

Morbi non arcu risus quis varius quam. Rhoncus est pellentesque elit ullamcorper dignissim cras. Gravida rutrum quisque non tellus orci ac auctor augue. Consequat semper viverra nam libero justo laoreet sit amet. Pellentesque habitant morbi tristique senectus et netus et malesuada. Ullamcorper eget nulla facilisi etiam dignissim diam quis enim. Quisque sagittis purus sit amet volutpat consequat mauris nunc congue. Sed tempus urna et pharetra pharetra massa massa ultricies mi. Quis lectus nulla at volutpat diam ut venenatis. Amet porttitor eget dolor morbi non arcu. Massa tincidunt dui ut ornare lectus sit amet est placerat. Odio tempor orci dapibus ultrices in iaculis nunc sed augue. Vitae turpis massa sed elementum tempus egestas sed. Velit egestas dui id ornare arcu odio. Scelerisque felis imperdiet proin fermentum leo vel orci porta non. Arcu bibendum at varius vel pharetra. Sapien eget mi proin sed libero enim. Tempus imperdiet nulla malesuada pellentesque elit eget. Semper auctor neque vitae tempus. Dolor magna eget est lorem ipsum.

- -

Augue neque gravida in fermentum et sollicitudin ac orci phasellus. Est placerat in egestas erat imperdiet sed euismod nisi. Aliquet risus feugiat in ante metus dictum at tempor commodo. Ultricies integer quis auctor elit sed vulputate. Aliquet risus feugiat in ante metus dictum. Accumsan lacus vel facilisis volutpat est velit. Augue mauris augue neque gravida in fermentum et sollicitudin. Vel quam elementum pulvinar etiam. Amet aliquam id diam maecenas ultricies mi. Elit pellentesque habitant morbi tristique senectus et. Habitant morbi tristique senectus et netus et malesuada fames. Nisl nisi scelerisque eu ultrices. Morbi tristique senectus et netus. Et malesuada fames ac turpis egestas. Magna ac placerat vestibulum lectus mauris ultrices eros in cursus. Dis parturient montes nascetur ridiculus.

-
- - - diff --git a/Frontend/lawful/terms-of-service.html b/Frontend/lawful/terms-of-service.html deleted file mode 100644 index a3c4061..0000000 --- a/Frontend/lawful/terms-of-service.html +++ /dev/null @@ -1,43 +0,0 @@ - - - - - - - - - - - - - - -
-

Lorem ipsum

-

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Nullam ac tortor vitae purus. Felis imperdiet proin fermentum leo. Donec adipiscing tristique risus nec feugiat in fermentum. Etiam dignissim diam quis enim lobortis. Amet dictum sit amet justo donec. Leo integer malesuada nunc vel risus commodo. Scelerisque purus semper eget duis at tellus. In ornare quam viverra orci sagittis. Ultrices tincidunt arcu non sodales neque sodales.

- -

Congue nisi vitae

-

Congue nisi vitae suscipit tellus mauris a diam. Ullamcorper velit sed ullamcorper morbi tincidunt ornare massa eget egestas. Scelerisque eu ultrices vitae auctor eu augue. Sit amet mauris commodo quis imperdiet massa tincidunt nunc pulvinar. Et magnis dis parturient montes nascetur. Imperdiet dui accumsan sit amet nulla facilisi morbi tempus. Quisque non tellus orci ac auctor. Tempor orci eu lobortis elementum nibh tellus molestie nunc. Purus in massa tempor nec feugiat nisl. Ultrices eros in cursus turpis. Feugiat scelerisque varius morbi enim nunc faucibus a pellentesque sit. Diam sit amet nisl suscipit adipiscing bibendum est ultricies. Egestas quis ipsum suspendisse ultrices gravida dictum fusce ut placerat. Et molestie ac feugiat sed. Ut tortor pretium viverra suspendisse potenti. Malesuada bibendum arcu vitae elementum curabitur vitae nunc.

- -

Interdum posuere lorem ipsum dolor sit amet. Amet porttitor eget dolor morbi non. Nulla pellentesque dignissim enim sit amet. Volutpat lacus laoreet non curabitur. Lectus quam id leo in vitae turpis massa. Facilisis sed odio morbi quis commodo odio aenean. Posuere lorem ipsum dolor sit. Tempor commodo ullamcorper a lacus. Metus vulputate eu scelerisque felis imperdiet proin fermentum leo. Aliquam sem fringilla ut morbi tincidunt augue interdum. Tellus mauris a diam maecenas sed enim ut sem. Placerat in egestas erat imperdiet sed euismod nisi porta lorem. Pellentesque id nibh tortor id aliquet lectus proin. A cras semper auctor neque vitae. Non curabitur gravida arcu ac. Netus et malesuada fames ac turpis. Nulla porttitor massa id neque aliquam. Aliquam nulla facilisi cras fermentum odio eu. Cras ornare arcu dui vivamus arcu felis bibendum ut. Non enim praesent elementum facilisis leo.

- -

Lectus arcu bibendum at varius. Vestibulum lectus mauris ultrices eros in cursus turpis massa tincidunt. Libero nunc consequat interdum varius sit amet mattis vulputate enim. Facilisis leo vel fringilla est. Eros in cursus turpis massa tincidunt dui ut ornare. In mollis nunc sed id semper risus. Morbi tincidunt ornare massa eget egestas purus. Libero volutpat sed cras ornare. Sit amet commodo nulla facilisi nullam vehicula ipsum a. Viverra suspendisse potenti nullam ac tortor. Cursus vitae congue mauris rhoncus aenean vel elit scelerisque mauris. Vitae semper quis lectus nulla. Nunc sed blandit libero volutpat sed cras. Morbi tristique senectus et netus et malesuada fames. Pretium quam vulputate dignissim suspendisse in. A iaculis at erat pellentesque adipiscing commodo elit at imperdiet.

- -

Nec sagittis aliquam malesuada bibendum. In ante metus dictum at tempor commodo ullamcorper. Nec sagittis aliquam malesuada bibendum arcu vitae elementum. Diam phasellus vestibulum lorem sed risus. Diam maecenas ultricies mi eget mauris pharetra et ultrices neque. Amet volutpat consequat mauris nunc congue nisi vitae suscipit tellus. Quam nulla porttitor massa id neque. Dictum non consectetur a erat nam. At consectetur lorem donec massa sapien faucibus. Sagittis nisl rhoncus mattis rhoncus urna neque viverra justo nec. Non enim praesent elementum facilisis leo vel. Rhoncus urna neque viverra justo nec ultrices dui sapien eget.

- -

Amet facilisis

-

Amet facilisis magna etiam tempor. Vestibulum rhoncus est pellentesque elit. Fames ac turpis egestas integer eget. Dapibus ultrices in iaculis nunc. Sed turpis tincidunt id aliquet risus feugiat in. Et netus et malesuada fames ac. Amet massa vitae tortor condimentum lacinia. Felis eget nunc lobortis mattis aliquam faucibus purus. Nibh sed pulvinar proin gravida hendrerit lectus. Varius morbi enim nunc faucibus a pellentesque sit. Aliquam sem fringilla ut morbi. Sed nisi lacus sed viverra tellus in hac. Quis eleifend quam adipiscing vitae proin sagittis nisl rhoncus. Enim blandit volutpat maecenas volutpat blandit aliquam etiam. Fermentum iaculis eu non diam phasellus vestibulum lorem sed risus. Massa id neque aliquam vestibulum morbi. Enim diam vulputate ut pharetra. Orci sagittis eu volutpat odio facilisis.

- -

Sit amet cursus sit amet. Odio ut enim blandit volutpat maecenas volutpat blandit aliquam etiam. Amet est placerat in egestas erat imperdiet sed euismod nisi. Mattis vulputate enim nulla aliquet porttitor. At risus viverra adipiscing at in tellus integer. Sed viverra ipsum nunc aliquet. Dignissim cras tincidunt lobortis feugiat vivamus at augue eget arcu. Euismod elementum nisi quis eleifend quam adipiscing vitae proin sagittis. Placerat in egestas erat imperdiet sed. Eleifend donec pretium vulputate sapien nec. Ipsum dolor sit amet consectetur adipiscing.

- -

Morbi tristique senectus et netus et malesuada fames ac. Feugiat nibh sed pulvinar proin gravida hendrerit lectus. Amet purus gravida quis blandit turpis cursus in hac. Nulla aliquet enim tortor at auctor. Nulla facilisi etiam dignissim diam. Consequat nisl vel pretium lectus quam id leo. Enim neque volutpat ac tincidunt vitae semper. Tristique nulla aliquet enim tortor at. Eu mi bibendum neque egestas congue quisque egestas diam. Est ante in nibh mauris cursus. Felis bibendum ut tristique et. Tristique nulla aliquet enim tortor at. Non curabitur gravida arcu ac tortor dignissim convallis aenean. Eleifend donec pretium vulputate sapien nec. Massa tempor nec feugiat nisl pretium fusce id. Nulla facilisi morbi tempus iaculis urna id. Ornare suspendisse sed nisi lacus sed viverra tellus in.

- -

Morbi non arcu risus quis varius quam. Rhoncus est pellentesque elit ullamcorper dignissim cras. Gravida rutrum quisque non tellus orci ac auctor augue. Consequat semper viverra nam libero justo laoreet sit amet. Pellentesque habitant morbi tristique senectus et netus et malesuada. Ullamcorper eget nulla facilisi etiam dignissim diam quis enim. Quisque sagittis purus sit amet volutpat consequat mauris nunc congue. Sed tempus urna et pharetra pharetra massa massa ultricies mi. Quis lectus nulla at volutpat diam ut venenatis. Amet porttitor eget dolor morbi non arcu. Massa tincidunt dui ut ornare lectus sit amet est placerat. Odio tempor orci dapibus ultrices in iaculis nunc sed augue. Vitae turpis massa sed elementum tempus egestas sed. Velit egestas dui id ornare arcu odio. Scelerisque felis imperdiet proin fermentum leo vel orci porta non. Arcu bibendum at varius vel pharetra. Sapien eget mi proin sed libero enim. Tempus imperdiet nulla malesuada pellentesque elit eget. Semper auctor neque vitae tempus. Dolor magna eget est lorem ipsum.

- -

Augue neque gravida in fermentum et sollicitudin ac orci phasellus. Est placerat in egestas erat imperdiet sed euismod nisi. Aliquet risus feugiat in ante metus dictum at tempor commodo. Ultricies integer quis auctor elit sed vulputate. Aliquet risus feugiat in ante metus dictum. Accumsan lacus vel facilisis volutpat est velit. Augue mauris augue neque gravida in fermentum et sollicitudin. Vel quam elementum pulvinar etiam. Amet aliquam id diam maecenas ultricies mi. Elit pellentesque habitant morbi tristique senectus et. Habitant morbi tristique senectus et netus et malesuada fames. Nisl nisi scelerisque eu ultrices. Morbi tristique senectus et netus. Et malesuada fames ac turpis egestas. Magna ac placerat vestibulum lectus mauris ultrices eros in cursus. Dis parturient montes nascetur ridiculus.

-
- - - diff --git a/Frontend/nginx.conf b/Frontend/nginx.conf index 74e93e6..144dee5 100644 --- a/Frontend/nginx.conf +++ b/Frontend/nginx.conf @@ -8,6 +8,7 @@ server { location / { root /usr/share/nginx/html; index index.html index.htm; + try_files $uri $uri/ /index.html; expires -1; add_header Cache-Control "private, no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"; } @@ -17,6 +18,11 @@ server { proxy_set_header Host $host; } + location /api/mock { + proxy_pass http://xmltools-mocked-services:8097/api/mock; + proxy_set_header Host $host; + } + location /libxml/ { proxy_pass http://xmltools-libxml-backend/; proxy_set_header Host $host; diff --git a/Frontend/package-lock.json b/Frontend/package-lock.json new file mode 100644 index 0000000..1734b18 --- /dev/null +++ b/Frontend/package-lock.json @@ -0,0 +1,8055 @@ +{ + "name": "new-frontend", + "version": "0.0.0", + "lockfileVersion": 2, + "requires": true, + "packages": { + "": { + "name": "new-frontend", + "version": "0.0.0", + "dependencies": { + "@codemirror/lang-html": "^6.4.5", + "@codemirror/lang-json": "^6.0.1", + "@codemirror/lang-xml": "^6.0.2", + "@codemirror/theme-one-dark": "^6.1.2", + "codemirror": "^6.0.1", + "vue": "^3.3.4", + "vue-codemirror": "^6.1.1", + "vue-router": "^4.2.2" + }, + "devDependencies": { + "@rushstack/eslint-patch": "^1.2.0", + "@tsconfig/node18": "^2.0.1", + "@types/node": "^18.16.17", + "@vitejs/plugin-vue": "^4.2.3", + "@vue/eslint-config-prettier": "^7.1.0", + "@vue/eslint-config-typescript": "^11.0.3", + "@vue/tsconfig": "^0.4.0", + "autoprefixer": "^10.4.14", + "eslint": "^8.39.0", + "eslint-plugin-vue": "^9.11.0", + "npm-run-all": "^4.1.5", + "postcss": "^8.4.24", + "prettier": "^2.8.8", + "tailwindcss": "^3.3.2", + "typescript": "~5.0.4", + "vite": "^4.3.9", + "vue-tsc": "^1.6.5" + } + }, + "node_modules/@aashutoshrathi/word-wrap": { + "version": "1.2.6", + "resolved": "https://registry.npmjs.org/@aashutoshrathi/word-wrap/-/word-wrap-1.2.6.tgz", + "integrity": "sha512-1Yjs2SvM8TflER/OD3cOjhWWOZb58A2t7wpE2S9XfBYTiIl+XFhQG2bjy4Pu1I+EAlCNUzRDYDdFwFYUKvXcIA==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/@alloc/quick-lru": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/@alloc/quick-lru/-/quick-lru-5.2.0.tgz", + "integrity": "sha512-UrcABB+4bUrFABwbluTIBErXwvbsU/V7TZWfmbgJfbkwiBuziS9gxdODUyuiecfdGQ85jglMW6juS3+z5TsKLw==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@babel/parser": { + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.22.5.tgz", + "integrity": "sha512-DFZMC9LJUG9PLOclRC32G63UXwzqS2koQC8dkx+PLdmt1xSePYpbT/NbsrJy8Q/muXz7o/h/d4A7Fuyixm559Q==", + "bin": { + "parser": "bin/babel-parser.js" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@codemirror/autocomplete": { + "version": "6.8.1", + "resolved": "https://registry.npmjs.org/@codemirror/autocomplete/-/autocomplete-6.8.1.tgz", + "integrity": "sha512-HpphvDcTdOx+9R3eUw9hZK9JA77jlaBF0kOt2McbyfvY0rX9pnMoO8rkkZc0GzSbzhIY4m5xJ0uHHgjfqHNmXQ==", + "dependencies": { + "@codemirror/language": "^6.0.0", + "@codemirror/state": "^6.0.0", + "@codemirror/view": "^6.6.0", + "@lezer/common": "^1.0.0" + }, + "peerDependencies": { + "@codemirror/language": "^6.0.0", + "@codemirror/state": "^6.0.0", + "@codemirror/view": "^6.0.0", + "@lezer/common": "^1.0.0" + } + }, + "node_modules/@codemirror/commands": { + "version": "6.2.4", + "resolved": "https://registry.npmjs.org/@codemirror/commands/-/commands-6.2.4.tgz", + "integrity": "sha512-42lmDqVH0ttfilLShReLXsDfASKLXzfyC36bzwcqzox9PlHulMcsUOfHXNo2X2aFMVNUoQ7j+d4q5bnfseYoOA==", + "dependencies": { + "@codemirror/language": "^6.0.0", + "@codemirror/state": "^6.2.0", + "@codemirror/view": "^6.0.0", + "@lezer/common": "^1.0.0" + } + }, + "node_modules/@codemirror/lang-css": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/@codemirror/lang-css/-/lang-css-6.2.0.tgz", + "integrity": "sha512-oyIdJM29AyRPM3+PPq1I2oIk8NpUfEN3kAM05XWDDs6o3gSneIKaVJifT2P+fqONLou2uIgXynFyMUDQvo/szA==", + "dependencies": { + "@codemirror/autocomplete": "^6.0.0", + "@codemirror/language": "^6.0.0", + "@codemirror/state": "^6.0.0", + "@lezer/common": "^1.0.2", + "@lezer/css": "^1.0.0" + } + }, + "node_modules/@codemirror/lang-html": { + "version": "6.4.5", + "resolved": "https://registry.npmjs.org/@codemirror/lang-html/-/lang-html-6.4.5.tgz", + "integrity": "sha512-dUCSxkIw2G+chaUfw3Gfu5kkN83vJQN8gfQDp9iEHsIZluMJA0YJveT12zg/28BJx+uPsbQ6VimKCgx3oJrZxA==", + "dependencies": { + "@codemirror/autocomplete": "^6.0.0", + "@codemirror/lang-css": "^6.0.0", + "@codemirror/lang-javascript": "^6.0.0", + "@codemirror/language": "^6.4.0", + "@codemirror/state": "^6.0.0", + "@codemirror/view": "^6.2.2", + "@lezer/common": "^1.0.0", + "@lezer/css": "^1.1.0", + "@lezer/html": "^1.3.0" + } + }, + "node_modules/@codemirror/lang-javascript": { + "version": "6.1.9", + "resolved": "https://registry.npmjs.org/@codemirror/lang-javascript/-/lang-javascript-6.1.9.tgz", + "integrity": "sha512-z3jdkcqOEBT2txn2a87A0jSy6Te3679wg/U8QzMeftFt+4KA6QooMwfdFzJiuC3L6fXKfTXZcDocoaxMYfGz0w==", + "dependencies": { + "@codemirror/autocomplete": "^6.0.0", + "@codemirror/language": "^6.6.0", + "@codemirror/lint": "^6.0.0", + "@codemirror/state": "^6.0.0", + "@codemirror/view": "^6.0.0", + "@lezer/common": "^1.0.0", + "@lezer/javascript": "^1.0.0" + } + }, + "node_modules/@codemirror/lang-json": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/@codemirror/lang-json/-/lang-json-6.0.1.tgz", + "integrity": "sha512-+T1flHdgpqDDlJZ2Lkil/rLiRy684WMLc74xUnjJH48GQdfJo/pudlTRreZmKwzP8/tGdKf83wlbAdOCzlJOGQ==", + "dependencies": { + "@codemirror/language": "^6.0.0", + "@lezer/json": "^1.0.0" + } + }, + "node_modules/@codemirror/lang-xml": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/@codemirror/lang-xml/-/lang-xml-6.0.2.tgz", + "integrity": "sha512-JQYZjHL2LAfpiZI2/qZ/qzDuSqmGKMwyApYmEUUCTxLM4MWS7sATUEfIguZQr9Zjx/7gcdnewb039smF6nC2zw==", + "dependencies": { + "@codemirror/autocomplete": "^6.0.0", + "@codemirror/language": "^6.4.0", + "@codemirror/state": "^6.0.0", + "@lezer/common": "^1.0.0", + "@lezer/xml": "^1.0.0" + } + }, + "node_modules/@codemirror/language": { + "version": "6.8.0", + "resolved": "https://registry.npmjs.org/@codemirror/language/-/language-6.8.0.tgz", + "integrity": "sha512-r1paAyWOZkfY0RaYEZj3Kul+MiQTEbDvYqf8gPGaRvNneHXCmfSaAVFjwRUPlgxS8yflMxw2CTu6uCMp8R8A2g==", + "dependencies": { + "@codemirror/state": "^6.0.0", + "@codemirror/view": "^6.0.0", + "@lezer/common": "^1.0.0", + "@lezer/highlight": "^1.0.0", + "@lezer/lr": "^1.0.0", + "style-mod": "^4.0.0" + } + }, + "node_modules/@codemirror/lint": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/@codemirror/lint/-/lint-6.3.0.tgz", + "integrity": "sha512-tzxOVQNoDhhwFNfcTO2IB74wQoWarARcH6gv3YufPpiJ9yhcb7zD6JCkO5+FWARskqRFc8GFa6E+wUyOvADl5A==", + "dependencies": { + "@codemirror/state": "^6.0.0", + "@codemirror/view": "^6.0.0", + "crelt": "^1.0.5" + } + }, + "node_modules/@codemirror/search": { + "version": "6.5.0", + "resolved": "https://registry.npmjs.org/@codemirror/search/-/search-6.5.0.tgz", + "integrity": "sha512-64/M40YeJPToKvGO6p3fijo2vwUEj4nACEAXElCaYQ50HrXSvRaK+NHEhSh73WFBGdvIdhrV+lL9PdJy2RfCYA==", + "dependencies": { + "@codemirror/state": "^6.0.0", + "@codemirror/view": "^6.0.0", + "crelt": "^1.0.5" + } + }, + "node_modules/@codemirror/state": { + "version": "6.2.1", + "resolved": "https://registry.npmjs.org/@codemirror/state/-/state-6.2.1.tgz", + "integrity": "sha512-RupHSZ8+OjNT38zU9fKH2sv+Dnlr8Eb8sl4NOnnqz95mCFTZUaiRP8Xv5MeeaG0px2b8Bnfe7YGwCV3nsBhbuw==" + }, + "node_modules/@codemirror/theme-one-dark": { + "version": "6.1.2", + "resolved": "https://registry.npmjs.org/@codemirror/theme-one-dark/-/theme-one-dark-6.1.2.tgz", + "integrity": "sha512-F+sH0X16j/qFLMAfbciKTxVOwkdAS336b7AXTKOZhy8BR3eH/RelsnLgLFINrpST63mmN2OuwUt0W2ndUgYwUA==", + "dependencies": { + "@codemirror/language": "^6.0.0", + "@codemirror/state": "^6.0.0", + "@codemirror/view": "^6.0.0", + "@lezer/highlight": "^1.0.0" + } + }, + "node_modules/@codemirror/view": { + "version": "6.14.0", + "resolved": "https://registry.npmjs.org/@codemirror/view/-/view-6.14.0.tgz", + "integrity": "sha512-I263FPs4In42MNmrdwN2DfmYPFMVMXgT7o/mxdGp4jv5LPs8i0FOxzmxF5yeeQdYSTztb2ZhmPIu0ahveInVTg==", + "dependencies": { + "@codemirror/state": "^6.1.4", + "style-mod": "^4.0.0", + "w3c-keyname": "^2.2.4" + } + }, + "node_modules/@esbuild/android-arm": { + "version": "0.17.19", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.17.19.tgz", + "integrity": "sha512-rIKddzqhmav7MSmoFCmDIb6e2W57geRsM94gV2l38fzhXMwq7hZoClug9USI2pFRGL06f4IOPHHpFNOkWieR8A==", + "cpu": [ + "arm" + ], + "dev": true, + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/android-arm64": { + "version": "0.17.19", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.17.19.tgz", + "integrity": "sha512-KBMWvEZooR7+kzY0BtbTQn0OAYY7CsiydT63pVEaPtVYF0hXbUaOyZog37DKxK7NF3XacBJOpYT4adIJh+avxA==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/android-x64": { + "version": "0.17.19", + "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.17.19.tgz", + "integrity": "sha512-uUTTc4xGNDT7YSArp/zbtmbhO0uEEK9/ETW29Wk1thYUJBz3IVnvgEiEwEa9IeLyvnpKrWK64Utw2bgUmDveww==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/darwin-arm64": { + "version": "0.17.19", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.17.19.tgz", + "integrity": "sha512-80wEoCfF/hFKM6WE1FyBHc9SfUblloAWx6FJkFWTWiCoht9Mc0ARGEM47e67W9rI09YoUxJL68WHfDRYEAvOhg==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/darwin-x64": { + "version": "0.17.19", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.17.19.tgz", + "integrity": "sha512-IJM4JJsLhRYr9xdtLytPLSH9k/oxR3boaUIYiHkAawtwNOXKE8KoU8tMvryogdcT8AU+Bflmh81Xn6Q0vTZbQw==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/freebsd-arm64": { + "version": "0.17.19", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.17.19.tgz", + "integrity": "sha512-pBwbc7DufluUeGdjSU5Si+P3SoMF5DQ/F/UmTSb8HXO80ZEAJmrykPyzo1IfNbAoaqw48YRpv8shwd1NoI0jcQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/freebsd-x64": { + "version": "0.17.19", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.17.19.tgz", + "integrity": "sha512-4lu+n8Wk0XlajEhbEffdy2xy53dpR06SlzvhGByyg36qJw6Kpfk7cp45DR/62aPH9mtJRmIyrXAS5UWBrJT6TQ==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-arm": { + "version": "0.17.19", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.17.19.tgz", + "integrity": "sha512-cdmT3KxjlOQ/gZ2cjfrQOtmhG4HJs6hhvm3mWSRDPtZ/lP5oe8FWceS10JaSJC13GBd4eH/haHnqf7hhGNLerA==", + "cpu": [ + "arm" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-arm64": { + "version": "0.17.19", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.17.19.tgz", + "integrity": "sha512-ct1Tg3WGwd3P+oZYqic+YZF4snNl2bsnMKRkb3ozHmnM0dGWuxcPTTntAF6bOP0Sp4x0PjSF+4uHQ1xvxfRKqg==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-ia32": { + "version": "0.17.19", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.17.19.tgz", + "integrity": "sha512-w4IRhSy1VbsNxHRQpeGCHEmibqdTUx61Vc38APcsRbuVgK0OPEnQ0YD39Brymn96mOx48Y2laBQGqgZ0j9w6SQ==", + "cpu": [ + "ia32" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-loong64": { + "version": "0.17.19", + "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.17.19.tgz", + "integrity": "sha512-2iAngUbBPMq439a+z//gE+9WBldoMp1s5GWsUSgqHLzLJ9WoZLZhpwWuym0u0u/4XmZ3gpHmzV84PonE+9IIdQ==", + "cpu": [ + "loong64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-mips64el": { + "version": "0.17.19", + "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.17.19.tgz", + "integrity": "sha512-LKJltc4LVdMKHsrFe4MGNPp0hqDFA1Wpt3jE1gEyM3nKUvOiO//9PheZZHfYRfYl6AwdTH4aTcXSqBerX0ml4A==", + "cpu": [ + "mips64el" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-ppc64": { + "version": "0.17.19", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.17.19.tgz", + "integrity": "sha512-/c/DGybs95WXNS8y3Ti/ytqETiW7EU44MEKuCAcpPto3YjQbyK3IQVKfF6nbghD7EcLUGl0NbiL5Rt5DMhn5tg==", + "cpu": [ + "ppc64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-riscv64": { + "version": "0.17.19", + "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.17.19.tgz", + "integrity": "sha512-FC3nUAWhvFoutlhAkgHf8f5HwFWUL6bYdvLc/TTuxKlvLi3+pPzdZiFKSWz/PF30TB1K19SuCxDTI5KcqASJqA==", + "cpu": [ + "riscv64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-s390x": { + "version": "0.17.19", + "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.17.19.tgz", + "integrity": "sha512-IbFsFbxMWLuKEbH+7sTkKzL6NJmG2vRyy6K7JJo55w+8xDk7RElYn6xvXtDW8HCfoKBFK69f3pgBJSUSQPr+4Q==", + "cpu": [ + "s390x" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-x64": { + "version": "0.17.19", + "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.17.19.tgz", + "integrity": "sha512-68ngA9lg2H6zkZcyp22tsVt38mlhWde8l3eJLWkyLrp4HwMUr3c1s/M2t7+kHIhvMjglIBrFpncX1SzMckomGw==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/netbsd-x64": { + "version": "0.17.19", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.17.19.tgz", + "integrity": "sha512-CwFq42rXCR8TYIjIfpXCbRX0rp1jo6cPIUPSaWwzbVI4aOfX96OXY8M6KNmtPcg7QjYeDmN+DD0Wp3LaBOLf4Q==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "netbsd" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/openbsd-x64": { + "version": "0.17.19", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.17.19.tgz", + "integrity": "sha512-cnq5brJYrSZ2CF6c35eCmviIN3k3RczmHz8eYaVlNasVqsNY+JKohZU5MKmaOI+KkllCdzOKKdPs762VCPC20g==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "openbsd" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/sunos-x64": { + "version": "0.17.19", + "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.17.19.tgz", + "integrity": "sha512-vCRT7yP3zX+bKWFeP/zdS6SqdWB8OIpaRq/mbXQxTGHnIxspRtigpkUcDMlSCOejlHowLqII7K2JKevwyRP2rg==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "sunos" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/win32-arm64": { + "version": "0.17.19", + "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.17.19.tgz", + "integrity": "sha512-yYx+8jwowUstVdorcMdNlzklLYhPxjniHWFKgRqH7IFlUEa0Umu3KuYplf1HUZZ422e3NU9F4LGb+4O0Kdcaag==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/win32-ia32": { + "version": "0.17.19", + "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.17.19.tgz", + "integrity": "sha512-eggDKanJszUtCdlVs0RB+h35wNlb5v4TWEkq4vZcmVt5u/HiDZrTXe2bWFQUez3RgNHwx/x4sk5++4NSSicKkw==", + "cpu": [ + "ia32" + ], + "dev": true, + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/win32-x64": { + "version": "0.17.19", + "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.17.19.tgz", + "integrity": "sha512-lAhycmKnVOuRYNtRtatQR1LPQf2oYCkRGkSFnseDAKPl8lu5SOsK/e1sXe5a0Pc5kHIHe6P2I/ilntNv2xf3cA==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@eslint-community/eslint-utils": { + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz", + "integrity": "sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==", + "dev": true, + "dependencies": { + "eslint-visitor-keys": "^3.3.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "peerDependencies": { + "eslint": "^6.0.0 || ^7.0.0 || >=8.0.0" + } + }, + "node_modules/@eslint-community/regexpp": { + "version": "4.5.1", + "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.5.1.tgz", + "integrity": "sha512-Z5ba73P98O1KUYCCJTUeVpja9RcGoMdncZ6T49FCUl2lN38JtCJ+3WgIDBv0AuY4WChU5PmtJmOCTlN6FZTFKQ==", + "dev": true, + "engines": { + "node": "^12.0.0 || ^14.0.0 || >=16.0.0" + } + }, + "node_modules/@eslint/eslintrc": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.0.3.tgz", + "integrity": "sha512-+5gy6OQfk+xx3q0d6jGZZC3f3KzAkXc/IanVxd1is/VIIziRqqt3ongQz0FiTUXqTk0c7aDB3OaFuKnuSoJicQ==", + "dev": true, + "dependencies": { + "ajv": "^6.12.4", + "debug": "^4.3.2", + "espree": "^9.5.2", + "globals": "^13.19.0", + "ignore": "^5.2.0", + "import-fresh": "^3.2.1", + "js-yaml": "^4.1.0", + "minimatch": "^3.1.2", + "strip-json-comments": "^3.1.1" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/@eslint/js": { + "version": "8.43.0", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.43.0.tgz", + "integrity": "sha512-s2UHCoiXfxMvmfzqoN+vrQ84ahUSYde9qNO1MdxmoEhyHWsfmwOpFlwYV+ePJEVc7gFnATGUi376WowX1N7tFg==", + "dev": true, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + } + }, + "node_modules/@humanwhocodes/config-array": { + "version": "0.11.10", + "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.10.tgz", + "integrity": "sha512-KVVjQmNUepDVGXNuoRRdmmEjruj0KfiGSbS8LVc12LMsWDQzRXJ0qdhN8L8uUigKpfEHRhlaQFY0ib1tnUbNeQ==", + "dev": true, + "dependencies": { + "@humanwhocodes/object-schema": "^1.2.1", + "debug": "^4.1.1", + "minimatch": "^3.0.5" + }, + "engines": { + "node": ">=10.10.0" + } + }, + "node_modules/@humanwhocodes/module-importer": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz", + "integrity": "sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==", + "dev": true, + "engines": { + "node": ">=12.22" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/nzakas" + } + }, + "node_modules/@humanwhocodes/object-schema": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz", + "integrity": "sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==", + "dev": true + }, + "node_modules/@jridgewell/gen-mapping": { + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.3.tgz", + "integrity": "sha512-HLhSWOLRi875zjjMG/r+Nv0oCW8umGb0BgEhyX3dDX3egwZtB8PqLnjz3yedt8R5StBrzcg4aBpnh8UA9D1BoQ==", + "dev": true, + "dependencies": { + "@jridgewell/set-array": "^1.0.1", + "@jridgewell/sourcemap-codec": "^1.4.10", + "@jridgewell/trace-mapping": "^0.3.9" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@jridgewell/resolve-uri": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.0.tgz", + "integrity": "sha512-F2msla3tad+Mfht5cJq7LSXcdudKTWCVYUgw6pLFOOHSTtZlj6SWNYAp+AhuqLmWdBO2X5hPrLcu8cVP8fy28w==", + "dev": true, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@jridgewell/set-array": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.1.2.tgz", + "integrity": "sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw==", + "dev": true, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@jridgewell/sourcemap-codec": { + "version": "1.4.15", + "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz", + "integrity": "sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==" + }, + "node_modules/@jridgewell/trace-mapping": { + "version": "0.3.18", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.18.tgz", + "integrity": "sha512-w+niJYzMHdd7USdiH2U6869nqhD2nbfZXND5Yp93qIbEmnDNk7PD48o+YchRVpzMU7M6jVCbenTR7PA1FLQ9pA==", + "dev": true, + "dependencies": { + "@jridgewell/resolve-uri": "3.1.0", + "@jridgewell/sourcemap-codec": "1.4.14" + } + }, + "node_modules/@jridgewell/trace-mapping/node_modules/@jridgewell/sourcemap-codec": { + "version": "1.4.14", + "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.14.tgz", + "integrity": "sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw==", + "dev": true + }, + "node_modules/@lezer/common": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@lezer/common/-/common-1.0.3.tgz", + "integrity": "sha512-JH4wAXCgUOcCGNekQPLhVeUtIqjH0yPBs7vvUdSjyQama9618IOKFJwkv2kcqdhF0my8hQEgCTEJU0GIgnahvA==" + }, + "node_modules/@lezer/css": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@lezer/css/-/css-1.1.2.tgz", + "integrity": "sha512-5TKMAReXukfEmIiZprDlGfZVfOOCyEStFi1YLzxclm9H3G/HHI49/2wzlRT6bQw5r7PoZVEtjTItEkb/UuZQyg==", + "dependencies": { + "@lezer/highlight": "^1.0.0", + "@lezer/lr": "^1.0.0" + } + }, + "node_modules/@lezer/highlight": { + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/@lezer/highlight/-/highlight-1.1.6.tgz", + "integrity": "sha512-cmSJYa2us+r3SePpRCjN5ymCqCPv+zyXmDl0ciWtVaNiORT/MxM7ZgOMQZADD0o51qOaOg24qc/zBViOIwAjJg==", + "dependencies": { + "@lezer/common": "^1.0.0" + } + }, + "node_modules/@lezer/html": { + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/@lezer/html/-/html-1.3.4.tgz", + "integrity": "sha512-HdJYMVZcT4YsMo7lW3ipL4NoyS2T67kMPuSVS5TgLGqmaCjEU/D6xv7zsa1ktvTK5lwk7zzF1e3eU6gBZIPm5g==", + "dependencies": { + "@lezer/common": "^1.0.0", + "@lezer/highlight": "^1.0.0", + "@lezer/lr": "^1.0.0" + } + }, + "node_modules/@lezer/javascript": { + "version": "1.4.3", + "resolved": "https://registry.npmjs.org/@lezer/javascript/-/javascript-1.4.3.tgz", + "integrity": "sha512-k7Eo9z9B1supZ5cCD4ilQv/RZVN30eUQL+gGbr6ybrEY3avBAL5MDiYi2aa23Aj0A79ry4rJRvPAwE2TM8bd+A==", + "dependencies": { + "@lezer/highlight": "^1.1.3", + "@lezer/lr": "^1.3.0" + } + }, + "node_modules/@lezer/json": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@lezer/json/-/json-1.0.0.tgz", + "integrity": "sha512-zbAuUY09RBzCoCA3lJ1+ypKw5WSNvLqGMtasdW6HvVOqZoCpPr8eWrsGnOVWGKGn8Rh21FnrKRVlJXrGAVUqRw==", + "dependencies": { + "@lezer/highlight": "^1.0.0", + "@lezer/lr": "^1.0.0" + } + }, + "node_modules/@lezer/lr": { + "version": "1.3.7", + "resolved": "https://registry.npmjs.org/@lezer/lr/-/lr-1.3.7.tgz", + "integrity": "sha512-ssHKb3p0MxhJXT2i7UBmgAY1BIM3Uq/D772Qutu3EVmxWIyNMU12nQ0rL3Fhu+MiFtiTzyTmd3xGwEf3ON5PSA==", + "dependencies": { + "@lezer/common": "^1.0.0" + } + }, + "node_modules/@lezer/xml": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@lezer/xml/-/xml-1.0.1.tgz", + "integrity": "sha512-jMDXrV953sDAUEMI25VNrI9dz94Ai96FfeglytFINhhwQ867HKlCE2jt3AwZTCT7M528WxdDWv/Ty8e9wizwmQ==", + "dependencies": { + "@lezer/highlight": "^1.0.0", + "@lezer/lr": "^1.0.0" + } + }, + "node_modules/@nodelib/fs.scandir": { + "version": "2.1.5", + "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", + "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==", + "dev": true, + "dependencies": { + "@nodelib/fs.stat": "2.0.5", + "run-parallel": "^1.1.9" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/@nodelib/fs.stat": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz", + "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==", + "dev": true, + "engines": { + "node": ">= 8" + } + }, + "node_modules/@nodelib/fs.walk": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz", + "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==", + "dev": true, + "dependencies": { + "@nodelib/fs.scandir": "2.1.5", + "fastq": "^1.6.0" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/@rushstack/eslint-patch": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/@rushstack/eslint-patch/-/eslint-patch-1.3.2.tgz", + "integrity": "sha512-V+MvGwaHH03hYhY+k6Ef/xKd6RYlc4q8WBx+2ANmipHJcKuktNcI/NgEsJgdSUF6Lw32njT6OnrRsKYCdgHjYw==", + "dev": true + }, + "node_modules/@tsconfig/node18": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/@tsconfig/node18/-/node18-2.0.1.tgz", + "integrity": "sha512-UqdfvuJK0SArA2CxhKWwwAWfnVSXiYe63bVpMutc27vpngCntGUZQETO24pEJ46zU6XM+7SpqYoMgcO3bM11Ew==", + "dev": true + }, + "node_modules/@types/json-schema": { + "version": "7.0.12", + "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.12.tgz", + "integrity": "sha512-Hr5Jfhc9eYOQNPYO5WLDq/n4jqijdHNlDXjuAQkkt+mWdQR+XJToOHrsD4cPaMXpn6KO7y2+wM8AZEs8VpBLVA==", + "dev": true + }, + "node_modules/@types/node": { + "version": "18.16.18", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.16.18.tgz", + "integrity": "sha512-/aNaQZD0+iSBAGnvvN2Cx92HqE5sZCPZtx2TsK+4nvV23fFe09jVDvpArXr2j9DnYlzuU9WuoykDDc6wqvpNcw==", + "dev": true + }, + "node_modules/@types/semver": { + "version": "7.5.0", + "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.5.0.tgz", + "integrity": "sha512-G8hZ6XJiHnuhQKR7ZmysCeJWE08o8T0AXtk5darsCaTVsYZhhgUrq53jizaR2FvsoeCwJhlmwTjkXBY5Pn/ZHw==", + "dev": true + }, + "node_modules/@typescript-eslint/eslint-plugin": { + "version": "5.60.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.60.1.tgz", + "integrity": "sha512-KSWsVvsJsLJv3c4e73y/Bzt7OpqMCADUO846bHcuWYSYM19bldbAeDv7dYyV0jwkbMfJ2XdlzwjhXtuD7OY6bw==", + "dev": true, + "dependencies": { + "@eslint-community/regexpp": "^4.4.0", + "@typescript-eslint/scope-manager": "5.60.1", + "@typescript-eslint/type-utils": "5.60.1", + "@typescript-eslint/utils": "5.60.1", + "debug": "^4.3.4", + "grapheme-splitter": "^1.0.4", + "ignore": "^5.2.0", + "natural-compare-lite": "^1.4.0", + "semver": "^7.3.7", + "tsutils": "^3.21.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "@typescript-eslint/parser": "^5.0.0", + "eslint": "^6.0.0 || ^7.0.0 || ^8.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@typescript-eslint/parser": { + "version": "5.60.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.60.1.tgz", + "integrity": "sha512-pHWlc3alg2oSMGwsU/Is8hbm3XFbcrb6P5wIxcQW9NsYBfnrubl/GhVVD/Jm/t8HXhA2WncoIRfBtnCgRGV96Q==", + "dev": true, + "dependencies": { + "@typescript-eslint/scope-manager": "5.60.1", + "@typescript-eslint/types": "5.60.1", + "@typescript-eslint/typescript-estree": "5.60.1", + "debug": "^4.3.4" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "^6.0.0 || ^7.0.0 || ^8.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@typescript-eslint/scope-manager": { + "version": "5.60.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.60.1.tgz", + "integrity": "sha512-Dn/LnN7fEoRD+KspEOV0xDMynEmR3iSHdgNsarlXNLGGtcUok8L4N71dxUgt3YvlO8si7E+BJ5Fe3wb5yUw7DQ==", + "dev": true, + "dependencies": { + "@typescript-eslint/types": "5.60.1", + "@typescript-eslint/visitor-keys": "5.60.1" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/@typescript-eslint/type-utils": { + "version": "5.60.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-5.60.1.tgz", + "integrity": "sha512-vN6UztYqIu05nu7JqwQGzQKUJctzs3/Hg7E2Yx8rz9J+4LgtIDFWjjl1gm3pycH0P3mHAcEUBd23LVgfrsTR8A==", + "dev": true, + "dependencies": { + "@typescript-eslint/typescript-estree": "5.60.1", + "@typescript-eslint/utils": "5.60.1", + "debug": "^4.3.4", + "tsutils": "^3.21.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "*" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@typescript-eslint/types": { + "version": "5.60.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.60.1.tgz", + "integrity": "sha512-zDcDx5fccU8BA0IDZc71bAtYIcG9PowaOwaD8rjYbqwK7dpe/UMQl3inJ4UtUK42nOCT41jTSCwg76E62JpMcg==", + "dev": true, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/@typescript-eslint/typescript-estree": { + "version": "5.60.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.60.1.tgz", + "integrity": "sha512-hkX70J9+2M2ZT6fhti5Q2FoU9zb+GeZK2SLP1WZlvUDqdMbEKhexZODD1WodNRyO8eS+4nScvT0dts8IdaBzfw==", + "dev": true, + "dependencies": { + "@typescript-eslint/types": "5.60.1", + "@typescript-eslint/visitor-keys": "5.60.1", + "debug": "^4.3.4", + "globby": "^11.1.0", + "is-glob": "^4.0.3", + "semver": "^7.3.7", + "tsutils": "^3.21.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@typescript-eslint/utils": { + "version": "5.60.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-5.60.1.tgz", + "integrity": "sha512-tiJ7FFdFQOWssFa3gqb94Ilexyw0JVxj6vBzaSpfN/8IhoKkDuSAenUKvsSHw2A/TMpJb26izIszTXaqygkvpQ==", + "dev": true, + "dependencies": { + "@eslint-community/eslint-utils": "^4.2.0", + "@types/json-schema": "^7.0.9", + "@types/semver": "^7.3.12", + "@typescript-eslint/scope-manager": "5.60.1", + "@typescript-eslint/types": "5.60.1", + "@typescript-eslint/typescript-estree": "5.60.1", + "eslint-scope": "^5.1.1", + "semver": "^7.3.7" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "^6.0.0 || ^7.0.0 || ^8.0.0" + } + }, + "node_modules/@typescript-eslint/visitor-keys": { + "version": "5.60.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.60.1.tgz", + "integrity": "sha512-xEYIxKcultP6E/RMKqube11pGjXH1DCo60mQoWhVYyKfLkwbIVVjYxmOenNMxILx0TjCujPTjjnTIVzm09TXIw==", + "dev": true, + "dependencies": { + "@typescript-eslint/types": "5.60.1", + "eslint-visitor-keys": "^3.3.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/@vitejs/plugin-vue": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/@vitejs/plugin-vue/-/plugin-vue-4.2.3.tgz", + "integrity": "sha512-R6JDUfiZbJA9cMiguQ7jxALsgiprjBeHL5ikpXfJCH62pPHtI+JdJ5xWj6Ev73yXSlYl86+blXn1kZHQ7uElxw==", + "dev": true, + "engines": { + "node": "^14.18.0 || >=16.0.0" + }, + "peerDependencies": { + "vite": "^4.0.0", + "vue": "^3.2.25" + } + }, + "node_modules/@volar/language-core": { + "version": "1.7.9", + "resolved": "https://registry.npmjs.org/@volar/language-core/-/language-core-1.7.9.tgz", + "integrity": "sha512-U6GMPDNqfGFqVRv4npUN2hEDW4/6EwL4YHd6qggapcvTzRrYAodTTbOTZs4PDzmw7NSZ2Cdrmd54SjzCCMXbZw==", + "dev": true, + "dependencies": { + "@volar/source-map": "1.7.9" + } + }, + "node_modules/@volar/source-map": { + "version": "1.7.9", + "resolved": "https://registry.npmjs.org/@volar/source-map/-/source-map-1.7.9.tgz", + "integrity": "sha512-bLizh8HIAzbq7OdxfyoG18dXJJF9FNXBcaiRj7eqg2Bq+DkgkYHabaY+xobgaXeKFOp93Tg1KfMM7qyR2KXHmQ==", + "dev": true, + "dependencies": { + "muggle-string": "^0.3.1" + } + }, + "node_modules/@volar/typescript": { + "version": "1.7.9", + "resolved": "https://registry.npmjs.org/@volar/typescript/-/typescript-1.7.9.tgz", + "integrity": "sha512-cXGg7lgvdjpRjYfz52cXKo6ExBi8k3pWeBe6Gckf4+9zmTfEwEFfKWMj0H/IyUYO+S2rjyE9jytdsu1Imk+Azw==", + "dev": true, + "dependencies": { + "@volar/language-core": "1.7.9" + } + }, + "node_modules/@vue/compiler-core": { + "version": "3.3.4", + "resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.3.4.tgz", + "integrity": "sha512-cquyDNvZ6jTbf/+x+AgM2Arrp6G4Dzbb0R64jiG804HRMfRiFXWI6kqUVqZ6ZR0bQhIoQjB4+2bhNtVwndW15g==", + "dependencies": { + "@babel/parser": "^7.21.3", + "@vue/shared": "3.3.4", + "estree-walker": "^2.0.2", + "source-map-js": "^1.0.2" + } + }, + "node_modules/@vue/compiler-dom": { + "version": "3.3.4", + "resolved": "https://registry.npmjs.org/@vue/compiler-dom/-/compiler-dom-3.3.4.tgz", + "integrity": "sha512-wyM+OjOVpuUukIq6p5+nwHYtj9cFroz9cwkfmP9O1nzH68BenTTv0u7/ndggT8cIQlnBeOo6sUT/gvHcIkLA5w==", + "dependencies": { + "@vue/compiler-core": "3.3.4", + "@vue/shared": "3.3.4" + } + }, + "node_modules/@vue/compiler-sfc": { + "version": "3.3.4", + "resolved": "https://registry.npmjs.org/@vue/compiler-sfc/-/compiler-sfc-3.3.4.tgz", + "integrity": "sha512-6y/d8uw+5TkCuzBkgLS0v3lSM3hJDntFEiUORM11pQ/hKvkhSKZrXW6i69UyXlJQisJxuUEJKAWEqWbWsLeNKQ==", + "dependencies": { + "@babel/parser": "^7.20.15", + "@vue/compiler-core": "3.3.4", + "@vue/compiler-dom": "3.3.4", + "@vue/compiler-ssr": "3.3.4", + "@vue/reactivity-transform": "3.3.4", + "@vue/shared": "3.3.4", + "estree-walker": "^2.0.2", + "magic-string": "^0.30.0", + "postcss": "^8.1.10", + "source-map-js": "^1.0.2" + } + }, + "node_modules/@vue/compiler-ssr": { + "version": "3.3.4", + "resolved": "https://registry.npmjs.org/@vue/compiler-ssr/-/compiler-ssr-3.3.4.tgz", + "integrity": "sha512-m0v6oKpup2nMSehwA6Uuu+j+wEwcy7QmwMkVNVfrV9P2qE5KshC6RwOCq8fjGS/Eak/uNb8AaWekfiXxbBB6gQ==", + "dependencies": { + "@vue/compiler-dom": "3.3.4", + "@vue/shared": "3.3.4" + } + }, + "node_modules/@vue/devtools-api": { + "version": "6.5.0", + "resolved": "https://registry.npmjs.org/@vue/devtools-api/-/devtools-api-6.5.0.tgz", + "integrity": "sha512-o9KfBeaBmCKl10usN4crU53fYtC1r7jJwdGKjPT24t348rHxgfpZ0xL3Xm/gLUYnc0oTp8LAmrxOeLyu6tbk2Q==" + }, + "node_modules/@vue/eslint-config-prettier": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/@vue/eslint-config-prettier/-/eslint-config-prettier-7.1.0.tgz", + "integrity": "sha512-Pv/lVr0bAzSIHLd9iz0KnvAr4GKyCEl+h52bc4e5yWuDVtLgFwycF7nrbWTAQAS+FU6q1geVd07lc6EWfJiWKQ==", + "dev": true, + "dependencies": { + "eslint-config-prettier": "^8.3.0", + "eslint-plugin-prettier": "^4.0.0" + }, + "peerDependencies": { + "eslint": ">= 7.28.0", + "prettier": ">= 2.0.0" + } + }, + "node_modules/@vue/eslint-config-typescript": { + "version": "11.0.3", + "resolved": "https://registry.npmjs.org/@vue/eslint-config-typescript/-/eslint-config-typescript-11.0.3.tgz", + "integrity": "sha512-dkt6W0PX6H/4Xuxg/BlFj5xHvksjpSlVjtkQCpaYJBIEuKj2hOVU7r+TIe+ysCwRYFz/lGqvklntRkCAibsbPw==", + "dev": true, + "dependencies": { + "@typescript-eslint/eslint-plugin": "^5.59.1", + "@typescript-eslint/parser": "^5.59.1", + "vue-eslint-parser": "^9.1.1" + }, + "engines": { + "node": "^14.17.0 || >=16.0.0" + }, + "peerDependencies": { + "eslint": "^6.2.0 || ^7.0.0 || ^8.0.0", + "eslint-plugin-vue": "^9.0.0", + "typescript": "*" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@vue/language-core": { + "version": "1.8.2", + "resolved": "https://registry.npmjs.org/@vue/language-core/-/language-core-1.8.2.tgz", + "integrity": "sha512-QJujhmp89TRoWwzjn2sPMezG97+mNyaCTfznGHWNCE3LBsillZCBqAO7M7cxO8ee1V3r+qHjWytkoh3M4YkRJw==", + "dev": true, + "dependencies": { + "@volar/language-core": "1.7.9", + "@volar/source-map": "1.7.9", + "@vue/compiler-dom": "^3.3.0", + "@vue/reactivity": "^3.3.0", + "@vue/shared": "^3.3.0", + "minimatch": "^9.0.0", + "muggle-string": "^0.3.1", + "vue-template-compiler": "^2.7.14" + }, + "peerDependencies": { + "typescript": "*" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@vue/language-core/node_modules/brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "dev": true, + "dependencies": { + "balanced-match": "^1.0.0" + } + }, + "node_modules/@vue/language-core/node_modules/minimatch": { + "version": "9.0.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.2.tgz", + "integrity": "sha512-PZOT9g5v2ojiTL7r1xF6plNHLtOeTpSlDI007As2NlA2aYBMfVom17yqa6QzhmDP8QOhn7LjHTg7DFCVSSa6yg==", + "dev": true, + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/@vue/reactivity": { + "version": "3.3.4", + "resolved": "https://registry.npmjs.org/@vue/reactivity/-/reactivity-3.3.4.tgz", + "integrity": "sha512-kLTDLwd0B1jG08NBF3R5rqULtv/f8x3rOFByTDz4J53ttIQEDmALqKqXY0J+XQeN0aV2FBxY8nJDf88yvOPAqQ==", + "dependencies": { + "@vue/shared": "3.3.4" + } + }, + "node_modules/@vue/reactivity-transform": { + "version": "3.3.4", + "resolved": "https://registry.npmjs.org/@vue/reactivity-transform/-/reactivity-transform-3.3.4.tgz", + "integrity": "sha512-MXgwjako4nu5WFLAjpBnCj/ieqcjE2aJBINUNQzkZQfzIZA4xn+0fV1tIYBJvvva3N3OvKGofRLvQIwEQPpaXw==", + "dependencies": { + "@babel/parser": "^7.20.15", + "@vue/compiler-core": "3.3.4", + "@vue/shared": "3.3.4", + "estree-walker": "^2.0.2", + "magic-string": "^0.30.0" + } + }, + "node_modules/@vue/runtime-core": { + "version": "3.3.4", + "resolved": "https://registry.npmjs.org/@vue/runtime-core/-/runtime-core-3.3.4.tgz", + "integrity": "sha512-R+bqxMN6pWO7zGI4OMlmvePOdP2c93GsHFM/siJI7O2nxFRzj55pLwkpCedEY+bTMgp5miZ8CxfIZo3S+gFqvA==", + "dependencies": { + "@vue/reactivity": "3.3.4", + "@vue/shared": "3.3.4" + } + }, + "node_modules/@vue/runtime-dom": { + "version": "3.3.4", + "resolved": "https://registry.npmjs.org/@vue/runtime-dom/-/runtime-dom-3.3.4.tgz", + "integrity": "sha512-Aj5bTJ3u5sFsUckRghsNjVTtxZQ1OyMWCr5dZRAPijF/0Vy4xEoRCwLyHXcj4D0UFbJ4lbx3gPTgg06K/GnPnQ==", + "dependencies": { + "@vue/runtime-core": "3.3.4", + "@vue/shared": "3.3.4", + "csstype": "^3.1.1" + } + }, + "node_modules/@vue/server-renderer": { + "version": "3.3.4", + "resolved": "https://registry.npmjs.org/@vue/server-renderer/-/server-renderer-3.3.4.tgz", + "integrity": "sha512-Q6jDDzR23ViIb67v+vM1Dqntu+HUexQcsWKhhQa4ARVzxOY2HbC7QRW/ggkDBd5BU+uM1sV6XOAP0b216o34JQ==", + "dependencies": { + "@vue/compiler-ssr": "3.3.4", + "@vue/shared": "3.3.4" + }, + "peerDependencies": { + "vue": "3.3.4" + } + }, + "node_modules/@vue/shared": { + "version": "3.3.4", + "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.3.4.tgz", + "integrity": "sha512-7OjdcV8vQ74eiz1TZLzZP4JwqM5fA94K6yntPS5Z25r9HDuGNzaGdgvwKYq6S+MxwF0TFRwe50fIR/MYnakdkQ==" + }, + "node_modules/@vue/tsconfig": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/@vue/tsconfig/-/tsconfig-0.4.0.tgz", + "integrity": "sha512-CPuIReonid9+zOG/CGTT05FXrPYATEqoDGNrEaqS4hwcw5BUNM2FguC0mOwJD4Jr16UpRVl9N0pY3P+srIbqmg==", + "dev": true + }, + "node_modules/@vue/typescript": { + "version": "1.8.2", + "resolved": "https://registry.npmjs.org/@vue/typescript/-/typescript-1.8.2.tgz", + "integrity": "sha512-5q2gpCBIfGlygfJupyjAQbc82r5J6qQuhupPeX3NlHvDK+mR6m5n4jVGknSacsp+7gtgs4RKYDq+tysoto+npA==", + "dev": true, + "dependencies": { + "@volar/typescript": "1.7.9", + "@vue/language-core": "1.8.2" + } + }, + "node_modules/acorn": { + "version": "8.9.0", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.9.0.tgz", + "integrity": "sha512-jaVNAFBHNLXspO543WnNNPZFRtavh3skAkITqD0/2aeMkKZTN+254PyhwxFYrk3vQ1xfY+2wbesJMs/JC8/PwQ==", + "dev": true, + "bin": { + "acorn": "bin/acorn" + }, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/acorn-jsx": { + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz", + "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==", + "dev": true, + "peerDependencies": { + "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0" + } + }, + "node_modules/ajv": { + "version": "6.12.6", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", + "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", + "dev": true, + "dependencies": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/any-promise": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/any-promise/-/any-promise-1.3.0.tgz", + "integrity": "sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A==", + "dev": true + }, + "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==", + "dev": true, + "dependencies": { + "normalize-path": "^3.0.0", + "picomatch": "^2.0.4" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/arg": { + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/arg/-/arg-5.0.2.tgz", + "integrity": "sha512-PYjyFOLKQ9y57JvQ6QLo8dAgNqswh8M1RMJYdQduT6xbWSgK36P/Z/v+p888pM69jMMfS8Xd8F6I1kQ/I9HUGg==", + "dev": true + }, + "node_modules/argparse": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", + "dev": true + }, + "node_modules/array-buffer-byte-length": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/array-buffer-byte-length/-/array-buffer-byte-length-1.0.0.tgz", + "integrity": "sha512-LPuwb2P+NrQw3XhxGc36+XSvuBPopovXYTR9Ew++Du9Yb/bx5AzBfrIsBoj0EZUifjQU+sHL21sseZ3jerWO/A==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "is-array-buffer": "^3.0.1" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/array-union": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz", + "integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/autoprefixer": { + "version": "10.4.14", + "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-10.4.14.tgz", + "integrity": "sha512-FQzyfOsTlwVzjHxKEqRIAdJx9niO6VCBCoEwax/VLSoQF29ggECcPuBqUMZ+u8jCZOPSy8b8/8KnuFbp0SaFZQ==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/autoprefixer" + } + ], + "dependencies": { + "browserslist": "^4.21.5", + "caniuse-lite": "^1.0.30001464", + "fraction.js": "^4.2.0", + "normalize-range": "^0.1.2", + "picocolors": "^1.0.0", + "postcss-value-parser": "^4.2.0" + }, + "bin": { + "autoprefixer": "bin/autoprefixer" + }, + "engines": { + "node": "^10 || ^12 || >=14" + }, + "peerDependencies": { + "postcss": "^8.1.0" + } + }, + "node_modules/available-typed-arrays": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.5.tgz", + "integrity": "sha512-DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw==", + "dev": true, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "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==", + "dev": true + }, + "node_modules/binary-extensions": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz", + "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/boolbase": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/boolbase/-/boolbase-1.0.0.tgz", + "integrity": "sha512-JZOSA7Mo9sNGB8+UjSgzdLtokWAky1zbztM3WRLCbZ70/3cTANmQmOdR7y2g+J0e2WXywy1yS468tY+IruqEww==", + "dev": true + }, + "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==", + "dev": true, + "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==", + "dev": true, + "dependencies": { + "fill-range": "^7.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/browserslist": { + "version": "4.21.9", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.21.9.tgz", + "integrity": "sha512-M0MFoZzbUrRU4KNfCrDLnvyE7gub+peetoTid3TBIqtunaDJyXlwhakT+/VkvSXcfIzFfK/nkCs4nmyTmxdNSg==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/browserslist" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "dependencies": { + "caniuse-lite": "^1.0.30001503", + "electron-to-chromium": "^1.4.431", + "node-releases": "^2.0.12", + "update-browserslist-db": "^1.0.11" + }, + "bin": { + "browserslist": "cli.js" + }, + "engines": { + "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7" + } + }, + "node_modules/call-bind": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz", + "integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==", + "dev": true, + "dependencies": { + "function-bind": "^1.1.1", + "get-intrinsic": "^1.0.2" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/callsites": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", + "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/camelcase-css": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/camelcase-css/-/camelcase-css-2.0.1.tgz", + "integrity": "sha512-QOSvevhslijgYwRx6Rv7zKdMF8lbRmx+uQGx2+vDc+KI/eBnsy9kit5aj23AgGu3pa4t9AgwbnXWqS+iOY+2aA==", + "dev": true, + "engines": { + "node": ">= 6" + } + }, + "node_modules/caniuse-lite": { + "version": "1.0.30001509", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001509.tgz", + "integrity": "sha512-2uDDk+TRiTX5hMcUYT/7CSyzMZxjfGu0vAUjS2g0LSD8UoXOv0LtpH4LxGMemsiPq6LCVIUjNwVM0erkOkGCDA==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/caniuse-lite" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ] + }, + "node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/chokidar": { + "version": "3.5.3", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz", + "integrity": "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==", + "dev": true, + "funding": [ + { + "type": "individual", + "url": "https://paulmillr.com/funding/" + } + ], + "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" + }, + "optionalDependencies": { + "fsevents": "~2.3.2" + } + }, + "node_modules/chokidar/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==", + "dev": true, + "dependencies": { + "is-glob": "^4.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/codemirror": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/codemirror/-/codemirror-6.0.1.tgz", + "integrity": "sha512-J8j+nZ+CdWmIeFIGXEFbFPtpiYacFMDR8GlHK3IyHQJMCaVRfGx9NT+Hxivv1ckLWPvNdZqndbr/7lVhrf/Svg==", + "dependencies": { + "@codemirror/autocomplete": "^6.0.0", + "@codemirror/commands": "^6.0.0", + "@codemirror/language": "^6.0.0", + "@codemirror/lint": "^6.0.0", + "@codemirror/search": "^6.0.0", + "@codemirror/state": "^6.0.0", + "@codemirror/view": "^6.0.0" + } + }, + "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==", + "dev": true, + "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==", + "dev": true + }, + "node_modules/commander": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/commander/-/commander-4.1.1.tgz", + "integrity": "sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==", + "dev": true, + "engines": { + "node": ">= 6" + } + }, + "node_modules/concat-map": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", + "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==", + "dev": true + }, + "node_modules/crelt": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/crelt/-/crelt-1.0.6.tgz", + "integrity": "sha512-VQ2MBenTq1fWZUH9DJNGti7kKv6EeAuYr3cLwxUWhIu1baTaXh4Ib5W2CqHVqib4/MqbYGJqiL3Zb8GJZr3l4g==" + }, + "node_modules/cross-spawn": { + "version": "7.0.3", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", + "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", + "dev": true, + "dependencies": { + "path-key": "^3.1.0", + "shebang-command": "^2.0.0", + "which": "^2.0.1" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/cssesc": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/cssesc/-/cssesc-3.0.0.tgz", + "integrity": "sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==", + "dev": true, + "bin": { + "cssesc": "bin/cssesc" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/csstype": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.1.2.tgz", + "integrity": "sha512-I7K1Uu0MBPzaFKg4nI5Q7Vs2t+3gWWW648spaF+Rg7pI9ds18Ugn+lvg4SHczUdKlHI5LWBXyqfS8+DufyBsgQ==" + }, + "node_modules/de-indent": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/de-indent/-/de-indent-1.0.2.tgz", + "integrity": "sha512-e/1zu3xH5MQryN2zdVaF0OrdNLUbvWxzMbi+iNA6Bky7l1RoP8a2fIbRocyHclXt/arDrrR6lL3TqFD9pMQTsg==", + "dev": true + }, + "node_modules/debug": { + "version": "4.3.4", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", + "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", + "dev": true, + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "node_modules/deep-is": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz", + "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==", + "dev": true + }, + "node_modules/define-properties": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.2.0.tgz", + "integrity": "sha512-xvqAVKGfT1+UAvPwKTVw/njhdQ8ZhXK4lI0bCIuCMrp2up9nPnaDftrLtmpTazqd1o+UY4zgzU+avtMbDP+ldA==", + "dev": true, + "dependencies": { + "has-property-descriptors": "^1.0.0", + "object-keys": "^1.1.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/didyoumean": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/didyoumean/-/didyoumean-1.2.2.tgz", + "integrity": "sha512-gxtyfqMg7GKyhQmb056K7M3xszy/myH8w+B4RT+QXBQsvAOdc3XymqDDPHx1BgPgsdAA5SIifona89YtRATDzw==", + "dev": true + }, + "node_modules/dir-glob": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz", + "integrity": "sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==", + "dev": true, + "dependencies": { + "path-type": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/dlv": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/dlv/-/dlv-1.1.3.tgz", + "integrity": "sha512-+HlytyjlPKnIG8XuRG8WvmBP8xs8P71y+SKKS6ZXWoEgLuePxtDoUEiH7WkdePWrQ5JBpE6aoVqfZfJUQkjXwA==", + "dev": true + }, + "node_modules/doctrine": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz", + "integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==", + "dev": true, + "dependencies": { + "esutils": "^2.0.2" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/electron-to-chromium": { + "version": "1.4.442", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.442.tgz", + "integrity": "sha512-RkrZF//Ya+0aJq2NM3OdisNh5ZodZq1rdXOS96G8DdDgpDKqKE81yTbbQ3F/4CKm1JBPsGu1Lp/akkna2xO06Q==", + "dev": true + }, + "node_modules/error-ex": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", + "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==", + "dev": true, + "dependencies": { + "is-arrayish": "^0.2.1" + } + }, + "node_modules/es-abstract": { + "version": "1.21.2", + "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.21.2.tgz", + "integrity": "sha512-y/B5POM2iBnIxCiernH1G7rC9qQoM77lLIMQLuob0zhp8C56Po81+2Nj0WFKnd0pNReDTnkYryc+zhOzpEIROg==", + "dev": true, + "dependencies": { + "array-buffer-byte-length": "^1.0.0", + "available-typed-arrays": "^1.0.5", + "call-bind": "^1.0.2", + "es-set-tostringtag": "^2.0.1", + "es-to-primitive": "^1.2.1", + "function.prototype.name": "^1.1.5", + "get-intrinsic": "^1.2.0", + "get-symbol-description": "^1.0.0", + "globalthis": "^1.0.3", + "gopd": "^1.0.1", + "has": "^1.0.3", + "has-property-descriptors": "^1.0.0", + "has-proto": "^1.0.1", + "has-symbols": "^1.0.3", + "internal-slot": "^1.0.5", + "is-array-buffer": "^3.0.2", + "is-callable": "^1.2.7", + "is-negative-zero": "^2.0.2", + "is-regex": "^1.1.4", + "is-shared-array-buffer": "^1.0.2", + "is-string": "^1.0.7", + "is-typed-array": "^1.1.10", + "is-weakref": "^1.0.2", + "object-inspect": "^1.12.3", + "object-keys": "^1.1.1", + "object.assign": "^4.1.4", + "regexp.prototype.flags": "^1.4.3", + "safe-regex-test": "^1.0.0", + "string.prototype.trim": "^1.2.7", + "string.prototype.trimend": "^1.0.6", + "string.prototype.trimstart": "^1.0.6", + "typed-array-length": "^1.0.4", + "unbox-primitive": "^1.0.2", + "which-typed-array": "^1.1.9" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/es-set-tostringtag": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/es-set-tostringtag/-/es-set-tostringtag-2.0.1.tgz", + "integrity": "sha512-g3OMbtlwY3QewlqAiMLI47KywjWZoEytKr8pf6iTC8uJq5bIAH52Z9pnQ8pVL6whrCto53JZDuUIsifGeLorTg==", + "dev": true, + "dependencies": { + "get-intrinsic": "^1.1.3", + "has": "^1.0.3", + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/es-to-primitive": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz", + "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==", + "dev": true, + "dependencies": { + "is-callable": "^1.1.4", + "is-date-object": "^1.0.1", + "is-symbol": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/esbuild": { + "version": "0.17.19", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.17.19.tgz", + "integrity": "sha512-XQ0jAPFkK/u3LcVRcvVHQcTIqD6E2H1fvZMA5dQPSOWb3suUbWbfbRf94pjc0bNzRYLfIrDRQXr7X+LHIm5oHw==", + "dev": true, + "hasInstallScript": true, + "bin": { + "esbuild": "bin/esbuild" + }, + "engines": { + "node": ">=12" + }, + "optionalDependencies": { + "@esbuild/android-arm": "0.17.19", + "@esbuild/android-arm64": "0.17.19", + "@esbuild/android-x64": "0.17.19", + "@esbuild/darwin-arm64": "0.17.19", + "@esbuild/darwin-x64": "0.17.19", + "@esbuild/freebsd-arm64": "0.17.19", + "@esbuild/freebsd-x64": "0.17.19", + "@esbuild/linux-arm": "0.17.19", + "@esbuild/linux-arm64": "0.17.19", + "@esbuild/linux-ia32": "0.17.19", + "@esbuild/linux-loong64": "0.17.19", + "@esbuild/linux-mips64el": "0.17.19", + "@esbuild/linux-ppc64": "0.17.19", + "@esbuild/linux-riscv64": "0.17.19", + "@esbuild/linux-s390x": "0.17.19", + "@esbuild/linux-x64": "0.17.19", + "@esbuild/netbsd-x64": "0.17.19", + "@esbuild/openbsd-x64": "0.17.19", + "@esbuild/sunos-x64": "0.17.19", + "@esbuild/win32-arm64": "0.17.19", + "@esbuild/win32-ia32": "0.17.19", + "@esbuild/win32-x64": "0.17.19" + } + }, + "node_modules/escalade": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", + "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/escape-string-regexp": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", + "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/eslint": { + "version": "8.43.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.43.0.tgz", + "integrity": "sha512-aaCpf2JqqKesMFGgmRPessmVKjcGXqdlAYLLC3THM8t5nBRZRQ+st5WM/hoJXkdioEXLLbXgclUpM0TXo5HX5Q==", + "dev": true, + "dependencies": { + "@eslint-community/eslint-utils": "^4.2.0", + "@eslint-community/regexpp": "^4.4.0", + "@eslint/eslintrc": "^2.0.3", + "@eslint/js": "8.43.0", + "@humanwhocodes/config-array": "^0.11.10", + "@humanwhocodes/module-importer": "^1.0.1", + "@nodelib/fs.walk": "^1.2.8", + "ajv": "^6.10.0", + "chalk": "^4.0.0", + "cross-spawn": "^7.0.2", + "debug": "^4.3.2", + "doctrine": "^3.0.0", + "escape-string-regexp": "^4.0.0", + "eslint-scope": "^7.2.0", + "eslint-visitor-keys": "^3.4.1", + "espree": "^9.5.2", + "esquery": "^1.4.2", + "esutils": "^2.0.2", + "fast-deep-equal": "^3.1.3", + "file-entry-cache": "^6.0.1", + "find-up": "^5.0.0", + "glob-parent": "^6.0.2", + "globals": "^13.19.0", + "graphemer": "^1.4.0", + "ignore": "^5.2.0", + "import-fresh": "^3.0.0", + "imurmurhash": "^0.1.4", + "is-glob": "^4.0.0", + "is-path-inside": "^3.0.3", + "js-yaml": "^4.1.0", + "json-stable-stringify-without-jsonify": "^1.0.1", + "levn": "^0.4.1", + "lodash.merge": "^4.6.2", + "minimatch": "^3.1.2", + "natural-compare": "^1.4.0", + "optionator": "^0.9.1", + "strip-ansi": "^6.0.1", + "strip-json-comments": "^3.1.0", + "text-table": "^0.2.0" + }, + "bin": { + "eslint": "bin/eslint.js" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/eslint-config-prettier": { + "version": "8.8.0", + "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-8.8.0.tgz", + "integrity": "sha512-wLbQiFre3tdGgpDv67NQKnJuTlcUVYHas3k+DZCc2U2BadthoEY4B7hLPvAxaqdyOGCzuLfii2fqGph10va7oA==", + "dev": true, + "bin": { + "eslint-config-prettier": "bin/cli.js" + }, + "peerDependencies": { + "eslint": ">=7.0.0" + } + }, + "node_modules/eslint-plugin-prettier": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/eslint-plugin-prettier/-/eslint-plugin-prettier-4.2.1.tgz", + "integrity": "sha512-f/0rXLXUt0oFYs8ra4w49wYZBG5GKZpAYsJSm6rnYL5uVDjd+zowwMwVZHnAjf4edNrKpCDYfXDgmRE/Ak7QyQ==", + "dev": true, + "dependencies": { + "prettier-linter-helpers": "^1.0.0" + }, + "engines": { + "node": ">=12.0.0" + }, + "peerDependencies": { + "eslint": ">=7.28.0", + "prettier": ">=2.0.0" + }, + "peerDependenciesMeta": { + "eslint-config-prettier": { + "optional": true + } + } + }, + "node_modules/eslint-plugin-vue": { + "version": "9.15.1", + "resolved": "https://registry.npmjs.org/eslint-plugin-vue/-/eslint-plugin-vue-9.15.1.tgz", + "integrity": "sha512-CJE/oZOslvmAR9hf8SClTdQ9JLweghT6JCBQNrT2Iel1uVw0W0OLJxzvPd6CxmABKCvLrtyDnqGV37O7KQv6+A==", + "dev": true, + "dependencies": { + "@eslint-community/eslint-utils": "^4.3.0", + "natural-compare": "^1.4.0", + "nth-check": "^2.0.1", + "postcss-selector-parser": "^6.0.9", + "semver": "^7.3.5", + "vue-eslint-parser": "^9.3.0", + "xml-name-validator": "^4.0.0" + }, + "engines": { + "node": "^14.17.0 || >=16.0.0" + }, + "peerDependencies": { + "eslint": "^6.2.0 || ^7.0.0 || ^8.0.0" + } + }, + "node_modules/eslint-scope": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.1.tgz", + "integrity": "sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==", + "dev": true, + "dependencies": { + "esrecurse": "^4.3.0", + "estraverse": "^4.1.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "node_modules/eslint-visitor-keys": { + "version": "3.4.1", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.1.tgz", + "integrity": "sha512-pZnmmLwYzf+kWaM/Qgrvpen51upAktaaiI01nsJD/Yr3lMOdNtq0cxkrrg16w64VtisN6okbs7Q8AfGqj4c9fA==", + "dev": true, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/eslint/node_modules/eslint-scope": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.2.0.tgz", + "integrity": "sha512-DYj5deGlHBfMt15J7rdtyKNq/Nqlv5KfU4iodrQ019XESsRnwXH9KAE0y3cwtUHDo2ob7CypAnCqefh6vioWRw==", + "dev": true, + "dependencies": { + "esrecurse": "^4.3.0", + "estraverse": "^5.2.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/eslint/node_modules/estraverse": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", + "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", + "dev": true, + "engines": { + "node": ">=4.0" + } + }, + "node_modules/espree": { + "version": "9.5.2", + "resolved": "https://registry.npmjs.org/espree/-/espree-9.5.2.tgz", + "integrity": "sha512-7OASN1Wma5fum5SrNhFMAMJxOUAbhyfQ8dQ//PJaJbNw0URTPWqIghHWt1MmAANKhHZIYOHruW4Kw4ruUWOdGw==", + "dev": true, + "dependencies": { + "acorn": "^8.8.0", + "acorn-jsx": "^5.3.2", + "eslint-visitor-keys": "^3.4.1" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/esquery": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.5.0.tgz", + "integrity": "sha512-YQLXUplAwJgCydQ78IMJywZCceoqk1oH01OERdSAJc/7U2AylwjhSCLDEtqwg811idIS/9fIU5GjG73IgjKMVg==", + "dev": true, + "dependencies": { + "estraverse": "^5.1.0" + }, + "engines": { + "node": ">=0.10" + } + }, + "node_modules/esquery/node_modules/estraverse": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", + "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", + "dev": true, + "engines": { + "node": ">=4.0" + } + }, + "node_modules/esrecurse": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz", + "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==", + "dev": true, + "dependencies": { + "estraverse": "^5.2.0" + }, + "engines": { + "node": ">=4.0" + } + }, + "node_modules/esrecurse/node_modules/estraverse": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", + "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", + "dev": true, + "engines": { + "node": ">=4.0" + } + }, + "node_modules/estraverse": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz", + "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==", + "dev": true, + "engines": { + "node": ">=4.0" + } + }, + "node_modules/estree-walker": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-2.0.2.tgz", + "integrity": "sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==" + }, + "node_modules/esutils": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", + "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/fast-deep-equal": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", + "dev": true + }, + "node_modules/fast-diff": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/fast-diff/-/fast-diff-1.3.0.tgz", + "integrity": "sha512-VxPP4NqbUjj6MaAOafWeUn2cXWLcCtljklUtZf0Ind4XQ+QPtmA0b18zZy0jIQx+ExRVCR/ZQpBmik5lXshNsw==", + "dev": true + }, + "node_modules/fast-glob": { + "version": "3.2.12", + "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.12.tgz", + "integrity": "sha512-DVj4CQIYYow0BlaelwK1pHl5n5cRSJfM60UA0zK891sVInoPri2Ekj7+e1CT3/3qxXenpI+nBBmQAcJPJgaj4w==", + "dev": true, + "dependencies": { + "@nodelib/fs.stat": "^2.0.2", + "@nodelib/fs.walk": "^1.2.3", + "glob-parent": "^5.1.2", + "merge2": "^1.3.0", + "micromatch": "^4.0.4" + }, + "engines": { + "node": ">=8.6.0" + } + }, + "node_modules/fast-glob/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==", + "dev": true, + "dependencies": { + "is-glob": "^4.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/fast-json-stable-stringify": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", + "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", + "dev": true + }, + "node_modules/fast-levenshtein": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", + "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==", + "dev": true + }, + "node_modules/fastq": { + "version": "1.15.0", + "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.15.0.tgz", + "integrity": "sha512-wBrocU2LCXXa+lWBt8RoIRD89Fi8OdABODa/kEnyeyjS5aZO5/GNvI5sEINADqP/h8M29UHTHUb53sUu5Ihqdw==", + "dev": true, + "dependencies": { + "reusify": "^1.0.4" + } + }, + "node_modules/file-entry-cache": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-6.0.1.tgz", + "integrity": "sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==", + "dev": true, + "dependencies": { + "flat-cache": "^3.0.4" + }, + "engines": { + "node": "^10.12.0 || >=12.0.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==", + "dev": true, + "dependencies": { + "to-regex-range": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/find-up": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", + "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", + "dev": true, + "dependencies": { + "locate-path": "^6.0.0", + "path-exists": "^4.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/flat-cache": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.0.4.tgz", + "integrity": "sha512-dm9s5Pw7Jc0GvMYbshN6zchCA9RgQlzzEZX3vylR9IqFfS8XciblUXOKfW6SiuJ0e13eDYZoZV5wdrev7P3Nwg==", + "dev": true, + "dependencies": { + "flatted": "^3.1.0", + "rimraf": "^3.0.2" + }, + "engines": { + "node": "^10.12.0 || >=12.0.0" + } + }, + "node_modules/flatted": { + "version": "3.2.7", + "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.2.7.tgz", + "integrity": "sha512-5nqDSxl8nn5BSNxyR3n4I6eDmbolI6WT+QqR547RwxQapgjQBmtktdP+HTBb/a/zLsbzERTONyUB5pefh5TtjQ==", + "dev": true + }, + "node_modules/for-each": { + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/for-each/-/for-each-0.3.3.tgz", + "integrity": "sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==", + "dev": true, + "dependencies": { + "is-callable": "^1.1.3" + } + }, + "node_modules/fraction.js": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/fraction.js/-/fraction.js-4.2.0.tgz", + "integrity": "sha512-MhLuK+2gUcnZe8ZHlaaINnQLl0xRIGRfcGk2yl8xoQAfHrSsL3rYu6FCmBdkdbhc9EPlwyGHewaRsvwRMJtAlA==", + "dev": true, + "engines": { + "node": "*" + }, + "funding": { + "type": "patreon", + "url": "https://www.patreon.com/infusion" + } + }, + "node_modules/fs.realpath": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", + "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==", + "dev": true + }, + "node_modules/fsevents": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", + "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", + "dev": true, + "hasInstallScript": true, + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^8.16.0 || ^10.6.0 || >=11.0.0" + } + }, + "node_modules/function-bind": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", + "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==", + "dev": true + }, + "node_modules/function.prototype.name": { + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/function.prototype.name/-/function.prototype.name-1.1.5.tgz", + "integrity": "sha512-uN7m/BzVKQnCUF/iW8jYea67v++2u7m5UgENbHRtdDVclOUP+FMPlCNdmk0h/ysGyo2tavMJEDqJAkJdRa1vMA==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.3", + "es-abstract": "^1.19.0", + "functions-have-names": "^1.2.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/functions-have-names": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/functions-have-names/-/functions-have-names-1.2.3.tgz", + "integrity": "sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==", + "dev": true, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/get-intrinsic": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.1.tgz", + "integrity": "sha512-2DcsyfABl+gVHEfCOaTrWgyt+tb6MSEGmKq+kI5HwLbIYgjgmMcV8KQ41uaKz1xxUcn9tJtgFbQUEVcEbd0FYw==", + "dev": true, + "dependencies": { + "function-bind": "^1.1.1", + "has": "^1.0.3", + "has-proto": "^1.0.1", + "has-symbols": "^1.0.3" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/get-symbol-description": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/get-symbol-description/-/get-symbol-description-1.0.0.tgz", + "integrity": "sha512-2EmdH1YvIQiZpltCNgkuiUnyukzxM/R6NDJX31Ke3BG1Nq5b0S2PhX59UKi9vZpPDQVdqn+1IcaAwnzTT5vCjw==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "get-intrinsic": "^1.1.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/glob": { + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", + "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "dev": true, + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.1.1", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/glob-parent": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", + "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", + "dev": true, + "dependencies": { + "is-glob": "^4.0.3" + }, + "engines": { + "node": ">=10.13.0" + } + }, + "node_modules/globals": { + "version": "13.20.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-13.20.0.tgz", + "integrity": "sha512-Qg5QtVkCy/kv3FUSlu4ukeZDVf9ee0iXLAUYX13gbR17bnejFTzr4iS9bY7kwCf1NztRNm1t91fjOiyx4CSwPQ==", + "dev": true, + "dependencies": { + "type-fest": "^0.20.2" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/globalthis": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/globalthis/-/globalthis-1.0.3.tgz", + "integrity": "sha512-sFdI5LyBiNTHjRd7cGPWapiHWMOXKyuBNX/cWJ3NfzrZQVa8GI/8cofCl74AOVqq9W5kNmguTIzJ/1s2gyI9wA==", + "dev": true, + "dependencies": { + "define-properties": "^1.1.3" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/globby": { + "version": "11.1.0", + "resolved": "https://registry.npmjs.org/globby/-/globby-11.1.0.tgz", + "integrity": "sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==", + "dev": true, + "dependencies": { + "array-union": "^2.1.0", + "dir-glob": "^3.0.1", + "fast-glob": "^3.2.9", + "ignore": "^5.2.0", + "merge2": "^1.4.1", + "slash": "^3.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/gopd": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.0.1.tgz", + "integrity": "sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==", + "dev": true, + "dependencies": { + "get-intrinsic": "^1.1.3" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/graceful-fs": { + "version": "4.2.11", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz", + "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==", + "dev": true + }, + "node_modules/grapheme-splitter": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/grapheme-splitter/-/grapheme-splitter-1.0.4.tgz", + "integrity": "sha512-bzh50DW9kTPM00T8y4o8vQg89Di9oLJVLW/KaOGIXJWP/iqCN6WKYkbNOF04vFLJhwcpYUh9ydh/+5vpOqV4YQ==", + "dev": true + }, + "node_modules/graphemer": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/graphemer/-/graphemer-1.4.0.tgz", + "integrity": "sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==", + "dev": true + }, + "node_modules/has": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", + "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", + "dev": true, + "dependencies": { + "function-bind": "^1.1.1" + }, + "engines": { + "node": ">= 0.4.0" + } + }, + "node_modules/has-bigints": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/has-bigints/-/has-bigints-1.0.2.tgz", + "integrity": "sha512-tSvCKtBr9lkF0Ex0aQiP9N+OpV4zi2r/Nee5VkRDbaqv35RLYMzbwQfFSZZH0kR+Rd6302UJZ2p/bJCEoR3VoQ==", + "dev": true, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/has-property-descriptors": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.0.tgz", + "integrity": "sha512-62DVLZGoiEBDHQyqG4w9xCuZ7eJEwNmJRWw2VY84Oedb7WFcA27fiEVe8oUQx9hAUJ4ekurquucTGwsyO1XGdQ==", + "dev": true, + "dependencies": { + "get-intrinsic": "^1.1.1" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-proto": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.1.tgz", + "integrity": "sha512-7qE+iP+O+bgF9clE5+UoBFzE65mlBiVj3tKCrlNQ0Ogwm0BjpT/gK4SlLYDMybDh5I3TCTKnPPa0oMG7JDYrhg==", + "dev": true, + "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==", + "dev": true, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-tostringtag": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.0.tgz", + "integrity": "sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ==", + "dev": true, + "dependencies": { + "has-symbols": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/he": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/he/-/he-1.2.0.tgz", + "integrity": "sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==", + "dev": true, + "bin": { + "he": "bin/he" + } + }, + "node_modules/hosted-git-info": { + "version": "2.8.9", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz", + "integrity": "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==", + "dev": true + }, + "node_modules/ignore": { + "version": "5.2.4", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.4.tgz", + "integrity": "sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ==", + "dev": true, + "engines": { + "node": ">= 4" + } + }, + "node_modules/import-fresh": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz", + "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==", + "dev": true, + "dependencies": { + "parent-module": "^1.0.0", + "resolve-from": "^4.0.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/imurmurhash": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", + "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==", + "dev": true, + "engines": { + "node": ">=0.8.19" + } + }, + "node_modules/inflight": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", + "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", + "dev": true, + "dependencies": { + "once": "^1.3.0", + "wrappy": "1" + } + }, + "node_modules/inherits": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", + "dev": true + }, + "node_modules/internal-slot": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.5.tgz", + "integrity": "sha512-Y+R5hJrzs52QCG2laLn4udYVnxsfny9CpOhNhUvk/SSSVyF6T27FzRbF0sroPidSu3X8oEAkOn2K804mjpt6UQ==", + "dev": true, + "dependencies": { + "get-intrinsic": "^1.2.0", + "has": "^1.0.3", + "side-channel": "^1.0.4" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/is-array-buffer": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/is-array-buffer/-/is-array-buffer-3.0.2.tgz", + "integrity": "sha512-y+FyyR/w8vfIRq4eQcM1EYgSTnmHXPqaF+IgzgraytCFq5Xh8lllDVmAZolPJiZttZLeFSINPYMaEJ7/vWUa1w==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "get-intrinsic": "^1.2.0", + "is-typed-array": "^1.1.10" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-arrayish": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", + "integrity": "sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==", + "dev": true + }, + "node_modules/is-bigint": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.0.4.tgz", + "integrity": "sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg==", + "dev": true, + "dependencies": { + "has-bigints": "^1.0.1" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "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==", + "dev": true, + "dependencies": { + "binary-extensions": "^2.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/is-boolean-object": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.1.2.tgz", + "integrity": "sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-callable": { + "version": "1.2.7", + "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.7.tgz", + "integrity": "sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==", + "dev": true, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-core-module": { + "version": "2.12.1", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.12.1.tgz", + "integrity": "sha512-Q4ZuBAe2FUsKtyQJoQHlvP8OvBERxO3jEmy1I7hcRXcJBGGHFh/aJBswbXuS9sgrDH2QUO8ilkwNPHvHMd8clg==", + "dev": true, + "dependencies": { + "has": "^1.0.3" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-date-object": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.5.tgz", + "integrity": "sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ==", + "dev": true, + "dependencies": { + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-extglob": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", + "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", + "dev": true, + "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==", + "dev": true, + "dependencies": { + "is-extglob": "^2.1.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-negative-zero": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.2.tgz", + "integrity": "sha512-dqJvarLawXsFbNDeJW7zAz8ItJ9cd28YufuuFzh0G8pNHjJMnY08Dv7sYX2uF5UpQOwieAeOExEYAWWfu7ZZUA==", + "dev": true, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "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==", + "dev": true, + "engines": { + "node": ">=0.12.0" + } + }, + "node_modules/is-number-object": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/is-number-object/-/is-number-object-1.0.7.tgz", + "integrity": "sha512-k1U0IRzLMo7ZlYIfzRu23Oh6MiIFasgpb9X76eqfFZAqwH44UI4KTBvBYIZ1dSL9ZzChTB9ShHfLkR4pdW5krQ==", + "dev": true, + "dependencies": { + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-path-inside": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-3.0.3.tgz", + "integrity": "sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/is-regex": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.4.tgz", + "integrity": "sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-shared-array-buffer": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-shared-array-buffer/-/is-shared-array-buffer-1.0.2.tgz", + "integrity": "sha512-sqN2UDu1/0y6uvXyStCOzyhAjCSlHceFoMKJW8W9EU9cvic/QdsZ0kEU93HEy3IUEFZIiH/3w+AH/UQbPHNdhA==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-string": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.0.7.tgz", + "integrity": "sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg==", + "dev": true, + "dependencies": { + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-symbol": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.4.tgz", + "integrity": "sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg==", + "dev": true, + "dependencies": { + "has-symbols": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-typed-array": { + "version": "1.1.10", + "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.10.tgz", + "integrity": "sha512-PJqgEHiWZvMpaFZ3uTc8kHPM4+4ADTlDniuQL7cU/UDA0Ql7F70yGfHph3cLNe+c9toaigv+DFzTJKhc2CtO6A==", + "dev": true, + "dependencies": { + "available-typed-arrays": "^1.0.5", + "call-bind": "^1.0.2", + "for-each": "^0.3.3", + "gopd": "^1.0.1", + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-weakref": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-weakref/-/is-weakref-1.0.2.tgz", + "integrity": "sha512-qctsuLZmIQ0+vSSMfoVvyFe2+GSEvnmZ2ezTup1SBse9+twCCeial6EEi3Nc2KFcf6+qz2FBPnjXsk8xhKSaPQ==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/isexe": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", + "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", + "dev": true + }, + "node_modules/jiti": { + "version": "1.18.2", + "resolved": "https://registry.npmjs.org/jiti/-/jiti-1.18.2.tgz", + "integrity": "sha512-QAdOptna2NYiSSpv0O/BwoHBSmz4YhpzJHyi+fnMRTXFjp7B8i/YG5Z8IfusxB1ufjcD2Sre1F3R+nX3fvy7gg==", + "dev": true, + "bin": { + "jiti": "bin/jiti.js" + } + }, + "node_modules/js-yaml": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", + "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", + "dev": true, + "dependencies": { + "argparse": "^2.0.1" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" + } + }, + "node_modules/json-parse-better-errors": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz", + "integrity": "sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw==", + "dev": true + }, + "node_modules/json-schema-traverse": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", + "dev": true + }, + "node_modules/json-stable-stringify-without-jsonify": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz", + "integrity": "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==", + "dev": true + }, + "node_modules/levn": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", + "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==", + "dev": true, + "dependencies": { + "prelude-ls": "^1.2.1", + "type-check": "~0.4.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/lilconfig": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-2.1.0.tgz", + "integrity": "sha512-utWOt/GHzuUxnLKxB6dk81RoOeoNeHgbrXiuGk4yyF5qlRz+iIVWu56E2fqGHFrXz0QNUhLB/8nKqvRH66JKGQ==", + "dev": true, + "engines": { + "node": ">=10" + } + }, + "node_modules/lines-and-columns": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz", + "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==", + "dev": true + }, + "node_modules/load-json-file": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-4.0.0.tgz", + "integrity": "sha512-Kx8hMakjX03tiGTLAIdJ+lL0htKnXjEZN6hk/tozf/WOuYGdZBJrZ+rCJRbVCugsjB3jMLn9746NsQIf5VjBMw==", + "dev": true, + "dependencies": { + "graceful-fs": "^4.1.2", + "parse-json": "^4.0.0", + "pify": "^3.0.0", + "strip-bom": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/locate-path": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", + "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", + "dev": true, + "dependencies": { + "p-locate": "^5.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/lodash": { + "version": "4.17.21", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", + "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", + "dev": true + }, + "node_modules/lodash.merge": { + "version": "4.6.2", + "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz", + "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==", + "dev": true + }, + "node_modules/lru-cache": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "dev": true, + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/magic-string": { + "version": "0.30.0", + "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.0.tgz", + "integrity": "sha512-LA+31JYDJLs82r2ScLrlz1GjSgu66ZV518eyWT+S8VhyQn/JL0u9MeBOvQMGYiPk1DBiSN9DDMOcXvigJZaViQ==", + "dependencies": { + "@jridgewell/sourcemap-codec": "^1.4.13" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/memorystream": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/memorystream/-/memorystream-0.3.1.tgz", + "integrity": "sha512-S3UwM3yj5mtUSEfP41UZmt/0SCoVYUcU1rkXv+BQ5Ig8ndL4sPoJNBUJERafdPb5jjHJGuMgytgKvKIf58XNBw==", + "dev": true, + "engines": { + "node": ">= 0.10.0" + } + }, + "node_modules/merge2": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", + "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==", + "dev": true, + "engines": { + "node": ">= 8" + } + }, + "node_modules/micromatch": { + "version": "4.0.5", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz", + "integrity": "sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==", + "dev": true, + "dependencies": { + "braces": "^3.0.2", + "picomatch": "^2.3.1" + }, + "engines": { + "node": ">=8.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==", + "dev": true, + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" + } + }, + "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==", + "dev": true + }, + "node_modules/muggle-string": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/muggle-string/-/muggle-string-0.3.1.tgz", + "integrity": "sha512-ckmWDJjphvd/FvZawgygcUeQCxzvohjFO5RxTjj4eq8kw359gFF3E1brjfI+viLMxss5JrHTDRHZvu2/tuy0Qg==", + "dev": true + }, + "node_modules/mz": { + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/mz/-/mz-2.7.0.tgz", + "integrity": "sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==", + "dev": true, + "dependencies": { + "any-promise": "^1.0.0", + "object-assign": "^4.0.1", + "thenify-all": "^1.0.0" + } + }, + "node_modules/nanoid": { + "version": "3.3.6", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.6.tgz", + "integrity": "sha512-BGcqMMJuToF7i1rt+2PWSNVnWIkGCU78jBG3RxO/bZlnZPK2Cmi2QaffxGO/2RvWi9sL+FAiRiXMgsyxQ1DIDA==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "bin": { + "nanoid": "bin/nanoid.cjs" + }, + "engines": { + "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" + } + }, + "node_modules/natural-compare": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", + "integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==", + "dev": true + }, + "node_modules/natural-compare-lite": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/natural-compare-lite/-/natural-compare-lite-1.4.0.tgz", + "integrity": "sha512-Tj+HTDSJJKaZnfiuw+iaF9skdPpTo2GtEly5JHnWV/hfv2Qj/9RKsGISQtLh2ox3l5EAGw487hnBee0sIJ6v2g==", + "dev": true + }, + "node_modules/nice-try": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/nice-try/-/nice-try-1.0.5.tgz", + "integrity": "sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ==", + "dev": true + }, + "node_modules/node-releases": { + "version": "2.0.12", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.12.tgz", + "integrity": "sha512-QzsYKWhXTWx8h1kIvqfnC++o0pEmpRQA/aenALsL2F4pqNVr7YzcdMlDij5WBnwftRbJCNJL/O7zdKaxKPHqgQ==", + "dev": true + }, + "node_modules/normalize-package-data": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", + "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==", + "dev": true, + "dependencies": { + "hosted-git-info": "^2.1.4", + "resolve": "^1.10.0", + "semver": "2 || 3 || 4 || 5", + "validate-npm-package-license": "^3.0.1" + } + }, + "node_modules/normalize-package-data/node_modules/semver": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", + "dev": true, + "bin": { + "semver": "bin/semver" + } + }, + "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==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/normalize-range": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/normalize-range/-/normalize-range-0.1.2.tgz", + "integrity": "sha512-bdok/XvKII3nUpklnV6P2hxtMNrCboOjAcyBuQnWEhO665FwrSNRxU+AqpsyvO6LgGYPspN+lu5CLtw4jPRKNA==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/npm-run-all": { + "version": "4.1.5", + "resolved": "https://registry.npmjs.org/npm-run-all/-/npm-run-all-4.1.5.tgz", + "integrity": "sha512-Oo82gJDAVcaMdi3nuoKFavkIHBRVqQ1qvMb+9LHk/cF4P6B2m8aP04hGf7oL6wZ9BuGwX1onlLhpuoofSyoQDQ==", + "dev": true, + "dependencies": { + "ansi-styles": "^3.2.1", + "chalk": "^2.4.1", + "cross-spawn": "^6.0.5", + "memorystream": "^0.3.1", + "minimatch": "^3.0.4", + "pidtree": "^0.3.0", + "read-pkg": "^3.0.0", + "shell-quote": "^1.6.1", + "string.prototype.padend": "^3.0.0" + }, + "bin": { + "npm-run-all": "bin/npm-run-all/index.js", + "run-p": "bin/run-p/index.js", + "run-s": "bin/run-s/index.js" + }, + "engines": { + "node": ">= 4" + } + }, + "node_modules/npm-run-all/node_modules/ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, + "dependencies": { + "color-convert": "^1.9.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/npm-run-all/node_modules/chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "dev": true, + "dependencies": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/npm-run-all/node_modules/color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "dev": true, + "dependencies": { + "color-name": "1.1.3" + } + }, + "node_modules/npm-run-all/node_modules/color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==", + "dev": true + }, + "node_modules/npm-run-all/node_modules/cross-spawn": { + "version": "6.0.5", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz", + "integrity": "sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ==", + "dev": true, + "dependencies": { + "nice-try": "^1.0.4", + "path-key": "^2.0.1", + "semver": "^5.5.0", + "shebang-command": "^1.2.0", + "which": "^1.2.9" + }, + "engines": { + "node": ">=4.8" + } + }, + "node_modules/npm-run-all/node_modules/escape-string-regexp": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", + "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", + "dev": true, + "engines": { + "node": ">=0.8.0" + } + }, + "node_modules/npm-run-all/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==", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/npm-run-all/node_modules/path-key": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-2.0.1.tgz", + "integrity": "sha512-fEHGKCSmUSDPv4uoj8AlD+joPlq3peND+HRYyxFz4KPw4z926S/b8rIuFs2FYJg3BwsxJf6A9/3eIdLaYC+9Dw==", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/npm-run-all/node_modules/semver": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", + "dev": true, + "bin": { + "semver": "bin/semver" + } + }, + "node_modules/npm-run-all/node_modules/shebang-command": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-1.2.0.tgz", + "integrity": "sha512-EV3L1+UQWGor21OmnvojK36mhg+TyIKDh3iFBKBohr5xeXIhNBcx8oWdgkTEEQ+BEFFYdLRuqMfd5L84N1V5Vg==", + "dev": true, + "dependencies": { + "shebang-regex": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/npm-run-all/node_modules/shebang-regex": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-1.0.0.tgz", + "integrity": "sha512-wpoSFAxys6b2a2wHZ1XpDSgD7N9iVjg29Ph9uV/uaP9Ex/KXlkTZTeddxDPSYQpgvzKLGJke2UU0AzoGCjNIvQ==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/npm-run-all/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==", + "dev": true, + "dependencies": { + "has-flag": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/npm-run-all/node_modules/which": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz", + "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==", + "dev": true, + "dependencies": { + "isexe": "^2.0.0" + }, + "bin": { + "which": "bin/which" + } + }, + "node_modules/nth-check": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/nth-check/-/nth-check-2.1.1.tgz", + "integrity": "sha512-lqjrjmaOoAnWfMmBPL+XNnynZh2+swxiX3WUE0s4yEHI6m+AwrK2UZOimIRl3X/4QctVqS8AiZjFqyOGrMXb/w==", + "dev": true, + "dependencies": { + "boolbase": "^1.0.0" + }, + "funding": { + "url": "https://github.com/fb55/nth-check?sponsor=1" + } + }, + "node_modules/object-assign": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", + "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/object-hash": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/object-hash/-/object-hash-3.0.0.tgz", + "integrity": "sha512-RSn9F68PjH9HqtltsSnqYC1XXoWe9Bju5+213R98cNGttag9q9yAOTzdbsqvIa7aNm5WffBZFpWYr2aWrklWAw==", + "dev": true, + "engines": { + "node": ">= 6" + } + }, + "node_modules/object-inspect": { + "version": "1.12.3", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.3.tgz", + "integrity": "sha512-geUvdk7c+eizMNUDkRpW1wJwgfOiOeHbxBR/hLXK1aT6zmVSO0jsQcs7fj6MGw89jC/cjGfLcNOrtMYtGqm81g==", + "dev": true, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object-keys": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", + "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==", + "dev": true, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/object.assign": { + "version": "4.1.4", + "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.4.tgz", + "integrity": "sha512-1mxKf0e58bvyjSCtKYY4sRe9itRk3PJpquJOjeIkz885CczcI4IvJJDLPS72oowuSh+pBxUFROpX+TU++hxhZQ==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.4", + "has-symbols": "^1.0.3", + "object-keys": "^1.1.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/once": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", + "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", + "dev": true, + "dependencies": { + "wrappy": "1" + } + }, + "node_modules/optionator": { + "version": "0.9.3", + "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.3.tgz", + "integrity": "sha512-JjCoypp+jKn1ttEFExxhetCKeJt9zhAgAve5FXHixTvFDW/5aEktX9bufBKLRRMdU7bNtpLfcGu94B3cdEJgjg==", + "dev": true, + "dependencies": { + "@aashutoshrathi/word-wrap": "^1.2.3", + "deep-is": "^0.1.3", + "fast-levenshtein": "^2.0.6", + "levn": "^0.4.1", + "prelude-ls": "^1.2.1", + "type-check": "^0.4.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/p-limit": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", + "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", + "dev": true, + "dependencies": { + "yocto-queue": "^0.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/p-locate": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", + "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", + "dev": true, + "dependencies": { + "p-limit": "^3.0.2" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/parent-module": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", + "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", + "dev": true, + "dependencies": { + "callsites": "^3.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/parse-json": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-4.0.0.tgz", + "integrity": "sha512-aOIos8bujGN93/8Ox/jPLh7RwVnPEysynVFE+fQZyg6jKELEHwzgKdLRFHUgXJL6kylijVSBC4BvN9OmsB48Rw==", + "dev": true, + "dependencies": { + "error-ex": "^1.3.1", + "json-parse-better-errors": "^1.0.1" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/path-exists": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", + "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/path-is-absolute": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", + "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/path-key": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", + "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/path-parse": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", + "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", + "dev": true + }, + "node_modules/path-type": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", + "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/picocolors": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz", + "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==" + }, + "node_modules/picomatch": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", + "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", + "dev": true, + "engines": { + "node": ">=8.6" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } + }, + "node_modules/pidtree": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/pidtree/-/pidtree-0.3.1.tgz", + "integrity": "sha512-qQbW94hLHEqCg7nhby4yRC7G2+jYHY4Rguc2bjw7Uug4GIJuu1tvf2uHaZv5Q8zdt+WKJ6qK1FOI6amaWUo5FA==", + "dev": true, + "bin": { + "pidtree": "bin/pidtree.js" + }, + "engines": { + "node": ">=0.10" + } + }, + "node_modules/pify": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", + "integrity": "sha512-C3FsVNH1udSEX48gGX1xfvwTWfsYWj5U+8/uK15BGzIGrKoUpghX8hWZwa/OFnakBiiVNmBvemTJR5mcy7iPcg==", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/pirates": { + "version": "4.0.6", + "resolved": "https://registry.npmjs.org/pirates/-/pirates-4.0.6.tgz", + "integrity": "sha512-saLsH7WeYYPiD25LDuLRRY/i+6HaPYr6G1OUlN39otzkSTxKnubR9RTxS3/Kk50s1g2JTgFwWQDQyplC5/SHZg==", + "dev": true, + "engines": { + "node": ">= 6" + } + }, + "node_modules/postcss": { + "version": "8.4.24", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.24.tgz", + "integrity": "sha512-M0RzbcI0sO/XJNucsGjvWU9ERWxb/ytp1w6dKtxTKgixdtQDq4rmx/g8W1hnaheq9jgwL/oyEdH5Bc4WwJKMqg==", + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/postcss" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "dependencies": { + "nanoid": "^3.3.6", + "picocolors": "^1.0.0", + "source-map-js": "^1.0.2" + }, + "engines": { + "node": "^10 || ^12 || >=14" + } + }, + "node_modules/postcss-import": { + "version": "15.1.0", + "resolved": "https://registry.npmjs.org/postcss-import/-/postcss-import-15.1.0.tgz", + "integrity": "sha512-hpr+J05B2FVYUAXHeK1YyI267J/dDDhMU6B6civm8hSY1jYJnBXxzKDKDswzJmtLHryrjhnDjqqp/49t8FALew==", + "dev": true, + "dependencies": { + "postcss-value-parser": "^4.0.0", + "read-cache": "^1.0.0", + "resolve": "^1.1.7" + }, + "engines": { + "node": ">=14.0.0" + }, + "peerDependencies": { + "postcss": "^8.0.0" + } + }, + "node_modules/postcss-js": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/postcss-js/-/postcss-js-4.0.1.tgz", + "integrity": "sha512-dDLF8pEO191hJMtlHFPRa8xsizHaM82MLfNkUHdUtVEV3tgTp5oj+8qbEqYM57SLfc74KSbw//4SeJma2LRVIw==", + "dev": true, + "dependencies": { + "camelcase-css": "^2.0.1" + }, + "engines": { + "node": "^12 || ^14 || >= 16" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + "peerDependencies": { + "postcss": "^8.4.21" + } + }, + "node_modules/postcss-load-config": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/postcss-load-config/-/postcss-load-config-4.0.1.tgz", + "integrity": "sha512-vEJIc8RdiBRu3oRAI0ymerOn+7rPuMvRXslTvZUKZonDHFIczxztIyJ1urxM1x9JXEikvpWWTUUqal5j/8QgvA==", + "dev": true, + "dependencies": { + "lilconfig": "^2.0.5", + "yaml": "^2.1.1" + }, + "engines": { + "node": ">= 14" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + "peerDependencies": { + "postcss": ">=8.0.9", + "ts-node": ">=9.0.0" + }, + "peerDependenciesMeta": { + "postcss": { + "optional": true + }, + "ts-node": { + "optional": true + } + } + }, + "node_modules/postcss-nested": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/postcss-nested/-/postcss-nested-6.0.1.tgz", + "integrity": "sha512-mEp4xPMi5bSWiMbsgoPfcP74lsWLHkQbZc3sY+jWYd65CUwXrUaTp0fmNpa01ZcETKlIgUdFN/MpS2xZtqL9dQ==", + "dev": true, + "dependencies": { + "postcss-selector-parser": "^6.0.11" + }, + "engines": { + "node": ">=12.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + "peerDependencies": { + "postcss": "^8.2.14" + } + }, + "node_modules/postcss-selector-parser": { + "version": "6.0.13", + "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.13.tgz", + "integrity": "sha512-EaV1Gl4mUEV4ddhDnv/xtj7sxwrwxdetHdWUGnT4VJQf+4d05v6lHYZr8N573k5Z0BViss7BDhfWtKS3+sfAqQ==", + "dev": true, + "dependencies": { + "cssesc": "^3.0.0", + "util-deprecate": "^1.0.2" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/postcss-value-parser": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz", + "integrity": "sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==", + "dev": true + }, + "node_modules/prelude-ls": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", + "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==", + "dev": true, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/prettier": { + "version": "2.8.8", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.8.8.tgz", + "integrity": "sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==", + "dev": true, + "bin": { + "prettier": "bin-prettier.js" + }, + "engines": { + "node": ">=10.13.0" + }, + "funding": { + "url": "https://github.com/prettier/prettier?sponsor=1" + } + }, + "node_modules/prettier-linter-helpers": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/prettier-linter-helpers/-/prettier-linter-helpers-1.0.0.tgz", + "integrity": "sha512-GbK2cP9nraSSUF9N2XwUwqfzlAFlMNYYl+ShE/V+H8a9uNl/oUqB1w2EL54Jh0OlyRSd8RfWYJ3coVS4TROP2w==", + "dev": true, + "dependencies": { + "fast-diff": "^1.1.2" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/punycode": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.0.tgz", + "integrity": "sha512-rRV+zQD8tVFys26lAGR9WUuS4iUAngJScM+ZRSKtvl5tKeZ2t5bvdNFdNHBW9FWR4guGHlgmsZ1G7BSm2wTbuA==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/queue-microtask": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", + "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==", + "dev": true, + "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/read-cache": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/read-cache/-/read-cache-1.0.0.tgz", + "integrity": "sha512-Owdv/Ft7IjOgm/i0xvNDZ1LrRANRfew4b2prF3OWMQLxLfu3bS8FVhCsrSCMK4lR56Y9ya+AThoTpDCTxCmpRA==", + "dev": true, + "dependencies": { + "pify": "^2.3.0" + } + }, + "node_modules/read-cache/node_modules/pify": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", + "integrity": "sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/read-pkg": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-3.0.0.tgz", + "integrity": "sha512-BLq/cCO9two+lBgiTYNqD6GdtK8s4NpaWrl6/rCO9w0TUS8oJl7cmToOZfRYllKTISY6nt1U7jQ53brmKqY6BA==", + "dev": true, + "dependencies": { + "load-json-file": "^4.0.0", + "normalize-package-data": "^2.3.2", + "path-type": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/read-pkg/node_modules/path-type": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-3.0.0.tgz", + "integrity": "sha512-T2ZUsdZFHgA3u4e5PfPbjd7HDDpxPnQb5jN0SrDsjNSuVXHJqtwTnWqG0B1jZrgmJ/7lj1EmVIByWt1gxGkWvg==", + "dev": true, + "dependencies": { + "pify": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/readdirp": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", + "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", + "dev": true, + "dependencies": { + "picomatch": "^2.2.1" + }, + "engines": { + "node": ">=8.10.0" + } + }, + "node_modules/regexp.prototype.flags": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.5.0.tgz", + "integrity": "sha512-0SutC3pNudRKgquxGoRGIz946MZVHqbNfPjBdxeOhBrdgDKlRoXmYLQN9xRbrR09ZXWeGAdPuif7egofn6v5LA==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.2.0", + "functions-have-names": "^1.2.3" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/resolve": { + "version": "1.22.2", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.2.tgz", + "integrity": "sha512-Sb+mjNHOULsBv818T40qSPeRiuWLyaGMa5ewydRLFimneixmVy2zdivRl+AF6jaYPC8ERxGDmFSiqui6SfPd+g==", + "dev": true, + "dependencies": { + "is-core-module": "^2.11.0", + "path-parse": "^1.0.7", + "supports-preserve-symlinks-flag": "^1.0.0" + }, + "bin": { + "resolve": "bin/resolve" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/resolve-from": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", + "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/reusify": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz", + "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==", + "dev": true, + "engines": { + "iojs": ">=1.0.0", + "node": ">=0.10.0" + } + }, + "node_modules/rimraf": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", + "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", + "dev": true, + "dependencies": { + "glob": "^7.1.3" + }, + "bin": { + "rimraf": "bin.js" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/rollup": { + "version": "3.25.3", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.25.3.tgz", + "integrity": "sha512-ZT279hx8gszBj9uy5FfhoG4bZx8c+0A1sbqtr7Q3KNWIizpTdDEPZbV2xcbvHsnFp4MavCQYZyzApJ+virB8Yw==", + "dev": true, + "bin": { + "rollup": "dist/bin/rollup" + }, + "engines": { + "node": ">=14.18.0", + "npm": ">=8.0.0" + }, + "optionalDependencies": { + "fsevents": "~2.3.2" + } + }, + "node_modules/run-parallel": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", + "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "dependencies": { + "queue-microtask": "^1.2.2" + } + }, + "node_modules/safe-regex-test": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/safe-regex-test/-/safe-regex-test-1.0.0.tgz", + "integrity": "sha512-JBUUzyOgEwXQY1NuPtvcj/qcBDbDmEvWufhlnXZIm75DEHp+afM1r1ujJpJsV/gSM4t59tpDyPi1sd6ZaPFfsA==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "get-intrinsic": "^1.1.3", + "is-regex": "^1.1.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/semver": { + "version": "7.5.3", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.3.tgz", + "integrity": "sha512-QBlUtyVk/5EeHbi7X0fw6liDZc7BBmEaSYn01fMU1OUYbf6GPsbTtd8WmnqbI20SeycoHSeiybkE/q1Q+qlThQ==", + "dev": true, + "dependencies": { + "lru-cache": "^6.0.0" + }, + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/shebang-command": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", + "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", + "dev": true, + "dependencies": { + "shebang-regex": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/shebang-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", + "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/shell-quote": { + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/shell-quote/-/shell-quote-1.8.1.tgz", + "integrity": "sha512-6j1W9l1iAs/4xYBI1SYOVZyFcCis9b4KCLQ8fgAGG07QvzaRLVVRQvAy85yNmmZSjYjg4MWh4gNvlPujU/5LpA==", + "dev": true, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/side-channel": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz", + "integrity": "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.0", + "get-intrinsic": "^1.0.2", + "object-inspect": "^1.9.0" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/slash": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", + "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/source-map-js": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.0.2.tgz", + "integrity": "sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/spdx-correct": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.2.0.tgz", + "integrity": "sha512-kN9dJbvnySHULIluDHy32WHRUu3Og7B9sbY7tsFLctQkIqnMh3hErYgdMjTYuqmcXX+lK5T1lnUt3G7zNswmZA==", + "dev": true, + "dependencies": { + "spdx-expression-parse": "^3.0.0", + "spdx-license-ids": "^3.0.0" + } + }, + "node_modules/spdx-exceptions": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.3.0.tgz", + "integrity": "sha512-/tTrYOC7PPI1nUAgx34hUpqXuyJG+DTHJTnIULG4rDygi4xu/tfgmq1e1cIRwRzwZgo4NLySi+ricLkZkw4i5A==", + "dev": true + }, + "node_modules/spdx-expression-parse": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.1.tgz", + "integrity": "sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==", + "dev": true, + "dependencies": { + "spdx-exceptions": "^2.1.0", + "spdx-license-ids": "^3.0.0" + } + }, + "node_modules/spdx-license-ids": { + "version": "3.0.13", + "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.13.tgz", + "integrity": "sha512-XkD+zwiqXHikFZm4AX/7JSCXA98U5Db4AFd5XUg/+9UNtnH75+Z9KxtpYiJZx36mUDVOwH83pl7yvCer6ewM3w==", + "dev": true + }, + "node_modules/string.prototype.padend": { + "version": "3.1.4", + "resolved": "https://registry.npmjs.org/string.prototype.padend/-/string.prototype.padend-3.1.4.tgz", + "integrity": "sha512-67otBXoksdjsnXXRUq+KMVTdlVRZ2af422Y0aTyTjVaoQkGr3mxl2Bc5emi7dOQ3OGVVQQskmLEWwFXwommpNw==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.4", + "es-abstract": "^1.20.4" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/string.prototype.trim": { + "version": "1.2.7", + "resolved": "https://registry.npmjs.org/string.prototype.trim/-/string.prototype.trim-1.2.7.tgz", + "integrity": "sha512-p6TmeT1T3411M8Cgg9wBTMRtY2q9+PNy9EV1i2lIXUN/btt763oIfxwN3RR8VU6wHX8j/1CFy0L+YuThm6bgOg==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.4", + "es-abstract": "^1.20.4" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/string.prototype.trimend": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.6.tgz", + "integrity": "sha512-JySq+4mrPf9EsDBEDYMOb/lM7XQLulwg5R/m1r0PXEFqrV0qHvl58sdTilSXtKOflCsK2E8jxf+GKC0T07RWwQ==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.4", + "es-abstract": "^1.20.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/string.prototype.trimstart": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.6.tgz", + "integrity": "sha512-omqjMDaY92pbn5HOX7f9IccLA+U1tA9GvtU4JrodiXFfYB7jPzzHpRzpglLAjtUV6bB557zwClJezTqnAiYnQA==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.4", + "es-abstract": "^1.20.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/strip-bom": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", + "integrity": "sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/strip-json-comments": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", + "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", + "dev": true, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/style-mod": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/style-mod/-/style-mod-4.0.3.tgz", + "integrity": "sha512-78Jv8kYJdjbvRwwijtCevYADfsI0lGzYJe4mMFdceO8l75DFFDoqBhR1jVDicDRRaX4//g1u9wKeo+ztc2h1Rw==" + }, + "node_modules/sucrase": { + "version": "3.32.0", + "resolved": "https://registry.npmjs.org/sucrase/-/sucrase-3.32.0.tgz", + "integrity": "sha512-ydQOU34rpSyj2TGyz4D2p8rbktIOZ8QY9s+DGLvFU1i5pWJE8vkpruCjGCMHsdXwnD7JDcS+noSwM/a7zyNFDQ==", + "dev": true, + "dependencies": { + "@jridgewell/gen-mapping": "^0.3.2", + "commander": "^4.0.0", + "glob": "7.1.6", + "lines-and-columns": "^1.1.6", + "mz": "^2.7.0", + "pirates": "^4.0.1", + "ts-interface-checker": "^0.1.9" + }, + "bin": { + "sucrase": "bin/sucrase", + "sucrase-node": "bin/sucrase-node" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/sucrase/node_modules/glob": { + "version": "7.1.6", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz", + "integrity": "sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==", + "dev": true, + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.0.4", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/supports-preserve-symlinks-flag": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", + "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==", + "dev": true, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/tailwindcss": { + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.3.2.tgz", + "integrity": "sha512-9jPkMiIBXvPc2KywkraqsUfbfj+dHDb+JPWtSJa9MLFdrPyazI7q6WX2sUrm7R9eVR7qqv3Pas7EvQFzxKnI6w==", + "dev": true, + "dependencies": { + "@alloc/quick-lru": "^5.2.0", + "arg": "^5.0.2", + "chokidar": "^3.5.3", + "didyoumean": "^1.2.2", + "dlv": "^1.1.3", + "fast-glob": "^3.2.12", + "glob-parent": "^6.0.2", + "is-glob": "^4.0.3", + "jiti": "^1.18.2", + "lilconfig": "^2.1.0", + "micromatch": "^4.0.5", + "normalize-path": "^3.0.0", + "object-hash": "^3.0.0", + "picocolors": "^1.0.0", + "postcss": "^8.4.23", + "postcss-import": "^15.1.0", + "postcss-js": "^4.0.1", + "postcss-load-config": "^4.0.1", + "postcss-nested": "^6.0.1", + "postcss-selector-parser": "^6.0.11", + "postcss-value-parser": "^4.2.0", + "resolve": "^1.22.2", + "sucrase": "^3.32.0" + }, + "bin": { + "tailwind": "lib/cli.js", + "tailwindcss": "lib/cli.js" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/text-table": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz", + "integrity": "sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==", + "dev": true + }, + "node_modules/thenify": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/thenify/-/thenify-3.3.1.tgz", + "integrity": "sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw==", + "dev": true, + "dependencies": { + "any-promise": "^1.0.0" + } + }, + "node_modules/thenify-all": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/thenify-all/-/thenify-all-1.6.0.tgz", + "integrity": "sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA==", + "dev": true, + "dependencies": { + "thenify": ">= 3.1.0 < 4" + }, + "engines": { + "node": ">=0.8" + } + }, + "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==", + "dev": true, + "dependencies": { + "is-number": "^7.0.0" + }, + "engines": { + "node": ">=8.0" + } + }, + "node_modules/ts-interface-checker": { + "version": "0.1.13", + "resolved": "https://registry.npmjs.org/ts-interface-checker/-/ts-interface-checker-0.1.13.tgz", + "integrity": "sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==", + "dev": true + }, + "node_modules/tslib": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", + "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==", + "dev": true + }, + "node_modules/tsutils": { + "version": "3.21.0", + "resolved": "https://registry.npmjs.org/tsutils/-/tsutils-3.21.0.tgz", + "integrity": "sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==", + "dev": true, + "dependencies": { + "tslib": "^1.8.1" + }, + "engines": { + "node": ">= 6" + }, + "peerDependencies": { + "typescript": ">=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta" + } + }, + "node_modules/type-check": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", + "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==", + "dev": true, + "dependencies": { + "prelude-ls": "^1.2.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/type-fest": { + "version": "0.20.2", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz", + "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/typed-array-length": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/typed-array-length/-/typed-array-length-1.0.4.tgz", + "integrity": "sha512-KjZypGq+I/H7HI5HlOoGHkWUUGq+Q0TPhQurLbyrVrvnKTBgzLhIJ7j6J/XTQOi0d1RjyZ0wdas8bKs2p0x3Ng==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "for-each": "^0.3.3", + "is-typed-array": "^1.1.9" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/typescript": { + "version": "5.0.4", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.0.4.tgz", + "integrity": "sha512-cW9T5W9xY37cc+jfEnaUvX91foxtHkza3Nw3wkoF4sSlKn0MONdkdEndig/qPBWXNkmplh3NzayQzCiHM4/hqw==", + "dev": true, + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" + }, + "engines": { + "node": ">=12.20" + } + }, + "node_modules/unbox-primitive": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.0.2.tgz", + "integrity": "sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "has-bigints": "^1.0.2", + "has-symbols": "^1.0.3", + "which-boxed-primitive": "^1.0.2" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/update-browserslist-db": { + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.11.tgz", + "integrity": "sha512-dCwEFf0/oT85M1fHBg4F0jtLwJrutGoHSQXCh7u4o2t1drG+c0a9Flnqww6XUKSfQMPpJBRjU8d4RXB09qtvaA==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/browserslist" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "dependencies": { + "escalade": "^3.1.1", + "picocolors": "^1.0.0" + }, + "bin": { + "update-browserslist-db": "cli.js" + }, + "peerDependencies": { + "browserslist": ">= 4.21.0" + } + }, + "node_modules/uri-js": { + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", + "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", + "dev": true, + "dependencies": { + "punycode": "^2.1.0" + } + }, + "node_modules/util-deprecate": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", + "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==", + "dev": true + }, + "node_modules/validate-npm-package-license": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz", + "integrity": "sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==", + "dev": true, + "dependencies": { + "spdx-correct": "^3.0.0", + "spdx-expression-parse": "^3.0.0" + } + }, + "node_modules/vite": { + "version": "4.3.9", + "resolved": "https://registry.npmjs.org/vite/-/vite-4.3.9.tgz", + "integrity": "sha512-qsTNZjO9NoJNW7KnOrgYwczm0WctJ8m/yqYAMAK9Lxt4SoySUfS5S8ia9K7JHpa3KEeMfyF8LoJ3c5NeBJy6pg==", + "dev": true, + "dependencies": { + "esbuild": "^0.17.5", + "postcss": "^8.4.23", + "rollup": "^3.21.0" + }, + "bin": { + "vite": "bin/vite.js" + }, + "engines": { + "node": "^14.18.0 || >=16.0.0" + }, + "optionalDependencies": { + "fsevents": "~2.3.2" + }, + "peerDependencies": { + "@types/node": ">= 14", + "less": "*", + "sass": "*", + "stylus": "*", + "sugarss": "*", + "terser": "^5.4.0" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + }, + "less": { + "optional": true + }, + "sass": { + "optional": true + }, + "stylus": { + "optional": true + }, + "sugarss": { + "optional": true + }, + "terser": { + "optional": true + } + } + }, + "node_modules/vue": { + "version": "3.3.4", + "resolved": "https://registry.npmjs.org/vue/-/vue-3.3.4.tgz", + "integrity": "sha512-VTyEYn3yvIeY1Py0WaYGZsXnz3y5UnGi62GjVEqvEGPl6nxbOrCXbVOTQWBEJUqAyTUk2uJ5JLVnYJ6ZzGbrSw==", + "dependencies": { + "@vue/compiler-dom": "3.3.4", + "@vue/compiler-sfc": "3.3.4", + "@vue/runtime-dom": "3.3.4", + "@vue/server-renderer": "3.3.4", + "@vue/shared": "3.3.4" + } + }, + "node_modules/vue-codemirror": { + "version": "6.1.1", + "resolved": "https://registry.npmjs.org/vue-codemirror/-/vue-codemirror-6.1.1.tgz", + "integrity": "sha512-rTAYo44owd282yVxKtJtnOi7ERAcXTeviwoPXjIc6K/IQYUsoDkzPvw/JDFtSP6T7Cz/2g3EHaEyeyaQCKoDMg==", + "dependencies": { + "@codemirror/commands": "6.x", + "@codemirror/language": "6.x", + "@codemirror/state": "6.x", + "@codemirror/view": "6.x" + }, + "peerDependencies": { + "codemirror": "6.x", + "vue": "3.x" + } + }, + "node_modules/vue-eslint-parser": { + "version": "9.3.1", + "resolved": "https://registry.npmjs.org/vue-eslint-parser/-/vue-eslint-parser-9.3.1.tgz", + "integrity": "sha512-Clr85iD2XFZ3lJ52/ppmUDG/spxQu6+MAeHXjjyI4I1NUYZ9xmenQp4N0oaHJhrA8OOxltCVxMRfANGa70vU0g==", + "dev": true, + "dependencies": { + "debug": "^4.3.4", + "eslint-scope": "^7.1.1", + "eslint-visitor-keys": "^3.3.0", + "espree": "^9.3.1", + "esquery": "^1.4.0", + "lodash": "^4.17.21", + "semver": "^7.3.6" + }, + "engines": { + "node": "^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/mysticatea" + }, + "peerDependencies": { + "eslint": ">=6.0.0" + } + }, + "node_modules/vue-eslint-parser/node_modules/eslint-scope": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.2.0.tgz", + "integrity": "sha512-DYj5deGlHBfMt15J7rdtyKNq/Nqlv5KfU4iodrQ019XESsRnwXH9KAE0y3cwtUHDo2ob7CypAnCqefh6vioWRw==", + "dev": true, + "dependencies": { + "esrecurse": "^4.3.0", + "estraverse": "^5.2.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/vue-eslint-parser/node_modules/estraverse": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", + "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", + "dev": true, + "engines": { + "node": ">=4.0" + } + }, + "node_modules/vue-router": { + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/vue-router/-/vue-router-4.2.2.tgz", + "integrity": "sha512-cChBPPmAflgBGmy3tBsjeoe3f3VOSG6naKyY5pjtrqLGbNEXdzCigFUHgBvp9e3ysAtFtEx7OLqcSDh/1Cq2TQ==", + "dependencies": { + "@vue/devtools-api": "^6.5.0" + }, + "funding": { + "url": "https://github.com/sponsors/posva" + }, + "peerDependencies": { + "vue": "^3.2.0" + } + }, + "node_modules/vue-template-compiler": { + "version": "2.7.14", + "resolved": "https://registry.npmjs.org/vue-template-compiler/-/vue-template-compiler-2.7.14.tgz", + "integrity": "sha512-zyA5Y3ArvVG0NacJDkkzJuPQDF8RFeRlzV2vLeSnhSpieO6LK2OVbdLPi5MPPs09Ii+gMO8nY4S3iKQxBxDmWQ==", + "dev": true, + "dependencies": { + "de-indent": "^1.0.2", + "he": "^1.2.0" + } + }, + "node_modules/vue-tsc": { + "version": "1.8.2", + "resolved": "https://registry.npmjs.org/vue-tsc/-/vue-tsc-1.8.2.tgz", + "integrity": "sha512-iLS+z7jzxEAZRGLo4bYWfzZeBNVA71uXKmT2+5bQSsOJBtGLniR45sVpR+X7sa0m3J8iMEIU5+phLB7FnMLS0A==", + "dev": true, + "dependencies": { + "@vue/language-core": "1.8.2", + "@vue/typescript": "1.8.2", + "semver": "^7.3.8" + }, + "bin": { + "vue-tsc": "bin/vue-tsc.js" + }, + "peerDependencies": { + "typescript": "*" + } + }, + "node_modules/w3c-keyname": { + "version": "2.2.8", + "resolved": "https://registry.npmjs.org/w3c-keyname/-/w3c-keyname-2.2.8.tgz", + "integrity": "sha512-dpojBhNsCNN7T82Tm7k26A6G9ML3NkhDsnw9n/eoxSRlVBB4CEtIQ/KTCLI2Fwf3ataSXRhYFkQi3SlnFwPvPQ==" + }, + "node_modules/which": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", + "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", + "dev": true, + "dependencies": { + "isexe": "^2.0.0" + }, + "bin": { + "node-which": "bin/node-which" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/which-boxed-primitive": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz", + "integrity": "sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg==", + "dev": true, + "dependencies": { + "is-bigint": "^1.0.1", + "is-boolean-object": "^1.1.0", + "is-number-object": "^1.0.4", + "is-string": "^1.0.5", + "is-symbol": "^1.0.3" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/which-typed-array": { + "version": "1.1.9", + "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.9.tgz", + "integrity": "sha512-w9c4xkx6mPidwp7180ckYWfMmvxpjlZuIudNtDf4N/tTAUB8VJbX25qZoAsrtGuYNnGw3pa0AXgbGKRB8/EceA==", + "dev": true, + "dependencies": { + "available-typed-arrays": "^1.0.5", + "call-bind": "^1.0.2", + "for-each": "^0.3.3", + "gopd": "^1.0.1", + "has-tostringtag": "^1.0.0", + "is-typed-array": "^1.1.10" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/wrappy": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", + "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==", + "dev": true + }, + "node_modules/xml-name-validator": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/xml-name-validator/-/xml-name-validator-4.0.0.tgz", + "integrity": "sha512-ICP2e+jsHvAj2E2lIHxa5tjXRlKDJo4IdvPvCXbXQGdzSfmSpNVyIKMvoZHjDY9DP0zV17iI85o90vRFXNccRw==", + "dev": true, + "engines": { + "node": ">=12" + } + }, + "node_modules/yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true + }, + "node_modules/yaml": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.3.1.tgz", + "integrity": "sha512-2eHWfjaoXgTBC2jNM1LRef62VQa0umtvRiDSk6HSzW7RvS5YtkabJrwYLLEKWBc8a5U2PTSCs+dJjUTJdlHsWQ==", + "dev": true, + "engines": { + "node": ">= 14" + } + }, + "node_modules/yocto-queue": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", + "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + } + }, + "dependencies": { + "@aashutoshrathi/word-wrap": { + "version": "1.2.6", + "resolved": "https://registry.npmjs.org/@aashutoshrathi/word-wrap/-/word-wrap-1.2.6.tgz", + "integrity": "sha512-1Yjs2SvM8TflER/OD3cOjhWWOZb58A2t7wpE2S9XfBYTiIl+XFhQG2bjy4Pu1I+EAlCNUzRDYDdFwFYUKvXcIA==", + "dev": true + }, + "@alloc/quick-lru": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/@alloc/quick-lru/-/quick-lru-5.2.0.tgz", + "integrity": "sha512-UrcABB+4bUrFABwbluTIBErXwvbsU/V7TZWfmbgJfbkwiBuziS9gxdODUyuiecfdGQ85jglMW6juS3+z5TsKLw==", + "dev": true + }, + "@babel/parser": { + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.22.5.tgz", + "integrity": "sha512-DFZMC9LJUG9PLOclRC32G63UXwzqS2koQC8dkx+PLdmt1xSePYpbT/NbsrJy8Q/muXz7o/h/d4A7Fuyixm559Q==" + }, + "@codemirror/autocomplete": { + "version": "6.8.1", + "resolved": "https://registry.npmjs.org/@codemirror/autocomplete/-/autocomplete-6.8.1.tgz", + "integrity": "sha512-HpphvDcTdOx+9R3eUw9hZK9JA77jlaBF0kOt2McbyfvY0rX9pnMoO8rkkZc0GzSbzhIY4m5xJ0uHHgjfqHNmXQ==", + "requires": { + "@codemirror/language": "^6.0.0", + "@codemirror/state": "^6.0.0", + "@codemirror/view": "^6.6.0", + "@lezer/common": "^1.0.0" + } + }, + "@codemirror/commands": { + "version": "6.2.4", + "resolved": "https://registry.npmjs.org/@codemirror/commands/-/commands-6.2.4.tgz", + "integrity": "sha512-42lmDqVH0ttfilLShReLXsDfASKLXzfyC36bzwcqzox9PlHulMcsUOfHXNo2X2aFMVNUoQ7j+d4q5bnfseYoOA==", + "requires": { + "@codemirror/language": "^6.0.0", + "@codemirror/state": "^6.2.0", + "@codemirror/view": "^6.0.0", + "@lezer/common": "^1.0.0" + } + }, + "@codemirror/lang-css": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/@codemirror/lang-css/-/lang-css-6.2.0.tgz", + "integrity": "sha512-oyIdJM29AyRPM3+PPq1I2oIk8NpUfEN3kAM05XWDDs6o3gSneIKaVJifT2P+fqONLou2uIgXynFyMUDQvo/szA==", + "requires": { + "@codemirror/autocomplete": "^6.0.0", + "@codemirror/language": "^6.0.0", + "@codemirror/state": "^6.0.0", + "@lezer/common": "^1.0.2", + "@lezer/css": "^1.0.0" + } + }, + "@codemirror/lang-html": { + "version": "6.4.5", + "resolved": "https://registry.npmjs.org/@codemirror/lang-html/-/lang-html-6.4.5.tgz", + "integrity": "sha512-dUCSxkIw2G+chaUfw3Gfu5kkN83vJQN8gfQDp9iEHsIZluMJA0YJveT12zg/28BJx+uPsbQ6VimKCgx3oJrZxA==", + "requires": { + "@codemirror/autocomplete": "^6.0.0", + "@codemirror/lang-css": "^6.0.0", + "@codemirror/lang-javascript": "^6.0.0", + "@codemirror/language": "^6.4.0", + "@codemirror/state": "^6.0.0", + "@codemirror/view": "^6.2.2", + "@lezer/common": "^1.0.0", + "@lezer/css": "^1.1.0", + "@lezer/html": "^1.3.0" + } + }, + "@codemirror/lang-javascript": { + "version": "6.1.9", + "resolved": "https://registry.npmjs.org/@codemirror/lang-javascript/-/lang-javascript-6.1.9.tgz", + "integrity": "sha512-z3jdkcqOEBT2txn2a87A0jSy6Te3679wg/U8QzMeftFt+4KA6QooMwfdFzJiuC3L6fXKfTXZcDocoaxMYfGz0w==", + "requires": { + "@codemirror/autocomplete": "^6.0.0", + "@codemirror/language": "^6.6.0", + "@codemirror/lint": "^6.0.0", + "@codemirror/state": "^6.0.0", + "@codemirror/view": "^6.0.0", + "@lezer/common": "^1.0.0", + "@lezer/javascript": "^1.0.0" + } + }, + "@codemirror/lang-json": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/@codemirror/lang-json/-/lang-json-6.0.1.tgz", + "integrity": "sha512-+T1flHdgpqDDlJZ2Lkil/rLiRy684WMLc74xUnjJH48GQdfJo/pudlTRreZmKwzP8/tGdKf83wlbAdOCzlJOGQ==", + "requires": { + "@codemirror/language": "^6.0.0", + "@lezer/json": "^1.0.0" + } + }, + "@codemirror/lang-xml": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/@codemirror/lang-xml/-/lang-xml-6.0.2.tgz", + "integrity": "sha512-JQYZjHL2LAfpiZI2/qZ/qzDuSqmGKMwyApYmEUUCTxLM4MWS7sATUEfIguZQr9Zjx/7gcdnewb039smF6nC2zw==", + "requires": { + "@codemirror/autocomplete": "^6.0.0", + "@codemirror/language": "^6.4.0", + "@codemirror/state": "^6.0.0", + "@lezer/common": "^1.0.0", + "@lezer/xml": "^1.0.0" + } + }, + "@codemirror/language": { + "version": "6.8.0", + "resolved": "https://registry.npmjs.org/@codemirror/language/-/language-6.8.0.tgz", + "integrity": "sha512-r1paAyWOZkfY0RaYEZj3Kul+MiQTEbDvYqf8gPGaRvNneHXCmfSaAVFjwRUPlgxS8yflMxw2CTu6uCMp8R8A2g==", + "requires": { + "@codemirror/state": "^6.0.0", + "@codemirror/view": "^6.0.0", + "@lezer/common": "^1.0.0", + "@lezer/highlight": "^1.0.0", + "@lezer/lr": "^1.0.0", + "style-mod": "^4.0.0" + } + }, + "@codemirror/lint": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/@codemirror/lint/-/lint-6.3.0.tgz", + "integrity": "sha512-tzxOVQNoDhhwFNfcTO2IB74wQoWarARcH6gv3YufPpiJ9yhcb7zD6JCkO5+FWARskqRFc8GFa6E+wUyOvADl5A==", + "requires": { + "@codemirror/state": "^6.0.0", + "@codemirror/view": "^6.0.0", + "crelt": "^1.0.5" + } + }, + "@codemirror/search": { + "version": "6.5.0", + "resolved": "https://registry.npmjs.org/@codemirror/search/-/search-6.5.0.tgz", + "integrity": "sha512-64/M40YeJPToKvGO6p3fijo2vwUEj4nACEAXElCaYQ50HrXSvRaK+NHEhSh73WFBGdvIdhrV+lL9PdJy2RfCYA==", + "requires": { + "@codemirror/state": "^6.0.0", + "@codemirror/view": "^6.0.0", + "crelt": "^1.0.5" + } + }, + "@codemirror/state": { + "version": "6.2.1", + "resolved": "https://registry.npmjs.org/@codemirror/state/-/state-6.2.1.tgz", + "integrity": "sha512-RupHSZ8+OjNT38zU9fKH2sv+Dnlr8Eb8sl4NOnnqz95mCFTZUaiRP8Xv5MeeaG0px2b8Bnfe7YGwCV3nsBhbuw==" + }, + "@codemirror/theme-one-dark": { + "version": "6.1.2", + "resolved": "https://registry.npmjs.org/@codemirror/theme-one-dark/-/theme-one-dark-6.1.2.tgz", + "integrity": "sha512-F+sH0X16j/qFLMAfbciKTxVOwkdAS336b7AXTKOZhy8BR3eH/RelsnLgLFINrpST63mmN2OuwUt0W2ndUgYwUA==", + "requires": { + "@codemirror/language": "^6.0.0", + "@codemirror/state": "^6.0.0", + "@codemirror/view": "^6.0.0", + "@lezer/highlight": "^1.0.0" + } + }, + "@codemirror/view": { + "version": "6.14.0", + "resolved": "https://registry.npmjs.org/@codemirror/view/-/view-6.14.0.tgz", + "integrity": "sha512-I263FPs4In42MNmrdwN2DfmYPFMVMXgT7o/mxdGp4jv5LPs8i0FOxzmxF5yeeQdYSTztb2ZhmPIu0ahveInVTg==", + "requires": { + "@codemirror/state": "^6.1.4", + "style-mod": "^4.0.0", + "w3c-keyname": "^2.2.4" + } + }, + "@esbuild/android-arm": { + "version": "0.17.19", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.17.19.tgz", + "integrity": "sha512-rIKddzqhmav7MSmoFCmDIb6e2W57geRsM94gV2l38fzhXMwq7hZoClug9USI2pFRGL06f4IOPHHpFNOkWieR8A==", + "dev": true, + "optional": true + }, + "@esbuild/android-arm64": { + "version": "0.17.19", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.17.19.tgz", + "integrity": "sha512-KBMWvEZooR7+kzY0BtbTQn0OAYY7CsiydT63pVEaPtVYF0hXbUaOyZog37DKxK7NF3XacBJOpYT4adIJh+avxA==", + "dev": true, + "optional": true + }, + "@esbuild/android-x64": { + "version": "0.17.19", + "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.17.19.tgz", + "integrity": "sha512-uUTTc4xGNDT7YSArp/zbtmbhO0uEEK9/ETW29Wk1thYUJBz3IVnvgEiEwEa9IeLyvnpKrWK64Utw2bgUmDveww==", + "dev": true, + "optional": true + }, + "@esbuild/darwin-arm64": { + "version": "0.17.19", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.17.19.tgz", + "integrity": "sha512-80wEoCfF/hFKM6WE1FyBHc9SfUblloAWx6FJkFWTWiCoht9Mc0ARGEM47e67W9rI09YoUxJL68WHfDRYEAvOhg==", + "dev": true, + "optional": true + }, + "@esbuild/darwin-x64": { + "version": "0.17.19", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.17.19.tgz", + "integrity": "sha512-IJM4JJsLhRYr9xdtLytPLSH9k/oxR3boaUIYiHkAawtwNOXKE8KoU8tMvryogdcT8AU+Bflmh81Xn6Q0vTZbQw==", + "dev": true, + "optional": true + }, + "@esbuild/freebsd-arm64": { + "version": "0.17.19", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.17.19.tgz", + "integrity": "sha512-pBwbc7DufluUeGdjSU5Si+P3SoMF5DQ/F/UmTSb8HXO80ZEAJmrykPyzo1IfNbAoaqw48YRpv8shwd1NoI0jcQ==", + "dev": true, + "optional": true + }, + "@esbuild/freebsd-x64": { + "version": "0.17.19", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.17.19.tgz", + "integrity": "sha512-4lu+n8Wk0XlajEhbEffdy2xy53dpR06SlzvhGByyg36qJw6Kpfk7cp45DR/62aPH9mtJRmIyrXAS5UWBrJT6TQ==", + "dev": true, + "optional": true + }, + "@esbuild/linux-arm": { + "version": "0.17.19", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.17.19.tgz", + "integrity": "sha512-cdmT3KxjlOQ/gZ2cjfrQOtmhG4HJs6hhvm3mWSRDPtZ/lP5oe8FWceS10JaSJC13GBd4eH/haHnqf7hhGNLerA==", + "dev": true, + "optional": true + }, + "@esbuild/linux-arm64": { + "version": "0.17.19", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.17.19.tgz", + "integrity": "sha512-ct1Tg3WGwd3P+oZYqic+YZF4snNl2bsnMKRkb3ozHmnM0dGWuxcPTTntAF6bOP0Sp4x0PjSF+4uHQ1xvxfRKqg==", + "dev": true, + "optional": true + }, + "@esbuild/linux-ia32": { + "version": "0.17.19", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.17.19.tgz", + "integrity": "sha512-w4IRhSy1VbsNxHRQpeGCHEmibqdTUx61Vc38APcsRbuVgK0OPEnQ0YD39Brymn96mOx48Y2laBQGqgZ0j9w6SQ==", + "dev": true, + "optional": true + }, + "@esbuild/linux-loong64": { + "version": "0.17.19", + "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.17.19.tgz", + "integrity": "sha512-2iAngUbBPMq439a+z//gE+9WBldoMp1s5GWsUSgqHLzLJ9WoZLZhpwWuym0u0u/4XmZ3gpHmzV84PonE+9IIdQ==", + "dev": true, + "optional": true + }, + "@esbuild/linux-mips64el": { + "version": "0.17.19", + "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.17.19.tgz", + "integrity": "sha512-LKJltc4LVdMKHsrFe4MGNPp0hqDFA1Wpt3jE1gEyM3nKUvOiO//9PheZZHfYRfYl6AwdTH4aTcXSqBerX0ml4A==", + "dev": true, + "optional": true + }, + "@esbuild/linux-ppc64": { + "version": "0.17.19", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.17.19.tgz", + "integrity": "sha512-/c/DGybs95WXNS8y3Ti/ytqETiW7EU44MEKuCAcpPto3YjQbyK3IQVKfF6nbghD7EcLUGl0NbiL5Rt5DMhn5tg==", + "dev": true, + "optional": true + }, + "@esbuild/linux-riscv64": { + "version": "0.17.19", + "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.17.19.tgz", + "integrity": "sha512-FC3nUAWhvFoutlhAkgHf8f5HwFWUL6bYdvLc/TTuxKlvLi3+pPzdZiFKSWz/PF30TB1K19SuCxDTI5KcqASJqA==", + "dev": true, + "optional": true + }, + "@esbuild/linux-s390x": { + "version": "0.17.19", + "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.17.19.tgz", + "integrity": "sha512-IbFsFbxMWLuKEbH+7sTkKzL6NJmG2vRyy6K7JJo55w+8xDk7RElYn6xvXtDW8HCfoKBFK69f3pgBJSUSQPr+4Q==", + "dev": true, + "optional": true + }, + "@esbuild/linux-x64": { + "version": "0.17.19", + "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.17.19.tgz", + "integrity": "sha512-68ngA9lg2H6zkZcyp22tsVt38mlhWde8l3eJLWkyLrp4HwMUr3c1s/M2t7+kHIhvMjglIBrFpncX1SzMckomGw==", + "dev": true, + "optional": true + }, + "@esbuild/netbsd-x64": { + "version": "0.17.19", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.17.19.tgz", + "integrity": "sha512-CwFq42rXCR8TYIjIfpXCbRX0rp1jo6cPIUPSaWwzbVI4aOfX96OXY8M6KNmtPcg7QjYeDmN+DD0Wp3LaBOLf4Q==", + "dev": true, + "optional": true + }, + "@esbuild/openbsd-x64": { + "version": "0.17.19", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.17.19.tgz", + "integrity": "sha512-cnq5brJYrSZ2CF6c35eCmviIN3k3RczmHz8eYaVlNasVqsNY+JKohZU5MKmaOI+KkllCdzOKKdPs762VCPC20g==", + "dev": true, + "optional": true + }, + "@esbuild/sunos-x64": { + "version": "0.17.19", + "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.17.19.tgz", + "integrity": "sha512-vCRT7yP3zX+bKWFeP/zdS6SqdWB8OIpaRq/mbXQxTGHnIxspRtigpkUcDMlSCOejlHowLqII7K2JKevwyRP2rg==", + "dev": true, + "optional": true + }, + "@esbuild/win32-arm64": { + "version": "0.17.19", + "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.17.19.tgz", + "integrity": "sha512-yYx+8jwowUstVdorcMdNlzklLYhPxjniHWFKgRqH7IFlUEa0Umu3KuYplf1HUZZ422e3NU9F4LGb+4O0Kdcaag==", + "dev": true, + "optional": true + }, + "@esbuild/win32-ia32": { + "version": "0.17.19", + "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.17.19.tgz", + "integrity": "sha512-eggDKanJszUtCdlVs0RB+h35wNlb5v4TWEkq4vZcmVt5u/HiDZrTXe2bWFQUez3RgNHwx/x4sk5++4NSSicKkw==", + "dev": true, + "optional": true + }, + "@esbuild/win32-x64": { + "version": "0.17.19", + "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.17.19.tgz", + "integrity": "sha512-lAhycmKnVOuRYNtRtatQR1LPQf2oYCkRGkSFnseDAKPl8lu5SOsK/e1sXe5a0Pc5kHIHe6P2I/ilntNv2xf3cA==", + "dev": true, + "optional": true + }, + "@eslint-community/eslint-utils": { + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz", + "integrity": "sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==", + "dev": true, + "requires": { + "eslint-visitor-keys": "^3.3.0" + } + }, + "@eslint-community/regexpp": { + "version": "4.5.1", + "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.5.1.tgz", + "integrity": "sha512-Z5ba73P98O1KUYCCJTUeVpja9RcGoMdncZ6T49FCUl2lN38JtCJ+3WgIDBv0AuY4WChU5PmtJmOCTlN6FZTFKQ==", + "dev": true + }, + "@eslint/eslintrc": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.0.3.tgz", + "integrity": "sha512-+5gy6OQfk+xx3q0d6jGZZC3f3KzAkXc/IanVxd1is/VIIziRqqt3ongQz0FiTUXqTk0c7aDB3OaFuKnuSoJicQ==", + "dev": true, + "requires": { + "ajv": "^6.12.4", + "debug": "^4.3.2", + "espree": "^9.5.2", + "globals": "^13.19.0", + "ignore": "^5.2.0", + "import-fresh": "^3.2.1", + "js-yaml": "^4.1.0", + "minimatch": "^3.1.2", + "strip-json-comments": "^3.1.1" + } + }, + "@eslint/js": { + "version": "8.43.0", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.43.0.tgz", + "integrity": "sha512-s2UHCoiXfxMvmfzqoN+vrQ84ahUSYde9qNO1MdxmoEhyHWsfmwOpFlwYV+ePJEVc7gFnATGUi376WowX1N7tFg==", + "dev": true + }, + "@humanwhocodes/config-array": { + "version": "0.11.10", + "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.10.tgz", + "integrity": "sha512-KVVjQmNUepDVGXNuoRRdmmEjruj0KfiGSbS8LVc12LMsWDQzRXJ0qdhN8L8uUigKpfEHRhlaQFY0ib1tnUbNeQ==", + "dev": true, + "requires": { + "@humanwhocodes/object-schema": "^1.2.1", + "debug": "^4.1.1", + "minimatch": "^3.0.5" + } + }, + "@humanwhocodes/module-importer": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz", + "integrity": "sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==", + "dev": true + }, + "@humanwhocodes/object-schema": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz", + "integrity": "sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==", + "dev": true + }, + "@jridgewell/gen-mapping": { + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.3.tgz", + "integrity": "sha512-HLhSWOLRi875zjjMG/r+Nv0oCW8umGb0BgEhyX3dDX3egwZtB8PqLnjz3yedt8R5StBrzcg4aBpnh8UA9D1BoQ==", + "dev": true, + "requires": { + "@jridgewell/set-array": "^1.0.1", + "@jridgewell/sourcemap-codec": "^1.4.10", + "@jridgewell/trace-mapping": "^0.3.9" + } + }, + "@jridgewell/resolve-uri": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.0.tgz", + "integrity": "sha512-F2msla3tad+Mfht5cJq7LSXcdudKTWCVYUgw6pLFOOHSTtZlj6SWNYAp+AhuqLmWdBO2X5hPrLcu8cVP8fy28w==", + "dev": true + }, + "@jridgewell/set-array": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.1.2.tgz", + "integrity": "sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw==", + "dev": true + }, + "@jridgewell/sourcemap-codec": { + "version": "1.4.15", + "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz", + "integrity": "sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==" + }, + "@jridgewell/trace-mapping": { + "version": "0.3.18", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.18.tgz", + "integrity": "sha512-w+niJYzMHdd7USdiH2U6869nqhD2nbfZXND5Yp93qIbEmnDNk7PD48o+YchRVpzMU7M6jVCbenTR7PA1FLQ9pA==", + "dev": true, + "requires": { + "@jridgewell/resolve-uri": "3.1.0", + "@jridgewell/sourcemap-codec": "1.4.14" + }, + "dependencies": { + "@jridgewell/sourcemap-codec": { + "version": "1.4.14", + "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.14.tgz", + "integrity": "sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw==", + "dev": true + } + } + }, + "@lezer/common": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@lezer/common/-/common-1.0.3.tgz", + "integrity": "sha512-JH4wAXCgUOcCGNekQPLhVeUtIqjH0yPBs7vvUdSjyQama9618IOKFJwkv2kcqdhF0my8hQEgCTEJU0GIgnahvA==" + }, + "@lezer/css": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@lezer/css/-/css-1.1.2.tgz", + "integrity": "sha512-5TKMAReXukfEmIiZprDlGfZVfOOCyEStFi1YLzxclm9H3G/HHI49/2wzlRT6bQw5r7PoZVEtjTItEkb/UuZQyg==", + "requires": { + "@lezer/highlight": "^1.0.0", + "@lezer/lr": "^1.0.0" + } + }, + "@lezer/highlight": { + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/@lezer/highlight/-/highlight-1.1.6.tgz", + "integrity": "sha512-cmSJYa2us+r3SePpRCjN5ymCqCPv+zyXmDl0ciWtVaNiORT/MxM7ZgOMQZADD0o51qOaOg24qc/zBViOIwAjJg==", + "requires": { + "@lezer/common": "^1.0.0" + } + }, + "@lezer/html": { + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/@lezer/html/-/html-1.3.4.tgz", + "integrity": "sha512-HdJYMVZcT4YsMo7lW3ipL4NoyS2T67kMPuSVS5TgLGqmaCjEU/D6xv7zsa1ktvTK5lwk7zzF1e3eU6gBZIPm5g==", + "requires": { + "@lezer/common": "^1.0.0", + "@lezer/highlight": "^1.0.0", + "@lezer/lr": "^1.0.0" + } + }, + "@lezer/javascript": { + "version": "1.4.3", + "resolved": "https://registry.npmjs.org/@lezer/javascript/-/javascript-1.4.3.tgz", + "integrity": "sha512-k7Eo9z9B1supZ5cCD4ilQv/RZVN30eUQL+gGbr6ybrEY3avBAL5MDiYi2aa23Aj0A79ry4rJRvPAwE2TM8bd+A==", + "requires": { + "@lezer/highlight": "^1.1.3", + "@lezer/lr": "^1.3.0" + } + }, + "@lezer/json": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@lezer/json/-/json-1.0.0.tgz", + "integrity": "sha512-zbAuUY09RBzCoCA3lJ1+ypKw5WSNvLqGMtasdW6HvVOqZoCpPr8eWrsGnOVWGKGn8Rh21FnrKRVlJXrGAVUqRw==", + "requires": { + "@lezer/highlight": "^1.0.0", + "@lezer/lr": "^1.0.0" + } + }, + "@lezer/lr": { + "version": "1.3.7", + "resolved": "https://registry.npmjs.org/@lezer/lr/-/lr-1.3.7.tgz", + "integrity": "sha512-ssHKb3p0MxhJXT2i7UBmgAY1BIM3Uq/D772Qutu3EVmxWIyNMU12nQ0rL3Fhu+MiFtiTzyTmd3xGwEf3ON5PSA==", + "requires": { + "@lezer/common": "^1.0.0" + } + }, + "@lezer/xml": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@lezer/xml/-/xml-1.0.1.tgz", + "integrity": "sha512-jMDXrV953sDAUEMI25VNrI9dz94Ai96FfeglytFINhhwQ867HKlCE2jt3AwZTCT7M528WxdDWv/Ty8e9wizwmQ==", + "requires": { + "@lezer/highlight": "^1.0.0", + "@lezer/lr": "^1.0.0" + } + }, + "@nodelib/fs.scandir": { + "version": "2.1.5", + "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", + "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==", + "dev": true, + "requires": { + "@nodelib/fs.stat": "2.0.5", + "run-parallel": "^1.1.9" + } + }, + "@nodelib/fs.stat": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz", + "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==", + "dev": true + }, + "@nodelib/fs.walk": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz", + "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==", + "dev": true, + "requires": { + "@nodelib/fs.scandir": "2.1.5", + "fastq": "^1.6.0" + } + }, + "@rushstack/eslint-patch": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/@rushstack/eslint-patch/-/eslint-patch-1.3.2.tgz", + "integrity": "sha512-V+MvGwaHH03hYhY+k6Ef/xKd6RYlc4q8WBx+2ANmipHJcKuktNcI/NgEsJgdSUF6Lw32njT6OnrRsKYCdgHjYw==", + "dev": true + }, + "@tsconfig/node18": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/@tsconfig/node18/-/node18-2.0.1.tgz", + "integrity": "sha512-UqdfvuJK0SArA2CxhKWwwAWfnVSXiYe63bVpMutc27vpngCntGUZQETO24pEJ46zU6XM+7SpqYoMgcO3bM11Ew==", + "dev": true + }, + "@types/json-schema": { + "version": "7.0.12", + "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.12.tgz", + "integrity": "sha512-Hr5Jfhc9eYOQNPYO5WLDq/n4jqijdHNlDXjuAQkkt+mWdQR+XJToOHrsD4cPaMXpn6KO7y2+wM8AZEs8VpBLVA==", + "dev": true + }, + "@types/node": { + "version": "18.16.18", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.16.18.tgz", + "integrity": "sha512-/aNaQZD0+iSBAGnvvN2Cx92HqE5sZCPZtx2TsK+4nvV23fFe09jVDvpArXr2j9DnYlzuU9WuoykDDc6wqvpNcw==", + "dev": true + }, + "@types/semver": { + "version": "7.5.0", + "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.5.0.tgz", + "integrity": "sha512-G8hZ6XJiHnuhQKR7ZmysCeJWE08o8T0AXtk5darsCaTVsYZhhgUrq53jizaR2FvsoeCwJhlmwTjkXBY5Pn/ZHw==", + "dev": true + }, + "@typescript-eslint/eslint-plugin": { + "version": "5.60.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.60.1.tgz", + "integrity": "sha512-KSWsVvsJsLJv3c4e73y/Bzt7OpqMCADUO846bHcuWYSYM19bldbAeDv7dYyV0jwkbMfJ2XdlzwjhXtuD7OY6bw==", + "dev": true, + "requires": { + "@eslint-community/regexpp": "^4.4.0", + "@typescript-eslint/scope-manager": "5.60.1", + "@typescript-eslint/type-utils": "5.60.1", + "@typescript-eslint/utils": "5.60.1", + "debug": "^4.3.4", + "grapheme-splitter": "^1.0.4", + "ignore": "^5.2.0", + "natural-compare-lite": "^1.4.0", + "semver": "^7.3.7", + "tsutils": "^3.21.0" + } + }, + "@typescript-eslint/parser": { + "version": "5.60.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.60.1.tgz", + "integrity": "sha512-pHWlc3alg2oSMGwsU/Is8hbm3XFbcrb6P5wIxcQW9NsYBfnrubl/GhVVD/Jm/t8HXhA2WncoIRfBtnCgRGV96Q==", + "dev": true, + "requires": { + "@typescript-eslint/scope-manager": "5.60.1", + "@typescript-eslint/types": "5.60.1", + "@typescript-eslint/typescript-estree": "5.60.1", + "debug": "^4.3.4" + } + }, + "@typescript-eslint/scope-manager": { + "version": "5.60.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.60.1.tgz", + "integrity": "sha512-Dn/LnN7fEoRD+KspEOV0xDMynEmR3iSHdgNsarlXNLGGtcUok8L4N71dxUgt3YvlO8si7E+BJ5Fe3wb5yUw7DQ==", + "dev": true, + "requires": { + "@typescript-eslint/types": "5.60.1", + "@typescript-eslint/visitor-keys": "5.60.1" + } + }, + "@typescript-eslint/type-utils": { + "version": "5.60.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-5.60.1.tgz", + "integrity": "sha512-vN6UztYqIu05nu7JqwQGzQKUJctzs3/Hg7E2Yx8rz9J+4LgtIDFWjjl1gm3pycH0P3mHAcEUBd23LVgfrsTR8A==", + "dev": true, + "requires": { + "@typescript-eslint/typescript-estree": "5.60.1", + "@typescript-eslint/utils": "5.60.1", + "debug": "^4.3.4", + "tsutils": "^3.21.0" + } + }, + "@typescript-eslint/types": { + "version": "5.60.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.60.1.tgz", + "integrity": "sha512-zDcDx5fccU8BA0IDZc71bAtYIcG9PowaOwaD8rjYbqwK7dpe/UMQl3inJ4UtUK42nOCT41jTSCwg76E62JpMcg==", + "dev": true + }, + "@typescript-eslint/typescript-estree": { + "version": "5.60.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.60.1.tgz", + "integrity": "sha512-hkX70J9+2M2ZT6fhti5Q2FoU9zb+GeZK2SLP1WZlvUDqdMbEKhexZODD1WodNRyO8eS+4nScvT0dts8IdaBzfw==", + "dev": true, + "requires": { + "@typescript-eslint/types": "5.60.1", + "@typescript-eslint/visitor-keys": "5.60.1", + "debug": "^4.3.4", + "globby": "^11.1.0", + "is-glob": "^4.0.3", + "semver": "^7.3.7", + "tsutils": "^3.21.0" + } + }, + "@typescript-eslint/utils": { + "version": "5.60.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-5.60.1.tgz", + "integrity": "sha512-tiJ7FFdFQOWssFa3gqb94Ilexyw0JVxj6vBzaSpfN/8IhoKkDuSAenUKvsSHw2A/TMpJb26izIszTXaqygkvpQ==", + "dev": true, + "requires": { + "@eslint-community/eslint-utils": "^4.2.0", + "@types/json-schema": "^7.0.9", + "@types/semver": "^7.3.12", + "@typescript-eslint/scope-manager": "5.60.1", + "@typescript-eslint/types": "5.60.1", + "@typescript-eslint/typescript-estree": "5.60.1", + "eslint-scope": "^5.1.1", + "semver": "^7.3.7" + } + }, + "@typescript-eslint/visitor-keys": { + "version": "5.60.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.60.1.tgz", + "integrity": "sha512-xEYIxKcultP6E/RMKqube11pGjXH1DCo60mQoWhVYyKfLkwbIVVjYxmOenNMxILx0TjCujPTjjnTIVzm09TXIw==", + "dev": true, + "requires": { + "@typescript-eslint/types": "5.60.1", + "eslint-visitor-keys": "^3.3.0" + } + }, + "@vitejs/plugin-vue": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/@vitejs/plugin-vue/-/plugin-vue-4.2.3.tgz", + "integrity": "sha512-R6JDUfiZbJA9cMiguQ7jxALsgiprjBeHL5ikpXfJCH62pPHtI+JdJ5xWj6Ev73yXSlYl86+blXn1kZHQ7uElxw==", + "dev": true, + "requires": {} + }, + "@volar/language-core": { + "version": "1.7.9", + "resolved": "https://registry.npmjs.org/@volar/language-core/-/language-core-1.7.9.tgz", + "integrity": "sha512-U6GMPDNqfGFqVRv4npUN2hEDW4/6EwL4YHd6qggapcvTzRrYAodTTbOTZs4PDzmw7NSZ2Cdrmd54SjzCCMXbZw==", + "dev": true, + "requires": { + "@volar/source-map": "1.7.9" + } + }, + "@volar/source-map": { + "version": "1.7.9", + "resolved": "https://registry.npmjs.org/@volar/source-map/-/source-map-1.7.9.tgz", + "integrity": "sha512-bLizh8HIAzbq7OdxfyoG18dXJJF9FNXBcaiRj7eqg2Bq+DkgkYHabaY+xobgaXeKFOp93Tg1KfMM7qyR2KXHmQ==", + "dev": true, + "requires": { + "muggle-string": "^0.3.1" + } + }, + "@volar/typescript": { + "version": "1.7.9", + "resolved": "https://registry.npmjs.org/@volar/typescript/-/typescript-1.7.9.tgz", + "integrity": "sha512-cXGg7lgvdjpRjYfz52cXKo6ExBi8k3pWeBe6Gckf4+9zmTfEwEFfKWMj0H/IyUYO+S2rjyE9jytdsu1Imk+Azw==", + "dev": true, + "requires": { + "@volar/language-core": "1.7.9" + } + }, + "@vue/compiler-core": { + "version": "3.3.4", + "resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.3.4.tgz", + "integrity": "sha512-cquyDNvZ6jTbf/+x+AgM2Arrp6G4Dzbb0R64jiG804HRMfRiFXWI6kqUVqZ6ZR0bQhIoQjB4+2bhNtVwndW15g==", + "requires": { + "@babel/parser": "^7.21.3", + "@vue/shared": "3.3.4", + "estree-walker": "^2.0.2", + "source-map-js": "^1.0.2" + } + }, + "@vue/compiler-dom": { + "version": "3.3.4", + "resolved": "https://registry.npmjs.org/@vue/compiler-dom/-/compiler-dom-3.3.4.tgz", + "integrity": "sha512-wyM+OjOVpuUukIq6p5+nwHYtj9cFroz9cwkfmP9O1nzH68BenTTv0u7/ndggT8cIQlnBeOo6sUT/gvHcIkLA5w==", + "requires": { + "@vue/compiler-core": "3.3.4", + "@vue/shared": "3.3.4" + } + }, + "@vue/compiler-sfc": { + "version": "3.3.4", + "resolved": "https://registry.npmjs.org/@vue/compiler-sfc/-/compiler-sfc-3.3.4.tgz", + "integrity": "sha512-6y/d8uw+5TkCuzBkgLS0v3lSM3hJDntFEiUORM11pQ/hKvkhSKZrXW6i69UyXlJQisJxuUEJKAWEqWbWsLeNKQ==", + "requires": { + "@babel/parser": "^7.20.15", + "@vue/compiler-core": "3.3.4", + "@vue/compiler-dom": "3.3.4", + "@vue/compiler-ssr": "3.3.4", + "@vue/reactivity-transform": "3.3.4", + "@vue/shared": "3.3.4", + "estree-walker": "^2.0.2", + "magic-string": "^0.30.0", + "postcss": "^8.1.10", + "source-map-js": "^1.0.2" + } + }, + "@vue/compiler-ssr": { + "version": "3.3.4", + "resolved": "https://registry.npmjs.org/@vue/compiler-ssr/-/compiler-ssr-3.3.4.tgz", + "integrity": "sha512-m0v6oKpup2nMSehwA6Uuu+j+wEwcy7QmwMkVNVfrV9P2qE5KshC6RwOCq8fjGS/Eak/uNb8AaWekfiXxbBB6gQ==", + "requires": { + "@vue/compiler-dom": "3.3.4", + "@vue/shared": "3.3.4" + } + }, + "@vue/devtools-api": { + "version": "6.5.0", + "resolved": "https://registry.npmjs.org/@vue/devtools-api/-/devtools-api-6.5.0.tgz", + "integrity": "sha512-o9KfBeaBmCKl10usN4crU53fYtC1r7jJwdGKjPT24t348rHxgfpZ0xL3Xm/gLUYnc0oTp8LAmrxOeLyu6tbk2Q==" + }, + "@vue/eslint-config-prettier": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/@vue/eslint-config-prettier/-/eslint-config-prettier-7.1.0.tgz", + "integrity": "sha512-Pv/lVr0bAzSIHLd9iz0KnvAr4GKyCEl+h52bc4e5yWuDVtLgFwycF7nrbWTAQAS+FU6q1geVd07lc6EWfJiWKQ==", + "dev": true, + "requires": { + "eslint-config-prettier": "^8.3.0", + "eslint-plugin-prettier": "^4.0.0" + } + }, + "@vue/eslint-config-typescript": { + "version": "11.0.3", + "resolved": "https://registry.npmjs.org/@vue/eslint-config-typescript/-/eslint-config-typescript-11.0.3.tgz", + "integrity": "sha512-dkt6W0PX6H/4Xuxg/BlFj5xHvksjpSlVjtkQCpaYJBIEuKj2hOVU7r+TIe+ysCwRYFz/lGqvklntRkCAibsbPw==", + "dev": true, + "requires": { + "@typescript-eslint/eslint-plugin": "^5.59.1", + "@typescript-eslint/parser": "^5.59.1", + "vue-eslint-parser": "^9.1.1" + } + }, + "@vue/language-core": { + "version": "1.8.2", + "resolved": "https://registry.npmjs.org/@vue/language-core/-/language-core-1.8.2.tgz", + "integrity": "sha512-QJujhmp89TRoWwzjn2sPMezG97+mNyaCTfznGHWNCE3LBsillZCBqAO7M7cxO8ee1V3r+qHjWytkoh3M4YkRJw==", + "dev": true, + "requires": { + "@volar/language-core": "1.7.9", + "@volar/source-map": "1.7.9", + "@vue/compiler-dom": "^3.3.0", + "@vue/reactivity": "^3.3.0", + "@vue/shared": "^3.3.0", + "minimatch": "^9.0.0", + "muggle-string": "^0.3.1", + "vue-template-compiler": "^2.7.14" + }, + "dependencies": { + "brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "dev": true, + "requires": { + "balanced-match": "^1.0.0" + } + }, + "minimatch": { + "version": "9.0.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.2.tgz", + "integrity": "sha512-PZOT9g5v2ojiTL7r1xF6plNHLtOeTpSlDI007As2NlA2aYBMfVom17yqa6QzhmDP8QOhn7LjHTg7DFCVSSa6yg==", + "dev": true, + "requires": { + "brace-expansion": "^2.0.1" + } + } + } + }, + "@vue/reactivity": { + "version": "3.3.4", + "resolved": "https://registry.npmjs.org/@vue/reactivity/-/reactivity-3.3.4.tgz", + "integrity": "sha512-kLTDLwd0B1jG08NBF3R5rqULtv/f8x3rOFByTDz4J53ttIQEDmALqKqXY0J+XQeN0aV2FBxY8nJDf88yvOPAqQ==", + "requires": { + "@vue/shared": "3.3.4" + } + }, + "@vue/reactivity-transform": { + "version": "3.3.4", + "resolved": "https://registry.npmjs.org/@vue/reactivity-transform/-/reactivity-transform-3.3.4.tgz", + "integrity": "sha512-MXgwjako4nu5WFLAjpBnCj/ieqcjE2aJBINUNQzkZQfzIZA4xn+0fV1tIYBJvvva3N3OvKGofRLvQIwEQPpaXw==", + "requires": { + "@babel/parser": "^7.20.15", + "@vue/compiler-core": "3.3.4", + "@vue/shared": "3.3.4", + "estree-walker": "^2.0.2", + "magic-string": "^0.30.0" + } + }, + "@vue/runtime-core": { + "version": "3.3.4", + "resolved": "https://registry.npmjs.org/@vue/runtime-core/-/runtime-core-3.3.4.tgz", + "integrity": "sha512-R+bqxMN6pWO7zGI4OMlmvePOdP2c93GsHFM/siJI7O2nxFRzj55pLwkpCedEY+bTMgp5miZ8CxfIZo3S+gFqvA==", + "requires": { + "@vue/reactivity": "3.3.4", + "@vue/shared": "3.3.4" + } + }, + "@vue/runtime-dom": { + "version": "3.3.4", + "resolved": "https://registry.npmjs.org/@vue/runtime-dom/-/runtime-dom-3.3.4.tgz", + "integrity": "sha512-Aj5bTJ3u5sFsUckRghsNjVTtxZQ1OyMWCr5dZRAPijF/0Vy4xEoRCwLyHXcj4D0UFbJ4lbx3gPTgg06K/GnPnQ==", + "requires": { + "@vue/runtime-core": "3.3.4", + "@vue/shared": "3.3.4", + "csstype": "^3.1.1" + } + }, + "@vue/server-renderer": { + "version": "3.3.4", + "resolved": "https://registry.npmjs.org/@vue/server-renderer/-/server-renderer-3.3.4.tgz", + "integrity": "sha512-Q6jDDzR23ViIb67v+vM1Dqntu+HUexQcsWKhhQa4ARVzxOY2HbC7QRW/ggkDBd5BU+uM1sV6XOAP0b216o34JQ==", + "requires": { + "@vue/compiler-ssr": "3.3.4", + "@vue/shared": "3.3.4" + } + }, + "@vue/shared": { + "version": "3.3.4", + "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.3.4.tgz", + "integrity": "sha512-7OjdcV8vQ74eiz1TZLzZP4JwqM5fA94K6yntPS5Z25r9HDuGNzaGdgvwKYq6S+MxwF0TFRwe50fIR/MYnakdkQ==" + }, + "@vue/tsconfig": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/@vue/tsconfig/-/tsconfig-0.4.0.tgz", + "integrity": "sha512-CPuIReonid9+zOG/CGTT05FXrPYATEqoDGNrEaqS4hwcw5BUNM2FguC0mOwJD4Jr16UpRVl9N0pY3P+srIbqmg==", + "dev": true + }, + "@vue/typescript": { + "version": "1.8.2", + "resolved": "https://registry.npmjs.org/@vue/typescript/-/typescript-1.8.2.tgz", + "integrity": "sha512-5q2gpCBIfGlygfJupyjAQbc82r5J6qQuhupPeX3NlHvDK+mR6m5n4jVGknSacsp+7gtgs4RKYDq+tysoto+npA==", + "dev": true, + "requires": { + "@volar/typescript": "1.7.9", + "@vue/language-core": "1.8.2" + } + }, + "acorn": { + "version": "8.9.0", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.9.0.tgz", + "integrity": "sha512-jaVNAFBHNLXspO543WnNNPZFRtavh3skAkITqD0/2aeMkKZTN+254PyhwxFYrk3vQ1xfY+2wbesJMs/JC8/PwQ==", + "dev": true + }, + "acorn-jsx": { + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz", + "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==", + "dev": true, + "requires": {} + }, + "ajv": { + "version": "6.12.6", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", + "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", + "dev": true, + "requires": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + } + }, + "ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "dev": true + }, + "ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "requires": { + "color-convert": "^2.0.1" + } + }, + "any-promise": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/any-promise/-/any-promise-1.3.0.tgz", + "integrity": "sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A==", + "dev": true + }, + "anymatch": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz", + "integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==", + "dev": true, + "requires": { + "normalize-path": "^3.0.0", + "picomatch": "^2.0.4" + } + }, + "arg": { + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/arg/-/arg-5.0.2.tgz", + "integrity": "sha512-PYjyFOLKQ9y57JvQ6QLo8dAgNqswh8M1RMJYdQduT6xbWSgK36P/Z/v+p888pM69jMMfS8Xd8F6I1kQ/I9HUGg==", + "dev": true + }, + "argparse": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", + "dev": true + }, + "array-buffer-byte-length": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/array-buffer-byte-length/-/array-buffer-byte-length-1.0.0.tgz", + "integrity": "sha512-LPuwb2P+NrQw3XhxGc36+XSvuBPopovXYTR9Ew++Du9Yb/bx5AzBfrIsBoj0EZUifjQU+sHL21sseZ3jerWO/A==", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "is-array-buffer": "^3.0.1" + } + }, + "array-union": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz", + "integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==", + "dev": true + }, + "autoprefixer": { + "version": "10.4.14", + "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-10.4.14.tgz", + "integrity": "sha512-FQzyfOsTlwVzjHxKEqRIAdJx9niO6VCBCoEwax/VLSoQF29ggECcPuBqUMZ+u8jCZOPSy8b8/8KnuFbp0SaFZQ==", + "dev": true, + "requires": { + "browserslist": "^4.21.5", + "caniuse-lite": "^1.0.30001464", + "fraction.js": "^4.2.0", + "normalize-range": "^0.1.2", + "picocolors": "^1.0.0", + "postcss-value-parser": "^4.2.0" + } + }, + "available-typed-arrays": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.5.tgz", + "integrity": "sha512-DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw==", + "dev": true + }, + "balanced-match": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", + "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", + "dev": true + }, + "binary-extensions": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz", + "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==", + "dev": true + }, + "boolbase": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/boolbase/-/boolbase-1.0.0.tgz", + "integrity": "sha512-JZOSA7Mo9sNGB8+UjSgzdLtokWAky1zbztM3WRLCbZ70/3cTANmQmOdR7y2g+J0e2WXywy1yS468tY+IruqEww==", + "dev": true + }, + "brace-expansion": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "dev": true, + "requires": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "braces": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", + "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", + "dev": true, + "requires": { + "fill-range": "^7.0.1" + } + }, + "browserslist": { + "version": "4.21.9", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.21.9.tgz", + "integrity": "sha512-M0MFoZzbUrRU4KNfCrDLnvyE7gub+peetoTid3TBIqtunaDJyXlwhakT+/VkvSXcfIzFfK/nkCs4nmyTmxdNSg==", + "dev": true, + "requires": { + "caniuse-lite": "^1.0.30001503", + "electron-to-chromium": "^1.4.431", + "node-releases": "^2.0.12", + "update-browserslist-db": "^1.0.11" + } + }, + "call-bind": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz", + "integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==", + "dev": true, + "requires": { + "function-bind": "^1.1.1", + "get-intrinsic": "^1.0.2" + } + }, + "callsites": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", + "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", + "dev": true + }, + "camelcase-css": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/camelcase-css/-/camelcase-css-2.0.1.tgz", + "integrity": "sha512-QOSvevhslijgYwRx6Rv7zKdMF8lbRmx+uQGx2+vDc+KI/eBnsy9kit5aj23AgGu3pa4t9AgwbnXWqS+iOY+2aA==", + "dev": true + }, + "caniuse-lite": { + "version": "1.0.30001509", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001509.tgz", + "integrity": "sha512-2uDDk+TRiTX5hMcUYT/7CSyzMZxjfGu0vAUjS2g0LSD8UoXOv0LtpH4LxGMemsiPq6LCVIUjNwVM0erkOkGCDA==", + "dev": true + }, + "chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "requires": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + } + }, + "chokidar": { + "version": "3.5.3", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz", + "integrity": "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==", + "dev": true, + "requires": { + "anymatch": "~3.1.2", + "braces": "~3.0.2", + "fsevents": "~2.3.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" + }, + "dependencies": { + "glob-parent": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", + "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "dev": true, + "requires": { + "is-glob": "^4.0.1" + } + } + } + }, + "codemirror": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/codemirror/-/codemirror-6.0.1.tgz", + "integrity": "sha512-J8j+nZ+CdWmIeFIGXEFbFPtpiYacFMDR8GlHK3IyHQJMCaVRfGx9NT+Hxivv1ckLWPvNdZqndbr/7lVhrf/Svg==", + "requires": { + "@codemirror/autocomplete": "^6.0.0", + "@codemirror/commands": "^6.0.0", + "@codemirror/language": "^6.0.0", + "@codemirror/lint": "^6.0.0", + "@codemirror/search": "^6.0.0", + "@codemirror/state": "^6.0.0", + "@codemirror/view": "^6.0.0" + } + }, + "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==", + "dev": true, + "requires": { + "color-name": "~1.1.4" + } + }, + "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==", + "dev": true + }, + "commander": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/commander/-/commander-4.1.1.tgz", + "integrity": "sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==", + "dev": true + }, + "concat-map": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", + "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==", + "dev": true + }, + "crelt": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/crelt/-/crelt-1.0.6.tgz", + "integrity": "sha512-VQ2MBenTq1fWZUH9DJNGti7kKv6EeAuYr3cLwxUWhIu1baTaXh4Ib5W2CqHVqib4/MqbYGJqiL3Zb8GJZr3l4g==" + }, + "cross-spawn": { + "version": "7.0.3", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", + "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", + "dev": true, + "requires": { + "path-key": "^3.1.0", + "shebang-command": "^2.0.0", + "which": "^2.0.1" + } + }, + "cssesc": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/cssesc/-/cssesc-3.0.0.tgz", + "integrity": "sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==", + "dev": true + }, + "csstype": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.1.2.tgz", + "integrity": "sha512-I7K1Uu0MBPzaFKg4nI5Q7Vs2t+3gWWW648spaF+Rg7pI9ds18Ugn+lvg4SHczUdKlHI5LWBXyqfS8+DufyBsgQ==" + }, + "de-indent": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/de-indent/-/de-indent-1.0.2.tgz", + "integrity": "sha512-e/1zu3xH5MQryN2zdVaF0OrdNLUbvWxzMbi+iNA6Bky7l1RoP8a2fIbRocyHclXt/arDrrR6lL3TqFD9pMQTsg==", + "dev": true + }, + "debug": { + "version": "4.3.4", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", + "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", + "dev": true, + "requires": { + "ms": "2.1.2" + } + }, + "deep-is": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz", + "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==", + "dev": true + }, + "define-properties": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.2.0.tgz", + "integrity": "sha512-xvqAVKGfT1+UAvPwKTVw/njhdQ8ZhXK4lI0bCIuCMrp2up9nPnaDftrLtmpTazqd1o+UY4zgzU+avtMbDP+ldA==", + "dev": true, + "requires": { + "has-property-descriptors": "^1.0.0", + "object-keys": "^1.1.1" + } + }, + "didyoumean": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/didyoumean/-/didyoumean-1.2.2.tgz", + "integrity": "sha512-gxtyfqMg7GKyhQmb056K7M3xszy/myH8w+B4RT+QXBQsvAOdc3XymqDDPHx1BgPgsdAA5SIifona89YtRATDzw==", + "dev": true + }, + "dir-glob": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz", + "integrity": "sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==", + "dev": true, + "requires": { + "path-type": "^4.0.0" + } + }, + "dlv": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/dlv/-/dlv-1.1.3.tgz", + "integrity": "sha512-+HlytyjlPKnIG8XuRG8WvmBP8xs8P71y+SKKS6ZXWoEgLuePxtDoUEiH7WkdePWrQ5JBpE6aoVqfZfJUQkjXwA==", + "dev": true + }, + "doctrine": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz", + "integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==", + "dev": true, + "requires": { + "esutils": "^2.0.2" + } + }, + "electron-to-chromium": { + "version": "1.4.442", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.442.tgz", + "integrity": "sha512-RkrZF//Ya+0aJq2NM3OdisNh5ZodZq1rdXOS96G8DdDgpDKqKE81yTbbQ3F/4CKm1JBPsGu1Lp/akkna2xO06Q==", + "dev": true + }, + "error-ex": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", + "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==", + "dev": true, + "requires": { + "is-arrayish": "^0.2.1" + } + }, + "es-abstract": { + "version": "1.21.2", + "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.21.2.tgz", + "integrity": "sha512-y/B5POM2iBnIxCiernH1G7rC9qQoM77lLIMQLuob0zhp8C56Po81+2Nj0WFKnd0pNReDTnkYryc+zhOzpEIROg==", + "dev": true, + "requires": { + "array-buffer-byte-length": "^1.0.0", + "available-typed-arrays": "^1.0.5", + "call-bind": "^1.0.2", + "es-set-tostringtag": "^2.0.1", + "es-to-primitive": "^1.2.1", + "function.prototype.name": "^1.1.5", + "get-intrinsic": "^1.2.0", + "get-symbol-description": "^1.0.0", + "globalthis": "^1.0.3", + "gopd": "^1.0.1", + "has": "^1.0.3", + "has-property-descriptors": "^1.0.0", + "has-proto": "^1.0.1", + "has-symbols": "^1.0.3", + "internal-slot": "^1.0.5", + "is-array-buffer": "^3.0.2", + "is-callable": "^1.2.7", + "is-negative-zero": "^2.0.2", + "is-regex": "^1.1.4", + "is-shared-array-buffer": "^1.0.2", + "is-string": "^1.0.7", + "is-typed-array": "^1.1.10", + "is-weakref": "^1.0.2", + "object-inspect": "^1.12.3", + "object-keys": "^1.1.1", + "object.assign": "^4.1.4", + "regexp.prototype.flags": "^1.4.3", + "safe-regex-test": "^1.0.0", + "string.prototype.trim": "^1.2.7", + "string.prototype.trimend": "^1.0.6", + "string.prototype.trimstart": "^1.0.6", + "typed-array-length": "^1.0.4", + "unbox-primitive": "^1.0.2", + "which-typed-array": "^1.1.9" + } + }, + "es-set-tostringtag": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/es-set-tostringtag/-/es-set-tostringtag-2.0.1.tgz", + "integrity": "sha512-g3OMbtlwY3QewlqAiMLI47KywjWZoEytKr8pf6iTC8uJq5bIAH52Z9pnQ8pVL6whrCto53JZDuUIsifGeLorTg==", + "dev": true, + "requires": { + "get-intrinsic": "^1.1.3", + "has": "^1.0.3", + "has-tostringtag": "^1.0.0" + } + }, + "es-to-primitive": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz", + "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==", + "dev": true, + "requires": { + "is-callable": "^1.1.4", + "is-date-object": "^1.0.1", + "is-symbol": "^1.0.2" + } + }, + "esbuild": { + "version": "0.17.19", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.17.19.tgz", + "integrity": "sha512-XQ0jAPFkK/u3LcVRcvVHQcTIqD6E2H1fvZMA5dQPSOWb3suUbWbfbRf94pjc0bNzRYLfIrDRQXr7X+LHIm5oHw==", + "dev": true, + "requires": { + "@esbuild/android-arm": "0.17.19", + "@esbuild/android-arm64": "0.17.19", + "@esbuild/android-x64": "0.17.19", + "@esbuild/darwin-arm64": "0.17.19", + "@esbuild/darwin-x64": "0.17.19", + "@esbuild/freebsd-arm64": "0.17.19", + "@esbuild/freebsd-x64": "0.17.19", + "@esbuild/linux-arm": "0.17.19", + "@esbuild/linux-arm64": "0.17.19", + "@esbuild/linux-ia32": "0.17.19", + "@esbuild/linux-loong64": "0.17.19", + "@esbuild/linux-mips64el": "0.17.19", + "@esbuild/linux-ppc64": "0.17.19", + "@esbuild/linux-riscv64": "0.17.19", + "@esbuild/linux-s390x": "0.17.19", + "@esbuild/linux-x64": "0.17.19", + "@esbuild/netbsd-x64": "0.17.19", + "@esbuild/openbsd-x64": "0.17.19", + "@esbuild/sunos-x64": "0.17.19", + "@esbuild/win32-arm64": "0.17.19", + "@esbuild/win32-ia32": "0.17.19", + "@esbuild/win32-x64": "0.17.19" + } + }, + "escalade": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", + "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==", + "dev": true + }, + "escape-string-regexp": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", + "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", + "dev": true + }, + "eslint": { + "version": "8.43.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.43.0.tgz", + "integrity": "sha512-aaCpf2JqqKesMFGgmRPessmVKjcGXqdlAYLLC3THM8t5nBRZRQ+st5WM/hoJXkdioEXLLbXgclUpM0TXo5HX5Q==", + "dev": true, + "requires": { + "@eslint-community/eslint-utils": "^4.2.0", + "@eslint-community/regexpp": "^4.4.0", + "@eslint/eslintrc": "^2.0.3", + "@eslint/js": "8.43.0", + "@humanwhocodes/config-array": "^0.11.10", + "@humanwhocodes/module-importer": "^1.0.1", + "@nodelib/fs.walk": "^1.2.8", + "ajv": "^6.10.0", + "chalk": "^4.0.0", + "cross-spawn": "^7.0.2", + "debug": "^4.3.2", + "doctrine": "^3.0.0", + "escape-string-regexp": "^4.0.0", + "eslint-scope": "^7.2.0", + "eslint-visitor-keys": "^3.4.1", + "espree": "^9.5.2", + "esquery": "^1.4.2", + "esutils": "^2.0.2", + "fast-deep-equal": "^3.1.3", + "file-entry-cache": "^6.0.1", + "find-up": "^5.0.0", + "glob-parent": "^6.0.2", + "globals": "^13.19.0", + "graphemer": "^1.4.0", + "ignore": "^5.2.0", + "import-fresh": "^3.0.0", + "imurmurhash": "^0.1.4", + "is-glob": "^4.0.0", + "is-path-inside": "^3.0.3", + "js-yaml": "^4.1.0", + "json-stable-stringify-without-jsonify": "^1.0.1", + "levn": "^0.4.1", + "lodash.merge": "^4.6.2", + "minimatch": "^3.1.2", + "natural-compare": "^1.4.0", + "optionator": "^0.9.1", + "strip-ansi": "^6.0.1", + "strip-json-comments": "^3.1.0", + "text-table": "^0.2.0" + }, + "dependencies": { + "eslint-scope": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.2.0.tgz", + "integrity": "sha512-DYj5deGlHBfMt15J7rdtyKNq/Nqlv5KfU4iodrQ019XESsRnwXH9KAE0y3cwtUHDo2ob7CypAnCqefh6vioWRw==", + "dev": true, + "requires": { + "esrecurse": "^4.3.0", + "estraverse": "^5.2.0" + } + }, + "estraverse": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", + "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", + "dev": true + } + } + }, + "eslint-config-prettier": { + "version": "8.8.0", + "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-8.8.0.tgz", + "integrity": "sha512-wLbQiFre3tdGgpDv67NQKnJuTlcUVYHas3k+DZCc2U2BadthoEY4B7hLPvAxaqdyOGCzuLfii2fqGph10va7oA==", + "dev": true, + "requires": {} + }, + "eslint-plugin-prettier": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/eslint-plugin-prettier/-/eslint-plugin-prettier-4.2.1.tgz", + "integrity": "sha512-f/0rXLXUt0oFYs8ra4w49wYZBG5GKZpAYsJSm6rnYL5uVDjd+zowwMwVZHnAjf4edNrKpCDYfXDgmRE/Ak7QyQ==", + "dev": true, + "requires": { + "prettier-linter-helpers": "^1.0.0" + } + }, + "eslint-plugin-vue": { + "version": "9.15.1", + "resolved": "https://registry.npmjs.org/eslint-plugin-vue/-/eslint-plugin-vue-9.15.1.tgz", + "integrity": "sha512-CJE/oZOslvmAR9hf8SClTdQ9JLweghT6JCBQNrT2Iel1uVw0W0OLJxzvPd6CxmABKCvLrtyDnqGV37O7KQv6+A==", + "dev": true, + "requires": { + "@eslint-community/eslint-utils": "^4.3.0", + "natural-compare": "^1.4.0", + "nth-check": "^2.0.1", + "postcss-selector-parser": "^6.0.9", + "semver": "^7.3.5", + "vue-eslint-parser": "^9.3.0", + "xml-name-validator": "^4.0.0" + } + }, + "eslint-scope": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.1.tgz", + "integrity": "sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==", + "dev": true, + "requires": { + "esrecurse": "^4.3.0", + "estraverse": "^4.1.1" + } + }, + "eslint-visitor-keys": { + "version": "3.4.1", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.1.tgz", + "integrity": "sha512-pZnmmLwYzf+kWaM/Qgrvpen51upAktaaiI01nsJD/Yr3lMOdNtq0cxkrrg16w64VtisN6okbs7Q8AfGqj4c9fA==", + "dev": true + }, + "espree": { + "version": "9.5.2", + "resolved": "https://registry.npmjs.org/espree/-/espree-9.5.2.tgz", + "integrity": "sha512-7OASN1Wma5fum5SrNhFMAMJxOUAbhyfQ8dQ//PJaJbNw0URTPWqIghHWt1MmAANKhHZIYOHruW4Kw4ruUWOdGw==", + "dev": true, + "requires": { + "acorn": "^8.8.0", + "acorn-jsx": "^5.3.2", + "eslint-visitor-keys": "^3.4.1" + } + }, + "esquery": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.5.0.tgz", + "integrity": "sha512-YQLXUplAwJgCydQ78IMJywZCceoqk1oH01OERdSAJc/7U2AylwjhSCLDEtqwg811idIS/9fIU5GjG73IgjKMVg==", + "dev": true, + "requires": { + "estraverse": "^5.1.0" + }, + "dependencies": { + "estraverse": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", + "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", + "dev": true + } + } + }, + "esrecurse": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz", + "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==", + "dev": true, + "requires": { + "estraverse": "^5.2.0" + }, + "dependencies": { + "estraverse": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", + "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", + "dev": true + } + } + }, + "estraverse": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz", + "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==", + "dev": true + }, + "estree-walker": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-2.0.2.tgz", + "integrity": "sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==" + }, + "esutils": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", + "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", + "dev": true + }, + "fast-deep-equal": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", + "dev": true + }, + "fast-diff": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/fast-diff/-/fast-diff-1.3.0.tgz", + "integrity": "sha512-VxPP4NqbUjj6MaAOafWeUn2cXWLcCtljklUtZf0Ind4XQ+QPtmA0b18zZy0jIQx+ExRVCR/ZQpBmik5lXshNsw==", + "dev": true + }, + "fast-glob": { + "version": "3.2.12", + "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.12.tgz", + "integrity": "sha512-DVj4CQIYYow0BlaelwK1pHl5n5cRSJfM60UA0zK891sVInoPri2Ekj7+e1CT3/3qxXenpI+nBBmQAcJPJgaj4w==", + "dev": true, + "requires": { + "@nodelib/fs.stat": "^2.0.2", + "@nodelib/fs.walk": "^1.2.3", + "glob-parent": "^5.1.2", + "merge2": "^1.3.0", + "micromatch": "^4.0.4" + }, + "dependencies": { + "glob-parent": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", + "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "dev": true, + "requires": { + "is-glob": "^4.0.1" + } + } + } + }, + "fast-json-stable-stringify": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", + "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", + "dev": true + }, + "fast-levenshtein": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", + "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==", + "dev": true + }, + "fastq": { + "version": "1.15.0", + "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.15.0.tgz", + "integrity": "sha512-wBrocU2LCXXa+lWBt8RoIRD89Fi8OdABODa/kEnyeyjS5aZO5/GNvI5sEINADqP/h8M29UHTHUb53sUu5Ihqdw==", + "dev": true, + "requires": { + "reusify": "^1.0.4" + } + }, + "file-entry-cache": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-6.0.1.tgz", + "integrity": "sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==", + "dev": true, + "requires": { + "flat-cache": "^3.0.4" + } + }, + "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==", + "dev": true, + "requires": { + "to-regex-range": "^5.0.1" + } + }, + "find-up": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", + "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", + "dev": true, + "requires": { + "locate-path": "^6.0.0", + "path-exists": "^4.0.0" + } + }, + "flat-cache": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.0.4.tgz", + "integrity": "sha512-dm9s5Pw7Jc0GvMYbshN6zchCA9RgQlzzEZX3vylR9IqFfS8XciblUXOKfW6SiuJ0e13eDYZoZV5wdrev7P3Nwg==", + "dev": true, + "requires": { + "flatted": "^3.1.0", + "rimraf": "^3.0.2" + } + }, + "flatted": { + "version": "3.2.7", + "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.2.7.tgz", + "integrity": "sha512-5nqDSxl8nn5BSNxyR3n4I6eDmbolI6WT+QqR547RwxQapgjQBmtktdP+HTBb/a/zLsbzERTONyUB5pefh5TtjQ==", + "dev": true + }, + "for-each": { + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/for-each/-/for-each-0.3.3.tgz", + "integrity": "sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==", + "dev": true, + "requires": { + "is-callable": "^1.1.3" + } + }, + "fraction.js": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/fraction.js/-/fraction.js-4.2.0.tgz", + "integrity": "sha512-MhLuK+2gUcnZe8ZHlaaINnQLl0xRIGRfcGk2yl8xoQAfHrSsL3rYu6FCmBdkdbhc9EPlwyGHewaRsvwRMJtAlA==", + "dev": true + }, + "fs.realpath": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", + "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==", + "dev": true + }, + "fsevents": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", + "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", + "dev": true, + "optional": true + }, + "function-bind": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", + "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==", + "dev": true + }, + "function.prototype.name": { + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/function.prototype.name/-/function.prototype.name-1.1.5.tgz", + "integrity": "sha512-uN7m/BzVKQnCUF/iW8jYea67v++2u7m5UgENbHRtdDVclOUP+FMPlCNdmk0h/ysGyo2tavMJEDqJAkJdRa1vMA==", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.3", + "es-abstract": "^1.19.0", + "functions-have-names": "^1.2.2" + } + }, + "functions-have-names": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/functions-have-names/-/functions-have-names-1.2.3.tgz", + "integrity": "sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==", + "dev": true + }, + "get-intrinsic": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.1.tgz", + "integrity": "sha512-2DcsyfABl+gVHEfCOaTrWgyt+tb6MSEGmKq+kI5HwLbIYgjgmMcV8KQ41uaKz1xxUcn9tJtgFbQUEVcEbd0FYw==", + "dev": true, + "requires": { + "function-bind": "^1.1.1", + "has": "^1.0.3", + "has-proto": "^1.0.1", + "has-symbols": "^1.0.3" + } + }, + "get-symbol-description": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/get-symbol-description/-/get-symbol-description-1.0.0.tgz", + "integrity": "sha512-2EmdH1YvIQiZpltCNgkuiUnyukzxM/R6NDJX31Ke3BG1Nq5b0S2PhX59UKi9vZpPDQVdqn+1IcaAwnzTT5vCjw==", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "get-intrinsic": "^1.1.1" + } + }, + "glob": { + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", + "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "dev": true, + "requires": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.1.1", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + } + }, + "glob-parent": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", + "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", + "dev": true, + "requires": { + "is-glob": "^4.0.3" + } + }, + "globals": { + "version": "13.20.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-13.20.0.tgz", + "integrity": "sha512-Qg5QtVkCy/kv3FUSlu4ukeZDVf9ee0iXLAUYX13gbR17bnejFTzr4iS9bY7kwCf1NztRNm1t91fjOiyx4CSwPQ==", + "dev": true, + "requires": { + "type-fest": "^0.20.2" + } + }, + "globalthis": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/globalthis/-/globalthis-1.0.3.tgz", + "integrity": "sha512-sFdI5LyBiNTHjRd7cGPWapiHWMOXKyuBNX/cWJ3NfzrZQVa8GI/8cofCl74AOVqq9W5kNmguTIzJ/1s2gyI9wA==", + "dev": true, + "requires": { + "define-properties": "^1.1.3" + } + }, + "globby": { + "version": "11.1.0", + "resolved": "https://registry.npmjs.org/globby/-/globby-11.1.0.tgz", + "integrity": "sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==", + "dev": true, + "requires": { + "array-union": "^2.1.0", + "dir-glob": "^3.0.1", + "fast-glob": "^3.2.9", + "ignore": "^5.2.0", + "merge2": "^1.4.1", + "slash": "^3.0.0" + } + }, + "gopd": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.0.1.tgz", + "integrity": "sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==", + "dev": true, + "requires": { + "get-intrinsic": "^1.1.3" + } + }, + "graceful-fs": { + "version": "4.2.11", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz", + "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==", + "dev": true + }, + "grapheme-splitter": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/grapheme-splitter/-/grapheme-splitter-1.0.4.tgz", + "integrity": "sha512-bzh50DW9kTPM00T8y4o8vQg89Di9oLJVLW/KaOGIXJWP/iqCN6WKYkbNOF04vFLJhwcpYUh9ydh/+5vpOqV4YQ==", + "dev": true + }, + "graphemer": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/graphemer/-/graphemer-1.4.0.tgz", + "integrity": "sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==", + "dev": true + }, + "has": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", + "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", + "dev": true, + "requires": { + "function-bind": "^1.1.1" + } + }, + "has-bigints": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/has-bigints/-/has-bigints-1.0.2.tgz", + "integrity": "sha512-tSvCKtBr9lkF0Ex0aQiP9N+OpV4zi2r/Nee5VkRDbaqv35RLYMzbwQfFSZZH0kR+Rd6302UJZ2p/bJCEoR3VoQ==", + "dev": true + }, + "has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true + }, + "has-property-descriptors": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.0.tgz", + "integrity": "sha512-62DVLZGoiEBDHQyqG4w9xCuZ7eJEwNmJRWw2VY84Oedb7WFcA27fiEVe8oUQx9hAUJ4ekurquucTGwsyO1XGdQ==", + "dev": true, + "requires": { + "get-intrinsic": "^1.1.1" + } + }, + "has-proto": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.1.tgz", + "integrity": "sha512-7qE+iP+O+bgF9clE5+UoBFzE65mlBiVj3tKCrlNQ0Ogwm0BjpT/gK4SlLYDMybDh5I3TCTKnPPa0oMG7JDYrhg==", + "dev": true + }, + "has-symbols": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz", + "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==", + "dev": true + }, + "has-tostringtag": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.0.tgz", + "integrity": "sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ==", + "dev": true, + "requires": { + "has-symbols": "^1.0.2" + } + }, + "he": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/he/-/he-1.2.0.tgz", + "integrity": "sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==", + "dev": true + }, + "hosted-git-info": { + "version": "2.8.9", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz", + "integrity": "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==", + "dev": true + }, + "ignore": { + "version": "5.2.4", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.4.tgz", + "integrity": "sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ==", + "dev": true + }, + "import-fresh": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz", + "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==", + "dev": true, + "requires": { + "parent-module": "^1.0.0", + "resolve-from": "^4.0.0" + } + }, + "imurmurhash": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", + "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==", + "dev": true + }, + "inflight": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", + "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", + "dev": true, + "requires": { + "once": "^1.3.0", + "wrappy": "1" + } + }, + "inherits": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", + "dev": true + }, + "internal-slot": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.5.tgz", + "integrity": "sha512-Y+R5hJrzs52QCG2laLn4udYVnxsfny9CpOhNhUvk/SSSVyF6T27FzRbF0sroPidSu3X8oEAkOn2K804mjpt6UQ==", + "dev": true, + "requires": { + "get-intrinsic": "^1.2.0", + "has": "^1.0.3", + "side-channel": "^1.0.4" + } + }, + "is-array-buffer": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/is-array-buffer/-/is-array-buffer-3.0.2.tgz", + "integrity": "sha512-y+FyyR/w8vfIRq4eQcM1EYgSTnmHXPqaF+IgzgraytCFq5Xh8lllDVmAZolPJiZttZLeFSINPYMaEJ7/vWUa1w==", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "get-intrinsic": "^1.2.0", + "is-typed-array": "^1.1.10" + } + }, + "is-arrayish": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", + "integrity": "sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==", + "dev": true + }, + "is-bigint": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.0.4.tgz", + "integrity": "sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg==", + "dev": true, + "requires": { + "has-bigints": "^1.0.1" + } + }, + "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==", + "dev": true, + "requires": { + "binary-extensions": "^2.0.0" + } + }, + "is-boolean-object": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.1.2.tgz", + "integrity": "sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA==", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "has-tostringtag": "^1.0.0" + } + }, + "is-callable": { + "version": "1.2.7", + "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.7.tgz", + "integrity": "sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==", + "dev": true + }, + "is-core-module": { + "version": "2.12.1", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.12.1.tgz", + "integrity": "sha512-Q4ZuBAe2FUsKtyQJoQHlvP8OvBERxO3jEmy1I7hcRXcJBGGHFh/aJBswbXuS9sgrDH2QUO8ilkwNPHvHMd8clg==", + "dev": true, + "requires": { + "has": "^1.0.3" + } + }, + "is-date-object": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.5.tgz", + "integrity": "sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ==", + "dev": true, + "requires": { + "has-tostringtag": "^1.0.0" + } + }, + "is-extglob": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", + "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", + "dev": true + }, + "is-glob": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", + "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", + "dev": true, + "requires": { + "is-extglob": "^2.1.1" + } + }, + "is-negative-zero": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.2.tgz", + "integrity": "sha512-dqJvarLawXsFbNDeJW7zAz8ItJ9cd28YufuuFzh0G8pNHjJMnY08Dv7sYX2uF5UpQOwieAeOExEYAWWfu7ZZUA==", + "dev": true + }, + "is-number": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", + "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", + "dev": true + }, + "is-number-object": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/is-number-object/-/is-number-object-1.0.7.tgz", + "integrity": "sha512-k1U0IRzLMo7ZlYIfzRu23Oh6MiIFasgpb9X76eqfFZAqwH44UI4KTBvBYIZ1dSL9ZzChTB9ShHfLkR4pdW5krQ==", + "dev": true, + "requires": { + "has-tostringtag": "^1.0.0" + } + }, + "is-path-inside": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-3.0.3.tgz", + "integrity": "sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==", + "dev": true + }, + "is-regex": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.4.tgz", + "integrity": "sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "has-tostringtag": "^1.0.0" + } + }, + "is-shared-array-buffer": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-shared-array-buffer/-/is-shared-array-buffer-1.0.2.tgz", + "integrity": "sha512-sqN2UDu1/0y6uvXyStCOzyhAjCSlHceFoMKJW8W9EU9cvic/QdsZ0kEU93HEy3IUEFZIiH/3w+AH/UQbPHNdhA==", + "dev": true, + "requires": { + "call-bind": "^1.0.2" + } + }, + "is-string": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.0.7.tgz", + "integrity": "sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg==", + "dev": true, + "requires": { + "has-tostringtag": "^1.0.0" + } + }, + "is-symbol": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.4.tgz", + "integrity": "sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg==", + "dev": true, + "requires": { + "has-symbols": "^1.0.2" + } + }, + "is-typed-array": { + "version": "1.1.10", + "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.10.tgz", + "integrity": "sha512-PJqgEHiWZvMpaFZ3uTc8kHPM4+4ADTlDniuQL7cU/UDA0Ql7F70yGfHph3cLNe+c9toaigv+DFzTJKhc2CtO6A==", + "dev": true, + "requires": { + "available-typed-arrays": "^1.0.5", + "call-bind": "^1.0.2", + "for-each": "^0.3.3", + "gopd": "^1.0.1", + "has-tostringtag": "^1.0.0" + } + }, + "is-weakref": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-weakref/-/is-weakref-1.0.2.tgz", + "integrity": "sha512-qctsuLZmIQ0+vSSMfoVvyFe2+GSEvnmZ2ezTup1SBse9+twCCeial6EEi3Nc2KFcf6+qz2FBPnjXsk8xhKSaPQ==", + "dev": true, + "requires": { + "call-bind": "^1.0.2" + } + }, + "isexe": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", + "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", + "dev": true + }, + "jiti": { + "version": "1.18.2", + "resolved": "https://registry.npmjs.org/jiti/-/jiti-1.18.2.tgz", + "integrity": "sha512-QAdOptna2NYiSSpv0O/BwoHBSmz4YhpzJHyi+fnMRTXFjp7B8i/YG5Z8IfusxB1ufjcD2Sre1F3R+nX3fvy7gg==", + "dev": true + }, + "js-yaml": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", + "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", + "dev": true, + "requires": { + "argparse": "^2.0.1" + } + }, + "json-parse-better-errors": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz", + "integrity": "sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw==", + "dev": true + }, + "json-schema-traverse": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", + "dev": true + }, + "json-stable-stringify-without-jsonify": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz", + "integrity": "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==", + "dev": true + }, + "levn": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", + "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==", + "dev": true, + "requires": { + "prelude-ls": "^1.2.1", + "type-check": "~0.4.0" + } + }, + "lilconfig": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-2.1.0.tgz", + "integrity": "sha512-utWOt/GHzuUxnLKxB6dk81RoOeoNeHgbrXiuGk4yyF5qlRz+iIVWu56E2fqGHFrXz0QNUhLB/8nKqvRH66JKGQ==", + "dev": true + }, + "lines-and-columns": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz", + "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==", + "dev": true + }, + "load-json-file": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-4.0.0.tgz", + "integrity": "sha512-Kx8hMakjX03tiGTLAIdJ+lL0htKnXjEZN6hk/tozf/WOuYGdZBJrZ+rCJRbVCugsjB3jMLn9746NsQIf5VjBMw==", + "dev": true, + "requires": { + "graceful-fs": "^4.1.2", + "parse-json": "^4.0.0", + "pify": "^3.0.0", + "strip-bom": "^3.0.0" + } + }, + "locate-path": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", + "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", + "dev": true, + "requires": { + "p-locate": "^5.0.0" + } + }, + "lodash": { + "version": "4.17.21", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", + "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", + "dev": true + }, + "lodash.merge": { + "version": "4.6.2", + "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz", + "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==", + "dev": true + }, + "lru-cache": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "dev": true, + "requires": { + "yallist": "^4.0.0" + } + }, + "magic-string": { + "version": "0.30.0", + "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.0.tgz", + "integrity": "sha512-LA+31JYDJLs82r2ScLrlz1GjSgu66ZV518eyWT+S8VhyQn/JL0u9MeBOvQMGYiPk1DBiSN9DDMOcXvigJZaViQ==", + "requires": { + "@jridgewell/sourcemap-codec": "^1.4.13" + } + }, + "memorystream": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/memorystream/-/memorystream-0.3.1.tgz", + "integrity": "sha512-S3UwM3yj5mtUSEfP41UZmt/0SCoVYUcU1rkXv+BQ5Ig8ndL4sPoJNBUJERafdPb5jjHJGuMgytgKvKIf58XNBw==", + "dev": true + }, + "merge2": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", + "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==", + "dev": true + }, + "micromatch": { + "version": "4.0.5", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz", + "integrity": "sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==", + "dev": true, + "requires": { + "braces": "^3.0.2", + "picomatch": "^2.3.1" + } + }, + "minimatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "dev": true, + "requires": { + "brace-expansion": "^1.1.7" + } + }, + "ms": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", + "dev": true + }, + "muggle-string": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/muggle-string/-/muggle-string-0.3.1.tgz", + "integrity": "sha512-ckmWDJjphvd/FvZawgygcUeQCxzvohjFO5RxTjj4eq8kw359gFF3E1brjfI+viLMxss5JrHTDRHZvu2/tuy0Qg==", + "dev": true + }, + "mz": { + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/mz/-/mz-2.7.0.tgz", + "integrity": "sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==", + "dev": true, + "requires": { + "any-promise": "^1.0.0", + "object-assign": "^4.0.1", + "thenify-all": "^1.0.0" + } + }, + "nanoid": { + "version": "3.3.6", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.6.tgz", + "integrity": "sha512-BGcqMMJuToF7i1rt+2PWSNVnWIkGCU78jBG3RxO/bZlnZPK2Cmi2QaffxGO/2RvWi9sL+FAiRiXMgsyxQ1DIDA==" + }, + "natural-compare": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", + "integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==", + "dev": true + }, + "natural-compare-lite": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/natural-compare-lite/-/natural-compare-lite-1.4.0.tgz", + "integrity": "sha512-Tj+HTDSJJKaZnfiuw+iaF9skdPpTo2GtEly5JHnWV/hfv2Qj/9RKsGISQtLh2ox3l5EAGw487hnBee0sIJ6v2g==", + "dev": true + }, + "nice-try": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/nice-try/-/nice-try-1.0.5.tgz", + "integrity": "sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ==", + "dev": true + }, + "node-releases": { + "version": "2.0.12", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.12.tgz", + "integrity": "sha512-QzsYKWhXTWx8h1kIvqfnC++o0pEmpRQA/aenALsL2F4pqNVr7YzcdMlDij5WBnwftRbJCNJL/O7zdKaxKPHqgQ==", + "dev": true + }, + "normalize-package-data": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", + "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==", + "dev": true, + "requires": { + "hosted-git-info": "^2.1.4", + "resolve": "^1.10.0", + "semver": "2 || 3 || 4 || 5", + "validate-npm-package-license": "^3.0.1" + }, + "dependencies": { + "semver": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", + "dev": true + } + } + }, + "normalize-path": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", + "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", + "dev": true + }, + "normalize-range": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/normalize-range/-/normalize-range-0.1.2.tgz", + "integrity": "sha512-bdok/XvKII3nUpklnV6P2hxtMNrCboOjAcyBuQnWEhO665FwrSNRxU+AqpsyvO6LgGYPspN+lu5CLtw4jPRKNA==", + "dev": true + }, + "npm-run-all": { + "version": "4.1.5", + "resolved": "https://registry.npmjs.org/npm-run-all/-/npm-run-all-4.1.5.tgz", + "integrity": "sha512-Oo82gJDAVcaMdi3nuoKFavkIHBRVqQ1qvMb+9LHk/cF4P6B2m8aP04hGf7oL6wZ9BuGwX1onlLhpuoofSyoQDQ==", + "dev": true, + "requires": { + "ansi-styles": "^3.2.1", + "chalk": "^2.4.1", + "cross-spawn": "^6.0.5", + "memorystream": "^0.3.1", + "minimatch": "^3.0.4", + "pidtree": "^0.3.0", + "read-pkg": "^3.0.0", + "shell-quote": "^1.6.1", + "string.prototype.padend": "^3.0.0" + }, + "dependencies": { + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, + "requires": { + "color-convert": "^1.9.0" + } + }, + "chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "dev": true, + "requires": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + } + }, + "color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "dev": true, + "requires": { + "color-name": "1.1.3" + } + }, + "color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==", + "dev": true + }, + "cross-spawn": { + "version": "6.0.5", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz", + "integrity": "sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ==", + "dev": true, + "requires": { + "nice-try": "^1.0.4", + "path-key": "^2.0.1", + "semver": "^5.5.0", + "shebang-command": "^1.2.0", + "which": "^1.2.9" + } + }, + "escape-string-regexp": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", + "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", + "dev": true + }, + "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==", + "dev": true + }, + "path-key": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-2.0.1.tgz", + "integrity": "sha512-fEHGKCSmUSDPv4uoj8AlD+joPlq3peND+HRYyxFz4KPw4z926S/b8rIuFs2FYJg3BwsxJf6A9/3eIdLaYC+9Dw==", + "dev": true + }, + "semver": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", + "dev": true + }, + "shebang-command": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-1.2.0.tgz", + "integrity": "sha512-EV3L1+UQWGor21OmnvojK36mhg+TyIKDh3iFBKBohr5xeXIhNBcx8oWdgkTEEQ+BEFFYdLRuqMfd5L84N1V5Vg==", + "dev": true, + "requires": { + "shebang-regex": "^1.0.0" + } + }, + "shebang-regex": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-1.0.0.tgz", + "integrity": "sha512-wpoSFAxys6b2a2wHZ1XpDSgD7N9iVjg29Ph9uV/uaP9Ex/KXlkTZTeddxDPSYQpgvzKLGJke2UU0AzoGCjNIvQ==", + "dev": true + }, + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, + "requires": { + "has-flag": "^3.0.0" + } + }, + "which": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz", + "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==", + "dev": true, + "requires": { + "isexe": "^2.0.0" + } + } + } + }, + "nth-check": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/nth-check/-/nth-check-2.1.1.tgz", + "integrity": "sha512-lqjrjmaOoAnWfMmBPL+XNnynZh2+swxiX3WUE0s4yEHI6m+AwrK2UZOimIRl3X/4QctVqS8AiZjFqyOGrMXb/w==", + "dev": true, + "requires": { + "boolbase": "^1.0.0" + } + }, + "object-assign": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", + "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==", + "dev": true + }, + "object-hash": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/object-hash/-/object-hash-3.0.0.tgz", + "integrity": "sha512-RSn9F68PjH9HqtltsSnqYC1XXoWe9Bju5+213R98cNGttag9q9yAOTzdbsqvIa7aNm5WffBZFpWYr2aWrklWAw==", + "dev": true + }, + "object-inspect": { + "version": "1.12.3", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.3.tgz", + "integrity": "sha512-geUvdk7c+eizMNUDkRpW1wJwgfOiOeHbxBR/hLXK1aT6zmVSO0jsQcs7fj6MGw89jC/cjGfLcNOrtMYtGqm81g==", + "dev": true + }, + "object-keys": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", + "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==", + "dev": true + }, + "object.assign": { + "version": "4.1.4", + "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.4.tgz", + "integrity": "sha512-1mxKf0e58bvyjSCtKYY4sRe9itRk3PJpquJOjeIkz885CczcI4IvJJDLPS72oowuSh+pBxUFROpX+TU++hxhZQ==", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.4", + "has-symbols": "^1.0.3", + "object-keys": "^1.1.1" + } + }, + "once": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", + "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", + "dev": true, + "requires": { + "wrappy": "1" + } + }, + "optionator": { + "version": "0.9.3", + "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.3.tgz", + "integrity": "sha512-JjCoypp+jKn1ttEFExxhetCKeJt9zhAgAve5FXHixTvFDW/5aEktX9bufBKLRRMdU7bNtpLfcGu94B3cdEJgjg==", + "dev": true, + "requires": { + "@aashutoshrathi/word-wrap": "^1.2.3", + "deep-is": "^0.1.3", + "fast-levenshtein": "^2.0.6", + "levn": "^0.4.1", + "prelude-ls": "^1.2.1", + "type-check": "^0.4.0" + } + }, + "p-limit": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", + "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", + "dev": true, + "requires": { + "yocto-queue": "^0.1.0" + } + }, + "p-locate": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", + "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", + "dev": true, + "requires": { + "p-limit": "^3.0.2" + } + }, + "parent-module": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", + "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", + "dev": true, + "requires": { + "callsites": "^3.0.0" + } + }, + "parse-json": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-4.0.0.tgz", + "integrity": "sha512-aOIos8bujGN93/8Ox/jPLh7RwVnPEysynVFE+fQZyg6jKELEHwzgKdLRFHUgXJL6kylijVSBC4BvN9OmsB48Rw==", + "dev": true, + "requires": { + "error-ex": "^1.3.1", + "json-parse-better-errors": "^1.0.1" + } + }, + "path-exists": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", + "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", + "dev": true + }, + "path-is-absolute": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", + "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==", + "dev": true + }, + "path-key": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", + "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", + "dev": true + }, + "path-parse": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", + "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", + "dev": true + }, + "path-type": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", + "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==", + "dev": true + }, + "picocolors": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz", + "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==" + }, + "picomatch": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", + "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", + "dev": true + }, + "pidtree": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/pidtree/-/pidtree-0.3.1.tgz", + "integrity": "sha512-qQbW94hLHEqCg7nhby4yRC7G2+jYHY4Rguc2bjw7Uug4GIJuu1tvf2uHaZv5Q8zdt+WKJ6qK1FOI6amaWUo5FA==", + "dev": true + }, + "pify": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", + "integrity": "sha512-C3FsVNH1udSEX48gGX1xfvwTWfsYWj5U+8/uK15BGzIGrKoUpghX8hWZwa/OFnakBiiVNmBvemTJR5mcy7iPcg==", + "dev": true + }, + "pirates": { + "version": "4.0.6", + "resolved": "https://registry.npmjs.org/pirates/-/pirates-4.0.6.tgz", + "integrity": "sha512-saLsH7WeYYPiD25LDuLRRY/i+6HaPYr6G1OUlN39otzkSTxKnubR9RTxS3/Kk50s1g2JTgFwWQDQyplC5/SHZg==", + "dev": true + }, + "postcss": { + "version": "8.4.24", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.24.tgz", + "integrity": "sha512-M0RzbcI0sO/XJNucsGjvWU9ERWxb/ytp1w6dKtxTKgixdtQDq4rmx/g8W1hnaheq9jgwL/oyEdH5Bc4WwJKMqg==", + "requires": { + "nanoid": "^3.3.6", + "picocolors": "^1.0.0", + "source-map-js": "^1.0.2" + } + }, + "postcss-import": { + "version": "15.1.0", + "resolved": "https://registry.npmjs.org/postcss-import/-/postcss-import-15.1.0.tgz", + "integrity": "sha512-hpr+J05B2FVYUAXHeK1YyI267J/dDDhMU6B6civm8hSY1jYJnBXxzKDKDswzJmtLHryrjhnDjqqp/49t8FALew==", + "dev": true, + "requires": { + "postcss-value-parser": "^4.0.0", + "read-cache": "^1.0.0", + "resolve": "^1.1.7" + } + }, + "postcss-js": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/postcss-js/-/postcss-js-4.0.1.tgz", + "integrity": "sha512-dDLF8pEO191hJMtlHFPRa8xsizHaM82MLfNkUHdUtVEV3tgTp5oj+8qbEqYM57SLfc74KSbw//4SeJma2LRVIw==", + "dev": true, + "requires": { + "camelcase-css": "^2.0.1" + } + }, + "postcss-load-config": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/postcss-load-config/-/postcss-load-config-4.0.1.tgz", + "integrity": "sha512-vEJIc8RdiBRu3oRAI0ymerOn+7rPuMvRXslTvZUKZonDHFIczxztIyJ1urxM1x9JXEikvpWWTUUqal5j/8QgvA==", + "dev": true, + "requires": { + "lilconfig": "^2.0.5", + "yaml": "^2.1.1" + } + }, + "postcss-nested": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/postcss-nested/-/postcss-nested-6.0.1.tgz", + "integrity": "sha512-mEp4xPMi5bSWiMbsgoPfcP74lsWLHkQbZc3sY+jWYd65CUwXrUaTp0fmNpa01ZcETKlIgUdFN/MpS2xZtqL9dQ==", + "dev": true, + "requires": { + "postcss-selector-parser": "^6.0.11" + } + }, + "postcss-selector-parser": { + "version": "6.0.13", + "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.13.tgz", + "integrity": "sha512-EaV1Gl4mUEV4ddhDnv/xtj7sxwrwxdetHdWUGnT4VJQf+4d05v6lHYZr8N573k5Z0BViss7BDhfWtKS3+sfAqQ==", + "dev": true, + "requires": { + "cssesc": "^3.0.0", + "util-deprecate": "^1.0.2" + } + }, + "postcss-value-parser": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz", + "integrity": "sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==", + "dev": true + }, + "prelude-ls": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", + "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==", + "dev": true + }, + "prettier": { + "version": "2.8.8", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.8.8.tgz", + "integrity": "sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==", + "dev": true + }, + "prettier-linter-helpers": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/prettier-linter-helpers/-/prettier-linter-helpers-1.0.0.tgz", + "integrity": "sha512-GbK2cP9nraSSUF9N2XwUwqfzlAFlMNYYl+ShE/V+H8a9uNl/oUqB1w2EL54Jh0OlyRSd8RfWYJ3coVS4TROP2w==", + "dev": true, + "requires": { + "fast-diff": "^1.1.2" + } + }, + "punycode": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.0.tgz", + "integrity": "sha512-rRV+zQD8tVFys26lAGR9WUuS4iUAngJScM+ZRSKtvl5tKeZ2t5bvdNFdNHBW9FWR4guGHlgmsZ1G7BSm2wTbuA==", + "dev": true + }, + "queue-microtask": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", + "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==", + "dev": true + }, + "read-cache": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/read-cache/-/read-cache-1.0.0.tgz", + "integrity": "sha512-Owdv/Ft7IjOgm/i0xvNDZ1LrRANRfew4b2prF3OWMQLxLfu3bS8FVhCsrSCMK4lR56Y9ya+AThoTpDCTxCmpRA==", + "dev": true, + "requires": { + "pify": "^2.3.0" + }, + "dependencies": { + "pify": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", + "integrity": "sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog==", + "dev": true + } + } + }, + "read-pkg": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-3.0.0.tgz", + "integrity": "sha512-BLq/cCO9two+lBgiTYNqD6GdtK8s4NpaWrl6/rCO9w0TUS8oJl7cmToOZfRYllKTISY6nt1U7jQ53brmKqY6BA==", + "dev": true, + "requires": { + "load-json-file": "^4.0.0", + "normalize-package-data": "^2.3.2", + "path-type": "^3.0.0" + }, + "dependencies": { + "path-type": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-3.0.0.tgz", + "integrity": "sha512-T2ZUsdZFHgA3u4e5PfPbjd7HDDpxPnQb5jN0SrDsjNSuVXHJqtwTnWqG0B1jZrgmJ/7lj1EmVIByWt1gxGkWvg==", + "dev": true, + "requires": { + "pify": "^3.0.0" + } + } + } + }, + "readdirp": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", + "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", + "dev": true, + "requires": { + "picomatch": "^2.2.1" + } + }, + "regexp.prototype.flags": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.5.0.tgz", + "integrity": "sha512-0SutC3pNudRKgquxGoRGIz946MZVHqbNfPjBdxeOhBrdgDKlRoXmYLQN9xRbrR09ZXWeGAdPuif7egofn6v5LA==", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "define-properties": "^1.2.0", + "functions-have-names": "^1.2.3" + } + }, + "resolve": { + "version": "1.22.2", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.2.tgz", + "integrity": "sha512-Sb+mjNHOULsBv818T40qSPeRiuWLyaGMa5ewydRLFimneixmVy2zdivRl+AF6jaYPC8ERxGDmFSiqui6SfPd+g==", + "dev": true, + "requires": { + "is-core-module": "^2.11.0", + "path-parse": "^1.0.7", + "supports-preserve-symlinks-flag": "^1.0.0" + } + }, + "resolve-from": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", + "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", + "dev": true + }, + "reusify": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz", + "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==", + "dev": true + }, + "rimraf": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", + "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", + "dev": true, + "requires": { + "glob": "^7.1.3" + } + }, + "rollup": { + "version": "3.25.3", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.25.3.tgz", + "integrity": "sha512-ZT279hx8gszBj9uy5FfhoG4bZx8c+0A1sbqtr7Q3KNWIizpTdDEPZbV2xcbvHsnFp4MavCQYZyzApJ+virB8Yw==", + "dev": true, + "requires": { + "fsevents": "~2.3.2" + } + }, + "run-parallel": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", + "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==", + "dev": true, + "requires": { + "queue-microtask": "^1.2.2" + } + }, + "safe-regex-test": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/safe-regex-test/-/safe-regex-test-1.0.0.tgz", + "integrity": "sha512-JBUUzyOgEwXQY1NuPtvcj/qcBDbDmEvWufhlnXZIm75DEHp+afM1r1ujJpJsV/gSM4t59tpDyPi1sd6ZaPFfsA==", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "get-intrinsic": "^1.1.3", + "is-regex": "^1.1.4" + } + }, + "semver": { + "version": "7.5.3", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.3.tgz", + "integrity": "sha512-QBlUtyVk/5EeHbi7X0fw6liDZc7BBmEaSYn01fMU1OUYbf6GPsbTtd8WmnqbI20SeycoHSeiybkE/q1Q+qlThQ==", + "dev": true, + "requires": { + "lru-cache": "^6.0.0" + } + }, + "shebang-command": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", + "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", + "dev": true, + "requires": { + "shebang-regex": "^3.0.0" + } + }, + "shebang-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", + "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", + "dev": true + }, + "shell-quote": { + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/shell-quote/-/shell-quote-1.8.1.tgz", + "integrity": "sha512-6j1W9l1iAs/4xYBI1SYOVZyFcCis9b4KCLQ8fgAGG07QvzaRLVVRQvAy85yNmmZSjYjg4MWh4gNvlPujU/5LpA==", + "dev": true + }, + "side-channel": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz", + "integrity": "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==", + "dev": true, + "requires": { + "call-bind": "^1.0.0", + "get-intrinsic": "^1.0.2", + "object-inspect": "^1.9.0" + } + }, + "slash": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", + "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", + "dev": true + }, + "source-map-js": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.0.2.tgz", + "integrity": "sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==" + }, + "spdx-correct": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.2.0.tgz", + "integrity": "sha512-kN9dJbvnySHULIluDHy32WHRUu3Og7B9sbY7tsFLctQkIqnMh3hErYgdMjTYuqmcXX+lK5T1lnUt3G7zNswmZA==", + "dev": true, + "requires": { + "spdx-expression-parse": "^3.0.0", + "spdx-license-ids": "^3.0.0" + } + }, + "spdx-exceptions": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.3.0.tgz", + "integrity": "sha512-/tTrYOC7PPI1nUAgx34hUpqXuyJG+DTHJTnIULG4rDygi4xu/tfgmq1e1cIRwRzwZgo4NLySi+ricLkZkw4i5A==", + "dev": true + }, + "spdx-expression-parse": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.1.tgz", + "integrity": "sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==", + "dev": true, + "requires": { + "spdx-exceptions": "^2.1.0", + "spdx-license-ids": "^3.0.0" + } + }, + "spdx-license-ids": { + "version": "3.0.13", + "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.13.tgz", + "integrity": "sha512-XkD+zwiqXHikFZm4AX/7JSCXA98U5Db4AFd5XUg/+9UNtnH75+Z9KxtpYiJZx36mUDVOwH83pl7yvCer6ewM3w==", + "dev": true + }, + "string.prototype.padend": { + "version": "3.1.4", + "resolved": "https://registry.npmjs.org/string.prototype.padend/-/string.prototype.padend-3.1.4.tgz", + "integrity": "sha512-67otBXoksdjsnXXRUq+KMVTdlVRZ2af422Y0aTyTjVaoQkGr3mxl2Bc5emi7dOQ3OGVVQQskmLEWwFXwommpNw==", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.4", + "es-abstract": "^1.20.4" + } + }, + "string.prototype.trim": { + "version": "1.2.7", + "resolved": "https://registry.npmjs.org/string.prototype.trim/-/string.prototype.trim-1.2.7.tgz", + "integrity": "sha512-p6TmeT1T3411M8Cgg9wBTMRtY2q9+PNy9EV1i2lIXUN/btt763oIfxwN3RR8VU6wHX8j/1CFy0L+YuThm6bgOg==", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.4", + "es-abstract": "^1.20.4" + } + }, + "string.prototype.trimend": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.6.tgz", + "integrity": "sha512-JySq+4mrPf9EsDBEDYMOb/lM7XQLulwg5R/m1r0PXEFqrV0qHvl58sdTilSXtKOflCsK2E8jxf+GKC0T07RWwQ==", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.4", + "es-abstract": "^1.20.4" + } + }, + "string.prototype.trimstart": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.6.tgz", + "integrity": "sha512-omqjMDaY92pbn5HOX7f9IccLA+U1tA9GvtU4JrodiXFfYB7jPzzHpRzpglLAjtUV6bB557zwClJezTqnAiYnQA==", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.4", + "es-abstract": "^1.20.4" + } + }, + "strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, + "requires": { + "ansi-regex": "^5.0.1" + } + }, + "strip-bom": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", + "integrity": "sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==", + "dev": true + }, + "strip-json-comments": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", + "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", + "dev": true + }, + "style-mod": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/style-mod/-/style-mod-4.0.3.tgz", + "integrity": "sha512-78Jv8kYJdjbvRwwijtCevYADfsI0lGzYJe4mMFdceO8l75DFFDoqBhR1jVDicDRRaX4//g1u9wKeo+ztc2h1Rw==" + }, + "sucrase": { + "version": "3.32.0", + "resolved": "https://registry.npmjs.org/sucrase/-/sucrase-3.32.0.tgz", + "integrity": "sha512-ydQOU34rpSyj2TGyz4D2p8rbktIOZ8QY9s+DGLvFU1i5pWJE8vkpruCjGCMHsdXwnD7JDcS+noSwM/a7zyNFDQ==", + "dev": true, + "requires": { + "@jridgewell/gen-mapping": "^0.3.2", + "commander": "^4.0.0", + "glob": "7.1.6", + "lines-and-columns": "^1.1.6", + "mz": "^2.7.0", + "pirates": "^4.0.1", + "ts-interface-checker": "^0.1.9" + }, + "dependencies": { + "glob": { + "version": "7.1.6", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz", + "integrity": "sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==", + "dev": true, + "requires": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.0.4", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + } + } + } + }, + "supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "requires": { + "has-flag": "^4.0.0" + } + }, + "supports-preserve-symlinks-flag": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", + "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==", + "dev": true + }, + "tailwindcss": { + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.3.2.tgz", + "integrity": "sha512-9jPkMiIBXvPc2KywkraqsUfbfj+dHDb+JPWtSJa9MLFdrPyazI7q6WX2sUrm7R9eVR7qqv3Pas7EvQFzxKnI6w==", + "dev": true, + "requires": { + "@alloc/quick-lru": "^5.2.0", + "arg": "^5.0.2", + "chokidar": "^3.5.3", + "didyoumean": "^1.2.2", + "dlv": "^1.1.3", + "fast-glob": "^3.2.12", + "glob-parent": "^6.0.2", + "is-glob": "^4.0.3", + "jiti": "^1.18.2", + "lilconfig": "^2.1.0", + "micromatch": "^4.0.5", + "normalize-path": "^3.0.0", + "object-hash": "^3.0.0", + "picocolors": "^1.0.0", + "postcss": "^8.4.23", + "postcss-import": "^15.1.0", + "postcss-js": "^4.0.1", + "postcss-load-config": "^4.0.1", + "postcss-nested": "^6.0.1", + "postcss-selector-parser": "^6.0.11", + "postcss-value-parser": "^4.2.0", + "resolve": "^1.22.2", + "sucrase": "^3.32.0" + } + }, + "text-table": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz", + "integrity": "sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==", + "dev": true + }, + "thenify": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/thenify/-/thenify-3.3.1.tgz", + "integrity": "sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw==", + "dev": true, + "requires": { + "any-promise": "^1.0.0" + } + }, + "thenify-all": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/thenify-all/-/thenify-all-1.6.0.tgz", + "integrity": "sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA==", + "dev": true, + "requires": { + "thenify": ">= 3.1.0 < 4" + } + }, + "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==", + "dev": true, + "requires": { + "is-number": "^7.0.0" + } + }, + "ts-interface-checker": { + "version": "0.1.13", + "resolved": "https://registry.npmjs.org/ts-interface-checker/-/ts-interface-checker-0.1.13.tgz", + "integrity": "sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==", + "dev": true + }, + "tslib": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", + "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==", + "dev": true + }, + "tsutils": { + "version": "3.21.0", + "resolved": "https://registry.npmjs.org/tsutils/-/tsutils-3.21.0.tgz", + "integrity": "sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==", + "dev": true, + "requires": { + "tslib": "^1.8.1" + } + }, + "type-check": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", + "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==", + "dev": true, + "requires": { + "prelude-ls": "^1.2.1" + } + }, + "type-fest": { + "version": "0.20.2", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz", + "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==", + "dev": true + }, + "typed-array-length": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/typed-array-length/-/typed-array-length-1.0.4.tgz", + "integrity": "sha512-KjZypGq+I/H7HI5HlOoGHkWUUGq+Q0TPhQurLbyrVrvnKTBgzLhIJ7j6J/XTQOi0d1RjyZ0wdas8bKs2p0x3Ng==", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "for-each": "^0.3.3", + "is-typed-array": "^1.1.9" + } + }, + "typescript": { + "version": "5.0.4", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.0.4.tgz", + "integrity": "sha512-cW9T5W9xY37cc+jfEnaUvX91foxtHkza3Nw3wkoF4sSlKn0MONdkdEndig/qPBWXNkmplh3NzayQzCiHM4/hqw==", + "dev": true + }, + "unbox-primitive": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.0.2.tgz", + "integrity": "sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw==", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "has-bigints": "^1.0.2", + "has-symbols": "^1.0.3", + "which-boxed-primitive": "^1.0.2" + } + }, + "update-browserslist-db": { + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.11.tgz", + "integrity": "sha512-dCwEFf0/oT85M1fHBg4F0jtLwJrutGoHSQXCh7u4o2t1drG+c0a9Flnqww6XUKSfQMPpJBRjU8d4RXB09qtvaA==", + "dev": true, + "requires": { + "escalade": "^3.1.1", + "picocolors": "^1.0.0" + } + }, + "uri-js": { + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", + "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", + "dev": true, + "requires": { + "punycode": "^2.1.0" + } + }, + "util-deprecate": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", + "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==", + "dev": true + }, + "validate-npm-package-license": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz", + "integrity": "sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==", + "dev": true, + "requires": { + "spdx-correct": "^3.0.0", + "spdx-expression-parse": "^3.0.0" + } + }, + "vite": { + "version": "4.3.9", + "resolved": "https://registry.npmjs.org/vite/-/vite-4.3.9.tgz", + "integrity": "sha512-qsTNZjO9NoJNW7KnOrgYwczm0WctJ8m/yqYAMAK9Lxt4SoySUfS5S8ia9K7JHpa3KEeMfyF8LoJ3c5NeBJy6pg==", + "dev": true, + "requires": { + "esbuild": "^0.17.5", + "fsevents": "~2.3.2", + "postcss": "^8.4.23", + "rollup": "^3.21.0" + } + }, + "vue": { + "version": "3.3.4", + "resolved": "https://registry.npmjs.org/vue/-/vue-3.3.4.tgz", + "integrity": "sha512-VTyEYn3yvIeY1Py0WaYGZsXnz3y5UnGi62GjVEqvEGPl6nxbOrCXbVOTQWBEJUqAyTUk2uJ5JLVnYJ6ZzGbrSw==", + "requires": { + "@vue/compiler-dom": "3.3.4", + "@vue/compiler-sfc": "3.3.4", + "@vue/runtime-dom": "3.3.4", + "@vue/server-renderer": "3.3.4", + "@vue/shared": "3.3.4" + } + }, + "vue-codemirror": { + "version": "6.1.1", + "resolved": "https://registry.npmjs.org/vue-codemirror/-/vue-codemirror-6.1.1.tgz", + "integrity": "sha512-rTAYo44owd282yVxKtJtnOi7ERAcXTeviwoPXjIc6K/IQYUsoDkzPvw/JDFtSP6T7Cz/2g3EHaEyeyaQCKoDMg==", + "requires": { + "@codemirror/commands": "6.x", + "@codemirror/language": "6.x", + "@codemirror/state": "6.x", + "@codemirror/view": "6.x" + } + }, + "vue-eslint-parser": { + "version": "9.3.1", + "resolved": "https://registry.npmjs.org/vue-eslint-parser/-/vue-eslint-parser-9.3.1.tgz", + "integrity": "sha512-Clr85iD2XFZ3lJ52/ppmUDG/spxQu6+MAeHXjjyI4I1NUYZ9xmenQp4N0oaHJhrA8OOxltCVxMRfANGa70vU0g==", + "dev": true, + "requires": { + "debug": "^4.3.4", + "eslint-scope": "^7.1.1", + "eslint-visitor-keys": "^3.3.0", + "espree": "^9.3.1", + "esquery": "^1.4.0", + "lodash": "^4.17.21", + "semver": "^7.3.6" + }, + "dependencies": { + "eslint-scope": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.2.0.tgz", + "integrity": "sha512-DYj5deGlHBfMt15J7rdtyKNq/Nqlv5KfU4iodrQ019XESsRnwXH9KAE0y3cwtUHDo2ob7CypAnCqefh6vioWRw==", + "dev": true, + "requires": { + "esrecurse": "^4.3.0", + "estraverse": "^5.2.0" + } + }, + "estraverse": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", + "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", + "dev": true + } + } + }, + "vue-router": { + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/vue-router/-/vue-router-4.2.2.tgz", + "integrity": "sha512-cChBPPmAflgBGmy3tBsjeoe3f3VOSG6naKyY5pjtrqLGbNEXdzCigFUHgBvp9e3ysAtFtEx7OLqcSDh/1Cq2TQ==", + "requires": { + "@vue/devtools-api": "^6.5.0" + } + }, + "vue-template-compiler": { + "version": "2.7.14", + "resolved": "https://registry.npmjs.org/vue-template-compiler/-/vue-template-compiler-2.7.14.tgz", + "integrity": "sha512-zyA5Y3ArvVG0NacJDkkzJuPQDF8RFeRlzV2vLeSnhSpieO6LK2OVbdLPi5MPPs09Ii+gMO8nY4S3iKQxBxDmWQ==", + "dev": true, + "requires": { + "de-indent": "^1.0.2", + "he": "^1.2.0" + } + }, + "vue-tsc": { + "version": "1.8.2", + "resolved": "https://registry.npmjs.org/vue-tsc/-/vue-tsc-1.8.2.tgz", + "integrity": "sha512-iLS+z7jzxEAZRGLo4bYWfzZeBNVA71uXKmT2+5bQSsOJBtGLniR45sVpR+X7sa0m3J8iMEIU5+phLB7FnMLS0A==", + "dev": true, + "requires": { + "@vue/language-core": "1.8.2", + "@vue/typescript": "1.8.2", + "semver": "^7.3.8" + } + }, + "w3c-keyname": { + "version": "2.2.8", + "resolved": "https://registry.npmjs.org/w3c-keyname/-/w3c-keyname-2.2.8.tgz", + "integrity": "sha512-dpojBhNsCNN7T82Tm7k26A6G9ML3NkhDsnw9n/eoxSRlVBB4CEtIQ/KTCLI2Fwf3ataSXRhYFkQi3SlnFwPvPQ==" + }, + "which": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", + "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", + "dev": true, + "requires": { + "isexe": "^2.0.0" + } + }, + "which-boxed-primitive": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz", + "integrity": "sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg==", + "dev": true, + "requires": { + "is-bigint": "^1.0.1", + "is-boolean-object": "^1.1.0", + "is-number-object": "^1.0.4", + "is-string": "^1.0.5", + "is-symbol": "^1.0.3" + } + }, + "which-typed-array": { + "version": "1.1.9", + "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.9.tgz", + "integrity": "sha512-w9c4xkx6mPidwp7180ckYWfMmvxpjlZuIudNtDf4N/tTAUB8VJbX25qZoAsrtGuYNnGw3pa0AXgbGKRB8/EceA==", + "dev": true, + "requires": { + "available-typed-arrays": "^1.0.5", + "call-bind": "^1.0.2", + "for-each": "^0.3.3", + "gopd": "^1.0.1", + "has-tostringtag": "^1.0.0", + "is-typed-array": "^1.1.10" + } + }, + "wrappy": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", + "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==", + "dev": true + }, + "xml-name-validator": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/xml-name-validator/-/xml-name-validator-4.0.0.tgz", + "integrity": "sha512-ICP2e+jsHvAj2E2lIHxa5tjXRlKDJo4IdvPvCXbXQGdzSfmSpNVyIKMvoZHjDY9DP0zV17iI85o90vRFXNccRw==", + "dev": true + }, + "yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true + }, + "yaml": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.3.1.tgz", + "integrity": "sha512-2eHWfjaoXgTBC2jNM1LRef62VQa0umtvRiDSk6HSzW7RvS5YtkabJrwYLLEKWBc8a5U2PTSCs+dJjUTJdlHsWQ==", + "dev": true + }, + "yocto-queue": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", + "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==", + "dev": true + } + } +} diff --git a/Frontend/package.json b/Frontend/package.json new file mode 100644 index 0000000..a6ecef8 --- /dev/null +++ b/Frontend/package.json @@ -0,0 +1,43 @@ +{ + "name": "new-frontend", + "version": "0.0.0", + "private": true, + "scripts": { + "dev": "vite --host", + "build": "run-p type-check build-only", + "preview": "vite preview", + "build-only": "vite build", + "type-check": "vue-tsc --noEmit -p tsconfig.app.json --composite false", + "lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore", + "format": "prettier --write src/" + }, + "dependencies": { + "@codemirror/lang-html": "^6.4.5", + "@codemirror/lang-json": "^6.0.1", + "@codemirror/lang-xml": "^6.0.2", + "@codemirror/theme-one-dark": "^6.1.2", + "codemirror": "^6.0.1", + "vue": "^3.3.4", + "vue-codemirror": "^6.1.1", + "vue-router": "^4.2.2" + }, + "devDependencies": { + "@rushstack/eslint-patch": "^1.2.0", + "@tsconfig/node18": "^2.0.1", + "@types/node": "^18.16.17", + "@vitejs/plugin-vue": "^4.2.3", + "@vue/eslint-config-prettier": "^7.1.0", + "@vue/eslint-config-typescript": "^11.0.3", + "@vue/tsconfig": "^0.4.0", + "autoprefixer": "^10.4.14", + "eslint": "^8.39.0", + "eslint-plugin-vue": "^9.11.0", + "npm-run-all": "^4.1.5", + "postcss": "^8.4.24", + "prettier": "^2.8.8", + "tailwindcss": "^3.3.2", + "typescript": "~5.0.4", + "vite": "^4.3.9", + "vue-tsc": "^1.6.5" + } +} diff --git a/Frontend/postcss.config.js b/Frontend/postcss.config.js new file mode 100644 index 0000000..586f6d9 --- /dev/null +++ b/Frontend/postcss.config.js @@ -0,0 +1,7 @@ +/* eslint-disable no-undef */ +module.exports = { + plugins: { + tailwindcss: {}, + autoprefixer: {}, + }, +} diff --git a/Frontend/src/App.vue b/Frontend/src/App.vue new file mode 100644 index 0000000..f61c09b --- /dev/null +++ b/Frontend/src/App.vue @@ -0,0 +1,18 @@ + + + + + diff --git a/Frontend/assets/images/favicon.ico b/Frontend/src/assets/favicon.ico similarity index 100% rename from Frontend/assets/images/favicon.ico rename to Frontend/src/assets/favicon.ico diff --git a/Frontend/assets/images/logo_biale.svg b/Frontend/src/assets/logo_biale.svg similarity index 100% rename from Frontend/assets/images/logo_biale.svg rename to Frontend/src/assets/logo_biale.svg diff --git a/Frontend/assets/images/logo_czarne.svg b/Frontend/src/assets/logo_czarne.svg similarity index 100% rename from Frontend/assets/images/logo_czarne.svg rename to Frontend/src/assets/logo_czarne.svg diff --git a/Frontend/src/assets/sampleHtml.html b/Frontend/src/assets/sampleHtml.html new file mode 100644 index 0000000..676a15d --- /dev/null +++ b/Frontend/src/assets/sampleHtml.html @@ -0,0 +1,14 @@ + + + + + + + Example Page + + +

Hello World!

+

That's paragraph

+
+ + \ No newline at end of file diff --git a/Frontend/src/assets/sampleXQuery.xquery b/Frontend/src/assets/sampleXQuery.xquery new file mode 100644 index 0000000..4c518d5 --- /dev/null +++ b/Frontend/src/assets/sampleXQuery.xquery @@ -0,0 +1,5 @@ +declare default element namespace "http://www.release11.com/schemas/Sample.xsd"; +declare namespace u = "http://www.release11.com/schemas/Sample.xsd"; + +for $x in /u:root/u:UserList[@Id = 'a']/u:User +return string($x/u:Name) \ No newline at end of file diff --git a/Frontend/src/assets/sampleXml.xml b/Frontend/src/assets/sampleXml.xml new file mode 100644 index 0000000..04a2632 --- /dev/null +++ b/Frontend/src/assets/sampleXml.xml @@ -0,0 +1,62 @@ + + + + + John + Wick + 2023-10-10 + + + Martha + Whane + 1970-06-13 + + + Bruce + Lee + 1985-01-24 + + + John + Rambo + 2024-06-19 + + FirstList + + + + Jack + Wicker + 2023-10-10 + + SecondList + + + + New + Folder + 2023-11-10 + + + Newer + Folder + 2023-11-11 + + + Newest + Folder + 2023-11-12 + + + New + Folder2 + 2023-11-13 + + + New + Folder-Final + 2023-11-14 + + ThirdList + + \ No newline at end of file diff --git a/Frontend/src/assets/sampleXsd.xml b/Frontend/src/assets/sampleXsd.xml new file mode 100644 index 0000000..43f7cc6 --- /dev/null +++ b/Frontend/src/assets/sampleXsd.xml @@ -0,0 +1,41 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Frontend/src/assets/sampleXslt.xml b/Frontend/src/assets/sampleXslt.xml new file mode 100644 index 0000000..37cb8ae --- /dev/null +++ b/Frontend/src/assets/sampleXslt.xml @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Frontend/src/assets/tooltips/xpath/xpath1.json b/Frontend/src/assets/tooltips/xpath/xpath1.json new file mode 100644 index 0000000..6b5bb1e --- /dev/null +++ b/Frontend/src/assets/tooltips/xpath/xpath1.json @@ -0,0 +1,537 @@ +[ + { + "entries": [ + { + "arguments": [ + { + "type": "object", + "description": "The object to convert to a boolean" + } + ], + "description": "The boolean function converts its argument to a boolean", + "documentationReferenceURL": "https://www.w3.org/TR/1999/REC-xpath-19991116/#section-Boolean-Functions", + "examples": [ + { + "command": "boolean('Release11')", + "output": "true" + }, + { + "command": "boolean('')", + "output": "false" + }, + { + "command": "boolean(2334)", + "output": "true" + } + ], + "name": "boolean()", + "output": "boolean" + }, + { + "arguments": [], + "description": "The true function returns false.", + "documentationReferenceURL": "https://www.w3.org/TR/1999/REC-xpath-19991116/#section-Boolean-Functions", + "examples": [ + { + "output": "false", + "command": "false()" + } + ], + "name": "false()", + "output": "boolean" + }, + { + "arguments": [], + "description": "The not function returns true if its argument is false, and false otherwise.", + "documentationReferenceURL": "https://www.w3.org/TR/1999/REC-xpath-19991116/#section-Boolean-Functions", + "examples": [ + { + "output": "false", + "command": "not('text')" + }, + { + "command": "not('')", + "output": "true" + } + ], + "name": "not()", + "output": "boolean" + }, + { + "arguments": [], + "description": "The true function returns true.", + "documentationReferenceURL": "https://www.w3.org/TR/1999/REC-xpath-19991116/#section-Boolean-Functions", + "examples": [ + { + "output": "true", + "command": "true()" + } + ], + "name": "true()", + "output": "boolean" + } + ], + "name": "Boolean" + }, + { + "entries": [ + { + "arguments": [ + { + "type": "node-set", + "description": "Node-set to count nodes in" + } + ], + "description": "Returns the number of nodes in the node-set", + "documentationReferenceURL": "https://www.w3.org/TR/1999/REC-xpath-19991116/#section-Node-Set-Functions", + "examples": [ + { + "output": "10", + "command": "count(/u:root/u:UserList/u:User)" + }, + { + "output": "1", + "command": "count(/u:root/u:UserList[@Id = 'b']/u:User)" + } + ], + "name": "count()", + "output": "number" + }, + { + "arguments": [], + "description": "Returns the element specified by it's unique id, requires DTD", + "documentationReferenceURL": "https://www.w3.org/TR/1999/REC-xpath-19991116/#section-Node-Set-Functions", + "examples": [], + "name": "id()", + "output": "node-set" + }, + { + "arguments": [ + { + "description": "Language that will be looked for in context node", + "type": "string" + } + ], + "description": "The lang function returns true or false depending on whether the language of the context node as specified by xml:lang attributes is the same as or is a sublanguage of the language specified by the argument string.", + "documentationReferenceURL": "https://www.w3.org/TR/1999/REC-xpath-19991116/#section-Boolean-Functions", + "examples": [], + "name": "lang()", + "output": "boolean" + }, + { + "arguments": [], + "description": "The position function returns a number equal to the context position from the expression evaluation context.", + "documentationReferenceURL": "https://www.w3.org/TR/1999/REC-xpath-19991116/#section-Node-Set-Functions", + "examples": [], + "name": "last()", + "output": "number" + }, + { + "arguments": [ + { + "description": "Extract first node and return its local name", + "type": "node-set" + } + ], + "description": "Returns the number of nodes in the node-set", + "documentationReferenceURL": "https://www.w3.org/TR/1999/REC-xpath-19991116/#section-Node-Set-Functions", + "examples": [ + { + "command": "local-name(/u:root)", + "output": "root" + }, + { + "command": "local-name(/u:root/u:UserList)", + "output": "UserList" + } + ], + "name": "local-name()", + "output": "string" + }, + { + "arguments": [ + { + "description": "Extract first node and return QName", + "type": "node-set? (Optional)" + } + ], + "description": "Returns the number of nodes in the node-set", + "documentationReferenceURL": "https://www.w3.org/TR/1999/REC-xpath-19991116/#section-Node-Set-Functions", + "examples": [ + { + "command": "name(/u:root)", + "output": "u:root" + }, + { + "command": "name(/u:root/u:UserList)", + "output": "u:UserList" + } + ], + "name": "name()", + "output": "string" + }, + { + "arguments": [ + { + "description": "Extract first node and return the namespace URI", + "type": "node-set" + } + ], + "description": "Returns the namespace-uri for the first node in the node-set", + "documentationReferenceURL": "https://www.w3.org/TR/1999/REC-xpath-19991116/#section-Node-Set-Functions", + "examples": [ + { + "output": "http://www.release11.com/schemas/Sample.xsd", + "command": "namespace-uri(/u:root)" + } + ], + "name": "namespace-uri()", + "output": "string" + }, + { + "arguments": [], + "description": "Returns the position of the current context node.", + "documentationReferenceURL": "https://www.w3.org/TR/1999/REC-xpath-19991116/#section-Node-Set-Functions", + "examples": [ + { + "output": "3", + "command": "position()" + } + ], + "name": "position()", + "output": "number" + } + ], + "name": "Node-Set" + }, + { + "entries": [ + { + "arguments": [ + { + "type": "number", + "description": "Number to round" + } + ], + "description": "The floor function returns the largest (closest to positive infinity) number that is not greater than the argument and that is an integer.", + "documentationReferenceURL": "https://www.w3.org/TR/1999/REC-xpath-19991116/#section-Number-Functions", + "examples": [ + { + "output": "3", + "command": "floor(3.1)" + }, + { + "output": "3", + "command": "floor(3.9)" + }, + { + "output": "3", + "command": "floor(3.5)" + } + ], + "name": "floor()", + "output": "number" + }, + { + "arguments": [ + { + "type": "object", + "description": "The object to convert to a number" + } + ], + "description": "The number function converts its argument to a number", + "documentationReferenceURL": "https://www.w3.org/TR/1999/REC-xpath-19991116/#section-Number-Functions", + "examples": [ + { + "output": "10", + "command": "number(10)" + }, + { + "output": "NaN", + "command": "number('')" + } + ], + "name": "number()", + "output": "number" + }, + { + "arguments": [ + { + "type": "number", + "description": "Number to round" + } + ], + "description": "The round function returns the number that is closest to the argument and that is an integer. If there are two such numbers, then the one that is closest to positive infinity is returned. If the argument is NaN, then NaN is returned. If the argument is positive infinity, then positive infinity is returned. If the argument is negative infinity, then negative infinity is returned. If the argument is positive zero, then positive zero is returned. If the argument is negative zero, then negative zero is returned. If the argument is less than zero, but greater than or equal to -0.5, then negative zero is returned.", + "documentationReferenceURL": "https://www.w3.org/TR/1999/REC-xpath-19991116/#section-Number-Functions", + "examples": [ + { + "output": "3", + "command": "round(3.1)" + }, + { + "output": "4", + "command": "round(3.9)" + }, + { + "output": "4", + "command": "round(3.5)" + } + ], + "name": "round()", + "output": "number" + }, + { + "arguments": [ + { + "description": "Node set to sum", + "type": "node-set" + } + ], + "description": "The sum function returns the sum, for each node in the argument node-set, of the result of converting the string-values of the node to a number.", + "documentationReferenceURL": "https://www.w3.org/TR/1999/REC-xpath-19991116/#section-Number-Functions", + "examples": [ + { + "output": "78", + "command": "sum(/someNode/value)" + } + ], + "name": "sum()", + "output": "number" + } + ], + "name": "Number" + }, + { + "entries": [ + { + "arguments": [ + { + "type": "string* (One or More)", + "description": "Strings to concatenate" + } + ], + "description": "The concat function returns the concatenation of its arguments.", + "documentationReferenceURL": "https://www.w3.org/TR/1999/REC-xpath-19991116/#section-String-Functions", + "examples": [ + { + "command": "concat('Release', 11)", + "output": "Release11" + } + ], + "name": "concat()", + "output": "string" + }, + { + "arguments": [ + { + "type": "string", + "description": "String to test" + }, + { + "type": "string", + "description": "String that first string has to contain" + } + ], + "description": "The contains function returns true if the first argument string contains the second argument string, and otherwise returns false.", + "documentationReferenceURL": "https://www.w3.org/TR/1999/REC-xpath-19991116/#section-String-Functions", + "examples": [ + { + "command": "contains('Release11', 'eas')", + "output": "true" + } + ], + "name": "contains()", + "output": "boolean" + }, + { + "arguments": [ + { + "description": "String to normalize", + "type": "string? (Optional)" + } + ], + "description": "The normalize-space function returns the argument string with whitespace normalized by stripping leading and trailing whitespace and replacing sequences of whitespace characters by a single space.", + "documentationReferenceURL": "https://www.w3.org/TR/1999/REC-xpath-19991116/#section-String-Functions", + "examples": [ + { + "output": "abc def", + "command": "normalize-space(' abc def ')" + } + ], + "name": "normalize-space(()", + "output": "string" + }, + { + "arguments": [ + { + "type": "string", + "description": "String to test" + }, + { + "type": "string", + "description": "String that first string has to start from" + } + ], + "description": "Returns true if the first argument string starts with the second argument string, and otherwise returns false.", + "documentationReferenceURL": "https://www.w3.org/TR/1999/REC-xpath-19991116/#section-String-Functions", + "examples": [ + { + "command": "starts-with('Release11', 'Rel'))", + "output": "true" + }, + { + "output": "false", + "command": "starts-with('Release11', 'ease'))" + } + ], + "name": "starts-with()", + "output": "boolean" + }, + { + "arguments": [ + { + "type": "object", + "description": "The object to convert to a string" + } + ], + "description": "The string function converts an object to a string", + "documentationReferenceURL": "https://www.w3.org/TR/1999/REC-xpath-19991116/#section-String-Functions", + "examples": [ + { + "output": "10", + "command": "string(10)" + }, + { + "output": "Release11", + "command": "string('Release11')" + } + ], + "name": "string()", + "output": "string" + }, + { + "arguments": [ + { + "description": "String to test", + "type": "string? (Optional)" + } + ], + "description": "The string-length returns the number of characters in the string.", + "documentationReferenceURL": "https://www.w3.org/TR/1999/REC-xpath-19991116/#section-String-Functions", + "examples": [ + { + "output": "6", + "command": "string-length('abcdef')" + } + ], + "name": "string-length()", + "output": "number" + }, + { + "arguments": [ + { + "type": "string", + "description": "String to split" + }, + { + "type": "number", + "description": "Starting index" + }, + { + "description": "Length of target substring", + "type": "number? (Optional)" + } + ], + "description": "The substring function returns the substring of the first argument starting at the position specified in the second argument with length specified in the third argument.", + "documentationReferenceURL": "https://www.w3.org/TR/1999/REC-xpath-19991116/#section-String-Functions", + "examples": [ + { + "output": "2345", + "command": "substring('12345',2)" + }, + { + "output": "234", + "command": "substring('12345',2,3)" + } + ], + "name": "substring()", + "output": "string" + }, + { + "arguments": [ + { + "type": "string", + "description": "String to split" + }, + { + "type": "string", + "description": "String that splits first string" + } + ], + "description": "The substring-after function returns the substring of the first argument string that follows the first occurrence of the second argument string in the first argument string, or the empty string if the first argument string does not contain the second argument string.", + "documentationReferenceURL": "https://www.w3.org/TR/1999/REC-xpath-19991116/#section-String-Functions", + "examples": [ + { + "output": "ase11", + "command": "substring-after('Release11', 'le')" + } + ], + "name": "substring-after()", + "output": "string" + }, + { + "arguments": [ + { + "type": "string", + "description": "String to split" + }, + { + "type": "string", + "description": "String that splits first string" + } + ], + "description": "The substring-before function returns the substring of the first argument string that precedes the first occurrence of the second argument string in the first argument string, or the empty string if the first argument string does not contain the second argument string.", + "documentationReferenceURL": "https://www.w3.org/TR/1999/REC-xpath-19991116/#section-String-Functions", + "examples": [ + { + "output": "Release", + "command": "substring-before('Release11', '11')" + } + ], + "name": "substring-before()", + "output": "string" + }, + { + "arguments": [ + { + "type": "string", + "description": "String to process" + }, + { + "description": "Characters to remove", + "type": "string" + }, + { + "type": "string", + "description": "String to insert characters from second argument" + } + ], + "description": "The translate function returns the first argument string with occurrences of characters in the second argument string replaced by the character at the corresponding position in the third argument string. If there is a character in the second argument string with no character at a corresponding position in the third argument string (because the second argument string is longer than the third argument string), then occurrences of that character in the first argument string are removed.", + "documentationReferenceURL": "https://www.w3.org/TR/1999/REC-xpath-19991116/#section-String-Functions", + "examples": [ + { + "output": "BAr", + "command": "translate('bar','abc','ABC')" + }, + { + "output": "AAA", + "command": "translate('--aaa--','abc-','ABC')" + } + ], + "name": "translate()", + "output": "string" + } + ], + "name": "String" + } +] \ No newline at end of file diff --git a/Frontend/src/assets/tooltips/xpath/xpath2.json b/Frontend/src/assets/tooltips/xpath/xpath2.json new file mode 100644 index 0000000..1cd384f --- /dev/null +++ b/Frontend/src/assets/tooltips/xpath/xpath2.json @@ -0,0 +1,2522 @@ +[ + { + "entries": [ + { + "arguments": [ + { + "description": "$arg", + "type": "item()*" + } + ], + "description": "Computes the effective boolean value of the sequence $arg.", + "documentationReferenceURL": "https://www.w3.org/TR/xquery-operators/#func-boolean", + "examples": [ + { + "command": "boolean(1)", + "output": "true" + }, + { + "command": "boolean(())", + "output": "false" + }, + { + "command": "boolean(0)", + "output": "false" + } + ], + "name": "boolean()", + "output": "xs:boolean?" + }, + { + "arguments": [], + "description": "Returns the xs:boolean value false. Equivalent to xs:boolean('0').", + "documentationReferenceURL": "https://www.w3.org/TR/xquery-operators/#func-false", + "examples": [ + { + "output": "false", + "command": "false()" + } + ], + "name": "false()", + "output": "xs:boolean" + }, + { + "arguments": [ + { + "description": "$arg", + "type": "item()" + } + ], + "description": "$arg is first reduced to an effective boolean value by applying the fn:boolean() function. Returns true if the effective boolean value is false, and false if the effective boolean value is true.", + "documentationReferenceURL": "https://www.w3.org/TR/xquery-operators/#func-not", + "examples": [ + { + "output": "false", + "command": "not(true())" + }, + { + "command": "not(false())", + "output": "true" + } + ], + "name": "not()", + "output": "xs:boolean" + }, + { + "arguments": [], + "description": "Returns the xs:boolean value true. Equivalent to xs:boolean('1').", + "documentationReferenceURL": "https://www.w3.org/TR/xquery-operators/#func-true", + "examples": [ + { + "output": "true", + "command": "true()" + } + ], + "name": "true()", + "output": "xs:boolean" + } + ], + "name": "Boolean" + }, + { + "entries": [ + { + "arguments": [ + { + "description": "$arg", + "type": "xs:string?" + } + ], + "description": "This function takes an xs:string as argument and returns a sequence of nodes obtained by interpreting $arg as an xs:anyURI and resolving it", + "documentationReferenceURL": "https://www.w3.org/TR/xquery-operators/#func-collection", + "examples": [ + { + "output": "()", + "command": "collection('')" + } + ], + "name": "collection()", + "output": "node()*" + }, + { + "arguments": [ + { + "type": "item*", + "description": "Items to convert." + } + ], + "description": "Takes a sequence of items and returns a sequence of atomic values.", + "documentationReferenceURL": "https://www.w3.org/TR/xquery-operators/#func-data", + "examples": [ + { + "output": "('John', 'Wick', '2023-10-10')", + "command": "data(/u:root/u:UserList[1]/u:User[1])" + } + ], + "name": "data()", + "output": "xs:anyAtomicType*" + }, + { + "arguments": [ + { + "description": "$collation", + "type": "xs:string?" + }, + { + "description": "$parameter2", + "type": "item*" + }, + { + "description": "$parameter1", + "type": "item*" + } + ], + "description": "This function assesses whether two sequences are deep-equal to each other. To be deep-equal, they must contain items that are pairwise deep-equal; and for two items to be deep-equal, they must either be atomic values that compare equal, or nodes of the same kind, with the same name, whose children are deep-equal.", + "documentationReferenceURL": "https://www.w3.org/TR/xquery-operators/#func-deep-equal", + "examples": [ + { + "command": "deep-equal(/u:root/u:UserList[1], /u:root/u:UserList[1])", + "output": "true" + }, + { + "command": "deep-equal(/u:root/u:UserList[1], /u:root/u:UserList[2])", + "output": "false" + } + ], + "name": "deep-equal()", + "output": "xs:boolean" + }, + { + "arguments": [ + { + "description": "$collation", + "type": "xs:string?" + }, + { + "description": "$arg", + "type": "xs:anyAtomicType*" + } + ], + "description": "Returns the sequence that results from removing from $arg all but one of a set of values that are eq to one other. Values of type xs:untypedAtomic are compared as if they were of type xs:string.", + "documentationReferenceURL": "https://www.w3.org/TR/xquery-operators/#func-distinct-values", + "examples": [ + { + "output": "(1, 3, 2.0)", + "command": "distinct-values((1, 2.0, 3, 2))" + } + ], + "name": "distinct-values()", + "output": "xs:anyAtomicType*" + }, + { + "arguments": [ + { + "description": "$uri", + "type": "xs:string" + } + ], + "description": "Retrieves a document using a URI supplied as an xs:string, and returns the corresponding document node.", + "documentationReferenceURL": "https://www.w3.org/TR/xquery-operators/#func-doc", + "examples": [ + { + "output": "", + "command": "doc('test.xml')" + } + ], + "name": "doc()", + "output": "document-node()?" + }, + { + "arguments": [ + { + "description": "$uri", + "type": "xs:string" + } + ], + "description": "The function returns true if and only if the function call fn:doc($uri) would return a document node.", + "documentationReferenceURL": "https://www.w3.org/TR/xquery-operators/#func-doc-available", + "examples": [ + { + "command": "doc('test.xml')", + "output": "true " + } + ], + "name": "doc-available()", + "output": "item()*" + }, + { + "arguments": [ + { + "description": "$length", + "type": "xs:double?" + }, + { + "description": "$startingLoc", + "type": "xs:double?" + }, + { + "description": "$arg", + "type": "xs:string?" + } + ], + "description": "Returns the sequence of element nodes that have an ID value matching the value of one or more of the IDREF values supplied in $arg.", + "documentationReferenceURL": "https://www.w3.org/TR/xquery-operators/#func-subsequence", + "examples": [ + { + "output": "('b', 'c', 'd')", + "command": "subsequence( ('a', 'b', 'c', 'd', 'e'), 2, 3)" + }, + { + "output": "('d', 'e')", + "command": "subsequence( ('a', 'b', 'c', 'd', 'e') , 4)" + } + ], + "name": "element-with-id()", + "output": "node()*" + }, + { + "arguments": [ + { + "description": "arg", + "type": "item*" + } + ], + "description": "If the value of $arg is the empty sequence, the function returns true; otherwise, the function returns false.", + "documentationReferenceURL": "https://www.w3.org/TR/xquery-operators/#func-empty", + "examples": [ + { + "command": "empty(())", + "output": "true" + }, + { + "command": "empty(('hello', 'world'))", + "output": "false" + } + ], + "name": "empty()", + "output": "xs:boolean" + }, + { + "arguments": [ + { + "description": "$arg", + "type": "item*" + } + ], + "description": "Returns $arg if it contains exactly one item. Otherwise, raises an error [err:FORG0005].", + "documentationReferenceURL": "https://www.w3.org/TR/xquery-operators/#func-exactly-one", + "examples": [ + { + "output": "A sequence of more than one item is not allowed as the first argument of fn:exactly-one() ('a', 'b')", + "command": "exactly-one(('a', 'b'))" + }, + { + "output": "('a')", + "command": "exactly-one(('a'))" + } + ], + "name": "exactly-one()", + "output": "item()?" + }, + { + "arguments": [ + { + "description": "$arg", + "type": "item*" + } + ], + "description": "If the value of $arg is not the empty sequence, the function returns true; otherwise, the function returns false.", + "documentationReferenceURL": "https://www.w3.org/TR/xquery-operators/#func-exists", + "examples": [ + { + "command": "exists(remove(('hello'), 1))", + "output": "false" + } + ], + "name": "exists()", + "output": "xs:boolean" + }, + { + "arguments": [ + { + "description": "$collation", + "type": "xs:string?" + }, + { + "description": "$startingLoc", + "type": "node()*" + }, + { + "description": "$arg", + "type": "xs:string*" + } + ], + "description": "Returns the sequence of element nodes that have an ID value matching the value of one or more of the IDREF values supplied in $arg.", + "documentationReferenceURL": "https://www.w3.org/TR/xquery-operators/#func-id", + "examples": [], + "name": "id()", + "output": "element()*" + }, + { + "arguments": [ + { + "description": "$collation", + "type": "xs:string?" + }, + { + "description": "$node", + "type": "node()*" + }, + { + "description": "$arg", + "type": "xs:string*" + } + ], + "description": "Returns the sequence of element or attribute nodes with an IDREF value matching the value of one or more of the ID values supplied in $arg.", + "documentationReferenceURL": "https://www.w3.org/TR/xquery-operators/#func-idref", + "examples": [], + "name": "idref()", + "output": "node()*" + }, + { + "arguments": [ + { + "description": "$collation", + "type": "xs:string?" + }, + { + "description": "$srchParam", + "type": "xs:anyAtomicType" + }, + { + "description": "$seqParam", + "type": "xs:anyAtomicType" + } + ], + "description": " Returns a sequence of positive integers giving the positions within the sequence $seqParam of items that are equal to $srchParam.", + "documentationReferenceURL": "https://www.w3.org/TR/xquery-operators/#func-index-of", + "examples": [ + { + "output": "(1, 4)", + "command": "index-of(('a', 'sport', 'and', 'a', 'pastime'), 'a')" + }, + { + "output": "(2, 5)", + "command": "index-of((10, 20, 30, 30, 20, 10), 20)" + }, + { + "output": "()", + "command": "index-of((10, 20, 30, 40), 35)" + } + ], + "name": "index-of()", + "output": "xs:integer*" + }, + { + "arguments": [ + { + "description": "$$inserts", + "type": "item()*" + }, + { + "description": "$position", + "type": "xs:integer" + }, + { + "description": "$target", + "type": "item*" + } + ], + "description": "Returns a new sequence constructed from the value of $target with the value of $inserts inserted at the position specified by the value of $position.", + "documentationReferenceURL": "https://www.w3.org/TR/xquery-operators/#func-insert-before", + "examples": [ + { + "output": "('a', 'z', 'b', 'c')", + "command": "insert-before($x, 2, 'z')" + }, + { + "output": "('z', 'a', 'b', 'c')", + "command": "insert-before($x, 1, 'z')" + }, + { + "output": "('z', 'a', 'b', 'c')", + "command": "insert-before($x, 0, 'z')" + } + ], + "name": "insert-before()", + "output": "item()*" + }, + { + "arguments": [], + "description": "Returns the sequence of element nodes that have an ID value matching the value of one or more of the IDREF values supplied in $arg.", + "documentationReferenceURL": "https://www.w3.org/TR/xquery-operators/#func-last", + "examples": [ + { + "output": "(3, 3, 3)", + "command": "/u:root/u:UserList/last()" + } + ], + "name": "last()", + "output": "xs:integer" + }, + { + "arguments": [ + { + "description": "$arg", + "type": "item*" + } + ], + "description": "Returns $arg if it contains one or more items. Otherwise, raises an error [err:FORG0004].", + "documentationReferenceURL": "https://www.w3.org/TR/xquery-operators/#func-one-or-more", + "examples": [ + { + "output": "('a', 'b')", + "command": "one-or-more(('a', 'b'))" + }, + { + "output": "('a')", + "command": "one-or-more(('a'))" + } + ], + "name": "one-or-more()", + "output": "item()?" + }, + { + "arguments": [], + "description": "Returns the context position from the dynamic context. (See Section C.2 Dynamic Context ComponentsXP.) If the context item is undefined, an error is raised: [err:XPDY0002]XP.", + "documentationReferenceURL": "https://www.w3.org/TR/xquery-operators/#func-position", + "examples": [ + { + "command": "/u:root/u:UserList[@Id = 'b']/position()", + "output": "1" + } + ], + "name": "position()", + "output": "xs:integer" + }, + { + "arguments": [ + { + "description": "$position", + "type": "xs:integer" + }, + { + "description": "$target", + "type": "item*" + } + ], + "description": "Returns a new sequence constructed from the value of $target with the item at the position specified by the value of $position removed.", + "documentationReferenceURL": "https://www.w3.org/TR/xquery-operators/#func-remove", + "examples": [ + { + "output": "('a', 'b', 'c')", + "command": "remove($x, 6)" + }, + { + "output": "('b', 'c')", + "command": "remove($x, 1)" + }, + { + "output": "('a', 'b', 'c')", + "command": "remove($x, 0)" + } + ], + "name": "remove()", + "output": "item()*" + }, + { + "arguments": [ + { + "description": "$arg", + "type": "item*" + } + ], + "description": "Reverses the order of items in a sequence. If $arg is the empty sequence, the empty sequence is returned.", + "documentationReferenceURL": "https://www.w3.org/TR/xquery-operators/#func-reverse", + "examples": [ + { + "output": "('')", + "command": "reverse( ('') )" + }, + { + "output": "('hello')", + "command": "reverse( ('hello') )" + }, + { + "output": "('c', 'b', 'a')", + "command": "reverse( ('a', 'b', 'c') )" + } + ], + "name": "reverse()", + "output": "item()*" + }, + { + "arguments": [ + { + "description": "$length", + "type": "xs:double?" + }, + { + "description": "$startingLoc", + "type": "xs:double?" + }, + { + "description": "$sourceSeq", + "type": "item*" + } + ], + "description": "Returns the contiguous sequence of items in the value of $sourceSeq beginning at the position indicated by the value of $startingLoc and continuing for the number of items indicated by the value of $length.", + "documentationReferenceURL": "https://www.w3.org/TR/xquery-operators/#func-subsequence", + "examples": [ + { + "output": "('b', 'c', 'd')", + "command": "subsequence( ('a', 'b', 'c', 'd', 'e'), 2, 3)" + }, + { + "output": "('d', 'e')", + "command": "subsequence( ('a', 'b', 'c', 'd', 'e') , 4)" + } + ], + "name": "subsequence()", + "output": "item()*" + }, + { + "arguments": [ + { + "description": "$sourceSeq", + "type": "item*" + } + ], + "description": "Returns the items of $sourceSeq in an implementation dependent order.", + "documentationReferenceURL": "https://www.w3.org/TR/xquery-operators/#func-unordered", + "examples": [], + "name": "unordered()", + "output": "item()*" + }, + { + "arguments": [ + { + "description": "$arg", + "type": "item*" + } + ], + "description": "Returns $arg if it contains zero or one items. Otherwise, raises an error [err:FORG0003].", + "documentationReferenceURL": "https://www.w3.org/TR/xquery-operators/#func-zero-or-one", + "examples": [ + { + "output": "A sequence of more than one item is not allowed as the first argument of fn:zero-or-one() ('a', 'b')", + "command": "zero-or-one(('a', 'b'))" + }, + { + "output": "('a')", + "command": "zero-or-one(('a'))" + } + ], + "name": "zero-or-one()", + "output": "item()*" + } + ], + "name": "Collections" + }, + { + "entries": [ + { + "arguments": [ + { + "description": "$timezone", + "type": "xs:dayTimeDuration?" + }, + { + "description": "$arg", + "type": "xs:date?" + } + ], + "description": "Adjusts an xs:date value to a specific timezone, or to no timezone at all. If $timezone is the empty sequence, returns an xs:date without a timezone. Otherwise, returns an xs:date with a timezone. For purposes of timezone adjustment, an xs:date is treated as an xs:dateTime with time 00:00:00.", + "documentationReferenceURL": "https://www.w3.org/TR/xquery-operators/#func-adjust-date-to-timezone", + "examples": [ + { + "output": "2002-03-07-10:00", + "command": "adjust-date-to-timezone(xs:date('2002-03-07'), xs:dayTimeDuration('-PT10H'))" + }, + { + "output": "2002-03-07-05:00", + "command": "adjust-date-to-timezone(xs:date('2002-03-07'))" + } + ], + "name": "adjust-date-to-timezone()", + "output": "xs:date?" + }, + { + "arguments": [ + { + "description": "$timezone", + "type": "xs:dayTimeDuration?" + }, + { + "description": "$arg", + "type": "xs:time?" + } + ], + "description": "Adjusts an xs:time value to a specific timezone, or to no timezone at all. If $timezone is the empty sequence, returns an xs:time without a timezone. Otherwise, returns an xs:time with a timezone.", + "documentationReferenceURL": "https://www.w3.org/TR/xquery-operators/#func-adjust-time-to-timezone", + "examples": [ + { + "output": "10:00:00-10:00", + "command": "adjust-time-to-timezone(xs:time('10:00:00'), xs:dayTimeDuration('-PT10H'))" + }, + { + "output": "10:00:00-05:00", + "command": "adjust-time-to-timezone(xs:time('10:00:00'))" + } + ], + "name": "adjust-time-to-timezone()", + "output": "xs:time?" + }, + { + "arguments": [ + { + "description": "$timezone", + "type": "xs:dayTimeDuration?" + }, + { + "description": "$arg", + "type": "xs:time?" + } + ], + "description": "Adjusts an xs:time value to a specific timezone, or to no timezone at all. If $timezone is the empty sequence, returns an xs:time without a timezone. Otherwise, returns an xs:time with a timezone.", + "documentationReferenceURL": "https://www.w3.org/TR/xquery-operators/#func-adjust-time-to-timezone", + "examples": [ + { + "output": "2002-03-07-10:00", + "command": "adjust-time-to-timezone(xs:time('10:00:00'), xs:dayTimeDuration('-PT10H'))" + }, + { + "output": "2002-03-07-05:00", + "command": "adjust-time-to-timezone(xs:time('10:00:00'))" + } + ], + "name": "adjust-time-to-timezone()", + "output": "xs:time?" + }, + { + "arguments": [], + "description": "Returns the current date (with timezone) from the dynamic context.", + "documentationReferenceURL": "https://www.w3.org/TR/xquery-operators/#func-current-date", + "examples": [ + { + "output": "", + "command": "current-date()" + } + ], + "name": "current-date()", + "output": "xs:date" + }, + { + "arguments": [], + "description": "Returns the current dateTime (with timezone) from the dynamic context.", + "documentationReferenceURL": "https://www.w3.org/TR/xquery-operators/#func-current-dateTime", + "examples": [ + { + "output": "", + "command": "current-dateTime()" + } + ], + "name": "current-dateTime()", + "output": "xs:dateTime" + }, + { + "arguments": [], + "description": "Returns the current time (with timezone) from the dynamic context.", + "documentationReferenceURL": "https://www.w3.org/TR/xquery-operators/#func-current-time", + "examples": [ + { + "output": "", + "command": "current-time()" + } + ], + "name": "current-time()", + "output": "xs:time" + }, + { + "arguments": [ + { + "description": "$arg", + "type": "xs:date?" + } + ], + "description": "Returns an xs:integer between 1 and 31, both inclusive, representing the day component in the localized value of $arg.", + "documentationReferenceURL": "https://www.w3.org/TR/xquery-operators/#func-day-from-date", + "examples": [ + { + "output": "01", + "command": "day-from-date(xs:date('2000-01-01+05:00'))" + }, + { + "output": "31", + "command": "day-from-date(xs:date('1999-05-31'))" + } + ], + "name": "day-from-date()", + "output": "xs:integer?" + }, + { + "arguments": [ + { + "description": "$arg", + "type": "xs:dateTime?" + } + ], + "description": "Returns an xs:integer between 1 and 31, both inclusive, representing the day component in the localized value of $arg.", + "documentationReferenceURL": "https://www.w3.org/TR/xquery-operators/#func-day-from-dateTime", + "examples": [ + { + "output": "1", + "command": "day-from-dateTime(xs:dateTime('1999-12-31T24:00:00'))" + }, + { + "output": "31", + "command": "day-from-dateTime(xs:dateTime('1999-12-31T19:20:00'))" + }, + { + "output": "31", + "command": "day-from-dateTime(xs:dateTime('1999-05-31T13:20:00-05:00'))" + } + ], + "name": "day-from-dateTime()", + "output": "xs:integer?" + }, + { + "arguments": [ + { + "description": "$arg", + "type": "xs:duration?" + } + ], + "description": "Returns an xs:integer representing the days component in the value of $arg.", + "documentationReferenceURL": "https://www.w3.org/TR/xquery-operators/#func-days-from-duration", + "examples": [ + { + "output": "0", + "command": "days-from-duration(xs:yearMonthDuration('P3Y5M')" + }, + { + "output": "5", + "command": "days-from-duration(xs:yearMonthDuration('P3DT55H'))" + }, + { + "output": "3", + "command": "days-from-duration(xs:yearMonthDuration('P3DT10H')" + } + ], + "name": "days-from-duration()", + "output": "xs:integer?" + }, + { + "arguments": [ + { + "description": "$arg", + "type": "xs:dateTime?" + } + ], + "description": "Returns an xs:integer between 0 and 23, both inclusive, representing the hours component in the localized value of $arg.", + "documentationReferenceURL": "https://www.w3.org/TR/xquery-operators/#func-hours-from-dateTime", + "examples": [ + { + "output": "0", + "command": "hours-from-dateTime(xs:dateTime('1999-12-31T24:00:00'))" + }, + { + "output": "19", + "command": "hours-from-dateTime(xs:dateTime('1999-12-31T19:20:00'))" + }, + { + "output": "13", + "command": "hours-from-dateTime(xs:dateTime('1999-05-31T13:20:00-05:00'))" + } + ], + "name": "hours-from-dateTime()", + "output": "xs:integer?" + }, + { + "arguments": [ + { + "description": "$arg", + "type": "xs:duration?" + } + ], + "description": "Returns an xs:integer representing the hours component in the value of $arg.", + "documentationReferenceURL": "https://www.w3.org/TR/xquery-operators/#func-hours-from-duration", + "examples": [ + { + "output": "0", + "command": "hours-from-duration(xs:yearMonthDuration('-PT123H')" + }, + { + "output": "12", + "command": "hours-from-duration(xs:yearMonthDuration('P3DT12H32M12S'))" + }, + { + "output": "10", + "command": "hours-from-duration(xs:yearMonthDuration('P3DT10H')" + } + ], + "name": "hours-from-duration()", + "output": "xs:integer?" + }, + { + "arguments": [ + { + "description": "$arg", + "type": "xs:time?" + } + ], + "description": "Returns an xs:integer between 0 and 23, both inclusive, representing the value of the hours component in the localized value of $arg.", + "documentationReferenceURL": "https://www.w3.org/TR/xquery-operators/#func-hours-from-time", + "examples": [ + { + "output": "0", + "command": "hours-from-time(xs:time('24:00:00'))" + }, + { + "output": "11", + "command": "hours-from-time(xs:time('11:23:00'))" + } + ], + "name": "hours-from-time()", + "output": "xs:integer?" + }, + { + "arguments": [], + "description": "Returns the value of the implicit timezone property from the dynamic context.", + "documentationReferenceURL": "https://www.w3.org/TR/xquery-operators/#func-implicit-timezone", + "examples": [ + { + "command": "implicit-timezone()", + "output": "PT0S" + } + ], + "name": "implicit-timezone()", + "output": "xs:string" + }, + { + "arguments": [ + { + "description": "$arg", + "type": "xs:dateTime?" + } + ], + "description": "Returns an xs:integer value between 0 and 59, both inclusive, representing the minute component in the localized value of $arg.", + "documentationReferenceURL": "https://www.w3.org/TR/xquery-operators/#func-minutes-from-dateTime", + "examples": [ + { + "output": "0", + "command": "minutes-from-dateTime(xs:dateTime('1999-12-31T24:00:00'))" + }, + { + "output": "20", + "command": "minutes-from-dateTime(xs:dateTime('1999-12-31T19:20:00'))" + }, + { + "output": "20", + "command": "minutes-from-dateTime(xs:dateTime('1999-05-31T13:20:00-05:00'))" + } + ], + "name": "minutes-from-dateTime()", + "output": "xs:integer?" + }, + { + "arguments": [ + { + "description": "$arg", + "type": "xs:duration?" + } + ], + "description": "Returns an xs:integer representing the minutes component in the value of $arg.", + "documentationReferenceURL": "https://www.w3.org/TR/xquery-operators/#func-minutes-from-duration", + "examples": [ + { + "output": "-30", + "command": "minutes-from-duration(xs:yearMonthDuration('-PT1P5DT12H30M23H')" + }, + { + "output": "0", + "command": "minutes-from-duration(xs:yearMonthDuration('P3DT10H')" + } + ], + "name": "minutes-from-duration()", + "output": "xs:integer?" + }, + { + "arguments": [ + { + "description": "$arg", + "type": "xs:time?" + } + ], + "description": "Returns an xs:integer between 0 and 23, both inclusive, representing the value of the hours component in the localized value of $arg.", + "documentationReferenceURL": "https://www.w3.org/TR/xquery-operators/#func-minutes-from-time", + "examples": [ + { + "output": "0", + "command": "minutes-from-time(xs:time('24:00:00'))" + }, + { + "output": "23", + "command": "hourminutess-from-time(xs:time('11:23:00'))" + } + ], + "name": "minutes-from-time()", + "output": "xs:integer?" + }, + { + "arguments": [ + { + "description": "$arg", + "type": "xs:date?" + } + ], + "description": "Returns an xs:integer between 1 and 12, both inclusive, representing the month component in the localized value of $arg.", + "documentationReferenceURL": "https://www.w3.org/TR/xquery-operators/#func-month-from-date", + "examples": [ + { + "output": "01", + "command": "month-from-date(xs:date('2000-01-01+05:00'))" + }, + { + "output": "05", + "command": "month-from-date(xs:date('1999-05-31'))" + } + ], + "name": "month-from-date()", + "output": "xs:integer?" + }, + { + "arguments": [ + { + "description": "$arg", + "type": "xs:dateTime?" + } + ], + "description": "Returns an xs:integer between 1 and 12, both inclusive, representing the month component in the localized value of $arg.", + "documentationReferenceURL": "https://www.w3.org/TR/xquery-operators/#func-month-from-dateTime", + "examples": [ + { + "output": "1", + "command": "month-from-dateTime(xs:dateTime('1999-12-31T24:00:00'))" + }, + { + "output": "12", + "command": "month-from-dateTime(xs:dateTime('1999-12-31T19:20:00'))" + }, + { + "output": "05", + "command": "month-from-dateTime(xs:dateTime('1999-05-31T13:20:00-05:00'))" + } + ], + "name": "month-from-dateTime()", + "output": "xs:integer?" + }, + { + "arguments": [ + { + "description": "$arg", + "type": "xs:duration?" + } + ], + "description": "Returns an xs:integer representing the months component in the value of $arg.", + "documentationReferenceURL": "https://www.w3.org/TR/xquery-operators/#func-months-from-duration", + "examples": [ + { + "output": "0", + "command": "months-from-duration(xs:yearMonthDuration('-P2DT15H0M0S')" + }, + { + "output": "-6", + "command": "months-from-duration(xs:yearMonthDuration('-P20Y18M'))" + }, + { + "output": "3", + "command": "months-from-duration(xs:yearMonthDuration('P20Y15M')" + } + ], + "name": "months-from-duration()", + "output": "xs:integer?" + }, + { + "arguments": [ + { + "description": "$arg", + "type": "xs:dateTime?" + } + ], + "description": "Returns an xs:decimal value greater than or equal to zero and less than 60, representing the seconds and fractional seconds in the localized value of $arg.", + "documentationReferenceURL": "https://www.w3.org/TR/xquery-operators/#func-seconds-from-dateTime", + "examples": [ + { + "output": "0", + "command": "seconds-from-dateTime(xs:dateTime('1999-12-31T24:00:00'))" + }, + { + "output": "0", + "command": "seconds-from-dateTime(xs:dateTime('1999-05-31T13:20:00-05:00'))" + } + ], + "name": "seconds-from-dateTime()", + "output": "xs:decimal?" + }, + { + "arguments": [ + { + "description": "$arg", + "type": "xs:duration?" + } + ], + "description": "Returns an xs:integer representing the seconds component in the value of $arg.", + "documentationReferenceURL": "https://www.w3.org/TR/xquery-operators/#func-seconds-from-duration", + "examples": [ + { + "output": "16", + "command": "seconds-from-duration(xs:yearMonthDuration('-PT256S')" + }, + { + "output": "12.5", + "command": "seconds-from-duration(xs:yearMonthDuration('P3DT10H12.5S')" + } + ], + "name": "seconds-from-duration()", + "output": "xs:integer?" + }, + { + "arguments": [ + { + "description": "$arg", + "type": "xs:time?" + } + ], + "description": "Returns an xs:decimal value greater than or equal to zero and less than 60, representing the seconds and fractional seconds in the localized value of $arg.", + "documentationReferenceURL": "https://www.w3.org/TR/xquery-operators/#func-seconds-from-time", + "examples": [ + { + "output": "0", + "command": "seconds-from-time(xs:time('24:00:00'))" + }, + { + "output": "30", + "command": "seconds-from-time(xs:time('11:23:30'))" + } + ], + "name": "seconds-from-time()", + "output": "xs:integer?" + }, + { + "arguments": [ + { + "description": "$arg", + "type": "xs:date?" + } + ], + "description": " Returns the timezone component of $arg if any. If $arg has a timezone component, then the result is an xs:dayTimeDuration that indicates deviation from UTC; its value may range from +14:00 to -14:00 hours, both inclusive. Otherwise, the result is the empty sequence.", + "documentationReferenceURL": "https://www.w3.org/TR/xquery-operators/#func-timezone-from-date", + "examples": [ + { + "output": "PT0S", + "command": "timezone-from-date(xs:date('2000-01-01+05:00'))" + }, + { + "output": "-PT5H", + "command": "timezone-from-date(xs:date('1999-05-31'))" + } + ], + "name": "timezone-from-date()", + "output": "xs:dayTimeDuration?" + }, + { + "arguments": [ + { + "description": "$arg", + "type": "xs:dateTime?" + } + ], + "description": " Returns an xs:decimal value greater than or equal to zero and less than 60, representing the seconds and fractional seconds in the localized value of $arg.", + "documentationReferenceURL": "https://www.w3.org/TR/xquery-operators/#func-timezone-from-dateTime", + "examples": [ + { + "output": "()", + "command": "timezone-from-dateTime(xs:dateTime('2004-08-27T00:00:00'))" + }, + { + "output": "PT0S", + "command": "timezone-from-dateTime(xs:dateTime('1999-12-31T24:00:00'))" + }, + { + "output": "PT5H", + "command": "timezone-from-dateTime(xs:dateTime('1999-05-31T13:20:00-05:00'))" + } + ], + "name": "timezone-from-dateTime()", + "output": "xs:dayTimeDuration?" + }, + { + "arguments": [ + { + "description": "$arg", + "type": "xs:time?" + } + ], + "description": "Returns an xs:decimal value greater than or equal to zero and less than 60, representing the seconds and fractional seconds in the localized value of $arg.", + "documentationReferenceURL": "https://www.w3.org/TR/xquery-operators/#func-hours-from-time", + "examples": [ + { + "output": "0", + "command": "hours-from-time(xs:time('24:00:00'))" + }, + { + "output": "11", + "command": "hours-from-time(xs:time('11:23:00'))" + } + ], + "name": "timezone-from-time()", + "output": "xs:integer?" + }, + { + "arguments": [ + { + "description": "$arg", + "type": "xs:date?" + } + ], + "description": "Returns an xs:integer representing the year in the localized value of $arg. The value may be negative.", + "documentationReferenceURL": "https://www.w3.org/TR/xquery-operators/#func-year-from-date", + "examples": [ + { + "output": "2000", + "command": "year-from-date(xs:date('2000-01-01+05:00'))" + }, + { + "output": "1999", + "command": "year-from-date(xs:date('1999-05-31'))" + } + ], + "name": "year-from-date()", + "output": "xs:integer?" + }, + { + "arguments": [ + { + "description": "$arg", + "type": "xs:dateTime?" + } + ], + "description": "Returns an xs:integer representing the year component in the localized value of $arg. The result may be negative.", + "documentationReferenceURL": "https://www.w3.org/TR/xquery-operators/#func-year-from-dateTime", + "examples": [ + { + "output": "2000", + "command": "year-from-dateTime(xs:dateTime('1999-12-31T24:00:00'))" + }, + { + "output": "1999", + "command": "year-from-dateTime(xs:dateTime('1999-12-31T19:20:00'))" + }, + { + "output": "1999", + "command": "year-from-dateTime(xs:dateTime('1999-05-31T13:20:00-05:00'))" + } + ], + "name": "year-from-dateTime()", + "output": "xs:integer?" + }, + { + "arguments": [ + { + "description": "$arg", + "type": "xs:duration?" + } + ], + "description": "Returns an xs:integer representing the years component in the value of $arg.", + "documentationReferenceURL": "https://www.w3.org/TR/xquery-operators/#func-years-from-duration", + "examples": [ + { + "output": "0", + "command": "years-from-duration(xs:yearMonthDuration('-P2DT15H')" + }, + { + "output": "-1", + "command": "years-from-duration(xs:yearMonthDuration('-P15M'))" + }, + { + "output": "21", + "command": "years-from-duration(xs:yearMonthDuration('P20Y15M')" + } + ], + "name": "years-from-duration()", + "output": "xs:integer?" + } + ], + "name": "Date / Time" + }, + { + "entries": [ + { + "arguments": [], + "description": "The fn:error function is a general function that may be invoked as above but may also be invoked from XQuery or XPath applications with, for example, an xs:QName argument.", + "documentationReferenceURL": "https://www.w3.org/TR/xquery-operators/#func-error", + "examples": [], + "name": "error()", + "output": "N/A" + }, + { + "arguments": [ + { + "description": "$label", + "type": "xs:string" + }, + { + "description": "$arg", + "type": "item()*" + } + ], + "description": "Provides an execution trace intended to be used in debugging queries. The input $value is returned, unchanged, as the result of the function. In addition, the inputs $value, converted to an xs:string, and $label may be directed to a trace data set. The destination of the trace output is ·implementation-defined·. The format of the trace output is ·implementation dependent·. The ordering of output from invocations of the fn:trace() function is ·implementation dependent·.", + "documentationReferenceURL": "https://www.w3.org/TR/xquery-operators/#func-trace", + "examples": [], + "name": "trace()", + "output": "item" + } + ], + "name": "Error" + }, + { + "entries": [ + { + "arguments": [ + { + "description": "$paramQName", + "type": "xs:string" + }, + { + "description": "$paramURI", + "type": "xs:string?" + } + ], + "description": "Returns an xs:QName with the namespace URI given in $paramURI.", + "documentationReferenceURL": "https://www.w3.org/TR/xquery-operators/#func-QName", + "examples": [ + { + "command": "QName('http://www.release11.com/schemas/Sample.xsd', 'u:UserList')", + "output": "u:UserList" + } + ], + "name": "QName()", + "output": "xs:QName" + }, + { + "arguments": [ + { + "description": "$element", + "type": "element()" + } + ], + "description": "Returns the prefixes of the in-scope namespaces for $element. For namespaces that have a prefix, it returns the prefix as an xs:NCName. For the default namespace, which has no prefix, it returns the zero-length string.", + "documentationReferenceURL": "https://www.w3.org/TR/xquery-operators/#func-in-scope-prefixes", + "examples": [ + { + "output": "('u', 'xsi', 'xml')", + "command": "in-scope-prefixes(/u:root)" + } + ], + "name": "in-scope-prefixes()", + "output": "xs:string*" + }, + { + "arguments": [ + { + "description": "$arg", + "type": "xs:QName?" + } + ], + "description": "Returns an xs:NCName representing the prefix of $arg. The empty sequence is returned if $arg is the empty sequence or if the value of $arg contains no prefix.", + "documentationReferenceURL": "https://www.w3.org/TR/xquery-operators/#func-local-name-from-QName", + "examples": [ + { + "command": "local-name-from-QName(resolve-QName('u:UserList', /u:root/u:UserList))", + "output": "UserList" + } + ], + "name": "local-name-from-QName()", + "output": "xs:NCName?" + }, + { + "arguments": [ + { + "description": "$element", + "type": "element()" + }, + { + "description": "$prefix", + "type": "xs:string?" + } + ], + "description": "Returns the namespace URI of one of the in-scope namespaces for $element, identified by its namespace prefix.", + "documentationReferenceURL": "https://www.w3.org/TR/xquery-operators/#func-namespace-uri-for-prefix", + "examples": [ + { + "output": "http://www.release11.com/schemas/Sample.xsd", + "command": "namespace-uri-for-prefix('u', /u:root)" + } + ], + "name": "namespace-uri-for-prefix()", + "output": "xs:anyURI?" + }, + { + "arguments": [ + { + "description": "$arg", + "type": "xs:QName?" + } + ], + "description": "Returns the namespace URI for $arg as an xs:anyURI. If $arg is the empty sequence, the empty sequence is returned. If $arg is in no namespace, the zero-length xs:anyURI is returned.", + "documentationReferenceURL": "https://www.w3.org/TR/xquery-operators/#func-namespace-uri-from-QName", + "examples": [ + { + "output": "http://www.release11.com/schemas/Sample.xsd", + "command": "namespace-uri-from-QName(resolve-QName('u:UserList', /u:root/u:UserList[1]))" + } + ], + "name": "namespace-uri-from-QName()", + "output": "xs:anyURI?" + }, + { + "arguments": [ + { + "description": "$arg", + "type": "xs:QName?" + } + ], + "description": "Returns an xs:NCName representing the prefix of $arg. The empty sequence is returned if $arg is the empty sequence or if the value of $arg contains no prefix.", + "documentationReferenceURL": "https://www.w3.org/TR/xquery-operators/#func-prefix-from-QName", + "examples": [ + { + "command": "prefix-from-QName(resolve-QName('u:UserList', /u:root/u:UserList))", + "output": "u" + } + ], + "name": "prefix-from-QName()", + "output": "xs:NCName?" + }, + { + "arguments": [ + { + "description": "$element", + "type": "element" + }, + { + "description": "$qname", + "type": "xs:string?" + } + ], + "description": "Returns an xs:QName value (that is, an expanded-QName) by taking an xs:string that has the lexical form of an xs:QName (a string in the form 'prefix:local-name' or 'local-name') and resolving it using the in-scope namespaces for a given element.", + "documentationReferenceURL": "https://www.w3.org/TR/xquery-operators/#func-resolve-QName", + "examples": [ + { + "output": "l:libraryID", + "command": "resolve-QName('l:libraryID', /l:library/l:libraryName)" + }, + { + "output": "hello", + "command": "resolve-QName('hello', /l:library/l:libraryName)" + } + ], + "name": "resolve-QName()", + "output": "xs:QName?" + }, + { + "arguments": [ + { + "description": "$base", + "type": "xs:string" + }, + { + "description": "$relative", + "type": "xs:string?" + } + ], + "description": "This function enables a relative URI reference to be resolved against an absolute URI. If $relative is a relative URI reference, it is resolved against $base, or against the base-uri property from the static context, using an algorithm such as those described in RFC 2396 or RFC 3986, and the resulting absolute URI reference is returned. If $relative is an absolute URI reference, it is returned unchanged.", + "documentationReferenceURL": "https://www.w3.org/TR/xquery-operators/#func-resolve-uri", + "examples": [], + "name": "resolve-uri()", + "output": "xs:anyURI?" + }, + { + "arguments": [], + "description": "Returns the value of the Base URI property from the static context. If the Base URI property is undefined, the empty sequence is returned. Components of the static context are discussed in Section C.1 Static Context ComponentsXP.", + "documentationReferenceURL": "https://www.w3.org/TR/xquery-operators/#func-static-base-uri", + "examples": [ + { + "output": "()", + "command": "static-base-uri()" + } + ], + "name": "static-base-uri()", + "output": "xs:QName?" + } + ], + "name": "Misc" + }, + { + "entries": [ + { + "arguments": [ + { + "description": "Node which URI is looked for", + "type": "node?" + } + ], + "description": "Returns the value of the base-uri URI property for $arg as defined by the accessor function dm:base-uri() for that kind of node in Section 5.2 base-uri AccessorDM.", + "documentationReferenceURL": "https://www.w3.org/TR/xquery-operators/#func-base-uri", + "examples": [ + { + "output": "", + "command": "base-uri(/u:root/u:UserList[1])" + } + ], + "name": "base-uri()", + "output": "xs:string" + }, + { + "arguments": [ + { + "description": "$arg (Look description)", + "type": "item()*" + } + ], + "description": "Returns the number of items in the value of $arg. Returns 0 if $arg is the empty sequence.", + "documentationReferenceURL": "https://www.w3.org/TR/xquery-operators/#func-root", + "examples": [ + { + "output": "10", + "command": "count(//u:UserList/u:User)" + }, + { + "output": "3", + "command": "count(//u:UserList)" + } + ], + "name": "count()", + "output": "number" + }, + { + "arguments": [ + { + "description": "Node which document-uri value needs to be returned.", + "type": "node?" + } + ], + "description": "Returns the value of the document-uri property for $arg as defined by the dm:document-uri accessor function defined in Section 6.1.2 AccessorsDM.", + "documentationReferenceURL": "https://www.w3.org/TR/xquery-operators/#func-document-uri", + "examples": [ + { + "command": "document-uri(/library/fiction:book[1])", + "output": "http://example.com/library.xml (assuming the document URI of the first fiction:book element is 'http://example.com/library.xml')" + }, + { + "output": "", + "command": "document-uri(/u:root)" + } + ], + "name": "document-uri()", + "output": "xs:string" + }, + { + "arguments": [ + { + "description": "$node (Look description)", + "type": "node?" + }, + { + "description": "$testlang (Look description)", + "type": "xs:string?" + } + ], + "description": "This function tests whether the language of $node, or the context item if the second argument is omitted, as specified by xml:lang attributes is the same as, or is a sublanguage of, the language specified by $testlang.", + "documentationReferenceURL": "https://www.w3.org/TR/xquery-operators/#func-lang", + "examples": [ + { + "command": "document-uri(/library/fiction:book[1])", + "output": "http://example.com/library.xml (assuming the document URI of the first fiction:book element is 'http://example.com/library.xml')" + }, + { + "output": "", + "command": "document-uri(/u:root)" + } + ], + "name": "lang()", + "output": "xs:string" + }, + { + "arguments": [ + { + "description": "Node to display local-name", + "type": "node?" + } + ], + "description": "Returns the local part of the name of $arg as an xs:string that will either be the zero-length string or will have the lexical form of an xs:NCName. If the argument is omitted, it defaults to the context item (.). The behavior of the function if the argument is omitted is exactly the same as if the context item had been passed as the argument.", + "documentationReferenceURL": "https://www.w3.org/TR/xquery-operators/#func-local-name", + "examples": [ + { + "command": "name(/u:root)", + "output": "root" + } + ], + "name": "local-name()", + "output": "xs:string" + }, + { + "arguments": [ + { + "description": "Node to display name", + "type": "node?" + } + ], + "description": "Returns the name of a node, as an xs:string that is either the zero-length string, or has the lexical form of an xs:QName. If the argument is omitted, it defaults to the context item (.). The behavior of the function if the argument is omitted is exactly the same as if the context item had been passed as the argument.", + "documentationReferenceURL": "https://www.w3.org/TR/xquery-operators/#func-name", + "examples": [ + { + "command": "name(/u:root)", + "output": "u:root" + } + ], + "name": "name()", + "output": "xs:string" + }, + { + "arguments": [ + { + "description": "Node to test", + "type": "node?" + } + ], + "description": "Returns an xs:boolean indicating whether the argument node is 'nilled'. If the argument is not an element node, returns the empty sequence. If the argument is the empty sequence, returns the empty sequence.", + "documentationReferenceURL": "https://www.w3.org/TR/xquery-operators/#func-nilled", + "examples": [ + { + "output": "false", + "command": "nilled(/u:root)" + } + ], + "name": "nilled()", + "output": "xs:boolean" + }, + { + "arguments": [ + { + "description": "$arg (Look description)", + "type": "node?" + } + ], + "description": "Returns the root of the tree to which $arg belongs. This will usually, but not necessarily, be a document node.", + "documentationReferenceURL": "https://www.w3.org/TR/xquery-operators/#func-root", + "examples": [ + { + "output": "", + "command": "root(//u:UserList[1])" + } + ], + "name": "root()", + "output": "node" + } + ], + "name": "Node-Set" + }, + { + "entries": [ + { + "arguments": [ + { + "description": "$arg", + "type": "numeric?" + } + ], + "description": "Returns the absolute value of $arg.", + "documentationReferenceURL": "https://www.w3.org/TR/xquery-operators/#func-abs", + "examples": [ + { + "output": "25", + "command": "abs(-25)" + }, + { + "output": "25", + "command": "abs(25)" + } + ], + "name": "abs()", + "output": "numeric?" + }, + { + "arguments": [ + { + "description": "$arg", + "type": "xs:anyAtomicType*" + } + ], + "description": "Returns the number of items in the value of $arg. Returns 0 if $arg is the empty sequence.", + "documentationReferenceURL": "https://www.w3.org/TR/xquery-operators/#func-avg", + "examples": [ + { + "output": "2.6", + "command": "avg(//u:User/@Id)" + } + ], + "name": "avg()", + "output": "xs:anyAtomicType" + }, + { + "arguments": [ + { + "description": "$arg", + "type": "numeric?" + } + ], + "description": "Returns the smallest (closest to negative infinity) number with no fractional part that is not less than the value of $arg.", + "documentationReferenceURL": "https://www.w3.org/TR/xquery-operators/#func-ceiling", + "examples": [ + { + "output": "11", + "command": "ceiling(10.1)" + }, + { + "output": "10", + "command": "ceiling(-10.5)" + }, + { + "output": "11", + "command": "ceiling(10.5)" + } + ], + "name": "ceiling()", + "output": "numeric?" + }, + { + "arguments": [ + { + "description": "$arg", + "type": "numeric?" + } + ], + "description": "Returns the largest (closest to positive infinity) number with no fractional part that is not greater than the value of $arg.", + "documentationReferenceURL": "https://www.w3.org/TR/xquery-operators/#func-floor", + "examples": [ + { + "output": "10", + "command": "floor(10.1)" + }, + { + "output": "-11", + "command": "floor(-10.5)" + }, + { + "output": "10", + "command": "floor(10.5)" + } + ], + "name": "floor()", + "output": "numeric?" + }, + { + "arguments": [ + { + "description": "$collation", + "type": "xs:string?" + }, + { + "description": "$arg", + "type": "xs:anyAtomicType*" + } + ], + "description": "Selects an item from the input sequence $arg whose value is greater than or equal to the value of every other item in the input sequence. If there are two or more such items, then the specific item whose value is returned is ·implementation dependent·.", + "documentationReferenceURL": "https://www.w3.org/TR/xquery-operators/#func-max", + "examples": [ + { + "output": "5", + "command": "max(//u:User/@Id)" + } + ], + "name": "max()", + "output": "xs:anyAtomicType" + }, + { + "arguments": [ + { + "description": "$collation", + "type": "xs:string?" + }, + { + "description": "$arg", + "type": "xs:anyAtomicType*" + } + ], + "description": "Selects an item from the input sequence $arg whose value is less than or equal to the value of every other item in the input sequence. If there are two or more such items, then the specific item whose value is returned is ·implementation dependent·.", + "documentationReferenceURL": "https://www.w3.org/TR/xquery-operators/#func-min", + "examples": [ + { + "output": "1", + "command": "min(//u:User/@Id)" + } + ], + "name": "min()", + "output": "xs:anyAtomicType" + }, + { + "arguments": [ + { + "description": "Value to convert to number", + "type": "xs:anyAtomicType?" + } + ], + "description": "Returns the value indicated by $arg or, if $arg is not specified, the context item after atomization, converted to an xs:double.", + "documentationReferenceURL": "https://www.w3.org/TR/xquery-operators/#func-number", + "examples": [ + { + "output": "NaN", + "command": "number('Release11')" + }, + { + "output": "123", + "command": "number(123)" + } + ], + "name": "number()", + "output": "xs:double" + }, + { + "arguments": [ + { + "description": "$arg", + "type": "numeric?" + } + ], + "description": "Returns the number with no fractional part that is closest to the argument.", + "documentationReferenceURL": "https://www.w3.org/TR/xquery-operators/#func-round", + "examples": [ + { + "output": "10", + "command": "round(10.1)" + }, + { + "output": "-10", + "command": "round(-10.5)" + }, + { + "output": "11", + "command": "round(10.5)" + } + ], + "name": "round()", + "output": "numeric?" + }, + { + "arguments": [ + { + "description": "$precision", + "type": "numeric?" + }, + { + "description": "$arg", + "type": "numeric?" + } + ], + "description": "The value returned is the nearest (that is, numerically closest) value to $arg that is a multiple of ten to the power of minus $precision. If two such values are equally near (e.g. if the fractional part in $arg is exactly .500...), the function returns the one whose least significant digit is even.", + "documentationReferenceURL": "https://www.w3.org/TR/xquery-operators/#round-half-to-even", + "examples": [ + { + "output": "3", + "command": "round-half-to-even(2.6)" + }, + { + "output": "2", + "command": "round-half-to-even(2.5)" + }, + { + "output": "2", + "command": "round-half-to-even(1.5)" + }, + { + "output": "0", + "command": "round-half-to-even(0.5)" + } + ], + "name": "round-half-to-even()", + "output": "numeric?" + }, + { + "arguments": [ + { + "description": "$zero", + "type": "xs:anyAtomicType?" + }, + { + "description": "$arg", + "type": "xs:anyAtomicType*" + } + ], + "description": "Returns a value obtained by adding together the values in $arg. If $zero is not specified, then the value returned for an empty sequence is the xs:integer value 0. If $zero is specified, then the value returned for an empty sequence is $zero. Any values of type xs:untypedAtomic in $arg are cast to xs:double. The items in the resulting sequence may be reordered in an arbitrary order. The resulting sequence is referred to below as the converted sequence.", + "documentationReferenceURL": "https://www.w3.org/TR/xquery-operators/#func-sum", + "examples": [ + { + "output": "26", + "command": "sum(//u:User/@Id)" + } + ], + "name": "sum()", + "output": "xs:anyAtomicType" + } + ], + "name": "Number" + }, + { + "entries": [ + { + "arguments": [ + { + "description": "$collation", + "type": "xs:string" + }, + { + "description": "$comparand2", + "type": "xs:string?" + }, + { + "description": "$comparand1", + "type": "xs:string?" + } + ], + "description": "Returns true or false depending on whether the value of $comparand1 is equal to the value of $comparand2, according to the Unicode code point collation.", + "documentationReferenceURL": "https://www.w3.org/TR/xquery-operators/#func-codepoint-equal", + "examples": [ + { + "command": "codepoint-equal('asdf', 'asdf ')", + "output": "false" + }, + { + "command": "codepoint-equal('asdf', 'asdf')", + "output": "true" + } + ], + "name": "codepoint-equal()", + "output": "xs:boolean?" + }, + { + "arguments": [ + { + "description": "$arg", + "type": "xs:integer*" + } + ], + "description": "Creates an xs:string from a sequence of The Unicode Standard code points. Returns the zero-length string if $arg is the empty sequence. If any of the code points in $arg is not a legal XML character, an error is raised [err:FOCH0001].", + "documentationReferenceURL": "https://www.w3.org/TR/xquery-operators/#func-codepoints-to-string", + "examples": [ + { + "output": "( ͡° ͜ʖ ͡°)", + "command": "codepoints-to-string((40, 32, 865, 176, 32, 860, 662, 32, 865, 176, 41))" + }, + { + "command": "codepoints-to-string((2309, 2358, 2378, 2325))", + "output": "अशॊक" + } + ], + "name": "codepoints-to-string()", + "output": "xs:string" + }, + { + "arguments": [ + { + "description": "$collation", + "type": "xs:string?" + }, + { + "description": "$comparand2", + "type": "xs:string?" + }, + { + "description": "$comparand1", + "type": "xs:string?" + } + ], + "description": "Returns -1, 0, or 1, depending on whether the value of the $comparand1 is respectively less than, equal to, or greater than the value of $comparand2, according to the rules of the collation that is used.", + "documentationReferenceURL": "https://www.w3.org/TR/xquery-operators/#func-compare", + "examples": [ + { + "output": "1", + "command": "compare('abc', 'acc')" + }, + { + "output": "-1", + "command": "compare('abc', 'acc')" + }, + { + "output": "0", + "command": "compare('abc', 'abc')" + } + ], + "name": "compare()", + "output": "xs:integer?" + }, + { + "arguments": [ + { + "description": "$arg..", + "type": "xs:anyAtomicType?" + }, + { + "description": "$arg2", + "type": "xs:anyAtomicType?" + }, + { + "description": "$arg1", + "type": "xs:anyAtomicType?" + } + ], + "description": " Accepts two or more xs:anyAtomicType arguments and casts them to xs:string. Returns the xs:string that is the concatenation of the values of its arguments after conversion. If any of the arguments is the empty sequence, the argument is treated as the zero-length string.", + "documentationReferenceURL": "https://www.w3.org/TR/xquery-operators/#func-concat", + "examples": [ + { + "output": "Ciao!", + "command": "concat('Ciao!',())" + }, + { + "command": "concat('Thy ', (), 'old ', 'groans', '', ' ring', ' yet', ' in', ' my', 'ancient',' ears.')", + "output": "Thy old groans ring yet in my ancient ears." + }, + { + "command": "concat('un', 'grateful')", + "output": "ungrateful" + } + ], + "name": "concat()", + "output": "xs:string" + }, + { + "arguments": [ + { + "description": "$collation", + "type": "xs:string?" + }, + { + "description": "$arg2", + "type": "xs:string?" + }, + { + "description": "$arg1", + "type": "xs:string?" + } + ], + "description": "Returns an xs:boolean indicating whether or not the value of $arg1 contains (at the beginning, at the end, or anywhere within) at least one sequence of collation units that provides a minimal match to the collation units in the value of $arg2, according to the collation that is used.", + "documentationReferenceURL": "https://www.w3.org/TR/xquery-operators/#func-contains", + "examples": [ + { + "command": "contains ( '', ())", + "output": "true" + }, + { + "command": "contains( 'tattoo', 'ttt')", + "output": "false" + }, + { + "command": "contains( 'tattoo', 'tat')", + "output": "true" + } + ], + "name": "contains()", + "output": "xs:boolean" + }, + { + "arguments": [ + { + "description": "$uri-part", + "type": "xs:string?" + } + ], + "description": "This function encodes reserved characters in an xs:string that is intended to be used in the path segment of a URI. It is invertible but not idempotent.", + "documentationReferenceURL": "https://www.w3.org/TR/xquery-operators/#func-encode-for-uri", + "examples": [ + { + "command": "concat('http://www.example.com/', encode-for-uri('100% organic'))", + "output": "http://www.example.com/100%25%20organic" + }, + { + "command": "concat('http://www.example.com/', encode-for-uri('~bébé'))", + "output": "http://www.example.com/~b%C3%A9b%C3%A9" + }, + { + "command": "encode-for-uri('https://www.google.com')", + "output": "https%3A%2F%2Fwww.google.com" + } + ], + "name": "encode-for-uri()", + "output": "xs:string" + }, + { + "arguments": [ + { + "description": "$collation", + "type": "xs:string?" + }, + { + "description": "$arg2", + "type": "xs:string?" + }, + { + "description": "$arg1", + "type": "xs:string?" + } + ], + "description": "Returns an xs:boolean indicating whether or not the value of $arg1 starts with a sequence of collation units that provides a match to the collation units of $arg2 according to the collation that is used.", + "documentationReferenceURL": "https://www.w3.org/TR/xquery-operators/#func-ends-with", + "examples": [ + { + "command": "ends-with ( '', ())", + "output": "true" + }, + { + "command": "ends-with( 'tattoo', 'tatoo')", + "output": "false" + }, + { + "command": "ends-with('tattoo', 'too')", + "output": "true" + } + ], + "name": "ends-with(()", + "output": "xs:boolean" + }, + { + "arguments": [ + { + "description": "$uri", + "type": "xs:string?" + } + ], + "description": "This function escapes all characters except printable characters of the US-ASCII coded character set, specifically the octets ranging from 32 to 126 (decimal). The effect of the function is to escape a URI in the manner html user agents handle attribute values that expect URIs.", + "documentationReferenceURL": "https://www.w3.org/TR/xquery-operators/#func-escape-html-uri", + "examples": [ + { + "command": "escape-html-uri('http://www.example.com/00/Weather/CA/Los Angeles#ocean')", + "output": "http://www.example.com/00/Weather/CA/Los Angeles#ocean'" + } + ], + "name": "escape-html-uri()", + "output": "xs:string" + }, + { + "arguments": [ + { + "description": "$iri", + "type": "xs:string?" + } + ], + "description": "This function converts an xs:string containing an IRI into a URI according to the rules spelled out in Section 3.1 of [RFC 3987]. It is idempotent but not invertible.", + "documentationReferenceURL": "https://www.w3.org/TR/xquery-operators/#func-iri-to-uri", + "examples": [ + { + "output": "http://www.example.com/~b%C3%A9b%C3%A9", + "command": "iri-to-uri ('http://www.example.com/~bébé')" + }, + { + "output": "http://www.example.com/00/Weather/CA/Los%20Angeles#ocean", + "command": "iri-to-uri ('http://www.example.com/00/Weather/CA/Los%20Angeles#ocean')" + } + ], + "name": "iri-to-uri()", + "output": "xs:string" + }, + { + "arguments": [ + { + "description": "$flags", + "type": "xs:string?" + }, + { + "description": "$pattern", + "type": "xs:string?" + }, + { + "description": "$input", + "type": "xs:string?" + } + ], + "description": "The function returns true if $input matches the regular expression supplied as $pattern as influenced by the value of $flags, if present; otherwise, it returns false.", + "documentationReferenceURL": "https://www.w3.org/TR/xquery-operators/#func-matches", + "examples": [ + { + "output": "false", + "command": "matches('abracadabra', '^a.*a$')" + }, + { + "command": "matches('abracadabra', 'bra')", + "output": "true" + } + ], + "name": "matches()", + "output": "xs:boolean" + }, + { + "arguments": [ + { + "description": "$arg", + "type": "xs:string?" + } + ], + "description": "Returns the value of $arg with whitespace normalized by stripping leading and trailing whitespace and replacing sequences of one or more than one whitespace character with a single space.", + "documentationReferenceURL": "https://www.w3.org/TR/xquery-operators/#func-normalize-space", + "examples": [ + { + "output": "''", + "command": "normalize-space(())" + }, + { + "command": "normalize-space(' The wealthy curled darlings of our nation. ')", + "output": "The wealthy curled darlings of our nation.'" + } + ], + "name": "normalize-space()", + "output": "xs:string" + }, + { + "arguments": [ + { + "description": "$normalizationForm", + "type": "xs:string?" + }, + { + "description": "$arg", + "type": "xs:string?" + } + ], + "description": "Returns the value of $arg normalized according to the normalization criteria for a normalization form identified by the value of $normalizationForm. The effective value of the $normalizationForm is computed by removing leading and trailing blanks, if present, and converting to upper case.", + "documentationReferenceURL": "https://www.w3.org/TR/xquery-operators/#func-normalize-unicode", + "examples": [ + { + "output": "'test'", + "command": "normalize-unicode('test ')" + } + ], + "name": "normalize-unicode()", + "output": "xs:string" + }, + { + "arguments": [ + { + "description": "$flags", + "type": "xs:string?" + }, + { + "description": "$replacement", + "type": "xs:string" + }, + { + "description": "$startingLoc", + "type": "xs:string" + }, + { + "description": "$comparand1", + "type": "xs:string?" + } + ], + "description": "The function returns the xs:string that is obtained by replacing each non-overlapping substring of $input that matches the given $pattern with an occurrence of the $replacement string.", + "documentationReferenceURL": "https://www.w3.org/TR/xquery-operators/#func-replace", + "examples": [ + { + "output": "b", + "command": "replace('AAAA', 'A+', 'b')" + }, + { + "output": "ada", + "command": "replace('abracadabra', 'a.*a, '*')" + }, + { + "output": "a*cada*", + "command": "replace('abracadabra', 'bra', '*')" + } + ], + "name": "replace()", + "output": "xs:string" + }, + { + "arguments": [ + { + "description": "$collation", + "type": "xs:string?" + }, + { + "description": "$arg2", + "type": "xs:string?" + }, + { + "description": "$arg1", + "type": "xs:string?" + } + ], + "description": "Returns an xs:boolean indicating whether or not the value of $arg1 starts with a sequence of collation units that provides a match to the collation units of $arg2 according to the collation that is used.", + "documentationReferenceURL": "https://www.w3.org/TR/xquery-operators/#func-starts-with", + "examples": [ + { + "command": "starts-with ( '', ())", + "output": "true" + }, + { + "output": "false", + "command": "starts-with('tattoo', 'ttt')" + }, + { + "command": "starts-with('tattoo', 'tat')", + "output": "true" + } + ], + "name": "starts-with(()", + "output": "xs:boolean" + }, + { + "arguments": [ + { + "description": "$arg", + "type": "item()?" + } + ], + "description": "Returns the value of $arg represented as a xs:string. If no argument is supplied, the context item (.) is used as the default argument.", + "documentationReferenceURL": "https://www.w3.org/TR/xquery-operators/#func-string", + "examples": [ + { + "output": "0.11", + "command": "string(.11)" + }, + { + "output": "false", + "command": "string((1<0))" + } + ], + "name": "string()", + "output": "xs:string" + }, + { + "arguments": [ + { + "description": "$collation", + "type": "xs:string" + }, + { + "description": "$arg2", + "type": "xs:string" + }, + { + "description": "$arg1", + "type": "xs:string*" + } + ], + "description": "Returns a xs:string created by concatenating the members of the $arg1 sequence using $arg2 as a separator. If the value of $arg2 is the zero-length string, then the members of $arg1 are concatenated without a separator.", + "documentationReferenceURL": "https://www.w3.org/TR/xquery-operators/#func-string-join", + "examples": [ + { + "output": "Blow, blow, thou winter wind!", + "command": "string-join(('Blow, ', 'blow, ', 'thou ', 'winter ', 'wind!'), '')" + }, + { + "output": "Now is the time ...", + "command": "string-join(('Now', 'is', 'the', 'time', '...'), ' ')" + } + ], + "name": "string-join()", + "output": "xs:string" + }, + { + "arguments": [ + { + "description": "$arg", + "type": "xs:string?" + } + ], + "description": "Returns the portion of the value of $sourceString beginning at the position indicated by the value of $startingLoc and continuing for the number of characters indicated by the value of $length. The characters returned do not extend beyond $sourceString.", + "documentationReferenceURL": "https://www.w3.org/TR/xquery-operators/#func-string-length", + "examples": [ + { + "output": "0", + "command": "string-length(())" + }, + { + "output": "45", + "command": "string-length('Harp not on that string, madam; that is past.')" + } + ], + "name": "string-length()", + "output": "xs:integer" + }, + { + "arguments": [ + { + "description": "$arg", + "type": "xs:string*" + } + ], + "description": "Returns the sequence of The Unicode Standard code points that constitute an xs:string. If $arg is a zero-length string or the empty sequence, the empty sequence is returned.", + "documentationReferenceURL": "https://www.w3.org/TR/xquery-operators/#func-min", + "examples": [ + { + "output": "https://www.w3.org/TR/xquery-operators/#func-string-to-codepoints", + "command": "string-to-codepoints('Thérèse')" + } + ], + "name": "string-to-codepoints()", + "output": "xs:integer*" + }, + { + "arguments": [ + { + "description": "$arg", + "type": "xs:string?" + } + ], + "description": "Returns the value of $arg after translating every character to its lower-case correspondent as defined in the appropriate case mappings section in the Unicode standard.", + "documentationReferenceURL": "https://www.w3.org/TR/xquery-operators/#func-lower-case", + "examples": [ + { + "output": "abcd0", + "command": "lower-case('abCd0')" + } + ], + "name": "substring()", + "output": "xs:string" + }, + { + "arguments": [ + { + "description": "$length", + "type": "xs:double?" + }, + { + "description": "$startingLoc", + "type": "xs:double" + }, + { + "description": "$comparand1", + "type": "xs:string?" + } + ], + "description": "Returns the portion of the value of $sourceString beginning at the position indicated by the value of $startingLoc and continuing for the number of characters indicated by the value of $length. The characters returned do not extend beyond $sourceString.", + "documentationReferenceURL": "https://www.w3.org/TR/xquery-operators/#func-substring", + "examples": [ + { + "output": "ada", + "command": "substring('metadata', 4, 3)" + }, + { + "output": "' car'", + "command": "substring('motor car', 6)" + } + ], + "name": "substring()", + "output": "xs:string" + }, + { + "arguments": [ + { + "description": "$collation", + "type": "xs:string?" + }, + { + "description": "$arg2", + "type": "xs:string?" + }, + { + "description": "$arg1", + "type": "xs:string?" + } + ], + "description": "Returns the substring of the value of $arg1 that follows in the value of $arg1 the first occurrence of a sequence of collation units that provides a minimal match to the collation units of $arg2 according to the collation that is used.", + "documentationReferenceURL": "https://www.w3.org/TR/xquery-operators/#func-substring-after", + "examples": [ + { + "command": "substring-after( 'tattoo', 'tat')", + "output": "too" + }, + { + "output": "''", + "command": "substring-after( 'tattoo', 'too')" + } + ], + "name": "substring-after()", + "output": "xs:string" + }, + { + "arguments": [ + { + "description": "$collation", + "type": "xs:string?" + }, + { + "description": "$arg2", + "type": "xs:string?" + }, + { + "description": "$arg1", + "type": "xs:string?" + } + ], + "description": "Returns the substring of the value of $arg1 that precedes in the value of $arg1 the first occurrence of a sequence of collation units that provides a minimal match to the collation units of $arg2 according to the collation that is used.", + "documentationReferenceURL": "https://www.w3.org/TR/xquery-operators/#func-substring-before", + "examples": [ + { + "output": "''", + "command": "substring-before( 'tattoo', 'tat')" + }, + { + "command": "substring-before( 'tattoo', 'too')", + "output": "tat" + } + ], + "name": "substring-before(()", + "output": "xs:string" + }, + { + "arguments": [ + { + "description": "$flags", + "type": "xs:string?" + }, + { + "description": "$pattern", + "type": "xs:string" + }, + { + "description": "$comparand1", + "type": "xs:string?" + } + ], + "description": "This function breaks the $input string into a sequence of strings, treating any substring that matches $pattern as a separator. The separators themselves are not returned.", + "documentationReferenceURL": "https://www.w3.org/TR/xquery-operators/#func-tokenize", + "examples": [ + { + "output": "('1', '15', '24', '50')", + "command": "tokenize('1, 15, 24, 50', '\\s*')" + }, + { + "output": "('The', 'cat', 'sat', 'on', 'the', 'mat')", + "command": "tokenize('The cat sat on the mat', '\\s+')" + } + ], + "name": "tokenize()", + "output": "xs:string*" + }, + { + "arguments": [ + { + "description": "$mapString", + "type": "xs:string" + }, + { + "description": "$mapString", + "type": "xs:string" + }, + { + "description": "$arg", + "type": "xs:string?" + } + ], + "description": "Returns the value of $arg modified so that every character in the value of $arg that occurs at some position N in the value of $mapString has been replaced by the character that occurs at position N in the value of $transString.", + "documentationReferenceURL": "https://www.w3.org/TR/xquery-operators/#func-translate", + "examples": [ + { + "output": "ABdAB", + "command": "translate('abcdabc', 'abc', 'AB')" + }, + { + "output": "AAA", + "command": "translate('--aaa--','abc-','ABC')" + }, + { + "output": "BAr", + "command": "translate('bar','abc','ABC')" + } + ], + "name": "translate()", + "output": "xs:string" + }, + { + "arguments": [ + { + "description": "$arg", + "type": "xs:string?" + } + ], + "description": "Returns the value of $arg after translating every character to its upper-case correspondent as defined in the appropriate case mappings section in the Unicode standard.", + "documentationReferenceURL": "https://www.w3.org/TR/xquery-operators/#func-upper-case", + "examples": [ + { + "output": "ABCD0", + "command": "upper-case('abCd0')" + } + ], + "name": "upper-case()", + "output": "xs:string" + } + ], + "name": "String" + } +] \ No newline at end of file diff --git a/Frontend/src/assets/tooltips/xpath/xpath3.json b/Frontend/src/assets/tooltips/xpath/xpath3.json new file mode 100644 index 0000000..810702f --- /dev/null +++ b/Frontend/src/assets/tooltips/xpath/xpath3.json @@ -0,0 +1,3109 @@ +[ + { + "entries": [ + { + "arguments": [ + { + "name": "$arg", + "type": "item()*", + "description": "sequence of arguments" + } + ], + "description": "Computes the effective boolean value of the sequence $arg.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-boolean", + "examples": [ + { + "command": "boolean(\"true\")", + "output": "true" + } + ], + "name": "boolean()", + "output": "boolean" + }, + { + "arguments": [], + "description": "Returns the xs:boolean value false.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-false", + "examples": [ + { + "output": "false", + "command": "false()" + } + ], + "name": "false()", + "output": "boolean" + }, + { + "arguments": [ + { + "name": "$arg", + "type": "item()*", + "description": "sequence of arguments" + } + ], + "description": "Returns true if the effective boolean value of $arg is false, or false if it is true", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-not", + "examples": [ + { + "output": "false", + "command": "not(\"true\")" + } + ], + "name": "not()", + "output": "boolean" + }, + { + "arguments": [], + "description": "Returns the xs:boolean value true.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-true", + "examples": [ + { + "output": "true", + "command": "true()" + } + ], + "name": "true()", + "output": "boolean" + } + ], + "name": "Boolean" + }, + { + "entries": [ + { + "arguments": [ + { + "name": "$arg", + "type": "any()*", + "description": "sequence" + } + ], + "description": "Returns the average of the values in the input sequence $arg, that is, the sum of the values divided by the number of values.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-avg", + "examples": [ + { + "output": "10", + "command": "avg( (5,10,15) )" + } + ], + "name": "avg()", + "output": "any?" + }, + { + "arguments": [ + { + "name": "$arg", + "type": "item()*", + "description": "sequence" + } + ], + "description": "Returns the number of items in a sequence.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-count", + "examples": [ + { + "output": "2", + "command": "count( ('release','11') )" + } + ], + "name": "count()", + "output": "integer" + }, + { + "arguments": [ + { + "name": "$collation", + "description": "collation", + "type": "string?" + }, + { + "name": "$parameter1", + "description": "first sequence", + "type": "item()*" + }, + { + "name": "$parameter2", + "type": "item()*", + "description": "second sequence" + } + ], + "description": "This function assesses whether two sequences are deep-equal to each other. To be deep-equal, they must contain items that are pairwise deep-equal", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-deep-equal", + "examples": [ + { + "command": "deep-equal( ('release','11') , ('release','11') )", + "output": "true" + } + ], + "name": "deep-equal()", + "output": "boolean" + }, + { + "arguments": [ + { + "name": "$arg", + "type": "any()*", + "description": "base sequence" + }, + { + "name": "$collation", + "description": "collation", + "type": "string?" + } + ], + "description": "Returns the values that appear in a sequence, with duplicates eliminated.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-distinct-values", + "examples": [ + { + "output": "('release','11','tools')", + "command": "distinct-values(('release','release','11','tools'))" + } + ], + "name": "distinct-values()", + "output": "any()*" + }, + { + "arguments": [ + { + "name": "$arg", + "description": "input items", + "type": "item()*" + } + ], + "description": "Returns true if the argument is the empty sequence.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-empty", + "examples": [ + { + "command": "empty(//u:UserList[1]/u:User[1111])", + "output": "true" + } + ], + "name": "empty()", + "output": "boolean" + }, + { + "arguments": [ + { + "name": "$arg", + "type": "item()*", + "description": "sequence" + } + ], + "description": "Returns $arg if it contains exactly one item. Otherwise, raises an error.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-exactly-one", + "examples": [ + { + "command": "exactly-one( ('release','11') )", + "output": "Raises an error" + } + ], + "name": "exactly-one()", + "output": "item" + }, + { + "arguments": [ + { + "name": "$arg", + "description": "input items", + "type": "item()*" + } + ], + "description": "Returns true if the argument is a non-empty sequence.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-empty", + "examples": [ + { + "command": "exists(//u:UserList[1]/u:User[1111])", + "output": "false" + } + ], + "name": "exists()", + "output": "boolean" + }, + { + "arguments": [ + { + "name": "$arg", + "description": "input items", + "type": "item()*" + } + ], + "description": "Returns the first item in a sequence.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-head", + "examples": [ + { + "output": "First item in UserList with childrens", + "command": "head(//u:UserList)" + } + ], + "name": "head()", + "output": "item()?" + }, + { + "arguments": [ + { + "name": "$collation", + "description": "collation", + "type": "string?" + }, + { + "name": "$search", + "type": "any", + "description": "item to find" + }, + { + "name": "$seq", + "type": "any()*", + "description": "base sequence" + } + ], + "description": "Returns a sequence of positive integers giving the positions within the sequence $seq of items that are equal to $search.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-index-of", + "examples": [ + { + "output": "(1,2)", + "command": "index-of(('release','release','11','tools'),'release')" + } + ], + "name": "index-of()", + "output": "integer*" + }, + { + "arguments": [ + { + "name": "$nodes", + "description": "input nodes", + "type": "node()*" + } + ], + "description": "Returns every node within the input sequence that is not an ancestor of another member of the input sequence; the nodes are returned in document order with duplicates eliminated.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-innermost", + "examples": [ + { + "command": "innermost(//u:UserList[1])", + "output": "node with childrens" + } + ], + "name": "innermost()", + "output": "node()*" + }, + { + "arguments": [ + { + "name": "$inserts", + "type": "item()*", + "description": "itemst to insert" + }, + { + "name": "$position", + "type": "integer", + "description": "position where insert data" + }, + { + "name": "$target", + "description": "base sequence", + "type": "item()*" + } + ], + "description": "Returns a sequence constructed by inserting an item or a sequence of items at a given position within an existing sequence.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-insert-before", + "examples": [ + { + "output": "First UserList with 'hello' on the start", + "command": "insert-before(//u:UserList[1],1,\"hello\")" + } + ], + "name": "insert-before()", + "output": "item()*" + }, + { + "arguments": [], + "description": "Returns the context size from the dynamic context", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-last", + "examples": [ + { + "command": "//u:UserList[last()]", + "output": "Last UserList" + } + ], + "name": "last()", + "output": "integer" + }, + { + "arguments": [ + { + "name": "$arg", + "type": "any()*", + "description": "sequence" + }, + { + "name": "$collation", + "description": "collation", + "type": "string" + } + ], + "description": "Returns a value that is equal to the highest value appearing in the input sequence.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-max", + "examples": [ + { + "output": "15", + "command": "max( (5,10,15) )" + } + ], + "name": "max()", + "output": "any?" + }, + { + "arguments": [ + { + "name": "$arg", + "type": "any()*", + "description": "sequence" + }, + { + "name": "$collation", + "description": "collation", + "type": "string" + } + ], + "description": "Returns a value that is equal to the lowest value appearing in the input sequence.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-min", + "examples": [ + { + "output": "5", + "command": "min( (5,10,15) )" + } + ], + "name": "min()", + "output": "any?" + }, + { + "arguments": [ + { + "name": "$arg", + "type": "item()*", + "description": "sequence" + } + ], + "description": "Returns $arg if it contains one or more items. Otherwise, raises an error.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-one-or-more", + "examples": [ + { + "output": "('release','11')", + "command": "one-or-more( ('release','11') )" + } + ], + "name": "one-or-more()", + "output": "item+" + }, + { + "arguments": [ + { + "name": "$nodes", + "description": "input nodes", + "type": "node()*" + } + ], + "description": "Returns every node within the input sequence that has no ancestor that is itself a member of the input sequence; the nodes are returned in document order with duplicates eliminated.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-outermost", + "examples": [ + { + "output": "node with childrens", + "command": "outermost(//u:UserList[1]/u:User[1])" + } + ], + "name": "outermost()", + "output": "node()*" + }, + { + "arguments": [], + "description": "Returns the context position from the dynamic context.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-position", + "examples": [ + { + "command": "//u:UserList[position() = 2]", + "output": "UserList with index 2" + } + ], + "name": "position()", + "output": "integer" + }, + { + "arguments": [ + { + "name": "$position", + "type": "integer", + "description": "position where insert data" + }, + { + "name": "$target", + "description": "base sequence", + "type": "item()*" + } + ], + "description": "Returns a new sequence containing all the items of $target except the item at position $position.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-remove", + "examples": [ + { + "output": "First UserList witout second User", + "command": "remove(//u:UserList[1]/*,2)" + } + ], + "name": "remove()", + "output": "item()*" + }, + { + "arguments": [ + { + "name": "$arg", + "description": "base sequence", + "type": "item()*" + } + ], + "description": "Reverses the order of items in a sequence.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-reverse", + "examples": [ + { + "command": "reverse(//u:UserList[1]/*)", + "output": "Users from first UserList, but in reversed order(from Id=4 to Id=1)" + } + ], + "name": "reverse()", + "output": "item()*" + }, + { + "arguments": [ + { + "name": "$length", + "type": "double", + "description": "lenght to subsequence" + }, + { + "name": "$startingLoc", + "type": "double", + "description": "starting location" + }, + { + "name": "$surceSeq", + "description": "base sequence", + "type": "item()*" + } + ], + "description": "Returns the contiguous sequence of items in the value of $sourceSeq beginning at the position indicated by the value of $startingLoc and continuing for the number of items indicated by the value of $length.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-subsequence", + "examples": [ + { + "command": "subsequence(//u:UserList[1]/*,3,1)", + "output": "User on position 3" + } + ], + "name": "subsequence()", + "output": "item()*" + }, + { + "arguments": [ + { + "name": "$arg", + "type": "any()*", + "description": "sequence" + }, + { + "name": "$zero", + "type": "any?", + "description": "value to return when sum is 0" + } + ], + "description": "Returns a value obtained by adding together the values in $arg.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-sum", + "examples": [ + { + "output": "30", + "command": "sum( (5,10,15) )" + } + ], + "name": "sum()", + "output": "any?" + }, + { + "arguments": [ + { + "name": "$arg", + "description": "input items", + "type": "item()*" + } + ], + "description": "Returns all but the first item in a sequence", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-tail", + "examples": [ + { + "command": "tail(//u:UserList)", + "output": "UserList items without first element" + } + ], + "name": "tail()", + "output": "item()*" + }, + { + "arguments": [ + { + "name": "$surceSeq", + "description": "base sequence", + "type": "item()*" + } + ], + "description": "Returns the items of $sourceSeq in an implementation dependent order.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-unordered", + "examples": [ + { + "command": "unordered(//u:UserList[1]/*)", + "output": "Users from UserList" + } + ], + "name": "unordered()", + "output": "item()*" + }, + { + "arguments": [ + { + "name": "$arg", + "type": "item()*", + "description": "sequence" + } + ], + "description": "Returns $arg if it contains zero or one items. Otherwise, raises an error.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-zero-or-one", + "examples": [ + { + "output": "raises an error", + "command": "zero-or-one( ('release','11') )" + } + ], + "name": "zero-or-one()", + "output": "item?" + } + ], + "name": "Collections" + }, + { + "entries": [ + { + "arguments": [ + { + "name": "$arg", + "description": "date", + "type": "date?" + }, + { + "name": "$timezone", + "type": "dayTimeDuration?", + "description": "timezone" + } + ], + "description": "Adjusts an xs:date value to a specific timezone, or to no timezone at all; the result is the date in the target timezone that contains the starting instant of the supplied date.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-adjust-date-to-timezone", + "examples": [ + { + "output": "2002-03-07-10:00", + "command": "adjust-date-to-timezone(xs:date(\"2002-03-07\"), $tz-10)" + } + ], + "name": "adjust-date-to-timezone()", + "output": "date?" + }, + { + "arguments": [ + { + "name": "$arg", + "description": "datetime", + "type": "datetime?" + }, + { + "name": "$timezone", + "type": "dayTimeDuration?", + "description": "timezone" + } + ], + "description": "Adjusts an xs:dateTime value to a specific timezone, or to no timezone at all.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-adjust-dateTime-to-timezone", + "examples": [ + { + "command": "adjust-dateTime-to-timezone(xs:dateTime('2002-03-07T10:00:00'), $tz-10)", + "output": "dateTime('2002-03-07T10:00:00-10:00')" + } + ], + "name": "adjust-dateTime-to-timezone()", + "output": "dateTime?" + }, + { + "arguments": [ + { + "name": "$arg", + "description": "time", + "type": "time?" + }, + { + "name": "$timezone", + "type": "dayTimeDuration?", + "description": "timezone" + } + ], + "description": "Adjusts an xs:time value to a specific timezone, or to no timezone at all.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-adjust-time-to-timezone", + "examples": [ + { + "output": "10:00:00-10:00", + "command": "adjust-time-to-timezone(xs:time(\"10:00:00\"), $tz-10)" + } + ], + "name": "adjust-time-to-timezone()", + "output": "time?" + }, + { + "arguments": [], + "description": "Returns the current date.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-current-date", + "examples": [ + { + "output": "2023-08-17Z", + "command": "current-date()" + } + ], + "name": "current-date()", + "output": "date" + }, + { + "arguments": [], + "description": "Returns the current date and time (with timezone).", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-current-dateTime", + "examples": [ + { + "output": "2023-08-17T10:34:53.526001419Z", + "command": "current-dateTime()" + } + ], + "name": "current-dateTime()", + "output": "dateTimeStamp" + }, + { + "arguments": [], + "description": "Returns the current time.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-current-time", + "examples": [ + { + "output": "10:36:53.154103936Z", + "command": "current-time()" + } + ], + "name": "current-time()", + "output": "time" + }, + { + "arguments": [ + { + "name": "$arg", + "description": "date", + "type": "date?" + }, + { + "name": "$arg2", + "description": "time", + "type": "time?" + } + ], + "description": "Returns an xs:dateTime value created by combining an xs:date and an xs:time.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-dateTime", + "examples": [ + { + "output": "1999-12-31T12:00:00", + "command": "dateTime(xs:date(\"1999-12-31\"), xs:time(\"12:00:00\"))" + } + ], + "name": "dateTime()", + "output": "dateTime" + }, + { + "arguments": [ + { + "name": "$arg", + "description": "date", + "type": "date?" + } + ], + "description": "Returns the day component of an xs:date.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-day-from-date", + "examples": [ + { + "output": "31", + "command": "day-from-date(xs:date(\"1999-05-31\"))" + } + ], + "name": "day-from-date()", + "output": "integer?" + }, + { + "arguments": [ + { + "name": "$arg", + "description": "date", + "type": "dateTime?" + } + ], + "description": "Returns the day component of an xs:dateTime.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-day-from-dateTime", + "examples": [ + { + "output": "31", + "command": "day-from-dateTime(xs:dateTime(\"1999-05-31T13:20:00-05:00\"))" + } + ], + "name": "day-from-dateTime()", + "output": "integer?" + }, + { + "arguments": [ + { + "name": "$arg", + "description": "duration", + "type": "duration()" + } + ], + "description": "Returns the number of days in a duration.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-days-from-duration", + "examples": [ + { + "output": "3", + "command": "days-from-duration(xs:yearMonthDuration(\"P3DT10H\"))" + } + ], + "name": "days-from-duration()", + "output": "integer" + }, + { + "arguments": [ + { + "name": "$calendar", + "description": "calendar", + "type": "string?" + }, + { + "name": "$language", + "description": "language", + "type": "string?" + }, + { + "name": "$picture", + "description": "picture", + "type": "string?" + }, + { + "name": "$place", + "description": "place", + "type": "string?" + }, + { + "name": "$value", + "description": "date", + "type": "date?" + } + ], + "description": "Returns a string containing an xs:date value formatted for display.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-format-date", + "examples": [], + "name": "format-date()", + "output": "string?" + }, + { + "arguments": [ + { + "name": "$calendar", + "description": "calendar", + "type": "string?" + }, + { + "name": "$language", + "description": "language", + "type": "string?" + }, + { + "name": "$picture", + "description": "picture", + "type": "string?" + }, + { + "name": "$place", + "description": "place", + "type": "string?" + }, + { + "name": "$value", + "description": "datetime", + "type": "dateTime?" + } + ], + "description": "Returns a string containing an xs:dateTime value formatted for display.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-format-dateTime", + "examples": [], + "name": "format-dateTime()", + "output": "string?" + }, + { + "arguments": [ + { + "name": "$calendar", + "description": "calendar", + "type": "string?" + }, + { + "name": "$language", + "description": "language", + "type": "string?" + }, + { + "name": "$picture", + "description": "picture", + "type": "string?" + }, + { + "name": "$place", + "description": "place", + "type": "string?" + }, + { + "name": "$value", + "description": "time", + "type": "time?" + } + ], + "description": "RReturns a string containing an xs:time value formatted for display.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-format-time", + "examples": [], + "name": "format-time()", + "output": "string?" + }, + { + "arguments": [ + { + "name": "$arg", + "description": "date", + "type": "dateTime?" + } + ], + "description": "Returns the hours component of an xs:dateTime.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-hours-from-dateTime", + "examples": [ + { + "output": "13", + "command": "hours-from-dateTime(xs:dateTime(\"1999-05-31T13:20:00-05:00\"))" + } + ], + "name": "hours-from-dateTime()", + "output": "integer?" + }, + { + "arguments": [ + { + "name": "$arg", + "description": "duration", + "type": "duration()" + } + ], + "description": "Returns the number of hours in a duration.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-days-from-duration", + "examples": [ + { + "output": "10", + "command": "days-from-duration(xs:yearMonthDuration(\"P3DT10H\"))" + } + ], + "name": "hours-from-duration()", + "output": "integer" + }, + { + "arguments": [ + { + "name": "$arg", + "description": "time", + "type": "time?" + } + ], + "description": "Returns the hours component of an xs:time.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-hours-from-time", + "examples": [ + { + "output": "21", + "command": "hours-from-time(xs:time(\"21:37:37\"))" + } + ], + "name": "hours-from-time()", + "output": "integer?" + }, + { + "arguments": [], + "description": "Returns the value of the implicit timezone property from the dynamic context.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-implicit-timezone", + "examples": [ + { + "command": "implicit-timezone()", + "output": "PT0S" + } + ], + "name": "implicit-timezone()", + "output": "dayTimeDuration" + }, + { + "arguments": [ + { + "name": "$arg", + "description": "date", + "type": "dateTime?" + } + ], + "description": "Returns the minutes component of an xs:dateTime.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-minutes-from-dateTime", + "examples": [ + { + "output": "20", + "command": "minutes-from-dateTime(xs:dateTime(\"1999-05-31T13:20:00-05:00\"))" + } + ], + "name": "minutes-from-dateTime()", + "output": "integer?" + }, + { + "arguments": [ + { + "name": "$arg", + "description": "duration", + "type": "duration()" + } + ], + "description": "Returns the number of minutes in a duration.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-minutes-from-duration", + "examples": [ + { + "output": "0", + "command": "minutes-from-duration(xs:yearMonthDuration(\"P3DT10H\"))" + } + ], + "name": "minutes-from-duration()", + "output": "integer" + }, + { + "arguments": [ + { + "name": "$arg", + "description": "time", + "type": "time?" + } + ], + "description": "Returns the minutes component of an xs:time.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-minutes-from-time", + "examples": [ + { + "output": "37", + "command": "minutes-from-time(xs:time(\"21:37:37\"))" + } + ], + "name": "minutes-from-time()", + "output": "integer?" + }, + { + "arguments": [ + { + "name": "$arg", + "description": "date", + "type": "date?" + } + ], + "description": "Returns the month component of an xs:date.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-month-from-date", + "examples": [ + { + "output": "5", + "command": "month-from-date(xs:date(\"1999-05-31\"))" + } + ], + "name": "month-from-date()", + "output": "integer?" + }, + { + "arguments": [ + { + "name": "$arg", + "description": "date", + "type": "dateTime?" + } + ], + "description": "Returns the month component of an xs:dateTime.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-month-from-dateTime", + "examples": [ + { + "output": "5", + "command": "month-from-dateTime(xs:dateTime(\"1999-05-31T13:20:00-05:00\"))" + } + ], + "name": "month-from-dateTime()", + "output": "integer?" + }, + { + "arguments": [ + { + "name": "$arg", + "description": "duration", + "type": "duration()" + } + ], + "description": "Returns the number of months in a duration.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-months-from-duration", + "examples": [ + { + "output": "3", + "command": "months-from-duration(xs:yearMonthDuration(\"P20Y15M\"))" + } + ], + "name": "months-from-duration()", + "output": "integer" + }, + { + "arguments": [ + { + "name": "$arg", + "description": "date", + "type": "dateTime?" + } + ], + "description": "Returns the seconds component of an xs:dateTime.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-seconds-from-dateTime", + "examples": [ + { + "output": "1", + "command": "seconds-from-dateTime(xs:dateTime(\"1999-05-31T13:20:01-05:00\"))" + } + ], + "name": "seconds-from-dateTime()", + "output": "integer?" + }, + { + "arguments": [ + { + "name": "$arg", + "description": "duration", + "type": "duration()" + } + ], + "description": "Returns the number of seconds in a duration.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-seconds-from-duration", + "examples": [ + { + "output": "12.5", + "command": "seconds-from-duration(xs:yearMonthDuration(\"P3DT10H12.5S\"))" + } + ], + "name": "seconds-from-duration()", + "output": "integer" + }, + { + "arguments": [ + { + "name": "$arg", + "description": "time", + "type": "time?" + } + ], + "description": "Returns the seconds component of an xs:time.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-seconds-from-time", + "examples": [ + { + "output": "37", + "command": "seconds-from-time(xs:time(\"21:37:37\"))" + } + ], + "name": "seconds-from-time()", + "output": "integer?" + }, + { + "arguments": [ + { + "name": "$arg", + "description": "date", + "type": "date?" + } + ], + "description": "Returns the timezone component of an xs:date.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-timezone-from-date", + "examples": [ + { + "output": "-PT5H", + "command": "timezone-from-date(xs:date(\"1999-05-31-05:00\"))" + } + ], + "name": "timezone-from-date()", + "output": "dayTimeDuration?" + }, + { + "arguments": [ + { + "name": "$arg", + "description": "date", + "type": "dateTime?" + } + ], + "description": "Returns the timezone component of an xs:dateTime.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-timezone-from-dateTime", + "examples": [ + { + "output": "-PT5H", + "command": "timezone-from-dateTime(xs:dateTime(\"1999-05-31T13:20:01-05:00\"))" + } + ], + "name": "timezone-from-dateTime()", + "output": "integer?" + }, + { + "arguments": [ + { + "name": "$arg", + "description": "time", + "type": "time?" + } + ], + "description": "Returns the timezone component of an xs:time.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-timezone-from-time", + "examples": [ + { + "output": "-PT5H", + "command": "timezone-from-time(xs:time(\"21:37:37-05:00\"))" + } + ], + "name": "timezone-from-time()", + "output": "dayTimeDuration?" + }, + { + "arguments": [ + { + "name": "$arg", + "description": "date", + "type": "date?" + } + ], + "description": "Returns the year component of an xs:date.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-year-from-date", + "examples": [ + { + "output": "1999", + "command": "year-from-date(xs:date(\"1999-05-31\"))" + } + ], + "name": "year-from-date()", + "output": "integer?" + }, + { + "arguments": [ + { + "name": "$arg", + "description": "date", + "type": "dateTime?" + } + ], + "description": "Returns the year component of an xs:dateTime.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-year-from-dateTime", + "examples": [ + { + "output": "1999", + "command": "year-from-dateTime(xs:dateTime(\"1999-05-31T13:20:00-05:00\"))" + } + ], + "name": "year-from-dateTime()", + "output": "integer?" + }, + { + "arguments": [ + { + "name": "$arg", + "description": "duration", + "type": "duration()" + } + ], + "description": "Returns the number of years in a duration.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-years-from-duration", + "examples": [ + { + "output": "21", + "command": "years-from-duration(xs:yearMonthDuration(\"P20Y15M\"))" + } + ], + "name": "years-from-duration()", + "output": "integer" + } + ], + "name": "Date/Time" + }, + { + "entries": [ + { + "arguments": [ + { + "name": "$code", + "description": "Error code", + "type": "QName" + }, + { + "name": "$description", + "description": "Error description", + "type": "string" + }, + { + "name": "$eror-object", + "description": "Arbitrary value used to convey additional information about the error", + "type": "item()*" + } + ], + "description": "Calling the error function raises an application-defined error.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-error", + "examples": [ + { + "output": "Error signalled by application call on error()", + "command": "error()" + } + ], + "name": "error()", + "output": "Throws an error" + }, + { + "arguments": [ + { + "name": "$label", + "type": "string", + "description": "The label to put in tracing data" + }, + { + "name": "$value", + "type": "item()*", + "description": "The value to returns unchanged" + } + ], + "description": "Provides an execution trace intended to be used in debugging queries.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-trace", + "examples": [ + { + "output": "Returns data, if something changes returns label with value", + "command": "trace(//u:UserList[1]/u:User[last()]/u:DateOfDeath, 'the value is:')" + } + ], + "name": "trace()", + "output": "item()*" + } + ], + "name": "Error" + }, + { + "entries": [ + { + "arguments": [ + { + "name": "$f", + "description": "function to apply on every item in source collection", + "type": "function(item()*)" + }, + { + "name": "$seq", + "type": "item()*", + "description": "source collection" + } + ], + "description": "Returns those items from the sequence $seq for which the supplied function $f returns true.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-filter", + "examples": [ + { + "output": "(2, 4, 6, 8, 10)", + "command": "filter(1 to 10, function($a) {$a mod 2 = 0})" + } + ], + "name": "filter()", + "output": "item()*" + }, + { + "arguments": [ + { + "name": "$f", + "description": "function to apply on item in squence", + "type": "function(item()*)" + }, + { + "name": "$seq", + "type": "item()*", + "description": "source collection" + }, + { + "name": "$zero", + "description": "if source collection is empty", + "type": "item()*" + } + ], + "description": "Processes the supplied sequence from left to right, applying the supplied function repeatedly to each item in turn, together with an accumulated result value.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-fold-left", + "examples": [ + { + "output": "210", + "command": "fold-left((2,3,5,7), 1, function($a, $b) { $a * $b })" + } + ], + "name": "fold-left()", + "output": "item()*" + }, + { + "arguments": [ + { + "name": "$f", + "description": "function to apply on item in squence", + "type": "function(item()*)" + }, + { + "name": "$seq", + "type": "item()*", + "description": "source collection" + }, + { + "name": "$zero", + "description": "if source collection is empty", + "type": "item()*" + } + ], + "description": "Processes the supplied sequence from right to left, applying the supplied function repeatedly to each item in turn, together with an accumulated result value.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-fold-right", + "examples": [ + { + "output": "210", + "command": "fold-right((2,3,5,7), 1, function($a, $b) { $a * $b })" + } + ], + "name": "fold-right()", + "output": "item()*" + }, + { + "arguments": [ + { + "name": "$f", + "description": "function to apply on every item in source collection", + "type": "function(item()*)" + }, + { + "name": "$seq", + "type": "item()*", + "description": "source collection" + } + ], + "description": "Applies the function item $f to every item from the sequence $seq in turn, returning the concatenation of the resulting sequences in order.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-for-each", + "examples": [ + { + "output": "(1, 4, 9, 16, 25)", + "command": "for-each(1 to 5, function($a) { $a * $a })" + } + ], + "name": "for-each()", + "output": "item()*" + }, + { + "arguments": [ + { + "name": "$f", + "description": "function to apply on items in squence", + "type": "function(item()*)" + }, + { + "name": "$seq1", + "description": "first sequence", + "type": "item()*" + }, + { + "name": "$seq2", + "type": "item()*", + "description": "second sequence" + } + ], + "description": "Applies the function item $f to successive pairs of items taken one from $seq1 and one from $seq2, returning the concatenation of the resulting sequences in order.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-for-each-pair", + "examples": [ + { + "output": "(\"ax\", \"by\", \"cz\")", + "command": "for-each-pair((\"a\", \"b\", \"c\"), (\"x\", \"y\", \"z\"), concat#2)" + } + ], + "name": "for-each-pair()", + "output": "item()*" + }, + { + "arguments": [ + { + "name": "$func", + "description": "function", + "type": "function(*)" + } + ], + "description": "Returns the arity of the function identified by a function item.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-function-arity", + "examples": [ + { + "output": "2", + "command": "function-arity(substring#2)" + } + ], + "name": "function-arity()", + "output": "integer" + }, + { + "arguments": [ + { + "name": "$arity", + "type": "integer", + "description": "number of arguments" + }, + { + "name": "$name", + "description": "function Name", + "type": "QName" + } + ], + "description": "Returns the function having a given name and arity, if there is one.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-function-lookup", + "examples": [], + "name": "function-lookup()", + "output": "function(*)?" + }, + { + "arguments": [ + { + "name": "$func", + "description": "function", + "type": "function(*)" + } + ], + "description": "Returns the name of the function identified by a function item.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-function-name", + "examples": [ + { + "output": "fn:substring", + "command": "function-name(substring#2)" + } + ], + "name": "function-name()", + "output": "QName?" + } + ], + "name": "Loop/Conditional" + }, + { + "entries": [ + { + "arguments": [ + { + "name": "$paramQName", + "type": "QName parameter" + }, + { + "name": "$paramURI", + "type": "string?", + "description": "URI Parameter" + } + ], + "description": "Constructs an xs:QName value given a namespace URI and a lexical QName.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-QName", + "examples": [ + { + "command": "QName(\"http://www.release11.com/schemas/Sample.xsd\", \"u:User\")", + "output": "u:User" + } + ], + "name": "QName()", + "output": "QName" + }, + { + "arguments": [], + "description": "Returns a list of environment variable names that are suitable for passing to environment-variable()", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-available-environment-variables", + "examples": [ + { + "output": "('PATH','HOSTNAME','JAVA_HOME','PWD','JAVA_VERSION','LANG','HOME')", + "command": "available-environment-variables()" + } + ], + "name": "available-environment-variables()", + "output": "string()*" + }, + { + "arguments": [ + { + "name": "$arg", + "description": "collection uri", + "type": "string()?" + } + ], + "description": "Returns a sequence of nodes representing a collection of documents indentified by a collection URI; or a default collection if no URI is supplied.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-collection", + "examples": [ + { + "command": "collection()", + "output": "No default collection has been defined" + } + ], + "name": "collection()", + "output": "boolean" + }, + { + "arguments": [], + "description": "Returns the value of the default collation property from the static context.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-default-collation", + "examples": [ + { + "command": "default-collation()", + "output": "http://www.w3.org/2005/xpath-functions/collation/codepoint" + } + ], + "name": "default-collation()", + "output": "string" + }, + { + "arguments": [ + { + "name": "$uri", + "type": "string()?", + "description": "URI" + } + ], + "description": "Retrieves a document using a URI supplied as an xs:string, and returns the corresponding document node.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-doc", + "examples": [ + { + "command": "doc(\"\")", + "output": "xml source" + } + ], + "name": "doc()", + "output": "document-node?" + }, + { + "arguments": [ + { + "name": "$uri", + "type": "string()?", + "description": "URI" + } + ], + "description": "The function returns true if and only if the function call fn:doc($uri) would return a document node.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-doc-available", + "examples": [ + { + "command": "doc-available(\"http://api.nbp.pl/api/cenyzlota/today\")", + "output": "false" + } + ], + "name": "doc-available()", + "output": "boolean" + }, + { + "arguments": [ + { + "name": "$uri-part", + "type": "string?", + "description": "uri part" + } + ], + "description": "Encodes reserved characters in a string that is intended to be used in the path segment of a URI.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-encode-for-uri", + "examples": [ + { + "command": "encode-for-uri(\"release 11 tools\")", + "output": "release%2011%20tools" + } + ], + "name": "encode-for-uri()", + "output": "string" + }, + { + "arguments": [ + { + "name": "$name", + "description": "enviroment variable name", + "type": "string" + } + ], + "description": "Returns the value of a system environment variable, if it exists.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-environment-variable", + "examples": [ + { + "output": "C.UTF-8", + "command": "environment-variable(\"LANG\")" + } + ], + "name": "environment-variable()", + "output": "string()?" + }, + { + "arguments": [ + { + "name": "$uri", + "type": "string?", + "description": "uri" + } + ], + "description": "Escapes a URI in the same way that HTML user agents handle attribute values expected to contain URIs.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-escape-html-uri", + "examples": [ + { + "command": "escape-html-uri (\"http://www.example.com/00/Weather/CA/Los Angeles#ocean\")", + "output": "http://www.example.com/00/Weather/CA/Los Angeles#ocean" + } + ], + "name": "escape-html-uri()", + "output": "string" + }, + { + "arguments": [ + { + "name": "$element", + "type": "element()", + "description": "scope to get prefix from" + } + ], + "description": "Returns the prefixes of the in-scope namespaces for an element node.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-in-scope-prefixes", + "examples": [ + { + "output": "('u','xsi','xml')", + "command": "in-scope-prefixes(//u:UserList[1])" + } + ], + "name": "in-scope-prefixes()", + "output": "string*" + }, + { + "arguments": [ + { + "name": "$iri", + "description": "iri", + "type": "string?" + } + ], + "description": "Converts a string containing an IRI into a URI", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-iri-to-uri", + "examples": [ + { + "output": "http://tools.release11.com/?xpath&%20some%20additional%20data", + "command": "iri-to-uri(\"http://tools.release11.com/?xpath& some additional data\")" + } + ], + "name": "iri-to-uri()", + "output": "string" + }, + { + "arguments": [ + { + "name": "$node", + "description": "node to test", + "type": "node()?" + }, + { + "name": "$testlang", + "description": "language", + "type": "string()?" + } + ], + "description": "This function tests whether the language of $node, or the context item if the second argument is omitted, as specified by xml:lang attributes is the same as, or is a sublanguage of, the language specified by $testlang.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-lang", + "examples": [ + { + "output": "false", + "command": "lang('pl',//u:UserList[1])" + } + ], + "name": "lang()", + "output": "boolean" + }, + { + "arguments": [ + { + "name": "$arg", + "description": "QName", + "type": "QName?" + } + ], + "description": "Returns the local part of the supplied QName.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-local-name-from-QName", + "examples": [ + { + "command": "local-name-from-QName(xs:QName(\"u:User\"))", + "output": "User" + } + ], + "name": "local-name-from-QName()", + "output": "NCName" + }, + { + "arguments": [ + { + "name": "$element", + "description": "element where namespace exist", + "type": "element()" + }, + { + "name": "$prefix", + "description": "namespace prefix", + "type": "string?" + } + ], + "description": "Returns the namespace URI of one of the in-scope namespaces for $element, identified by its namespace prefix.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-namespace-uri-for-prefix", + "examples": [ + { + "output": "http://www.release11.com/schemas/Sample.xsd", + "command": "namespace-uri-for-prefix(\"u\",//u:UserList[1])" + } + ], + "name": "namespace-uri-for-prefix()", + "output": "URI?" + }, + { + "arguments": [ + { + "name": "$arg", + "description": "QName", + "type": "QName?" + } + ], + "description": "Returns the namespace URI part of the supplied QName.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-namespace-uri-from-QName", + "examples": [ + { + "output": "http://www.release11.com/schemas/Sample.xsd", + "command": "namespace-uri-from-QName(xs:QName(\"u:User\"))" + } + ], + "name": "namespace-uri-from-QName()", + "output": "URI?" + }, + { + "arguments": [ + { + "name": "$arg", + "type": "string?", + "description": "XML String" + } + ], + "description": "This function takes as input an XML document represented as a string, and returns the document node at the root of an XDM tree representing the parsed document.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-parse-xml", + "examples": [ + { + "command": "parse-xml(unparsed-text('http://api.nbp.pl/api/cenyzlota/today?format=xml'))", + "output": "Parsed as XML data from NBP Api" + } + ], + "name": "parse-xml()", + "output": "document-node(element(*))?" + }, + { + "arguments": [ + { + "name": "$arg", + "type": "string?", + "description": "XML Fragment String" + } + ], + "description": "This function takes as input an XML external entity represented as a string, and returns the document node at the root of an XDM tree representing the parsed document fragment.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-parse-xml-fragment", + "examples": [ + { + "output": "data XML, but as XML Document", + "command": "parse-xml-fragment('hello')" + } + ], + "name": "parse-xml-fragment()", + "output": "document-node()?" + }, + { + "arguments": [ + { + "name": "$arg", + "description": "QName", + "type": "QName?" + } + ], + "description": "Returns the prefix component of the supplied QName.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-prefix-from-QName", + "examples": [ + { + "command": "prefix-from-QName(xs:QName(\"u:User\"))", + "output": "u" + } + ], + "name": "prefix-from-QName()", + "output": "NCName" + }, + { + "arguments": [ + { + "name": "$element", + "type": "element" + }, + { + "name": "$qname", + "description": "qname", + "type": "string?" + } + ], + "description": "Returns an xs:QName value (that is, an expanded-QName) by taking an xs:string that has the lexical form of an xs:QName", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-resolve-QName", + "examples": [ + { + "output": "hello", + "command": "resolve-QName(\"hello\", //u:UserList[1]/u:User[1]/u:Name)" + } + ], + "name": "resolve-QName()", + "output": "QName" + }, + { + "arguments": [ + { + "name": "$relative", + "description": "Source string", + "type": "string?" + } + ], + "description": "Resolves a relative IRI reference against an absolute IRI.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-resolve-uri", + "examples": [ + { + "command": " resolve-uri(\"u:User/u:Name\") ", + "output": "u:User/u:Name" + } + ], + "name": "resolve-uri()", + "output": "URI" + }, + { + "arguments": [ + { + "name": "$arg", + "description": "input sequence", + "type": "item()*" + }, + { + "name": "$params", + "type": "element()?", + "description": "parameters" + } + ], + "description": "This function serializes the supplied input sequence $arg, returning the serialized representation of the sequence as a string.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-serialize", + "examples": [ + { + "output": "first users serialized to String", + "command": "serialize(//u:User[1])" + } + ], + "name": "serialize()", + "output": "string" + }, + { + "arguments": [], + "description": "This function returns the value of the Static Base URI property from the static context.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-static-base-uri", + "examples": [ + { + "output": "", + "command": "static-base-uri()" + } + ], + "name": "static-base-uri()", + "output": "URI" + }, + { + "arguments": [ + { + "name": "$encoding", + "description": "resource encoding", + "type": "string()?" + }, + { + "name": "$href", + "description": "external resource href", + "type": "string()?" + } + ], + "description": "Reads an external resource (for example, a file) and returns a string representation of the resource.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-unparsed-text", + "examples": [ + { + "command": "unparsed-text(\"https://api.nbp.pl/api/cenyzlota/today?format=xml\")", + "output": "XML data from nbp API" + } + ], + "name": "unparsed-text()", + "output": "string()?" + }, + { + "arguments": [ + { + "name": "$encoding", + "description": "resource encoding", + "type": "string()?" + }, + { + "name": "$href", + "description": "external resource href", + "type": "string()?" + } + ], + "description": "Because errors in evaluating the unparsed-text() function are non-recoverable, these two functions are provided to allow an application to determine whether a call with particular arguments would succeed", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-unparsed-text-available", + "examples": [ + { + "output": "true", + "command": "unparsed-text-available(\"https://api.nbp.pl/api/cenyzlota/today?format=xml\")" + } + ], + "name": "unparsed-text-available()", + "output": "boolean" + }, + { + "arguments": [ + { + "name": "$encoding", + "description": "resource encoding", + "type": "string()?" + }, + { + "name": "$href", + "description": "external resource href", + "type": "string()?" + } + ], + "description": "reads an external resource (for example, a file) and returns its contents as a sequence of strings, one for each line of text in the string representation of the resource.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-unparsed-text-lines", + "examples": [ + { + "command": "unparsed-text-lines(\"https://api.nbp.pl/api/cenyzlota/today?format=xml\")", + "output": "XML data from nbp API" + } + ], + "name": "unparsed-text-lines()", + "output": "string()*" + }, + { + "arguments": [ + { + "name": "$arg", + "description": "collection uri", + "type": "string()?" + } + ], + "description": "Returns a sequence of xs:anyURI values representing the URIs in a resource collection.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-uri-collection", + "examples": [ + { + "output": "No default collection has been defined", + "command": "uri-collection()" + } + ], + "name": "uri-collection()", + "output": "URI*" + } + ], + "name": "Misc" + }, + { + "entries": [ + { + "arguments": [ + { + "name": "$arg", + "description": "node to read base URI", + "type": "node()?" + } + ], + "description": "Returns the base URI of a node.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-base-uri", + "examples": [ + { + "output": "", + "command": "base-uri()" + } + ], + "name": "base-uri()", + "output": "URI" + }, + { + "arguments": [ + { + "name": "$arg", + "type": "item()*", + "description": "items to get data from" + } + ], + "description": "Returns the result of atomizing a sequence, that is, replacing all nodes in the sequence by their typed values.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-data", + "examples": [ + { + "command": "data(//u:UserList[last()]/*[1])", + "output": "New \n \t Folder \n \t 2023-11-10" + } + ], + "name": "data()", + "output": "any" + }, + { + "arguments": [ + { + "name": "$arg", + "description": "node to read base URI", + "type": "node()?" + } + ], + "description": "Returns the URI of a resource where a document can be found, if available.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-document-uri", + "examples": [ + { + "output": "", + "command": "document-uri()" + } + ], + "name": "document-uri()", + "output": "URI" + }, + { + "arguments": [ + { + "name": "$arg", + "description": "ID Value", + "type": "string*" + }, + { + "name": "$node", + "description": "node", + "type": "node?" + } + ], + "description": "Returns the sequence of element nodes that have an ID value matching the value of one or more of the IDREF values supplied in $arg.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-element-with-id", + "examples": [], + "name": "element-with-id()", + "output": "element*" + }, + { + "arguments": [ + { + "name": "$arg", + "description": "Node to generate id", + "type": "node?" + } + ], + "description": "This function returns a string that uniquely identifies a given node.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-generate-id", + "examples": [ + { + "output": "d0e3", + "command": "generate-id(//u:UserList[1])" + } + ], + "name": "generate-id()", + "output": "string" + }, + { + "arguments": [ + { + "name": "$node", + "description": "node to check children", + "type": "node()?" + } + ], + "description": "Returns true if the supplied node has one or more child nodes (of any kind).", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-has-children", + "examples": [ + { + "command": "has-children(//u:UserList[1])", + "output": "true" + } + ], + "name": "has-children()", + "output": "boolean" + }, + { + "arguments": [ + { + "name": "$arg", + "description": "ID Value", + "type": "string*" + }, + { + "name": "$node", + "description": "node", + "type": "node?" + } + ], + "description": "Returns the sequence of element nodes that have an ID value matching the value of one or more of the IDREF values supplied in $arg.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-id", + "examples": [], + "name": "id()", + "output": "element*" + }, + { + "arguments": [ + { + "name": "$arg", + "description": "ID Value", + "type": "string*" + }, + { + "name": "$node", + "description": "node", + "type": "node?" + } + ], + "description": "Returns the sequence of element or attribute nodes with an IDREF value matching the value of one or more of the ID values supplied in $arg", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-idref", + "examples": [], + "name": "idref()", + "output": "node*" + }, + { + "arguments": [ + { + "name": "$arg", + "description": "node to read local name from", + "type": "node()?" + } + ], + "description": "Returns the local part of the name of $arg as an xs:string that is either the zero-length string, or has the lexical form of an xs:NCName.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-local-name", + "examples": [ + { + "command": "local-name(//u:UserList[1])", + "output": "UserList" + } + ], + "name": "local-name()", + "output": "string" + }, + { + "arguments": [ + { + "name": "$arg", + "description": "node to read name from", + "type": "node()?" + } + ], + "description": "Returns the name of a node, as an xs:string that is either the zero-length string, or has the lexical form of an xs:QName.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-name", + "examples": [ + { + "command": "name(//u:UserList[1])", + "output": "u:UserList" + } + ], + "name": "name()", + "output": "string" + }, + { + "arguments": [ + { + "name": "$arg", + "description": "node to read namespace uri from", + "type": "node()?" + } + ], + "description": "Returns the namespace URI part of the name of $arg, as an xs:anyURI value.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-namespace-uri", + "examples": [ + { + "output": "http://www.release11.com/schemas/Sample.xsd", + "command": "namespace-uri(//u:UserList[1])" + } + ], + "name": "namespace-uri()", + "output": "URI" + }, + { + "arguments": [ + { + "name": "$arg", + "type": "node", + "description": "Node to check if nilled" + } + ], + "description": "Returns true for an element that is nilled", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-nilled", + "examples": [ + { + "output": "false", + "command": "nilled(/u:root)" + } + ], + "name": "nilled()", + "output": "boolean" + }, + { + "arguments": [ + { + "name": "$arg", + "type": "node", + "description": "Node to getName from" + } + ], + "description": "Returns the name of a node", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-node-name", + "examples": [ + { + "command": "node-name(/u:root)", + "output": "u:root" + } + ], + "name": "node-name()", + "output": "QNname" + }, + { + "arguments": [ + { + "name": "$arg", + "description": "node to read path from", + "type": "node()?" + } + ], + "description": "Returns a path expression that can be used to select the supplied node relative to the root of its containing document.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-path", + "examples": [ + { + "output": "/Q{http://www.release11.com/schemas/Sample.xsd}root[1]/Q{http://www.release11.com/schemas/Sample.xsd}UserList[1]", + "command": "path(//u:UserList[1])" + } + ], + "name": "path()", + "output": "string()?" + }, + { + "arguments": [ + { + "name": "$arg", + "description": "node to read namespace uri from", + "type": "node()?" + } + ], + "description": "Returns the root of the tree to which $arg belongs. This will usually, but not necessarily, be a document node.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-root", + "examples": [], + "name": "root()", + "output": "node()?" + } + ], + "name": "Node-Set" + }, + { + "entries": [ + { + "arguments": [ + { + "name": "$arg", + "description": "Number to get absolute value from", + "type": "numeric?" + } + ], + "description": "Returns the absolute value of argument", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-abs", + "examples": [ + { + "output": "10.5", + "command": "abs(-10.5)" + } + ], + "name": "abs()", + "output": "numeric?" + }, + { + "arguments": [ + { + "name": "$arg", + "description": "Number to round upwards", + "type": "numeric?" + } + ], + "description": "Rounds argument upwards to a whole number.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-ceiling", + "examples": [ + { + "output": "11", + "command": "ceiling(10.5)" + } + ], + "name": "ceiling()", + "output": "numeric?" + }, + { + "arguments": [ + { + "name": "$arg", + "description": "Number to round downwards", + "type": "numeric?" + } + ], + "description": "Rounds argument downwards to a whole number.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-floor", + "examples": [ + { + "output": "10", + "command": "floor(10.5)" + } + ], + "name": "floor()", + "output": "numeric?" + }, + { + "arguments": [ + { + "name": "$arg", + "type": "any?", + "description": "Data to parse as number" + } + ], + "description": "Returns the value indicated by argument or, if argument is not specified, the context item after atomization, converted to an double.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-number", + "examples": [ + { + "output": "NaN", + "command": "number(//u:UserList[1]/u:User[1]/u:Name)" + }, + { + "output": "2137", + "command": "number(\"2137\")" + } + ], + "name": "number()", + "output": "double" + }, + { + "arguments": [ + { + "name": "$arg", + "description": "Number to round", + "type": "numeric?" + }, + { + "name": "$precision", + "type": "integer?", + "description": "precision for rounding" + } + ], + "description": "Rounds a value to a specified number of decimal places, rounding upwards if two such values are equally near.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-round", + "examples": [ + { + "output": "2", + "command": "round(2.49999)" + }, + { + "output": "1.13", + "command": "round(1.125,2)" + } + ], + "name": "round()", + "output": "numeric?" + }, + { + "arguments": [ + { + "name": "$arg", + "description": "Number to round", + "type": "numeric?" + }, + { + "name": "$precision", + "type": "integer?", + "description": "precision for rounding" + } + ], + "description": "Rounds a value to a specified number of decimal places, rounding to make the last digit even if two such values are equally near.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-round-half-to-even", + "examples": [ + { + "output": "0", + "command": "round-half-to-even(0.5)" + }, + { + "output": "35600", + "command": "round-half-to-even(35612.25, -2)" + } + ], + "name": "round-half-to-even()", + "output": "numeric?" + } + ], + "name": "Numeric" + }, + { + "entries": [ + { + "arguments": [ + { + "name": "$flags", + "type": "string", + "description": "string to replace searched fragment with" + }, + { + "name": "$input", + "description": "Source string", + "type": "string?" + }, + { + "name": "$pattern", + "description": "regex", + "type": "string" + } + ], + "description": "Analyzes a string using a regular expression, returning an XML structure that identifies which parts of the input string matched or failed to match the regular expression, and in the case of matched substrings, which substrings matched each capturing group in the regular expression.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-analyze-string", + "examples": [ + { + "command": " analyze-string(\"A1,C15,,D24, X50,\", \"([A-Z])([0-9]+)\") ", + "output": "A1,C15,,D24, X50," + } + ], + "name": "analyze-string()", + "output": "element" + }, + { + "arguments": [ + { + "name": "$comparand1", + "description": "First comparand", + "type": "string?" + }, + { + "name": "$comparand2", + "description": "Second comparand", + "type": "string?" + } + ], + "description": "Returns true if two strings are equal, considered codepoint-by-codepoint.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-codepoint-equal", + "examples": [ + { + "command": "codepoint-equal(\"abcd\", \"abcd\")", + "output": "true" + }, + { + "command": "codepoint-equal(\"abcd\", \"abcd \")", + "output": "false" + } + ], + "name": "codepoint-equal()", + "output": "boolean" + }, + { + "arguments": [ + { + "name": "$arg", + "description": "Codepoints", + "type": "integer*" + } + ], + "description": "Creates an String from a sequence of codepoints.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-codepoints-to-string", + "examples": [ + { + "command": "codepoints-to-string(0)", + "output": "FOCH0001" + }, + { + "output": "( ͡° ͜ʖ ͡°)", + "command": "codepoints-to-string((40, 32, 865, 176, 32, 860, 662, 32, 865, 176, 41))" + } + ], + "name": "codepoints-to-string()", + "output": "string" + }, + { + "arguments": [ + { + "name": "$collation", + "description": "Rules of collation", + "type": "string?" + }, + { + "name": "$comparand1", + "description": "First comparand", + "type": "string?" + }, + { + "name": "$comparand2", + "description": "Second comparand", + "type": "string?" + } + ], + "description": "Returns -1, 0, or 1, depending on whether $comparand1 collates before, equal to, or after $comparand2 according to the rules of a selected collation.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-compare", + "examples": [ + { + "output": "0", + "command": "compare('abc', 'abc')" + }, + { + "output": "1", + "command": "compare('Strassen', 'Straße')" + } + ], + "name": "compare()", + "output": "integer?" + }, + { + "arguments": [ + { + "name": "$arg1", + "type": "any?", + "description": "First element to concat" + }, + { + "name": "$arg1", + "type": "any?", + "description": "Second element to concat" + }, + { + "name": "...", + "type": "any*", + "description": "Other elements to concat" + } + ], + "description": "Returns the concatenation of the string values of the arguments.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-concat", + "examples": [ + { + "command": "concat('un', 'grateful')", + "output": "ungrateful" + }, + { + "command": "concat('release11',' web',' tools')", + "output": "release11 web tools" + } + ], + "name": "concat()", + "output": "string" + }, + { + "arguments": [ + { + "name": "$arg1", + "description": "Source string", + "type": "string?" + }, + { + "name": "$arg2", + "description": "searched string", + "type": "string?" + }, + { + "name": "$collation", + "description": "collation", + "type": "string" + } + ], + "description": "Returns true if the string $arg1 contains $arg2 as a substring, taking collations into account.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-contains", + "examples": [ + { + "command": "contains(\"release11Tools\",\"Tools\")", + "output": "true" + } + ], + "name": "contains()", + "output": "boolean" + }, + { + "arguments": [ + { + "name": "$arg1", + "description": "Source string", + "type": "string?" + }, + { + "name": "$arg2", + "description": "searched string", + "type": "string?" + }, + { + "name": "$collation", + "description": "collation", + "type": "string" + } + ], + "description": "Returns true if the string $arg1 contains $arg2 as a trailing substring, taking collations into account.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-ends-with", + "examples": [ + { + "command": "ends-with(\"release11Tools\",\"ols\")", + "output": "true" + } + ], + "name": "ends-with()", + "output": "boolean" + }, + { + "arguments": [ + { + "name": "$lang", + "description": "language to represent number", + "type": "string?" + }, + { + "name": "$picture", + "description": "format to represent number", + "type": "string" + }, + { + "name": "$value", + "description": "integer value to format", + "type": "integer?" + } + ], + "description": "Formats an integer according to a given picture string, using the conventions of a given natural language if specified.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-format-integer", + "examples": [ + { + "command": "format-integer(123, 'w')", + "output": "one hundred and twenty-three" + }, + { + "output": "21st", + "command": "format-integer(21, '1;o', 'en')" + } + ], + "name": "format-integer()", + "output": "string" + }, + { + "arguments": [ + { + "name": "$decimal-format-name", + "description": "language to represent number", + "type": "string?" + }, + { + "name": "$picture", + "description": "format to represent number", + "type": "string" + }, + { + "name": "$value", + "description": "numeric value to format", + "type": "numeric?" + } + ], + "description": "Returns a string containing a number formatted according to a given picture string, taking account of decimal formats specified in the static context.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-format-number", + "examples": [ + { + "output": "12,345.60", + "command": "format-number(12345.6, '#,###.00')" + }, + { + "output": "-006", + "command": "format-number(-6, '000')" + } + ], + "name": "format-integer()", + "output": "string" + }, + { + "arguments": [ + { + "name": "$arg", + "description": "Source string", + "type": "string?" + } + ], + "description": "Converts a string to lower case.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-lower-case", + "examples": [ + { + "command": "lower-case(\"RELEASE11 TOOLS\")", + "output": "release11 tools" + } + ], + "name": "lower-case()", + "output": "string" + }, + { + "arguments": [ + { + "name": "$flags", + "description": "regex flags", + "type": "string" + }, + { + "name": "$input", + "description": "Source string", + "type": "string?" + }, + { + "name": "$pattern", + "description": "regex", + "type": "string" + } + ], + "description": "Returns true if the supplied string matches a given regular expression.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-matches", + "examples": [ + { + "command": "matches(\"release11Tools\",\"^.*11T.*$\")", + "output": "true" + } + ], + "name": "matches()", + "output": "boolean" + }, + { + "arguments": [ + { + "name": "$arg", + "description": "Source string", + "type": "string?" + }, + { + "name": "$normalizationForm", + "description": "Normalization form", + "type": "string" + } + ], + "description": "Returns the value of $arg after applying Unicode normalization.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-normalize-unicode", + "examples": [ + { + "command": "normalize-unicode(\"release11Tools\",\"NFC\")", + "output": "release11Tools" + } + ], + "name": "normalize-unicode()", + "output": "string" + }, + { + "arguments": [ + { + "name": "$input", + "description": "Source string", + "type": "string?" + }, + { + "name": "$pattern", + "description": "fragment to replace", + "type": "string" + }, + { + "name": "$replacement", + "type": "string", + "description": "string to replace searched fragment with" + } + ], + "description": "Returns a string produced from the input string by replacing any substrings that match a given regular expression with a supplied replacement string.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-replace", + "examples": [ + { + "output": "release 11 WebTools", + "command": "replace(\"release11Tools\",\"11T.*\",\" 11 WebTools\")" + } + ], + "name": "replace()", + "output": "string" + }, + { + "arguments": [ + { + "name": "$arg1", + "description": "Source string", + "type": "string?" + }, + { + "name": "$arg2", + "description": "searched string", + "type": "string?" + }, + { + "name": "$collation", + "description": "collation", + "type": "string" + } + ], + "description": "Returns true if the string $arg1 contains $arg2 as a leading substring, taking collations into account.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-starts-with", + "examples": [ + { + "command": "starts-with(\"release11Tools\",\"rel\")", + "output": "true" + } + ], + "name": "starts-with()", + "output": "boolean" + }, + { + "arguments": [ + { + "name": "$arg", + "type": "item", + "description": "Item to represent as String" + } + ], + "description": "Returns the string value of an item", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-string", + "examples": [ + { + "output": "\"23\"", + "command": "string(23)" + }, + { + "output": "John", + "command": "string(/u:root/u:UserList[1]/u:User[last()]/u:Name)" + } + ], + "name": "string()", + "output": "String" + }, + { + "arguments": [ + { + "name": "$arg1", + "description": "Stings to join", + "type": "string*" + }, + { + "name": "$arg2", + "description": "Separator", + "type": "string" + } + ], + "description": "Returns a string created by concatenating the items in a sequence, with a defined separator between adjacent items.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-concat", + "examples": [ + { + "output": "Now is the time ...", + "command": "string-join(('Now', 'is', 'the', 'time', '...'), ' ')" + }, + { + "output": "release11%%web%%tools", + "command": "string-join(('release11','web','tools'),'%%')" + } + ], + "name": "string-join()", + "output": "string" + }, + { + "arguments": [ + { + "name": "$arg", + "description": "Source string", + "type": "string?" + } + ], + "description": "Returns the number of characters in a string.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-string-length", + "examples": [ + { + "output": "45", + "command": "string-length(\"Harp not on that string, madam; that is past.\")" + }, + { + "output": "16", + "command": "string-length(\"Release 11 tools\")" + } + ], + "name": "string-length()", + "output": "integer" + }, + { + "arguments": [ + { + "name": "$arg", + "description": "String value", + "type": "string?" + } + ], + "description": "Returns the sequence of codepoints that constitute an string value.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-string-to-codepoints", + "examples": [ + { + "output": "(72, 101, 108, 108, 111)", + "command": "string-to-codepoints('Hello')" + }, + { + "output": "(40, 32, 865, 176, 32, 860, 662, 32, 865, 176, 41)", + "command": "string-to-codepoints('( ͡° ͜ʖ ͡°)')" + } + ], + "name": "string-to-codepoints()", + "output": "integer*" + }, + { + "arguments": [ + { + "name": "$length", + "type": "double", + "description": "length to substring" + }, + { + "name": "$sourceString", + "description": "Source string", + "type": "string?" + }, + { + "name": "$start", + "type": "double", + "description": "start index" + } + ], + "description": "Returns the portion of the value of $sourceString beginning at the position indicated by the value of $start and continuing for the number of ·characters· indicated by the value of $length.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-substring", + "examples": [ + { + "output": "car", + "command": "substring(\"motor car\", 6)" + }, + { + "output": "Release 11 tools <3", + "command": "substring(\"Release 11 tools <3 unnecesary words\",1,19)" + } + ], + "name": "substring()", + "output": "string" + }, + { + "arguments": [ + { + "name": "$arg1", + "description": "Source string", + "type": "string?" + }, + { + "name": "$arg2", + "description": "searched string", + "type": "string?" + }, + { + "name": "$collation", + "description": "collation", + "type": "string" + } + ], + "description": "Returns the part of $arg1 that follows the first occurrence of $arg2, taking collations into account.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-substring-after", + "examples": [ + { + "output": "ease11Tools", + "command": "substring-after(\"release11Tools\",\"rel\")" + } + ], + "name": "substring-after()", + "output": "string" + }, + { + "arguments": [ + { + "name": "$arg1", + "description": "Source string", + "type": "string?" + }, + { + "name": "$arg2", + "description": "searched string", + "type": "string?" + }, + { + "name": "$collation", + "description": "collation", + "type": "string" + } + ], + "description": "Returns the part of $arg1 that precedes the first occurrence of $arg2, taking collations into account.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-substring-before", + "examples": [ + { + "output": "release11To", + "command": "substring-before(\"release11Tools\",\"ols\")" + } + ], + "name": "substring-before()", + "output": "string" + }, + { + "arguments": [ + { + "name": "$flags", + "type": "string", + "description": "string to replace searched fragment with" + }, + { + "name": "$input", + "description": "Source string", + "type": "string?" + }, + { + "name": "$pattern", + "description": "fragment to replace", + "type": "string" + } + ], + "description": "Returns a sequence of strings constructed by splitting the input wherever a separator is found; the separator is any substring that matches a given regular expression.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-tokenize", + "examples": [ + { + "output": "release\nTools", + "command": "tokenize(\"release11Tools\",\"11\")" + } + ], + "name": "tokenize()", + "output": "string*" + }, + { + "arguments": [ + { + "name": "$arg", + "description": "Source string", + "type": "string?" + }, + { + "name": "$mapString", + "type": "string", + "description": "string to map" + }, + { + "name": "$transString", + "type": "string", + "description": "transition string" + } + ], + "description": "Returns the value of $arg modified by replacing or removing individual characters.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-translate", + "examples": [ + { + "output": "BAr", + "command": "translate(\"bar\",\"abc\",\"ABC\")" + } + ], + "name": "translate()", + "output": "string" + }, + { + "arguments": [ + { + "name": "$arg", + "description": "Source string", + "type": "string?" + } + ], + "description": "Converts a string to upper case.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-30/#func-upper-case", + "examples": [ + { + "output": "RELEASE11 TOOLS", + "command": "upper-case(\"release11 tools\")" + } + ], + "name": "upper-case()", + "output": "string" + } + ], + "name": "String" + } +] \ No newline at end of file diff --git a/Frontend/src/assets/tooltips/xpath/xpath31.json b/Frontend/src/assets/tooltips/xpath/xpath31.json new file mode 100644 index 0000000..1f3d91f --- /dev/null +++ b/Frontend/src/assets/tooltips/xpath/xpath31.json @@ -0,0 +1,3328 @@ +[ + { + "entries": [ + { + "arguments": [ + { + "name": "$arg", + "type": "item()*", + "description": "sequence of arguments" + } + ], + "description": "Computes the effective boolean value of the sequence $arg.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-boolean", + "examples": [ + { + "command": "boolean(\"true\")", + "output": "true" + } + ], + "name": "boolean()", + "output": "boolean" + }, + { + "arguments": [], + "description": "Returns the xs:boolean value false.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-false", + "examples": [ + { + "output": "false", + "command": "false()" + } + ], + "name": "false()", + "output": "boolean" + }, + { + "arguments": [ + { + "name": "$arg", + "type": "item()*", + "description": "sequence of arguments" + } + ], + "description": "Returns true if the effective boolean value of $arg is false, or false if it is true", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-not", + "examples": [ + { + "output": "false", + "command": "not(\"true\")" + } + ], + "name": "not()", + "output": "boolean" + }, + { + "arguments": [], + "description": "Returns the xs:boolean value true.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-true", + "examples": [ + { + "output": "true", + "command": "true()" + } + ], + "name": "true()", + "output": "boolean" + } + ], + "name": "Boolean" + }, + { + "entries": [ + { + "arguments": [ + { + "name": "$arg", + "type": "any()*", + "description": "sequence" + } + ], + "description": "Returns the average of the values in the input sequence $arg, that is, the sum of the values divided by the number of values.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-avg", + "examples": [ + { + "output": "10", + "command": "avg( (5,10,15) )" + } + ], + "name": "avg()", + "output": "any?" + }, + { + "arguments": [ + { + "name": "$arg", + "type": "item()*", + "description": "sequence" + } + ], + "description": "Returns the number of items in a sequence.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-count", + "examples": [ + { + "output": "2", + "command": "count( ('release','11') )" + } + ], + "name": "count()", + "output": "integer" + }, + { + "arguments": [ + { + "name": "$collation", + "description": "collation", + "type": "string?" + }, + { + "name": "$parameter1", + "description": "first sequence", + "type": "item()*" + }, + { + "name": "$parameter2", + "type": "item()*", + "description": "second sequence" + } + ], + "description": "This function assesses whether two sequences are deep-equal to each other. To be deep-equal, they must contain items that are pairwise deep-equal", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-deep-equal", + "examples": [ + { + "command": "deep-equal( ('release','11') , ('release','11') )", + "output": "true" + } + ], + "name": "deep-equal()", + "output": "boolean" + }, + { + "arguments": [ + { + "name": "$arg", + "type": "any()*", + "description": "base sequence" + }, + { + "name": "$collation", + "description": "collation", + "type": "string?" + } + ], + "description": "Returns the values that appear in a sequence, with duplicates eliminated.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-distinct-values", + "examples": [ + { + "output": "('release','11','tools')", + "command": "distinct-values(('release','release','11','tools'))" + } + ], + "name": "distinct-values()", + "output": "any()*" + }, + { + "arguments": [ + { + "name": "$arg", + "description": "input items", + "type": "item()*" + } + ], + "description": "Returns true if the argument is the empty sequence.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-empty", + "examples": [ + { + "command": "empty(//u:UserList[1]/u:User[1111])", + "output": "true" + } + ], + "name": "empty()", + "output": "boolean" + }, + { + "arguments": [ + { + "name": "$arg", + "type": "item()*", + "description": "sequence" + } + ], + "description": "Returns $arg if it contains exactly one item. Otherwise, raises an error.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-exactly-one", + "examples": [ + { + "command": "exactly-one( ('release','11') )", + "output": "Raises an error" + } + ], + "name": "exactly-one()", + "output": "item" + }, + { + "arguments": [ + { + "name": "$arg", + "description": "input items", + "type": "item()*" + } + ], + "description": "Returns true if the argument is a non-empty sequence.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-empty", + "examples": [ + { + "command": "exists(//u:UserList[1]/u:User[1111])", + "output": "false" + } + ], + "name": "exists()", + "output": "boolean" + }, + { + "arguments": [ + { + "name": "$arg", + "description": "input items", + "type": "item()*" + } + ], + "description": "Returns the first item in a sequence.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-head", + "examples": [ + { + "output": "First item in UserList with childrens", + "command": "head(//u:UserList)" + } + ], + "name": "head()", + "output": "item()?" + }, + { + "arguments": [ + { + "name": "$collation", + "description": "collation", + "type": "string?" + }, + { + "name": "$search", + "type": "any", + "description": "item to find" + }, + { + "name": "$seq", + "type": "any()*", + "description": "base sequence" + } + ], + "description": "Returns a sequence of positive integers giving the positions within the sequence $seq of items that are equal to $search.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-index-of", + "examples": [ + { + "output": "(1,2)", + "command": "index-of(('release','release','11','tools'),'release')" + } + ], + "name": "index-of()", + "output": "integer*" + }, + { + "arguments": [ + { + "name": "$nodes", + "description": "input nodes", + "type": "node()*" + } + ], + "description": "Returns every node within the input sequence that is not an ancestor of another member of the input sequence; the nodes are returned in document order with duplicates eliminated.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-innermost", + "examples": [ + { + "command": "innermost(//u:UserList[1])", + "output": "node with childrens" + } + ], + "name": "innermost()", + "output": "node()*" + }, + { + "arguments": [ + { + "name": "$inserts", + "type": "item()*", + "description": "itemst to insert" + }, + { + "name": "$position", + "type": "integer", + "description": "position where insert data" + }, + { + "name": "$target", + "description": "base sequence", + "type": "item()*" + } + ], + "description": "Returns a sequence constructed by inserting an item or a sequence of items at a given position within an existing sequence.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-insert-before", + "examples": [ + { + "output": "First UserList with 'hello' on the start", + "command": "insert-before(//u:UserList[1],1,\"hello\")" + } + ], + "name": "insert-before()", + "output": "item()*" + }, + { + "arguments": [], + "description": "Returns the context size from the dynamic context", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-last", + "examples": [ + { + "command": "//u:UserList[last()]", + "output": "Last UserList" + } + ], + "name": "last()", + "output": "integer" + }, + { + "arguments": [ + { + "name": "$arg", + "type": "any()*", + "description": "sequence" + }, + { + "name": "$collation", + "description": "collation", + "type": "string" + } + ], + "description": "Returns a value that is equal to the highest value appearing in the input sequence.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-max", + "examples": [ + { + "output": "15", + "command": "max( (5,10,15) )" + } + ], + "name": "max()", + "output": "any?" + }, + { + "arguments": [ + { + "name": "$arg", + "type": "any()*", + "description": "sequence" + }, + { + "name": "$collation", + "description": "collation", + "type": "string" + } + ], + "description": "Returns a value that is equal to the lowest value appearing in the input sequence.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-min", + "examples": [ + { + "output": "5", + "command": "min( (5,10,15) )" + } + ], + "name": "min()", + "output": "any?" + }, + { + "arguments": [ + { + "name": "$arg", + "type": "item()*", + "description": "sequence" + } + ], + "description": "Returns $arg if it contains one or more items. Otherwise, raises an error.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-one-or-more", + "examples": [ + { + "output": "('release','11')", + "command": "one-or-more( ('release','11') )" + } + ], + "name": "one-or-more()", + "output": "item+" + }, + { + "arguments": [ + { + "name": "$nodes", + "description": "input nodes", + "type": "node()*" + } + ], + "description": "Returns every node within the input sequence that has no ancestor that is itself a member of the input sequence; the nodes are returned in document order with duplicates eliminated.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-outermost", + "examples": [ + { + "output": "node with childrens", + "command": "outermost(//u:UserList[1]/u:User[1])" + } + ], + "name": "outermost()", + "output": "node()*" + }, + { + "arguments": [], + "description": "Returns the context position from the dynamic context.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-position", + "examples": [ + { + "command": "//u:UserList[position() = 2]", + "output": "UserList with index 2" + } + ], + "name": "position()", + "output": "integer" + }, + { + "arguments": [ + { + "name": "$position", + "type": "integer", + "description": "position where insert data" + }, + { + "name": "$target", + "description": "base sequence", + "type": "item()*" + } + ], + "description": "Returns a new sequence containing all the items of $target except the item at position $position.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-remove", + "examples": [ + { + "output": "First UserList witout second User", + "command": "remove(//u:UserList[1]/*,2)" + } + ], + "name": "remove()", + "output": "item()*" + }, + { + "arguments": [ + { + "name": "$arg", + "description": "base sequence", + "type": "item()*" + } + ], + "description": "Reverses the order of items in a sequence.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-reverse", + "examples": [ + { + "command": "reverse(//u:UserList[1]/*)", + "output": "Users from first UserList, but in reversed order(from Id=4 to Id=1)" + } + ], + "name": "reverse()", + "output": "item()*" + }, + { + "arguments": [ + { + "name": "$collation", + "description": "collation", + "type": "string?" + }, + { + "name": "$input", + "type": "item()*", + "description": "source collection" + }, + { + "name": "$key", + "type": "function(item())*", + "description": "key sort function" + } + ], + "description": "Sorts a supplied sequence, based on the value of a sort key supplied as a function.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-sort", + "examples": [ + { + "output": "(1,-2,5,8,10,-10,10)", + "command": "sort((1, -2, 5, 10, -10, 10, 8), (), abs#1)" + } + ], + "name": "sort()", + "output": "item()*" + }, + { + "arguments": [ + { + "name": "$length", + "type": "double", + "description": "lenght to subsequence" + }, + { + "name": "$startingLoc", + "type": "double", + "description": "starting location" + }, + { + "name": "$surceSeq", + "description": "base sequence", + "type": "item()*" + } + ], + "description": "Returns the contiguous sequence of items in the value of $sourceSeq beginning at the position indicated by the value of $startingLoc and continuing for the number of items indicated by the value of $length.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-subsequence", + "examples": [ + { + "command": "subsequence(//u:UserList[1]/*,3,1)", + "output": "User on position 3" + } + ], + "name": "subsequence()", + "output": "item()*" + }, + { + "arguments": [ + { + "name": "$arg", + "type": "any()*", + "description": "sequence" + }, + { + "name": "$zero", + "type": "any?", + "description": "value to return when sum is 0" + } + ], + "description": "Returns a value obtained by adding together the values in $arg.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-sum", + "examples": [ + { + "output": "30", + "command": "sum( (5,10,15) )" + } + ], + "name": "sum()", + "output": "any?" + }, + { + "arguments": [ + { + "name": "$arg", + "description": "input items", + "type": "item()*" + } + ], + "description": "Returns all but the first item in a sequence", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-tail", + "examples": [ + { + "command": "tail(//u:UserList)", + "output": "UserList items without first element" + } + ], + "name": "tail()", + "output": "item()*" + }, + { + "arguments": [ + { + "name": "$surceSeq", + "description": "base sequence", + "type": "item()*" + } + ], + "description": "Returns the items of $sourceSeq in an implementation dependent order.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-unordered", + "examples": [ + { + "command": "unordered(//u:UserList[1]/*)", + "output": "Users from UserList" + } + ], + "name": "unordered()", + "output": "item()*" + }, + { + "arguments": [ + { + "name": "$arg", + "type": "item()*", + "description": "sequence" + } + ], + "description": "Returns $arg if it contains zero or one items. Otherwise, raises an error.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-zero-or-one", + "examples": [ + { + "output": "raises an error", + "command": "zero-or-one( ('release','11') )" + } + ], + "name": "zero-or-one()", + "output": "item?" + } + ], + "name": "Collections" + }, + { + "entries": [ + { + "arguments": [ + { + "name": "$arg", + "description": "date", + "type": "date?" + }, + { + "name": "$timezone", + "type": "dayTimeDuration?", + "description": "timezone" + } + ], + "description": "Adjusts an xs:date value to a specific timezone, or to no timezone at all; the result is the date in the target timezone that contains the starting instant of the supplied date.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-adjust-date-to-timezone", + "examples": [ + { + "output": "2002-03-07-10:00", + "command": "adjust-date-to-timezone(xs:date(\"2002-03-07\"), $tz-10)" + } + ], + "name": "adjust-date-to-timezone()", + "output": "date?" + }, + { + "arguments": [ + { + "name": "$arg", + "description": "datetime", + "type": "datetime?" + }, + { + "name": "$timezone", + "type": "dayTimeDuration?", + "description": "timezone" + } + ], + "description": "Adjusts an xs:dateTime value to a specific timezone, or to no timezone at all.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-adjust-dateTime-to-timezone", + "examples": [ + { + "command": "adjust-dateTime-to-timezone(xs:dateTime('2002-03-07T10:00:00'), $tz-10)", + "output": "dateTime('2002-03-07T10:00:00-10:00')" + } + ], + "name": "adjust-dateTime-to-timezone()", + "output": "dateTime?" + }, + { + "arguments": [ + { + "name": "$arg", + "description": "time", + "type": "time?" + }, + { + "name": "$timezone", + "type": "dayTimeDuration?", + "description": "timezone" + } + ], + "description": "Adjusts an xs:time value to a specific timezone, or to no timezone at all.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-adjust-time-to-timezone", + "examples": [ + { + "output": "10:00:00-10:00", + "command": "adjust-time-to-timezone(xs:time(\"10:00:00\"), $tz-10)" + } + ], + "name": "adjust-time-to-timezone()", + "output": "time?" + }, + { + "arguments": [], + "description": "Returns the current date.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-current-date", + "examples": [ + { + "output": "2023-08-17Z", + "command": "current-date()" + } + ], + "name": "current-date()", + "output": "date" + }, + { + "arguments": [], + "description": "Returns the current date and time (with timezone).", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-current-dateTime", + "examples": [ + { + "output": "2023-08-17T10:34:53.526001419Z", + "command": "current-dateTime()" + } + ], + "name": "current-dateTime()", + "output": "dateTimeStamp" + }, + { + "arguments": [], + "description": "Returns the current time.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-current-time", + "examples": [ + { + "output": "10:36:53.154103936Z", + "command": "current-time()" + } + ], + "name": "current-time()", + "output": "time" + }, + { + "arguments": [ + { + "name": "$arg", + "description": "date", + "type": "date?" + }, + { + "name": "$arg2", + "description": "time", + "type": "time?" + } + ], + "description": "Returns an xs:dateTime value created by combining an xs:date and an xs:time.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-dateTime", + "examples": [ + { + "output": "1999-12-31T12:00:00", + "command": "dateTime(xs:date(\"1999-12-31\"), xs:time(\"12:00:00\"))" + } + ], + "name": "dateTime()", + "output": "dateTime" + }, + { + "arguments": [ + { + "name": "$arg", + "description": "date", + "type": "date?" + } + ], + "description": "Returns the day component of an xs:date.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-day-from-date", + "examples": [ + { + "output": "31", + "command": "day-from-date(xs:date(\"1999-05-31\"))" + } + ], + "name": "day-from-date()", + "output": "integer?" + }, + { + "arguments": [ + { + "name": "$arg", + "description": "date", + "type": "dateTime?" + } + ], + "description": "Returns the day component of an xs:dateTime.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-day-from-dateTime", + "examples": [ + { + "output": "31", + "command": "day-from-dateTime(xs:dateTime(\"1999-05-31T13:20:00-05:00\"))" + } + ], + "name": "day-from-dateTime()", + "output": "integer?" + }, + { + "arguments": [ + { + "name": "$arg", + "description": "duration", + "type": "duration()" + } + ], + "description": "Returns the number of days in a duration.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-days-from-duration", + "examples": [ + { + "output": "3", + "command": "days-from-duration(xs:yearMonthDuration(\"P3DT10H\"))" + } + ], + "name": "days-from-duration()", + "output": "integer" + }, + { + "arguments": [ + { + "name": "$calendar", + "description": "calendar", + "type": "string?" + }, + { + "name": "$language", + "description": "language", + "type": "string?" + }, + { + "name": "$picture", + "description": "picture", + "type": "string?" + }, + { + "name": "$place", + "description": "place", + "type": "string?" + }, + { + "name": "$value", + "description": "date", + "type": "date?" + } + ], + "description": "Returns a string containing an xs:date value formatted for display.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-format-date", + "examples": [], + "name": "format-date()", + "output": "string?" + }, + { + "arguments": [ + { + "name": "$calendar", + "description": "calendar", + "type": "string?" + }, + { + "name": "$language", + "description": "language", + "type": "string?" + }, + { + "name": "$picture", + "description": "picture", + "type": "string?" + }, + { + "name": "$place", + "description": "place", + "type": "string?" + }, + { + "name": "$value", + "description": "datetime", + "type": "dateTime?" + } + ], + "description": "Returns a string containing an xs:dateTime value formatted for display.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-format-dateTime", + "examples": [], + "name": "format-dateTime()", + "output": "string?" + }, + { + "arguments": [ + { + "name": "$calendar", + "description": "calendar", + "type": "string?" + }, + { + "name": "$language", + "description": "language", + "type": "string?" + }, + { + "name": "$picture", + "description": "picture", + "type": "string?" + }, + { + "name": "$place", + "description": "place", + "type": "string?" + }, + { + "name": "$value", + "description": "time", + "type": "time?" + } + ], + "description": "RReturns a string containing an xs:time value formatted for display.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-format-time", + "examples": [], + "name": "format-time()", + "output": "string?" + }, + { + "arguments": [ + { + "name": "$arg", + "description": "date", + "type": "dateTime?" + } + ], + "description": "Returns the hours component of an xs:dateTime.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-hours-from-dateTime", + "examples": [ + { + "output": "13", + "command": "hours-from-dateTime(xs:dateTime(\"1999-05-31T13:20:00-05:00\"))" + } + ], + "name": "hours-from-dateTime()", + "output": "integer?" + }, + { + "arguments": [ + { + "name": "$arg", + "description": "duration", + "type": "duration()" + } + ], + "description": "Returns the number of hours in a duration.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-days-from-duration", + "examples": [ + { + "output": "10", + "command": "days-from-duration(xs:yearMonthDuration(\"P3DT10H\"))" + } + ], + "name": "hours-from-duration()", + "output": "integer" + }, + { + "arguments": [ + { + "name": "$arg", + "description": "time", + "type": "time?" + } + ], + "description": "Returns the hours component of an xs:time.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-hours-from-time", + "examples": [ + { + "output": "21", + "command": "hours-from-time(xs:time(\"21:37:37\"))" + } + ], + "name": "hours-from-time()", + "output": "integer?" + }, + { + "arguments": [], + "description": "Returns the value of the implicit timezone property from the dynamic context.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-implicit-timezone", + "examples": [ + { + "command": "implicit-timezone()", + "output": "PT0S" + } + ], + "name": "implicit-timezone()", + "output": "dayTimeDuration" + }, + { + "arguments": [ + { + "name": "$arg", + "description": "date", + "type": "dateTime?" + } + ], + "description": "Returns the minutes component of an xs:dateTime.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-minutes-from-dateTime", + "examples": [ + { + "output": "20", + "command": "minutes-from-dateTime(xs:dateTime(\"1999-05-31T13:20:00-05:00\"))" + } + ], + "name": "minutes-from-dateTime()", + "output": "integer?" + }, + { + "arguments": [ + { + "name": "$arg", + "description": "duration", + "type": "duration()" + } + ], + "description": "Returns the number of minutes in a duration.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-minutes-from-duration", + "examples": [ + { + "output": "0", + "command": "minutes-from-duration(xs:yearMonthDuration(\"P3DT10H\"))" + } + ], + "name": "minutes-from-duration()", + "output": "integer" + }, + { + "arguments": [ + { + "name": "$arg", + "description": "time", + "type": "time?" + } + ], + "description": "Returns the minutes component of an xs:time.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-minutes-from-time", + "examples": [ + { + "output": "37", + "command": "minutes-from-time(xs:time(\"21:37:37\"))" + } + ], + "name": "minutes-from-time()", + "output": "integer?" + }, + { + "arguments": [ + { + "name": "$arg", + "description": "date", + "type": "date?" + } + ], + "description": "Returns the month component of an xs:date.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-month-from-date", + "examples": [ + { + "output": "5", + "command": "month-from-date(xs:date(\"1999-05-31\"))" + } + ], + "name": "month-from-date()", + "output": "integer?" + }, + { + "arguments": [ + { + "name": "$arg", + "description": "date", + "type": "dateTime?" + } + ], + "description": "Returns the month component of an xs:dateTime.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-month-from-dateTime", + "examples": [ + { + "output": "5", + "command": "month-from-dateTime(xs:dateTime(\"1999-05-31T13:20:00-05:00\"))" + } + ], + "name": "month-from-dateTime()", + "output": "integer?" + }, + { + "arguments": [ + { + "name": "$arg", + "description": "duration", + "type": "duration()" + } + ], + "description": "Returns the number of months in a duration.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-months-from-duration", + "examples": [ + { + "output": "3", + "command": "months-from-duration(xs:yearMonthDuration(\"P20Y15M\"))" + } + ], + "name": "months-from-duration()", + "output": "integer" + }, + { + "arguments": [ + { + "name": "$arg", + "description": "date", + "type": "dateTime?" + } + ], + "description": "Returns the seconds component of an xs:dateTime.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-seconds-from-dateTime", + "examples": [ + { + "output": "1", + "command": "seconds-from-dateTime(xs:dateTime(\"1999-05-31T13:20:01-05:00\"))" + } + ], + "name": "seconds-from-dateTime()", + "output": "integer?" + }, + { + "arguments": [ + { + "name": "$arg", + "description": "duration", + "type": "duration()" + } + ], + "description": "Returns the number of seconds in a duration.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-seconds-from-duration", + "examples": [ + { + "output": "12.5", + "command": "seconds-from-duration(xs:yearMonthDuration(\"P3DT10H12.5S\"))" + } + ], + "name": "seconds-from-duration()", + "output": "integer" + }, + { + "arguments": [ + { + "name": "$arg", + "description": "time", + "type": "time?" + } + ], + "description": "Returns the seconds component of an xs:time.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-seconds-from-time", + "examples": [ + { + "output": "37", + "command": "seconds-from-time(xs:time(\"21:37:37\"))" + } + ], + "name": "seconds-from-time()", + "output": "integer?" + }, + { + "arguments": [ + { + "name": "$arg", + "description": "date", + "type": "date?" + } + ], + "description": "Returns the timezone component of an xs:date.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-timezone-from-date", + "examples": [ + { + "output": "-PT5H", + "command": "timezone-from-date(xs:date(\"1999-05-31-05:00\"))" + } + ], + "name": "timezone-from-date()", + "output": "dayTimeDuration?" + }, + { + "arguments": [ + { + "name": "$arg", + "description": "date", + "type": "dateTime?" + } + ], + "description": "Returns the timezone component of an xs:dateTime.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-timezone-from-dateTime", + "examples": [ + { + "output": "-PT5H", + "command": "timezone-from-dateTime(xs:dateTime(\"1999-05-31T13:20:01-05:00\"))" + } + ], + "name": "timezone-from-dateTime()", + "output": "integer?" + }, + { + "arguments": [ + { + "name": "$arg", + "description": "time", + "type": "time?" + } + ], + "description": "Returns the timezone component of an xs:time.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-timezone-from-time", + "examples": [ + { + "output": "-PT5H", + "command": "timezone-from-time(xs:time(\"21:37:37-05:00\"))" + } + ], + "name": "timezone-from-time()", + "output": "dayTimeDuration?" + }, + { + "arguments": [ + { + "name": "$arg", + "description": "date", + "type": "date?" + } + ], + "description": "Returns the year component of an xs:date.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-year-from-date", + "examples": [ + { + "output": "1999", + "command": "year-from-date(xs:date(\"1999-05-31\"))" + } + ], + "name": "year-from-date()", + "output": "integer?" + }, + { + "arguments": [ + { + "name": "$arg", + "description": "date", + "type": "dateTime?" + } + ], + "description": "Returns the year component of an xs:dateTime.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-year-from-dateTime", + "examples": [ + { + "output": "1999", + "command": "year-from-dateTime(xs:dateTime(\"1999-05-31T13:20:00-05:00\"))" + } + ], + "name": "year-from-dateTime()", + "output": "integer?" + }, + { + "arguments": [ + { + "name": "$arg", + "description": "duration", + "type": "duration()" + } + ], + "description": "Returns the number of years in a duration.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-years-from-duration", + "examples": [ + { + "output": "21", + "command": "years-from-duration(xs:yearMonthDuration(\"P20Y15M\"))" + } + ], + "name": "years-from-duration()", + "output": "integer" + } + ], + "name": "Date/Time" + }, + { + "entries": [ + { + "arguments": [ + { + "name": "$code", + "description": "Error code", + "type": "QName" + }, + { + "name": "$description", + "description": "Error description", + "type": "string" + }, + { + "name": "$eror-object", + "description": "Arbitrary value used to convey additional information about the error", + "type": "item()*" + } + ], + "description": "Calling the error function raises an application-defined error.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-error", + "examples": [ + { + "output": "Error signalled by application call on error()", + "command": "error()" + } + ], + "name": "error()", + "output": "Throws an error" + }, + { + "arguments": [ + { + "name": "$label", + "type": "string", + "description": "The label to put in tracing data" + }, + { + "name": "$value", + "type": "item()*", + "description": "The value to returns unchanged" + } + ], + "description": "Provides an execution trace intended to be used in debugging queries.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-trace", + "examples": [ + { + "output": "Returns data, if something changes returns label with value", + "command": "trace(//u:UserList[1]/u:User[last()]/u:DateOfDeath, 'the value is:')" + } + ], + "name": "trace()", + "output": "item()*" + } + ], + "name": "Error" + }, + { + "entries": [ + { + "arguments": [ + { + "name": "$array", + "description": "array of arguments", + "type": "array(*)" + }, + { + "name": "$function", + "description": "function to make call", + "type": "function(*)" + } + ], + "description": "Makes a dynamic call on a function with an argument list supplied in the form of an array. ", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-apply", + "examples": [ + { + "output": "abc", + "command": "apply(fn:concat#3, [\"a\", \"b\", \"c\"])" + } + ], + "name": "apply()", + "output": "item()*" + }, + { + "arguments": [ + { + "name": "$f", + "description": "function to apply on every item in source collection", + "type": "function(item()*)" + }, + { + "name": "$seq", + "type": "item()*", + "description": "source collection" + } + ], + "description": "Returns those items from the sequence $seq for which the supplied function $f returns true.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-filter", + "examples": [ + { + "output": "(2, 4, 6, 8, 10)", + "command": "filter(1 to 10, function($a) {$a mod 2 = 0})" + } + ], + "name": "filter()", + "output": "item()*" + }, + { + "arguments": [ + { + "name": "$f", + "description": "function to apply on item in squence", + "type": "function(item()*)" + }, + { + "name": "$seq", + "type": "item()*", + "description": "source collection" + }, + { + "name": "$zero", + "description": "if source collection is empty", + "type": "item()*" + } + ], + "description": "Processes the supplied sequence from left to right, applying the supplied function repeatedly to each item in turn, together with an accumulated result value.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-fold-left", + "examples": [ + { + "output": "210", + "command": "fold-left((2,3,5,7), 1, function($a, $b) { $a * $b })" + } + ], + "name": "fold-left()", + "output": "item()*" + }, + { + "arguments": [ + { + "name": "$f", + "description": "function to apply on item in squence", + "type": "function(item()*)" + }, + { + "name": "$seq", + "type": "item()*", + "description": "source collection" + }, + { + "name": "$zero", + "description": "if source collection is empty", + "type": "item()*" + } + ], + "description": "Processes the supplied sequence from right to left, applying the supplied function repeatedly to each item in turn, together with an accumulated result value.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-fold-right", + "examples": [ + { + "output": "210", + "command": "fold-right((2,3,5,7), 1, function($a, $b) { $a * $b })" + } + ], + "name": "fold-right()", + "output": "item()*" + }, + { + "arguments": [ + { + "name": "$f", + "description": "function to apply on every item in source collection", + "type": "function(item()*)" + }, + { + "name": "$seq", + "type": "item()*", + "description": "source collection" + } + ], + "description": "Applies the function item $f to every item from the sequence $seq in turn, returning the concatenation of the resulting sequences in order.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-for-each", + "examples": [ + { + "output": "(1, 4, 9, 16, 25)", + "command": "for-each(1 to 5, function($a) { $a * $a })" + } + ], + "name": "for-each()", + "output": "item()*" + }, + { + "arguments": [ + { + "name": "$f", + "description": "function to apply on items in squence", + "type": "function(item()*)" + }, + { + "name": "$seq1", + "description": "first sequence", + "type": "item()*" + }, + { + "name": "$seq2", + "type": "item()*", + "description": "second sequence" + } + ], + "description": "Applies the function item $f to successive pairs of items taken one from $seq1 and one from $seq2, returning the concatenation of the resulting sequences in order.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-for-each-pair", + "examples": [ + { + "output": "(\"ax\", \"by\", \"cz\")", + "command": "for-each-pair((\"a\", \"b\", \"c\"), (\"x\", \"y\", \"z\"), concat#2)" + } + ], + "name": "for-each-pair()", + "output": "item()*" + }, + { + "arguments": [ + { + "name": "$func", + "description": "function", + "type": "function(*)" + } + ], + "description": "Returns the arity of the function identified by a function item.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-function-arity", + "examples": [ + { + "output": "2", + "command": "function-arity(substring#2)" + } + ], + "name": "function-arity()", + "output": "integer" + }, + { + "arguments": [ + { + "name": "$arity", + "type": "integer", + "description": "number of arguments" + }, + { + "name": "$name", + "description": "function Name", + "type": "QName" + } + ], + "description": "Returns the function having a given name and arity, if there is one.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-function-lookup", + "examples": [], + "name": "function-lookup()", + "output": "function(*)?" + }, + { + "arguments": [ + { + "name": "$func", + "description": "function", + "type": "function(*)" + } + ], + "description": "Returns the name of the function identified by a function item.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-function-name", + "examples": [ + { + "output": "fn:substring", + "command": "function-name(substring#2)" + } + ], + "name": "function-name()", + "output": "QName?" + } + ], + "name": "Loop/Conditional" + }, + { + "entries": [ + { + "arguments": [ + { + "name": "$paramQName", + "type": "QName parameter" + }, + { + "name": "$paramURI", + "type": "string?", + "description": "URI Parameter" + } + ], + "description": "Constructs an xs:QName value given a namespace URI and a lexical QName.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-QName", + "examples": [ + { + "command": "QName(\"http://www.release11.com/schemas/Sample.xsd\", \"u:User\")", + "output": "u:User" + } + ], + "name": "QName()", + "output": "QName" + }, + { + "arguments": [], + "description": "Returns a list of environment variable names that are suitable for passing to environment-variable()", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-available-environment-variables", + "examples": [ + { + "output": "('PATH','HOSTNAME','JAVA_HOME','PWD','JAVA_VERSION','LANG','HOME')", + "command": "available-environment-variables()" + } + ], + "name": "available-environment-variables()", + "output": "string()*" + }, + { + "arguments": [ + { + "name": "$collation", + "description": "Collation", + "type": "string?" + }, + { + "name": "$key", + "description": "Collation key string value", + "type": "string" + } + ], + "description": "Given a string value and a collation, generates an internal value called a collation key", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-collation-key", + "examples": [ + { + "output": "AAByAABhAABuAABkAABvAABtAABrAABlAAB5", + "command": "collation-key(\"randomkey\")" + } + ], + "name": "collation-key()", + "output": "base64binary" + }, + { + "arguments": [ + { + "name": "$arg", + "description": "collection uri", + "type": "string()?" + } + ], + "description": "Returns a sequence of nodes representing a collection of documents indentified by a collection URI; or a default collection if no URI is supplied.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-collection", + "examples": [ + { + "command": "collection()", + "output": "No default collection has been defined" + } + ], + "name": "collection()", + "output": "boolean" + }, + { + "arguments": [], + "description": "Returns the value of the default collation property from the static context.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-default-collation", + "examples": [ + { + "command": "default-collation()", + "output": "http://www.w3.org/2005/xpath-functions/collation/codepoint" + } + ], + "name": "default-collation()", + "output": "string" + }, + { + "arguments": [], + "description": "Returns the value of the default language property from the dynamic context. ", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-default-language", + "examples": [ + { + "command": "default-language()", + "output": "en" + } + ], + "name": "default-language()", + "output": "language" + }, + { + "arguments": [ + { + "name": "$uri", + "type": "string()?", + "description": "URI" + } + ], + "description": "Retrieves a document using a URI supplied as an xs:string, and returns the corresponding document node.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-doc", + "examples": [ + { + "command": "doc(\"\")", + "output": "xml source" + } + ], + "name": "doc()", + "output": "document-node?" + }, + { + "arguments": [ + { + "name": "$uri", + "type": "string()?", + "description": "URI" + } + ], + "description": "The function returns true if and only if the function call fn:doc($uri) would return a document node.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-doc-available", + "examples": [ + { + "command": "doc-available(\"http://api.nbp.pl/api/cenyzlota/today\")", + "output": "false" + } + ], + "name": "doc-available()", + "output": "boolean" + }, + { + "arguments": [ + { + "name": "$uri-part", + "type": "string?", + "description": "uri part" + } + ], + "description": "Encodes reserved characters in a string that is intended to be used in the path segment of a URI.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-encode-for-uri", + "examples": [ + { + "command": "encode-for-uri(\"release 11 tools\")", + "output": "release%2011%20tools" + } + ], + "name": "encode-for-uri()", + "output": "string" + }, + { + "arguments": [ + { + "name": "$name", + "description": "enviroment variable name", + "type": "string" + } + ], + "description": "Returns the value of a system environment variable, if it exists.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-environment-variable", + "examples": [ + { + "output": "C.UTF-8", + "command": "environment-variable(\"LANG\")" + } + ], + "name": "environment-variable()", + "output": "string()?" + }, + { + "arguments": [ + { + "name": "$uri", + "type": "string?", + "description": "uri" + } + ], + "description": "Escapes a URI in the same way that HTML user agents handle attribute values expected to contain URIs.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-escape-html-uri", + "examples": [ + { + "command": "escape-html-uri (\"http://www.example.com/00/Weather/CA/Los Angeles#ocean\")", + "output": "http://www.example.com/00/Weather/CA/Los Angeles#ocean" + } + ], + "name": "escape-html-uri()", + "output": "string" + }, + { + "arguments": [ + { + "name": "$element", + "type": "element()", + "description": "scope to get prefix from" + } + ], + "description": "Returns the prefixes of the in-scope namespaces for an element node.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-in-scope-prefixes", + "examples": [ + { + "output": "('u','xsi','xml')", + "command": "in-scope-prefixes(//u:UserList[1])" + } + ], + "name": "in-scope-prefixes()", + "output": "string*" + }, + { + "arguments": [ + { + "name": "$iri", + "description": "iri", + "type": "string?" + } + ], + "description": "Converts a string containing an IRI into a URI", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-iri-to-uri", + "examples": [ + { + "output": "http://tools.release11.com/?xpath&%20some%20additional%20data", + "command": "iri-to-uri(\"http://tools.release11.com/?xpath& some additional data\")" + } + ], + "name": "iri-to-uri()", + "output": "string" + }, + { + "arguments": [ + { + "name": "$href", + "description": "href to external JSON document", + "type": "string?" + }, + { + "name": "$options", + "description": "additional options", + "type": "map(*)" + } + ], + "description": "Reads an external resource containing JSON, and returns the result of parsing the resource as JSON.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-json-doc", + "examples": [ + { + "output": "[map{\"data\":\"2023-08-18\",\"cena\":2.5055e2}]", + "command": "json-doc('http://api.nbp.pl/api/cenyzlota/today?format=json')" + } + ], + "name": "json-doc()", + "output": "item()?" + }, + { + "arguments": [ + { + "name": "$json-text", + "description": "JSON string value", + "type": "string?" + }, + { + "name": "$options", + "description": "additional options", + "type": "map(*)" + } + ], + "description": "Parses a string supplied in the form of a JSON text, returning the results in the form of an XML document node.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-json-to-xml", + "examples": [ + { + "output": "2023-08-182.5055e2", + "command": "json-to-xml('{\"data\":\"2023-08-18\",\"cena\":2.5055e2}')" + } + ], + "name": "json-to-xml()", + "output": "document-node()?" + }, + { + "arguments": [ + { + "name": "$node", + "description": "node to test", + "type": "node()?" + }, + { + "name": "$testlang", + "description": "language", + "type": "string()?" + } + ], + "description": "This function tests whether the language of $node, or the context item if the second argument is omitted, as specified by xml:lang attributes is the same as, or is a sublanguage of, the language specified by $testlang.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-lang", + "examples": [ + { + "output": "false", + "command": "lang('pl',//u:UserList[1])" + } + ], + "name": "lang()", + "output": "boolean" + }, + { + "arguments": [ + { + "name": "$arg", + "description": "QName", + "type": "QName?" + } + ], + "description": "Returns the local part of the supplied QName.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-local-name-from-QName", + "examples": [ + { + "command": "local-name-from-QName(xs:QName(\"u:User\"))", + "output": "User" + } + ], + "name": "local-name-from-QName()", + "output": "NCName" + }, + { + "arguments": [ + { + "name": "$element", + "description": "element where namespace exist", + "type": "element()" + }, + { + "name": "$prefix", + "description": "namespace prefix", + "type": "string?" + } + ], + "description": "Returns the namespace URI of one of the in-scope namespaces for $element, identified by its namespace prefix.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-namespace-uri-for-prefix", + "examples": [ + { + "output": "http://www.release11.com/schemas/Sample.xsd", + "command": "namespace-uri-for-prefix(\"u\",//u:UserList[1])" + } + ], + "name": "namespace-uri-for-prefix()", + "output": "URI?" + }, + { + "arguments": [ + { + "name": "$arg", + "description": "QName", + "type": "QName?" + } + ], + "description": "Returns the namespace URI part of the supplied QName.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-namespace-uri-from-QName", + "examples": [ + { + "output": "http://www.release11.com/schemas/Sample.xsd", + "command": "namespace-uri-from-QName(xs:QName(\"u:User\"))" + } + ], + "name": "namespace-uri-from-QName()", + "output": "URI?" + }, + { + "arguments": [ + { + "name": "$json-text", + "type": "string?", + "description": "XML document" + }, + { + "name": "$options", + "description": "additional options", + "type": "map(*)?" + } + ], + "description": "Parses a string supplied in the form of a JSON text, returning the results typically in the form of a map or array.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-parse-json", + "examples": [], + "name": "parse-json()", + "output": "item()?" + }, + { + "arguments": [ + { + "name": "$arg", + "type": "string?", + "description": "XML String" + } + ], + "description": "This function takes as input an XML document represented as a string, and returns the document node at the root of an XDM tree representing the parsed document.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-parse-xml", + "examples": [ + { + "command": "parse-xml(unparsed-text('http://api.nbp.pl/api/cenyzlota/today?format=xml'))", + "output": "Parsed as XML data from NBP Api" + } + ], + "name": "parse-xml()", + "output": "document-node(element(*))?" + }, + { + "arguments": [ + { + "name": "$arg", + "type": "string?", + "description": "XML Fragment String" + } + ], + "description": "This function takes as input an XML external entity represented as a string, and returns the document node at the root of an XDM tree representing the parsed document fragment.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-parse-xml-fragment", + "examples": [ + { + "output": "data XML, but as XML Document", + "command": "parse-xml-fragment('hello')" + } + ], + "name": "parse-xml-fragment()", + "output": "document-node()?" + }, + { + "arguments": [ + { + "name": "$arg", + "description": "QName", + "type": "QName?" + } + ], + "description": "Returns the prefix component of the supplied QName.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-prefix-from-QName", + "examples": [ + { + "command": "prefix-from-QName(xs:QName(\"u:User\"))", + "output": "u" + } + ], + "name": "prefix-from-QName()", + "output": "NCName" + }, + { + "arguments": [ + { + "name": "$element", + "type": "element" + }, + { + "name": "$qname", + "description": "qname", + "type": "string?" + } + ], + "description": "Returns an xs:QName value (that is, an expanded-QName) by taking an xs:string that has the lexical form of an xs:QName", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-resolve-QName", + "examples": [ + { + "output": "hello", + "command": "resolve-QName(\"hello\", //u:UserList[1]/u:User[1]/u:Name)" + } + ], + "name": "resolve-QName()", + "output": "QName" + }, + { + "arguments": [ + { + "name": "$relative", + "description": "Source string", + "type": "string?" + } + ], + "description": "Resolves a relative IRI reference against an absolute IRI.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-resolve-uri", + "examples": [ + { + "command": " resolve-uri(\"u:User/u:Name\") ", + "output": "u:User/u:Name" + } + ], + "name": "resolve-uri()", + "output": "URI" + }, + { + "arguments": [ + { + "name": "$arg", + "description": "input sequence", + "type": "item()*" + }, + { + "name": "$params", + "type": "element()?", + "description": "parameters" + } + ], + "description": "This function serializes the supplied input sequence $arg, returning the serialized representation of the sequence as a string.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-serialize", + "examples": [ + { + "output": "first users serialized to String", + "command": "serialize(//u:User[1])" + } + ], + "name": "serialize()", + "output": "string" + }, + { + "arguments": [], + "description": "This function returns the value of the Static Base URI property from the static context.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-static-base-uri", + "examples": [ + { + "output": "", + "command": "static-base-uri()" + } + ], + "name": "static-base-uri()", + "output": "URI" + }, + { + "arguments": [ + { + "name": "$options", + "type": "map(*)", + "description": "XSLT transformation" + } + ], + "description": "Invokes a transformation using a dynamically-loaded XSLT stylesheet.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-transform", + "examples": [], + "name": "transform()", + "output": "map(*)" + }, + { + "arguments": [ + { + "name": "$encoding", + "description": "resource encoding", + "type": "string()?" + }, + { + "name": "$href", + "description": "external resource href", + "type": "string()?" + } + ], + "description": "Reads an external resource (for example, a file) and returns a string representation of the resource.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-unparsed-text", + "examples": [ + { + "command": "unparsed-text(\"https://api.nbp.pl/api/cenyzlota/today?format=xml\")", + "output": "XML data from nbp API" + } + ], + "name": "unparsed-text()", + "output": "string()?" + }, + { + "arguments": [ + { + "name": "$encoding", + "description": "resource encoding", + "type": "string()?" + }, + { + "name": "$href", + "description": "external resource href", + "type": "string()?" + } + ], + "description": "Because errors in evaluating the unparsed-text() function are non-recoverable, these two functions are provided to allow an application to determine whether a call with particular arguments would succeed", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-unparsed-text-available", + "examples": [ + { + "output": "true", + "command": "unparsed-text-available(\"https://api.nbp.pl/api/cenyzlota/today?format=xml\")" + } + ], + "name": "unparsed-text-available()", + "output": "boolean" + }, + { + "arguments": [ + { + "name": "$encoding", + "description": "resource encoding", + "type": "string()?" + }, + { + "name": "$href", + "description": "external resource href", + "type": "string()?" + } + ], + "description": "reads an external resource (for example, a file) and returns its contents as a sequence of strings, one for each line of text in the string representation of the resource.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-unparsed-text-lines", + "examples": [ + { + "command": "unparsed-text-lines(\"https://api.nbp.pl/api/cenyzlota/today?format=xml\")", + "output": "XML data from nbp API" + } + ], + "name": "unparsed-text-lines()", + "output": "string()*" + }, + { + "arguments": [ + { + "name": "$arg", + "description": "collection uri", + "type": "string()?" + } + ], + "description": "Returns a sequence of xs:anyURI values representing the URIs in a resource collection.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-uri-collection", + "examples": [ + { + "output": "No default collection has been defined", + "command": "uri-collection()" + } + ], + "name": "uri-collection()", + "output": "URI*" + }, + { + "arguments": [ + { + "name": "$input", + "type": "node()?", + "description": "XML document" + }, + { + "name": "$options", + "description": "additional options", + "type": "map(*)" + } + ], + "description": "Converts an XML tree, whose format corresponds to the XML representation of JSON defined in this specification, into a string conforming to the JSON grammar.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-xml-to-json", + "examples": [], + "name": "xml-to-json()", + "output": "document-node()?" + } + ], + "name": "Misc" + }, + { + "entries": [ + { + "arguments": [ + { + "name": "$arg", + "description": "node to read base URI", + "type": "node()?" + } + ], + "description": "Returns the base URI of a node.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-base-uri", + "examples": [ + { + "output": "", + "command": "base-uri()" + } + ], + "name": "base-uri()", + "output": "URI" + }, + { + "arguments": [ + { + "name": "$arg", + "type": "item()*", + "description": "items to get data from" + } + ], + "description": "Returns the result of atomizing a sequence, that is, replacing all nodes in the sequence by their typed values.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-data", + "examples": [ + { + "command": "data(//u:UserList[last()]/*[1])", + "output": "New \n \t Folder \n \t 2023-11-10" + } + ], + "name": "data()", + "output": "any" + }, + { + "arguments": [ + { + "name": "$arg", + "description": "node to read base URI", + "type": "node()?" + } + ], + "description": "Returns the URI of a resource where a document can be found, if available.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-document-uri", + "examples": [ + { + "output": "", + "command": "document-uri()" + } + ], + "name": "document-uri()", + "output": "URI" + }, + { + "arguments": [ + { + "name": "$arg", + "description": "ID Value", + "type": "string*" + }, + { + "name": "$node", + "description": "node", + "type": "node?" + } + ], + "description": "Returns the sequence of element nodes that have an ID value matching the value of one or more of the IDREF values supplied in $arg.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-element-with-id", + "examples": [], + "name": "element-with-id()", + "output": "element*" + }, + { + "arguments": [ + { + "name": "$arg", + "description": "Node to generate id", + "type": "node?" + } + ], + "description": "This function returns a string that uniquely identifies a given node.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-generate-id", + "examples": [ + { + "output": "d0e3", + "command": "generate-id(//u:UserList[1])" + } + ], + "name": "generate-id()", + "output": "string" + }, + { + "arguments": [ + { + "name": "$node", + "description": "node to check children", + "type": "node()?" + } + ], + "description": "Returns true if the supplied node has one or more child nodes (of any kind).", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-has-children", + "examples": [ + { + "command": "has-children(//u:UserList[1])", + "output": "true" + } + ], + "name": "has-children()", + "output": "boolean" + }, + { + "arguments": [ + { + "name": "$arg", + "description": "ID Value", + "type": "string*" + }, + { + "name": "$node", + "description": "node", + "type": "node?" + } + ], + "description": "Returns the sequence of element nodes that have an ID value matching the value of one or more of the IDREF values supplied in $arg.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-id", + "examples": [], + "name": "id()", + "output": "element*" + }, + { + "arguments": [ + { + "name": "$arg", + "description": "ID Value", + "type": "string*" + }, + { + "name": "$node", + "description": "node", + "type": "node?" + } + ], + "description": "Returns the sequence of element or attribute nodes with an IDREF value matching the value of one or more of the ID values supplied in $arg", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-idref", + "examples": [], + "name": "idref()", + "output": "node*" + }, + { + "arguments": [ + { + "name": "$arg", + "description": "node to read local name from", + "type": "node()?" + } + ], + "description": "Returns the local part of the name of $arg as an xs:string that is either the zero-length string, or has the lexical form of an xs:NCName.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-local-name", + "examples": [ + { + "command": "local-name(//u:UserList[1])", + "output": "UserList" + } + ], + "name": "local-name()", + "output": "string" + }, + { + "arguments": [ + { + "name": "$arg", + "description": "node to read name from", + "type": "node()?" + } + ], + "description": "Returns the name of a node, as an xs:string that is either the zero-length string, or has the lexical form of an xs:QName.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-name", + "examples": [ + { + "command": "name(//u:UserList[1])", + "output": "u:UserList" + } + ], + "name": "name()", + "output": "string" + }, + { + "arguments": [ + { + "name": "$arg", + "description": "node to read namespace uri from", + "type": "node()?" + } + ], + "description": "Returns the namespace URI part of the name of $arg, as an xs:anyURI value.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-namespace-uri", + "examples": [ + { + "output": "http://www.release11.com/schemas/Sample.xsd", + "command": "namespace-uri(//u:UserList[1])" + } + ], + "name": "namespace-uri()", + "output": "URI" + }, + { + "arguments": [ + { + "name": "$arg", + "type": "node", + "description": "Node to check if nilled" + } + ], + "description": "Returns true for an element that is nilled", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-nilled", + "examples": [ + { + "output": "false", + "command": "nilled(/u:root)" + } + ], + "name": "nilled()", + "output": "boolean" + }, + { + "arguments": [ + { + "name": "$arg", + "type": "node", + "description": "Node to getName from" + } + ], + "description": "Returns the name of a node", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-node-name", + "examples": [ + { + "command": "node-name(/u:root)", + "output": "u:root" + } + ], + "name": "node-name()", + "output": "QNname" + }, + { + "arguments": [ + { + "name": "$arg", + "description": "node to read path from", + "type": "node()?" + } + ], + "description": "Returns a path expression that can be used to select the supplied node relative to the root of its containing document.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-path", + "examples": [ + { + "output": "/Q{http://www.release11.com/schemas/Sample.xsd}root[1]/Q{http://www.release11.com/schemas/Sample.xsd}UserList[1]", + "command": "path(//u:UserList[1])" + } + ], + "name": "path()", + "output": "string()?" + }, + { + "arguments": [ + { + "name": "$arg", + "description": "node to read namespace uri from", + "type": "node()?" + } + ], + "description": "Returns the root of the tree to which $arg belongs. This will usually, but not necessarily, be a document node.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-root", + "examples": [], + "name": "root()", + "output": "node()?" + } + ], + "name": "Node-Set" + }, + { + "entries": [ + { + "arguments": [ + { + "name": "$arg", + "description": "Number to get absolute value from", + "type": "numeric?" + } + ], + "description": "Returns the absolute value of argument", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-abs", + "examples": [ + { + "output": "10.5", + "command": "abs(-10.5)" + } + ], + "name": "abs()", + "output": "numeric?" + }, + { + "arguments": [ + { + "name": "$arg", + "description": "Number to round upwards", + "type": "numeric?" + } + ], + "description": "Rounds argument upwards to a whole number.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-ceiling", + "examples": [ + { + "output": "11", + "command": "ceiling(10.5)" + } + ], + "name": "ceiling()", + "output": "numeric?" + }, + { + "arguments": [ + { + "name": "$arg", + "description": "Number to round downwards", + "type": "numeric?" + } + ], + "description": "Rounds argument downwards to a whole number.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-floor", + "examples": [ + { + "output": "10", + "command": "floor(10.5)" + } + ], + "name": "floor()", + "output": "numeric?" + }, + { + "arguments": [ + { + "name": "$arg", + "type": "any?", + "description": "Data to parse as number" + } + ], + "description": "Returns the value indicated by argument or, if argument is not specified, the context item after atomization, converted to an double.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-number", + "examples": [ + { + "output": "NaN", + "command": "number(//u:UserList[1]/u:User[1]/u:Name)" + }, + { + "output": "2137", + "command": "number(\"2137\")" + } + ], + "name": "number()", + "output": "double" + }, + { + "arguments": [ + { + "name": "$arg", + "description": "Number to round", + "type": "numeric?" + }, + { + "name": "$precision", + "type": "integer?", + "description": "precision for rounding" + } + ], + "description": "Rounds a value to a specified number of decimal places, rounding upwards if two such values are equally near.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-round", + "examples": [ + { + "output": "2", + "command": "round(2.49999)" + }, + { + "output": "1.13", + "command": "round(1.125,2)" + } + ], + "name": "round()", + "output": "numeric?" + }, + { + "arguments": [ + { + "name": "$arg", + "description": "Number to round", + "type": "numeric?" + }, + { + "name": "$precision", + "type": "integer?", + "description": "precision for rounding" + } + ], + "description": "Rounds a value to a specified number of decimal places, rounding to make the last digit even if two such values are equally near.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-round-half-to-even", + "examples": [ + { + "output": "0", + "command": "round-half-to-even(0.5)" + }, + { + "output": "35600", + "command": "round-half-to-even(35612.25, -2)" + } + ], + "name": "round-half-to-even()", + "output": "numeric?" + } + ], + "name": "Numeric" + }, + { + "entries": [ + { + "arguments": [ + { + "name": "$flags", + "type": "string", + "description": "string to replace searched fragment with" + }, + { + "name": "$input", + "description": "Source string", + "type": "string?" + }, + { + "name": "$pattern", + "description": "regex", + "type": "string" + } + ], + "description": "Analyzes a string using a regular expression, returning an XML structure that identifies which parts of the input string matched or failed to match the regular expression, and in the case of matched substrings, which substrings matched each capturing group in the regular expression.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-analyze-string", + "examples": [ + { + "command": " analyze-string(\"A1,C15,,D24, X50,\", \"([A-Z])([0-9]+)\") ", + "output": "A1,C15,,D24, X50," + } + ], + "name": "analyze-string()", + "output": "element" + }, + { + "arguments": [ + { + "name": "$comparand1", + "description": "First comparand", + "type": "string?" + }, + { + "name": "$comparand2", + "description": "Second comparand", + "type": "string?" + } + ], + "description": "Returns true if two strings are equal, considered codepoint-by-codepoint.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-codepoint-equal", + "examples": [ + { + "command": "codepoint-equal(\"abcd\", \"abcd\")", + "output": "true" + }, + { + "command": "codepoint-equal(\"abcd\", \"abcd \")", + "output": "false" + } + ], + "name": "codepoint-equal()", + "output": "boolean" + }, + { + "arguments": [ + { + "name": "$arg", + "description": "Codepoints", + "type": "integer*" + } + ], + "description": "Creates an String from a sequence of codepoints.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-codepoints-to-string", + "examples": [ + { + "command": "codepoints-to-string(0)", + "output": "FOCH0001" + }, + { + "output": "( ͡° ͜ʖ ͡°)", + "command": "codepoints-to-string((40, 32, 865, 176, 32, 860, 662, 32, 865, 176, 41))" + } + ], + "name": "codepoints-to-string()", + "output": "string" + }, + { + "arguments": [ + { + "name": "$collation", + "description": "Rules of collation", + "type": "string?" + }, + { + "name": "$comparand1", + "description": "First comparand", + "type": "string?" + }, + { + "name": "$comparand2", + "description": "Second comparand", + "type": "string?" + } + ], + "description": "Returns -1, 0, or 1, depending on whether $comparand1 collates before, equal to, or after $comparand2 according to the rules of a selected collation.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-compare", + "examples": [ + { + "output": "0", + "command": "compare('abc', 'abc')" + }, + { + "output": "1", + "command": "compare('Strassen', 'Straße')" + } + ], + "name": "compare()", + "output": "integer?" + }, + { + "arguments": [ + { + "name": "$arg1", + "type": "any?", + "description": "First element to concat" + }, + { + "name": "$arg1", + "type": "any?", + "description": "Second element to concat" + }, + { + "name": "...", + "type": "any*", + "description": "Other elements to concat" + } + ], + "description": "Returns the concatenation of the string values of the arguments.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-concat", + "examples": [ + { + "command": "concat('un', 'grateful')", + "output": "ungrateful" + }, + { + "command": "concat('release11',' web',' tools')", + "output": "release11 web tools" + } + ], + "name": "concat()", + "output": "string" + }, + { + "arguments": [ + { + "name": "$arg1", + "description": "Source string", + "type": "string?" + }, + { + "name": "$arg2", + "description": "searched string", + "type": "string?" + }, + { + "name": "$collation", + "description": "collation", + "type": "string" + } + ], + "description": "Returns true if the string $arg1 contains $arg2 as a substring, taking collations into account.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-contains", + "examples": [ + { + "command": "contains(\"release11Tools\",\"Tools\")", + "output": "true" + } + ], + "name": "contains()", + "output": "boolean" + }, + { + "arguments": [ + { + "name": "$collation", + "description": "collation", + "type": "string" + }, + { + "name": "$input", + "description": "Source strings", + "type": "string*" + }, + { + "name": "$token", + "description": "regex", + "type": "string" + } + ], + "description": "Determines whether or not any of the supplied strings, when tokenized at whitespace boundaries, contains the supplied token, under the rules of the supplied collation.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-contains-token", + "examples": [ + { + "command": " contains-token(\"red green blue \", \"red\") ", + "output": "true" + } + ], + "name": "contains-token()", + "output": "boolean" + }, + { + "arguments": [ + { + "name": "$arg1", + "description": "Source string", + "type": "string?" + }, + { + "name": "$arg2", + "description": "searched string", + "type": "string?" + }, + { + "name": "$collation", + "description": "collation", + "type": "string" + } + ], + "description": "Returns true if the string $arg1 contains $arg2 as a trailing substring, taking collations into account.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-ends-with", + "examples": [ + { + "command": "ends-with(\"release11Tools\",\"ols\")", + "output": "true" + } + ], + "name": "ends-with()", + "output": "boolean" + }, + { + "arguments": [ + { + "name": "$lang", + "description": "language to represent number", + "type": "string?" + }, + { + "name": "$picture", + "description": "format to represent number", + "type": "string" + }, + { + "name": "$value", + "description": "integer value to format", + "type": "integer?" + } + ], + "description": "Formats an integer according to a given picture string, using the conventions of a given natural language if specified.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-format-integer", + "examples": [ + { + "command": "format-integer(123, 'w')", + "output": "one hundred and twenty-three" + }, + { + "output": "21st", + "command": "format-integer(21, '1;o', 'en')" + } + ], + "name": "format-integer()", + "output": "string" + }, + { + "arguments": [ + { + "name": "$decimal-format-name", + "description": "language to represent number", + "type": "string?" + }, + { + "name": "$picture", + "description": "format to represent number", + "type": "string" + }, + { + "name": "$value", + "description": "numeric value to format", + "type": "numeric?" + } + ], + "description": "Returns a string containing a number formatted according to a given picture string, taking account of decimal formats specified in the static context.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-format-number", + "examples": [ + { + "output": "12,345.60", + "command": "format-number(12345.6, '#,###.00')" + }, + { + "output": "-006", + "command": "format-number(-6, '000')" + } + ], + "name": "format-integer()", + "output": "string" + }, + { + "arguments": [ + { + "name": "$arg", + "description": "Source string", + "type": "string?" + } + ], + "description": "Converts a string to lower case.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-lower-case", + "examples": [ + { + "command": "lower-case(\"RELEASE11 TOOLS\")", + "output": "release11 tools" + } + ], + "name": "lower-case()", + "output": "string" + }, + { + "arguments": [ + { + "name": "$flags", + "description": "regex flags", + "type": "string" + }, + { + "name": "$input", + "description": "Source string", + "type": "string?" + }, + { + "name": "$pattern", + "description": "regex", + "type": "string" + } + ], + "description": "Returns true if the supplied string matches a given regular expression.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-matches", + "examples": [ + { + "command": "matches(\"release11Tools\",\"^.*11T.*$\")", + "output": "true" + } + ], + "name": "matches()", + "output": "boolean" + }, + { + "arguments": [ + { + "name": "$arg", + "description": "Source string", + "type": "string?" + }, + { + "name": "$normalizationForm", + "description": "Normalization form", + "type": "string" + } + ], + "description": "Returns the value of $arg after applying Unicode normalization.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-normalize-unicode", + "examples": [ + { + "command": "normalize-unicode(\"release11Tools\",\"NFC\")", + "output": "release11Tools" + } + ], + "name": "normalize-unicode()", + "output": "string" + }, + { + "arguments": [ + { + "name": "$input", + "description": "Source string", + "type": "string?" + }, + { + "name": "$pattern", + "description": "fragment to replace", + "type": "string" + }, + { + "name": "$replacement", + "type": "string", + "description": "string to replace searched fragment with" + } + ], + "description": "Returns a string produced from the input string by replacing any substrings that match a given regular expression with a supplied replacement string.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-replace", + "examples": [ + { + "output": "release 11 WebTools", + "command": "replace(\"release11Tools\",\"11T.*\",\" 11 WebTools\")" + } + ], + "name": "replace()", + "output": "string" + }, + { + "arguments": [ + { + "name": "$arg1", + "description": "Source string", + "type": "string?" + }, + { + "name": "$arg2", + "description": "searched string", + "type": "string?" + }, + { + "name": "$collation", + "description": "collation", + "type": "string" + } + ], + "description": "Returns true if the string $arg1 contains $arg2 as a leading substring, taking collations into account.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-starts-with", + "examples": [ + { + "command": "starts-with(\"release11Tools\",\"rel\")", + "output": "true" + } + ], + "name": "starts-with()", + "output": "boolean" + }, + { + "arguments": [ + { + "name": "$arg", + "type": "item", + "description": "Item to represent as String" + } + ], + "description": "Returns the string value of an item", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-string", + "examples": [ + { + "output": "\"23\"", + "command": "string(23)" + }, + { + "output": "John", + "command": "string(/u:root/u:UserList[1]/u:User[last()]/u:Name)" + } + ], + "name": "string()", + "output": "String" + }, + { + "arguments": [ + { + "name": "$arg1", + "description": "Stings to join", + "type": "string*" + }, + { + "name": "$arg2", + "description": "Separator", + "type": "string" + } + ], + "description": "Returns a string created by concatenating the items in a sequence, with a defined separator between adjacent items.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-concat", + "examples": [ + { + "output": "Now is the time ...", + "command": "string-join(('Now', 'is', 'the', 'time', '...'), ' ')" + }, + { + "output": "release11%%web%%tools", + "command": "string-join(('release11','web','tools'),'%%')" + } + ], + "name": "string-join()", + "output": "string" + }, + { + "arguments": [ + { + "name": "$arg", + "description": "Source string", + "type": "string?" + } + ], + "description": "Returns the number of characters in a string.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-string-length", + "examples": [ + { + "output": "45", + "command": "string-length(\"Harp not on that string, madam; that is past.\")" + }, + { + "output": "16", + "command": "string-length(\"Release 11 tools\")" + } + ], + "name": "string-length()", + "output": "integer" + }, + { + "arguments": [ + { + "name": "$arg", + "description": "String value", + "type": "string?" + } + ], + "description": "Returns the sequence of codepoints that constitute an string value.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-string-to-codepoints", + "examples": [ + { + "output": "(72, 101, 108, 108, 111)", + "command": "string-to-codepoints('Hello')" + }, + { + "output": "(40, 32, 865, 176, 32, 860, 662, 32, 865, 176, 41)", + "command": "string-to-codepoints('( ͡° ͜ʖ ͡°)')" + } + ], + "name": "string-to-codepoints()", + "output": "integer*" + }, + { + "arguments": [ + { + "name": "$length", + "type": "double", + "description": "length to substring" + }, + { + "name": "$sourceString", + "description": "Source string", + "type": "string?" + }, + { + "name": "$start", + "type": "double", + "description": "start index" + } + ], + "description": "Returns the portion of the value of $sourceString beginning at the position indicated by the value of $start and continuing for the number of ·characters· indicated by the value of $length.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-substring", + "examples": [ + { + "output": "car", + "command": "substring(\"motor car\", 6)" + }, + { + "output": "Release 11 tools <3", + "command": "substring(\"Release 11 tools <3 unnecesary words\",1,19)" + } + ], + "name": "substring()", + "output": "string" + }, + { + "arguments": [ + { + "name": "$arg1", + "description": "Source string", + "type": "string?" + }, + { + "name": "$arg2", + "description": "searched string", + "type": "string?" + }, + { + "name": "$collation", + "description": "collation", + "type": "string" + } + ], + "description": "Returns the part of $arg1 that follows the first occurrence of $arg2, taking collations into account.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-substring-after", + "examples": [ + { + "output": "ease11Tools", + "command": "substring-after(\"release11Tools\",\"rel\")" + } + ], + "name": "substring-after()", + "output": "string" + }, + { + "arguments": [ + { + "name": "$arg1", + "description": "Source string", + "type": "string?" + }, + { + "name": "$arg2", + "description": "searched string", + "type": "string?" + }, + { + "name": "$collation", + "description": "collation", + "type": "string" + } + ], + "description": "Returns the part of $arg1 that precedes the first occurrence of $arg2, taking collations into account.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-substring-before", + "examples": [ + { + "output": "release11To", + "command": "substring-before(\"release11Tools\",\"ols\")" + } + ], + "name": "substring-before()", + "output": "string" + }, + { + "arguments": [ + { + "name": "$flags", + "description": "string to replace searched fragment with", + "type": "string?" + }, + { + "name": "$input", + "description": "Source string", + "type": "string?" + }, + { + "name": "$pattern", + "description": "fragment to replace", + "type": "string?" + } + ], + "description": "Returns a sequence of strings constructed by splitting the input wherever a separator is found; the separator is any substring that matches a given regular expression.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-tokenize", + "examples": [ + { + "output": "release\nTools", + "command": "tokenize(\"release11Tools\",\"11\")" + } + ], + "name": "tokenize()", + "output": "string*" + }, + { + "arguments": [ + { + "name": "$arg", + "description": "Source string", + "type": "string?" + }, + { + "name": "$mapString", + "type": "string", + "description": "string to map" + }, + { + "name": "$transString", + "type": "string", + "description": "transition string" + } + ], + "description": "Returns the value of $arg modified by replacing or removing individual characters.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-translate", + "examples": [ + { + "output": "BAr", + "command": "translate(\"bar\",\"abc\",\"ABC\")" + } + ], + "name": "translate()", + "output": "string" + }, + { + "arguments": [ + { + "name": "$arg", + "description": "Source string", + "type": "string?" + } + ], + "description": "Converts a string to upper case.", + "documentationReferenceURL": "https://www.w3.org/TR/xpath-functions-31/#func-upper-case", + "examples": [ + { + "output": "RELEASE11 TOOLS", + "command": "upper-case(\"release11 tools\")" + } + ], + "name": "upper-case()", + "output": "string" + } + ], + "name": "String" + } +] \ No newline at end of file diff --git a/Frontend/src/assets/tooltips/xpath/xpathdiffs.json b/Frontend/src/assets/tooltips/xpath/xpathdiffs.json new file mode 100644 index 0000000..91e0030 --- /dev/null +++ b/Frontend/src/assets/tooltips/xpath/xpathdiffs.json @@ -0,0 +1,48 @@ +{ + "universalInfo": + [ + { + "category":"What is XPath", + "description":"XPath is a query language used for selecting nodes from XML and processing them. It may perform operations on strings, numbers and boolean values." + }, + { + "category":"What's new in XPath?" + } + ], + "VersionDiffs": + [ + { + "version":"2.0", + "diffs": + [ + "Added support for all XML simple types", + "Many new functions (tripled instruction count)", + "All expressions evaluate to sequence", + "Introduces conditional expressions and for-loops" + ] + }, + { + "version":"3.0", + "diffs": + [ + "Dynamic function calls (function may be called without being referenced by name (find function in collection and call)", + "Inline functions", + "Namespace literals - Namespace may be embedded into function name", + "Support for union types - collections containing elements of different types", + "Mapping operator - '!' performs evaluation for each element in sequence and concatenates results", + "Introduced maps" + ] + }, + { + "version":"3.1", + "diffs": + [ + "New operator for function chaining '=>'", + "Introduced maps that store data in pair 'key:value' - 'map{ key : value, key : value }'", + "Introduced arrays - they differ from sequences in that they can be nested 'array{1, 5, 7, (10 to 20)}'" + ] + } + ] + + +} \ No newline at end of file diff --git a/Frontend/src/assets/tooltips/xslt/xslt1.json b/Frontend/src/assets/tooltips/xslt/xslt1.json new file mode 100644 index 0000000..edb41de --- /dev/null +++ b/Frontend/src/assets/tooltips/xslt/xslt1.json @@ -0,0 +1,845 @@ +[ + { + "name": "Templates", + "entries": [ + { + "name": "", + "description": "Defines an output producing template. This element must have either the match attribute or the name attribute set.", + "attributes": + [ + { + "type":"optional", + "name":"match", + "description":"Specifies a pattern that determines the elements for which this template should be used. It is a required attribute if there is no name attribute." + }, + { + "type":"optional", + "name":"name", + "description":"Specifies a name for this template" + }, + { + "type":"optional", + "name":"mode", + "description":"Specifies a particular mode for this template, which can be matched by an attribute of the element" + }, + { + "type":"optional", + "name":"priority", + "description":"Specifies a numeric priority for this template." + } + ], + "examples": [], + "documentationReferenceURL": "https://developer.mozilla.org/en-US/docs/Web/XSLT/Element/template", + "output": "XML Tree" + },{ + "name": "", + "description": "Selects a set of nodes in the input tree and instructs the processor to apply the proper templates to them.", + "attributes": + [ + { + "type":"optional", + "name":"mode", + "description":"Specifies a particular mode for this template, which can be matched by an attribute of the element" + }, + { + "type":"optional", + "name":"select", + "description":"XPath expression that specifies the nodes to be processed. If this attribute is not set, all child nodes of the current node are selected." + } + ], + "examples": [], + "documentationReferenceURL": "https://developer.mozilla.org/en-US/docs/Web/XSLT/Element/apply-templates", + "output": "XML Nodes" + },{ + "name": "", + "description": "Import precedence requires that template rules in main stylesheets have higher precedence than template rules in imported stylesheets", + "attributes": + [ + ], + "examples": [], + "documentationReferenceURL": "https://developer.mozilla.org/en-US/docs/Web/XSLT/Element/apply-imports", + "output": "Imported output from another XSLT" + },{ + "name": "", + "description": "Invokes a named template", + "attributes": + [ + { + "type":"required", + "name":"name", + "description":"Specifies the name of the template you wish to invoke." + } + ], + "examples": [], + "documentationReferenceURL": "https://developer.mozilla.org/en-US/docs/Web/XSLT/Element/call-template", + "output": "Called template XML" + } + ] + }, + { + "name":"Loops and conditional processing", + "entries": + [ + { + "name": "", + "description": "Selects a set of nodes and processes each of them in the same way", + "attributes": + [ + { + "type":"required", + "name":"select", + "description":"XPath expression that specifies the nodes to be processed." + } + ], + "examples": [], + "documentationReferenceURL": "https://developer.mozilla.org/en-US/docs/Web/XSLT/Element/for-each", + "output": "Processed set of nodes" + }, + { + "name": "", + "description": "Element contains a test attribute and a template. If the test evaluates to true, the template is processed.", + "attributes": + [ + { + "type":"required", + "name":"test", + "description":"Contains an XPath expression that can be evaluated to a Boolean value." + } + ], + "examples": [], + "documentationReferenceURL": "https://developer.mozilla.org/en-US/docs/Web/XSLT/Element/if", + "output": "Depending on test processed template or not." + }, + { + "name": "", + "description": "Element defines a choice among a number of alternatives. It behaves like a switch statement in procedural languages.", + "attributes": + [ + + ], + "examples": [], + "documentationReferenceURL": "https://developer.mozilla.org/en-US/docs/Web/XSLT/Element/choose", + "output": "Choosed XML template" + }, + { + "name": "", + "description": "Element always appears within an element, acting like a case statement.", + "attributes": + [ + { + "type":"required", + "name":"test", + "description":"Boolean expression to be evaluated. If true, the contents of the element are processed; if false, they are ignored." + } + ], + "examples": [], + "documentationReferenceURL": "https://developer.mozilla.org/en-US/docs/Web/XSLT/Element/when", + "output": "Processed or not XML Template" + }, + { + "name": "", + "description": "Element is used to define the action that should be taken when none of the conditions apply.", + "attributes": + [ + + ], + "examples": [], + "documentationReferenceURL": "https://developer.mozilla.org/en-US/docs/Web/XSLT/Element/otherwise", + "output": "processed XML Template" + } + ] + }, + { + "name":"Creating Result Tree", + "entries": + [ + { + "name": "", + "description": "Creates an attribute in the output document, using any values that can be accessed from the stylesheet. The element must be defined before any other output document element inside the output document element for which it establishes attribute values", + "attributes": + [ + { + "type":"required", + "name":"name", + "description":"Specifies the name of the attribute to be created in the output document." + } , + { + "type":"optional", + "name":"namespace", + "description":"Defines the namespace URI for this attribute in the output document." + } + ], + "examples": [], + "documentationReferenceURL": "https://developer.mozilla.org/en-US/docs/Web/XSLT/Element/attribute", + "output": "XML Element with provided attribute" + },{ + "name": "", + "description": "Creates a named set of attributes, which can then be applied as whole to the output document, in a manner similar to named styles in CSS", + "attributes": + [ + { + "type":"required", + "name":"name", + "description":"Specifies the name of the attribute set." + } , + { + "type":"optional", + "name":"use-attribute-sets", + "description":"Builds an attribute set from other attribute sets. The names of the contributing sets must be separated with whitespace characters" + } + ], + "examples": [], + "documentationReferenceURL": "https://developer.mozilla.org/en-US/docs/Web/XSLT/Element/attribute-set", + "output": "Named set of attributes" + },{ + "name": "", + "description": "Transfers a shallow copy (the node and any associated namespace node) of the current node to the output document.", + "attributes": + [ + { + "type":"optional", + "name":"use-attribute-sets", + "description":"Lists attribute sets that should be applied to the output node, if it is an element" + } + ], + "examples": [], + "documentationReferenceURL": "https://developer.mozilla.org/en-US/docs/Web/XSLT/Element/copy", + "output": "Copy of XML node" + },{ + "name": "", + "description": "Counts things sequentially. It can also be used to quickly format a number.", + "attributes": + [ + { + "type":"optional", + "name":"count", + "description":"Specifies what in the source tree should be numbered sequentially. It uses an XPath expression." + }, + { + "type":"optional", + "name":"level", + "description":"Defines how levels of the source tree should be considered in generating sequential numbers. It has three valid values: single, multiple, and any." + }, + { + "type":"optional", + "name":"from", + "description":"Specifies where the numbering should start or start over." + }, + { + "type":"optional", + "name":"value", + "description":"Applies a given format to a number." + }, + { + "type":"optional", + "name":"format", + "description":"Defines the format of the generated number." + }, + { + "type":"optional", + "name":"lang", + "description":"Specifies which language's alphabet should be used in letter-based numbering formats." + }, + { + "type":"optional", + "name":"letter-value", + "description":"Disambiguates between numbering sequences that use letters. Some languages have more than one numbering system that use letters." + }, + { + "type":"optional", + "name":"grouping-separator", + "description":"Specifies what character should be used as the group (e.g. thousands) separator." + }, + { + "type":"optional", + "name":"grouping-size", + "description":"Indicates the number of digits that make up a numeric group." + } + ], + "examples": [], + "documentationReferenceURL": "https://developer.mozilla.org/en-US/docs/Web/XSLT/Element/number", + "output": "Formatted number" + },{ + "name": "", + "description": "Evaluates an XPath expression, converts it to a string, and writes that string to the result tree.", + "attributes": + [ + { + "type":"required", + "name":"select", + "description":"Specifies the XPath expression to be evaluated and written to the output tree." + }, + { + "type":"optional", + "name":"disable-output-escaping", + "description":"Specifies whether special characters are escaped when written to the output." + } + ], + "examples": [], + "documentationReferenceURL": "https://developer.mozilla.org/en-US/docs/Web/XSLT/Element/value-of", + "output": "Value from XML nodes" + },{ + "name": "", + "description": "Writes literal text to the output tree.", + "attributes": + [ + { + "type":"optional", + "name":"disable-output-escaping", + "description":"Specifies whether special characters are escaped when written to the output." + } + ], + "examples": [], + "documentationReferenceURL": "https://developer.mozilla.org/en-US/docs/Web/XSLT/Element/text", + "output": "XML Node with writed text" + },{ + "name": "", + "description": "Writes a comment to the output document. It must include only text.", + "attributes": + [ + ], + "examples": [], + "documentationReferenceURL": "https://developer.mozilla.org/en-US/docs/Web/XSLT/Element/comment", + "output": "XML Node with writed comment" + }, + { + "name": "", + "description": "Writes a processing instruction to the output document.", + "attributes": + [ + { + "type":"required", + "name":"name", + "description":"Specifies the name of this processing instruction." + } + ], + "examples": [], + "documentationReferenceURL": "https://developer.mozilla.org/en-US/docs/Web/XSLT/Element/processing-instruction", + "output": "XML Node with output of processed instruction" + }, + { + "name": "", + "description": "Declares a named key which can be used elsewhere in the stylesheet with the key( ) function.", + "attributes": + [ + { + "type":"required", + "name":"name", + "description":"Specifies a name for this key. Must be a QName." + }, + { + "type":"required", + "name":"match", + "description":"Defines the nodes for which this key is applicable." + }, + { + "type":"required", + "name":"use", + "description":"Specifies an XPath expression that will be used to determine the value of the key for each of the applicable nodes." + } + ], + "examples": [], + "documentationReferenceURL": "https://developer.mozilla.org/en-US/docs/Web/XSLT/Element/key", + "output": "key to use in stylesheet" + }, + { + "name": "", + "description": "Declares a named key which can be used elsewhere in the stylesheet with the key( ) function.", + "attributes": + [ + { + "type":"optional", + "name":"name", + "description":"Specifies a name for this format." + }, + { + "type":"optional", + "name":"decimal-separator", + "description":"Specifies the decimal point character." + }, + { + "type":"optional", + "name":"grouping-separator", + "description":"Specifies the thousands separator character." + }, + { + "type":"optional", + "name":"infinity", + "description":"Specifies the string used to represent infinity." + }, + { + "type":"optional", + "name":"minus-sign", + "description":"Specifies the minus sign character." + }, + { + "type":"optional", + "name":"NaN", + "description":"Specifies the string used when the value is not a number." + }, + { + "type":"optional", + "name":"percent", + "description":"Specifies the percentage sign character." + }, + { + "type":"optional", + "name":"per-mille", + "description":"Specifies the per thousand character." + }, + { + "type":"optional", + "name":"zero-digit", + "description":"Specifies the digit zero character." + }, + { + "type":"optional", + "name":"digit", + "description":"Specifies the character used in the format pattern to stand for a digit." + }, + { + "type":"optional", + "name":"pattern-separator", + "description":"Specifies the character separating positive and negative subpatterns in a format pattern." + } + ], + "examples": [], + "documentationReferenceURL": "https://developer.mozilla.org/en-US/docs/Web/XSLT/Element/decimal-format", + "output": "decimal format" + }, + { + "name": "", + "description": "Defines the elements in the source document for which whitespace should be preserved.", + "attributes": + [ + { + "type":"required", + "name":"elements", + "description":"Specifies the elements for which whitespace should be preserved." + } + ], + "examples": [], + "documentationReferenceURL": "https://developer.mozilla.org/en-US/docs/Web/XSLT/Element/preserve-space", + "output": "preserved space" + }, + { + "name": "", + "description": "Defines the elements in the source document for which whitespace should be removed.", + "attributes": + [ + { + "type":"required", + "name":"elements", + "description":"Specifies the elements for which whitespace should be preserved." + } + ], + "examples": [], + "documentationReferenceURL": "https://developer.mozilla.org/en-US/docs/Web/XSLT/Element/strip-space", + "output": "elements with removed whitespace" + }, + { + "name": "", + "description": "Defines a sort key for nodes selected by or and determines the order in which they are processed.", + "attributes": + [ + { + "type":"optional", + "name":"select", + "description":"Uses an XPath expression to specify the nodes to be sorted." + }, + { + "type":"optional", + "name":"order", + "description":"Specifies whether the nodes should be processed in \"ascending\" or \"descending\" order." + }, + { + "type":"optional", + "name":"case-order", + "description":"Indicates whether upper- or lowercase letters are to be ordered first." + }, + { + "type":"optional", + "name":"lang", + "description":"Specifies which language is to be used by the sort." + }, + { + "type":"optional", + "name":"data-type", + "description":"Defines whether items are to be ordered alphabetically or numerically." + } + ], + "examples": [], + "documentationReferenceURL": "https://developer.mozilla.org/en-US/docs/Web/XSLT/Element/sort", + "output": "sorted elements" + }, + { + "name": "", + "description": "Controls the characteristics of the output document.", + "attributes": + [ + { + "type":"optional", + "name":"method", + "description":"Specifies output format." + }, + { + "type":"optional", + "name":"version", + "description":"Specifies the value of the version attribute of the XML or HTML declaration in the output document." + }, + { + "type":"optional", + "name":"encoding", + "description":"Specifies the value of the encoding attribute in the output document." + }, + { + "type":"optional", + "name":"omit-xml-declaration", + "description":"Indicates whether or not to include an XML declaration in the output." + }, + { + "type":"optional", + "name":"doctype-public", + "description":"Specifies the value of the PUBLIC attribute of the DOCTYPE declaration in the output document." + }, + { + "type":"optional", + "name":"doctype-system", + "description":"Specifies the value of the SYSTEM attribute of the DOCTYPE declaration in the output document." + }, + { + "type":"optional", + "name":"cdata-section-elements", + "description":"Lists elements whose text contents should be written as CDATA sections." + } + ], + "examples": [], + "documentationReferenceURL": "https://developer.mozilla.org/en-US/docs/Web/XSLT/Element/output", + "output": "changed document prefix" + } + ] + }, + { + "name":"Stylesheet structure", + "entries": + [ + { + "name": "", + "description": "Is the outermost element of a stylesheet.", + "attributes": + [ + { + "type":"required", + "name":"version", + "description":"Specifies the version of XSLT required by this stylesheet." + }, + { + "type":"optional", + "name":"exclude-result-prefixes", + "description":"Specifies any namespace used in this document that should not be sent to the output document." + }, + { + "type":"optional", + "name":"extension-element-prefixes", + "description":"Specifies a space-separated list of any namespace prefixes for extension elements in this document." + }, + { + "type":"optional", + "name":"default-collation", + "description":"Specifies the default collation used by all XPath expressions appearing in attributes or text value templates that have the element as an ancestor" + }, + { + "type":"optional", + "name":"default-mode", + "description":"Defines the default value for the mode attribute of all and elements within its scope." + }, + { + "type":"optional", + "name":"default-validation", + "description":"Defines the default value of the validation attribute of all relevant instructions appearing within its scope." + }, + { + "type":"optional", + "name":"expand-text", + "description":"Determines whether descendant text nodes of the element are treated as text value templates." + }, + { + "type":"optional", + "name":"id", + "description":"Specifies an id for this stylesheet. This is most often used when the stylesheet is embedded in another XML document." + }, + { + "type":"optional", + "name":"input-type-annotations", + "description":"Specifies whether type annotations are stripped from the element so the same results are produced whether the source documents have been validated against a schema or not." + }, + { + "type":"optional", + "name":"use-when", + "description":"Determines whether the element and all the nodes that have it as ancestor are excluded from the stylesheet." + }, + { + "type":"optional", + "name":"xpath-default-namespace", + "description":"Specifies the namespace that will be used if the element name is unprefixed or an unprefixed type name within an XPath expression." + } + ], + "examples": [], + "documentationReferenceURL": "https://developer.mozilla.org/en-US/docs/Web/XSLT/Element/stylesheet", + "output": "XSLT Stylesheet" + }, + { + "name": "", + "description": "Exactly equivalent to the element.", + "attributes": + [ + { + "type":"required", + "name":"version", + "description":"Specifies the version of XSLT required by this stylesheet." + }, + { + "type":"optional", + "name":"exclude-result-prefixes", + "description":"Specifies any namespace used in this document that should not be sent to the output document." + }, + { + "type":"optional", + "name":"extension-element-prefixes", + "description":"Specifies a space-separated list of any namespace prefixes for extension elements in this document." + }, + { + "type":"optional", + "name":"default-collation", + "description":"Specifies the default collation used by all XPath expressions appearing in attributes or text value templates that have the element as an ancestor" + }, + { + "type":"optional", + "name":"default-mode", + "description":"Defines the default value for the mode attribute of all and elements within its scope." + }, + { + "type":"optional", + "name":"default-validation", + "description":"Defines the default value of the validation attribute of all relevant instructions appearing within its scope." + }, + { + "type":"optional", + "name":"expand-text", + "description":"Determines whether descendant text nodes of the element are treated as text value templates." + }, + { + "type":"optional", + "name":"id", + "description":"Specifies an id for this stylesheet. This is most often used when the stylesheet is embedded in another XML document." + }, + { + "type":"optional", + "name":"input-type-annotations", + "description":"Specifies whether type annotations are stripped from the element so the same results are produced whether the source documents have been validated against a schema or not." + }, + { + "type":"optional", + "name":"use-when", + "description":"Determines whether the element and all the nodes that have it as ancestor are excluded from the stylesheet." + }, + { + "type":"optional", + "name":"xpath-default-namespace", + "description":"Specifies the namespace that will be used if the element name is unprefixed or an unprefixed type name within an XPath expression." + } + ], + "examples": [], + "documentationReferenceURL": "https://developer.mozilla.org/en-US/docs/Web/XSLT/Element/transform", + "output": "XSLT Stylesheet" + }, + { + "name": "", + "description": "Top-level element that serves to import the contents of one stylesheet into another stylesheet.", + "attributes": + [ + { + "type":"required", + "name":"href", + "description":"Specifies the URI of the stylesheet to import." + } + ], + "examples": [], + "documentationReferenceURL": "https://developer.mozilla.org/en-US/docs/Web/XSLT/Element/import", + "output": "XSLT Stylesheet from another file" + }, + { + "name": "", + "description": "Merges the contents of one stylesheet with another. Unlike the case of , the contents of an included stylesheet have exactly the same precedence as the contents of the including stylesheet.", + "attributes": + [ + { + "type":"required", + "name":"href", + "description":"Specifies the URI of the stylesheet to import." + } + ], + "examples": [], + "documentationReferenceURL": "https://developer.mozilla.org/en-US/docs/Web/XSLT/Element/include", + "output": "XSLT Stylesheet with XSLT from another file." + }, + { + "name": "", + "description": "Maps a namespace in the stylesheet to a different namespace in the output tree. The most common use for this element is in generating a stylesheet from another stylesheet.", + "attributes": + [ + { + "type":"required", + "name":"stylesheet-prefix", + "description":"Specifies the temporary namespace." + }, + { + "type":"required", + "name":"result-prefix", + "description":"Specifies the desired namespace for the output tree." + } + ], + "examples": [], + "documentationReferenceURL": "https://developer.mozilla.org/en-US/docs/Web/XSLT/Element/namespace-alias", + "output": "XML Tree with changed namespaces" + }, + { + "name": "", + "description": "Creates an element in the output document.", + "attributes": + [ + { + "type":"required", + "name":"name", + "description":"Specifies the desired name of the output element. The name must be a valid QName." + }, + { + "type":"optional", + "name":"namespace", + "description":"Specifies the namespace of the output element." + }, + { + "type":"optional", + "name":"use-attribute-sets", + "description":"A whitespace-separated list of attribute-set element names to be applied to the element element's output element." + } + ], + "examples": [], + "documentationReferenceURL": "https://developer.mozilla.org/en-US/docs/Web/XSLT/Element/namespace-alias", + "output": "XML with provided element" + } + ] + }, + { + "name":"Variables and parameters", + "entries": + [ + { + "name": "", + "description": "Establishes a parameter by name and, optionally, a default value for that parameter. When used as a top-level element, the parameter is global. When used inside an element, the parameter is local to that template.", + "attributes": + [ + { + "type":"required", + "name":"name", + "description":"Names the parameter. This must be a QName." + }, + { + "type":"optional", + "name":"select", + "description":"Uses an XPath expression to provide a default value if none is specified." + } + ], + "examples": [], + "documentationReferenceURL": "https://developer.mozilla.org/en-US/docs/Web/XSLT/Element/param", + "output": "XML parameter" + }, + { + "name": "", + "description": "Declares a global or local variable in a stylesheet and gives it a value.", + "attributes": + [ + { + "type":"required", + "name":"name", + "description":"Gives the variable a name." + }, + { + "type":"optional", + "name":"select", + "description":"Defines the value of the variable through an XPath expression. If the element contains a template, this attribute is ignored." + } + ], + "examples": [], + "documentationReferenceURL": "https://developer.mozilla.org/en-US/docs/Web/XSLT/Element/variable", + "output": "XML Variable" + }, + { + "name": "", + "description": "Sets the value of a parameter to be passed into a template.", + "attributes": + [ + { + "type":"required", + "name":"name", + "description":"Gives this parameter a name." + }, + { + "type":"optional", + "name":"select", + "description":"Defines the value of the parameter through an XPath expression. If the element contains a template, this attribute is ignored." + } + ], + "examples": [], + "documentationReferenceURL": "https://developer.mozilla.org/en-US/docs/Web/XSLT/Element/with-param", + "output": "XML Parameter" + }, + { + "name": "", + "description": "Makes a deep copy (including descendant nodes) of whatever the select attribute specifies to the output document.", + "attributes": + [ + { + "type":"required", + "name":"select", + "description":"Uses an XPath expression that specifies what is to be copied." + } + ], + "examples": [], + "documentationReferenceURL": "https://developer.mozilla.org/en-US/docs/Web/XSLT/Element/copy-of", + "output": "Copy of Selected node" + } + ] + }, + { + "name":"Misc", + "entries": + [ + { + "name": "", + "description": "Outputs a message (to the JavaScript Console in NS) and optionally terminates execution of the stylesheet.", + "attributes": + [ + { + "type":"optional", + "name":"terminate", + "description":"Set to \"yes\", indicates that execution should be terminated. The default value is \"no\", in which case the message is output and execution continues." + } + ], + "examples": [], + "documentationReferenceURL": "https://developer.mozilla.org/en-US/docs/Web/XSLT/Element/message", + "output": "Message in console" + }, + { + "name": "", + "description": "specifies what template to use if a given extension (or, eventually, newer version) element is not supported.", + "attributes": + [ + ], + "examples": [], + "documentationReferenceURL": "https://developer.mozilla.org/en-US/docs/Web/XSLT/Element/fallback", + "output": "Fallbacks" + } + ] + } +] \ No newline at end of file diff --git a/Frontend/src/assets/tooltips/xslt/xslt3.json b/Frontend/src/assets/tooltips/xslt/xslt3.json new file mode 100644 index 0000000..e532802 --- /dev/null +++ b/Frontend/src/assets/tooltips/xslt/xslt3.json @@ -0,0 +1,2064 @@ +[ + { + "name": "Templates", + "entries": [ + { + "name": "", + "description": "Defines an output producing template. This element must have either the match attribute or the name attribute set.", + "attributes": + [ + { + "type":"optional", + "name":"match", + "description":"Specifies a pattern that determines the elements for which this template should be used. It is a required attribute if there is no name attribute." + }, + { + "type":"optional", + "name":"name", + "description":"Specifies a name for this template" + }, + { + "type":"optional", + "name":"mode", + "description":"Specifies a particular mode for this template, which can be matched by an attribute of the element" + }, + { + "type":"optional", + "name":"priority", + "description":"Specifies a numeric priority for this template." + } + ], + "examples": [], + "documentationReferenceURL": "https://developer.mozilla.org/en-US/docs/Web/XSLT/Element/template", + "output": "XML Tree" + },{ + "name": "", + "description": "Selects a set of nodes in the input tree and instructs the processor to apply the proper templates to them.", + "attributes": + [ + { + "type":"optional", + "name":"mode", + "description":"Specifies a particular mode for this template, which can be matched by an attribute of the element" + }, + { + "type":"optional", + "name":"select", + "description":"XPath expression that specifies the nodes to be processed. If this attribute is not set, all child nodes of the current node are selected." + } + ], + "examples": [], + "documentationReferenceURL": "https://developer.mozilla.org/en-US/docs/Web/XSLT/Element/apply-templates", + "output": "XML Nodes" + },{ + "name": "", + "description": "Import precedence requires that template rules in main stylesheets have higher precedence than template rules in imported stylesheets", + "attributes": + [ + ], + "examples": [], + "documentationReferenceURL": "https://developer.mozilla.org/en-US/docs/Web/XSLT/Element/apply-imports", + "output": "Imported output from another XSLT" + },{ + "name": "", + "description": "Invokes a named template", + "attributes": + [ + { + "type":"required", + "name":"name", + "description":"Specifies the name of the template you wish to invoke." + } + ], + "examples": [], + "documentationReferenceURL": "https://developer.mozilla.org/en-US/docs/Web/XSLT/Element/call-template", + "output": "Called template XML" + },{ + "name": "", + "description": "Chooses the next template to execute.", + "attributes": + [ + + ], + "examples": [], + "documentationReferenceURL": "https://www.saxonica.com/html/documentation12/xsl-elements/next-match.html", + "output": "Choosed XML template" + },{ + "name": "", + "description": "Allows properties of a mode to be defined.", + "attributes": + [ + { + "type":"optional", + "name":"name", + "description":"Identifies the name of this mode" + }, + { + "type":"optional", + "name":"streamable", + "description":"The value yes indicates that template rules using this mode must be capable of being evaluated in a streaming manner." + }, + { + "type":"optional", + "name":"use-accumulators", + "description":"Relevant only when this mode is the initial mode of the transformation." + }, + { + "type":"optional", + "name":"on-no-match", + "description":"Indicates what action is taken when a node being processed by xsl:apply-templates in this mode matches no template rule." + }, + { + "type":"optional", + "name":"on-no-match", + "description":"Indicates what action is taken when a node being processed by xsl:apply-templates in this mode matches no template rule." + }, + { + "type":"optional", + "name":"on-multiple-match", + "description":"Indicates what action is taken when a node being processed by xsl:apply-templates in this mode matches more than one template rule." + }, + { + "type":"optional", + "name":"warning-on-no-match", + "description":"The value yes causes a run-time warning when a node is matched by no template rules." + }, + { + "type":"optional", + "name":"warning-on-multiple-match", + "description":"The value yes causes a run-time warning when a node is matched by multiple template rules." + }, + { + "type":"optional", + "name":"typed", + "description":"Informs the processor whether the nodes to be processed by template rules in this mode are to be typed or untyped." + }, + { + "type":"optional", + "name":"visibility", + "description":"Informs the processor whether the nodes to be processed by template rules in this mode are to be typed or untyped." + }, + { + "type":"optional", + "name":"saxon:trace", + "description":"Causes tracing of all template rules executed in the mode, showing the nodes selected by xsl:apply-templates and the rules used to process them." + } + ], + "examples": [], + "documentationReferenceURL": "https://www.saxonica.com/html/documentation12/xsl-elements/mode.html", + "output": "Choosed XML template" + },{ + "name": "", + "description": "Allows a using package to override selected components from a used package.", + "attributes": + [ + + ], + "examples": [], + "documentationReferenceURL": "https://www.saxonica.com/html/documentation12/xsl-elements/override.html", + "output": "Appears as a child of xsl:use-package." + },{ + "name": "", + "description": "Defines a set of stylesheet modules that can be compiled as a unit, independently of other packages.", + "attributes": + [ + { + "type":"required", + "name":"version", + "description":"Specifies the version of XSLT required by this stylesheet." + }, + { + "type":"optional", + "name":"id", + "description":"Optional identifier, not used by the XSLT processor; may be used to identify a package within a larger XML document." + }, + { + "type":"optional", + "name":"name", + "description":"The name of the package, as an absolute URI, to be used by xsl:use-package declarations." + }, + { + "type":"optional", + "name":"package-version", + "description":"Version identifier, used to distinguish between different versions of a package." + }, + { + "type":"optional", + "name":"input-type-annotations", + "description":"Used to request stripping of type annotations." + }, + { + "type":"optional", + "name":"declared-modes", + "description":"Determines whether of not modes that are referenced within the package must be explicitly declared." + }, + { + "type":"optional", + "name":"default-mode", + "description":"Defines the default value for the mode attribute of all xsl:template and xsl:apply-templates elements within its scope." + }, + { + "type":"optional", + "name":"default-validation", + "description":"Defines the default value for the validation attribute of all relevant instructions appearing within its scope." + }, + { + "type":"optional", + "name":"default-collation", + "description":"Specifies the default collation used by all XPath expressions" + }, + { + "type":"optional", + "name":"extension-element-prefixes", + "description":" Used to declare the use of extension instructions in a particular namespace." + }, + { + "type":"optional", + "name":"exclude-result-prefixes", + "description":"Used to designate namespaces as excluded." + }, + { + "type":"optional", + "name":"expand-text", + "description":"If set to yes, enables the use of text value templates - expressions enclosed in curly braces within text nodes, behaving the same way as attribute value templates in attribute nodes." + }, + { + "type":"optional", + "name":"use-when", + "description":"Used to conditionally include or exclude elements. The value is an XPath expression that can be evaluated statically." + }, + { + "type":"optional", + "name":"xpath-default-namespace", + "description":"Determines the namespace used for any unprefixed element name or type name within an XPath expression." + } + ], + "examples": [], + "documentationReferenceURL": "https://www.saxonica.com/html/documentation12/xsl-elements/package.html", + "output": "Appears as a child of xsl:use-package." + },{ + "name": "", + "description": "Defines a set of stylesheet modules that can be compiled as a unit, independently of other packages.", + "attributes": + [ + { + "type":"required", + "name":"component", + "description":"Identifies the kind of component selected." + }, + { + "type":"required", + "name":"names", + "description":"Identifies a subset of the specified components, by name." + }, + { + "type":"required", + "name":"visibility", + "description":"Determines the potential visibility of the selected components." + } + ], + "examples": [], + "documentationReferenceURL": "https://www.saxonica.com/html/documentation12/xsl-elements/accept.html", + "output": "Appears as a child of xsl:use-package." + },{ + "name": "", + "description": "Used to declare whether a global context item is required, and if so, to declare its required type.", + "attributes": + [ + { + "type":"optional", + "name":"as", + "description":"The required type of the global context item; the default is item()." + }, + { + "type":"optional", + "name":"use", + "description":"Specifies whether a stylesheet module requires a global context item; the default is optional." + } + ], + "examples": [], + "documentationReferenceURL": "https://www.saxonica.com/html/documentation12/xsl-elements/global-context-item.html", + "output": "Global context item" + } + ] + }, + { + "name":"Loops and conditional processing", + "entries": + [ + { + "name": "", + "description": "Selects a set of nodes and processes each of them in the same way", + "attributes": + [ + { + "type":"required", + "name":"select", + "description":"XPath expression that specifies the nodes to be processed." + } + ], + "examples": [], + "documentationReferenceURL": "https://developer.mozilla.org/en-US/docs/Web/XSLT/Element/for-each", + "output": "Processed set of nodes" + }, + { + "name": "", + "description": "Element contains a test attribute and a template. If the test evaluates to true, the template is processed.", + "attributes": + [ + { + "type":"required", + "name":"test", + "description":"Contains an XPath expression that can be evaluated to a Boolean value." + } + ], + "examples": [], + "documentationReferenceURL": "https://developer.mozilla.org/en-US/docs/Web/XSLT/Element/if", + "output": "Depending on test processed template or not." + }, + { + "name": "", + "description": "Element defines a choice among a number of alternatives. It behaves like a switch statement in procedural languages.", + "attributes": + [ + + ], + "examples": [], + "documentationReferenceURL": "https://developer.mozilla.org/en-US/docs/Web/XSLT/Element/choose", + "output": "Choosed XML template" + }, + { + "name": "", + "description": "Element always appears within an element, acting like a case statement.", + "attributes": + [ + { + "type":"required", + "name":"test", + "description":"Boolean expression to be evaluated. If true, the contents of the element are processed; if false, they are ignored." + } + ], + "examples": [], + "documentationReferenceURL": "https://developer.mozilla.org/en-US/docs/Web/XSLT/Element/when", + "output": "Processed or not XML Template" + }, + { + "name": "", + "description": "Element is used to define the action that should be taken when none of the conditions apply.", + "attributes": + [ + + ], + "examples": [], + "documentationReferenceURL": "https://developer.mozilla.org/en-US/docs/Web/XSLT/Element/otherwise", + "output": "processed XML Template" + }, + { + "name": "", + "description": "Selects a sequence of nodes and/or atomic values and organizes them into subsets called groups.", + "attributes": + [ + { + "type":"required", + "name":"select", + "description":"Expression to select nodes/values." + }, + { + "type":"optional", + "name":"group-by", + "description":"Groups together all items having the same value for a grouping key." + }, + { + "type":"optional", + "name":"group-adjacent", + "description":"Groups together all items having the same value for a grouping key, provided that they are also adjacent in the input sequence." + }, + { + "type":"optional", + "name":"group-starting-with", + "description":"Processes the items in the supplied sequence in turn, starting a new group whenever one of the items matches a specified pattern." + }, + { + "type":"optional", + "name":"group-ending-with", + "description":"Processes the items in the supplied sequence in turn, closing the current group whenever one of the items matches a specified pattern." + }, + { + "type":"optional", + "name":"break-when", + "description":" The value of the attribute is an expression, which must return a boolean." + }, + { + "type":"optional", + "name":"composite", + "description":"Can be used when grouping using either group-by or group-adjacent. If set to yes, then the group-by and group-adjacent expressions may evaluate to a sequence, and grouping is done by comparing the entire sequence." + }, + { + "type":"optional", + "name":"collation", + "description":"The name of a collating sequence, used when comparing grouping keys. Can be used when grouping using either group-by or group-adjacent." + } + ], + "examples": [], + "documentationReferenceURL": "https://www.saxonica.com/html/documentation12/xsl-elements/for-each-group.html", + "output": "processed XML Template" + }, + { + "name": "", + "description": "Used to iterate over a sequence, with the option to set parameters for use in the next iteration.", + "attributes": + [ + { + "type":"required", + "name":"select", + "description":"Expression to select nodes/values." + } + ], + "examples": [], + "documentationReferenceURL": "https://www.saxonica.com/html/documentation12/xsl-elements/iterate.html", + "output": "processed XML Template" + }, + { + "name": "", + "description": "The xsl:break instruction is used within xsl:iterate, and causes premature completion before the entire input sequence has been processed.", + "attributes": + [ + { + "type":"optional", + "name":"select", + "description":"The effect of the instruction may be defined either by a select attribute, or by an enclosed sequence constructor. " + } + ], + "examples": [], + "documentationReferenceURL": "https://www.saxonica.com/html/documentation12/xsl-elements/break.html", + "output": "processed XML Template" + }, + { + "name": "", + "description": "The xsl:next-iteration instruction occurs within xsl:iterate. The contents are a set of xsl:with-param elements defining the values of the iteration parameters to be used on the next iteration.", + "attributes": + [ + + ], + "examples": [], + "documentationReferenceURL": "https://www.saxonica.com/html/documentation12/xsl-elements/next-iteration.html", + "output": "processed XML Template" + }, + { + "name": "", + "description": "Occurs within xsl:iterate to define processing to be carried out when the input sequence is exhausted.", + "attributes": + [ + { + "type":"optional", + "name":"select", + "description":"The effect of the instruction may be defined either by an expression within the optional select attribute, or by the enclosed sequence constructor." + } + ], + "examples": [], + "documentationReferenceURL": "https://www.saxonica.com/html/documentation12/xsl-elements/on-completion.html", + "output": "processed XML Template" + }, + { + "name": "", + "description": "The result of the xsl:fork instruction is the sequence formed by concatenating the results of evaluating each of its contained instructions, in order.", + "attributes": + [ + + ], + "examples": [], + "documentationReferenceURL": "https://www.saxonica.com/html/documentation12/xsl-elements/fork.html", + "output": "processed XML Template" + }, + { + "name": "", + "description": "Used to allow conditional content construction to be made streamable. Outputs the enclosed content only if the containing sequence generates no \"ordinary\" content.", + "attributes": + [ + { + "type":"optional", + "name":"select", + "description":"The value to be output when the containing sequence constructor would otherwise deliver an empty result." + } + ], + "examples": [], + "documentationReferenceURL": "https://www.saxonica.com/html/documentation12/xsl-elements/on-empty.html", + "output": "processed XML Template" + }, + { + "name": "", + "description": "Used to allow conditional content construction to be made streamable. Outputs the enclosed content only if the containing sequence also generates \"ordinary\" content.", + "attributes": + [ + { + "type":"optional", + "name":"select", + "description":"The value to be output when the containing sequence constructor delivers a non-empty result." + } + ], + "examples": [], + "documentationReferenceURL": "https://www.saxonica.com/html/documentation12/xsl-elements/on-non-empty.html", + "output": "processed XML Template" + }, + { + "name": "", + "description": "Allows recovery from dynamic errors occurring within the expression it wraps.", + "attributes": + [ + { + "type":"optional", + "name":"select", + "description":"The expression to be evaluated by the instruction may be defined either by a select attribute, or by an enclosed sequence constructor. " + }, + { + "type":"optional", + "name":"rollback-output", + "description":"The value no is used to relax the requirement to recover result trees when failures occur in the course of evaluating the xsl:try instruction." + } + ], + "examples": [], + "documentationReferenceURL": "https://www.saxonica.com/html/documentation12/xsl-elements/try.html", + "output": "processed XML Template" + }, + { + "name": "", + "description": "In conjunction with xsl:try, the xsl:catch instruction allows recovery from dynamic errors.", + "attributes": + [ + { + "type":"optional", + "name":"select", + "description":"The expression to be evaluated by the instruction may be defined either by a select attribute, or by an enclosed sequence constructor. " + }, + { + "type":"optional", + "name":"rollback-output", + "description":"The value no is used to relax the requirement to recover result trees when failures occur in the course of evaluating the xsl:try instruction." + } + ], + "examples": [], + "documentationReferenceURL": "https://www.saxonica.com/html/documentation12/xsl-elements/try.html", + "output": "processed XML Template" + }, + { + "name": "", + "description": "Used to declare the initial context item for a template: whether the template requires a context item, and if so, what its expected type is.", + "attributes": + [ + { + "type":"optional", + "name":"as", + "description":"The required type of the context item; the default is item()." + }, + { + "type":"optional", + "name":"use", + "description":"Specifies whether a template requires a context item; the default is optional." + } + ], + "examples": [], + "documentationReferenceURL": "https://www.saxonica.com/html/documentation12/xsl-elements/context-item.html", + "output": "processed XML Template" + } + ] + }, + { + "name":"Creating Result Tree", + "entries": + [ + { + "name": "", + "description": "Creates an attribute in the output document, using any values that can be accessed from the stylesheet. The element must be defined before any other output document element inside the output document element for which it establishes attribute values", + "attributes": + [ + { + "type":"required", + "name":"name", + "description":"Specifies the name of the attribute to be created in the output document." + } , + { + "type":"optional", + "name":"namespace", + "description":"Defines the namespace URI for this attribute in the output document." + } + ], + "examples": [], + "documentationReferenceURL": "https://developer.mozilla.org/en-US/docs/Web/XSLT/Element/attribute", + "output": "XML Element with provided attribute" + },{ + "name": "", + "description": "Creates a named set of attributes, which can then be applied as whole to the output document, in a manner similar to named styles in CSS", + "attributes": + [ + { + "type":"required", + "name":"name", + "description":"Specifies the name of the attribute set." + } , + { + "type":"optional", + "name":"use-attribute-sets", + "description":"Builds an attribute set from other attribute sets. The names of the contributing sets must be separated with whitespace characters" + } + ], + "examples": [], + "documentationReferenceURL": "https://developer.mozilla.org/en-US/docs/Web/XSLT/Element/attribute-set", + "output": "Named set of attributes" + },{ + "name": "", + "description": "Transfers a shallow copy (the node and any associated namespace node) of the current node to the output document.", + "attributes": + [ + { + "type":"optional", + "name":"use-attribute-sets", + "description":"Lists attribute sets that should be applied to the output node, if it is an element" + } + ], + "examples": [], + "documentationReferenceURL": "https://developer.mozilla.org/en-US/docs/Web/XSLT/Element/copy", + "output": "Copy of XML node" + },{ + "name": "", + "description": "Counts things sequentially. It can also be used to quickly format a number.", + "attributes": + [ + { + "type":"optional", + "name":"count", + "description":"Specifies what in the source tree should be numbered sequentially. It uses an XPath expression." + }, + { + "type":"optional", + "name":"level", + "description":"Defines how levels of the source tree should be considered in generating sequential numbers. It has three valid values: single, multiple, and any." + }, + { + "type":"optional", + "name":"from", + "description":"Specifies where the numbering should start or start over." + }, + { + "type":"optional", + "name":"value", + "description":"Applies a given format to a number." + }, + { + "type":"optional", + "name":"format", + "description":"Defines the format of the generated number." + }, + { + "type":"optional", + "name":"lang", + "description":"Specifies which language's alphabet should be used in letter-based numbering formats." + }, + { + "type":"optional", + "name":"letter-value", + "description":"Disambiguates between numbering sequences that use letters. Some languages have more than one numbering system that use letters." + }, + { + "type":"optional", + "name":"grouping-separator", + "description":"Specifies what character should be used as the group (e.g. thousands) separator." + }, + { + "type":"optional", + "name":"grouping-size", + "description":"Indicates the number of digits that make up a numeric group." + } + ], + "examples": [], + "documentationReferenceURL": "https://developer.mozilla.org/en-US/docs/Web/XSLT/Element/number", + "output": "Formatted number" + },{ + "name": "", + "description": "Evaluates an XPath expression, converts it to a string, and writes that string to the result tree.", + "attributes": + [ + { + "type":"required", + "name":"select", + "description":"Specifies the XPath expression to be evaluated and written to the output tree." + }, + { + "type":"optional", + "name":"disable-output-escaping", + "description":"Specifies whether special characters are escaped when written to the output." + } + ], + "examples": [], + "documentationReferenceURL": "https://developer.mozilla.org/en-US/docs/Web/XSLT/Element/value-of", + "output": "Value from XML nodes" + },{ + "name": "", + "description": "Writes literal text to the output tree.", + "attributes": + [ + { + "type":"optional", + "name":"disable-output-escaping", + "description":"Specifies whether special characters are escaped when written to the output." + } + ], + "examples": [], + "documentationReferenceURL": "https://developer.mozilla.org/en-US/docs/Web/XSLT/Element/text", + "output": "XML Node with writed text" + },{ + "name": "", + "description": "Writes a comment to the output document. It must include only text.", + "attributes": + [ + ], + "examples": [], + "documentationReferenceURL": "https://developer.mozilla.org/en-US/docs/Web/XSLT/Element/comment", + "output": "XML Node with writed comment" + }, + { + "name": "", + "description": "Writes a processing instruction to the output document.", + "attributes": + [ + { + "type":"required", + "name":"name", + "description":"Specifies the name of this processing instruction." + } + ], + "examples": [], + "documentationReferenceURL": "https://developer.mozilla.org/en-US/docs/Web/XSLT/Element/processing-instruction", + "output": "XML Node with output of processed instruction" + }, + { + "name": "", + "description": "Declares a named key which can be used elsewhere in the stylesheet with the key( ) function.", + "attributes": + [ + { + "type":"required", + "name":"name", + "description":"Specifies a name for this key. Must be a QName." + }, + { + "type":"required", + "name":"match", + "description":"Defines the nodes for which this key is applicable." + }, + { + "type":"required", + "name":"use", + "description":"Specifies an XPath expression that will be used to determine the value of the key for each of the applicable nodes." + } + ], + "examples": [], + "documentationReferenceURL": "https://developer.mozilla.org/en-US/docs/Web/XSLT/Element/key", + "output": "key to use in stylesheet" + }, + { + "name": "", + "description": "Declares a named key which can be used elsewhere in the stylesheet with the key( ) function.", + "attributes": + [ + { + "type":"optional", + "name":"name", + "description":"Specifies a name for this format." + }, + { + "type":"optional", + "name":"decimal-separator", + "description":"Specifies the decimal point character." + }, + { + "type":"optional", + "name":"grouping-separator", + "description":"Specifies the thousands separator character." + }, + { + "type":"optional", + "name":"infinity", + "description":"Specifies the string used to represent infinity." + }, + { + "type":"optional", + "name":"minus-sign", + "description":"Specifies the minus sign character." + }, + { + "type":"optional", + "name":"NaN", + "description":"Specifies the string used when the value is not a number." + }, + { + "type":"optional", + "name":"percent", + "description":"Specifies the percentage sign character." + }, + { + "type":"optional", + "name":"per-mille", + "description":"Specifies the per thousand character." + }, + { + "type":"optional", + "name":"zero-digit", + "description":"Specifies the digit zero character." + }, + { + "type":"optional", + "name":"digit", + "description":"Specifies the character used in the format pattern to stand for a digit." + }, + { + "type":"optional", + "name":"pattern-separator", + "description":"Specifies the character separating positive and negative subpatterns in a format pattern." + } + ], + "examples": [], + "documentationReferenceURL": "https://developer.mozilla.org/en-US/docs/Web/XSLT/Element/decimal-format", + "output": "decimal format" + }, + { + "name": "", + "description": "Defines the elements in the source document for which whitespace should be preserved.", + "attributes": + [ + { + "type":"required", + "name":"elements", + "description":"Specifies the elements for which whitespace should be preserved." + } + ], + "examples": [], + "documentationReferenceURL": "https://developer.mozilla.org/en-US/docs/Web/XSLT/Element/preserve-space", + "output": "preserved space" + }, + { + "name": "", + "description": "Defines the elements in the source document for which whitespace should be removed.", + "attributes": + [ + { + "type":"required", + "name":"elements", + "description":"Specifies the elements for which whitespace should be preserved." + } + ], + "examples": [], + "documentationReferenceURL": "https://developer.mozilla.org/en-US/docs/Web/XSLT/Element/strip-space", + "output": "elements with removed whitespace" + }, + { + "name": "", + "description": "Defines a sort key for nodes selected by or and determines the order in which they are processed.", + "attributes": + [ + { + "type":"optional", + "name":"select", + "description":"Uses an XPath expression to specify the nodes to be sorted." + }, + { + "type":"optional", + "name":"order", + "description":"Specifies whether the nodes should be processed in \"ascending\" or \"descending\" order." + }, + { + "type":"optional", + "name":"case-order", + "description":"Indicates whether upper- or lowercase letters are to be ordered first." + }, + { + "type":"optional", + "name":"lang", + "description":"Specifies which language is to be used by the sort." + }, + { + "type":"optional", + "name":"data-type", + "description":"Defines whether items are to be ordered alphabetically or numerically." + } + ], + "examples": [], + "documentationReferenceURL": "https://developer.mozilla.org/en-US/docs/Web/XSLT/Element/sort", + "output": "sorted elements" + }, + { + "name": "", + "description": "Controls the characteristics of the output document.", + "attributes": + [ + { + "type":"optional", + "name":"method", + "description":"Specifies output format." + }, + { + "type":"optional", + "name":"version", + "description":"Specifies the value of the version attribute of the XML or HTML declaration in the output document." + }, + { + "type":"optional", + "name":"encoding", + "description":"Specifies the value of the encoding attribute in the output document." + }, + { + "type":"optional", + "name":"omit-xml-declaration", + "description":"Indicates whether or not to include an XML declaration in the output." + }, + { + "type":"optional", + "name":"doctype-public", + "description":"Specifies the value of the PUBLIC attribute of the DOCTYPE declaration in the output document." + }, + { + "type":"optional", + "name":"doctype-system", + "description":"Specifies the value of the SYSTEM attribute of the DOCTYPE declaration in the output document." + }, + { + "type":"optional", + "name":"cdata-section-elements", + "description":"Lists elements whose text contents should be written as CDATA sections." + } + ], + "examples": [], + "documentationReferenceURL": "https://developer.mozilla.org/en-US/docs/Web/XSLT/Element/output", + "output": "changed document prefix" + }, + { + "name": "", + "description": "Used to direct output to a secondary output destination.", + "attributes": + [ + { + "type":"optional", + "name":"format", + "description":"If present, it gives the name of an xsl:output element that describes the serialization format for this output document" + }, + { + "type":"optional", + "name":"href", + "description":"The URI for the result document. If this is a relative URI, it is interpreted relative to the base output URI." + }, + { + "type":"optional", + "name":"validation", + "description":"Requests strict or lax validation of the contents of the document against the element declaration of its top-level element" + }, + { + "type":"optional", + "name":"validation", + "description":"Requests strict or lax validation of the contents of the document against the element declaration of its top-level element; this also invokes document-level validation" + }, + { + "type":"optional", + "name":"validation", + "description":"Requests strict or lax validation of the contents of the document against the element declaration of its top-level element; this also invokes document-level validation" + }, + { + "type":"optional", + "name":"type", + "description":"Requests validation of the constructed document against a specified XSD type" + }, + { + "type":"optional", + "name":"method", + "description":"Serialization attribute" + }, + { + "type":"optional", + "name":"allow-duplicate-names", + "description":"Serialization attribute" + }, + { + "type":"optional", + "name":"build-tree", + "description":"Serialization attribute" + }, + { + "type":"optional", + "name":"byte-order-mark", + "description":"Serialization attribute" + }, + { + "type":"optional", + "name":"cdata-section-elements", + "description":"Serialization attribute" + }, + { + "type":"optional", + "name":"doctype-public", + "description":"Serialization attribute" + }, + { + "type":"optional", + "name":"doctype-system", + "description":"Serialization attribute" + }, + { + "type":"optional", + "name":"encoding", + "description":"Serialization attribute" + }, + { + "type":"optional", + "name":"escape-uri-attributes", + "description":"Serialization attribute" + }, + { + "type":"optional", + "name":"html-version", + "description":"Serialization attribute" + }, + { + "type":"optional", + "name":"include-content-type", + "description":"Serialization attribute" + }, + { + "type":"optional", + "name":"indent", + "description":"Serialization attribute" + }, + { + "type":"optional", + "name":"item-separator", + "description":"Serialization attribute" + }, + { + "type":"optional", + "name":"json-node-output-method", + "description":"Serialization attribute" + }, + { + "type":"optional", + "name":"media-type", + "description":"Serialization attribute" + }, + { + "type":"optional", + "name":"normalization-form", + "description":"Serialization attribute" + }, + { + "type":"optional", + "name":"omit-xml-declaration", + "description":"Serialization attribute" + }, + { + "type":"optional", + "name":"parameter-document", + "description":"Serialization attribute" + }, + { + "type":"optional", + "name":"standalone", + "description":"Serialization attribute" + }, + { + "type":"optional", + "name":"suppress-indentation", + "description":"Serialization attribute" + }, + { + "type":"optional", + "name":"undeclare-prefixes", + "description":"Serialization attribute" + }, + { + "type":"optional", + "name":"use-character-maps", + "description":"Serialization attribute" + }, + { + "type":"optional", + "name":"output-version", + "description":"Overrides the version attribute specified on the output definition." + }, + { + "type":"optional", + "name":"saxon:asynchronous", + "description":"The default for Saxon-EE is yes, which causes the instruction to be evaluated in a separate thread" + } + ], + "examples": [], + "documentationReferenceURL": "https://www.saxonica.com/html/documentation12/xsl-elements/result-document.html", + "output": "XML Document" + },{ + "name": "", + "description": "Used to direct output to a secondary output destination.", + "attributes": + [ + { + "type":"required", + "name":"name", + "description":"The name of the character map, which can be referenced from the use-character-maps attribute of xsl:output." + }, + { + "type":"optional", + "name":"use-character-maps", + "description":"Character maps may be assembled from other character maps using the use-character-maps attribute." + } + ], + "examples": [], + "documentationReferenceURL": "https://www.saxonica.com/html/documentation12/xsl-elements/character-map.html", + "output": "named character map" + },{ + "name": "", + "description": "Used to define the output representation of a given Unicode character, in an xsl:character-map.", + "attributes": + [ + { + "type":"required", + "name":"character", + "description":"A single XML character, to be replaced during serialization." + }, + { + "type":"required", + "name":"string", + "description":"Any string, that replaces the specified character during serialization." + } + ], + "examples": [], + "documentationReferenceURL": "https://www.saxonica.com/html/documentation12/xsl-elements/output-character.html", + "output": "defined character" + },{ + "name": "", + "description": "The purpose of the instruction is to allow merging of two or more pre-sorted input files, optionally using streamed processing of any or all of the inputs.", + "attributes": + [ + + ], + "examples": [], + "documentationReferenceURL": "https://www.saxonica.com/html/documentation12/xsl-elements/merge.html", + "output": "merged files" + },{ + "name": "", + "description": "Used within an xsl:merge instruction to define the processing to be carried out on each group of input items sharing a value for the merge key.", + "attributes": + [ + + ], + "examples": [], + "documentationReferenceURL": "https://www.saxonica.com/html/documentation12/xsl-elements/merge-action.html", + "output": "merged files" + },{ + "name": "", + "description": "Used to define the merge keys on which the input sequences of a merging operation are sorted.", + "attributes": + [ + { + "type":"optional", + "name":"select", + "description":"The merge key can be defined either by a string expression in a select attribute, or by an enclosed sequence constructor." + }, + { + "type":"optional", + "name":"lang", + "description":"Declares the algorithm used for alphabetic collating." + }, + { + "type":"optional", + "name":"order", + "description":"Declares the sort order." + }, + { + "type":"optional", + "name":"collation", + "description":"Declares the collation, by the name of a collating sequence." + }, + { + "type":"optional", + "name":"case-order", + "description":"It declares whether uppercase letters are sorted before their lowercase equivalents, or vice-versa" + } + ], + "examples": [], + "documentationReferenceURL": "https://www.saxonica.com/html/documentation12/xsl-elements/merge-key.html", + "output": "merged files" + },{ + "name": "", + "description": "Describes the input source for an xsl:merge instruction.", + "attributes": + [ + { + "type":"required", + "name":"select", + "description":"For each anchor node, this selects the descendant nodes that make up the stream of data to be merged." + }, + { + "type":"optional", + "name":"name", + "description":"Name of the merge source." + }, + { + "type":"optional", + "name":"for-each-item", + "description":"XPath expression returning a set of nodes." + }, + { + "type":"optional", + "name":"for-each-source", + "description":"XPath expression returning a set of URIs" + }, + { + "type":"optional", + "name":"streamable", + "description":"Streamed merging requires Saxon-EE." + }, + { + "type":"optional", + "name":"use-accumulators", + "description":"Defines the set of accumulators that are applicable to the streamed document." + }, + { + "type":"optional", + "name":"sort-before-merge", + "description":"Specifies whether each input sequence will first be sorted to ensure that it is in the correct order." + }, + { + "type":"optional", + "name":"validation", + "description":"Determines whether validation is applied to the input read from this merge source." + }, + { + "type":"optional", + "name":"type", + "description":"If specified, data read from this merge source is validated against the named schema type." + } + ], + "examples": [], + "documentationReferenceURL": "https://www.saxonica.com/html/documentation12/xsl-elements/merge-source.html", + "output": "merged files" + } + ] + }, + { + "name":"Stylesheet structure", + "entries": + [ + { + "name": "", + "description": "Is the outermost element of a stylesheet.", + "attributes": + [ + { + "type":"required", + "name":"version", + "description":"Specifies the version of XSLT required by this stylesheet." + }, + { + "type":"optional", + "name":"exclude-result-prefixes", + "description":"Specifies any namespace used in this document that should not be sent to the output document." + }, + { + "type":"optional", + "name":"extension-element-prefixes", + "description":"Specifies a space-separated list of any namespace prefixes for extension elements in this document." + }, + { + "type":"optional", + "name":"default-collation", + "description":"Specifies the default collation used by all XPath expressions appearing in attributes or text value templates that have the element as an ancestor" + }, + { + "type":"optional", + "name":"default-mode", + "description":"Defines the default value for the mode attribute of all and elements within its scope." + }, + { + "type":"optional", + "name":"default-validation", + "description":"Defines the default value of the validation attribute of all relevant instructions appearing within its scope." + }, + { + "type":"optional", + "name":"expand-text", + "description":"Determines whether descendant text nodes of the element are treated as text value templates." + }, + { + "type":"optional", + "name":"id", + "description":"Specifies an id for this stylesheet. This is most often used when the stylesheet is embedded in another XML document." + }, + { + "type":"optional", + "name":"input-type-annotations", + "description":"Specifies whether type annotations are stripped from the element so the same results are produced whether the source documents have been validated against a schema or not." + }, + { + "type":"optional", + "name":"use-when", + "description":"Determines whether the element and all the nodes that have it as ancestor are excluded from the stylesheet." + }, + { + "type":"optional", + "name":"xpath-default-namespace", + "description":"Specifies the namespace that will be used if the element name is unprefixed or an unprefixed type name within an XPath expression." + } + ], + "examples": [], + "documentationReferenceURL": "https://developer.mozilla.org/en-US/docs/Web/XSLT/Element/stylesheet", + "output": "XSLT Stylesheet" + }, + { + "name": "", + "description": "Exactly equivalent to the element.", + "attributes": + [ + { + "type":"required", + "name":"version", + "description":"Specifies the version of XSLT required by this stylesheet." + }, + { + "type":"optional", + "name":"exclude-result-prefixes", + "description":"Specifies any namespace used in this document that should not be sent to the output document." + }, + { + "type":"optional", + "name":"extension-element-prefixes", + "description":"Specifies a space-separated list of any namespace prefixes for extension elements in this document." + }, + { + "type":"optional", + "name":"default-collation", + "description":"Specifies the default collation used by all XPath expressions appearing in attributes or text value templates that have the element as an ancestor" + }, + { + "type":"optional", + "name":"default-mode", + "description":"Defines the default value for the mode attribute of all and elements within its scope." + }, + { + "type":"optional", + "name":"default-validation", + "description":"Defines the default value of the validation attribute of all relevant instructions appearing within its scope." + }, + { + "type":"optional", + "name":"expand-text", + "description":"Determines whether descendant text nodes of the element are treated as text value templates." + }, + { + "type":"optional", + "name":"id", + "description":"Specifies an id for this stylesheet. This is most often used when the stylesheet is embedded in another XML document." + }, + { + "type":"optional", + "name":"input-type-annotations", + "description":"Specifies whether type annotations are stripped from the element so the same results are produced whether the source documents have been validated against a schema or not." + }, + { + "type":"optional", + "name":"use-when", + "description":"Determines whether the element and all the nodes that have it as ancestor are excluded from the stylesheet." + }, + { + "type":"optional", + "name":"xpath-default-namespace", + "description":"Specifies the namespace that will be used if the element name is unprefixed or an unprefixed type name within an XPath expression." + } + ], + "examples": [], + "documentationReferenceURL": "https://developer.mozilla.org/en-US/docs/Web/XSLT/Element/transform", + "output": "XSLT Stylesheet" + }, + { + "name": "", + "description": "Top-level element that serves to import the contents of one stylesheet into another stylesheet.", + "attributes": + [ + { + "type":"required", + "name":"href", + "description":"Specifies the URI of the stylesheet to import." + } + ], + "examples": [], + "documentationReferenceURL": "https://developer.mozilla.org/en-US/docs/Web/XSLT/Element/import", + "output": "XSLT Stylesheet from another file" + }, + { + "name": "", + "description": "Merges the contents of one stylesheet with another. Unlike the case of , the contents of an included stylesheet have exactly the same precedence as the contents of the including stylesheet.", + "attributes": + [ + { + "type":"required", + "name":"href", + "description":"Specifies the URI of the stylesheet to import." + } + ], + "examples": [], + "documentationReferenceURL": "https://developer.mozilla.org/en-US/docs/Web/XSLT/Element/include", + "output": "XSLT Stylesheet with XSLT from another file." + }, + { + "name": "", + "description": "Maps a namespace in the stylesheet to a different namespace in the output tree. The most common use for this element is in generating a stylesheet from another stylesheet.", + "attributes": + [ + { + "type":"required", + "name":"stylesheet-prefix", + "description":"Specifies the temporary namespace." + }, + { + "type":"required", + "name":"result-prefix", + "description":"Specifies the desired namespace for the output tree." + } + ], + "examples": [], + "documentationReferenceURL": "https://developer.mozilla.org/en-US/docs/Web/XSLT/Element/namespace-alias", + "output": "XML Tree with changed namespaces" + }, + { + "name": "", + "description": "Creates an element in the output document.", + "attributes": + [ + { + "type":"required", + "name":"name", + "description":"Specifies the desired name of the output element. The name must be a valid QName." + }, + { + "type":"optional", + "name":"namespace", + "description":"Specifies the namespace of the output element." + }, + { + "type":"optional", + "name":"use-attribute-sets", + "description":"A whitespace-separated list of attribute-set element names to be applied to the element element's output element." + } + ], + "examples": [], + "documentationReferenceURL": "https://developer.mozilla.org/en-US/docs/Web/XSLT/Element/namespace-alias", + "output": "XML with provided element" + } + ] + }, + { + "name":"Variables and parameters", + "entries": + [ + { + "name": "", + "description": "Establishes a parameter by name and, optionally, a default value for that parameter. When used as a top-level element, the parameter is global. When used inside an element, the parameter is local to that template.", + "attributes": + [ + { + "type":"required", + "name":"name", + "description":"Names the parameter. This must be a QName." + }, + { + "type":"optional", + "name":"select", + "description":"Uses an XPath expression to provide a default value if none is specified." + } + ], + "examples": [], + "documentationReferenceURL": "https://developer.mozilla.org/en-US/docs/Web/XSLT/Element/param", + "output": "XML parameter" + }, + { + "name": "", + "description": "Declares a global or local variable in a stylesheet and gives it a value.", + "attributes": + [ + { + "type":"required", + "name":"name", + "description":"Gives the variable a name." + }, + { + "type":"optional", + "name":"select", + "description":"Defines the value of the variable through an XPath expression. If the element contains a template, this attribute is ignored." + } + ], + "examples": [], + "documentationReferenceURL": "https://developer.mozilla.org/en-US/docs/Web/XSLT/Element/variable", + "output": "XML Variable" + }, + { + "name": "", + "description": "Sets the value of a parameter to be passed into a template.", + "attributes": + [ + { + "type":"required", + "name":"name", + "description":"Gives this parameter a name." + }, + { + "type":"optional", + "name":"select", + "description":"Defines the value of the parameter through an XPath expression. If the element contains a template, this attribute is ignored." + } + ], + "examples": [], + "documentationReferenceURL": "https://developer.mozilla.org/en-US/docs/Web/XSLT/Element/with-param", + "output": "XML Parameter" + }, + { + "name": "", + "description": "Makes a deep copy (including descendant nodes) of whatever the select attribute specifies to the output document.", + "attributes": + [ + { + "type":"required", + "name":"select", + "description":"Uses an XPath expression that specifies what is to be copied." + } + ], + "examples": [], + "documentationReferenceURL": "https://developer.mozilla.org/en-US/docs/Web/XSLT/Element/copy-of", + "output": "Copy of Selected node" + }, + { + "name": "", + "description": "Creates a new document node.", + "attributes": + [ + { + "type":"optional", + "name":"validation", + "description":"Used to perform document-level validation." + }, + { + "type":"optional", + "name":"type", + "description":"Determines what happens to any type annotations on element or attribute nodes" + } + ], + "examples": [], + "documentationReferenceURL": "https://www.saxonica.com/html/documentation12/xsl-elements/document.html", + "output": "Document Node" + }, + { + "name": "", + "description": "Creates a namespace node.", + "attributes": + [ + { + "type":"required", + "name":"name", + "description":"Defines the name of the namespace node (that is, the namespace prefix)." + }, + { + "type":"optional", + "name":"select", + "description":"The string value of the namespace node" + } + ], + "examples": [], + "documentationReferenceURL": "https://www.saxonica.com/html/documentation12/xsl-elements/namespace.html", + "output": "Namespace Node" + }, + { + "name": "", + "description": "A top-level element used to control the mapping between a namespace URI used in the stylesheet and the corresponding namespace URI used in the result document.", + "attributes": + [ + { + "type":"required", + "name":"stylesheet-prefix", + "description":"The namespace prefix used in the stylesheet." + }, + { + "type":"required", + "name":"result-prefix", + "description":"The namespace prefix used in the result document." + } + ], + "examples": [], + "documentationReferenceURL": "https://www.saxonica.com/html/documentation12/xsl-elements/namespace-alias.html", + "output": "Document with changed namespaces" + }, + { + "name": "", + "description": "Used to construct arbitrary sequences. It may select any sequence of nodes and/or atomic values, and essentially adds these to the result sequence.", + "attributes": + [ + { + "type":"optional", + "name":"select", + "description":"Specifies the input." + } + ], + "examples": [], + "documentationReferenceURL": "https://www.saxonica.com/html/documentation12/xsl-elements/sequence.html", + "output": "Sequence" + } + ] + }, + { + "name":"Regular Expressions", + "entries": + [ + { + "name": "", + "description": "Applies a regular expression to a supplied string value.", + "attributes": + [ + { + "type":"required", + "name":"select", + "description":"XPath expression whose value is the string to be analyzed. " + }, + { + "type":"required", + "name":"regex", + "description":"The regular expression, which may be given as an attribute value template." + }, + { + "type":"optional", + "name":"flags", + "description":"One or more Perl-like flags to control the way in which regular expression matching is performed, for example the value m indicates multi-line mode." + } + ], + "examples": [], + "documentationReferenceURL": "https://www.saxonica.com/html/documentation12/xsl-elements/analyze-string.html", + "output": "XML Node" + }, + { + "name": "", + "description": "Used within an xsl:analyze-string element to indicate the default action to be taken with substrings that match a regular expression.", + "attributes": + [ + + ], + "examples": [], + "documentationReferenceURL": "https://www.saxonica.com/html/documentation12/xsl-elements/matching-substring.html", + "output": "XML Node" + }, + { + "name": "", + "description": "Used within an xsl:analyze-string element to indicate the default action to be taken with substrings that do not match a regular expression.", + "attributes": + [ + + ], + "examples": [], + "documentationReferenceURL": "https://www.saxonica.com/html/documentation12/xsl-elements/non-matching-substring.html", + "output": "XML Node" + } + ] + }, + { + "name":"Callable", + "entries": + [ + { + "name": "", + "description": "Defines a function within a stylesheet. The function is written in XSLT but it may be called from any XPath expression in the stylesheet.", + "attributes": + [ + { + "type":"required", + "name":"name", + "description":"Name of the function" + }, + { + "type":"optional", + "name":"as", + "description":"Defines the return type of the function." + }, + { + "type":"optional", + "name":"visibility", + "description":"Determines the visibility of the function in other packages." + }, + { + "type":"optional", + "name":"streamability", + "description":"Defines whether (and in what way) the function is streamable" + }, + { + "type":"optional", + "name":"override-extension-function", + "description":"Determines what happens if this function has the same name and arity as another provided by the implementation or made available in the static context by an implementation-defined mechanism" + }, + { + "type":"optional", + "name":"new-each-time", + "description":"Assigns the function to one of three categories regarding the determinism of functions (relevant to optimization)." + }, + { + "type":"optional", + "name":"cache", + "description":"Indicates whether the function is to cache its results." + }, + { + "type":"optional", + "name":"saxon:as", + "description":"Allows additional type information to be supplied using Saxon extension syntax." + }, + { + "type":"optional", + "name":"saxon:memo-function", + "description":"Specifying yes indicates that Saxon should remember the results of calling the function in a cache, and if the function is called again with the same arguments, the result is retrieved from the cache rather than being recalculated." + } + ], + "examples": [], + "documentationReferenceURL": "https://www.saxonica.com/html/documentation12/xsl-elements/function.html", + "output": "Function" + }, + { + "name": "", + "description": "Defines a function within a stylesheet. The function is written in XSLT but it may be called from any XPath expression in the stylesheet.", + "attributes": + [ + { + "type":"required", + "name":"xpath", + "description":"An XPath expression which is evaluated to return the target expression as a string." + }, + { + "type":"optional", + "name":"as", + "description":"Defines the required type of the result of the XPath expression. Defaults to item()*." + }, + { + "type":"optional", + "name":"base-uri", + "description":"The base URI for the target expression. Defaults to the base URI of the stylesheet instruction." + }, + { + "type":"optional", + "name":"with-params", + "description":"Defines whether (and in what way) the function is streamable" + }, + { + "type":"optional", + "name":"context-item", + "description":"An XPath expression which is evaluated to determine the context item, position, and size, for evaluation of the target expression." + }, + { + "type":"optional", + "name":"namespace-context", + "description":"An expression returning a node; the in-scope namespaces of this node define the namespace context for the XPath expression." + }, + { + "type":"optional", + "name":"schema-aware", + "description":"If yes, the XPath expression has access to the schema components imported into the stylesheet." + }, + { + "type":"optional", + "name":"saxon:options", + "description":"The value of the attribute is an expression that evaluates to a map." + } + ], + "examples": [], + "documentationReferenceURL": "https://www.saxonica.com/html/documentation12/xsl-elements/evaluate.html", + "output": "String" + }, + { + "name": "", + "description": "Defines a function within a stylesheet. The function is written in XSLT but it may be called from any XPath expression in the stylesheet.", + "attributes": + [ + { + "type":"required", + "name":"test", + "description":"XPath expression to be asserted. " + }, + { + "type":"optional", + "name":"select", + "description":"Can be used to specify (part of) the content of the error message produced when the assertion is false." + }, + { + "type":"optional", + "name":"error-code", + "description":"Specifies the error code associated with the error message produced when the assertion is false." + } + ], + "examples": [], + "documentationReferenceURL": "https://www.saxonica.com/html/documentation12/xsl-elements/assert.html", + "output": "Error or nothing" + } + ] + }, + { + "name":"Misc", + "entries": + [ + { + "name": "", + "description": "Outputs a message (to the JavaScript Console in NS) and optionally terminates execution of the stylesheet.", + "attributes": + [ + { + "type":"optional", + "name":"terminate", + "description":"Set to \"yes\", indicates that execution should be terminated. The default value is \"no\", in which case the message is output and execution continues." + } + ], + "examples": [], + "documentationReferenceURL": "https://developer.mozilla.org/en-US/docs/Web/XSLT/Element/message", + "output": "Message in console" + }, + { + "name": "", + "description": "specifies what template to use if a given extension (or, eventually, newer version) element is not supported.", + "attributes": + [ + ], + "examples": [], + "documentationReferenceURL": "https://developer.mozilla.org/en-US/docs/Web/XSLT/Element/fallback", + "output": "Fallbacks" + }, + { + "name": "", + "description": "Used to construct a new map.", + "attributes": + [ + { + "type":"optional", + "name":"on-duplicates", + "description":" If the attribute is present, then when a duplicate key value is encountered, the function is called supplying the old and new values for the key, and the old value for the key is replaced with the result of the function call." + } + ], + "examples": [], + "documentationReferenceURL": "https://www.saxonica.com/html/documentation12/xsl-elements/map.html", + "output": "Map" + }, + { + "name": "", + "description": "Used to construct a singleton map (one key and one value).", + "attributes": + [ + { + "type":"required", + "name":"key", + "description":"Expression which defines the key of the entry in the new map." + }, + { + "type":"optional", + "name":"select", + "description":"The associated value can be defined either by a select attribute or by an enclosed sequence constructor." + } + ], + "examples": [], + "documentationReferenceURL": "https://www.saxonica.com/html/documentation12/xsl-elements/map-entry.html", + "output": "Singleton Map" + }, + { + "name": "", + "description": "Used to modify the visibility of selected components within a package.", + "attributes": + [ + { + "type":"required", + "name":"component", + "description":"Identifies the kind of component that is selected. " + }, + { + "type":"required", + "name":"names", + "description":"Identifies a subset of the specified components, by name. " + }, + { + "type":"required", + "name":"visibility", + "description":"Determines the external visibility of the selected components." + } + ], + "examples": [], + "documentationReferenceURL": "https://www.saxonica.com/html/documentation12/xsl-elements/expose.html", + "output": "Element with changed visibility" + }, + { + "name": "", + "description": "Used to modify the visibility of selected components within a package.", + "attributes": + [ + { + "type":"required", + "name":"name", + "description":"Defines a name for the accumulator." + }, + { + "type":"required", + "name":"initial-value", + "description":"Defines the initial value of the accumulator." + }, + { + "type":"optional", + "name":"as", + "description":"Defines the type of the accumulator variable; default is item()*." + }, + { + "type":"optional", + "name":"streamable", + "description":"Requests streamed evaluation of the accumulator if set to yes." + }, + { + "type":"optional", + "name":"saxon:trace", + "description":"Causes a trace message to be output (to the Configuration's Logger) whenever the value of the accumulator changes." + } + ], + "examples": [], + "documentationReferenceURL": "https://www.saxonica.com/html/documentation12/xsl-elements/accumulator.html", + "output": "Accumulator" + }, + { + "name": "", + "description": "Defines a rule for an xsl:accumulator.", + "attributes": + [ + { + "type":"required", + "name":"match", + "description":"Pattern defining the set of nodes to which the accumulator rule applies. " + }, + { + "type":"optional", + "name":"phase", + "description":"Determines whether the rule fires before or after descendants are processed, by specifying phase=\"start\" (the default) or phase=\"end\" respectively. " + }, + { + "type":"optional", + "name":"select", + "description":"The expression to be evaluated by the rule may be given either by a select attribute, or by an enclosed sequence constructor. " + }, + { + "type":"optional", + "name":"saxon:capture", + "description":"The value \"yes|true|1\" on a phase=\"end\" rule for a streaming accumulator removes the requirement for the select attribute (or sequence constructor) to be motionless." + } + ], + "examples": [], + "documentationReferenceURL": "https://www.saxonica.com/html/documentation12/xsl-elements/accumulator-rule.html", + "output": "Accumulator" + }, + { + "name": "", + "description": "Used to initiate streamed or unstreamed processing of a source document.", + "attributes": + [ + { + "type":"required", + "name":"href", + "description":"The URI of a source document. It can be written as an attribute value template if the URI is not known statically." + }, + { + "type":"optional", + "name":"streamable", + "description":"Used to request streamed processing (the default is no)." + }, + { + "type":"optional", + "name":"use-accumulators", + "description":"Defines the set of accumulators that are applicable to the document." + }, + { + "type":"optional", + "name":"type", + "description":"Requests validation of the source document against a specified XSD type. The value will typically be a user-defined complex type defined in an imported schema." + }, + { + "type":"optional", + "name":"saxon:dtd-validation", + "description":"Controls whether DTD validation takes place." + }, + { + "type":"optional", + "name":"saxon:expand-attribute-defaults", + "description":"Controls whether attribute defaults defined in the schema or DTD are expanded." + }, + { + "type":"optional", + "name":"saxon:line-numbering", + "description":"Used to enable line numbering for the document being read." + }, + { + "type":"optional", + "name":"saxon:strip-space", + "description":"Used to specify whitespace stripping" + }, + { + "type":"optional", + "name":"saxon:xinclude", + "description":"Controls whether XInclude processing takes place." + } + ], + "examples": [], + "documentationReferenceURL": "https://www.saxonica.com/html/documentation12/xsl-elements/source-document.html", + "output": "Processed Document" + }, + { + "name": "", + "description": "Used to allow components of one package to be referenced within another.", + "attributes": + [ + { + "type":"required", + "name":"name", + "description":"The name of the package to be used, as an absolute URI." + }, + { + "type":"optional", + "name":"package-version", + "description":"The version of the named package to be used. The default is *, which matches any version. " + } + ], + "examples": [], + "documentationReferenceURL": "https://www.saxonica.com/html/documentation12/xsl-elements/use-package.html", + "output": "Package" + }, + { + "name": "", + "description": "Used to allow conditional content construction to be made streamable. Used to avoid outputting a wrapper element if it would have no children.", + "attributes": + [ + + ], + "examples": [], + "documentationReferenceURL": "https://www.saxonica.com/html/documentation12/xsl-elements/where-populated.html", + "output": "checks for children" + }, + { + "name": "", + "description": "Allows a package to restrict the visibility of components exposed by a package that it uses.", + "attributes": + [ + { + "type":"required", + "name":"component", + "description":"Identifies the kind of component selected" + }, + { + "type":"required", + "name":"names", + "description":"Identifies a subset of the specified components, by name. " + }, + { + "type":"required", + "name":"visibility", + "description":"Determines the potential visibility of the selected components." + } + ], + "examples": [], + "documentationReferenceURL": "https://www.saxonica.com/html/documentation12/xsl-elements/accept.html", + "output": "restricts visibility" + } + ] + } +] \ No newline at end of file diff --git a/Frontend/src/assets/tooltips/xslt/xsltdiffs.json b/Frontend/src/assets/tooltips/xslt/xsltdiffs.json new file mode 100644 index 0000000..a55215b --- /dev/null +++ b/Frontend/src/assets/tooltips/xslt/xsltdiffs.json @@ -0,0 +1,52 @@ +{ + "universalInfo": + [ + { + "category":"What is XSLT", + "description":"XSLT (Extensible Stylesheet Language Transformations) is a language for converting and manipulating XML data into various formats. It uses rules defined in stylesheets to transform XML documents into HTML, XML, or other text-based outputs." + }, + { + "category":"What's differences between XSLT versions" + } + ], + "VersionDiffs": + [ + { + "version":"2.0", + "diffs": + [ + "Introduced a richer data model with support for various data types and sequences, allowing more flexible handling of data.", + "Added native support for regular expressions, making text processing and pattern matching more powerful.", + "Introduced the concept of higher-order functions, enabling functions to be used as arguments and returned as results, enhancing the language's functional capabilities.", + "Expanded the set of built-in string functions, making string manipulation and formatting more versatile.", + "Introduced the concept of sequences, where nodes could be processed without relying solely on their order in the source document.", + "Provided improved error handling and reporting mechanisms, making it easier to diagnose and fix issues in transformations.", + "Allowed variable and function parameters to have type annotations, enhancing clarity and enabling better optimization.", + "Refined the handling of namespaces and introduced features for dealing with namespaces more effectively.", + "Introduced more advanced grouping capabilities, allowing grouping based on multiple criteria.", + "Expanded sorting options, making it possible to sort data based on multiple keys and in different directions." + ] + }, + { + "version":"3.0", + "diffs": + [ + "Extended the support for higher-order functions by introducing new functions like map and filter, enabling more functional programming patterns.", + "Introduced streaming capabilities, allowing processing of large documents without loading the entire document into memory, which improves performance and memory usage.", + "Introduced functions to parse and serialize JSON data, enabling transformations between XML and JSON formats.", + "Enhanced type annotations, allowing for more precise typing of variables and parameters, aiding both readability and optimization.", + "Introduced new standard functions, expanding the range of operations and calculations that can be performed within transformations.", + "Introduced a new data structure called maps, allowing for efficient key-value pair storage and manipulation.", + "Introduced tunnel parameters, which can pass data through templates without explicitly listing them in the template's parameter list", + "Introduced a try-catch construct for better error handling, allowing you to catch and handle errors more gracefully.", + "Introduced the ability to execute multiple templates concurrently, improving performance in multi-core environments.", + "Integrated new features from XPath 3.1, including support for higher-order functions and enhanced string manipulation functions.", + "Enhanced grouping capabilities, making it more powerful and flexible for complex grouping scenarios.", + "Allowed dynamic function calls using the xsl:evaluate element, enabling more dynamic transformations." + ] + } + + ] + + +} \ No newline at end of file diff --git a/Frontend/src/components/CodeEditorComponent.vue b/Frontend/src/components/CodeEditorComponent.vue new file mode 100644 index 0000000..1b57d4b --- /dev/null +++ b/Frontend/src/components/CodeEditorComponent.vue @@ -0,0 +1,69 @@ + + + diff --git a/Frontend/src/components/common/InsertTemplateComponent.vue b/Frontend/src/components/common/InsertTemplateComponent.vue new file mode 100644 index 0000000..6548764 --- /dev/null +++ b/Frontend/src/components/common/InsertTemplateComponent.vue @@ -0,0 +1,49 @@ + + + \ No newline at end of file diff --git a/Frontend/src/components/formatter/HtmlButtonFormatterComponent.vue b/Frontend/src/components/formatter/HtmlButtonFormatterComponent.vue new file mode 100644 index 0000000..3a64814 --- /dev/null +++ b/Frontend/src/components/formatter/HtmlButtonFormatterComponent.vue @@ -0,0 +1,54 @@ + + + \ No newline at end of file diff --git a/Frontend/src/components/formatter/JsonButtonFormatterComponent.vue b/Frontend/src/components/formatter/JsonButtonFormatterComponent.vue new file mode 100644 index 0000000..f368077 --- /dev/null +++ b/Frontend/src/components/formatter/JsonButtonFormatterComponent.vue @@ -0,0 +1,54 @@ + + + + + diff --git a/Frontend/src/components/formatter/XMLButtonFormatterComponent.vue b/Frontend/src/components/formatter/XMLButtonFormatterComponent.vue new file mode 100644 index 0000000..21a79cc --- /dev/null +++ b/Frontend/src/components/formatter/XMLButtonFormatterComponent.vue @@ -0,0 +1,58 @@ + + + + + diff --git a/Frontend/src/components/landing/LandingComponent.vue b/Frontend/src/components/landing/LandingComponent.vue new file mode 100644 index 0000000..c8b12a8 --- /dev/null +++ b/Frontend/src/components/landing/LandingComponent.vue @@ -0,0 +1,18 @@ + + + + + diff --git a/Frontend/src/components/mock/BodyDetailComponent.vue b/Frontend/src/components/mock/BodyDetailComponent.vue new file mode 100644 index 0000000..1975c24 --- /dev/null +++ b/Frontend/src/components/mock/BodyDetailComponent.vue @@ -0,0 +1,18 @@ + + + \ No newline at end of file diff --git a/Frontend/src/components/mock/HeadersComponent.vue b/Frontend/src/components/mock/HeadersComponent.vue new file mode 100644 index 0000000..cd0ce2b --- /dev/null +++ b/Frontend/src/components/mock/HeadersComponent.vue @@ -0,0 +1,74 @@ + + + \ No newline at end of file diff --git a/Frontend/src/components/mock/HeadersDetailComponent.vue b/Frontend/src/components/mock/HeadersDetailComponent.vue new file mode 100644 index 0000000..ce1ad41 --- /dev/null +++ b/Frontend/src/components/mock/HeadersDetailComponent.vue @@ -0,0 +1,23 @@ + + + \ No newline at end of file diff --git a/Frontend/src/components/mock/HistoryComponent.vue b/Frontend/src/components/mock/HistoryComponent.vue new file mode 100644 index 0000000..de600b4 --- /dev/null +++ b/Frontend/src/components/mock/HistoryComponent.vue @@ -0,0 +1,42 @@ + + + + \ No newline at end of file diff --git a/Frontend/src/components/mock/HistoryRecords.vue b/Frontend/src/components/mock/HistoryRecords.vue new file mode 100644 index 0000000..ae5a2e4 --- /dev/null +++ b/Frontend/src/components/mock/HistoryRecords.vue @@ -0,0 +1,68 @@ + + + \ No newline at end of file diff --git a/Frontend/src/components/mock/MockedMessageToastComponent.vue b/Frontend/src/components/mock/MockedMessageToastComponent.vue new file mode 100644 index 0000000..d3d17d3 --- /dev/null +++ b/Frontend/src/components/mock/MockedMessageToastComponent.vue @@ -0,0 +1,36 @@ + + + + \ No newline at end of file diff --git a/Frontend/src/components/mock/RestMockMessageComponent.vue b/Frontend/src/components/mock/RestMockMessageComponent.vue new file mode 100644 index 0000000..c12813d --- /dev/null +++ b/Frontend/src/components/mock/RestMockMessageComponent.vue @@ -0,0 +1,83 @@ + + + + + diff --git a/Frontend/src/components/mock/SaveComponent.vue b/Frontend/src/components/mock/SaveComponent.vue new file mode 100644 index 0000000..4639250 --- /dev/null +++ b/Frontend/src/components/mock/SaveComponent.vue @@ -0,0 +1,46 @@ + + + \ No newline at end of file diff --git a/Frontend/src/components/sidebar/FooterComponent.vue b/Frontend/src/components/sidebar/FooterComponent.vue new file mode 100644 index 0000000..02b0ee6 --- /dev/null +++ b/Frontend/src/components/sidebar/FooterComponent.vue @@ -0,0 +1,15 @@ + + + \ No newline at end of file diff --git a/Frontend/src/components/sidebar/SidebarComponent.vue b/Frontend/src/components/sidebar/SidebarComponent.vue new file mode 100644 index 0000000..4f63d94 --- /dev/null +++ b/Frontend/src/components/sidebar/SidebarComponent.vue @@ -0,0 +1,55 @@ + + + \ No newline at end of file diff --git a/Frontend/src/components/sidebar/SidebarMenuElementComponent.vue b/Frontend/src/components/sidebar/SidebarMenuElementComponent.vue new file mode 100644 index 0000000..9eed53b --- /dev/null +++ b/Frontend/src/components/sidebar/SidebarMenuElementComponent.vue @@ -0,0 +1,28 @@ + + + + \ No newline at end of file diff --git a/Frontend/src/components/sidebar/SidebarToolLinkComponent.vue b/Frontend/src/components/sidebar/SidebarToolLinkComponent.vue new file mode 100644 index 0000000..5a1b5c4 --- /dev/null +++ b/Frontend/src/components/sidebar/SidebarToolLinkComponent.vue @@ -0,0 +1,22 @@ + + + + + \ No newline at end of file diff --git a/Frontend/src/components/xml/XmlInputFieldComponent.vue b/Frontend/src/components/xml/XmlInputFieldComponent.vue new file mode 100644 index 0000000..295b421 --- /dev/null +++ b/Frontend/src/components/xml/XmlInputFieldComponent.vue @@ -0,0 +1,56 @@ + + + \ No newline at end of file diff --git a/Frontend/src/components/xml/XmlInputFieldToolbarComponent.vue b/Frontend/src/components/xml/XmlInputFieldToolbarComponent.vue new file mode 100644 index 0000000..f0722ea --- /dev/null +++ b/Frontend/src/components/xml/XmlInputFieldToolbarComponent.vue @@ -0,0 +1,22 @@ + + + \ No newline at end of file diff --git a/Frontend/src/components/xml/XmlOutputFieldComponent.vue b/Frontend/src/components/xml/XmlOutputFieldComponent.vue new file mode 100644 index 0000000..e0d140d --- /dev/null +++ b/Frontend/src/components/xml/XmlOutputFieldComponent.vue @@ -0,0 +1,151 @@ + + + diff --git a/Frontend/src/components/xml/XmlToolComponent.vue b/Frontend/src/components/xml/XmlToolComponent.vue new file mode 100644 index 0000000..e9bd4cf --- /dev/null +++ b/Frontend/src/components/xml/XmlToolComponent.vue @@ -0,0 +1,83 @@ + + + + + diff --git a/Frontend/src/components/xml/tooltips/TooltipCategoryComponent.vue b/Frontend/src/components/xml/tooltips/TooltipCategoryComponent.vue new file mode 100644 index 0000000..ba854df --- /dev/null +++ b/Frontend/src/components/xml/tooltips/TooltipCategoryComponent.vue @@ -0,0 +1,22 @@ + + + \ No newline at end of file diff --git a/Frontend/src/components/xml/tooltips/TooltipComponent.vue b/Frontend/src/components/xml/tooltips/TooltipComponent.vue new file mode 100644 index 0000000..d25760f --- /dev/null +++ b/Frontend/src/components/xml/tooltips/TooltipComponent.vue @@ -0,0 +1,73 @@ + + + \ No newline at end of file diff --git a/Frontend/src/components/xml/tooltips/TooltipDiffsComponent.vue b/Frontend/src/components/xml/tooltips/TooltipDiffsComponent.vue new file mode 100644 index 0000000..bb07ed7 --- /dev/null +++ b/Frontend/src/components/xml/tooltips/TooltipDiffsComponent.vue @@ -0,0 +1,71 @@ + + + \ No newline at end of file diff --git a/Frontend/src/components/xml/tooltips/TooltipEntryComponent.vue b/Frontend/src/components/xml/tooltips/TooltipEntryComponent.vue new file mode 100644 index 0000000..4add829 --- /dev/null +++ b/Frontend/src/components/xml/tooltips/TooltipEntryComponent.vue @@ -0,0 +1,110 @@ + + + \ No newline at end of file diff --git a/Frontend/src/main.ts b/Frontend/src/main.ts new file mode 100644 index 0000000..112fb9b --- /dev/null +++ b/Frontend/src/main.ts @@ -0,0 +1,6 @@ +import { createApp } from 'vue'; +import router from "./router"; +import App from './App.vue'; +import '@/style.css' + +createApp(App).use(router).mount('#app') diff --git a/Frontend/src/router/index.ts b/Frontend/src/router/index.ts new file mode 100644 index 0000000..a4af1bd --- /dev/null +++ b/Frontend/src/router/index.ts @@ -0,0 +1,70 @@ +import { createRouter, createWebHistory } from 'vue-router' + +const landingPage = import("@views/LandingView.vue") +const restMock = import("@views/RestMockView.vue") + +const jsonFormatter = import("@views/JsonFormatterView.vue") +const xmlFormatter = import("@views/XmlFormatterView.vue") +const HtmlFormatterView = import("@views/HtmlFormatterView.vue") + +const xsltTool = import("@views/XSLTView.vue") +const xsdTool = import("@views/XSDView.vue") +const xpathTool = import("@views/XPathView.vue") +const xqueryTool = import("@views/XQueryView.vue") + +const routes = [ + { + path: '/', + name: 'landing', + component: () => landingPage + }, + { + path: '/format/xml', + name: 'xmlFormatter', + component: () => xmlFormatter + }, + { + path: '/format/json', + name: 'jsonFormatter', + component: () => jsonFormatter + }, + { + path: '/format/html', + name: 'htmlFormatter', + component: () => HtmlFormatterView + }, + { + path: '/xml/xpath', + name: 'xpath', + component: () => xpathTool + }, + { + path: '/xml/xquery', + name: 'xquery', + component: () => xqueryTool + }, + { + path: '/xml/xsd', + name: 'xsd', + component: () => xsdTool + }, + { + path: '/xml/xslt', + name: 'xslt', + component: () => xsltTool + }, + { + path: '/rest/mock', + name: 'restmock', + component: () => restMock + } +] + + +const router = createRouter({ + history: createWebHistory(import.meta.env.BASE_URL), + routes: routes +}) + + +export default router; \ No newline at end of file diff --git a/Frontend/src/shims-svg.d.ts b/Frontend/src/shims-svg.d.ts new file mode 100644 index 0000000..de2752d --- /dev/null +++ b/Frontend/src/shims-svg.d.ts @@ -0,0 +1,5 @@ +declare module '*.svg' { + import Vue, {VueConstructor} from 'vue'; + const content: VueConstructor; + export default content; + } \ No newline at end of file diff --git a/Frontend/src/shims-vue.d.ts b/Frontend/src/shims-vue.d.ts new file mode 100644 index 0000000..cd04b72 --- /dev/null +++ b/Frontend/src/shims-vue.d.ts @@ -0,0 +1 @@ +declare module '*.vue'; \ No newline at end of file diff --git a/Frontend/src/style.css b/Frontend/src/style.css new file mode 100644 index 0000000..2133826 --- /dev/null +++ b/Frontend/src/style.css @@ -0,0 +1,15 @@ +@tailwind base; +@tailwind components; +@tailwind utilities; + +.inactive-button { + @apply py-2 px-4 h-fit text-slate-400 border border-slate-400 rounded-full +} + +.tool-button { + @apply hover:brightness-110 py-2 px-4 h-fit rounded-full bg-gradient-to-r from-blue-400 to-sky-300 dark:text-white dark:from-sky-600 dark:to-sky-800 hover:bg-blue-400 +} + +.text-field { + @apply w-full font-mono dark:text-slate-100 bg-slate-50 dark:bg-gray-600 border border-slate-400 p-2 rounded-lg +} \ No newline at end of file diff --git a/Frontend/src/views/HtmlFormatterView.vue b/Frontend/src/views/HtmlFormatterView.vue new file mode 100644 index 0000000..4e16a32 --- /dev/null +++ b/Frontend/src/views/HtmlFormatterView.vue @@ -0,0 +1,34 @@ + + + \ No newline at end of file diff --git a/Frontend/src/views/JsonFormatterView.vue b/Frontend/src/views/JsonFormatterView.vue new file mode 100644 index 0000000..8303489 --- /dev/null +++ b/Frontend/src/views/JsonFormatterView.vue @@ -0,0 +1,37 @@ + + + \ No newline at end of file diff --git a/Frontend/src/views/LandingView.vue b/Frontend/src/views/LandingView.vue new file mode 100644 index 0000000..ad7bd57 --- /dev/null +++ b/Frontend/src/views/LandingView.vue @@ -0,0 +1,15 @@ + + + + + diff --git a/Frontend/src/views/RestMockView.vue b/Frontend/src/views/RestMockView.vue new file mode 100644 index 0000000..82584b9 --- /dev/null +++ b/Frontend/src/views/RestMockView.vue @@ -0,0 +1,14 @@ + + + + + diff --git a/Frontend/src/views/XPathView.vue b/Frontend/src/views/XPathView.vue new file mode 100644 index 0000000..0c9e103 --- /dev/null +++ b/Frontend/src/views/XPathView.vue @@ -0,0 +1,29 @@ + + + \ No newline at end of file diff --git a/Frontend/src/views/XQueryView.vue b/Frontend/src/views/XQueryView.vue new file mode 100644 index 0000000..972192f --- /dev/null +++ b/Frontend/src/views/XQueryView.vue @@ -0,0 +1,20 @@ + + + \ No newline at end of file diff --git a/Frontend/src/views/XSDView.vue b/Frontend/src/views/XSDView.vue new file mode 100644 index 0000000..6aca08b --- /dev/null +++ b/Frontend/src/views/XSDView.vue @@ -0,0 +1,20 @@ + + + \ No newline at end of file diff --git a/Frontend/src/views/XSLTView.vue b/Frontend/src/views/XSLTView.vue new file mode 100644 index 0000000..f8f19b1 --- /dev/null +++ b/Frontend/src/views/XSLTView.vue @@ -0,0 +1,28 @@ + + + \ No newline at end of file diff --git a/Frontend/src/views/XmlFormatterView.vue b/Frontend/src/views/XmlFormatterView.vue new file mode 100644 index 0000000..9149a44 --- /dev/null +++ b/Frontend/src/views/XmlFormatterView.vue @@ -0,0 +1,37 @@ + + + \ No newline at end of file diff --git a/Frontend/tailwind.config.js b/Frontend/tailwind.config.js new file mode 100644 index 0000000..ff48818 --- /dev/null +++ b/Frontend/tailwind.config.js @@ -0,0 +1,11 @@ +/** @type {import('tailwindcss').Config} */ +export default { + content: [ + "./index.html", + "./src/**/*.{vue,js,ts,jsx,tsx}", + ], + theme: { + extend: {}, + }, + plugins: [], +} \ No newline at end of file diff --git a/Frontend/tools/jsonFormatter.html b/Frontend/tools/jsonFormatter.html deleted file mode 100644 index 59eee48..0000000 --- a/Frontend/tools/jsonFormatter.html +++ /dev/null @@ -1,64 +0,0 @@ - - - - - - - - - - - - - - - - -
-
-
-
-

Online JSON Formatter

-
- -
-
-
- Insert your JSON: -
- -
- - -
-
-
-              {"enter": "your", "json": "here"}
-          
- - - - -
-
- -
-

What is this?

-

This tool has 2 main functions: -

    -
  • Prettify JSON to make it human-readable (add indentation etc.)
  • -
  • Minimize JSON to make it more compact (exactly opposite to above)
  • -
-

-
- -
- - diff --git a/Frontend/tools/mock.html b/Frontend/tools/mock.html deleted file mode 100644 index e41c7cc..0000000 --- a/Frontend/tools/mock.html +++ /dev/null @@ -1,242 +0,0 @@ - - - - R11 MockedServices - - - - - - - - -
-
-
-
-

MockedServices

-
-
- -

Your Message

- - -
- - - -
-
- -
- -
- - - - -
- -
- - - - -
-
-
- -
-
- -
- - -
- - - -
- -
- - -
- -
- -
- - - - - - - - - - - - - - - - - - - - -
NameValue
-
- -
-
- - -
- - - - - - - - - - - -
TimestampMethodRequest BodyHeaders
-
-
-
-
-
-
-
-
-
-
-

What's this?

-

MockedServices is a tool that allows developer to create, in easy and simple way, http server mocked endpoints for integration tests.

-

Help

-

When cursor hovers over an item. It's description is displayed below.

-
-
-

Link

-

Link is an url representing an endpoint at which you can receive your mocked response by simply sending get request.

-
-
-
-
-

Save button!

-

To save message, the message must be changed!

-
-
- -
-
-
-
-

Http Status

-

Value of the field is corresponding to status value that server will return.

-
-
-
-
-

Content Type

-

Value of the field describes content of body payload contained in the response. For example if content is in xml format the value should be "application/xml" or "text/xml"

-
-
-
-
-

Body

-

Value of the field describes content of response body. It's basicly the message we want server to return. If it's simple response like 200 OK or 404 not found then field might be left empty.

-
-
-
-
-

Headers

-

Content of this tab allows to set and modify headers that will be included in the response.

-
-
-
-
-

History

-

Content of this tab displays the history of requests or responses received/sent to the endpoint

-
-
-
-
-

New header

-

Insert value in the field and press the plus icon to add a new header to the message.

-
-
-
-
-
-
- - - - - - - - - - - - - diff --git a/Frontend/tools/xmlFormatter.html b/Frontend/tools/xmlFormatter.html deleted file mode 100644 index a200e44..0000000 --- a/Frontend/tools/xmlFormatter.html +++ /dev/null @@ -1,68 +0,0 @@ - - - - - - - - - - - - - - - - - - -
-
-
-
-

Online XML Formatter

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

- - - -
-
-
-

What is this?

-

This tool has 2 main functions: -

    -
  • Prettify XML to make it human-readable (add indentation etc.)
  • -
  • Minimize XML to make it more compact (exactly opposite to above)
  • -
-

-
- - - -
- - - - diff --git a/Frontend/tools/xpath.html b/Frontend/tools/xpath.html deleted file mode 100644 index 6a6fc3c..0000000 --- a/Frontend/tools/xpath.html +++ /dev/null @@ -1,17121 +0,0 @@ - - - - - - - - - - - - - - - - - - -
-
-
-
-

Online XPath tester

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

What is XPath?

-

- XPath is a query language used for selecting nodes from XML and processing them.
- It may perform operations on strings, numbers and boolean values.
-

-

-

Semantics legend:

-

- "+" - 1 or more elements -

-

- "*" - 0 or more elements -

-

- "?" - optional element -

-

- - -
- - - -
-

XPath 2.0 introduced many new features XQuery-cośtam:
- - Added support for all XML simple types
- - Many new functions (tripled instruction count)
- - All expressions evaluate to sequence
- - Introduces conditional expressions and for-loops
-

-

XPath 3.0
- - Dynamic function calls (function may be called without being referenced by name (find - function in collection and call)
- - Inline functions
- - Namespace literals - Namespace may be embedded into function name
- - Support for union types - collections containing elements of different types
- - Mapping operator - '!' performs evaluation for each element in sequence and - concatenates results
- - Introduced maps
-

-

XPath 3.1
- - New operator for function chaining '=>'
- - Introduced maps that store data in pair 'key:value' - 'map{ key : value, key : value - }'
- - Introduced arrays - they differ from sequences in that they can be nested 'array{1, 5, 7, - (10 to 20)}'
- -

-
-
- -

XPath 1.0 & 2.0 functions

- - - - -
- - - -
- fn:position() -
- Returns the position of the current context node.
-
- W3C Documentation reference: Node-Set-Functions -
- - fn:last() -
- The last function returns a number equal to the context size from the expression evaluation context.
-
- W3C Documentation reference: Node-Set-Functions -
- - - fn:count() -
- Returns the number of nodes in the node-set
- Arguments: - - - - - - - - - -
TypeDescription
node-setNode-set to count nodes in
Examples:
- - - - - - - - - - - - - -
ExpressionResult
count(//b:book)5
count(//person[@id>5])17

- W3C Documentation reference: Node-Set-Functions -
- - - - fn:id() -
- Returns the element specified by it's unique id, requires DTD
-
- W3C Documentation reference: Node-Set-Functions -
- - - - fn:local-name() -
- Returns the local-name for the first node in the node-set
- Arguments: - - - - - - - - - -
TypeDescription
node-setExtract first node and return its local name
Examples:
- - - - - - - - - - - - - -
ExpressionResult
local-name(//b:books)b:book
local-name(//b:book)b:title

- W3C Documentation reference: Node-Set-Functions -
- - - fn:namespace-uri() -
- Returns the namespace-uri for the first node in the node-set
- Arguments: - - - - - - - - - -
TypeDescription
node-setExtract first node and return the namespace URI
Examples:
- - - - - - - - - -
ExpressionResult
namespace-uri(//b:book)http://www.book.com

- W3C Documentation reference: Node-Set-Functions -
- - - fn:name() -
- Returns the name for the first node in the node-set
- Arguments: - - - - - - - - - -
TypeDescription
node-set (Optional)Extract first node and return QName
Examples:
- - - - - - - - - - - - - -
ExpressionResult
name(//b:books/*)b:book
name(//b:book/*)b:title

- W3C Documentation reference: Node-Set-Functions -
- -
-
-
- - - -
- - - fn:boolean() -
- The boolean function converts its argument to a boolean as follows: -
    -
  • a number is true if and only if it is neither positive or negative zero nor NaN
  • -
  • a node-set is true if and only if it is non-empty
  • -
  • a string is true if and only if its length is non-zero
  • -
  • an object of a type other than the four basic types is converted to a boolean in a way that is dependent on that type
  • -
- - Arguments: - - - - - - - - - -
TypeDescription
objectThe object to convert to a boolean
Examples:
- - - - - - - - - - - - - -
ExpressionResult
boolean("Release11")true
boolean("")false

- W3C Documentation reference: Boolean-Functions -
- - fn:not() -
- The not function returns true if its argument is false, and false otherwise.
-
- W3C Documentation reference: Boolean-Functions -
- - - fn:true() -
- The true function returns true.
-
- W3C Documentation reference: Boolean-Functions -
- - - fn:false() -
- The true function returns false.
-
- W3C Documentation reference: Boolean-Functions -
- - fn:lang() -
- The lang function returns true or false depending on whether the language of the context node as specified by xml:lang attributes is the same as or is a sublanguage of the language specified by the argument string. The language of the context node is determined by the value of the xml:lang attribute on the context node, or, if the context node has no xml:lang attribute, by the value of the xml:lang attribute on the nearest ancestor of the context node that has an xml:lang attribute. If there is no such attribute, then lang returns false. If there is such an attribute, then lang returns true if the attribute value is equal to the argument ignoring case, or if there is some suffix starting with - such that the attribute value is equal to the argument ignoring that suffix of the attribute value and ignoring case.
- Arguments: - - - - - - - - - -
TypeDescription
stringLanguage that will be looked for in context node
Examples: Look W3C documentation
-
- W3C Documentation reference: Boolean-Functions -
- - -
-
-
- - - -
- - fn:string() -
- The string function converts an object to a string as follows: A node-set is converted to a string by returning the string-value of the node in the node-set that is first in document order. If the node-set is empty, an empty string is returned.
- - Arguments: - - - - - - - - - -
TypeDescription
objectThe object to convert to a string
Examples:
- - - - - - - - - -
ExpressionResult
string(10)true

- W3C Documentation reference: String-Functions -
- - - fn:concat() -
- The concat function returns the concatenation of its arguments.
- - Arguments: - - - - - - - - - -
TypeDescription
string*Strings to concatenate
Examples:
- - - - - - - - - -
ExpressionResult
concat("Release", 11)Release11

- W3C Documentation reference: String-Functions -
- - fn:starts-with() -
- Returns true if the first argument string starts with the second argument string, and otherwise returns false.
- - Arguments: - - - - - - - - - - - - - -
TypeDescription
stringString to test
stringString that first string has to start from
Examples:
- - - - - - - - - -
ExpressionResult
starts-with("Release11", "Rel")true

- W3C Documentation reference: String-Functions -
- - fn:contains() -
- The contains function returns true if the first argument string contains the second argument string, and otherwise returns false.
- - Arguments: - - - - - - - - - - - - - -
TypeDescription
stringString to test
stringString that first string has to contain
Examples:
- - - - - - - - - -
ExpressionResult
contains("Release11", "eas")true

- W3C Documentation reference: String-Functions -
- - fn:substring-before() -
- The substring-before function returns the substring of the first argument string that precedes the first occurrence of the second argument string in the first argument string, or the empty string if the first argument string does not contain the second argument string.
- - Arguments: - - - - - - - - - - - - - -
TypeDescription
stringString to test
stringString that first string has to contain
Examples:
- - - - - - - - - -
ExpressionResult
substring-before("1999/04/01","/")1999

- W3C Documentation reference: String-Functions -
- - - fn:substring-after() -
- The substring-after function returns the substring of the first argument string that follows the first occurrence of the second argument string in the first argument string, or the empty string if the first argument string does not contain the second argument string.
- - Arguments: - - - - - - - - - - - - - -
TypeDescription
stringString to test
stringString that first string has to contain
Examples:
- - - - - - - - - - - - - -
ExpressionResult
substring-after("1999/04/01","/")04/01
substring-after("1999/04/01","19")99/04/01

- W3C Documentation reference: String-Functions -
- - - fn:substring() -
- The substring function returns the substring of the first argument starting at the position specified in the second argument with length specified in the third argument.
- - Arguments: - - - - - - - - - - - - - - - - - -
TypeDescription
stringString to test
numberStarting index
number?Length of target substring
Examples:
- - - - - - - - - - - - - -
ExpressionResult
substring("12345",2)2345
substring("12345",2,3)234

- W3C Documentation reference: String-Functions -
- - fn:string-length() -
- The string-length returns the number of characters in the string. If the argument is omitted, it defaults to the context node converted to a string, in other words the string-value of the context node.
- - Arguments: - - - - - - - - - -
TypeDescription
string?String to test
Examples:
- - - - - - - - - -
ExpressionResult
string-length("abcdef")6

- W3C Documentation reference: String-Functions -
- - fn:normalize-space() -
- The normalize-space function returns the argument string with whitespace normalized by stripping leading and trailing whitespace and replacing sequences of whitespace characters by a single space. Whitespace characters are the same as those allowed by the S production in XML. If the argument is omitted, it defaults to the context node converted to a string, in other words the string-value of the context node.
- - Arguments: - - - - - - - - - -
TypeDescription
string?String to test
Examples:
- - - - - - - - - -
ExpressionResult
normalize-space(" abc def ")abc def

- W3C Documentation reference: String-Functions -
- - - fn:translate() -
- The translate function returns the first argument string with occurrences of characters in the second argument string replaced by the character at the corresponding position in the third argument string. If there is a character in the second argument string with no character at a corresponding position in the third argument string (because the second argument string is longer than the third argument string), then occurrences of that character in the first argument string are removed.
- - Arguments: - - - - - - - - - - - - - - - - - -
TypeDescription
stringString to translate
stringCharacters to remove
stringString to insert characters from second argument
Examples:
- - - - - - - - - - - - - -
ExpressionResult
translate("bar","abc","ABC")BAr
translate("--aaa--","abc-","ABC")AAA

- W3C Documentation reference: String-Functions -
- - -
-
-
- - - -
- - - fn:number() -
- The number function converts its argument to a number as follows: -
    -
  • a string that consists of optional whitespace followed by an optional minus sign followed by a Number followed by whitespace is converted to the IEEE 754 number that is nearest (according to the IEEE 754 round-to-nearest rule) to the mathematical value represented by the string; any other string is converted to NaN
  • -
  • boolean true is converted to 1; boolean false is converted to 0
  • -
  • a node-set is first converted to a string as if by a call to the string function and then converted in the same way as a string argument
  • -
  • an object of a type other than the four basic types is converted to a number in a way that is dependent on that type
  • -
- - Arguments: - - - - - - - - - -
TypeDescription
objectThe object to convert to a number
Examples:
- - - - - - - - - - - - - -
ExpressionResult
number(10)10
number("")NaN

- W3C Documentation reference -
- - fn:sum() -
- The sum function returns the sum, for each node in the argument node-set, of the result of converting the string-values of the node to a number.
- - Arguments: - - - - - - - - - -
TypeDescription
node-setNode set to sum
Examples:
- - - - - - - - - -
ExpressionResult
sum(/l:library/l:readerList/p:person/p:readerID)12444

- W3C Documentation reference -
- - fn:floor() -
- The floor function returns the largest (closest to positive infinity) number that is not greater than the argument and that is an integer.
- - Arguments: - - - - - - - - - -
TypeDescription
node-setNode set to sum
Examples:
- - - - - - - - - - - - - - - - - -
ExpressionResult
floor(3.1)4
floor(3.9)4
floor(3.5)4

- W3C Documentation reference -
- - fn:ceiling() -
- The ceiling function returns the smallest (closest to negative infinity) number that is not less than the argument and that is an integer.
- - Arguments: - - - - - - - - - -
TypeDescription
node-setNode set to sum
Examples:
- - - - - - - - - - - - - - - - - -
ExpressionResult
floor(3.1)3
floor(3.9)3
floor(3.5)3

- W3C Documentation reference -
- - - fn:round() -
- The round function returns the number that is closest to the argument and that is an integer. If there are two such numbers, then the one that is closest to positive infinity is returned. If the argument is NaN, then NaN is returned. If the argument is positive infinity, then positive infinity is returned. If the argument is negative infinity, then negative infinity is returned. If the argument is positive zero, then positive zero is returned. If the argument is negative zero, then negative zero is returned. If the argument is less than zero, but greater than or equal to -0.5, then negative zero is returned. - -

NOTE

- For these last two cases, the result of calling the round function is not the same as the result of adding 0.5 and then calling the floor function.
- - Arguments: - - - - - - - - - -
TypeDescription
node-setNode set to sum
Examples:
- - - - - - - - - - - - - - - - - -
ExpressionResult
floor(3.1)3
floor(3.9)4
floor(3.5)3

- W3C Documentation reference -
- -
-
-
- -
- - - -
- - - fn:name() -
- Returns the name of a node, as an xs:string that is either the zero-length string, or - has the lexical form of an xs:QName.
- - If the argument is omitted, it defaults to the context item (.). The behavior of the - function if the argument is omitted is exactly the same as if the context item had been - passed as the argument.
- - The following errors may be raised: if the context item is undefined [err:XPDY0002]XP; - if the context item is not a node [err:XPTY0004]XP.
- - If the argument is supplied and is the empty sequence, the function returns the - zero-length string.
- - If the target node has no name (that is, if it is a document node, a comment, a text - node, or a namespace binding having no name), the function returns the zero-length - string.
- - Otherwise, the value returned is fn:string(fn:node-name($arg)).
-
- Arguments: - - - - - - - - - -
TypeDescription
node?Node to display name.
- Return type: xs:string

- - Examples: - - - - - - - - - -
QueryResult
name(/l:library)l:library

- W3C Documentation reference -
- - fn:local-name() -
- Returns the local part of the name of $arg as an xs:string that will either be the - zero-length string or will have the lexical form of an xs:NCName.
- - If the argument is omitted, it defaults to the context item (.). The behavior of the - function if the argument is omitted is exactly the same as if the context item had been - passed as the argument.
- - The following errors may be raised: if the context item is undefined [err:XPDY0002]XP; - if the context item is not a node [err:XPTY0004]XP.
- - If the argument is supplied and is the empty sequence, the function returns the - zero-length string.
- - If the target node has no name (that is, if it is a document node, a comment, or a text - node), the function returns the zero-length string.
- - Otherwise, the value returned will be the local part of the expanded-QName of the target - node (as determined by the dm:node-name accessor in Section 5.11 node-name Accessor). - This will be an xs:string whose lexical form is an xs:NCName.
- -
- Arguments: - - - - - - - - - -
TypeDescription
node?Node to display local-name.
- Return type: xs:string

- Examples: - - - - - - - - - -
QueryResult
name(/l:library)library

- - W3C Documentation reference -
- - fn:nilled() -
- Returns an xs:boolean indicating whether the argument node is "nilled". If the argument - is not an element node, returns the empty sequence. If the argument is the empty - sequence, returns the empty sequence.
- -
- Arguments: - - - - - - - - - -
TypeDescription
node?Node to test.
- Return type: xs:boolean?

- Examples: - - - - - - - - - -
QueryResult
nilled(/l:library)false

- - W3C Documentation reference -
- - fn:base-uri() -
- Returns the value of the base-uri URI property for $arg as defined by the accessor - function dm:base-uri() for that kind of node in Section 5.2 base-uri AccessorDM. If $arg - is not specified, the behavior is identical to calling the function with the context - item (.) as argument. The following errors may be raised: if the context item is - undefined [err:XPDY0002]XP; if the context item is not a node [err:XPTY0004]XP.
- - If $arg is the empty sequence, the empty sequence is returned.
- - Document, element and processing-instruction nodes have a base-uri property which may be - empty. The base-uri property of all other node types is the empty sequence. The value of - the base-uri property is returned if it exists and is not empty. Otherwise, if the node - has a parent, the value of dm:base-uri() applied to its parent is returned, recursively. - If the node does not have a parent, or if the recursive ascent up the ancestor chain - encounters a node whose base-uri property is empty and it does not have a parent, the - empty sequence is returned.
- -
- Arguments: - - - - - - - - - -
TypeDescription
node?Node to find base URI of.
- Return type: xs:anyURI?

- Examples: - - - - - - - - - -
QueryResult
base-uri(/l:library/l:libraryName)<empty sequence>

- - W3C Documentation reference -
- - fn:document-uri() -
- Returns the value of the document-uri property for $arg as defined by the - dm:document-uri accessor function defined in Section 6.1.2 AccessorsDM.
- - If $arg is the empty sequence, the empty sequence is returned.
- - Returns the empty sequence if the node is not a document node. Otherwise, returns the - value of the dm:document-uri accessor of the document node.
- - In the case of a document node $D returned by the fn:doc function, or a document node at - the root of a tree containing a node returned by the fn:collection function, it will - always be true that either fn:document-uri($D) returns the empty sequence, or that the - following expression is true: fn:doc(fn:document-uri($D)) is $D. It is - implementation-defined whether this guarantee also holds for document nodes obtained by - other means, for example a document node passed as the initial context node of a query - or transformation.
- -
- Arguments: - - - - - - - - - -
TypeDescription
node?Node which document-uri value needs to be returned.
- Return type: xs:anyURI?

- Examples: - - - - - - - - - - - - - - - - - -
QueryResult
document-uri(/l:library/l:libraryName)<empty sequence>
document-uri(/library/fiction:book[1])http://example.com/library.xml (assuming the document URI of the first - fiction:book element is "http://example.com/library.xml")
document-uri(/library)http://example.com/library.xml (assuming the document URI of the library - element is "http://example.com/library.xml")

- - W3C Documentation reference -
- - fn:lang() -
- This function tests whether the language of $node, or the context item if the second - argument is omitted, as specified by xml:lang attributes is the same as, or is a - sublanguage of, the language specified by $testlang. The behavior of the function if the - second argument is omitted is exactly the same as if the context item (.) had been - passed as the second argument. The language of the argument node, or the context item if - the second argument is omitted, is determined by the value of the xml:lang attribute on - the node, or, if the node has no such attribute, by the value of the xml:lang attribute - on the nearest ancestor of the node that has an xml:lang attribute. If there is no such - ancestor, then the function returns false

- - Arguments: - - - - - - - - - - - - - -
TypeDescription
xs:string?$testlang
node()$node (Optional)
- Return type: xs:boolean?

- Examples: Look W3C documentation below. -
- - W3C Documentation reference -
- - fn:root() -
- Returns the root of the tree to which $arg belongs. This will usually, but not - necessarily, be a document node.
- - If $arg is the empty sequence, the empty sequence is returned.
- - If $arg is a document node, $arg is returned.
- - If the function is called without an argument, the context item (.) is used as the - default argument. The behavior of the function if the argument is omitted is exactly the - same as if the context item had been passed as the argument.
- - The following errors may be raised: if the context item is undefined [err:XPDY0002]; if - the context item is not a node [err:XPTY0004].

- - Arguments: - - - - - - - - - -
TypeDescription
node()$arg (Optional)
- Return type: node()?

- Examples: - - - - - - - - - -
QueryResult
root()<l:library>[...]</l:library>

- - W3C Documentation reference -
- - fn:count() -
- Returns the number of items in the value of $arg. Returns 0 if $arg is the empty - sequence.

- - Arguments: - - - - - - - - - -
TypeDescription
item()*$arg
- Return type: xs:integer

- Examples: - - - - - - - - - - - - - -
QueryResult
count(/l:library/l:readerList/p:person)2
count(/l:library/l:writers)0

- - W3C Documentation reference -
- - - fn:avg() -
- Returns the number of items in the value of $arg. Returns 0 if $arg is the empty - sequence.

- - Arguments: - - - - - - - - - -
TypeDescription
xs:anyAtomicType*$arg
- Return type: xs:anyAtomicType

- Examples: - - - - - - - - - -
QueryResult
avg(/l:library/l:readerList/p:person/p:readerID)6222

- - W3C Documentation reference -
- - - fn:max() -
- Selects an item from the input sequence $arg whose value is greater than or equal to the - value of every other item in the input sequence. If there are two or more such items, - then the specific item whose value is returned is ·implementation dependent·.

- - Arguments: - - - - - - - - - - - - - -
TypeDescription
xs:anyAtomicType*$arg
xs:string$collation (Optional)
- Return type: xs:anyAtomicType?

- Examples: - - - - - - - - - - - - - -
QueryResult
max((3,4,5))5
max((5, 5.0e0))5.0e0

- - W3C Documentation reference -
- - fn:min() -
- Selects an item from the input sequence $arg whose value is less than or equal to the - value of every other item in the input sequence. If there are two or more such items, - then the specific item whose value is returned is ·implementation dependent·.

- - Arguments: - - - - - - - - - - - - - -
TypeDescription
xs:anyAtomicType*$arg
xs:string$collation (Optional)
- Return type: xs:anyAtomicType?

- Examples: - - - - - - - - - - - - - -
QueryResult
min((3,4,5))3
min((5, 5.0e0))5.0e0

- - W3C Documentation reference -
- - - fn:sum() -
- Returns a value obtained by adding together the values in $arg. If $zero is not - specified, then the value returned for an empty sequence is the xs:integer value 0. If - $zero is specified, then the value returned for an empty sequence is $zero.
- - Any values of type xs:untypedAtomic in $arg are cast to xs:double. The items in the - resulting sequence may be reordered in an arbitrary order. The resulting sequence is - referred to below as the converted sequence.

- - Arguments: - - - - - - - - - - - - - -
TypeDescription
xs:anyAtomicType*$arg
xs:anyAtomicType?$zero (Optional)
- Return type: xs:anyAtomicType?

- Examples: - - - - - - - - - -
QueryResult
sum(/l:library/l:readerList/p:person/p:readerID)12444

- - W3C Documentation reference -
- -
-
-
- - - -
- - - fn:boolean() -
- Computes the effective boolean value of the sequence $arg. See Section 2.4.3 Effective - Boolean ValueXP
- - If $arg is the empty sequence, fn:boolean returns false.
- - If $arg is a sequence whose first item is a node, fn:boolean returns true.
- - If $arg is a singleton value of type xs:boolean or a derived from xs:boolean, fn:boolean - returns $arg.
- - If $arg is a singleton value of type xs:string or a type derived from xs:string, - xs:anyURI or a type derived from xs:anyURI or xs:untypedAtomic, fn:boolean returns false - if the operand value has zero length; otherwise it returns true.
- - If $arg is a singleton value of any numeric type or a type derived from a numeric type, - fn:boolean returns false if the operand value is NaN or is numerically equal to zero; - otherwise it returns true. - - In all other cases, fn:boolean raises a type error [err:FORG0006].
- - The static semantics of this function are described in Section 7.2.4 The fn:boolean and - fn:not functionsFS.

- - Arguments: - - - - - - - - - -
TypeDescription
item()*$arg
- Return type: xs:boolean?

- Examples: - - - - - - - - - - - - - - - - - -
QueryResult
boolean("/l:library")true
boolean(0)false
boolean(())false

- - W3C Documentation reference -
- - - fn:true() -
- Returns the xs:boolean value true. Equivalent to xs:boolean("1").

- - Return type: xs:boolean

- Examples:
- - - - - - - - - -
ExpressionResult
true()true

- W3C Documentation reference -
- - fn:false() -
- Returns the xs:boolean value false. Equivalent to xs:boolean("0").

- - Return type: xs:boolean

- Examples:
- - - - - - - - - -
ExpressionResult
false()false

- W3C Documentation reference -
- - fn:not() -
- $arg is first reduced to an effective boolean value by applying the fn:boolean() - function. Returns true if the effective boolean value is false, and false if the - effective boolean value is true.

- - Arguments and return type: - - - - - - - - - -
TypeDescription
item$arg
- Return type: xs:boolean

- Examples:
- - - - - - - - - - - - - -
ExpressionResult
not(false())true
not(true())false

- W3C Documentation reference -
- - -
-
-
- - - -
- - fn:string(object) -
- Returns the value of $arg represented as a xs:string. If no argument is supplied, the - context item (.) is used as the default argument. The behavior of the function if the - argument is omitted is exactly the same as if the context item had been passed as the - argument.
- - If the context item is undefined, error [err:XPDY0002]XP is raised.
- - If $arg is the empty sequence, the zero-length string is returned.
- - If $arg is a node, the function returns the string-value of the node, as obtained using - the dm:string-value accessor defined in the Section 5.13 string-value AccessorDM.
- - If $arg is an atomic value, then the function returns the same string as is returned by - the expression " $arg cast as xs:string " (see 17 Casting).
- Arguments and return type: - - - - - - - - - -
TypeDescription
stringThe object to convert to a string
- Return type: xs:string

- Examples:
- - - - - - - - - - - - - -
ExpressionResult
string((1<0))false
string(.11)0.11

- W3C Documentation reference -
- - fn:codepoints-to-string() -
- Creates an xs:string from a sequence of The Unicode Standard code points. Returns the - zero-length string if $arg is the empty sequence. If any of the code points in $arg is - not a legal XML character, an error is raised [err:FOCH0001].
- Arguments and return type: - - - - - - - - - -
TypeDescription
xs:integer*$arg
- Return type: xs:string

- Examples:
- - - - - - - - - - - - - -
ExpressionResult
codepoints-to-string((2309, 2358, 2378, 2325))अशॊक
codepoints-to-string((40, 32, 865, 176, 32, 860, 662, 32, 865, 176, 41)) - ( ͡° ͜ʖ ͡°)

- W3C Documentation reference -
- - fn:string-to-codepoints() -
- Returns the sequence of The Unicode Standard code points that constitute an xs:string. - If $arg is a zero-length string or the empty sequence, the empty sequence is - returned.
- Arguments and return type: - - - - - - - - - -
TypeDescription
xs:string*$arg
- Return type: xs:integer*

- Examples:
- - - - - - - - - -
ExpressionResult
string-to-codepoints("Thérèse")(84, 104, 233, 114, 232, 115, 101)

- W3C Documentation reference -
- - fn:compare() -
- Returns -1, 0, or 1, depending on whether the value of the $comparand1 is respectively - less than, equal to, or greater than the value of $comparand2, according to the rules of - the collation that is used.
- - The collation used by the invocation of this function is determined according to the - rules in 7.3.1 Collations.
- - If either argument is the empty sequence, the result is the empty sequence.
- - This function, invoked with the first signature, backs up the "eq", "ne", "gt", "lt", - "le" and "ge" operators on string values.
- Arguments and return type: - - - - - - - - - - - - - - - - - -
TypeDescription
xs:string?$comparand1
xs:string?$comparand2
xs:string$collation (Optional)
- Return type: xs:integer*

- Examples:
- - - - - - - - - - - - - - - - - -
ExpressionResult
compare('abc', 'abc')0
compare('abc', 'acc')-1
compare('abc', 'acc')1

- W3C Documentation reference -
- - fn:codepoint-equal() -
- Returns true or false depending on whether the value of $comparand1 is equal to the - value of $comparand2, according to the Unicode code - point collation.
- - If either argument is the empty sequence, the result is the empty sequence.
- Arguments and return type: - - - - - - - - - - - - - -
TypeDescription
xs:string?$comparand1
xs:string?$comparand2
- Return type: xs:boolean?

- Examples:
- - - - - - - - - - - - - -
ExpressionResult
codepoint-equal("asdf", "asdf")true
codepoint-equal("asdf", "asdf ")false

- W3C Documentation reference -
- - fn:concat() -
- Accepts two or more xs:anyAtomicType arguments and casts them to xs:string. Returns the - xs:string that is the concatenation of the values of its arguments after conversion. If - any of the arguments is the empty sequence, the argument is treated as the zero-length - string.
- - The fn:concat function is specified to allow two or more arguments, which are - concatenated together. This is the only function specified in this document that allows - a variable number of arguments. This capability is retained for compatibility with [XML - Path Language (XPath) Version 1.0].
- Arguments and return type: - - - - - - - - - - - - - - - - - -
TypeDescription
xs:anyAtomicType?$arg1
xs:anyAtomicType?$arg2
xs:anyAtomicType?$arg... (Optional)
- Return type: xs:string

- Examples:
- - - - - - - - - - - - - - - - - -
ExpressionResult
concat('un', 'grateful')ungrateful
concat('Thy ', (), 'old ', "groans", "", ' ring', ' yet', ' in', ' my', ' - ancient',' ears.')Thy old groans ring yet in my ancient ears.
fn:concat('Ciao!',())Ciao!

- W3C Documentation reference -
- - fn:string-join() -
- Returns a xs:string created by concatenating the members of the $arg1 sequence using - $arg2 as a separator. If the value of $arg2 is the zero-length string, then the members - of $arg1 are concatenated without a separator.
- - If the value of $arg1 is the empty sequence, the zero-length string is returned.
- Arguments and return type: - - - - - - - - - - - - - -
TypeDescription
xs:string*$arg1
xs:string$arg2
- Return type: xs:string

- Examples:
- - - - - - - - - - - - - -
ExpressionResult
string-join(('Now', 'is', 'the', 'time', '...'), ' ')Now is the time ...
string-join(('Blow, ', 'blow, ', 'thou ', 'winter ', 'wind!'), '')Blow, blow, thou winter wind!

- W3C Documentation reference -
- - fn:substring() -
- Returns the portion of the value of $sourceString beginning at the position indicated by - the value of $startingLoc and continuing for the number of characters indicated by the - value of $length. The characters returned do not extend beyond $sourceString. If - $startingLoc is zero or negative, only those characters in positions greater than zero - are returned.
- More specifically, the three argument version of the function returns the characters in - $sourceString whose position $p obeys:
- fn:round($startingLoc) <= $p < fn:round($startingLoc) + fn:round($length)
- The two argument version of the function assumes that $length is infinite and returns - the characters in $sourceString whose position $p obeys:
- fn:round($startingLoc) <= $p < fn:round(INF)
- In the above computations, the rules for op:numeric-less-than() and - op:numeric-greater-than() apply.
- If the value of $sourceString is the empty sequence, the zero-length string is - returned.
- - Note:
- The first character of a string is located at position 1, not position 0.
- - Arguments and return type: - - - - - - - - - - - - - - - - - -
TypeDescription
xs:string?$sourceString
xs:double$startingLoc
xs:double$length (Optional)
- Return type: xs:string

- Examples:
- - - - - - - - - - - - - -
ExpressionResult
substring("motor car", 6)" car"
substring("metadata", 4, 3)ada

- W3C Documentation reference -
- - fn:string-length() -
- Returns an xs:integer equal to the length in characters of the value of $arg.
- - If the value of $arg is the empty sequence, the xs:integer 0 is returned.
- - If no argument is supplied, $arg defaults to the string value (calculated using - fn:string()) of the context item (.). If no argument is supplied and the context item is - undefined an error is raised: [err:XPDY0002].
- - Arguments and return type: - - - - - - - - - -
TypeDescription
xs:string?$arg (Optional)
- Return type: xs:integer

- Examples:
- - - - - - - - - - - - - -
ExpressionResult
string-length("Harp not on that string, madam; that is past.")45
string-length(())0

- W3C Documentation reference -
- - fn:normalize-space() -
- Returns the value of $arg with whitespace normalized by stripping leading and trailing - whitespace and replacing sequences of one or more than one whitespace character with a - single space, #x20.
- - If the value of $arg is the empty sequence, returns the zero-length string.
- - If no argument is supplied, then $arg defaults to the string value (calculated using - fn:string()) of the context item (.). If no argument is supplied and the context item is - undefined an error is raised: [err:XPDY0002].
- - Arguments and return type: - - - - - - - - - -
TypeDescription
xs:string?$arg (Optional)
- Return type: xs:string

- Examples:
- - - - - - - - - - - - - -
ExpressionResult
normalize-space(" The wealthy curled darlings of our nation. ")The wealthy curled darlings of our nation.
normalize-space(())""

- W3C Documentation reference -
- - fn:normalize-unicode() -
- Returns the value of $arg normalized according to the normalization criteria for a - normalization form identified by the value of $normalizationForm. The effective value of - the $normalizationForm is computed by removing leading and trailing blanks, if present, - and converting to upper case.
- - If the value of $arg is the empty sequence, returns the zero-length string.
- - Arguments and return type: - - - - - - - - - - - - - -
TypeDescription
xs:string?$arg
xs:string$normalizationForm (Optional)
- Return type: xs:string

- Examples:
- - - - - - - - - -
ExpressionResult
normalize-unicode("test ")test

- W3C Documentation reference -
- - fn:upper-case() -
- Returns the value of $arg after translating every character to its upper-case - correspondent as defined in the appropriate case mappings section in the Unicode - standard [The Unicode Standard]. For versions of Unicode beginning with the 2.1.8 - update, only locale-insensitive case mappings should be applied. Beginning with version - 3.2.0 (and likely future versions) of Unicode, precise mappings are described in default - case operations, which are full case mappings in the absence of tailoring for particular - languages and environments. Every lower-case character that does not have an upper-case - correspondent, as well as every upper-case character, is included in the returned value - in its original form.
- - If the value of $arg is the empty sequence, the zero-length string is returned.
- - Arguments and return type: - - - - - - - - - -
TypeDescription
xs:string?$arg
- Return type: xs:string

- Examples:
- - - - - - - - - -
ExpressionResult
upper-case("abCd0")ABCD0

- W3C Documentation reference -
- - fn:lower-case() -
- Returns the value of $arg after translating every character to its lower-case - correspondent as defined in the appropriate case mappings section in the Unicode - standard [The Unicode Standard]. For versions of Unicode beginning with the 2.1.8 - update, only locale-insensitive case mappings should be applied. Beginning with version - 3.2.0 (and likely future versions) of Unicode, precise mappings are described in default - case operations, which are full case mappings in the absence of tailoring for particular - languages and environments. Every upper-case character that does not have a lower-case - correspondent, as well as every lower-case character, is included in the returned value - in its original form.
- - If the value of $arg is the empty sequence, the zero-length string is returned.
- - Arguments and return type: - - - - - - - - - -
TypeDescription
xs:string?$arg
- Return type: xs:string

- Examples:
- - - - - - - - - -
ExpressionResult
lower-case("abCd0")abcd0

- W3C Documentation reference -
- - fn:translate() -
- Returns the value of $arg modified so that every character in the value of $arg that - occurs at some position N in the value of $mapString has been replaced by the character - that occurs at position N in the value of $transString.
- - If the value of $arg is the empty sequence, the zero-length string is returned.
- - Every character in the value of $arg that does not appear in the value of $mapString is - unchanged.
- - Every character in the value of $arg that appears at some position M in the value of - $mapString, where the value of $transString is less than M characters in length, is - omitted from the returned value. If $mapString is the zero-length string $arg is - returned.
- - If a character occurs more than once in $mapString, then the first occurrence determines - the replacement character. If $transString is longer than $mapString, the excess - characters are ignored.
- - Arguments and return type: - - - - - - - - - - - - - - - - - -
TypeDescription
xs:string?$arg
xs:string$mapString
xs:string$mapString
- Return type: xs:string

- Examples:
- - - - - - - - - - - - - - - - - -
ExpressionResult
translate("bar","abc","ABC")BAr
translate("--aaa--","abc-","ABC")AAA
translate("abcdabc", "abc", "AB")ABdAB

- W3C Documentation reference -
- - fn:encode-for-uri() -
- This function encodes reserved characters in an xs:string that is intended to be used in - the path segment of a URI. It is invertible but not idempotent. This function applies - the URI escaping rules defined in section 2 of [RFC 3986] to the xs:string supplied as - $uri-part. The effect of the function is to escape reserved characters. Each such - character in the string is replaced with its percent-encoded form as described in [RFC - 3986].
- - If $uri-part is the empty sequence, returns the zero-length string.
- - All characters are escaped except those identified as "unreserved" by [RFC 3986], that - is the upper- and lower-case letters A-Z, the digits 0-9, HYPHEN-MINUS ("-"), LOW LINE - ("_"), FULL STOP ".", and TILDE "~".
- - Note that this function escapes URI delimiters and therefore cannot be used - indiscriminately to encode "invalid" characters in a path segment.
- - Since [RFC 3986] recommends that, for consistency, URI producers and normalizers should - use uppercase hexadecimal digits for all percent-encodings, this function must always - generate hexadecimal values using the upper-case letters A-F.
- - Arguments and return type: - - - - - - - - - -
TypeDescription
xs:string?$uri-part
- Return type: xs:string

- Examples:
- - - - - - - - - - - - - - - - - -
ExpressionResult
encode-for-uri("https://www.google.com")"https%3A%2F%2Fwww.
google.com"
concat("http://www.example.com/", encode-for-uri("~bébé"))http://www.example.com/
~b%C3%A9b%C3%A9
concat("http://www.example.com/", encode-for-uri("100% organic"))http://www.example.com/
100%25%20organic

- W3C Documentation reference -
- - fn:iri-to-uri() -
- This function converts an xs:string containing an IRI into a URI according to the rules - spelled out in Section 3.1 of [RFC 3987]. It is idempotent but not invertible.
- - If $iri contains a character that is invalid in an IRI, such as the space character (see - note below), the invalid character is replaced by its percent-encoded form as described - in [RFC 3986] before the conversion is performed.
- - If $iri is the empty sequence, returns the zero-length string.
- - Arguments and return type: - - - - - - - - - -
TypeDescription
xs:string?$iri
- Return type: xs:string

- Examples:
- - - - - - - - - - - - - -
ExpressionResult
iri-to-uri ("http://www.example.com/00/Weather/CA/Los%20Angeles#ocean")"http://www.example.com/00/
Weather/CA/Los%20Angeles#ocean"
iri-to-uri ("http://www.example.com/~bébé")http://www.example.com/
~b%C3%A9b%C3%A9

- W3C Documentation reference -
- - fn:escape-html-uri() -
- This function escapes all characters except printable characters of the US-ASCII coded - character set, specifically the octets ranging from 32 to 126 (decimal). The effect of - the function is to escape a URI in the manner html user agents handle attribute values - that expect URIs. Each character in $uri to be escaped is replaced by an escape - sequence, which is formed by encoding the character as a sequence of octets in UTF-8, - and then representing each of these octets in the form %HH, where HH is the hexadecimal - representation of the octet. This function must always generate hexadecimal values using - the upper-case letters A-F.
- If $uri is the empty sequence, returns the zero-length string. - -

Note:

- The behavior of this function corresponds to the recommended handling of non-ASCII - characters in URI attribute values as described in [HTML 4.0] Appendix B.2.1.

- - - Arguments and return type: - - - - - - - - - -
TypeDescription
xs:string?$uri
- Return type: xs:string

- Examples:
- - - - - - - - - -
ExpressionResult
escape-html-uri("http://www.example.com/00/Weather/CA/Los Angeles#ocean") - http://www.example.com/00/Weather/CA/Los Angeles#ocean

- W3C Documentation reference -
- - fn:contains() -
- Returns an xs:boolean indicating whether or not the value of $arg1 contains (at the - beginning, at the end, or anywhere within) at least one sequence of collation units that - provides a minimal match to the collation units in the value of $arg2, according to the - collation that is used. - - If the value of $arg1 or $arg2 is the empty sequence, or contains only ignorable - collation units, it is interpreted as the zero-length string.
- - If the value of $arg2 is the zero-length string, then the function returns true.
- - If the value of $arg1 is the zero-length string, the function returns false.
- - The collation used by the invocation of this function is determined according to the - rules in 7.3.1 Collations. If the specified collation does not support collation units - an error ·may· be raised [err:FOCH0004].

- - - Arguments and return type: - - - - - - - - - - - - - - - - - -
TypeDescription
xs:string?$arg1
xs:string?$arg2
xs:string?$collation (Optional)
- Return type: xs:boolean

- Examples:
- - - - - - - - - - - - - - - - - -
ExpressionResult
contains( "tattoo", "tat")true
contains( "tattoo", "ttt")false
contains ( "", ())true

- W3C Documentation reference -
- - fn:starts-with() -
- Returns an xs:boolean indicating whether or not the value of $arg1 starts with a - sequence of collation units that provides a match to the collation units of $arg2 - according to the collation that is used. - - If the value of $arg1 or $arg2 is the empty sequence, or contains only ignorable - collation units, it is interpreted as the zero-length string.
- - If the value of $arg2 is the zero-length string, then the function returns true. If the - value of $arg1 is the zero-length string and the value of $arg2 is not the zero-length - string, then the function returns false.
- - The collation used by the invocation of this function is determined according to the - rules in 7.3.1 Collations. If the specified collation does not support collation units - an error ·may· be raised [err:FOCH0004].

- - - Arguments and return type: - - - - - - - - - - - - - - - - - -
TypeDescription
xs:string?$arg1
xs:string?$arg2
xs:string?$collation (Optional)
- Return type: xs:boolean

- Examples:
- - - - - - - - - - - - - - - - - -
ExpressionResult
starts-with( "tattoo", "tat")true
starts-with( "tattoo", "ttt")false
starts-with ( "", ())true

- W3C Documentation reference -
- - fn:ends-with() -
- Returns an xs:boolean indicating whether or not the value of $arg1 starts with a - sequence of collation units that provides a match to the collation units of $arg2 - according to the collation that is used.
- - If the value of $arg1 or $arg2 is the empty sequence, or contains only ignorable - collation units, it is interpreted as the zero-length string.
- - If the value of $arg2 is the zero-length string, then the function returns true. If the - value of $arg1 is the zero-length string and the value of $arg2 is not the zero-length - string, then the function returns false.
- - The collation used by the invocation of this function is determined according to the - rules in 7.3.1 Collations. If the specified collation does not support collation units - an error ·may· be raised [err:FOCH0004].

- - - Arguments and return type: - - - - - - - - - - - - - - - - - -
TypeDescription
xs:string?$arg1
xs:string?$arg2
xs:string?$collation (Optional)
- Return type: xs:boolean

- Examples:
- - - - - - - - - - - - - - - - - -
ExpressionResult
ends-with( "tattoo", "too")true
ends-with( "tattoo", "tatoo")false
ends-with ((), ())true

- W3C Documentation reference -
- - fn:substring-before() -
- Returns the substring of the value of $arg1 that precedes in the value of $arg1 the - first occurrence of a sequence of collation units that provides a minimal match to the - collation units of $arg2 according to the collation that is used.
- - If the value of $arg1 or $arg2 is the empty sequence, or contains only ignorable - collation units, it is interpreted as the zero-length string.
- - If the value of $arg2 is the zero-length string, then the function returns the - zero-length string.
- - If the value of $arg1 does not contain a string that is equal to the value of $arg2, - then the function returns the zero-length string.
- - The collation used by the invocation of this function is determined according to the - rules in 7.3.1 Collations If the specified collation does not support collation units an - error ·may· be raised [err:FOCH0004].

- - - Arguments and return type: - - - - - - - - - - - - - - - - - -
TypeDescription
xs:string?$arg1
xs:string?$arg2
xs:string?$collation (Optional)
- Return type: xs:string

- Examples:
- - - - - - - - - - - - - -
ExpressionResult
substring-before( "tattoo", "too")tat
substring-before( "tattoo", "tat")<empty string>

- W3C Documentation reference -
- - fn:substring-after() -
- Returns the substring of the value of $arg1 that follows in the value of $arg1 the first - occurrence of a sequence of collation units that provides a minimal match to the - collation units of $arg2 according to the collation that is used.
- - If the value of $arg1 or $arg2 is the empty sequence, or contains only ignorable - collation units, it is interpreted as the zero-length string.
- - If the value of $arg2 is the zero-length string, then the function returns the value of - $arg1.
- - If the value of $arg1 does not contain a string that is equal to the value of $arg2, - then the function returns the zero-length string.
- - The collation used by the invocation of this function is determined according to the - rules in 7.3.1 Collations If the specified collation does not support collation units an - error ·may· be raised [err:FOCH0004].

- - - Arguments and return type: - - - - - - - - - - - - - - - - - -
TypeDescription
xs:string?$arg1
xs:string?$arg2
xs:string?$collation (Optional)
- Return type: xs:string

- Examples:
- - - - - - - - - - - - - -
ExpressionResult
substring-after( "tattoo", "too")<empty string>
substring-after( "tattoo", "tat")too

- W3C Documentation reference -
- - - fn:matches() -
- The function returns true if $input matches the regular expression supplied as $pattern - as influenced by the value of $flags, if present; otherwise, it returns false.
- - The effect of calling the first version of this function (omitting the argument $flags) - is the same as the effect of calling the second version with the $flags argument set to - a zero-length string. Flags are defined in 7.6.1.1 Flags.
- - If $input is the empty sequence, it is interpreted as the zero-length string.
- Unless the metacharacters ^ and $ are used as anchors, the string is considered to match - the pattern if any substring matches the pattern. But if anchors are used, the anchors - must match the start/end of the string (in string mode), or the start/end of a line (in - multiline mode).
- - An error is raised [err:FORX0002] if the value of $pattern is invalid according to the - rules described in section 7.6.1 Regular Expression Syntax.
- - An error is raised [err:FORX0001] if the value of $flags is invalid according to the - rules described in section 7.6.1 Regular Expression Syntax.

- - - Arguments and return type: - - - - - - - - - - - - - - - - - -
TypeDescription
xs:string?$input
xs:string$pattern
xs:string$flags (Optional)
- Return type: xs:boolean

- Examples:
- - - - - - - - - - - - - -
ExpressionResult
matches("abracadabra", "bra")true
matches("abracadabra", "^a.*a$")false

- W3C Documentation reference -
- - fn:replace() -
- The function returns the xs:string that is obtained by replacing each non-overlapping - substring of $input that matches the given $pattern with an occurrence of the - $replacement string.
- - The effect of calling the first version of this function (omitting the argument $flags) - is the same as the effect of calling the second version with the $flags argument set to - a zero-length string. Flags are defined in 7.6.1.1 Flags.
- - The $flags argument is interpreted in the same manner as for the fn:matches() - function.
- - If $input is the empty sequence, it is interpreted as the zero-length string.
- - If two overlapping substrings of $input both match the $pattern, then only the
first - one (that is, the one whose first character comes first in the $input string) is - replaced. - - Within the $replacement string, a variable $N may be used to refer to the substring - captured by the Nth parenthesized sub-expression in the regular expression. For each - match of the pattern, these variables are assigned the value of the content matched by - the relevant sub-expression, and the modified replacement string is then substituted for - the characters in $input that matched the pattern. $0 refers to the substring captured - by the regular expression as a whole.

- - - Arguments and return type: - - - - - - - - - - - - - - - - - - - - - -
TypeDescription
xs:string?$input
xs:string$pattern
xs:string$replacement
xs:string$flags (Optional)
- Return type: xs:string

- Examples:
- - - - - - - - - - - - - - - - - -
ExpressionResult
replace("abracadabra", "bra", "*")a*cada*
replace("abracadabra", "a.*a", "*")*
replace("AAAA", "A+", "b")b

- W3C Documentation reference -
- - fn:tokenize() -
- This function breaks the $input string into a sequence of strings, treating any - substring that matches $pattern as a separator. The separators themselves are not - returned.
- - The effect of calling the first version of this function (omitting the argument $flags) - is the same as the effect of calling the second version with the $flags argument set to - a zero-length string. Flags are defined in 7.6.1.1 Flags.
- - The $flags argument is interpreted in the same way as for the fn:matches() function.
- - If $input is the empty sequence, or if $input is the zero-length string, the result is - the empty sequence.
- - If the supplied $pattern matches a zero-length string, that is, if fn:matches("", - $pattern, $flags) returns true, then an error is raised: [err:FORX0003].
- - If a separator occurs at the start of the $input string, the result sequence will start - with a zero-length string. Zero-length strings will also occur in the result sequence if - a separator occurs at the end of the $input string, or if two adjacent substrings match - the supplied $pattern.

- - - Arguments and return type: - - - - - - - - - - - - - - - - - -
TypeDescription
xs:string?$input
xs:string$pattern
xs:string$flags (Optional)
- Return type: xs:string*

- Examples:
- - - - - - - - - - - - - - - - - -
ExpressionResult
tokenize("The cat sat on the mat", "\s+")("The", "cat", "sat", "on", "the", "mat")
tokenize("1, 15, 24, 50", ",\s*")("1", "15", "24", "50")
tokenize("1,15,,24,50,", ",")("1", "15", "", "24", "50", "")

- W3C Documentation reference -
- -
-
-
- - - -
- - fn:number() -
- Returns the value indicated by $arg or, if $arg is not specified, the context item after - atomization, converted to an xs:double
- - Calling the zero-argument version of the function is defined to give the same result as - calling the single-argument version with the context item (.). That is, fn:number() is - equivalent to fn:number(.).
- - If $arg is the empty sequence or if $arg or the context item cannot be converted to an - xs:double, the xs:double value NaN is returned. If the context item is undefined an - error is raised: [err:XPDY0002]XP.
- - If $arg is the empty sequence, NaN is returned. Otherwise, $arg, or the context item - after atomization, is converted to an xs:double following the rules of 17.1.3.2 Casting - to xs:double. If the conversion to xs:double fails, the xs:double value NaN is - returned.
- -
- Arguments: - - - - - - - - - -
TypeDescription
xs:anyAtomicType?Value to convert to number
- Return type: xs:double

- W3C Documentation reference -
- - fn:abs() -
- Returns the absolute value of $arg. If $arg is negative returns -$arg otherwise returns - $arg. If type of $arg is one of the four numeric types xs:float, xs:double, xs:decimal - or xs:integer the type of the result is the same as the type of $arg. If the type of - $arg is a type derived from one of the numeric types, the result is an instance of the - base numeric type.
- - For xs:float and xs:double arguments, if the argument is positive zero or negative zero, - then positive zero is returned. If the argument is positive or negative infinity, - positive infinity is returned.
- - For detailed type semantics, see Section 7.2.3 The fn:abs, fn:ceiling, fn:floor, - fn:round, and fn:round-half-to-even functions.
-
- Arguments: - - - - - - - - - -
TypeDescription
numeric?$arg
- Return type: numeric?

- - Examples: - - - - - - - - - - - - - -
QueryResult
abs(-2)2
abs(2137)2137

- W3C Documentation reference -
- - fn:ceiling() -
- Returns the smallest (closest to negative infinity) number with no fractional part that - is not less than the value of $arg. If type of $arg is one of the four numeric types - xs:float, xs:double, xs:decimal or xs:integer the type of the result is the same as the - type of $arg. If the type of $arg is a type derived from one of the numeric types, the - result is an instance of the base numeric type.
- - For xs:float and xs:double arguments, if the argument is positive zero, then positive - zero is returned. If the argument is negative zero, then negative zero is returned. If - the argument is less than zero and greater than -1, negative zero is returned.
-
- Arguments: - - - - - - - - - -
TypeDescription
numeric?$arg
- Return type: numeric?

- - Examples: - - - - - - - - - - - - - - - - - -
QueryResult
ceiling(10.5)11
ceiling(-10.5)-10
ceiling(10.1)11

- W3C Documentation reference -
- - fn:floor() -
- Returns the largest (closest to positive infinity) number with no fractional part that - is not greater than the value of $arg. If type of $arg is one of the four numeric types - xs:float, xs:double, xs:decimal or xs:integer the type of the result is the same as the - type of $arg. If the type of $arg is a type derived from one of the numeric types, the - result is an instance of the base numeric type.
- - For float and double arguments, if the argument is positive zero, then positive zero is - returned. If the argument is negative zero, then negative zero is returned.
-
- Arguments: - - - - - - - - - -
TypeDescription
numeric?$arg
- Return type: numeric?

- - Examples: - - - - - - - - - - - - - - - - - -
QueryResult
floor(10.5)10
floor(-10.5)-11
floor(10.8)10

- W3C Documentation reference -
- - fn:round() -
- Returns the number with no fractional part that is closest to the argument. If there are - two such numbers, then the one that is closest to positive infinity is returned. If type - of $arg is one of the four numeric types xs:float, xs:double, xs:decimal or xs:integer - the type of the result is the same as the type of $arg. If the type of $arg is a type - derived from one of the numeric types, the result is an instance of the base numeric - type.
- - For xs:float and xs:double arguments, if the argument is positive infinity, then - positive infinity is returned. If the argument is negative infinity, then negative - infinity is returned. If the argument is positive zero, then positive zero is returned. - If the argument is negative zero, then negative zero is returned. If the argument is - less than zero, but greater than or equal to -0.5, then negative zero is returned. In - the cases where positive zero or negative zero is returned, negative zero or positive - zero may be returned as [XML Schema Part 2: Datatypes Second Edition] does not - distinguish between the values positive zero and negative zero.
- - For the last two cases, note that the result is not the same as fn:floor(x+0.5).
-
- Arguments: - - - - - - - - - -
TypeDescription
numeric?$arg
- Return type: numeric?

- - Examples: - - - - - - - - - - - - - - - - - -
QueryResult
round(10.5)11
round(10.4999)10
round(-10.5)-10

- W3C Documentation reference -
- - fn:round-half-to-even() -
- The value returned is the nearest (that is, numerically closest) value to $arg that is a - multiple of ten to the power of minus $precision. If two such values are equally near - (e.g. if the fractional part in $arg is exactly .500...), the function returns the one - whose least significant digit is even.
- - If the type of $arg is one of the four numeric types xs:float, xs:double, xs:decimal or - xs:integer the type of the result is the same as the type of $arg. If the type of $arg - is a type derived from one of the numeric types, the result is an instance of the base - numeric type.
- - The first signature of this function produces the same result as the second signature - with $precision=0.
- - For arguments of type xs:float and xs:double, if the argument is NaN, positive or - negative zero, or positive or negative infinity, then the result is the same as the - argument. In all other cases, the argument is cast to xs:decimal, the function is - applied to this xs:decimal value, and the resulting xs:decimal is cast back to xs:float - or xs:double as appropriate to form the function result. If the resulting xs:decimal - value is zero, then positive or negative zero is returned according to the sign of the - original argument.
- - Note that the process of casting to xs:decimal may result in an error - [err:FOCA0001].
- - If $arg is of type xs:float or xs:double, rounding occurs on the value of the mantissa - computed with exponent = 0.
-
- Arguments: - - - - - - - - - - - - - -
TypeDescription
numeric?$arg
numeric?$precision (Optional)
- Return type: numeric?

- - Examples: - - - - - - - - - - - - - - - - - - - - - -
QueryResult
round-half-to-even(0.5)0
round-half-to-even(1.5)2
round-half-to-even(2.5)2
round-half-to-even(2.6)3

- W3C Documentation reference -
- -
-
-
- - - -
- - fn:data() -
- fn:data takes a sequence of items and returns a sequence of atomic values.
- - The result of fn:data is the sequence of atomic values produced by applying the - following rules to each item in $arg:
-
    -
  • If the item is an atomic value, it is returned.
  • -
  • - If the item is a node: -
      -
    • If the node does not have a typed value an error is raised - [err:FOTY0012].
    • -
    • Otherwise, fn:data() returns the typed value of the node as defined by - the accessor function dm:typed-value in Section 5.15 typed-value - AccessorDM.
    • -
    -
  • -
-
- Arguments: - - - - - - - - - -
TypeDescription
item*Items to convert.
- Return type: xs:anyAtomicType*

- Examples: - - - - - - - - - -
QueryResult
data(/l:library/l:readerList/p:person[1])7321
Adam
Choke

- - W3C Documentation reference -
- - fn:index-of() -
- Returns the root of the tree to which $arg belongs. This will usually, but not - necessarily, be a document node.
- - If $arg is the empty sequence, the empty sequence is returned.
- - If $arg is a document node, $arg is returned.
- - If the function is called without an argument, the context item (.) is used as the - default argument. The behavior of the function if the argument is omitted is exactly the - same as if the context item had been passed as the argument.
- - The following errors may be raised: if the context item is undefined [err:XPDY0002]; if - the context item is not a node [err:XPTY0004].

- - Arguments: - - - - - - - - - - - - - - - - - -
TypeDescription
xs:anyAtomicType$seqParam
xs:anyAtomicType$srchParam
xs:string$collation (Optional)
- Return type: xs:integer*

- Examples: - - - - - - - - - - - - - - - - - -
QueryResult
index-of((10, 20, 30, 40), 35)()
index-of((10, 20, 30, 30, 20, 10), 20)(2, 5)
index-of(("a", "sport", "and", "a", "pastime"), "a")(1, 4)

- - W3C Documentation reference -
- - - fn:empty() -
- If the value of $arg is the empty sequence, the function returns true; otherwise, the - function returns false.

- - Arguments: - - - - - - - - - -
TypeDescription
item()*$arg
- Return type: xs:boolean

- Examples: - - - - - - - - - -
QueryResult
empty(fn:remove(("hello", "world"), 1))false

- - W3C Documentation reference -
- - - fn:exists() -
- If the value of $arg is not the empty sequence, the function returns true; otherwise, - the function returns false.

- - Arguments: - - - - - - - - - -
TypeDescription
item()*$arg
- Return type: xs:boolean

- Examples: - - - - - - - - - -
QueryResult
exists(fn:remove(("hello"), 1))true

- - W3C Documentation reference -
- - - fn:distinct-values() -
- Returns the sequence that results from removing from $arg all but one of a set of values - that are eq to one other. Values of type xs:untypedAtomic are compared as if they were - of type xs:string. Values that cannot be compared, i.e. the eq operator is not defined - for their types, are considered to be distinct. The order in which the sequence of - values is returned is ·implementation dependent·.

- - Arguments: - - - - - - - - - - - - - -
TypeDescription
xs:anyAtomicType*$arg
xs:string$collation (Optional)
- Return type: xs:anyAtomicType*

- Examples: - - - - - - - - - -
QueryResult
distinct-values((1, 2.0, 3, 2))(1, 3, 2.0)

- - W3C Documentation reference -
- - fn:insert-before() -
- Returns a new sequence constructed from the value of $target with the value of $inserts - inserted at the position specified by the value of $position. (The value of $target is - not affected by the sequence construction.)
- - If $target is the empty sequence, $inserts is returned. If $inserts is the empty - sequence, $target is returned.
- - The value returned by the function consists of all items of $target whose index is less - than $position, followed by all items of $inserts, followed by the remaining elements of - $target, in that sequence.
- - If $position is less than one (1), the first position, the effective value of $position - is one (1). If $position is greater than the number of items in $target, then the - effective value of $position is equal to the number of items in $target plus 1.

- - Arguments: - - - - - - - - - - - - - - - - - -
TypeDescription
item()*$target
xs:integer$position
item()*$inserts
- Return type: item()*

- Examples:
- let $x := ("a", "b", "c") - - - - - - - - - - - - - - - - - -
QueryResult
insert-before($x, 0, "z")("z", "a", "b", "c")
insert-before($x, 1, "z")("z", "a", "b", "c")
insert-before($x, 2, "z")("a", "z", "b", "c")

- - W3C Documentation reference -
- - fn:remove() -
- Returns a new sequence constructed from the value of $target with the item at the - position specified by the value of $position removed.
- - If $position is less than 1 or greater than the number of items in $target, $target is - returned. Otherwise, the value returned by the function consists of all items of $target - whose index is less than $position, followed by all items of $target whose index is - greater than $position. If $target is the empty sequence, the empty sequence is - returned.

- - Arguments: - - - - - - - - - - - - - -
TypeDescription
item()*$target
xs:integer$position
- Return type: item()*

- Examples:
- let $x := ("a", "b", "c") - - - - - - - - - - - - - - - - - -
QueryResult
remove($x, 0) ("a", "b", "c")
remove($x, 1)("b", "c")
remove($x, 6)("a", "b", "c")

- - W3C Documentation reference -
- - - fn:reverse() -
- Reverses the order of items in a sequence. If $arg is the empty sequence, the empty - sequence is returned.

- - Arguments: - - - - - - - - - -
TypeDescription
item()*$arg
- Return type: item()*

- Examples:
- let $x := ("a", "b", "c") - - - - - - - - - - - - - - - - - -
QueryResult
reverse($x)("c", "b", "a")
reverse(("hello")) ("hello")
reverse(())()

- - W3C Documentation reference -
- - - fn:subsequence() -
- Returns the contiguous sequence of items in the value of $sourceSeq beginning at the - position indicated by the value of $startingLoc and continuing for the number of items - indicated by the value of $length. - If $sourceSeq is the empty sequence, the empty sequence is returned.
- - If $startingLoc is zero or negative, the subsequence includes items from the beginning - of the $sourceSeq.
- - If $length is not specified, the subsequence includes items to the end of - $sourceSeq.
- - If $length is greater than the number of items in the value of $sourceSeq following - $startingLoc, the subsequence includes items to the end of $sourceSeq.
- - The first item of a sequence is located at position 1, not position 0.

- - Arguments: - - - - - - - - - - - - - - - - - -
TypeDescription
item()*$sourceSeq
xs:double$startingLoc (Optional)
xs:double$length (Optional)
- Return type: item()*

- Examples:
- let $seq = ($item1, $item2, $item3, $item4, ...) - - - - - - - - - - - - - -
QueryResult
subsequence($seq, 4)($item4, ...)
subsequence($seq, 3, 2)($item3, $item4)

- - W3C Documentation reference -
- - - fn:unordered() -
- Returns the items of $sourceSeq in an implementation dependent order.

- - Arguments: - - - - - - - - - -
TypeDescription
item()*$sourceSeq
- Return type: item()*

- - W3C Documentation reference -
- - fn:zero-or-one() -
- Returns $arg if it contains zero or one items. Otherwise, raises an error - [err:FORG0003].

- - Arguments: - - - - - - - - - -
TypeDescription
item()*$arg
- Return type: item()?

- Examples: - - - - - - - - - - - - - -
QueryResult
zero-or-one(("a"))a
zero-or-one(("a", "b"))A sequence of more than one item is not allowed as the first argument of - fn:zero-or-one() ("a", "b")

- - W3C Documentation reference -
- - - fn:one-or-more() -
- Returns $arg if it contains one or more items. Otherwise, raises an error - [err:FORG0004].

- - Arguments: - - - - - - - - - -
TypeDescription
item()*$arg
- Return type: item()?

- Examples: - - - - - - - - - - - - - -
QueryResult
one-or-more(("a"))a
one-or-more(("a", "b"))a
b

- - W3C Documentation reference -
- - - fn:exactly-one() -
- Returns $arg if it contains exactly one item. Otherwise, raises an error - [err:FORG0005].

- - Arguments: - - - - - - - - - -
TypeDescription
item()*$arg
- Return type: item()?

- Examples: - - - - - - - - - - - - - -
QueryResult
exactly-one(("a"))a
exactly-one(("a", "b"))A sequence of more than one item is not allowed as the first argument of - fn:exactly-one() ("a", "b")

- - W3C Documentation reference -
- - - fn:deep-equal() -
- This function assesses whether two sequences are deep-equal to each other. To be - deep-equal, they must contain items that are pairwise deep-equal; and for two items to - be deep-equal, they must either be atomic values that compare equal, or nodes of the - same kind, with the same name, whose children are deep-equal. This is defined in more - detail below. The $collation argument identifies a collation which is used at all levels - of recursion when strings are compared (but not when names are compared), according to - the rules in 7.3.1 Collations.
- - If the two sequences are both empty, the function returns true.
- - If the two sequences are of different lengths, the function returns false.
- - If the two sequences are of the same length, the function returns true if and only if - every item in the sequence $parameter1 is deep-equal to the item at the same position in - the sequence $parameter2. The rules for deciding whether two items are deep-equal - follow. - - For more in-depth description look into W3C Documentation

- - Arguments: - - - - - - - - - - - - - - - - - -
TypeDescription
item()*$parameter1
item()*$parameter2
xs:string$collation (Optional)
- Return type: xs:boolean

- Examples: - - - - - - - - - - - - - -
QueryResult
deep-equal(/l:library/p:person[0], /l:library/p:person[1])true
deep-equal(/l:library/p:person[0], /l:library)false

- - W3C Documentation reference -
- - - fn:id() -
- Returns the sequence of element nodes that have an ID value matching the value of one or - more of the IDREF values supplied in $arg. - -

Note:

- - This function does not have the desired effect when searching a document in which - elements of type xs:ID are used as identifiers. To preserve backwards compatibility, a - new function fn:element-with-id is therefore being introduced; it behaves the same way - as fn:id in the case of ID-valued attributes. -

- - Arguments: - - - - - - - - - - - - - - - - - -
TypeDescription
xs:string*$arg
node()*$node
xs:string$collation (Optional)
- Return type: element()*

- - W3C Documentation reference -
- - fn:idref() -
- Returns the sequence of element or attribute nodes with an IDREF value matching the - value of one or more of the ID values supplied in $arg.

- - Arguments: - - - - - - - - - - - - - - - - - -
TypeDescription
xs:string*$arg
node()*$node
xs:string$collation (Optional)
- Return type: node()*

- - W3C Documentation reference -
- - - fn:doc() -
- Returns the sequence of element or attribute nodes with an IDREF value matching the - value of one or more of the ID values supplied in $arg.

- - Arguments: - - - - - - - - - -
TypeDescription
xs:string$uri
- Return type: document-node()?

- Examples: - - - - - - - - - -
QueryResult
doc("test.xml")Contents of test.xml file returned as node

- - W3C Documentation reference -
- - - fn:doc-available() -
- Retrieves a document using a URI supplied as an xs:string, and returns the corresponding - document node.
- - If $uri is the empty sequence, the result is an empty sequence.
- - If $uri is not a valid URI, an error may be raised [err:FODC0005].
- - If $uri is a relative URI reference, it is resolved relative to the value of the base - URI property from the static context. The resulting absolute URI is promoted to an - xs:string.

- - Arguments: - - - - - - - - - -
TypeDescription
xs:string$uri
- Return type: xs:boolean

- Examples: - - - - - - - - - -
QueryResult
doc("test.xml")true (If document is available)

- - W3C Documentation reference -
- - - fn:collection() -
- This function takes an xs:string as argument and returns a sequence of nodes obtained by - interpreting $arg as an xs:anyURI and resolving it according to the mapping specified in - Available collections described in Section C.2 Dynamic Context ComponentsXP. If - Available collections provides a mapping from this string to a sequence of nodes, the - function returns that sequence. If Available collections maps the string to an empty - sequence, then the function returns an empty sequence. If Available collections provides - no mapping for the string, an error is raised [err:FODC0004].
- If $arg is not specified, the function returns the sequence of the nodes in the default - collection in the dynamic context. See Section C.2 Dynamic Context ComponentsXP. If the - value of the default collection is undefined an error is raised [err:FODC0002].

- - Arguments: - - - - - - - - - -
TypeDescription
xs:string?$arg (Optional)
- Return type: node()*

- Examples: - - - - - - - - - -
QueryResult
collection("")<empty sequence>

- - W3C Documentation reference -
- - fn:element-with-id() -
- Returns the sequence of element nodes that have an ID value matching the value of one or - more of the IDREF values supplied in $arg.

- - Arguments: - - - - - - - - - -
TypeDescription
xs:string?$arg (Optional)
- Return type: node()*

- - W3C Documentation reference -
- - fn:position() -
- Returns the context position from the dynamic context. (See Section C.2 Dynamic Context - ComponentsXP.) If the context item is undefined, an error is raised: - [err:XPDY0002]XP.

- - Return type: xs:integer

- Examples: - - - - - - - - - -
QueryResult
/l:library/l:readerList/position()1

- - W3C Documentation reference -
- - - fn:last() -
- Returns the context size from the dynamic context. (See Section C.2 Dynamic Context - ComponentsXP.) If the context item is undefined, an error is raised: - [err:XPDY0002]XP.

- - Return type: xs:integer

- Examples: - - - - - - - - - -
QueryResult
/l:library/l:readerList/p:person/last()2
2

- - W3C Documentation reference -
- -
-
-
- - - -
- - fn:years-from-duration() -
- Returns an xs:integer representing the years component in the value of $arg. The result - is obtained by casting $arg to an xs:yearMonthDuration (see 17.1.4 Casting to duration - types) and then computing the years component as described in 10.3.1.3 Canonical - representation.
- - The result may be negative.
- - If $arg is an xs:dayTimeDuration returns 0.
- - If $arg is the empty sequence, returns the empty sequence.

- Arguments and return type: - - - - - - - - - -
TypeDescription
xs:duration?$arg
- Return type: xs:integer?

- Examples:
- - - - - - - - - - - - - - - - - -
ExpressionResult
years-from-duration(xs:yearMonthDuration("P20Y15M"))21
years-from-duration(xs:yearMonthDuration("-P15M"))-1
years-from-duration(xs:dayTimeDuration("-P2DT15H"))0

- W3C Documentation reference -
- - fn:months-from-duration() -
- Returns an xs:integer representing the months component in the value of $arg. The result - is obtained by casting $arg to an xs:yearMonthDuration (see 17.1.4 Casting to duration - types) and then computing the months component as described in 10.3.1.3 Canonical - representation.
- - The result may be negative.
- - If $arg is an xs:dayTimeDuration returns 0.
- - If $arg is the empty sequence, returns the empty sequence.

- Arguments and return type: - - - - - - - - - -
TypeDescription
xs:duration?$arg
- Return type: xs:integer?

- Examples:
- - - - - - - - - - - - - - - - - -
ExpressionResult
months-from-duration(xs:yearMonthDuration("P20Y15M"))3
months-from-duration(xs:yearMonthDuration("-P20Y18M"))-6
months-from-duration(xs:dayTimeDuration("-P2DT15H0M0S"))0

- W3C Documentation reference -
- - fn:days-from-duration() -
- Returns an xs:integer representing the days component in the value of $arg. The result - is obtained by casting $arg to an xs:dayTimeDuration (see 17.1.4 Casting to duration - types) and then computing the days component as described in 10.3.2.3 Canonical - representation.
- - The result may be negative.
- - If $arg is an xs:yearMonthDuration returns 0.
- - If $arg is the empty sequence, returns the empty sequence.

- Arguments and return type: - - - - - - - - - -
TypeDescription
xs:duration?$arg
- Return type: xs:integer?

- Examples:
- - - - - - - - - - - - - - - - - -
ExpressionResult
days-from-duration(xs:dayTimeDuration("P3DT10H"))3
days-from-duration(xs:dayTimeDuration("P3DT55H"))5
days-from-duration(xs:yearMonthDuration("P3Y5M"))0

- W3C Documentation reference -
- - fn:hours-from-duration() -
- Returns an xs:integer representing the hours component in the value of $arg. The result - is obtained by casting $arg to an xs:dayTimeDuration (see 17.1.4 Casting to duration - types) and then computing the hours component as described in 10.3.2.3 Canonical - representation.
- - The result may be negative.
- - If $arg is an xs:yearMonthDuration returns 0.
- - If $arg is the empty sequence, returns the empty sequence.

- Arguments and return type: - - - - - - - - - -
TypeDescription
xs:duration?$arg
- Return type: xs:integer?

- Examples:
- - - - - - - - - - - - - - - - - -
ExpressionResult
hours-from-duration(xs:dayTimeDuration("P3DT10H"))10
hours-from-duration(xs:dayTimeDuration("P3DT12H32M12S"))12
hours-from-duration(xs:dayTimeDuration("PT123H"))0

- W3C Documentation reference -
- - - fn:minutes-from-duration() -
- Returns an xs:integer representing the minutes component in the value of $arg. The - result is obtained by casting $arg to an xs:dayTimeDuration (see 17.1.4 Casting to - duration types) and then computing the minutes component as described in 10.3.2.3 - Canonical representation. - - The result may be negative. - - If $arg is an xs:yearMonthDuration returns 0. - - If $arg is the empty sequence, returns the empty sequence.

- Arguments and return type: - - - - - - - - - -
TypeDescription
xs:duration?$arg
- Return type: xs:integer?

- Examples:
- - - - - - - - - - - - - -
ExpressionResult
minutes-from-duration(xs:dayTimeDuration("P3DT10H"))0
minutes-from-duration(xs:dayTimeDuration("-P5DT12H30M"))-30

- W3C Documentation reference -
- - - fn:seconds-from-duration() -
- Returns an xs:decimal representing the seconds component in the value of $arg. The - result is obtained by casting $arg to an xs:dayTimeDuration (see 17.1.4 Casting to - duration types) and then computing the seconds component as described in 10.3.2.3 - Canonical representation.
- - The result may be negative.
- - If $arg is an xs:yearMonthDuration returns 0.
- - If $arg is the empty sequence, returns the empty sequence.

- Arguments and return type: - - - - - - - - - -
TypeDescription
xs:duration?$arg
- Return type: xs:decimal?

- Examples:
- - - - - - - - - - - - - -
ExpressionResult
seconds-from-duration(xs:dayTimeDuration("P3DT10H12.5S"))12.5
seconds-from-duration(xs:dayTimeDuration("-PT256S"))-16.0

- W3C Documentation reference -
- - - fn:year-from-dateTime() -
- Returns an xs:integer representing the year component in the localized value of $arg. - The result may be negative.
- - If $arg is the empty sequence, returns the empty sequence.

- Arguments and return type: - - - - - - - - - -
TypeDescription
xs:dateTime?$arg
- Return type: xs:integer?

- Examples:
- - - - - - - - - - - - - - - - - -
ExpressionResult
year-from-dateTime(xs:dateTime("1999-05-31T13:20:00-05:00"))1999
year-from-dateTime(xs:dateTime("1999-12-31T19:20:00"))1999
year-from-dateTime(xs:dateTime("1999-12-31T24:00:00"))2000

- W3C Documentation reference -
- - - fn:month-from-dateTime() -
- Returns an xs:integer between 1 and 12, both inclusive, representing the month component - in the localized value of $arg.
- - If $arg is the empty sequence, returns the empty sequence.

- Arguments and return type: - - - - - - - - - -
TypeDescription
xs:dateTime?$arg
- Return type: xs:integer?

- Examples:
- - - - - - - - - - - - - - - - - -
ExpressionResult
month-from-dateTime(xs:dateTime("1999-05-31T13:20:00-05:00"))5
month-from-dateTime(xs:dateTime("1999-12-31T19:20:00"))12
month-from-dateTime(xs:dateTime("1999-12-31T24:00:00"))1

- W3C Documentation reference -
- - fn:day-from-dateTime() -
- Returns an xs:integer between 1 and 31, both inclusive, representing the day component - in the localized value of $arg.
- - If $arg is the empty sequence, returns the empty sequence.

- Arguments and return type: - - - - - - - - - -
TypeDescription
xs:dateTime?$arg
- Return type: xs:integer?

- Examples:
- - - - - - - - - - - - - - - - - -
ExpressionResult
day-from-dateTime(xs:dateTime("1999-05-31T13:20:00-05:00"))31
day-from-dateTime(xs:dateTime("1999-12-31T19:20:00"))31
day-from-dateTime(xs:dateTime("1999-12-31T24:00:00"))1

- W3C Documentation reference -
- - - fn:hours-from-dateTime() -
- Returns an xs:integer between 0 and 23, both inclusive, representing the hours component - in the localized value of $arg.
- - If $arg is the empty sequence, returns the empty sequence.

- Arguments and return type: - - - - - - - - - -
TypeDescription
xs:dateTime?$arg
- Return type: xs:integer?

- Examples:
- - - - - - - - - - - - - - - - - -
ExpressionResult
hours-from-dateTime(xs:dateTime("1999-05-31T13:20:00-05:00"))13
hours-from-dateTime(xs:dateTime("1999-12-31T19:20:00"))19
hours-from-dateTime(xs:dateTime("1999-12-31T24:00:00"))0

- W3C Documentation reference -
- - - fn:minutes-from-dateTime() -
- Returns an xs:integer value between 0 and 59, both inclusive, representing the minute - component in the localized value of $arg.
- - If $arg is the empty sequence, returns the empty sequence.

- Arguments and return type: - - - - - - - - - -
TypeDescription
xs:dateTime?$arg
- Return type: xs:integer?

- Examples:
- - - - - - - - - - - - - -
ExpressionResult
minutes-from-dateTime(xs:dateTime("1999-05-31T13:20:00-05:00"))20
minutes-from-dateTime(xs:dateTime("1999-05-31T13:30:00+05:30"))30

- W3C Documentation reference -
- - fn:seconds-from-dateTime() -
- Returns an xs:decimal value greater than or equal to zero and less than 60, representing - the seconds and fractional seconds in the localized value of $arg.
- - If $arg is the empty sequence, returns the empty sequence.

- Arguments and return type: - - - - - - - - - -
TypeDescription
xs:dateTime?$arg
- Return type: xs:decimal?

- Examples:
- - - - - - - - - -
ExpressionResult
seconds-from-dateTime(xs:dateTime("1999-05-31T13:20:00-05:00"))0

- W3C Documentation reference -
- - fn:timezone-from-dateTime() -
- Returns an xs:decimal value greater than or equal to zero and less than 60, representing - the seconds and fractional seconds in the localized value of $arg.
- - If $arg is the empty sequence, returns the empty sequence.

- Arguments and return type: - - - - - - - - - -
TypeDescription
xs:dateTime?$arg
- Return type: xs:dayTimeDuration?

- Examples:
- - - - - - - - - - - - - - - - - -
ExpressionResult
timezone-from-dateTime(xs:dateTime("1999-05-31T13:20:00-05:00"))-PT5H
timezone-from-dateTime(xs:dateTime("2000-06-12T13:20:00Z")) PT0S
timezone-from-dateTime(xs:dateTime("2004-08-27T00:00:00"))()

- W3C Documentation reference -
- - - fn:year-from-date() -
- Returns an xs:integer representing the year in the localized value of $arg. The value - may be negative.
- - If $arg is the empty sequence, returns the empty sequence.

- Arguments and return type: - - - - - - - - - -
TypeDescription
xs:date?$arg
- Return type: xs:integer?

- Examples:
- - - - - - - - - - - - - -
ExpressionResult
year-from-date(xs:date("1999-05-31"))1999
year-from-date(xs:date("2000-01-01+05:00"))2000

- W3C Documentation reference -
- - fn:month-from-date() -
- Returns an xs:integer between 1 and 12, both inclusive, representing the month component - in the localized value of $arg.
- - If $arg is the empty sequence, returns the empty sequence.

- Arguments and return type: - - - - - - - - - -
TypeDescription
xs:date?$arg
- Return type: xs:integer?

- Examples:
- - - - - - - - - - - - - -
ExpressionResult
month-from-date(xs:date("1999-05-31-05:00"))5
month-from-date(xs:date("2000-01-01+05:00"))1

- W3C Documentation reference -
- - fn:day-from-date() -
- Returns an xs:integer between 1 and 31, both inclusive, representing the day component - in the localized value of $arg.
- - If $arg is the empty sequence, returns the empty sequence.

- Arguments and return type: - - - - - - - - - -
TypeDescription
xs:date?$arg
- Return type: xs:integer?

- Examples:
- - - - - - - - - - - - - -
ExpressionResult
day-from-date(xs:date("1999-05-31-05:00"))31
day-from-date(xs:date("2000-01-01+05:00"))1

- W3C Documentation reference -
- - - fn:timezone-from-date() -
- Returns the timezone component of $arg if any. If $arg has a timezone component, then - the result is an xs:dayTimeDuration that indicates deviation from UTC; its value may - range from +14:00 to -14:00 hours, both inclusive. Otherwise, the result is the empty - sequence.
- - If $arg is the empty sequence, returns the empty sequence.

- Arguments and return type: - - - - - - - - - -
TypeDescription
xs:date?$arg
- Return type: xs:dayTimeDuration?

- Examples:
- - - - - - - - - - - - - -
ExpressionResult
timezone-from-date(xs:date("1999-05-31-05:00"))-PT5H
timezone-from-date(xs:date("2000-06-12Z"))PT0S

- W3C Documentation reference -
- - - fn:hours-from-time() -
- Returns an xs:integer between 0 and 23, both inclusive, representing the value of the - hours component in the localized value of $arg.
- - If $arg is the empty sequence, returns the empty sequence.

- Arguments and return type: - - - - - - - - - -
TypeDescription
xs:time?$arg
- Return type: xs:integer?

- Examples:
- - - - - - - - - - - - - -
ExpressionResult
hours-from-time(xs:time("11:23:00"))11
hours-from-time(xs:time("24:00:00"))0

- W3C Documentation reference -
- - - fn:minutes-from-time() -
- Returns an xs:integer between 0 and 23, both inclusive, representing the value of the - hours component in the localized value of $arg.
- - If $arg is the empty sequence, returns the empty sequence.

- Arguments and return type: - - - - - - - - - -
TypeDescription
xs:time?$arg
- Return type: xs:integer?

- Examples:
- - - - - - - - - - - - - -
ExpressionResult
hours-from-time(xs:time("11:23:00"))11
hours-from-time(xs:time("24:00:00"))0

- W3C Documentation reference -
- - fn:seconds-from-time() -
- Returns an xs:decimal value greater than or equal to zero and less than 60, representing - the seconds and fractional seconds in the localized value of $arg.
- - If $arg is the empty sequence, returns the empty sequence.

- Arguments and return type: - - - - - - - - - -
TypeDescription
xs:time?$arg
- Return type: xs:decimal?

- Examples:
- - - - - - - - - - -
ExpressionResult
seconds-from-time(xs:time("13:20:10.5"))10.5

- W3C Documentation reference -
- - - fn:timezone-from-time() -
- Returns an xs:decimal value greater than or equal to zero and less than 60, representing - the seconds and fractional seconds in the localized value of $arg.
- - If $arg is the empty sequence, returns the empty sequence.

- Arguments and return type: - - - - - - - - - -
TypeDescription
xs:time?$arg
- Return type: xs:dayTimeDuration?

- Examples:
- - - - - - - - - - - - - - -
ExpressionResult
timezone-from-time(xs:time("13:20:00-05:00"))-PT5H
timezone-from-time(xs:time("13:20:00"))()

- W3C Documentation reference -
- - - fn:adjust-date-to-timezone() -
- Adjusts an xs:date value to a specific timezone, or to no timezone at all. If $timezone - is the empty sequence, returns an xs:date without a timezone. Otherwise, returns an - xs:date with a timezone. For purposes of timezone adjustment, an xs:date is treated as - an xs:dateTime with time 00:00:00.
- - If $timezone is not specified, then $timezone is the value of the implicit timezone in - the dynamic context.
- - If $arg is the empty sequence, then the result is the empty sequence.
- - A dynamic error is raised [err:FODT0003] if $timezone is less than -PT14H or greater - than PT14H or if does not contain an integral number of minutes.
- - If $arg does not have a timezone component and $timezone is the empty sequence, then the - result is the value of $arg.
- - If $arg does not have a timezone component and $timezone is not the empty sequence, then - the result is $arg with $timezone as the timezone component.
- - If $arg has a timezone component and $timezone is the empty sequence, then the result is - the localized value of $arg without its timezone component.
- - If $arg has a timezone component and $timezone is not the empty sequence, then: -
    -
  • Let $srcdt be an xs:dateTime value, with 00:00:00 for the time component and - date and timezone components that are the same as the date and timezone - components of $arg.
  • -
  • Let $r be the result of evaluating fn:adjust-dateTime-to-timezone($srcdt, - $timezone)
  • -
  • The result of this function will be a date value that has date and timezone - components that are the same as the date and timezone components of $r.
  • -
-

- - Arguments and return type: - - - - - - - - - - - - - -
TypeDescription
xs:date?$arg
xs:dayTimeDuration?$timezone
- Return type: xs:date?

- Examples:
- - - - - - - - - - - - - - -
ExpressionResult
adjust-date-to-timezone(xs:date("2002-03-07"))2002-03-07-05:00
adjust-date-to-timezone(xs:date("2002-03-07"), xs:dayTimeDuration("-PT10H")) - 2002-03-07-10:00

- W3C Documentation reference -
- - fn:adjust-time-to-timezone() -
- Adjusts an xs:time value to a specific timezone, or to no timezone at all. If $timezone - is the empty sequence, returns an xs:time without a timezone. Otherwise, returns an - xs:time with a timezone.
- - If $timezone is not specified, then $timezone is the value of the implicit timezone in - the dynamic context.
- - If $arg is the empty sequence, then the result is the empty sequence.
- - A dynamic error is raised [err:FODT0003] if $timezone is less than -PT14H or greater - than PT14H or if does not contain an integral number of minutes.
- - If $arg does not have a timezone component and $timezone is the empty sequence, then the - result is $arg.
- - If $arg does not have a timezone component and $timezone is not the empty sequence, then - the result is $arg with $timezone as the timezone component.
- - If $arg has a timezone component and $timezone is the empty sequence, then the result is - the localized value of $arg without its timezone component.
- - If $arg has a timezone component and $timezone is not the empty sequence, then: -
    -
  • Let $srcdt be an xs:dateTime value, with an arbitrary date for the date - component and time and timezone components that are the same as the time and - timezone components of $arg.
  • -
  • Let $r be the result of evaluating fn:adjust-dateTime-to-timezone($srcdt, - $timezone)
  • -
  • The result of this function will be a time value that has time and timezone - components that are the same as the time and timezone components of $r.
  • -
-

- - Arguments and return type: - - - - - - - - - - - - - -
TypeDescription
xs:time?$arg
xs:dayTimeDuration?$timezone
- Return type: xs:time?

- Examples:
- - - - - - - - - - - - - - -
ExpressionResult
adjust-time-to-timezone(xs:time("10:00:00"))10:00:00-05:00
adjust-time-to-timezone(xs:time("10:00:00"), xs:dayTimeDuration("-PT10H")) - 10:00:00-10:00

- W3C Documentation reference -
- - fn:current-dateTime() -
- Returns the current dateTime (with timezone) from the dynamic context. (See Section C.2 - Dynamic Context ComponentsXP.) This is an xs:dateTime that is current at some time - during the evaluation of a query or transformation in which fn:current-dateTime() is - executed. This function is ·stable·. The precise instant during the query or - transformation represented by the value of fn:current-dateTime() is ·implementation - dependent·.

- - Return type: xs:dateTime

- Examples:
- - - - - - - - - - -
ExpressionResult
current-dateTime()xs:dateTime corresponding to the current date and time

- W3C Documentation reference -
- - fn:current-date() -
- Returns xs:date(fn:current-dateTime()). This is an xs:date (with timezone) that is - current at some time during the evaluation of a query or transformation in which - fn:current-date() is executed. This function is ·stable·. The precise instant during the - query or transformation represented by the value of fn:current-date() is ·implementation - dependent·.

- - Return type: xs:date

- Examples:
- - - - - - - - - - -
ExpressionResult
current-date()xs:date corresponding to the current date

- W3C Documentation reference -
- - - fn:current-time() -
- Returns xs:date(fn:current-dateTime()). This is an xs:date (with timezone) that is - current at some time during the evaluation of a query or transformation in which - fn:current-date() is executed. This function is ·stable·. The precise instant during the - query or transformation represented by the value of fn:current-date() is ·implementation - dependent·.

- - Return type: xs:time

- Examples:
- - - - - - - - - - -
ExpressionResult
current-time()xs:date corresponding to the current time

- W3C Documentation reference -
- - fn:implicit-timezone() -
- Returns the value of the implicit timezone property from the dynamic context. Components - of the dynamic context are discussed in Section C.2 Dynamic Context - ComponentsXP.

- - Return type: xs:string

- Examples:
- - - - - - - - - - -
ExpressionResult
implicit-timezone()PT0S

- W3C Documentation reference -
-
-
-
- - - -
- - fn:error() -
- The fn:error function is a general function that may be invoked as above but may also be - invoked from [XQuery 1.0: An XML Query Language] or [XML Path Language (XPath) 2.0] - applications with, for example, an xs:QName argument. -
- W3C Documentation reference -
- - - fn:trace() -
- Provides an execution trace intended to be used in debugging queries.
- - The input $value is returned, unchanged, as the result of the function. In addition, the - inputs $value, converted to an xs:string, and $label may be directed to a trace data - set. The destination of the trace output is ·implementation-defined·. The format of the - trace output is ·implementation dependent·. The ordering of output from invocations of - the fn:trace() function is ·implementation dependent·.
- - Arguments: - - - - - - - - - - - - - -
TypeDescription
item*$value
xs:string$label
- Return type: item

-
- W3C Documentation reference -
- - -
-
-
- - - -
- - fn:resolve-uri() -
- This function enables a relative URI reference to be resolved against an absolute URI. - - The first form of this function resolves $relative against the value of the base-uri - property from the static context. If the base-uri property is not initialized in the - static context an error is raised [err:FONS0005].
- - If $relative is a relative URI reference, it is resolved against $base, or against the - base-uri property from the static context, using an algorithm such as those described in - [RFC 2396] or [RFC 3986], and the resulting absolute URI reference is returned.
- If $relative is an absolute URI reference, it is returned unchanged.
- - If $relative is the empty sequence, the empty sequence is returned.
- - If $relative is not a valid URI according to the rules of the xs:anyURI data type, or if - it is not a suitable relative reference to use as input to the chosen resolution - algorithm, then an error is raised [err:FORG0002].
- - If $base is not a valid URI according to the rules of the xs:anyURI data type, if it is - not a suitable URI to use as input to the chosen resolution algorithm (for example, if - it is a relative URI reference, if it is a non-hierarchic URI, or if it contains a - fragment identifier), then an error is raised [err:FORG0002].
- - If the chosen resolution algorithm fails for any other reason then an error is raised - [err:FORG0009].
- -

Note:

- - Resolving a URI does not dereference it. This is merely a syntactic operation on two - character strings. -

- Arguments and return type: - - - - - - - - - - - - - -
TypeDescription
xs:string?$relative
xs:string$base
- Return type: xs:anyURI?

-
- W3C Documentation reference -
- - fn:resolve-QName() -
- Returns an xs:QName value (that is, an expanded-QName) by taking an xs:string that has - the lexical form of an xs:QName (a string in the form "prefix:local-name" or - "local-name") and resolving it using the in-scope namespaces for a given element.
- - If $qname does not have the correct lexical form for xs:QName an error is raised - [err:FOCA0002].
- - If $qname is the empty sequence, returns the empty sequence.
- - More specifically, the function searches the namespace bindings of $element for a - binding whose name matches the prefix of $qname, or the zero-length string if it has no - prefix, and constructs an expanded-QName whose local name is taken from the supplied - $qname, and whose namespace URI is taken from the string value of the namespace - binding.
- - If the $qname has a prefix and if there is no namespace binding for $element that - matches this prefix, then an error is raised [err:FONS0004].
- - If the $qname has no prefix, and there is no namespace binding for $element - corresponding to the default (unnamed) namespace, then the resulting expanded-QName has - no namespace part.
- - The prefix (or absence of a prefix) in the supplied $qname argument is retained in the - returned expanded-QName, as discussed in Section 2.1 TerminologyDM.

- - Arguments: - - - - - - - - - - - - - -
TypeDescription
xs:string?$qname
element$element
- Return type: xs:QName?

- Examples: - - - - - - - - - - - - - -
QueryResult
resolve-QName("hello", /l:library/l:libraryName)hello
resolve-QName("l:libraryID", /l:library/l:libraryName)l:libraryID

- - W3C Documentation reference -
- - fn:QName() -
- Returns an xs:QName with the namespace URI given in $paramURI. If $paramURI is the - zero-length string or the empty sequence, it represents "no namespace"; in this case, if - the value of $paramQName contains a colon (:), an error is raised [err:FOCA0002]. The - prefix (or absence of a prefix) in $paramQName is retained in the returned xs:QName - value. The local name in the result is taken from the local part of $paramQName.
- - If $paramQName does not have the correct lexical form for xs:QName an error is raised - [err:FOCA0002].
- - Note that unlike xs:QName this function does not require a xs:string literal as the - argument.

- Arguments: - - - - - - - - - - - - - -
TypeDescription
xs:string?$paramURI
xs:string$paramQName
- Return type: xs:QName

- Examples: - - - - - - - - - -
QueryResult
QName("http://www.release11.com/library", "l:libraryName")l:libraryName
- For more extensive examples see W3C documentation below.
- - W3C Documentation reference -
- - fn:prefix-from-QName() -
- Returns an xs:NCName representing the prefix of $arg. The empty sequence is returned if - $arg is the empty sequence or if the value of $arg contains no prefix.

- - Arguments: - - - - - - - - - -
TypeDescription
xs:QName?$arg
- Return type: xs:NCName?

- Examples: - - - - - - - - - -
QueryResult
prefix-from-QName(resolve-QName("l:library", /l:library))l
- - W3C Documentation reference -
- - fn:local-name-from-QName() -
- Returns an xs:NCName representing the local part of $arg. If $arg is the empty sequence, - returns the empty sequence.

- - Arguments: - - - - - - - - - -
TypeDescription
xs:QName?$arg
- Return type: xs:NCName?

- Examples: - - - - - - - - - -
QueryResult
prefix-from-QName(resolve-QName("l:library", /l:library))library
- - W3C Documentation reference -
- - - fn:prefix-from-QName() -
- Returns an xs:NCName representing the prefix of $arg. The empty sequence is returned if - $arg is the empty sequence or if the value of $arg contains no prefix.

- - Arguments: - - - - - - - - - -
TypeDescription
xs:QName?$arg
- Return type: xs:NCName?

- Examples: - - - - - - - - - -
QueryResult
prefix-from-QName(resolve-QName("l:library", /l:library))l
- - W3C Documentation reference -
- - fn:namespace-uri-from-QName() -
- Returns the namespace URI for $arg as an xs:anyURI. If $arg is the empty sequence, the - empty sequence is returned. If $arg is in no namespace, the zero-length xs:anyURI is - returned.

- - Arguments: - - - - - - - - - -
TypeDescription
xs:QName?$arg
- Return type: xs:anyURI?

- Examples: - - - - - - - - - -
QueryResult
prefix-from-QName(resolve-QName("l:library", /l:library))http://www.release11.com/library
- - W3C Documentation reference -
- - - fn:namespace-uri-for-prefix() -
- Returns the namespace URI of one of the in-scope namespaces for $element, identified by - its namespace prefix.
- - If $element has an in-scope namespace whose namespace prefix is equal to $prefix, it - returns the namespace URI of that namespace. If $prefix is the zero-length string or the - empty sequence, it returns the namespace URI of the default (unnamed) namespace. - Otherwise, it returns the empty sequence.
- - Prefixes are equal only if their Unicode code points match exactly.

- - Arguments: - - - - - - - - - - - - - -
TypeDescription
xs:string?$prefix
element()$element
- Return type: xs:anyURI?

- Examples: - - - - - - - - - -
QueryResult
namespace-uri-for-prefix("l", /l:library)http://www.release11.com/library
- - W3C Documentation reference -
- - - fn:in-scope-prefixes() -
- Returns the prefixes of the in-scope namespaces for $element. For namespaces that have a - prefix, it returns the prefix as an xs:NCName. For the default namespace, which has no - prefix, it returns the zero-length string.

- - Arguments: - - - - - - - - - -
TypeDescription
element()$element
- Return type: xs:string*

- Examples: - - - - - - - - - -
QueryResult
in-scope-prefixes(/l:library)b
l
p
xsi
xml
- - W3C Documentation reference -
- - fn:static-base-uri() -
- Returns the value of the Base URI property from the static context. If the Base URI - property is undefined, the empty sequence is returned. Components of the static context - are discussed in Section C.1 Static Context ComponentsXP.

- - Return type: xs:anyURI?

- Examples:
- - - - - - - - - - -
ExpressionResult
static-base-uri()()<empty sequence>

- W3C Documentation reference -
- -
-
-
- -
- - - -
- - fn:outermost(node()*) -
- Returns the outermost nodes of the input sequence that are not ancestors of any other - node in the input sequence
- Arguments and return type: - - - - - - - - - -
TypeDescription
node()*Sequence of nodes
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:outermost(//chapter)Sequence of outermost chapter nodes
fn:outermost(/book//*)Sequence of outermost nodes in the book

- W3C Documentation reference: outermost -
- - - fn:innermost(node()*) -
- Returns the innermost nodes of the input sequence that are not descendants of any other - node in the input sequence
- Arguments and return type: - - - - - - - - - -
TypeDescription
node()*Sequence of nodes
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:innermost(//chapter)Sequence of innermost chapter nodes
fn:innermost(/book//*)Sequence of innermost nodes in the book

- W3C Documentation reference: innermost -
- - - fn:has-children(node()?) -
- Returns true if the specified node has one or more children, otherwise returns false
- Arguments and return type: - - - - - - - - - -
TypeDescription
node()?Optional node
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:has-children(/book/chapter[1])true
fn:has-children(/book/chapter[1]/title)false

- W3C Documentation reference: has-children -
- - - fn:path(node()?) -
- Returns a string that represents the path of the specified node within the XML - document
- Arguments and return type: - - - - - - - - - -
TypeDescription
node()?Optional node
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:path(/book/chapter[1])/book/chapter[1]
fn:path(/book/chapter[2]/title)/book/chapter[2]/title

- W3C Documentation reference: path -
- - - fn:root(node()?) -
- Returns the root node of the tree that contains the specified node
- Arguments and return type: - - - - - - - - - -
TypeDescription
node()?Optional node
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:root(/book/chapter)<book> element (root node)
fn:root(/book/chapter[1])<book> element (root node)

- W3C Documentation reference: root -
- - - fn:namespace-uri(node()?) -
- Returns the namespace URI of the specified node
- Arguments and return type: - - - - - - - - - -
TypeDescription
node()?Optional node
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:namespace-uri(/example:root)"http://www.example.com/ns"
fn:namespace-uri(/a/b)""

- W3C Documentation reference: namespace-uri -
- - - fn:local-name(node()?) -
- Returns the local part of the name of the specified node
- Arguments and return type: - - - - - - - - - -
TypeDescription
node()?Optional node
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:local-name(/a/b)"b"
fn:local-name(/example:root)"root"

- W3C Documentation reference: local-name -
- - fn:name(node()?) -
- Returns the expanded QName of the specified node as a string
- Arguments and return type: - - - - - - - - - -
TypeDescription
node()?Optional node
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:name(/a/b)"b"
fn:name(/example:root)"example:root"

- W3C Documentation reference: name -
- - - - fn:document-uri(node?) -
- Returns the document URI of the given node or the context item
- Arguments and return type: - - - - - - - - - -
TypeDescription
node?Returns the document URI of the specified node or the context item (if no - argument is provided)
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:document-uri(/library/fiction:book[1])http://example.com/library.xml (assuming the document URI of the first - fiction:book element is "http://example.com/library.xml")
fn:document-uri(/library)http://example.com/library.xml (assuming the document URI of the library - element is "http://example.com/library.xml")

- W3C Documentation reference: Document-URI -
- - - fn:base-uri(node?) -
- Returns the base URI of the node or the context item
- Arguments and return type: - - - - - - - - - -
TypeDescription
node?Returns the base URI of the specified node or the context item (if no - argument is provided)
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:base-uri(/library/fiction:book[1])http://example.com/library.xml (assuming the base URI of the first - fiction:book element is "http://example.com/library.xml")
fn:base-uri(/library)http://example.com/library.xml (assuming the base URI of the library element - is "http://example.com/library.xml")

- W3C Documentation reference: Base-URI -
- - - fn:node-name(node?) -
- - Returns the name of a node as an xs:QName
- Arguments and return type: - - - - - - - - - -
TypeDescription
node?Returns the name of the specified node or the context item if the argument - is omitted
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:node-name(/library/*[1])fiction:book
fn:node-name(/library/fiction:book[1]/title)title

- W3C Documentation reference: Node-Name -
- -
-
-
- - - -
- - fn:not(item()*) -
- Returns the negation of the effective boolean value of the argument
- Arguments and return type: - - - - - - - - - -
TypeDescription
item()*Argument whose effective boolean value is to be negated
- Examples:
- - - - - - - - - - - - - - - - - - - - - -
ExpressionResult
fn:not(1)false
fn:not(0)true
fn:not('')true
fn:not('true')false

- W3C Documentation reference: Not -
- - - fn:false() -
- Returns the boolean value false
- Arguments and return type: - - - - - - - - - -
TypeDescription
NoneReturns the boolean value false
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:false()false
//item[fn:false()]Returns an empty node-set

- W3C Documentation reference: False -
- - - fn:true() -
- Returns the boolean value true
- Arguments and return type: - - - - - - - - - -
TypeDescription
NoneReturns the boolean value true
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:true()true
//item[fn:true()]Returns all <item> elements

- W3C Documentation reference: True -
- - - fn:boolean(item()*) -
- Converts the argument to a boolean value
- Arguments and return type: - - - - - - - - - -
TypeDescription
item()*Argument to be converted to a boolean value
- Examples:
- - - - - - - - - - - - - - - - - - - - - -
ExpressionResult
fn:boolean(1)true
fn:boolean(0)false
fn:boolean('')false
fn:boolean('true')true

- W3C Documentation reference: Boolean -
- - -
-
-
- - - -
- - fn:unparsed-text-available(xs:string?, xs:string?) -
- Determines if an unparsed text resource identified by a URI can be read using the given - encoding
- Arguments and return type: - - - - - - - - - - - - - - - - - -
TypeDescription
xs:string?The URI identifying the unparsed text resource
xs:string?The encoding to be used for reading the resource
xs:booleanIndicates if the resource can be read using the given encoding
- Examples:
- - - - - - - - - -
ExpressionResult
fn:unparsed-text-available("http://www.example.com/text.txt", "UTF-8")Returns true if the text resource identified by the specified URI can be - read using the specified encoding, otherwise false

- W3C Documentation reference: unparsed-text-available -
- - - fn:unparsed-text-lines(xs:string?, xs:string?) -
- Returns the contents of an unparsed text resource identified by a URI, split into - lines
- Arguments and return type: - - - - - - - - - - - - - - - - - -
TypeDescription
xs:string?The URI identifying the unparsed text resource
xs:string?The encoding to be used for reading the resource
xs:string*The lines of the unparsed text resource
- Examples:
- - - - - - - - - -
ExpressionResult
fn:unparsed-text-lines("http://www.example.com/text.txt", "UTF-8")Returns the lines of the text resource identified by the specified URI, - using the specified encoding

- W3C Documentation reference: unparsed-text-lines -
- - - fn:unparsed-text(xs:string?, xs:string?) -
- Returns the contents of an unparsed text resource identified by a URI
- Arguments and return type: - - - - - - - - - - - - - - - - - -
TypeDescription
xs:string?The URI identifying the unparsed text resource
xs:string?The encoding to be used for reading the resource
xs:string?The contents of the unparsed text resource
- Examples:
- - - - - - - - - -
ExpressionResult
fn:unparsed-text("http://www.example.com/text.txt", "UTF-8")Returns the contents of the text resource identified by the specified URI, - using the specified encoding

- W3C Documentation reference: unparsed-text -
- - - fn:escape-html-uri(xs:string?) -
- Escapes special characters in a URI to be used in HTML
- Arguments and return type: - - - - - - - - - -
TypeDescription
xs:string?URI to be escaped for use in HTML
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:escape-html-uri('https://example.com/search?q=test&lang=en')https://example.com/search?q=test&lang=en
fn:escape-html-uri('https://example.com/page?id=1§ion=2')https://example.com/page?id=1&section=2

- W3C Documentation reference: Escape-HTML-URI -
- - - fn:iri-to-uri(xs:string?) -
- Converts an IRI to a URI by escaping non-ASCII characters
- Arguments and return type: - - - - - - - - - -
TypeDescription
xs:string?IRI to be converted to a URI
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:iri-to-uri('https://example.com/ümlaut')https://example.com/%C3%BCmlaut
fn:iri-to-uri('https://example.com/日本語')https://example.com/%E6%97%A5%E6%9C%AC%E8%AA%9E

- W3C Documentation reference: IRI-to-URI -
- - - fn:encode-for-uri(xs:string?) -
- Encodes a string for use in a URI by escaping special characters
- Arguments and return type: - - - - - - - - - -
TypeDescription
xs:string?String to be encoded for use in a URI
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:encode-for-uri('hello world')hello%20world
fn:encode-for-uri('example?query=value¶m=value2')example%3Fquery%3Dvalue%26param%3Dvalue2

- W3C Documentation reference: Encode-for-URI -
- - - fn:resolve-uri(xs:string?, xs:string?) -
- Resolves a relative URI using a base URI
- Arguments and return type: - - - - - - - - - - - - - -
TypeDescription
xs:string?Relative URI to resolve
xs:string?Base URI to use for resolving (optional)
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:resolve-uri('example.html', 'https://www.example.com/folder/')https://www.example.com/folder/example.html
fn:resolve-uri('../images/pic.jpg', - 'https://www.example.com/folder/page.html')https://www.example.com/images/pic.jpg

- W3C Documentation reference: Resolve-URI -
- - fn:analyze-string(xs:string?, xs:string, xs:string?) -
- Analyzes the input string and returns an XML fragment containing match and non-match - elements
- Arguments and return type: - - - - - - - - - - - - - - - - - -
TypeDescription
xs:string?Input string to analyze
xs:stringRegular expression pattern to match
xs:string?Flags to control the regular expression matching (optional)
- Examples:
- - - - - - - - - -
ExpressionResult
fn:analyze-string('red,green,blue', ',') - <fn:analyze-string-result><fn:non-match>red</fn:non-match><fn:match>, - <fn:non-match>green</fn:non-match><fn:match>, - <fn:non-match>blue</fn:non-match></fn:analyze-string-result> -

- W3C Documentation reference: Analyze-String -
- - - fn:tokenize(xs:string?, xs:string, xs:string?) -
- Splits the input string into a sequence of substrings using the pattern as a delimiter -
- Arguments and return type: - - - - - - - - - - - - - - - - - -
TypeDescription
xs:string?Input string to tokenize
xs:stringRegular expression pattern to use as delimiter
xs:string?Flags to control the regular expression matching (optional)
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:tokenize('XPath 3.0, XQuery 3.0, XSLT 3.0', ',\\s*')('XPath 3.0', 'XQuery 3.0', 'XSLT 3.0')
fn:tokenize('apple,orange,banana', ',')('apple', 'orange', 'banana')

- W3C Documentation reference: Tokenize -
- - - fn:replace(xs:string?, xs:string, xs:string, xs:string?) -
- Replaces occurrences of the pattern in the input string with the replacement string
- Arguments and return type: - - - - - - - - - - - - - - - - - - - - - -
TypeDescription
xs:string?Input string to search within
xs:stringRegular expression pattern to match
xs:stringReplacement string
xs:string?Flags to control the regular expression matching (optional)
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:replace('XPath 3.0 is great', '3.0', '3.1')'XPath 3.1 is great'
fn:replace('Hello, World!', 'World', 'XPath')'Hello, XPath!'

- W3C Documentation reference: Replace -
- - - fn:matches(xs:string?, xs:string, xs:string?) -
- Returns true if the input string matches the regular expression pattern, otherwise false -
- Arguments and return type: - - - - - - - - - - - - - - - - - -
TypeDescription
xs:string?Input string to search within
xs:stringRegular expression pattern to match
xs:string?Flags to control the regular expression matching (optional)
- Examples:
- - - - - - - - - - - - - - - - - -
ExpressionResult
fn:matches('XPath 3.0', '\\d\\.\\d')true
fn:matches('Hello, World!', '[A-Z][a-z]*')true
fn:matches('example123', '\\d+', 'q')false

- W3C Documentation reference: Matches -
- - - fn:substring-after(xs:string?, xs:string?) -
- Returns the part of the first string that follows the first occurrence of the second - string
- Arguments and return type: - - - - - - - - - - - - - -
TypeDescription
xs:string?Input string to search within
xs:string?Substring to search for
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:substring-after('Hello, World!', ',')' World!'
fn:substring-after('XPath 3.0 is awesome!', '3.0')' is awesome!'

- W3C Documentation reference: Substring-After -
- - - fn:substring-before(xs:string?, xs:string?) -
- Returns the part of the first string that precedes the first occurrence of the second - string
- Arguments and return type: - - - - - - - - - - - - - -
TypeDescription
xs:string?Input string to search within
xs:string?Substring to search for
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:substring-before('Hello, World!', ',')'Hello'
fn:substring-before('XPath 3.0 is awesome!', '3.0')'XPath '

- W3C Documentation reference: Substring-Before -
- - - fn:ends-with(xs:string?, xs:string?) -
- Returns true if the first string ends with the second string, otherwise false
- Arguments and return type: - - - - - - - - - - - - - -
TypeDescription
xs:string?Input string to check
xs:string?Substring to check for at the end of the first string
- Examples:
- - - - - - - - - - - - - - - - - -
ExpressionResult
fn:ends-with('Hello, World!', 'World!')true
fn:ends-with('Hello, World!', 'Hello')false
fn:ends-with('XPath 3.0', '3.0')true

- W3C Documentation reference: Ends-With -
- - - fn:starts-with(xs:string?, xs:string?) -
- Returns true if the first string starts with the second string, otherwise false
- Arguments and return type: - - - - - - - - - - - - - -
TypeDescription
xs:string?Input string to check
xs:string?Substring to check for at the beginning of the first string
- Examples:
- - - - - - - - - - - - - - - - - -
ExpressionResult
fn:starts-with('Hello, World!', 'Hello')true
fn:starts-with('Hello, World!', 'World')false
fn:starts-with('XPath 3.0', 'XPath')true

- W3C Documentation reference: Starts-With -
- - - fn:contains(xs:string?, xs:string?) -
- Returns true if the first string contains the second string, otherwise false
- Arguments and return type: - - - - - - - - - - - - - -
TypeDescription
xs:string?Input string to search within
xs:string?Substring to search for
- Examples:
- - - - - - - - - - - - - - - - - -
ExpressionResult
fn:contains('Hello, World!', 'World')true
fn:contains('Hello, World!', 'world')false
fn:contains('XPath 3.0', '3.0')true

- W3C Documentation reference: Contains -
- - - fn:translate(xs:string?, xs:string, xs:string) -
- Returns the input string with specified characters replaced
- Arguments and return type: - - - - - - - - - - - - - - - - - -
TypeDescription
xs:string?Input string to be translated
xs:stringMap string with characters to replace
xs:stringTranslate string with replacement characters
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:translate('apple', 'aeiou', '12345')'1ppl2'
fn:translate('Hello, World!', 'HW', 'hw')'hello, world!'

- W3C Documentation reference: Translate -
- - - fn:lower-case(xs:string?) -
- Returns the input string with all characters converted to lowercase
- Arguments and return type: - - - - - - - - - -
TypeDescription
xs:string?Input string to convert to lowercase
- Examples:
- - - - - - - - - - - - - - - - - -
ExpressionResult
fn:lower-case('HELLO, WORLD!')'hello, world!'
fn:lower-case('XPath 3.0')'xpath 3.0'
fn:lower-case('BANANA')'banana'

- W3C Documentation reference: Lower-Case -
- - - fn:upper-case(xs:string?) -
- Returns the input string with all characters converted to uppercase
- Arguments and return type: - - - - - - - - - -
TypeDescription
xs:string?Input string to convert to uppercase
- Examples:
- - - - - - - - - - - - - - - - - -
ExpressionResult
fn:upper-case('Hello, World!')'HELLO, WORLD!'
fn:upper-case('XPath 3.0')'XPATH 3.0'
fn:upper-case('banana')'BANANA'

- W3C Documentation reference: Upper-Case -
- - - fn:normalize-unicode(xs:string?, xs:string) -
- Returns the input string with Unicode normalization applied
- Arguments and return type: - - - - - - - - - - - - - -
TypeDescription
xs:string?Input string to normalize
xs:stringNormalization form to apply (NFC, NFD, NFKC, NFKD)
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:normalize-unicode('Café', 'NFC')'Café'
fn:normalize-unicode('Café', 'NFD')'Café'

- W3C Documentation reference: Normalize-Unicode -
- - - fn:normalize-space(xs:string?) -
- Returns the input string with whitespace normalized
- Arguments and return type: - - - - - - - - - -
TypeDescription
xs:string?Input string to normalize whitespace
- Examples:
- - - - - - - - - - - - - - - - - -
ExpressionResult
fn:normalize-space(' Hello, World! ')'Hello, World!'
fn:normalize-space(' XPath 3.0 ')'XPath 3.0'
fn:normalize-space('\tbanana\t')'banana'

- W3C Documentation reference: Normalize-Space -
- - - fn:string-length(xs:string?) -
- Returns the length of the input string
- Arguments and return type: - - - - - - - - - -
TypeDescription
xs:string?Input string to calculate length
- Examples:
- - - - - - - - - - - - - - - - - -
ExpressionResult
fn:string-length('Hello, World!')13
fn:string-length('XPath 3.0')8
fn:string-length('banana')6

- W3C Documentation reference: String-Length -
- - - fn:substring(xs:string?, xs:double) -
- Returns a substring of the source string, starting from a specific location
- Arguments and return type: - - - - - - - - - - - - - -
TypeDescription
xs:string?Input source string
xs:doubleStarting location to extract the substring
- Examples:
- - - - - - - - - - - - - - - - - -
ExpressionResult
fn:substring('Hello, World!', 1, 5)'Hello'
fn:substring('XPath 3.0', 7)'3.0'
fn:substring('banana', 2, 3)'ana'

- W3C Documentation reference: Substring -
- - fn:string-join(xs:string*, xs:string) -
- Joins a sequence of strings with a specified separator, returning a single string
- Arguments and return type: - - - - - - - - - - - - - -
TypeDescription
xs:string*Input sequence of strings to join
xs:stringSeparator string to insert between joined strings
- Examples:
- - - - - - - - - - - - - - - - - -
ExpressionResult
fn:string-join(('apple', 'banana', 'orange'), ', ')'apple, banana, orange'
fn:string-join(('XPath', '3.0', 'Functions'), ' - ')'XPath - 3.0 - Functions'
fn:string-join(('A', 'B', 'C'), '')'ABC'

- W3C Documentation reference: String-Join -
- - - fn:concat(xs:anyAtomicType?, xs:anyAtomicType?, ...) -
- Concatenates two or more strings or atomic values, returning a single string
- Arguments and return type: - - - - - - - - - -
TypeDescription
xs:anyAtomicType?Input strings or atomic values to concatenate
- Examples:
- - - - - - - - - - - - - - - - - -
ExpressionResult
fn:concat('Hello', ' ', 'World')'Hello World'
fn:concat('I have ', 3, ' apples')'I have 3 apples'
fn:concat('XPath ', '3.0')'XPath 3.0'

- W3C Documentation reference: Concat -
- - - fn:codepoint-equal(xs:string?, xs:string?) -
- Compares two strings on a codepoint-by-codepoint basis and returns true if they are - equal, false otherwise
- Arguments and return type: - - - - - - - - - - - - - -
TypeDescription
xs:string?First string to compare
xs:string?Second string to compare
- Examples:
- - - - - - - - - - - - - - - - - -
ExpressionResult
fn:codepoint-equal('Hello', 'Hello')true
fn:codepoint-equal('Hello', 'hello')false
fn:codepoint-equal('apple', 'banana')false

- W3C Documentation reference: Codepoint-Equal -
- - - fn:compare(xs:string?, xs:string?) -
- Compares two strings and returns -1, 0, or 1 if the first string is less than, equal to, - or greater than the second string, respectively
- Arguments and return type: - - - - - - - - - - - - - -
TypeDescription
xs:string?First string to compare
xs:string?Second string to compare
- Examples:
- - - - - - - - - - - - - - - - - -
ExpressionResult
fn:compare('apple', 'banana')-1
fn:compare('apple', 'apple')0
fn:compare('banana', 'apple')1

- W3C Documentation reference: Compare -
- - - fn:string-to-codepoints(xs:string?) -
- Returns a sequence of Unicode code points for a given string
- Arguments and return type: - - - - - - - - - -
TypeDescription
xs:string?Input string
- Examples:
- - - - - - - - - - - - - - - - - -
ExpressionResult
fn:string-to-codepoints('Hello')(72, 101, 108, 108, 111)
fn:string-to-codepoints('( ͡° ͜ʖ ͡°)')(40, 32, 865, 176, 32, 860, 662, 32, 865, 176, 41)
fn:string-to-codepoints('😊')(128522)

- W3C Documentation reference: String-To-Codepoints -
- - - fn:codepoints-to-string(xs:integer*) -
- Constructs a string from a sequence of Unicode code points
- Arguments and return type: - - - - - - - - - -
TypeDescription
xs:integer*Sequence of Unicode code points
- Examples:
- - - - - - - - - - - - - - - - - -
ExpressionResult
fn:codepoints-to-string((72, 101, 108, 108, 111))Hello
codepoints-to-string((40, 32, 865, 176, 32, 860, 662, 32, 865, 176, 41)) - ( ͡° ͜ʖ ͡°)
fn:codepoints-to-string((128522))😊

- W3C Documentation reference: Codepoints-To-String -
- - - - fn:string(object) -
- Returns the string representation of the object argument
- Arguments and return type: - - - - - - - - - -
TypeDescription
stringThe object to convert to a string
Examples:
- - - - - - - - - - - - - -
ExpressionResult
string((1<0))false
string(.11)0.11

- W3C Documentation reference: String-Functions -
- - -
-
-
- - - -
- - - fn:format-number(numeric?, xs:string, $decimal-format-name) -
- Formats a numeric value according to the supplied picture string and optional decimal - format name
- Arguments and return type: - - - - - - - - - - - - - - - - - -
TypeDescription
numeric?Numeric value to be formatted
xs:stringPicture string defining the format
xs:string?Optional decimal format name
- Examples:
- - - - - - - - - - - - - - - - - -
ExpressionResult
fn:format-number(1234.567, '0.00')1,234.57
fn:format-number(-1234.567, '0.00')-1,234.57
fn:format-number(0.12345, '0.00%')12.35%

- W3C Documentation reference: Format-Number -
- - - fn:format-integer(xs:integer?, xs:string) -
- Formats an integer value according to the supplied picture string
- Arguments and return type: - - - - - - - - - - - - - -
TypeDescription
xs:integer?Integer value to be formatted
xs:stringPicture string defining the format
- Examples:
- - - - - - - - - - - - - - - - - -
ExpressionResult
fn:format-integer(12345, '0,0')12,345
fn:format-integer(-1234, '0,0')-1,234
fn:format-integer(1234, '00-00-00')01-23-45

- W3C Documentation reference: Format-Integer -
- - - fn:round-half-to-even(numeric?) -
- Returns the closest integer to the given numeric value, rounding half-way cases to the - nearest even integer (also known as "bankers' rounding")
- Arguments and return type: - - - - - - - - - -
TypeDescription
numeric?Numeric value for which the rounded value will be calculated
- Examples:
- - - - - - - - - - - - - - - - - - - - - -
ExpressionResult
fn:round-half-to-even(3.5)4
fn:round-half-to-even(2.5)2
fn:round-half-to-even(-1.5)-2
fn:round-half-to-even(xs:decimal('1.25'), 1)1.2

- W3C Documentation reference: Round-Half-To-Even -
- - - fn:round(numeric?) -
- Returns the closest integer to the given numeric value, rounding half-way cases away - from zero
- Arguments and return type: - - - - - - - - - -
TypeDescription
numeric?Numeric value for which the rounded value will be calculated
- Examples:
- - - - - - - - - - - - - - - - - -
ExpressionResult
fn:round(3.14)3
fn:round(-4.7)-5
fn:round(xs:decimal('2.5'))3

- W3C Documentation reference: Round -
- - - fn:floor(numeric?) -
- Returns the largest integer less than or equal to the given numeric value
- Arguments and return type: - - - - - - - - - -
TypeDescription
numeric?Numeric value for which the floor value will be calculated
- Examples:
- - - - - - - - - - - - - - - - - -
ExpressionResult
fn:floor(3.14)3
fn:floor(-4.7)-5
fn:floor(xs:decimal('2.5'))2

- W3C Documentation reference: Floor -
- - - - fn:ceiling(numeric?) -
- Returns the smallest integer greater than or equal to the given numeric value
- Arguments and return type: - - - - - - - - - -
TypeDescription
numeric?Numeric value for which the ceiling value will be calculated
- Examples:
- - - - - - - - - - - - - - - - - -
ExpressionResult
fn:ceiling(3.14)4
fn:ceiling(-4.7)-4
fn:ceiling(xs:decimal('2.5'))3

- W3C Documentation reference: Ceiling -
- - - fn:abs(numeric?) -
- Returns the absolute value of the given numeric value
- Arguments and return type: - - - - - - - - - -
TypeDescription
numeric?Numeric value for which the absolute value will be calculated
- Examples:
- - - - - - - - - - - - - - - - - -
ExpressionResult
fn:abs(-42)42
fn:abs(3.14)3.14
fn:abs(xs:decimal('-5.5'))5.5

- W3C Documentation reference: Abs -
- - fn:number(item?) -
- Converts the given value to a number
- Arguments and return type: - - - - - - - - - -
TypeDescription
item?Returns the numeric value of the specified expression or the context item - (if no argument is provided)
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:number(/library/fiction:book[1]/@id)1 (if the first fiction:book element's id attribute is "1")
fn:number(/library/fiction:book[1]/price)19.99 (if the first fiction:book element's price element contains "19.99") -

- W3C Documentation reference: Number -
- - - - -
-
-
- - - -
- - fn:fold-right(item()*, item()*, function(item(), item()*)) -
- Applies a processing function cumulatively to the items of a sequence from right to - left, so as to reduce the sequence to a single value
- Arguments and return type: - - - - - - - - - - - - - - - - - - - - - -
TypeDescription
item()*The input sequence of items
item()*The initial value, also known as the zero value
function(item(), item()*)The processing function used to accumulate the items
item()*The resulting single value after applying the processing function
- Examples:
- - - - - - - - - -
ExpressionResult
fold-right((1, 2, 3, 4), 0, function($current, $accumulator) { $accumulator - - $current })Returns the result of subtracting each number in the input sequence from - right to left: -2

- W3C Documentation reference: fold-right -
- - - fn:fold-left(item()*, item()*, function(item()*, item())) -
- Applies a processing function cumulatively to the items of a sequence from left to - right, so as to reduce the sequence to a single value
- Arguments and return type: - - - - - - - - - - - - - - - - - - - - - -
TypeDescription
item()*The input sequence of items
item()*The initial value, also known as the zero value
function(item()*, item())The processing function used to accumulate the items
item()*The resulting single value after applying the processing function
- Examples:
- - - - - - - - - -
ExpressionResult
fold-left((1, 2, 3, 4), 0, function($accumulator, $current) { $accumulator + - $current })Returns the sum of the numbers in the input sequence: 10

- W3C Documentation reference: fold-left -
- - - - - fn:last() -
- Returns the position of the last item in the current context sequence
- Arguments and return type: - - - - - - - - - -
TypeDescription
NoneReturns the position of the last item in the current context sequence
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
/library/fiction:book[position() = last()]Returns the last fiction:book element in the library
/library/fiction:book[last()]Returns the last fiction:book element in the library

- W3C Documentation reference: Last -
- - fn:position() -
- Returns the context position of the context item in the sequence currently being - processed
- Arguments and return type: - - - - - - - - - - - - - -
TypeDescription
NoneFunction takes no arguments
xs:integerThe position of the context item in the sequence
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
<items><item>Item 1</item><item>Item - 2</item></items>/item[position()=2]Returns '<item>Item 2</item>'
<items><item>Item 1</item><item>Item - 2</item></items>/item[position()=1]Returns '<item>Item 1</item>'

- W3C Documentation reference: position -
- - - fn:collection(xs:string?) -
- Returns a sequence of documents in a collection identified by a URI
- Arguments and return type: - - - - - - - - - - - - - -
TypeDescription
xs:string?The URI identifying the collection of documents
xs:anyAtomicType*A sequence of documents in the collection
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:collection("http://www.example.com/collection/")Returns a sequence of documents in the collection identified by the - specified URI
fn:collection()Returns a sequence of documents in the default collection, if one is defined -

- W3C Documentation reference: collection -
- - - fn:sum(xs:anyAtomicType*, xs:anyAtomicType?) -
- Returns the sum of a sequence of numeric values
- Arguments and return type: - - - - - - - - - - - - - - - - - -
TypeDescription
xs:anyAtomicType*Input sequence of numeric values
xs:anyAtomicType?Value to return if the sequence is empty (optional)
xs:anyAtomicType?Sum of the input sequence
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:sum((10, 20, 30, 40, 50))150
fn:sum((), 0)0

- W3C Documentation reference: sum -
- - - fn:min(xs:anyAtomicType*, xs:string) -
- Returns the minimum value from a sequence of values
- Arguments and return type: - - - - - - - - - - - - - - - - - -
TypeDescription
xs:anyAtomicType*Input sequence of values
xs:stringCollation to use when comparing strings
xs:anyAtomicType?Minimum value in the input sequence
- Examples:
- - - - - - - - - - - - - - - - - -
ExpressionResult
fn:min((10, 20, 30, 40, 50))10
fn:min(("apple", "banana", "cherry"), - "http://www.w3.org/2005/xpath-functions/collation/codepoint")"apple"
fn:min(())empty sequence

- W3C Documentation reference: min -
- - - fn:max(xs:anyAtomicType*, xs:string) -
- Returns the maximum value from a sequence of values
- Arguments and return type: - - - - - - - - - - - - - - - - - -
TypeDescription
xs:anyAtomicType*Input sequence of values
xs:stringCollation to use when comparing strings
xs:anyAtomicType?Maximum value in the input sequence
- Examples:
- - - - - - - - - - - - - - - - - -
ExpressionResult
fn:max((10, 20, 30, 40, 50))50
fn:max(("apple", "banana", "cherry"), - "http://www.w3.org/2005/xpath-functions/collation/codepoint")"cherry"
fn:max(())empty sequence

- W3C Documentation reference: max -
- - - fn:avg(xs:anyAtomicType*) -
- Computes the average of the numeric values in the input sequence
- Arguments and return type: - - - - - - - - - - - - - -
TypeDescription
xs:anyAtomicType*Input sequence of numeric values
xs:anyAtomicType?Average of the numeric values in the input sequence
- Examples:
- - - - - - - - - - - - - - - - - -
ExpressionResult
fn:avg((10, 20, 30, 40, 50))30
fn:avg((2.5, 3.5, 4.5))3.5
fn:avg(())empty sequence

- W3C Documentation reference: avg -
- - - fn:count(item()*) -
- Returns the number of items in the input sequence
- Arguments and return type: - - - - - - - - - - - - - -
TypeDescription
item()*Input sequence
xs:integerNumber of items in the input sequence
- Examples:
- - - - - - - - - - - - - - - - - -
ExpressionResult
fn:count(('apple', 'banana', 'orange'))3
fn:count(())0
fn:count((1, 2, 3, 4, 5))5

- W3C Documentation reference: count -
- - - fn:exactly-one(item()*) -
- Returns the single item in the input sequence or raises an error if the sequence is - empty or contains more than one item
- Arguments and return type: - - - - - - - - - - - - - -
TypeDescription
item()*Input sequence
item()Single item from the input sequence, otherwise an error is raised
- Examples:
- - - - - - - - - - - - - - - - - -
ExpressionResult
fn:exactly-one(('apple'))'apple'
fn:exactly-one(('apple', 'banana'))Error (more than one item)
fn:exactly-one(())Error (empty sequence)

- W3C Documentation reference: exactly-one -
- - - fn:one-or-more(item()*)+ -
- Returns the input sequence if it contains one or more items, otherwise raises an - error
- Arguments and return type: - - - - - - - - - - - - - -
TypeDescription
item()*Input sequence
item()+Sequence containing one or more items, otherwise an error is raised
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:one-or-more(('apple', 'banana'))('apple', 'banana')
fn:one-or-more(('pear'))('pear')

- W3C Documentation reference: one-or-more -
- - - fn:zero-or-one(item()*) -
- Returns the input sequence if it contains zero or one items, otherwise raises an - error
- Arguments and return type: - - - - - - - - - - - - - -
TypeDescription
item()*Input sequence
item()?Sequence containing zero or one item, otherwise an error is raised
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:zero-or-one(('apple'))('apple')
fn:zero-or-one(())()

- W3C Documentation reference: zero-or-one -
- - - fn:deep-equal(item()* , item()*) -
- Returns true if the two input sequences are deep-equal, meaning that they have the same - structure and atomic values
- Arguments and return type: - - - - - - - - - - - - - - - - - -
TypeDescription
item()*First input sequence
item()*Second input sequence
xs:booleanTrue if the input sequences are deep-equal, otherwise false
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:deep-equal((1, 2, 3), (1, 2, 3))true
fn:deep-equal((1, 2, 3), (1, 2, 4))false

- W3C Documentation reference: deep-equal -
- - - fn:index-of(xs:anyAtomicType*, xs:anyAtomicType) -
- Returns a sequence of integers indicating the positions of items in the input sequence - that are equal to the search item
- Arguments and return type: - - - - - - - - - - - - - - - - - -
TypeDescription
xs:anyAtomicType*Input sequence of atomic values
xs:anyAtomicTypeSearch item to find in the input sequence
xs:integer*Sequence of integers representing the positions of the search item in the - input sequence
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:index-of((3, 1, 4, 1, 5, 9, 2, 2, 3), 1)(2, 4)
fn:index-of(('apple', 'banana', 'orange', 'apple', 'grape', 'orange'), - 'apple')(1, 4)

- W3C Documentation reference: index-of -
- - - fn:distinct-values(xs:anyAtomicType*) -
- Returns a sequence of distinct atomic values from the input sequence
- Arguments and return type: - - - - - - - - - - - - - -
TypeDescription
xs:anyAtomicType*Input sequence of atomic values
xs:anyAtomicType*Distinct sequence of atomic values
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:distinct-values((3, 1, 4, 1, 5, 9, 2, 2, 3))(3, 1, 4, 5, 9, 2)
fn:distinct-values(('apple', 'banana', 'orange', 'apple', 'grape', - 'orange'))('apple', 'banana', 'orange', 'grape')

- W3C Documentation reference: distinct-values -
- - - fn:unordered(item()*) -
- Returns the items of a sequence in an implementation-dependent order
- Arguments and return type: - - - - - - - - - - - - - -
TypeDescription
item()*Input sequence
item()*Unordered sequence
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:unordered((3, 1, 4, 1, 5, 9, 2))(1, 2, 3, 4, 5, 9, 1) (example result; actual order may vary)
fn:unordered(('apple', 'banana', 'orange', 'grape'))('banana', 'apple', 'orange', 'grape') (example result; actual order may - vary)

- W3C Documentation reference: unordered -
- - - fn:subsequence(item()*, xs:double, xs:double) -
- Returns a subsequence of a given sequence starting at a specified position with a - specified length
- Arguments and return type: - - - - - - - - - - - - - - - - - - - - - -
TypeDescription
item()*Input sequence
xs:doubleStarting position
xs:doubleLength of subsequence
item()*Subsequence
- Examples:
- - - - - - - - - - - - - - - - - -
ExpressionResult
fn:subsequence((1, 2, 3, 4, 5), 2, 3)(2, 3, 4)
fn:subsequence(('apple', 'banana', 'orange', 'grape'), 1, 2)('apple', 'banana')
fn:subsequence(('red', 'blue', 'green', 'yellow'), 3)('green', 'yellow')

- W3C Documentation reference: subsequence -
- - - fn:reverse(item()*) -
- Reverses the order of items in a sequence
- Arguments and return type: - - - - - - - - - - - - - -
TypeDescription
item()*Input sequence
item()*Reversed sequence
- Examples:
- - - - - - - - - - - - - - - - - -
ExpressionResult
fn:reverse((1, 2, 3, 4))(4, 3, 2, 1)
fn:reverse(('apple', 'banana', 'orange'))('orange', 'banana', 'apple')
fn:reverse(('red', 'blue', 'green'))('green', 'blue', 'red')

- W3C Documentation reference: reverse -
- - - fn:remove(item()*, xs:integer) -
- Removes an item from a sequence at the specified position
- Arguments and return type: - - - - - - - - - - - - - - - - - -
TypeDescription
item()*Target sequence
xs:integerPosition of the item to remove
item()*New sequence with the item removed
- Examples:
- - - - - - - - - - - - - - - - - -
ExpressionResult
fn:remove((1, 2, 3, 4), 2)(1, 3, 4)
fn:remove(('apple', 'banana', 'orange'), 3)('apple', 'banana')
fn:remove((10, 20, 30), 1)(20, 30)

- W3C Documentation reference: remove -
- - - fn:insert-before(item()*, xs:integer, item()*) -
- Inserts items from the specified sequence into another sequence at a given position
- Arguments and return type: - - - - - - - - - - - - - - - - - - - - - -
TypeDescription
item()*Target sequence
xs:integerPosition at which to insert the items
item()*Sequence of items to insert
item()*New sequence with items inserted
- Examples:
- - - - - - - - - - - - - - - - - -
ExpressionResult
fn:insert-before((1, 3, 4), 2, (2))(1, 2, 3, 4)
fn:insert-before(('apple', 'orange'), 1, ('banana'))('banana', 'apple', 'orange')
fn:insert-before((10, 20, 30), 4, (40))(10, 20, 30, 40)

- W3C Documentation reference: insert-before -
- - - fn:tail(item()*) -
- Returns all items of the input sequence except the first one, or an empty sequence if - the input is empty or contains only one item
- Arguments and return type: - - - - - - - - - - - - - -
TypeDescription
item()*Sequence of items
item()*All items except the first one, or an empty sequence
- Examples:
- - - - - - - - - - - - - - - - - -
ExpressionResult
fn:tail((1, 2, 3))(2, 3)
fn:tail((1))()
fn:tail(/books/book/author)All authors in the "books" element except the first one

- W3C Documentation reference: tail -
- - - fn:head(item()*) -
- Returns the first item of the input sequence, or an empty sequence if the input is - empty
- Arguments and return type: - - - - - - - - - - - - - -
TypeDescription
item()*Sequence of items
item()?The first item of the sequence, or an empty sequence
- Examples:
- - - - - - - - - - - - - - - - - -
ExpressionResult
fn:head((1, 2, 3))1
fn:head(())()
fn:head(/books/book[1]/author)The first author of the first book in the "books" element

- W3C Documentation reference: head -
- - - fn:exists(item()*) -
- Returns true if the input sequence is not empty, otherwise returns false
- Arguments and return type: - - - - - - - - - - - - - -
TypeDescription
item()*Sequence of items
xs:booleanResult of the test (true or false)
- Examples:
- - - - - - - - - - - - - - - - - -
ExpressionResult
fn:exists((1, 2, 3))true
fn:exists(())false
fn:exists(//chapter[5])true if there are at least 5 chapters, otherwise false

- W3C Documentation reference: exists -
- - - fn:empty(item()*) -
- Returns true if the input sequence is empty, otherwise returns false
- Arguments and return type: - - - - - - - - - - - - - -
TypeDescription
item()*Sequence of items
xs:booleanResult of the test (true or false)
- Examples:
- - - - - - - - - - - - - - - - - -
ExpressionResult
fn:empty((1, 2, 3))false
fn:empty(())true
fn:empty(//chapter[100])true if there are less than 100 chapters, otherwise false

- W3C Documentation reference: empty -
- - - - - fn:data(item*) -
- Returns the simple value of an item or a sequence of items
- Arguments and return type: - - - - - - - - - -
TypeDescription
item?Returns the simple value of the specified item or the context item (if no - argument is provided)
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:data(/library/fiction:book[1]/title)The Catcher in the Rye
fn:data(/library/fiction:book[2]/author)Harper Lee

- W3C Documentation reference: Data -
- - -
-
-
- - - -
- fn:implicit-timezone() -
- Returns the implicit timezone as an xs:dayTimeDuration
- Arguments and return type: - - - - - - - - - - - - - -
TypeDescription
NoneFunction takes no arguments
xs:dayTimeDurationThe implicit timezone as a dayTimeDuration
- Examples:
- - - - - - - - - -
ExpressionResult
implicit-timezone()Returns the implicit timezone as an xs:dayTimeDuration, e.g., '-PT7H' -

- W3C Documentation reference: implicit-timezone -
- - - fn:current-time() -
- Returns the current time with timezone
- Arguments and return type: - - - - - - - - - - - - - -
TypeDescription
NoneFunction takes no arguments
xs:timeThe current time with timezone
- Examples:
- - - - - - - - - -
ExpressionResult
current-time()Returns the current time with timezone, e.g., '13:45:30.123-07:00'

- W3C Documentation reference: current-time -
- - - fn:current-date() -
- Returns the current date with timezone
- Arguments and return type: - - - - - - - - - - - - - -
TypeDescription
NoneFunction takes no arguments
xs:dateThe current date with timezone
- Examples:
- - - - - - - - - -
ExpressionResult
current-date()Returns the current date with timezone, e.g., '2023-03-29-07:00'

- W3C Documentation reference: current-date -
- - - fn:current-dateTime() -
- Returns the current date and time with timezone
- Arguments and return type: - - - - - - - - - - - - - -
TypeDescription
NoneFunction takes no arguments
xs:dateTimeThe current date and time with timezone
- Examples:
- - - - - - - - - -
ExpressionResult
current-dateTime()Returns the current date and time with timezone, e.g., - '2023-03-29T12:34:56.789-07:00'

- W3C Documentation reference: current-dateTime -
- - - fn:format-time(xs:time?, xs:string, xs:string?, xs:string?, xs:string?) -
- Formats a time value using the provided picture string and optional language, - calendar, and country settings
- Arguments and return type: - - - - - - - - - - - - - - - - - - - - - - - - - -
TypeDescription
xs:time?Time value
xs:stringPicture string
xs:string?Language
xs:string?Calendar
xs:string?Country
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:format-time(xs:time('14:30:15'), '[H01]:[m01]:[s01]')14:30:15
fn:format-time(xs:time('14:30:15'), '[h01] [P] [ZN,*-3]')02 PM UTC

- W3C Documentation reference: Format-Time -
- - - fn:format-date(xs:date?, xs:string, xs:string?, xs:string?, xs:string?) -
- Formats a date value using the provided picture string and optional language, - calendar, and country settings
- Arguments and return type: - - - - - - - - - - - - - - - - - - - - - - - - - -
TypeDescription
xs:date?Date value
xs:stringPicture string
xs:string?Language
xs:string?Calendar
xs:string?Country
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:format-date(xs:date('2023-04-01'), '[Y0001]-[M01]-[D01]')2023-04-01
fn:format-date(xs:date('2023-04-01'), '[MNn,*-3] [D], [Y]')Apr 1, 2023

- W3C Documentation reference: Format-Date -
- - - fn:format-dateTime(xs:dateTime?, xs:string, xs:string?, xs:string?, xs:string?) -
- Formats a dateTime value using the provided picture string and optional language, - calendar, and country settings
- Arguments and return type: - - - - - - - - - - - - - - - - - - - - - - - - - -
TypeDescription
xs:dateTime?DateTime value
xs:stringPicture string
xs:string?Language
xs:string?Calendar
xs:string?Country
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:format-dateTime(xs:dateTime('2023-04-01T12:00:00'), - '[Y0001]-[M01]-[D01] [H01]:[m01]:[s01]')2023-04-01 12:00:00
fn:format-dateTime(xs:dateTime('2023-04-01T12:00:00'), '[MNn,*-3], [D], - [Y]')Apr, 1, 2023

- W3C Documentation reference: Format-DateTime -
- - - fn:adjust-time-to-timezone(xs:time?, xs:dayTimeDuration?) -
- Adjusts the timezone of a time value
- Arguments and return type: - - - - - - - - - - - - - -
TypeDescription
xs:time?Time value
xs:dayTimeDuration?Timezone adjustment
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:adjust-time-to-timezone(xs:time('10:00:00-07:00'), - xs:dayTimeDuration('PT2H'))12:00:00-05:00
fn:adjust-time-to-timezone(xs:time('10:00:00Z'), - xs:dayTimeDuration('-PT3H'))07:00:00-03:00

- W3C Documentation reference: Adjust-Time-To-Timezone -
- - - - - fn:adjust-date-to-timezone(xs:date?, xs:dayTimeDuration?) -
- Adjusts the timezone of a date value
- Arguments and return type: - - - - - - - - - - - - - -
TypeDescription
xs:date?Date value
xs:dayTimeDuration?Timezone adjustment
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:adjust-date-to-timezone(xs:date('2023-01-01-07:00'), - xs:dayTimeDuration('PT2H'))2023-01-01-05:00
fn:adjust-date-to-timezone(xs:date('2023-01-01Z'), - xs:dayTimeDuration('-PT3H'))2022-12-31-03:00

- W3C Documentation reference: Adjust-Date-To-Timezone -
- - - fn:adjust-dateTime-to-timezone(xs:dateTime?, xs:dayTimeDuration?) -
- Adjusts the timezone of a dateTime value
- Arguments and return type: - - - - - - - - - - - - - -
TypeDescription
xs:dateTime?DateTime value
xs:dayTimeDuration?Timezone adjustment
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:adjust-dateTime-to-timezone(xs:dateTime('2023-01-01T12:00:00-07:00'), - xs:dayTimeDuration('PT2H'))2023-01-01T17:00:00-05:00
fn:adjust-dateTime-to-timezone(xs:dateTime('2023-01-01T12:00:00Z'), - xs:dayTimeDuration('-PT3H'))2023-01-01T09:00:00-03:00

- W3C Documentation reference: Adjust-DateTime-To-Timezone -
- - - fn:timezone-from-time(xs:time?) -
- Extracts the timezone component from an xs:time value
- Arguments and return type: - - - - - - - - - -
TypeDescription
xs:time?Time value
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:timezone-from-time(xs:time('12:00:00-07:00'))-PT7H
fn:timezone-from-time(xs:time('14:30:00+02:30'))PT2H30M

- W3C Documentation reference: Timezone-From-Time -
- - - fn:seconds-from-time(xs:time?) -
- Extracts the seconds component from an xs:time value
- Arguments and return type: - - - - - - - - - -
TypeDescription
xs:time?Time value
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:seconds-from-time(xs:time('21:45:30.5'))30.5
fn:seconds-from-time(xs:time('04:15:12.1'))12.1

- W3C Documentation reference: Seconds-From-Time -
- - - fn:minutes-from-time(xs:time?) -
- Extracts the minutes component from an xs:time value
- Arguments and return type: - - - - - - - - - -
TypeDescription
xs:time?Time value
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:minutes-from-time(xs:time('21:45:30'))45
fn:minutes-from-time(xs:time('04:15:12'))15

- W3C Documentation reference: Minutes-From-Time -
- - - fn:hours-from-time(xs:time?) -
- Extracts the hours component from an xs:time value
- Arguments and return type: - - - - - - - - - -
TypeDescription
xs:time?Time value
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:hours-from-time(xs:time('21:45:30'))21
fn:hours-from-time(xs:time('04:15:12'))4

- W3C Documentation reference: Hours-From-Time -
- - - fn:timezone-from-date(xs:date?) -
- Extracts the timezone component from an xs:date value
- Arguments and return type: - - - - - - - - - -
TypeDescription
xs:date?Date value
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:timezone-from-date(xs:date('2023-03-29+02:00'))PT2H
fn:timezone-from-date(xs:date('1980-12-15-05:00'))-PT5H

- W3C Documentation reference: Timezone-From-Date -
- - - fn:day-from-date(xs:date?) -
- Extracts the day component from an xs:date value
- Arguments and return type: - - - - - - - - - -
TypeDescription
xs:date?Date value
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:day-from-date(xs:date('2023-03-29'))29
fn:day-from-date(xs:date('1980-12-15'))15

- W3C Documentation reference: Day-From-Date -
- - - fn:month-from-date(xs:date?) -
- Extracts the month component from an xs:date value
- Arguments and return type: - - - - - - - - - -
TypeDescription
xs:date?Date value
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:month-from-date(xs:date('2023-03-29'))3
fn:month-from-date(xs:date('1980-12-15'))12

- W3C Documentation reference: Month-From-Date -
- - - fn:year-from-date(xs:date?) -
- Extracts the year component from an xs:date value
- Arguments and return type: - - - - - - - - - -
TypeDescription
xs:date?Date value
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:year-from-date(xs:date('2023-03-29'))2023
fn:year-from-date(xs:date('1980-12-15'))1980

- W3C Documentation reference: Year-From-Date -
- - - fn:timezone-from-dateTime(xs:dateTime?) -
- Extracts the timezone component from an xs:dateTime value
- Arguments and return type: - - - - - - - - - -
TypeDescription
xs:dateTime?DateTime value
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:timezone-from-dateTime(xs:dateTime('2023-03-29T12:30:45-07:00'))-PT7H
fn:timezone-from-dateTime(xs:dateTime('2023-12-15T18:45:30+03:30'))PT3H30M

- W3C Documentation reference: Timezone-From-DateTime -
- - - fn:seconds-from-dateTime(xs:dateTime?) -
- Extracts the seconds component from an xs:dateTime value
- Arguments and return type: - - - - - - - - - -
TypeDescription
xs:dateTime?DateTime value
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:seconds-from-dateTime(xs:dateTime('2023-03-29T12:30:45'))45
fn:seconds-from-dateTime(xs:dateTime('2023-12-15T18:45:30.5-08:00')) - 30.5

- W3C Documentation reference: Seconds-From-DateTime -
- - - fn:minutes-from-dateTime(xs:dateTime?) -
- Extracts the minutes component from an xs:dateTime value
- Arguments and return type: - - - - - - - - - -
TypeDescription
xs:dateTime?DateTime value
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:minutes-from-dateTime(xs:dateTime('2023-03-29T12:30:00'))30
fn:minutes-from-dateTime(xs:dateTime('2023-12-15T18:45:00-08:00'))45

- W3C Documentation reference: Minutes-From-DateTime -
- - - fn:hours-from-dateTime(xs:dateTime?) -
- Extracts the hours component from an xs:dateTime value
- Arguments and return type: - - - - - - - - - -
TypeDescription
xs:dateTime?DateTime value
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:hours-from-dateTime(xs:dateTime('2023-03-29T12:30:00'))12
fn:hours-from-dateTime(xs:dateTime('2023-12-15T18:45:00-08:00'))18

- W3C Documentation reference: Hours-From-DateTime -
- - - fn:day-from-dateTime(xs:dateTime?) -
- Extracts the day component from an xs:dateTime value
- Arguments and return type: - - - - - - - - - -
TypeDescription
xs:dateTime?DateTime value
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:day-from-dateTime(xs:dateTime('2023-03-29T12:30:00'))29
fn:day-from-dateTime(xs:dateTime('2023-12-15T18:45:00-08:00'))15

- W3C Documentation reference: Day-From-DateTime -
- - - fn:month-from-dateTime(xs:dateTime?) -
- Extracts the month component from an xs:dateTime value
- Arguments and return type: - - - - - - - - - -
TypeDescription
xs:dateTime?DateTime value
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:month-from-dateTime(xs:dateTime('2023-03-29T12:30:00'))3
fn:month-from-dateTime(xs:dateTime('2023-12-15T18:45:00-08:00'))12

- W3C Documentation reference: Month-From-DateTime -
- - - fn:year-from-dateTime(xs:dateTime?) -
- Extracts the year component from an xs:dateTime value
- Arguments and return type: - - - - - - - - - -
TypeDescription
xs:dateTime?DateTime value
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:year-from-dateTime(xs:dateTime('2023-03-29T12:30:00'))2023
fn:year-from-dateTime(xs:dateTime('2023-03-29T12:30:00-08:00'))2023

- W3C Documentation reference: Year-From-DateTime -
- - - - - fn:dateTime(xs:date?, xs:time?) -
- Constructs an xs:dateTime value from an xs:date and an xs:time value
- Arguments and return type: - - - - - - - - - - - - - -
TypeDescription
xs:date?Date value
xs:time?Time value
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:dateTime(xs:date('2023-03-29'), xs:time('12:30:00'))2023-03-29T12:30:00
fn:dateTime(xs:date('2023-03-29+05:00'), xs:time('12:30:00-08:00'))2023-03-29T12:30:00-08:00

- W3C Documentation reference: DateTime -
- - - fn:seconds-from-duration(xs:duration?) -
- Returns the seconds component of the duration
- Arguments and return type: - - - - - - - - - -
TypeDescription
xs:duration?Duration from which to extract the seconds component
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:seconds-from-duration(xs:dayTimeDuration('PT1H30M15.5S'))15.5
fn:seconds-from-duration(xs:dayTimeDuration('-PT2M10.3S'))-10.3

- W3C Documentation reference: Seconds-From-Duration -
- - - fn:minutes-from-duration(xs:duration?) -
- Returns the minutes component of the duration
- Arguments and return type: - - - - - - - - - -
TypeDescription
xs:duration?Duration from which to extract the minutes component
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:minutes-from-duration(xs:dayTimeDuration('PT2H30M'))30
fn:minutes-from-duration(xs:dayTimeDuration('-PT1H45M'))-45

- W3C Documentation reference: Minutes-From-Duration -
- - - fn:hours-from-duration(xs:duration?) -
- Returns the hours component of the duration
- Arguments and return type: - - - - - - - - - -
TypeDescription
xs:duration?Duration from which to extract the hours component
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:hours-from-duration(xs:dayTimeDuration('PT36H'))36
fn:hours-from-duration(xs:dayTimeDuration('-PT12H30M'))-12

- W3C Documentation reference: Hours-From-Duration -
- - - fn:days-from-duration(xs:duration?) -
- Returns the days component of the duration
- Arguments and return type: - - - - - - - - - -
TypeDescription
xs:duration?Duration from which to extract the days component
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:days-from-duration(xs:dayTimeDuration('P5DT12H30M'))5
fn:days-from-duration(xs:dayTimeDuration('-P2DT6H'))-2

- W3C Documentation reference: Days-From-Duration -
- - - - fn:months-from-duration(xs:duration?) -
- Returns the months component of the duration
- Arguments and return type: - - - - - - - - - -
TypeDescription
xs:duration?Duration from which to extract the months component
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:months-from-duration(xs:duration('P2Y3M4DT5H6M7S'))3
fn:months-from-duration(xs:duration('-P2Y3M4DT5H6M7S'))-3

- W3C Documentation reference: Months-From-Duration -
- - - fn:years-from-duration(xs:duration?) -
- Returns the years component of the duration
- Arguments and return type: - - - - - - - - - -
TypeDescription
xs:duration?Duration from which to extract the years component
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:years-from-duration(xs:duration('P2Y3M4DT5H6M7S'))2
fn:years-from-duration(xs:duration('-P2Y3M4DT5H6M7S'))-2

- W3C Documentation reference: Years-From-Duration -
-
-
-
- - - -
- - fn:trace(item()*, xs:string) -
- Outputs the provided label and value for diagnostic purposes and returns the value - unchanged
- Arguments and return type: - - - - - - - - - - - - - -
TypeDescription
item()*Value to be traced
xs:stringLabel to be output along with the value
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:trace(42, 'The value is:')Outputs "The value is: 42" for diagnostic purposes and returns 42
fn:trace(/library/book/title, 'Book title:')Outputs "Book title: [book title]" for diagnostic purposes and returns - the book title

- W3C Documentation reference: Trace -
- - - fn:error(xs:QName?, xs:string?, $error-object) -
- Raises an error with the specified error code, description, and error object
- Arguments and return type: - - - - - - - - - - - - - - - - - -
TypeDescription
xs:QName?Error code (optional)
xs:string?Description of the error (optional)
item()*Error object (optional)
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:error(xs:QName('err:FOER0000'))Raise error with the code err:FOER0000
fn:error(xs:QName('err:FOER0000'), 'Invalid value')Raise error with the code err:FOER0000 and description "Invalid value" -

- W3C Documentation reference: Error -
- -
-
-
- - - -
- - fn:function-arity(function(*)) -
- Returns the arity (number of arguments) of the specified function
- Arguments and return type: - - - - - - - - - - - - - -
TypeDescription
function(*)The function to obtain the arity for
xs:integerThe arity (number of arguments) of the specified function
- Examples:
- - - - - - - - - -
ExpressionResult
function-arity(fn:substring)Returns the arity of the substring function: 2 (since - substring accepts two required arguments: the input string and the - starting index)

- W3C Documentation reference: function-arity -
- - - fn:function-name(function(*)) -
- Returns the QName of the specified function
- Arguments and return type: - - - - - - - - - - - - - -
TypeDescription
function(*)The function to obtain the QName for
xs:QName?The QName of the specified function, or an empty sequence if the - function is anonymous
- Examples:
- - - - - - - - - -
ExpressionResult
function-name(fn:substring)Returns the QName of the substring function: - QName("http://www.w3.org/2005/xpath-functions", "substring") -

- W3C Documentation reference: function-name -
- - - fn:function-lookup(xs:QName, xs:integer) -
- Returns a function with the specified QName and arity if available, otherwise - returns an empty sequence
- Arguments and return type: - - - - - - - - - - - - - - - - - -
TypeDescription
xs:QNameFunction name as QName
xs:integerArity of the function
function(*)?A function with the specified QName and arity if available, otherwise an - empty sequence
- Examples:
- - - - - - - - - -
ExpressionResult
function-lookup(QName('http://www.w3.org/2005/xpath-functions', - 'substring'), 2)Returns the substring function with arity 2, if available

- W3C Documentation reference: function-lookup -
- - - fn:static-base-uri() -
- Returns the static base URI as an xs:anyURI, if available
- Arguments and return type: - - - - - - - - - - - - - -
TypeDescription
NoneFunction takes no arguments
xs:anyURI?The static base URI, if available; otherwise, an empty sequence
- Examples:
- - - - - - - - - -
ExpressionResult
static-base-uri()Returns the static base URI as an xs:anyURI, if available, e.g., - 'https://www.example.com/base/'

- W3C Documentation reference: static-base-uri -
- - - fn:default-collation() -
- Returns the default collation URI as an xs:string
- Arguments and return type: - - - - - - - - - - - - - -
TypeDescription
NoneFunction takes no arguments
xs:stringThe default collation URI as a string
- Examples:
- - - - - - - - - -
ExpressionResult
default-collation()Returns the default collation URI as an xs:string, e.g., - 'http://www.w3.org/2005/xpath-functions/collation/codepoint'

- W3C Documentation reference: default-collation -
- - - fn:serialize(item()?, item()?) -
- Serializes an XML node, producing a string representation of the node
- Arguments and return type: - - - - - - - - - - - - - - - - - -
TypeDescription
item()?An XML node to serialize
item()?Serialization options as a map, with key-value pairs defining the - serialization parameters (optional)
xs:string?A string representation of the serialized XML node or an empty sequence - if the input is an empty sequence
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:serialize(<item>Item 1</item>)Returns '<item>Item 1</item>'
fn:serialize(<item>Item 1</item>, map{'method': 'xml', 'indent': - 'yes'})Returns an indented XML string representation of the input node

- W3C Documentation reference: serialize -
- - - fn:parse-xml-fragment(xs:string?) -
- Parses a string containing an XML fragment and returns a corresponding document - node
- Arguments and return type: - - - - - - - - - - - - - -
TypeDescription
xs:string?A string containing an XML fragment
document-node(element(*))?A document node containing the parsed XML fragment or an empty sequence - if the input is an empty sequence
- Examples:
- - - - - - - - - -
ExpressionResult
fn:parse-xml-fragment('<item>Item 1</item><item>Item - 2</item>')Returns a document node containing the parsed XML fragment

- W3C Documentation reference: parse-xml-fragment -
- - - fn:parse-xml(xs:string?) -
- Parses a string containing an XML document and returns a corresponding document - node
- Arguments and return type: - - - - - - - - - - - - - -
TypeDescription
xs:string?A string containing an XML document
document-node(element(*))?A document node containing the parsed XML content or an empty sequence - if the input is an empty sequence
- Examples:
- - - - - - - - - -
ExpressionResult
fn:parse-xml('<root><item>Item 1</item></root>')Returns a document node containing the parsed XML content

- W3C Documentation reference: parse-xml -
- - - fn:available-environment-variables() -
- Retrieves a sequence of the names of all available environment variables
- Arguments and return type: - - - - - - - - - - - - - -
TypeDescription
NoneNo argument is required
xs:string*A sequence of the names of all available environment variables
- Examples:
- - - - - - - - - -
ExpressionResult
fn:available-environment-variables()Returns a sequence of the names of all available environment variables -

- W3C Documentation reference: available-environment-variables -
- - - fn:environment-variable(xs:string) -
- Retrieves the value of an environment variable
- Arguments and return type: - - - - - - - - - - - - - -
TypeDescription
xs:stringThe name of the environment variable
xs:string?The value of the environment variable, or an empty sequence if the - variable is not set
- Examples:
- - - - - - - - - -
ExpressionResult
fn:environment-variable("PATH")Returns the value of the PATH environment variable, or an empty sequence - if the variable is not set

- W3C Documentation reference: environment-variable -
- - - fn:uri-collection(xs:string?) -
- Returns a sequence of URIs in a collection identified by a URI
- Arguments and return type: - - - - - - - - - - - - - -
TypeDescription
xs:string?The URI identifying the collection of URIs
xs:anyURI*A sequence of URIs in the collection
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:uri-collection("http://www.example.com/collection/")Returns a sequence of URIs in the collection identified by the specified - URI -
fn:uri-collection()Returns a sequence of URIs in the default collection, if one is defined -

- W3C Documentation reference: uri-collection -
- - fn:doc-available(xs:string?) -
- Tests whether an XML document is available at a given URI
- Arguments and return type: - - - - - - - - - - - - - -
TypeDescription
xs:string?The URI of the XML document to be tested
xs:booleanTrue if the XML document is available, otherwise false
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:doc-available("http://www.example.com/books.xml")Returns true if the XML document located at the specified URI is - available, otherwise false
fn:doc-available("")Returns true if the XML document containing the context item is - available, otherwise false

- W3C Documentation reference: doc-available -
- - - fn:doc(xs:string?) -
- Loads an XML document from a URI and returns the document node
- Arguments and return type: - - - - - - - - - - - - - -
TypeDescription
xs:string?The URI of the XML document to be loaded
document-node()?The document node of the loaded XML document
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:doc("http://www.example.com/books.xml")Loads the XML document located at the specified URI and returns its - document node
fn:doc("")Returns the document node of the XML document containing the context - item

- W3C Documentation reference: doc -
- - - fn:generate-id(node()?) -
- Returns a unique identifier for the specified node
- Arguments and return type: - - - - - - - - - - - - - -
TypeDescription
node()?Input node for which the unique identifier is to be generated
xs:stringUnique identifier for the specified node
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:generate-id(/bookstore/book[1])A unique identifier for the first <book> element in the - <bookstore>
fn:generate-id(.)A unique identifier for the context node

- W3C Documentation reference: generate-id -
- - - fn:idref(xs:string*) -
- Returns a sequence of nodes that are referenced by the specified IDREF attribute - values
- Arguments and return type: - - - - - - - - - - - - - -
TypeDescription
xs:string*Input sequence of IDREF attribute values
node()*Sequence of nodes referenced by the specified IDREF attribute values -
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:idref("reference42")Nodes referenced by the IDREF attribute value "reference42"
fn:idref(("ref1", "ref2", "ref3"))Nodes referenced by the IDREF attribute values "ref1", "ref2", and - "ref3"

- W3C Documentation reference: idref -
- - - fn:id(xs:string*) -
- Returns a sequence of elements with the specified ID attribute values
- Arguments and return type: - - - - - - - - - - - - - -
TypeDescription
xs:string*Input sequence of ID attribute values
element()*Sequence of elements with the specified ID attribute values
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:id("item42")Element with the ID attribute value "item42"
fn:id(("item1", "item2", "item3"))Elements with the ID attribute values "item1", "item2", and "item3"

- W3C Documentation reference: id -
- - - fn:lang(xs:string, node()?) -
- Returns true if the language of the specified node or its nearest ancestor matches - the given language code
- Arguments and return type: - - - - - - - - - - - - - -
TypeDescription
xs:stringLanguage code to test
node()?Optional node
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:lang("en", /book/title)true
fn:lang("fr", /book/title)false

- W3C Documentation reference: lang -
- - - - fn:in-scope-prefixes(element()) -
- Returns a sequence of strings representing the prefixes of the in-scope namespaces - for the specified element
- Arguments and return type: - - - - - - - - - -
TypeDescription
element()Element node
- Examples:
- - - - - - - - - -
ExpressionResult
fn:in-scope-prefixes(/*)("xml", "x")

- W3C Documentation reference: in-scope-prefixes -
- - - fn:namespace-uri-for-prefix(xs:string?, element()) -
- Returns the namespace URI associated with the given prefix, using the in-scope - namespaces for the specified element
- Arguments and return type: - - - - - - - - - - - - - -
TypeDescription
xs:string?Prefix
element()Element node
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:namespace-uri-for-prefix('x', /*)"http://www.example.com/ns"
fn:namespace-uri-for-prefix('', /*)""

- W3C Documentation reference: namespace-uri-for-prefix -
- - - fn:namespace-uri-from-QName(xs:QName?) -
- Returns the namespace URI of the given QName value, or an empty sequence if there's - no namespace URI
- Arguments and return type: - - - - - - - - - -
TypeDescription
xs:QName?QName value
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:namespace-uri-from-QName(fn:QName('http://www.example.com/ns', - 'x:local'))"http://www.example.com/ns"
fn:namespace-uri-from-QName(fn:QName('', 'local'))""

- W3C Documentation reference: namespace-uri-from-QName -
- - - fn:local-name-from-QName(xs:QName?) -
- Returns the local name of the given QName value, or an empty sequence if there's no - local name
- Arguments and return type: - - - - - - - - - -
TypeDescription
xs:QName?QName value
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:local-name-from-QName(fn:QName('http://www.example.com/ns', - 'x:local'))"local"
fn:local-name-from-QName(fn:QName('', 'local'))"local"

- W3C Documentation reference: local-name-from-QName -
- - - fn:prefix-from-QName(xs:QName?) -
- Returns the prefix of the given QName value, or an empty sequence if there's no - prefix
- Arguments and return type: - - - - - - - - - -
TypeDescription
xs:QName?QName value
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:prefix-from-QName(fn:QName('http://www.example.com/ns', 'x:local')) - "x"
fn:prefix-from-QName(fn:QName('', 'local'))()

- W3C Documentation reference: prefix-from-QName -
- - - fn:QName(xs:string?, xs:string) -
- Constructs an xs:QName value from a namespace URI and a lexical QName
- Arguments and return type: - - - - - - - - - - - - - -
TypeDescription
xs:string?Namespace URI
xs:stringLexical QName
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:QName('http://www.example.com/ns', 'x:local')QName("http://www.example.com/ns", "x:local")
fn:QName('', 'local')QName("", "local")

- W3C Documentation reference: QName -
- - - fn:resolve-QName(xs:string?, element()) -
- Resolves a QName by expanding a prefix using the in-scope namespaces of a given - element
- Arguments and return type: - - - - - - - - - - - - - -
TypeDescription
xs:string?QName to resolve
element()Element with in-scope namespaces
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:resolve-QName('x:local', $element)QName("http://www.example.com/ns", "local")
fn:resolve-QName('local', $element)QName("", "local")

- W3C Documentation reference: Resolve-QName -
- - - - fn:nilled(node) -
- Returns a Boolean value indicating whether the argument node is nilled
-
- W3C Documentation reference: #func-nilled - -
- - - - - -
-
-
- - - -
- - fn:for-each-pair(item()*, item()*, function(item(), item())) -
- Applies a processing function to pairs of items from two input sequences in a - pairwise fashion, resulting in a sequence of the same length as the shorter input - sequence
- Arguments and return type: - - - - - - - - - - - - - - - - - - - - - -
TypeDescription
item()*The first input sequence of items
item()*The second input sequence of items
function(item(), item())The processing function used to process pairs of items from the input - sequences
item()*The resulting sequence after applying the processing function to pairs - of items
- Examples:
- - - - - - - - - -
ExpressionResult
for-each-pair((1, 2, 3), ("a", "b"), function($item1, $item2) { - concat($item1, $item2) })Returns a sequence with the concatenated pairs of items: - ("1a", "2b") -

- W3C Documentation reference: for-each-pair -
- - - - - fn:filter(item()*, function(item()) -
- Filters a sequence of items based on a given predicate function
- Arguments and return type: - - - - - - - - - - - - - - - - - -
TypeDescription
item()*The input sequence of items
function(item())The predicate function used to filter the items
item()*The resulting sequence after applying the predicate function
- Examples:
- - - - - - - - - -
ExpressionResult
filter((1, 2, 3, 4), function($x) { $x mod 2 = 0 })Returns a new sequence containing only the even numbers from the input - sequence: (2, 4)

- W3C Documentation reference: filter -
- - - fn:for-each(item()*, function(item())) -
- Applies a specified function to each item in a sequence, returning a new - sequence
- Arguments and return type: - - - - - - - - - - - - - - - - - -
TypeDescription
item()*The input sequence of items
function(item())The function to apply to each item in the sequence
item()*The new sequence created by applying the function to each item in the - input sequence
- Examples:
- - - - - - - - - -
ExpressionResult
for-each((1, 2, 3, 4), function($x) { $x * 2 })Returns a new sequence with the result of doubling each number in the - input sequence: (2, 4, 6, 8)

- W3C Documentation reference: for-each -
- -
-
-
- -
- - - -
- - fn:apply(function(item()*), array(*)) -
- Applies a function to a sequence of arguments
- Arguments and return type: - - - - - - - - - - - - - -
TypeDescription
function(item()*) as item()*The function to be applied
SequenceSequence of arguments to pass to the function
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:apply(fn:concat#2, ('Hello', ' World'))'Hello World'
fn:apply(fn:substring#2, ('Hello World', 7))'World'

- W3C Documentation reference: Apply -
- - - fn:outermost(node()*) -
- Returns the outermost nodes of the input sequence that are not ancestors of any other - node in the input sequence
- Arguments and return type: - - - - - - - - - -
TypeDescription
node()*Sequence of nodes
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:outermost(//chapter)Sequence of outermost chapter nodes
fn:outermost(/book//*)Sequence of outermost nodes in the book

- W3C Documentation reference: outermost -
- - - fn:innermost(node()*) -
- Returns the innermost nodes of the input sequence that are not descendants of any other - node in the input sequence
- Arguments and return type: - - - - - - - - - -
TypeDescription
node()*Sequence of nodes
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:innermost(//chapter)Sequence of innermost chapter nodes
fn:innermost(/book//*)Sequence of innermost nodes in the book

- W3C Documentation reference: innermost -
- - - fn:has-children(node()?) -
- Returns true if the specified node has one or more children, otherwise returns false
- Arguments and return type: - - - - - - - - - -
TypeDescription
node()?Optional node
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:has-children(/book/chapter[1])true
fn:has-children(/book/chapter[1]/title)false

- W3C Documentation reference: has-children -
- - - fn:path(node()?) -
- Returns a string that represents the path of the specified node within the XML - document
- Arguments and return type: - - - - - - - - - -
TypeDescription
node()?Optional node
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:path(/book/chapter[1])/book/chapter[1]
fn:path(/book/chapter[2]/title)/book/chapter[2]/title

- W3C Documentation reference: path -
- - - fn:root(node()?) -
- Returns the root node of the tree that contains the specified node
- Arguments and return type: - - - - - - - - - -
TypeDescription
node()?Optional node
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:root(/book/chapter)<book> element (root node)
fn:root(/book/chapter[1])<book> element (root node)

- W3C Documentation reference: root -
- - - fn:namespace-uri(node()?) -
- Returns the namespace URI of the specified node
- Arguments and return type: - - - - - - - - - -
TypeDescription
node()?Optional node
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:namespace-uri(/example:root)"http://www.example.com/ns"
fn:namespace-uri(/a/b)""

- W3C Documentation reference: namespace-uri -
- - - fn:local-name(node()?) -
- Returns the local part of the name of the specified node
- Arguments and return type: - - - - - - - - - -
TypeDescription
node()?Optional node
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:local-name(/a/b)"b"
fn:local-name(/example:root)"root"

- W3C Documentation reference: local-name -
- - fn:name(node()?) -
- Returns the expanded QName of the specified node as a string
- Arguments and return type: - - - - - - - - - -
TypeDescription
node()?Optional node
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:name(/a/b)"b"
fn:name(/example:root)"example:root"

- W3C Documentation reference: name -
- - - - fn:document-uri(node?) -
- Returns the document URI of the given node or the context item
- Arguments and return type: - - - - - - - - - -
TypeDescription
node?Returns the document URI of the specified node or the context item (if no - argument is provided)
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:document-uri(/library/fiction:book[1])http://example.com/library.xml (assuming the document URI of the first - fiction:book element is "http://example.com/library.xml")
fn:document-uri(/library)http://example.com/library.xml (assuming the document URI of the library - element is "http://example.com/library.xml")

- W3C Documentation reference: Document-URI -
- - - fn:base-uri(node?) -
- Returns the base URI of the node or the context item
- Arguments and return type: - - - - - - - - - -
TypeDescription
node?Returns the base URI of the specified node or the context item (if no - argument is provided)
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:base-uri(/library/fiction:book[1])http://example.com/library.xml (assuming the base URI of the first - fiction:book element is "http://example.com/library.xml")
fn:base-uri(/library)http://example.com/library.xml (assuming the base URI of the library element - is "http://example.com/library.xml")

- W3C Documentation reference: Base-URI -
- - - fn:node-name(node?) -
- - Returns the name of a node as an xs:QName
- Arguments and return type: - - - - - - - - - -
TypeDescription
node?Returns the name of the specified node or the context item if the argument - is omitted
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:node-name(/library/*[1])fiction:book
fn:node-name(/library/fiction:book[1]/title)title

- W3C Documentation reference: Node-Name -
- -
-
-
- - - -
- - fn:not(item()*) -
- Returns the negation of the effective boolean value of the argument
- Arguments and return type: - - - - - - - - - -
TypeDescription
item()*Argument whose effective boolean value is to be negated
- Examples:
- - - - - - - - - - - - - - - - - - - - - -
ExpressionResult
fn:not(1)false
fn:not(0)true
fn:not('')true
fn:not('true')false

- W3C Documentation reference: Not -
- - - fn:false() -
- Returns the boolean value false
- Arguments and return type: - - - - - - - - - -
TypeDescription
NoneReturns the boolean value false
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:false()false
//item[fn:false()]Returns an empty node-set

- W3C Documentation reference: False -
- - - fn:true() -
- Returns the boolean value true
- Arguments and return type: - - - - - - - - - -
TypeDescription
NoneReturns the boolean value true
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:true()true
//item[fn:true()]Returns all <item> elements

- W3C Documentation reference: True -
- - - fn:boolean(item()*) -
- Converts the argument to a boolean value
- Arguments and return type: - - - - - - - - - -
TypeDescription
item()*Argument to be converted to a boolean value
- Examples:
- - - - - - - - - - - - - - - - - - - - - -
ExpressionResult
fn:boolean(1)true
fn:boolean(0)false
fn:boolean('')false
fn:boolean('true')true

- W3C Documentation reference: Boolean -
- - -
-
-
- - - -
- - fn:unparsed-text-available(xs:string?, xs:string?) -
- Determines if an unparsed text resource identified by a URI can be read using the given - encoding
- Arguments and return type: - - - - - - - - - - - - - - - - - -
TypeDescription
xs:string?The URI identifying the unparsed text resource
xs:string?The encoding to be used for reading the resource
xs:booleanIndicates if the resource can be read using the given encoding
- Examples:
- - - - - - - - - -
ExpressionResult
fn:unparsed-text-available("http://www.example.com/text.txt", "UTF-8")Returns true if the text resource identified by the specified URI can be - read using the specified encoding, otherwise false

- W3C Documentation reference: unparsed-text-available -
- - - fn:unparsed-text-lines(xs:string?, xs:string?) -
- Returns the contents of an unparsed text resource identified by a URI, split into - lines
- Arguments and return type: - - - - - - - - - - - - - - - - - -
TypeDescription
xs:string?The URI identifying the unparsed text resource
xs:string?The encoding to be used for reading the resource
xs:string*The lines of the unparsed text resource
- Examples:
- - - - - - - - - -
ExpressionResult
fn:unparsed-text-lines("http://www.example.com/text.txt", "UTF-8")Returns the lines of the text resource identified by the specified URI, - using the specified encoding

- W3C Documentation reference: unparsed-text-lines -
- - - fn:unparsed-text(xs:string?, xs:string?) -
- Returns the contents of an unparsed text resource identified by a URI
- Arguments and return type: - - - - - - - - - - - - - - - - - -
TypeDescription
xs:string?The URI identifying the unparsed text resource
xs:string?The encoding to be used for reading the resource
xs:string?The contents of the unparsed text resource
- Examples:
- - - - - - - - - -
ExpressionResult
fn:unparsed-text("http://www.example.com/text.txt", "UTF-8")Returns the contents of the text resource identified by the specified URI, - using the specified encoding

- W3C Documentation reference: unparsed-text -
- - - fn:escape-html-uri(xs:string?) -
- Escapes special characters in a URI to be used in HTML
- Arguments and return type: - - - - - - - - - -
TypeDescription
xs:string?URI to be escaped for use in HTML
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:escape-html-uri('https://example.com/search?q=test&lang=en')https://example.com/search?q=test&lang=en
fn:escape-html-uri('https://example.com/page?id=1§ion=2')https://example.com/page?id=1&section=2

- W3C Documentation reference: Escape-HTML-URI -
- - - fn:iri-to-uri(xs:string?) -
- Converts an IRI to a URI by escaping non-ASCII characters
- Arguments and return type: - - - - - - - - - -
TypeDescription
xs:string?IRI to be converted to a URI
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:iri-to-uri('https://example.com/ümlaut')https://example.com/%C3%BCmlaut
fn:iri-to-uri('https://example.com/日本語')https://example.com/%E6%97%A5%E6%9C%AC%E8%AA%9E

- W3C Documentation reference: IRI-to-URI -
- - - fn:encode-for-uri(xs:string?) -
- Encodes a string for use in a URI by escaping special characters
- Arguments and return type: - - - - - - - - - -
TypeDescription
xs:string?String to be encoded for use in a URI
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:encode-for-uri('hello world')hello%20world
fn:encode-for-uri('example?query=value¶m=value2')example%3Fquery%3Dvalue%26param%3Dvalue2

- W3C Documentation reference: Encode-for-URI -
- - - fn:resolve-uri(xs:string?, xs:string?) -
- Resolves a relative URI using a base URI
- Arguments and return type: - - - - - - - - - - - - - -
TypeDescription
xs:string?Relative URI to resolve
xs:string?Base URI to use for resolving (optional)
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:resolve-uri('example.html', 'https://www.example.com/folder/')https://www.example.com/folder/example.html
fn:resolve-uri('../images/pic.jpg', - 'https://www.example.com/folder/page.html')https://www.example.com/images/pic.jpg

- W3C Documentation reference: Resolve-URI -
- - - - fn:analyze-string(xs:string?, xs:string, xs:string?) -
- Analyzes the input string and returns an XML fragment containing match and non-match - elements
- Arguments and return type: - - - - - - - - - - - - - - - - - -
TypeDescription
xs:string?Input string to analyze
xs:stringRegular expression pattern to match
xs:string?Flags to control the regular expression matching (optional)
- Examples:
- - - - - - - - - -
ExpressionResult
fn:analyze-string('red,green,blue', ',') - <fn:analyze-string-result><fn:non-match>red</fn:non-match><fn:match>, - <fn:non-match>green</fn:non-match><fn:match>, - <fn:non-match>blue</fn:non-match></fn:analyze-string-result> -

- W3C Documentation reference: Analyze-String -
- - - fn:tokenize(xs:string?, xs:string, xs:string?) -
- Splits the input string into a sequence of substrings using the pattern as a delimiter -
- Arguments and return type: - - - - - - - - - - - - - - - - - -
TypeDescription
xs:string?Input string to tokenize
xs:stringRegular expression pattern to use as delimiter
xs:string?Flags to control the regular expression matching (optional)
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:tokenize('XPath 3.0, XQuery 3.0, XSLT 3.0', ',\\s*')('XPath 3.0', 'XQuery 3.0', 'XSLT 3.0')
fn:tokenize('apple,orange,banana', ',')('apple', 'orange', 'banana')

- W3C Documentation reference: Tokenize -
- - - fn:replace(xs:string?, xs:string, xs:string, xs:string?) -
- Replaces occurrences of the pattern in the input string with the replacement string
- Arguments and return type: - - - - - - - - - - - - - - - - - - - - - -
TypeDescription
xs:string?Input string to search within
xs:stringRegular expression pattern to match
xs:stringReplacement string
xs:string?Flags to control the regular expression matching (optional)
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:replace('XPath 3.0 is great', '3.0', '3.1')'XPath 3.1 is great'
fn:replace('Hello, World!', 'World', 'XPath')'Hello, XPath!'

- W3C Documentation reference: Replace -
- - - fn:matches(xs:string?, xs:string, xs:string?) -
- Returns true if the input string matches the regular expression pattern, otherwise false -
- Arguments and return type: - - - - - - - - - - - - - - - - - -
TypeDescription
xs:string?Input string to search within
xs:stringRegular expression pattern to match
xs:string?Flags to control the regular expression matching (optional)
- Examples:
- - - - - - - - - - - - - - - - - -
ExpressionResult
fn:matches('XPath 3.0', '\\d\\.\\d')true
fn:matches('Hello, World!', '[A-Z][a-z]*')true
fn:matches('example123', '\\d+', 'q')false

- W3C Documentation reference: Matches -
- - - fn:substring-after(xs:string?, xs:string?) -
- Returns the part of the first string that follows the first occurrence of the second - string
- Arguments and return type: - - - - - - - - - - - - - -
TypeDescription
xs:string?Input string to search within
xs:string?Substring to search for
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:substring-after('Hello, World!', ',')' World!'
fn:substring-after('XPath 3.0 is awesome!', '3.0')' is awesome!'

- W3C Documentation reference: Substring-After -
- - - fn:substring-before(xs:string?, xs:string?) -
- Returns the part of the first string that precedes the first occurrence of the second - string
- Arguments and return type: - - - - - - - - - - - - - -
TypeDescription
xs:string?Input string to search within
xs:string?Substring to search for
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:substring-before('Hello, World!', ',')'Hello'
fn:substring-before('XPath 3.0 is awesome!', '3.0')'XPath '

- W3C Documentation reference: Substring-Before -
- - - fn:ends-with(xs:string?, xs:string?) -
- Returns true if the first string ends with the second string, otherwise false
- Arguments and return type: - - - - - - - - - - - - - -
TypeDescription
xs:string?Input string to check
xs:string?Substring to check for at the end of the first string
- Examples:
- - - - - - - - - - - - - - - - - -
ExpressionResult
fn:ends-with('Hello, World!', 'World!')true
fn:ends-with('Hello, World!', 'Hello')false
fn:ends-with('XPath 3.0', '3.0')true

- W3C Documentation reference: Ends-With -
- - - fn:starts-with(xs:string?, xs:string?) -
- Returns true if the first string starts with the second string, otherwise false
- Arguments and return type: - - - - - - - - - - - - - -
TypeDescription
xs:string?Input string to check
xs:string?Substring to check for at the beginning of the first string
- Examples:
- - - - - - - - - - - - - - - - - -
ExpressionResult
fn:starts-with('Hello, World!', 'Hello')true
fn:starts-with('Hello, World!', 'World')false
fn:starts-with('XPath 3.0', 'XPath')true

- W3C Documentation reference: Starts-With -
- - - fn:contains(xs:string?, xs:string?) -
- Returns true if the first string contains the second string, otherwise false
- Arguments and return type: - - - - - - - - - - - - - -
TypeDescription
xs:string?Input string to search within
xs:string?Substring to search for
- Examples:
- - - - - - - - - - - - - - - - - -
ExpressionResult
fn:contains('Hello, World!', 'World')true
fn:contains('Hello, World!', 'world')false
fn:contains('XPath 3.0', '3.0')true

- W3C Documentation reference: Contains -
- - - fn:translate(xs:string?, xs:string, xs:string) -
- Returns the input string with specified characters replaced
- Arguments and return type: - - - - - - - - - - - - - - - - - -
TypeDescription
xs:string?Input string to be translated
xs:stringMap string with characters to replace
xs:stringTranslate string with replacement characters
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:translate('apple', 'aeiou', '12345')'1ppl2'
fn:translate('Hello, World!', 'HW', 'hw')'hello, world!'

- W3C Documentation reference: Translate -
- - - fn:lower-case(xs:string?) -
- Returns the input string with all characters converted to lowercase
- Arguments and return type: - - - - - - - - - -
TypeDescription
xs:string?Input string to convert to lowercase
- Examples:
- - - - - - - - - - - - - - - - - -
ExpressionResult
fn:lower-case('HELLO, WORLD!')'hello, world!'
fn:lower-case('XPath 3.0')'xpath 3.0'
fn:lower-case('BANANA')'banana'

- W3C Documentation reference: Lower-Case -
- - - fn:upper-case(xs:string?) -
- Returns the input string with all characters converted to uppercase
- Arguments and return type: - - - - - - - - - -
TypeDescription
xs:string?Input string to convert to uppercase
- Examples:
- - - - - - - - - - - - - - - - - -
ExpressionResult
fn:upper-case('Hello, World!')'HELLO, WORLD!'
fn:upper-case('XPath 3.0')'XPATH 3.0'
fn:upper-case('banana')'BANANA'

- W3C Documentation reference: Upper-Case -
- - - fn:normalize-unicode(xs:string?, xs:string) -
- Returns the input string with Unicode normalization applied
- Arguments and return type: - - - - - - - - - - - - - -
TypeDescription
xs:string?Input string to normalize
xs:stringNormalization form to apply (NFC, NFD, NFKC, NFKD)
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:normalize-unicode('Café', 'NFC')'Café'
fn:normalize-unicode('Café', 'NFD')'Café'

- W3C Documentation reference: Normalize-Unicode -
- - - fn:normalize-space(xs:string?) -
- Returns the input string with whitespace normalized
- Arguments and return type: - - - - - - - - - -
TypeDescription
xs:string?Input string to normalize whitespace
- Examples:
- - - - - - - - - - - - - - - - - -
ExpressionResult
fn:normalize-space(' Hello, World! ')'Hello, World!'
fn:normalize-space(' XPath 3.0 ')'XPath 3.0'
fn:normalize-space('\tbanana\t')'banana'

- W3C Documentation reference: Normalize-Space -
- - - fn:string-length(xs:string?) -
- Returns the length of the input string
- Arguments and return type: - - - - - - - - - -
TypeDescription
xs:string?Input string to calculate length
- Examples:
- - - - - - - - - - - - - - - - - -
ExpressionResult
fn:string-length('Hello, World!')13
fn:string-length('XPath 3.0')8
fn:string-length('banana')6

- W3C Documentation reference: String-Length -
- - - fn:substring(xs:string?, xs:double) -
- Returns a substring of the source string, starting from a specific location
- Arguments and return type: - - - - - - - - - - - - - -
TypeDescription
xs:string?Input source string
xs:doubleStarting location to extract the substring
- Examples:
- - - - - - - - - - - - - - - - - -
ExpressionResult
fn:substring('Hello, World!', 1, 5)'Hello'
fn:substring('XPath 3.0', 7)'3.0'
fn:substring('banana', 2, 3)'ana'

- W3C Documentation reference: Substring -
- - fn:string-join(xs:string*, xs:string) -
- Joins a sequence of strings with a specified separator, returning a single string
- Arguments and return type: - - - - - - - - - - - - - -
TypeDescription
xs:string*Input sequence of strings to join
xs:stringSeparator string to insert between joined strings
- Examples:
- - - - - - - - - - - - - - - - - -
ExpressionResult
fn:string-join(('apple', 'banana', 'orange'), ', ')'apple, banana, orange'
fn:string-join(('XPath', '3.0', 'Functions'), ' - ')'XPath - 3.0 - Functions'
fn:string-join(('A', 'B', 'C'), '')'ABC'

- W3C Documentation reference: String-Join -
- - - fn:concat(xs:anyAtomicType?, xs:anyAtomicType?, ...) -
- Concatenates two or more strings or atomic values, returning a single string
- Arguments and return type: - - - - - - - - - -
TypeDescription
xs:anyAtomicType?Input strings or atomic values to concatenate
- Examples:
- - - - - - - - - - - - - - - - - -
ExpressionResult
fn:concat('Hello', ' ', 'World')'Hello World'
fn:concat('I have ', 3, ' apples')'I have 3 apples'
fn:concat('XPath ', '3.0')'XPath 3.0'

- W3C Documentation reference: Concat -
- - - fn:codepoint-equal(xs:string?, xs:string?) -
- Compares two strings on a codepoint-by-codepoint basis and returns true if they are - equal, false otherwise
- Arguments and return type: - - - - - - - - - - - - - -
TypeDescription
xs:string?First string to compare
xs:string?Second string to compare
- Examples:
- - - - - - - - - - - - - - - - - -
ExpressionResult
fn:codepoint-equal('Hello', 'Hello')true
fn:codepoint-equal('Hello', 'hello')false
fn:codepoint-equal('apple', 'banana')false

- W3C Documentation reference: Codepoint-Equal -
- - - fn:compare(xs:string?, xs:string?) -
- Compares two strings and returns -1, 0, or 1 if the first string is less than, equal to, - or greater than the second string, respectively
- Arguments and return type: - - - - - - - - - - - - - -
TypeDescription
xs:string?First string to compare
xs:string?Second string to compare
- Examples:
- - - - - - - - - - - - - - - - - -
ExpressionResult
fn:compare('apple', 'banana')-1
fn:compare('apple', 'apple')0
fn:compare('banana', 'apple')1

- W3C Documentation reference: Compare -
- - - fn:string-to-codepoints(xs:string?) -
- Returns a sequence of Unicode code points for a given string
- Arguments and return type: - - - - - - - - - -
TypeDescription
xs:string?Input string
- Examples:
- - - - - - - - - - - - - - - - - -
ExpressionResult
fn:string-to-codepoints('Hello')(72, 101, 108, 108, 111)
fn:string-to-codepoints('( ͡° ͜ʖ ͡°)')(40, 32, 865, 176, 32, 860, 662, 32, 865, 176, 41)
fn:string-to-codepoints('😊')(128522)

- W3C Documentation reference: String-To-Codepoints -
- - - fn:codepoints-to-string(xs:integer*) -
- Constructs a string from a sequence of Unicode code points
- Arguments and return type: - - - - - - - - - -
TypeDescription
xs:integer*Sequence of Unicode code points
- Examples:
- - - - - - - - - - - - - - - - - -
ExpressionResult
fn:codepoints-to-string((72, 101, 108, 108, 111))Hello
codepoints-to-string((40, 32, 865, 176, 32, 860, 662, 32, 865, 176, 41)) - ( ͡° ͜ʖ ͡°)
fn:codepoints-to-string((128522))😊

- W3C Documentation reference: Codepoints-To-String -
- - - - fn:string(object) -
- Returns the string representation of the object argument
- Arguments and return type: - - - - - - - - - -
TypeDescription
stringThe object to convert to a string
Examples:
- - - - - - - - - - - - - -
ExpressionResult
string((1<0))false
string(.11)0.11

- W3C Documentation reference: String-Functions -
- - -
-
-
- - - -
- - - fn:format-number(numeric?, xs:string, item()?) -
- Returns a string that represents a formatted version of a number using a formatting - pattern and an optional - set of properties
- Arguments and return type: - - - - - - - - - - - - - - - - - - - - - -
TypeDescription
numeric?The number to format
xs:stringThe formatting pattern
item()?Optional: the set of properties for formatting the number
xs:stringThe formatted number as a string
- Examples:
- - - - - - - - - - - - - - - - - -
ExpressionResult
format-number(12345.678, "#,##0.00")Returns the formatted number: "12,345.68"
format-number(12345.678, "#,##0")Returns the formatted number: "12,346"
format-number(12345.678, "0.000")Returns the formatted number: "12345.678"

- W3C Documentation reference: format-number -
- - - - fn:format-integer(xs:integer?, xs:string) -
- Formats an integer value according to the supplied picture string
- Arguments and return type: - - - - - - - - - - - - - -
TypeDescription
xs:integer?Integer value to be formatted
xs:stringPicture string defining the format
- Examples:
- - - - - - - - - - - - - - - - - -
ExpressionResult
fn:format-integer(12345, '0,0')12,345
fn:format-integer(-1234, '0,0')-1,234
fn:format-integer(1234, '00-00-00')01-23-45

- W3C Documentation reference: Format-Integer -
- - - fn:round-half-to-even(numeric?) -
- Returns the closest integer to the given numeric value, rounding half-way cases to the - nearest even integer (also known as "bankers' rounding")
- Arguments and return type: - - - - - - - - - -
TypeDescription
numeric?Numeric value for which the rounded value will be calculated
- Examples:
- - - - - - - - - - - - - - - - - - - - - -
ExpressionResult
fn:round-half-to-even(3.5)4
fn:round-half-to-even(2.5)2
fn:round-half-to-even(-1.5)-2
fn:round-half-to-even(xs:decimal('1.25'), 1)1.2

- W3C Documentation reference: Round-Half-To-Even -
- - - fn:round(numeric?) -
- Returns the closest integer to the given numeric value, rounding half-way cases away - from zero
- Arguments and return type: - - - - - - - - - -
TypeDescription
numeric?Numeric value for which the rounded value will be calculated
- Examples:
- - - - - - - - - - - - - - - - - -
ExpressionResult
fn:round(3.14)3
fn:round(-4.7)-5
fn:round(xs:decimal('2.5'))3

- W3C Documentation reference: Round -
- - - fn:floor(numeric?) -
- Returns the largest integer less than or equal to the given numeric value
- Arguments and return type: - - - - - - - - - -
TypeDescription
numeric?Numeric value for which the floor value will be calculated
- Examples:
- - - - - - - - - - - - - - - - - -
ExpressionResult
fn:floor(3.14)3
fn:floor(-4.7)-5
fn:floor(xs:decimal('2.5'))2

- W3C Documentation reference: Floor -
- - - - fn:ceiling(numeric?) -
- Returns the smallest integer greater than or equal to the given numeric value
- Arguments and return type: - - - - - - - - - -
TypeDescription
numeric?Numeric value for which the ceiling value will be calculated
- Examples:
- - - - - - - - - - - - - - - - - -
ExpressionResult
fn:ceiling(3.14)4
fn:ceiling(-4.7)-4
fn:ceiling(xs:decimal('2.5'))3

- W3C Documentation reference: Ceiling -
- - - fn:abs(numeric?) -
- Returns the absolute value of the given numeric value
- Arguments and return type: - - - - - - - - - -
TypeDescription
numeric?Numeric value for which the absolute value will be calculated
- Examples:
- - - - - - - - - - - - - - - - - -
ExpressionResult
fn:abs(-42)42
fn:abs(3.14)3.14
fn:abs(xs:decimal('-5.5'))5.5

- W3C Documentation reference: Abs -
- - fn:number(item?) -
- Converts the given value to a number
- Arguments and return type: - - - - - - - - - -
TypeDescription
item?Returns the numeric value of the specified expression or the context item - (if no argument is provided)
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:number(/library/fiction:book[1]/@id)1 (if the first fiction:book element's id attribute is "1")
fn:number(/library/fiction:book[1]/price)19.99 (if the first fiction:book element's price element contains "19.99") -

- W3C Documentation reference: Number -
- - - - -
-
-
- - - -
- - fn:sort(item()*) -
- Sorts an array of items based on their atomic values
- Arguments and return type: - - - - - - - - - -
TypeDescription
ArrayThe array of items to be sorted
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:sort([10, 5, 20])[5, 10, 20]
fn:sort(['banana', 'apple', 'cherry'])['apple', 'banana', 'cherry']

- W3C Documentation reference: Sort -
- - - fn:fold-right(item()*, item()*, function(item(), item()*)) -
- Applies a processing function cumulatively to the items of a sequence from right to - left, so as to reduce the sequence to a single value
- Arguments and return type: - - - - - - - - - - - - - - - - - - - - - -
TypeDescription
item()*The input sequence of items
item()*The initial value, also known as the zero value
function(item(), item()*)The processing function used to accumulate the items
item()*The resulting single value after applying the processing function
- Examples:
- - - - - - - - - -
ExpressionResult
fold-right((1, 2, 3, 4), 0, function($current, $accumulator) { $accumulator - - $current })Returns the result of subtracting each number in the input sequence from - right to left: -2

- W3C Documentation reference: fold-right -
- - - fn:fold-left(item()*, item()*, function(item()*, item())) -
- Applies a processing function cumulatively to the items of a sequence from left to - right, so as to reduce the sequence to a single value
- Arguments and return type: - - - - - - - - - - - - - - - - - - - - - -
TypeDescription
item()*The input sequence of items
item()*The initial value, also known as the zero value
function(item()*, item())The processing function used to accumulate the items
item()*The resulting single value after applying the processing function
- Examples:
- - - - - - - - - -
ExpressionResult
fold-left((1, 2, 3, 4), 0, function($accumulator, $current) { $accumulator + - $current })Returns the sum of the numbers in the input sequence: 10

- W3C Documentation reference: fold-left -
- - - - - fn:last() -
- Returns the position of the last item in the current context sequence
- Arguments and return type: - - - - - - - - - -
TypeDescription
NoneReturns the position of the last item in the current context sequence
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
/library/fiction:book[position() = last()]Returns the last fiction:book element in the library
/library/fiction:book[last()]Returns the last fiction:book element in the library

- W3C Documentation reference: Last -
- - fn:position() -
- Returns the context position of the context item in the sequence currently being - processed
- Arguments and return type: - - - - - - - - - - - - - -
TypeDescription
NoneFunction takes no arguments
xs:integerThe position of the context item in the sequence
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
<items><item>Item 1</item><item>Item - 2</item></items>/item[position()=2]Returns '<item>Item 2</item>'
<items><item>Item 1</item><item>Item - 2</item></items>/item[position()=1]Returns '<item>Item 1</item>'

- W3C Documentation reference: position -
- - - fn:collection(xs:string?) -
- Returns a sequence of document nodes obtained from the collection identified by the - argument URI, or the - default collection if no argument is supplied.
- Arguments and return type: - - - - - - - - - - - - - -
TypeDescription
xs:string?The URI of the collection to retrieve (Optional)
document-node()*A sequence of document nodes obtained from the collection
- Examples:
- - - - - - - - - - - - - - - - - -
ExpressionResult
collection()Returns the sequence of document nodes from the default collection
collection("http://example.com/collection")Returns the sequence of document nodes from the collection identified by the - specified URI
count(collection())Returns the number of document nodes in the default collection

- W3C Documentation reference: collection -
- - - fn:sum(xs:anyAtomicType*, xs:anyAtomicType?) -
- Returns the sum of a sequence of numeric values
- Arguments and return type: - - - - - - - - - - - - - - - - - -
TypeDescription
xs:anyAtomicType*Input sequence of numeric values
xs:anyAtomicType?Value to return if the sequence is empty (optional)
xs:anyAtomicType?Sum of the input sequence
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:sum((10, 20, 30, 40, 50))150
fn:sum((), 0)0

- W3C Documentation reference: sum -
- - - fn:min(xs:anyAtomicType*) -
- Returns the minimum value of a sequence of atomic values, according to the ordering - rules for the value's - type
- Arguments and return type: - - - - - - - - - - - - - -
TypeDescription
xs:anyAtomicType*The input sequence of atomic values
xs:anyAtomicType?The minimum value of the input sequence, or the empty sequence if the input - sequence is empty -
- Examples:
- - - - - - - - - - - - - - - - - -
ExpressionResult
min((5, 1, 9, 3))Returns the minimum value: 1
min(())Returns the empty sequence: ()
min(("apple", "banana", "cherry"))Returns the minimum value (alphabetical order): "apple"

- W3C Documentation reference: min -
- - - fn:max(xs:anyAtomicType*) -
- Returns the maximum value of a sequence of atomic values, according to the ordering - rules for the value's - type
- Arguments and return type: - - - - - - - - - - - - - -
TypeDescription
xs:anyAtomicType*The input sequence of atomic values
xs:anyAtomicType?The maximum value of the input sequence, or the empty sequence if the input - sequence is empty -
- Examples:
- - - - - - - - - - - - - - - - - -
ExpressionResult
max((5, 1, 9, 3))Returns the maximum value: 9
max(())Returns the empty sequence: ()
max(("apple", "banana", "cherry"))Returns the maximum value (alphabetical order): "cherry"

- W3C Documentation reference: max -
- - - - fn:avg(xs:anyAtomicType*) -
- Computes the average of the numeric values in the input sequence
- Arguments and return type: - - - - - - - - - - - - - -
TypeDescription
xs:anyAtomicType*Input sequence of numeric values
xs:anyAtomicType?Average of the numeric values in the input sequence
- Examples:
- - - - - - - - - - - - - - - - - -
ExpressionResult
fn:avg((10, 20, 30, 40, 50))30
fn:avg((2.5, 3.5, 4.5))3.5
fn:avg(())empty sequence

- W3C Documentation reference: avg -
- - - fn:count(item()*) -
- Returns the number of items in the input sequence
- Arguments and return type: - - - - - - - - - - - - - -
TypeDescription
item()*Input sequence
xs:integerNumber of items in the input sequence
- Examples:
- - - - - - - - - - - - - - - - - -
ExpressionResult
fn:count(('apple', 'banana', 'orange'))3
fn:count(())0
fn:count((1, 2, 3, 4, 5))5

- W3C Documentation reference: count -
- - - fn:exactly-one(item()*) -
- Returns the single item in the input sequence or raises an error if the sequence is - empty or contains more than one item
- Arguments and return type: - - - - - - - - - - - - - -
TypeDescription
item()*Input sequence
item()Single item from the input sequence, otherwise an error is raised
- Examples:
- - - - - - - - - - - - - - - - - -
ExpressionResult
fn:exactly-one(('apple'))'apple'
fn:exactly-one(('apple', 'banana'))Error (more than one item)
fn:exactly-one(())Error (empty sequence)

- W3C Documentation reference: exactly-one -
- - - fn:one-or-more(item()*)+ -
- Returns the input sequence if it contains one or more items, otherwise raises an - error
- Arguments and return type: - - - - - - - - - - - - - -
TypeDescription
item()*Input sequence
item()+Sequence containing one or more items, otherwise an error is raised
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:one-or-more(('apple', 'banana'))('apple', 'banana')
fn:one-or-more(('pear'))('pear')

- W3C Documentation reference: one-or-more -
- - - fn:zero-or-one(item()*) -
- Returns the input sequence if it contains zero or one items, otherwise raises an - error
- Arguments and return type: - - - - - - - - - - - - - -
TypeDescription
item()*Input sequence
item()?Sequence containing zero or one item, otherwise an error is raised
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:zero-or-one(('apple'))('apple')
fn:zero-or-one(())()

- W3C Documentation reference: zero-or-one -
- - - fn:deep-equal(item()* , item()*) -
- Returns true if the two input sequences are deep-equal, meaning that they have the same - structure and atomic values
- Arguments and return type: - - - - - - - - - - - - - - - - - -
TypeDescription
item()*First input sequence
item()*Second input sequence
xs:booleanTrue if the input sequences are deep-equal, otherwise false
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:deep-equal((1, 2, 3), (1, 2, 3))true
fn:deep-equal((1, 2, 3), (1, 2, 4))false

- W3C Documentation reference: deep-equal -
- - - fn:index-of(xs:anyAtomicType*, xs:anyAtomicType) -
- Returns a sequence of integers indicating the positions of items in the input sequence - that are equal to the search item
- Arguments and return type: - - - - - - - - - - - - - - - - - -
TypeDescription
xs:anyAtomicType*Input sequence of atomic values
xs:anyAtomicTypeSearch item to find in the input sequence
xs:integer*Sequence of integers representing the positions of the search item in the - input sequence
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:index-of((3, 1, 4, 1, 5, 9, 2, 2, 3), 1)(2, 4)
fn:index-of(('apple', 'banana', 'orange', 'apple', 'grape', 'orange'), - 'apple')(1, 4)

- W3C Documentation reference: index-of -
- - - fn:distinct-values(xs:anyAtomicType*) -
- Returns a sequence of distinct atomic values from the input sequence
- Arguments and return type: - - - - - - - - - - - - - -
TypeDescription
xs:anyAtomicType*Input sequence of atomic values
xs:anyAtomicType*Distinct sequence of atomic values
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:distinct-values((3, 1, 4, 1, 5, 9, 2, 2, 3))(3, 1, 4, 5, 9, 2)
fn:distinct-values(('apple', 'banana', 'orange', 'apple', 'grape', - 'orange'))('apple', 'banana', 'orange', 'grape')

- W3C Documentation reference: distinct-values -
- - - fn:unordered(item()*) -
- Returns the items of a sequence in an implementation-dependent order
- Arguments and return type: - - - - - - - - - - - - - -
TypeDescription
item()*Input sequence
item()*Unordered sequence
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:unordered((3, 1, 4, 1, 5, 9, 2))(1, 2, 3, 4, 5, 9, 1) (example result; actual order may vary)
fn:unordered(('apple', 'banana', 'orange', 'grape'))('banana', 'apple', 'orange', 'grape') (example result; actual order may - vary)

- W3C Documentation reference: unordered -
- - - fn:subsequence(item()*, xs:double, xs:double) -
- Returns a subsequence of a given sequence starting at a specified position with a - specified length
- Arguments and return type: - - - - - - - - - - - - - - - - - - - - - -
TypeDescription
item()*Input sequence
xs:doubleStarting position
xs:doubleLength of subsequence
item()*Subsequence
- Examples:
- - - - - - - - - - - - - - - - - -
ExpressionResult
fn:subsequence((1, 2, 3, 4, 5), 2, 3)(2, 3, 4)
fn:subsequence(('apple', 'banana', 'orange', 'grape'), 1, 2)('apple', 'banana')
fn:subsequence(('red', 'blue', 'green', 'yellow'), 3)('green', 'yellow')

- W3C Documentation reference: subsequence -
- - - fn:reverse(item()*) -
- Reverses the order of items in a sequence
- Arguments and return type: - - - - - - - - - - - - - -
TypeDescription
item()*Input sequence
item()*Reversed sequence
- Examples:
- - - - - - - - - - - - - - - - - -
ExpressionResult
fn:reverse((1, 2, 3, 4))(4, 3, 2, 1)
fn:reverse(('apple', 'banana', 'orange'))('orange', 'banana', 'apple')
fn:reverse(('red', 'blue', 'green'))('green', 'blue', 'red')

- W3C Documentation reference: reverse -
- - - fn:remove(item()*, xs:integer) -
- Removes an item from a sequence at the specified position
- Arguments and return type: - - - - - - - - - - - - - - - - - -
TypeDescription
item()*Target sequence
xs:integerPosition of the item to remove
item()*New sequence with the item removed
- Examples:
- - - - - - - - - - - - - - - - - -
ExpressionResult
fn:remove((1, 2, 3, 4), 2)(1, 3, 4)
fn:remove(('apple', 'banana', 'orange'), 3)('apple', 'banana')
fn:remove((10, 20, 30), 1)(20, 30)

- W3C Documentation reference: remove -
- - - fn:insert-before(item()*, xs:integer, item()*) -
- Inserts items from the specified sequence into another sequence at a given position
- Arguments and return type: - - - - - - - - - - - - - - - - - - - - - -
TypeDescription
item()*Target sequence
xs:integerPosition at which to insert the items
item()*Sequence of items to insert
item()*New sequence with items inserted
- Examples:
- - - - - - - - - - - - - - - - - -
ExpressionResult
fn:insert-before((1, 3, 4), 2, (2))(1, 2, 3, 4)
fn:insert-before(('apple', 'orange'), 1, ('banana'))('banana', 'apple', 'orange')
fn:insert-before((10, 20, 30), 4, (40))(10, 20, 30, 40)

- W3C Documentation reference: insert-before -
- - - fn:tail(item()*) -
- Returns all items of the input sequence except the first one, or an empty sequence if - the input is empty or contains only one item
- Arguments and return type: - - - - - - - - - - - - - -
TypeDescription
item()*Sequence of items
item()*All items except the first one, or an empty sequence
- Examples:
- - - - - - - - - - - - - - - - - -
ExpressionResult
fn:tail((1, 2, 3))(2, 3)
fn:tail((1))()
fn:tail(/books/book/author)All authors in the "books" element except the first one

- W3C Documentation reference: tail -
- - - fn:head(item()*) -
- Returns the first item of the input sequence, or an empty sequence if the input is - empty
- Arguments and return type: - - - - - - - - - - - - - -
TypeDescription
item()*Sequence of items
item()?The first item of the sequence, or an empty sequence
- Examples:
- - - - - - - - - - - - - - - - - -
ExpressionResult
fn:head((1, 2, 3))1
fn:head(())()
fn:head(/books/book[1]/author)The first author of the first book in the "books" element

- W3C Documentation reference: head -
- - - fn:exists(item()*) -
- Returns true if the input sequence is not empty, otherwise returns false
- Arguments and return type: - - - - - - - - - - - - - -
TypeDescription
item()*Sequence of items
xs:booleanResult of the test (true or false)
- Examples:
- - - - - - - - - - - - - - - - - -
ExpressionResult
fn:exists((1, 2, 3))true
fn:exists(())false
fn:exists(//chapter[5])true if there are at least 5 chapters, otherwise false

- W3C Documentation reference: exists -
- - - fn:empty(item()*) -
- Returns true if the input sequence is empty, otherwise returns false
- Arguments and return type: - - - - - - - - - - - - - -
TypeDescription
item()*Sequence of items
xs:booleanResult of the test (true or false)
- Examples:
- - - - - - - - - - - - - - - - - -
ExpressionResult
fn:empty((1, 2, 3))false
fn:empty(())true
fn:empty(//chapter[100])true if there are less than 100 chapters, otherwise false

- W3C Documentation reference: empty -
- - - - - fn:data(item*) -
- Returns the simple value of an item or a sequence of items
- Arguments and return type: - - - - - - - - - -
TypeDescription
item?Returns the simple value of the specified item or the context item (if no - argument is provided)
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:data(/library/fiction:book[1]/title)The Catcher in the Rye
fn:data(/library/fiction:book[2]/author)Harper Lee

- W3C Documentation reference: Data -
- - -
-
-
- - - -
- - - - fn:implicit-timezone() -
- Returns the implicit timezone as an xs:dayTimeDuration
- Arguments and return type: - - - - - - - - - - - - - -
TypeDescription
NoneFunction takes no arguments
xs:dayTimeDurationThe implicit timezone as a dayTimeDuration
- Examples:
- - - - - - - - - -
ExpressionResult
implicit-timezone()Returns the implicit timezone as an xs:dayTimeDuration, e.g., '-PT7H' -

- W3C Documentation reference: implicit-timezone -
- - - fn:current-time() -
- Returns the current time with timezone
- Arguments and return type: - - - - - - - - - - - - - -
TypeDescription
NoneFunction takes no arguments
xs:timeThe current time with timezone
- Examples:
- - - - - - - - - -
ExpressionResult
current-time()Returns the current time with timezone, e.g., '13:45:30.123-07:00'

- W3C Documentation reference: current-time -
- - - fn:current-date() -
- Returns the current date with timezone
- Arguments and return type: - - - - - - - - - - - - - -
TypeDescription
NoneFunction takes no arguments
xs:dateThe current date with timezone
- Examples:
- - - - - - - - - -
ExpressionResult
current-date()Returns the current date with timezone, e.g., '2023-03-29-07:00'

- W3C Documentation reference: current-date -
- - - fn:current-dateTime() -
- Returns the current date and time with timezone
- Arguments and return type: - - - - - - - - - - - - - -
TypeDescription
NoneFunction takes no arguments
xs:dateTimeThe current date and time with timezone
- Examples:
- - - - - - - - - -
ExpressionResult
current-dateTime()Returns the current date and time with timezone, e.g., - '2023-03-29T12:34:56.789-07:00'

- W3C Documentation reference: current-dateTime -
- - - fn:format-time(xs:time?, xs:string, xs:string?, xs:string?, xs:string?) -
- Formats a time value according to a formatting picture string, with optional language, - calendar, and - country parameters.
- Arguments and return type: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
TypeDescription
xs:time?The time value to be formatted (Optional)
xs:stringThe formatting picture string
xs:string?The language for formatting (Optional)
xs:string?The calendar for formatting (Optional)
xs:string?The country for formatting (Optional)
xs:stringThe formatted time value as a string
- Examples:
- - - - - - - - - - - - - - - - - -
ExpressionResult
format-time(xs:time("14:30:00"), "[H]:[m]")"14:30"
format-time(xs:time("14:30:00"), "[H]:[m]:[s]")"14:30:00"
format-time(xs:time("14:30:00.456"), "[H]:[m]:[s].[f]")"14:30:00.456"

- W3C Documentation reference: format-time -
- - - - fn:format-date(xs:date?, xs:string, xs:string?, xs:string?, xs:string?) -
- Formats a date value using the provided picture string and optional language, - calendar, and country settings
- Arguments and return type: - - - - - - - - - - - - - - - - - - - - - - - - - -
TypeDescription
xs:date?Date value
xs:stringPicture string
xs:string?Language
xs:string?Calendar
xs:string?Country
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:format-date(xs:date('2023-04-01'), '[Y0001]-[M01]-[D01]')2023-04-01
fn:format-date(xs:date('2023-04-01'), '[MNn,*-3] [D], [Y]')Apr 1, 2023

- W3C Documentation reference: Format-Date -
- - - fn:format-dateTime(xs:dateTime?, xs:string, xs:string?, xs:string?, xs:string?) -
- Formats a dateTime value according to a formatting picture string, with optional - language, calendar, and - country parameters.
- Arguments and return type: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
TypeDescription
xs:dateTime?The dateTime value to be formatted (Optional)
xs:stringThe formatting picture string
xs:string?The language for formatting (Optional)
xs:string?The calendar for formatting (Optional)
xs:string?The country for formatting (Optional)
xs:stringThe formatted dateTime value as a string
- Examples:
- - - - - - - - - - - - - - - - - -
ExpressionResult
format-dateTime(xs:dateTime("2023-04-12T14:30:00"), "[Y]-[M]-[D]T[H]:[m]") - "2023-04-12T14:30"
format-dateTime(xs:dateTime("2023-04-12T14:30:00"), "[FNn, Nn] [D] [MNn] - [Y]")"Wednesday, 12 April 2023"
format-dateTime(xs:dateTime("2023-04-12T14:30:00.123"), - "[Y]-[M]-[D]T[H]:[m]:[s].[f]")"2023-04-12T14:30:00.123"

- W3C Documentation reference: format-dateTime -
- - - - fn:adjust-time-to-timezone(xs:time?, xs:dayTimeDuration?) -
- Adjusts the timezone of a time value
- Arguments and return type: - - - - - - - - - - - - - -
TypeDescription
xs:time?Time value
xs:dayTimeDuration?Timezone adjustment
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:adjust-time-to-timezone(xs:time('10:00:00-07:00'), - xs:dayTimeDuration('PT2H'))12:00:00-05:00
fn:adjust-time-to-timezone(xs:time('10:00:00Z'), - xs:dayTimeDuration('-PT3H'))07:00:00-03:00

- W3C Documentation reference: Adjust-Time-To-Timezone -
- - - - - fn:adjust-date-to-timezone(xs:date?, xs:dayTimeDuration?) -
- Adjusts the timezone of a date value
- Arguments and return type: - - - - - - - - - - - - - -
TypeDescription
xs:date?Date value
xs:dayTimeDuration?Timezone adjustment
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:adjust-date-to-timezone(xs:date('2023-01-01-07:00'), - xs:dayTimeDuration('PT2H'))2023-01-01-05:00
fn:adjust-date-to-timezone(xs:date('2023-01-01Z'), - xs:dayTimeDuration('-PT3H'))2022-12-31-03:00

- W3C Documentation reference: Adjust-Date-To-Timezone -
- - - fn:adjust-dateTime-to-timezone(xs:dateTime?, xs:dayTimeDuration?) -
- Adjusts the timezone of a dateTime value
- Arguments and return type: - - - - - - - - - - - - - -
TypeDescription
xs:dateTime?DateTime value
xs:dayTimeDuration?Timezone adjustment
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:adjust-dateTime-to-timezone(xs:dateTime('2023-01-01T12:00:00-07:00'), - xs:dayTimeDuration('PT2H'))2023-01-01T17:00:00-05:00
fn:adjust-dateTime-to-timezone(xs:dateTime('2023-01-01T12:00:00Z'), - xs:dayTimeDuration('-PT3H'))2023-01-01T09:00:00-03:00

- W3C Documentation reference: Adjust-DateTime-To-Timezone -
- - - fn:timezone-from-time(xs:time?) -
- Extracts the timezone component from an xs:time value
- Arguments and return type: - - - - - - - - - -
TypeDescription
xs:time?Time value
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:timezone-from-time(xs:time('12:00:00-07:00'))-PT7H
fn:timezone-from-time(xs:time('14:30:00+02:30'))PT2H30M

- W3C Documentation reference: Timezone-From-Time -
- - - fn:seconds-from-time(xs:time?) -
- Extracts the seconds component from an xs:time value
- Arguments and return type: - - - - - - - - - -
TypeDescription
xs:time?Time value
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:seconds-from-time(xs:time('21:45:30.5'))30.5
fn:seconds-from-time(xs:time('04:15:12.1'))12.1

- W3C Documentation reference: Seconds-From-Time -
- - - fn:minutes-from-time(xs:time?) -
- Extracts the minutes component from an xs:time value
- Arguments and return type: - - - - - - - - - -
TypeDescription
xs:time?Time value
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:minutes-from-time(xs:time('21:45:30'))45
fn:minutes-from-time(xs:time('04:15:12'))15

- W3C Documentation reference: Minutes-From-Time -
- - - fn:hours-from-time(xs:time?) -
- Extracts the hours component from an xs:time value
- Arguments and return type: - - - - - - - - - -
TypeDescription
xs:time?Time value
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:hours-from-time(xs:time('21:45:30'))21
fn:hours-from-time(xs:time('04:15:12'))4

- W3C Documentation reference: Hours-From-Time -
- - - fn:timezone-from-date(xs:date?) -
- Extracts the timezone component from an xs:date value
- Arguments and return type: - - - - - - - - - -
TypeDescription
xs:date?Date value
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:timezone-from-date(xs:date('2023-03-29+02:00'))PT2H
fn:timezone-from-date(xs:date('1980-12-15-05:00'))-PT5H

- W3C Documentation reference: Timezone-From-Date -
- - - fn:day-from-date(xs:date?) -
- Extracts the day component from an xs:date value
- Arguments and return type: - - - - - - - - - -
TypeDescription
xs:date?Date value
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:day-from-date(xs:date('2023-03-29'))29
fn:day-from-date(xs:date('1980-12-15'))15

- W3C Documentation reference: Day-From-Date -
- - - fn:month-from-date(xs:date?) -
- Extracts the month component from an xs:date value
- Arguments and return type: - - - - - - - - - -
TypeDescription
xs:date?Date value
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:month-from-date(xs:date('2023-03-29'))3
fn:month-from-date(xs:date('1980-12-15'))12

- W3C Documentation reference: Month-From-Date -
- - - fn:year-from-date(xs:date?) -
- Extracts the year component from an xs:date value
- Arguments and return type: - - - - - - - - - -
TypeDescription
xs:date?Date value
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:year-from-date(xs:date('2023-03-29'))2023
fn:year-from-date(xs:date('1980-12-15'))1980

- W3C Documentation reference: Year-From-Date -
- - - fn:timezone-from-dateTime(xs:dateTime?) -
- Extracts the timezone component from an xs:dateTime value
- Arguments and return type: - - - - - - - - - -
TypeDescription
xs:dateTime?DateTime value
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:timezone-from-dateTime(xs:dateTime('2023-03-29T12:30:45-07:00'))-PT7H
fn:timezone-from-dateTime(xs:dateTime('2023-12-15T18:45:30+03:30'))PT3H30M

- W3C Documentation reference: Timezone-From-DateTime -
- - - fn:seconds-from-dateTime(xs:dateTime?) -
- Extracts the seconds component from an xs:dateTime value
- Arguments and return type: - - - - - - - - - -
TypeDescription
xs:dateTime?DateTime value
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:seconds-from-dateTime(xs:dateTime('2023-03-29T12:30:45'))45
fn:seconds-from-dateTime(xs:dateTime('2023-12-15T18:45:30.5-08:00')) - 30.5

- W3C Documentation reference: Seconds-From-DateTime -
- - - fn:minutes-from-dateTime(xs:dateTime?) -
- Extracts the minutes component from an xs:dateTime value
- Arguments and return type: - - - - - - - - - -
TypeDescription
xs:dateTime?DateTime value
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:minutes-from-dateTime(xs:dateTime('2023-03-29T12:30:00'))30
fn:minutes-from-dateTime(xs:dateTime('2023-12-15T18:45:00-08:00'))45

- W3C Documentation reference: Minutes-From-DateTime -
- - - fn:hours-from-dateTime(xs:dateTime?) -
- Extracts the hours component from an xs:dateTime value
- Arguments and return type: - - - - - - - - - -
TypeDescription
xs:dateTime?DateTime value
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:hours-from-dateTime(xs:dateTime('2023-03-29T12:30:00'))12
fn:hours-from-dateTime(xs:dateTime('2023-12-15T18:45:00-08:00'))18

- W3C Documentation reference: Hours-From-DateTime -
- - - fn:day-from-dateTime(xs:dateTime?) -
- Extracts the day component from an xs:dateTime value
- Arguments and return type: - - - - - - - - - -
TypeDescription
xs:dateTime?DateTime value
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:day-from-dateTime(xs:dateTime('2023-03-29T12:30:00'))29
fn:day-from-dateTime(xs:dateTime('2023-12-15T18:45:00-08:00'))15

- W3C Documentation reference: Day-From-DateTime -
- - - fn:month-from-dateTime(xs:dateTime?) -
- Extracts the month component from an xs:dateTime value
- Arguments and return type: - - - - - - - - - -
TypeDescription
xs:dateTime?DateTime value
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:month-from-dateTime(xs:dateTime('2023-03-29T12:30:00'))3
fn:month-from-dateTime(xs:dateTime('2023-12-15T18:45:00-08:00'))12

- W3C Documentation reference: Month-From-DateTime -
- - - fn:year-from-dateTime(xs:dateTime?) -
- Extracts the year component from an xs:dateTime value
- Arguments and return type: - - - - - - - - - -
TypeDescription
xs:dateTime?DateTime value
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:year-from-dateTime(xs:dateTime('2023-03-29T12:30:00'))2023
fn:year-from-dateTime(xs:dateTime('2023-03-29T12:30:00-08:00'))2023

- W3C Documentation reference: Year-From-DateTime -
- - - - - fn:dateTime(xs:date?, xs:time?) -
- Constructs an xs:dateTime value from an xs:date and an xs:time value
- Arguments and return type: - - - - - - - - - - - - - -
TypeDescription
xs:date?Date value
xs:time?Time value
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:dateTime(xs:date('2023-03-29'), xs:time('12:30:00'))2023-03-29T12:30:00
fn:dateTime(xs:date('2023-03-29+05:00'), xs:time('12:30:00-08:00'))2023-03-29T12:30:00-08:00

- W3C Documentation reference: DateTime -
- - - fn:seconds-from-duration(xs:duration?) -
- Returns the seconds component of the duration
- Arguments and return type: - - - - - - - - - -
TypeDescription
xs:duration?Duration from which to extract the seconds component
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:seconds-from-duration(xs:dayTimeDuration('PT1H30M15.5S'))15.5
fn:seconds-from-duration(xs:dayTimeDuration('-PT2M10.3S'))-10.3

- W3C Documentation reference: Seconds-From-Duration -
- - - fn:minutes-from-duration(xs:duration?) -
- Returns the minutes component of the duration
- Arguments and return type: - - - - - - - - - -
TypeDescription
xs:duration?Duration from which to extract the minutes component
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:minutes-from-duration(xs:dayTimeDuration('PT2H30M'))30
fn:minutes-from-duration(xs:dayTimeDuration('-PT1H45M'))-45

- W3C Documentation reference: Minutes-From-Duration -
- - - fn:hours-from-duration(xs:duration?) -
- Returns the hours component of the duration
- Arguments and return type: - - - - - - - - - -
TypeDescription
xs:duration?Duration from which to extract the hours component
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:hours-from-duration(xs:dayTimeDuration('PT36H'))36
fn:hours-from-duration(xs:dayTimeDuration('-PT12H30M'))-12

- W3C Documentation reference: Hours-From-Duration -
- - - fn:days-from-duration(xs:duration?) -
- Returns the days component of the duration
- Arguments and return type: - - - - - - - - - -
TypeDescription
xs:duration?Duration from which to extract the days component
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:days-from-duration(xs:dayTimeDuration('P5DT12H30M'))5
fn:days-from-duration(xs:dayTimeDuration('-P2DT6H'))-2

- W3C Documentation reference: Days-From-Duration -
- - - - fn:months-from-duration(xs:duration?) -
- Returns the months component of the duration
- Arguments and return type: - - - - - - - - - -
TypeDescription
xs:duration?Duration from which to extract the months component
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:months-from-duration(xs:duration('P2Y3M4DT5H6M7S'))3
fn:months-from-duration(xs:duration('-P2Y3M4DT5H6M7S'))-3

- W3C Documentation reference: Months-From-Duration -
- - - fn:years-from-duration(xs:duration?) -
- Returns the years component of the duration
- Arguments and return type: - - - - - - - - - -
TypeDescription
xs:duration?Duration from which to extract the years component
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:years-from-duration(xs:duration('P2Y3M4DT5H6M7S'))2
fn:years-from-duration(xs:duration('-P2Y3M4DT5H6M7S'))-2

- W3C Documentation reference: Years-From-Duration -
-
-
-
- - - -
- - fn:trace(item()*, xs:string) -
- Outputs the provided label and value for diagnostic purposes and returns the value - unchanged
- Arguments and return type: - - - - - - - - - - - - - -
TypeDescription
item()*Value to be traced
xs:stringLabel to be output along with the value
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:trace(42, 'The value is:')Outputs "The value is: 42" for diagnostic purposes and returns 42
fn:trace(/library/book/title, 'Book title:')Outputs "Book title: [book title]" for diagnostic purposes and returns - the book title

- W3C Documentation reference: Trace -
- - - fn:error(xs:QName?, xs:string?, $error-object) -
- Raises an error with the specified error code, description, and error object
- Arguments and return type: - - - - - - - - - - - - - - - - - -
TypeDescription
xs:QName?Error code (optional)
xs:string?Description of the error (optional)
item()*Error object (optional)
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:error(xs:QName('err:FOER0000'))Raise error with the code err:FOER0000
fn:error(xs:QName('err:FOER0000'), 'Invalid value')Raise error with the code err:FOER0000 and description "Invalid value" -

- W3C Documentation reference: Error -
- -
-
-
- - - -
- - fn:xml-to-json(node(), map(*)) -
- Converts an XML representation of a JSON value to its JSON serialization
- Arguments and return type: - - - - - - - - - - - - - -
TypeDescription
node()XML representation of a JSON value
map(*)Options for the JSON serialization
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:xml-to-json('<map><string - key="name">John</string><number - key="age">30</number></map>')'{"name": "John", "age": 30}'
fn:xml-to-json('<array><number>1</number><number>2</number><number>3</number></array>') - '[1, 2, 3]'

- W3C Documentation reference: XML-to-JSON -
- - - fn:json-to-xml(item()) -
- Converts a JSON value to its XML representation
- Arguments and return type: - - - - - - - - - -
TypeDescription
item()JSON value to be converted
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:json-to-xml(map{"name": "John", "age": 30}) - <map> - <string key="name">John</string> - <number key="age">30</number> - </map> -
fn:json-to-xml([1, 2, 3]) - <array> - <number>1</number> - <number>2</number> - <number>3</number> - </array> -

- W3C Documentation reference: JSON-to-XML -
- - - fn:json-doc(xs:string) -
- Parses a JSON document from a URI and returns the corresponding value
- Arguments and return type: - - - - - - - - - -
TypeDescription
xs:stringURI of the JSON document to be parsed
- Examples:
- - - - - - - - - -
ExpressionResult
fn:json-doc('https://example.com/data.json')Parsed JSON value from the specified URI

- W3C Documentation reference: JSON-Doc -
- - - fn:parse-json(xs:string?) -
- Parses a JSON string and returns the corresponding value
- Arguments and return type: - - - - - - - - - -
TypeDescription
xs:string?JSON string to be parsed
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:parse-json('{"name": "John", "age": 30}')map{"name": "John", "age": 30}
fn:parse-json('[1, 2, 3]')[1, 2, 3]

- W3C Documentation reference: Parse-JSON -
- - - fn:function-arity(function(*)) -
- Returns the arity (number of arguments) of the specified function
- Arguments and return type: - - - - - - - - - - - - - -
TypeDescription
function(*)The function to obtain the arity for
xs:integerThe arity (number of arguments) of the specified function
- Examples:
- - - - - - - - - -
ExpressionResult
function-arity(fn:substring)Returns the arity of the substring function: 2 (since - substring accepts two required arguments: the input string and the - starting index)

- W3C Documentation reference: function-arity -
- - - fn:function-name(function(*)) -
- Returns the QName of the specified function
- Arguments and return type: - - - - - - - - - - - - - -
TypeDescription
function(*)The function to obtain the QName for
xs:QName?The QName of the specified function, or an empty sequence if the - function is anonymous
- Examples:
- - - - - - - - - -
ExpressionResult
function-name(fn:substring)Returns the QName of the substring function: - QName("http://www.w3.org/2005/xpath-functions", "substring") -

- W3C Documentation reference: function-name -
- - - fn:function-lookup(xs:QName, xs:integer) -
- Returns a function with the specified QName and arity if available, otherwise - returns an empty sequence
- Arguments and return type: - - - - - - - - - - - - - - - - - -
TypeDescription
xs:QNameFunction name as QName
xs:integerArity of the function
function(*)?A function with the specified QName and arity if available, otherwise an - empty sequence
- Examples:
- - - - - - - - - -
ExpressionResult
function-lookup(QName('http://www.w3.org/2005/xpath-functions', - 'substring'), 2)Returns the substring function with arity 2, if available

- W3C Documentation reference: function-lookup -
- - - fn:static-base-uri() -
- Returns the static base URI as an xs:anyURI, if available
- Arguments and return type: - - - - - - - - - - - - - -
TypeDescription
NoneFunction takes no arguments
xs:anyURI?The static base URI, if available; otherwise, an empty sequence
- Examples:
- - - - - - - - - -
ExpressionResult
static-base-uri()Returns the static base URI as an xs:anyURI, if available, e.g., - 'https://www.example.com/base/'

- W3C Documentation reference: static-base-uri -
- - - fn:default-collation() -
- Returns the default collation URI as an xs:string
- Arguments and return type: - - - - - - - - - - - - - -
TypeDescription
NoneFunction takes no arguments
xs:stringThe default collation URI as a string
- Examples:
- - - - - - - - - -
ExpressionResult
default-collation()Returns the default collation URI as an xs:string, e.g., - 'http://www.w3.org/2005/xpath-functions/collation/codepoint'

- W3C Documentation reference: default-collation -
- - - fn:serialize(item()?, item()?) -
- Serializes an XML node, producing a string representation of the node
- Arguments and return type: - - - - - - - - - - - - - - - - - -
TypeDescription
item()?An XML node to serialize
item()?Serialization options as a map, with key-value pairs defining the - serialization parameters (optional)
xs:string?A string representation of the serialized XML node or an empty sequence - if the input is an empty sequence
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:serialize(<item>Item 1</item>)Returns '<item>Item 1</item>'
fn:serialize(<item>Item 1</item>, map{'method': 'xml', 'indent': - 'yes'})Returns an indented XML string representation of the input node

- W3C Documentation reference: serialize -
- - - fn:parse-xml-fragment(xs:string?) -
- Parses a string containing an XML fragment and returns a corresponding document - node
- Arguments and return type: - - - - - - - - - - - - - -
TypeDescription
xs:string?A string containing an XML fragment
document-node(element(*))?A document node containing the parsed XML fragment or an empty sequence - if the input is an empty sequence
- Examples:
- - - - - - - - - -
ExpressionResult
fn:parse-xml-fragment('<item>Item 1</item><item>Item - 2</item>')Returns a document node containing the parsed XML fragment

- W3C Documentation reference: parse-xml-fragment -
- - - fn:parse-xml(xs:string?) -
- Parses a string containing an XML document and returns a corresponding document - node
- Arguments and return type: - - - - - - - - - - - - - -
TypeDescription
xs:string?A string containing an XML document
document-node(element(*))?A document node containing the parsed XML content or an empty sequence - if the input is an empty sequence
- Examples:
- - - - - - - - - -
ExpressionResult
fn:parse-xml('<root><item>Item 1</item></root>')Returns a document node containing the parsed XML content

- W3C Documentation reference: parse-xml -
- - - fn:available-environment-variables() -
- Retrieves a sequence of the names of all available environment variables
- Arguments and return type: - - - - - - - - - - - - - -
TypeDescription
NoneNo argument is required
xs:string*A sequence of the names of all available environment variables
- Examples:
- - - - - - - - - -
ExpressionResult
fn:available-environment-variables()Returns a sequence of the names of all available environment variables -

- W3C Documentation reference: available-environment-variables -
- - - fn:environment-variable(xs:string) -
- Retrieves the value of an environment variable
- Arguments and return type: - - - - - - - - - - - - - -
TypeDescription
xs:stringThe name of the environment variable
xs:string?The value of the environment variable, or an empty sequence if the - variable is not set
- Examples:
- - - - - - - - - -
ExpressionResult
fn:environment-variable("PATH")Returns the value of the PATH environment variable, or an empty sequence - if the variable is not set

- W3C Documentation reference: environment-variable -
- - - fn:uri-collection(xs:string?) -
- Returns a sequence of URIs in a collection identified by a URI
- Arguments and return type: - - - - - - - - - - - - - -
TypeDescription
xs:string?The URI identifying the collection of URIs
xs:anyURI*A sequence of URIs in the collection
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:uri-collection("http://www.example.com/collection/")Returns a sequence of URIs in the collection identified by the specified - URI -
fn:uri-collection()Returns a sequence of URIs in the default collection, if one is defined -

- W3C Documentation reference: uri-collection -
- - fn:doc-available(xs:string?) -
- Tests whether an XML document is available at a given URI
- Arguments and return type: - - - - - - - - - - - - - -
TypeDescription
xs:string?The URI of the XML document to be tested
xs:booleanTrue if the XML document is available, otherwise false
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:doc-available("http://www.example.com/books.xml")Returns true if the XML document located at the specified URI is - available, otherwise false
fn:doc-available("")Returns true if the XML document containing the context item is - available, otherwise false

- W3C Documentation reference: doc-available -
- - - fn:doc(xs:string?) -
- Loads an XML document from a URI and returns the document node
- Arguments and return type: - - - - - - - - - - - - - -
TypeDescription
xs:string?The URI of the XML document to be loaded
document-node()?The document node of the loaded XML document
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:doc("http://www.example.com/books.xml")Loads the XML document located at the specified URI and returns its - document node
fn:doc("")Returns the document node of the XML document containing the context - item

- W3C Documentation reference: doc -
- - - fn:generate-id(node()?) -
- Returns a unique identifier for the specified node
- Arguments and return type: - - - - - - - - - - - - - -
TypeDescription
node()?Input node for which the unique identifier is to be generated
xs:stringUnique identifier for the specified node
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:generate-id(/bookstore/book[1])A unique identifier for the first <book> element in the - <bookstore>
fn:generate-id(.)A unique identifier for the context node

- W3C Documentation reference: generate-id -
- - - fn:idref(xs:string*) -
- Returns a sequence of nodes that are referenced by the specified IDREF attribute - values
- Arguments and return type: - - - - - - - - - - - - - -
TypeDescription
xs:string*Input sequence of IDREF attribute values
node()*Sequence of nodes referenced by the specified IDREF attribute values -
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:idref("reference42")Nodes referenced by the IDREF attribute value "reference42"
fn:idref(("ref1", "ref2", "ref3"))Nodes referenced by the IDREF attribute values "ref1", "ref2", and - "ref3"

- W3C Documentation reference: idref -
- - - fn:id(xs:string*) -
- Returns a sequence of elements with the specified ID attribute values
- Arguments and return type: - - - - - - - - - - - - - -
TypeDescription
xs:string*Input sequence of ID attribute values
element()*Sequence of elements with the specified ID attribute values
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:id("item42")Element with the ID attribute value "item42"
fn:id(("item1", "item2", "item3"))Elements with the ID attribute values "item1", "item2", and "item3"

- W3C Documentation reference: id -
- - - fn:lang(xs:string, node()?) -
- Returns true if the language of the specified node or its nearest ancestor matches - the given language code
- Arguments and return type: - - - - - - - - - - - - - -
TypeDescription
xs:stringLanguage code to test
node()?Optional node
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:lang("en", /book/title)true
fn:lang("fr", /book/title)false

- W3C Documentation reference: lang -
- - - - fn:in-scope-prefixes(element()) -
- Returns a sequence of strings representing the prefixes of the in-scope namespaces - for the specified element
- Arguments and return type: - - - - - - - - - -
TypeDescription
element()Element node
- Examples:
- - - - - - - - - -
ExpressionResult
fn:in-scope-prefixes(/*)("xml", "x")

- W3C Documentation reference: in-scope-prefixes -
- - - fn:namespace-uri-for-prefix(xs:string?, element()) -
- Returns the namespace URI associated with the given prefix, using the in-scope - namespaces for the specified element
- Arguments and return type: - - - - - - - - - - - - - -
TypeDescription
xs:string?Prefix
element()Element node
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:namespace-uri-for-prefix('x', /*)"http://www.example.com/ns"
fn:namespace-uri-for-prefix('', /*)""

- W3C Documentation reference: namespace-uri-for-prefix -
- - - fn:namespace-uri-from-QName(xs:QName?) -
- Returns the namespace URI of the given QName value, or an empty sequence if there's - no namespace URI
- Arguments and return type: - - - - - - - - - -
TypeDescription
xs:QName?QName value
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:namespace-uri-from-QName(fn:QName('http://www.example.com/ns', - 'x:local'))"http://www.example.com/ns"
fn:namespace-uri-from-QName(fn:QName('', 'local'))""

- W3C Documentation reference: namespace-uri-from-QName -
- - - fn:local-name-from-QName(xs:QName?) -
- Returns the local name of the given QName value, or an empty sequence if there's no - local name
- Arguments and return type: - - - - - - - - - -
TypeDescription
xs:QName?QName value
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:local-name-from-QName(fn:QName('http://www.example.com/ns', - 'x:local'))"local"
fn:local-name-from-QName(fn:QName('', 'local'))"local"

- W3C Documentation reference: local-name-from-QName -
- - - fn:prefix-from-QName(xs:QName?) -
- Returns the prefix of the given QName value, or an empty sequence if there's no - prefix
- Arguments and return type: - - - - - - - - - -
TypeDescription
xs:QName?QName value
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:prefix-from-QName(fn:QName('http://www.example.com/ns', 'x:local')) - "x"
fn:prefix-from-QName(fn:QName('', 'local'))()

- W3C Documentation reference: prefix-from-QName -
- - - fn:QName(xs:string?, xs:string) -
- Constructs an xs:QName value from a namespace URI and a lexical QName
- Arguments and return type: - - - - - - - - - - - - - -
TypeDescription
xs:string?Namespace URI
xs:stringLexical QName
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:QName('http://www.example.com/ns', 'x:local')QName("http://www.example.com/ns", "x:local")
fn:QName('', 'local')QName("", "local")

- W3C Documentation reference: QName -
- - - fn:resolve-QName(xs:string?, element()) -
- Resolves a QName by expanding a prefix using the in-scope namespaces of a given - element
- Arguments and return type: - - - - - - - - - - - - - -
TypeDescription
xs:string?QName to resolve
element()Element with in-scope namespaces
- Examples:
- - - - - - - - - - - - - -
ExpressionResult
fn:resolve-QName('x:local', $element)QName("http://www.example.com/ns", "local")
fn:resolve-QName('local', $element)QName("", "local")

- W3C Documentation reference: Resolve-QName -
- - - - fn:nilled(node) -
- Returns a Boolean value indicating whether the argument node is nilled
-
- W3C Documentation reference: #func-nilled - -
- - - - - -
-
-
- - - -
- - fn:for-each-pair(item()*, item()*, function(item(), item())) -
- Applies a processing function to pairs of items from two input sequences in a - pairwise fashion, resulting in a sequence of the same length as the shorter input - sequence
- Arguments and return type: - - - - - - - - - - - - - - - - - - - - - -
TypeDescription
item()*The first input sequence of items
item()*The second input sequence of items
function(item(), item())The processing function used to process pairs of items from the input - sequences
item()*The resulting sequence after applying the processing function to pairs - of items
- Examples:
- - - - - - - - - -
ExpressionResult
for-each-pair((1, 2, 3), ("a", "b"), function($item1, $item2) { - concat($item1, $item2) })Returns a sequence with the concatenated pairs of items: - ("1a", "2b") -

- W3C Documentation reference: for-each-pair -
- - - - - fn:filter(item()*, function(item()) -
- Filters a sequence of items based on a given predicate function
- Arguments and return type: - - - - - - - - - - - - - - - - - -
TypeDescription
item()*The input sequence of items
function(item())The predicate function used to filter the items
item()*The resulting sequence after applying the predicate function
- Examples:
- - - - - - - - - -
ExpressionResult
filter((1, 2, 3, 4), function($x) { $x mod 2 = 0 })Returns a new sequence containing only the even numbers from the input - sequence: (2, 4)

- W3C Documentation reference: filter -
- - - fn:for-each(item()*, function(item())) -
- Applies a specified function to each item in a sequence, returning a new - sequence
- Arguments and return type: - - - - - - - - - - - - - - - - - -
TypeDescription
item()*The input sequence of items
function(item())The function to apply to each item in the sequence
item()*The new sequence created by applying the function to each item in the - input sequence
- Examples:
- - - - - - - - - -
ExpressionResult
for-each((1, 2, 3, 4), function($x) { $x * 2 })Returns a new sequence with the result of doubling each number in the - input sequence: (2, 4, 6, 8)

- W3C Documentation reference: for-each -
- -
-
-
- -
- - -
- - - - - - \ No newline at end of file diff --git a/Frontend/tools/xsd.html b/Frontend/tools/xsd.html deleted file mode 100644 index 52e559a..0000000 --- a/Frontend/tools/xsd.html +++ /dev/null @@ -1,85 +0,0 @@ - - - - - - - - - - - - - - - - - -
-
-
-
-

Online XSD tester

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

What is XSD?

-

XSD is a W3C recomedation that specifies how to describe the elements in XML document

-

XSD specifies data types, order and arity of elements in XML file.
- Main components of XSD file are:
- - Element declaration - declares properties of elements (names and namespaces)
- - Attribute declarations - declares properties of attributes
- - Simple and complex types:
- - - XSD provides 19 simple data types
- - - More complex types are declared using simple types and relationships
-

-
- - - -
- - - - \ No newline at end of file diff --git a/Frontend/tools/xslt.html b/Frontend/tools/xslt.html deleted file mode 100644 index e5dd2f0..0000000 --- a/Frontend/tools/xslt.html +++ /dev/null @@ -1,1153 +0,0 @@ - - - - - - - - - - - - - - - - - - - -
-
-
-
-

Online XSLT tester

-
-
-
- - - -
-
- - - -
-
- - procInfo
-
- - -
-
- -
- -
- -
-
-
-
- -
- - -
- -
-
-
-

What is XSLT?

-

XSLT is a language for transforming XML documents into other documents such as XML, HTML and many - other.

- -
- -
-

XSLT 2.0 introduced a host of new features:
- - Strong typing and all XSD types
- - The ability to define and write own functions
- - node-set() - replaces XSLT's 1.0 Result Tree Fragment, creating fully functional tree
- - New functions and operators:
- - - XPath 2.0
- - - String processing and regular expressions
- - - Grouping (for-each-group function) - - - String processing
- - - Sequence type
-

-

XSLT 3.0 further improved the formula:
- - Streaming tranformations (previously file had to be loaded to memory to be processed)
- - Packages - improve the modularity of large stylesheets
- - Improved error handling (for example <xsl:try>)
- - Support for maps and arrays, enabling XSLT to handle JSON as well as XML
- - Functions can now be arguments to other (higher-order) functions -

-
-
- -

XSLT 1.0, 2.0 & 3.0 functions

- - - -
- -
- - - [1.0] xsl:template -
-
- defines a set of rules to be applied to specified node.
-
- W3C Documentation reference: Defining-Template-Rules -
-
- - - - [1.0] xsl:apply-templates -
-
- applies a template rule to the current element or to element's child nodes.
-
- W3C Documentation reference: Applying-Template-Rules -
-
- - - - [1.0] xsl:apply-imports -
-
- Applies a template rule from an imported style sheet
-
- W3C Documentation reference: #apply-imports -
-
- - - - [1.0] xsl:apply-templates -
-
- Applies a template rule to the current element or to the current element's child nodes -
-
- W3C Documentation reference: Applying-Template-Rules -
-
- - - - [1.0] xsl:call-template -
-
- Calls a named template
-
- W3C Documentation reference: #named-templates -
-
- - - - [2.0] xsl:next-match -
-
- overrides another template rule (considers all other template rules of lower import - precedence/priority)
-
- W3C Documentation reference: #element-next-match -
-
-
- - - [3.0] xsl:mode -
-
- Allows properties of a mode to be defined
-
- W3C Documentation reference: #element-mode -
-
-
- - - [3.0] xsl:override -
-
- Allows using package to override selected components from a used package
-
- W3C Documentation reference: #element-override -
-
-
- - - [3.0] xsl:package -
-
- Defines a set of stylesheet modules that can be compiled as a unit
-
- W3C Documentation reference: #element-package -
-
-
- - - [3.0] xsl:accept -
-
- Allows a package to restrict the visibility of components exposed by a package
-
- W3C Documentation reference: #element-accept -
-
-
- - - [3.0] xsl:global-context-item -
-
- Declares whether a global context item is required, and if so, to declare its - required type
-
- W3C Documentation reference: #element-global-context-item -
-
-
- - -
-
-
- -
- - - [1.0] xsl:for-each -
-
- Loops through each node in a specified node set
-
- W3C Documentation reference: #for-each -
-
- - - - [1.0] xsl:if -
-
- Contains a template that will be applied only if a specified condition is true
-
- W3C Documentation reference: Conditional-Processing -
-
- - - - [1.0] xsl:choose -
-
- Used in conjunction with <
-
- W3C Documentation reference: Conditional-Processing-with-xsl:choose -
-
- - - - [1.0] xsl:when -
-
- Specifies an action for the <
-
- W3C Documentation reference: Conditional-Processing-with-xsl:choose -
-
- - - - [1.0] xsl:otherwise -
-
- Specifies a default action for the <
-
- W3C Documentation reference: Conditional-Processing-with-xsl:choose -
-
- - - - [2.0] xsl:for-each-group -
-
- Groups elements and performs operations once for each group
-
- W3C Documentation reference: #element-for-each-group -
-
-
- - - [3.0] xsl:iterate -
-
- Used to iterate over a sequence, with the option to set parameters for use in the - next iteration
-
- W3C Documentation reference: #element-iterate -
-
-
- - - [3.0] xsl:break -
-
- Causes premature completion before the entire input sequence has been processed
-
- W3C Documentation reference: #element-break -
-
-
- - - [3.0] xsl:next-iteration -
-
- The contents are a set of xsl:with-param elements defining the values of the - iteration parameters to be used on the next iteration
-
- W3C Documentation reference: #element-next-iteration -
-
-
- - - [3.0] xsl:on-completion -
-
- Defines processing to be carried out when the input sequence is exhausted
-
- W3C Documentation reference: #element-on-completion -
-
-
- - - [3.0] xsl:fork -
-
- The result of the xsl:fork instruction is the sequence formed by concatenating the - results of evaluating each of its contained instructions, in order
-
- W3C Documentation reference: #element-fork -
-
-
- - - [3.0] xsl:on-empty -
-
- Outputs the enclosed content only if the containing sequence generates no "ordinary" - content
-
- W3C Documentation reference: #element-on-empty -
-
-
- - - [3.0] xsl:on-non-empty -
-
- Outputs the enclosed content only if the containing sequence also generates - "ordinary" content
-
- W3C Documentation reference: #element-on-non-empty -
-
-
- - - [3.0] xsl:try -
-
- Allows recovery from dynamic errors occurring within the expression it wraps
-
- W3C Documentation reference: #element-try -
-
-
- - - [3.0] xsl:catch -
-
- http://www.w3.org/TR/xslt-30/#element-catchIn conjunction with xsl:try, handles - dynamic errors
-
- W3C Documentation reference: #element-catchIn conjunction with xsl:try, handles dynamic errors -
-
-
- - - [3.0] xsl:context-item -
-
- Used to declare the initial context item for a template
-
- W3C Documentation reference: #element-context-item -
-
-
- - -
-
-
- -
- - - [1.0] xsl:attribute -
-
- Adds an attribute
-
- W3C Documentation reference: #creating-attributes -
-
- - - - [1.0] xsl:attribute-set -
-
- Defines a named set of attributes
-
- W3C Documentation reference: #attribute-sets -
-
- - - - [1.0] xsl:copy -
-
- Creates a copy of the current node (without child nodes and attributes)
-
- W3C Documentation reference: #copying -
-
- - - - [1.0] xsl:number -
-
- Determines the integer position of the current node and formats a number
-
- W3C Documentation reference: #number -
-
- - - - [1.0] xsl:value-of -
-
- Extracts the value of a selected node
-
- W3C Documentation reference: #value-of -
-
- - - - [1.0] xsl:text -
-
- Writes literal text to the output
-
- W3C Documentation reference: Creating-Text -
-
- - - - [1.0] xsl:comment -
-
- Creates a comment node in the result tree
-
- W3C Documentation reference: Creating-Comments -
-
- - - - [1.0] xsl:processing-instruction -
-
- Writes a processing instruction to the output
-
- W3C Documentation reference: Creating-Processing-Instructions -
-
- - - - [1.0] xsl:key -
-
- Declares a named key that can be used in the style sheet with the key() function
-
- W3C Documentation reference: #key -
-
- - - - [1.0] xsl:decimal-format -
-
- Defines the characters and symbols to be used when converting numbers into strings, with - the format-number() function
-
- W3C Documentation reference: #format-number -
-
- - - - [1.0] xsl:preserve-space -
-
- Defines the elements for which white space should be preserved
-
- W3C Documentation reference: #strip -
-
- - - - [1.0] xsl:strip-space -
-
- Defines the elements for which white space should be removed
-
- W3C Documentation reference: #strip -
-
- - - - [1.0] xsl:sort -
-
- Sorts the output
-
- W3C Documentation reference: #sorting -
-
- - - - [1.0] xsl:output -
-
- Defines the format of the output document
-
- W3C Documentation reference: #output -
-
- - - - [2.0] xsl:for-each-group -
-
- Sorts given sequence
-
- W3C Documentation reference: #element-perform-sort -
-
-
- - - [2.0] xsl:result-document -
-
- Creates a final result tree
-
- W3C Documentation reference: #element-result-document -
-
-
- - - [2.0] xsl:character-map -
-
- Allows a specific character appearing in the final result tree to be substituted by - a specified string of characters
-
- W3C Documentation reference: #element-character-map -
-
-
- - - [2.0] xsl:output-character -
-
- Defines characters and their replacements to be used by character-map
-
- W3C Documentation reference: #element-character-map -
-
-
- - - [3.0] xsl:merge -
-
- Merges two or more pre-sorted input files
-
- W3C Documentation reference: #element-merge -
-
-
- - - [3.0] xsl:merge-action -
-
- Defines action to be carried out on each merged group
-
- W3C Documentation reference: #element-merge-action -
-
-
- - - [3.0] xsl:merge-key -
-
- Used to define the merge keys on which the input sequences are sorted
-
- W3C Documentation reference: #element-merge-key -
-
-
- - - [3.0] xsl:merge-source -
-
- Describes the input source for an xsl:merge instruction
-
- W3C Documentation reference: #element-merge-source -
-
-
- - -
-
-
- -
- - - [1.0] xsl:stylesheet -
-
- Defines the root element of a style sheet
-
- W3C Documentation reference: #stylesheet-element -
-
- - - - [1.0] xsl:transform -
-
- Defines the root element of a style sheet
-
- W3C Documentation reference: #stylesheet-element -
-
- - - - [1.0] xsl:import -
-
- Imports the contents of one style sheet into another. Note: An imported style sheet has - lower precedence than the importing style sheet
-
- W3C Documentation reference: #import -
-
- - - - [1.0] xsl:include -
-
- Includes the contents of one style sheet into another. Note: An included style sheet has - the same precedence as the including style sheet
-
- W3C Documentation reference: #include -
-
- - - - [1.0] xsl:namespace-alias -
-
- Replaces a namespace in the style sheet to a different namespace in the output
-
- W3C Documentation reference: #literal-result-element -
-
- - - - [1.0] xsl:element -
-
- Creates an element node in the output document
-
- W3C Documentation reference: Creating-Elements-with-xsl:element -
-
- - - -
-
-
- -
- - - [1.0] xsl:param -
-
- Declares a local or global parameter
-
- W3C Documentation reference: #variables -
-
- - - - [1.0] xsl:variable -
-
- Declares a local or global variable
-
- W3C Documentation reference: #variables -
-
- - - - [1.0] xsl:with-param -
-
- Defines the value of a parameter to be passed into a template
-
- W3C Documentation reference: Passing-Parameters-to-Templates -
-
- - - - [1.0] xsl:copy-of -
-
- Creates a copy of the current node (with child nodes and attributes)
-
- W3C Documentation reference: #copy-of -
-
- - - - [2.0] xsl:document -
-
- Creates a new document node
-
- W3C Documentation reference: #element-document -
-
-
- - - [2.0] xsl:namespace -
-
- Creates a namespace node
-
- W3C Documentation reference: #element-namespace -
-
-
- - - [2.0] xsl:namespace-alias -
-
- Declares that a literal namespace URI is being used as an alias for a target - namespace URI
-
- W3C Documentation reference: #element-namespace-alias -
-
-
- - - [2.0] xsl:sequence -
-
- Constructs a sequence of nodes and/or atomic values
-
- W3C Documentation reference: #element-sequence -
-
-
- - -
-
- -
- -
- - - [2.0] xsl:analyze-string -
-
- Identifies substrings that match given regex
-
- W3C Documentation reference: #element-analyze-string -
-
-
- - - [2.0] xsl:matching-substring -
-
- Used in conjunction with analize-string, returns matching substrings
-
- W3C Documentation reference: #element-analyze-string -
-
-
- - - [2.0] xsl:non-matching-substring -
-
- Used in conjunction with analize-string, returns substrings that didn't match the regex
-
- W3C Documentation reference: #element-analyze-string -
-
-
- - -
-
- -
- -
- - - [2.0] xsl:function -
-
- Declares a function that can be called from any XPath expression in the stylesheet
-
- W3C Documentation reference: #element-function -
-
-
- - - [3.0] xsl:evaluate -
-
- Allows dynamic evaluation of XPath expressions from a string
-
- W3C Documentation reference: #element-evaluate -
-
-
- - - [3.0] xsl:assert -
-
- Asserts a XPath expression, optionally throwing a dynamic error
-
- W3C Documentation reference: #element-assert -
-
-
- - -
-
-
- -
- - - [1.0] xsl:message -
-
- Writes a message to the output (used to report errors)
-
- W3C Documentation reference: #message -
-
- - - - [1.0] xsl:fallback -
-
- Specifies an alternate code to run if the processor does not support an XSLT element
-
- W3C Documentation reference: #fallback -
-
- - - - [3.0] xsl:map -
-
- Used to construct a new map
-
- W3C Documentation reference: #element-map -
-
-
- - - [3.0] xsl:map-entry -
-
- Used to construct a singleton map (one key and one value)
-
- W3C Documentation reference: #element-map-entry -
-
-
- - - [3.0] xsl:expose -
-
- Used to modify the visibility of selected components within a package
-
- W3C Documentation reference: #element-expose -
-
-
- - - [3.0] xsl:accumulator -
-
- Defines a rule that is to be applied while the document is being sequentially processed
-
- W3C Documentation reference: #element-accumulator -
-
-
- - - [3.0] xsl:accumulator-rule -
-
- Defines a rule for an xsl:accumulator
-
- W3C Documentation reference: #element-accumulator-rule -
-
-
- - - [3.0] xsl:source-document -
-
- Initiates streamed or unstreamed processing of a source document
-
- W3C Documentation reference: #element-source-document -
-
-
- - - [3.0] xsl:use-package -
-
- http://www.w3.org/TR/xslt-30/#element-use-package
-
- W3C Documentation reference: #element-use-package -
-
-
- - - [3.0] xsl:where-populated -
-
- Allows conditional content construction to be made streamable
-
- W3C Documentation reference: #element-where-populated -
-
-
- - - [3.0] xsl:accept -
-
- Allows a package to restrict the visibility of components exposed by a package that it uses
-
- W3C Documentation reference: #element-accept -
-
-
-
- - -
- -
- -
- - - - \ No newline at end of file diff --git a/Frontend/tsconfig.app.json b/Frontend/tsconfig.app.json new file mode 100644 index 0000000..3e5b621 --- /dev/null +++ b/Frontend/tsconfig.app.json @@ -0,0 +1,12 @@ +{ + "extends": "@vue/tsconfig/tsconfig.dom.json", + "include": ["env.d.ts", "src/**/*", "src/**/*.vue"], + "exclude": ["src/**/__tests__/*"], + "compilerOptions": { + "composite": true, + "baseUrl": ".", + "paths": { + "@/*": ["./src/*"] + } + } +} diff --git a/Frontend/tsconfig.json b/Frontend/tsconfig.json new file mode 100644 index 0000000..877be66 --- /dev/null +++ b/Frontend/tsconfig.json @@ -0,0 +1,29 @@ +{ + "extends": "@vue/tsconfig/tsconfig.json", + "compilerOptions": { + "allowJs": true, + "baseUrl": ".", + "paths": { + "@/*": ["./src/*"], + "@components/*":["./src/components/*"], + "@views/*":["./src/views/*"], + "@assets/*":["./src/assets/*"], + } + }, + "references": [ + { + "path": "./tsconfig.node.json" + }, + { + "path": "./tsconfig.app.json" + } + ], + "include": [ + "src/**/*.ts", + "src/**/*.tsx", + "src/**/*.vue", + "tests/**/*.ts", + "tests/**/*.tsx" + ], + "exclude": ["node_modules"], +} diff --git a/Frontend/tsconfig.node.json b/Frontend/tsconfig.node.json new file mode 100644 index 0000000..bb67dfc --- /dev/null +++ b/Frontend/tsconfig.node.json @@ -0,0 +1,15 @@ +{ + "extends": "@tsconfig/node18/tsconfig.json", + "include": [ + "vite.config.*", + "vitest.config.*", + "cypress.config.*", + "nightwatch.conf.*", + "playwright.config.*" + ], + "compilerOptions": { + "composite": true, + "module": "ESNext", + "types": ["node"] + } +} diff --git a/Frontend/vite.config.ts b/Frontend/vite.config.ts new file mode 100644 index 0000000..adf0c13 --- /dev/null +++ b/Frontend/vite.config.ts @@ -0,0 +1,40 @@ +import { fileURLToPath, URL } from 'node:url' + +import { defineConfig } from 'vite' +import vue from '@vitejs/plugin-vue' + +// https://vitejs.dev/config/ +export default defineConfig({ + plugins: [ + vue(), + ], + server:{ + port: 80, + host: '0.0.0.0', + proxy : { + '/java': { + target:'http://xmltools-backend:8081/', + rewrite: (path) => path.replace(/^\/java/, ''), + }, + '/libxml': { + target:'http://xmltools-libxml-backend/', + rewrite: (path) => path.replace(/^\/libxml/, ''), + }, + '/mock': { + target:'http://xmltools-mocked-services:8097/', + rewrite: (path) => path.replace(/^\/mock/, ''), + }, + '/api/mock': { + target: 'http://xmltools-mocked-services:8097/' + } + }, + }, + resolve: { + alias: { + '@': fileURLToPath(new URL('./src', import.meta.url)), + '@components': fileURLToPath(new URL('./src/components', import.meta.url)), + '@views': fileURLToPath(new URL('./src/views', import.meta.url)), + '@assets': fileURLToPath(new URL('./src/assets', import.meta.url)), + } + } +}) diff --git a/Frontend/assets/samples/sampleXml.xml b/Samples/xquery/sampleXML.xml similarity index 100% rename from Frontend/assets/samples/sampleXml.xml rename to Samples/xquery/sampleXML.xml diff --git a/Samples/xquery/xquery.curl b/Samples/xquery/xquery.curl new file mode 100644 index 0000000..2e4c4fc --- /dev/null +++ b/Samples/xquery/xquery.curl @@ -0,0 +1,4 @@ +url = "localhost/java/xquery" +#url = "localhost/libxml/xslt" +data = "@xquery.json" +request = POST diff --git a/Samples/xquery/xquery.json b/Samples/xquery/xquery.json new file mode 100644 index 0000000..f4d96bb --- /dev/null +++ b/Samples/xquery/xquery.json @@ -0,0 +1,6 @@ +{ + "data": "John67Anna69", + "process": "for $x in //person return string($x/name)", + "processor": "saxon", + "version": "3.1" +} diff --git a/Samples/xsd/sample.xsd b/Samples/xsd/sample.xsd new file mode 100644 index 0000000..2ea41fb --- /dev/null +++ b/Samples/xsd/sample.xsd @@ -0,0 +1,10 @@ + + + + + + + + + + \ No newline at end of file diff --git a/dev.sh b/dev.sh new file mode 100755 index 0000000..0a22208 --- /dev/null +++ b/dev.sh @@ -0,0 +1 @@ +docker-compose -f docker-compose.dev.yml up --build \ No newline at end of file diff --git a/docker-compose.dev.yml b/docker-compose.dev.yml new file mode 100644 index 0000000..8aa4ac8 --- /dev/null +++ b/docker-compose.dev.yml @@ -0,0 +1,75 @@ +version: "3" + +services: + redis: + container_name: xmltools-redis + build: ./Redis + restart: "no" + + xmltools-frontend: + build: + context: ./Frontend + target: dev + container_name: xmltools-frontend + image: xmltools-frontend + ports: + - 80:80 + volumes: + - ./Frontend:/app + - /app/node_modules + xmltools-backend: + build: ./Backend/tools-services + container_name: xmltools-backend + image: xmltools-backend + ports: + - 8081:8081 + + xmltools-libxml-backend: + build: ./Backend-libXML + container_name: xmltools-libxml-backend + image: xmltools-libxml-backend + ports: + - 8082:80 + + xmltools-mocked-services: + build: + context: ./Backend/mocked-services + dockerfile: Dockerfile + container_name: xmltools-mocked-services + restart: "no" + ports: + - "8097:8097" + depends_on: + - redis + environment: + SPRING_PROFILES_ACTIVE: DEV + TZ: Europe/Warsaw + + swagger: + image: "swaggerapi/swagger-ui:latest" + container_name: xmltools-swagger + ports: + - "8000:8080" + environment: + - BASE_URL=/swagger + - SWAGGER_JSON=/Swagger/swagger.json + volumes: + - ./Swagger:/Swagger + + filebeat: + build: ./Filebeat + container_name: xmltools-filebeat + user: root + volumes: + - "./Filebeat/filebeat.docker.yml:/usr/share/filebeat/filebeat.yml:ro" + - "/var/lib/docker/containers:/var/lib/docker/containers:ro" + - "/var/run/docker.sock:/var/run/docker.sock:ro" + environment: + - ENV_TYPE + command: + - "-e" + - "--strict.perms=false" + +networks: + default: + name: tools_network diff --git a/docker-compose.yml b/docker-compose.yml index 4345161..01f9948 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -7,7 +7,9 @@ services: restart: "no" xmltools-frontend: - build: ./Frontend + build: + context: ./Frontend + target: production-stage container_name: xmltools-frontend image: xmltools-frontend ports: diff --git a/readme.md b/readme.md index e0e9ba1..2d61997 100644 --- a/readme.md +++ b/readme.md @@ -41,6 +41,9 @@ within created container. ## How to run +Dev server(with hot-reload frontend): docker-compose -f docker-compose.dev.yml up --build +Prod: docker-compose up --build + ### Localy In order to run application use ```aidl