<?xml version="1.0" encoding="UTF-8"?>
<root>
    <default>
        <!-- lowercase letters - at least 8 characters long -->
        <includes>
            <!--
                Path to css and js files into plugins folder.
                If your files are not in plugins folder, use absolute paths.
            -->
            <css>
                <file>passfield/dist/css/passfield.min.css</file>
            </css>
            <js>
                <file>passfield/dist/js/passfield.min.js</file>
            </js>
        </includes>
        <js_code><![CDATA[    if (typeof(phpfbPassField) == "undefined") {
        window.phpfbPassField = [];
    }
    phpfbPassField["%selector%"] = new PassField.Field(document.querySelector("%selector%").getAttribute('id'), { /*options*/ });]]>
        </js_code>
    </default>
    <min-3>
        <js_code>
            <!-- lowercase - at least 3 characters -->
            <![CDATA[    if (typeof(phpfbPassField) == "undefined") {
        window.phpfbPassField = [];
    }
    phpfbPassField["%selector%"] = new PassField.Field(document.querySelector("%selector%").getAttribute('id'), { pattern: "abc" });]]>
        </js_code>
    </min-3>
    <min-4>
        <js_code>
            <!-- lowercase - at least 4 characters -->
            <![CDATA[    if (typeof(phpfbPassField) == "undefined") {
        window.phpfbPassField = [];
    }
    phpfbPassField["%selector%"] = new PassField.Field(document.querySelector("%selector%").getAttribute('id'), { pattern: "abcd" });]]>
        </js_code>
    </min-4>
    <min-5>
        <js_code>
            <!-- lowercase - at least 5 characters -->
            <![CDATA[    if (typeof(phpfbPassField) == "undefined") {
        window.phpfbPassField = [];
    }
    phpfbPassField["%selector%"] = new PassField.Field(document.querySelector("%selector%").getAttribute('id'), { pattern: "abcde" });]]>
        </js_code>
    </min-5>
    <min-6>
        <js_code>
            <!-- lowercase - at least 6 characters -->
            <![CDATA[    if (typeof(phpfbPassField) == "undefined") {
        window.phpfbPassField = [];
    }
    phpfbPassField["%selector%"] = new PassField.Field(document.querySelector("%selector%").getAttribute('id'), { pattern: "abcdef" });]]>
        </js_code>
    </min-6>
    <min-7>
        <js_code>
            <!-- lowercase - at least 7 characters -->
            <![CDATA[    if (typeof(phpfbPassField) == "undefined") {
        window.phpfbPassField = [];
    }
    phpfbPassField["%selector%"] = new PassField.Field(document.querySelector("%selector%").getAttribute('id'), { pattern: "abcdefg" });]]>
        </js_code>
    </min-7>
    <min-8>
        <js_code>
            <!-- lowercase - at least 8 characters -->
            <![CDATA[    if (typeof(phpfbPassField) == "undefined") {
        window.phpfbPassField = [];
    }
    phpfbPassField["%selector%"] = new PassField.Field(document.querySelector("%selector%").getAttribute('id'), { pattern: "abcdefgh" });]]>
        </js_code>
    </min-8>
    <lower-upper-min-3>
        <js_code>
            <!-- lowercase + uppercase - at least 3 characters -->
            <![CDATA[    if (typeof(phpfbPassField) == "undefined") {
        window.phpfbPassField = [];
    }
    phpfbPassField["%selector%"] = new PassField.Field(document.querySelector("%selector%").getAttribute('id'), { pattern: "Abc" });]]>
        </js_code>
    </lower-upper-min-3>
    <lower-upper-min-4>
        <js_code>
            <!-- lowercase + uppercase - at least 4 characters -->
            <![CDATA[    if (typeof(phpfbPassField) == "undefined") {
        window.phpfbPassField = [];
    }
    phpfbPassField["%selector%"] = new PassField.Field(document.querySelector("%selector%").getAttribute('id'), { pattern: "Abcd" });]]>
        </js_code>
    </lower-upper-min-4>
    <lower-upper-min-5>
        <js_code>
            <!-- lowercase + uppercase - at least 5 characters -->
            <![CDATA[    if (typeof(phpfbPassField) == "undefined") {
        window.phpfbPassField = [];
    }
    phpfbPassField["%selector%"] = new PassField.Field(document.querySelector("%selector%").getAttribute('id'), { pattern: "Abcde" });]]>
        </js_code>
    </lower-upper-min-5>
    <lower-upper-min-6>
        <js_code>
            <!-- lowercase + uppercase - at least 6 characters -->
            <![CDATA[    if (typeof(phpfbPassField) == "undefined") {
        window.phpfbPassField = [];
    }
    phpfbPassField["%selector%"] = new PassField.Field(document.querySelector("%selector%").getAttribute('id'), { pattern: "Abcdef" });]]>
        </js_code>
    </lower-upper-min-6>
    <lower-upper-min-7>
        <js_code>
            <!-- lowercase + uppercase - at least 7 characters -->
            <![CDATA[    if (typeof(phpfbPassField) == "undefined") {
        window.phpfbPassField = [];
    }
    phpfbPassField["%selector%"] = new PassField.Field(document.querySelector("%selector%").getAttribute('id'), { pattern: "Abcdefg" });]]>
        </js_code>
    </lower-upper-min-7>
    <lower-upper-min8>
        <!-- lowercase + uppercase - at least 8 characters long -->
        <js_code><![CDATA[    if (typeof(phpfbPassField) == "undefined") {
        window.phpfbPassField = [];
    }
    phpfbPassField["%selector%"] = new PassField.Field(document.querySelector("%selector%").getAttribute('id'), { pattern: "Abcdefgh" });]]>
        </js_code>
    </lower-upper-min8>
    <lower-upper-number-min-3>
        <js_code>
            <!-- lowercase + uppercase + numbers - at least 3 characters -->
            <![CDATA[    if (typeof(phpfbPassField) == "undefined") {
        window.phpfbPassField = [];
    }
    phpfbPassField["%selector%"] = new PassField.Field(document.querySelector("%selector%").getAttribute('id'), { pattern: "1Ab" });]]>
        </js_code>
    </lower-upper-number-min-3>
    <lower-upper-number-min-4>
        <js_code>
            <!-- lowercase + uppercase + numbers - at least 4 characters -->
            <![CDATA[    if (typeof(phpfbPassField) == "undefined") {
        window.phpfbPassField = [];
    }
    phpfbPassField["%selector%"] = new PassField.Field(document.querySelector("%selector%").getAttribute('id'), { pattern: "1Abc" });]]>
        </js_code>
    </lower-upper-number-min-4>
    <lower-upper-number-min-5>
        <js_code>
            <!-- lowercase + uppercase + numbers - at least 5 characters -->
            <![CDATA[    if (typeof(phpfbPassField) == "undefined") {
        window.phpfbPassField = [];
    }
    phpfbPassField["%selector%"] = new PassField.Field(document.querySelector("%selector%").getAttribute('id'), { pattern: "1Abcd" });]]>
        </js_code>
    </lower-upper-number-min-5>
    <lower-upper-number-min-6>
        <js_code>
            <!-- lowercase + uppercase + numbers - at least 6 characters -->
            <![CDATA[    if (typeof(phpfbPassField) == "undefined") {
        window.phpfbPassField = [];
    }
    phpfbPassField["%selector%"] = new PassField.Field(document.querySelector("%selector%").getAttribute('id'), { pattern: "1Abcde" });]]>
        </js_code>
    </lower-upper-number-min-6>
    <lower-upper-number-min-7>
        <js_code>
            <!-- lowercase + uppercase + numbers - at least 7 characters -->
            <![CDATA[    if (typeof(phpfbPassField) == "undefined") {
        window.phpfbPassField = [];
    }
    phpfbPassField["%selector%"] = new PassField.Field(document.querySelector("%selector%").getAttribute('id'), { pattern: "1Abcdef" });]]>
        </js_code>
    </lower-upper-number-min-7>
    <lower-upper-number-min8>
        <!-- lowercase + uppercase + numbers - at least 8 characters long -->
        <js_code><![CDATA[    if (typeof(phpfbPassField) == "undefined") {
        window.phpfbPassField = [];
    }
    phpfbPassField["%selector%"] = new PassField.Field(document.querySelector("%selector%").getAttribute('id'), { pattern: "1Abcdefg" });]]>
        </js_code>
    </lower-upper-number-min8>
    <lower-upper-number-symbol-min-3>
        <js_code>
            <!-- lowercase + uppercase + numbers + symbols - at least 3 characters -->
            <![CDATA[    if (typeof(phpfbPassField) == "undefined") {
        window.phpfbPassField = [];
    }
    phpfbPassField["%selector%"] = new PassField.Field(document.querySelector("%selector%").getAttribute('id'), { pattern: "$1A" });]]>
        </js_code>
    </lower-upper-number-symbol-min-3>
    <lower-upper-number-symbol-min-4>
        <js_code>
            <!-- lowercase + uppercase + numbers + symbols - at least 4 characters -->
            <![CDATA[    if (typeof(phpfbPassField) == "undefined") {
        window.phpfbPassField = [];
    }
    phpfbPassField["%selector%"] = new PassField.Field(document.querySelector("%selector%").getAttribute('id'), { pattern: "$1Ab" });]]>
        </js_code>
    </lower-upper-number-symbol-min-4>
    <lower-upper-number-symbol-min-5>
        <js_code>
            <!-- lowercase + uppercase + numbers + symbols - at least 5 characters -->
            <![CDATA[    if (typeof(phpfbPassField) == "undefined") {
        window.phpfbPassField = [];
    }
    phpfbPassField["%selector%"] = new PassField.Field(document.querySelector("%selector%").getAttribute('id'), { pattern: "$1Abc" });]]>
        </js_code>
    </lower-upper-number-symbol-min-5>
    <lower-upper-number-symbol-min-6>
        <js_code>
            <!-- lowercase + uppercase + numbers + symbols - at least 6 characters -->
            <![CDATA[    if (typeof(phpfbPassField) == "undefined") {
        window.phpfbPassField = [];
    }
    phpfbPassField["%selector%"] = new PassField.Field(document.querySelector("%selector%").getAttribute('id'), { pattern: "$1Abcd" });]]>
        </js_code>
    </lower-upper-number-symbol-min-6>
    <lower-upper-number-symbol-min-7>
        <js_code>
            <!-- lowercase + uppercase + numbers + symbols - at least 7 characters -->
            <![CDATA[    if (typeof(phpfbPassField) == "undefined") {
        window.phpfbPassField = [];
    }
    phpfbPassField["%selector%"] = new PassField.Field(document.querySelector("%selector%").getAttribute('id'), { pattern: "$1Abcde" });]]>
        </js_code>
    </lower-upper-number-symbol-min-7>
    <lower-upper-number-symbol-min-8>
        <!-- lowercase + uppercase + numbers + symbols - at least 8 characters long -->
        <js_code><![CDATA[    if (typeof(phpfbPassField) == "undefined") {
        window.phpfbPassField = [];
    }
    phpfbPassField["%selector%"] = new PassField.Field(document.querySelector("%selector%").getAttribute('id'), { pattern: "$1Abcdef", locale: "fr" });]]>
        </js_code>
    </lower-upper-number-symbol-min-8>
    <custom>
        <!--
            If you need differents includes for your custom code,
            copy the default '<includes>' structure and put the needed files into '<file>' nodes.
            You can add several files nodes if necessary.
        -->
        <js_code>
            <!-- your custom code here -->
        </js_code>
    </custom>
</root>
