<commit_before><?php

$static = getenv('STATIC');
if (empty($static)) {
  $static = 'static';
}
$compiled_css = getenv('COMPILED_CSS');
$compiled_js = getenv('COMPILED_JS');

function e()
{
  echo implode('', array_filter(func_get_args(), 'htmlentities'));
}

?>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-type" content="text/html;charset=UTF-8" />
<meta http-equiv="X-UA-Compatible" content="chrome=1"/>
<link rel="icon" type="image/png" href="<?php e("$static/images/logo.png") ?>"/>

  <script type="text/javascript">
    function static_path(path) {
      return <?php echo json_encode("$static/") ?> + path;
    }
  </script>

<?php if ($compiled_css): ?>
  <link rel="stylesheet" href="<?php e($compiled_css) ?>" type="text/css"/>
<?php else: ?>
  <link rel="stylesheet" href="<?php e("$static/lib/jgraduate/css/jPicker.css") ?>" type="text/css"/>
  <link rel="stylesheet" href="<?php e("$static/lib/jgraduate/css/jgraduate.css") ?>" type="text/css"/>
  <link rel="stylesheet" href="<?php e("$static/lib/jgraduate/css/iconsflow.css") ?>" type="text/css"/>
  <link rel="stylesheet" href="<?php e("$static/css/method-draw.css") ?>" type="text/css"/>
  <link rel="stylesheet" href="<?php e("$static/css/fonts.css") ?>" type="text/css"/>
  <link rel="stylesheet" href="<?php e("$static/css/iconsflow.css") ?>" type="text/css"/>
  <link rel="stylesheet" href="<?php e("$static/css/grid.css") ?>" type="text/css"/>
  <link rel="stylesheet" href="<?php e("$static/css/spinner.css") ?>" type="text/css"/>
  <link rel="stylesheet" href="<?php e("$static/css/sm.css") ?>" type="text/css"/>
<?php endif ?>

  <link href='https://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css'>
  <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
  <meta name="apple-mobile-web-app-capable" content="yes"/>

  <script type="text/javascript" src="<?php e("$static/lib/jquery.js") ?>"></script>
  <script src="//cdn.jsdelivr.net/bluebird/3.3.4/bluebird.min.js" type="text/javascript"></script>
  <script src="//cdn.jsdelivr.net/vue/1.0.17/vue.min.js" type="text/javascript"></script>
<!--
  <script src="//vuejs.org/js/vue.js" type="text/javascript"></script>
-->

<?php if ($compiled_js): ?>
  <script type="text/javascript" src="<?php e($compiled_js) ?>"></script>
<?php else: ?>
  <script type="text/javascript" src="<?php e("$static/src/tt.js") ?>"></script>
  <script type="text/javascript" src="<?php e("$static/src/iconsflow.js") ?>"></script>
  <script type="text/javascript" src="<?php e("$static/lib/pathseg.js") ?>"></script>
  <script type="text/javascript" src="<?php e("$static/lib/touch.js") ?>"></script>
  <script type="text/javascript" src="<?php e("$static/lib/js-hotkeys/jquery.hotkeys.min.js") ?>"></script>
  <script type="text/javascript" src="<?php e("$static/icons/jquery.svgicons.js") ?>"></script>
  <script type="text/javascript" src="<?php e("$static/lib/jgraduate/jquery.jgraduate.js") ?>"></script>
  <script type="text/javascript" src="<?php e("$static/lib/contextmenu/jquery.contextMenu.js") ?>"></script>
  <script type="text/javascript" src="<?php e("$static/lib/jquery-ui/jquery-ui-1.8.17.custom.min.js") ?>"></script>
  <script type="text/javascript" src="<?php e("$static/src/browser.js") ?>"></script>
  <script type="text/javascript" src="<?php e("$static/src/svgtransformlist.js") ?>"></script>
  <script type="text/javascript" src="<?php e("$static/src/math.js") ?>"></script>
  <script type="text/javascript" src="<?php e("$static/src/units.js") ?>"></script>
  <script type="text/javascript" src="<?php e("$static/src/svgutils.js") ?>"></script>
  <script type="text/javascript" src="<?php e("$static/src/sanitize.js") ?>"></script>
  <script type="text/javascript" src="<?php e("$static/src/history.js") ?>"></script>
  <script type="text/javascript" src="<?php e("$static/src/select.js") ?>"></script>
  <script type="text/javascript" src="<?php e("$static/src/draw.js") ?>"></script>
  <script type="text/javascript" src="<?php e("$static/src/path.js") ?>"></script>
  <script type="text/javascript" src="<?php e("$static/src/dialog.js") ?>"></script>
  <script type="text/javascript" src="<?php e("$static/src/svgcanvas.js") ?>"></script>
  <script type="text/javascript" src="<?php e("$static/src/method-draw.js") ?>"></script>
  <script type="text/javascript" src="<?php e("$static/lib/jquery-draginput.js") ?>"></script>
  <script type="text/javascript" src="<?php e("$static/lib/contextmenu.js") ?>"></script>
  <script type="text/javascript" src="<?php e("$static/lib/jgraduate/jpicker.min.js") ?>"></script>
  <script type="text/javascript" src="<?php e("$static/lib/mousewheel.js") ?>"></script>
  <script type="text/javascript" src="<?php e("$static/extensions/ext-eyedropper.js") ?>"></script>
  <script type="text/javascript" src="<?php e("$static/extensions/ext-shapes.js") ?>"></script>
  <script type="text/javascript" src="<?php e("$static/extensions/ext-grid.js") ?>"></script>
  <script type="text/javascript" src="<?php e("$static/lib/requestanimationframe.js") ?>"></script>
  <script type="text/javascript" src="<?php e("$static/lib/taphold.js") ?>"></script>
  <script type="text/javascript" src="<?php e("$static/lib/filesaver.js") ?>"></script>
<?php endif ?>

<title>Method Draw</title>
</head>
<body>

<div v-show="true" style="display: none;" id="iconsflow">

  <!-- search box -->
  <div class="flex-cols abs-box w176 p3 border-box mg5" style="top: 36px;">
    <div class="rel ph5">
      <input v-on:keyup.enter="searchTerm" v-model="term" class="input pr28" type="text" placeholder="{{ tt('Search cliparts...') }}" />
      <a v-on:click="search" class="box16 abs" style="top: 5px; right: 15px;" href="#">
        <svg fill="white" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18">
          <path d="M12.65 11.6q1.6-1.9 1.6-4.45 0-2.95-2.1-5.05Q10.05 0 7.1 0q-2.95 0-5 2.1Q0 4.2 0 7.15q0 2.95 2.1 5 2.05 2.1 5 2.1 2.6 0 4.55-1.65l5.1 5.1q.6.6 1.05.05.45-.5-.05-1.05l-5.1-5.1m-1.5-8.5q1.7 1.65 1.7 4.05 0 2.35-1.7 4.05-1.7 1.65-4.05 1.65-2.35 0-4-1.65-1.7-1.7-1.7-4.05 0-2.4 1.7-4.05 1.65-1.7 4-1.7t4.05 1.7z"></path>
        </svg>
      </a><commit_msg>disable context menu<commit_after><?php

$static = getenv('STATIC');
if (empty($static)) {
  $static = 'static';
}
$compiled_css = getenv('COMPILED_CSS');
$compiled_js = getenv('COMPILED_JS');

function e()
{
  echo implode('', array_filter(func_get_args(), 'htmlentities'));
}

?>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-type" content="text/html;charset=UTF-8" />
<meta http-equiv="X-UA-Compatible" content="chrome=1"/>
<link rel="icon" type="image/png" href="<?php e("$static/images/logo.png") ?>"/>

  <script type="text/javascript">
    function static_path(path) {
      return <?php echo json_encode("$static/") ?> + path;
    }
  </script>

<?php if ($compiled_css): ?>
  <link rel="stylesheet" href="<?php e($compiled_css) ?>" type="text/css"/>
<?php else: ?>
  <link rel="stylesheet" href="<?php e("$static/lib/jgraduate/css/jPicker.css") ?>" type="text/css"/>
  <link rel="stylesheet" href="<?php e("$static/lib/jgraduate/css/jgraduate.css") ?>" type="text/css"/>
  <link rel="stylesheet" href="<?php e("$static/lib/jgraduate/css/iconsflow.css") ?>" type="text/css"/>
  <link rel="stylesheet" href="<?php e("$static/css/method-draw.css") ?>" type="text/css"/>
  <link rel="stylesheet" href="<?php e("$static/css/fonts.css") ?>" type="text/css"/>
  <link rel="stylesheet" href="<?php e("$static/css/iconsflow.css") ?>" type="text/css"/>
  <link rel="stylesheet" href="<?php e("$static/css/grid.css") ?>" type="text/css"/>
  <link rel="stylesheet" href="<?php e("$static/css/spinner.css") ?>" type="text/css"/>
  <link rel="stylesheet" href="<?php e("$static/css/sm.css") ?>" type="text/css"/>
<?php endif ?>

  <link href='https://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css'>
  <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
  <meta name="apple-mobile-web-app-capable" content="yes"/>

  <script type="text/javascript" src="<?php e("$static/lib/jquery.js") ?>"></script>
  <script src="//cdn.jsdelivr.net/bluebird/3.3.4/bluebird.min.js" type="text/javascript"></script>
  <script src="//cdn.jsdelivr.net/vue/1.0.17/vue.min.js" type="text/javascript"></script>
<!--
  <script src="//vuejs.org/js/vue.js" type="text/javascript"></script>
-->

<?php if ($compiled_js): ?>
  <script type="text/javascript" src="<?php e($compiled_js) ?>"></script>
<?php else: ?>
  <script type="text/javascript" src="<?php e("$static/src/tt.js") ?>"></script>
  <script type="text/javascript" src="<?php e("$static/src/iconsflow.js") ?>"></script>
  <script type="text/javascript" src="<?php e("$static/lib/pathseg.js") ?>"></script>
  <script type="text/javascript" src="<?php e("$static/lib/touch.js") ?>"></script>
  <script type="text/javascript" src="<?php e("$static/lib/js-hotkeys/jquery.hotkeys.min.js") ?>"></script>
  <script type="text/javascript" src="<?php e("$static/icons/jquery.svgicons.js") ?>"></script>
  <script type="text/javascript" src="<?php e("$static/lib/jgraduate/jquery.jgraduate.js") ?>"></script>
  <script type="text/javascript" src="<?php e("$static/lib/contextmenu/jquery.contextMenu.js") ?>"></script>
  <script type="text/javascript" src="<?php e("$static/lib/jquery-ui/jquery-ui-1.8.17.custom.min.js") ?>"></script>
  <script type="text/javascript" src="<?php e("$static/src/browser.js") ?>"></script>
  <script type="text/javascript" src="<?php e("$static/src/svgtransformlist.js") ?>"></script>
  <script type="text/javascript" src="<?php e("$static/src/math.js") ?>"></script>
  <script type="text/javascript" src="<?php e("$static/src/units.js") ?>"></script>
  <script type="text/javascript" src="<?php e("$static/src/svgutils.js") ?>"></script>
  <script type="text/javascript" src="<?php e("$static/src/sanitize.js") ?>"></script>
  <script type="text/javascript" src="<?php e("$static/src/history.js") ?>"></script>
  <script type="text/javascript" src="<?php e("$static/src/select.js") ?>"></script>
  <script type="text/javascript" src="<?php e("$static/src/draw.js") ?>"></script>
  <script type="text/javascript" src="<?php e("$static/src/path.js") ?>"></script>
  <script type="text/javascript" src="<?php e("$static/src/dialog.js") ?>"></script>
  <script type="text/javascript" src="<?php e("$static/src/svgcanvas.js") ?>"></script>
  <script type="text/javascript" src="<?php e("$static/src/method-draw.js") ?>"></script>
  <script type="text/javascript" src="<?php e("$static/lib/jquery-draginput.js") ?>"></script>
  <script type="text/javascript" src="<?php e("$static/lib/contextmenu.js") ?>"></script>
  <script type="text/javascript" src="<?php e("$static/lib/jgraduate/jpicker.min.js") ?>"></script>
  <script type="text/javascript" src="<?php e("$static/lib/mousewheel.js") ?>"></script>
  <script type="text/javascript" src="<?php e("$static/extensions/ext-eyedropper.js") ?>"></script>
  <script type="text/javascript" src="<?php e("$static/extensions/ext-shapes.js") ?>"></script>
  <script type="text/javascript" src="<?php e("$static/extensions/ext-grid.js") ?>"></script>
  <script type="text/javascript" src="<?php e("$static/lib/requestanimationframe.js") ?>"></script>
  <script type="text/javascript" src="<?php e("$static/lib/taphold.js") ?>"></script>
  <script type="text/javascript" src="<?php e("$static/lib/filesaver.js") ?>"></script>
<?php endif ?>

<title>Method Draw</title>
</head>
<body oncontextmenu="if (event.target.nodeName != 'INPUT') event.preventDefault()">

<div v-show="true" style="display: none;" id="iconsflow">

  <!-- search box -->
  <div class="flex-cols abs-box w176 p3 border-box mg5" style="top: 36px;">
    <div class="rel ph5">
      <input v-on:keyup.enter="searchTerm" v-model="term" class="input pr28" type="text" placeholder="{{ tt('Search cliparts...') }}" />
      <a v-on:click="search" class="box16 abs" style="top: 5px; right: 15px;" href="#">
        <svg fill="white" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18">
          <path d="M12.65 11.6q1.6-1.9 1.6-4.45 0-2.95-2.1-5.05Q10.05 0 7.1 0q-2.95 0-5 2.1Q0 4.2 0 7.15q0 2.95 2.1 5 2.05 2.1 5 2.1 2.6 0 4.55-1.65l5.1 5.1q.6.6 1.05.05.45-.5-.05-1.05l-5.1-5.1m-1.5-8.5q1.7 1.65 1.7 4.05 0 2.35-1.7 4.05-1.7 1.65-4.05 1.65-2.35 0-4-1.65-1.7-1.7-1.7-4.05 0-2.4 1.7-4.05 1.65-1.7 4-1.7t4.05 1.7z"></path>
        </svg>
      </a>
{'fraction_non_alphanumeric': 0.2594724220623501, 'fraction_numerical': 0.033413269384492406, 'mean_word_length': 4.960457360647927, 'pattern_counts': {'":': 0, '<': 331, '<?xml version=': 0, '>': 331, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, 'xml': 2}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5032307', 'n_tokens_mistral': 4770, 'n_tokens_neox': 4639, 'n_words': 779}