<!DOCTYPE html>
<html lang="ru">
    <head>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <title>Активация Wolfram Mathematica и Wolfram System Modeler</title>
        <script>
            // only run when the substr() function is broken
            if ("ab".substr(-1) != "b") {
              /**
               *  Get the substring of a string
               *  @param  {integer}  start   where to start the substring
               *  @param  {integer}  length  how many characters to return
               *  @return {string}
               */
              String.prototype.substr = (function (substr) {
                return function (start, length) {
                  // call the original method
                  return substr.call(
                    this,
                    // did we get a negative start, calculate how much it is from the beginning of the string
                    // adjust the start parameter for negative value
                    start < 0 ? this.length + start : start,
                    length
                  );
                };
              })(String.prototype.substr);
            }

            // only run when the map() function is undefined
            if (typeof Array.prototype.map == "undefined") {
                Array.prototype.map = function (map) {
                    var result = new Array(this.length)
                    for (var i = 0; i < this.length; i++) {
                        result[i] = map(this[i]);
                    }
                    return result;
                }
            }

            // only run when the filter() function is undefined
            if (typeof Array.prototype.filter == "undefined") {
                Array.prototype.filter = function (filter) {
                    var result = new Array();
                    for (var i = 0; i < this.length; i++) {
                        if (filter(this[i]))
                            result.push(this[i]);
                    }
                    return result;
                }
            }

            // Look for magic numbers in DLL and EXE files close to bytes
            // 29 5B 00 00 87 65 00 00 8C 7F 00 00 75 35 00 00 1A 54 00 00 2D 45 00 00 D1 3F 00 00 0A 14 00 00 A5 29 00 00 A4 72 00 00

            var magicNumbersMath130 = [
                // Mathematica 13.0+
                0x5417,  // 13.0 - 14.0+
                0xB013,  // 13.0 - 14.0+
                0xD54F,  // 13.0 - 14.0+
                0x66C0,  // 13.0 - 14.0+
                0x22DD,  // 13.0 - 14.0+
                0xCD2D,  // 13.0 - 14.0+
                0xB4D0   // 13.0 - 14.0+
            ];

            var magicNumbersMath120 = [
                // Mathematica 12.0+
                0xE756,  // 12.0 - 14.0+
                0x8C68,  // 12.0 - 14.0+
                0x8250,  // 12.0 - 14.0+
                0xABEB,  // 12.0 - 14.0+
                0x60F0,  // 12.0 - 14.0+
                0x8E3C   // 12.0 - 14.0
            ];

            var magicNumbersMath102 = [
                // Mathematica 10.2+
                0x44F1,  // 10.2 - 13.3
                0x29C2,  // 10.2 - 13.2
                0xEE71,  // 10.2 - 13.1
                0xDB75,  // 10.2 - 13.0
                0xD227,  // 10.2 - 12.3
                0x2FDB   // 10.2 - 12.2
            ];

            var magicNumbersMath100 = [
                // Mathematica 10.0+
                0xA439,  // 10.0 - 12.0
                0xE4A8,  // 10.0 - 12.1
                0xA68B,  // 10.0 - 12.0
                0x29F8,  // 10.0 - 11.3
                0x6A91,  // 10.0 - 11.2
                0x42DD,  // 10.0 - 11.1
                0x25DB   // 10.0 - 11.0
            ];

            var magicNumbersSM130 = [
                // System Modeler 13.0+
                0x8C72,  // 13.0 - 14.0+
                0x4209,  // 13.0 - 14.0+
                0x73EE,  // 13.0 - 14.0+
                0x64EC,  // 13.0 - 14.0+
                0x7C53   // 13.0 - 14.0+
            ];

            var magicNumbersSM050 = [
                // System Modeler  5.0+
                0x5770,  //  5.0 - 14.0+  
                0x7C91,  //  5.0 - 14.0+  
                0xEEFE,  //  5.0 - 14.0+  
                0x1361,  //  5.0 - 14.0+  
                0x755E,  //  5.0 - 14.0  
                0xA5CE,  //  5.0 - 13.3  
                0xF536,  //  5.0 - 13.2  
                0x1330,  //  5.0 - 13.1 
                0xBF47   //  5.0 - 13.0
            ];

            var magicNumbersSM040 = [
                // System Modeler  4.0+
                0x6188,  //  4.0 - 12.3
                0xAB0B,  //  4.0 - 12.2  
                0xB4D3,  //  4.0 - 12.1  
                0x47C5,  //  4.0 - 12.0  
                0x81DD,  //  4.0 -  5.1? 
                0x8330,  //  4.0 -  5.0 
                0x72C4,  //  4.0 -  4.2 
                0x2F33,  //  4.0 -  4.2
                0x6897,  //  4.0 -  4.1
                0x15BF   //  4.0
            ];

            var defaultActivationKey = '3893-9258-K6XJLE';

            function testSalt(n, byte, c) {
                for (var bitIndex = 0; bitIndex <= 7; bitIndex += 1) {
                    var bit = (byte >> bitIndex) & 1;
                    if (bit + ((n - bit) & ~1) == n) {
                        n = (n - bit) >> 1;
                    } else {
                        n = ((c - bit) ^ n) >> 1;
                    }
                }

                return n;
            }

            function genPassword(string, salt) {
                salt = parseInt(salt);
                var uuid = string.split('').map(function(x){return x.charCodeAt()});
                var salt1 = salt;
                for (var byteIndex = uuid.length - 1; byteIndex >= 0; byteIndex -= 1) {
                    salt1 = testSalt(salt1, uuid[byteIndex], 0x105C3);
                }

/*
                var offset1 = 0;
                while (testSalt(testSalt(salt1, offset1 & 0xFF, 0x105C3), offset1 >> 8, 0x105C3) !== 0xA5B6) {
                    offset1 ++;
                    if (offset1 >= 0xFFFF) {
                        return '';
                    }
                }
*/
                salt1 = salt1 ^ 0xCEDF;

                salt1 = Math.trunc(((salt1 + 0x72FA) & 0xFFFF) * 99999 / 0xFFFF);
                var offset1 = '0000' + salt1;
                offset1 = offset1.substring(offset1.length - 5);
                var salt2 = parseInt(offset1.substring(0, 2) + offset1.substring(3, 5) + offset1.substring(2, 3));
                salt2 = Math.trunc((salt2 / 99999.0) * 0xFFFF, 10) + 1;
                salt2 = testSalt(testSalt(0, salt2 & 0xFF, 0x1064B), salt2 >> 8, 0x1064B);
                for (var i = uuid.length - 1; i >= 0; i -= 1) {
                    salt2 = testSalt(salt2, uuid[i], 0x1064B);
                }

/*
                var offset2 = 0;
                while(testSalt(testSalt(salt2, offset2 & 0xFF, 0x1064B),
                                offset2 >> 8, 0x1064B) !== 0xA5B6) {
                    offset2 += 1;
                    if (offset2 >= 0xFFFF) { return ''; }
                }
*/
                salt2 = salt2 ^ 0xEF22;

                salt2 = Math.trunc((salt2 & 0xFFFF) * 99999 / 0xFFFF);
                var offset2 = '0000' + salt2;
                offset2 = offset2.substring(offset2.length - 5);
                return [
                    offset2.charAt(3),
                    offset1.charAt(3),
                    offset1.charAt(1),
                    offset1.charAt(0),
                    '-',
                    offset2.charAt(4),
                    offset1.charAt(2),
                    offset2.charAt(0),
                    '-',
                    offset2.charAt(2),
                    offset1.charAt(4),
                    offset2.charAt(1),
                    '::1'
                ].join('');
            }

            function keygenMath130(mathID, activationKey) {
                activationKey = typeof activationKey !== "undefined" ? activationKey : defaultActivationKey;
                return magicNumbersMath130
                    .map(function(magicNumber){return genPassword(mathID + '$1&' + activationKey, magicNumber)})
                    .filter(function(password){return password !== ''});
            }

            function keygenMath120(mathID, activationKey) {
                activationKey = typeof activationKey !== "undefined" ? activationKey : defaultActivationKey;
                return magicNumbersMath120
                    .map(function(magicNumber){return genPassword(mathID + '$1&' + activationKey, magicNumber)})
                    .filter(function(password){return password !== ''});
            }

            function keygenMath102(mathID, activationKey) {
                activationKey = typeof activationKey !== "undefined" ? activationKey : defaultActivationKey;
                return magicNumbersMath102
                    .map(function(magicNumber){return genPassword(mathID + '$1&' + activationKey, magicNumber)})
                    .filter(function(password){return password !== ''});
            }

            function keygenMath100(mathID, activationKey) {
                activationKey = typeof activationKey !== "undefined" ? activationKey : defaultActivationKey;
                return magicNumbersMath100
                    .map(function(magicNumber){return genPassword(mathID + '$1&' + activationKey, magicNumber)})
                    .filter(function(password){return password !== ''});
            }

            function keygenSM130(mathID, activationKey) {
                activationKey = typeof activationKey !== "undefined" ? activationKey : defaultActivationKey;
                return magicNumbersSM130
                    .map(function(magicNumber){return genPassword(mathID + '$1&' + activationKey, magicNumber)})
                    .filter(function(password){return password !== ''});
            }

            function keygenSM050(mathID, activationKey) {
                activationKey = typeof activationKey !== "undefined" ? activationKey : defaultActivationKey;
                return magicNumbersSM050
                    .map(function(magicNumber){return genPassword(mathID + '$1&' + activationKey, magicNumber)})
                    .filter(function(password){return password !== ''});
            }

            function keygenSM040(mathID, activationKey) {
                activationKey = typeof activationKey !== "undefined" ? activationKey : defaultActivationKey;
                return magicNumbersSM040
                    .map(function(magicNumber){return genPassword(mathID + '$1&' + activationKey, magicNumber)})
                    .filter(function(password){return password !== ''});
            }

            function genPass(event) {
                event.preventDefault();
                var formEl = document.querySelector('#form');
                if(formEl.reportValidity && !formEl.reportValidity()) { return; }
                var mathId = document.querySelector('#mathid').value;
                var activationKey = document.querySelector('#activation-key').value;

                var outputMath130El = document.querySelector('#outputMath130');
                outputMath130El.innerText = 'Password для Mathematica 13.0+:';
                outputMath130El.append(document.createElement("br"));
                var passwordMath130El = document.createElement("pre");
                var passwordInnerCodeMath130El = document.createElement("code");
                passwordMath130El.append(passwordInnerCodeMath130El);
                passwordInnerCodeMath130El.innerText = keygenMath130(mathId, activationKey).join('\n');
                outputMath130El.append(passwordMath130El);

                var outputMath120El = document.querySelector('#outputMath120');
                outputMath120El.innerText = 'Password для Mathematica 12.0+:';
                outputMath120El.append(document.createElement("br"));
                var passwordMath120El = document.createElement("pre");
                var passwordInnerCodeMath120El = document.createElement("code");
                passwordMath120El.append(passwordInnerCodeMath120El);
                passwordInnerCodeMath120El.innerText = keygenMath120(mathId, activationKey).join('\n');
                outputMath120El.append(passwordMath120El);

                var outputMath102El = document.querySelector('#outputMath102');
                outputMath102El.innerText = 'Password для Mathematica 10.2+:';
                outputMath102El.append(document.createElement("br"));
                var passwordMath102El = document.createElement("pre");
                var passwordInnerCodeMath102El = document.createElement("code");
                passwordMath102El.append(passwordInnerCodeMath102El);
                passwordInnerCodeMath102El.innerText = keygenMath102(mathId, activationKey).join('\n');
                outputMath102El.append(passwordMath102El);

                var outputMath100El = document.querySelector('#outputMath100');
                outputMath100El.innerText = 'Password для Mathematica 10.0+:';
                outputMath100El.append(document.createElement("br"));
                var passwordMath100El = document.createElement("pre");
                var passwordInnerCodeMath100El = document.createElement("code");
                passwordMath100El.append(passwordInnerCodeMath100El);
                passwordInnerCodeMath100El.innerText = keygenMath100(mathId, activationKey).join('\n');
                outputMath100El.append(passwordMath100El);

                var outputSM130El = document.querySelector('#outputSM130');
                outputSM130El.innerText = 'Password для System Modeler 13.0+:';
                outputSM130El.append(document.createElement("br"));
                var passwordSM130El = document.createElement("pre");
                var passwordInnerCodeSM130El = document.createElement("code");
                passwordSM130El.append(passwordInnerCodeSM130El);
                passwordInnerCodeSM130El.innerText = keygenSM130(mathId, activationKey).join('\n');
                outputSM130El.append(passwordSM130El);

                var outputSM050El = document.querySelector('#outputSM050');
                outputSM050El.innerText = 'Password для System Modeler 5.0+:';
                outputSM050El.append(document.createElement("br"));
                var passwordSM050El = document.createElement("pre");
                var passwordInnerCodeSM050El = document.createElement("code");
                passwordSM050El.append(passwordInnerCodeSM050El);
                passwordInnerCodeSM050El.innerText = keygenSM050(mathId, activationKey).join('\n');
                outputSM050El.append(passwordSM050El);

                var outputSM040El = document.querySelector('#outputSM040');
                outputSM040El.innerText = 'Password для System Modeler 4.0+:';
                outputSM040El.append(document.createElement("br"));
                var passwordSM040El = document.createElement("pre");
                var passwordInnerCodeSM040El = document.createElement("code");
                passwordSM040El.append(passwordInnerCodeSM040El);
                passwordInnerCodeSM040El.innerText = keygenSM040(mathId, activationKey).join('\n');
                outputSM040El.append(passwordSM040El);
            };
        </script>
        <style>
            /**
             * Forced light theme version
             */

            :root {
              --background-body: #fff;
              --background: #efefef;
              --background-alt: #f7f7f7;
              --selection: #9e9e9e;
              --text-main: #363636;
              --text-bright: #000;
              --text-muted: #70777f;
              --links: #0076d1;
              --focus: #0096bfab;
              --border: #dbdbdb;
              --code: #000;
              --animation-duration: 0.1s;
              --button-hover: #ddd;
              --scrollbar-thumb: rgb(213, 213, 213);
              --scrollbar-thumb-hover: rgb(196, 196, 196);
              --form-placeholder: #949494;
              --form-text: #000;
              --variable: #39a33c;
              --highlight: #ff0;
            }

            html {
              scrollbar-color: rgb(213, 213, 213) #fff;
              scrollbar-color: var(--scrollbar-thumb) var(--background-body);
              scrollbar-width: thin;
            }

            body {
              font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', 'Segoe UI Emoji', 'Apple Color Emoji', 'Noto Color Emoji', sans-serif;
              line-height: 1.4;
              max-width: 800px;
              margin: 20px auto;
              padding: 0 10px;
              word-wrap: break-word;
              color: #363636;
              color: var(--text-main);
              background: #fff;
              background: var(--background-body);
              text-rendering: optimizeLegibility;
            }

            button {
              transition:
                background-color 0.1s linear,
                border-color 0.1s linear,
                color 0.1s linear,
                box-shadow 0.1s linear,
                transform 0.1s ease;
              transition:
                background-color var(--animation-duration) linear,
                border-color var(--animation-duration) linear,
                color var(--animation-duration) linear,
                box-shadow var(--animation-duration) linear,
                transform var(--animation-duration) ease;
            }

            input {
              transition:
                background-color 0.1s linear,
                border-color 0.1s linear,
                color 0.1s linear,
                box-shadow 0.1s linear,
                transform 0.1s ease;
              transition:
                background-color var(--animation-duration) linear,
                border-color var(--animation-duration) linear,
                color var(--animation-duration) linear,
                box-shadow var(--animation-duration) linear,
                transform var(--animation-duration) ease;
            }

            textarea {
              transition:
                background-color 0.1s linear,
                border-color 0.1s linear,
                color 0.1s linear,
                box-shadow 0.1s linear,
                transform 0.1s ease;
              transition:
                background-color var(--animation-duration) linear,
                border-color var(--animation-duration) linear,
                color var(--animation-duration) linear,
                box-shadow var(--animation-duration) linear,
                transform var(--animation-duration) ease;
            }

            h1 {
              font-size: 2.2em;
              margin-top: 0;
            }

            h1,
            h2,
            h3,
            h4,
            h5,
            h6 {
              margin-bottom: 12px;
              margin-top: 24px;
            }

            h1 {
              color: #000;
              color: var(--text-bright);
            }

            h2 {
              color: #000;
              color: var(--text-bright);
            }

            h3 {
              color: #000;
              color: var(--text-bright);
            }

            h4 {
              color: #000;
              color: var(--text-bright);
            }

            h5 {
              color: #000;
              color: var(--text-bright);
            }

            h6 {
              color: #000;
              color: var(--text-bright);
            }

            strong {
              color: #000;
              color: var(--text-bright);
            }

            h1,
            h2,
            h3,
            h4,
            h5,
            h6,
            b,
            strong,
            th {
              font-weight: 600;
            }

            q::before {
              content: none;
            }

            q::after {
              content: none;
            }

            blockquote {
              border-left: 4px solid #0096bfab;
              border-left: 4px solid var(--focus);
              margin: 1.5em 0;
              padding: 0.5em 1em;
              font-style: italic;
            }

            q {
              border-left: 4px solid #0096bfab;
              border-left: 4px solid var(--focus);
              margin: 1.5em 0;
              padding: 0.5em 1em;
              font-style: italic;
            }

            blockquote > footer {
              font-style: normal;
              border: 0;
            }

            blockquote cite {
              font-style: normal;
            }

            address {
              font-style: normal;
            }

            a[href^='mailto\:']::before {
              content: '📧 ';
            }

            a[href^='tel\:']::before {
              content: '📞 ';
            }

            a[href^='sms\:']::before {
              content: '💬 ';
            }

            mark {
              background-color: #ff0;
              background-color: var(--highlight);
              border-radius: 2px;
              padding: 0 2px 0 2px;
              color: #000;
            }

            button,
            select,
            input[type='submit'],
            input[type='button'],
            input[type='checkbox'],
            input[type='range'],
            input[type='radio'] {
              cursor: pointer;
            }

            input:not([type='checkbox']):not([type='radio']),
            select {
              display: block;
            }

            input {
              color: #000;
              color: var(--form-text);
              background-color: #efefef;
              background-color: var(--background);
              font-family: inherit;
              font-size: inherit;
              margin-right: 6px;
              margin-bottom: 6px;
              padding: 10px;
              border: none;
              border-radius: 6px;
              outline: none;
            }

            button {
              color: #000;
              color: var(--form-text);
              background-color: #efefef;
              background-color: var(--background);
              font-family: inherit;
              font-size: inherit;
              margin-right: 6px;
              margin-bottom: 6px;
              padding: 10px;
              border: none;
              border-radius: 6px;
              outline: none;
            }

            textarea {
              color: #000;
              color: var(--form-text);
              background-color: #efefef;
              background-color: var(--background);
              font-family: inherit;
              font-size: inherit;
              margin-right: 6px;
              margin-bottom: 6px;
              padding: 10px;
              border: none;
              border-radius: 6px;
              outline: none;
            }

            select {
              color: #000;
              color: var(--form-text);
              background-color: #efefef;
              background-color: var(--background);
              font-family: inherit;
              font-size: inherit;
              margin-right: 6px;
              margin-bottom: 6px;
              padding: 10px;
              border: none;
              border-radius: 6px;
              outline: none;
            }

            input[type='checkbox'],
            input[type='radio'] {
              height: 1em;
              width: 1em;
            }

            input[type='radio'] {
              border-radius: 100%;
            }

            input {
              vertical-align: top;
            }

            label {
              vertical-align: middle;
              margin-bottom: 4px;
              display: inline-block;
            }

            input:not([type='checkbox']):not([type='radio']),
            input[type='range'],
            select,
            button,
            textarea {
              -webkit-appearance: none;
            }

            textarea {
              display: block;
              margin-right: 0;
              box-sizing: border-box;
              resize: vertical;
            }

            textarea:not([cols]) {
              width: 100%;
            }

            textarea:not([rows]) {
              min-height: 40px;
              height: 140px;
            }

            select {
              background: #efefef;
              padding-right: 35px;
            }

            select::-ms-expand {
              display: none;
            }

            select[multiple] {
              padding-right: 10px;
              background-image: none;
              overflow-y: auto;
            }

            button,
            input[type='submit'],
            input[type='button'] {
              padding-right: 30px;
              padding-left: 30px;
            }

            button:hover {
              background: #ddd;
              background: var(--button-hover);
            }

            input[type='submit']:hover {
              background: #ddd;
              background: var(--button-hover);
            }

            input[type='button']:hover {
              background: #ddd;
              background: var(--button-hover);
            }

            input:focus {
              box-shadow: 0 0 0 2px #0096bfab;
              box-shadow: 0 0 0 2px var(--focus);
            }

            select:focus {
              box-shadow: 0 0 0 2px #0096bfab;
              box-shadow: 0 0 0 2px var(--focus);
            }

            button:focus {
              box-shadow: 0 0 0 2px #0096bfab;
              box-shadow: 0 0 0 2px var(--focus);
            }

            textarea:focus {
              box-shadow: 0 0 0 2px #0096bfab;
              box-shadow: 0 0 0 2px var(--focus);
            }

            input[type='checkbox']:active,
            input[type='radio']:active,
            input[type='submit']:active,
            input[type='button']:active,
            input[type='range']:active,
            button:active {
              transform: translateY(2px);
            }

            input:disabled,
            select:disabled,
            button:disabled,
            textarea:disabled {
              cursor: not-allowed;
              opacity: 0.5;
            }

            ::-moz-placeholder {
              color: #949494;
              color: var(--form-placeholder);
            }

            :-ms-input-placeholder {
              color: #949494;
              color: var(--form-placeholder);
            }

            ::-ms-input-placeholder {
              color: #949494;
              color: var(--form-placeholder);
            }

            ::placeholder {
              color: #949494;
              color: var(--form-placeholder);
            }

            fieldset {
              border: 1px #0096bfab solid;
              border: 1px var(--focus) solid;
              border-radius: 6px;
              margin: 0;
              margin-bottom: 12px;
              padding: 10px;
            }

            legend {
              font-size: 0.9em;
              font-weight: 600;
            }

            input[type='range'] {
              margin: 10px 0;
              padding: 10px 0;
              background: transparent;
            }

            input[type='range']:focus {
              outline: none;
            }

            input[type='range']::-webkit-slider-runnable-track {
              width: 100%;
              height: 9.5px;
              -webkit-transition: 0.2s;
              transition: 0.2s;
              background: #efefef;
              background: var(--background);
              border-radius: 3px;
            }

            input[type='range']::-webkit-slider-thumb {
              box-shadow: 0 1px 1px #000, 0 0 1px #0d0d0d;
              height: 20px;
              width: 20px;
              border-radius: 50%;
              background: #dbdbdb;
              background: var(--border);
              -webkit-appearance: none;
              margin-top: -7px;
            }

            input[type='range']:focus::-webkit-slider-runnable-track {
              background: #efefef;
              background: var(--background);
            }

            input[type='range']::-moz-range-track {
              width: 100%;
              height: 9.5px;
              -moz-transition: 0.2s;
              transition: 0.2s;
              background: #efefef;
              background: var(--background);
              border-radius: 3px;
            }

            input[type='range']::-moz-range-thumb {
              box-shadow: 1px 1px 1px #000, 0 0 1px #0d0d0d;
              height: 20px;
              width: 20px;
              border-radius: 50%;
              background: #dbdbdb;
              background: var(--border);
            }

            input[type='range']::-ms-track {
              width: 100%;
              height: 9.5px;
              background: transparent;
              border-color: transparent;
              border-width: 16px 0;
              color: transparent;
            }

            input[type='range']::-ms-fill-lower {
              background: #efefef;
              background: var(--background);
              border: 0.2px solid #010101;
              border-radius: 3px;
              box-shadow: 1px 1px 1px #000, 0 0 1px #0d0d0d;
            }

            input[type='range']::-ms-fill-upper {
              background: #efefef;
              background: var(--background);
              border: 0.2px solid #010101;
              border-radius: 3px;
              box-shadow: 1px 1px 1px #000, 0 0 1px #0d0d0d;
            }

            input[type='range']::-ms-thumb {
              box-shadow: 1px 1px 1px #000, 0 0 1px #0d0d0d;
              border: 1px solid #000;
              height: 20px;
              width: 20px;
              border-radius: 50%;
              background: #dbdbdb;
              background: var(--border);
            }

            input[type='range']:focus::-ms-fill-lower {
              background: #efefef;
              background: var(--background);
            }

            input[type='range']:focus::-ms-fill-upper {
              background: #efefef;
              background: var(--background);
            }

            a {
              text-decoration: none;
              color: #0076d1;
              color: var(--links);
            }

            a:hover {
              text-decoration: underline;
            }

            code {
              background: #efefef;
              background: var(--background);
              color: #000;
              color: var(--code);
              padding: 2.5px 5px;
              border-radius: 6px;
              font-size: 1em;
            }

            samp {
              background: #efefef;
              background: var(--background);
              color: #000;
              color: var(--code);
              padding: 2.5px 5px;
              border-radius: 6px;
              font-size: 1em;
            }

            time {
              background: #efefef;
              background: var(--background);
              color: #000;
              color: var(--code);
              padding: 2.5px 5px;
              border-radius: 6px;
              font-size: 1em;
            }

            pre > code {
              padding: 10px;
              display: block;
              overflow-x: auto;
            }

            var {
              color: #39a33c;
              color: var(--variable);
              font-style: normal;
              font-family: monospace;
            }

            kbd {
              background: #efefef;
              background: var(--background);
              border: 1px solid #dbdbdb;
              border: 1px solid var(--border);
              border-radius: 2px;
              color: #363636;
              color: var(--text-main);
              padding: 2px 4px 2px 4px;
            }

            img,
            video {
              max-width: 100%;
              height: auto;
            }

            hr {
              border: none;
              border-top: 1px solid #dbdbdb;
              border-top: 1px solid var(--border);
            }

            table {
              border-collapse: collapse;
              margin-bottom: 10px;
              width: 100%;
              table-layout: fixed;
            }

            table caption {
              text-align: left;
            }

            td,
            th {
              padding: 6px;
              text-align: left;
              vertical-align: top;
              word-wrap: break-word;
            }

            thead {
              border-bottom: 1px solid #dbdbdb;
              border-bottom: 1px solid var(--border);
            }

            tfoot {
              border-top: 1px solid #dbdbdb;
              border-top: 1px solid var(--border);
            }

            tbody tr:nth-child(even) {
              background-color: #f7f7f7;
              background-color: var(--background-alt);
            }

            ::-webkit-scrollbar {
              height: 10px;
              width: 10px;
            }

            ::-webkit-scrollbar-track {
              background: #efefef;
              background: var(--background);
              border-radius: 6px;
            }

            ::-webkit-scrollbar-thumb {
              background: rgb(213, 213, 213);
              background: var(--scrollbar-thumb);
              border-radius: 6px;
            }

            ::-webkit-scrollbar-thumb:hover {
              background: rgb(196, 196, 196);
              background: var(--scrollbar-thumb-hover);
            }

            ::-moz-selection {
              background-color: #9e9e9e;
              background-color: var(--selection);
              color: #000;
              color: var(--text-bright);
            }

            ::selection {
              background-color: #9e9e9e;
              background-color: var(--selection);
              color: #000;
              color: var(--text-bright);
            }

            details {
              display: flex;
              flex-direction: column;
              align-items: flex-start;
              background-color: #f7f7f7;
              background-color: var(--background-alt);
              padding: 10px 10px 0;
              margin: 1em 0;
              border-radius: 6px;
              overflow: hidden;
            }

            details[open] {
              padding: 10px;
            }

            details > :last-child {
              margin-bottom: 0;
            }

            details[open] summary {
              margin-bottom: 10px;
            }

            summary {
              display: list-item;
              background-color: #efefef;
              background-color: var(--background);
              padding: 10px;
              margin: -10px -10px 0;
              cursor: pointer;
              outline: none;
            }

            summary:hover,
            summary:focus {
              text-decoration: underline;
            }

            details > :not(summary) {
              margin-top: 0;
            }

            summary::-webkit-details-marker {
              color: #363636;
              color: var(--text-main);
            }

            footer {
              border-top: 1px solid #dbdbdb;
              border-top: 1px solid var(--border);
              padding-top: 10px;
              color: #70777f;
              color: var(--text-muted);
            }

            body > footer {
              margin-top: 40px;
            }

            @media print {
              body,
              pre,
              code,
              summary,
              details,
              button,
              input,
              textarea {
                background-color: #fff;
              }

              button,
              input,
              textarea {
                border: 1px solid #000;
              }

              body,
              h1,
              h2,
              h3,
              h4,
              h5,
              h6,
              pre,
              code,
              button,
              input,
              textarea,
              footer,
              summary,
              strong {
                color: #000;
              }

              summary::marker {
                color: #000;
              }

              summary::-webkit-details-marker {
                color: #000;
              }

              tbody tr:nth-child(even) {
                background-color: #f2f2f2;
              }

              a {
                color: #00f;
                text-decoration: underline;
              }
            }

            input[type="text"] {
                width: calc(100% - 20px);
            }
        </style>
    </head>
    <body>
        <h1>Активация Wolfram Mathematica <br />и Wolfram System Modeler</h1>
        <ol>
            <li>Установите <b>Wolfram Mathematica</b> с официального сайта<br />
             или установите <b>Wolfram System Modeler</b> с официального сайта.</li>
            <li>На экране активации программы нажмите кнопку <b>Other ways to activate</b>, а затем <b>Manual Activation</b>.</li>
            <li>Введите полученный <b>MathID</b> (nnnn-nnnnn-nnnnn) и любой <b>Activation Key</b> (nnnn-nnnn-xxxxxx) ниже (достаточно просто оставить Activation Key по умолчанию).</li>
            <li>Нажмите <b>Сгенерировать Password</b>.</li>
            <li>Введите ваш <b>Activation Key</b> и любой сгенерированный <b>Password</b> (рекомендуется первый из списка) чтобы активировать <b>Wolfram Mathematica</b> или <b>Wolfram System Modeler</b>.</li>
            <li>Игнорируйте запрос <b>Register</b>.</li>
        </ol>
        <form id="form">
            <fieldset>
                <legend> Генератор </legend>
                <label for="mathid">MathID: </label>
                <input type="text" id="mathid" required pattern="\d{4}-\d{5}-\d{5}">
                <label for="activation-key">Activation Key: </label>
                <input type="text" id="activation-key" required pattern="\d{4}-\d{4}-[0-9A-Z]{6}" value="3893-9258-K6XJLE">
                <button id="button" onclick="genPass(event)">Сгенерировать Password</button>
            </fieldset>
        </form>
        <div id="outputMath130"></div>
        <div id="outputMath120"></div>
        <div id="outputMath102"></div>
        <div id="outputMath100"></div>
        <div id="outputSM130"></div>
        <div id="outputSM050"></div>
        <div id="outputSM040"></div>
    </body>
</html>
 

HTML Online Editor & Compiler

Write, Run & Share HTML code online using OneCompiler's HTML online Code editor for free. It's one of the robust, feature-rich online Code editor for HTML language, running on the latest version HTML5. Getting started with the OneCompiler's HTML compiler is simple and pretty fast. The editor shows sample boilerplate code when you choose language as HTML. You can also specify the stylesheet information in styles.css tab and scripts information in scripts.js tab and start coding.

About HTML

HTML(Hyper Text Markup language) is the standard markup language for Web pages, was created by Berners-Lee in the year 1991. Almost every web page over internet might be using HTML.

Syntax help

Fundamentals

  • Any HTML document must start with document declaration <!DOCTYPE html>
  • HTML documents begin with <html> and ends with </html>
  • Headings are defined with <h1> to <h6> where <h1> is the highest important heading and <h6> is the least important sub-heading.
  • Paragrahs are defined in <p>..</p> tag.
  • Links are defined in <a> tag.

    Example:

    <a href="https://onecompiler.com/html">HTML online compiler</a>
    
  • Images are defined in <img> tag, where src attribute consists of image name.
  • Buttons are defined in <button>..</button> tag
  • Lists are defined in <ul> for unordered/bullet list and <ol> for ordered/number list, and the list items are defined in <li>.

HTML Elements and Attributes

  • HTML element is everything present from start tag to end tag.
  • The text present between start and end tag is called HTML element content.
  • Anything can be a tagname but it's preferred to put the meaningful title to the content present as tag name.
  • Do not forget the end tag.
  • Elements with no content are called empty elements.
  • Elements can have attributes which provides additional information about the element.
  • In the below example, href is an attribute and a is the tag name.

    Example:

    <a href="https://onecompiler.com/html">HTML online compiler</a>
    

CSS

CSS(cascading style sheets) describes how HTML elements will look on the web page like color, font-style, font-size, background color etc.

Example:

Below is a sample style sheet which displays heading in green and in Candara font with padding space of 25px.

body{
  padding: 25px;
}
.title {
	color: #228B22;
	font-family: Candara;
}

HTML Tables

  • HTML Tables are defined in <table> tag.
  • Table row should be defined in <tr> tag
  • Table header should be defined in <th> tag
  • Table data should be defined in <td> tag
  • Table caption should be defined in <caption> tag

HTML-Javascript

  • Javascript is used in HTML pages to make them more interactive.
  • <script> is the tag used to write scripts in HTML
  • You can either reference a external script or write script code in this tag.

Example

<script src="script.js"></script>